Struct aws_sdk_ec2::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressInput
source · #[non_exhaustive]pub struct UnassignPrivateNatGatewayAddressInput {
pub nat_gateway_id: Option<String>,
pub private_ip_addresses: 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.
private_ip_addresses: Option<Vec<String>>
The private IPv4 addresses you want to unassign.
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 UnassignPrivateNatGatewayAddressInput
impl UnassignPrivateNatGatewayAddressInput
sourcepub fn nat_gateway_id(&self) -> Option<&str>
pub fn nat_gateway_id(&self) -> Option<&str>
The ID of the NAT gateway.
sourcepub fn private_ip_addresses(&self) -> &[String]
pub fn private_ip_addresses(&self) -> &[String]
The private IPv4 addresses you want to unassign.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .private_ip_addresses.is_none()
.
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 UnassignPrivateNatGatewayAddressInput
impl UnassignPrivateNatGatewayAddressInput
sourcepub fn builder() -> UnassignPrivateNatGatewayAddressInputBuilder
pub fn builder() -> UnassignPrivateNatGatewayAddressInputBuilder
Creates a new builder-style object to manufacture UnassignPrivateNatGatewayAddressInput
.
Trait Implementations§
source§impl Clone for UnassignPrivateNatGatewayAddressInput
impl Clone for UnassignPrivateNatGatewayAddressInput
source§fn clone(&self) -> UnassignPrivateNatGatewayAddressInput
fn clone(&self) -> UnassignPrivateNatGatewayAddressInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UnassignPrivateNatGatewayAddressInput
impl PartialEq for UnassignPrivateNatGatewayAddressInput
source§fn eq(&self, other: &UnassignPrivateNatGatewayAddressInput) -> bool
fn eq(&self, other: &UnassignPrivateNatGatewayAddressInput) -> bool
self
and other
values to be equal, and is used
by ==
.