Struct aws_sdk_directconnect::model::DirectConnectGateway  [−][src]
#[non_exhaustive]pub struct DirectConnectGateway {
    pub direct_connect_gateway_id: Option<String>,
    pub direct_connect_gateway_name: Option<String>,
    pub amazon_side_asn: Option<i64>,
    pub owner_account: Option<String>,
    pub direct_connect_gateway_state: Option<DirectConnectGatewayState>,
    pub state_change_error: Option<String>,
}Expand description
Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.
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.direct_connect_gateway_id: Option<String>The ID of the Direct Connect gateway.
direct_connect_gateway_name: Option<String>The name of the Direct Connect gateway.
amazon_side_asn: Option<i64>The autonomous system number (ASN) for the Amazon side of the connection.
owner_account: Option<String>The ID of the Amazon Web Services account that owns the Direct Connect gateway.
direct_connect_gateway_state: Option<DirectConnectGatewayState>The state of the Direct Connect gateway. The following are the possible values:
- 
pending: The initial state after calling CreateDirectConnectGateway.
- 
available: The Direct Connect gateway is ready for use.
- 
deleting: The initial state after calling DeleteDirectConnectGateway.
- 
deleted: The Direct Connect gateway is deleted and cannot pass traffic.
state_change_error: Option<String>The error message if the state of an object failed to advance.
Implementations
The ID of the Direct Connect gateway.
The name of the Direct Connect gateway.
The autonomous system number (ASN) for the Amazon side of the connection.
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
The state of the Direct Connect gateway. The following are the possible values:
- 
pending: The initial state after calling CreateDirectConnectGateway.
- 
available: The Direct Connect gateway is ready for use.
- 
deleting: The initial state after calling DeleteDirectConnectGateway.
- 
deleted: The Direct Connect gateway is deleted and cannot pass traffic.
The error message if the state of an object failed to advance.
Creates a new builder-style object to manufacture DirectConnectGateway
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DirectConnectGateway
impl Send for DirectConnectGateway
impl Sync for DirectConnectGateway
impl Unpin for DirectConnectGateway
impl UnwindSafe for DirectConnectGateway
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
