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: StringThe 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: StringThe subnet in which to create the NAT gateway.
tag_specifications: Option<Vec<TagSpecification>>The tags to assign to the NAT gateway.
Trait Implementations§
Source§impl Clone for CreateNatGatewayRequest
impl Clone for CreateNatGatewayRequest
Source§fn clone(&self) -> CreateNatGatewayRequest
fn clone(&self) -> CreateNatGatewayRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateNatGatewayRequest
impl Debug for CreateNatGatewayRequest
Source§impl Default for CreateNatGatewayRequest
impl Default for CreateNatGatewayRequest
Source§fn default() -> CreateNatGatewayRequest
fn default() -> CreateNatGatewayRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateNatGatewayRequest
impl PartialEq for CreateNatGatewayRequest
impl StructuralPartialEq for CreateNatGatewayRequest
Auto Trait Implementations§
impl Freeze for CreateNatGatewayRequest
impl RefUnwindSafe for CreateNatGatewayRequest
impl Send for CreateNatGatewayRequest
impl Sync for CreateNatGatewayRequest
impl Unpin for CreateNatGatewayRequest
impl UnwindSafe for CreateNatGatewayRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more