Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
Synopsis
- data AssociateSubnetCidrBlock = AssociateSubnetCidrBlock' {
- ipv6CidrBlock :: Text
- subnetId :: Text
- newAssociateSubnetCidrBlock :: Text -> Text -> AssociateSubnetCidrBlock
- associateSubnetCidrBlock_ipv6CidrBlock :: Lens' AssociateSubnetCidrBlock Text
- associateSubnetCidrBlock_subnetId :: Lens' AssociateSubnetCidrBlock Text
- data AssociateSubnetCidrBlockResponse = AssociateSubnetCidrBlockResponse' {}
- newAssociateSubnetCidrBlockResponse :: Int -> AssociateSubnetCidrBlockResponse
- associateSubnetCidrBlockResponse_ipv6CidrBlockAssociation :: Lens' AssociateSubnetCidrBlockResponse (Maybe SubnetIpv6CidrBlockAssociation)
- associateSubnetCidrBlockResponse_subnetId :: Lens' AssociateSubnetCidrBlockResponse (Maybe Text)
- associateSubnetCidrBlockResponse_httpStatus :: Lens' AssociateSubnetCidrBlockResponse Int
Creating a Request
data AssociateSubnetCidrBlock Source #
See: newAssociateSubnetCidrBlock
smart constructor.
AssociateSubnetCidrBlock' | |
|
Instances
newAssociateSubnetCidrBlock Source #
Create a value of AssociateSubnetCidrBlock
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
AssociateSubnetCidrBlock
, associateSubnetCidrBlock_ipv6CidrBlock
- The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix
length.
AssociateSubnetCidrBlock
, associateSubnetCidrBlock_subnetId
- The ID of your subnet.
Request Lenses
associateSubnetCidrBlock_ipv6CidrBlock :: Lens' AssociateSubnetCidrBlock Text Source #
The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix length.
associateSubnetCidrBlock_subnetId :: Lens' AssociateSubnetCidrBlock Text Source #
The ID of your subnet.
Destructuring the Response
data AssociateSubnetCidrBlockResponse Source #
See: newAssociateSubnetCidrBlockResponse
smart constructor.
AssociateSubnetCidrBlockResponse' | |
|
Instances
newAssociateSubnetCidrBlockResponse Source #
Create a value of AssociateSubnetCidrBlockResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ipv6CidrBlockAssociation:AssociateSubnetCidrBlockResponse'
, associateSubnetCidrBlockResponse_ipv6CidrBlockAssociation
- Information about the IPv6 association.
AssociateSubnetCidrBlock
, associateSubnetCidrBlockResponse_subnetId
- The ID of the subnet.
$sel:httpStatus:AssociateSubnetCidrBlockResponse'
, associateSubnetCidrBlockResponse_httpStatus
- The response's http status code.
Response Lenses
associateSubnetCidrBlockResponse_ipv6CidrBlockAssociation :: Lens' AssociateSubnetCidrBlockResponse (Maybe SubnetIpv6CidrBlockAssociation) Source #
Information about the IPv6 association.
associateSubnetCidrBlockResponse_subnetId :: Lens' AssociateSubnetCidrBlockResponse (Maybe Text) Source #
The ID of the subnet.
associateSubnetCidrBlockResponse_httpStatus :: Lens' AssociateSubnetCidrBlockResponse Int Source #
The response's http status code.