ResourceExplorer / Client / list_service_views

list_service_views

ResourceExplorer.Client.list_service_views(**kwargs)

Lists all Resource Explorer service views available in the current Amazon Web Services account. This operation returns the ARNs of available service views.

See also: AWS API Documentation

Request Syntax

response = client.list_service_views(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • MaxResults (integer) – The maximum number of service view results to return in a single response. Valid values are between 1 and 50.

  • NextToken (string) – The pagination token from a previous ListServiceViews response. Use this token to retrieve the next set of results.

Return type:

dict

Returns:

Response Syntax

{
    'NextToken': 'string',
    'ServiceViews': [
        'string',
    ]
}

Response Structure

  • (dict) –

    • NextToken (string) –

      The pagination token to use in a subsequent ListServiceViews request to retrieve the next set of results.

    • ServiceViews (list) –

      A list of Amazon Resource Names (ARNs) for the service views available in the current Amazon Web Services account.

      • (string) –

Exceptions

  • ResourceExplorer.Client.exceptions.InternalServerException

  • ResourceExplorer.Client.exceptions.ValidationException

  • ResourceExplorer.Client.exceptions.ThrottlingException

  • ResourceExplorer.Client.exceptions.AccessDeniedException