Struct aws_sdk_ec2::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayInput
source · #[non_exhaustive]pub struct CreateEgressOnlyInternetGatewayInput {
pub client_token: Option<String>,
pub dry_run: Option<bool>,
pub vpc_id: Option<String>,
pub tag_specifications: Option<Vec<TagSpecification>>,
}
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.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.
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
.
vpc_id: Option<String>
The ID of the VPC for which to create the egress-only internet gateway.
tag_specifications: Option<Vec<TagSpecification>>
The tags to assign to the egress-only internet gateway.
Implementations§
source§impl CreateEgressOnlyInternetGatewayInput
impl CreateEgressOnlyInternetGatewayInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
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 vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The ID of the VPC for which to create the egress-only internet gateway.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to assign to the egress-only internet gateway.
source§impl CreateEgressOnlyInternetGatewayInput
impl CreateEgressOnlyInternetGatewayInput
sourcepub fn builder() -> CreateEgressOnlyInternetGatewayInputBuilder
pub fn builder() -> CreateEgressOnlyInternetGatewayInputBuilder
Creates a new builder-style object to manufacture CreateEgressOnlyInternetGatewayInput
.
Trait Implementations§
source§impl Clone for CreateEgressOnlyInternetGatewayInput
impl Clone for CreateEgressOnlyInternetGatewayInput
source§fn clone(&self) -> CreateEgressOnlyInternetGatewayInput
fn clone(&self) -> CreateEgressOnlyInternetGatewayInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<CreateEgressOnlyInternetGatewayInput> for CreateEgressOnlyInternetGatewayInput
impl PartialEq<CreateEgressOnlyInternetGatewayInput> for CreateEgressOnlyInternetGatewayInput
source§fn eq(&self, other: &CreateEgressOnlyInternetGatewayInput) -> bool
fn eq(&self, other: &CreateEgressOnlyInternetGatewayInput) -> bool
self
and other
values to be equal, and is used
by ==
.