CmdID / aws / aws resource-explorer-2
aws resource-explorer-2 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. AWS CLI reference
1 example Its page in the AWS CLI reference
Examples
To retrieve the Resource Explorer view that is the default view for its AWS Region
The following get-default-view example retrieves the ARN of the view that is the default for the AWS Region in which you call the operation.
aws resource-explorer-2 get-default-viewIdentifyIts output
{
"ViewArn": "arn:aws:resource-explorer-2:us-west-2:123456789012:view/default-view/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
}For more information, see Setting a default view in an AWS Region in the AWS Resource Explorer Users Guide.