aws-sdk-s3 1.150.0 → 1.151.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: 41399520da04f62c1599a7b75b76f20c7870f86d864e85e5d9c2d03a54c249e6
4
- data.tar.gz: 3ca62b88c0db37447b083618ca31ba41c9311cf079b89a1713c100fed8236da2
3
+ metadata.gz: 6114dedb4a21eb5fbf21942e75b07672dc196f796c7803d700294aa8e1a591af
4
+ data.tar.gz: 450308ca25390a935185963b6d90dcba80b8ad54fb692db8c39a0e9d70a40527
5
5
  SHA512:
6
- metadata.gz: 0cb666a3f9dbddee3fa0026806badc816d666a8a76bd870439b7acce710c463aa9deef8b592665df6a7691c060ea5d80ca65c8c784342e6085f1da398a7491d8
7
- data.tar.gz: 75831cc1a6cafa8c7fc9f48fe1bb8c59a6ddaf8d7f469498840e1040e9e20416960c3f76c7e44002408736550d3af6888663e120f777920d2062e30b4d1cff2e
6
+ metadata.gz: 89f03a41c4dfa28e743e7948d96c088fc983610fc5b60af7e63e92b33f088c411d3f72d264bd447e6806963807eb6256938991d571e9df59eb641194b1a5b99d
7
+ data.tar.gz: '09c924fb2e88f0789fee482eb95eb7f3e636b8246c6ed2f28d410396fa5a199c74d4adfd1fbd7c33ef4524a72c7ee18e78e74d65f58f5219b166d0b96ec550d9'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.151.0 (2024-05-14)
5
+ ------------------
6
+
7
+ * Feature - Updated a few x-id in the http uri traits
8
+
4
9
  1.150.0 (2024-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.150.0
1
+ 1.151.0
@@ -4487,6 +4487,15 @@ module Aws::S3
4487
4487
  # * {Types::DeleteObjectOutput#request_charged #request_charged} => String
4488
4488
  #
4489
4489
  #
4490
+ # @example Example: To delete an object (from a non-versioned bucket)
4491
+ #
4492
+ # # The following example deletes an object from a non-versioned bucket.
4493
+ #
4494
+ # resp = client.delete_object({
4495
+ # bucket: "ExampleBucket",
4496
+ # key: "HappyFace.jpg",
4497
+ # })
4498
+ #
4490
4499
  # @example Example: To delete an object
4491
4500
  #
4492
4501
  # # The following example deletes an object from an S3 bucket.
@@ -4500,15 +4509,6 @@ module Aws::S3
4500
4509
  # {
4501
4510
  # }
4502
4511
  #
4503
- # @example Example: To delete an object (from a non-versioned bucket)
4504
- #
4505
- # # The following example deletes an object from a non-versioned bucket.
4506
- #
4507
- # resp = client.delete_object({
4508
- # bucket: "ExampleBucket",
4509
- # key: "HappyFace.jpg",
4510
- # })
4511
- #
4512
4512
  # @example Request syntax with placeholder values
4513
4513
  #
4514
4514
  # resp = client.delete_object({
@@ -4918,22 +4918,20 @@ module Aws::S3
4918
4918
  # * {Types::DeleteObjectsOutput#errors #errors} => Array<Types::Error>
4919
4919
  #
4920
4920
  #
4921
- # @example Example: To delete multiple object versions from a versioned bucket
4921
+ # @example Example: To delete multiple objects from a versioned bucket
4922
4922
  #
4923
- # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
4924
- # # versions and returns the key and versions of deleted objects in the response.
4923
+ # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
4924
+ # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
4925
4925
  #
4926
4926
  # resp = client.delete_objects({
4927
4927
  # bucket: "examplebucket",
4928
4928
  # delete: {
4929
4929
  # objects: [
4930
4930
  # {
4931
- # key: "HappyFace.jpg",
4932
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
4931
+ # key: "objectkey1",
4933
4932
  # },
4934
4933
  # {
4935
- # key: "HappyFace.jpg",
4936
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
4934
+ # key: "objectkey2",
4937
4935
  # },
4938
4936
  # ],
4939
4937
  # quiet: false,
@@ -4944,30 +4942,34 @@ module Aws::S3
4944
4942
  # {
4945
4943
  # deleted: [
4946
4944
  # {
4947
- # key: "HappyFace.jpg",
4948
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
4945
+ # delete_marker: true,
4946
+ # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
4947
+ # key: "objectkey1",
4949
4948
  # },
4950
4949
  # {
4951
- # key: "HappyFace.jpg",
4952
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
4950
+ # delete_marker: true,
4951
+ # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
4952
+ # key: "objectkey2",
4953
4953
  # },
4954
4954
  # ],
4955
4955
  # }
4956
4956
  #
4957
- # @example Example: To delete multiple objects from a versioned bucket
4957
+ # @example Example: To delete multiple object versions from a versioned bucket
4958
4958
  #
4959
- # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
4960
- # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
4959
+ # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
4960
+ # # versions and returns the key and versions of deleted objects in the response.
4961
4961
  #
4962
4962
  # resp = client.delete_objects({
4963
4963
  # bucket: "examplebucket",
4964
4964
  # delete: {
4965
4965
  # objects: [
4966
4966
  # {
4967
- # key: "objectkey1",
4967
+ # key: "HappyFace.jpg",
4968
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
4968
4969
  # },
4969
4970
  # {
4970
- # key: "objectkey2",
4971
+ # key: "HappyFace.jpg",
4972
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
4971
4973
  # },
4972
4974
  # ],
4973
4975
  # quiet: false,
@@ -4978,14 +4980,12 @@ module Aws::S3
4978
4980
  # {
4979
4981
  # deleted: [
4980
4982
  # {
4981
- # delete_marker: true,
4982
- # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
4983
- # key: "objectkey1",
4983
+ # key: "HappyFace.jpg",
4984
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
4984
4985
  # },
4985
4986
  # {
4986
- # delete_marker: true,
4987
- # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
4988
- # key: "objectkey2",
4987
+ # key: "HappyFace.jpg",
4988
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
4989
4989
  # },
4990
4990
  # ],
4991
4991
  # }
@@ -8735,49 +8735,49 @@ module Aws::S3
8735
8735
  # * {Types::GetObjectTaggingOutput#tag_set #tag_set} => Array<Types::Tag>
8736
8736
  #
8737
8737
  #
8738
- # @example Example: To retrieve tag set of a specific object version
8738
+ # @example Example: To retrieve tag set of an object
8739
8739
  #
8740
- # # The following example retrieves tag set of an object. The request specifies object version.
8740
+ # # The following example retrieves tag set of an object.
8741
8741
  #
8742
8742
  # resp = client.get_object_tagging({
8743
8743
  # bucket: "examplebucket",
8744
- # key: "exampleobject",
8745
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
8744
+ # key: "HappyFace.jpg",
8746
8745
  # })
8747
8746
  #
8748
8747
  # resp.to_h outputs the following:
8749
8748
  # {
8750
8749
  # tag_set: [
8751
8750
  # {
8752
- # key: "Key1",
8753
- # value: "Value1",
8751
+ # key: "Key4",
8752
+ # value: "Value4",
8753
+ # },
8754
+ # {
8755
+ # key: "Key3",
8756
+ # value: "Value3",
8754
8757
  # },
8755
8758
  # ],
8756
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
8759
+ # version_id: "null",
8757
8760
  # }
8758
8761
  #
8759
- # @example Example: To retrieve tag set of an object
8762
+ # @example Example: To retrieve tag set of a specific object version
8760
8763
  #
8761
- # # The following example retrieves tag set of an object.
8764
+ # # The following example retrieves tag set of an object. The request specifies object version.
8762
8765
  #
8763
8766
  # resp = client.get_object_tagging({
8764
8767
  # bucket: "examplebucket",
8765
- # key: "HappyFace.jpg",
8768
+ # key: "exampleobject",
8769
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
8766
8770
  # })
8767
8771
  #
8768
8772
  # resp.to_h outputs the following:
8769
8773
  # {
8770
8774
  # tag_set: [
8771
8775
  # {
8772
- # key: "Key4",
8773
- # value: "Value4",
8774
- # },
8775
- # {
8776
- # key: "Key3",
8777
- # value: "Value3",
8776
+ # key: "Key1",
8777
+ # value: "Value1",
8778
8778
  # },
8779
8779
  # ],
8780
- # version_id: "null",
8780
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
8781
8781
  # }
8782
8782
  #
8783
8783
  # @example Request syntax with placeholder values
@@ -15410,21 +15410,25 @@ module Aws::S3
15410
15410
  # * {Types::PutObjectOutput#request_charged #request_charged} => String
15411
15411
  #
15412
15412
  #
15413
- # @example Example: To upload an object
15413
+ # @example Example: To upload object and specify user-defined metadata
15414
15414
  #
15415
- # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
15416
- # # syntax. S3 returns VersionId of the newly created object.
15415
+ # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
15416
+ # # enabled, S3 returns version ID in response.
15417
15417
  #
15418
15418
  # resp = client.put_object({
15419
- # body: "HappyFace.jpg",
15419
+ # body: "filetoupload",
15420
15420
  # bucket: "examplebucket",
15421
- # key: "HappyFace.jpg",
15421
+ # key: "exampleobject",
15422
+ # metadata: {
15423
+ # "metadata1" => "value1",
15424
+ # "metadata2" => "value2",
15425
+ # },
15422
15426
  # })
15423
15427
  #
15424
15428
  # resp.to_h outputs the following:
15425
15429
  # {
15426
15430
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
15427
- # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
15431
+ # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
15428
15432
  # }
15429
15433
  #
15430
15434
  # @example Example: To upload an object (specify optional headers)
@@ -15447,97 +15451,93 @@ module Aws::S3
15447
15451
  # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
15448
15452
  # }
15449
15453
  #
15450
- # @example Example: To upload object and specify user-defined metadata
15454
+ # @example Example: To upload an object and specify optional tags
15451
15455
  #
15452
- # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
15453
- # # enabled, S3 returns version ID in response.
15456
+ # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
15457
+ # # S3 returns version ID of the newly created object.
15454
15458
  #
15455
15459
  # resp = client.put_object({
15456
- # body: "filetoupload",
15460
+ # body: "c:\\HappyFace.jpg",
15457
15461
  # bucket: "examplebucket",
15458
- # key: "exampleobject",
15459
- # metadata: {
15460
- # "metadata1" => "value1",
15461
- # "metadata2" => "value2",
15462
- # },
15462
+ # key: "HappyFace.jpg",
15463
+ # tagging: "key1=value1&key2=value2",
15463
15464
  # })
15464
15465
  #
15465
15466
  # resp.to_h outputs the following:
15466
15467
  # {
15467
15468
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
15468
- # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
15469
+ # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
15469
15470
  # }
15470
15471
  #
15471
- # @example Example: To upload an object and specify canned ACL.
15472
+ # @example Example: To create an object.
15472
15473
  #
15473
- # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
15474
- # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
15474
+ # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
15475
15475
  #
15476
15476
  # resp = client.put_object({
15477
- # acl: "authenticated-read",
15478
15477
  # body: "filetoupload",
15479
15478
  # bucket: "examplebucket",
15480
- # key: "exampleobject",
15479
+ # key: "objectkey",
15481
15480
  # })
15482
15481
  #
15483
15482
  # resp.to_h outputs the following:
15484
15483
  # {
15485
15484
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
15486
- # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
15485
+ # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
15487
15486
  # }
15488
15487
  #
15489
- # @example Example: To create an object.
15488
+ # @example Example: To upload an object
15490
15489
  #
15491
- # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
15490
+ # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
15491
+ # # syntax. S3 returns VersionId of the newly created object.
15492
15492
  #
15493
15493
  # resp = client.put_object({
15494
- # body: "filetoupload",
15494
+ # body: "HappyFace.jpg",
15495
15495
  # bucket: "examplebucket",
15496
- # key: "objectkey",
15496
+ # key: "HappyFace.jpg",
15497
15497
  # })
15498
15498
  #
15499
15499
  # resp.to_h outputs the following:
15500
15500
  # {
15501
15501
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
15502
- # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
15502
+ # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
15503
15503
  # }
15504
15504
  #
15505
- # @example Example: To upload an object and specify server-side encryption and object tags
15505
+ # @example Example: To upload an object and specify canned ACL.
15506
15506
  #
15507
- # # The following example uploads an object. The request specifies the optional server-side encryption option. The request
15508
- # # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
15507
+ # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
15508
+ # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
15509
15509
  #
15510
15510
  # resp = client.put_object({
15511
+ # acl: "authenticated-read",
15511
15512
  # body: "filetoupload",
15512
15513
  # bucket: "examplebucket",
15513
15514
  # key: "exampleobject",
15514
- # server_side_encryption: "AES256",
15515
- # tagging: "key1=value1&key2=value2",
15516
15515
  # })
15517
15516
  #
15518
15517
  # resp.to_h outputs the following:
15519
15518
  # {
15520
15519
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
15521
- # server_side_encryption: "AES256",
15522
- # version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
15520
+ # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
15523
15521
  # }
15524
15522
  #
15525
- # @example Example: To upload an object and specify optional tags
15523
+ # @example Example: To upload an object and specify server-side encryption and object tags
15526
15524
  #
15527
- # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
15528
- # # S3 returns version ID of the newly created object.
15525
+ # # The following example uploads an object. The request specifies the optional server-side encryption option. The request
15526
+ # # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
15529
15527
  #
15530
15528
  # resp = client.put_object({
15531
- # body: "c:\\HappyFace.jpg",
15529
+ # body: "filetoupload",
15532
15530
  # bucket: "examplebucket",
15533
- # key: "HappyFace.jpg",
15531
+ # key: "exampleobject",
15532
+ # server_side_encryption: "AES256",
15534
15533
  # tagging: "key1=value1&key2=value2",
15535
15534
  # })
15536
15535
  #
15537
15536
  # resp.to_h outputs the following:
15538
15537
  # {
15539
15538
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
15540
- # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
15539
+ # server_side_encryption: "AES256",
15540
+ # version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
15541
15541
  # }
15542
15542
  #
15543
15543
  # @example Streaming a file from disk
@@ -18828,7 +18828,7 @@ module Aws::S3
18828
18828
  params: params,
18829
18829
  config: config)
18830
18830
  context[:gem_name] = 'aws-sdk-s3'
18831
- context[:gem_version] = '1.150.0'
18831
+ context[:gem_version] = '1.151.0'
18832
18832
  Seahorse::Client::Request.new(handlers, context)
18833
18833
  end
18834
18834
 
@@ -2764,6 +2764,7 @@ module Aws::S3
2764
2764
  "endpointPrefix" => "s3",
2765
2765
  "globalEndpoint" => "s3.amazonaws.com",
2766
2766
  "protocol" => "rest-xml",
2767
+ "protocols" => ["rest-xml"],
2767
2768
  "serviceAbbreviation" => "Amazon S3",
2768
2769
  "serviceFullName" => "Amazon Simple Storage Service",
2769
2770
  "serviceId" => "S3",
data/lib/aws-sdk-s3.rb CHANGED
@@ -73,6 +73,6 @@ require_relative 'aws-sdk-s3/event_streams'
73
73
  # @!group service
74
74
  module Aws::S3
75
75
 
76
- GEM_VERSION = '1.150.0'
76
+ GEM_VERSION = '1.151.0'
77
77
 
78
78
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.150.0
4
+ version: 1.151.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: 2024-05-13 00:00:00.000000000 Z
11
+ date: 2024-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms