AccessAnalyzer / Client / cancel_policy_generation
cancel_policy_generation#
- 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' ) - Parameters:
- jobId (string) – - [REQUIRED] - The - JobIdthat is returned by the- StartPolicyGenerationoperation. The- JobIdcan be used with- GetGeneratedPolicyto retrieve the generated policies or used with- CancelPolicyGenerationto cancel the policy generation request.
- Return type:
- dict 
- Returns:
- Response Syntax - {}- Response Structure - (dict) – 
 
 - Exceptions - AccessAnalyzer.Client.exceptions.ValidationException
- AccessAnalyzer.Client.exceptions.InternalServerException
- AccessAnalyzer.Client.exceptions.ThrottlingException
- AccessAnalyzer.Client.exceptions.AccessDeniedException