aws-sdk-s3control 1.71.0 → 1.72.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c193729415550e7bf223e63ef3660ea72dc64e7050aa02a7cb03ae675ae979a
4
- data.tar.gz: 7510cbfec65ac4aedd5ab1fade1a785b1ac7eb2e805ee961d4c8c6a1247c4d2c
3
+ metadata.gz: 72e0a76ce65d4403ef740774640baa9c8e99fd21c2dc086173894ee862c1efb3
4
+ data.tar.gz: 77f75af8964bdc769d38746d74b9f04b4436f33189a3c8c8e11415bc7104cce0
5
5
  SHA512:
6
- metadata.gz: 4688eefda8a2ee0206d33cda8f3f01e178e582ab4cbe063f123f7966117dd442d97f25eb27f73cfbe88c17d8277f5b50d892111243ccec9447205428e900283a
7
- data.tar.gz: 136cc3fc715dd97cb66b280d17c5cdd1d4845b789af9bda48ff180267478b0cc7fd8df51bf0d8a619b2fa97dd078131b6a7c5a20ddf10a5eb8e5b0d1a5a38363
6
+ metadata.gz: b0e9e3cbb067da22946d79584d3ca941fa49fde7e5317d6f65979cc7933a0e6b82cf58a8b0d7a154818bf02054836dd90aa2b1e70a418dec73fb6e30ac4eb7b8
7
+ data.tar.gz: 38236b061af28ac3dd04428390fcd3438833f3ed5a85b8954923e466801179559644dde8b0391541911af30012b27639f189d9ebd6483ec1b2a5444d6e8074e0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.72.0 (2023-11-22)
5
+ ------------------
6
+
7
+ * Feature - Amazon S3 Batch Operations now manages buckets or prefixes in a single step.
8
+
4
9
  1.71.0 (2023-11-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.71.0
1
+ 1.72.0
@@ -994,6 +994,14 @@ module Aws::S3Control
994
994
  # created_after: Time.now,
995
995
  # created_before: Time.now,
996
996
  # object_replication_statuses: ["COMPLETED"], # accepts COMPLETED, FAILED, REPLICA, NONE
997
+ # key_name_constraint: {
998
+ # match_any_prefix: ["NonEmptyMaxLength1024String"],
999
+ # match_any_suffix: ["NonEmptyMaxLength1024String"],
1000
+ # match_any_substring: ["NonEmptyMaxLength1024String"],
1001
+ # },
1002
+ # object_size_greater_than_bytes: 1,
1003
+ # object_size_less_than_bytes: 1,
1004
+ # match_any_storage_class: ["STANDARD"], # accepts STANDARD, STANDARD_IA, ONEZONE_IA, GLACIER, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
997
1005
  # },
998
1006
  # enable_manifest_output: false, # required
999
1007
  # },
@@ -2251,6 +2259,16 @@ module Aws::S3Control
2251
2259
  # resp.job.manifest_generator.s3_job_manifest_generator.filter.created_before #=> Time
2252
2260
  # resp.job.manifest_generator.s3_job_manifest_generator.filter.object_replication_statuses #=> Array
2253
2261
  # resp.job.manifest_generator.s3_job_manifest_generator.filter.object_replication_statuses[0] #=> String, one of "COMPLETED", "FAILED", "REPLICA", "NONE"
2262
+ # resp.job.manifest_generator.s3_job_manifest_generator.filter.key_name_constraint.match_any_prefix #=> Array
2263
+ # resp.job.manifest_generator.s3_job_manifest_generator.filter.key_name_constraint.match_any_prefix[0] #=> String
2264
+ # resp.job.manifest_generator.s3_job_manifest_generator.filter.key_name_constraint.match_any_suffix #=> Array
2265
+ # resp.job.manifest_generator.s3_job_manifest_generator.filter.key_name_constraint.match_any_suffix[0] #=> String
2266
+ # resp.job.manifest_generator.s3_job_manifest_generator.filter.key_name_constraint.match_any_substring #=> Array
2267
+ # resp.job.manifest_generator.s3_job_manifest_generator.filter.key_name_constraint.match_any_substring[0] #=> String
2268
+ # resp.job.manifest_generator.s3_job_manifest_generator.filter.object_size_greater_than_bytes #=> Integer
2269
+ # resp.job.manifest_generator.s3_job_manifest_generator.filter.object_size_less_than_bytes #=> Integer
2270
+ # resp.job.manifest_generator.s3_job_manifest_generator.filter.match_any_storage_class #=> Array
2271
+ # resp.job.manifest_generator.s3_job_manifest_generator.filter.match_any_storage_class[0] #=> String, one of "STANDARD", "STANDARD_IA", "ONEZONE_IA", "GLACIER", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "GLACIER_IR"
2254
2272
  # resp.job.manifest_generator.s3_job_manifest_generator.enable_manifest_output #=> Boolean
2255
2273
  # resp.job.generated_manifest_descriptor.format #=> String, one of "S3InventoryReport_CSV_20211130"
2256
2274
  # resp.job.generated_manifest_descriptor.location.object_arn #=> String
@@ -6131,7 +6149,7 @@ module Aws::S3Control
6131
6149
  params: params,
6132
6150
  config: config)
6133
6151
  context[:gem_name] = 'aws-sdk-s3control'
6134
- context[:gem_version] = '1.71.0'
6152
+ context[:gem_version] = '1.72.0'
6135
6153
  Seahorse::Client::Request.new(handlers, context)
6136
6154
  end
6137
6155
 
@@ -201,6 +201,7 @@ module Aws::S3Control
201
201
  JobTimeInStateSeconds = Shapes::IntegerShape.new(name: 'JobTimeInStateSeconds')
202
202
  JobTimers = Shapes::StructureShape.new(name: 'JobTimers')
203
203
  JobTotalNumberOfTasks = Shapes::IntegerShape.new(name: 'JobTotalNumberOfTasks')
204
+ KeyNameConstraint = Shapes::StructureShape.new(name: 'KeyNameConstraint')
204
205
  KmsKeyArnString = Shapes::StringShape.new(name: 'KmsKeyArnString')
205
206
  LambdaInvokeOperation = Shapes::StructureShape.new(name: 'LambdaInvokeOperation')
206
207
  LifecycleConfiguration = Shapes::StructureShape.new(name: 'LifecycleConfiguration')
@@ -259,6 +260,7 @@ module Aws::S3Control
259
260
  NoSuchPublicAccessBlockConfiguration = Shapes::StructureShape.new(name: 'NoSuchPublicAccessBlockConfiguration')
260
261
  NoSuchPublicAccessBlockConfigurationMessage = Shapes::StringShape.new(name: 'NoSuchPublicAccessBlockConfigurationMessage')
261
262
  NonEmptyMaxLength1024String = Shapes::StringShape.new(name: 'NonEmptyMaxLength1024String')
263
+ NonEmptyMaxLength1024StringList = Shapes::ListShape.new(name: 'NonEmptyMaxLength1024StringList')
262
264
  NonEmptyMaxLength2048String = Shapes::StringShape.new(name: 'NonEmptyMaxLength2048String')
263
265
  NonEmptyMaxLength256String = Shapes::StringShape.new(name: 'NonEmptyMaxLength256String')
264
266
  NonEmptyMaxLength64String = Shapes::StringShape.new(name: 'NonEmptyMaxLength64String')
@@ -400,6 +402,7 @@ module Aws::S3Control
400
402
  SourceSelectionCriteria = Shapes::StructureShape.new(name: 'SourceSelectionCriteria')
401
403
  SseKmsEncryptedObjects = Shapes::StructureShape.new(name: 'SseKmsEncryptedObjects')
402
404
  SseKmsEncryptedObjectsStatus = Shapes::StringShape.new(name: 'SseKmsEncryptedObjectsStatus')
405
+ StorageClassList = Shapes::ListShape.new(name: 'StorageClassList')
403
406
  StorageLensArn = Shapes::StringShape.new(name: 'StorageLensArn')
404
407
  StorageLensAwsOrg = Shapes::StructureShape.new(name: 'StorageLensAwsOrg')
405
408
  StorageLensConfiguration = Shapes::StructureShape.new(name: 'StorageLensConfiguration')
@@ -974,6 +977,10 @@ module Aws::S3Control
974
977
  JobManifestGeneratorFilter.add_member(:created_after, Shapes::ShapeRef.new(shape: ObjectCreationTime, location_name: "CreatedAfter"))
975
978
  JobManifestGeneratorFilter.add_member(:created_before, Shapes::ShapeRef.new(shape: ObjectCreationTime, location_name: "CreatedBefore"))
976
979
  JobManifestGeneratorFilter.add_member(:object_replication_statuses, Shapes::ShapeRef.new(shape: ReplicationStatusFilterList, location_name: "ObjectReplicationStatuses"))
980
+ JobManifestGeneratorFilter.add_member(:key_name_constraint, Shapes::ShapeRef.new(shape: KeyNameConstraint, location_name: "KeyNameConstraint"))
981
+ JobManifestGeneratorFilter.add_member(:object_size_greater_than_bytes, Shapes::ShapeRef.new(shape: ObjectSizeGreaterThanBytes, location_name: "ObjectSizeGreaterThanBytes", metadata: {"box"=>true}))
982
+ JobManifestGeneratorFilter.add_member(:object_size_less_than_bytes, Shapes::ShapeRef.new(shape: ObjectSizeLessThanBytes, location_name: "ObjectSizeLessThanBytes", metadata: {"box"=>true}))
983
+ JobManifestGeneratorFilter.add_member(:match_any_storage_class, Shapes::ShapeRef.new(shape: StorageClassList, location_name: "MatchAnyStorageClass"))
977
984
  JobManifestGeneratorFilter.struct_class = Types::JobManifestGeneratorFilter
978
985
 
979
986
  JobManifestLocation.add_member(:object_arn, Shapes::ShapeRef.new(shape: S3KeyArnString, required: true, location_name: "ObjectArn"))
@@ -1017,6 +1024,11 @@ module Aws::S3Control
1017
1024
  JobTimers.add_member(:elapsed_time_in_active_seconds, Shapes::ShapeRef.new(shape: JobTimeInStateSeconds, location_name: "ElapsedTimeInActiveSeconds", metadata: {"box"=>true}))
1018
1025
  JobTimers.struct_class = Types::JobTimers
1019
1026
 
1027
+ KeyNameConstraint.add_member(:match_any_prefix, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024StringList, location_name: "MatchAnyPrefix"))
1028
+ KeyNameConstraint.add_member(:match_any_suffix, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024StringList, location_name: "MatchAnySuffix"))
1029
+ KeyNameConstraint.add_member(:match_any_substring, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024StringList, location_name: "MatchAnySubstring"))
1030
+ KeyNameConstraint.struct_class = Types::KeyNameConstraint
1031
+
1020
1032
  LambdaInvokeOperation.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArnString, location_name: "FunctionArn"))
1021
1033
  LambdaInvokeOperation.struct_class = Types::LambdaInvokeOperation
1022
1034
 
@@ -1184,6 +1196,8 @@ module Aws::S3Control
1184
1196
  NoSuchPublicAccessBlockConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: NoSuchPublicAccessBlockConfigurationMessage, location_name: "Message"))
1185
1197
  NoSuchPublicAccessBlockConfiguration.struct_class = Types::NoSuchPublicAccessBlockConfiguration
1186
1198
 
1199
+ NonEmptyMaxLength1024StringList.member = Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String)
1200
+
1187
1201
  NoncurrentVersionExpiration.add_member(:noncurrent_days, Shapes::ShapeRef.new(shape: Days, location_name: "NoncurrentDays"))
1188
1202
  NoncurrentVersionExpiration.add_member(:newer_noncurrent_versions, Shapes::ShapeRef.new(shape: NoncurrentVersionCount, location_name: "NewerNoncurrentVersions", metadata: {"box"=>true}))
1189
1203
  NoncurrentVersionExpiration.struct_class = Types::NoncurrentVersionExpiration
@@ -1543,6 +1557,8 @@ module Aws::S3Control
1543
1557
  SseKmsEncryptedObjects.add_member(:status, Shapes::ShapeRef.new(shape: SseKmsEncryptedObjectsStatus, required: true, location_name: "Status"))
1544
1558
  SseKmsEncryptedObjects.struct_class = Types::SseKmsEncryptedObjects
1545
1559
 
1560
+ StorageClassList.member = Shapes::ShapeRef.new(shape: S3StorageClass)
1561
+
1546
1562
  StorageLensAwsOrg.add_member(:arn, Shapes::ShapeRef.new(shape: AwsOrgArn, required: true, location_name: "Arn"))
1547
1563
  StorageLensAwsOrg.struct_class = Types::StorageLensAwsOrg
1548
1564
 
@@ -2887,18 +2887,40 @@ module Aws::S3Control
2887
2887
  # @return [Boolean]
2888
2888
  #
2889
2889
  # @!attribute [rw] created_after
2890
- # If provided, the generated manifest should include only source
2891
- # bucket objects that were created after this time.
2890
+ # If provided, the generated manifest includes only source bucket
2891
+ # objects that were created after this time.
2892
2892
  # @return [Time]
2893
2893
  #
2894
2894
  # @!attribute [rw] created_before
2895
- # If provided, the generated manifest should include only source
2896
- # bucket objects that were created before this time.
2895
+ # If provided, the generated manifest includes only source bucket
2896
+ # objects that were created before this time.
2897
2897
  # @return [Time]
2898
2898
  #
2899
2899
  # @!attribute [rw] object_replication_statuses
2900
- # If provided, the generated manifest should include only source
2901
- # bucket objects that have one of the specified Replication statuses.
2900
+ # If provided, the generated manifest includes only source bucket
2901
+ # objects that have one of the specified Replication statuses.
2902
+ # @return [Array<String>]
2903
+ #
2904
+ # @!attribute [rw] key_name_constraint
2905
+ # If provided, the generated manifest includes only source bucket
2906
+ # objects whose object keys match the string constraints specified for
2907
+ # `MatchAnyPrefix`, `MatchAnySuffix`, and `MatchAnySubstring`.
2908
+ # @return [Types::KeyNameConstraint]
2909
+ #
2910
+ # @!attribute [rw] object_size_greater_than_bytes
2911
+ # If provided, the generated manifest includes only source bucket
2912
+ # objects whose file size is greater than the specified number of
2913
+ # bytes.
2914
+ # @return [Integer]
2915
+ #
2916
+ # @!attribute [rw] object_size_less_than_bytes
2917
+ # If provided, the generated manifest includes only source bucket
2918
+ # objects whose file size is less than the specified number of bytes.
2919
+ # @return [Integer]
2920
+ #
2921
+ # @!attribute [rw] match_any_storage_class
2922
+ # If provided, the generated manifest includes only source bucket
2923
+ # objects that are stored with the specified storage class.
2902
2924
  # @return [Array<String>]
2903
2925
  #
2904
2926
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/JobManifestGeneratorFilter AWS API Documentation
@@ -2907,7 +2929,11 @@ module Aws::S3Control
2907
2929
  :eligible_for_replication,
2908
2930
  :created_after,
2909
2931
  :created_before,
2910
- :object_replication_statuses)
2932
+ :object_replication_statuses,
2933
+ :key_name_constraint,
2934
+ :object_size_greater_than_bytes,
2935
+ :object_size_less_than_bytes,
2936
+ :match_any_storage_class)
2911
2937
  SENSITIVE = []
2912
2938
  include Aws::Structure
2913
2939
  end
@@ -3145,6 +3171,35 @@ module Aws::S3Control
3145
3171
  include Aws::Structure
3146
3172
  end
3147
3173
 
3174
+ # If provided, the generated manifest includes only source bucket
3175
+ # objects whose object keys match the string constraints specified for
3176
+ # `MatchAnyPrefix`, `MatchAnySuffix`, and `MatchAnySubstring`.
3177
+ #
3178
+ # @!attribute [rw] match_any_prefix
3179
+ # If provided, the generated manifest includes objects where the
3180
+ # specified string appears at the start of the object key string.
3181
+ # @return [Array<String>]
3182
+ #
3183
+ # @!attribute [rw] match_any_suffix
3184
+ # If provided, the generated manifest includes objects where the
3185
+ # specified string appears at the end of the object key string.
3186
+ # @return [Array<String>]
3187
+ #
3188
+ # @!attribute [rw] match_any_substring
3189
+ # If provided, the generated manifest includes objects where the
3190
+ # specified string appears anywhere within the object key string.
3191
+ # @return [Array<String>]
3192
+ #
3193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/KeyNameConstraint AWS API Documentation
3194
+ #
3195
+ class KeyNameConstraint < Struct.new(
3196
+ :match_any_prefix,
3197
+ :match_any_suffix,
3198
+ :match_any_substring)
3199
+ SENSITIVE = []
3200
+ include Aws::Structure
3201
+ end
3202
+
3148
3203
  # Contains the configuration parameters for a `Lambda Invoke` operation.
3149
3204
  #
3150
3205
  # @!attribute [rw] function_arn
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-s3control/customizations'
52
52
  # @!group service
53
53
  module Aws::S3Control
54
54
 
55
- GEM_VERSION = '1.71.0'
55
+ GEM_VERSION = '1.72.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3control
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.71.0
4
+ version: 1.72.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-15 00:00:00.000000000 Z
11
+ date: 2023-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '3'
34
34
  - - ">="
35
35
  - !ruby/object:Gem::Version
36
- version: 3.184.0
36
+ version: 3.188.0
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '3'
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 3.184.0
46
+ version: 3.188.0
47
47
  description: Official AWS Ruby gem for AWS S3 Control. This gem is part of the AWS
48
48
  SDK for Ruby.
49
49
  email:
@@ -85,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
- version: '2.3'
88
+ version: '2.5'
89
89
  required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  requirements:
91
91
  - - ">="