ResourceExplorer / Client / get_default_view

get_default_view#

ResourceExplorer.Client.get_default_view()#

Retrieves the Amazon Resource Name (ARN) of the view that is the default for the Amazon Web Services Region in which you call this operation. You can then call GetView to retrieve the details of that view.

See also: AWS API Documentation

Request Syntax

response = client.get_default_view()
Return type:

dict

Returns:

Response Syntax

{
    'ViewArn': 'string'
}

Response Structure

  • (dict) –

    • ViewArn (string) –

      The Amazon resource name (ARN) of the view that is the current default for the Amazon Web Services Region in which you called this operation.

Exceptions

  • ResourceExplorer.Client.exceptions.ResourceNotFoundException

  • ResourceExplorer.Client.exceptions.InternalServerException

  • ResourceExplorer.Client.exceptions.ValidationException

  • ResourceExplorer.Client.exceptions.ThrottlingException

  • ResourceExplorer.Client.exceptions.AccessDeniedException