aws-sdk-s3 1.191.0 → 1.192.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +32 -0
- data/lib/aws-sdk-s3/client.rb +25 -1
- data/lib/aws-sdk-s3/client_api.rb +5 -0
- data/lib/aws-sdk-s3/resource.rb +6 -0
- data/lib/aws-sdk-s3/types.rb +81 -3
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +10 -1
- data/sig/client.rbs +9 -1
- data/sig/resource.rbs +7 -1
- data/sig/types.rbs +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23259fcd620d496a54a2a21910f0337c022fad8a9c58ecac0193256750e9869d
|
4
|
+
data.tar.gz: a77fd5c124fb109a19445022ddf3d27f2cc1c440261cf63b28e5f573014e880a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a1f96d0d9beaf29981949fad5946254de31b2ac7250c5dae3ff45a23b17bd44b291974bf099c68502dedcdf0dfe78be1b1661888fcffb6aae65a73c9a724fd0
|
7
|
+
data.tar.gz: 0cc9c0c573f5827620a5c179b83ffdaeec3edd540623374dd2b33b701545f45292e83452c7ac5541f268f4a5dd46c7b564e63fadd565488f2dbdf887cc49da7b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.192.0 (2025-07-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for directory bucket creation with tags and bucket ARN retrieval in CreateBucket, ListDirectoryBuckets, and HeadBucket operations
|
8
|
+
|
4
9
|
1.191.0 (2025-06-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.192.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -49,6 +49,23 @@ module Aws::S3
|
|
49
49
|
data[:bucket_region]
|
50
50
|
end
|
51
51
|
|
52
|
+
# The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely
|
53
|
+
# identify Amazon Web Services resources across all of Amazon Web
|
54
|
+
# Services.
|
55
|
+
#
|
56
|
+
# <note markdown="1"> This parameter is only supported for S3 directory buckets. For more
|
57
|
+
# information, see [Using tags with directory buckets][1].
|
58
|
+
#
|
59
|
+
# </note>
|
60
|
+
#
|
61
|
+
#
|
62
|
+
#
|
63
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
|
64
|
+
# @return [String]
|
65
|
+
def bucket_arn
|
66
|
+
data[:bucket_arn]
|
67
|
+
end
|
68
|
+
|
52
69
|
# @!endgroup
|
53
70
|
|
54
71
|
# @return [Client]
|
@@ -246,6 +263,12 @@ module Aws::S3
|
|
246
263
|
# data_redundancy: "SingleAvailabilityZone", # accepts SingleAvailabilityZone, SingleLocalZone
|
247
264
|
# type: "Directory", # accepts Directory
|
248
265
|
# },
|
266
|
+
# tags: [
|
267
|
+
# {
|
268
|
+
# key: "ObjectKey", # required
|
269
|
+
# value: "Value", # required
|
270
|
+
# },
|
271
|
+
# ],
|
249
272
|
# },
|
250
273
|
# grant_full_control: "GrantFullControl",
|
251
274
|
# grant_read: "GrantRead",
|
@@ -1183,6 +1206,9 @@ module Aws::S3
|
|
1183
1206
|
# beginning of the key. The keys that are grouped under `CommonPrefixes`
|
1184
1207
|
# result element are not returned elsewhere in the response.
|
1185
1208
|
#
|
1209
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
1210
|
+
# lexicographically greater than the key-marker.
|
1211
|
+
#
|
1186
1212
|
# <note markdown="1"> **Directory buckets** - For directory buckets, `/` is the only
|
1187
1213
|
# supported delimiter.
|
1188
1214
|
#
|
@@ -1339,6 +1365,9 @@ module Aws::S3
|
|
1339
1365
|
# in `CommonPrefixes`. These groups are counted as one result against
|
1340
1366
|
# the `max-keys` limitation. These keys are not returned elsewhere in
|
1341
1367
|
# the response.
|
1368
|
+
#
|
1369
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
1370
|
+
# lexicographically greater than the key-marker.
|
1342
1371
|
# @option options [String] :encoding_type
|
1343
1372
|
# Encoding type used by Amazon S3 to encode the [object keys][1] in the
|
1344
1373
|
# response. Responses are encoded only in UTF-8. An object key can
|
@@ -1434,6 +1463,9 @@ module Aws::S3
|
|
1434
1463
|
# @option options [String] :delimiter
|
1435
1464
|
# A delimiter is a character that you use to group keys.
|
1436
1465
|
#
|
1466
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
1467
|
+
# lexicographically greater than the `StartAfter` value.
|
1468
|
+
#
|
1437
1469
|
# <note markdown="1"> * **Directory buckets** - For directory buckets, `/` is the only
|
1438
1470
|
# supported delimiter.
|
1439
1471
|
#
|
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -2652,6 +2652,7 @@ module Aws::S3
|
|
2652
2652
|
# @return [Types::CreateBucketOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2653
2653
|
#
|
2654
2654
|
# * {Types::CreateBucketOutput#location #location} => String
|
2655
|
+
# * {Types::CreateBucketOutput#bucket_arn #bucket_arn} => String
|
2655
2656
|
#
|
2656
2657
|
#
|
2657
2658
|
# @example Example: To create a bucket in a specific region
|
@@ -2698,6 +2699,12 @@ module Aws::S3
|
|
2698
2699
|
# data_redundancy: "SingleAvailabilityZone", # accepts SingleAvailabilityZone, SingleLocalZone
|
2699
2700
|
# type: "Directory", # accepts Directory
|
2700
2701
|
# },
|
2702
|
+
# tags: [
|
2703
|
+
# {
|
2704
|
+
# key: "ObjectKey", # required
|
2705
|
+
# value: "Value", # required
|
2706
|
+
# },
|
2707
|
+
# ],
|
2701
2708
|
# },
|
2702
2709
|
# grant_full_control: "GrantFullControl",
|
2703
2710
|
# grant_read: "GrantRead",
|
@@ -2711,6 +2718,7 @@ module Aws::S3
|
|
2711
2718
|
# @example Response structure
|
2712
2719
|
#
|
2713
2720
|
# resp.location #=> String
|
2721
|
+
# resp.bucket_arn #=> String
|
2714
2722
|
#
|
2715
2723
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket AWS API Documentation
|
2716
2724
|
#
|
@@ -10364,6 +10372,7 @@ module Aws::S3
|
|
10364
10372
|
#
|
10365
10373
|
# @return [Types::HeadBucketOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10366
10374
|
#
|
10375
|
+
# * {Types::HeadBucketOutput#bucket_arn #bucket_arn} => String
|
10367
10376
|
# * {Types::HeadBucketOutput#bucket_location_type #bucket_location_type} => String
|
10368
10377
|
# * {Types::HeadBucketOutput#bucket_location_name #bucket_location_name} => String
|
10369
10378
|
# * {Types::HeadBucketOutput#bucket_region #bucket_region} => String
|
@@ -10387,6 +10396,7 @@ module Aws::S3
|
|
10387
10396
|
#
|
10388
10397
|
# @example Response structure
|
10389
10398
|
#
|
10399
|
+
# resp.bucket_arn #=> String
|
10390
10400
|
# resp.bucket_location_type #=> String, one of "AvailabilityZone", "LocalZone"
|
10391
10401
|
# resp.bucket_location_name #=> String
|
10392
10402
|
# resp.bucket_region #=> String
|
@@ -11483,6 +11493,7 @@ module Aws::S3
|
|
11483
11493
|
# resp.buckets[0].name #=> String
|
11484
11494
|
# resp.buckets[0].creation_date #=> Time
|
11485
11495
|
# resp.buckets[0].bucket_region #=> String
|
11496
|
+
# resp.buckets[0].bucket_arn #=> String
|
11486
11497
|
# resp.owner.display_name #=> String
|
11487
11498
|
# resp.owner.id #=> String
|
11488
11499
|
# resp.continuation_token #=> String
|
@@ -11574,6 +11585,7 @@ module Aws::S3
|
|
11574
11585
|
# resp.buckets[0].name #=> String
|
11575
11586
|
# resp.buckets[0].creation_date #=> Time
|
11576
11587
|
# resp.buckets[0].bucket_region #=> String
|
11588
|
+
# resp.buckets[0].bucket_arn #=> String
|
11577
11589
|
# resp.continuation_token #=> String
|
11578
11590
|
#
|
11579
11591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListDirectoryBuckets AWS API Documentation
|
@@ -11774,6 +11786,9 @@ module Aws::S3
|
|
11774
11786
|
# beginning of the key. The keys that are grouped under `CommonPrefixes`
|
11775
11787
|
# result element are not returned elsewhere in the response.
|
11776
11788
|
#
|
11789
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
11790
|
+
# lexicographically greater than the key-marker.
|
11791
|
+
#
|
11777
11792
|
# <note markdown="1"> **Directory buckets** - For directory buckets, `/` is the only
|
11778
11793
|
# supported delimiter.
|
11779
11794
|
#
|
@@ -12104,6 +12119,9 @@ module Aws::S3
|
|
12104
12119
|
# the `max-keys` limitation. These keys are not returned elsewhere in
|
12105
12120
|
# the response.
|
12106
12121
|
#
|
12122
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
12123
|
+
# lexicographically greater than the key-marker.
|
12124
|
+
#
|
12107
12125
|
# @option params [String] :encoding_type
|
12108
12126
|
# Encoding type used by Amazon S3 to encode the [object keys][1] in the
|
12109
12127
|
# response. Responses are encoded only in UTF-8. An object key can
|
@@ -12392,6 +12410,9 @@ module Aws::S3
|
|
12392
12410
|
# @option params [String] :delimiter
|
12393
12411
|
# A delimiter is a character that you use to group keys.
|
12394
12412
|
#
|
12413
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
12414
|
+
# lexicographically greater than the key-marker.
|
12415
|
+
#
|
12395
12416
|
# @option params [String] :encoding_type
|
12396
12417
|
# Encoding type used by Amazon S3 to encode the [object keys][1] in the
|
12397
12418
|
# response. Responses are encoded only in UTF-8. An object key can
|
@@ -12686,6 +12707,9 @@ module Aws::S3
|
|
12686
12707
|
# @option params [String] :delimiter
|
12687
12708
|
# A delimiter is a character that you use to group keys.
|
12688
12709
|
#
|
12710
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
12711
|
+
# lexicographically greater than the `StartAfter` value.
|
12712
|
+
#
|
12689
12713
|
# <note markdown="1"> * **Directory buckets** - For directory buckets, `/` is the only
|
12690
12714
|
# supported delimiter.
|
12691
12715
|
#
|
@@ -21172,7 +21196,7 @@ module Aws::S3
|
|
21172
21196
|
tracer: tracer
|
21173
21197
|
)
|
21174
21198
|
context[:gem_name] = 'aws-sdk-s3'
|
21175
|
-
context[:gem_version] = '1.
|
21199
|
+
context[:gem_version] = '1.192.0'
|
21176
21200
|
Seahorse::Client::Request.new(handlers, context)
|
21177
21201
|
end
|
21178
21202
|
|
@@ -576,6 +576,7 @@ module Aws::S3
|
|
576
576
|
Rules = Shapes::ListShape.new(name: 'Rules', flattened: true)
|
577
577
|
S3KeyFilter = Shapes::StructureShape.new(name: 'S3KeyFilter')
|
578
578
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
579
|
+
S3RegionalOrS3ExpressBucketArnString = Shapes::StringShape.new(name: 'S3RegionalOrS3ExpressBucketArnString')
|
579
580
|
S3TablesArn = Shapes::StringShape.new(name: 'S3TablesArn')
|
580
581
|
S3TablesBucketArn = Shapes::StringShape.new(name: 'S3TablesBucketArn')
|
581
582
|
S3TablesDestination = Shapes::StructureShape.new(name: 'S3TablesDestination')
|
@@ -719,6 +720,7 @@ module Aws::S3
|
|
719
720
|
Bucket.add_member(:name, Shapes::ShapeRef.new(shape: BucketName, location_name: "Name"))
|
720
721
|
Bucket.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
721
722
|
Bucket.add_member(:bucket_region, Shapes::ShapeRef.new(shape: BucketRegion, location_name: "BucketRegion"))
|
723
|
+
Bucket.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: S3RegionalOrS3ExpressBucketArnString, location_name: "BucketArn"))
|
722
724
|
Bucket.struct_class = Types::Bucket
|
723
725
|
|
724
726
|
BucketAlreadyExists.struct_class = Types::BucketAlreadyExists
|
@@ -928,6 +930,7 @@ module Aws::S3
|
|
928
930
|
CreateBucketConfiguration.add_member(:location_constraint, Shapes::ShapeRef.new(shape: BucketLocationConstraint, location_name: "LocationConstraint"))
|
929
931
|
CreateBucketConfiguration.add_member(:location, Shapes::ShapeRef.new(shape: LocationInfo, location_name: "Location"))
|
930
932
|
CreateBucketConfiguration.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketInfo, location_name: "Bucket"))
|
933
|
+
CreateBucketConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: TagSet, location_name: "Tags"))
|
931
934
|
CreateBucketConfiguration.struct_class = Types::CreateBucketConfiguration
|
932
935
|
|
933
936
|
CreateBucketMetadataTableConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
@@ -940,6 +943,7 @@ module Aws::S3
|
|
940
943
|
CreateBucketMetadataTableConfigurationRequest[:payload_member] = CreateBucketMetadataTableConfigurationRequest.member(:metadata_table_configuration)
|
941
944
|
|
942
945
|
CreateBucketOutput.add_member(:location, Shapes::ShapeRef.new(shape: Location, location: "header", location_name: "Location"))
|
946
|
+
CreateBucketOutput.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: S3RegionalOrS3ExpressBucketArnString, location: "header", location_name: "x-amz-bucket-arn"))
|
943
947
|
CreateBucketOutput.struct_class = Types::CreateBucketOutput
|
944
948
|
|
945
949
|
CreateBucketRequest.add_member(:acl, Shapes::ShapeRef.new(shape: BucketCannedACL, location: "header", location_name: "x-amz-acl"))
|
@@ -1585,6 +1589,7 @@ module Aws::S3
|
|
1585
1589
|
|
1586
1590
|
Grants.member = Shapes::ShapeRef.new(shape: Grant, location_name: "Grant")
|
1587
1591
|
|
1592
|
+
HeadBucketOutput.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: S3RegionalOrS3ExpressBucketArnString, location: "header", location_name: "x-amz-bucket-arn"))
|
1588
1593
|
HeadBucketOutput.add_member(:bucket_location_type, Shapes::ShapeRef.new(shape: LocationType, location: "header", location_name: "x-amz-bucket-location-type"))
|
1589
1594
|
HeadBucketOutput.add_member(:bucket_location_name, Shapes::ShapeRef.new(shape: BucketLocationName, location: "header", location_name: "x-amz-bucket-location-name"))
|
1590
1595
|
HeadBucketOutput.add_member(:bucket_region, Shapes::ShapeRef.new(shape: Region, location: "header", location_name: "x-amz-bucket-region"))
|
data/lib/aws-sdk-s3/resource.rb
CHANGED
@@ -50,6 +50,12 @@ module Aws::S3
|
|
50
50
|
# data_redundancy: "SingleAvailabilityZone", # accepts SingleAvailabilityZone, SingleLocalZone
|
51
51
|
# type: "Directory", # accepts Directory
|
52
52
|
# },
|
53
|
+
# tags: [
|
54
|
+
# {
|
55
|
+
# key: "ObjectKey", # required
|
56
|
+
# value: "Value", # required
|
57
|
+
# },
|
58
|
+
# ],
|
53
59
|
# },
|
54
60
|
# grant_full_control: "GrantFullControl",
|
55
61
|
# grant_read: "GrantRead",
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -372,12 +372,28 @@ module Aws::S3
|
|
372
372
|
# parameter, it is included in the response.
|
373
373
|
# @return [String]
|
374
374
|
#
|
375
|
+
# @!attribute [rw] bucket_arn
|
376
|
+
# The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely
|
377
|
+
# identify Amazon Web Services resources across all of Amazon Web
|
378
|
+
# Services.
|
379
|
+
#
|
380
|
+
# <note markdown="1"> This parameter is only supported for S3 directory buckets. For more
|
381
|
+
# information, see [Using tags with directory buckets][1].
|
382
|
+
#
|
383
|
+
# </note>
|
384
|
+
#
|
385
|
+
#
|
386
|
+
#
|
387
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
|
388
|
+
# @return [String]
|
389
|
+
#
|
375
390
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Bucket AWS API Documentation
|
376
391
|
#
|
377
392
|
class Bucket < Struct.new(
|
378
393
|
:name,
|
379
394
|
:creation_date,
|
380
|
-
:bucket_region
|
395
|
+
:bucket_region,
|
396
|
+
:bucket_arn)
|
381
397
|
SENSITIVE = []
|
382
398
|
include Aws::Structure
|
383
399
|
end
|
@@ -2681,12 +2697,28 @@ module Aws::S3
|
|
2681
2697
|
# </note>
|
2682
2698
|
# @return [Types::BucketInfo]
|
2683
2699
|
#
|
2700
|
+
# @!attribute [rw] tags
|
2701
|
+
# An array of tags that you can apply to the bucket that you're
|
2702
|
+
# creating. Tags are key-value pairs of metadata used to categorize
|
2703
|
+
# and organize your buckets, track costs, and control access.
|
2704
|
+
#
|
2705
|
+
# <note markdown="1"> This parameter is only supported for S3 directory buckets. For more
|
2706
|
+
# information, see [Using tags with directory buckets][1].
|
2707
|
+
#
|
2708
|
+
# </note>
|
2709
|
+
#
|
2710
|
+
#
|
2711
|
+
#
|
2712
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
|
2713
|
+
# @return [Array<Types::Tag>]
|
2714
|
+
#
|
2684
2715
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketConfiguration AWS API Documentation
|
2685
2716
|
#
|
2686
2717
|
class CreateBucketConfiguration < Struct.new(
|
2687
2718
|
:location_constraint,
|
2688
2719
|
:location,
|
2689
|
-
:bucket
|
2720
|
+
:bucket,
|
2721
|
+
:tags)
|
2690
2722
|
SENSITIVE = []
|
2691
2723
|
include Aws::Structure
|
2692
2724
|
end
|
@@ -2730,10 +2762,26 @@ module Aws::S3
|
|
2730
2762
|
# A forward slash followed by the name of the bucket.
|
2731
2763
|
# @return [String]
|
2732
2764
|
#
|
2765
|
+
# @!attribute [rw] bucket_arn
|
2766
|
+
# The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely
|
2767
|
+
# identify Amazon Web Services resources across all of Amazon Web
|
2768
|
+
# Services.
|
2769
|
+
#
|
2770
|
+
# <note markdown="1"> This parameter is only supported for S3 directory buckets. For more
|
2771
|
+
# information, see [Using tags with directory buckets][1].
|
2772
|
+
#
|
2773
|
+
# </note>
|
2774
|
+
#
|
2775
|
+
#
|
2776
|
+
#
|
2777
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
|
2778
|
+
# @return [String]
|
2779
|
+
#
|
2733
2780
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketOutput AWS API Documentation
|
2734
2781
|
#
|
2735
2782
|
class CreateBucketOutput < Struct.new(
|
2736
|
-
:location
|
2783
|
+
:location,
|
2784
|
+
:bucket_arn)
|
2737
2785
|
SENSITIVE = []
|
2738
2786
|
include Aws::Structure
|
2739
2787
|
end
|
@@ -4994,6 +5042,8 @@ module Aws::S3
|
|
4994
5042
|
# For valid values, see the `StorageClass` element of the [PUT Bucket
|
4995
5043
|
# replication][1] action in the *Amazon S3 API Reference*.
|
4996
5044
|
#
|
5045
|
+
# `FSX_OPENZFS` is not an accepted value when replicating objects.
|
5046
|
+
#
|
4997
5047
|
#
|
4998
5048
|
#
|
4999
5049
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html
|
@@ -8716,6 +8766,21 @@ module Aws::S3
|
|
8716
8766
|
include Aws::Structure
|
8717
8767
|
end
|
8718
8768
|
|
8769
|
+
# @!attribute [rw] bucket_arn
|
8770
|
+
# The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely
|
8771
|
+
# identify Amazon Web Services resources across all of Amazon Web
|
8772
|
+
# Services.
|
8773
|
+
#
|
8774
|
+
# <note markdown="1"> This parameter is only supported for S3 directory buckets. For more
|
8775
|
+
# information, see [Using tags with directory buckets][1].
|
8776
|
+
#
|
8777
|
+
# </note>
|
8778
|
+
#
|
8779
|
+
#
|
8780
|
+
#
|
8781
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
|
8782
|
+
# @return [String]
|
8783
|
+
#
|
8719
8784
|
# @!attribute [rw] bucket_location_type
|
8720
8785
|
# The type of location where the bucket is created.
|
8721
8786
|
#
|
@@ -8752,6 +8817,7 @@ module Aws::S3
|
|
8752
8817
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucketOutput AWS API Documentation
|
8753
8818
|
#
|
8754
8819
|
class HeadBucketOutput < Struct.new(
|
8820
|
+
:bucket_arn,
|
8755
8821
|
:bucket_location_type,
|
8756
8822
|
:bucket_location_name,
|
8757
8823
|
:bucket_region,
|
@@ -10938,6 +11004,9 @@ module Aws::S3
|
|
10938
11004
|
# `CommonPrefixes` result element are not returned elsewhere in the
|
10939
11005
|
# response.
|
10940
11006
|
#
|
11007
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
11008
|
+
# lexicographically greater than the key-marker.
|
11009
|
+
#
|
10941
11010
|
# <note markdown="1"> **Directory buckets** - For directory buckets, `/` is the only
|
10942
11011
|
# supported delimiter.
|
10943
11012
|
#
|
@@ -11197,6 +11266,9 @@ module Aws::S3
|
|
11197
11266
|
# element in `CommonPrefixes`. These groups are counted as one result
|
11198
11267
|
# against the `max-keys` limitation. These keys are not returned
|
11199
11268
|
# elsewhere in the response.
|
11269
|
+
#
|
11270
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
11271
|
+
# lexicographically greater than the key-marker.
|
11200
11272
|
# @return [String]
|
11201
11273
|
#
|
11202
11274
|
# @!attribute [rw] encoding_type
|
@@ -11470,6 +11542,9 @@ module Aws::S3
|
|
11470
11542
|
#
|
11471
11543
|
# @!attribute [rw] delimiter
|
11472
11544
|
# A delimiter is a character that you use to group keys.
|
11545
|
+
#
|
11546
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
11547
|
+
# lexicographically greater than the key-marker.
|
11473
11548
|
# @return [String]
|
11474
11549
|
#
|
11475
11550
|
# @!attribute [rw] encoding_type
|
@@ -11749,6 +11824,9 @@ module Aws::S3
|
|
11749
11824
|
# @!attribute [rw] delimiter
|
11750
11825
|
# A delimiter is a character that you use to group keys.
|
11751
11826
|
#
|
11827
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
11828
|
+
# lexicographically greater than the `StartAfter` value.
|
11829
|
+
#
|
11752
11830
|
# <note markdown="1"> * **Directory buckets** - For directory buckets, `/` is the only
|
11753
11831
|
# supported delimiter.
|
11754
11832
|
#
|
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/bucket.rbs
CHANGED
@@ -23,6 +23,9 @@ module Aws
|
|
23
23
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_region-instance_method
|
24
24
|
def bucket_region: () -> ::String
|
25
25
|
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_arn-instance_method
|
27
|
+
def bucket_arn: () -> ::String
|
28
|
+
|
26
29
|
def client: () -> Client
|
27
30
|
|
28
31
|
|
@@ -56,7 +59,13 @@ module Aws
|
|
56
59
|
bucket: {
|
57
60
|
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
58
61
|
type: ("Directory")?
|
59
|
-
}
|
62
|
+
}?,
|
63
|
+
tags: Array[
|
64
|
+
{
|
65
|
+
key: ::String,
|
66
|
+
value: ::String
|
67
|
+
},
|
68
|
+
]?
|
60
69
|
},
|
61
70
|
?grant_full_control: ::String,
|
62
71
|
?grant_read: ::String,
|
data/sig/client.rbs
CHANGED
@@ -224,6 +224,7 @@ module Aws
|
|
224
224
|
interface _CreateBucketResponseSuccess
|
225
225
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateBucketOutput]
|
226
226
|
def location: () -> ::String
|
227
|
+
def bucket_arn: () -> ::String
|
227
228
|
end
|
228
229
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket-instance_method
|
229
230
|
def create_bucket: (
|
@@ -238,7 +239,13 @@ module Aws
|
|
238
239
|
bucket: {
|
239
240
|
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
240
241
|
type: ("Directory")?
|
241
|
-
}
|
242
|
+
}?,
|
243
|
+
tags: Array[
|
244
|
+
{
|
245
|
+
key: ::String,
|
246
|
+
value: ::String
|
247
|
+
},
|
248
|
+
]?
|
242
249
|
},
|
243
250
|
?grant_full_control: ::String,
|
244
251
|
?grant_read: ::String,
|
@@ -972,6 +979,7 @@ module Aws
|
|
972
979
|
|
973
980
|
interface _HeadBucketResponseSuccess
|
974
981
|
include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
|
982
|
+
def bucket_arn: () -> ::String
|
975
983
|
def bucket_location_type: () -> ("AvailabilityZone" | "LocalZone")
|
976
984
|
def bucket_location_name: () -> ::String
|
977
985
|
def bucket_region: () -> ::String
|
data/sig/resource.rbs
CHANGED
@@ -107,7 +107,13 @@ module Aws
|
|
107
107
|
bucket: {
|
108
108
|
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
109
109
|
type: ("Directory")?
|
110
|
-
}
|
110
|
+
}?,
|
111
|
+
tags: Array[
|
112
|
+
{
|
113
|
+
key: ::String,
|
114
|
+
value: ::String
|
115
|
+
},
|
116
|
+
]?
|
111
117
|
},
|
112
118
|
?grant_full_control: ::String,
|
113
119
|
?grant_read: ::String,
|
data/sig/types.rbs
CHANGED
@@ -81,6 +81,7 @@ module Aws::S3
|
|
81
81
|
attr_accessor name: ::String
|
82
82
|
attr_accessor creation_date: ::Time
|
83
83
|
attr_accessor bucket_region: ::String
|
84
|
+
attr_accessor bucket_arn: ::String
|
84
85
|
SENSITIVE: []
|
85
86
|
end
|
86
87
|
|
@@ -321,6 +322,7 @@ module Aws::S3
|
|
321
322
|
attr_accessor location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "il-central-1" | "me-central-1" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")
|
322
323
|
attr_accessor location: Types::LocationInfo
|
323
324
|
attr_accessor bucket: Types::BucketInfo
|
325
|
+
attr_accessor tags: ::Array[Types::Tag]
|
324
326
|
SENSITIVE: []
|
325
327
|
end
|
326
328
|
|
@@ -335,6 +337,7 @@ module Aws::S3
|
|
335
337
|
|
336
338
|
class CreateBucketOutput
|
337
339
|
attr_accessor location: ::String
|
340
|
+
attr_accessor bucket_arn: ::String
|
338
341
|
SENSITIVE: []
|
339
342
|
end
|
340
343
|
|
@@ -1147,6 +1150,7 @@ module Aws::S3
|
|
1147
1150
|
end
|
1148
1151
|
|
1149
1152
|
class HeadBucketOutput
|
1153
|
+
attr_accessor bucket_arn: ::String
|
1150
1154
|
attr_accessor bucket_location_type: ("AvailabilityZone" | "LocalZone")
|
1151
1155
|
attr_accessor bucket_location_name: ::String
|
1152
1156
|
attr_accessor bucket_region: ::String
|