aws-sdk-s3 1.189.1 → 1.190.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.
@@ -1279,6 +1279,20 @@ module Aws::S3
1279
1279
  req.send_request(options)
1280
1280
  end
1281
1281
 
1282
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will
1283
+ # discontinue support for creating new Email Grantee Access Control
1284
+ # Lists (ACL). Email Grantee ACLs created prior to this date will
1285
+ # continue to work and remain accessible through the Amazon Web Services
1286
+ # Management Console, Command Line Interface (CLI), SDKs, and REST API.
1287
+ # However, you will no longer be able to create new Email Grantee ACLs.
1288
+ #
1289
+ # This change affects the following Amazon Web Services Regions: US
1290
+ # East
1291
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
1292
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
1293
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
1294
+ # America (São Paulo) Region.
1295
+ #
1282
1296
  # Creates a copy of an object that is already stored in Amazon S3.
1283
1297
  #
1284
1298
  # <note markdown="1"> You can store individual objects of up to 5 TB in Amazon S3. You
@@ -2348,6 +2362,33 @@ module Aws::S3
2348
2362
  req.send_request(options)
2349
2363
  end
2350
2364
 
2365
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will
2366
+ # discontinue support for creating new Email Grantee Access Control
2367
+ # Lists (ACL). Email Grantee ACLs created prior to this date will
2368
+ # continue to work and remain accessible through the Amazon Web Services
2369
+ # Management Console, Command Line Interface (CLI), SDKs, and REST API.
2370
+ # However, you will no longer be able to create new Email Grantee ACLs.
2371
+ #
2372
+ # This change affects the following Amazon Web Services Regions: US
2373
+ # East
2374
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
2375
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
2376
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
2377
+ # America (São Paulo) Region.
2378
+ #
2379
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will stop
2380
+ # returning `DisplayName`. Update your applications to use canonical IDs
2381
+ # (unique identifier for Amazon Web Services accounts), Amazon Web
2382
+ # Services account ID (12 digit identifier) or IAM ARNs (full resource
2383
+ # naming) as a direct replacement of `DisplayName`.
2384
+ #
2385
+ # This change affects the following Amazon Web Services Regions: US
2386
+ # East
2387
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
2388
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
2389
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
2390
+ # America (São Paulo) Region.
2391
+ #
2351
2392
  # <note markdown="1"> This action creates an Amazon S3 bucket. To create an Amazon S3 on
2352
2393
  # Outposts bucket, see [ `CreateBucket` ][1].
2353
2394
  #
@@ -2756,6 +2797,20 @@ module Aws::S3
2756
2797
  req.send_request(options)
2757
2798
  end
2758
2799
 
2800
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will
2801
+ # discontinue support for creating new Email Grantee Access Control
2802
+ # Lists (ACL). Email Grantee ACLs created prior to this date will
2803
+ # continue to work and remain accessible through the Amazon Web Services
2804
+ # Management Console, Command Line Interface (CLI), SDKs, and REST API.
2805
+ # However, you will no longer be able to create new Email Grantee ACLs.
2806
+ #
2807
+ # This change affects the following Amazon Web Services Regions: US
2808
+ # East
2809
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
2810
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
2811
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
2812
+ # America (São Paulo) Region.
2813
+ #
2759
2814
  # This action initiates a multipart upload and returns an upload ID.
2760
2815
  # This upload ID is used to associate all of the parts in the specific
2761
2816
  # multipart upload. You specify this upload ID in each of your
@@ -4400,6 +4455,11 @@ module Aws::S3
4400
4455
  # @option params [required, String] :id
4401
4456
  # The ID used to identify the S3 Intelligent-Tiering configuration.
4402
4457
  #
4458
+ # @option params [String] :expected_bucket_owner
4459
+ # The account ID of the expected bucket owner. If the account ID that
4460
+ # you provide does not match the actual owner of the bucket, the request
4461
+ # fails with the HTTP status code `403 Forbidden` (access denied).
4462
+ #
4403
4463
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4404
4464
  #
4405
4465
  # @example Request syntax with placeholder values
@@ -4407,6 +4467,7 @@ module Aws::S3
4407
4467
  # resp = client.delete_bucket_intelligent_tiering_configuration({
4408
4468
  # bucket: "BucketName", # required
4409
4469
  # id: "IntelligentTieringId", # required
4470
+ # expected_bucket_owner: "AccountId",
4410
4471
  # })
4411
4472
  #
4412
4473
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketIntelligentTieringConfiguration AWS API Documentation
@@ -6067,6 +6128,19 @@ module Aws::S3
6067
6128
  req.send_request(options)
6068
6129
  end
6069
6130
 
6131
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will stop
6132
+ # returning `DisplayName`. Update your applications to use canonical IDs
6133
+ # (unique identifier for Amazon Web Services accounts), Amazon Web
6134
+ # Services account ID (12 digit identifier) or IAM ARNs (full resource
6135
+ # naming) as a direct replacement of `DisplayName`.
6136
+ #
6137
+ # This change affects the following Amazon Web Services Regions: US
6138
+ # East
6139
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
6140
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
6141
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
6142
+ # America (São Paulo) Region.
6143
+ #
6070
6144
  # <note markdown="1"> This operation is not supported for directory buckets.
6071
6145
  #
6072
6146
  # </note>
@@ -6532,6 +6606,11 @@ module Aws::S3
6532
6606
  # @option params [required, String] :id
6533
6607
  # The ID used to identify the S3 Intelligent-Tiering configuration.
6534
6608
  #
6609
+ # @option params [String] :expected_bucket_owner
6610
+ # The account ID of the expected bucket owner. If the account ID that
6611
+ # you provide does not match the actual owner of the bucket, the request
6612
+ # fails with the HTTP status code `403 Forbidden` (access denied).
6613
+ #
6535
6614
  # @return [Types::GetBucketIntelligentTieringConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6536
6615
  #
6537
6616
  # * {Types::GetBucketIntelligentTieringConfigurationOutput#intelligent_tiering_configuration #intelligent_tiering_configuration} => Types::IntelligentTieringConfiguration
@@ -6541,6 +6620,7 @@ module Aws::S3
6541
6620
  # resp = client.get_bucket_intelligent_tiering_configuration({
6542
6621
  # bucket: "BucketName", # required
6543
6622
  # id: "IntelligentTieringId", # required
6623
+ # expected_bucket_owner: "AccountId",
6544
6624
  # })
6545
6625
  #
6546
6626
  # @example Response structure
@@ -7051,6 +7131,19 @@ module Aws::S3
7051
7131
  req.send_request(options)
7052
7132
  end
7053
7133
 
7134
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will stop
7135
+ # returning `DisplayName`. Update your applications to use canonical IDs
7136
+ # (unique identifier for Amazon Web Services accounts), Amazon Web
7137
+ # Services account ID (12 digit identifier) or IAM ARNs (full resource
7138
+ # naming) as a direct replacement of `DisplayName`.
7139
+ #
7140
+ # This change affects the following Amazon Web Services Regions: US
7141
+ # East
7142
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
7143
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
7144
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
7145
+ # America (São Paulo) Region.
7146
+ #
7054
7147
  # <note markdown="1"> This operation is not supported for directory buckets.
7055
7148
  #
7056
7149
  # </note>
@@ -7514,6 +7607,21 @@ module Aws::S3
7514
7607
  # permission. For more information about Amazon S3 permissions, see
7515
7608
  # [Specifying permissions in a policy][1].
7516
7609
  #
7610
+ # <note markdown="1"> A bucket doesn't have `OwnershipControls` settings in the following
7611
+ # cases:
7612
+ #
7613
+ # * The bucket was created before the `BucketOwnerEnforced` ownership
7614
+ # setting was introduced and you've never explicitly applied this
7615
+ # value
7616
+ #
7617
+ # * You've manually deleted the bucket ownership control value using
7618
+ # the `DeleteBucketOwnershipControls` API operation.
7619
+ #
7620
+ # By default, Amazon S3 sets `OwnershipControls` for all newly created
7621
+ # buckets.
7622
+ #
7623
+ # </note>
7624
+ #
7517
7625
  # For information about Amazon S3 Object Ownership, see [Using Object
7518
7626
  # Ownership][2].
7519
7627
  #
@@ -10700,6 +10808,7 @@ module Aws::S3
10700
10808
  # * {Types::HeadObjectOutput#request_charged #request_charged} => String
10701
10809
  # * {Types::HeadObjectOutput#replication_status #replication_status} => String
10702
10810
  # * {Types::HeadObjectOutput#parts_count #parts_count} => Integer
10811
+ # * {Types::HeadObjectOutput#tag_count #tag_count} => Integer
10703
10812
  # * {Types::HeadObjectOutput#object_lock_mode #object_lock_mode} => String
10704
10813
  # * {Types::HeadObjectOutput#object_lock_retain_until_date #object_lock_retain_until_date} => Time
10705
10814
  # * {Types::HeadObjectOutput#object_lock_legal_hold_status #object_lock_legal_hold_status} => String
@@ -10790,6 +10899,7 @@ module Aws::S3
10790
10899
  # resp.request_charged #=> String, one of "requester"
10791
10900
  # resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA", "COMPLETED"
10792
10901
  # resp.parts_count #=> Integer
10902
+ # resp.tag_count #=> Integer
10793
10903
  # resp.object_lock_mode #=> String, one of "GOVERNANCE", "COMPLIANCE"
10794
10904
  # resp.object_lock_retain_until_date #=> Time
10795
10905
  # resp.object_lock_legal_hold_status #=> String, one of "ON", "OFF"
@@ -10960,6 +11070,11 @@ module Aws::S3
10960
11070
  # The `ContinuationToken` that represents a placeholder from where this
10961
11071
  # request should begin.
10962
11072
  #
11073
+ # @option params [String] :expected_bucket_owner
11074
+ # The account ID of the expected bucket owner. If the account ID that
11075
+ # you provide does not match the actual owner of the bucket, the request
11076
+ # fails with the HTTP status code `403 Forbidden` (access denied).
11077
+ #
10963
11078
  # @return [Types::ListBucketIntelligentTieringConfigurationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10964
11079
  #
10965
11080
  # * {Types::ListBucketIntelligentTieringConfigurationsOutput#is_truncated #is_truncated} => Boolean
@@ -10972,6 +11087,7 @@ module Aws::S3
10972
11087
  # resp = client.list_bucket_intelligent_tiering_configurations({
10973
11088
  # bucket: "BucketName", # required
10974
11089
  # continuation_token: "Token",
11090
+ # expected_bucket_owner: "AccountId",
10975
11091
  # })
10976
11092
  #
10977
11093
  # @example Response structure
@@ -11206,6 +11322,19 @@ module Aws::S3
11206
11322
  req.send_request(options)
11207
11323
  end
11208
11324
 
11325
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will stop
11326
+ # returning `DisplayName`. Update your applications to use canonical IDs
11327
+ # (unique identifier for Amazon Web Services accounts), Amazon Web
11328
+ # Services account ID (12 digit identifier) or IAM ARNs (full resource
11329
+ # naming) as a direct replacement of `DisplayName`.
11330
+ #
11331
+ # This change affects the following Amazon Web Services Regions: US
11332
+ # East
11333
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
11334
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
11335
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
11336
+ # America (São Paulo) Region.
11337
+ #
11209
11338
  # <note markdown="1"> This operation is not supported for directory buckets.
11210
11339
  #
11211
11340
  # </note>
@@ -11432,6 +11561,19 @@ module Aws::S3
11432
11561
  req.send_request(options)
11433
11562
  end
11434
11563
 
11564
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will stop
11565
+ # returning `DisplayName`. Update your applications to use canonical IDs
11566
+ # (unique identifier for Amazon Web Services accounts), Amazon Web
11567
+ # Services account ID (12 digit identifier) or IAM ARNs (full resource
11568
+ # naming) as a direct replacement of `DisplayName`.
11569
+ #
11570
+ # This change affects the following Amazon Web Services Regions: US
11571
+ # East
11572
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
11573
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
11574
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
11575
+ # America (São Paulo) Region.
11576
+ #
11435
11577
  # This operation lists in-progress multipart uploads in a bucket. An
11436
11578
  # in-progress multipart upload is a multipart upload that has been
11437
11579
  # initiated by the `CreateMultipartUpload` request, but has not yet been
@@ -11878,6 +12020,19 @@ module Aws::S3
11878
12020
  req.send_request(options)
11879
12021
  end
11880
12022
 
12023
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will stop
12024
+ # returning `DisplayName`. Update your applications to use canonical IDs
12025
+ # (unique identifier for Amazon Web Services accounts), Amazon Web
12026
+ # Services account ID (12 digit identifier) or IAM ARNs (full resource
12027
+ # naming) as a direct replacement of `DisplayName`.
12028
+ #
12029
+ # This change affects the following Amazon Web Services Regions: US
12030
+ # East
12031
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
12032
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
12033
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
12034
+ # America (São Paulo) Region.
12035
+ #
11881
12036
  # <note markdown="1"> This operation is not supported for directory buckets.
11882
12037
  #
11883
12038
  # </note>
@@ -12118,6 +12273,19 @@ module Aws::S3
12118
12273
  req.send_request(options)
12119
12274
  end
12120
12275
 
12276
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will stop
12277
+ # returning `DisplayName`. Update your applications to use canonical IDs
12278
+ # (unique identifier for Amazon Web Services accounts), Amazon Web
12279
+ # Services account ID (12 digit identifier) or IAM ARNs (full resource
12280
+ # naming) as a direct replacement of `DisplayName`.
12281
+ #
12282
+ # This change affects the following Amazon Web Services Regions: US
12283
+ # East
12284
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
12285
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
12286
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
12287
+ # America (São Paulo) Region.
12288
+ #
12121
12289
  # <note markdown="1"> This operation is not supported for directory buckets.
12122
12290
  #
12123
12291
  # </note>
@@ -12701,6 +12869,19 @@ module Aws::S3
12701
12869
  req.send_request(options)
12702
12870
  end
12703
12871
 
12872
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will stop
12873
+ # returning `DisplayName`. Update your applications to use canonical IDs
12874
+ # (unique identifier for Amazon Web Services accounts), Amazon Web
12875
+ # Services account ID (12 digit identifier) or IAM ARNs (full resource
12876
+ # naming) as a direct replacement of `DisplayName`.
12877
+ #
12878
+ # This change affects the following Amazon Web Services Regions: US
12879
+ # East
12880
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
12881
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
12882
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
12883
+ # America (São Paulo) Region.
12884
+ #
12704
12885
  # Lists the parts that have been uploaded for a specific multipart
12705
12886
  # upload.
12706
12887
  #
@@ -13129,6 +13310,20 @@ module Aws::S3
13129
13310
  req.send_request(options)
13130
13311
  end
13131
13312
 
13313
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will
13314
+ # discontinue support for creating new Email Grantee Access Control
13315
+ # Lists (ACL). Email Grantee ACLs created prior to this date will
13316
+ # continue to work and remain accessible through the Amazon Web Services
13317
+ # Management Console, Command Line Interface (CLI), SDKs, and REST API.
13318
+ # However, you will no longer be able to create new Email Grantee ACLs.
13319
+ #
13320
+ # This change affects the following Amazon Web Services Regions: US
13321
+ # East
13322
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
13323
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
13324
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
13325
+ # America (São Paulo) Region.
13326
+ #
13132
13327
  # <note markdown="1"> This operation is not supported for directory buckets.
13133
13328
  #
13134
13329
  # </note>
@@ -13235,7 +13430,10 @@ module Aws::S3
13235
13430
  # Grantee Values
13236
13431
  #
13237
13432
  # : You can specify the person (grantee) to whom you're assigning
13238
- # access rights (using request elements) in the following ways:
13433
+ # access rights (using request elements) in the following ways. For
13434
+ # examples of how to specify these grantee values in JSON format, see
13435
+ # the Amazon Web Services CLI example in [ Enabling Amazon S3 server
13436
+ # access logging][6] in the *Amazon S3 User Guide*.
13239
13437
  #
13240
13438
  # * By the person's ID:
13241
13439
  #
@@ -13285,11 +13483,11 @@ module Aws::S3
13285
13483
  #
13286
13484
  # The following operations are related to `PutBucketAcl`:
13287
13485
  #
13288
- # * [CreateBucket][6]
13486
+ # * [CreateBucket][7]
13289
13487
  #
13290
- # * [DeleteBucket][7]
13488
+ # * [DeleteBucket][8]
13291
13489
  #
13292
- # * [GetObjectAcl][8]
13490
+ # * [GetObjectAcl][9]
13293
13491
  #
13294
13492
  #
13295
13493
  #
@@ -13298,9 +13496,10 @@ module Aws::S3
13298
13496
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
13299
13497
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html
13300
13498
  # [5]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
13301
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
13302
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
13303
- # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html
13499
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html
13500
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
13501
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
13502
+ # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html
13304
13503
  #
13305
13504
  # @option params [String] :acl
13306
13505
  # The canned ACL to apply to the bucket.
@@ -14051,6 +14250,11 @@ module Aws::S3
14051
14250
  # @option params [required, String] :id
14052
14251
  # The ID used to identify the S3 Intelligent-Tiering configuration.
14053
14252
  #
14253
+ # @option params [String] :expected_bucket_owner
14254
+ # The account ID of the expected bucket owner. If the account ID that
14255
+ # you provide does not match the actual owner of the bucket, the request
14256
+ # fails with the HTTP status code `403 Forbidden` (access denied).
14257
+ #
14054
14258
  # @option params [required, Types::IntelligentTieringConfiguration] :intelligent_tiering_configuration
14055
14259
  # Container for S3 Intelligent-Tiering configuration.
14056
14260
  #
@@ -14061,6 +14265,7 @@ module Aws::S3
14061
14265
  # resp = client.put_bucket_intelligent_tiering_configuration({
14062
14266
  # bucket: "BucketName", # required
14063
14267
  # id: "IntelligentTieringId", # required
14268
+ # expected_bucket_owner: "AccountId",
14064
14269
  # intelligent_tiering_configuration: { # required
14065
14270
  # id: "IntelligentTieringId", # required
14066
14271
  # filter: {
@@ -14699,6 +14904,20 @@ module Aws::S3
14699
14904
  req.send_request(options)
14700
14905
  end
14701
14906
 
14907
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will
14908
+ # discontinue support for creating new Email Grantee Access Control
14909
+ # Lists (ACL). Email Grantee ACLs created prior to this date will
14910
+ # continue to work and remain accessible through the Amazon Web Services
14911
+ # Management Console, Command Line Interface (CLI), SDKs, and REST API.
14912
+ # However, you will no longer be able to create new Email Grantee ACLs.
14913
+ #
14914
+ # This change affects the following Amazon Web Services Regions: US
14915
+ # East
14916
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
14917
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
14918
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
14919
+ # America (São Paulo) Region.
14920
+ #
14702
14921
  # <note markdown="1"> This operation is not supported for directory buckets.
14703
14922
  #
14704
14923
  # </note>
@@ -14722,7 +14941,10 @@ module Aws::S3
14722
14941
  # Grantee Values
14723
14942
  #
14724
14943
  # : You can specify the person (grantee) to whom you're assigning
14725
- # access rights (by using request elements) in the following ways:
14944
+ # access rights (by using request elements) in the following ways. For
14945
+ # examples of how to specify these grantee values in JSON format, see
14946
+ # the Amazon Web Services CLI example in [ Enabling Amazon S3 server
14947
+ # access logging][2] in the *Amazon S3 User Guide*.
14726
14948
  #
14727
14949
  # * By the person's ID:
14728
14950
  #
@@ -14753,30 +14975,31 @@ module Aws::S3
14753
14975
  # />`
14754
14976
  #
14755
14977
  # For more information about server access logging, see [Server Access
14756
- # Logging][2] in the *Amazon S3 User Guide*.
14978
+ # Logging][3] in the *Amazon S3 User Guide*.
14757
14979
  #
14758
- # For more information about creating a bucket, see [CreateBucket][3].
14980
+ # For more information about creating a bucket, see [CreateBucket][4].
14759
14981
  # For more information about returning the logging status of a bucket,
14760
- # see [GetBucketLogging][4].
14982
+ # see [GetBucketLogging][5].
14761
14983
  #
14762
14984
  # The following operations are related to `PutBucketLogging`:
14763
14985
  #
14764
- # * [PutObject][5]
14986
+ # * [PutObject][6]
14765
14987
  #
14766
- # * [DeleteBucket][6]
14988
+ # * [DeleteBucket][7]
14767
14989
  #
14768
- # * [CreateBucket][3]
14990
+ # * [CreateBucket][4]
14769
14991
  #
14770
- # * [GetBucketLogging][4]
14992
+ # * [GetBucketLogging][5]
14771
14993
  #
14772
14994
  #
14773
14995
  #
14774
14996
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general
14775
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerLogs.html
14776
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
14777
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLogging.html
14778
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
14779
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
14997
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html
14998
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerLogs.html
14999
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
15000
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLogging.html
15001
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
15002
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
14780
15003
  #
14781
15004
  # @option params [required, String] :bucket
14782
15005
  # The name of the bucket for which to set the logging parameters.
@@ -16360,6 +16583,20 @@ module Aws::S3
16360
16583
  req.send_request(options)
16361
16584
  end
16362
16585
 
16586
+ # End of support notice: Beginning October 1, 2025, Amazon S3 will
16587
+ # discontinue support for creating new Email Grantee Access Control
16588
+ # Lists (ACL). Email Grantee ACLs created prior to this date will
16589
+ # continue to work and remain accessible through the Amazon Web Services
16590
+ # Management Console, Command Line Interface (CLI), SDKs, and REST API.
16591
+ # However, you will no longer be able to create new Email Grantee ACLs.
16592
+ #
16593
+ # This change affects the following Amazon Web Services Regions: US
16594
+ # East
16595
+ # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
16596
+ # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
16597
+ # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
16598
+ # America (São Paulo) Region.
16599
+ #
16363
16600
  # Adds an object to a bucket.
16364
16601
  #
16365
16602
  # <note markdown="1"> * Amazon S3 never adds partial objects; if you receive a success
@@ -17479,7 +17716,10 @@ module Aws::S3
17479
17716
  # Grantee Values
17480
17717
  #
17481
17718
  # : You can specify the person (grantee) to whom you're assigning
17482
- # access rights (using request elements) in the following ways:
17719
+ # access rights (using request elements) in the following ways. For
17720
+ # examples of how to specify these grantee values in JSON format, see
17721
+ # the Amazon Web Services CLI example in [ Enabling Amazon S3 server
17722
+ # access logging][6] in the *Amazon S3 User Guide*.
17483
17723
  #
17484
17724
  # * By the person's ID:
17485
17725
  #
@@ -17535,9 +17775,9 @@ module Aws::S3
17535
17775
  #
17536
17776
  # The following operations are related to `PutObjectAcl`:
17537
17777
  #
17538
- # * [CopyObject][6]
17778
+ # * [CopyObject][7]
17539
17779
  #
17540
- # * [GetObject][7]
17780
+ # * [GetObject][8]
17541
17781
  #
17542
17782
  #
17543
17783
  #
@@ -17546,8 +17786,9 @@ module Aws::S3
17546
17786
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
17547
17787
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
17548
17788
  # [5]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
17549
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
17550
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
17789
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html
17790
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
17791
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
17551
17792
  #
17552
17793
  # @option params [String] :acl
17553
17794
  # The canned ACL to apply to the object. For more information, see
@@ -18433,6 +18674,175 @@ module Aws::S3
18433
18674
  req.send_request(options)
18434
18675
  end
18435
18676
 
18677
+ # Renames an existing object in a directory bucket that uses the S3
18678
+ # Express One Zone storage class. You can use `RenameObject` by
18679
+ # specifying an existing object’s name as the source and the new name of
18680
+ # the object as the destination within the same directory bucket.
18681
+ #
18682
+ # <note markdown="1"> `RenameObject` is only supported for objects stored in the S3 Express
18683
+ # One Zone storage class.
18684
+ #
18685
+ # </note>
18686
+ #
18687
+ # To prevent overwriting an object, you can use the `If-None-Match`
18688
+ # conditional header.
18689
+ #
18690
+ # * **If-None-Match** - Renames the object only if an object with the
18691
+ # specified name does not already exist in the directory bucket. If
18692
+ # you don't want to overwrite an existing object, you can add the
18693
+ # `If-None-Match` conditional header with the value `‘*’` in the
18694
+ # `RenameObject` request. Amazon S3 then returns a `412 Precondition
18695
+ # Failed` error if the object with the specified name already exists.
18696
+ # For more information, see [RFC 7232][1].
18697
+ #
18698
+ # ^
18699
+ #
18700
+ # Permissions
18701
+ #
18702
+ # : To grant access to the `RenameObject` operation on a directory
18703
+ # bucket, we recommend that you use the `CreateSession` operation for
18704
+ # session-based authorization. Specifically, you grant the
18705
+ # `s3express:CreateSession` permission to the directory bucket in a
18706
+ # bucket policy or an IAM identity-based policy. Then, you make the
18707
+ # `CreateSession` API call on the directory bucket to obtain a session
18708
+ # token. With the session token in your request header, you can make
18709
+ # API requests to this operation. After the session token expires, you
18710
+ # make another `CreateSession` API call to generate a new session
18711
+ # token for use. The Amazon Web Services CLI and SDKs will create and
18712
+ # manage your session including refreshing the session token
18713
+ # automatically to avoid service interruptions when a session expires.
18714
+ # In your bucket policy, you can specify the `s3express:SessionMode`
18715
+ # condition key to control who can create a `ReadWrite` or `ReadOnly`
18716
+ # session. A `ReadWrite` session is required for executing all the
18717
+ # Zonal endpoint API operations, including `RenameObject`. For more
18718
+ # information about authorization, see [ `CreateSession` ][2]. To
18719
+ # learn more about Zonal endpoint APT operations, see [Authorizing
18720
+ # Zonal endpoint API operations with CreateSession][3] in the *Amazon
18721
+ # S3 User Guide*.
18722
+ #
18723
+ # HTTP Host header syntax
18724
+ #
18725
+ # : <b>Directory buckets </b> - The HTTP Host header syntax is `
18726
+ # Bucket-name.s3express-zone-id.region-code.amazonaws.com`.
18727
+ #
18728
+ #
18729
+ #
18730
+ # [1]: https://datatracker.ietf.org/doc/rfc7232/
18731
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
18732
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-create-session.html
18733
+ #
18734
+ # @option params [required, String] :bucket
18735
+ # The bucket name of the directory bucket containing the object.
18736
+ #
18737
+ # You must use virtual-hosted-style requests in the format
18738
+ # `Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style
18739
+ # requests are not supported. Directory bucket names must be unique in
18740
+ # the chosen Availability Zone. Bucket names must follow the format
18741
+ # `bucket-base-name--zone-id--x-s3 ` (for example,
18742
+ # `amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
18743
+ # naming restrictions, see [Directory bucket naming rules][1] in the
18744
+ # *Amazon S3 User Guide*.
18745
+ #
18746
+ #
18747
+ #
18748
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
18749
+ #
18750
+ # @option params [required, String] :key
18751
+ # Key name of the object to rename.
18752
+ #
18753
+ # @option params [required, String] :rename_source
18754
+ # Specifies the source for the rename operation. The value must be URL
18755
+ # encoded.
18756
+ #
18757
+ # @option params [String] :destination_if_match
18758
+ # Renames the object only if the ETag (entity tag) value provided during
18759
+ # the operation matches the ETag of the object in S3. The `If-Match`
18760
+ # header field makes the request method conditional on ETags. If the
18761
+ # ETag values do not match, the operation returns a `412 Precondition
18762
+ # Failed` error.
18763
+ #
18764
+ # Expects the ETag value as a string.
18765
+ #
18766
+ # @option params [String] :destination_if_none_match
18767
+ # Renames the object only if the destination does not already exist in
18768
+ # the specified directory bucket. If the object does exist when you send
18769
+ # a request with `If-None-Match:*`, the S3 API will return a `412
18770
+ # Precondition Failed` error, preventing an overwrite. The
18771
+ # `If-None-Match` header prevents overwrites of existing data by
18772
+ # validating that there's not an object with the same key name already
18773
+ # in your directory bucket.
18774
+ #
18775
+ # Expects the `*` character (asterisk).
18776
+ #
18777
+ # @option params [Time,DateTime,Date,Integer,String] :destination_if_modified_since
18778
+ # Renames the object if the destination exists and if it has been
18779
+ # modified since the specified time.
18780
+ #
18781
+ # @option params [Time,DateTime,Date,Integer,String] :destination_if_unmodified_since
18782
+ # Renames the object if it hasn't been modified since the specified
18783
+ # time.
18784
+ #
18785
+ # @option params [String] :source_if_match
18786
+ # Renames the object if the source exists and if its entity tag (ETag)
18787
+ # matches the specified ETag.
18788
+ #
18789
+ # @option params [String] :source_if_none_match
18790
+ # Renames the object if the source exists and if its entity tag (ETag)
18791
+ # is different than the specified ETag. If an asterisk (`*`) character
18792
+ # is provided, the operation will fail and return a `412 Precondition
18793
+ # Failed` error.
18794
+ #
18795
+ # @option params [Time,DateTime,Date,Integer,String] :source_if_modified_since
18796
+ # Renames the object if the source exists and if it has been modified
18797
+ # since the specified time.
18798
+ #
18799
+ # @option params [Time,DateTime,Date,Integer,String] :source_if_unmodified_since
18800
+ # Renames the object if the source exists and hasn't been modified
18801
+ # since the specified time.
18802
+ #
18803
+ # @option params [String] :client_token
18804
+ # A unique string with a max of 64 ASCII characters in the ASCII range
18805
+ # of 33 - 126. `RenameObject` supports idempotency using a client token.
18806
+ # To make an idempotent API request using `RenameObject`, specify a
18807
+ # client token in the request. You should not reuse the same client
18808
+ # token for other API requests. If you retry a request that completed
18809
+ # successfully using the same client token and the same parameters, the
18810
+ # retry succeeds without performing any further actions. If you retry a
18811
+ # successful request using the same client token, but one or more of the
18812
+ # parameters are different, the retry fails and an
18813
+ # `IdempotentParameterMismatch` error is returned.
18814
+ #
18815
+ # **A suitable default value is auto-generated.** You should normally
18816
+ # not need to pass this option.**
18817
+ #
18818
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
18819
+ #
18820
+ # @example Request syntax with placeholder values
18821
+ #
18822
+ # resp = client.rename_object({
18823
+ # bucket: "BucketName", # required
18824
+ # key: "ObjectKey", # required
18825
+ # rename_source: "RenameSource", # required
18826
+ # destination_if_match: "IfMatch",
18827
+ # destination_if_none_match: "IfNoneMatch",
18828
+ # destination_if_modified_since: Time.now,
18829
+ # destination_if_unmodified_since: Time.now,
18830
+ # source_if_match: "RenameSourceIfMatch",
18831
+ # source_if_none_match: "RenameSourceIfNoneMatch",
18832
+ # source_if_modified_since: Time.now,
18833
+ # source_if_unmodified_since: Time.now,
18834
+ # client_token: "ClientToken",
18835
+ # })
18836
+ #
18837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RenameObject AWS API Documentation
18838
+ #
18839
+ # @overload rename_object(params = {})
18840
+ # @param [Hash] params ({})
18841
+ def rename_object(params = {}, options = {})
18842
+ req = build_request(:rename_object, params)
18843
+ req.send_request(options)
18844
+ end
18845
+
18436
18846
  # <note markdown="1"> This operation is not supported for directory buckets.
18437
18847
  #
18438
18848
  # </note>
@@ -20722,7 +21132,7 @@ module Aws::S3
20722
21132
  tracer: tracer
20723
21133
  )
20724
21134
  context[:gem_name] = 'aws-sdk-s3'
20725
- context[:gem_version] = '1.189.1'
21135
+ context[:gem_version] = '1.190.0'
20726
21136
  Seahorse::Client::Request.new(handlers, context)
20727
21137
  end
20728
21138