[][src]Struct rusoto_iotsecuretunneling::IoTSecureTunnelingClient

pub struct IoTSecureTunnelingClient { /* fields omitted */ }

A client for the AWS IoT Secure Tunneling API.

Implementations

impl IoTSecureTunnelingClient[src]

pub fn new(region: Region) -> IoTSecureTunnelingClient[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
) -> IoTSecureTunnelingClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

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

Trait Implementations

impl Clone for IoTSecureTunnelingClient[src]

impl IoTSecureTunneling for IoTSecureTunnelingClient[src]

pub fn close_tunnel<'life0, 'async_trait>(
    &'life0 self,
    input: CloseTunnelRequest
) -> Pin<Box<dyn Future<Output = Result<CloseTunnelResponse, RusotoError<CloseTunnelError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Closes a tunnel identified by the unique tunnel id. When a CloseTunnel request is received, we close the WebSocket connections between the client and proxy server so no data can be transmitted.

pub fn describe_tunnel<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeTunnelRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeTunnelResponse, RusotoError<DescribeTunnelError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets information about a tunnel identified by the unique tunnel id.

pub 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 the specified resource.

pub fn list_tunnels<'life0, 'async_trait>(
    &'life0 self,
    input: ListTunnelsRequest
) -> Pin<Box<dyn Future<Output = Result<ListTunnelsResponse, RusotoError<ListTunnelsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

List all tunnels for an AWS account. Tunnels are listed by creation time in descending order, newer tunnels will be listed before older tunnels.

pub fn open_tunnel<'life0, 'async_trait>(
    &'life0 self,
    input: OpenTunnelRequest
) -> Pin<Box<dyn Future<Output = Result<OpenTunnelResponse, RusotoError<OpenTunnelError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a new tunnel, and returns two client access tokens for clients to use to connect to the AWS IoT Secure Tunneling proxy server. .

pub 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]

A resource tag.

pub 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 a tag from a resource.

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> Instrument for T[src]

impl<T> Instrument 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.