Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_default_view

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