[][src]Struct rusoto_networkmanager::NetworkManagerClient

pub struct NetworkManagerClient { /* fields omitted */ }

A client for the NetworkManager API.

Methods

impl NetworkManagerClient[src]

pub fn new(region: Region) -> NetworkManagerClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> NetworkManagerClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> NetworkManagerClient[src]

Trait Implementations

impl Clone for NetworkManagerClient[src]

impl NetworkManager for NetworkManagerClient[src]

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

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.

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

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.

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

Creates a new, empty global network.

Creates a new link for a specified site.

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

Creates a new site in a global network.

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

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

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

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.

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

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

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

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.

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

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.

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

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.

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
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

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

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.

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

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

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
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

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
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the tags for a specified resource.

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

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.

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

Tags a specified resource.

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

Removes tags from a specified resource.

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

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

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

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.

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

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

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.