list_domains(**kwargs)¶The ListDomains operation lists all domains associated with the Access Key ID. It returns domain names up to the limit set by MaxNumberOfDomains. A NextToken is returned if there are more than MaxNumberOfDomains domains. Calling ListDomains successive times with the NextToken provided by the operation returns up to MaxNumberOfDomains more domain names with each successive operation call.
See also: AWS API Documentation
Request Syntax
response = client.list_domains(
MaxNumberOfDomains=123,
NextToken='string'
)
dict
Response Syntax
{
'DomainNames': [
'string',
],
'NextToken': 'string'
}
Response Structure
MaxNumberOfDomains still available.Exceptions
SimpleDB.Client.exceptions.InvalidParameterValueSimpleDB.Client.exceptions.InvalidNextToken