Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns a list of all revisions for the specified configuration.
Synopsis
- listConfigurationRevisions :: Text -> ListConfigurationRevisions
- data ListConfigurationRevisions
- lcrNextToken :: Lens' ListConfigurationRevisions (Maybe Text)
- lcrMaxResults :: Lens' ListConfigurationRevisions (Maybe Natural)
- lcrConfigurationId :: Lens' ListConfigurationRevisions Text
- listConfigurationRevisionsResponse :: Int -> ListConfigurationRevisionsResponse
- data ListConfigurationRevisionsResponse
- lcrrsConfigurationId :: Lens' ListConfigurationRevisionsResponse (Maybe Text)
- lcrrsNextToken :: Lens' ListConfigurationRevisionsResponse (Maybe Text)
- lcrrsRevisions :: Lens' ListConfigurationRevisionsResponse [ConfigurationRevision]
- lcrrsMaxResults :: Lens' ListConfigurationRevisionsResponse (Maybe Int)
- lcrrsResponseStatus :: Lens' ListConfigurationRevisionsResponse Int
Creating a Request
listConfigurationRevisions Source #
Creates a value of ListConfigurationRevisions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcrNextToken
- The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.lcrMaxResults
- 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.lcrConfigurationId
- The unique ID that Amazon MQ generates for the configuration.
data ListConfigurationRevisions Source #
See: listConfigurationRevisions
smart constructor.
Instances
Request Lenses
lcrNextToken :: 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.
lcrMaxResults :: Lens' ListConfigurationRevisions (Maybe Natural) Source #
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.
lcrConfigurationId :: Lens' ListConfigurationRevisions Text Source #
The unique ID that Amazon MQ generates for the configuration.
Destructuring the Response
listConfigurationRevisionsResponse Source #
Creates a value of ListConfigurationRevisionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcrrsConfigurationId
- The unique ID that Amazon MQ generates for the configuration.lcrrsNextToken
- The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.lcrrsRevisions
- The list of all revisions for the specified configuration.lcrrsMaxResults
- 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.lcrrsResponseStatus
- -- | The response status code.
data ListConfigurationRevisionsResponse Source #
See: listConfigurationRevisionsResponse
smart constructor.
Instances
Response Lenses
lcrrsConfigurationId :: Lens' ListConfigurationRevisionsResponse (Maybe Text) Source #
The unique ID that Amazon MQ generates for the configuration.
lcrrsNextToken :: 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.
lcrrsRevisions :: Lens' ListConfigurationRevisionsResponse [ConfigurationRevision] Source #
The list of all revisions for the specified configuration.
lcrrsMaxResults :: 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.
lcrrsResponseStatus :: Lens' ListConfigurationRevisionsResponse Int Source #
- - | The response status code.