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 configurations.
Synopsis
- data ListConfigurations = ListConfigurations' {}
- newListConfigurations :: ListConfigurations
- listConfigurations_nextToken :: Lens' ListConfigurations (Maybe Text)
- listConfigurations_maxResults :: Lens' ListConfigurations (Maybe Natural)
- data ListConfigurationsResponse = ListConfigurationsResponse' {
- configurations :: Maybe [Configuration]
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- httpStatus :: Int
- newListConfigurationsResponse :: Int -> ListConfigurationsResponse
- listConfigurationsResponse_configurations :: Lens' ListConfigurationsResponse (Maybe [Configuration])
- listConfigurationsResponse_nextToken :: Lens' ListConfigurationsResponse (Maybe Text)
- listConfigurationsResponse_maxResults :: Lens' ListConfigurationsResponse (Maybe Int)
- listConfigurationsResponse_httpStatus :: Lens' ListConfigurationsResponse Int
Creating a Request
data ListConfigurations Source #
See: newListConfigurations
smart constructor.
ListConfigurations' | |
|
Instances
newListConfigurations :: ListConfigurations Source #
Create a value of ListConfigurations
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:ListConfigurations'
, listConfigurations_nextToken
- The token that specifies the next page of results Amazon MQ should
return. To request the first page, leave nextToken empty.
$sel:maxResults:ListConfigurations'
, listConfigurations_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.
Request Lenses
listConfigurations_nextToken :: Lens' ListConfigurations (Maybe Text) Source #
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
listConfigurations_maxResults :: Lens' ListConfigurations (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.
Destructuring the Response
data ListConfigurationsResponse Source #
See: newListConfigurationsResponse
smart constructor.
ListConfigurationsResponse' | |
|
Instances
newListConfigurationsResponse Source #
Create a value of ListConfigurationsResponse
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:configurations:ListConfigurationsResponse'
, listConfigurationsResponse_configurations
- The list of all revisions for the specified configuration.
$sel:nextToken:ListConfigurations'
, listConfigurationsResponse_nextToken
- The token that specifies the next page of results Amazon MQ should
return. To request the first page, leave nextToken empty.
$sel:maxResults:ListConfigurations'
, listConfigurationsResponse_maxResults
- 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.
$sel:httpStatus:ListConfigurationsResponse'
, listConfigurationsResponse_httpStatus
- The response's http status code.
Response Lenses
listConfigurationsResponse_configurations :: Lens' ListConfigurationsResponse (Maybe [Configuration]) Source #
The list of all revisions for the specified configuration.
listConfigurationsResponse_nextToken :: Lens' ListConfigurationsResponse (Maybe Text) Source #
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
listConfigurationsResponse_maxResults :: Lens' ListConfigurationsResponse (Maybe Int) 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.
listConfigurationsResponse_httpStatus :: Lens' ListConfigurationsResponse Int Source #
The response's http status code.