[][src]Struct rusoto_mq::MQClient

pub struct MQClient { /* fields omitted */ }

A client for the AmazonMQ API.

Implementations

impl MQClient[src]

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

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

Trait Implementations

impl Clone for MQClient[src]

impl MQ for MQClient[src]

fn create_broker<'life0, 'async_trait>(
    &'life0 self,
    input: CreateBrokerRequest
) -> Pin<Box<dyn Future<Output = Result<CreateBrokerResponse, RusotoError<CreateBrokerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a broker. Note: This API is asynchronous.

fn create_configuration<'life0, 'async_trait>(
    &'life0 self,
    input: CreateConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<CreateConfigurationResponse, RusotoError<CreateConfigurationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).

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

Add a tag to a resource.

fn create_user<'life0, 'async_trait>(
    &'life0 self,
    input: CreateUserRequest
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, RusotoError<CreateUserError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates an ActiveMQ user.

fn delete_broker<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteBrokerRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteBrokerResponse, RusotoError<DeleteBrokerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a broker. Note: This API is asynchronous.

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

Removes a tag from a resource.

fn delete_user<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteUserRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, RusotoError<DeleteUserError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes an ActiveMQ user.

fn describe_broker<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBrokerRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBrokerResponse, RusotoError<DescribeBrokerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about the specified broker.

fn describe_broker_engine_types<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBrokerEngineTypesRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBrokerEngineTypesResponse, RusotoError<DescribeBrokerEngineTypesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describe available engine types and versions.

fn describe_broker_instance_options<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBrokerInstanceOptionsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBrokerInstanceOptionsResponse, RusotoError<DescribeBrokerInstanceOptionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describe available broker instance options.

fn describe_configuration<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeConfigurationResponse, RusotoError<DescribeConfigurationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about the specified configuration.

fn describe_configuration_revision<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeConfigurationRevisionRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeConfigurationRevisionResponse, RusotoError<DescribeConfigurationRevisionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns the specified configuration revision for the specified configuration.

fn describe_user<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeUserRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeUserResponse, RusotoError<DescribeUserError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about an ActiveMQ user.

fn list_brokers<'life0, 'async_trait>(
    &'life0 self,
    input: ListBrokersRequest
) -> Pin<Box<dyn Future<Output = Result<ListBrokersResponse, RusotoError<ListBrokersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of all brokers.

fn list_configuration_revisions<'life0, 'async_trait>(
    &'life0 self,
    input: ListConfigurationRevisionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListConfigurationRevisionsResponse, RusotoError<ListConfigurationRevisionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of all revisions for the specified configuration.

fn list_configurations<'life0, 'async_trait>(
    &'life0 self,
    input: ListConfigurationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListConfigurationsResponse, RusotoError<ListConfigurationsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of all configurations.

fn list_tags<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsResponse, RusotoError<ListTagsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists tags for a resource.

fn list_users<'life0, 'async_trait>(
    &'life0 self,
    input: ListUsersRequest
) -> Pin<Box<dyn Future<Output = Result<ListUsersResponse, RusotoError<ListUsersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of all ActiveMQ users.

fn reboot_broker<'life0, 'async_trait>(
    &'life0 self,
    input: RebootBrokerRequest
) -> Pin<Box<dyn Future<Output = Result<RebootBrokerResponse, RusotoError<RebootBrokerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Reboots a broker. Note: This API is asynchronous.

fn update_broker<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateBrokerRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateBrokerResponse, RusotoError<UpdateBrokerError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds a pending configuration change to a broker.

fn update_configuration<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateConfigurationResponse, RusotoError<UpdateConfigurationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the specified configuration.

fn update_user<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateUserRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateUserResponse, RusotoError<UpdateUserError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the information for an ActiveMQ user.

Auto Trait Implementations

impl !RefUnwindSafe for MQClient

impl Send for MQClient

impl Sync for MQClient

impl Unpin for MQClient

impl !UnwindSafe for MQClient

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> Sealed<T> for T where
    T: ?Sized

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.