Struct aws_sdk_ec2::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableInput
source · #[non_exhaustive]pub struct CreateTransitGatewayPolicyTableInput {
pub transit_gateway_id: Option<String>,
pub tag_specifications: Option<Vec<TagSpecification>>,
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.transit_gateway_id: Option<String>
The ID of the transit gateway used for the policy table.
tag_specifications: Option<Vec<TagSpecification>>
The tags specification for the transit gateway policy table created during the request.
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 CreateTransitGatewayPolicyTableInput
impl CreateTransitGatewayPolicyTableInput
sourcepub fn transit_gateway_id(&self) -> Option<&str>
pub fn transit_gateway_id(&self) -> Option<&str>
The ID of the transit gateway used for the policy table.
sourcepub fn tag_specifications(&self) -> &[TagSpecification]
pub fn tag_specifications(&self) -> &[TagSpecification]
The tags specification for the transit gateway policy table created during the request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tag_specifications.is_none()
.
source§impl CreateTransitGatewayPolicyTableInput
impl CreateTransitGatewayPolicyTableInput
sourcepub fn builder() -> CreateTransitGatewayPolicyTableInputBuilder
pub fn builder() -> CreateTransitGatewayPolicyTableInputBuilder
Creates a new builder-style object to manufacture CreateTransitGatewayPolicyTableInput
.
Trait Implementations§
source§impl Clone for CreateTransitGatewayPolicyTableInput
impl Clone for CreateTransitGatewayPolicyTableInput
source§fn clone(&self) -> CreateTransitGatewayPolicyTableInput
fn clone(&self) -> CreateTransitGatewayPolicyTableInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateTransitGatewayPolicyTableInput
impl PartialEq for CreateTransitGatewayPolicyTableInput
source§fn eq(&self, other: &CreateTransitGatewayPolicyTableInput) -> bool
fn eq(&self, other: &CreateTransitGatewayPolicyTableInput) -> bool
self
and other
values to be equal, and is used
by ==
.