[][src]Struct rusoto_ec2::CreateNatGatewayRequest

pub struct CreateNatGatewayRequest {
    pub allocation_id: String,
    pub client_token: Option<String>,
    pub dry_run: Option<bool>,
    pub subnet_id: String,
    pub tag_specifications: Option<Vec<TagSpecification>>,
}

Fields

allocation_id: String

The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.

client_token: Option<String>

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

Constraint: Maximum 64 ASCII characters.

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.

subnet_id: String

The subnet in which to create the NAT gateway.

tag_specifications: Option<Vec<TagSpecification>>

The tags to assign to the NAT gateway.

Trait Implementations

impl Clone for CreateNatGatewayRequest[src]

impl Debug for CreateNatGatewayRequest[src]

impl Default for CreateNatGatewayRequest[src]

impl PartialEq<CreateNatGatewayRequest> for CreateNatGatewayRequest[src]

impl StructuralPartialEq for CreateNatGatewayRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.