get_active_names
(**kwargs)¶Returns the names of all active (not deleted) resources.
See also: AWS API Documentation
Request Syntax
response = client.get_active_names(
pageToken='string'
)
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetActiveNames
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.
{
'activeNames': [
'string',
],
'nextPageToken': 'string'
}
Response Structure
The list of active names returned by the get active names request.
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 GetActiveNames
request and specify the next page token using the pageToken
parameter.
Exceptions
Lightsail.Client.exceptions.ServiceException
Lightsail.Client.exceptions.InvalidInputException
Lightsail.Client.exceptions.NotFoundException
Lightsail.Client.exceptions.OperationFailureException
Lightsail.Client.exceptions.AccessDeniedException
Lightsail.Client.exceptions.AccountSetupInProgressException
Lightsail.Client.exceptions.UnauthenticatedException