Copyright | (c) 2013-2021 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 |
Lists operations that match the criteria that you specify.
This operation returns paginated results.
Synopsis
- data ListOperations = ListOperations' {
- filters :: Maybe [OperationFilter]
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- newListOperations :: ListOperations
- listOperations_filters :: Lens' ListOperations (Maybe [OperationFilter])
- listOperations_nextToken :: Lens' ListOperations (Maybe Text)
- listOperations_maxResults :: Lens' ListOperations (Maybe Natural)
- data ListOperationsResponse = ListOperationsResponse' {
- nextToken :: Maybe Text
- operations :: Maybe [OperationSummary]
- httpStatus :: Int
- newListOperationsResponse :: Int -> ListOperationsResponse
- listOperationsResponse_nextToken :: Lens' ListOperationsResponse (Maybe Text)
- listOperationsResponse_operations :: Lens' ListOperationsResponse (Maybe [OperationSummary])
- listOperationsResponse_httpStatus :: Lens' ListOperationsResponse Int
Creating a Request
data ListOperations Source #
See: newListOperations
smart constructor.
ListOperations' | |
|
Instances
newListOperations :: ListOperations Source #
Create a value of ListOperations
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:filters:ListOperations'
, listOperations_filters
- 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
.
$sel:nextToken:ListOperations'
, listOperations_nextToken
- 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.
Cloud Map gets MaxResults
operations and then filters them based on
the specified criteria. It's possible that no operations in the first
MaxResults
operations matched the specified criteria but that
subsequent groups of MaxResults
operations do contain operations that
match the criteria.
$sel:maxResults:ListOperations'
, listOperations_maxResults
- The maximum number of items that you want Cloud Map to return in the
response to a ListOperations
request. If you don't specify a value
for MaxResults
, Cloud Map returns up to 100 operations.
Request Lenses
listOperations_filters :: Lens' ListOperations (Maybe [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
.
listOperations_nextToken :: 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.
Cloud Map gets MaxResults
operations and then filters them based on
the specified criteria. It's possible that no operations in the first
MaxResults
operations matched the specified criteria but that
subsequent groups of MaxResults
operations do contain operations that
match the criteria.
listOperations_maxResults :: Lens' ListOperations (Maybe Natural) Source #
The maximum number of items that you want Cloud Map to return in the
response to a ListOperations
request. If you don't specify a value
for MaxResults
, Cloud Map returns up to 100 operations.
Destructuring the Response
data ListOperationsResponse Source #
See: newListOperationsResponse
smart constructor.
ListOperationsResponse' | |
|
Instances
newListOperationsResponse Source #
Create a value of ListOperationsResponse
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:nextToken:ListOperations'
, listOperationsResponse_nextToken
- 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.
Cloud Map gets MaxResults
operations and then filters them based on
the specified criteria. It's possible that no operations in the first
MaxResults
operations matched the specified criteria but that
subsequent groups of MaxResults
operations do contain operations that
match the criteria.
$sel:operations:ListOperationsResponse'
, listOperationsResponse_operations
- Summary information about the operations that match the specified
criteria.
$sel:httpStatus:ListOperationsResponse'
, listOperationsResponse_httpStatus
- The response's http status code.
Response Lenses
listOperationsResponse_nextToken :: 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.
Cloud Map gets MaxResults
operations and then filters them based on
the specified criteria. It's possible that no operations in the first
MaxResults
operations matched the specified criteria but that
subsequent groups of MaxResults
operations do contain operations that
match the criteria.
listOperationsResponse_operations :: Lens' ListOperationsResponse (Maybe [OperationSummary]) Source #
Summary information about the operations that match the specified criteria.
listOperationsResponse_httpStatus :: Lens' ListOperationsResponse Int Source #
The response's http status code.