CmdID

CmdID / aws / aws resource-explorer-2

aws resource-explorer-2 list-views

Lists the Amazon resource names (ARNs) of the views available in the Amazon Web Services Region in which you call this operation. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list the Resource Explorer views available in an AWS Region

The following list-views example lists all of the views available in the Region in which you invoke the operation.

aws resource-explorer-2 list-viewsIdentify
Its output
{
    "Views": [
        "arn:aws:resource-explorer-2:us-west-2:123456789012:view/EC2-Only-View/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "arn:aws:resource-explorer-2:us-west-2:123456789012:view/Default-All-Resources-View/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
        "arn:aws:resource-explorer-2:us-west-2:123456789012:view/Production-Only-View/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333"
    ]
}

For more information about views, see Working with views in the AWS Resource Explorer Users Guide.

Options

2 in the AWS CLI reference
--max-resultsThe maximum number of results that you want included on each page of the response.
--next-tokenThe parameter for receiving additional results if you receive a NextToken response in a previous request.