Macie2.Client.
put_classification_export_configuration
(**kwargs)¶Creates or updates the configuration settings for storing data classification results.
See also: AWS API Documentation
Request Syntax
response = client.put_classification_export_configuration(
configuration={
's3Destination': {
'bucketName': 'string',
'keyPrefix': 'string',
'kmsKeyArn': 'string'
}
}
)
[REQUIRED]
The location to store data classification results in, and the encryption settings to use when storing results in that location.
The S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket.
The name of the bucket.
The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.
The Amazon Resource Name (ARN) of the customer managed KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric encryption KMS key that's in the same Amazon Web Services Region as the bucket.
{
'configuration': {
's3Destination': {
'bucketName': 'string',
'keyPrefix': 'string',
'kmsKeyArn': 'string'
}
}
}
Response Structure
The request succeeded.
The location where the data classification results are stored, and the encryption settings that are used when storing results in that location.
The S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket.
The name of the bucket.
The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.
The Amazon Resource Name (ARN) of the customer managed KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric encryption KMS key that's in the same Amazon Web Services Region as the bucket.
Exceptions
Macie2.Client.exceptions.ValidationException
Macie2.Client.exceptions.InternalServerException
Macie2.Client.exceptions.ServiceQuotaExceededException
Macie2.Client.exceptions.AccessDeniedException
Macie2.Client.exceptions.ResourceNotFoundException
Macie2.Client.exceptions.ThrottlingException
Macie2.Client.exceptions.ConflictException