Macie2 / Client / get_classification_export_configuration

get_classification_export_configuration#

Macie2.Client.get_classification_export_configuration()#

Retrieves the configuration settings for storing data classification results.

See also: AWS API Documentation

Request Syntax

response = client.get_classification_export_configuration()
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 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. This must be the name of an existing general purpose 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 enabled 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