Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns a list of all revisions for the specified configuration.
Synopsis
- data ListConfigurationRevisions = ListConfigurationRevisions' {}
- newListConfigurationRevisions :: Text -> ListConfigurationRevisions
- listConfigurationRevisions_nextToken :: Lens' ListConfigurationRevisions (Maybe Text)
- listConfigurationRevisions_maxResults :: Lens' ListConfigurationRevisions (Maybe Natural)
- listConfigurationRevisions_configurationId :: Lens' ListConfigurationRevisions Text
- data ListConfigurationRevisionsResponse = ListConfigurationRevisionsResponse' {}
- newListConfigurationRevisionsResponse :: Int -> ListConfigurationRevisionsResponse
- listConfigurationRevisionsResponse_configurationId :: Lens' ListConfigurationRevisionsResponse (Maybe Text)
- listConfigurationRevisionsResponse_nextToken :: Lens' ListConfigurationRevisionsResponse (Maybe Text)
- listConfigurationRevisionsResponse_revisions :: Lens' ListConfigurationRevisionsResponse (Maybe [ConfigurationRevision])
- listConfigurationRevisionsResponse_maxResults :: Lens' ListConfigurationRevisionsResponse (Maybe Int)
- listConfigurationRevisionsResponse_httpStatus :: Lens' ListConfigurationRevisionsResponse Int
Creating a Request
data ListConfigurationRevisions Source #
See: newListConfigurationRevisions
smart constructor.
ListConfigurationRevisions' | |
|
Instances
newListConfigurationRevisions Source #
Create a value of ListConfigurationRevisions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListConfigurationRevisions'
, listConfigurationRevisions_nextToken
- The token that specifies the next page of results Amazon MQ should
return. To request the first page, leave nextToken empty.
$sel:maxResults:ListConfigurationRevisions'
, listConfigurationRevisions_maxResults
- 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.
$sel:configurationId:ListConfigurationRevisions'
, listConfigurationRevisions_configurationId
- The unique ID that Amazon MQ generates for the configuration.
Request Lenses
listConfigurationRevisions_nextToken :: Lens' ListConfigurationRevisions (Maybe Text) Source #
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
listConfigurationRevisions_maxResults :: Lens' ListConfigurationRevisions (Maybe Natural) Source #
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.
listConfigurationRevisions_configurationId :: Lens' ListConfigurationRevisions Text Source #
The unique ID that Amazon MQ generates for the configuration.
Destructuring the Response
data ListConfigurationRevisionsResponse Source #
See: newListConfigurationRevisionsResponse
smart constructor.
ListConfigurationRevisionsResponse' | |
|
Instances
newListConfigurationRevisionsResponse Source #
Create a value of ListConfigurationRevisionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:configurationId:ListConfigurationRevisions'
, listConfigurationRevisionsResponse_configurationId
- The unique ID that Amazon MQ generates for the configuration.
$sel:nextToken:ListConfigurationRevisions'
, listConfigurationRevisionsResponse_nextToken
- The token that specifies the next page of results Amazon MQ should
return. To request the first page, leave nextToken empty.
$sel:revisions:ListConfigurationRevisionsResponse'
, listConfigurationRevisionsResponse_revisions
- The list of all revisions for the specified configuration.
$sel:maxResults:ListConfigurationRevisions'
, listConfigurationRevisionsResponse_maxResults
- 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.
$sel:httpStatus:ListConfigurationRevisionsResponse'
, listConfigurationRevisionsResponse_httpStatus
- The response's http status code.
Response Lenses
listConfigurationRevisionsResponse_configurationId :: Lens' ListConfigurationRevisionsResponse (Maybe Text) Source #
The unique ID that Amazon MQ generates for the configuration.
listConfigurationRevisionsResponse_nextToken :: Lens' ListConfigurationRevisionsResponse (Maybe Text) Source #
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
listConfigurationRevisionsResponse_revisions :: Lens' ListConfigurationRevisionsResponse (Maybe [ConfigurationRevision]) Source #
The list of all revisions for the specified configuration.
listConfigurationRevisionsResponse_maxResults :: Lens' ListConfigurationRevisionsResponse (Maybe Int) Source #
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.
listConfigurationRevisionsResponse_httpStatus :: Lens' ListConfigurationRevisionsResponse Int Source #
The response's http status code.