Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.EC2.AssociateSubnetCidrBlock
Description
Associates a CIDR block with your subnet. You can only associate a single IPv6 CIDR block with your subnet. An IPv6 CIDR block must have a prefix length of /64.
- associateSubnetCidrBlock :: Text -> Text -> AssociateSubnetCidrBlock
- data AssociateSubnetCidrBlock
- ascbSubnetId :: Lens' AssociateSubnetCidrBlock Text
- ascbIPv6CidrBlock :: Lens' AssociateSubnetCidrBlock Text
- associateSubnetCidrBlockResponse :: Int -> AssociateSubnetCidrBlockResponse
- data AssociateSubnetCidrBlockResponse
- ascbrsSubnetId :: Lens' AssociateSubnetCidrBlockResponse (Maybe Text)
- ascbrsIPv6CidrBlockAssociation :: Lens' AssociateSubnetCidrBlockResponse (Maybe SubnetIPv6CidrBlockAssociation)
- ascbrsResponseStatus :: Lens' AssociateSubnetCidrBlockResponse Int
Creating a Request
Arguments
:: Text | |
-> Text | |
-> AssociateSubnetCidrBlock |
Creates a value of AssociateSubnetCidrBlock
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ascbSubnetId
- The ID of your subnet.ascbIPv6CidrBlock
- The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix length.
data AssociateSubnetCidrBlock #
See: associateSubnetCidrBlock
smart constructor.
Instances
Request Lenses
ascbSubnetId :: Lens' AssociateSubnetCidrBlock Text #
The ID of your subnet.
ascbIPv6CidrBlock :: Lens' AssociateSubnetCidrBlock Text #
The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix length.
Destructuring the Response
associateSubnetCidrBlockResponse #
Arguments
:: Int | |
-> AssociateSubnetCidrBlockResponse |
Creates a value of AssociateSubnetCidrBlockResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ascbrsSubnetId
- The ID of the subnet.ascbrsIPv6CidrBlockAssociation
- Information about the IPv6 CIDR block association.ascbrsResponseStatus
- -- | The response status code.
data AssociateSubnetCidrBlockResponse #
See: associateSubnetCidrBlockResponse
smart constructor.
Response Lenses
ascbrsSubnetId :: Lens' AssociateSubnetCidrBlockResponse (Maybe Text) #
The ID of the subnet.
ascbrsIPv6CidrBlockAssociation :: Lens' AssociateSubnetCidrBlockResponse (Maybe SubnetIPv6CidrBlockAssociation) #
Information about the IPv6 CIDR block association.
ascbrsResponseStatus :: Lens' AssociateSubnetCidrBlockResponse Int #
- - | The response status code.