Amazon MQ
REST API Reference

Configurations configuration-id Revisions

URI

/v1/configurations/configuration-id/revisions

HTTP Methods

GET

Operation ID: ListConfigurationRevisions

Returns a list of all revisions for the specified configuration.

Path Parameters

Name Type Required Description
configuration-id String True

The unique ID that Amazon MQ generates for the configuration.

Query Parameters

Name Type Required Description
nextToken String False

The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

maxResults String False

The maximum number of configurations that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

Responses

Status Code Response Model Description
200 ListConfigurationRevisionsOutput

HTTP Status Code 200: OK.

400 Error

HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.

403 Error

HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.

404 Error

HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.

500 Error

HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.

Schemas

Response Bodies

Example ListConfigurationRevisionsOutput

{ "nextToken": "string", "maxResults": integer, "revisions": [ { "created": "string", "description": "string", "revision": integer } ], "configurationId": "string" }

Example Error

{ "errorAttribute": "string", "message": "string" }

Properties

ConfigurationRevision

Returns information about the specified configuration revision.

Property Type Required Description
created

string

Format: date-time

False

Required. The date and time of the configuration revision.

description

string

False

The description of the configuration revision.

revision

integer

False

Required. The revision number of the configuration.

Error

Returns information about an error.

Property Type Required Description
errorAttribute

string

False

The attribute which caused the error.

message

string

False

The explanation of the error.

ListConfigurationRevisionsOutput

Returns a list of all revisions for the specified configuration.

Property Type Required Description
nextToken

string

False

The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

maxResults

integer

False

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.

revisions

Array of type ConfigurationRevision

False

The list of all revisions for the specified configuration.

configurationId

string

False

The unique ID that Amazon MQ generates for the configuration.

See Also

For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

ListConfigurationRevisions