amazonka-ec2 1.3.0 → 1.3.1
raw patch · 5 files changed
+18/−19 lines, 5 filesdep ~amazonka-coredep ~amazonka-ec2dep ~amazonka-testPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: amazonka-core, amazonka-ec2, amazonka-test
API changes (from Hackage documentation)
- Network.AWS.EC2: vpc :: Text -> Text -> Tenancy -> Bool -> VPCState -> Text -> VPC
+ Network.AWS.EC2: vpc :: Text -> Text -> Tenancy -> VPCState -> Text -> VPC
- Network.AWS.EC2: vpcIsDefault :: Lens' VPC Bool
+ Network.AWS.EC2: vpcIsDefault :: Lens' VPC (Maybe Bool)
- Network.AWS.EC2.Types: vpc :: Text -> Text -> Tenancy -> Bool -> VPCState -> Text -> VPC
+ Network.AWS.EC2.Types: vpc :: Text -> Text -> Tenancy -> VPCState -> Text -> VPC
- Network.AWS.EC2.Types: vpcIsDefault :: Lens' VPC Bool
+ Network.AWS.EC2.Types: vpcIsDefault :: Lens' VPC (Maybe Bool)
Files
- README.md +1/−1
- amazonka-ec2.cabal +5/−5
- gen/Network/AWS/EC2.hs +1/−1
- gen/Network/AWS/EC2/Types.hs +1/−1
- gen/Network/AWS/EC2/Types/Product.hs +10/−11
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.3.0`+`1.3.1` ## Description
amazonka-ec2.cabal view
@@ -1,5 +1,5 @@ name: amazonka-ec2-version: 1.3.0+version: 1.3.1 synopsis: Amazon Elastic Compute Cloud SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -236,7 +236,7 @@ , Network.AWS.EC2.Types.Sum build-depends:- amazonka-core == 1.3.0.*+ amazonka-core == 1.3.1.* , base >= 4.7 && < 5 test-suite amazonka-ec2-test@@ -256,9 +256,9 @@ , Test.AWS.EC2.Internal build-depends:- amazonka-core == 1.3.0.*- , amazonka-test == 1.3.0.*- , amazonka-ec2 == 1.3.0.*+ amazonka-core == 1.3.1.*+ , amazonka-test == 1.3.1.*+ , amazonka-ec2 == 1.3.1.* , base , bytestring , lens
gen/Network/AWS/EC2.hs view
@@ -2131,10 +2131,10 @@ , VPC , vpc , vpcTags+ , vpcIsDefault , vpcCIdRBlock , vpcDHCPOptionsId , vpcInstanceTenancy- , vpcIsDefault , vpcState , vpcVPCId
gen/Network/AWS/EC2/Types.hs view
@@ -1495,10 +1495,10 @@ , VPC , vpc , vpcTags+ , vpcIsDefault , vpcCIdRBlock , vpcDHCPOptionsId , vpcInstanceTenancy- , vpcIsDefault , vpcState , vpcVPCId
gen/Network/AWS/EC2/Types/Product.hs view
@@ -9532,10 +9532,10 @@ -- /See:/ 'vpc' smart constructor. data VPC = VPC' { _vpcTags :: !(Maybe [Tag])+ , _vpcIsDefault :: !(Maybe Bool) , _vpcCIdRBlock :: !Text , _vpcDHCPOptionsId :: !Text , _vpcInstanceTenancy :: !Tenancy- , _vpcIsDefault :: !Bool , _vpcState :: !VPCState , _vpcVPCId :: !Text } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -9546,14 +9546,14 @@ -- -- * 'vpcTags' --+-- * 'vpcIsDefault'+-- -- * 'vpcCIdRBlock' -- -- * 'vpcDHCPOptionsId' -- -- * 'vpcInstanceTenancy' ----- * 'vpcIsDefault'--- -- * 'vpcState' -- -- * 'vpcVPCId'@@ -9561,17 +9561,16 @@ :: Text -- ^ 'vpcCIdRBlock' -> Text -- ^ 'vpcDHCPOptionsId' -> Tenancy -- ^ 'vpcInstanceTenancy'- -> Bool -- ^ 'vpcIsDefault' -> VPCState -- ^ 'vpcState' -> Text -- ^ 'vpcVPCId' -> VPC-vpc pCIdRBlock_ pDHCPOptionsId_ pInstanceTenancy_ pIsDefault_ pState_ pVPCId_ =+vpc pCIdRBlock_ pDHCPOptionsId_ pInstanceTenancy_ pState_ pVPCId_ = VPC' { _vpcTags = Nothing+ , _vpcIsDefault = Nothing , _vpcCIdRBlock = pCIdRBlock_ , _vpcDHCPOptionsId = pDHCPOptionsId_ , _vpcInstanceTenancy = pInstanceTenancy_- , _vpcIsDefault = pIsDefault_ , _vpcState = pState_ , _vpcVPCId = pVPCId_ }@@ -9580,6 +9579,10 @@ vpcTags :: Lens' VPC [Tag] vpcTags = lens _vpcTags (\ s a -> s{_vpcTags = a}) . _Default . _Coerce; +-- | Indicates whether the VPC is the default VPC.+vpcIsDefault :: Lens' VPC (Maybe Bool)+vpcIsDefault = lens _vpcIsDefault (\ s a -> s{_vpcIsDefault = a});+ -- | The CIDR block for the VPC. vpcCIdRBlock :: Lens' VPC Text vpcCIdRBlock = lens _vpcCIdRBlock (\ s a -> s{_vpcCIdRBlock = a});@@ -9593,10 +9596,6 @@ vpcInstanceTenancy :: Lens' VPC Tenancy vpcInstanceTenancy = lens _vpcInstanceTenancy (\ s a -> s{_vpcInstanceTenancy = a}); --- | Indicates whether the VPC is the default VPC.-vpcIsDefault :: Lens' VPC Bool-vpcIsDefault = lens _vpcIsDefault (\ s a -> s{_vpcIsDefault = a});- -- | The current state of the VPC. vpcState :: Lens' VPC VPCState vpcState = lens _vpcState (\ s a -> s{_vpcState = a});@@ -9610,10 +9609,10 @@ = VPC' <$> (x .@? "tagSet" .!@ mempty >>= may (parseXMLList "item"))+ <*> (x .@? "isDefault") <*> (x .@ "cidrBlock") <*> (x .@ "dhcpOptionsId") <*> (x .@ "instanceTenancy")- <*> (x .@ "isDefault") <*> (x .@ "state") <*> (x .@ "vpcId")