Struct aws_sdk_ec2::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressInput
source · #[non_exhaustive]pub struct DisassociateNatGatewayAddressInput {
pub nat_gateway_id: Option<String>,
pub association_ids: Option<Vec<String>>,
pub max_drain_duration_seconds: Option<i32>,
pub dry_run: 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.nat_gateway_id: Option<String>The ID of the NAT gateway.
association_ids: Option<Vec<String>>The association IDs of EIPs that have been associated with the NAT gateway.
max_drain_duration_seconds: Option<i32>The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.
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.
Implementations§
source§impl DisassociateNatGatewayAddressInput
impl DisassociateNatGatewayAddressInput
sourcepub fn nat_gateway_id(&self) -> Option<&str>
pub fn nat_gateway_id(&self) -> Option<&str>
The ID of the NAT gateway.
sourcepub fn association_ids(&self) -> Option<&[String]>
pub fn association_ids(&self) -> Option<&[String]>
The association IDs of EIPs that have been associated with the NAT gateway.
sourcepub fn max_drain_duration_seconds(&self) -> Option<i32>
pub fn max_drain_duration_seconds(&self) -> Option<i32>
The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.
source§impl DisassociateNatGatewayAddressInput
impl DisassociateNatGatewayAddressInput
sourcepub fn builder() -> DisassociateNatGatewayAddressInputBuilder
pub fn builder() -> DisassociateNatGatewayAddressInputBuilder
Creates a new builder-style object to manufacture DisassociateNatGatewayAddressInput.
Trait Implementations§
source§impl Clone for DisassociateNatGatewayAddressInput
impl Clone for DisassociateNatGatewayAddressInput
source§fn clone(&self) -> DisassociateNatGatewayAddressInput
fn clone(&self) -> DisassociateNatGatewayAddressInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<DisassociateNatGatewayAddressInput> for DisassociateNatGatewayAddressInput
impl PartialEq<DisassociateNatGatewayAddressInput> for DisassociateNatGatewayAddressInput
source§fn eq(&self, other: &DisassociateNatGatewayAddressInput) -> bool
fn eq(&self, other: &DisassociateNatGatewayAddressInput) -> bool
self and other values to be equal, and is used
by ==.