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 |
Modifies the specified attribute of the specified VPC.
Synopsis
- data ModifyVpcAttribute = ModifyVpcAttribute' {}
- newModifyVpcAttribute :: Text -> ModifyVpcAttribute
- modifyVpcAttribute_enableDnsHostnames :: Lens' ModifyVpcAttribute (Maybe AttributeBooleanValue)
- modifyVpcAttribute_enableDnsSupport :: Lens' ModifyVpcAttribute (Maybe AttributeBooleanValue)
- modifyVpcAttribute_enableNetworkAddressUsageMetrics :: Lens' ModifyVpcAttribute (Maybe AttributeBooleanValue)
- modifyVpcAttribute_vpcId :: Lens' ModifyVpcAttribute Text
- data ModifyVpcAttributeResponse = ModifyVpcAttributeResponse' {
- newModifyVpcAttributeResponse :: ModifyVpcAttributeResponse
Creating a Request
data ModifyVpcAttribute Source #
See: newModifyVpcAttribute
smart constructor.
ModifyVpcAttribute' | |
|
Instances
newModifyVpcAttribute Source #
Create a value of ModifyVpcAttribute
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:enableDnsHostnames:ModifyVpcAttribute'
, modifyVpcAttribute_enableDnsHostnames
- Indicates whether the instances launched in the VPC get DNS hostnames.
If enabled, instances in the VPC get DNS hostnames; otherwise, they do
not.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.
$sel:enableDnsSupport:ModifyVpcAttribute'
, modifyVpcAttribute_enableDnsSupport
- Indicates whether the DNS resolution is supported for the VPC. If
enabled, queries to the Amazon provided DNS server at the
169.254.169.253 IP address, or the reserved IP address at the base of
the VPC network range "plus two" succeed. If disabled, the Amazon
provided DNS service in the VPC that resolves public DNS hostnames to IP
addresses is not enabled.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
$sel:enableNetworkAddressUsageMetrics:ModifyVpcAttribute'
, modifyVpcAttribute_enableNetworkAddressUsageMetrics
- Indicates whether Network Address Usage metrics are enabled for your
VPC.
ModifyVpcAttribute
, modifyVpcAttribute_vpcId
- The ID of the VPC.
Request Lenses
modifyVpcAttribute_enableDnsHostnames :: Lens' ModifyVpcAttribute (Maybe AttributeBooleanValue) Source #
Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.
modifyVpcAttribute_enableDnsSupport :: Lens' ModifyVpcAttribute (Maybe AttributeBooleanValue) Source #
Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
modifyVpcAttribute_enableNetworkAddressUsageMetrics :: Lens' ModifyVpcAttribute (Maybe AttributeBooleanValue) Source #
Indicates whether Network Address Usage metrics are enabled for your VPC.
modifyVpcAttribute_vpcId :: Lens' ModifyVpcAttribute Text Source #
The ID of the VPC.
Destructuring the Response
data ModifyVpcAttributeResponse Source #
See: newModifyVpcAttributeResponse
smart constructor.
Instances
newModifyVpcAttributeResponse :: ModifyVpcAttributeResponse Source #
Create a value of ModifyVpcAttributeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.