aws-sdk-s3 1.25.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f82ac633ab18e80f351edfde1c2525d6d507074
4
- data.tar.gz: 7bf177c6511fdc8f0dde81eed7aa33505a4525f0
3
+ metadata.gz: bfefc605c38869ca73d95bf340ec72152f38fb32
4
+ data.tar.gz: 17d72b618c0f0a4e41b0437b22a7222abb630347
5
5
  SHA512:
6
- metadata.gz: d6821f78d22f7466bdd035a73a995bde491604a91f8c71e069e64929d92b761b4b77b6ed40234028cbef7744497c4f253415249ee0b06d6a6cd9f29d896a9360
7
- data.tar.gz: cbb2d25951c5f24330cc28a722089d622a67817b0dfe5172cdab113c20f4f4ebb34a228f1f0da0c71354f48ec2998e0773aed0e4d96c0a9738058b617282db5a
6
+ metadata.gz: 5c98283fbf9d22c83cd858625fb97e29a9e7ccbd7685d78396e0002d54bc1a89e35e5973665d7fc40d03c468dc62206c2d83183713c5ad2042edd105faed76ae
7
+ data.tar.gz: f618c7cecd838cce63980ee14c4d9d06801ea55d139454dda44568ada9f2827db343821eb1798e3bc29d804c62c267876557c0ff7876ea6fd71c73b56121705e
@@ -63,6 +63,6 @@ require_relative 'aws-sdk-s3/event_streams'
63
63
  # @service
64
64
  module Aws::S3
65
65
 
66
- GEM_VERSION = '1.25.0'
66
+ GEM_VERSION = '1.26.0'
67
67
 
68
68
  end
@@ -313,7 +313,7 @@ module Aws::S3
313
313
  # "MetadataKey" => "MetadataValue",
314
314
  # },
315
315
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
316
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
316
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
317
317
  # website_redirect_location: "WebsiteRedirectLocation",
318
318
  # sse_customer_algorithm: "SSECustomerAlgorithm",
319
319
  # sse_customer_key: "SSECustomerKey",
@@ -196,11 +196,11 @@ module Aws::S3
196
196
  # transition: {
197
197
  # date: Time.now,
198
198
  # days: 1,
199
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
199
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
200
200
  # },
201
201
  # noncurrent_version_transition: {
202
202
  # noncurrent_days: 1,
203
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
203
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
204
204
  # },
205
205
  # noncurrent_version_expiration: {
206
206
  # noncurrent_days: 1,
@@ -212,13 +212,13 @@ module Aws::S3
212
212
  # {
213
213
  # date: Time.now,
214
214
  # days: 1,
215
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
215
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
216
216
  # },
217
217
  # ],
218
218
  # noncurrent_version_transitions: [
219
219
  # {
220
220
  # noncurrent_days: 1,
221
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
221
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
222
222
  # },
223
223
  # ],
224
224
  # noncurrent_version_expiration: {
@@ -612,7 +612,7 @@ module Aws::S3
612
612
  # metadata_directive: "COPY", # accepts COPY, REPLACE
613
613
  # tagging_directive: "COPY", # accepts COPY, REPLACE
614
614
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
615
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
615
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
616
616
  # website_redirect_location: "WebsiteRedirectLocation",
617
617
  # sse_customer_algorithm: "SSECustomerAlgorithm",
618
618
  # sse_customer_key: "SSECustomerKey",
@@ -882,7 +882,7 @@ module Aws::S3
882
882
  # "MetadataKey" => "MetadataValue",
883
883
  # },
884
884
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
885
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
885
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
886
886
  # website_redirect_location: "WebsiteRedirectLocation",
887
887
  # sse_customer_algorithm: "SSECustomerAlgorithm",
888
888
  # sse_customer_key: "SSECustomerKey",
@@ -1408,20 +1408,22 @@ module Aws::S3
1408
1408
  # * {Types::DeleteObjectsOutput#errors #errors} => Array<Types::Error>
1409
1409
  #
1410
1410
  #
1411
- # @example Example: To delete multiple objects from a versioned bucket
1411
+ # @example Example: To delete multiple object versions from a versioned bucket
1412
1412
  #
1413
- # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
1414
- # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
1413
+ # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
1414
+ # # versions and returns the key and versions of deleted objects in the response.
1415
1415
  #
1416
1416
  # resp = client.delete_objects({
1417
1417
  # bucket: "examplebucket",
1418
1418
  # delete: {
1419
1419
  # objects: [
1420
1420
  # {
1421
- # key: "objectkey1",
1421
+ # key: "HappyFace.jpg",
1422
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
1422
1423
  # },
1423
1424
  # {
1424
- # key: "objectkey2",
1425
+ # key: "HappyFace.jpg",
1426
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
1425
1427
  # },
1426
1428
  # ],
1427
1429
  # quiet: false,
@@ -1432,34 +1434,30 @@ module Aws::S3
1432
1434
  # {
1433
1435
  # deleted: [
1434
1436
  # {
1435
- # delete_marker: true,
1436
- # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
1437
- # key: "objectkey1",
1437
+ # key: "HappyFace.jpg",
1438
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
1438
1439
  # },
1439
1440
  # {
1440
- # delete_marker: true,
1441
- # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
1442
- # key: "objectkey2",
1441
+ # key: "HappyFace.jpg",
1442
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
1443
1443
  # },
1444
1444
  # ],
1445
1445
  # }
1446
1446
  #
1447
- # @example Example: To delete multiple object versions from a versioned bucket
1447
+ # @example Example: To delete multiple objects from a versioned bucket
1448
1448
  #
1449
- # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
1450
- # # versions and returns the key and versions of deleted objects in the response.
1449
+ # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
1450
+ # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
1451
1451
  #
1452
1452
  # resp = client.delete_objects({
1453
1453
  # bucket: "examplebucket",
1454
1454
  # delete: {
1455
1455
  # objects: [
1456
1456
  # {
1457
- # key: "HappyFace.jpg",
1458
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
1457
+ # key: "objectkey1",
1459
1458
  # },
1460
1459
  # {
1461
- # key: "HappyFace.jpg",
1462
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
1460
+ # key: "objectkey2",
1463
1461
  # },
1464
1462
  # ],
1465
1463
  # quiet: false,
@@ -1470,12 +1468,14 @@ module Aws::S3
1470
1468
  # {
1471
1469
  # deleted: [
1472
1470
  # {
1473
- # key: "HappyFace.jpg",
1474
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
1471
+ # delete_marker: true,
1472
+ # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
1473
+ # key: "objectkey1",
1475
1474
  # },
1476
1475
  # {
1477
- # key: "HappyFace.jpg",
1478
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
1476
+ # delete_marker: true,
1477
+ # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
1478
+ # key: "objectkey2",
1479
1479
  # },
1480
1480
  # ],
1481
1481
  # }
@@ -1520,10 +1520,11 @@ module Aws::S3
1520
1520
  req.send_request(options)
1521
1521
  end
1522
1522
 
1523
- # Removes the Public Access Block configuration for an Amazon S3 bucket.
1523
+ # Removes the `PublicAccessBlock` configuration from an Amazon S3
1524
+ # bucket.
1524
1525
  #
1525
1526
  # @option params [required, String] :bucket
1526
- # The Amazon S3 bucket whose Public Access Block configuration you want
1527
+ # The Amazon S3 bucket whose `PublicAccessBlock` configuration you want
1527
1528
  # to delete.
1528
1529
  #
1529
1530
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -1841,9 +1842,9 @@ module Aws::S3
1841
1842
  # resp.rules[0].status #=> String, one of "Enabled", "Disabled"
1842
1843
  # resp.rules[0].transition.date #=> Time
1843
1844
  # resp.rules[0].transition.days #=> Integer
1844
- # resp.rules[0].transition.storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA"
1845
+ # resp.rules[0].transition.storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
1845
1846
  # resp.rules[0].noncurrent_version_transition.noncurrent_days #=> Integer
1846
- # resp.rules[0].noncurrent_version_transition.storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA"
1847
+ # resp.rules[0].noncurrent_version_transition.storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
1847
1848
  # resp.rules[0].noncurrent_version_expiration.noncurrent_days #=> Integer
1848
1849
  # resp.rules[0].abort_incomplete_multipart_upload.days_after_initiation #=> Integer
1849
1850
  #
@@ -1915,10 +1916,10 @@ module Aws::S3
1915
1916
  # resp.rules[0].transitions #=> Array
1916
1917
  # resp.rules[0].transitions[0].date #=> Time
1917
1918
  # resp.rules[0].transitions[0].days #=> Integer
1918
- # resp.rules[0].transitions[0].storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA"
1919
+ # resp.rules[0].transitions[0].storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
1919
1920
  # resp.rules[0].noncurrent_version_transitions #=> Array
1920
1921
  # resp.rules[0].noncurrent_version_transitions[0].noncurrent_days #=> Integer
1921
- # resp.rules[0].noncurrent_version_transitions[0].storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA"
1922
+ # resp.rules[0].noncurrent_version_transitions[0].storage_class #=> String, one of "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
1922
1923
  # resp.rules[0].noncurrent_version_expiration.noncurrent_days #=> Integer
1923
1924
  # resp.rules[0].abort_incomplete_multipart_upload.days_after_initiation #=> Integer
1924
1925
  #
@@ -2250,8 +2251,8 @@ module Aws::S3
2250
2251
  # whether the bucket is public.
2251
2252
  #
2252
2253
  # @option params [required, String] :bucket
2253
- # The name of the Amazon S3 bucket whose public-policy status you want
2254
- # to retrieve.
2254
+ # The name of the Amazon S3 bucket whose policy status you want to
2255
+ # retrieve.
2255
2256
  #
2256
2257
  # @return [Types::GetBucketPolicyStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2257
2258
  #
@@ -2340,7 +2341,7 @@ module Aws::S3
2340
2341
  # resp.replication_configuration.rules[0].source_selection_criteria.sse_kms_encrypted_objects.status #=> String, one of "Enabled", "Disabled"
2341
2342
  # resp.replication_configuration.rules[0].destination.bucket #=> String
2342
2343
  # resp.replication_configuration.rules[0].destination.account #=> String
2343
- # resp.replication_configuration.rules[0].destination.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA"
2344
+ # resp.replication_configuration.rules[0].destination.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
2344
2345
  # resp.replication_configuration.rules[0].destination.access_control_translation.owner #=> String, one of "Destination"
2345
2346
  # resp.replication_configuration.rules[0].destination.encryption_configuration.replica_kms_key_id #=> String
2346
2347
  # resp.replication_configuration.rules[0].delete_marker_replication.status #=> String, one of "Enabled", "Disabled"
@@ -2788,7 +2789,7 @@ module Aws::S3
2788
2789
  # resp.sse_customer_algorithm #=> String
2789
2790
  # resp.sse_customer_key_md5 #=> String
2790
2791
  # resp.ssekms_key_id #=> String
2791
- # resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA"
2792
+ # resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
2792
2793
  # resp.request_charged #=> String, one of "requester"
2793
2794
  # resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA"
2794
2795
  # resp.parts_count #=> Integer
@@ -3048,11 +3049,11 @@ module Aws::S3
3048
3049
  req.send_request(options, &block)
3049
3050
  end
3050
3051
 
3051
- # Retrieves the Public Access Block configuration for an Amazon S3
3052
+ # Retrieves the `PublicAccessBlock` configuration for an Amazon S3
3052
3053
  # bucket.
3053
3054
  #
3054
3055
  # @option params [required, String] :bucket
3055
- # The name of the Amazon S3 bucket whose Public Access Block
3056
+ # The name of the Amazon S3 bucket whose `PublicAccessBlock`
3056
3057
  # configuration you want to retrieve.
3057
3058
  #
3058
3059
  # @return [Types::GetPublicAccessBlockOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -3268,7 +3269,7 @@ module Aws::S3
3268
3269
  # resp.sse_customer_algorithm #=> String
3269
3270
  # resp.sse_customer_key_md5 #=> String
3270
3271
  # resp.ssekms_key_id #=> String
3271
- # resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA"
3272
+ # resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
3272
3273
  # resp.request_charged #=> String, one of "requester"
3273
3274
  # resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA"
3274
3275
  # resp.parts_count #=> Integer
@@ -3667,7 +3668,7 @@ module Aws::S3
3667
3668
  # resp.uploads[0].upload_id #=> String
3668
3669
  # resp.uploads[0].key #=> String
3669
3670
  # resp.uploads[0].initiated #=> Time
3670
- # resp.uploads[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA"
3671
+ # resp.uploads[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
3671
3672
  # resp.uploads[0].owner.display_name #=> String
3672
3673
  # resp.uploads[0].owner.id #=> String
3673
3674
  # resp.uploads[0].initiator.id #=> String
@@ -3932,7 +3933,7 @@ module Aws::S3
3932
3933
  # resp.contents[0].last_modified #=> Time
3933
3934
  # resp.contents[0].etag #=> String
3934
3935
  # resp.contents[0].size #=> Integer
3935
- # resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA"
3936
+ # resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
3936
3937
  # resp.contents[0].owner.display_name #=> String
3937
3938
  # resp.contents[0].owner.id #=> String
3938
3939
  # resp.name #=> String
@@ -4068,7 +4069,7 @@ module Aws::S3
4068
4069
  # resp.contents[0].last_modified #=> Time
4069
4070
  # resp.contents[0].etag #=> String
4070
4071
  # resp.contents[0].size #=> Integer
4071
- # resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA"
4072
+ # resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
4072
4073
  # resp.contents[0].owner.display_name #=> String
4073
4074
  # resp.contents[0].owner.id #=> String
4074
4075
  # resp.name #=> String
@@ -4203,7 +4204,7 @@ module Aws::S3
4203
4204
  # resp.initiator.display_name #=> String
4204
4205
  # resp.owner.display_name #=> String
4205
4206
  # resp.owner.id #=> String
4206
- # resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA"
4207
+ # resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING"
4207
4208
  # resp.request_charged #=> String, one of "requester"
4208
4209
  #
4209
4210
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts AWS API Documentation
@@ -4599,11 +4600,11 @@ module Aws::S3
4599
4600
  # transition: {
4600
4601
  # date: Time.now,
4601
4602
  # days: 1,
4602
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
4603
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
4603
4604
  # },
4604
4605
  # noncurrent_version_transition: {
4605
4606
  # noncurrent_days: 1,
4606
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
4607
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
4607
4608
  # },
4608
4609
  # noncurrent_version_expiration: {
4609
4610
  # noncurrent_days: 1,
@@ -4698,13 +4699,13 @@ module Aws::S3
4698
4699
  # {
4699
4700
  # date: Time.now,
4700
4701
  # days: 1,
4701
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
4702
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
4702
4703
  # },
4703
4704
  # ],
4704
4705
  # noncurrent_version_transitions: [
4705
4706
  # {
4706
4707
  # noncurrent_days: 1,
4707
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
4708
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
4708
4709
  # },
4709
4710
  # ],
4710
4711
  # noncurrent_version_expiration: {
@@ -5110,7 +5111,7 @@ module Aws::S3
5110
5111
  # destination: { # required
5111
5112
  # bucket: "BucketName", # required
5112
5113
  # account: "AccountId",
5113
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
5114
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
5114
5115
  # access_control_translation: {
5115
5116
  # owner: "Destination", # required, accepts Destination
5116
5117
  # },
@@ -5471,134 +5472,134 @@ module Aws::S3
5471
5472
  # * {Types::PutObjectOutput#request_charged #request_charged} => String
5472
5473
  #
5473
5474
  #
5474
- # @example Example: To create an object.
5475
+ # @example Example: To upload an object and specify server-side encryption and object tags
5475
5476
  #
5476
- # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
5477
+ # # The following example uploads and object. The request specifies the optional server-side encryption option. The request
5478
+ # # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
5477
5479
  #
5478
5480
  # resp = client.put_object({
5479
5481
  # body: "filetoupload",
5480
5482
  # bucket: "examplebucket",
5481
- # key: "objectkey",
5483
+ # key: "exampleobject",
5484
+ # server_side_encryption: "AES256",
5485
+ # tagging: "key1=value1&key2=value2",
5482
5486
  # })
5483
5487
  #
5484
5488
  # resp.to_h outputs the following:
5485
5489
  # {
5486
5490
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5487
- # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
5491
+ # server_side_encryption: "AES256",
5492
+ # version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
5488
5493
  # }
5489
5494
  #
5490
- # @example Example: To upload object and specify user-defined metadata
5495
+ # @example Example: To upload an object and specify canned ACL.
5491
5496
  #
5492
- # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
5493
- # # enabled, S3 returns version ID in response.
5497
+ # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
5498
+ # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
5494
5499
  #
5495
5500
  # resp = client.put_object({
5501
+ # acl: "authenticated-read",
5496
5502
  # body: "filetoupload",
5497
5503
  # bucket: "examplebucket",
5498
5504
  # key: "exampleobject",
5499
- # metadata: {
5500
- # "metadata1" => "value1",
5501
- # "metadata2" => "value2",
5502
- # },
5503
5505
  # })
5504
5506
  #
5505
5507
  # resp.to_h outputs the following:
5506
5508
  # {
5507
5509
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5508
- # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
5510
+ # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
5509
5511
  # }
5510
5512
  #
5511
- # @example Example: To upload an object and specify optional tags
5513
+ # @example Example: To upload an object
5512
5514
  #
5513
- # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
5514
- # # S3 returns version ID of the newly created object.
5515
+ # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
5516
+ # # syntax. S3 returns VersionId of the newly created object.
5515
5517
  #
5516
5518
  # resp = client.put_object({
5517
- # body: "c:\\HappyFace.jpg",
5519
+ # body: "HappyFace.jpg",
5518
5520
  # bucket: "examplebucket",
5519
5521
  # key: "HappyFace.jpg",
5520
- # tagging: "key1=value1&key2=value2",
5521
5522
  # })
5522
5523
  #
5523
5524
  # resp.to_h outputs the following:
5524
5525
  # {
5525
5526
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5526
- # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
5527
+ # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
5527
5528
  # }
5528
5529
  #
5529
- # @example Example: To upload an object
5530
+ # @example Example: To create an object.
5530
5531
  #
5531
- # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
5532
- # # syntax. S3 returns VersionId of the newly created object.
5532
+ # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
5533
5533
  #
5534
5534
  # resp = client.put_object({
5535
- # body: "HappyFace.jpg",
5535
+ # body: "filetoupload",
5536
5536
  # bucket: "examplebucket",
5537
- # key: "HappyFace.jpg",
5537
+ # key: "objectkey",
5538
5538
  # })
5539
5539
  #
5540
5540
  # resp.to_h outputs the following:
5541
5541
  # {
5542
5542
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5543
- # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
5543
+ # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
5544
5544
  # }
5545
5545
  #
5546
- # @example Example: To upload an object and specify canned ACL.
5546
+ # @example Example: To upload an object and specify optional tags
5547
5547
  #
5548
- # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
5549
- # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
5548
+ # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
5549
+ # # S3 returns version ID of the newly created object.
5550
5550
  #
5551
5551
  # resp = client.put_object({
5552
- # acl: "authenticated-read",
5553
- # body: "filetoupload",
5552
+ # body: "c:\\HappyFace.jpg",
5554
5553
  # bucket: "examplebucket",
5555
- # key: "exampleobject",
5554
+ # key: "HappyFace.jpg",
5555
+ # tagging: "key1=value1&key2=value2",
5556
5556
  # })
5557
5557
  #
5558
5558
  # resp.to_h outputs the following:
5559
5559
  # {
5560
5560
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5561
- # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
5561
+ # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
5562
5562
  # }
5563
5563
  #
5564
- # @example Example: To upload an object (specify optional headers)
5564
+ # @example Example: To upload object and specify user-defined metadata
5565
5565
  #
5566
- # # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
5567
- # # storage class and use server-side encryption.
5566
+ # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
5567
+ # # enabled, S3 returns version ID in response.
5568
5568
  #
5569
5569
  # resp = client.put_object({
5570
- # body: "HappyFace.jpg",
5570
+ # body: "filetoupload",
5571
5571
  # bucket: "examplebucket",
5572
- # key: "HappyFace.jpg",
5573
- # server_side_encryption: "AES256",
5574
- # storage_class: "STANDARD_IA",
5572
+ # key: "exampleobject",
5573
+ # metadata: {
5574
+ # "metadata1" => "value1",
5575
+ # "metadata2" => "value2",
5576
+ # },
5575
5577
  # })
5576
5578
  #
5577
5579
  # resp.to_h outputs the following:
5578
5580
  # {
5579
5581
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5580
- # server_side_encryption: "AES256",
5581
- # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
5582
+ # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
5582
5583
  # }
5583
5584
  #
5584
- # @example Example: To upload an object and specify server-side encryption and object tags
5585
+ # @example Example: To upload an object (specify optional headers)
5585
5586
  #
5586
- # # The following example uploads and object. The request specifies the optional server-side encryption option. The request
5587
- # # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
5587
+ # # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
5588
+ # # storage class and use server-side encryption.
5588
5589
  #
5589
5590
  # resp = client.put_object({
5590
- # body: "filetoupload",
5591
+ # body: "HappyFace.jpg",
5591
5592
  # bucket: "examplebucket",
5592
- # key: "exampleobject",
5593
+ # key: "HappyFace.jpg",
5593
5594
  # server_side_encryption: "AES256",
5594
- # tagging: "key1=value1&key2=value2",
5595
+ # storage_class: "STANDARD_IA",
5595
5596
  # })
5596
5597
  #
5597
5598
  # resp.to_h outputs the following:
5598
5599
  # {
5599
5600
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5600
5601
  # server_side_encryption: "AES256",
5601
- # version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
5602
+ # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
5602
5603
  # }
5603
5604
  #
5604
5605
  # @example Streaming a file from disk
@@ -5630,7 +5631,7 @@ module Aws::S3
5630
5631
  # "MetadataKey" => "MetadataValue",
5631
5632
  # },
5632
5633
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
5633
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
5634
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
5634
5635
  # website_redirect_location: "WebsiteRedirectLocation",
5635
5636
  # sse_customer_algorithm: "SSECustomerAlgorithm",
5636
5637
  # sse_customer_key: "SSECustomerKey",
@@ -5844,19 +5845,27 @@ module Aws::S3
5844
5845
  req.send_request(options)
5845
5846
  end
5846
5847
 
5847
- # Creates or modifies the Public Access Block configuration for an
5848
+ # Creates or modifies the `PublicAccessBlock` configuration for an
5848
5849
  # Amazon S3 bucket.
5849
5850
  #
5850
5851
  # @option params [required, String] :bucket
5851
- # The name of the Amazon S3 bucket whose Public Access Block
5852
+ # The name of the Amazon S3 bucket whose `PublicAccessBlock`
5852
5853
  # configuration you want to set.
5853
5854
  #
5854
5855
  # @option params [String] :content_md5
5855
- # The MD5 hash of the `PutPublicBlock` request body.
5856
+ # The MD5 hash of the `PutPublicAccessBlock` request body.
5856
5857
  #
5857
5858
  # @option params [required, Types::PublicAccessBlockConfiguration] :public_access_block_configuration
5858
- # The Public Access Block configuration that you want to apply to this
5859
- # Amazon S3 bucket.
5859
+ # The `PublicAccessBlock` configuration that you want to apply to this
5860
+ # Amazon S3 bucket. You can enable the configuration options in any
5861
+ # combination. For more information about when &S3; considers a
5862
+ # bucket or object public, see For more information about when Amazon S3
5863
+ # considers a bucket or object public, see [The Meaning of
5864
+ # "Public"][1] in the Amazon Simple Storage Service Developer Guide.
5865
+ #
5866
+ #
5867
+ #
5868
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status
5860
5869
  #
5861
5870
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5862
5871
  #
@@ -6008,7 +6017,7 @@ module Aws::S3
6008
6017
  # value: "MetadataValue",
6009
6018
  # },
6010
6019
  # ],
6011
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
6020
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
6012
6021
  # },
6013
6022
  # },
6014
6023
  # },
@@ -6608,7 +6617,7 @@ module Aws::S3
6608
6617
  params: params,
6609
6618
  config: config)
6610
6619
  context[:gem_name] = 'aws-sdk-s3'
6611
- context[:gem_version] = '1.25.0'
6620
+ context[:gem_version] = '1.26.0'
6612
6621
  Seahorse::Client::Request.new(handlers, context)
6613
6622
  end
6614
6623
 
@@ -425,7 +425,7 @@ module Aws::S3
425
425
  # metadata_directive: "COPY", # accepts COPY, REPLACE
426
426
  # tagging_directive: "COPY", # accepts COPY, REPLACE
427
427
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
428
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
428
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
429
429
  # website_redirect_location: "WebsiteRedirectLocation",
430
430
  # sse_customer_algorithm: "SSECustomerAlgorithm",
431
431
  # sse_customer_key: "SSECustomerKey",
@@ -676,7 +676,7 @@ module Aws::S3
676
676
  # "MetadataKey" => "MetadataValue",
677
677
  # },
678
678
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
679
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
679
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
680
680
  # website_redirect_location: "WebsiteRedirectLocation",
681
681
  # sse_customer_algorithm: "SSECustomerAlgorithm",
682
682
  # sse_customer_key: "SSECustomerKey",
@@ -786,7 +786,7 @@ module Aws::S3
786
786
  # "MetadataKey" => "MetadataValue",
787
787
  # },
788
788
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
789
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
789
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
790
790
  # website_redirect_location: "WebsiteRedirectLocation",
791
791
  # sse_customer_algorithm: "SSECustomerAlgorithm",
792
792
  # sse_customer_key: "SSECustomerKey",
@@ -958,7 +958,7 @@ module Aws::S3
958
958
  # value: "MetadataValue",
959
959
  # },
960
960
  # ],
961
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
961
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
962
962
  # },
963
963
  # },
964
964
  # },
@@ -268,7 +268,7 @@ module Aws::S3
268
268
  # metadata_directive: "COPY", # accepts COPY, REPLACE
269
269
  # tagging_directive: "COPY", # accepts COPY, REPLACE
270
270
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
271
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
271
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
272
272
  # website_redirect_location: "WebsiteRedirectLocation",
273
273
  # sse_customer_algorithm: "SSECustomerAlgorithm",
274
274
  # sse_customer_key: "SSECustomerKey",
@@ -519,7 +519,7 @@ module Aws::S3
519
519
  # "MetadataKey" => "MetadataValue",
520
520
  # },
521
521
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
522
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
522
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
523
523
  # website_redirect_location: "WebsiteRedirectLocation",
524
524
  # sse_customer_algorithm: "SSECustomerAlgorithm",
525
525
  # sse_customer_key: "SSECustomerKey",
@@ -629,7 +629,7 @@ module Aws::S3
629
629
  # "MetadataKey" => "MetadataValue",
630
630
  # },
631
631
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
632
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
632
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
633
633
  # website_redirect_location: "WebsiteRedirectLocation",
634
634
  # sse_customer_algorithm: "SSECustomerAlgorithm",
635
635
  # sse_customer_key: "SSECustomerKey",
@@ -801,7 +801,7 @@ module Aws::S3
801
801
  # value: "MetadataValue",
802
802
  # },
803
803
  # ],
804
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
804
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
805
805
  # },
806
806
  # },
807
807
  # },
@@ -401,13 +401,13 @@ module Aws::S3
401
401
  # {
402
402
  # date: Time.now,
403
403
  # days: 1,
404
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
404
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
405
405
  # },
406
406
  # ],
407
407
  # noncurrent_version_transitions: [
408
408
  # {
409
409
  # noncurrent_days: 1,
410
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
410
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
411
411
  # },
412
412
  # ],
413
413
  # noncurrent_version_expiration: {
@@ -972,7 +972,7 @@ module Aws::S3
972
972
  # metadata_directive: "COPY", # accepts COPY, REPLACE
973
973
  # tagging_directive: "COPY", # accepts COPY, REPLACE
974
974
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
975
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
975
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
976
976
  # website_redirect_location: "WebsiteRedirectLocation",
977
977
  # sse_customer_algorithm: "SSECustomerAlgorithm",
978
978
  # sse_customer_key: "SSECustomerKey",
@@ -1397,7 +1397,7 @@ module Aws::S3
1397
1397
  # "MetadataKey" => "MetadataValue",
1398
1398
  # },
1399
1399
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
1400
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
1400
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
1401
1401
  # website_redirect_location: "WebsiteRedirectLocation",
1402
1402
  # sse_customer_algorithm: "SSECustomerAlgorithm",
1403
1403
  # sse_customer_key: "SSECustomerKey",
@@ -2038,7 +2038,7 @@ module Aws::S3
2038
2038
  # }
2039
2039
  #
2040
2040
  # @!attribute [rw] bucket
2041
- # The Amazon S3 bucket whose Public Access Block configuration you
2041
+ # The Amazon S3 bucket whose `PublicAccessBlock` configuration you
2042
2042
  # want to delete.
2043
2043
  # @return [String]
2044
2044
  #
@@ -2079,7 +2079,7 @@ module Aws::S3
2079
2079
  # {
2080
2080
  # bucket: "BucketName", # required
2081
2081
  # account: "AccountId",
2082
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
2082
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
2083
2083
  # access_control_translation: {
2084
2084
  # owner: "Destination", # required, accepts Destination
2085
2085
  # },
@@ -2666,7 +2666,7 @@ module Aws::S3
2666
2666
  end
2667
2667
 
2668
2668
  # @!attribute [rw] policy_status
2669
- # The public-policy status for this bucket.
2669
+ # The policy status for the specified bucket.
2670
2670
  # @return [Types::PolicyStatus]
2671
2671
  #
2672
2672
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatusOutput AWS API Documentation
@@ -2684,8 +2684,8 @@ module Aws::S3
2684
2684
  # }
2685
2685
  #
2686
2686
  # @!attribute [rw] bucket
2687
- # The name of the Amazon S3 bucket whose public-policy status you want
2688
- # to retrieve.
2687
+ # The name of the Amazon S3 bucket whose policy status you want to
2688
+ # retrieve.
2689
2689
  # @return [String]
2690
2690
  #
2691
2691
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatusRequest AWS API Documentation
@@ -3318,7 +3318,7 @@ module Aws::S3
3318
3318
  end
3319
3319
 
3320
3320
  # @!attribute [rw] public_access_block_configuration
3321
- # The Public Access Block configuration currently in effect for this
3321
+ # The `PublicAccessBlock` configuration currently in effect for this
3322
3322
  # Amazon S3 bucket.
3323
3323
  # @return [Types::PublicAccessBlockConfiguration]
3324
3324
  #
@@ -3337,7 +3337,7 @@ module Aws::S3
3337
3337
  # }
3338
3338
  #
3339
3339
  # @!attribute [rw] bucket
3340
- # The name of the Amazon S3 bucket whose Public Access Block
3340
+ # The name of the Amazon S3 bucket whose `PublicAccessBlock`
3341
3341
  # configuration you want to retrieve.
3342
3342
  # @return [String]
3343
3343
  #
@@ -4139,11 +4139,11 @@ module Aws::S3
4139
4139
  # transition: {
4140
4140
  # date: Time.now,
4141
4141
  # days: 1,
4142
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
4142
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
4143
4143
  # },
4144
4144
  # noncurrent_version_transition: {
4145
4145
  # noncurrent_days: 1,
4146
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
4146
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
4147
4147
  # },
4148
4148
  # noncurrent_version_expiration: {
4149
4149
  # noncurrent_days: 1,
@@ -4232,13 +4232,13 @@ module Aws::S3
4232
4232
  # {
4233
4233
  # date: Time.now,
4234
4234
  # days: 1,
4235
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
4235
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
4236
4236
  # },
4237
4237
  # ],
4238
4238
  # noncurrent_version_transitions: [
4239
4239
  # {
4240
4240
  # noncurrent_days: 1,
4241
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
4241
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
4242
4242
  # },
4243
4243
  # ],
4244
4244
  # noncurrent_version_expiration: {
@@ -5513,19 +5513,19 @@ module Aws::S3
5513
5513
  end
5514
5514
 
5515
5515
  # Container for the transition rule that describes when noncurrent
5516
- # objects transition to the STANDARD\_IA, ONEZONE\_IA, or GLACIER
5517
- # storage class. If your bucket is versioning-enabled (or versioning is
5518
- # suspended), you can set this action to request that Amazon S3
5519
- # transition noncurrent object versions to the STANDARD\_IA,
5520
- # ONEZONE\_IA, or GLACIER storage class at a specific period in the
5521
- # object's lifetime.
5516
+ # objects transition to the STANDARD\_IA, ONEZONE\_IA,
5517
+ # INTELLIGENT\_TIERING or GLACIER storage class. If your bucket is
5518
+ # versioning-enabled (or versioning is suspended), you can set this
5519
+ # action to request that Amazon S3 transition noncurrent object versions
5520
+ # to the STANDARD\_IA, ONEZONE\_IA, INTELLIGENT\_TIERING or GLACIER
5521
+ # storage class at a specific period in the object's lifetime.
5522
5522
  #
5523
5523
  # @note When making an API call, you may pass NoncurrentVersionTransition
5524
5524
  # data as a hash:
5525
5525
  #
5526
5526
  # {
5527
5527
  # noncurrent_days: 1,
5528
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
5528
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
5529
5529
  # }
5530
5530
  #
5531
5531
  # @!attribute [rw] noncurrent_days
@@ -5848,7 +5848,7 @@ module Aws::S3
5848
5848
  # value: "MetadataValue",
5849
5849
  # },
5850
5850
  # ],
5851
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
5851
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
5852
5852
  # },
5853
5853
  # }
5854
5854
  #
@@ -5953,11 +5953,11 @@ module Aws::S3
5953
5953
  include Aws::Structure
5954
5954
  end
5955
5955
 
5956
- # The container element for this bucket's public-policy status.
5956
+ # The container element for a bucket's policy status.
5957
5957
  #
5958
5958
  # @!attribute [rw] is_public
5959
- # The public-policy status for this bucket. `TRUE` indicates that this
5960
- # bucket is public. `FALSE` indicates that the bucket is not public.
5959
+ # The policy status for this bucket. `TRUE` indicates that this bucket
5960
+ # is public. `FALSE` indicates that the bucket is not public.
5961
5961
  # @return [Boolean]
5962
5962
  #
5963
5963
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PolicyStatus AWS API Documentation
@@ -6000,51 +6000,6 @@ module Aws::S3
6000
6000
  include Aws::Structure
6001
6001
  end
6002
6002
 
6003
- # The container element for all Public Access Block configuration
6004
- # options. You can enable the configuration options in any combination.
6005
- #
6006
- # Amazon S3 considers a bucket policy public unless at least one of the
6007
- # following conditions is true:
6008
- #
6009
- # 1. The policy limits access to a set of CIDRs using `aws:SourceIp`.
6010
- # For more information on CIDR, see
6011
- # [http://www.rfc-editor.org/rfc/rfc4632.txt][1]
6012
- #
6013
- # 2. The policy grants permissions, not including any "bad actions,"
6014
- # to one of the following:
6015
- #
6016
- # * A fixed AWS principal, user, role, or service principal
6017
- #
6018
- # * A fixed `aws:SourceArn`
6019
- #
6020
- # * A fixed `aws:SourceVpc`
6021
- #
6022
- # * A fixed `aws:SourceVpce`
6023
- #
6024
- # * A fixed `aws:SourceOwner`
6025
- #
6026
- # * A fixed `aws:SourceAccount`
6027
- #
6028
- # * A fixed value of
6029
- # `s3:x-amz-server-side-encryption-aws-kms-key-id`
6030
- #
6031
- # * A fixed value of `aws:userid` outside the pattern
6032
- # "`AROLEID:*`"
6033
- #
6034
- # "Bad actions" are those that could expose the data inside a bucket
6035
- # to reads or writes by the public. These actions are `s3:Get*`,
6036
- # `s3:List*`, `s3:AbortMultipartUpload`, `s3:Delete*`, `s3:Put*`, and
6037
- # `s3:RestoreObject`.
6038
- #
6039
- # The star notation for bad actions indicates that all matching
6040
- # operations are considered bad actions. For example, because `s3:Get*`
6041
- # is a bad action, `s3:GetObject`, `s3:GetObjectVersion`, and
6042
- # `s3:GetObjectAcl` are all bad actions.
6043
- #
6044
- #
6045
- #
6046
- # [1]: http://www.rfc-editor.org/rfc/rfc4632.txt
6047
- #
6048
6003
  # @note When making an API call, you may pass PublicAccessBlockConfiguration
6049
6004
  # data as a hash:
6050
6005
  #
@@ -6056,27 +6011,26 @@ module Aws::S3
6056
6011
  # }
6057
6012
  #
6058
6013
  # @!attribute [rw] block_public_acls
6059
- # Specifies whether Amazon S3 should block public ACLs for this
6060
- # bucket. Setting this element to `TRUE` causes the following
6061
- # behavior:
6014
+ # Specifies whether Amazon S3 should block public access control lists
6015
+ # (ACLs) for this bucket and objects in this bucket. Setting this
6016
+ # element to `TRUE` causes the following behavior:
6062
6017
  #
6063
- # * PUT Bucket acl and PUT Object acl calls will fail if the specified
6064
- # ACL allows public access.
6018
+ # * PUT Bucket acl and PUT Object acl calls fail if the specified ACL
6019
+ # is public.
6065
6020
  #
6066
- # * PUT Object calls will fail if the request includes an object ACL.
6021
+ # * PUT Object calls fail if the request includes a public ACL.
6067
6022
  #
6068
- # Note that enabling this setting doesn't affect existing policies or
6069
- # ACLs.
6023
+ # Enabling this setting doesn't affect existing policies or ACLs.
6070
6024
  # @return [Boolean]
6071
6025
  #
6072
6026
  # @!attribute [rw] ignore_public_acls
6073
6027
  # Specifies whether Amazon S3 should ignore public ACLs for this
6074
- # bucket. Setting this element to `TRUE` causes Amazon S3 to ignore
6075
- # all public ACLs on this bucket and any objects that it contains.
6028
+ # bucket and objects in this bucket. Setting this element to `TRUE`
6029
+ # causes Amazon S3 to ignore all public ACLs on this bucket and
6030
+ # objects in this bucket.
6076
6031
  #
6077
- # Note that enabling this setting doesn't affect the persistence of
6078
- # any existing ACLs and doesn't prevent new public ACLs from being
6079
- # set.
6032
+ # Enabling this setting doesn't affect the persistence of any
6033
+ # existing ACLs and doesn't prevent new public ACLs from being set.
6080
6034
  # @return [Boolean]
6081
6035
  #
6082
6036
  # @!attribute [rw] block_public_policy
@@ -6085,20 +6039,19 @@ module Aws::S3
6085
6039
  # reject calls to PUT Bucket policy if the specified bucket policy
6086
6040
  # allows public access.
6087
6041
  #
6088
- # Note that enabling this setting doesn't affect existing bucket
6089
- # policies.
6042
+ # Enabling this setting doesn't affect existing bucket policies.
6090
6043
  # @return [Boolean]
6091
6044
  #
6092
6045
  # @!attribute [rw] restrict_public_buckets
6093
6046
  # Specifies whether Amazon S3 should restrict public bucket policies
6094
- # for this bucket. If this element is set to `TRUE`, then only the
6095
- # bucket owner and AWS Services can access this bucket if it has a
6096
- # public policy.
6097
- #
6098
- # Note that enabling this setting doesn't affect previously stored
6099
- # bucket policies, except that public and cross-account access within
6100
- # any public bucket policy, including non-public delegation to
6101
- # specific accounts, is blocked.
6047
+ # for this bucket. Setting this element to `TRUE` restricts access to
6048
+ # this bucket to only AWS services and authorized users within this
6049
+ # account if the bucket has a public policy.
6050
+ #
6051
+ # Enabling this setting doesn't affect previously stored bucket
6052
+ # policies, except that public and cross-account access within any
6053
+ # public bucket policy, including non-public delegation to specific
6054
+ # accounts, is blocked.
6102
6055
  # @return [Boolean]
6103
6056
  #
6104
6057
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PublicAccessBlockConfiguration AWS API Documentation
@@ -6454,13 +6407,13 @@ module Aws::S3
6454
6407
  # {
6455
6408
  # date: Time.now,
6456
6409
  # days: 1,
6457
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
6410
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
6458
6411
  # },
6459
6412
  # ],
6460
6413
  # noncurrent_version_transitions: [
6461
6414
  # {
6462
6415
  # noncurrent_days: 1,
6463
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
6416
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
6464
6417
  # },
6465
6418
  # ],
6466
6419
  # noncurrent_version_expiration: {
@@ -6508,11 +6461,11 @@ module Aws::S3
6508
6461
  # transition: {
6509
6462
  # date: Time.now,
6510
6463
  # days: 1,
6511
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
6464
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
6512
6465
  # },
6513
6466
  # noncurrent_version_transition: {
6514
6467
  # noncurrent_days: 1,
6515
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
6468
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
6516
6469
  # },
6517
6470
  # noncurrent_version_expiration: {
6518
6471
  # noncurrent_days: 1,
@@ -6832,7 +6785,7 @@ module Aws::S3
6832
6785
  # destination: { # required
6833
6786
  # bucket: "BucketName", # required
6834
6787
  # account: "AccountId",
6835
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
6788
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
6836
6789
  # access_control_translation: {
6837
6790
  # owner: "Destination", # required, accepts Destination
6838
6791
  # },
@@ -7217,7 +7170,7 @@ module Aws::S3
7217
7170
  # "MetadataKey" => "MetadataValue",
7218
7171
  # },
7219
7172
  # server_side_encryption: "AES256", # accepts AES256, aws:kms
7220
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
7173
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
7221
7174
  # website_redirect_location: "WebsiteRedirectLocation",
7222
7175
  # sse_customer_algorithm: "SSECustomerAlgorithm",
7223
7176
  # sse_customer_key: "SSECustomerKey",
@@ -7456,17 +7409,25 @@ module Aws::S3
7456
7409
  # }
7457
7410
  #
7458
7411
  # @!attribute [rw] bucket
7459
- # The name of the Amazon S3 bucket whose Public Access Block
7412
+ # The name of the Amazon S3 bucket whose `PublicAccessBlock`
7460
7413
  # configuration you want to set.
7461
7414
  # @return [String]
7462
7415
  #
7463
7416
  # @!attribute [rw] content_md5
7464
- # The MD5 hash of the `PutPublicBlock` request body.
7417
+ # The MD5 hash of the `PutPublicAccessBlock` request body.
7465
7418
  # @return [String]
7466
7419
  #
7467
7420
  # @!attribute [rw] public_access_block_configuration
7468
- # The Public Access Block configuration that you want to apply to this
7469
- # Amazon S3 bucket.
7421
+ # The `PublicAccessBlock` configuration that you want to apply to this
7422
+ # Amazon S3 bucket. You can enable the configuration options in any
7423
+ # combination. For more information about when &S3; considers a
7424
+ # bucket or object public, see For more information about when Amazon
7425
+ # S3 considers a bucket or object public, see [The Meaning of
7426
+ # "Public"][1] in the Amazon Simple Storage Service Developer Guide.
7427
+ #
7428
+ #
7429
+ #
7430
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status
7470
7431
  # @return [Types::PublicAccessBlockConfiguration]
7471
7432
  #
7472
7433
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlockRequest AWS API Documentation
@@ -7700,7 +7661,7 @@ module Aws::S3
7700
7661
  # destination: { # required
7701
7662
  # bucket: "BucketName", # required
7702
7663
  # account: "AccountId",
7703
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
7664
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
7704
7665
  # access_control_translation: {
7705
7666
  # owner: "Destination", # required, accepts Destination
7706
7667
  # },
@@ -7769,7 +7730,7 @@ module Aws::S3
7769
7730
  # destination: { # required
7770
7731
  # bucket: "BucketName", # required
7771
7732
  # account: "AccountId",
7772
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
7733
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
7773
7734
  # access_control_translation: {
7774
7735
  # owner: "Destination", # required, accepts Destination
7775
7736
  # },
@@ -8076,7 +8037,7 @@ module Aws::S3
8076
8037
  # value: "MetadataValue",
8077
8038
  # },
8078
8039
  # ],
8079
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
8040
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
8080
8041
  # },
8081
8042
  # },
8082
8043
  # },
@@ -8197,7 +8158,7 @@ module Aws::S3
8197
8158
  # value: "MetadataValue",
8198
8159
  # },
8199
8160
  # ],
8200
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
8161
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
8201
8162
  # },
8202
8163
  # },
8203
8164
  # }
@@ -8299,11 +8260,11 @@ module Aws::S3
8299
8260
  # transition: {
8300
8261
  # date: Time.now,
8301
8262
  # days: 1,
8302
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
8263
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
8303
8264
  # },
8304
8265
  # noncurrent_version_transition: {
8305
8266
  # noncurrent_days: 1,
8306
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
8267
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
8307
8268
  # },
8308
8269
  # noncurrent_version_expiration: {
8309
8270
  # noncurrent_days: 1,
@@ -8335,12 +8296,13 @@ module Aws::S3
8335
8296
  #
8336
8297
  # @!attribute [rw] noncurrent_version_transition
8337
8298
  # Container for the transition rule that describes when noncurrent
8338
- # objects transition to the STANDARD\_IA, ONEZONE\_IA, or GLACIER
8339
- # storage class. If your bucket is versioning-enabled (or versioning
8340
- # is suspended), you can set this action to request that Amazon S3
8341
- # transition noncurrent object versions to the STANDARD\_IA,
8342
- # ONEZONE\_IA, or GLACIER storage class at a specific period in the
8343
- # object's lifetime.
8299
+ # objects transition to the STANDARD\_IA, ONEZONE\_IA,
8300
+ # INTELLIGENT\_TIERING or GLACIER storage class. If your bucket is
8301
+ # versioning-enabled (or versioning is suspended), you can set this
8302
+ # action to request that Amazon S3 transition noncurrent object
8303
+ # versions to the STANDARD\_IA, ONEZONE\_IA, INTELLIGENT\_TIERING or
8304
+ # GLACIER storage class at a specific period in the object's
8305
+ # lifetime.
8344
8306
  # @return [Types::NoncurrentVersionTransition]
8345
8307
  #
8346
8308
  # @!attribute [rw] noncurrent_version_expiration
@@ -8439,7 +8401,7 @@ module Aws::S3
8439
8401
  # value: "MetadataValue",
8440
8402
  # },
8441
8403
  # ],
8442
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA
8404
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
8443
8405
  # }
8444
8406
  #
8445
8407
  # @!attribute [rw] bucket_name
@@ -9129,7 +9091,7 @@ module Aws::S3
9129
9091
  # {
9130
9092
  # date: Time.now,
9131
9093
  # days: 1,
9132
- # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
9094
+ # storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING
9133
9095
  # }
9134
9096
  #
9135
9097
  # @!attribute [rw] date
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-20 00:00:00.000000000 Z
11
+ date: 2018-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms