aws-sdk-s3 1.108.0 → 1.109.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +19 -1
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +2 -2
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +2 -2
- data/lib/aws-sdk-s3/client.rb +329 -211
- data/lib/aws-sdk-s3/client_api.rb +1 -0
- data/lib/aws-sdk-s3/object.rb +4 -4
- data/lib/aws-sdk-s3/object_summary.rb +4 -4
- data/lib/aws-sdk-s3/resource.rb +18 -0
- data/lib/aws-sdk-s3/types.rb +94 -46
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -155,7 +155,9 @@ module Aws::S3
|
|
155
155
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
156
156
|
# are very aggressive. Construct and pass an instance of
|
157
157
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
158
|
-
# enable retries and extended timeouts.
|
158
|
+
# enable retries and extended timeouts. Instance profile credential
|
159
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
160
|
+
# to true.
|
159
161
|
#
|
160
162
|
# @option options [required, String] :region
|
161
163
|
# The AWS region to connect to. The configured `:region` is
|
@@ -896,11 +898,28 @@ module Aws::S3
|
|
896
898
|
# Control List (ACL) Overview][10] and [Managing ACLs Using the REST
|
897
899
|
# API][11].
|
898
900
|
#
|
901
|
+
# If the bucket that you're copying objects to uses the bucket owner
|
902
|
+
# enforced setting for S3 Object Ownership, ACLs are disabled and no
|
903
|
+
# longer affect permissions. Buckets that use this setting only accept
|
904
|
+
# PUT requests that don't specify an ACL or PUT requests that specify
|
905
|
+
# bucket owner full control ACLs, such as the
|
906
|
+
# `bucket-owner-full-control` canned ACL or an equivalent form of this
|
907
|
+
# ACL expressed in the XML format.
|
908
|
+
#
|
909
|
+
# For more information, see [ Controlling ownership of objects and
|
910
|
+
# disabling ACLs][12] in the *Amazon S3 User Guide*.
|
911
|
+
#
|
912
|
+
# <note markdown="1"> If your bucket uses the bucket owner enforced setting for Object
|
913
|
+
# Ownership, all objects written to the bucket by any account will be
|
914
|
+
# owned by the bucket owner.
|
915
|
+
#
|
916
|
+
# </note>
|
917
|
+
#
|
899
918
|
# **Storage Class Options**
|
900
919
|
#
|
901
920
|
# You can use the `CopyObject` action to change the storage class of an
|
902
921
|
# object that is already stored in Amazon S3 using the `StorageClass`
|
903
|
-
# parameter. For more information, see [Storage Classes][
|
922
|
+
# parameter. For more information, see [Storage Classes][13] in the
|
904
923
|
# *Amazon S3 User Guide*.
|
905
924
|
#
|
906
925
|
# **Versioning**
|
@@ -921,15 +940,15 @@ module Aws::S3
|
|
921
940
|
#
|
922
941
|
# If the source object's storage class is GLACIER, you must restore a
|
923
942
|
# copy of this object before you can use it as a source object for the
|
924
|
-
# copy operation. For more information, see [RestoreObject][
|
943
|
+
# copy operation. For more information, see [RestoreObject][14].
|
925
944
|
#
|
926
945
|
# The following operations are related to `CopyObject`\:
|
927
946
|
#
|
928
|
-
# * [PutObject][
|
947
|
+
# * [PutObject][15]
|
929
948
|
#
|
930
|
-
# * [GetObject][
|
949
|
+
# * [GetObject][16]
|
931
950
|
#
|
932
|
-
# For more information, see [Copying Objects][
|
951
|
+
# For more information, see [Copying Objects][17].
|
933
952
|
#
|
934
953
|
#
|
935
954
|
#
|
@@ -944,11 +963,12 @@ module Aws::S3
|
|
944
963
|
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
|
945
964
|
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html
|
946
965
|
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-using-rest-api.html
|
947
|
-
# [12]: https://docs.aws.amazon.com/AmazonS3/latest/
|
948
|
-
# [13]: https://docs.aws.amazon.com/AmazonS3/latest/
|
949
|
-
# [14]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
950
|
-
# [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
951
|
-
# [16]: https://docs.aws.amazon.com/AmazonS3/latest/
|
966
|
+
# [12]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
967
|
+
# [13]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
968
|
+
# [14]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html
|
969
|
+
# [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
970
|
+
# [16]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
|
971
|
+
# [17]: https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjectsExamples.html
|
952
972
|
#
|
953
973
|
# @option params [String] :acl
|
954
974
|
# The canned ACL to apply to the object.
|
@@ -1270,7 +1290,7 @@ module Aws::S3
|
|
1270
1290
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
1271
1291
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
1272
1292
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
1273
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
1293
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
1274
1294
|
# website_redirect_location: "WebsiteRedirectLocation",
|
1275
1295
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
1276
1296
|
# sse_customer_key: "SSECustomerKey",
|
@@ -1343,22 +1363,33 @@ module Aws::S3
|
|
1343
1363
|
#
|
1344
1364
|
# </note>
|
1345
1365
|
#
|
1366
|
+
# **Access control lists (ACLs)**
|
1367
|
+
#
|
1346
1368
|
# When creating a bucket using this operation, you can optionally
|
1347
|
-
# specify the accounts or groups that should
|
1348
|
-
# permissions on the bucket.
|
1349
|
-
#
|
1369
|
+
# configure the bucket ACL to specify the accounts or groups that should
|
1370
|
+
# be granted specific permissions on the bucket.
|
1371
|
+
#
|
1372
|
+
# If your CreateBucket request includes the `BucketOwnerEnforced` value
|
1373
|
+
# for the `x-amz-object-ownership` header, your request can either not
|
1374
|
+
# specify an ACL or specify bucket owner full control ACLs, such as the
|
1375
|
+
# `bucket-owner-full-control` canned ACL or an equivalent ACL expressed
|
1376
|
+
# in the XML format. For more information, see [Controlling object
|
1377
|
+
# ownership][5] in the *Amazon S3 User Guide*.
|
1378
|
+
#
|
1379
|
+
# There are two ways to grant the appropriate permissions using the
|
1380
|
+
# request headers.
|
1350
1381
|
#
|
1351
1382
|
# * Specify a canned ACL using the `x-amz-acl` request header. Amazon S3
|
1352
1383
|
# supports a set of predefined ACLs, known as *canned ACLs*. Each
|
1353
1384
|
# canned ACL has a predefined set of grantees and permissions. For
|
1354
|
-
# more information, see [Canned ACL][
|
1385
|
+
# more information, see [Canned ACL][6].
|
1355
1386
|
#
|
1356
1387
|
# * Specify access permissions explicitly using the `x-amz-grant-read`,
|
1357
1388
|
# `x-amz-grant-write`, `x-amz-grant-read-acp`,
|
1358
1389
|
# `x-amz-grant-write-acp`, and `x-amz-grant-full-control` headers.
|
1359
1390
|
# These headers map to the set of permissions Amazon S3 supports in an
|
1360
1391
|
# ACL. For more information, see [Access control list (ACL)
|
1361
|
-
# overview][
|
1392
|
+
# overview][7].
|
1362
1393
|
#
|
1363
1394
|
# You specify each grantee as a type=value pair, where the type is one
|
1364
1395
|
# of the following:
|
@@ -1391,7 +1422,7 @@ module Aws::S3
|
|
1391
1422
|
# * South America (São Paulo)
|
1392
1423
|
#
|
1393
1424
|
# For a list of all the Amazon S3 supported Regions and endpoints,
|
1394
|
-
# see [Regions and Endpoints][
|
1425
|
+
# see [Regions and Endpoints][8] in the Amazon Web Services General
|
1395
1426
|
# Reference.
|
1396
1427
|
#
|
1397
1428
|
# </note>
|
@@ -1409,22 +1440,29 @@ module Aws::S3
|
|
1409
1440
|
#
|
1410
1441
|
# **Permissions**
|
1411
1442
|
#
|
1412
|
-
#
|
1413
|
-
#
|
1414
|
-
# specify access permissions explicitly through any other ACL, both
|
1415
|
-
# `s3:CreateBucket` and `s3:PutBucketAcl` permissions are needed. If the
|
1416
|
-
# ACL the `CreateBucket` request is private, only `s3:CreateBucket`
|
1417
|
-
# permission is needed.
|
1443
|
+
# In addition to `s3:CreateBucket`, the following permissions are
|
1444
|
+
# required when your CreateBucket includes specific headers:
|
1418
1445
|
#
|
1419
|
-
#
|
1420
|
-
#
|
1421
|
-
#
|
1446
|
+
# * **ACLs** - If your `CreateBucket` request specifies ACL permissions
|
1447
|
+
# and the ACL is public-read, public-read-write, authenticated-read,
|
1448
|
+
# or if you specify access permissions explicitly through any other
|
1449
|
+
# ACL, both `s3:CreateBucket` and `s3:PutBucketAcl` permissions are
|
1450
|
+
# needed. If the ACL the `CreateBucket` request is private or doesn't
|
1451
|
+
# specify any ACLs, only `s3:CreateBucket` permission is needed.
|
1452
|
+
#
|
1453
|
+
# * **Object Lock** - If `ObjectLockEnabledForBucket` is set to true in
|
1454
|
+
# your `CreateBucket` request, `s3:PutBucketObjectLockConfiguration`
|
1455
|
+
# and `s3:PutBucketVersioning` permissions are required.
|
1456
|
+
#
|
1457
|
+
# * **S3 Object Ownership** - If your CreateBucket request includes the
|
1458
|
+
# the `x-amz-object-ownership` header, `s3:PutBucketOwnershipControls`
|
1459
|
+
# permission is required.
|
1422
1460
|
#
|
1423
1461
|
# The following operations are related to `CreateBucket`\:
|
1424
1462
|
#
|
1425
|
-
# * [PutObject][
|
1463
|
+
# * [PutObject][9]
|
1426
1464
|
#
|
1427
|
-
# * [DeleteBucket][
|
1465
|
+
# * [DeleteBucket][10]
|
1428
1466
|
#
|
1429
1467
|
#
|
1430
1468
|
#
|
@@ -1432,11 +1470,12 @@ module Aws::S3
|
|
1432
1470
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
|
1433
1471
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro
|
1434
1472
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html
|
1435
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1436
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html
|
1437
|
-
# [7]: https://docs.aws.amazon.com/
|
1438
|
-
# [8]: https://docs.aws.amazon.com/
|
1439
|
-
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
1473
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
1474
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
|
1475
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html
|
1476
|
+
# [8]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
|
1477
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
1478
|
+
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
|
1440
1479
|
#
|
1441
1480
|
# @option params [String] :acl
|
1442
1481
|
# The canned ACL to apply to the bucket.
|
@@ -1470,38 +1509,56 @@ module Aws::S3
|
|
1470
1509
|
# Specifies whether you want S3 Object Lock to be enabled for the new
|
1471
1510
|
# bucket.
|
1472
1511
|
#
|
1512
|
+
# @option params [String] :object_ownership
|
1513
|
+
# The container element for object ownership for a bucket's ownership
|
1514
|
+
# controls.
|
1515
|
+
#
|
1516
|
+
# BucketOwnerPreferred - Objects uploaded to the bucket change ownership
|
1517
|
+
# to the bucket owner if the objects are uploaded with the
|
1518
|
+
# `bucket-owner-full-control` canned ACL.
|
1519
|
+
#
|
1520
|
+
# ObjectWriter - The uploading account will own the object if the object
|
1521
|
+
# is uploaded with the `bucket-owner-full-control` canned ACL.
|
1522
|
+
#
|
1523
|
+
# BucketOwnerEnforced - Access control lists (ACLs) are disabled and no
|
1524
|
+
# longer affect permissions. The bucket owner automatically owns and has
|
1525
|
+
# full control over every object in the bucket. The bucket only accepts
|
1526
|
+
# PUT requests that don't specify an ACL or bucket owner full control
|
1527
|
+
# ACLs, such as the `bucket-owner-full-control` canned ACL or an
|
1528
|
+
# equivalent form of this ACL expressed in the XML format.
|
1529
|
+
#
|
1473
1530
|
# @return [Types::CreateBucketOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1474
1531
|
#
|
1475
1532
|
# * {Types::CreateBucketOutput#location #location} => String
|
1476
1533
|
#
|
1477
1534
|
#
|
1478
|
-
# @example Example: To create a bucket
|
1535
|
+
# @example Example: To create a bucket in a specific region
|
1479
1536
|
#
|
1480
|
-
# # The following example creates a bucket.
|
1537
|
+
# # The following example creates a bucket. The request specifies an AWS region where to create the bucket.
|
1481
1538
|
#
|
1482
1539
|
# resp = client.create_bucket({
|
1483
1540
|
# bucket: "examplebucket",
|
1541
|
+
# create_bucket_configuration: {
|
1542
|
+
# location_constraint: "eu-west-1",
|
1543
|
+
# },
|
1484
1544
|
# })
|
1485
1545
|
#
|
1486
1546
|
# resp.to_h outputs the following:
|
1487
1547
|
# {
|
1488
|
-
# location: "/
|
1548
|
+
# location: "http://examplebucket.<Region>.s3.amazonaws.com/",
|
1489
1549
|
# }
|
1490
1550
|
#
|
1491
|
-
# @example Example: To create a bucket
|
1551
|
+
# @example Example: To create a bucket
|
1492
1552
|
#
|
1493
|
-
# # The following example creates a bucket.
|
1553
|
+
# # The following example creates a bucket.
|
1494
1554
|
#
|
1495
1555
|
# resp = client.create_bucket({
|
1496
1556
|
# bucket: "examplebucket",
|
1497
|
-
# create_bucket_configuration: {
|
1498
|
-
# location_constraint: "eu-west-1",
|
1499
|
-
# },
|
1500
1557
|
# })
|
1501
1558
|
#
|
1502
1559
|
# resp.to_h outputs the following:
|
1503
1560
|
# {
|
1504
|
-
# location: "
|
1561
|
+
# location: "/examplebucket",
|
1505
1562
|
# }
|
1506
1563
|
#
|
1507
1564
|
# @example Request syntax with placeholder values
|
@@ -1518,6 +1575,7 @@ module Aws::S3
|
|
1518
1575
|
# grant_write: "GrantWrite",
|
1519
1576
|
# grant_write_acp: "GrantWriteACP",
|
1520
1577
|
# object_lock_enabled_for_bucket: false,
|
1578
|
+
# object_ownership: "BucketOwnerPreferred", # accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
1521
1579
|
# })
|
1522
1580
|
#
|
1523
1581
|
# @example Response structure
|
@@ -1996,7 +2054,7 @@ module Aws::S3
|
|
1996
2054
|
# "MetadataKey" => "MetadataValue",
|
1997
2055
|
# },
|
1998
2056
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
1999
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
2057
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
2000
2058
|
# website_redirect_location: "WebsiteRedirectLocation",
|
2001
2059
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
2002
2060
|
# sse_customer_key: "SSECustomerKey",
|
@@ -2265,18 +2323,17 @@ module Aws::S3
|
|
2265
2323
|
# storage costs by automatically moving data to the most cost-effective
|
2266
2324
|
# storage access tier, without performance impact or operational
|
2267
2325
|
# overhead. S3 Intelligent-Tiering delivers automatic cost savings in
|
2268
|
-
#
|
2269
|
-
#
|
2270
|
-
#
|
2271
|
-
# class.
|
2326
|
+
# three low latency and high throughput access tiers. To get the lowest
|
2327
|
+
# storage cost on data that can be accessed in minutes to hours, you can
|
2328
|
+
# choose to activate additional archiving capabilities.
|
2272
2329
|
#
|
2273
2330
|
# The S3 Intelligent-Tiering storage class is the ideal storage class
|
2274
2331
|
# for data with unknown, changing, or unpredictable access patterns,
|
2275
2332
|
# independent of object size or retention period. If the size of an
|
2276
|
-
# object is less than 128 KB, it is not eligible for
|
2277
|
-
# Smaller objects can be stored, but they are always
|
2278
|
-
# Frequent Access tier rates in the S3
|
2279
|
-
# class.
|
2333
|
+
# object is less than 128 KB, it is not monitored and not eligible for
|
2334
|
+
# auto-tiering. Smaller objects can be stored, but they are always
|
2335
|
+
# charged at the Frequent Access tier rates in the S3
|
2336
|
+
# Intelligent-Tiering storage class.
|
2280
2337
|
#
|
2281
2338
|
# For more information, see [Storage class for automatically optimizing
|
2282
2339
|
# frequently and infrequently accessed objects][1].
|
@@ -2910,15 +2967,6 @@ module Aws::S3
|
|
2910
2967
|
# * {Types::DeleteObjectOutput#request_charged #request_charged} => String
|
2911
2968
|
#
|
2912
2969
|
#
|
2913
|
-
# @example Example: To delete an object (from a non-versioned bucket)
|
2914
|
-
#
|
2915
|
-
# # The following example deletes an object from a non-versioned bucket.
|
2916
|
-
#
|
2917
|
-
# resp = client.delete_object({
|
2918
|
-
# bucket: "ExampleBucket",
|
2919
|
-
# key: "HappyFace.jpg",
|
2920
|
-
# })
|
2921
|
-
#
|
2922
2970
|
# @example Example: To delete an object
|
2923
2971
|
#
|
2924
2972
|
# # The following example deletes an object from an S3 bucket.
|
@@ -2932,6 +2980,15 @@ module Aws::S3
|
|
2932
2980
|
# {
|
2933
2981
|
# }
|
2934
2982
|
#
|
2983
|
+
# @example Example: To delete an object (from a non-versioned bucket)
|
2984
|
+
#
|
2985
|
+
# # The following example deletes an object from a non-versioned bucket.
|
2986
|
+
#
|
2987
|
+
# resp = client.delete_object({
|
2988
|
+
# bucket: "ExampleBucket",
|
2989
|
+
# key: "HappyFace.jpg",
|
2990
|
+
# })
|
2991
|
+
#
|
2935
2992
|
# @example Request syntax with placeholder values
|
2936
2993
|
#
|
2937
2994
|
# resp = client.delete_object({
|
@@ -3437,15 +3494,24 @@ module Aws::S3
|
|
3437
3494
|
# can return the ACL of the bucket without using an authorization
|
3438
3495
|
# header.
|
3439
3496
|
#
|
3497
|
+
# <note markdown="1"> If your bucket uses the bucket owner enforced setting for S3 Object
|
3498
|
+
# Ownership, requests to read ACLs are still supported and return the
|
3499
|
+
# `bucket-owner-full-control` ACL with the owner being the account that
|
3500
|
+
# created the bucket. For more information, see [ Controlling object
|
3501
|
+
# ownership and disabling ACLs][1] in the *Amazon S3 User Guide*.
|
3502
|
+
#
|
3503
|
+
# </note>
|
3504
|
+
#
|
3440
3505
|
# **Related Resources**
|
3441
3506
|
#
|
3442
|
-
# * [ListObjects][
|
3507
|
+
# * [ListObjects][2]
|
3443
3508
|
#
|
3444
3509
|
# ^
|
3445
3510
|
#
|
3446
3511
|
#
|
3447
3512
|
#
|
3448
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3513
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
3514
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html
|
3449
3515
|
#
|
3450
3516
|
# @option params [required, String] :bucket
|
3451
3517
|
# Specifies the S3 bucket whose ACL is being requested.
|
@@ -3731,18 +3797,17 @@ module Aws::S3
|
|
3731
3797
|
# storage costs by automatically moving data to the most cost-effective
|
3732
3798
|
# storage access tier, without performance impact or operational
|
3733
3799
|
# overhead. S3 Intelligent-Tiering delivers automatic cost savings in
|
3734
|
-
#
|
3735
|
-
#
|
3736
|
-
#
|
3737
|
-
# class.
|
3800
|
+
# three low latency and high throughput access tiers. To get the lowest
|
3801
|
+
# storage cost on data that can be accessed in minutes to hours, you can
|
3802
|
+
# choose to activate additional archiving capabilities.
|
3738
3803
|
#
|
3739
3804
|
# The S3 Intelligent-Tiering storage class is the ideal storage class
|
3740
3805
|
# for data with unknown, changing, or unpredictable access patterns,
|
3741
3806
|
# independent of object size or retention period. If the size of an
|
3742
|
-
# object is less than 128 KB, it is not eligible for
|
3743
|
-
# Smaller objects can be stored, but they are always
|
3744
|
-
# Frequent Access tier rates in the S3
|
3745
|
-
# class.
|
3807
|
+
# object is less than 128 KB, it is not monitored and not eligible for
|
3808
|
+
# auto-tiering. Smaller objects can be stored, but they are always
|
3809
|
+
# charged at the Frequent Access tier rates in the S3
|
3810
|
+
# Intelligent-Tiering storage class.
|
3746
3811
|
#
|
3747
3812
|
# For more information, see [Storage class for automatically optimizing
|
3748
3813
|
# frequently and infrequently accessed objects][1].
|
@@ -3981,9 +4046,9 @@ module Aws::S3
|
|
3981
4046
|
# resp.rules[0].status #=> String, one of "Enabled", "Disabled"
|
3982
4047
|
# resp.rules[0].transition.date #=> Time
|
3983
4048
|
# resp.rules[0].transition.days #=> Integer
|
3984
|
-
# resp.rules[0].transition.storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE"
|
4049
|
+
# resp.rules[0].transition.storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "GLACIER_IR"
|
3985
4050
|
# resp.rules[0].noncurrent_version_transition.noncurrent_days #=> Integer
|
3986
|
-
# resp.rules[0].noncurrent_version_transition.storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE"
|
4051
|
+
# resp.rules[0].noncurrent_version_transition.storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "GLACIER_IR"
|
3987
4052
|
# resp.rules[0].noncurrent_version_transition.newer_noncurrent_versions #=> Integer
|
3988
4053
|
# resp.rules[0].noncurrent_version_expiration.noncurrent_days #=> Integer
|
3989
4054
|
# resp.rules[0].noncurrent_version_expiration.newer_noncurrent_versions #=> Integer
|
@@ -4116,10 +4181,10 @@ module Aws::S3
|
|
4116
4181
|
# resp.rules[0].transitions #=> Array
|
4117
4182
|
# resp.rules[0].transitions[0].date #=> Time
|
4118
4183
|
# resp.rules[0].transitions[0].days #=> Integer
|
4119
|
-
# resp.rules[0].transitions[0].storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE"
|
4184
|
+
# resp.rules[0].transitions[0].storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "GLACIER_IR"
|
4120
4185
|
# resp.rules[0].noncurrent_version_transitions #=> Array
|
4121
4186
|
# resp.rules[0].noncurrent_version_transitions[0].noncurrent_days #=> Integer
|
4122
|
-
# resp.rules[0].noncurrent_version_transitions[0].storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE"
|
4187
|
+
# resp.rules[0].noncurrent_version_transitions[0].storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "GLACIER_IR"
|
4123
4188
|
# resp.rules[0].noncurrent_version_transitions[0].newer_noncurrent_versions #=> Integer
|
4124
4189
|
# resp.rules[0].noncurrent_version_expiration.noncurrent_days #=> Integer
|
4125
4190
|
# resp.rules[0].noncurrent_version_expiration.newer_noncurrent_versions #=> Integer
|
@@ -4538,7 +4603,7 @@ module Aws::S3
|
|
4538
4603
|
# Retrieves `OwnershipControls` for an Amazon S3 bucket. To use this
|
4539
4604
|
# operation, you must have the `s3:GetBucketOwnershipControls`
|
4540
4605
|
# permission. For more information about Amazon S3 permissions, see
|
4541
|
-
# [Specifying
|
4606
|
+
# [Specifying permissions in a policy][1].
|
4542
4607
|
#
|
4543
4608
|
# For information about Amazon S3 Object Ownership, see [Using Object
|
4544
4609
|
# Ownership][2].
|
@@ -4551,8 +4616,8 @@ module Aws::S3
|
|
4551
4616
|
#
|
4552
4617
|
#
|
4553
4618
|
#
|
4554
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
4555
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
4619
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html
|
4620
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
4556
4621
|
#
|
4557
4622
|
# @option params [required, String] :bucket
|
4558
4623
|
# The name of the Amazon S3 bucket whose `OwnershipControls` you want to
|
@@ -4577,7 +4642,7 @@ module Aws::S3
|
|
4577
4642
|
# @example Response structure
|
4578
4643
|
#
|
4579
4644
|
# resp.ownership_controls.rules #=> Array
|
4580
|
-
# resp.ownership_controls.rules[0].object_ownership #=> String, one of "BucketOwnerPreferred", "ObjectWriter"
|
4645
|
+
# resp.ownership_controls.rules[0].object_ownership #=> String, one of "BucketOwnerPreferred", "ObjectWriter", "BucketOwnerEnforced"
|
4581
4646
|
#
|
4582
4647
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketOwnershipControls AWS API Documentation
|
4583
4648
|
#
|
@@ -4826,7 +4891,7 @@ module Aws::S3
|
|
4826
4891
|
# resp.replication_configuration.rules[0].existing_object_replication.status #=> String, one of "Enabled", "Disabled"
|
4827
4892
|
# resp.replication_configuration.rules[0].destination.bucket #=> String
|
4828
4893
|
# resp.replication_configuration.rules[0].destination.account #=> String
|
4829
|
-
# resp.replication_configuration.rules[0].destination.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS"
|
4894
|
+
# resp.replication_configuration.rules[0].destination.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR"
|
4830
4895
|
# resp.replication_configuration.rules[0].destination.access_control_translation.owner #=> String, one of "Destination"
|
4831
4896
|
# resp.replication_configuration.rules[0].destination.encryption_configuration.replica_kms_key_id #=> String
|
4832
4897
|
# resp.replication_configuration.rules[0].destination.replication_time.status #=> String, one of "Enabled", "Disabled"
|
@@ -5597,7 +5662,7 @@ module Aws::S3
|
|
5597
5662
|
# resp.sse_customer_key_md5 #=> String
|
5598
5663
|
# resp.ssekms_key_id #=> String
|
5599
5664
|
# resp.bucket_key_enabled #=> Boolean
|
5600
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS"
|
5665
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR"
|
5601
5666
|
# resp.request_charged #=> String, one of "requester"
|
5602
5667
|
# resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA"
|
5603
5668
|
# resp.parts_count #=> Integer
|
@@ -5626,19 +5691,28 @@ module Aws::S3
|
|
5626
5691
|
# an object. To return ACL information about a different version, use
|
5627
5692
|
# the versionId subresource.
|
5628
5693
|
#
|
5694
|
+
# <note markdown="1"> If your bucket uses the bucket owner enforced setting for S3 Object
|
5695
|
+
# Ownership, requests to read ACLs are still supported and return the
|
5696
|
+
# `bucket-owner-full-control` ACL with the owner being the account that
|
5697
|
+
# created the bucket. For more information, see [ Controlling object
|
5698
|
+
# ownership and disabling ACLs][1] in the *Amazon S3 User Guide*.
|
5699
|
+
#
|
5700
|
+
# </note>
|
5701
|
+
#
|
5629
5702
|
# The following operations are related to `GetObjectAcl`\:
|
5630
5703
|
#
|
5631
|
-
# * [GetObject][
|
5704
|
+
# * [GetObject][2]
|
5632
5705
|
#
|
5633
|
-
# * [DeleteObject][
|
5706
|
+
# * [DeleteObject][3]
|
5634
5707
|
#
|
5635
|
-
# * [PutObject][
|
5708
|
+
# * [PutObject][4]
|
5636
5709
|
#
|
5637
5710
|
#
|
5638
5711
|
#
|
5639
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
5640
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
5641
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
5712
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
5713
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
|
5714
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html
|
5715
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
5642
5716
|
#
|
5643
5717
|
# @option params [required, String] :bucket
|
5644
5718
|
# The bucket name that contains the object for which to get the ACL
|
@@ -6678,7 +6752,7 @@ module Aws::S3
|
|
6678
6752
|
# resp.sse_customer_key_md5 #=> String
|
6679
6753
|
# resp.ssekms_key_id #=> String
|
6680
6754
|
# resp.bucket_key_enabled #=> Boolean
|
6681
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS"
|
6755
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR"
|
6682
6756
|
# resp.request_charged #=> String, one of "requester"
|
6683
6757
|
# resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA"
|
6684
6758
|
# resp.parts_count #=> Integer
|
@@ -6805,18 +6879,17 @@ module Aws::S3
|
|
6805
6879
|
# storage costs by automatically moving data to the most cost-effective
|
6806
6880
|
# storage access tier, without performance impact or operational
|
6807
6881
|
# overhead. S3 Intelligent-Tiering delivers automatic cost savings in
|
6808
|
-
#
|
6809
|
-
#
|
6810
|
-
#
|
6811
|
-
# class.
|
6882
|
+
# three low latency and high throughput access tiers. To get the lowest
|
6883
|
+
# storage cost on data that can be accessed in minutes to hours, you can
|
6884
|
+
# choose to activate additional archiving capabilities.
|
6812
6885
|
#
|
6813
6886
|
# The S3 Intelligent-Tiering storage class is the ideal storage class
|
6814
6887
|
# for data with unknown, changing, or unpredictable access patterns,
|
6815
6888
|
# independent of object size or retention period. If the size of an
|
6816
|
-
# object is less than 128 KB, it is not eligible for
|
6817
|
-
# Smaller objects can be stored, but they are always
|
6818
|
-
# Frequent Access tier rates in the S3
|
6819
|
-
# class.
|
6889
|
+
# object is less than 128 KB, it is not monitored and not eligible for
|
6890
|
+
# auto-tiering. Smaller objects can be stored, but they are always
|
6891
|
+
# charged at the Frequent Access tier rates in the S3
|
6892
|
+
# Intelligent-Tiering storage class.
|
6820
6893
|
#
|
6821
6894
|
# For more information, see [Storage class for automatically optimizing
|
6822
6895
|
# frequently and infrequently accessed objects][1].
|
@@ -7409,7 +7482,7 @@ module Aws::S3
|
|
7409
7482
|
# resp.uploads[0].upload_id #=> String
|
7410
7483
|
# resp.uploads[0].key #=> String
|
7411
7484
|
# resp.uploads[0].initiated #=> Time
|
7412
|
-
# resp.uploads[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS"
|
7485
|
+
# resp.uploads[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR"
|
7413
7486
|
# resp.uploads[0].owner.display_name #=> String
|
7414
7487
|
# resp.uploads[0].owner.id #=> String
|
7415
7488
|
# resp.uploads[0].initiator.id #=> String
|
@@ -7789,7 +7862,7 @@ module Aws::S3
|
|
7789
7862
|
# resp.contents[0].last_modified #=> Time
|
7790
7863
|
# resp.contents[0].etag #=> String
|
7791
7864
|
# resp.contents[0].size #=> Integer
|
7792
|
-
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "OUTPOSTS"
|
7865
|
+
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR"
|
7793
7866
|
# resp.contents[0].owner.display_name #=> String
|
7794
7867
|
# resp.contents[0].owner.id #=> String
|
7795
7868
|
# resp.name #=> String
|
@@ -7994,7 +8067,7 @@ module Aws::S3
|
|
7994
8067
|
# resp.contents[0].last_modified #=> Time
|
7995
8068
|
# resp.contents[0].etag #=> String
|
7996
8069
|
# resp.contents[0].size #=> Integer
|
7997
|
-
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "OUTPOSTS"
|
8070
|
+
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR"
|
7998
8071
|
# resp.contents[0].owner.display_name #=> String
|
7999
8072
|
# resp.contents[0].owner.id #=> String
|
8000
8073
|
# resp.name #=> String
|
@@ -8203,7 +8276,7 @@ module Aws::S3
|
|
8203
8276
|
# resp.initiator.display_name #=> String
|
8204
8277
|
# resp.owner.display_name #=> String
|
8205
8278
|
# resp.owner.id #=> String
|
8206
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS"
|
8279
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR"
|
8207
8280
|
# resp.request_charged #=> String, one of "requester"
|
8208
8281
|
#
|
8209
8282
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts AWS API Documentation
|
@@ -8314,6 +8387,14 @@ module Aws::S3
|
|
8314
8387
|
# you have an existing application that updates a bucket ACL using the
|
8315
8388
|
# request body, then you can continue to use that approach.
|
8316
8389
|
#
|
8390
|
+
# If your bucket uses the bucket owner enforced setting for S3 Object
|
8391
|
+
# Ownership, ACLs are disabled and no longer affect permissions. You
|
8392
|
+
# must use policies to grant access to your bucket and the objects in
|
8393
|
+
# it. Requests to set ACLs or update ACLs fail and return the
|
8394
|
+
# `AccessControlListNotSupported` error code. Requests to read ACLs are
|
8395
|
+
# still supported. For more information, see [Controlling object
|
8396
|
+
# ownership][2] in the *Amazon S3 User Guide*.
|
8397
|
+
#
|
8317
8398
|
# **Access Permissions**
|
8318
8399
|
#
|
8319
8400
|
# You can set access permissions using one of the following methods:
|
@@ -8323,7 +8404,7 @@ module Aws::S3
|
|
8323
8404
|
# canned ACL has a predefined set of grantees and permissions. Specify
|
8324
8405
|
# the canned ACL name as the value of `x-amz-acl`. If you use this
|
8325
8406
|
# header, you cannot use other access control-specific headers in your
|
8326
|
-
# request. For more information, see [Canned ACL][
|
8407
|
+
# request. For more information, see [Canned ACL][3].
|
8327
8408
|
#
|
8328
8409
|
# * Specify access permissions explicitly with the `x-amz-grant-read`,
|
8329
8410
|
# `x-amz-grant-read-acp`, `x-amz-grant-write-acp`, and
|
@@ -8333,7 +8414,7 @@ module Aws::S3
|
|
8333
8414
|
# permission. If you use these ACL-specific headers, you cannot use
|
8334
8415
|
# the `x-amz-acl` header to set a canned ACL. These parameters map to
|
8335
8416
|
# the set of permissions that Amazon S3 supports in an ACL. For more
|
8336
|
-
# information, see [Access Control List (ACL) Overview][
|
8417
|
+
# information, see [Access Control List (ACL) Overview][4].
|
8337
8418
|
#
|
8338
8419
|
# You specify each grantee as a type=value pair, where the type is one
|
8339
8420
|
# of the following:
|
@@ -8366,7 +8447,7 @@ module Aws::S3
|
|
8366
8447
|
# * South America (São Paulo)
|
8367
8448
|
#
|
8368
8449
|
# For a list of all the Amazon S3 supported Regions and endpoints,
|
8369
|
-
# see [Regions and Endpoints][
|
8450
|
+
# see [Regions and Endpoints][5] in the Amazon Web Services General
|
8370
8451
|
# Reference.
|
8371
8452
|
#
|
8372
8453
|
# </note>
|
@@ -8429,28 +8510,29 @@ module Aws::S3
|
|
8429
8510
|
# * South America (São Paulo)
|
8430
8511
|
#
|
8431
8512
|
# For a list of all the Amazon S3 supported Regions and endpoints, see
|
8432
|
-
# [Regions and Endpoints][
|
8513
|
+
# [Regions and Endpoints][5] in the Amazon Web Services General
|
8433
8514
|
# Reference.
|
8434
8515
|
#
|
8435
8516
|
# </note>
|
8436
8517
|
#
|
8437
8518
|
# **Related Resources**
|
8438
8519
|
#
|
8439
|
-
# * [CreateBucket][
|
8520
|
+
# * [CreateBucket][6]
|
8440
8521
|
#
|
8441
|
-
# * [DeleteBucket][
|
8522
|
+
# * [DeleteBucket][7]
|
8442
8523
|
#
|
8443
|
-
# * [GetObjectAcl][
|
8524
|
+
# * [GetObjectAcl][8]
|
8444
8525
|
#
|
8445
8526
|
#
|
8446
8527
|
#
|
8447
8528
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html
|
8448
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
8449
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html
|
8450
|
-
# [4]: https://docs.aws.amazon.com/
|
8451
|
-
# [5]: https://docs.aws.amazon.com/
|
8452
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
8453
|
-
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
8529
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
8530
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
|
8531
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html
|
8532
|
+
# [5]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
|
8533
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
|
8534
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
|
8535
|
+
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html
|
8454
8536
|
#
|
8455
8537
|
# @option params [String] :acl
|
8456
8538
|
# The canned ACL to apply to the bucket.
|
@@ -8950,18 +9032,17 @@ module Aws::S3
|
|
8950
9032
|
# storage costs by automatically moving data to the most cost-effective
|
8951
9033
|
# storage access tier, without performance impact or operational
|
8952
9034
|
# overhead. S3 Intelligent-Tiering delivers automatic cost savings in
|
8953
|
-
#
|
8954
|
-
#
|
8955
|
-
#
|
8956
|
-
# class.
|
9035
|
+
# three low latency and high throughput access tiers. To get the lowest
|
9036
|
+
# storage cost on data that can be accessed in minutes to hours, you can
|
9037
|
+
# choose to activate additional archiving capabilities.
|
8957
9038
|
#
|
8958
9039
|
# The S3 Intelligent-Tiering storage class is the ideal storage class
|
8959
9040
|
# for data with unknown, changing, or unpredictable access patterns,
|
8960
9041
|
# independent of object size or retention period. If the size of an
|
8961
|
-
# object is less than 128 KB, it is not eligible for
|
8962
|
-
# Smaller objects can be stored, but they are always
|
8963
|
-
# Frequent Access tier rates in the S3
|
8964
|
-
# class.
|
9042
|
+
# object is less than 128 KB, it is not monitored and not eligible for
|
9043
|
+
# auto-tiering. Smaller objects can be stored, but they are always
|
9044
|
+
# charged at the Frequent Access tier rates in the S3
|
9045
|
+
# Intelligent-Tiering storage class.
|
8965
9046
|
#
|
8966
9047
|
# For more information, see [Storage class for automatically optimizing
|
8967
9048
|
# frequently and infrequently accessed objects][1].
|
@@ -9298,11 +9379,11 @@ module Aws::S3
|
|
9298
9379
|
# transition: {
|
9299
9380
|
# date: Time.now,
|
9300
9381
|
# days: 1,
|
9301
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
9382
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
9302
9383
|
# },
|
9303
9384
|
# noncurrent_version_transition: {
|
9304
9385
|
# noncurrent_days: 1,
|
9305
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
9386
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
9306
9387
|
# newer_noncurrent_versions: 1,
|
9307
9388
|
# },
|
9308
9389
|
# noncurrent_version_expiration: {
|
@@ -9488,13 +9569,13 @@ module Aws::S3
|
|
9488
9569
|
# {
|
9489
9570
|
# date: Time.now,
|
9490
9571
|
# days: 1,
|
9491
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
9572
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
9492
9573
|
# },
|
9493
9574
|
# ],
|
9494
9575
|
# noncurrent_version_transitions: [
|
9495
9576
|
# {
|
9496
9577
|
# noncurrent_days: 1,
|
9497
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
9578
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
9498
9579
|
# newer_noncurrent_versions: 1,
|
9499
9580
|
# },
|
9500
9581
|
# ],
|
@@ -9530,6 +9611,12 @@ module Aws::S3
|
|
9530
9611
|
# The `Permissions` request element specifies the kind of access the
|
9531
9612
|
# grantee has to the logs.
|
9532
9613
|
#
|
9614
|
+
# If the target bucket for log delivery uses the bucket owner enforced
|
9615
|
+
# setting for S3 Object Ownership, you can't use the `Grantee` request
|
9616
|
+
# element to grant access to others. Permissions can only be granted
|
9617
|
+
# using policies. For more information, see [Permissions for server
|
9618
|
+
# access log delivery][1] in the *Amazon S3 User Guide*.
|
9619
|
+
#
|
9533
9620
|
# **Grantee Values**
|
9534
9621
|
#
|
9535
9622
|
# You can specify the person (grantee) to whom you're assigning access
|
@@ -9564,29 +9651,30 @@ module Aws::S3
|
|
9564
9651
|
# />`
|
9565
9652
|
#
|
9566
9653
|
# For more information about server access logging, see [Server Access
|
9567
|
-
# Logging][
|
9654
|
+
# Logging][2] in the *Amazon S3 User Guide*.
|
9568
9655
|
#
|
9569
|
-
# For more information about creating a bucket, see [CreateBucket][
|
9656
|
+
# For more information about creating a bucket, see [CreateBucket][3].
|
9570
9657
|
# For more information about returning the logging status of a bucket,
|
9571
|
-
# see [GetBucketLogging][
|
9658
|
+
# see [GetBucketLogging][4].
|
9572
9659
|
#
|
9573
9660
|
# The following operations are related to `PutBucketLogging`\:
|
9574
9661
|
#
|
9575
|
-
# * [PutObject][
|
9662
|
+
# * [PutObject][5]
|
9576
9663
|
#
|
9577
|
-
# * [DeleteBucket][
|
9664
|
+
# * [DeleteBucket][6]
|
9578
9665
|
#
|
9579
|
-
# * [CreateBucket][
|
9666
|
+
# * [CreateBucket][3]
|
9580
9667
|
#
|
9581
|
-
# * [GetBucketLogging][
|
9668
|
+
# * [GetBucketLogging][4]
|
9582
9669
|
#
|
9583
9670
|
#
|
9584
9671
|
#
|
9585
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
9586
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
9587
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
9588
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
9589
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
9672
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general
|
9673
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerLogs.html
|
9674
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
|
9675
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLogging.html
|
9676
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
9677
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
|
9590
9678
|
#
|
9591
9679
|
# @option params [required, String] :bucket
|
9592
9680
|
# The name of the bucket for which to set the logging parameters.
|
@@ -10011,10 +10099,10 @@ module Aws::S3
|
|
10011
10099
|
# Creates or modifies `OwnershipControls` for an Amazon S3 bucket. To
|
10012
10100
|
# use this operation, you must have the `s3:PutBucketOwnershipControls`
|
10013
10101
|
# permission. For more information about Amazon S3 permissions, see
|
10014
|
-
# [Specifying
|
10102
|
+
# [Specifying permissions in a policy][1].
|
10015
10103
|
#
|
10016
|
-
# For information about Amazon S3 Object Ownership, see [Using
|
10017
|
-
#
|
10104
|
+
# For information about Amazon S3 Object Ownership, see [Using object
|
10105
|
+
# ownership][2].
|
10018
10106
|
#
|
10019
10107
|
# The following operations are related to `PutBucketOwnershipControls`\:
|
10020
10108
|
#
|
@@ -10024,8 +10112,8 @@ module Aws::S3
|
|
10024
10112
|
#
|
10025
10113
|
#
|
10026
10114
|
#
|
10027
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
10028
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
10115
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/user-guide/using-with-s3-actions.html
|
10116
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/user-guide/about-object-ownership.html
|
10029
10117
|
#
|
10030
10118
|
# @option params [required, String] :bucket
|
10031
10119
|
# The name of the Amazon S3 bucket whose `OwnershipControls` you want to
|
@@ -10044,8 +10132,8 @@ module Aws::S3
|
|
10044
10132
|
# Denied)` error.
|
10045
10133
|
#
|
10046
10134
|
# @option params [required, Types::OwnershipControls] :ownership_controls
|
10047
|
-
# The `OwnershipControls` (BucketOwnerPreferred or
|
10048
|
-
# you want to apply to this Amazon S3 bucket.
|
10135
|
+
# The `OwnershipControls` (BucketOwnerEnforced, BucketOwnerPreferred, or
|
10136
|
+
# ObjectWriter) that you want to apply to this Amazon S3 bucket.
|
10049
10137
|
#
|
10050
10138
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10051
10139
|
#
|
@@ -10058,7 +10146,7 @@ module Aws::S3
|
|
10058
10146
|
# ownership_controls: { # required
|
10059
10147
|
# rules: [ # required
|
10060
10148
|
# {
|
10061
|
-
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
|
10149
|
+
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
10062
10150
|
# },
|
10063
10151
|
# ],
|
10064
10152
|
# },
|
@@ -10331,7 +10419,7 @@ module Aws::S3
|
|
10331
10419
|
# destination: { # required
|
10332
10420
|
# bucket: "BucketName", # required
|
10333
10421
|
# account: "AccountId",
|
10334
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
10422
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
10335
10423
|
# access_control_translation: {
|
10336
10424
|
# owner: "Destination", # required, accepts Destination
|
10337
10425
|
# },
|
@@ -10920,13 +11008,33 @@ module Aws::S3
|
|
10920
11008
|
# information, see [Access Control List (ACL) Overview][4] and [Managing
|
10921
11009
|
# ACLs Using the REST API][5].
|
10922
11010
|
#
|
11011
|
+
# If the bucket that you're uploading objects to uses the bucket owner
|
11012
|
+
# enforced setting for S3 Object Ownership, ACLs are disabled and no
|
11013
|
+
# longer affect permissions. Buckets that use this setting only accept
|
11014
|
+
# PUT requests that don't specify an ACL or PUT requests that specify
|
11015
|
+
# bucket owner full control ACLs, such as the
|
11016
|
+
# `bucket-owner-full-control` canned ACL or an equivalent form of this
|
11017
|
+
# ACL expressed in the XML format. PUT requests that contain other ACLs
|
11018
|
+
# (for example, custom grants to certain Amazon Web Services accounts)
|
11019
|
+
# fail and return a `400` error with the error code
|
11020
|
+
# `AccessControlListNotSupported`.
|
11021
|
+
#
|
11022
|
+
# For more information, see [ Controlling ownership of objects and
|
11023
|
+
# disabling ACLs][6] in the *Amazon S3 User Guide*.
|
11024
|
+
#
|
11025
|
+
# <note markdown="1"> If your bucket uses the bucket owner enforced setting for Object
|
11026
|
+
# Ownership, all objects written to the bucket by any account will be
|
11027
|
+
# owned by the bucket owner.
|
11028
|
+
#
|
11029
|
+
# </note>
|
11030
|
+
#
|
10923
11031
|
# **Storage Class Options**
|
10924
11032
|
#
|
10925
11033
|
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
10926
11034
|
# created objects. The STANDARD storage class provides high durability
|
10927
11035
|
# and high availability. Depending on performance needs, you can specify
|
10928
11036
|
# a different Storage Class. Amazon S3 on Outposts only uses the
|
10929
|
-
# OUTPOSTS Storage Class. For more information, see [Storage Classes][
|
11037
|
+
# OUTPOSTS Storage Class. For more information, see [Storage Classes][7]
|
10930
11038
|
# in the *Amazon S3 User Guide*.
|
10931
11039
|
#
|
10932
11040
|
# **Versioning**
|
@@ -10938,14 +11046,14 @@ module Aws::S3
|
|
10938
11046
|
# object simultaneously, it stores all of the objects.
|
10939
11047
|
#
|
10940
11048
|
# For more information about versioning, see [Adding Objects to
|
10941
|
-
# Versioning Enabled Buckets][
|
10942
|
-
# versioning state of a bucket, see [GetBucketVersioning][
|
11049
|
+
# Versioning Enabled Buckets][8]. For information about returning the
|
11050
|
+
# versioning state of a bucket, see [GetBucketVersioning][9].
|
10943
11051
|
#
|
10944
11052
|
# **Related Resources**
|
10945
11053
|
#
|
10946
|
-
# * [CopyObject][
|
11054
|
+
# * [CopyObject][10]
|
10947
11055
|
#
|
10948
|
-
# * [DeleteObject][
|
11056
|
+
# * [DeleteObject][11]
|
10949
11057
|
#
|
10950
11058
|
#
|
10951
11059
|
#
|
@@ -10954,11 +11062,12 @@ module Aws::S3
|
|
10954
11062
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
|
10955
11063
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html
|
10956
11064
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-using-rest-api.html
|
10957
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
10958
|
-
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/dev/
|
10959
|
-
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/
|
10960
|
-
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
10961
|
-
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
11065
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
11066
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
11067
|
+
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html
|
11068
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html
|
11069
|
+
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
|
11070
|
+
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html
|
10962
11071
|
#
|
10963
11072
|
# @option params [String] :acl
|
10964
11073
|
# The canned ACL to apply to the object. For more information, see
|
@@ -11228,22 +11337,24 @@ module Aws::S3
|
|
11228
11337
|
# * {Types::PutObjectOutput#request_charged #request_charged} => String
|
11229
11338
|
#
|
11230
11339
|
#
|
11231
|
-
# @example Example: To upload an object
|
11340
|
+
# @example Example: To upload an object (specify optional headers)
|
11232
11341
|
#
|
11233
|
-
# # The following example uploads an object. The request specifies optional
|
11234
|
-
# #
|
11342
|
+
# # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
|
11343
|
+
# # storage class and use server-side encryption.
|
11235
11344
|
#
|
11236
11345
|
# resp = client.put_object({
|
11237
|
-
# body: "
|
11346
|
+
# body: "HappyFace.jpg",
|
11238
11347
|
# bucket: "examplebucket",
|
11239
11348
|
# key: "HappyFace.jpg",
|
11240
|
-
#
|
11349
|
+
# server_side_encryption: "AES256",
|
11350
|
+
# storage_class: "STANDARD_IA",
|
11241
11351
|
# })
|
11242
11352
|
#
|
11243
11353
|
# resp.to_h outputs the following:
|
11244
11354
|
# {
|
11245
11355
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11246
|
-
#
|
11356
|
+
# server_side_encryption: "AES256",
|
11357
|
+
# version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
|
11247
11358
|
# }
|
11248
11359
|
#
|
11249
11360
|
# @example Example: To upload an object and specify canned ACL.
|
@@ -11264,98 +11375,96 @@ module Aws::S3
|
|
11264
11375
|
# version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
|
11265
11376
|
# }
|
11266
11377
|
#
|
11267
|
-
# @example Example: To upload an object
|
11378
|
+
# @example Example: To upload an object
|
11268
11379
|
#
|
11269
|
-
# # The following example uploads
|
11270
|
-
# #
|
11380
|
+
# # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
|
11381
|
+
# # syntax. S3 returns VersionId of the newly created object.
|
11271
11382
|
#
|
11272
11383
|
# resp = client.put_object({
|
11273
|
-
# body: "
|
11384
|
+
# body: "HappyFace.jpg",
|
11274
11385
|
# bucket: "examplebucket",
|
11275
|
-
# key: "
|
11276
|
-
# server_side_encryption: "AES256",
|
11277
|
-
# tagging: "key1=value1&key2=value2",
|
11386
|
+
# key: "HappyFace.jpg",
|
11278
11387
|
# })
|
11279
11388
|
#
|
11280
11389
|
# resp.to_h outputs the following:
|
11281
11390
|
# {
|
11282
11391
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11283
|
-
#
|
11284
|
-
# version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
|
11392
|
+
# version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
|
11285
11393
|
# }
|
11286
11394
|
#
|
11287
|
-
# @example Example: To
|
11395
|
+
# @example Example: To upload an object and specify optional tags
|
11288
11396
|
#
|
11289
|
-
# # The following example
|
11397
|
+
# # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
|
11398
|
+
# # S3 returns version ID of the newly created object.
|
11290
11399
|
#
|
11291
11400
|
# resp = client.put_object({
|
11292
|
-
# body: "
|
11401
|
+
# body: "c:\\HappyFace.jpg",
|
11293
11402
|
# bucket: "examplebucket",
|
11294
|
-
# key: "
|
11403
|
+
# key: "HappyFace.jpg",
|
11404
|
+
# tagging: "key1=value1&key2=value2",
|
11295
11405
|
# })
|
11296
11406
|
#
|
11297
11407
|
# resp.to_h outputs the following:
|
11298
11408
|
# {
|
11299
11409
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11300
|
-
# version_id: "
|
11410
|
+
# version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
|
11301
11411
|
# }
|
11302
11412
|
#
|
11303
|
-
# @example Example: To upload
|
11413
|
+
# @example Example: To upload object and specify user-defined metadata
|
11304
11414
|
#
|
11305
|
-
# # The following example
|
11306
|
-
# #
|
11415
|
+
# # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
|
11416
|
+
# # enabled, S3 returns version ID in response.
|
11307
11417
|
#
|
11308
11418
|
# resp = client.put_object({
|
11309
|
-
# body: "
|
11419
|
+
# body: "filetoupload",
|
11310
11420
|
# bucket: "examplebucket",
|
11311
|
-
# key: "
|
11421
|
+
# key: "exampleobject",
|
11422
|
+
# metadata: {
|
11423
|
+
# "metadata1" => "value1",
|
11424
|
+
# "metadata2" => "value2",
|
11425
|
+
# },
|
11312
11426
|
# })
|
11313
11427
|
#
|
11314
11428
|
# resp.to_h outputs the following:
|
11315
11429
|
# {
|
11316
11430
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11317
|
-
# version_id: "
|
11431
|
+
# version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
|
11318
11432
|
# }
|
11319
11433
|
#
|
11320
|
-
# @example Example: To upload an object
|
11434
|
+
# @example Example: To upload an object and specify server-side encryption and object tags
|
11321
11435
|
#
|
11322
|
-
# # The following example uploads
|
11323
|
-
# #
|
11436
|
+
# # The following example uploads and object. The request specifies the optional server-side encryption option. The request
|
11437
|
+
# # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
|
11324
11438
|
#
|
11325
11439
|
# resp = client.put_object({
|
11326
|
-
# body: "
|
11440
|
+
# body: "filetoupload",
|
11327
11441
|
# bucket: "examplebucket",
|
11328
|
-
# key: "
|
11442
|
+
# key: "exampleobject",
|
11329
11443
|
# server_side_encryption: "AES256",
|
11330
|
-
#
|
11444
|
+
# tagging: "key1=value1&key2=value2",
|
11331
11445
|
# })
|
11332
11446
|
#
|
11333
11447
|
# resp.to_h outputs the following:
|
11334
11448
|
# {
|
11335
11449
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11336
11450
|
# server_side_encryption: "AES256",
|
11337
|
-
# version_id: "
|
11451
|
+
# version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
|
11338
11452
|
# }
|
11339
11453
|
#
|
11340
|
-
# @example Example: To
|
11454
|
+
# @example Example: To create an object.
|
11341
11455
|
#
|
11342
|
-
# # The following example creates an object.
|
11343
|
-
# # enabled, S3 returns version ID in response.
|
11456
|
+
# # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
|
11344
11457
|
#
|
11345
11458
|
# resp = client.put_object({
|
11346
11459
|
# body: "filetoupload",
|
11347
11460
|
# bucket: "examplebucket",
|
11348
|
-
# key: "
|
11349
|
-
# metadata: {
|
11350
|
-
# "metadata1" => "value1",
|
11351
|
-
# "metadata2" => "value2",
|
11352
|
-
# },
|
11461
|
+
# key: "objectkey",
|
11353
11462
|
# })
|
11354
11463
|
#
|
11355
11464
|
# resp.to_h outputs the following:
|
11356
11465
|
# {
|
11357
11466
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
11358
|
-
# version_id: "
|
11467
|
+
# version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
|
11359
11468
|
# }
|
11360
11469
|
#
|
11361
11470
|
# @example Streaming a file from disk
|
@@ -11387,7 +11496,7 @@ module Aws::S3
|
|
11387
11496
|
# "MetadataKey" => "MetadataValue",
|
11388
11497
|
# },
|
11389
11498
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
11390
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
11499
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
11391
11500
|
# website_redirect_location: "WebsiteRedirectLocation",
|
11392
11501
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
11393
11502
|
# sse_customer_key: "SSECustomerKey",
|
@@ -11440,6 +11549,14 @@ module Aws::S3
|
|
11440
11549
|
# information, see [Access Control List (ACL) Overview][2] in the
|
11441
11550
|
# *Amazon S3 User Guide*.
|
11442
11551
|
#
|
11552
|
+
# If your bucket uses the bucket owner enforced setting for S3 Object
|
11553
|
+
# Ownership, ACLs are disabled and no longer affect permissions. You
|
11554
|
+
# must use policies to grant access to your bucket and the objects in
|
11555
|
+
# it. Requests to set ACLs or update ACLs fail and return the
|
11556
|
+
# `AccessControlListNotSupported` error code. Requests to read ACLs are
|
11557
|
+
# still supported. For more information, see [Controlling object
|
11558
|
+
# ownership][3] in the *Amazon S3 User Guide*.
|
11559
|
+
#
|
11443
11560
|
# **Access Permissions**
|
11444
11561
|
#
|
11445
11562
|
# You can set access permissions using one of the following methods:
|
@@ -11449,7 +11566,7 @@ module Aws::S3
|
|
11449
11566
|
# ACL has a predefined set of grantees and permissions. Specify the
|
11450
11567
|
# canned ACL name as the value of `x-amz-ac`l. If you use this header,
|
11451
11568
|
# you cannot use other access control-specific headers in your
|
11452
|
-
# request. For more information, see [Canned ACL][
|
11569
|
+
# request. For more information, see [Canned ACL][4].
|
11453
11570
|
#
|
11454
11571
|
# * Specify access permissions explicitly with the `x-amz-grant-read`,
|
11455
11572
|
# `x-amz-grant-read-acp`, `x-amz-grant-write-acp`, and
|
@@ -11492,7 +11609,7 @@ module Aws::S3
|
|
11492
11609
|
# * South America (São Paulo)
|
11493
11610
|
#
|
11494
11611
|
# For a list of all the Amazon S3 supported Regions and endpoints,
|
11495
|
-
# see [Regions and Endpoints][
|
11612
|
+
# see [Regions and Endpoints][5] in the Amazon Web Services General
|
11496
11613
|
# Reference.
|
11497
11614
|
#
|
11498
11615
|
# </note>
|
@@ -11553,7 +11670,7 @@ module Aws::S3
|
|
11553
11670
|
# * South America (São Paulo)
|
11554
11671
|
#
|
11555
11672
|
# For a list of all the Amazon S3 supported Regions and endpoints, see
|
11556
|
-
# [Regions and Endpoints][
|
11673
|
+
# [Regions and Endpoints][5] in the Amazon Web Services General
|
11557
11674
|
# Reference.
|
11558
11675
|
#
|
11559
11676
|
# </note>
|
@@ -11566,18 +11683,19 @@ module Aws::S3
|
|
11566
11683
|
#
|
11567
11684
|
# **Related Resources**
|
11568
11685
|
#
|
11569
|
-
# * [CopyObject][
|
11686
|
+
# * [CopyObject][6]
|
11570
11687
|
#
|
11571
|
-
# * [GetObject][
|
11688
|
+
# * [GetObject][7]
|
11572
11689
|
#
|
11573
11690
|
#
|
11574
11691
|
#
|
11575
11692
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#permissions
|
11576
11693
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html
|
11577
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
11578
|
-
# [4]: https://docs.aws.amazon.com/
|
11579
|
-
# [5]: https://docs.aws.amazon.com/
|
11580
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
11694
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
11695
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
|
11696
|
+
# [5]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
|
11697
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
|
11698
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
|
11581
11699
|
#
|
11582
11700
|
# @option params [String] :acl
|
11583
11701
|
# The canned ACL to apply to the object. For more information, see
|
@@ -12711,7 +12829,7 @@ module Aws::S3
|
|
12711
12829
|
# value: "MetadataValue",
|
12712
12830
|
# },
|
12713
12831
|
# ],
|
12714
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
12832
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
12715
12833
|
# },
|
12716
12834
|
# },
|
12717
12835
|
# },
|
@@ -14069,7 +14187,7 @@ module Aws::S3
|
|
14069
14187
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
14070
14188
|
# ssekms_key_id: "SSEKMSKeyId",
|
14071
14189
|
# sse_customer_key_md5: "SSECustomerKeyMD5",
|
14072
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
14190
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
14073
14191
|
# tag_count: 1,
|
14074
14192
|
# version_id: "ObjectVersionId",
|
14075
14193
|
# bucket_key_enabled: false,
|
@@ -14097,7 +14215,7 @@ module Aws::S3
|
|
14097
14215
|
params: params,
|
14098
14216
|
config: config)
|
14099
14217
|
context[:gem_name] = 'aws-sdk-s3'
|
14100
|
-
context[:gem_version] = '1.
|
14218
|
+
context[:gem_version] = '1.109.0'
|
14101
14219
|
Seahorse::Client::Request.new(handlers, context)
|
14102
14220
|
end
|
14103
14221
|
|