pub struct ApiGatewayManagementApiClient { /* private fields */ }
Expand description
A client for the AmazonApiGatewayManagementApi API.
Implementations§
Source§impl ApiGatewayManagementApiClient
impl ApiGatewayManagementApiClient
Sourcepub fn new(region: Region) -> ApiGatewayManagementApiClient
pub fn new(region: Region) -> ApiGatewayManagementApiClient
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,
) -> ApiGatewayManagementApiClientwhere
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client( client: Client, region: Region, ) -> ApiGatewayManagementApiClient
Trait Implementations§
Source§impl ApiGatewayManagementApi for ApiGatewayManagementApiClient
impl ApiGatewayManagementApi for ApiGatewayManagementApiClient
Source§fn delete_connection<'life0, 'async_trait>(
&'life0 self,
input: DeleteConnectionRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteConnectionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_connection<'life0, 'async_trait>(
&'life0 self,
input: DeleteConnectionRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteConnectionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Delete the connection with the provided id.
Source§fn get_connection<'life0, 'async_trait>(
&'life0 self,
input: GetConnectionRequest,
) -> Pin<Box<dyn Future<Output = Result<GetConnectionResponse, RusotoError<GetConnectionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_connection<'life0, 'async_trait>(
&'life0 self,
input: GetConnectionRequest,
) -> Pin<Box<dyn Future<Output = Result<GetConnectionResponse, RusotoError<GetConnectionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get information about the connection with the provided id.
Source§fn post_to_connection<'life0, 'async_trait>(
&'life0 self,
input: PostToConnectionRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<PostToConnectionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn post_to_connection<'life0, 'async_trait>(
&'life0 self,
input: PostToConnectionRequest,
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<PostToConnectionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sends the provided data to the specified connection.
Source§impl Clone for ApiGatewayManagementApiClient
impl Clone for ApiGatewayManagementApiClient
Source§fn clone(&self) -> ApiGatewayManagementApiClient
fn clone(&self) -> ApiGatewayManagementApiClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ApiGatewayManagementApiClient
impl !RefUnwindSafe for ApiGatewayManagementApiClient
impl Send for ApiGatewayManagementApiClient
impl Sync for ApiGatewayManagementApiClient
impl Unpin for ApiGatewayManagementApiClient
impl !UnwindSafe for ApiGatewayManagementApiClient
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
Mutably borrows from an owned value. Read more