Inspector2 / Client / update_ec2_deep_inspection_configuration
update_ec2_deep_inspection_configuration¶
- Inspector2.Client.update_ec2_deep_inspection_configuration(**kwargs)¶
- Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account. - See also: AWS API Documentation - Request Syntax- response = client.update_ec2_deep_inspection_configuration( activateDeepInspection=True|False, packagePaths=[ 'string', ] ) - Parameters:
- activateDeepInspection (boolean) – Specify - TRUEto activate Amazon Inspector deep inspection in your account, or- FALSEto deactivate. Member accounts in an organization cannot deactivate deep inspection, instead the delegated administrator for the organization can deactivate a member account using BatchUpdateMemberEc2DeepInspectionStatus.
- packagePaths (list) – - The Amazon Inspector deep inspection custom paths you are adding for your account. - (string) – 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'packagePaths': [ 'string', ], 'orgPackagePaths': [ 'string', ], 'status': 'ACTIVATED'|'DEACTIVATED'|'PENDING'|'FAILED', 'errorMessage': 'string' } - Response Structure- (dict) – - packagePaths (list) – - The current Amazon Inspector deep inspection custom paths for your account. - (string) – 
 
- orgPackagePaths (list) – - The current Amazon Inspector deep inspection custom paths for the organization. - (string) – 
 
- status (string) – - The status of Amazon Inspector deep inspection in your account. 
- errorMessage (string) – - An error message explaining why new Amazon Inspector deep inspection custom paths could not be added. 
 
 
 - Exceptions- Inspector2.Client.exceptions.ValidationException
- Inspector2.Client.exceptions.AccessDeniedException
- Inspector2.Client.exceptions.ThrottlingException
- Inspector2.Client.exceptions.InternalServerException