Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Associates a CIDR block with your VPC. You can associate a secondary IPv4 CIDR block, or you can associate an Amazon-provided IPv6 CIDR block. The IPv6 CIDR block size is fixed at /56.
For more information about associating CIDR blocks with your VPC and applicable restrictions, see VPC and Subnet Sizing in the Amazon Virtual Private Cloud User Guide .
Synopsis
- associateVPCCidrBlock :: Text -> AssociateVPCCidrBlock
- data AssociateVPCCidrBlock
- avcbCidrBlock :: Lens' AssociateVPCCidrBlock (Maybe Text)
- avcbAmazonProvidedIPv6CidrBlock :: Lens' AssociateVPCCidrBlock (Maybe Bool)
- avcbVPCId :: Lens' AssociateVPCCidrBlock Text
- associateVPCCidrBlockResponse :: Int -> AssociateVPCCidrBlockResponse
- data AssociateVPCCidrBlockResponse
- avcbrsVPCId :: Lens' AssociateVPCCidrBlockResponse (Maybe Text)
- avcbrsCidrBlockAssociation :: Lens' AssociateVPCCidrBlockResponse (Maybe VPCCidrBlockAssociation)
- avcbrsIPv6CidrBlockAssociation :: Lens' AssociateVPCCidrBlockResponse (Maybe VPCIPv6CidrBlockAssociation)
- avcbrsResponseStatus :: Lens' AssociateVPCCidrBlockResponse Int
Creating a Request
associateVPCCidrBlock Source #
Creates a value of AssociateVPCCidrBlock
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
avcbCidrBlock
- An IPv4 CIDR block to associate with the VPC.avcbAmazonProvidedIPv6CidrBlock
- Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block.avcbVPCId
- The ID of the VPC.
data AssociateVPCCidrBlock Source #
See: associateVPCCidrBlock
smart constructor.
Instances
Request Lenses
avcbCidrBlock :: Lens' AssociateVPCCidrBlock (Maybe Text) Source #
An IPv4 CIDR block to associate with the VPC.
avcbAmazonProvidedIPv6CidrBlock :: Lens' AssociateVPCCidrBlock (Maybe Bool) Source #
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block.
Destructuring the Response
associateVPCCidrBlockResponse Source #
Creates a value of AssociateVPCCidrBlockResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
avcbrsVPCId
- The ID of the VPC.avcbrsCidrBlockAssociation
- Information about the IPv4 CIDR block association.avcbrsIPv6CidrBlockAssociation
- Information about the IPv6 CIDR block association.avcbrsResponseStatus
- -- | The response status code.
data AssociateVPCCidrBlockResponse Source #
See: associateVPCCidrBlockResponse
smart constructor.
Instances
Response Lenses
avcbrsVPCId :: Lens' AssociateVPCCidrBlockResponse (Maybe Text) Source #
The ID of the VPC.
avcbrsCidrBlockAssociation :: Lens' AssociateVPCCidrBlockResponse (Maybe VPCCidrBlockAssociation) Source #
Information about the IPv4 CIDR block association.
avcbrsIPv6CidrBlockAssociation :: Lens' AssociateVPCCidrBlockResponse (Maybe VPCIPv6CidrBlockAssociation) Source #
Information about the IPv6 CIDR block association.
avcbrsResponseStatus :: Lens' AssociateVPCCidrBlockResponse Int Source #
- - | The response status code.