configuration_revisions
Creates, updates, deletes, gets or lists a configuration_revisions resource.
Overview
| Name | configuration_revisions |
| Type | Resource |
| Id | aws.mq.configuration_revisions |
Fields
The following fields are returned by SELECT queries:
- describe_configuration_revision
- list_configuration_revisions
| Name | Datatype | Description |
|---|---|---|
configuration_id | string | Required. The unique ID that Amazon MQ generates for the configuration. |
created | string (date-time) | Required. The date and time of the configuration. |
data | string | Amazon MQ for ActiveMQ: the base64-encoded XML configuration. Amazon MQ for RabbitMQ: base64-encoded Cuttlefish. |
description | string | The description of the configuration. |
| Name | Datatype | Description |
|---|---|---|
configuration_id | string | The unique ID that Amazon MQ generates for the configuration. |
max_results | integer | The maximum number of configuration revisions that can be returned per page (20 by default). This value must be an integer from 5 to 100. |
next_token | string | The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty. |
revisions | array | The list of all revisions for the specified configuration. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_configuration_revision | select | configuration-id, configuration-revision, region | Returns the specified configuration revision for the specified configuration. | |
list_configuration_revisions | select | configuration-id, region | maxResults, nextToken | Returns a list of all revisions for the specified configuration. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
configuration-id | string | The unique ID that Amazon MQ generates for the configuration. |
configuration-revision | string | The revision of the configuration. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100. |
nextToken | string | The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty. |
SELECT examples
- describe_configuration_revision
- list_configuration_revisions
Returns the specified configuration revision for the specified configuration.
SELECT
configuration_id,
created,
data,
description
FROM aws.mq.configuration_revisions
WHERE `configuration-id` = '{{ configuration-id }}' -- required
AND `configuration-revision` = '{{ configuration-revision }}' -- required
AND region = '{{ region }}' -- required
;
Returns a list of all revisions for the specified configuration.
SELECT
configuration_id,
max_results,
next_token,
revisions
FROM aws.mq.configuration_revisions
WHERE `configuration-id` = '{{ configuration-id }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;