Route53Domains / Client / list_operations
list_operations#
- Route53Domains.Client.list_operations(**kwargs)#
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.
See also: AWS API Documentation
Request Syntax
response = client.list_operations( SubmittedSince=datetime(2015, 1, 1), Marker='string', MaxItems=123, Status=[ 'SUBMITTED'|'IN_PROGRESS'|'ERROR'|'SUCCESSFUL'|'FAILED', ], Type=[ 'REGISTER_DOMAIN'|'DELETE_DOMAIN'|'TRANSFER_IN_DOMAIN'|'UPDATE_DOMAIN_CONTACT'|'UPDATE_NAMESERVER'|'CHANGE_PRIVACY_PROTECTION'|'DOMAIN_LOCK'|'ENABLE_AUTORENEW'|'DISABLE_AUTORENEW'|'ADD_DNSSEC'|'REMOVE_DNSSEC'|'EXPIRE_DOMAIN'|'TRANSFER_OUT_DOMAIN'|'CHANGE_DOMAIN_OWNER'|'RENEW_DOMAIN'|'PUSH_DOMAIN'|'INTERNAL_TRANSFER_OUT_DOMAIN'|'INTERNAL_TRANSFER_IN_DOMAIN'|'RELEASE_TO_GANDI'|'TRANSFER_ON_RENEW'|'RESTORE_DOMAIN', ], SortBy='SubmittedDate', SortOrder='ASC'|'DESC' )
- Parameters:
SubmittedSince (datetime) – 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).
Marker (string) – 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 useMarker
to return additional operations. Get the value ofNextPageMarker
from the previous response, and submit another request that includes the value ofNextPageMarker
in theMarker
element.MaxItems (integer) –
Number of domains to be returned.
Default: 20
Status (list) –
The status of the operations.
(string) –
Type (list) –
An arrays of the domains operation types.
(string) –
SortBy (string) – The sort type for returned values.
SortOrder (string) – The sort order for returned values, either ascending or descending.
- Return type:
dict
- Returns:
Response Syntax
{ 'Operations': [ { 'OperationId': 'string', 'Status': 'SUBMITTED'|'IN_PROGRESS'|'ERROR'|'SUCCESSFUL'|'FAILED', 'Type': 'REGISTER_DOMAIN'|'DELETE_DOMAIN'|'TRANSFER_IN_DOMAIN'|'UPDATE_DOMAIN_CONTACT'|'UPDATE_NAMESERVER'|'CHANGE_PRIVACY_PROTECTION'|'DOMAIN_LOCK'|'ENABLE_AUTORENEW'|'DISABLE_AUTORENEW'|'ADD_DNSSEC'|'REMOVE_DNSSEC'|'EXPIRE_DOMAIN'|'TRANSFER_OUT_DOMAIN'|'CHANGE_DOMAIN_OWNER'|'RENEW_DOMAIN'|'PUSH_DOMAIN'|'INTERNAL_TRANSFER_OUT_DOMAIN'|'INTERNAL_TRANSFER_IN_DOMAIN'|'RELEASE_TO_GANDI'|'TRANSFER_ON_RENEW'|'RESTORE_DOMAIN', 'SubmittedDate': datetime(2015, 1, 1), 'DomainName': 'string', 'Message': 'string', 'StatusFlag': 'PENDING_ACCEPTANCE'|'PENDING_CUSTOMER_ACTION'|'PENDING_AUTHORIZATION'|'PENDING_PAYMENT_VERIFICATION'|'PENDING_SUPPORT_CASE', 'LastUpdatedDate': datetime(2015, 1, 1) }, ], 'NextPageMarker': 'string' }
Response Structure
(dict) –
The ListOperations response includes the following elements.
Operations (list) –
Lists summaries of the operations.
(dict) –
OperationSummary includes the following elements.
OperationId (string) –
Identifier returned to track the requested action.
Status (string) –
The current status of the requested operation in the system.
Type (string) –
Type of the action requested.
SubmittedDate (datetime) –
The date when the request was submitted.
DomainName (string) –
Name of the domain.
Message (string) –
Message about the operation.
StatusFlag (string) –
Automatically checks whether there are no outstanding operations on domains that need customer attention.
Valid values are:
PENDING_ACCEPTANCE
: The operation is waiting for acceptance from the account that is receiving the domain.PENDING_CUSTOMER_ACTION
: The operation is waiting for customer action, for example, returning an email.PENDING_AUTHORIZATION
: The operation is waiting for the form of authorization. For more information, see ResendOperationAuthorization.PENDING_PAYMENT_VERIFICATION
: The operation is waiting for the payment method to validate.PENDING_SUPPORT_CASE
: The operation includes a support case and is waiting for its resolution.
LastUpdatedDate (datetime) –
The date when the last change was made in Unix time format and Coordinated Universal Time (UTC).
NextPageMarker (string) –
If there are more operations than you specified for
MaxItems
in the request, submit another request and include the value ofNextPageMarker
in the value ofMarker
.
Exceptions
Route53Domains.Client.exceptions.InvalidInput