Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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 command runs only in the us-east-1 Region.
This operation returns paginated results.
Synopsis
- data ListOperations = ListOperations' {}
- newListOperations :: ListOperations
- listOperations_marker :: Lens' ListOperations (Maybe Text)
- listOperations_maxItems :: Lens' ListOperations (Maybe Int)
- listOperations_sortBy :: Lens' ListOperations (Maybe ListOperationsSortAttributeName)
- listOperations_sortOrder :: Lens' ListOperations (Maybe SortOrder)
- listOperations_status :: Lens' ListOperations (Maybe [OperationStatus])
- listOperations_submittedSince :: Lens' ListOperations (Maybe UTCTime)
- listOperations_type :: Lens' ListOperations (Maybe [OperationType])
- data ListOperationsResponse = ListOperationsResponse' {}
- newListOperationsResponse :: Int -> ListOperationsResponse
- listOperationsResponse_nextPageMarker :: Lens' ListOperationsResponse (Maybe Text)
- listOperationsResponse_operations :: Lens' ListOperationsResponse (Maybe [OperationSummary])
- listOperationsResponse_httpStatus :: Lens' ListOperationsResponse Int
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:sortBy:ListOperations'
, listOperations_sortBy
- The sort type for returned values.
ListOperations
, listOperations_sortOrder
- The sort order ofr returned values, either ascending or descending.
ListOperations
, listOperations_status
- The status of the operations.
$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).
ListOperations
, listOperations_type
- An arrays of the domains operation types.
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_sortBy :: Lens' ListOperations (Maybe ListOperationsSortAttributeName) Source #
The sort type for returned values.
listOperations_sortOrder :: Lens' ListOperations (Maybe SortOrder) Source #
The sort order ofr returned values, either ascending or descending.
listOperations_status :: Lens' ListOperations (Maybe [OperationStatus]) Source #
The status of the operations.
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).
listOperations_type :: Lens' ListOperations (Maybe [OperationType]) Source #
An arrays of the domains operation types.
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:operations:ListOperationsResponse'
, listOperationsResponse_operations
- Lists summaries of the operations.
$sel:httpStatus:ListOperationsResponse'
, listOperationsResponse_httpStatus
- The response's http status code.
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_operations :: Lens' ListOperationsResponse (Maybe [OperationSummary]) Source #
Lists summaries of the operations.
listOperationsResponse_httpStatus :: Lens' ListOperationsResponse Int Source #
The response's http status code.