Lightsail / Client / get_active_names
get_active_names#
- Lightsail.Client.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' )
- Parameters:
pageToken (string) –
The token to advance to the next page of results from your request.
To get a page token, perform an initial
GetActiveNamesrequest. 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.- Return type:
dict
- Returns:
Response Syntax
{ 'activeNames': [ 'string', ], 'nextPageToken': 'string' }
Response Structure
(dict) –
activeNames (list) –
The list of active names returned by the get active names request.
(string) –
nextPageToken (string) –
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
GetActiveNamesrequest and specify the next page token using thepageTokenparameter.
Exceptions
Lightsail.Client.exceptions.ServiceExceptionLightsail.Client.exceptions.InvalidInputExceptionLightsail.Client.exceptions.NotFoundExceptionLightsail.Client.exceptions.OperationFailureExceptionLightsail.Client.exceptions.AccessDeniedExceptionLightsail.Client.exceptions.AccountSetupInProgressExceptionLightsail.Client.exceptions.UnauthenticatedException