CmdID / aws / aws resource-explorer-2
aws resource-explorer-2 delete-index
Deletes the specified index and turns off Amazon Web Services Resource Explorer in the specified Amazon Web Services Region. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To turn off Resource Explorer in an AWS Region by deleting its index
The following delete-index example deletes the specified Resource Explorer index in the AWS Region in which you make the request.
aws resource-explorer-2 delete-index --arn arn:aws:resource-explorer-2:us-west-2:123456789012:index/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222 --region us-west-2Identify--arnThe Amazon resource name (ARN) of the index that you want to delete.--regionThe region to use.Its output
{
"Arn": "arn:aws:resource-explorer-2:us-west-2:123456789012:index/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"State": "DELETING"
}For more information about deleting an index, see Turning off Resource Explorer in the AWS Resource Explorer Users Guide.
Options
--arnThe Amazon resource name (ARN) of the index that you want to delete.