---
title: "PUT /classification-export-configuration"
method: PUT
path: "/classification-export-configuration"
---

# PUT /classification-export-configuration

`PUT /classification-export-configuration`

Creates or updates the configuration settings for storing data classification results.

## Request body

- object
  - `configuration` object, required — Specifies where to store data classification results, and the encryption settings to use when storing results in that location. The location must be an S3 bucket.
    - `s3Destination` object — 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.

## Response `200`

Success

- PutClassificationExportConfigurationResponse
  - `configuration` object — The location where the data classification results are stored, and the encryption settings that are used when storing results in that location.
    - `s3Destination` object — 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.

## Other responses

- `480` — ValidationException
- `481` — InternalServerException
- `482` — ServiceQuotaExceededException
- `483` — AccessDeniedException
- `484` — ResourceNotFoundException
- `485` — ThrottlingException
- `486` — ConflictException

---

[API](https://skmtc.net/aws/apis/macie2.md) · [All operations](https://skmtc.net/aws/apis/macie2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/macie2/versions/6252cf55d8ef/schema)
