Inspector2 / Client / reset_encryption_key
reset_encryption_key¶
- Inspector2.Client.reset_encryption_key(**kwargs)¶
- Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key. - See also: AWS API Documentation - Request Syntax- response = client.reset_encryption_key( scanType='NETWORK'|'PACKAGE'|'CODE', resourceType='AWS_EC2_INSTANCE'|'AWS_ECR_CONTAINER_IMAGE'|'AWS_ECR_REPOSITORY'|'AWS_LAMBDA_FUNCTION'|'CODE_REPOSITORY' ) - Parameters:
- scanType (string) – - [REQUIRED] - The scan type the key encrypts. 
- resourceType (string) – - [REQUIRED] - The resource type the key encrypts. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions