Struct aws_sdk_networkmanager::model::NetworkResource [−][src]
#[non_exhaustive]pub struct NetworkResource {
pub registered_gateway_arn: Option<String>,
pub aws_region: Option<String>,
pub account_id: Option<String>,
pub resource_type: Option<String>,
pub resource_id: Option<String>,
pub resource_arn: Option<String>,
pub definition: Option<String>,
pub definition_timestamp: Option<DateTime>,
pub tags: Option<Vec<Tag>>,
pub metadata: Option<HashMap<String, String>>,
}
Expand description
Describes a network resource.
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.registered_gateway_arn: Option<String>
The ARN of the gateway.
aws_region: Option<String>
The Amazon Web Services Region.
account_id: Option<String>
The Amazon Web Services account ID.
resource_type: Option<String>
The resource type.
The following are the supported resource types for Direct Connect:
-
dxcon
-
dx-gateway
-
dx-vif
The following are the supported resource types for Network Manager:
-
connection
-
device
-
link
-
site
The following are the supported resource types for Amazon VPC:
-
customer-gateway
-
transit-gateway
-
transit-gateway-attachment
-
transit-gateway-connect-peer
-
transit-gateway-route-table
-
vpn-connection
resource_id: Option<String>
The ID of the resource.
resource_arn: Option<String>
The ARN of the resource.
definition: Option<String>
Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.
definition_timestamp: Option<DateTime>
The time that the resource definition was retrieved.
The tags.
metadata: Option<HashMap<String, String>>
The resource metadata.
Implementations
The ARN of the gateway.
The Amazon Web Services Region.
The Amazon Web Services account ID.
The resource type.
The following are the supported resource types for Direct Connect:
-
dxcon
-
dx-gateway
-
dx-vif
The following are the supported resource types for Network Manager:
-
connection
-
device
-
link
-
site
The following are the supported resource types for Amazon VPC:
-
customer-gateway
-
transit-gateway
-
transit-gateway-attachment
-
transit-gateway-connect-peer
-
transit-gateway-route-table
-
vpn-connection
The ID of the resource.
The ARN of the resource.
Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.
The time that the resource definition was retrieved.
The tags.
Creates a new builder-style object to manufacture NetworkResource
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 NetworkResource
impl Send for NetworkResource
impl Sync for NetworkResource
impl Unpin for NetworkResource
impl UnwindSafe for NetworkResource
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