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 |
Modifies a subnet attribute. You can only modify one attribute at a time.
- modifySubnetAttribute :: Text -> ModifySubnetAttribute
- data ModifySubnetAttribute
- msaAssignIPv6AddressOnCreation :: Lens' ModifySubnetAttribute (Maybe AttributeBooleanValue)
- msaMapPublicIPOnLaunch :: Lens' ModifySubnetAttribute (Maybe AttributeBooleanValue)
- msaSubnetId :: Lens' ModifySubnetAttribute Text
- modifySubnetAttributeResponse :: ModifySubnetAttributeResponse
- data ModifySubnetAttributeResponse
Creating a Request
modifySubnetAttribute Source #
Creates a value of ModifySubnetAttribute
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
msaAssignIPv6AddressOnCreation
- Specifytrue
to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives an IPv6 address).msaMapPublicIPOnLaunch
- Specifytrue
to indicate that network interfaces created in the specified subnet should be assigned a public IPv4 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives a public IPv4 address).msaSubnetId
- The ID of the subnet.
data ModifySubnetAttribute Source #
Contains the parameters for ModifySubnetAttribute.
See: modifySubnetAttribute
smart constructor.
Request Lenses
msaAssignIPv6AddressOnCreation :: Lens' ModifySubnetAttribute (Maybe AttributeBooleanValue) Source #
Specify true
to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives an IPv6 address).
msaMapPublicIPOnLaunch :: Lens' ModifySubnetAttribute (Maybe AttributeBooleanValue) Source #
Specify true
to indicate that network interfaces created in the specified subnet should be assigned a public IPv4 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives a public IPv4 address).
msaSubnetId :: Lens' ModifySubnetAttribute Text Source #
The ID of the subnet.
Destructuring the Response
modifySubnetAttributeResponse :: ModifySubnetAttributeResponse Source #
Creates a value of ModifySubnetAttributeResponse
with the minimum fields required to make a request.
data ModifySubnetAttributeResponse Source #
See: modifySubnetAttributeResponse
smart constructor.