ResourceExplorer / Client / associate_default_view
associate_default_view#
- ResourceExplorer.Client.associate_default_view(**kwargs)#
Sets the specified view as the default for the Amazon Web Services Region in which you call this operation. When a user performs a Search that doesn’t explicitly specify which view to use, then Amazon Web Services Resource Explorer automatically chooses this default view for searches performed in this Amazon Web Services Region.
If an Amazon Web Services Region doesn’t have a default view configured, then users must explicitly specify a view with every
Search
operation performed in that Region.See also: AWS API Documentation
Request Syntax
response = client.associate_default_view( ViewArn='string' )
- Parameters:
ViewArn (string) –
[REQUIRED]
The Amazon resource name (ARN) of the view to set as the default for the Amazon Web Services Region and Amazon Web Services account in which you call this operation. The specified view must already exist in the called Region.
- Return type:
dict
- Returns:
Response Syntax
{ 'ViewArn': 'string' }
Response Structure
(dict) –
ViewArn (string) –
The Amazon resource name (ARN) of the view that the operation set as the default for queries made in the Amazon Web Services Region and Amazon Web Services account in which you called this operation.
Exceptions