Amazon MQ

Implementation details for API mq

Coverage Overview

Amazon MQ is supported by LocalStack only in the pro image.

AvailabilityTesting*
OperationImplementedImageInternal Test SuiteExternal Test SuiteTerraform ValidatedAWS ValidatedSnapshot TestedDetails
CreateBroker✔️pro✔️✔️✔️Show Tests
CreateConfiguration✔️pro✔️✔️✔️✔️Show Tests
CreateTags✔️pro✔️✔️✔️Show Tests
CreateUser
DeleteBroker✔️pro✔️✔️✔️Show Tests
DeleteTags✔️pro✔️✔️✔️Show Tests
DeleteUser
DescribeBroker✔️pro✔️✔️✔️Show Tests
DescribeBrokerEngineTypes✔️pro✔️✔️✔️Show Tests
DescribeBrokerInstanceOptions
DescribeConfiguration✔️pro✔️✔️✔️Show Tests
DescribeConfigurationRevision
DescribeUser
ListBrokers✔️pro✔️✔️✔️✔️✔️Show Tests
ListConfigurationRevisions
ListConfigurations✔️pro✔️✔️✔️✔️Show Tests
ListTags✔️pro✔️✔️✔️Show Tests
ListUsers
Promote
RebootBroker
UpdateBroker
UpdateConfiguration
UpdateUser

Terminology

  • Internal Test Suite: tested by LocalStack's internal integration test suite
  • External Test Suite: covered by an external integration test suite, that runs against LocalStack
  • Terraform Validated: operation tested with Terraform
  • AWS Validated: the integration test that includes this operation call was validated against AWS
  • Snapshot Tested: the operation is part of a snapshot parity test, which verifies the responses by LocalStack and AWS are the same

Testing Details

This section gives an overview about the internal integration test suite and the specific test cases that recorded the API call.

How to read the test details?

For each operation we put up a list of the related integration test cases.
Those operation calls have been recorded during the execution of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.

  • Parameters: The tests are ordered by the parameters used, which are highlighted in bold.
  • Test Details: LocalStack Community or LocalStack Pro indicates where the test originates. For each test you see:
    • test name
    • status code returned (which is the expected one for the test case)
    • information about validation:
      • AWS validated the test is validated against AWS, meaning it run successfully against real AWS as well
      • Snapshot Tested this is a snapshot parity test, meaning the responses are validated against AWS


CreateBroker

Parameters: AutoMinorVersionUpgrade, BrokerName, CreatorRequestId, DeploymentMode, EngineType, EngineVersion, HostInstanceType, PubliclyAccessible, Users
  • LocalStack Pro
    • test_create_broker LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_broker HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_tags LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_tags HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_delete_broker LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_delete_broker HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_delete_tags LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_delete_tags HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_describe_broker LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_describe_broker HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_brokers LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_list_brokers HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_send_to_active_mq LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_send_to_active_mq HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_send_to_activemq_curl LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_send_to_activemq_curl HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_mq LocalStack Pro: tests/aws/test_network_configuration.py::test_mq HTTP Status Code: 200

CreateConfiguration

Parameters: AuthenticationStrategy, EngineType, EngineVersion, Name
  • LocalStack Pro
    • test_create_configuration LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_configuration HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_describe_configuration LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_describe_configuration HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_configuration LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_configuration HTTP Status Code: 400 (BadRequestException) AWS validated Snapshot Tested
    • test_create_configuration LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_configuration HTTP Status Code: 400 (BadRequestException) AWS validated Snapshot Tested
    • test_create_configuration LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_configuration HTTP Status Code: 400 (BadRequestException) AWS validated Snapshot Tested
Parameters: AuthenticationStrategy, EngineType, EngineVersion, Name, Tags
  • LocalStack Pro
    • test_create_configuration LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_configuration HTTP Status Code: 200 AWS validated Snapshot Tested

CreateTags

Parameters: ResourceArn
  • LocalStack Pro
    • test_create_tags LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_tags HTTP Status Code: 400 (BadRequestException) AWS validated Snapshot Tested
Parameters: ResourceArn, Tags
  • LocalStack Pro
    • test_create_tags LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_tags HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_delete_tags LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_delete_tags HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_create_tags LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_tags HTTP Status Code: 400 (BadRequestException) AWS validated Snapshot Tested

DeleteBroker

Parameters: BrokerId
  • LocalStack Pro
    • test_create_broker LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_broker HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_tags LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_tags HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_delete_broker LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_delete_broker HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_delete_tags LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_delete_tags HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_describe_broker LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_describe_broker HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_brokers LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_list_brokers HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_send_to_active_mq LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_send_to_active_mq HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_send_to_activemq_curl LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_send_to_activemq_curl HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_mq LocalStack Pro: tests/aws/test_network_configuration.py::test_mq HTTP Status Code: 200
    • test_delete_broker LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_delete_broker HTTP Status Code: 404 (NotFoundException) AWS validated Snapshot Tested
    • test_delete_broker LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_delete_broker HTTP Status Code: 404 (NotFoundException) AWS validated Snapshot Tested

DeleteTags

Parameters: ResourceArn, TagKeys
  • LocalStack Pro
    • test_delete_tags LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_delete_tags HTTP Status Code: 204 AWS validated Snapshot Tested

DescribeBroker

Parameters: BrokerId
  • LocalStack Pro
    • test_describe_broker LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_describe_broker HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_send_to_active_mq LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_send_to_active_mq HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_send_to_activemq_curl LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_send_to_activemq_curl HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_mq LocalStack Pro: tests/aws/test_network_configuration.py::test_mq HTTP Status Code: 200

DescribeBrokerEngineTypes

Parameters: - (without any parameters)
  • LocalStack Pro
    • test_describe_broker_engine_types LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_describe_broker_engine_types HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: EngineType
  • LocalStack Pro
    • test_describe_broker_engine_types LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_describe_broker_engine_types HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_describe_broker_engine_types LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_describe_broker_engine_types HTTP Status Code: 400 (BadRequestException) AWS validated Snapshot Tested

DescribeConfiguration

Parameters: ConfigurationId
  • LocalStack Pro
    • test_describe_configuration LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_describe_configuration HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_describe_configuration LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_describe_configuration HTTP Status Code: 404 (NotFoundException) AWS validated Snapshot Tested

ListBrokers

Parameters: - (without any parameters)
  • LocalStack Pro
    • test_list_brokers LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_list_brokers HTTP Status Code: 200 AWS validated Snapshot Tested

ListConfigurations

Parameters: - (without any parameters)
  • LocalStack Pro
    • test_create_configuration LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_configuration HTTP Status Code: 200 AWS validated Snapshot Tested

ListTags

Parameters: ResourceArn
  • LocalStack Pro
    • test_create_tags LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_create_tags HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_delete_tags LocalStack Pro: tests/aws/services/mq/test_mq.py::TestMQ::test_delete_tags HTTP Status Code: 200 AWS validated Snapshot Tested

Last modified March 20, 2023: improve Coverage Docs (#505) (46f2fb0c0)