Skip to content

Commit

Permalink
Regenerating EC2 from latest service definition
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanhay committed May 4, 2016
1 parent 1a0d734 commit 6b097cb
Show file tree
Hide file tree
Showing 196 changed files with 1,582 additions and 491 deletions.
1 change: 1 addition & 0 deletions amazonka-ec2/amazonka-ec2.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ library
, Network.AWS.EC2.ModifySubnetAttribute
, Network.AWS.EC2.ModifyVPCAttribute
, Network.AWS.EC2.ModifyVPCEndpoint
, Network.AWS.EC2.ModifyVPCPeeringConnectionOptions
, Network.AWS.EC2.ModifyVolumeAttribute
, Network.AWS.EC2.MonitorInstances
, Network.AWS.EC2.MoveAddressToVPC
Expand Down
Empty file.
Empty file.
26 changes: 26 additions & 0 deletions amazonka-ec2/gen/Network/AWS/EC2.hs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ module Network.AWS.EC2
-- ** VolumeInUse
, volumeInUse

-- ** ImageExists
, imageExists

-- ** NatGatewayAvailable
, natGatewayAvailable

Expand Down Expand Up @@ -409,6 +412,9 @@ module Network.AWS.EC2
-- ** CreateVPC
, module Network.AWS.EC2.CreateVPC

-- ** ModifyVPCPeeringConnectionOptions
, module Network.AWS.EC2.ModifyVPCPeeringConnectionOptions

-- ** CopySnapshot
, module Network.AWS.EC2.CopySnapshot

Expand Down Expand Up @@ -1797,6 +1803,18 @@ module Network.AWS.EC2
, ndcValues
, ndcKey

-- ** PeeringConnectionOptions
, PeeringConnectionOptions
, peeringConnectionOptions
, pcoAllowEgressFromLocalVPCToRemoteClassicLink
, pcoAllowEgressFromLocalClassicLinkToRemoteVPC

-- ** PeeringConnectionOptionsRequest
, PeeringConnectionOptionsRequest
, peeringConnectionOptionsRequest
, pcorAllowEgressFromLocalClassicLinkToRemoteVPC
, pcorAllowEgressFromLocalVPCToRemoteClassicLink

-- ** Placement
, Placement
, placement
Expand Down Expand Up @@ -2493,6 +2511,12 @@ module Network.AWS.EC2
, vpcpcExpirationTime
, vpcpcTags

-- ** VPCPeeringConnectionOptionsDescription
, VPCPeeringConnectionOptionsDescription
, vpcPeeringConnectionOptionsDescription
, vpcodAllowEgressFromLocalVPCToRemoteClassicLink
, vpcodAllowEgressFromLocalClassicLinkToRemoteVPC

-- ** VPCPeeringConnectionStateReason
, VPCPeeringConnectionStateReason
, vpcPeeringConnectionStateReason
Expand All @@ -2504,6 +2528,7 @@ module Network.AWS.EC2
, vpcPeeringConnectionVPCInfo
, vpcviVPCId
, vpcviOwnerId
, vpcviPeeringOptions
, vpcviCIdRBlock

-- ** VPNConnection
Expand Down Expand Up @@ -2788,6 +2813,7 @@ import Network.AWS.EC2.ModifySubnetAttribute
import Network.AWS.EC2.ModifyVolumeAttribute
import Network.AWS.EC2.ModifyVPCAttribute
import Network.AWS.EC2.ModifyVPCEndpoint
import Network.AWS.EC2.ModifyVPCPeeringConnectionOptions
import Network.AWS.EC2.MonitorInstances
import Network.AWS.EC2.MoveAddressToVPC
import Network.AWS.EC2.PurchaseReservedInstancesOffering
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'acceptVPCPeeringConnection' smart constructor.
-- | Contains the parameters for AcceptVpcPeeringConnection.
--
-- /See:/ 'acceptVPCPeeringConnection' smart constructor.
data AcceptVPCPeeringConnection = AcceptVPCPeeringConnection'
{ _avpcVPCPeeringConnectionId :: !(Maybe Text)
, _avpcDryRun :: !(Maybe Bool)
Expand Down Expand Up @@ -110,7 +112,9 @@ instance ToQuery AcceptVPCPeeringConnection where
_avpcVPCPeeringConnectionId,
"DryRun" =: _avpcDryRun]

-- | /See:/ 'acceptVPCPeeringConnectionResponse' smart constructor.
-- | Contains the output of AcceptVpcPeeringConnection.
--
-- /See:/ 'acceptVPCPeeringConnectionResponse' smart constructor.
data AcceptVPCPeeringConnectionResponse = AcceptVPCPeeringConnectionResponse'
{ _avpcrsVPCPeeringConnection :: !(Maybe VPCPeeringConnection)
, _avpcrsResponseStatus :: !Int
Expand Down
8 changes: 6 additions & 2 deletions amazonka-ec2/gen/Network/AWS/EC2/AllocateAddress.hs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'allocateAddress' smart constructor.
-- | Contains the parameters for AllocateAddress.
--
-- /See:/ 'allocateAddress' smart constructor.
data AllocateAddress = AllocateAddress'
{ _aaDomain :: !(Maybe DomainType)
, _aaDryRun :: !(Maybe Bool)
Expand Down Expand Up @@ -112,7 +114,9 @@ instance ToQuery AllocateAddress where
"Version" =: ("2015-10-01" :: ByteString),
"Domain" =: _aaDomain, "DryRun" =: _aaDryRun]

-- | /See:/ 'allocateAddressResponse' smart constructor.
-- | Contains the output of AllocateAddress.
--
-- /See:/ 'allocateAddressResponse' smart constructor.
data AllocateAddressResponse = AllocateAddressResponse'
{ _aarsAllocationId :: !(Maybe Text)
, _aarsDomain :: !(Maybe DomainType)
Expand Down
8 changes: 6 additions & 2 deletions amazonka-ec2/gen/Network/AWS/EC2/AllocateHosts.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'allocateHosts' smart constructor.
-- | Contains the parameters for AllocateHosts.
--
-- /See:/ 'allocateHosts' smart constructor.
data AllocateHosts = AllocateHosts'
{ _ahClientToken :: !(Maybe Text)
, _ahAutoPlacement :: !(Maybe AutoPlacement)
Expand Down Expand Up @@ -146,7 +148,9 @@ instance ToQuery AllocateHosts where
"Quantity" =: _ahQuantity,
"AvailabilityZone" =: _ahAvailabilityZone]

-- | /See:/ 'allocateHostsResponse' smart constructor.
-- | Contains the output of AllocateHosts.
--
-- /See:/ 'allocateHostsResponse' smart constructor.
data AllocateHostsResponse = AllocateHostsResponse'
{ _ahrsHostIds :: !(Maybe [Text])
, _ahrsResponseStatus :: !Int
Expand Down
4 changes: 3 additions & 1 deletion amazonka-ec2/gen/Network/AWS/EC2/AssignPrivateIPAddresses.hs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'assignPrivateIPAddresses' smart constructor.
-- | Contains the parameters for AssignPrivateIpAddresses.
--
-- /See:/ 'assignPrivateIPAddresses' smart constructor.
data AssignPrivateIPAddresses = AssignPrivateIPAddresses'
{ _apiaPrivateIPAddresses :: !(Maybe [Text])
, _apiaAllowReassignment :: !(Maybe Bool)
Expand Down
8 changes: 6 additions & 2 deletions amazonka-ec2/gen/Network/AWS/EC2/AssociateAddress.hs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'associateAddress' smart constructor.
-- | Contains the parameters for AssociateAddress.
--
-- /See:/ 'associateAddress' smart constructor.
data AssociateAddress = AssociateAddress'
{ _aasInstanceId :: !(Maybe Text)
, _aasAllocationId :: !(Maybe Text)
Expand Down Expand Up @@ -182,7 +184,9 @@ instance ToQuery AssociateAddress where
"PrivateIpAddress" =: _aasPrivateIPAddress,
"PublicIp" =: _aasPublicIP, "DryRun" =: _aasDryRun]

-- | /See:/ 'associateAddressResponse' smart constructor.
-- | Contains the output of AssociateAddress.
--
-- /See:/ 'associateAddressResponse' smart constructor.
data AssociateAddressResponse = AssociateAddressResponse'
{ _arsAssociationId :: !(Maybe Text)
, _arsResponseStatus :: !Int
Expand Down
4 changes: 3 additions & 1 deletion amazonka-ec2/gen/Network/AWS/EC2/AssociateDHCPOptions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'associateDHCPOptions' smart constructor.
-- | Contains the parameters for AssociateDhcpOptions.
--
-- /See:/ 'associateDHCPOptions' smart constructor.
data AssociateDHCPOptions = AssociateDHCPOptions'
{ _adoDryRun :: !(Maybe Bool)
, _adoDHCPOptionsId :: !Text
Expand Down
8 changes: 6 additions & 2 deletions amazonka-ec2/gen/Network/AWS/EC2/AssociateRouteTable.hs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'associateRouteTable' smart constructor.
-- | Contains the parameters for AssociateRouteTable.
--
-- /See:/ 'associateRouteTable' smart constructor.
data AssociateRouteTable = AssociateRouteTable'
{ _artDryRun :: !(Maybe Bool)
, _artSubnetId :: !Text
Expand Down Expand Up @@ -123,7 +125,9 @@ instance ToQuery AssociateRouteTable where
"DryRun" =: _artDryRun, "SubnetId" =: _artSubnetId,
"RouteTableId" =: _artRouteTableId]

-- | /See:/ 'associateRouteTableResponse' smart constructor.
-- | Contains the output of AssociateRouteTable.
--
-- /See:/ 'associateRouteTableResponse' smart constructor.
data AssociateRouteTableResponse = AssociateRouteTableResponse'
{ _artrsAssociationId :: !(Maybe Text)
, _artrsResponseStatus :: !Int
Expand Down
8 changes: 6 additions & 2 deletions amazonka-ec2/gen/Network/AWS/EC2/AttachClassicLinkVPC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'attachClassicLinkVPC' smart constructor.
-- | Contains the parameters for AttachClassicLinkVpc.
--
-- /See:/ 'attachClassicLinkVPC' smart constructor.
data AttachClassicLinkVPC = AttachClassicLinkVPC'
{ _aclvDryRun :: !(Maybe Bool)
, _aclvInstanceId :: !Text
Expand Down Expand Up @@ -139,7 +141,9 @@ instance ToQuery AttachClassicLinkVPC where
"VpcId" =: _aclvVPCId,
toQueryList "SecurityGroupId" _aclvGroups]

-- | /See:/ 'attachClassicLinkVPCResponse' smart constructor.
-- | Contains the output of AttachClassicLinkVpc.
--
-- /See:/ 'attachClassicLinkVPCResponse' smart constructor.
data AttachClassicLinkVPCResponse = AttachClassicLinkVPCResponse'
{ _aclvrsReturn :: !(Maybe Bool)
, _aclvrsResponseStatus :: !Int
Expand Down
4 changes: 3 additions & 1 deletion amazonka-ec2/gen/Network/AWS/EC2/AttachInternetGateway.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'attachInternetGateway' smart constructor.
-- | Contains the parameters for AttachInternetGateway.
--
-- /See:/ 'attachInternetGateway' smart constructor.
data AttachInternetGateway = AttachInternetGateway'
{ _aigDryRun :: !(Maybe Bool)
, _aigInternetGatewayId :: !Text
Expand Down
8 changes: 6 additions & 2 deletions amazonka-ec2/gen/Network/AWS/EC2/AttachNetworkInterface.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'attachNetworkInterface' smart constructor.
-- | Contains the parameters for AttachNetworkInterface.
--
-- /See:/ 'attachNetworkInterface' smart constructor.
data AttachNetworkInterface = AttachNetworkInterface'
{ _aniDryRun :: !(Maybe Bool)
, _aniNetworkInterfaceId :: !Text
Expand Down Expand Up @@ -127,7 +129,9 @@ instance ToQuery AttachNetworkInterface where
"InstanceId" =: _aniInstanceId,
"DeviceIndex" =: _aniDeviceIndex]

-- | /See:/ 'attachNetworkInterfaceResponse' smart constructor.
-- | Contains the output of AttachNetworkInterface.
--
-- /See:/ 'attachNetworkInterfaceResponse' smart constructor.
data AttachNetworkInterfaceResponse = AttachNetworkInterfaceResponse'
{ _anirsAttachmentId :: !(Maybe Text)
, _anirsResponseStatus :: !Int
Expand Down
8 changes: 6 additions & 2 deletions amazonka-ec2/gen/Network/AWS/EC2/AttachVPNGateway.hs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'attachVPNGateway' smart constructor.
-- | Contains the parameters for AttachVpnGateway.
--
-- /See:/ 'attachVPNGateway' smart constructor.
data AttachVPNGateway = AttachVPNGateway'
{ _avgDryRun :: !(Maybe Bool)
, _avgVPNGatewayId :: !Text
Expand Down Expand Up @@ -116,7 +118,9 @@ instance ToQuery AttachVPNGateway where
"VpnGatewayId" =: _avgVPNGatewayId,
"VpcId" =: _avgVPCId]

-- | /See:/ 'attachVPNGatewayResponse' smart constructor.
-- | Contains the output of AttachVpnGateway.
--
-- /See:/ 'attachVPNGatewayResponse' smart constructor.
data AttachVPNGatewayResponse = AttachVPNGatewayResponse'
{ _avgrsVPCAttachment :: !(Maybe VPCAttachment)
, _avgrsResponseStatus :: !Int
Expand Down
7 changes: 6 additions & 1 deletion amazonka-ec2/gen/Network/AWS/EC2/AttachVolume.hs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,12 @@
-- If a volume has an AWS Marketplace product code:
--
-- - The volume can be attached only to a stopped instance.
--
-- - AWS Marketplace product codes are copied from the volume to the
-- instance.
--
-- - You must be subscribed to the product.
--
-- - The instance type and operating system of the instance must support
-- the product. For example, you can\'t detach a volume from a Windows
-- instance and attach it to a Linux instance.
Expand Down Expand Up @@ -79,7 +82,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'attachVolume' smart constructor.
-- | Contains the parameters for AttachVolume.
--
-- /See:/ 'attachVolume' smart constructor.
data AttachVolume = AttachVolume'
{ _avDryRun :: !(Maybe Bool)
, _avVolumeId :: !Text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'authorizeSecurityGroupEgress' smart constructor.
-- | Contains the parameters for AuthorizeSecurityGroupEgress.
--
-- /See:/ 'authorizeSecurityGroupEgress' smart constructor.
data AuthorizeSecurityGroupEgress = AuthorizeSecurityGroupEgress'
{ _asgeFromPort :: !(Maybe Int)
, _asgeIPPermissions :: !(Maybe [IPPermission])
Expand Down
25 changes: 14 additions & 11 deletions amazonka-ec2/gen/Network/AWS/EC2/AuthorizeSecurityGroupIngress.hs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'authorizeSecurityGroupIngress' smart constructor.
-- | Contains the parameters for AuthorizeSecurityGroupIngress.
--
-- /See:/ 'authorizeSecurityGroupIngress' smart constructor.
data AuthorizeSecurityGroupIngress = AuthorizeSecurityGroupIngress'
{ _asgiFromPort :: !(Maybe Int)
, _asgiIPPermissions :: !(Maybe [IPPermission])
Expand Down Expand Up @@ -152,14 +154,13 @@ asgiToPort = lens _asgiToPort (\ s a -> s{_asgiToPort = a});
asgiCIdRIP :: Lens' AuthorizeSecurityGroupIngress (Maybe Text)
asgiCIdRIP = lens _asgiCIdRIP (\ s a -> s{_asgiCIdRIP = a});

-- | [EC2-Classic, default VPC] The AWS account number for the source
-- security group. For EC2-VPC, the source security group must be in the
-- same VPC. You can\'t specify this parameter in combination with the
-- following parameters: the CIDR IP address range, the IP protocol, the
-- start of the port range, and the end of the port range. Creates rules
-- that grant full ICMP, UDP, and TCP access. To create a rule with a
-- specific IP protocol and port range, use a set of IP permissions
-- instead.
-- | [EC2-Classic] The AWS account number for the source security group, if
-- the source security group is in a different account. You can\'t specify
-- this parameter in combination with the following parameters: the CIDR IP
-- address range, the IP protocol, the start of the port range, and the end
-- of the port range. Creates rules that grant full ICMP, UDP, and TCP
-- access. To create a rule with a specific IP protocol and port range, use
-- a set of IP permissions instead.
asgiSourceSecurityGroupOwnerId :: Lens' AuthorizeSecurityGroupIngress (Maybe Text)
asgiSourceSecurityGroupOwnerId = lens _asgiSourceSecurityGroupOwnerId (\ s a -> s{_asgiSourceSecurityGroupOwnerId = a});

Expand All @@ -170,8 +171,10 @@ asgiGroupName = lens _asgiGroupName (\ s a -> s{_asgiGroupName = a});
-- | [EC2-Classic, default VPC] The name of the source security group. You
-- can\'t specify this parameter in combination with the following
-- parameters: the CIDR IP address range, the start of the port range, the
-- IP protocol, and the end of the port range. For EC2-VPC, the source
-- security group must be in the same VPC.
-- IP protocol, and the end of the port range. Creates rules that grant
-- full ICMP, UDP, and TCP access. To create a rule with a specific IP
-- protocol and port range, use a set of IP permissions instead. For
-- EC2-VPC, the source security group must be in the same VPC.
asgiSourceSecurityGroupName :: Lens' AuthorizeSecurityGroupIngress (Maybe Text)
asgiSourceSecurityGroupName = lens _asgiSourceSecurityGroupName (\ s a -> s{_asgiSourceSecurityGroupName = a});

Expand Down
8 changes: 6 additions & 2 deletions amazonka-ec2/gen/Network/AWS/EC2/BundleInstance.hs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'bundleInstance' smart constructor.
-- | Contains the parameters for BundleInstance.
--
-- /See:/ 'bundleInstance' smart constructor.
data BundleInstance = BundleInstance'
{ _biDryRun :: !(Maybe Bool)
, _biInstanceId :: !Text
Expand Down Expand Up @@ -131,7 +133,9 @@ instance ToQuery BundleInstance where
"DryRun" =: _biDryRun, "InstanceId" =: _biInstanceId,
"Storage" =: _biStorage]

-- | /See:/ 'bundleInstanceResponse' smart constructor.
-- | Contains the output of BundleInstance.
--
-- /See:/ 'bundleInstanceResponse' smart constructor.
data BundleInstanceResponse = BundleInstanceResponse'
{ _birsBundleTask :: !(Maybe BundleTask)
, _birsResponseStatus :: !Int
Expand Down
Loading

0 comments on commit 6b097cb

Please sign in to comment.