| 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.ListOperations
Description
Lists operations that match the criteria that you specify.
This operation returns paginated results.
- listOperations :: ListOperations
- data ListOperations
- loFilters :: Lens' ListOperations [OperationFilter]
- loNextToken :: Lens' ListOperations (Maybe Text)
- loMaxResults :: Lens' ListOperations (Maybe Natural)
- listOperationsResponse :: Int -> ListOperationsResponse
- data ListOperationsResponse
- lorsNextToken :: Lens' ListOperationsResponse (Maybe Text)
- lorsOperations :: Lens' ListOperationsResponse [OperationSummary]
- lorsResponseStatus :: Lens' ListOperationsResponse Int
Creating a Request
listOperations :: ListOperations Source #
Creates a value of ListOperations with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
loFilters- A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date. If you specify more than one filter, an operation must match all filters to be returned byListOperations.loNextToken- For the firstListOperationsrequest, omit this value. If the response containsNextToken, submit anotherListOperationsrequest to get the next group of results. Specify the value ofNextTokenfrom the previous response in the next request.loMaxResults- The maximum number of items that you want Amazon Route 53 to return in the response to aListOperationsrequest. If you don't specify a value forMaxResults, Route 53 returns up to 100 operations.
data ListOperations Source #
See: listOperations smart constructor.
Instances
Request Lenses
loFilters :: Lens' ListOperations [OperationFilter] Source #
A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date. If you specify more than one filter, an operation must match all filters to be returned by ListOperations .
loNextToken :: Lens' ListOperations (Maybe Text) Source #
For the first ListOperations request, omit this value. If the response contains NextToken , submit another ListOperations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.
loMaxResults :: Lens' ListOperations (Maybe Natural) Source #
The maximum number of items that you want Amazon Route 53 to return in the response to a ListOperations request. If you don't specify a value for MaxResults , Route 53 returns up to 100 operations.
Destructuring the Response
listOperationsResponse Source #
Arguments
| :: Int | |
| -> ListOperationsResponse |
Creates a value of ListOperationsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lorsNextToken- If the response containsNextToken, submit anotherListOperationsrequest to get the next group of results. Specify the value ofNextTokenfrom the previous response in the next request.lorsOperations- Summary information about the operations that match the specified criteria.lorsResponseStatus- -- | The response status code.
data ListOperationsResponse Source #
See: listOperationsResponse smart constructor.
Response Lenses
lorsNextToken :: Lens' ListOperationsResponse (Maybe Text) Source #
If the response contains NextToken , submit another ListOperations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.
lorsOperations :: Lens' ListOperationsResponse [OperationSummary] Source #
Summary information about the operations that match the specified criteria.
lorsResponseStatus :: Lens' ListOperationsResponse Int Source #
- - | The response status code.