aws-sdk-s3 1.166.0 → 1.169.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: 23940562598b8073e4e1e7fb5f300a75ccedfa51af9fba10603af1537c2e50e9
4
- data.tar.gz: b741a11a7fe934ae6b0e5e263a99075191296916b8aceecbfdeecaa57ec10bf1
3
+ metadata.gz: 9d015103eeb47bf30a6af433aebe62191650329d2bff8259d20a3dbe6c6ad4e6
4
+ data.tar.gz: 8dc0a363c75d83d7347b4c367b3d86607fb290d435e29a9f0f3236e220002f5f
5
5
  SHA512:
6
- metadata.gz: 1442957d392d64949c12f0c9f8e6f409c90486538987aa4d9d5e738b4065e050104761522bcd8a38b413ca3bf554e6e328b0cbf3f43d4f79440c7e339162c4d2
7
- data.tar.gz: e415e5c21aa9e5942b353e84372fbccb727e76deb7f3ecc4124a2ad4a680b856e1988f950e0ba7c5468102a269aa3b47214d5777a172004f789525a27d5eff3c
6
+ metadata.gz: 67351d730ed219a3fab72e10dd6877b7b5851b5e76ce1ceb2faab336f9cf912852502b1ee129bafbbc4fe529ff8c2b43d21b47289388236f4f18f648600c96f4
7
+ data.tar.gz: b10db38f2dc2e72f26cc76bfa58893ada9b3316692ece2fe0b00869c60175620a306bee5a2bf289a700cdee8035b253473459f25bb638d9dbbd35ecb6cb25a1c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.169.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.168.0 (2024-10-16)
10
+ ------------------
11
+
12
+ * Feature - Add support for the new optional bucket-region and prefix query parameters in the ListBuckets API. For ListBuckets requests that express pagination, Amazon S3 will now return both the bucket names and associated AWS regions in the response.
13
+
14
+ 1.167.0 (2024-10-02)
15
+ ------------------
16
+
17
+ * Feature - This release introduces a header representing the minimum object size limit for Lifecycle transitions.
18
+
4
19
  1.166.0 (2024-09-24)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.166.0
1
+ 1.169.0
@@ -41,6 +41,14 @@ module Aws::S3
41
41
  data[:creation_date]
42
42
  end
43
43
 
44
+ # `BucketRegion` indicates the Amazon Web Services region where the
45
+ # bucket is located. If the request contains at least one valid
46
+ # parameter, it is included in the response.
47
+ # @return [String]
48
+ def bucket_region
49
+ data[:bucket_region]
50
+ end
51
+
44
52
  # @!endgroup
45
53
 
46
54
  # @return [Client]
@@ -447,13 +455,13 @@ module Aws::S3
447
455
  # For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
448
456
  # the supported algorithm from the following list:
449
457
  #
450
- # * CRC32
458
+ # * `CRC32`
451
459
  #
452
- # * CRC32C
460
+ # * `CRC32C`
453
461
  #
454
- # * SHA1
462
+ # * `SHA1`
455
463
  #
456
- # * SHA256
464
+ # * `SHA256`
457
465
  #
458
466
  # For more information, see [Checking object integrity][1] in the
459
467
  # *Amazon S3 User Guide*.
@@ -606,10 +614,11 @@ module Aws::S3
606
614
  # information about REST request authentication, see [REST
607
615
  # Authentication][1].
608
616
  #
609
- # <note markdown="1"> The `Content-MD5` header is required for any request to upload an
610
- # object with a retention period configured using Amazon S3 Object Lock.
611
- # For more information about Amazon S3 Object Lock, see [Amazon S3
612
- # Object Lock Overview][2] in the *Amazon S3 User Guide*.
617
+ # <note markdown="1"> The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is required
618
+ # for any request to upload an object with a retention period configured
619
+ # using Amazon S3 Object Lock. For more information, see [Uploading
620
+ # objects to an Object Lock enabled bucket ][2] in the *Amazon S3 User
621
+ # Guide*.
613
622
  #
614
623
  # </note>
615
624
  #
@@ -620,7 +629,7 @@ module Aws::S3
620
629
  #
621
630
  #
622
631
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
623
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html
632
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object
624
633
  # @option options [String] :content_type
625
634
  # A standard MIME type describing the format of the contents. For more
626
635
  # information, see
@@ -640,13 +649,13 @@ module Aws::S3
640
649
  # For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
641
650
  # the supported algorithm from the following list:
642
651
  #
643
- # * CRC32
652
+ # * `CRC32`
644
653
  #
645
- # * CRC32C
654
+ # * `CRC32C`
646
655
  #
647
- # * SHA1
656
+ # * `SHA1`
648
657
  #
649
- # * SHA256
658
+ # * `SHA256`
650
659
  #
651
660
  # For more information, see [Checking object integrity][1] in the
652
661
  # *Amazon S3 User Guide*.
@@ -657,20 +666,27 @@ module Aws::S3
657
666
  # provided `ChecksumAlgorithm` parameter and uses the checksum algorithm
658
667
  # that matches the provided value in `x-amz-checksum-algorithm `.
659
668
  #
660
- # <note markdown="1"> For directory buckets, when you use Amazon Web Services SDKs, `CRC32`
661
- # is the default checksum algorithm that's used for performance.
669
+ # <note markdown="1"> The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is required
670
+ # for any request to upload an object with a retention period configured
671
+ # using Amazon S3 Object Lock. For more information, see [Uploading
672
+ # objects to an Object Lock enabled bucket ][2] in the *Amazon S3 User
673
+ # Guide*.
662
674
  #
663
675
  # </note>
664
676
  #
677
+ # For directory buckets, when you use Amazon Web Services SDKs, `CRC32`
678
+ # is the default checksum algorithm that's used for performance.
679
+ #
665
680
  #
666
681
  #
667
682
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
683
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object
668
684
  # @option options [String] :checksum_crc32
669
685
  # This header can be used as a data integrity check to verify that the
670
686
  # data received is the same data that was originally sent. This header
671
- # specifies the base64-encoded, 32-bit CRC32 checksum of the object. For
672
- # more information, see [Checking object integrity][1] in the *Amazon S3
673
- # User Guide*.
687
+ # specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
688
+ # For more information, see [Checking object integrity][1] in the
689
+ # *Amazon S3 User Guide*.
674
690
  #
675
691
  #
676
692
  #
@@ -678,7 +694,7 @@ module Aws::S3
678
694
  # @option options [String] :checksum_crc32c
679
695
  # This header can be used as a data integrity check to verify that the
680
696
  # data received is the same data that was originally sent. This header
681
- # specifies the base64-encoded, 32-bit CRC32C checksum of the object.
697
+ # specifies the base64-encoded, 32-bit CRC-32C checksum of the object.
682
698
  # For more information, see [Checking object integrity][1] in the
683
699
  # *Amazon S3 User Guide*.
684
700
  #
@@ -919,14 +935,19 @@ module Aws::S3
919
935
  # Amazon Web Services managed key (`aws/s3`) to protect the data.
920
936
  #
921
937
  # **Directory buckets** - If you specify `x-amz-server-side-encryption`
922
- # with `aws:kms`, you must specify the `
923
- # x-amz-server-side-encryption-aws-kms-key-id` header with the ID (Key
924
- # ID or Key ARN) of the KMS symmetric encryption customer managed key to
925
- # use. Otherwise, you get an HTTP `400 Bad Request` error. Only use the
926
- # key ID or key ARN. The key alias format of the KMS key isn't
927
- # supported. Your SSE-KMS configuration can only support 1 [customer
928
- # managed key][1] per directory bucket for the lifetime of the bucket.
929
- # [Amazon Web Services managed key][2] (`aws/s3`) isn't supported.
938
+ # with `aws:kms`, the ` x-amz-server-side-encryption-aws-kms-key-id`
939
+ # header is implicitly assigned the ID of the KMS symmetric encryption
940
+ # customer managed key that's configured for your directory bucket's
941
+ # default encryption setting. If you want to specify the `
942
+ # x-amz-server-side-encryption-aws-kms-key-id` header explicitly, you
943
+ # can only specify it with the ID (Key ID or Key ARN) of the KMS
944
+ # customer managed key that's configured for your directory bucket's
945
+ # default encryption setting. Otherwise, you get an HTTP `400 Bad
946
+ # Request` error. Only use the key ID or key ARN. The key alias format
947
+ # of the KMS key isn't supported. Your SSE-KMS configuration can only
948
+ # support 1 [customer managed key][1] per directory bucket for the
949
+ # lifetime of the bucket. The [Amazon Web Services managed key][2]
950
+ # (`aws/s3`) isn't supported.
930
951
  #
931
952
  #
932
953
  #
@@ -40,6 +40,26 @@ module Aws::S3
40
40
  data[:rules]
41
41
  end
42
42
 
43
+ # Indicates which default minimum object size behavior is applied to the
44
+ # lifecycle configuration.
45
+ #
46
+ # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
47
+ # transition to any storage class by default.
48
+ #
49
+ # * `varies_by_storage_class` - Objects smaller than 128 KB will
50
+ # transition to Glacier Flexible Retrieval or Glacier Deep Archive
51
+ # storage classes. By default, all other storage classes will prevent
52
+ # transitions smaller than 128 KB.
53
+ #
54
+ # To customize the minimum object size for any transition you can add a
55
+ # filter that specifies a custom `ObjectSizeGreaterThan` or
56
+ # `ObjectSizeLessThan` in the body of your transition rule. Custom
57
+ # filters always take precedence over the default transition behavior.
58
+ # @return [String]
59
+ def transition_default_minimum_object_size
60
+ data[:transition_default_minimum_object_size]
61
+ end
62
+
43
63
  # @!endgroup
44
64
 
45
65
  # @return [Client]
@@ -257,6 +277,7 @@ module Aws::S3
257
277
  # ],
258
278
  # },
259
279
  # expected_bucket_owner: "AccountId",
280
+ # transition_default_minimum_object_size: "varies_by_storage_class", # accepts varies_by_storage_class, all_storage_classes_128K
260
281
  # })
261
282
  # @param [Hash] options ({})
262
283
  # @option options [String] :checksum_algorithm
@@ -280,7 +301,23 @@ module Aws::S3
280
301
  # The account ID of the expected bucket owner. If the account ID that
281
302
  # you provide does not match the actual owner of the bucket, the request
282
303
  # fails with the HTTP status code `403 Forbidden` (access denied).
283
- # @return [EmptyStructure]
304
+ # @option options [String] :transition_default_minimum_object_size
305
+ # Indicates which default minimum object size behavior is applied to the
306
+ # lifecycle configuration.
307
+ #
308
+ # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
309
+ # transition to any storage class by default.
310
+ #
311
+ # * `varies_by_storage_class` - Objects smaller than 128 KB will
312
+ # transition to Glacier Flexible Retrieval or Glacier Deep Archive
313
+ # storage classes. By default, all other storage classes will prevent
314
+ # transitions smaller than 128 KB.
315
+ #
316
+ # To customize the minimum object size for any transition you can add a
317
+ # filter that specifies a custom `ObjectSizeGreaterThan` or
318
+ # `ObjectSizeLessThan` in the body of your transition rule. Custom
319
+ # filters always take precedence over the default transition behavior.
320
+ # @return [Types::PutBucketLifecycleConfigurationOutput]
284
321
  def put(options = {})
285
322
  options = options.merge(bucket: @bucket_name)
286
323
  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
@@ -234,13 +234,13 @@ module Aws::S3
234
234
  # For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
235
235
  # the supported algorithm from the following list:
236
236
  #
237
- # * CRC32
237
+ # * `CRC32`
238
238
  #
239
- # * CRC32C
239
+ # * `CRC32C`
240
240
  #
241
- # * SHA1
241
+ # * `SHA1`
242
242
  #
243
- # * SHA256
243
+ # * `SHA256`
244
244
  #
245
245
  # For more information, see [Checking object integrity][1] in the
246
246
  # *Amazon S3 User Guide*.