

# S3UpdateObjectEncryptionOperation
<a name="API_control_S3UpdateObjectEncryptionOperation"></a>

With the `UpdateObjectEncryption` operation, you can atomically update the server-side encryption type of an existing object in a general purpose bucket without any data movement.

## Contents
<a name="API_control_S3UpdateObjectEncryptionOperation_Contents"></a>

 ** ObjectEncryption **   <a name="AmazonS3-Type-control_S3UpdateObjectEncryptionOperation-ObjectEncryption"></a>
The updated server-side encryption type for this S3 object. The `UpdateObjectEncryption` operation supports the SSE-KMS encryption type.  
Type: [ObjectEncryption](API_control_ObjectEncryption.md) data type  
Required: No

## See Also
<a name="API_control_S3UpdateObjectEncryptionOperation_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/s3control-2018-08-20/S3UpdateObjectEncryptionOperation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/s3control-2018-08-20/S3UpdateObjectEncryptionOperation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/s3control-2018-08-20/S3UpdateObjectEncryptionOperation) 