Trait NetworkManager

Source
pub trait NetworkManager {
Show 28 methods // Required methods fn associate_customer_gateway<'life0, 'async_trait>( &'life0 self, input: AssociateCustomerGatewayRequest, ) -> Pin<Box<dyn Future<Output = Result<AssociateCustomerGatewayResponse, RusotoError<AssociateCustomerGatewayError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn associate_link<'life0, 'async_trait>( &'life0 self, input: AssociateLinkRequest, ) -> Pin<Box<dyn Future<Output = Result<AssociateLinkResponse, RusotoError<AssociateLinkError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_device<'life0, 'async_trait>( &'life0 self, input: CreateDeviceRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateDeviceResponse, RusotoError<CreateDeviceError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_global_network<'life0, 'async_trait>( &'life0 self, input: CreateGlobalNetworkRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateGlobalNetworkResponse, RusotoError<CreateGlobalNetworkError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_link<'life0, 'async_trait>( &'life0 self, input: CreateLinkRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateLinkResponse, RusotoError<CreateLinkError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_site<'life0, 'async_trait>( &'life0 self, input: CreateSiteRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateSiteResponse, RusotoError<CreateSiteError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_device<'life0, 'async_trait>( &'life0 self, input: DeleteDeviceRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteDeviceResponse, RusotoError<DeleteDeviceError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_global_network<'life0, 'async_trait>( &'life0 self, input: DeleteGlobalNetworkRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteGlobalNetworkResponse, RusotoError<DeleteGlobalNetworkError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_link<'life0, 'async_trait>( &'life0 self, input: DeleteLinkRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteLinkResponse, RusotoError<DeleteLinkError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_site<'life0, 'async_trait>( &'life0 self, input: DeleteSiteRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteSiteResponse, RusotoError<DeleteSiteError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn deregister_transit_gateway<'life0, 'async_trait>( &'life0 self, input: DeregisterTransitGatewayRequest, ) -> Pin<Box<dyn Future<Output = Result<DeregisterTransitGatewayResponse, RusotoError<DeregisterTransitGatewayError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn describe_global_networks<'life0, 'async_trait>( &'life0 self, input: DescribeGlobalNetworksRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeGlobalNetworksResponse, RusotoError<DescribeGlobalNetworksError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn disassociate_customer_gateway<'life0, 'async_trait>( &'life0 self, input: DisassociateCustomerGatewayRequest, ) -> Pin<Box<dyn Future<Output = Result<DisassociateCustomerGatewayResponse, RusotoError<DisassociateCustomerGatewayError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn disassociate_link<'life0, 'async_trait>( &'life0 self, input: DisassociateLinkRequest, ) -> Pin<Box<dyn Future<Output = Result<DisassociateLinkResponse, RusotoError<DisassociateLinkError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_customer_gateway_associations<'life0, 'async_trait>( &'life0 self, input: GetCustomerGatewayAssociationsRequest, ) -> Pin<Box<dyn Future<Output = Result<GetCustomerGatewayAssociationsResponse, RusotoError<GetCustomerGatewayAssociationsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_devices<'life0, 'async_trait>( &'life0 self, input: GetDevicesRequest, ) -> Pin<Box<dyn Future<Output = Result<GetDevicesResponse, RusotoError<GetDevicesError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_link_associations<'life0, 'async_trait>( &'life0 self, input: GetLinkAssociationsRequest, ) -> Pin<Box<dyn Future<Output = Result<GetLinkAssociationsResponse, RusotoError<GetLinkAssociationsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_links<'life0, 'async_trait>( &'life0 self, input: GetLinksRequest, ) -> Pin<Box<dyn Future<Output = Result<GetLinksResponse, RusotoError<GetLinksError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_sites<'life0, 'async_trait>( &'life0 self, input: GetSitesRequest, ) -> Pin<Box<dyn Future<Output = Result<GetSitesResponse, RusotoError<GetSitesError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_transit_gateway_registrations<'life0, 'async_trait>( &'life0 self, input: GetTransitGatewayRegistrationsRequest, ) -> Pin<Box<dyn Future<Output = Result<GetTransitGatewayRegistrationsResponse, RusotoError<GetTransitGatewayRegistrationsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn list_tags_for_resource<'life0, 'async_trait>( &'life0 self, input: ListTagsForResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn register_transit_gateway<'life0, 'async_trait>( &'life0 self, input: RegisterTransitGatewayRequest, ) -> Pin<Box<dyn Future<Output = Result<RegisterTransitGatewayResponse, RusotoError<RegisterTransitGatewayError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn tag_resource<'life0, 'async_trait>( &'life0 self, input: TagResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn untag_resource<'life0, 'async_trait>( &'life0 self, input: UntagResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_device<'life0, 'async_trait>( &'life0 self, input: UpdateDeviceRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateDeviceResponse, RusotoError<UpdateDeviceError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_global_network<'life0, 'async_trait>( &'life0 self, input: UpdateGlobalNetworkRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateGlobalNetworkResponse, RusotoError<UpdateGlobalNetworkError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_link<'life0, 'async_trait>( &'life0 self, input: UpdateLinkRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateLinkResponse, RusotoError<UpdateLinkError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_site<'life0, 'async_trait>( &'life0 self, input: UpdateSiteRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateSiteResponse, RusotoError<UpdateSiteError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait;
}
Expand description

Trait representing the capabilities of the NetworkManager API. NetworkManager clients implement this trait.

Required Methods§

Source

fn associate_customer_gateway<'life0, 'async_trait>( &'life0 self, input: AssociateCustomerGatewayRequest, ) -> Pin<Box<dyn Future<Output = Result<AssociateCustomerGatewayResponse, RusotoError<AssociateCustomerGatewayError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.

You can only associate customer gateways that are connected to a VPN attachment on a transit gateway. The transit gateway must be registered in your global network. When you register a transit gateway, customer gateways that are connected to the transit gateway are automatically included in the global network. To list customer gateways that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by transit-gateway-id.

You cannot associate a customer gateway with more than one device and link.

Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.

Source

fn create_device<'life0, 'async_trait>( &'life0 self, input: CreateDeviceRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateDeviceResponse, RusotoError<CreateDeviceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.

Source

fn create_global_network<'life0, 'async_trait>( &'life0 self, input: CreateGlobalNetworkRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateGlobalNetworkResponse, RusotoError<CreateGlobalNetworkError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates a new, empty global network.

Creates a new link for a specified site.

Source

fn create_site<'life0, 'async_trait>( &'life0 self, input: CreateSiteRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateSiteResponse, RusotoError<CreateSiteError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates a new site in a global network.

Source

fn delete_device<'life0, 'async_trait>( &'life0 self, input: DeleteDeviceRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteDeviceResponse, RusotoError<DeleteDeviceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes an existing device. You must first disassociate the device from any links and customer gateways.

Source

fn delete_global_network<'life0, 'async_trait>( &'life0 self, input: DeleteGlobalNetworkRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteGlobalNetworkResponse, RusotoError<DeleteGlobalNetworkError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes an existing global network. You must first delete all global network objects (devices, links, and sites) and deregister all transit gateways.

Deletes an existing link. You must first disassociate the link from any devices and customer gateways.

Source

fn delete_site<'life0, 'async_trait>( &'life0 self, input: DeleteSiteRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteSiteResponse, RusotoError<DeleteSiteError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes an existing site. The site cannot be associated with any device or link.

Source

fn deregister_transit_gateway<'life0, 'async_trait>( &'life0 self, input: DeregisterTransitGatewayRequest, ) -> Pin<Box<dyn Future<Output = Result<DeregisterTransitGatewayResponse, RusotoError<DeregisterTransitGatewayError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.

Source

fn describe_global_networks<'life0, 'async_trait>( &'life0 self, input: DescribeGlobalNetworksRequest, ) -> Pin<Box<dyn Future<Output = Result<DescribeGlobalNetworksResponse, RusotoError<DescribeGlobalNetworksError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Describes one or more global networks. By default, all global networks are described. To describe the objects in your global network, you must use the appropriate Get* action. For example, to list the transit gateways in your global network, use GetTransitGatewayRegistrations.

Source

fn disassociate_customer_gateway<'life0, 'async_trait>( &'life0 self, input: DisassociateCustomerGatewayRequest, ) -> Pin<Box<dyn Future<Output = Result<DisassociateCustomerGatewayResponse, RusotoError<DisassociateCustomerGatewayError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Disassociates a customer gateway from a device and a link.

Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.

Source

fn get_customer_gateway_associations<'life0, 'async_trait>( &'life0 self, input: GetCustomerGatewayAssociationsRequest, ) -> Pin<Box<dyn Future<Output = Result<GetCustomerGatewayAssociationsResponse, RusotoError<GetCustomerGatewayAssociationsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets the association information for customer gateways that are associated with devices and links in your global network.

Source

fn get_devices<'life0, 'async_trait>( &'life0 self, input: GetDevicesRequest, ) -> Pin<Box<dyn Future<Output = Result<GetDevicesResponse, RusotoError<GetDevicesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets information about one or more of your devices in a global network.

Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.

Gets information about one or more links in a specified global network.

If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.

Source

fn get_sites<'life0, 'async_trait>( &'life0 self, input: GetSitesRequest, ) -> Pin<Box<dyn Future<Output = Result<GetSitesResponse, RusotoError<GetSitesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets information about one or more of your sites in a global network.

Source

fn get_transit_gateway_registrations<'life0, 'async_trait>( &'life0 self, input: GetTransitGatewayRegistrationsRequest, ) -> Pin<Box<dyn Future<Output = Result<GetTransitGatewayRegistrationsResponse, RusotoError<GetTransitGatewayRegistrationsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets information about the transit gateway registrations in a specified global network.

Source

fn list_tags_for_resource<'life0, 'async_trait>( &'life0 self, input: ListTagsForResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Lists the tags for a specified resource.

Source

fn register_transit_gateway<'life0, 'async_trait>( &'life0 self, input: RegisterTransitGatewayRequest, ) -> Pin<Box<dyn Future<Output = Result<RegisterTransitGatewayResponse, RusotoError<RegisterTransitGatewayError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Registers a transit gateway in your global network. The transit gateway can be in any AWS Region, but it must be owned by the same AWS account that owns the global network. You cannot register a transit gateway in more than one global network.

Source

fn tag_resource<'life0, 'async_trait>( &'life0 self, input: TagResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Tags a specified resource.

Source

fn untag_resource<'life0, 'async_trait>( &'life0 self, input: UntagResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Removes tags from a specified resource.

Source

fn update_device<'life0, 'async_trait>( &'life0 self, input: UpdateDeviceRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateDeviceResponse, RusotoError<UpdateDeviceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.

Source

fn update_global_network<'life0, 'async_trait>( &'life0 self, input: UpdateGlobalNetworkRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateGlobalNetworkResponse, RusotoError<UpdateGlobalNetworkError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Updates an existing global network. To remove information for any of the parameters, specify an empty string.

Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.

Source

fn update_site<'life0, 'async_trait>( &'life0 self, input: UpdateSiteRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateSiteResponse, RusotoError<UpdateSiteError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.

Implementors§