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 brokers.
Synopsis
- listBrokers :: ListBrokers
- data ListBrokers
- lbNextToken :: Lens' ListBrokers (Maybe Text)
- lbMaxResults :: Lens' ListBrokers (Maybe Natural)
- listBrokersResponse :: Int -> ListBrokersResponse
- data ListBrokersResponse
- lbrsNextToken :: Lens' ListBrokersResponse (Maybe Text)
- lbrsBrokerSummaries :: Lens' ListBrokersResponse [BrokerSummary]
- lbrsResponseStatus :: Lens' ListBrokersResponse Int
Creating a Request
listBrokers :: ListBrokers Source #
Creates a value of ListBrokers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbNextToken
- The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.lbMaxResults
- 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.
data ListBrokers Source #
See: listBrokers
smart constructor.
Instances
Request Lenses
lbNextToken :: Lens' ListBrokers (Maybe Text) Source #
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
lbMaxResults :: Lens' ListBrokers (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
Creates a value of ListBrokersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbrsNextToken
- The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.lbrsBrokerSummaries
- A list of information about all brokers.lbrsResponseStatus
- -- | The response status code.
data ListBrokersResponse Source #
See: listBrokersResponse
smart constructor.
Instances
Response Lenses
lbrsNextToken :: Lens' ListBrokersResponse (Maybe Text) Source #
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
lbrsBrokerSummaries :: Lens' ListBrokersResponse [BrokerSummary] Source #
A list of information about all brokers.
lbrsResponseStatus :: Lens' ListBrokersResponse Int Source #
- - | The response status code.