CmdID / aws / aws accessanalyzer
aws accessanalyzer cancel-policy-generation
Cancels the requested policy generation. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To cancel the requested policy generation
The following cancel-policy-generation example cancels the requested policy generation job id.
aws accessanalyzer cancel-policy-generation --job-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify--job-idThe JobId that is returned by the StartPolicyGeneration operation.This command produces no output.
For more information, see IAM Access Analyzer policy generation in the AWS IAM User Guide.
Options
--job-idThe JobId that is returned by the StartPolicyGeneration operation.