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 |
Returns information about all operations.
Results are returned from oldest to newest, up to a maximum of 200.
Results can be paged by making each subsequent call to GetOperations
use the maximum (last) statusChangedAt
value from the previous
request.
This operation returns paginated results.
Synopsis
- data GetOperations = GetOperations' {}
- newGetOperations :: GetOperations
- getOperations_pageToken :: Lens' GetOperations (Maybe Text)
- data GetOperationsResponse = GetOperationsResponse' {
- nextPageToken :: Maybe Text
- operations :: Maybe [Operation]
- httpStatus :: Int
- newGetOperationsResponse :: Int -> GetOperationsResponse
- getOperationsResponse_nextPageToken :: Lens' GetOperationsResponse (Maybe Text)
- getOperationsResponse_operations :: Lens' GetOperationsResponse (Maybe [Operation])
- getOperationsResponse_httpStatus :: Lens' GetOperationsResponse Int
Creating a Request
data GetOperations Source #
See: newGetOperations
smart constructor.
Instances
newGetOperations :: GetOperations Source #
Create a value of GetOperations
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:pageToken:GetOperations'
, getOperations_pageToken
- The token to advance to the next page of results from your request.
To get a page token, perform an initial GetOperations
request. If your
results are paginated, the response will return a next page token that
you can specify as the page token in a subsequent request.
Request Lenses
getOperations_pageToken :: Lens' GetOperations (Maybe Text) Source #
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetOperations
request. If your
results are paginated, the response will return a next page token that
you can specify as the page token in a subsequent request.
Destructuring the Response
data GetOperationsResponse Source #
See: newGetOperationsResponse
smart constructor.
GetOperationsResponse' | |
|
Instances
newGetOperationsResponse Source #
Create a value of GetOperationsResponse
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:nextPageToken:GetOperationsResponse'
, getOperationsResponse_nextPageToken
- The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetOperations
request
and specify the next page token using the pageToken
parameter.
$sel:operations:GetOperationsResponse'
, getOperationsResponse_operations
- An array of objects that describe the result of the action, such as the
status of the request, the timestamp of the request, and the resources
affected by the request.
$sel:httpStatus:GetOperationsResponse'
, getOperationsResponse_httpStatus
- The response's http status code.
Response Lenses
getOperationsResponse_nextPageToken :: Lens' GetOperationsResponse (Maybe Text) Source #
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetOperations
request
and specify the next page token using the pageToken
parameter.
getOperationsResponse_operations :: Lens' GetOperationsResponse (Maybe [Operation]) Source #
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
getOperationsResponse_httpStatus :: Lens' GetOperationsResponse Int Source #
The response's http status code.