Struct aws_sdk_networkmanager::client::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.
§Constructing a Client
A Config is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env(), since this will resolve an SdkConfig which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env() instead, which returns a ConfigLoader that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_networkmanager::Client::new(&config);Occasionally, SDKs may have additional service-specific values that can be set on the Config that
is absent from SdkConfig, or slightly different settings for a specific client may be desired.
The [Builder] struct implements From<&SdkConfig>, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_networkmanager::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();See the aws-config docs and Config for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
§Using the Client
A client has a function for every operation that can be performed by the service.
For example, the AcceptAttachment operation has
a Client::accept_attachment, function which returns a builder for that operation.
The fluent builder ultimately has a send() function that returns an async future that
returns a result, as illustrated below:
let result = client.accept_attachment()
.attachment_id("example")
.send()
.await;The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize module for more
information.
Implementations§
source§impl Client
impl Client
sourcepub fn accept_attachment(&self) -> AcceptAttachmentFluentBuilder
pub fn accept_attachment(&self) -> AcceptAttachmentFluentBuilder
Constructs a fluent builder for the AcceptAttachment operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)/set_attachment_id(Option<String>):
required: trueThe ID of the attachment.
- On success, responds with
AcceptAttachmentOutputwith field(s):attachment(Option<Attachment>):The response to the attachment request.
- On failure, responds with
SdkError<AcceptAttachmentError>
source§impl Client
impl Client
sourcepub fn associate_connect_peer(&self) -> AssociateConnectPeerFluentBuilder
pub fn associate_connect_peer(&self) -> AssociateConnectPeerFluentBuilder
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>):
required: trueThe ID of your global network.
connect_peer_id(impl Into<String>)/set_connect_peer_id(Option<String>):
required: trueThe ID of the Connect peer.
device_id(impl Into<String>)/set_device_id(Option<String>):
required: trueThe ID of the device.
link_id(impl Into<String>)/set_link_id(Option<String>):
required: falseThe ID of the link.
- On success, responds with
AssociateConnectPeerOutputwith field(s):connect_peer_association(Option<ConnectPeerAssociation>):The response to the Connect peer request.
- On failure, responds with
SdkError<AssociateConnectPeerError>
source§impl Client
impl Client
sourcepub fn associate_customer_gateway(
&self,
) -> AssociateCustomerGatewayFluentBuilder
pub fn associate_customer_gateway( &self, ) -> AssociateCustomerGatewayFluentBuilder
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>):
required: trueThe Amazon Resource Name (ARN) of the customer gateway.
global_network_id(impl Into<String>)/set_global_network_id(Option<String>):
required: trueThe ID of the global network.
device_id(impl Into<String>)/set_device_id(Option<String>):
required: trueThe ID of the device.
link_id(impl Into<String>)/set_link_id(Option<String>):
required: falseThe ID of the link.
- On success, responds with
AssociateCustomerGatewayOutputwith field(s):customer_gateway_association(Option<CustomerGatewayAssociation>):The customer gateway association.
- On failure, responds with
SdkError<AssociateCustomerGatewayError>
source§impl Client
impl Client
sourcepub fn associate_link(&self) -> AssociateLinkFluentBuilder
pub fn associate_link(&self) -> AssociateLinkFluentBuilder
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>):
required: trueThe ID of the global network.
device_id(impl Into<String>)/set_device_id(Option<String>):
required: trueThe ID of the device.
link_id(impl Into<String>)/set_link_id(Option<String>):
required: trueThe ID of the link.
- On success, responds with
AssociateLinkOutputwith field(s):link_association(Option<LinkAssociation>):The link association.
- On failure, responds with
SdkError<AssociateLinkError>
source§impl Client
impl Client
sourcepub fn associate_transit_gateway_connect_peer(
&self,
) -> AssociateTransitGatewayConnectPeerFluentBuilder
pub fn associate_transit_gateway_connect_peer( &self, ) -> AssociateTransitGatewayConnectPeerFluentBuilder
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>):
required: trueThe ID of the global network.
transit_gateway_connect_peer_arn(impl Into<String>)/set_transit_gateway_connect_peer_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the Connect peer.
device_id(impl Into<String>)/set_device_id(Option<String>):
required: trueThe ID of the device.
link_id(impl Into<String>)/set_link_id(Option<String>):
required: falseThe ID of the link.
- On success, responds with
AssociateTransitGatewayConnectPeerOutputwith field(s):transit_gateway_connect_peer_association(Option<TransitGatewayConnectPeerAssociation>):The transit gateway Connect peer association.
- On failure, responds with
SdkError<AssociateTransitGatewayConnectPeerError>
source§impl Client
impl Client
sourcepub fn create_connect_attachment(&self) -> CreateConnectAttachmentFluentBuilder
pub fn create_connect_attachment(&self) -> CreateConnectAttachmentFluentBuilder
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>):
required: trueThe ID of a core network where you want to create the attachment.
edge_location(impl Into<String>)/set_edge_location(Option<String>):
required: trueThe Region where the edge is located.
transport_attachment_id(impl Into<String>)/set_transport_attachment_id(Option<String>):
required: trueThe ID of the attachment between the two connections.
options(ConnectAttachmentOptions)/set_options(Option<ConnectAttachmentOptions>):
required: trueOptions for creating an attachment.
tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: falseThe list of key-value tags associated with the request.
client_token(impl Into<String>)/set_client_token(Option<String>):
required: falseThe client token associated with the request.
- On success, responds with
CreateConnectAttachmentOutputwith field(s):connect_attachment(Option<ConnectAttachment>):The response to a Connect attachment request.
- On failure, responds with
SdkError<CreateConnectAttachmentError>
source§impl Client
impl Client
sourcepub fn create_connect_peer(&self) -> CreateConnectPeerFluentBuilder
pub fn create_connect_peer(&self) -> CreateConnectPeerFluentBuilder
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>):
required: trueThe ID of the connection attachment.
core_network_address(impl Into<String>)/set_core_network_address(Option<String>):
required: falseA Connect peer core network address. This only applies only when the protocol is
GRE.peer_address(impl Into<String>)/set_peer_address(Option<String>):
required: trueThe Connect peer address.
bgp_options(BgpOptions)/set_bgp_options(Option<BgpOptions>):
required: falseThe Connect peer BGP options. This only applies only when the protocol is
GRE.inside_cidr_blocks(impl Into<String>)/set_inside_cidr_blocks(Option<Vec::<String>>):
required: falseThe inside IP addresses used for BGP peering.
tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: falseThe tags associated with the peer request.
client_token(impl Into<String>)/set_client_token(Option<String>):
required: falseThe client token associated with the request.
subnet_arn(impl Into<String>)/set_subnet_arn(Option<String>):
required: falseThe subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.
- On success, responds with
CreateConnectPeerOutputwith field(s):connect_peer(Option<ConnectPeer>):The response to the request.
- On failure, responds with
SdkError<CreateConnectPeerError>
source§impl Client
impl Client
sourcepub fn create_connection(&self) -> CreateConnectionFluentBuilder
pub fn create_connection(&self) -> CreateConnectionFluentBuilder
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>):
required: trueThe ID of the global network.
device_id(impl Into<String>)/set_device_id(Option<String>):
required: trueThe ID of the first device in the connection.
connected_device_id(impl Into<String>)/set_connected_device_id(Option<String>):
required: trueThe ID of the second device in the connection.
link_id(impl Into<String>)/set_link_id(Option<String>):
required: falseThe ID of the link for the first device.
connected_link_id(impl Into<String>)/set_connected_link_id(Option<String>):
required: falseThe ID of the link for the second device.
description(impl Into<String>)/set_description(Option<String>):
required: falseA description of the connection.
Length Constraints: Maximum length of 256 characters.
tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: falseThe tags to apply to the resource during creation.
- On success, responds with
CreateConnectionOutputwith field(s):connection(Option<Connection>):Information about the connection.
- On failure, responds with
SdkError<CreateConnectionError>
source§impl Client
impl Client
sourcepub fn create_core_network(&self) -> CreateCoreNetworkFluentBuilder
pub fn create_core_network(&self) -> CreateCoreNetworkFluentBuilder
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>):
required: trueThe ID of the global network that a core network will be a part of.
description(impl Into<String>)/set_description(Option<String>):
required: falseThe description of a core network.
tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: falseKey-value tags associated with a core network request.
policy_document(impl Into<String>)/set_policy_document(Option<String>):
required: falseThe policy document for creating a core network.
client_token(impl Into<String>)/set_client_token(Option<String>):
required: falseThe client token associated with a core network request.
- On success, responds with
CreateCoreNetworkOutputwith field(s):core_network(Option<CoreNetwork>):Returns details about a core network.
- On failure, responds with
SdkError<CreateCoreNetworkError>
source§impl Client
impl Client
sourcepub fn create_device(&self) -> CreateDeviceFluentBuilder
pub fn create_device(&self) -> CreateDeviceFluentBuilder
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>):
required: trueThe ID of the global network.
aws_location(AwsLocation)/set_aws_location(Option<AwsLocation>):
required: falseThe 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>):
required: falseA description of the device.
Constraints: Maximum length of 256 characters.
r#type(impl Into<String>)/set_type(Option<String>):
required: falseThe type of the device.
vendor(impl Into<String>)/set_vendor(Option<String>):
required: falseThe vendor of the device.
Constraints: Maximum length of 128 characters.
model(impl Into<String>)/set_model(Option<String>):
required: falseThe model of the device.
Constraints: Maximum length of 128 characters.
serial_number(impl Into<String>)/set_serial_number(Option<String>):
required: falseThe serial number of the device.
Constraints: Maximum length of 128 characters.
location(Location)/set_location(Option<Location>):
required: falseThe location of the device.
site_id(impl Into<String>)/set_site_id(Option<String>):
required: falseThe ID of the site.
tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: falseThe tags to apply to the resource during creation.
- On success, responds with
CreateDeviceOutputwith field(s):device(Option<Device>):Information about the device.
- On failure, responds with
SdkError<CreateDeviceError>
source§impl Client
impl Client
sourcepub fn create_global_network(&self) -> CreateGlobalNetworkFluentBuilder
pub fn create_global_network(&self) -> CreateGlobalNetworkFluentBuilder
Constructs a fluent builder for the CreateGlobalNetwork operation.
- The fluent builder is configurable:
description(impl Into<String>)/set_description(Option<String>):
required: falseA description of the global network.
Constraints: Maximum length of 256 characters.
tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: falseThe tags to apply to the resource during creation.
- On success, responds with
CreateGlobalNetworkOutputwith field(s):global_network(Option<GlobalNetwork>):Information about the global network object.
- On failure, responds with
SdkError<CreateGlobalNetworkError>
source§impl Client
impl Client
sourcepub fn create_link(&self) -> CreateLinkFluentBuilder
pub fn create_link(&self) -> CreateLinkFluentBuilder
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>):
required: trueThe ID of the global network.
description(impl Into<String>)/set_description(Option<String>):
required: falseA description of the link.
Constraints: Maximum length of 256 characters.
r#type(impl Into<String>)/set_type(Option<String>):
required: falseThe type of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
bandwidth(Bandwidth)/set_bandwidth(Option<Bandwidth>):
required: trueThe upload speed and download speed in Mbps.
provider(impl Into<String>)/set_provider(Option<String>):
required: falseThe 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>):
required: trueThe ID of the site.
tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: falseThe tags to apply to the resource during creation.
- On success, responds with
CreateLinkOutputwith field(s):link(Option<Link>):Information about the link.
- On failure, responds with
SdkError<CreateLinkError>
source§impl Client
impl Client
sourcepub fn create_site(&self) -> CreateSiteFluentBuilder
pub fn create_site(&self) -> CreateSiteFluentBuilder
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>):
required: trueThe ID of the global network.
description(impl Into<String>)/set_description(Option<String>):
required: falseA description of your site.
Constraints: Maximum length of 256 characters.
location(Location)/set_location(Option<Location>):
required: falseThe 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(Tag)/set_tags(Option<Vec::<Tag>>):
required: falseThe tags to apply to the resource during creation.
- On success, responds with
CreateSiteOutputwith field(s):site(Option<Site>):Information about the site.
- On failure, responds with
SdkError<CreateSiteError>
source§impl Client
impl Client
sourcepub fn create_site_to_site_vpn_attachment(
&self,
) -> CreateSiteToSiteVpnAttachmentFluentBuilder
pub fn create_site_to_site_vpn_attachment( &self, ) -> CreateSiteToSiteVpnAttachmentFluentBuilder
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>):
required: trueThe 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>):
required: trueThe ARN identifying the VPN attachment.
tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: falseThe tags associated with the request.
client_token(impl Into<String>)/set_client_token(Option<String>):
required: falseThe client token associated with the request.
- On success, responds with
CreateSiteToSiteVpnAttachmentOutputwith field(s):site_to_site_vpn_attachment(Option<SiteToSiteVpnAttachment>):Details about a site-to-site VPN attachment.
- On failure, responds with
SdkError<CreateSiteToSiteVpnAttachmentError>
source§impl Client
impl Client
sourcepub fn create_transit_gateway_peering(
&self,
) -> CreateTransitGatewayPeeringFluentBuilder
pub fn create_transit_gateway_peering( &self, ) -> CreateTransitGatewayPeeringFluentBuilder
Constructs a fluent builder for the CreateTransitGatewayPeering operation.
- The fluent builder is configurable:
core_network_id(impl Into<String>)/set_core_network_id(Option<String>):
required: trueThe ID of a core network.
transit_gateway_arn(impl Into<String>)/set_transit_gateway_arn(Option<String>):
required: trueThe ARN of the transit gateway for the peering request.
tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: falseThe list of key-value tags associated with the request.
client_token(impl Into<String>)/set_client_token(Option<String>):
required: falseThe client token associated with the request.
- On success, responds with
CreateTransitGatewayPeeringOutputwith field(s):transit_gateway_peering(Option<TransitGatewayPeering>):Returns information about the transit gateway peering connection request.
- On failure, responds with
SdkError<CreateTransitGatewayPeeringError>
source§impl Client
impl Client
sourcepub fn create_transit_gateway_route_table_attachment(
&self,
) -> CreateTransitGatewayRouteTableAttachmentFluentBuilder
pub fn create_transit_gateway_route_table_attachment( &self, ) -> CreateTransitGatewayRouteTableAttachmentFluentBuilder
Constructs a fluent builder for the CreateTransitGatewayRouteTableAttachment operation.
- The fluent builder is configurable:
peering_id(impl Into<String>)/set_peering_id(Option<String>):
required: trueThe ID of the peer for the
transit_gateway_route_table_arn(impl Into<String>)/set_transit_gateway_route_table_arn(Option<String>):
required: trueThe ARN of the transit gateway route table for the attachment request. For example,
“TransitGatewayRouteTableArn”: “arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456”.tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: falseThe list of key-value tags associated with the request.
client_token(impl Into<String>)/set_client_token(Option<String>):
required: falseThe client token associated with the request.
- On success, responds with
CreateTransitGatewayRouteTableAttachmentOutputwith field(s):transit_gateway_route_table_attachment(Option<TransitGatewayRouteTableAttachment>):The route table associated with the create transit gateway route table attachment request.
- On failure, responds with
SdkError<CreateTransitGatewayRouteTableAttachmentError>
source§impl Client
impl Client
sourcepub fn create_vpc_attachment(&self) -> CreateVpcAttachmentFluentBuilder
pub fn create_vpc_attachment(&self) -> CreateVpcAttachmentFluentBuilder
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>):
required: trueThe ID of a core network for the VPC attachment.
vpc_arn(impl Into<String>)/set_vpc_arn(Option<String>):
required: trueThe ARN of the VPC.
subnet_arns(impl Into<String>)/set_subnet_arns(Option<Vec::<String>>):
required: trueThe subnet ARN of the VPC attachment.
options(VpcOptions)/set_options(Option<VpcOptions>):
required: falseOptions for the VPC attachment.
tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: falseThe key-value tags associated with the request.
client_token(impl Into<String>)/set_client_token(Option<String>):
required: falseThe client token associated with the request.
- On success, responds with
CreateVpcAttachmentOutputwith field(s):vpc_attachment(Option<VpcAttachment>):Provides details about the VPC attachment.
- On failure, responds with
SdkError<CreateVpcAttachmentError>
source§impl Client
impl Client
sourcepub fn delete_attachment(&self) -> DeleteAttachmentFluentBuilder
pub fn delete_attachment(&self) -> DeleteAttachmentFluentBuilder
Constructs a fluent builder for the DeleteAttachment operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)/set_attachment_id(Option<String>):
required: trueThe ID of the attachment to delete.
- On success, responds with
DeleteAttachmentOutputwith field(s):attachment(Option<Attachment>):Information about the deleted attachment.
- On failure, responds with
SdkError<DeleteAttachmentError>
source§impl Client
impl Client
sourcepub fn delete_connect_peer(&self) -> DeleteConnectPeerFluentBuilder
pub fn delete_connect_peer(&self) -> DeleteConnectPeerFluentBuilder
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>):
required: trueThe ID of the deleted Connect peer.
- On success, responds with
DeleteConnectPeerOutputwith field(s):connect_peer(Option<ConnectPeer>):Information about the deleted Connect peer.
- On failure, responds with
SdkError<DeleteConnectPeerError>
source§impl Client
impl Client
sourcepub fn delete_connection(&self) -> DeleteConnectionFluentBuilder
pub fn delete_connection(&self) -> DeleteConnectionFluentBuilder
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>):
required: trueThe ID of the global network.
connection_id(impl Into<String>)/set_connection_id(Option<String>):
required: trueThe ID of the connection.
- On success, responds with
DeleteConnectionOutputwith field(s):connection(Option<Connection>):Information about the connection.
- On failure, responds with
SdkError<DeleteConnectionError>
source§impl Client
impl Client
sourcepub fn delete_core_network(&self) -> DeleteCoreNetworkFluentBuilder
pub fn delete_core_network(&self) -> DeleteCoreNetworkFluentBuilder
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>):
required: trueThe network ID of the deleted core network.
- On success, responds with
DeleteCoreNetworkOutputwith field(s):core_network(Option<CoreNetwork>):Information about the deleted core network.
- On failure, responds with
SdkError<DeleteCoreNetworkError>
source§impl Client
impl Client
sourcepub fn delete_core_network_policy_version(
&self,
) -> DeleteCoreNetworkPolicyVersionFluentBuilder
pub fn delete_core_network_policy_version( &self, ) -> DeleteCoreNetworkPolicyVersionFluentBuilder
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>):
required: trueThe ID of a core network for the deleted policy.
policy_version_id(i32)/set_policy_version_id(Option<i32>):
required: trueThe version ID of the deleted policy.
- On success, responds with
DeleteCoreNetworkPolicyVersionOutputwith field(s):core_network_policy(Option<CoreNetworkPolicy>):Returns information about the deleted policy version.
- On failure, responds with
SdkError<DeleteCoreNetworkPolicyVersionError>
source§impl Client
impl Client
sourcepub fn delete_device(&self) -> DeleteDeviceFluentBuilder
pub fn delete_device(&self) -> DeleteDeviceFluentBuilder
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>):
required: trueThe ID of the global network.
device_id(impl Into<String>)/set_device_id(Option<String>):
required: trueThe ID of the device.
- On success, responds with
DeleteDeviceOutputwith field(s):device(Option<Device>):Information about the device.
- On failure, responds with
SdkError<DeleteDeviceError>
source§impl Client
impl Client
sourcepub fn delete_global_network(&self) -> DeleteGlobalNetworkFluentBuilder
pub fn delete_global_network(&self) -> DeleteGlobalNetworkFluentBuilder
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>):
required: trueThe ID of the global network.
- On success, responds with
DeleteGlobalNetworkOutputwith field(s):global_network(Option<GlobalNetwork>):Information about the global network.
- On failure, responds with
SdkError<DeleteGlobalNetworkError>
source§impl Client
impl Client
sourcepub fn delete_link(&self) -> DeleteLinkFluentBuilder
pub fn delete_link(&self) -> DeleteLinkFluentBuilder
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>):
required: trueThe ID of the global network.
link_id(impl Into<String>)/set_link_id(Option<String>):
required: trueThe ID of the link.
- On success, responds with
DeleteLinkOutputwith field(s):link(Option<Link>):Information about the link.
- On failure, responds with
SdkError<DeleteLinkError>
source§impl Client
impl Client
sourcepub fn delete_peering(&self) -> DeletePeeringFluentBuilder
pub fn delete_peering(&self) -> DeletePeeringFluentBuilder
Constructs a fluent builder for the DeletePeering operation.
- The fluent builder is configurable:
peering_id(impl Into<String>)/set_peering_id(Option<String>):
required: trueThe ID of the peering connection to delete.
- On success, responds with
DeletePeeringOutputwith field(s):peering(Option<Peering>):Information about a deleted peering connection.
- On failure, responds with
SdkError<DeletePeeringError>
source§impl Client
impl Client
sourcepub fn delete_resource_policy(&self) -> DeleteResourcePolicyFluentBuilder
pub fn delete_resource_policy(&self) -> DeleteResourcePolicyFluentBuilder
Constructs a fluent builder for the DeleteResourcePolicy operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe ARN of the policy to delete.
- On success, responds with
DeleteResourcePolicyOutput - On failure, responds with
SdkError<DeleteResourcePolicyError>
source§impl Client
impl Client
sourcepub fn delete_site(&self) -> DeleteSiteFluentBuilder
pub fn delete_site(&self) -> DeleteSiteFluentBuilder
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>):
required: trueThe ID of the global network.
site_id(impl Into<String>)/set_site_id(Option<String>):
required: trueThe ID of the site.
- On success, responds with
DeleteSiteOutputwith field(s):site(Option<Site>):Information about the site.
- On failure, responds with
SdkError<DeleteSiteError>
source§impl Client
impl Client
sourcepub fn deregister_transit_gateway(
&self,
) -> DeregisterTransitGatewayFluentBuilder
pub fn deregister_transit_gateway( &self, ) -> DeregisterTransitGatewayFluentBuilder
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>):
required: trueThe ID of the global network.
transit_gateway_arn(impl Into<String>)/set_transit_gateway_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the transit gateway.
- On success, responds with
DeregisterTransitGatewayOutputwith field(s):transit_gateway_registration(Option<TransitGatewayRegistration>):The transit gateway registration information.
- On failure, responds with
SdkError<DeregisterTransitGatewayError>
source§impl Client
impl Client
sourcepub fn describe_global_networks(&self) -> DescribeGlobalNetworksFluentBuilder
pub fn describe_global_networks(&self) -> DescribeGlobalNetworksFluentBuilder
Constructs a fluent builder for the DescribeGlobalNetworks operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
global_network_ids(impl Into<String>)/set_global_network_ids(Option<Vec::<String>>):
required: falseThe IDs of one or more global networks. The maximum is 10.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
DescribeGlobalNetworksOutputwith 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>
source§impl Client
impl Client
sourcepub fn disassociate_connect_peer(&self) -> DisassociateConnectPeerFluentBuilder
pub fn disassociate_connect_peer(&self) -> DisassociateConnectPeerFluentBuilder
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>):
required: trueThe ID of the global network.
connect_peer_id(impl Into<String>)/set_connect_peer_id(Option<String>):
required: trueThe ID of the Connect peer to disassociate from a device.
- On success, responds with
DisassociateConnectPeerOutputwith field(s):connect_peer_association(Option<ConnectPeerAssociation>):Describes the Connect peer association.
- On failure, responds with
SdkError<DisassociateConnectPeerError>
source§impl Client
impl Client
sourcepub fn disassociate_customer_gateway(
&self,
) -> DisassociateCustomerGatewayFluentBuilder
pub fn disassociate_customer_gateway( &self, ) -> DisassociateCustomerGatewayFluentBuilder
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>):
required: trueThe ID of the global network.
customer_gateway_arn(impl Into<String>)/set_customer_gateway_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the customer gateway.
- On success, responds with
DisassociateCustomerGatewayOutputwith field(s):customer_gateway_association(Option<CustomerGatewayAssociation>):Information about the customer gateway association.
- On failure, responds with
SdkError<DisassociateCustomerGatewayError>
source§impl Client
impl Client
sourcepub fn disassociate_link(&self) -> DisassociateLinkFluentBuilder
pub fn disassociate_link(&self) -> DisassociateLinkFluentBuilder
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>):
required: trueThe ID of the global network.
device_id(impl Into<String>)/set_device_id(Option<String>):
required: trueThe ID of the device.
link_id(impl Into<String>)/set_link_id(Option<String>):
required: trueThe ID of the link.
- On success, responds with
DisassociateLinkOutputwith field(s):link_association(Option<LinkAssociation>):Information about the link association.
- On failure, responds with
SdkError<DisassociateLinkError>
source§impl Client
impl Client
sourcepub fn disassociate_transit_gateway_connect_peer(
&self,
) -> DisassociateTransitGatewayConnectPeerFluentBuilder
pub fn disassociate_transit_gateway_connect_peer( &self, ) -> DisassociateTransitGatewayConnectPeerFluentBuilder
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>):
required: trueThe ID of the global network.
transit_gateway_connect_peer_arn(impl Into<String>)/set_transit_gateway_connect_peer_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the transit gateway Connect peer.
- On success, responds with
DisassociateTransitGatewayConnectPeerOutputwith field(s):transit_gateway_connect_peer_association(Option<TransitGatewayConnectPeerAssociation>):The transit gateway Connect peer association.
- On failure, responds with
SdkError<DisassociateTransitGatewayConnectPeerError>
source§impl Client
impl Client
sourcepub fn execute_core_network_change_set(
&self,
) -> ExecuteCoreNetworkChangeSetFluentBuilder
pub fn execute_core_network_change_set( &self, ) -> ExecuteCoreNetworkChangeSetFluentBuilder
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>):
required: trueThe ID of a core network.
policy_version_id(i32)/set_policy_version_id(Option<i32>):
required: trueThe ID of the policy version.
- On success, responds with
ExecuteCoreNetworkChangeSetOutput - On failure, responds with
SdkError<ExecuteCoreNetworkChangeSetError>
source§impl Client
impl Client
sourcepub fn get_connect_attachment(&self) -> GetConnectAttachmentFluentBuilder
pub fn get_connect_attachment(&self) -> GetConnectAttachmentFluentBuilder
Constructs a fluent builder for the GetConnectAttachment operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)/set_attachment_id(Option<String>):
required: trueThe ID of the attachment.
- On success, responds with
GetConnectAttachmentOutputwith field(s):connect_attachment(Option<ConnectAttachment>):Details about the Connect attachment.
- On failure, responds with
SdkError<GetConnectAttachmentError>
source§impl Client
impl Client
sourcepub fn get_connect_peer(&self) -> GetConnectPeerFluentBuilder
pub fn get_connect_peer(&self) -> GetConnectPeerFluentBuilder
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>):
required: trueThe ID of the Connect peer.
- On success, responds with
GetConnectPeerOutputwith field(s):connect_peer(Option<ConnectPeer>):Returns information about a core network Connect peer.
- On failure, responds with
SdkError<GetConnectPeerError>
source§impl Client
impl Client
sourcepub fn get_connect_peer_associations(
&self,
) -> GetConnectPeerAssociationsFluentBuilder
pub fn get_connect_peer_associations( &self, ) -> GetConnectPeerAssociationsFluentBuilder
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>):
required: trueThe ID of the global network.
connect_peer_ids(impl Into<String>)/set_connect_peer_ids(Option<Vec::<String>>):
required: falseThe IDs of the Connect peers.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetConnectPeerAssociationsOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_connections(&self) -> GetConnectionsFluentBuilder
pub fn get_connections(&self) -> GetConnectionsFluentBuilder
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>):
required: trueThe ID of the global network.
connection_ids(impl Into<String>)/set_connection_ids(Option<Vec::<String>>):
required: falseOne or more connection IDs.
device_id(impl Into<String>)/set_device_id(Option<String>):
required: falseThe ID of the device.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetConnectionsOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_core_network(&self) -> GetCoreNetworkFluentBuilder
pub fn get_core_network(&self) -> GetCoreNetworkFluentBuilder
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>):
required: trueThe ID of a core network.
- On success, responds with
GetCoreNetworkOutputwith field(s):core_network(Option<CoreNetwork>):Details about a core network.
- On failure, responds with
SdkError<GetCoreNetworkError>
source§impl Client
impl Client
sourcepub fn get_core_network_change_events(
&self,
) -> GetCoreNetworkChangeEventsFluentBuilder
pub fn get_core_network_change_events( &self, ) -> GetCoreNetworkChangeEventsFluentBuilder
Constructs a fluent builder for the GetCoreNetworkChangeEvents 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>):
required: trueThe ID of a core network.
policy_version_id(i32)/set_policy_version_id(Option<i32>):
required: trueThe ID of the policy version.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetCoreNetworkChangeEventsOutputwith field(s):core_network_change_events(Option<Vec::<CoreNetworkChangeEvent>>):The response to
GetCoreNetworkChangeEventsRequest.next_token(Option<String>):The token for the next page of results.
- On failure, responds with
SdkError<GetCoreNetworkChangeEventsError>
source§impl Client
impl Client
sourcepub fn get_core_network_change_set(
&self,
) -> GetCoreNetworkChangeSetFluentBuilder
pub fn get_core_network_change_set( &self, ) -> GetCoreNetworkChangeSetFluentBuilder
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>):
required: trueThe ID of a core network.
policy_version_id(i32)/set_policy_version_id(Option<i32>):
required: trueThe ID of the policy version.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetCoreNetworkChangeSetOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_core_network_policy(&self) -> GetCoreNetworkPolicyFluentBuilder
pub fn get_core_network_policy(&self) -> GetCoreNetworkPolicyFluentBuilder
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>):
required: trueThe ID of a core network.
policy_version_id(i32)/set_policy_version_id(Option<i32>):
required: falseThe ID of a core network policy version.
alias(CoreNetworkPolicyAlias)/set_alias(Option<CoreNetworkPolicyAlias>):
required: falseThe alias of a core network policy
- On success, responds with
GetCoreNetworkPolicyOutputwith field(s):core_network_policy(Option<CoreNetworkPolicy>):The details about a core network policy.
- On failure, responds with
SdkError<GetCoreNetworkPolicyError>
source§impl Client
impl Client
sourcepub fn get_customer_gateway_associations(
&self,
) -> GetCustomerGatewayAssociationsFluentBuilder
pub fn get_customer_gateway_associations( &self, ) -> GetCustomerGatewayAssociationsFluentBuilder
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>):
required: trueThe ID of the global network.
customer_gateway_arns(impl Into<String>)/set_customer_gateway_arns(Option<Vec::<String>>):
required: falseOne or more customer gateway Amazon Resource Names (ARNs). The maximum is 10.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetCustomerGatewayAssociationsOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_devices(&self) -> GetDevicesFluentBuilder
pub fn get_devices(&self) -> GetDevicesFluentBuilder
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>):
required: trueThe ID of the global network.
device_ids(impl Into<String>)/set_device_ids(Option<Vec::<String>>):
required: falseOne or more device IDs. The maximum is 10.
site_id(impl Into<String>)/set_site_id(Option<String>):
required: falseThe ID of the site.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetDevicesOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_link_associations(&self) -> GetLinkAssociationsFluentBuilder
pub fn get_link_associations(&self) -> GetLinkAssociationsFluentBuilder
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>):
required: trueThe ID of the global network.
device_id(impl Into<String>)/set_device_id(Option<String>):
required: falseThe ID of the device.
link_id(impl Into<String>)/set_link_id(Option<String>):
required: falseThe ID of the link.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetLinkAssociationsOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_links(&self) -> GetLinksFluentBuilder
pub fn get_links(&self) -> GetLinksFluentBuilder
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>):
required: trueThe ID of the global network.
link_ids(impl Into<String>)/set_link_ids(Option<Vec::<String>>):
required: falseOne or more link IDs. The maximum is 10.
site_id(impl Into<String>)/set_site_id(Option<String>):
required: falseThe ID of the site.
r#type(impl Into<String>)/set_type(Option<String>):
required: falseThe link type.
provider(impl Into<String>)/set_provider(Option<String>):
required: falseThe link provider.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetLinksOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_network_resource_counts(
&self,
) -> GetNetworkResourceCountsFluentBuilder
pub fn get_network_resource_counts( &self, ) -> GetNetworkResourceCountsFluentBuilder
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>):
required: trueThe ID of the global network.
resource_type(impl Into<String>)/set_resource_type(Option<String>):
required: falseThe 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:
-
attachment -
connect-peer -
connection -
core-network -
device -
link -
peering -
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>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetNetworkResourceCountsOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_network_resource_relationships(
&self,
) -> GetNetworkResourceRelationshipsFluentBuilder
pub fn get_network_resource_relationships( &self, ) -> GetNetworkResourceRelationshipsFluentBuilder
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>):
required: trueThe ID of the global network.
core_network_id(impl Into<String>)/set_core_network_id(Option<String>):
required: falseThe ID of a core network.
registered_gateway_arn(impl Into<String>)/set_registered_gateway_arn(Option<String>):
required: falseThe ARN of the registered gateway.
aws_region(impl Into<String>)/set_aws_region(Option<String>):
required: falseThe Amazon Web Services Region.
account_id(impl Into<String>)/set_account_id(Option<String>):
required: falseThe Amazon Web Services account ID.
resource_type(impl Into<String>)/set_resource_type(Option<String>):
required: falseThe 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:
-
attachment -
connect-peer -
connection -
core-network -
device -
link -
peering -
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>):
required: falseThe ARN of the gateway.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetNetworkResourceRelationshipsOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_network_resources(&self) -> GetNetworkResourcesFluentBuilder
pub fn get_network_resources(&self) -> GetNetworkResourcesFluentBuilder
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>):
required: trueThe ID of the global network.
core_network_id(impl Into<String>)/set_core_network_id(Option<String>):
required: falseThe ID of a core network.
registered_gateway_arn(impl Into<String>)/set_registered_gateway_arn(Option<String>):
required: falseThe ARN of the gateway.
aws_region(impl Into<String>)/set_aws_region(Option<String>):
required: falseThe Amazon Web Services Region.
account_id(impl Into<String>)/set_account_id(Option<String>):
required: falseThe Amazon Web Services account ID.
resource_type(impl Into<String>)/set_resource_type(Option<String>):
required: falseThe 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:
-
attachment -
connect-peer -
connection -
core-network -
device -
link -
peering -
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>):
required: falseThe ARN of the resource.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetNetworkResourcesOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_network_routes(&self) -> GetNetworkRoutesFluentBuilder
pub fn get_network_routes(&self) -> GetNetworkRoutesFluentBuilder
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>):
required: trueThe ID of the global network.
route_table_identifier(RouteTableIdentifier)/set_route_table_identifier(Option<RouteTableIdentifier>):
required: trueThe ID of the route table.
exact_cidr_matches(impl Into<String>)/set_exact_cidr_matches(Option<Vec::<String>>):
required: falseAn exact CIDR block.
longest_prefix_matches(impl Into<String>)/set_longest_prefix_matches(Option<Vec::<String>>):
required: falseThe most specific route that matches the traffic (longest prefix match).
subnet_of_matches(impl Into<String>)/set_subnet_of_matches(Option<Vec::<String>>):
required: falseThe routes with a subnet that match the specified CIDR filter.
supernet_of_matches(impl Into<String>)/set_supernet_of_matches(Option<Vec::<String>>):
required: falseThe 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(impl Into<String>)/set_prefix_list_ids(Option<Vec::<String>>):
required: falseThe IDs of the prefix lists.
states(RouteState)/set_states(Option<Vec::<RouteState>>):
required: falseThe route states.
types(RouteType)/set_types(Option<Vec::<RouteType>>):
required: falseThe route types.
destination_filters(impl Into<String>, Vec::<String>)/set_destination_filters(Option<HashMap::<String, Vec::<String>>>):
required: falseFilter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.
- On success, responds with
GetNetworkRoutesOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_network_telemetry(&self) -> GetNetworkTelemetryFluentBuilder
pub fn get_network_telemetry(&self) -> GetNetworkTelemetryFluentBuilder
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>):
required: trueThe ID of the global network.
core_network_id(impl Into<String>)/set_core_network_id(Option<String>):
required: falseThe ID of a core network.
registered_gateway_arn(impl Into<String>)/set_registered_gateway_arn(Option<String>):
required: falseThe ARN of the gateway.
aws_region(impl Into<String>)/set_aws_region(Option<String>):
required: falseThe Amazon Web Services Region.
account_id(impl Into<String>)/set_account_id(Option<String>):
required: falseThe Amazon Web Services account ID.
resource_type(impl Into<String>)/set_resource_type(Option<String>):
required: falseThe resource type. The following are the supported resource types:
-
connect-peer -
transit-gateway-connect-peer -
vpn-connection
-
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: falseThe ARN of the resource.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetNetworkTelemetryOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_resource_policy(&self) -> GetResourcePolicyFluentBuilder
pub fn get_resource_policy(&self) -> GetResourcePolicyFluentBuilder
Constructs a fluent builder for the GetResourcePolicy operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe ARN of the resource.
- On success, responds with
GetResourcePolicyOutputwith field(s):policy_document(Option<String>):The resource policy document.
- On failure, responds with
SdkError<GetResourcePolicyError>
source§impl Client
impl Client
sourcepub fn get_route_analysis(&self) -> GetRouteAnalysisFluentBuilder
pub fn get_route_analysis(&self) -> GetRouteAnalysisFluentBuilder
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>):
required: trueThe ID of the global network.
route_analysis_id(impl Into<String>)/set_route_analysis_id(Option<String>):
required: trueThe ID of the route analysis.
- On success, responds with
GetRouteAnalysisOutputwith field(s):route_analysis(Option<RouteAnalysis>):The route analysis.
- On failure, responds with
SdkError<GetRouteAnalysisError>
source§impl Client
impl Client
sourcepub fn get_site_to_site_vpn_attachment(
&self,
) -> GetSiteToSiteVpnAttachmentFluentBuilder
pub fn get_site_to_site_vpn_attachment( &self, ) -> GetSiteToSiteVpnAttachmentFluentBuilder
Constructs a fluent builder for the GetSiteToSiteVpnAttachment operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)/set_attachment_id(Option<String>):
required: trueThe ID of the attachment.
- On success, responds with
GetSiteToSiteVpnAttachmentOutputwith field(s):site_to_site_vpn_attachment(Option<SiteToSiteVpnAttachment>):Describes the site-to-site attachment.
- On failure, responds with
SdkError<GetSiteToSiteVpnAttachmentError>
source§impl Client
impl Client
sourcepub fn get_sites(&self) -> GetSitesFluentBuilder
pub fn get_sites(&self) -> GetSitesFluentBuilder
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>):
required: trueThe ID of the global network.
site_ids(impl Into<String>)/set_site_ids(Option<Vec::<String>>):
required: falseOne or more site IDs. The maximum is 10.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetSitesOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_transit_gateway_connect_peer_associations(
&self,
) -> GetTransitGatewayConnectPeerAssociationsFluentBuilder
pub fn get_transit_gateway_connect_peer_associations( &self, ) -> GetTransitGatewayConnectPeerAssociationsFluentBuilder
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>):
required: trueThe ID of the global network.
transit_gateway_connect_peer_arns(impl Into<String>)/set_transit_gateway_connect_peer_arns(Option<Vec::<String>>):
required: falseOne or more transit gateway Connect peer Amazon Resource Names (ARNs).
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetTransitGatewayConnectPeerAssociationsOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_transit_gateway_peering(
&self,
) -> GetTransitGatewayPeeringFluentBuilder
pub fn get_transit_gateway_peering( &self, ) -> GetTransitGatewayPeeringFluentBuilder
Constructs a fluent builder for the GetTransitGatewayPeering operation.
- The fluent builder is configurable:
peering_id(impl Into<String>)/set_peering_id(Option<String>):
required: trueThe ID of the peering request.
- On success, responds with
GetTransitGatewayPeeringOutputwith field(s):transit_gateway_peering(Option<TransitGatewayPeering>):Returns information about a transit gateway peering.
- On failure, responds with
SdkError<GetTransitGatewayPeeringError>
source§impl Client
impl Client
sourcepub fn get_transit_gateway_registrations(
&self,
) -> GetTransitGatewayRegistrationsFluentBuilder
pub fn get_transit_gateway_registrations( &self, ) -> GetTransitGatewayRegistrationsFluentBuilder
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>):
required: trueThe ID of the global network.
transit_gateway_arns(impl Into<String>)/set_transit_gateway_arns(Option<Vec::<String>>):
required: falseThe Amazon Resource Names (ARNs) of one or more transit gateways. The maximum is 10.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
GetTransitGatewayRegistrationsOutputwith 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>
source§impl Client
impl Client
sourcepub fn get_transit_gateway_route_table_attachment(
&self,
) -> GetTransitGatewayRouteTableAttachmentFluentBuilder
pub fn get_transit_gateway_route_table_attachment( &self, ) -> GetTransitGatewayRouteTableAttachmentFluentBuilder
Constructs a fluent builder for the GetTransitGatewayRouteTableAttachment operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)/set_attachment_id(Option<String>):
required: trueThe ID of the transit gateway route table attachment.
- On success, responds with
GetTransitGatewayRouteTableAttachmentOutputwith field(s):transit_gateway_route_table_attachment(Option<TransitGatewayRouteTableAttachment>):Returns information about the transit gateway route table attachment.
- On failure, responds with
SdkError<GetTransitGatewayRouteTableAttachmentError>
source§impl Client
impl Client
sourcepub fn get_vpc_attachment(&self) -> GetVpcAttachmentFluentBuilder
pub fn get_vpc_attachment(&self) -> GetVpcAttachmentFluentBuilder
Constructs a fluent builder for the GetVpcAttachment operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)/set_attachment_id(Option<String>):
required: trueThe ID of the attachment.
- On success, responds with
GetVpcAttachmentOutputwith field(s):vpc_attachment(Option<VpcAttachment>):Returns details about a VPC attachment.
- On failure, responds with
SdkError<GetVpcAttachmentError>
source§impl Client
impl Client
sourcepub fn list_attachments(&self) -> ListAttachmentsFluentBuilder
pub fn list_attachments(&self) -> ListAttachmentsFluentBuilder
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>):
required: falseThe ID of a core network.
attachment_type(AttachmentType)/set_attachment_type(Option<AttachmentType>):
required: falseThe type of attachment.
edge_location(impl Into<String>)/set_edge_location(Option<String>):
required: falseThe Region where the edge is located.
state(AttachmentState)/set_state(Option<AttachmentState>):
required: falseThe state of the attachment.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
ListAttachmentsOutputwith 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>
source§impl Client
impl Client
sourcepub fn list_connect_peers(&self) -> ListConnectPeersFluentBuilder
pub fn list_connect_peers(&self) -> ListConnectPeersFluentBuilder
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>):
required: falseThe ID of a core network.
connect_attachment_id(impl Into<String>)/set_connect_attachment_id(Option<String>):
required: falseThe ID of the attachment.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
ListConnectPeersOutputwith 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>
source§impl Client
impl Client
sourcepub fn list_core_network_policy_versions(
&self,
) -> ListCoreNetworkPolicyVersionsFluentBuilder
pub fn list_core_network_policy_versions( &self, ) -> ListCoreNetworkPolicyVersionsFluentBuilder
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>):
required: trueThe ID of a core network.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
ListCoreNetworkPolicyVersionsOutputwith 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>
source§impl Client
impl Client
sourcepub fn list_core_networks(&self) -> ListCoreNetworksFluentBuilder
pub fn list_core_networks(&self) -> ListCoreNetworksFluentBuilder
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>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
ListCoreNetworksOutputwith 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>
source§impl Client
impl Client
sourcepub fn list_organization_service_access_status(
&self,
) -> ListOrganizationServiceAccessStatusFluentBuilder
pub fn list_organization_service_access_status( &self, ) -> ListOrganizationServiceAccessStatusFluentBuilder
Constructs a fluent builder for the ListOrganizationServiceAccessStatus operation.
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
ListOrganizationServiceAccessStatusOutputwith field(s):organization_status(Option<OrganizationStatus>):Displays the status of an Amazon Web Services Organization.
next_token(Option<String>):The token for the next page of results.
- On failure, responds with
SdkError<ListOrganizationServiceAccessStatusError>
source§impl Client
impl Client
sourcepub fn list_peerings(&self) -> ListPeeringsFluentBuilder
pub fn list_peerings(&self) -> ListPeeringsFluentBuilder
Constructs a fluent builder for the ListPeerings 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>):
required: falseThe ID of a core network.
peering_type(PeeringType)/set_peering_type(Option<PeeringType>):
required: falseReturns a list of a peering requests.
edge_location(impl Into<String>)/set_edge_location(Option<String>):
required: falseReturns a list edge locations for the
state(PeeringState)/set_state(Option<PeeringState>):
required: falseReturns a list of the peering request states.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
ListPeeringsOutputwith field(s):peerings(Option<Vec::<Peering>>):Lists the transit gateway peerings for the
ListPeeringsrequest.next_token(Option<String>):The token for the next page of results.
- On failure, responds with
SdkError<ListPeeringsError>
source§impl Client
impl Client
Constructs a fluent builder for the ListTagsForResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the resource.
- On success, responds with
ListTagsForResourceOutputwith field(s):tag_list(Option<Vec::<Tag>>):The list of tags.
- On failure, responds with
SdkError<ListTagsForResourceError>
source§impl Client
impl Client
sourcepub fn put_core_network_policy(&self) -> PutCoreNetworkPolicyFluentBuilder
pub fn put_core_network_policy(&self) -> PutCoreNetworkPolicyFluentBuilder
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>):
required: trueThe ID of a core network.
policy_document(impl Into<String>)/set_policy_document(Option<String>):
required: trueThe policy document.
description(impl Into<String>)/set_description(Option<String>):
required: falsea core network policy description.
latest_version_id(i32)/set_latest_version_id(Option<i32>):
required: falseThe ID of a core network policy.
client_token(impl Into<String>)/set_client_token(Option<String>):
required: falseThe client token associated with the request.
- On success, responds with
PutCoreNetworkPolicyOutputwith field(s):core_network_policy(Option<CoreNetworkPolicy>):Describes the changed core network policy.
- On failure, responds with
SdkError<PutCoreNetworkPolicyError>
source§impl Client
impl Client
sourcepub fn put_resource_policy(&self) -> PutResourcePolicyFluentBuilder
pub fn put_resource_policy(&self) -> PutResourcePolicyFluentBuilder
Constructs a fluent builder for the PutResourcePolicy operation.
- The fluent builder is configurable:
policy_document(impl Into<String>)/set_policy_document(Option<String>):
required: trueThe JSON resource policy document.
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe ARN of the resource policy.
- On success, responds with
PutResourcePolicyOutput - On failure, responds with
SdkError<PutResourcePolicyError>
source§impl Client
impl Client
sourcepub fn register_transit_gateway(&self) -> RegisterTransitGatewayFluentBuilder
pub fn register_transit_gateway(&self) -> RegisterTransitGatewayFluentBuilder
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>):
required: trueThe ID of the global network.
transit_gateway_arn(impl Into<String>)/set_transit_gateway_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the transit gateway.
- On success, responds with
RegisterTransitGatewayOutputwith field(s):transit_gateway_registration(Option<TransitGatewayRegistration>):Information about the transit gateway registration.
- On failure, responds with
SdkError<RegisterTransitGatewayError>
source§impl Client
impl Client
sourcepub fn reject_attachment(&self) -> RejectAttachmentFluentBuilder
pub fn reject_attachment(&self) -> RejectAttachmentFluentBuilder
Constructs a fluent builder for the RejectAttachment operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)/set_attachment_id(Option<String>):
required: trueThe ID of the attachment.
- On success, responds with
RejectAttachmentOutputwith field(s):attachment(Option<Attachment>):Describes the rejected attachment request.
- On failure, responds with
SdkError<RejectAttachmentError>
source§impl Client
impl Client
sourcepub fn restore_core_network_policy_version(
&self,
) -> RestoreCoreNetworkPolicyVersionFluentBuilder
pub fn restore_core_network_policy_version( &self, ) -> RestoreCoreNetworkPolicyVersionFluentBuilder
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>):
required: trueThe ID of a core network.
policy_version_id(i32)/set_policy_version_id(Option<i32>):
required: trueThe ID of the policy version to restore.
- On success, responds with
RestoreCoreNetworkPolicyVersionOutputwith field(s):core_network_policy(Option<CoreNetworkPolicy>):Describes the restored core network policy.
- On failure, responds with
SdkError<RestoreCoreNetworkPolicyVersionError>
source§impl Client
impl Client
sourcepub fn start_organization_service_access_update(
&self,
) -> StartOrganizationServiceAccessUpdateFluentBuilder
pub fn start_organization_service_access_update( &self, ) -> StartOrganizationServiceAccessUpdateFluentBuilder
Constructs a fluent builder for the StartOrganizationServiceAccessUpdate operation.
- The fluent builder is configurable:
action(impl Into<String>)/set_action(Option<String>):
required: trueThe action to take for the update request. This can be either
ENABLEorDISABLE.
- On success, responds with
StartOrganizationServiceAccessUpdateOutputwith field(s):organization_status(Option<OrganizationStatus>):The status of the service access update request for an Amazon Web Services Organization.
- On failure, responds with
SdkError<StartOrganizationServiceAccessUpdateError>
source§impl Client
impl Client
sourcepub fn start_route_analysis(&self) -> StartRouteAnalysisFluentBuilder
pub fn start_route_analysis(&self) -> StartRouteAnalysisFluentBuilder
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>):
required: trueThe ID of the global network.
source(RouteAnalysisEndpointOptionsSpecification)/set_source(Option<RouteAnalysisEndpointOptionsSpecification>):
required: trueThe source from which traffic originates.
destination(RouteAnalysisEndpointOptionsSpecification)/set_destination(Option<RouteAnalysisEndpointOptionsSpecification>):
required: trueThe destination.
include_return_path(bool)/set_include_return_path(Option<bool>):
required: falseIndicates whether to analyze the return path. The default is
false.use_middleboxes(bool)/set_use_middleboxes(Option<bool>):
required: falseIndicates whether to include the location of middlebox appliances in the route analysis. The default is
false.
- On success, responds with
StartRouteAnalysisOutputwith field(s):route_analysis(Option<RouteAnalysis>):The route analysis.
- On failure, responds with
SdkError<StartRouteAnalysisError>
source§impl Client
impl Client
sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
pub fn tag_resource(&self) -> TagResourceFluentBuilder
Constructs a fluent builder for the TagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the resource.
tags(Tag)/set_tags(Option<Vec::<Tag>>):
required: trueThe tags to apply to the specified resource.
- On success, responds with
TagResourceOutput - On failure, responds with
SdkError<TagResourceError>
source§impl Client
impl Client
sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
Constructs a fluent builder for the UntagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the resource.
tag_keys(impl Into<String>)/set_tag_keys(Option<Vec::<String>>):
required: trueThe tag keys to remove from the specified resource.
- On success, responds with
UntagResourceOutput - On failure, responds with
SdkError<UntagResourceError>
source§impl Client
impl Client
sourcepub fn update_connection(&self) -> UpdateConnectionFluentBuilder
pub fn update_connection(&self) -> UpdateConnectionFluentBuilder
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>):
required: trueThe ID of the global network.
connection_id(impl Into<String>)/set_connection_id(Option<String>):
required: trueThe ID of the connection.
link_id(impl Into<String>)/set_link_id(Option<String>):
required: falseThe ID of the link for the first device in the connection.
connected_link_id(impl Into<String>)/set_connected_link_id(Option<String>):
required: falseThe ID of the link for the second device in the connection.
description(impl Into<String>)/set_description(Option<String>):
required: falseA description of the connection.
Length Constraints: Maximum length of 256 characters.
- On success, responds with
UpdateConnectionOutputwith field(s):connection(Option<Connection>):Information about the connection.
- On failure, responds with
SdkError<UpdateConnectionError>
source§impl Client
impl Client
sourcepub fn update_core_network(&self) -> UpdateCoreNetworkFluentBuilder
pub fn update_core_network(&self) -> UpdateCoreNetworkFluentBuilder
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>):
required: trueThe ID of a core network.
description(impl Into<String>)/set_description(Option<String>):
required: falseThe description of the update.
- On success, responds with
UpdateCoreNetworkOutputwith field(s):core_network(Option<CoreNetwork>):Returns information about a core network update.
- On failure, responds with
SdkError<UpdateCoreNetworkError>
source§impl Client
impl Client
sourcepub fn update_device(&self) -> UpdateDeviceFluentBuilder
pub fn update_device(&self) -> UpdateDeviceFluentBuilder
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>):
required: trueThe ID of the global network.
device_id(impl Into<String>)/set_device_id(Option<String>):
required: trueThe ID of the device.
aws_location(AwsLocation)/set_aws_location(Option<AwsLocation>):
required: falseThe 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>):
required: falseA description of the device.
Constraints: Maximum length of 256 characters.
r#type(impl Into<String>)/set_type(Option<String>):
required: falseThe type of the device.
vendor(impl Into<String>)/set_vendor(Option<String>):
required: falseThe vendor of the device.
Constraints: Maximum length of 128 characters.
model(impl Into<String>)/set_model(Option<String>):
required: falseThe model of the device.
Constraints: Maximum length of 128 characters.
serial_number(impl Into<String>)/set_serial_number(Option<String>):
required: falseThe serial number of the device.
Constraints: Maximum length of 128 characters.
location(Location)/set_location(Option<Location>):
required: falseDescribes a location.
site_id(impl Into<String>)/set_site_id(Option<String>):
required: falseThe ID of the site.
- On success, responds with
UpdateDeviceOutputwith field(s):device(Option<Device>):Information about the device.
- On failure, responds with
SdkError<UpdateDeviceError>
source§impl Client
impl Client
sourcepub fn update_global_network(&self) -> UpdateGlobalNetworkFluentBuilder
pub fn update_global_network(&self) -> UpdateGlobalNetworkFluentBuilder
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>):
required: trueThe ID of your global network.
description(impl Into<String>)/set_description(Option<String>):
required: falseA description of the global network.
Constraints: Maximum length of 256 characters.
- On success, responds with
UpdateGlobalNetworkOutputwith field(s):global_network(Option<GlobalNetwork>):Information about the global network object.
- On failure, responds with
SdkError<UpdateGlobalNetworkError>
source§impl Client
impl Client
sourcepub fn update_link(&self) -> UpdateLinkFluentBuilder
pub fn update_link(&self) -> UpdateLinkFluentBuilder
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>):
required: trueThe ID of the global network.
link_id(impl Into<String>)/set_link_id(Option<String>):
required: trueThe ID of the link.
description(impl Into<String>)/set_description(Option<String>):
required: falseA description of the link.
Constraints: Maximum length of 256 characters.
r#type(impl Into<String>)/set_type(Option<String>):
required: falseThe type of the link.
Constraints: Maximum length of 128 characters.
bandwidth(Bandwidth)/set_bandwidth(Option<Bandwidth>):
required: falseThe upload and download speed in Mbps.
provider(impl Into<String>)/set_provider(Option<String>):
required: falseThe provider of the link.
Constraints: Maximum length of 128 characters.
- On success, responds with
UpdateLinkOutputwith field(s):link(Option<Link>):Information about the link.
- On failure, responds with
SdkError<UpdateLinkError>
source§impl Client
impl Client
sourcepub fn update_network_resource_metadata(
&self,
) -> UpdateNetworkResourceMetadataFluentBuilder
pub fn update_network_resource_metadata( &self, ) -> UpdateNetworkResourceMetadataFluentBuilder
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>):
required: trueThe ID of the global network.
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe ARN of the resource.
metadata(impl Into<String>, impl Into<String>)/set_metadata(Option<HashMap::<String, String>>):
required: trueThe resource metadata.
- On success, responds with
UpdateNetworkResourceMetadataOutputwith 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>
source§impl Client
impl Client
sourcepub fn update_site(&self) -> UpdateSiteFluentBuilder
pub fn update_site(&self) -> UpdateSiteFluentBuilder
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>):
required: trueThe ID of the global network.
site_id(impl Into<String>)/set_site_id(Option<String>):
required: trueThe ID of your site.
description(impl Into<String>)/set_description(Option<String>):
required: falseA description of your site.
Constraints: Maximum length of 256 characters.
location(Location)/set_location(Option<Location>):
required: falseThe 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
UpdateSiteOutputwith field(s):site(Option<Site>):Information about the site.
- On failure, responds with
SdkError<UpdateSiteError>
source§impl Client
impl Client
sourcepub fn update_vpc_attachment(&self) -> UpdateVpcAttachmentFluentBuilder
pub fn update_vpc_attachment(&self) -> UpdateVpcAttachmentFluentBuilder
Constructs a fluent builder for the UpdateVpcAttachment operation.
- The fluent builder is configurable:
attachment_id(impl Into<String>)/set_attachment_id(Option<String>):
required: trueThe ID of the attachment.
add_subnet_arns(impl Into<String>)/set_add_subnet_arns(Option<Vec::<String>>):
required: falseAdds a subnet ARN to the VPC attachment.
remove_subnet_arns(impl Into<String>)/set_remove_subnet_arns(Option<Vec::<String>>):
required: falseRemoves a subnet ARN from the attachment.
options(VpcOptions)/set_options(Option<VpcOptions>):
required: falseAdditional options for updating the VPC attachment.
- On success, responds with
UpdateVpcAttachmentOutputwith field(s):vpc_attachment(Option<VpcAttachment>):Describes the updated VPC attachment.
- On failure, responds with
SdkError<UpdateVpcAttachmentError>
source§impl Client
impl Client
sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a
sleep_implconfigured. - Identity caching is enabled without a
sleep_implandtime_sourceconfigured. - No
behavior_versionis provided.
The panic message for each of these will have instructions on how to resolve them.
source§impl Client
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_configis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
sdk_configis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it. - This method will panic if no
BehaviorVersionis provided. If you experience this panic, setbehavior_versionon the Config or enable thebehavior-version-latestCargo feature.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more