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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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.

tags: Option<Vec<Tag>>

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.

The resource metadata.

Creates a new builder-style object to manufacture NetworkResource

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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