pub struct MQClient { /* private fields */ }
Expand description
A client for the AmazonMQ API.
Implementations§
Source§impl MQClient
impl MQClient
Sourcepub fn new(region: Region) -> MQClient
pub fn new(region: Region) -> MQClient
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,
) -> MQClientwhere
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> MQClient
Trait Implementations§
Source§impl MQ for MQClient
impl MQ for MQClient
Source§fn create_broker<'life0, 'async_trait>(
&'life0 self,
input: CreateBrokerRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateBrokerResponse, RusotoError<CreateBrokerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_broker<'life0, 'async_trait>(
&'life0 self,
input: CreateBrokerRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateBrokerResponse, RusotoError<CreateBrokerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates a broker. Note: This API is asynchronous.
Source§fn create_configuration<'life0, 'async_trait>(
&'life0 self,
input: CreateConfigurationRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateConfigurationResponse, RusotoError<CreateConfigurationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_configuration<'life0, 'async_trait>(
&'life0 self,
input: CreateConfigurationRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateConfigurationResponse, RusotoError<CreateConfigurationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).
Add a tag to a resource.
Source§fn create_user<'life0, 'async_trait>(
&'life0 self,
input: CreateUserRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, RusotoError<CreateUserError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_user<'life0, 'async_trait>(
&'life0 self,
input: CreateUserRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateUserResponse, RusotoError<CreateUserError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates an ActiveMQ user.
Source§fn delete_broker<'life0, 'async_trait>(
&'life0 self,
input: DeleteBrokerRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteBrokerResponse, RusotoError<DeleteBrokerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_broker<'life0, 'async_trait>(
&'life0 self,
input: DeleteBrokerRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteBrokerResponse, RusotoError<DeleteBrokerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Deletes a broker. Note: This API is asynchronous.
Removes a tag from a resource.
Source§fn delete_user<'life0, 'async_trait>(
&'life0 self,
input: DeleteUserRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, RusotoError<DeleteUserError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_user<'life0, 'async_trait>(
&'life0 self,
input: DeleteUserRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResponse, RusotoError<DeleteUserError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Deletes an ActiveMQ user.
Source§fn describe_broker<'life0, 'async_trait>(
&'life0 self,
input: DescribeBrokerRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeBrokerResponse, RusotoError<DescribeBrokerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_broker<'life0, 'async_trait>(
&'life0 self,
input: DescribeBrokerRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeBrokerResponse, RusotoError<DescribeBrokerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns information about the specified broker.
Source§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
Self: 'async_trait,
'life0: 'async_trait,
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
Self: 'async_trait,
'life0: 'async_trait,
Describe available engine types and versions.
Source§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
Self: 'async_trait,
'life0: 'async_trait,
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
Self: 'async_trait,
'life0: 'async_trait,
Describe available broker instance options.
Source§fn describe_configuration<'life0, 'async_trait>(
&'life0 self,
input: DescribeConfigurationRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeConfigurationResponse, RusotoError<DescribeConfigurationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_configuration<'life0, 'async_trait>(
&'life0 self,
input: DescribeConfigurationRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeConfigurationResponse, RusotoError<DescribeConfigurationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns information about the specified configuration.
Source§fn describe_configuration_revision<'life0, 'async_trait>(
&'life0 self,
input: DescribeConfigurationRevisionRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeConfigurationRevisionResponse, RusotoError<DescribeConfigurationRevisionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_configuration_revision<'life0, 'async_trait>(
&'life0 self,
input: DescribeConfigurationRevisionRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeConfigurationRevisionResponse, RusotoError<DescribeConfigurationRevisionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the specified configuration revision for the specified configuration.
Source§fn describe_user<'life0, 'async_trait>(
&'life0 self,
input: DescribeUserRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeUserResponse, RusotoError<DescribeUserError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_user<'life0, 'async_trait>(
&'life0 self,
input: DescribeUserRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeUserResponse, RusotoError<DescribeUserError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns information about an ActiveMQ user.
Source§fn list_brokers<'life0, 'async_trait>(
&'life0 self,
input: ListBrokersRequest,
) -> Pin<Box<dyn Future<Output = Result<ListBrokersResponse, RusotoError<ListBrokersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_brokers<'life0, 'async_trait>(
&'life0 self,
input: ListBrokersRequest,
) -> Pin<Box<dyn Future<Output = Result<ListBrokersResponse, RusotoError<ListBrokersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns a list of all brokers.
Source§fn list_configuration_revisions<'life0, 'async_trait>(
&'life0 self,
input: ListConfigurationRevisionsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListConfigurationRevisionsResponse, RusotoError<ListConfigurationRevisionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_configuration_revisions<'life0, 'async_trait>(
&'life0 self,
input: ListConfigurationRevisionsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListConfigurationRevisionsResponse, RusotoError<ListConfigurationRevisionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns a list of all revisions for the specified configuration.
Source§fn list_configurations<'life0, 'async_trait>(
&'life0 self,
input: ListConfigurationsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListConfigurationsResponse, RusotoError<ListConfigurationsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_configurations<'life0, 'async_trait>(
&'life0 self,
input: ListConfigurationsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListConfigurationsResponse, RusotoError<ListConfigurationsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns a list of all configurations.
Lists tags for a resource.
Source§fn list_users<'life0, 'async_trait>(
&'life0 self,
input: ListUsersRequest,
) -> Pin<Box<dyn Future<Output = Result<ListUsersResponse, RusotoError<ListUsersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_users<'life0, 'async_trait>(
&'life0 self,
input: ListUsersRequest,
) -> Pin<Box<dyn Future<Output = Result<ListUsersResponse, RusotoError<ListUsersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns a list of all ActiveMQ users.
Source§fn reboot_broker<'life0, 'async_trait>(
&'life0 self,
input: RebootBrokerRequest,
) -> Pin<Box<dyn Future<Output = Result<RebootBrokerResponse, RusotoError<RebootBrokerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn reboot_broker<'life0, 'async_trait>(
&'life0 self,
input: RebootBrokerRequest,
) -> Pin<Box<dyn Future<Output = Result<RebootBrokerResponse, RusotoError<RebootBrokerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Reboots a broker. Note: This API is asynchronous.
Source§fn update_broker<'life0, 'async_trait>(
&'life0 self,
input: UpdateBrokerRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateBrokerResponse, RusotoError<UpdateBrokerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_broker<'life0, 'async_trait>(
&'life0 self,
input: UpdateBrokerRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateBrokerResponse, RusotoError<UpdateBrokerError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Adds a pending configuration change to a broker.
Source§fn update_configuration<'life0, 'async_trait>(
&'life0 self,
input: UpdateConfigurationRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateConfigurationResponse, RusotoError<UpdateConfigurationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_configuration<'life0, 'async_trait>(
&'life0 self,
input: UpdateConfigurationRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateConfigurationResponse, RusotoError<UpdateConfigurationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Updates the specified configuration.
Source§fn update_user<'life0, 'async_trait>(
&'life0 self,
input: UpdateUserRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateUserResponse, RusotoError<UpdateUserError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_user<'life0, 'async_trait>(
&'life0 self,
input: UpdateUserRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateUserResponse, RusotoError<UpdateUserError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Updates the information for an ActiveMQ user.