| 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 |
Network.AWS.Route53AutoNaming.ListNamespaces
Description
Lists summary information about the namespaces that were created by the current AWS account.
This operation returns paginated results.
- listNamespaces :: ListNamespaces
- data ListNamespaces
- lnFilters :: Lens' ListNamespaces [NamespaceFilter]
- lnNextToken :: Lens' ListNamespaces (Maybe Text)
- lnMaxResults :: Lens' ListNamespaces (Maybe Natural)
- listNamespacesResponse :: Int -> ListNamespacesResponse
- data ListNamespacesResponse
- lnrsNamespaces :: Lens' ListNamespacesResponse [NamespaceSummary]
- lnrsNextToken :: Lens' ListNamespacesResponse (Maybe Text)
- lnrsResponseStatus :: Lens' ListNamespacesResponse Int
Creating a Request
listNamespaces :: ListNamespaces Source #
Creates a value of ListNamespaces with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lnFilters- A complex type that contains specifications for the namespaces that you want to list. If you specify more than one filter, a namespace must match all filters to be returned byListNamespaces.lnNextToken- For the firstListNamespacesrequest, omit this value. If the response containsNextToken, submit anotherListNamespacesrequest to get the next group of results. Specify the value ofNextTokenfrom the previous response in the next request.lnMaxResults- The maximum number of namespaces that you want Amazon Route 53 to return in the response to aListNamespacesrequest. If you don't specify a value forMaxResults, Route 53 returns up to 100 namespaces.
data ListNamespaces Source #
See: listNamespaces smart constructor.
Instances
Request Lenses
lnFilters :: Lens' ListNamespaces [NamespaceFilter] Source #
A complex type that contains specifications for the namespaces that you want to list. If you specify more than one filter, a namespace must match all filters to be returned by ListNamespaces .
lnNextToken :: Lens' ListNamespaces (Maybe Text) Source #
For the first ListNamespaces request, omit this value. If the response contains NextToken , submit another ListNamespaces request to get the next group of results. Specify the value of NextToken from the previous response in the next request.
lnMaxResults :: Lens' ListNamespaces (Maybe Natural) Source #
The maximum number of namespaces that you want Amazon Route 53 to return in the response to a ListNamespaces request. If you don't specify a value for MaxResults , Route 53 returns up to 100 namespaces.
Destructuring the Response
listNamespacesResponse Source #
Arguments
| :: Int | |
| -> ListNamespacesResponse |
Creates a value of ListNamespacesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lnrsNamespaces- An array that contains oneNamespaceSummaryobject for each namespace that matches the specified filter criteria.lnrsNextToken- If the response containsNextToken, submit anotherListNamespacesrequest to get the next group of results. Specify the value ofNextTokenfrom the previous response in the next request.lnrsResponseStatus- -- | The response status code.
data ListNamespacesResponse Source #
See: listNamespacesResponse smart constructor.
Response Lenses
lnrsNamespaces :: Lens' ListNamespacesResponse [NamespaceSummary] Source #
An array that contains one NamespaceSummary object for each namespace that matches the specified filter criteria.
lnrsNextToken :: Lens' ListNamespacesResponse (Maybe Text) Source #
If the response contains NextToken , submit another ListNamespaces request to get the next group of results. Specify the value of NextToken from the previous response in the next request.
lnrsResponseStatus :: Lens' ListNamespacesResponse Int Source #
- - | The response status code.