Struct aws_sdk_networkmanager::Client
source · [−]pub struct Client { /* private fields */ }
Expand description
Client for AWS Network Manager
Client for invoking operations on AWS Network Manager. Each operation on AWS Network Manager is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_networkmanager::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_networkmanager::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_networkmanager::Client::from_conf(config);
Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn accept_attachment(&self) -> AcceptAttachment
pub fn accept_attachment(&self) -> AcceptAttachment
Constructs a fluent builder for the AcceptAttachment
operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)
/set_attachment_id(Option<String>)
:The ID of the attachment.
- On success, responds with
AcceptAttachmentOutput
with field(s):attachment(Option<Attachment>)
:The response to the attachment request.
- On failure, responds with
SdkError<AcceptAttachmentError>
sourcepub fn associate_connect_peer(&self) -> AssociateConnectPeer
pub fn associate_connect_peer(&self) -> AssociateConnectPeer
Constructs a fluent builder for the AssociateConnectPeer
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of your global network.
connect_peer_id(impl Into<String>)
/set_connect_peer_id(Option<String>)
:The ID of the Connect peer.
device_id(impl Into<String>)
/set_device_id(Option<String>)
:The ID of the device.
link_id(impl Into<String>)
/set_link_id(Option<String>)
:The ID of the link.
- On success, responds with
AssociateConnectPeerOutput
with field(s):connect_peer_association(Option<ConnectPeerAssociation>)
:The response to the Connect peer request.
- On failure, responds with
SdkError<AssociateConnectPeerError>
sourcepub fn associate_customer_gateway(&self) -> AssociateCustomerGateway
pub fn associate_customer_gateway(&self) -> AssociateCustomerGateway
Constructs a fluent builder for the AssociateCustomerGateway
operation.
- The fluent builder is configurable:
customer_gateway_arn(impl Into<String>)
/set_customer_gateway_arn(Option<String>)
:The Amazon Resource Name (ARN) of the customer gateway.
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
device_id(impl Into<String>)
/set_device_id(Option<String>)
:The ID of the device.
link_id(impl Into<String>)
/set_link_id(Option<String>)
:The ID of the link.
- On success, responds with
AssociateCustomerGatewayOutput
with field(s):customer_gateway_association(Option<CustomerGatewayAssociation>)
:The customer gateway association.
- On failure, responds with
SdkError<AssociateCustomerGatewayError>
sourcepub fn associate_link(&self) -> AssociateLink
pub fn associate_link(&self) -> AssociateLink
Constructs a fluent builder for the AssociateLink
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
device_id(impl Into<String>)
/set_device_id(Option<String>)
:The ID of the device.
link_id(impl Into<String>)
/set_link_id(Option<String>)
:The ID of the link.
- On success, responds with
AssociateLinkOutput
with field(s):link_association(Option<LinkAssociation>)
:The link association.
- On failure, responds with
SdkError<AssociateLinkError>
sourcepub fn associate_transit_gateway_connect_peer(
&self
) -> AssociateTransitGatewayConnectPeer
pub fn associate_transit_gateway_connect_peer(
&self
) -> AssociateTransitGatewayConnectPeer
Constructs a fluent builder for the AssociateTransitGatewayConnectPeer
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
transit_gateway_connect_peer_arn(impl Into<String>)
/set_transit_gateway_connect_peer_arn(Option<String>)
:The Amazon Resource Name (ARN) of the Connect peer.
device_id(impl Into<String>)
/set_device_id(Option<String>)
:The ID of the device.
link_id(impl Into<String>)
/set_link_id(Option<String>)
:The ID of the link.
- On success, responds with
AssociateTransitGatewayConnectPeerOutput
with field(s):transit_gateway_connect_peer_association(Option<TransitGatewayConnectPeerAssociation>)
:The transit gateway Connect peer association.
- On failure, responds with
SdkError<AssociateTransitGatewayConnectPeerError>
sourcepub fn create_connect_attachment(&self) -> CreateConnectAttachment
pub fn create_connect_attachment(&self) -> CreateConnectAttachment
Constructs a fluent builder for the CreateConnectAttachment
operation.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network where you want to create the attachment.
edge_location(impl Into<String>)
/set_edge_location(Option<String>)
:The Region where the edge is located.
transport_attachment_id(impl Into<String>)
/set_transport_attachment_id(Option<String>)
:The ID of the attachment between the two connections.
options(ConnectAttachmentOptions)
/set_options(Option<ConnectAttachmentOptions>)
:Options for creating an attachment.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The list of key-value tags associated with the request.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:The client token associated with the request.
- On success, responds with
CreateConnectAttachmentOutput
with field(s):connect_attachment(Option<ConnectAttachment>)
:The response to a Connect attachment request.
- On failure, responds with
SdkError<CreateConnectAttachmentError>
sourcepub fn create_connection(&self) -> CreateConnection
pub fn create_connection(&self) -> CreateConnection
Constructs a fluent builder for the CreateConnection
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
device_id(impl Into<String>)
/set_device_id(Option<String>)
:The ID of the first device in the connection.
connected_device_id(impl Into<String>)
/set_connected_device_id(Option<String>)
:The ID of the second device in the connection.
link_id(impl Into<String>)
/set_link_id(Option<String>)
:The ID of the link for the first device.
connected_link_id(impl Into<String>)
/set_connected_link_id(Option<String>)
:The ID of the link for the second device.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the connection.
Length Constraints: Maximum length of 256 characters.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The tags to apply to the resource during creation.
- On success, responds with
CreateConnectionOutput
with field(s):connection(Option<Connection>)
:Information about the connection.
- On failure, responds with
SdkError<CreateConnectionError>
sourcepub fn create_connect_peer(&self) -> CreateConnectPeer
pub fn create_connect_peer(&self) -> CreateConnectPeer
Constructs a fluent builder for the CreateConnectPeer
operation.
- The fluent builder is configurable:
connect_attachment_id(impl Into<String>)
/set_connect_attachment_id(Option<String>)
:The ID of the connection attachment.
core_network_address(impl Into<String>)
/set_core_network_address(Option<String>)
:A Connect peer core network address.
peer_address(impl Into<String>)
/set_peer_address(Option<String>)
:The Connect peer address.
bgp_options(BgpOptions)
/set_bgp_options(Option<BgpOptions>)
:The Connect peer BGP options.
inside_cidr_blocks(Vec<String>)
/set_inside_cidr_blocks(Option<Vec<String>>)
:The inside IP addresses used for BGP peering.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The tags associated with the peer request.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:The client token associated with the request.
- On success, responds with
CreateConnectPeerOutput
with field(s):connect_peer(Option<ConnectPeer>)
:The response to the request.
- On failure, responds with
SdkError<CreateConnectPeerError>
sourcepub fn create_core_network(&self) -> CreateCoreNetwork
pub fn create_core_network(&self) -> CreateCoreNetwork
Constructs a fluent builder for the CreateCoreNetwork
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network that a core network will be a part of.
description(impl Into<String>)
/set_description(Option<String>)
:The description of a core network.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:Key-value tags associated with a core network request.
policy_document(impl Into<String>)
/set_policy_document(Option<String>)
:The policy document for creating a core network.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:The client token associated with a core network request.
- On success, responds with
CreateCoreNetworkOutput
with field(s):core_network(Option<CoreNetwork>)
:Returns details about a core network.
- On failure, responds with
SdkError<CreateCoreNetworkError>
sourcepub fn create_device(&self) -> CreateDevice
pub fn create_device(&self) -> CreateDevice
Constructs a fluent builder for the CreateDevice
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
aws_location(AwsLocation)
/set_aws_location(Option<AwsLocation>)
:The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the device.
Constraints: Maximum length of 256 characters.
r#type(impl Into<String>)
/set_type(Option<String>)
:The type of the device.
vendor(impl Into<String>)
/set_vendor(Option<String>)
:The vendor of the device.
Constraints: Maximum length of 128 characters.
model(impl Into<String>)
/set_model(Option<String>)
:The model of the device.
Constraints: Maximum length of 128 characters.
serial_number(impl Into<String>)
/set_serial_number(Option<String>)
:The serial number of the device.
Constraints: Maximum length of 128 characters.
location(Location)
/set_location(Option<Location>)
:The location of the device.
site_id(impl Into<String>)
/set_site_id(Option<String>)
:The ID of the site.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The tags to apply to the resource during creation.
- On success, responds with
CreateDeviceOutput
with field(s):device(Option<Device>)
:Information about the device.
- On failure, responds with
SdkError<CreateDeviceError>
sourcepub fn create_global_network(&self) -> CreateGlobalNetwork
pub fn create_global_network(&self) -> CreateGlobalNetwork
Constructs a fluent builder for the CreateGlobalNetwork
operation.
- The fluent builder is configurable:
description(impl Into<String>)
/set_description(Option<String>)
:A description of the global network.
Constraints: Maximum length of 256 characters.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The tags to apply to the resource during creation.
- On success, responds with
CreateGlobalNetworkOutput
with field(s):global_network(Option<GlobalNetwork>)
:Information about the global network object.
- On failure, responds with
SdkError<CreateGlobalNetworkError>
sourcepub fn create_link(&self) -> CreateLink
pub fn create_link(&self) -> CreateLink
Constructs a fluent builder for the CreateLink
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the link.
Constraints: Maximum length of 256 characters.
r#type(impl Into<String>)
/set_type(Option<String>)
:The type of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
bandwidth(Bandwidth)
/set_bandwidth(Option<Bandwidth>)
:The upload speed and download speed in Mbps.
provider(impl Into<String>)
/set_provider(Option<String>)
:The provider of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
site_id(impl Into<String>)
/set_site_id(Option<String>)
:The ID of the site.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The tags to apply to the resource during creation.
- On success, responds with
CreateLinkOutput
with field(s):link(Option<Link>)
:Information about the link.
- On failure, responds with
SdkError<CreateLinkError>
sourcepub fn create_site(&self) -> CreateSite
pub fn create_site(&self) -> CreateSite
Constructs a fluent builder for the CreateSite
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
description(impl Into<String>)
/set_description(Option<String>)
:A description of your site.
Constraints: Maximum length of 256 characters.
location(Location)
/set_location(Option<Location>)
:The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.
-
Address
: The physical address of the site. -
Latitude
: The latitude of the site. -
Longitude
: The longitude of the site.
-
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The tags to apply to the resource during creation.
- On success, responds with
CreateSiteOutput
with field(s):site(Option<Site>)
:Information about the site.
- On failure, responds with
SdkError<CreateSiteError>
sourcepub fn create_site_to_site_vpn_attachment(
&self
) -> CreateSiteToSiteVpnAttachment
pub fn create_site_to_site_vpn_attachment(
&self
) -> CreateSiteToSiteVpnAttachment
Constructs a fluent builder for the CreateSiteToSiteVpnAttachment
operation.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network where you’re creating a site-to-site VPN attachment.
vpn_connection_arn(impl Into<String>)
/set_vpn_connection_arn(Option<String>)
:The ARN identifying the VPN attachment.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The tags associated with the request.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:The client token associated with the request.
- On success, responds with
CreateSiteToSiteVpnAttachmentOutput
with field(s):site_to_site_vpn_attachment(Option<SiteToSiteVpnAttachment>)
:Details about a site-to-site VPN attachment.
- On failure, responds with
SdkError<CreateSiteToSiteVpnAttachmentError>
sourcepub fn create_vpc_attachment(&self) -> CreateVpcAttachment
pub fn create_vpc_attachment(&self) -> CreateVpcAttachment
Constructs a fluent builder for the CreateVpcAttachment
operation.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network for the VPC attachment.
vpc_arn(impl Into<String>)
/set_vpc_arn(Option<String>)
:The ARN of the VPC.
subnet_arns(Vec<String>)
/set_subnet_arns(Option<Vec<String>>)
:The subnet ARN of the VPC attachment.
options(VpcOptions)
/set_options(Option<VpcOptions>)
:Options for the VPC attachment.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The key-value tags associated with the request.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:The client token associated with the request.
- On success, responds with
CreateVpcAttachmentOutput
with field(s):vpc_attachment(Option<VpcAttachment>)
:Provides details about the VPC attachment.
- On failure, responds with
SdkError<CreateVpcAttachmentError>
sourcepub fn delete_attachment(&self) -> DeleteAttachment
pub fn delete_attachment(&self) -> DeleteAttachment
Constructs a fluent builder for the DeleteAttachment
operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)
/set_attachment_id(Option<String>)
:The ID of the attachment to delete.
- On success, responds with
DeleteAttachmentOutput
with field(s):attachment(Option<Attachment>)
:Information about the deleted attachment.
- On failure, responds with
SdkError<DeleteAttachmentError>
sourcepub fn delete_connection(&self) -> DeleteConnection
pub fn delete_connection(&self) -> DeleteConnection
Constructs a fluent builder for the DeleteConnection
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
connection_id(impl Into<String>)
/set_connection_id(Option<String>)
:The ID of the connection.
- On success, responds with
DeleteConnectionOutput
with field(s):connection(Option<Connection>)
:Information about the connection.
- On failure, responds with
SdkError<DeleteConnectionError>
sourcepub fn delete_connect_peer(&self) -> DeleteConnectPeer
pub fn delete_connect_peer(&self) -> DeleteConnectPeer
Constructs a fluent builder for the DeleteConnectPeer
operation.
- The fluent builder is configurable:
connect_peer_id(impl Into<String>)
/set_connect_peer_id(Option<String>)
:The ID of the deleted Connect peer.
- On success, responds with
DeleteConnectPeerOutput
with field(s):connect_peer(Option<ConnectPeer>)
:Information about the deleted Connect peer.
- On failure, responds with
SdkError<DeleteConnectPeerError>
sourcepub fn delete_core_network(&self) -> DeleteCoreNetwork
pub fn delete_core_network(&self) -> DeleteCoreNetwork
Constructs a fluent builder for the DeleteCoreNetwork
operation.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The network ID of the deleted core network.
- On success, responds with
DeleteCoreNetworkOutput
with field(s):core_network(Option<CoreNetwork>)
:Information about the deleted core network.
- On failure, responds with
SdkError<DeleteCoreNetworkError>
sourcepub fn delete_core_network_policy_version(
&self
) -> DeleteCoreNetworkPolicyVersion
pub fn delete_core_network_policy_version(
&self
) -> DeleteCoreNetworkPolicyVersion
Constructs a fluent builder for the DeleteCoreNetworkPolicyVersion
operation.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network for the deleted policy.
policy_version_id(i32)
/set_policy_version_id(Option<i32>)
:The version ID of the deleted policy.
- On success, responds with
DeleteCoreNetworkPolicyVersionOutput
with field(s):core_network_policy(Option<CoreNetworkPolicy>)
:Returns information about the deleted policy version.
- On failure, responds with
SdkError<DeleteCoreNetworkPolicyVersionError>
sourcepub fn delete_device(&self) -> DeleteDevice
pub fn delete_device(&self) -> DeleteDevice
Constructs a fluent builder for the DeleteDevice
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
device_id(impl Into<String>)
/set_device_id(Option<String>)
:The ID of the device.
- On success, responds with
DeleteDeviceOutput
with field(s):device(Option<Device>)
:Information about the device.
- On failure, responds with
SdkError<DeleteDeviceError>
sourcepub fn delete_global_network(&self) -> DeleteGlobalNetwork
pub fn delete_global_network(&self) -> DeleteGlobalNetwork
Constructs a fluent builder for the DeleteGlobalNetwork
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
- On success, responds with
DeleteGlobalNetworkOutput
with field(s):global_network(Option<GlobalNetwork>)
:Information about the global network.
- On failure, responds with
SdkError<DeleteGlobalNetworkError>
sourcepub fn delete_link(&self) -> DeleteLink
pub fn delete_link(&self) -> DeleteLink
Constructs a fluent builder for the DeleteLink
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
link_id(impl Into<String>)
/set_link_id(Option<String>)
:The ID of the link.
- On success, responds with
DeleteLinkOutput
with field(s):link(Option<Link>)
:Information about the link.
- On failure, responds with
SdkError<DeleteLinkError>
sourcepub fn delete_resource_policy(&self) -> DeleteResourcePolicy
pub fn delete_resource_policy(&self) -> DeleteResourcePolicy
Constructs a fluent builder for the DeleteResourcePolicy
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The ARN of the policy to delete.
- On success, responds with
DeleteResourcePolicyOutput
- On failure, responds with
SdkError<DeleteResourcePolicyError>
sourcepub fn delete_site(&self) -> DeleteSite
pub fn delete_site(&self) -> DeleteSite
Constructs a fluent builder for the DeleteSite
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
site_id(impl Into<String>)
/set_site_id(Option<String>)
:The ID of the site.
- On success, responds with
DeleteSiteOutput
with field(s):site(Option<Site>)
:Information about the site.
- On failure, responds with
SdkError<DeleteSiteError>
sourcepub fn deregister_transit_gateway(&self) -> DeregisterTransitGateway
pub fn deregister_transit_gateway(&self) -> DeregisterTransitGateway
Constructs a fluent builder for the DeregisterTransitGateway
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
transit_gateway_arn(impl Into<String>)
/set_transit_gateway_arn(Option<String>)
:The Amazon Resource Name (ARN) of the transit gateway.
- On success, responds with
DeregisterTransitGatewayOutput
with field(s):transit_gateway_registration(Option<TransitGatewayRegistration>)
:The transit gateway registration information.
- On failure, responds with
SdkError<DeregisterTransitGatewayError>
sourcepub fn describe_global_networks(&self) -> DescribeGlobalNetworks
pub fn describe_global_networks(&self) -> DescribeGlobalNetworks
Constructs a fluent builder for the DescribeGlobalNetworks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_ids(Vec<String>)
/set_global_network_ids(Option<Vec<String>>)
:The IDs of one or more global networks. The maximum is 10.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
DescribeGlobalNetworksOutput
with field(s):global_networks(Option<Vec<GlobalNetwork>>)
:Information about the global networks.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<DescribeGlobalNetworksError>
sourcepub fn disassociate_connect_peer(&self) -> DisassociateConnectPeer
pub fn disassociate_connect_peer(&self) -> DisassociateConnectPeer
Constructs a fluent builder for the DisassociateConnectPeer
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
connect_peer_id(impl Into<String>)
/set_connect_peer_id(Option<String>)
:The ID of the Connect peer to disassociate from a device.
- On success, responds with
DisassociateConnectPeerOutput
with field(s):connect_peer_association(Option<ConnectPeerAssociation>)
:Describes the Connect peer association.
- On failure, responds with
SdkError<DisassociateConnectPeerError>
sourcepub fn disassociate_customer_gateway(&self) -> DisassociateCustomerGateway
pub fn disassociate_customer_gateway(&self) -> DisassociateCustomerGateway
Constructs a fluent builder for the DisassociateCustomerGateway
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
customer_gateway_arn(impl Into<String>)
/set_customer_gateway_arn(Option<String>)
:The Amazon Resource Name (ARN) of the customer gateway.
- On success, responds with
DisassociateCustomerGatewayOutput
with field(s):customer_gateway_association(Option<CustomerGatewayAssociation>)
:Information about the customer gateway association.
- On failure, responds with
SdkError<DisassociateCustomerGatewayError>
sourcepub fn disassociate_link(&self) -> DisassociateLink
pub fn disassociate_link(&self) -> DisassociateLink
Constructs a fluent builder for the DisassociateLink
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
device_id(impl Into<String>)
/set_device_id(Option<String>)
:The ID of the device.
link_id(impl Into<String>)
/set_link_id(Option<String>)
:The ID of the link.
- On success, responds with
DisassociateLinkOutput
with field(s):link_association(Option<LinkAssociation>)
:Information about the link association.
- On failure, responds with
SdkError<DisassociateLinkError>
sourcepub fn disassociate_transit_gateway_connect_peer(
&self
) -> DisassociateTransitGatewayConnectPeer
pub fn disassociate_transit_gateway_connect_peer(
&self
) -> DisassociateTransitGatewayConnectPeer
Constructs a fluent builder for the DisassociateTransitGatewayConnectPeer
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
transit_gateway_connect_peer_arn(impl Into<String>)
/set_transit_gateway_connect_peer_arn(Option<String>)
:The Amazon Resource Name (ARN) of the transit gateway Connect peer.
- On success, responds with
DisassociateTransitGatewayConnectPeerOutput
with field(s):transit_gateway_connect_peer_association(Option<TransitGatewayConnectPeerAssociation>)
:The transit gateway Connect peer association.
- On failure, responds with
SdkError<DisassociateTransitGatewayConnectPeerError>
sourcepub fn execute_core_network_change_set(&self) -> ExecuteCoreNetworkChangeSet
pub fn execute_core_network_change_set(&self) -> ExecuteCoreNetworkChangeSet
Constructs a fluent builder for the ExecuteCoreNetworkChangeSet
operation.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
policy_version_id(i32)
/set_policy_version_id(Option<i32>)
:The ID of the policy version.
- On success, responds with
ExecuteCoreNetworkChangeSetOutput
- On failure, responds with
SdkError<ExecuteCoreNetworkChangeSetError>
sourcepub fn get_connect_attachment(&self) -> GetConnectAttachment
pub fn get_connect_attachment(&self) -> GetConnectAttachment
Constructs a fluent builder for the GetConnectAttachment
operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)
/set_attachment_id(Option<String>)
:The ID of the attachment.
- On success, responds with
GetConnectAttachmentOutput
with field(s):connect_attachment(Option<ConnectAttachment>)
:Details about the Connect attachment.
- On failure, responds with
SdkError<GetConnectAttachmentError>
sourcepub fn get_connections(&self) -> GetConnections
pub fn get_connections(&self) -> GetConnections
Constructs a fluent builder for the GetConnections
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
connection_ids(Vec<String>)
/set_connection_ids(Option<Vec<String>>)
:One or more connection IDs.
device_id(impl Into<String>)
/set_device_id(Option<String>)
:The ID of the device.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetConnectionsOutput
with field(s):connections(Option<Vec<Connection>>)
:Information about the connections.
next_token(Option<String>)
:The token to use for the next page of results.
- On failure, responds with
SdkError<GetConnectionsError>
sourcepub fn get_connect_peer(&self) -> GetConnectPeer
pub fn get_connect_peer(&self) -> GetConnectPeer
Constructs a fluent builder for the GetConnectPeer
operation.
- The fluent builder is configurable:
connect_peer_id(impl Into<String>)
/set_connect_peer_id(Option<String>)
:The ID of the Connect peer.
- On success, responds with
GetConnectPeerOutput
with field(s):connect_peer(Option<ConnectPeer>)
:Returns information about a core network Connect peer.
- On failure, responds with
SdkError<GetConnectPeerError>
sourcepub fn get_connect_peer_associations(&self) -> GetConnectPeerAssociations
pub fn get_connect_peer_associations(&self) -> GetConnectPeerAssociations
Constructs a fluent builder for the GetConnectPeerAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
connect_peer_ids(Vec<String>)
/set_connect_peer_ids(Option<Vec<String>>)
:The IDs of the Connect peers.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetConnectPeerAssociationsOutput
with field(s):connect_peer_associations(Option<Vec<ConnectPeerAssociation>>)
:Displays a list of Connect peer associations.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetConnectPeerAssociationsError>
sourcepub fn get_core_network(&self) -> GetCoreNetwork
pub fn get_core_network(&self) -> GetCoreNetwork
Constructs a fluent builder for the GetCoreNetwork
operation.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
- On success, responds with
GetCoreNetworkOutput
with field(s):core_network(Option<CoreNetwork>)
:Details about a core network.
- On failure, responds with
SdkError<GetCoreNetworkError>
sourcepub fn get_core_network_change_set(&self) -> GetCoreNetworkChangeSet
pub fn get_core_network_change_set(&self) -> GetCoreNetworkChangeSet
Constructs a fluent builder for the GetCoreNetworkChangeSet
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
policy_version_id(i32)
/set_policy_version_id(Option<i32>)
:The ID of the policy version.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetCoreNetworkChangeSetOutput
with field(s):core_network_changes(Option<Vec<CoreNetworkChange>>)
:Describes a core network changes.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetCoreNetworkChangeSetError>
sourcepub fn get_core_network_policy(&self) -> GetCoreNetworkPolicy
pub fn get_core_network_policy(&self) -> GetCoreNetworkPolicy
Constructs a fluent builder for the GetCoreNetworkPolicy
operation.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
policy_version_id(i32)
/set_policy_version_id(Option<i32>)
:The ID of a core network policy version.
alias(CoreNetworkPolicyAlias)
/set_alias(Option<CoreNetworkPolicyAlias>)
:The alias of a core network policy
- On success, responds with
GetCoreNetworkPolicyOutput
with field(s):core_network_policy(Option<CoreNetworkPolicy>)
:The details about a core network policy.
- On failure, responds with
SdkError<GetCoreNetworkPolicyError>
sourcepub fn get_customer_gateway_associations(
&self
) -> GetCustomerGatewayAssociations
pub fn get_customer_gateway_associations(
&self
) -> GetCustomerGatewayAssociations
Constructs a fluent builder for the GetCustomerGatewayAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
customer_gateway_arns(Vec<String>)
/set_customer_gateway_arns(Option<Vec<String>>)
:One or more customer gateway Amazon Resource Names (ARNs). The maximum is 10.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetCustomerGatewayAssociationsOutput
with field(s):customer_gateway_associations(Option<Vec<CustomerGatewayAssociation>>)
:The customer gateway associations.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetCustomerGatewayAssociationsError>
sourcepub fn get_devices(&self) -> GetDevices
pub fn get_devices(&self) -> GetDevices
Constructs a fluent builder for the GetDevices
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
device_ids(Vec<String>)
/set_device_ids(Option<Vec<String>>)
:One or more device IDs. The maximum is 10.
site_id(impl Into<String>)
/set_site_id(Option<String>)
:The ID of the site.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetDevicesOutput
with field(s):devices(Option<Vec<Device>>)
:The devices.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetDevicesError>
sourcepub fn get_link_associations(&self) -> GetLinkAssociations
pub fn get_link_associations(&self) -> GetLinkAssociations
Constructs a fluent builder for the GetLinkAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
device_id(impl Into<String>)
/set_device_id(Option<String>)
:The ID of the device.
link_id(impl Into<String>)
/set_link_id(Option<String>)
:The ID of the link.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetLinkAssociationsOutput
with field(s):link_associations(Option<Vec<LinkAssociation>>)
:The link associations.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetLinkAssociationsError>
sourcepub fn get_links(&self) -> GetLinks
pub fn get_links(&self) -> GetLinks
Constructs a fluent builder for the GetLinks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
link_ids(Vec<String>)
/set_link_ids(Option<Vec<String>>)
:One or more link IDs. The maximum is 10.
site_id(impl Into<String>)
/set_site_id(Option<String>)
:The ID of the site.
r#type(impl Into<String>)
/set_type(Option<String>)
:The link type.
provider(impl Into<String>)
/set_provider(Option<String>)
:The link provider.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetLinksOutput
with field(s):links(Option<Vec<Link>>)
:The links.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetLinksError>
sourcepub fn get_network_resource_counts(&self) -> GetNetworkResourceCounts
pub fn get_network_resource_counts(&self) -> GetNetworkResourceCounts
Constructs a fluent builder for the GetNetworkResourceCounts
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
resource_type(impl Into<String>)
/set_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
-
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetNetworkResourceCountsOutput
with field(s):network_resource_counts(Option<Vec<NetworkResourceCount>>)
:The count of resources.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetNetworkResourceCountsError>
sourcepub fn get_network_resource_relationships(
&self
) -> GetNetworkResourceRelationships
pub fn get_network_resource_relationships(
&self
) -> GetNetworkResourceRelationships
Constructs a fluent builder for the GetNetworkResourceRelationships
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
registered_gateway_arn(impl Into<String>)
/set_registered_gateway_arn(Option<String>)
:The ARN of the registered gateway.
aws_region(impl Into<String>)
/set_aws_region(Option<String>)
:The Amazon Web Services Region.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID.
resource_type(impl Into<String>)
/set_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_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The ARN of the gateway.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetNetworkResourceRelationshipsOutput
with field(s):relationships(Option<Vec<Relationship>>)
:The resource relationships.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetNetworkResourceRelationshipsError>
sourcepub fn get_network_resources(&self) -> GetNetworkResources
pub fn get_network_resources(&self) -> GetNetworkResources
Constructs a fluent builder for the GetNetworkResources
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
registered_gateway_arn(impl Into<String>)
/set_registered_gateway_arn(Option<String>)
:The ARN of the gateway.
aws_region(impl Into<String>)
/set_aws_region(Option<String>)
:The Amazon Web Services Region.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID.
resource_type(impl Into<String>)
/set_resource_type(Option<String>)
:The resource type.
The following are the supported resource types for Direct Connect:
-
dxcon
- The definition model is Connection. -
dx-gateway
- The definition model is DirectConnectGateway. -
dx-vif
- The definition model is VirtualInterface.
The following are the supported resource types for Network Manager:
-
connection
- The definition model is Connection. -
device
- The definition model is Device. -
link
- The definition model is Link. -
site
- The definition model is Site.
The following are the supported resource types for Amazon VPC:
-
customer-gateway
- The definition model is CustomerGateway. -
transit-gateway
- The definition model is TransitGateway. -
transit-gateway-attachment
- The definition model is TransitGatewayAttachment. -
transit-gateway-connect-peer
- The definition model is TransitGatewayConnectPeer. -
transit-gateway-route-table
- The definition model is TransitGatewayRouteTable. -
vpn-connection
- The definition model is VpnConnection.
-
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The ARN of the resource.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetNetworkResourcesOutput
with field(s):network_resources(Option<Vec<NetworkResource>>)
:The network resources.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetNetworkResourcesError>
sourcepub fn get_network_routes(&self) -> GetNetworkRoutes
pub fn get_network_routes(&self) -> GetNetworkRoutes
Constructs a fluent builder for the GetNetworkRoutes
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
route_table_identifier(RouteTableIdentifier)
/set_route_table_identifier(Option<RouteTableIdentifier>)
:The ID of the route table.
exact_cidr_matches(Vec<String>)
/set_exact_cidr_matches(Option<Vec<String>>)
:An exact CIDR block.
longest_prefix_matches(Vec<String>)
/set_longest_prefix_matches(Option<Vec<String>>)
:The most specific route that matches the traffic (longest prefix match).
subnet_of_matches(Vec<String>)
/set_subnet_of_matches(Option<Vec<String>>)
:The routes with a subnet that match the specified CIDR filter.
supernet_of_matches(Vec<String>)
/set_supernet_of_matches(Option<Vec<String>>)
:The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.
prefix_list_ids(Vec<String>)
/set_prefix_list_ids(Option<Vec<String>>)
:The IDs of the prefix lists.
states(Vec<RouteState>)
/set_states(Option<Vec<RouteState>>)
:The route states.
types(Vec<RouteType>)
/set_types(Option<Vec<RouteType>>)
:The route types.
destination_filters(HashMap<String, Vec<String>>)
/set_destination_filters(Option<HashMap<String, Vec<String>>>)
:Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.
- On success, responds with
GetNetworkRoutesOutput
with field(s):route_table_arn(Option<String>)
:The ARN of the route table.
core_network_segment_edge(Option<CoreNetworkSegmentEdgeIdentifier>)
:Describes a core network segment edge.
route_table_type(Option<RouteTableType>)
:The route table type.
route_table_timestamp(Option<DateTime>)
:The route table creation time.
network_routes(Option<Vec<NetworkRoute>>)
:The network routes.
- On failure, responds with
SdkError<GetNetworkRoutesError>
sourcepub fn get_network_telemetry(&self) -> GetNetworkTelemetry
pub fn get_network_telemetry(&self) -> GetNetworkTelemetry
Constructs a fluent builder for the GetNetworkTelemetry
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
registered_gateway_arn(impl Into<String>)
/set_registered_gateway_arn(Option<String>)
:The ARN of the gateway.
aws_region(impl Into<String>)
/set_aws_region(Option<String>)
:The Amazon Web Services Region.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:The Amazon Web Services account ID.
resource_type(impl Into<String>)
/set_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_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The ARN of the resource.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetNetworkTelemetryOutput
with field(s):network_telemetry(Option<Vec<NetworkTelemetry>>)
:The network telemetry.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetNetworkTelemetryError>
sourcepub fn get_resource_policy(&self) -> GetResourcePolicy
pub fn get_resource_policy(&self) -> GetResourcePolicy
Constructs a fluent builder for the GetResourcePolicy
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The ARN of the resource.
- On success, responds with
GetResourcePolicyOutput
with field(s):policy_document(Option<String>)
:The resource policy document.
- On failure, responds with
SdkError<GetResourcePolicyError>
sourcepub fn get_route_analysis(&self) -> GetRouteAnalysis
pub fn get_route_analysis(&self) -> GetRouteAnalysis
Constructs a fluent builder for the GetRouteAnalysis
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
route_analysis_id(impl Into<String>)
/set_route_analysis_id(Option<String>)
:The ID of the route analysis.
- On success, responds with
GetRouteAnalysisOutput
with field(s):route_analysis(Option<RouteAnalysis>)
:The route analysis.
- On failure, responds with
SdkError<GetRouteAnalysisError>
sourcepub fn get_sites(&self) -> GetSites
pub fn get_sites(&self) -> GetSites
Constructs a fluent builder for the GetSites
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
site_ids(Vec<String>)
/set_site_ids(Option<Vec<String>>)
:One or more site IDs. The maximum is 10.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetSitesOutput
with field(s):sites(Option<Vec<Site>>)
:The sites.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetSitesError>
sourcepub fn get_site_to_site_vpn_attachment(&self) -> GetSiteToSiteVpnAttachment
pub fn get_site_to_site_vpn_attachment(&self) -> GetSiteToSiteVpnAttachment
Constructs a fluent builder for the GetSiteToSiteVpnAttachment
operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)
/set_attachment_id(Option<String>)
:The ID of the attachment.
- On success, responds with
GetSiteToSiteVpnAttachmentOutput
with field(s):site_to_site_vpn_attachment(Option<SiteToSiteVpnAttachment>)
:Describes the site-to-site attachment.
- On failure, responds with
SdkError<GetSiteToSiteVpnAttachmentError>
sourcepub fn get_transit_gateway_connect_peer_associations(
&self
) -> GetTransitGatewayConnectPeerAssociations
pub fn get_transit_gateway_connect_peer_associations(
&self
) -> GetTransitGatewayConnectPeerAssociations
Constructs a fluent builder for the GetTransitGatewayConnectPeerAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
transit_gateway_connect_peer_arns(Vec<String>)
/set_transit_gateway_connect_peer_arns(Option<Vec<String>>)
:One or more transit gateway Connect peer Amazon Resource Names (ARNs).
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetTransitGatewayConnectPeerAssociationsOutput
with field(s):transit_gateway_connect_peer_associations(Option<Vec<TransitGatewayConnectPeerAssociation>>)
:Information about the transit gateway Connect peer associations.
next_token(Option<String>)
:The token to use for the next page of results.
- On failure, responds with
SdkError<GetTransitGatewayConnectPeerAssociationsError>
sourcepub fn get_transit_gateway_registrations(
&self
) -> GetTransitGatewayRegistrations
pub fn get_transit_gateway_registrations(
&self
) -> GetTransitGatewayRegistrations
Constructs a fluent builder for the GetTransitGatewayRegistrations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
transit_gateway_arns(Vec<String>)
/set_transit_gateway_arns(Option<Vec<String>>)
:The Amazon Resource Names (ARNs) of one or more transit gateways. The maximum is 10.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
GetTransitGatewayRegistrationsOutput
with field(s):transit_gateway_registrations(Option<Vec<TransitGatewayRegistration>>)
:The transit gateway registrations.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetTransitGatewayRegistrationsError>
sourcepub fn get_vpc_attachment(&self) -> GetVpcAttachment
pub fn get_vpc_attachment(&self) -> GetVpcAttachment
Constructs a fluent builder for the GetVpcAttachment
operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)
/set_attachment_id(Option<String>)
:The ID of the attachment.
- On success, responds with
GetVpcAttachmentOutput
with field(s):vpc_attachment(Option<VpcAttachment>)
:Returns details about a VPC attachment.
- On failure, responds with
SdkError<GetVpcAttachmentError>
sourcepub fn list_attachments(&self) -> ListAttachments
pub fn list_attachments(&self) -> ListAttachments
Constructs a fluent builder for the ListAttachments
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
attachment_type(AttachmentType)
/set_attachment_type(Option<AttachmentType>)
:The type of attachment.
edge_location(impl Into<String>)
/set_edge_location(Option<String>)
:The Region where the edge is located.
state(AttachmentState)
/set_state(Option<AttachmentState>)
:The state of the attachment.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
ListAttachmentsOutput
with field(s):attachments(Option<Vec<Attachment>>)
:Describes the list of attachments.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<ListAttachmentsError>
sourcepub fn list_connect_peers(&self) -> ListConnectPeers
pub fn list_connect_peers(&self) -> ListConnectPeers
Constructs a fluent builder for the ListConnectPeers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
connect_attachment_id(impl Into<String>)
/set_connect_attachment_id(Option<String>)
:The ID of the attachment.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
ListConnectPeersOutput
with field(s):connect_peers(Option<Vec<ConnectPeerSummary>>)
:Describes the Connect peers.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<ListConnectPeersError>
sourcepub fn list_core_network_policy_versions(&self) -> ListCoreNetworkPolicyVersions
pub fn list_core_network_policy_versions(&self) -> ListCoreNetworkPolicyVersions
Constructs a fluent builder for the ListCoreNetworkPolicyVersions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
ListCoreNetworkPolicyVersionsOutput
with field(s):core_network_policy_versions(Option<Vec<CoreNetworkPolicyVersion>>)
:Describes core network policy versions.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<ListCoreNetworkPolicyVersionsError>
sourcepub fn list_core_networks(&self) -> ListCoreNetworks
pub fn list_core_networks(&self) -> ListCoreNetworks
Constructs a fluent builder for the ListCoreNetworks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next page of results.
- On success, responds with
ListCoreNetworksOutput
with field(s):core_networks(Option<Vec<CoreNetworkSummary>>)
:Describes the list of core networks.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<ListCoreNetworksError>
sourcepub fn list_organization_service_access_status(
&self
) -> ListOrganizationServiceAccessStatus
pub fn list_organization_service_access_status(
&self
) -> ListOrganizationServiceAccessStatus
Constructs a fluent builder for the ListOrganizationServiceAccessStatus
operation.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
: (undocumented)next_token(impl Into<String>)
/set_next_token(Option<String>)
: (undocumented)
- On success, responds with
ListOrganizationServiceAccessStatusOutput
with field(s):organization_status(Option<OrganizationStatus>)
: (undocumented)next_token(Option<String>)
: (undocumented)
- On failure, responds with
SdkError<ListOrganizationServiceAccessStatusError>
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource.
- On success, responds with
ListTagsForResourceOutput
with field(s):tag_list(Option<Vec<Tag>>)
:The list of tags.
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn put_core_network_policy(&self) -> PutCoreNetworkPolicy
pub fn put_core_network_policy(&self) -> PutCoreNetworkPolicy
Constructs a fluent builder for the PutCoreNetworkPolicy
operation.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
policy_document(impl Into<String>)
/set_policy_document(Option<String>)
:The policy document.
description(impl Into<String>)
/set_description(Option<String>)
:a core network policy description.
latest_version_id(i32)
/set_latest_version_id(Option<i32>)
:The ID of a core network policy.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:The client token associated with the request.
- On success, responds with
PutCoreNetworkPolicyOutput
with field(s):core_network_policy(Option<CoreNetworkPolicy>)
:Describes the changed core network policy.
- On failure, responds with
SdkError<PutCoreNetworkPolicyError>
sourcepub fn put_resource_policy(&self) -> PutResourcePolicy
pub fn put_resource_policy(&self) -> PutResourcePolicy
Constructs a fluent builder for the PutResourcePolicy
operation.
- The fluent builder is configurable:
policy_document(impl Into<String>)
/set_policy_document(Option<String>)
:The JSON resource policy document.
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The ARN of the resource policy.
- On success, responds with
PutResourcePolicyOutput
- On failure, responds with
SdkError<PutResourcePolicyError>
sourcepub fn register_transit_gateway(&self) -> RegisterTransitGateway
pub fn register_transit_gateway(&self) -> RegisterTransitGateway
Constructs a fluent builder for the RegisterTransitGateway
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
transit_gateway_arn(impl Into<String>)
/set_transit_gateway_arn(Option<String>)
:The Amazon Resource Name (ARN) of the transit gateway.
- On success, responds with
RegisterTransitGatewayOutput
with field(s):transit_gateway_registration(Option<TransitGatewayRegistration>)
:Information about the transit gateway registration.
- On failure, responds with
SdkError<RegisterTransitGatewayError>
sourcepub fn reject_attachment(&self) -> RejectAttachment
pub fn reject_attachment(&self) -> RejectAttachment
Constructs a fluent builder for the RejectAttachment
operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)
/set_attachment_id(Option<String>)
:The ID of the attachment.
- On success, responds with
RejectAttachmentOutput
with field(s):attachment(Option<Attachment>)
:Describes the rejected attachment request.
- On failure, responds with
SdkError<RejectAttachmentError>
sourcepub fn restore_core_network_policy_version(
&self
) -> RestoreCoreNetworkPolicyVersion
pub fn restore_core_network_policy_version(
&self
) -> RestoreCoreNetworkPolicyVersion
Constructs a fluent builder for the RestoreCoreNetworkPolicyVersion
operation.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
policy_version_id(i32)
/set_policy_version_id(Option<i32>)
:The ID of the policy version to restore.
- On success, responds with
RestoreCoreNetworkPolicyVersionOutput
with field(s):core_network_policy(Option<CoreNetworkPolicy>)
:Describes the restored core network policy.
- On failure, responds with
SdkError<RestoreCoreNetworkPolicyVersionError>
sourcepub fn start_organization_service_access_update(
&self
) -> StartOrganizationServiceAccessUpdate
pub fn start_organization_service_access_update(
&self
) -> StartOrganizationServiceAccessUpdate
Constructs a fluent builder for the StartOrganizationServiceAccessUpdate
operation.
- The fluent builder is configurable:
action(impl Into<String>)
/set_action(Option<String>)
: (undocumented)
- On success, responds with
StartOrganizationServiceAccessUpdateOutput
with field(s):organization_status(Option<OrganizationStatus>)
: (undocumented)
- On failure, responds with
SdkError<StartOrganizationServiceAccessUpdateError>
sourcepub fn start_route_analysis(&self) -> StartRouteAnalysis
pub fn start_route_analysis(&self) -> StartRouteAnalysis
Constructs a fluent builder for the StartRouteAnalysis
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
source(RouteAnalysisEndpointOptionsSpecification)
/set_source(Option<RouteAnalysisEndpointOptionsSpecification>)
:The source from which traffic originates.
destination(RouteAnalysisEndpointOptionsSpecification)
/set_destination(Option<RouteAnalysisEndpointOptionsSpecification>)
:The destination.
include_return_path(bool)
/set_include_return_path(bool)
:Indicates whether to analyze the return path. The default is
false
.use_middleboxes(bool)
/set_use_middleboxes(bool)
:Indicates whether to include the location of middlebox appliances in the route analysis. The default is
false
.
- On success, responds with
StartRouteAnalysisOutput
with field(s):route_analysis(Option<RouteAnalysis>)
:The route analysis.
- On failure, responds with
SdkError<StartRouteAnalysisError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The tags to apply to the specified resource.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource.
tag_keys(Vec<String>)
/set_tag_keys(Option<Vec<String>>)
:The tag keys to remove from the specified resource.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_connection(&self) -> UpdateConnection
pub fn update_connection(&self) -> UpdateConnection
Constructs a fluent builder for the UpdateConnection
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
connection_id(impl Into<String>)
/set_connection_id(Option<String>)
:The ID of the connection.
link_id(impl Into<String>)
/set_link_id(Option<String>)
:The ID of the link for the first device in the connection.
connected_link_id(impl Into<String>)
/set_connected_link_id(Option<String>)
:The ID of the link for the second device in the connection.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the connection.
Length Constraints: Maximum length of 256 characters.
- On success, responds with
UpdateConnectionOutput
with field(s):connection(Option<Connection>)
:Information about the connection.
- On failure, responds with
SdkError<UpdateConnectionError>
sourcepub fn update_core_network(&self) -> UpdateCoreNetwork
pub fn update_core_network(&self) -> UpdateCoreNetwork
Constructs a fluent builder for the UpdateCoreNetwork
operation.
- The fluent builder is configurable:
core_network_id(impl Into<String>)
/set_core_network_id(Option<String>)
:The ID of a core network.
description(impl Into<String>)
/set_description(Option<String>)
:The description of the update.
- On success, responds with
UpdateCoreNetworkOutput
with field(s):core_network(Option<CoreNetwork>)
:Returns information about a core network update.
- On failure, responds with
SdkError<UpdateCoreNetworkError>
sourcepub fn update_device(&self) -> UpdateDevice
pub fn update_device(&self) -> UpdateDevice
Constructs a fluent builder for the UpdateDevice
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
device_id(impl Into<String>)
/set_device_id(Option<String>)
:The ID of the device.
aws_location(AwsLocation)
/set_aws_location(Option<AwsLocation>)
:The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the device.
Constraints: Maximum length of 256 characters.
r#type(impl Into<String>)
/set_type(Option<String>)
:The type of the device.
vendor(impl Into<String>)
/set_vendor(Option<String>)
:The vendor of the device.
Constraints: Maximum length of 128 characters.
model(impl Into<String>)
/set_model(Option<String>)
:The model of the device.
Constraints: Maximum length of 128 characters.
serial_number(impl Into<String>)
/set_serial_number(Option<String>)
:The serial number of the device.
Constraints: Maximum length of 128 characters.
location(Location)
/set_location(Option<Location>)
:Describes a location.
site_id(impl Into<String>)
/set_site_id(Option<String>)
:The ID of the site.
- On success, responds with
UpdateDeviceOutput
with field(s):device(Option<Device>)
:Information about the device.
- On failure, responds with
SdkError<UpdateDeviceError>
sourcepub fn update_global_network(&self) -> UpdateGlobalNetwork
pub fn update_global_network(&self) -> UpdateGlobalNetwork
Constructs a fluent builder for the UpdateGlobalNetwork
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of your global network.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the global network.
Constraints: Maximum length of 256 characters.
- On success, responds with
UpdateGlobalNetworkOutput
with field(s):global_network(Option<GlobalNetwork>)
:Information about the global network object.
- On failure, responds with
SdkError<UpdateGlobalNetworkError>
sourcepub fn update_link(&self) -> UpdateLink
pub fn update_link(&self) -> UpdateLink
Constructs a fluent builder for the UpdateLink
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
link_id(impl Into<String>)
/set_link_id(Option<String>)
:The ID of the link.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the link.
Constraints: Maximum length of 256 characters.
r#type(impl Into<String>)
/set_type(Option<String>)
:The type of the link.
Constraints: Maximum length of 128 characters.
bandwidth(Bandwidth)
/set_bandwidth(Option<Bandwidth>)
:The upload and download speed in Mbps.
provider(impl Into<String>)
/set_provider(Option<String>)
:The provider of the link.
Constraints: Maximum length of 128 characters.
- On success, responds with
UpdateLinkOutput
with field(s):link(Option<Link>)
:Information about the link.
- On failure, responds with
SdkError<UpdateLinkError>
sourcepub fn update_network_resource_metadata(&self) -> UpdateNetworkResourceMetadata
pub fn update_network_resource_metadata(&self) -> UpdateNetworkResourceMetadata
Constructs a fluent builder for the UpdateNetworkResourceMetadata
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The ARN of the resource.
metadata(HashMap<String, String>)
/set_metadata(Option<HashMap<String, String>>)
:The resource metadata.
- On success, responds with
UpdateNetworkResourceMetadataOutput
with field(s):resource_arn(Option<String>)
:The ARN of the resource.
metadata(Option<HashMap<String, String>>)
:The updated resource metadata.
- On failure, responds with
SdkError<UpdateNetworkResourceMetadataError>
sourcepub fn update_site(&self) -> UpdateSite
pub fn update_site(&self) -> UpdateSite
Constructs a fluent builder for the UpdateSite
operation.
- The fluent builder is configurable:
global_network_id(impl Into<String>)
/set_global_network_id(Option<String>)
:The ID of the global network.
site_id(impl Into<String>)
/set_site_id(Option<String>)
:The ID of your site.
description(impl Into<String>)
/set_description(Option<String>)
:A description of your site.
Constraints: Maximum length of 256 characters.
location(Location)
/set_location(Option<Location>)
:The site location:
-
Address
: The physical address of the site. -
Latitude
: The latitude of the site. -
Longitude
: The longitude of the site.
-
- On success, responds with
UpdateSiteOutput
with field(s):site(Option<Site>)
:Information about the site.
- On failure, responds with
SdkError<UpdateSiteError>
sourcepub fn update_vpc_attachment(&self) -> UpdateVpcAttachment
pub fn update_vpc_attachment(&self) -> UpdateVpcAttachment
Constructs a fluent builder for the UpdateVpcAttachment
operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)
/set_attachment_id(Option<String>)
:The ID of the attachment.
add_subnet_arns(Vec<String>)
/set_add_subnet_arns(Option<Vec<String>>)
:Adds a subnet ARN to the VPC attachment.
remove_subnet_arns(Vec<String>)
/set_remove_subnet_arns(Option<Vec<String>>)
:Removes a subnet ARN from the attachment.
options(VpcOptions)
/set_options(Option<VpcOptions>)
:Additional options for updating the VPC attachment.
- On success, responds with
UpdateVpcAttachmentOutput
with field(s):vpc_attachment(Option<VpcAttachment>)
:Describes the updated VPC attachment.
- On failure, responds with
SdkError<UpdateVpcAttachmentError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more