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 |
Lists summary information for all the services that are associated with one or more specified namespaces.
This operation returns paginated results.
Synopsis
- listServices :: ListServices
- data ListServices
- lsFilters :: Lens' ListServices [ServiceFilter]
- lsNextToken :: Lens' ListServices (Maybe Text)
- lsMaxResults :: Lens' ListServices (Maybe Natural)
- listServicesResponse :: Int -> ListServicesResponse
- data ListServicesResponse
- lsrsNextToken :: Lens' ListServicesResponse (Maybe Text)
- lsrsServices :: Lens' ListServicesResponse [ServiceSummary]
- lsrsResponseStatus :: Lens' ListServicesResponse Int
Creating a Request
listServices :: ListServices Source #
Creates a value of ListServices
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsFilters
- A complex type that contains specifications for the namespaces that you want to list services for. If you specify more than one filter, an operation must match all filters to be returned byListServices
.lsNextToken
- For the firstListServices
request, omit this value. If the response containsNextToken
, submit anotherListServices
request to get the next group of results. Specify the value ofNextToken
from the previous response in the next request.lsMaxResults
- The maximum number of services that you want Amazon Route 53 to return in the response to aListServices
request. If you don't specify a value forMaxResults
, Route 53 returns up to 100 services.
data ListServices Source #
See: listServices
smart constructor.
Instances
Request Lenses
lsFilters :: Lens' ListServices [ServiceFilter] Source #
A complex type that contains specifications for the namespaces that you want to list services for. If you specify more than one filter, an operation must match all filters to be returned by ListServices
.
lsNextToken :: Lens' ListServices (Maybe Text) Source #
For the first ListServices
request, omit this value. If the response contains NextToken
, submit another ListServices
request to get the next group of results. Specify the value of NextToken
from the previous response in the next request.
lsMaxResults :: Lens' ListServices (Maybe Natural) Source #
The maximum number of services that you want Amazon Route 53 to return in the response to a ListServices
request. If you don't specify a value for MaxResults
, Route 53 returns up to 100 services.
Destructuring the Response
Creates a value of ListServicesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsrsNextToken
- If the response containsNextToken
, submit anotherListServices
request to get the next group of results. Specify the value ofNextToken
from the previous response in the next request.lsrsServices
- An array that contains oneServiceSummary
object for each service that matches the specified filter criteria.lsrsResponseStatus
- -- | The response status code.
data ListServicesResponse Source #
See: listServicesResponse
smart constructor.
Instances
Response Lenses
lsrsNextToken :: Lens' ListServicesResponse (Maybe Text) Source #
If the response contains NextToken
, submit another ListServices
request to get the next group of results. Specify the value of NextToken
from the previous response in the next request.
lsrsServices :: Lens' ListServicesResponse [ServiceSummary] Source #
An array that contains one ServiceSummary
object for each service that matches the specified filter criteria.
lsrsResponseStatus :: Lens' ListServicesResponse Int Source #
- - | The response status code.