Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.MQ.ListConfigurations
Description
Returns a list of all configurations.
Synopsis
- data ListConfigurations = ListConfigurations' {}
- newListConfigurations :: ListConfigurations
- listConfigurations_maxResults :: Lens' ListConfigurations (Maybe Natural)
- listConfigurations_nextToken :: Lens' ListConfigurations (Maybe Text)
- data ListConfigurationsResponse = ListConfigurationsResponse' {
- configurations :: Maybe [Configuration]
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- httpStatus :: Int
- newListConfigurationsResponse :: Int -> ListConfigurationsResponse
- listConfigurationsResponse_configurations :: Lens' ListConfigurationsResponse (Maybe [Configuration])
- listConfigurationsResponse_maxResults :: Lens' ListConfigurationsResponse (Maybe Int)
- listConfigurationsResponse_nextToken :: Lens' ListConfigurationsResponse (Maybe Text)
- listConfigurationsResponse_httpStatus :: Lens' ListConfigurationsResponse Int
Creating a Request
data ListConfigurations Source #
See: newListConfigurations
smart constructor.
Constructors
ListConfigurations' | |
Fields
|
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:
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.
ListConfigurations
, listConfigurations_nextToken
- The token that specifies the next page of results Amazon MQ should
return. To request the first page, leave nextToken empty.
Request Lenses
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.
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.
Destructuring the Response
data ListConfigurationsResponse Source #
See: newListConfigurationsResponse
smart constructor.
Constructors
ListConfigurationsResponse' | |
Fields
|
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.
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.
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: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_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_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_httpStatus :: Lens' ListConfigurationsResponse Int Source #
The response's http status code.