delete_broker

MQ.Client.delete_broker(**kwargs)

Deletes a broker. Note: This API is asynchronous.

See also: AWS API Documentation

Request Syntax

response = client.delete_broker(
    BrokerId='string'
)
Parameters
BrokerId (string) --

[REQUIRED]

The unique ID that Amazon MQ generates for the broker.

Return type
dict
Returns
Response Syntax
{
    'BrokerId': 'string'
}

Response Structure

  • (dict) --

    HTTP Status Code 200: OK.

    • BrokerId (string) --

      The unique ID that Amazon MQ generates for the broker.

Exceptions

  • MQ.Client.exceptions.NotFoundException
  • MQ.Client.exceptions.BadRequestException
  • MQ.Client.exceptions.InternalServerErrorException
  • MQ.Client.exceptions.ForbiddenException