Struct aws_sdk_ec2::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsInput
source · #[non_exhaustive]pub struct ModifyPrivateDnsNameOptionsInput { /* private fields */ }
Implementations§
source§impl ModifyPrivateDnsNameOptionsInput
impl ModifyPrivateDnsNameOptionsInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> 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
.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance.
sourcepub fn private_dns_hostname_type(&self) -> Option<&HostnameType>
pub fn private_dns_hostname_type(&self) -> 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.
sourcepub fn enable_resource_name_dns_a_record(&self) -> Option<bool>
pub fn enable_resource_name_dns_a_record(&self) -> Option<bool>
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
sourcepub fn enable_resource_name_dns_aaaa_record(&self) -> Option<bool>
pub fn enable_resource_name_dns_aaaa_record(&self) -> Option<bool>
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
source§impl ModifyPrivateDnsNameOptionsInput
impl ModifyPrivateDnsNameOptionsInput
sourcepub fn builder() -> ModifyPrivateDnsNameOptionsInputBuilder
pub fn builder() -> ModifyPrivateDnsNameOptionsInputBuilder
Creates a new builder-style object to manufacture ModifyPrivateDnsNameOptionsInput
.
source§impl ModifyPrivateDnsNameOptionsInput
impl ModifyPrivateDnsNameOptionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyPrivateDnsNameOptions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<ModifyPrivateDnsNameOptions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyPrivateDnsNameOptions
>
Trait Implementations§
source§impl Clone for ModifyPrivateDnsNameOptionsInput
impl Clone for ModifyPrivateDnsNameOptionsInput
source§fn clone(&self) -> ModifyPrivateDnsNameOptionsInput
fn clone(&self) -> ModifyPrivateDnsNameOptionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ModifyPrivateDnsNameOptionsInput> for ModifyPrivateDnsNameOptionsInput
impl PartialEq<ModifyPrivateDnsNameOptionsInput> for ModifyPrivateDnsNameOptionsInput
source§fn eq(&self, other: &ModifyPrivateDnsNameOptionsInput) -> bool
fn eq(&self, other: &ModifyPrivateDnsNameOptionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.