aws-sdk-s3control 1.125.0 → 1.126.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +12 -2
- data/lib/aws-sdk-s3control/client_api.rb +14 -0
- data/lib/aws-sdk-s3control/types.rb +79 -1
- data/lib/aws-sdk-s3control.rb +1 -1
- data/sig/client.rbs +8 -0
- data/sig/types.rbs +18 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d10859bd76ad41bea4c0f04ce5f53f239e5428d4a92baba0bb34e9a52ba82e18
|
|
4
|
+
data.tar.gz: 64e1ff53596d69a2b869eda8699a3ebe6e60694961b0f553474efb47bc43e3bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4f419561d0837f9fc4152d550bf2002cd44b6d12d120f72bd4adf937f88352abb902d9651e3b5a313b1be903621b2cd63ad28f4f15faef7c5141895f627ed5f
|
|
7
|
+
data.tar.gz: 54231ab5e0638628e0a7d5ab3a01186cd54858844a475b732dd831b14e9f2f1e41277ab65ed6977503ff052f4d321927330885d88c8263cda64b34177530b67e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.126.0 (2026-01-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for the UpdateObjectEncryption API to change the server-side encryption type of objects in general purpose buckets.
|
|
8
|
+
|
|
4
9
|
1.125.0 (2026-01-16)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.126.0
|
|
@@ -1474,6 +1474,14 @@ module Aws::S3Control
|
|
|
1474
1474
|
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, CRC64NVME, MD5, SHA1, SHA256
|
|
1475
1475
|
# checksum_type: "FULL_OBJECT", # accepts FULL_OBJECT, COMPOSITE
|
|
1476
1476
|
# },
|
|
1477
|
+
# s3_update_object_encryption: {
|
|
1478
|
+
# object_encryption: {
|
|
1479
|
+
# ssekms: {
|
|
1480
|
+
# kms_key_arn: "NonEmptyKmsKeyArnString", # required
|
|
1481
|
+
# bucket_key_enabled: false,
|
|
1482
|
+
# },
|
|
1483
|
+
# },
|
|
1484
|
+
# },
|
|
1477
1485
|
# },
|
|
1478
1486
|
# report: { # required
|
|
1479
1487
|
# bucket: "S3BucketArnString",
|
|
@@ -3010,6 +3018,8 @@ module Aws::S3Control
|
|
|
3010
3018
|
# resp.job.operation.s3_put_object_retention.retention.mode #=> String, one of "COMPLIANCE", "GOVERNANCE"
|
|
3011
3019
|
# resp.job.operation.s3_compute_object_checksum.checksum_algorithm #=> String, one of "CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256"
|
|
3012
3020
|
# resp.job.operation.s3_compute_object_checksum.checksum_type #=> String, one of "FULL_OBJECT", "COMPOSITE"
|
|
3021
|
+
# resp.job.operation.s3_update_object_encryption.object_encryption.ssekms.kms_key_arn #=> String
|
|
3022
|
+
# resp.job.operation.s3_update_object_encryption.object_encryption.ssekms.bucket_key_enabled #=> Boolean
|
|
3013
3023
|
# resp.job.priority #=> Integer
|
|
3014
3024
|
# resp.job.progress_summary.total_number_of_tasks #=> Integer
|
|
3015
3025
|
# resp.job.progress_summary.number_of_tasks_succeeded #=> Integer
|
|
@@ -5846,7 +5856,7 @@ module Aws::S3Control
|
|
|
5846
5856
|
# resp.jobs #=> Array
|
|
5847
5857
|
# resp.jobs[0].job_id #=> String
|
|
5848
5858
|
# resp.jobs[0].description #=> String
|
|
5849
|
-
# resp.jobs[0].operation #=> String, one of "LambdaInvoke", "S3PutObjectCopy", "S3PutObjectAcl", "S3PutObjectTagging", "S3DeleteObjectTagging", "S3InitiateRestoreObject", "S3PutObjectLegalHold", "S3PutObjectRetention", "S3ReplicateObject", "S3ComputeObjectChecksum"
|
|
5859
|
+
# resp.jobs[0].operation #=> String, one of "LambdaInvoke", "S3PutObjectCopy", "S3PutObjectAcl", "S3PutObjectTagging", "S3DeleteObjectTagging", "S3InitiateRestoreObject", "S3PutObjectLegalHold", "S3PutObjectRetention", "S3ReplicateObject", "S3ComputeObjectChecksum", "S3UpdateObjectEncryption"
|
|
5850
5860
|
# resp.jobs[0].priority #=> Integer
|
|
5851
5861
|
# resp.jobs[0].status #=> String, one of "Active", "Cancelled", "Cancelling", "Complete", "Completing", "Failed", "Failing", "New", "Paused", "Pausing", "Preparing", "Ready", "Suspended"
|
|
5852
5862
|
# resp.jobs[0].creation_time #=> Time
|
|
@@ -8204,7 +8214,7 @@ module Aws::S3Control
|
|
|
8204
8214
|
tracer: tracer
|
|
8205
8215
|
)
|
|
8206
8216
|
context[:gem_name] = 'aws-sdk-s3control'
|
|
8207
|
-
context[:gem_version] = '1.
|
|
8217
|
+
context[:gem_version] = '1.126.0'
|
|
8208
8218
|
Seahorse::Client::Request.new(handlers, context)
|
|
8209
8219
|
end
|
|
8210
8220
|
|
|
@@ -342,6 +342,7 @@ module Aws::S3Control
|
|
|
342
342
|
NotSSEFilter = Shapes::StructureShape.new(name: 'NotSSEFilter')
|
|
343
343
|
ObjectAgeValue = Shapes::IntegerShape.new(name: 'ObjectAgeValue')
|
|
344
344
|
ObjectCreationTime = Shapes::TimestampShape.new(name: 'ObjectCreationTime')
|
|
345
|
+
ObjectEncryption = Shapes::StructureShape.new(name: 'ObjectEncryption')
|
|
345
346
|
ObjectEncryptionFilter = Shapes::UnionShape.new(name: 'ObjectEncryptionFilter')
|
|
346
347
|
ObjectEncryptionFilterList = Shapes::ListShape.new(name: 'ObjectEncryptionFilterList')
|
|
347
348
|
ObjectLambdaAccessPoint = Shapes::StructureShape.new(name: 'ObjectLambdaAccessPoint')
|
|
@@ -476,6 +477,8 @@ module Aws::S3Control
|
|
|
476
477
|
S3StorageClass = Shapes::StringShape.new(name: 'S3StorageClass')
|
|
477
478
|
S3Tag = Shapes::StructureShape.new(name: 'S3Tag')
|
|
478
479
|
S3TagSet = Shapes::ListShape.new(name: 'S3TagSet')
|
|
480
|
+
S3UpdateObjectEncryptionOperation = Shapes::StructureShape.new(name: 'S3UpdateObjectEncryptionOperation')
|
|
481
|
+
S3UpdateObjectEncryptionSSEKMS = Shapes::StructureShape.new(name: 'S3UpdateObjectEncryptionSSEKMS', locationName: "SSE-KMS")
|
|
479
482
|
S3UserMetadata = Shapes::MapShape.new(name: 'S3UserMetadata')
|
|
480
483
|
SSECFilter = Shapes::StructureShape.new(name: 'SSECFilter')
|
|
481
484
|
SSEKMS = Shapes::StructureShape.new(name: 'SSEKMS', locationName: "SSE-KMS")
|
|
@@ -1281,6 +1284,7 @@ module Aws::S3Control
|
|
|
1281
1284
|
JobOperation.add_member(:s3_put_object_retention, Shapes::ShapeRef.new(shape: S3SetObjectRetentionOperation, location_name: "S3PutObjectRetention", metadata: {"box" => true}))
|
|
1282
1285
|
JobOperation.add_member(:s3_replicate_object, Shapes::ShapeRef.new(shape: S3ReplicateObjectOperation, location_name: "S3ReplicateObject", metadata: {"box" => true}))
|
|
1283
1286
|
JobOperation.add_member(:s3_compute_object_checksum, Shapes::ShapeRef.new(shape: S3ComputeObjectChecksumOperation, location_name: "S3ComputeObjectChecksum", metadata: {"box" => true}))
|
|
1287
|
+
JobOperation.add_member(:s3_update_object_encryption, Shapes::ShapeRef.new(shape: S3UpdateObjectEncryptionOperation, location_name: "S3UpdateObjectEncryption", metadata: {"box" => true}))
|
|
1284
1288
|
JobOperation.struct_class = Types::JobOperation
|
|
1285
1289
|
|
|
1286
1290
|
JobProgressSummary.add_member(:total_number_of_tasks, Shapes::ShapeRef.new(shape: JobTotalNumberOfTasks, location_name: "TotalNumberOfTasks", metadata: {"box" => true}))
|
|
@@ -1583,6 +1587,9 @@ module Aws::S3Control
|
|
|
1583
1587
|
|
|
1584
1588
|
NotSSEFilter.struct_class = Types::NotSSEFilter
|
|
1585
1589
|
|
|
1590
|
+
ObjectEncryption.add_member(:ssekms, Shapes::ShapeRef.new(shape: S3UpdateObjectEncryptionSSEKMS, location_name: "SSE-KMS"))
|
|
1591
|
+
ObjectEncryption.struct_class = Types::ObjectEncryption
|
|
1592
|
+
|
|
1586
1593
|
ObjectEncryptionFilter.add_member(:sses3, Shapes::ShapeRef.new(shape: SSES3Filter, location_name: "SSE-S3"))
|
|
1587
1594
|
ObjectEncryptionFilter.add_member(:ssekms, Shapes::ShapeRef.new(shape: SSEKMSFilter, location_name: "SSE-KMS"))
|
|
1588
1595
|
ObjectEncryptionFilter.add_member(:dssekms, Shapes::ShapeRef.new(shape: DSSEKMSFilter, location_name: "DSSE-KMS"))
|
|
@@ -1941,6 +1948,13 @@ module Aws::S3Control
|
|
|
1941
1948
|
|
|
1942
1949
|
S3TagSet.member = Shapes::ShapeRef.new(shape: S3Tag)
|
|
1943
1950
|
|
|
1951
|
+
S3UpdateObjectEncryptionOperation.add_member(:object_encryption, Shapes::ShapeRef.new(shape: ObjectEncryption, location_name: "ObjectEncryption"))
|
|
1952
|
+
S3UpdateObjectEncryptionOperation.struct_class = Types::S3UpdateObjectEncryptionOperation
|
|
1953
|
+
|
|
1954
|
+
S3UpdateObjectEncryptionSSEKMS.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: NonEmptyKmsKeyArnString, required: true, location_name: "KMSKeyArn"))
|
|
1955
|
+
S3UpdateObjectEncryptionSSEKMS.add_member(:bucket_key_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "BucketKeyEnabled", metadata: {"box" => true}))
|
|
1956
|
+
S3UpdateObjectEncryptionSSEKMS.struct_class = Types::S3UpdateObjectEncryptionSSEKMS
|
|
1957
|
+
|
|
1944
1958
|
S3UserMetadata.key = Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String)
|
|
1945
1959
|
S3UserMetadata.value = Shapes::ShapeRef.new(shape: MaxLength1024String)
|
|
1946
1960
|
|
|
@@ -4243,6 +4243,18 @@ module Aws::S3Control
|
|
|
4243
4243
|
# object in the manifest.
|
|
4244
4244
|
# @return [Types::S3ComputeObjectChecksumOperation]
|
|
4245
4245
|
#
|
|
4246
|
+
# @!attribute [rw] s3_update_object_encryption
|
|
4247
|
+
# Updates the server-side encryption type of an existing encrypted
|
|
4248
|
+
# object in a general purpose bucket. You can use the
|
|
4249
|
+
# `UpdateObjectEncryption` operation to change encrypted objects from
|
|
4250
|
+
# server-side encryption with Amazon S3 managed keys (SSE-S3) to
|
|
4251
|
+
# server-side encryption with Key Management Service (KMS) keys
|
|
4252
|
+
# (SSE-KMS), or to apply S3 Bucket Keys. You can also use the
|
|
4253
|
+
# `UpdateObjectEncryption` operation to change the customer-managed
|
|
4254
|
+
# KMS key used to encrypt your data so that you can comply with custom
|
|
4255
|
+
# key-rotation standards.
|
|
4256
|
+
# @return [Types::S3UpdateObjectEncryptionOperation]
|
|
4257
|
+
#
|
|
4246
4258
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/JobOperation AWS API Documentation
|
|
4247
4259
|
#
|
|
4248
4260
|
class JobOperation < Struct.new(
|
|
@@ -4255,7 +4267,8 @@ module Aws::S3Control
|
|
|
4255
4267
|
:s3_put_object_legal_hold,
|
|
4256
4268
|
:s3_put_object_retention,
|
|
4257
4269
|
:s3_replicate_object,
|
|
4258
|
-
:s3_compute_object_checksum
|
|
4270
|
+
:s3_compute_object_checksum,
|
|
4271
|
+
:s3_update_object_encryption)
|
|
4259
4272
|
SENSITIVE = []
|
|
4260
4273
|
include Aws::Structure
|
|
4261
4274
|
end
|
|
@@ -5999,6 +6012,25 @@ module Aws::S3Control
|
|
|
5999
6012
|
#
|
|
6000
6013
|
class NotSSEFilter < Aws::EmptyStructure; end
|
|
6001
6014
|
|
|
6015
|
+
# The updated server-side encryption type for this object. The
|
|
6016
|
+
# `UpdateObjectEncryption` operation supports the SSE-KMS encryption
|
|
6017
|
+
# type.
|
|
6018
|
+
#
|
|
6019
|
+
# Valid Values: `SSEKMS`
|
|
6020
|
+
#
|
|
6021
|
+
# @!attribute [rw] ssekms
|
|
6022
|
+
# Specifies to update the object encryption type to server-side
|
|
6023
|
+
# encryption with Key Management Service (KMS) keys (SSE-KMS).
|
|
6024
|
+
# @return [Types::S3UpdateObjectEncryptionSSEKMS]
|
|
6025
|
+
#
|
|
6026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ObjectEncryption AWS API Documentation
|
|
6027
|
+
#
|
|
6028
|
+
class ObjectEncryption < Struct.new(
|
|
6029
|
+
:ssekms)
|
|
6030
|
+
SENSITIVE = []
|
|
6031
|
+
include Aws::Structure
|
|
6032
|
+
end
|
|
6033
|
+
|
|
6002
6034
|
# An optional filter for the S3JobManifestGenerator that identifies the
|
|
6003
6035
|
# subset of objects by encryption type.
|
|
6004
6036
|
#
|
|
@@ -8030,6 +8062,52 @@ module Aws::S3Control
|
|
|
8030
8062
|
include Aws::Structure
|
|
8031
8063
|
end
|
|
8032
8064
|
|
|
8065
|
+
# With the `UpdateObjectEncryption` operation, you can atomically update
|
|
8066
|
+
# the server-side encryption type of an existing object in a general
|
|
8067
|
+
# purpose bucket without any data movement.
|
|
8068
|
+
#
|
|
8069
|
+
# @!attribute [rw] object_encryption
|
|
8070
|
+
# The updated server-side encryption type for this S3 object. The
|
|
8071
|
+
# `UpdateObjectEncryption` operation supports the SSE-KMS encryption
|
|
8072
|
+
# type.
|
|
8073
|
+
# @return [Types::ObjectEncryption]
|
|
8074
|
+
#
|
|
8075
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3UpdateObjectEncryptionOperation AWS API Documentation
|
|
8076
|
+
#
|
|
8077
|
+
class S3UpdateObjectEncryptionOperation < Struct.new(
|
|
8078
|
+
:object_encryption)
|
|
8079
|
+
SENSITIVE = []
|
|
8080
|
+
include Aws::Structure
|
|
8081
|
+
end
|
|
8082
|
+
|
|
8083
|
+
# If `SSEKMS` is specified for `UpdateObjectEncryption`, this data type
|
|
8084
|
+
# specifies the Amazon Web Services KMS key Amazon Resource Name (ARN)
|
|
8085
|
+
# to use and whether to use an S3 Bucket Key for server-side encryption
|
|
8086
|
+
# using Key Management Service (KMS) keys (SSE-KMS).
|
|
8087
|
+
#
|
|
8088
|
+
# @!attribute [rw] kms_key_arn
|
|
8089
|
+
# Specifies the Amazon Web Services KMS key Amazon Resource Name (ARN)
|
|
8090
|
+
# to use for the updated server-side encryption type. Required if
|
|
8091
|
+
# `UpdateObjectEncryption` specifies `SSEKMS`.
|
|
8092
|
+
# @return [String]
|
|
8093
|
+
#
|
|
8094
|
+
# @!attribute [rw] bucket_key_enabled
|
|
8095
|
+
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
|
8096
|
+
# encryption with server-side encryption using Key Management Service
|
|
8097
|
+
# (KMS) keys (SSE-KMS). If this value isn't specified, it defaults to
|
|
8098
|
+
# `false`. Setting this value to `true` causes Amazon S3 to use an S3
|
|
8099
|
+
# Bucket Key for update object encryption with SSE-KMS.
|
|
8100
|
+
# @return [Boolean]
|
|
8101
|
+
#
|
|
8102
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3UpdateObjectEncryptionSSEKMS AWS API Documentation
|
|
8103
|
+
#
|
|
8104
|
+
class S3UpdateObjectEncryptionSSEKMS < Struct.new(
|
|
8105
|
+
:kms_key_arn,
|
|
8106
|
+
:bucket_key_enabled)
|
|
8107
|
+
SENSITIVE = []
|
|
8108
|
+
include Aws::Structure
|
|
8109
|
+
end
|
|
8110
|
+
|
|
8033
8111
|
# A filter that returns objects that are encrypted by server-side
|
|
8034
8112
|
# encryption with customer-provided keys (SSE-C).
|
|
8035
8113
|
#
|
data/lib/aws-sdk-s3control.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -360,6 +360,14 @@ module Aws
|
|
|
360
360
|
s3_compute_object_checksum: {
|
|
361
361
|
checksum_algorithm: ("CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256")?,
|
|
362
362
|
checksum_type: ("FULL_OBJECT" | "COMPOSITE")?
|
|
363
|
+
}?,
|
|
364
|
+
s3_update_object_encryption: {
|
|
365
|
+
object_encryption: {
|
|
366
|
+
ssekms: {
|
|
367
|
+
kms_key_arn: ::String,
|
|
368
|
+
bucket_key_enabled: bool?
|
|
369
|
+
}?
|
|
370
|
+
}?
|
|
363
371
|
}?
|
|
364
372
|
},
|
|
365
373
|
report: {
|
data/sig/types.rbs
CHANGED
|
@@ -943,7 +943,7 @@ module Aws::S3Control
|
|
|
943
943
|
class JobListDescriptor
|
|
944
944
|
attr_accessor job_id: ::String
|
|
945
945
|
attr_accessor description: ::String
|
|
946
|
-
attr_accessor operation: ("LambdaInvoke" | "S3PutObjectCopy" | "S3PutObjectAcl" | "S3PutObjectTagging" | "S3DeleteObjectTagging" | "S3InitiateRestoreObject" | "S3PutObjectLegalHold" | "S3PutObjectRetention" | "S3ReplicateObject" | "S3ComputeObjectChecksum")
|
|
946
|
+
attr_accessor operation: ("LambdaInvoke" | "S3PutObjectCopy" | "S3PutObjectAcl" | "S3PutObjectTagging" | "S3DeleteObjectTagging" | "S3InitiateRestoreObject" | "S3PutObjectLegalHold" | "S3PutObjectRetention" | "S3ReplicateObject" | "S3ComputeObjectChecksum" | "S3UpdateObjectEncryption")
|
|
947
947
|
attr_accessor priority: ::Integer
|
|
948
948
|
attr_accessor status: ("Active" | "Cancelled" | "Cancelling" | "Complete" | "Completing" | "Failed" | "Failing" | "New" | "Paused" | "Pausing" | "Preparing" | "Ready" | "Suspended")
|
|
949
949
|
attr_accessor creation_time: ::Time
|
|
@@ -1006,6 +1006,7 @@ module Aws::S3Control
|
|
|
1006
1006
|
attr_accessor s3_put_object_retention: Types::S3SetObjectRetentionOperation
|
|
1007
1007
|
attr_accessor s3_replicate_object: Types::S3ReplicateObjectOperation
|
|
1008
1008
|
attr_accessor s3_compute_object_checksum: Types::S3ComputeObjectChecksumOperation
|
|
1009
|
+
attr_accessor s3_update_object_encryption: Types::S3UpdateObjectEncryptionOperation
|
|
1009
1010
|
SENSITIVE: []
|
|
1010
1011
|
end
|
|
1011
1012
|
|
|
@@ -1402,6 +1403,11 @@ module Aws::S3Control
|
|
|
1402
1403
|
class NotSSEFilter < Aws::EmptyStructure
|
|
1403
1404
|
end
|
|
1404
1405
|
|
|
1406
|
+
class ObjectEncryption
|
|
1407
|
+
attr_accessor ssekms: Types::S3UpdateObjectEncryptionSSEKMS
|
|
1408
|
+
SENSITIVE: []
|
|
1409
|
+
end
|
|
1410
|
+
|
|
1405
1411
|
class ObjectEncryptionFilter
|
|
1406
1412
|
attr_accessor sses3: Types::SSES3Filter
|
|
1407
1413
|
attr_accessor ssekms: Types::SSEKMSFilter
|
|
@@ -1852,6 +1858,17 @@ module Aws::S3Control
|
|
|
1852
1858
|
SENSITIVE: []
|
|
1853
1859
|
end
|
|
1854
1860
|
|
|
1861
|
+
class S3UpdateObjectEncryptionOperation
|
|
1862
|
+
attr_accessor object_encryption: Types::ObjectEncryption
|
|
1863
|
+
SENSITIVE: []
|
|
1864
|
+
end
|
|
1865
|
+
|
|
1866
|
+
class S3UpdateObjectEncryptionSSEKMS
|
|
1867
|
+
attr_accessor kms_key_arn: ::String
|
|
1868
|
+
attr_accessor bucket_key_enabled: bool
|
|
1869
|
+
SENSITIVE: []
|
|
1870
|
+
end
|
|
1871
|
+
|
|
1855
1872
|
class SSECFilter < Aws::EmptyStructure
|
|
1856
1873
|
end
|
|
1857
1874
|
|