MqClient

interface MqClient : SdkClient

Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ that makes it easy to set up and operate message brokers in the cloud. A message broker allows software applications and components to communicate using various programming languages, operating systems, and formal messaging protocols.

Properties

Link copied to clipboard
abstract override val config: MqClient.Config

MqClient's configuration

Functions

Link copied to clipboard

Creates a broker. Note: This API is asynchronous.

Link copied to clipboard

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

Link copied to clipboard
abstract suspend fun createTags(input: CreateTagsRequest): CreateTagsResponse

Add a tag to a resource.

Link copied to clipboard
abstract suspend fun createUser(input: CreateUserRequest): CreateUserResponse

Creates an ActiveMQ user.

Link copied to clipboard

Deletes a broker. Note: This API is asynchronous.

Link copied to clipboard

Deletes the specified configuration.

Link copied to clipboard
abstract suspend fun deleteTags(input: DeleteTagsRequest): DeleteTagsResponse

Removes a tag from a resource.

Link copied to clipboard
abstract suspend fun deleteUser(input: DeleteUserRequest): DeleteUserResponse

Deletes an ActiveMQ user.

Link copied to clipboard

Returns information about the specified broker.

Link copied to clipboard
abstract suspend fun describeBrokerEngineTypes(input: DescribeBrokerEngineTypesRequest = DescribeBrokerEngineTypesRequest { }): DescribeBrokerEngineTypesResponse

Describe available engine types and versions.

Link copied to clipboard
abstract suspend fun describeBrokerInstanceOptions(input: DescribeBrokerInstanceOptionsRequest = DescribeBrokerInstanceOptionsRequest { }): DescribeBrokerInstanceOptionsResponse

Describe available broker instance options.

Link copied to clipboard

Returns information about the specified configuration.

Link copied to clipboard

Returns the specified configuration revision for the specified configuration.

Link copied to clipboard

Returns information about an ActiveMQ user.

Link copied to clipboard
abstract suspend fun listBrokers(input: ListBrokersRequest = ListBrokersRequest { }): ListBrokersResponse

Returns a list of all brokers.

Link copied to clipboard

Returns a list of all revisions for the specified configuration.

Link copied to clipboard
abstract suspend fun listConfigurations(input: ListConfigurationsRequest = ListConfigurationsRequest { }): ListConfigurationsResponse

Returns a list of all configurations.

Link copied to clipboard
abstract suspend fun listTags(input: ListTagsRequest): ListTagsResponse

Lists tags for a resource.

Link copied to clipboard
abstract suspend fun listUsers(input: ListUsersRequest): ListUsersResponse

Returns a list of all ActiveMQ users.

Link copied to clipboard
abstract suspend fun promote(input: PromoteRequest): PromoteResponse

Promotes a data replication replica broker to the primary broker role.

Link copied to clipboard

Reboots a broker. Note: This API is asynchronous.

Link copied to clipboard

Adds a pending configuration change to a broker.

Link copied to clipboard

Updates the specified configuration.

Link copied to clipboard
abstract suspend fun updateUser(input: UpdateUserRequest): UpdateUserResponse

Updates the information for an ActiveMQ user.

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard
inline suspend fun MqClient.createBroker(crossinline block: CreateBrokerRequest.Builder.() -> Unit): CreateBrokerResponse

Creates a broker. Note: This API is asynchronous.

Link copied to clipboard

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

Link copied to clipboard
inline suspend fun MqClient.createTags(crossinline block: CreateTagsRequest.Builder.() -> Unit): CreateTagsResponse

Add a tag to a resource.

Link copied to clipboard
inline suspend fun MqClient.createUser(crossinline block: CreateUserRequest.Builder.() -> Unit): CreateUserResponse

Creates an ActiveMQ user.

Link copied to clipboard
inline suspend fun MqClient.deleteBroker(crossinline block: DeleteBrokerRequest.Builder.() -> Unit): DeleteBrokerResponse

Deletes a broker. Note: This API is asynchronous.

Link copied to clipboard

Deletes the specified configuration.

Link copied to clipboard
inline suspend fun MqClient.deleteTags(crossinline block: DeleteTagsRequest.Builder.() -> Unit): DeleteTagsResponse

Removes a tag from a resource.

Link copied to clipboard
inline suspend fun MqClient.deleteUser(crossinline block: DeleteUserRequest.Builder.() -> Unit): DeleteUserResponse

Deletes an ActiveMQ user.

Link copied to clipboard

Returns information about the specified broker.

Link copied to clipboard

Describe available engine types and versions.

Link copied to clipboard

Describe available broker instance options.

Link copied to clipboard

Returns information about the specified configuration.

Link copied to clipboard

Returns the specified configuration revision for the specified configuration.

Link copied to clipboard
inline suspend fun MqClient.describeUser(crossinline block: DescribeUserRequest.Builder.() -> Unit): DescribeUserResponse

Returns information about an ActiveMQ user.

Link copied to clipboard
inline suspend fun MqClient.listBrokers(crossinline block: ListBrokersRequest.Builder.() -> Unit): ListBrokersResponse

Returns a list of all brokers.

Link copied to clipboard
fun MqClient.listBrokersPaginated(initialRequest: ListBrokersRequest = ListBrokersRequest { }): Flow<ListBrokersResponse>

Paginate over ListBrokersResponse results.

Link copied to clipboard

Returns a list of all revisions for the specified configuration.

Link copied to clipboard

Returns a list of all configurations.

Link copied to clipboard
inline suspend fun MqClient.listTags(crossinline block: ListTagsRequest.Builder.() -> Unit): ListTagsResponse

Lists tags for a resource.

Link copied to clipboard
inline suspend fun MqClient.listUsers(crossinline block: ListUsersRequest.Builder.() -> Unit): ListUsersResponse

Returns a list of all ActiveMQ users.

Link copied to clipboard
inline suspend fun MqClient.promote(crossinline block: PromoteRequest.Builder.() -> Unit): PromoteResponse

Promotes a data replication replica broker to the primary broker role.

Link copied to clipboard
inline suspend fun MqClient.rebootBroker(crossinline block: RebootBrokerRequest.Builder.() -> Unit): RebootBrokerResponse

Reboots a broker. Note: This API is asynchronous.

Link copied to clipboard
inline suspend fun MqClient.updateBroker(crossinline block: UpdateBrokerRequest.Builder.() -> Unit): UpdateBrokerResponse

Adds a pending configuration change to a broker.

Link copied to clipboard

Updates the specified configuration.

Link copied to clipboard
inline suspend fun MqClient.updateUser(crossinline block: UpdateUserRequest.Builder.() -> Unit): UpdateUserResponse

Updates the information for an ActiveMQ user.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.