Struct aws_sdk_ec2::input::ModifyPrivateDnsNameOptionsInput [−][src]
#[non_exhaustive]pub struct ModifyPrivateDnsNameOptionsInput {
pub dry_run: Option<bool>,
pub instance_id: Option<String>,
pub private_dns_hostname_type: Option<HostnameType>,
pub enable_resource_name_dns_a_record: Option<bool>,
pub enable_resource_name_dns_aaaa_record: Option<bool>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
instance_id: Option<String>
The ID of the instance.
private_dns_hostname_type: Option<HostnameType>
The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.
enable_resource_name_dns_a_record: Option<bool>
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
enable_resource_name_dns_aaaa_record: Option<bool>
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyPrivateDnsNameOptions, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyPrivateDnsNameOptions, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyPrivateDnsNameOptions
>
Creates a new builder-style object to manufacture ModifyPrivateDnsNameOptionsInput
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
The ID of the instance.
The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ModifyPrivateDnsNameOptionsInput
impl Sync for ModifyPrivateDnsNameOptionsInput
impl Unpin for ModifyPrivateDnsNameOptionsInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more