AccessAnalyzer.Client.cancel_policy_generation(**kwargs)¶Cancels the requested policy generation.
See also: AWS API Documentation
Request Syntax
response = client.cancel_policy_generation(
jobId='string'
)
[REQUIRED]
The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.
{}
Response Structure
Exceptions
AccessAnalyzer.Client.exceptions.ValidationExceptionAccessAnalyzer.Client.exceptions.InternalServerExceptionAccessAnalyzer.Client.exceptions.ThrottlingExceptionAccessAnalyzer.Client.exceptions.AccessDeniedException