aws-sdk-s3control 1.111.0 → 1.113.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +139 -71
- data/lib/aws-sdk-s3control/client_api.rb +3 -3
- data/lib/aws-sdk-s3control/endpoint_parameters.rb +8 -0
- data/lib/aws-sdk-s3control/endpoint_provider.rb +25 -0
- data/lib/aws-sdk-s3control/endpoints.rb +3 -0
- data/lib/aws-sdk-s3control/types.rb +13 -20
- data/lib/aws-sdk-s3control.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c82687deebb21750615ce7bdd6c3230cfd8a9751dc3535db248b7c647978352
|
4
|
+
data.tar.gz: 7cf9abf83113f919a9d1878b321e4b0f7da5555e83ab7578fa816cd93147dfb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf6351057155a01fd5f7695d88a4bad25e93a47eaad22e63f6d5a8726b1ac8952b146784d81f4a8625c20c4f394da4bfc8858c14f732162172c5d29fa290eaf1
|
7
|
+
data.tar.gz: '0590c66ec5e68108e6bbc7f594b51e83f56b6f2e303cea9ae706ee30111f8a87596fe7b2129e2763a7c5a415dcb681d29acad1afa0173785cf54fdf258674ac8'
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.113.0 (2025-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.112.0 (2025-07-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added TagResource, UntagResource, and ListTagsForResource support for directory bucket
|
13
|
+
|
4
14
|
1.111.0 (2025-06-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.113.0
|
@@ -101,7 +101,7 @@ module Aws::S3Control
|
|
101
101
|
# class name or an instance of a plugin class.
|
102
102
|
#
|
103
103
|
# @option options [required, Aws::CredentialProvider] :credentials
|
104
|
-
# Your AWS credentials. This can be an instance of any one of the
|
104
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
105
105
|
# following classes:
|
106
106
|
#
|
107
107
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -134,18 +134,23 @@ module Aws::S3Control
|
|
134
134
|
# locations will be searched for credentials:
|
135
135
|
#
|
136
136
|
# * `Aws.config[:credentials]`
|
137
|
+
#
|
137
138
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
138
139
|
# `:account_id` options.
|
139
|
-
#
|
140
|
-
#
|
140
|
+
#
|
141
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
142
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
143
|
+
#
|
141
144
|
# * `~/.aws/credentials`
|
145
|
+
#
|
142
146
|
# * `~/.aws/config`
|
147
|
+
#
|
143
148
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
144
149
|
# are very aggressive. Construct and pass an instance of
|
145
150
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
146
151
|
# enable retries and extended timeouts. Instance profile credential
|
147
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
148
|
-
# to true
|
152
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
153
|
+
# to `true`.
|
149
154
|
#
|
150
155
|
# @option options [required, String] :region
|
151
156
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +178,11 @@ module Aws::S3Control
|
|
173
178
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
174
179
|
# not retry instead of sleeping.
|
175
180
|
#
|
181
|
+
# @option options [Array<String>] :auth_scheme_preference
|
182
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
183
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
184
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :client_side_monitoring (false)
|
177
187
|
# When `true`, client-side metrics will be collected for all API requests from
|
178
188
|
# this client.
|
@@ -259,8 +269,8 @@ module Aws::S3Control
|
|
259
269
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
260
270
|
#
|
261
271
|
# @option options [String] :profile ("default")
|
262
|
-
# Used when loading credentials from the shared credentials file
|
263
|
-
#
|
272
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
273
|
+
# When not specified, 'default' is used.
|
264
274
|
#
|
265
275
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
266
276
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -379,7 +389,7 @@ module Aws::S3Control
|
|
379
389
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
380
390
|
#
|
381
391
|
# @option options [Aws::TokenProvider] :token_provider
|
382
|
-
#
|
392
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
383
393
|
# following classes:
|
384
394
|
#
|
385
395
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -6054,44 +6064,63 @@ module Aws::S3Control
|
|
6054
6064
|
req.send_request(options)
|
6055
6065
|
end
|
6056
6066
|
|
6057
|
-
# This operation allows you to list all the
|
6058
|
-
#
|
6059
|
-
#
|
6060
|
-
# organize, search for, and filter resources.
|
6067
|
+
# This operation allows you to list all of the tags for a specified
|
6068
|
+
# resource. Each tag is a label consisting of a key and value. Tags can
|
6069
|
+
# help you organize, track costs for, and control access to resources.
|
6061
6070
|
#
|
6062
|
-
#
|
6071
|
+
# <note markdown="1"> This operation is only supported for the following Amazon S3
|
6072
|
+
# resources:
|
6063
6073
|
#
|
6064
|
-
#
|
6065
|
-
# operation.
|
6074
|
+
# * [Directory buckets][1]
|
6066
6075
|
#
|
6067
|
-
#
|
6068
|
-
#
|
6069
|
-
#
|
6070
|
-
# grant.
|
6076
|
+
# * [Storage Lens groups][2]
|
6077
|
+
#
|
6078
|
+
# * [S3 Access Grants instances, registered locations, and grants][3].
|
6071
6079
|
#
|
6072
6080
|
# </note>
|
6073
6081
|
#
|
6074
|
-
#
|
6075
|
-
#
|
6076
|
-
# groups
|
6082
|
+
# Permissions
|
6083
|
+
#
|
6084
|
+
# : For Storage Lens groups and S3 Access Grants, you must have the
|
6085
|
+
# `s3:ListTagsForResource` permission to use this operation.
|
6086
|
+
#
|
6087
|
+
# For more information about the required Storage Lens Groups
|
6088
|
+
# permissions, see [Setting account permissions to use S3 Storage Lens
|
6089
|
+
# groups][4].
|
6090
|
+
#
|
6091
|
+
# Directory bucket permissions
|
6092
|
+
#
|
6093
|
+
# : For directory buckets, you must have the
|
6094
|
+
# `s3express:ListTagsForResource` permission to use this operation.
|
6095
|
+
# For more information about directory buckets policies and
|
6096
|
+
# permissions, see [Identity and Access Management (IAM) for S3
|
6097
|
+
# Express One Zone][5] in the *Amazon S3 User Guide*.
|
6098
|
+
#
|
6099
|
+
# HTTP Host header syntax
|
6100
|
+
#
|
6101
|
+
# : <b>Directory buckets </b> - The HTTP Host header syntax is
|
6102
|
+
# `s3express-control.region.amazonaws.com`.
|
6077
6103
|
#
|
6078
6104
|
# For information about S3 Tagging errors, see [List of Amazon S3
|
6079
|
-
# Tagging error codes][
|
6105
|
+
# Tagging error codes][6].
|
6080
6106
|
#
|
6081
6107
|
#
|
6082
6108
|
#
|
6083
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
6084
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
6085
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
6086
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
6109
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
|
6110
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
|
6111
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
|
6112
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions
|
6113
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html
|
6114
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList
|
6087
6115
|
#
|
6088
6116
|
# @option params [String] :account_id
|
6089
6117
|
# The Amazon Web Services account ID of the resource owner.
|
6090
6118
|
#
|
6091
6119
|
# @option params [required, String] :resource_arn
|
6092
6120
|
# The Amazon Resource Name (ARN) of the S3 resource that you want to
|
6093
|
-
# list
|
6094
|
-
# or S3 Access Grants instance, registered location,
|
6121
|
+
# list tags for. The tagged resource can be a directory bucket, S3
|
6122
|
+
# Storage Lens group or S3 Access Grants instance, registered location,
|
6123
|
+
# or grant.
|
6095
6124
|
#
|
6096
6125
|
# @return [Types::ListTagsForResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6097
6126
|
#
|
@@ -7558,45 +7587,65 @@ module Aws::S3Control
|
|
7558
7587
|
req.send_request(options)
|
7559
7588
|
end
|
7560
7589
|
|
7561
|
-
# Creates a new
|
7562
|
-
#
|
7563
|
-
#
|
7564
|
-
#
|
7565
|
-
# tags for each S3 resource.
|
7590
|
+
# Creates a new user-defined tag or updates an existing tag. Each tag is
|
7591
|
+
# a label consisting of a key and value that is applied to your
|
7592
|
+
# resource. Tags can help you organize, track costs for, and control
|
7593
|
+
# access to your resources. You can add up to 50 Amazon Web Services
|
7594
|
+
# resource tags for each S3 resource.
|
7566
7595
|
#
|
7567
|
-
# <note markdown="1"> This operation is only supported for
|
7568
|
-
#
|
7569
|
-
#
|
7570
|
-
#
|
7596
|
+
# <note markdown="1"> This operation is only supported for the following Amazon S3 resource:
|
7597
|
+
#
|
7598
|
+
# * [Directory buckets][1]
|
7599
|
+
#
|
7600
|
+
# * [S3 Storage Lens groups][2]
|
7601
|
+
#
|
7602
|
+
# * [S3 Access Grants instances, registered locations, or grants][3].
|
7571
7603
|
#
|
7572
7604
|
# </note>
|
7573
7605
|
#
|
7574
7606
|
# Permissions
|
7575
7607
|
#
|
7576
|
-
# :
|
7608
|
+
# : For Storage Lens groups and S3 Access Grants, you must have the
|
7609
|
+
# `s3:TagResource` permission to use this operation.
|
7610
|
+
#
|
7611
|
+
# For more information about the required Storage Lens Groups
|
7612
|
+
# permissions, see [Setting account permissions to use S3 Storage Lens
|
7613
|
+
# groups][4].
|
7577
7614
|
#
|
7578
|
-
#
|
7579
|
-
#
|
7580
|
-
#
|
7615
|
+
# Directory bucket permissions
|
7616
|
+
#
|
7617
|
+
# : For directory buckets, you must have the `s3express:TagResource`
|
7618
|
+
# permission to use this operation. For more information about
|
7619
|
+
# directory buckets policies and permissions, see [Identity and Access
|
7620
|
+
# Management (IAM) for S3 Express One Zone][5] in the *Amazon S3 User
|
7621
|
+
# Guide*.
|
7622
|
+
#
|
7623
|
+
# HTTP Host header syntax
|
7624
|
+
#
|
7625
|
+
# : <b>Directory buckets </b> - The HTTP Host header syntax is
|
7626
|
+
# `s3express-control.region.amazonaws.com`.
|
7581
7627
|
#
|
7582
7628
|
# For information about S3 Tagging errors, see [List of Amazon S3
|
7583
|
-
# Tagging error codes][
|
7629
|
+
# Tagging error codes][6].
|
7584
7630
|
#
|
7585
7631
|
#
|
7586
7632
|
#
|
7587
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
7588
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
7589
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
7590
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
7633
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
|
7634
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
|
7635
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
|
7636
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions
|
7637
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html
|
7638
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList
|
7591
7639
|
#
|
7592
7640
|
# @option params [String] :account_id
|
7593
7641
|
# The Amazon Web Services account ID that created the S3 resource that
|
7594
7642
|
# you're trying to add tags to or the requester's account ID.
|
7595
7643
|
#
|
7596
7644
|
# @option params [required, String] :resource_arn
|
7597
|
-
# The Amazon Resource Name (ARN) of the S3 resource that you're
|
7598
|
-
#
|
7599
|
-
# S3 Access Grants instance, registered location,
|
7645
|
+
# The Amazon Resource Name (ARN) of the S3 resource that you're
|
7646
|
+
# applying tags to. The tagged resource can be a directory bucket, S3
|
7647
|
+
# Storage Lens group or S3 Access Grants instance, registered location,
|
7648
|
+
# or grant.
|
7600
7649
|
#
|
7601
7650
|
# @option params [required, Array<Types::Tag>] :tags
|
7602
7651
|
# The Amazon Web Services resource tags that you want to add to the
|
@@ -7626,44 +7675,63 @@ module Aws::S3Control
|
|
7626
7675
|
req.send_request(options)
|
7627
7676
|
end
|
7628
7677
|
|
7629
|
-
# This operation removes the specified
|
7630
|
-
#
|
7631
|
-
#
|
7632
|
-
# for
|
7678
|
+
# This operation removes the specified user-defined tags from an S3
|
7679
|
+
# resource. You can pass one or more tag keys.
|
7680
|
+
#
|
7681
|
+
# <note markdown="1"> This operation is only supported for the following Amazon S3
|
7682
|
+
# resources:
|
7633
7683
|
#
|
7634
|
-
#
|
7635
|
-
#
|
7636
|
-
#
|
7637
|
-
#
|
7684
|
+
# * [Directory buckets][1]
|
7685
|
+
#
|
7686
|
+
# * [Storage Lens groups][2]
|
7687
|
+
#
|
7688
|
+
# * [S3 Access Grants instances, registered locations, and grants][3].
|
7638
7689
|
#
|
7639
7690
|
# </note>
|
7640
7691
|
#
|
7641
7692
|
# Permissions
|
7642
7693
|
#
|
7643
|
-
# :
|
7644
|
-
# operation.
|
7694
|
+
# : For Storage Lens groups and S3 Access Grants, you must have the
|
7695
|
+
# `s3:UntagResource` permission to use this operation.
|
7696
|
+
#
|
7697
|
+
# For more information about the required Storage Lens Groups
|
7698
|
+
# permissions, see [Setting account permissions to use S3 Storage Lens
|
7699
|
+
# groups][4].
|
7700
|
+
#
|
7701
|
+
# Directory bucket permissions
|
7702
|
+
#
|
7703
|
+
# : For directory buckets, you must have the `s3express:UntagResource`
|
7704
|
+
# permission to use this operation. For more information about
|
7705
|
+
# directory buckets policies and permissions, see [Identity and Access
|
7706
|
+
# Management (IAM) for S3 Express One Zone][5] in the *Amazon S3 User
|
7707
|
+
# Guide*.
|
7708
|
+
#
|
7709
|
+
# HTTP Host header syntax
|
7645
7710
|
#
|
7646
|
-
#
|
7647
|
-
#
|
7648
|
-
# groups][3].
|
7711
|
+
# : <b>Directory buckets </b> - The HTTP Host header syntax is
|
7712
|
+
# `s3express-control.region.amazonaws.com`.
|
7649
7713
|
#
|
7650
7714
|
# For information about S3 Tagging errors, see [List of Amazon S3
|
7651
|
-
# Tagging error codes][
|
7715
|
+
# Tagging error codes][6].
|
7652
7716
|
#
|
7653
7717
|
#
|
7654
7718
|
#
|
7655
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
7656
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
7657
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
7658
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
7719
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
|
7720
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
|
7721
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
|
7722
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions
|
7723
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html
|
7724
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList
|
7659
7725
|
#
|
7660
7726
|
# @option params [String] :account_id
|
7661
7727
|
# The Amazon Web Services account ID that owns the resource that you're
|
7662
7728
|
# trying to remove the tags from.
|
7663
7729
|
#
|
7664
7730
|
# @option params [required, String] :resource_arn
|
7665
|
-
# The Amazon Resource Name (ARN) of the S3 resource that you're
|
7666
|
-
#
|
7731
|
+
# The Amazon Resource Name (ARN) of the S3 resource that you're
|
7732
|
+
# removing tags from. The tagged resource can be a directory bucket, S3
|
7733
|
+
# Storage Lens group or S3 Access Grants instance, registered location,
|
7734
|
+
# or grant.
|
7667
7735
|
#
|
7668
7736
|
# @option params [required, Array<String>] :tag_keys
|
7669
7737
|
# The array of tag key-value pairs that you're trying to remove from of
|
@@ -8010,7 +8078,7 @@ module Aws::S3Control
|
|
8010
8078
|
tracer: tracer
|
8011
8079
|
)
|
8012
8080
|
context[:gem_name] = 'aws-sdk-s3control'
|
8013
|
-
context[:gem_version] = '1.
|
8081
|
+
context[:gem_version] = '1.113.0'
|
8014
8082
|
Seahorse::Client::Request.new(handlers, context)
|
8015
8083
|
end
|
8016
8084
|
|
@@ -1485,7 +1485,7 @@ module Aws::S3Control
|
|
1485
1485
|
ListStorageLensGroupsResult.struct_class = Types::ListStorageLensGroupsResult
|
1486
1486
|
|
1487
1487
|
ListTagsForResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam" => {"name" => "AccountId"}}))
|
1488
|
-
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
1488
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn", metadata: {"contextParam" => {"name" => "ResourceArn"}}))
|
1489
1489
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
1490
1490
|
|
1491
1491
|
ListTagsForResourceResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
@@ -2012,7 +2012,7 @@ module Aws::S3Control
|
|
2012
2012
|
TagList.member = Shapes::ShapeRef.new(shape: Tag, location_name: "Tag")
|
2013
2013
|
|
2014
2014
|
TagResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam" => {"name" => "AccountId"}}))
|
2015
|
-
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
2015
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn", metadata: {"contextParam" => {"name" => "ResourceArn"}}))
|
2016
2016
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
2017
2017
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
2018
2018
|
|
@@ -2035,7 +2035,7 @@ module Aws::S3Control
|
|
2035
2035
|
TransitionList.member = Shapes::ShapeRef.new(shape: Transition, location_name: "Transition")
|
2036
2036
|
|
2037
2037
|
UntagResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam" => {"name" => "AccountId"}}))
|
2038
|
-
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
2038
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn", metadata: {"contextParam" => {"name" => "ResourceArn"}}))
|
2039
2039
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
2040
2040
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
2041
2041
|
|
@@ -60,6 +60,11 @@ module Aws::S3Control
|
|
60
60
|
#
|
61
61
|
# @return [Boolean]
|
62
62
|
#
|
63
|
+
# @!attribute resource_arn
|
64
|
+
# The resource ARN included in the request. Only set on TagResource, UntagResourceand ListTagsForResource
|
65
|
+
#
|
66
|
+
# @return [String]
|
67
|
+
#
|
63
68
|
# @!attribute use_s3_express_control_endpoint
|
64
69
|
# Internal parameter to indicate whether S3Express operation should use control plane, (ex. ListDirectoryAccessPoints)
|
65
70
|
#
|
@@ -76,6 +81,7 @@ module Aws::S3Control
|
|
76
81
|
:bucket,
|
77
82
|
:access_point_name,
|
78
83
|
:use_arn_region,
|
84
|
+
:resource_arn,
|
79
85
|
:use_s3_express_control_endpoint,
|
80
86
|
) do
|
81
87
|
include Aws::Structure
|
@@ -93,6 +99,7 @@ module Aws::S3Control
|
|
93
99
|
'Bucket' => :bucket,
|
94
100
|
'AccessPointName' => :access_point_name,
|
95
101
|
'UseArnRegion' => :use_arn_region,
|
102
|
+
'ResourceArn' => :resource_arn,
|
96
103
|
'UseS3ExpressControlEndpoint' => :use_s3_express_control_endpoint,
|
97
104
|
}.freeze
|
98
105
|
end
|
@@ -110,6 +117,7 @@ module Aws::S3Control
|
|
110
117
|
self[:bucket] = options[:bucket]
|
111
118
|
self[:access_point_name] = options[:access_point_name]
|
112
119
|
self[:use_arn_region] = options[:use_arn_region]
|
120
|
+
self[:resource_arn] = options[:resource_arn]
|
113
121
|
self[:use_s3_express_control_endpoint] = options[:use_s3_express_control_endpoint]
|
114
122
|
end
|
115
123
|
|
@@ -46,6 +46,31 @@ module Aws::S3Control
|
|
46
46
|
raise ArgumentError, "Invalid region: region was not a valid DNS name."
|
47
47
|
end
|
48
48
|
end
|
49
|
+
if Aws::Endpoints::Matchers.set?(parameters.resource_arn) && (resource_arn = Aws::Endpoints::Matchers.aws_parse_arn(parameters.resource_arn)) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(resource_arn, "service"), "s3express")
|
50
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
51
|
+
if (arn_partition = Aws::Endpoints::Matchers.aws_partition(Aws::Endpoints::Matchers.attr(resource_arn, "region")))
|
52
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(arn_partition, "name"), Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
53
|
+
if Aws::Endpoints::Matchers.set?(parameters.use_arn_region) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_arn_region, false) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(resource_arn, "region"), "#{parameters.region}"))
|
54
|
+
raise ArgumentError, "Invalid configuration: region from ARN `#{resource_arn['region']}` does not match client region `#{parameters.region}` and UseArnRegion is `false`"
|
55
|
+
end
|
56
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
57
|
+
raise ArgumentError, "Invalid Configuration: DualStack and custom endpoint are not supported"
|
58
|
+
end
|
59
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
60
|
+
raise ArgumentError, "S3Express does not support Dual-stack."
|
61
|
+
end
|
62
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint) && (url = Aws::Endpoints::Matchers.parse_url(parameters.endpoint))
|
63
|
+
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3express", "signingRegion" => "#{parameters.region}"}]})
|
64
|
+
end
|
65
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
66
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3express-control-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3express", "signingRegion" => "#{parameters.region}"}]})
|
67
|
+
end
|
68
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3express-control.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3express", "signingRegion" => "#{parameters.region}"}]})
|
69
|
+
end
|
70
|
+
raise ArgumentError, "Client was configured for partition `#{partition_result['name']}` but ARN has `#{arn_partition['name']}`"
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
49
74
|
if Aws::Endpoints::Matchers.set?(parameters.access_point_name) && (access_point_suffix = Aws::Endpoints::Matchers.substring(parameters.access_point_name, 0, 7, true)) && Aws::Endpoints::Matchers.string_equals?(access_point_suffix, "--xa-s3")
|
50
75
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
51
76
|
if Aws::Endpoints::Matchers.set?(parameters.endpoint) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
@@ -858,6 +858,7 @@ module Aws::S3Control
|
|
858
858
|
use_dual_stack: context[:use_dualstack_endpoint],
|
859
859
|
account_id: context.params[:account_id],
|
860
860
|
requires_account_id: true,
|
861
|
+
resource_arn: context.params[:resource_arn],
|
861
862
|
)
|
862
863
|
end
|
863
864
|
end
|
@@ -1053,6 +1054,7 @@ module Aws::S3Control
|
|
1053
1054
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1054
1055
|
account_id: context.params[:account_id],
|
1055
1056
|
requires_account_id: true,
|
1057
|
+
resource_arn: context.params[:resource_arn],
|
1056
1058
|
)
|
1057
1059
|
end
|
1058
1060
|
end
|
@@ -1064,6 +1066,7 @@ module Aws::S3Control
|
|
1064
1066
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1065
1067
|
account_id: context.params[:account_id],
|
1066
1068
|
requires_account_id: true,
|
1069
|
+
resource_arn: context.params[:resource_arn],
|
1067
1070
|
)
|
1068
1071
|
end
|
1069
1072
|
end
|
@@ -5524,8 +5524,9 @@ module Aws::S3Control
|
|
5524
5524
|
#
|
5525
5525
|
# @!attribute [rw] resource_arn
|
5526
5526
|
# The Amazon Resource Name (ARN) of the S3 resource that you want to
|
5527
|
-
# list
|
5528
|
-
# group or S3 Access Grants instance, registered
|
5527
|
+
# list tags for. The tagged resource can be a directory bucket, S3
|
5528
|
+
# Storage Lens group or S3 Access Grants instance, registered
|
5529
|
+
# location, or grant.
|
5529
5530
|
# @return [String]
|
5530
5531
|
#
|
5531
5532
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListTagsForResourceRequest AWS API Documentation
|
@@ -8376,21 +8377,10 @@ module Aws::S3Control
|
|
8376
8377
|
#
|
8377
8378
|
class SubmitMultiRegionAccessPointRoutesResult < Aws::EmptyStructure; end
|
8378
8379
|
|
8379
|
-
#
|
8380
|
-
#
|
8381
|
-
# can
|
8382
|
-
#
|
8383
|
-
# <note markdown="1"> This operation is only supported for [S3 Storage Lens groups][1] and
|
8384
|
-
# for [S3 Access Grants][2]. The tagged resource can be an S3 Storage
|
8385
|
-
# Lens group or S3 Access Grants instance, registered location, or
|
8386
|
-
# grant.
|
8387
|
-
#
|
8388
|
-
# </note>
|
8389
|
-
#
|
8390
|
-
#
|
8391
|
-
#
|
8392
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
|
8393
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
|
8380
|
+
# A key-value pair that you use to label your resources. You can add
|
8381
|
+
# tags to new resources when you create them, or you can add tags to
|
8382
|
+
# existing resources. Tags can help you organize, track costs for, and
|
8383
|
+
# control access to resources.
|
8394
8384
|
#
|
8395
8385
|
# @!attribute [rw] key
|
8396
8386
|
# The key of the key-value pair of a tag added to your Amazon Web
|
@@ -8421,8 +8411,9 @@ module Aws::S3Control
|
|
8421
8411
|
#
|
8422
8412
|
# @!attribute [rw] resource_arn
|
8423
8413
|
# The Amazon Resource Name (ARN) of the S3 resource that you're
|
8424
|
-
#
|
8425
|
-
# group or S3 Access Grants instance, registered
|
8414
|
+
# applying tags to. The tagged resource can be a directory bucket, S3
|
8415
|
+
# Storage Lens group or S3 Access Grants instance, registered
|
8416
|
+
# location, or grant.
|
8426
8417
|
# @return [String]
|
8427
8418
|
#
|
8428
8419
|
# @!attribute [rw] tags
|
@@ -8523,7 +8514,9 @@ module Aws::S3Control
|
|
8523
8514
|
#
|
8524
8515
|
# @!attribute [rw] resource_arn
|
8525
8516
|
# The Amazon Resource Name (ARN) of the S3 resource that you're
|
8526
|
-
#
|
8517
|
+
# removing tags from. The tagged resource can be a directory bucket,
|
8518
|
+
# S3 Storage Lens group or S3 Access Grants instance, registered
|
8519
|
+
# location, or grant.
|
8527
8520
|
# @return [String]
|
8528
8521
|
#
|
8529
8522
|
# @!attribute [rw] tag_keys
|
data/lib/aws-sdk-s3control.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3control
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.113.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.227.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.227.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|