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 of the operations that return an operation ID and that have ever been performed on domains that were registered by the current account.
This operation returns paginated results.
Synopsis
- data ListOperations = ListOperations' {}
- newListOperations :: ListOperations
- listOperations_marker :: Lens' ListOperations (Maybe Text)
- listOperations_maxItems :: Lens' ListOperations (Maybe Int)
- listOperations_submittedSince :: Lens' ListOperations (Maybe UTCTime)
- data ListOperationsResponse = ListOperationsResponse' {}
- newListOperationsResponse :: Int -> ListOperationsResponse
- listOperationsResponse_nextPageMarker :: Lens' ListOperationsResponse (Maybe Text)
- listOperationsResponse_httpStatus :: Lens' ListOperationsResponse Int
- listOperationsResponse_operations :: Lens' ListOperationsResponse [OperationSummary]
Creating a Request
data ListOperations Source #
The ListOperations request includes the following elements.
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:marker:ListOperations'
, listOperations_marker
- For an initial request for a list of operations, omit this element. If
the number of operations that are not yet complete is greater than the
value that you specified for MaxItems
, you can use Marker
to return
additional operations. Get the value of NextPageMarker
from the
previous response, and submit another request that includes the value of
NextPageMarker
in the Marker
element.
$sel:maxItems:ListOperations'
, listOperations_maxItems
- Number of domains to be returned.
Default: 20
$sel:submittedSince:ListOperations'
, listOperations_submittedSince
- An optional parameter that lets you get information about all the
operations that you submitted after a specified date and time. Specify
the date and time in Unix time format and Coordinated Universal time
(UTC).
Request Lenses
listOperations_marker :: Lens' ListOperations (Maybe Text) Source #
For an initial request for a list of operations, omit this element. If
the number of operations that are not yet complete is greater than the
value that you specified for MaxItems
, you can use Marker
to return
additional operations. Get the value of NextPageMarker
from the
previous response, and submit another request that includes the value of
NextPageMarker
in the Marker
element.
listOperations_maxItems :: Lens' ListOperations (Maybe Int) Source #
Number of domains to be returned.
Default: 20
listOperations_submittedSince :: Lens' ListOperations (Maybe UTCTime) Source #
An optional parameter that lets you get information about all the operations that you submitted after a specified date and time. Specify the date and time in Unix time format and Coordinated Universal time (UTC).
Destructuring the Response
data ListOperationsResponse Source #
The ListOperations response includes the following elements.
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:nextPageMarker:ListOperationsResponse'
, listOperationsResponse_nextPageMarker
- If there are more operations than you specified for MaxItems
in the
request, submit another request and include the value of
NextPageMarker
in the value of Marker
.
$sel:httpStatus:ListOperationsResponse'
, listOperationsResponse_httpStatus
- The response's http status code.
$sel:operations:ListOperationsResponse'
, listOperationsResponse_operations
- Lists summaries of the operations.
Response Lenses
listOperationsResponse_nextPageMarker :: Lens' ListOperationsResponse (Maybe Text) Source #
If there are more operations than you specified for MaxItems
in the
request, submit another request and include the value of
NextPageMarker
in the value of Marker
.
listOperationsResponse_httpStatus :: Lens' ListOperationsResponse Int Source #
The response's http status code.
listOperationsResponse_operations :: Lens' ListOperationsResponse [OperationSummary] Source #
Lists summaries of the operations.