aws-sdk-s3control 1.115.0 → 1.116.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.
@@ -62,6 +62,8 @@ module Aws::S3Control
62
62
  Buckets = Shapes::ListShape.new(name: 'Buckets')
63
63
  CallerAccessGrantsList = Shapes::ListShape.new(name: 'CallerAccessGrantsList')
64
64
  CloudWatchMetrics = Shapes::StructureShape.new(name: 'CloudWatchMetrics')
65
+ ComputeObjectChecksumAlgorithm = Shapes::StringShape.new(name: 'ComputeObjectChecksumAlgorithm')
66
+ ComputeObjectChecksumType = Shapes::StringShape.new(name: 'ComputeObjectChecksumType')
65
67
  ConfigId = Shapes::StringShape.new(name: 'ConfigId')
66
68
  ConfirmRemoveSelfBucketAccess = Shapes::BooleanShape.new(name: 'ConfirmRemoveSelfBucketAccess')
67
69
  ConfirmationRequired = Shapes::BooleanShape.new(name: 'ConfirmationRequired')
@@ -429,6 +431,7 @@ module Aws::S3Control
429
431
  S3BucketDestination = Shapes::StructureShape.new(name: 'S3BucketDestination')
430
432
  S3CannedAccessControlList = Shapes::StringShape.new(name: 'S3CannedAccessControlList')
431
433
  S3ChecksumAlgorithm = Shapes::StringShape.new(name: 'S3ChecksumAlgorithm')
434
+ S3ComputeObjectChecksumOperation = Shapes::StructureShape.new(name: 'S3ComputeObjectChecksumOperation')
432
435
  S3ContentLength = Shapes::IntegerShape.new(name: 'S3ContentLength')
433
436
  S3CopyObjectOperation = Shapes::StructureShape.new(name: 'S3CopyObjectOperation')
434
437
  S3DeleteObjectTaggingOperation = Shapes::StructureShape.new(name: 'S3DeleteObjectTaggingOperation')
@@ -1257,6 +1260,7 @@ module Aws::S3Control
1257
1260
  JobOperation.add_member(:s3_put_object_legal_hold, Shapes::ShapeRef.new(shape: S3SetObjectLegalHoldOperation, location_name: "S3PutObjectLegalHold", metadata: {"box" => true}))
1258
1261
  JobOperation.add_member(:s3_put_object_retention, Shapes::ShapeRef.new(shape: S3SetObjectRetentionOperation, location_name: "S3PutObjectRetention", metadata: {"box" => true}))
1259
1262
  JobOperation.add_member(:s3_replicate_object, Shapes::ShapeRef.new(shape: S3ReplicateObjectOperation, location_name: "S3ReplicateObject", metadata: {"box" => true}))
1263
+ JobOperation.add_member(:s3_compute_object_checksum, Shapes::ShapeRef.new(shape: S3ComputeObjectChecksumOperation, location_name: "S3ComputeObjectChecksum", metadata: {"box" => true}))
1260
1264
  JobOperation.struct_class = Types::JobOperation
1261
1265
 
1262
1266
  JobProgressSummary.add_member(:total_number_of_tasks, Shapes::ShapeRef.new(shape: JobTotalNumberOfTasks, location_name: "TotalNumberOfTasks", metadata: {"box" => true}))
@@ -1270,6 +1274,7 @@ module Aws::S3Control
1270
1274
  JobReport.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
1271
1275
  JobReport.add_member(:prefix, Shapes::ShapeRef.new(shape: ReportPrefixString, location_name: "Prefix", metadata: {"box" => true}))
1272
1276
  JobReport.add_member(:report_scope, Shapes::ShapeRef.new(shape: JobReportScope, location_name: "ReportScope", metadata: {"box" => true}))
1277
+ JobReport.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "ExpectedBucketOwner", metadata: {"box" => true}))
1273
1278
  JobReport.struct_class = Types::JobReport
1274
1279
 
1275
1280
  JobStatusException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
@@ -1794,6 +1799,10 @@ module Aws::S3Control
1794
1799
  S3BucketDestination.add_member(:encryption, Shapes::ShapeRef.new(shape: StorageLensDataExportEncryption, location_name: "Encryption"))
1795
1800
  S3BucketDestination.struct_class = Types::S3BucketDestination
1796
1801
 
1802
+ S3ComputeObjectChecksumOperation.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ComputeObjectChecksumAlgorithm, location_name: "ChecksumAlgorithm"))
1803
+ S3ComputeObjectChecksumOperation.add_member(:checksum_type, Shapes::ShapeRef.new(shape: ComputeObjectChecksumType, location_name: "ChecksumType"))
1804
+ S3ComputeObjectChecksumOperation.struct_class = Types::S3ComputeObjectChecksumOperation
1805
+
1797
1806
  S3CopyObjectOperation.add_member(:target_resource, Shapes::ShapeRef.new(shape: S3RegionalOrS3ExpressBucketArnString, location_name: "TargetResource"))
1798
1807
  S3CopyObjectOperation.add_member(:canned_access_control_list, Shapes::ShapeRef.new(shape: S3CannedAccessControlList, location_name: "CannedAccessControlList", metadata: {"box" => true}))
1799
1808
  S3CopyObjectOperation.add_member(:access_control_grants, Shapes::ShapeRef.new(shape: S3GrantList, location_name: "AccessControlGrants", metadata: {"box" => true}))
@@ -1018,6 +1018,14 @@ module Aws::S3Control
1018
1018
  # S3][1]. For information about tagging access points, see [Using tags
1019
1019
  # for attribute-based access control (ABAC)][2].
1020
1020
  #
1021
+ # <note markdown="1"> * You must have the `s3:TagResource` permission to create an access
1022
+ # point with tags for a general purpose bucket.
1023
+ #
1024
+ # * You must have the `s3express:TagResource` permission to create an
1025
+ # access point with tags for a directory bucket.
1026
+ #
1027
+ # </note>
1028
+ #
1021
1029
  #
1022
1030
  #
1023
1031
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html
@@ -4163,6 +4171,11 @@ module Aws::S3Control
4163
4171
  # </note>
4164
4172
  # @return [Types::S3ReplicateObjectOperation]
4165
4173
  #
4174
+ # @!attribute [rw] s3_compute_object_checksum
4175
+ # Directs the specified job to compute checksum values for every
4176
+ # object in the manifest.
4177
+ # @return [Types::S3ComputeObjectChecksumOperation]
4178
+ #
4166
4179
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/JobOperation AWS API Documentation
4167
4180
  #
4168
4181
  class JobOperation < Struct.new(
@@ -4174,7 +4187,8 @@ module Aws::S3Control
4174
4187
  :s3_initiate_restore_object,
4175
4188
  :s3_put_object_legal_hold,
4176
4189
  :s3_put_object_retention,
4177
- :s3_replicate_object)
4190
+ :s3_replicate_object,
4191
+ :s3_compute_object_checksum)
4178
4192
  SENSITIVE = []
4179
4193
  include Aws::Structure
4180
4194
  end
@@ -4239,6 +4253,11 @@ module Aws::S3Control
4239
4253
  # all tasks or only failed tasks.
4240
4254
  # @return [String]
4241
4255
  #
4256
+ # @!attribute [rw] expected_bucket_owner
4257
+ # Lists the Amazon Web Services account ID that owns the target
4258
+ # bucket, where the completion report is received.
4259
+ # @return [String]
4260
+ #
4242
4261
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/JobReport AWS API Documentation
4243
4262
  #
4244
4263
  class JobReport < Struct.new(
@@ -4246,7 +4265,8 @@ module Aws::S3Control
4246
4265
  :format,
4247
4266
  :enabled,
4248
4267
  :prefix,
4249
- :report_scope)
4268
+ :report_scope,
4269
+ :expected_bucket_owner)
4250
4270
  SENSITIVE = []
4251
4271
  include Aws::Structure
4252
4272
  end
@@ -7145,6 +7165,38 @@ module Aws::S3Control
7145
7165
  include Aws::Structure
7146
7166
  end
7147
7167
 
7168
+ # Directs the specified job to invoke the `ComputeObjectChecksum`
7169
+ # operation on every object listed in the job's manifest.
7170
+ #
7171
+ # @!attribute [rw] checksum_algorithm
7172
+ # Indicates the algorithm that you want Amazon S3 to use to create the
7173
+ # checksum. For more information, see [Checking object integrity][1]
7174
+ # in the *Amazon S3 User Guide*.
7175
+ #
7176
+ #
7177
+ #
7178
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
7179
+ # @return [String]
7180
+ #
7181
+ # @!attribute [rw] checksum_type
7182
+ # Indicates the checksum type that you want Amazon S3 to use to
7183
+ # calculate the object’s checksum value. For more information, see
7184
+ # [Checking object integrity][1] in the *Amazon S3 User Guide*.
7185
+ #
7186
+ #
7187
+ #
7188
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
7189
+ # @return [String]
7190
+ #
7191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3ComputeObjectChecksumOperation AWS API Documentation
7192
+ #
7193
+ class S3ComputeObjectChecksumOperation < Struct.new(
7194
+ :checksum_algorithm,
7195
+ :checksum_type)
7196
+ SENSITIVE = []
7197
+ include Aws::Structure
7198
+ end
7199
+
7148
7200
  # Contains the configuration parameters for a PUT Copy object operation.
7149
7201
  # S3 Batch Operations passes every object to the underlying `CopyObject`
7150
7202
  # API operation. For more information about the parameters for this
@@ -54,7 +54,7 @@ module Aws::S3Control
54
54
  autoload :EndpointProvider, 'aws-sdk-s3control/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-s3control/endpoints'
56
56
 
57
- GEM_VERSION = '1.115.0'
57
+ GEM_VERSION = '1.116.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -356,6 +356,10 @@ module Aws
356
356
  }
357
357
  }?,
358
358
  s3_replicate_object: {
359
+ }?,
360
+ s3_compute_object_checksum: {
361
+ checksum_algorithm: ("CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256")?,
362
+ checksum_type: ("FULL_OBJECT" | "COMPOSITE")?
359
363
  }?
360
364
  },
361
365
  report: {
@@ -363,7 +367,8 @@ module Aws
363
367
  format: ("Report_CSV_20180820")?,
364
368
  enabled: bool,
365
369
  prefix: ::String?,
366
- report_scope: ("AllTasks" | "FailedTasksOnly")?
370
+ report_scope: ("AllTasks" | "FailedTasksOnly")?,
371
+ expected_bucket_owner: ::String?
367
372
  },
368
373
  client_request_token: ::String,
369
374
  ?manifest: {
data/sig/types.rbs CHANGED
@@ -931,7 +931,7 @@ module Aws::S3Control
931
931
  class JobListDescriptor
932
932
  attr_accessor job_id: ::String
933
933
  attr_accessor description: ::String
934
- attr_accessor operation: ("LambdaInvoke" | "S3PutObjectCopy" | "S3PutObjectAcl" | "S3PutObjectTagging" | "S3DeleteObjectTagging" | "S3InitiateRestoreObject" | "S3PutObjectLegalHold" | "S3PutObjectRetention" | "S3ReplicateObject")
934
+ attr_accessor operation: ("LambdaInvoke" | "S3PutObjectCopy" | "S3PutObjectAcl" | "S3PutObjectTagging" | "S3DeleteObjectTagging" | "S3InitiateRestoreObject" | "S3PutObjectLegalHold" | "S3PutObjectRetention" | "S3ReplicateObject" | "S3ComputeObjectChecksum")
935
935
  attr_accessor priority: ::Integer
936
936
  attr_accessor status: ("Active" | "Cancelled" | "Cancelling" | "Complete" | "Completing" | "Failed" | "Failing" | "New" | "Paused" | "Pausing" | "Preparing" | "Ready" | "Suspended")
937
937
  attr_accessor creation_time: ::Time
@@ -992,6 +992,7 @@ module Aws::S3Control
992
992
  attr_accessor s3_put_object_legal_hold: Types::S3SetObjectLegalHoldOperation
993
993
  attr_accessor s3_put_object_retention: Types::S3SetObjectRetentionOperation
994
994
  attr_accessor s3_replicate_object: Types::S3ReplicateObjectOperation
995
+ attr_accessor s3_compute_object_checksum: Types::S3ComputeObjectChecksumOperation
995
996
  SENSITIVE: []
996
997
  end
997
998
 
@@ -1009,6 +1010,7 @@ module Aws::S3Control
1009
1010
  attr_accessor enabled: bool
1010
1011
  attr_accessor prefix: ::String
1011
1012
  attr_accessor report_scope: ("AllTasks" | "FailedTasksOnly")
1013
+ attr_accessor expected_bucket_owner: ::String
1012
1014
  SENSITIVE: []
1013
1015
  end
1014
1016
 
@@ -1675,6 +1677,12 @@ module Aws::S3Control
1675
1677
  SENSITIVE: []
1676
1678
  end
1677
1679
 
1680
+ class S3ComputeObjectChecksumOperation
1681
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256")
1682
+ attr_accessor checksum_type: ("FULL_OBJECT" | "COMPOSITE")
1683
+ SENSITIVE: []
1684
+ end
1685
+
1678
1686
  class S3CopyObjectOperation
1679
1687
  attr_accessor target_resource: ::String
1680
1688
  attr_accessor canned_access_control_list: ("private" | "public-read" | "public-read-write" | "aws-exec-read" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3control
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.115.0
4
+ version: 1.116.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services