put_classification_export_configuration

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'
        }
    }
)
Parameters
configuration (dict) --

[REQUIRED]

The location to store data classification results in, and the encryption settings to use when storing results in that location.

  • s3Destination (dict) --

    The S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket.

    • bucketName (string) -- [REQUIRED]

      The name of the bucket.

    • keyPrefix (string) --

      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.

    • kmsKeyArn (string) -- [REQUIRED]

      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.

Return type
dict
Returns
Response Syntax
{
    'configuration': {
        's3Destination': {
            'bucketName': 'string',
            'keyPrefix': 'string',
            'kmsKeyArn': 'string'
        }
    }
}

Response Structure

  • (dict) --

    The request succeeded.

    • configuration (dict) --

      The location where the data classification results are stored, and the encryption settings that are used when storing results in that location.

      • s3Destination (dict) --

        The S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket.

        • bucketName (string) --

          The name of the bucket.

        • keyPrefix (string) --

          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.

        • kmsKeyArn (string) --

          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