aws-sdk-s3 1.217.1 → 1.218.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/client.rb +317 -83
- data/lib/aws-sdk-s3/endpoints.rb +1 -0
- data/lib/aws-sdk-s3/types.rb +97 -0
- data/lib/aws-sdk-s3.rb +1 -1
- 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: 913843b58029ef60d1b24e4b7bce92c5d9651ad61219a1424310a6cd83213dd9
|
|
4
|
+
data.tar.gz: f68ab62fb802ec66d530867718319a90ba27481ad7fb2a58ed7dbfe8a63b5155
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 288b272e52c817806a5799d7d2af4d986a46aac4b64163fbddad64454dc3bb312cfb98b3c81432cf511590b9e6fd82f9f0e916bc69c24950b4d6ea25eb68f478
|
|
7
|
+
data.tar.gz: 2e4bd25ebebf88dd3e55e91b860d05bab07b486a6c26e41723c7f8adb3d67f1f8431b767ca2a6a82dac230121b84ea4d986c196fa549a68a9c516b416d2f8694
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.218.0
|
data/lib/aws-sdk-s3/client.rb
CHANGED
|
@@ -4784,6 +4784,12 @@ module Aws::S3
|
|
|
4784
4784
|
# For information about the Amazon S3 inventory feature, see [Amazon S3
|
|
4785
4785
|
# Inventory][3].
|
|
4786
4786
|
#
|
|
4787
|
+
# <note markdown="1"> After deleting a configuration, Amazon S3 might still deliver one
|
|
4788
|
+
# additional inventory report during a brief transition period while the
|
|
4789
|
+
# system processes the deletion.
|
|
4790
|
+
#
|
|
4791
|
+
# </note>
|
|
4792
|
+
#
|
|
4787
4793
|
# Operations related to `DeleteBucketInventoryConfiguration` include:
|
|
4788
4794
|
#
|
|
4789
4795
|
# * [GetBucketInventoryConfiguration][4]
|
|
@@ -5105,34 +5111,66 @@ module Aws::S3
|
|
|
5105
5111
|
req.send_request(options)
|
|
5106
5112
|
end
|
|
5107
5113
|
|
|
5108
|
-
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
5109
|
-
#
|
|
5110
|
-
# </note>
|
|
5111
|
-
#
|
|
5112
5114
|
# Deletes a metrics configuration for the Amazon CloudWatch request
|
|
5113
5115
|
# metrics (specified by the metrics configuration ID) from the bucket.
|
|
5114
5116
|
# Note that this doesn't include the daily storage metrics.
|
|
5115
5117
|
#
|
|
5116
|
-
#
|
|
5117
|
-
#
|
|
5118
|
-
#
|
|
5119
|
-
#
|
|
5120
|
-
#
|
|
5121
|
-
#
|
|
5118
|
+
# <note markdown="1"> <b>Directory buckets </b> - For directory buckets, you must make
|
|
5119
|
+
# requests for this API operation to the Regional endpoint. These
|
|
5120
|
+
# endpoints support path-style requests in the format
|
|
5121
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
5122
|
+
# Virtual-hosted-style requests aren't supported. For more information
|
|
5123
|
+
# about endpoints in Availability Zones, see [Regional and Zonal
|
|
5124
|
+
# endpoints for directory buckets in Availability Zones][1] in the
|
|
5125
|
+
# *Amazon S3 User Guide*. For more information about endpoints in Local
|
|
5126
|
+
# Zones, see [Concepts for directory buckets in Local Zones][2] in the
|
|
5127
|
+
# *Amazon S3 User Guide*.
|
|
5128
|
+
#
|
|
5129
|
+
# </note>
|
|
5130
|
+
#
|
|
5131
|
+
# Permissions
|
|
5132
|
+
#
|
|
5133
|
+
# : To use this operation, you must have permissions to perform the
|
|
5134
|
+
# `s3:PutMetricsConfiguration` action. The bucket owner has this
|
|
5135
|
+
# permission by default. The bucket owner can grant this permission to
|
|
5136
|
+
# others. For more information about permissions, see [Permissions
|
|
5137
|
+
# Related to Bucket Subresource Operations][3] and [Managing Access
|
|
5138
|
+
# Permissions to Your Amazon S3 Resources][4].
|
|
5139
|
+
#
|
|
5140
|
+
# * **General purpose bucket permissions** - The
|
|
5141
|
+
# `s3:PutMetricsConfiguration` permission is required in a policy.
|
|
5142
|
+
# For more information about general purpose buckets permissions,
|
|
5143
|
+
# see [Using Bucket Policies and User Policies][5] in the *Amazon S3
|
|
5144
|
+
# User Guide*.
|
|
5145
|
+
#
|
|
5146
|
+
# * **Directory bucket permissions** - To grant access to this API
|
|
5147
|
+
# operation, you must have the `s3express:PutMetricsConfiguration`
|
|
5148
|
+
# permission in an IAM identity-based policy instead of a bucket
|
|
5149
|
+
# policy. Cross-account access to this API operation isn't
|
|
5150
|
+
# supported. This operation can only be performed by the Amazon Web
|
|
5151
|
+
# Services account that owns the resource. For more information
|
|
5152
|
+
# about directory bucket policies and permissions, see [Amazon Web
|
|
5153
|
+
# Services Identity and Access Management (IAM) for S3 Express One
|
|
5154
|
+
# Zone][6] in the *Amazon S3 User Guide*.
|
|
5155
|
+
#
|
|
5156
|
+
# HTTP Host header syntax
|
|
5157
|
+
#
|
|
5158
|
+
# : <b>Directory buckets </b> - The HTTP Host header syntax is
|
|
5159
|
+
# `s3express-control.region-code.amazonaws.com`.
|
|
5122
5160
|
#
|
|
5123
5161
|
# For information about CloudWatch request metrics for Amazon S3, see
|
|
5124
|
-
# [Monitoring Metrics with Amazon CloudWatch][
|
|
5162
|
+
# [Monitoring Metrics with Amazon CloudWatch][7].
|
|
5125
5163
|
#
|
|
5126
5164
|
# The following operations are related to
|
|
5127
5165
|
# `DeleteBucketMetricsConfiguration`:
|
|
5128
5166
|
#
|
|
5129
|
-
# * [GetBucketMetricsConfiguration][
|
|
5167
|
+
# * [GetBucketMetricsConfiguration][8]
|
|
5130
5168
|
#
|
|
5131
|
-
# * [PutBucketMetricsConfiguration][
|
|
5169
|
+
# * [PutBucketMetricsConfiguration][9]
|
|
5132
5170
|
#
|
|
5133
|
-
# * [ListBucketMetricsConfigurations][
|
|
5171
|
+
# * [ListBucketMetricsConfigurations][10]
|
|
5134
5172
|
#
|
|
5135
|
-
# * [Monitoring Metrics with Amazon CloudWatch][
|
|
5173
|
+
# * [Monitoring Metrics with Amazon CloudWatch][7]
|
|
5136
5174
|
#
|
|
5137
5175
|
# You must URL encode any signed header values that contain spaces. For
|
|
5138
5176
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -5140,16 +5178,35 @@ module Aws::S3
|
|
|
5140
5178
|
#
|
|
5141
5179
|
#
|
|
5142
5180
|
#
|
|
5143
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
5144
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-
|
|
5145
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
5146
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
5147
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
5148
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
5181
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
|
5182
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
|
5183
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
|
5184
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
|
5185
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
|
5186
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
|
5187
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html
|
|
5188
|
+
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html
|
|
5189
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html
|
|
5190
|
+
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html
|
|
5149
5191
|
#
|
|
5150
5192
|
# @option params [required, String] :bucket
|
|
5151
5193
|
# The name of the bucket containing the metrics configuration to delete.
|
|
5152
5194
|
#
|
|
5195
|
+
# <b>Directory buckets </b> - When you use this operation with a
|
|
5196
|
+
# directory bucket, you must use path-style requests in the format
|
|
5197
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
5198
|
+
# Virtual-hosted-style requests aren't supported. Directory bucket
|
|
5199
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
|
5200
|
+
# Zone). Bucket names must also follow the format `
|
|
5201
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
|
5202
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
|
5203
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
|
5204
|
+
# *Amazon S3 User Guide*
|
|
5205
|
+
#
|
|
5206
|
+
#
|
|
5207
|
+
#
|
|
5208
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
|
|
5209
|
+
#
|
|
5153
5210
|
# @option params [required, String] :id
|
|
5154
5211
|
# The ID used to identify the metrics configuration. The ID has a 64
|
|
5155
5212
|
# character limit and can only contain letters, numbers, periods,
|
|
@@ -5160,6 +5217,12 @@ module Aws::S3
|
|
|
5160
5217
|
# you provide does not match the actual owner of the bucket, the request
|
|
5161
5218
|
# fails with the HTTP status code `403 Forbidden` (access denied).
|
|
5162
5219
|
#
|
|
5220
|
+
# <note markdown="1"> For directory buckets, this header is not supported in this API
|
|
5221
|
+
# operation. If you specify this header, the request fails with the HTTP
|
|
5222
|
+
# status code `501 Not Implemented`.
|
|
5223
|
+
#
|
|
5224
|
+
# </note>
|
|
5225
|
+
#
|
|
5163
5226
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
5164
5227
|
#
|
|
5165
5228
|
# @example Request syntax with placeholder values
|
|
@@ -7929,34 +7992,66 @@ module Aws::S3
|
|
|
7929
7992
|
req.send_request(options)
|
|
7930
7993
|
end
|
|
7931
7994
|
|
|
7932
|
-
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
7933
|
-
#
|
|
7934
|
-
# </note>
|
|
7935
|
-
#
|
|
7936
7995
|
# Gets a metrics configuration (specified by the metrics configuration
|
|
7937
7996
|
# ID) from the bucket. Note that this doesn't include the daily storage
|
|
7938
7997
|
# metrics.
|
|
7939
7998
|
#
|
|
7940
|
-
#
|
|
7941
|
-
#
|
|
7942
|
-
#
|
|
7943
|
-
#
|
|
7944
|
-
#
|
|
7945
|
-
#
|
|
7999
|
+
# <note markdown="1"> <b>Directory buckets </b> - For directory buckets, you must make
|
|
8000
|
+
# requests for this API operation to the Regional endpoint. These
|
|
8001
|
+
# endpoints support path-style requests in the format
|
|
8002
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
8003
|
+
# Virtual-hosted-style requests aren't supported. For more information
|
|
8004
|
+
# about endpoints in Availability Zones, see [Regional and Zonal
|
|
8005
|
+
# endpoints for directory buckets in Availability Zones][1] in the
|
|
8006
|
+
# *Amazon S3 User Guide*. For more information about endpoints in Local
|
|
8007
|
+
# Zones, see [Concepts for directory buckets in Local Zones][2] in the
|
|
8008
|
+
# *Amazon S3 User Guide*.
|
|
8009
|
+
#
|
|
8010
|
+
# </note>
|
|
8011
|
+
#
|
|
8012
|
+
# Permissions
|
|
8013
|
+
#
|
|
8014
|
+
# : To use this operation, you must have permissions to perform the
|
|
8015
|
+
# `s3:GetMetricsConfiguration` action. The bucket owner has this
|
|
8016
|
+
# permission by default. The bucket owner can grant this permission to
|
|
8017
|
+
# others. For more information about permissions, see [Permissions
|
|
8018
|
+
# Related to Bucket Subresource Operations][3] and [Managing Access
|
|
8019
|
+
# Permissions to Your Amazon S3 Resources][4].
|
|
8020
|
+
#
|
|
8021
|
+
# * **General purpose bucket permissions** - The
|
|
8022
|
+
# `s3:GetMetricsConfiguration` permission is required in a policy.
|
|
8023
|
+
# For more information about general purpose buckets permissions,
|
|
8024
|
+
# see [Using Bucket Policies and User Policies][5] in the *Amazon S3
|
|
8025
|
+
# User Guide*.
|
|
8026
|
+
#
|
|
8027
|
+
# * **Directory bucket permissions** - To grant access to this API
|
|
8028
|
+
# operation, you must have the `s3express:GetMetricsConfiguration`
|
|
8029
|
+
# permission in an IAM identity-based policy instead of a bucket
|
|
8030
|
+
# policy. Cross-account access to this API operation isn't
|
|
8031
|
+
# supported. This operation can only be performed by the Amazon Web
|
|
8032
|
+
# Services account that owns the resource. For more information
|
|
8033
|
+
# about directory bucket policies and permissions, see [Amazon Web
|
|
8034
|
+
# Services Identity and Access Management (IAM) for S3 Express One
|
|
8035
|
+
# Zone][6] in the *Amazon S3 User Guide*.
|
|
8036
|
+
#
|
|
8037
|
+
# HTTP Host header syntax
|
|
8038
|
+
#
|
|
8039
|
+
# : <b>Directory buckets </b> - The HTTP Host header syntax is
|
|
8040
|
+
# `s3express-control.region-code.amazonaws.com`.
|
|
7946
8041
|
#
|
|
7947
8042
|
# For information about CloudWatch request metrics for Amazon S3, see
|
|
7948
|
-
# [Monitoring Metrics with Amazon CloudWatch][
|
|
8043
|
+
# [Monitoring Metrics with Amazon CloudWatch][7].
|
|
7949
8044
|
#
|
|
7950
8045
|
# The following operations are related to
|
|
7951
8046
|
# `GetBucketMetricsConfiguration`:
|
|
7952
8047
|
#
|
|
7953
|
-
# * [PutBucketMetricsConfiguration][
|
|
8048
|
+
# * [PutBucketMetricsConfiguration][8]
|
|
7954
8049
|
#
|
|
7955
|
-
# * [DeleteBucketMetricsConfiguration][
|
|
8050
|
+
# * [DeleteBucketMetricsConfiguration][9]
|
|
7956
8051
|
#
|
|
7957
|
-
# * [ListBucketMetricsConfigurations][
|
|
8052
|
+
# * [ListBucketMetricsConfigurations][10]
|
|
7958
8053
|
#
|
|
7959
|
-
# * [Monitoring Metrics with Amazon CloudWatch][
|
|
8054
|
+
# * [Monitoring Metrics with Amazon CloudWatch][7]
|
|
7960
8055
|
#
|
|
7961
8056
|
# You must URL encode any signed header values that contain spaces. For
|
|
7962
8057
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -7964,17 +8059,36 @@ module Aws::S3
|
|
|
7964
8059
|
#
|
|
7965
8060
|
#
|
|
7966
8061
|
#
|
|
7967
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
7968
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-
|
|
7969
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
7970
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
7971
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
7972
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
8062
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
|
8063
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
|
8064
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
|
8065
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
|
8066
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
|
8067
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
|
8068
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html
|
|
8069
|
+
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html
|
|
8070
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html
|
|
8071
|
+
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html
|
|
7973
8072
|
#
|
|
7974
8073
|
# @option params [required, String] :bucket
|
|
7975
8074
|
# The name of the bucket containing the metrics configuration to
|
|
7976
8075
|
# retrieve.
|
|
7977
8076
|
#
|
|
8077
|
+
# <b>Directory buckets </b> - When you use this operation with a
|
|
8078
|
+
# directory bucket, you must use path-style requests in the format
|
|
8079
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
8080
|
+
# Virtual-hosted-style requests aren't supported. Directory bucket
|
|
8081
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
|
8082
|
+
# Zone). Bucket names must also follow the format `
|
|
8083
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
|
8084
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
|
8085
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
|
8086
|
+
# *Amazon S3 User Guide*
|
|
8087
|
+
#
|
|
8088
|
+
#
|
|
8089
|
+
#
|
|
8090
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
|
|
8091
|
+
#
|
|
7978
8092
|
# @option params [required, String] :id
|
|
7979
8093
|
# The ID used to identify the metrics configuration. The ID has a 64
|
|
7980
8094
|
# character limit and can only contain letters, numbers, periods,
|
|
@@ -7985,6 +8099,12 @@ module Aws::S3
|
|
|
7985
8099
|
# you provide does not match the actual owner of the bucket, the request
|
|
7986
8100
|
# fails with the HTTP status code `403 Forbidden` (access denied).
|
|
7987
8101
|
#
|
|
8102
|
+
# <note markdown="1"> For directory buckets, this header is not supported in this API
|
|
8103
|
+
# operation. If you specify this header, the request fails with the HTTP
|
|
8104
|
+
# status code `501 Not Implemented`.
|
|
8105
|
+
#
|
|
8106
|
+
# </note>
|
|
8107
|
+
#
|
|
7988
8108
|
# @return [Types::GetBucketMetricsConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7989
8109
|
#
|
|
7990
8110
|
# * {Types::GetBucketMetricsConfigurationOutput#metrics_configuration #metrics_configuration} => Types::MetricsConfiguration
|
|
@@ -11993,15 +12113,24 @@ module Aws::S3
|
|
|
11993
12113
|
req.send_request(options)
|
|
11994
12114
|
end
|
|
11995
12115
|
|
|
11996
|
-
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
11997
|
-
#
|
|
11998
|
-
# </note>
|
|
11999
|
-
#
|
|
12000
12116
|
# Lists the metrics configurations for the bucket. The metrics
|
|
12001
12117
|
# configurations are only for the request metrics of the bucket and do
|
|
12002
12118
|
# not provide information on daily storage metrics. You can have up to
|
|
12003
12119
|
# 1,000 configurations per bucket.
|
|
12004
12120
|
#
|
|
12121
|
+
# <note markdown="1"> <b>Directory buckets </b> - For directory buckets, you must make
|
|
12122
|
+
# requests for this API operation to the Regional endpoint. These
|
|
12123
|
+
# endpoints support path-style requests in the format
|
|
12124
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
12125
|
+
# Virtual-hosted-style requests aren't supported. For more information
|
|
12126
|
+
# about endpoints in Availability Zones, see [Regional and Zonal
|
|
12127
|
+
# endpoints for directory buckets in Availability Zones][1] in the
|
|
12128
|
+
# *Amazon S3 User Guide*. For more information about endpoints in Local
|
|
12129
|
+
# Zones, see [Concepts for directory buckets in Local Zones][2] in the
|
|
12130
|
+
# *Amazon S3 User Guide*.
|
|
12131
|
+
#
|
|
12132
|
+
# </note>
|
|
12133
|
+
#
|
|
12005
12134
|
# This action supports list pagination and does not return more than 100
|
|
12006
12135
|
# configurations at a time. Always check the `IsTruncated` element in
|
|
12007
12136
|
# the response. If there are no more configurations to list,
|
|
@@ -12011,24 +12140,47 @@ module Aws::S3
|
|
|
12011
12140
|
# continue the pagination of the list by passing the value in
|
|
12012
12141
|
# `continuation-token` in the request to `GET` the next page.
|
|
12013
12142
|
#
|
|
12014
|
-
#
|
|
12015
|
-
#
|
|
12016
|
-
#
|
|
12017
|
-
#
|
|
12018
|
-
#
|
|
12019
|
-
#
|
|
12143
|
+
# Permissions
|
|
12144
|
+
#
|
|
12145
|
+
# : To use this operation, you must have permissions to perform the
|
|
12146
|
+
# `s3:GetMetricsConfiguration` action. The bucket owner has this
|
|
12147
|
+
# permission by default. The bucket owner can grant this permission to
|
|
12148
|
+
# others. For more information about permissions, see [Permissions
|
|
12149
|
+
# Related to Bucket Subresource Operations][3] and [Managing Access
|
|
12150
|
+
# Permissions to Your Amazon S3 Resources][4].
|
|
12151
|
+
#
|
|
12152
|
+
# * **General purpose bucket permissions** - The
|
|
12153
|
+
# `s3:GetMetricsConfiguration` permission is required in a policy.
|
|
12154
|
+
# For more information about general purpose buckets permissions,
|
|
12155
|
+
# see [Using Bucket Policies and User Policies][5] in the *Amazon S3
|
|
12156
|
+
# User Guide*.
|
|
12157
|
+
#
|
|
12158
|
+
# * **Directory bucket permissions** - To grant access to this API
|
|
12159
|
+
# operation, you must have the `s3express:GetMetricsConfiguration`
|
|
12160
|
+
# permission in an IAM identity-based policy instead of a bucket
|
|
12161
|
+
# policy. Cross-account access to this API operation isn't
|
|
12162
|
+
# supported. This operation can only be performed by the Amazon Web
|
|
12163
|
+
# Services account that owns the resource. For more information
|
|
12164
|
+
# about directory bucket policies and permissions, see [Amazon Web
|
|
12165
|
+
# Services Identity and Access Management (IAM) for S3 Express One
|
|
12166
|
+
# Zone][6] in the *Amazon S3 User Guide*.
|
|
12167
|
+
#
|
|
12168
|
+
# HTTP Host header syntax
|
|
12169
|
+
#
|
|
12170
|
+
# : <b>Directory buckets </b> - The HTTP Host header syntax is
|
|
12171
|
+
# `s3express-control.region-code.amazonaws.com`.
|
|
12020
12172
|
#
|
|
12021
12173
|
# For more information about metrics configurations and CloudWatch
|
|
12022
|
-
# request metrics, see [Monitoring Metrics with Amazon CloudWatch][
|
|
12174
|
+
# request metrics, see [Monitoring Metrics with Amazon CloudWatch][7].
|
|
12023
12175
|
#
|
|
12024
12176
|
# The following operations are related to
|
|
12025
12177
|
# `ListBucketMetricsConfigurations`:
|
|
12026
12178
|
#
|
|
12027
|
-
# * [PutBucketMetricsConfiguration][
|
|
12179
|
+
# * [PutBucketMetricsConfiguration][8]
|
|
12028
12180
|
#
|
|
12029
|
-
# * [GetBucketMetricsConfiguration][
|
|
12181
|
+
# * [GetBucketMetricsConfiguration][9]
|
|
12030
12182
|
#
|
|
12031
|
-
# * [DeleteBucketMetricsConfiguration][
|
|
12183
|
+
# * [DeleteBucketMetricsConfiguration][10]
|
|
12032
12184
|
#
|
|
12033
12185
|
# You must URL encode any signed header values that contain spaces. For
|
|
12034
12186
|
# example, if your header value is `my file.txt`, containing two spaces
|
|
@@ -12036,17 +12188,36 @@ module Aws::S3
|
|
|
12036
12188
|
#
|
|
12037
12189
|
#
|
|
12038
12190
|
#
|
|
12039
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
12040
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-
|
|
12041
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
12042
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
12043
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
12044
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
12191
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
|
12192
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
|
12193
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
|
12194
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
|
12195
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
|
12196
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
|
12197
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html
|
|
12198
|
+
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html
|
|
12199
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html
|
|
12200
|
+
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html
|
|
12045
12201
|
#
|
|
12046
12202
|
# @option params [required, String] :bucket
|
|
12047
12203
|
# The name of the bucket containing the metrics configurations to
|
|
12048
12204
|
# retrieve.
|
|
12049
12205
|
#
|
|
12206
|
+
# <b>Directory buckets </b> - When you use this operation with a
|
|
12207
|
+
# directory bucket, you must use path-style requests in the format
|
|
12208
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
12209
|
+
# Virtual-hosted-style requests aren't supported. Directory bucket
|
|
12210
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
|
12211
|
+
# Zone). Bucket names must also follow the format `
|
|
12212
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
|
12213
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
|
12214
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
|
12215
|
+
# *Amazon S3 User Guide*
|
|
12216
|
+
#
|
|
12217
|
+
#
|
|
12218
|
+
#
|
|
12219
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
|
|
12220
|
+
#
|
|
12050
12221
|
# @option params [String] :continuation_token
|
|
12051
12222
|
# The marker that is used to continue a metrics configuration listing
|
|
12052
12223
|
# that has been truncated. Use the `NextContinuationToken` from a
|
|
@@ -12058,6 +12229,12 @@ module Aws::S3
|
|
|
12058
12229
|
# you provide does not match the actual owner of the bucket, the request
|
|
12059
12230
|
# fails with the HTTP status code `403 Forbidden` (access denied).
|
|
12060
12231
|
#
|
|
12232
|
+
# <note markdown="1"> For directory buckets, this header is not supported in this API
|
|
12233
|
+
# operation. If you specify this header, the request fails with the HTTP
|
|
12234
|
+
# status code `501 Not Implemented`.
|
|
12235
|
+
#
|
|
12236
|
+
# </note>
|
|
12237
|
+
#
|
|
12061
12238
|
# @return [Types::ListBucketMetricsConfigurationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
12062
12239
|
#
|
|
12063
12240
|
# * {Types::ListBucketMetricsConfigurationsOutput#is_truncated #is_truncated} => Boolean
|
|
@@ -15977,10 +16154,6 @@ module Aws::S3
|
|
|
15977
16154
|
req.send_request(options)
|
|
15978
16155
|
end
|
|
15979
16156
|
|
|
15980
|
-
# <note markdown="1"> This operation is not supported for directory buckets.
|
|
15981
|
-
#
|
|
15982
|
-
# </note>
|
|
15983
|
-
#
|
|
15984
16157
|
# Sets a metrics configuration (specified by the metrics configuration
|
|
15985
16158
|
# ID) for the bucket. You can have up to 1,000 metrics configurations
|
|
15986
16159
|
# per bucket. If you're updating an existing metrics configuration,
|
|
@@ -15988,24 +16161,60 @@ module Aws::S3
|
|
|
15988
16161
|
# configuration. If you don't include the elements you want to keep,
|
|
15989
16162
|
# they are erased.
|
|
15990
16163
|
#
|
|
15991
|
-
#
|
|
15992
|
-
#
|
|
15993
|
-
#
|
|
15994
|
-
#
|
|
15995
|
-
#
|
|
15996
|
-
#
|
|
16164
|
+
# <note markdown="1"> <b>Directory buckets </b> - For directory buckets, you must make
|
|
16165
|
+
# requests for this API operation to the Regional endpoint. These
|
|
16166
|
+
# endpoints support path-style requests in the format
|
|
16167
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
16168
|
+
# Virtual-hosted-style requests aren't supported. For more information
|
|
16169
|
+
# about endpoints in Availability Zones, see [Regional and Zonal
|
|
16170
|
+
# endpoints for directory buckets in Availability Zones][1] in the
|
|
16171
|
+
# *Amazon S3 User Guide*. For more information about endpoints in Local
|
|
16172
|
+
# Zones, see [Concepts for directory buckets in Local Zones][2] in the
|
|
16173
|
+
# *Amazon S3 User Guide*.
|
|
16174
|
+
#
|
|
16175
|
+
# </note>
|
|
16176
|
+
#
|
|
16177
|
+
# Permissions
|
|
16178
|
+
#
|
|
16179
|
+
# : To use this operation, you must have permissions to perform the
|
|
16180
|
+
# `s3:PutMetricsConfiguration` action. The bucket owner has this
|
|
16181
|
+
# permission by default. The bucket owner can grant this permission to
|
|
16182
|
+
# others. For more information about permissions, see [Permissions
|
|
16183
|
+
# Related to Bucket Subresource Operations][3] and [Managing Access
|
|
16184
|
+
# Permissions to Your Amazon S3 Resources][4].
|
|
16185
|
+
#
|
|
16186
|
+
# * **General purpose bucket permissions** - The
|
|
16187
|
+
# `s3:PutMetricsConfiguration` permission is required in a policy.
|
|
16188
|
+
# For more information about general purpose buckets permissions,
|
|
16189
|
+
# see [Using Bucket Policies and User Policies][5] in the *Amazon S3
|
|
16190
|
+
# User Guide*.
|
|
16191
|
+
#
|
|
16192
|
+
# * **Directory bucket permissions** - To grant access to this API
|
|
16193
|
+
# operation, you must have the `s3express:PutMetricsConfiguration`
|
|
16194
|
+
# permission in an IAM identity-based policy instead of a bucket
|
|
16195
|
+
# policy. Cross-account access to this API operation isn't
|
|
16196
|
+
# supported. This operation can only be performed by the Amazon Web
|
|
16197
|
+
# Services account that owns the resource. For more information
|
|
16198
|
+
# about directory bucket policies and permissions, see [Amazon Web
|
|
16199
|
+
# Services Identity and Access Management (IAM) for S3 Express One
|
|
16200
|
+
# Zone][6] in the *Amazon S3 User Guide*.
|
|
16201
|
+
#
|
|
16202
|
+
# HTTP Host header syntax
|
|
16203
|
+
#
|
|
16204
|
+
# : <b>Directory buckets </b> - The HTTP Host header syntax is
|
|
16205
|
+
# `s3express-control.region-code.amazonaws.com`.
|
|
15997
16206
|
#
|
|
15998
16207
|
# For information about CloudWatch request metrics for Amazon S3, see
|
|
15999
|
-
# [Monitoring Metrics with Amazon CloudWatch][
|
|
16208
|
+
# [Monitoring Metrics with Amazon CloudWatch][7].
|
|
16000
16209
|
#
|
|
16001
16210
|
# The following operations are related to
|
|
16002
16211
|
# `PutBucketMetricsConfiguration`:
|
|
16003
16212
|
#
|
|
16004
|
-
# * [DeleteBucketMetricsConfiguration][
|
|
16213
|
+
# * [DeleteBucketMetricsConfiguration][8]
|
|
16005
16214
|
#
|
|
16006
|
-
# * [GetBucketMetricsConfiguration][
|
|
16215
|
+
# * [GetBucketMetricsConfiguration][9]
|
|
16007
16216
|
#
|
|
16008
|
-
# * [ListBucketMetricsConfigurations][
|
|
16217
|
+
# * [ListBucketMetricsConfigurations][10]
|
|
16009
16218
|
#
|
|
16010
16219
|
# `PutBucketMetricsConfiguration` has the following special error:
|
|
16011
16220
|
#
|
|
@@ -16022,16 +16231,35 @@ module Aws::S3
|
|
|
16022
16231
|
#
|
|
16023
16232
|
#
|
|
16024
16233
|
#
|
|
16025
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
16026
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-
|
|
16027
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
16028
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
16029
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
16030
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
|
16234
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
|
|
16235
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
|
|
16236
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
|
16237
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
|
16238
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
|
16239
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
|
|
16240
|
+
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html
|
|
16241
|
+
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html
|
|
16242
|
+
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html
|
|
16243
|
+
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html
|
|
16031
16244
|
#
|
|
16032
16245
|
# @option params [required, String] :bucket
|
|
16033
16246
|
# The name of the bucket for which the metrics configuration is set.
|
|
16034
16247
|
#
|
|
16248
|
+
# <b>Directory buckets </b> - When you use this operation with a
|
|
16249
|
+
# directory bucket, you must use path-style requests in the format
|
|
16250
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
16251
|
+
# Virtual-hosted-style requests aren't supported. Directory bucket
|
|
16252
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
|
16253
|
+
# Zone). Bucket names must also follow the format `
|
|
16254
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
|
16255
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
|
16256
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
|
16257
|
+
# *Amazon S3 User Guide*
|
|
16258
|
+
#
|
|
16259
|
+
#
|
|
16260
|
+
#
|
|
16261
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
|
|
16262
|
+
#
|
|
16035
16263
|
# @option params [required, String] :id
|
|
16036
16264
|
# The ID used to identify the metrics configuration. The ID has a 64
|
|
16037
16265
|
# character limit and can only contain letters, numbers, periods,
|
|
@@ -16045,6 +16273,12 @@ module Aws::S3
|
|
|
16045
16273
|
# you provide does not match the actual owner of the bucket, the request
|
|
16046
16274
|
# fails with the HTTP status code `403 Forbidden` (access denied).
|
|
16047
16275
|
#
|
|
16276
|
+
# <note markdown="1"> For directory buckets, this header is not supported in this API
|
|
16277
|
+
# operation. If you specify this header, the request fails with the HTTP
|
|
16278
|
+
# status code `501 Not Implemented`.
|
|
16279
|
+
#
|
|
16280
|
+
# </note>
|
|
16281
|
+
#
|
|
16048
16282
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
16049
16283
|
#
|
|
16050
16284
|
# @example Request syntax with placeholder values
|
|
@@ -22600,7 +22834,7 @@ module Aws::S3
|
|
|
22600
22834
|
tracer: tracer
|
|
22601
22835
|
)
|
|
22602
22836
|
context[:gem_name] = 'aws-sdk-s3'
|
|
22603
|
-
context[:gem_version] = '1.
|
|
22837
|
+
context[:gem_version] = '1.218.0'
|
|
22604
22838
|
Seahorse::Client::Request.new(handlers, context)
|
|
22605
22839
|
end
|
|
22606
22840
|
|
data/lib/aws-sdk-s3/endpoints.rb
CHANGED
data/lib/aws-sdk-s3/types.rb
CHANGED
|
@@ -4404,6 +4404,21 @@ module Aws::S3
|
|
|
4404
4404
|
# @!attribute [rw] bucket
|
|
4405
4405
|
# The name of the bucket containing the metrics configuration to
|
|
4406
4406
|
# delete.
|
|
4407
|
+
#
|
|
4408
|
+
# <b>Directory buckets </b> - When you use this operation with a
|
|
4409
|
+
# directory bucket, you must use path-style requests in the format
|
|
4410
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
4411
|
+
# Virtual-hosted-style requests aren't supported. Directory bucket
|
|
4412
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
|
4413
|
+
# Zone). Bucket names must also follow the format `
|
|
4414
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
|
4415
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
|
4416
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
|
4417
|
+
# *Amazon S3 User Guide*
|
|
4418
|
+
#
|
|
4419
|
+
#
|
|
4420
|
+
#
|
|
4421
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
|
|
4407
4422
|
# @return [String]
|
|
4408
4423
|
#
|
|
4409
4424
|
# @!attribute [rw] id
|
|
@@ -4417,6 +4432,12 @@ module Aws::S3
|
|
|
4417
4432
|
# you provide does not match the actual owner of the bucket, the
|
|
4418
4433
|
# request fails with the HTTP status code `403 Forbidden` (access
|
|
4419
4434
|
# denied).
|
|
4435
|
+
#
|
|
4436
|
+
# <note markdown="1"> For directory buckets, this header is not supported in this API
|
|
4437
|
+
# operation. If you specify this header, the request fails with the
|
|
4438
|
+
# HTTP status code `501 Not Implemented`.
|
|
4439
|
+
#
|
|
4440
|
+
# </note>
|
|
4420
4441
|
# @return [String]
|
|
4421
4442
|
#
|
|
4422
4443
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfigurationRequest AWS API Documentation
|
|
@@ -7177,6 +7198,21 @@ module Aws::S3
|
|
|
7177
7198
|
# @!attribute [rw] bucket
|
|
7178
7199
|
# The name of the bucket containing the metrics configuration to
|
|
7179
7200
|
# retrieve.
|
|
7201
|
+
#
|
|
7202
|
+
# <b>Directory buckets </b> - When you use this operation with a
|
|
7203
|
+
# directory bucket, you must use path-style requests in the format
|
|
7204
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
7205
|
+
# Virtual-hosted-style requests aren't supported. Directory bucket
|
|
7206
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
|
7207
|
+
# Zone). Bucket names must also follow the format `
|
|
7208
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
|
7209
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
|
7210
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
|
7211
|
+
# *Amazon S3 User Guide*
|
|
7212
|
+
#
|
|
7213
|
+
#
|
|
7214
|
+
#
|
|
7215
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
|
|
7180
7216
|
# @return [String]
|
|
7181
7217
|
#
|
|
7182
7218
|
# @!attribute [rw] id
|
|
@@ -7190,6 +7226,12 @@ module Aws::S3
|
|
|
7190
7226
|
# you provide does not match the actual owner of the bucket, the
|
|
7191
7227
|
# request fails with the HTTP status code `403 Forbidden` (access
|
|
7192
7228
|
# denied).
|
|
7229
|
+
#
|
|
7230
|
+
# <note markdown="1"> For directory buckets, this header is not supported in this API
|
|
7231
|
+
# operation. If you specify this header, the request fails with the
|
|
7232
|
+
# HTTP status code `501 Not Implemented`.
|
|
7233
|
+
#
|
|
7234
|
+
# </note>
|
|
7193
7235
|
# @return [String]
|
|
7194
7236
|
#
|
|
7195
7237
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfigurationRequest AWS API Documentation
|
|
@@ -11267,6 +11309,21 @@ module Aws::S3
|
|
|
11267
11309
|
# @!attribute [rw] bucket
|
|
11268
11310
|
# The name of the bucket containing the metrics configurations to
|
|
11269
11311
|
# retrieve.
|
|
11312
|
+
#
|
|
11313
|
+
# <b>Directory buckets </b> - When you use this operation with a
|
|
11314
|
+
# directory bucket, you must use path-style requests in the format
|
|
11315
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
11316
|
+
# Virtual-hosted-style requests aren't supported. Directory bucket
|
|
11317
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
|
11318
|
+
# Zone). Bucket names must also follow the format `
|
|
11319
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
|
11320
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
|
11321
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
|
11322
|
+
# *Amazon S3 User Guide*
|
|
11323
|
+
#
|
|
11324
|
+
#
|
|
11325
|
+
#
|
|
11326
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
|
|
11270
11327
|
# @return [String]
|
|
11271
11328
|
#
|
|
11272
11329
|
# @!attribute [rw] continuation_token
|
|
@@ -11281,6 +11338,12 @@ module Aws::S3
|
|
|
11281
11338
|
# you provide does not match the actual owner of the bucket, the
|
|
11282
11339
|
# request fails with the HTTP status code `403 Forbidden` (access
|
|
11283
11340
|
# denied).
|
|
11341
|
+
#
|
|
11342
|
+
# <note markdown="1"> For directory buckets, this header is not supported in this API
|
|
11343
|
+
# operation. If you specify this header, the request fails with the
|
|
11344
|
+
# HTTP status code `501 Not Implemented`.
|
|
11345
|
+
#
|
|
11346
|
+
# </note>
|
|
11284
11347
|
# @return [String]
|
|
11285
11348
|
#
|
|
11286
11349
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsRequest AWS API Documentation
|
|
@@ -13153,6 +13216,10 @@ module Aws::S3
|
|
|
13153
13216
|
#
|
|
13154
13217
|
# @!attribute [rw] tags
|
|
13155
13218
|
# The list of tags used when evaluating an AND predicate.
|
|
13219
|
+
#
|
|
13220
|
+
# <note markdown="1"> `Tag` filters are not supported for directory buckets.
|
|
13221
|
+
#
|
|
13222
|
+
# </note>
|
|
13156
13223
|
# @return [Array<Types::Tag>]
|
|
13157
13224
|
#
|
|
13158
13225
|
# @!attribute [rw] access_point_arn
|
|
@@ -13191,6 +13258,11 @@ module Aws::S3
|
|
|
13191
13258
|
# will only include objects that meet the filter's criteria. A filter
|
|
13192
13259
|
# must be a prefix, an object tag, an access point ARN, or a
|
|
13193
13260
|
# conjunction (MetricsAndOperator).
|
|
13261
|
+
#
|
|
13262
|
+
# <note markdown="1"> Metrics configurations for directory buckets do not support tag
|
|
13263
|
+
# filters.
|
|
13264
|
+
#
|
|
13265
|
+
# </note>
|
|
13194
13266
|
# @return [Types::MetricsFilter]
|
|
13195
13267
|
#
|
|
13196
13268
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsConfiguration AWS API Documentation
|
|
@@ -13218,6 +13290,10 @@ module Aws::S3
|
|
|
13218
13290
|
#
|
|
13219
13291
|
# @!attribute [rw] tag
|
|
13220
13292
|
# The tag used when evaluating a metrics filter.
|
|
13293
|
+
#
|
|
13294
|
+
# <note markdown="1"> `Tag` filters are not supported for directory buckets.
|
|
13295
|
+
#
|
|
13296
|
+
# </note>
|
|
13221
13297
|
# @return [Types::Tag]
|
|
13222
13298
|
#
|
|
13223
13299
|
# @!attribute [rw] access_point_arn
|
|
@@ -14969,6 +15045,21 @@ module Aws::S3
|
|
|
14969
15045
|
|
|
14970
15046
|
# @!attribute [rw] bucket
|
|
14971
15047
|
# The name of the bucket for which the metrics configuration is set.
|
|
15048
|
+
#
|
|
15049
|
+
# <b>Directory buckets </b> - When you use this operation with a
|
|
15050
|
+
# directory bucket, you must use path-style requests in the format
|
|
15051
|
+
# `https://s3express-control.region-code.amazonaws.com/bucket-name `.
|
|
15052
|
+
# Virtual-hosted-style requests aren't supported. Directory bucket
|
|
15053
|
+
# names must be unique in the chosen Zone (Availability Zone or Local
|
|
15054
|
+
# Zone). Bucket names must also follow the format `
|
|
15055
|
+
# bucket-base-name--zone-id--x-s3` (for example, `
|
|
15056
|
+
# DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
|
|
15057
|
+
# naming restrictions, see [Directory bucket naming rules][1] in the
|
|
15058
|
+
# *Amazon S3 User Guide*
|
|
15059
|
+
#
|
|
15060
|
+
#
|
|
15061
|
+
#
|
|
15062
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
|
|
14972
15063
|
# @return [String]
|
|
14973
15064
|
#
|
|
14974
15065
|
# @!attribute [rw] id
|
|
@@ -14986,6 +15077,12 @@ module Aws::S3
|
|
|
14986
15077
|
# you provide does not match the actual owner of the bucket, the
|
|
14987
15078
|
# request fails with the HTTP status code `403 Forbidden` (access
|
|
14988
15079
|
# denied).
|
|
15080
|
+
#
|
|
15081
|
+
# <note markdown="1"> For directory buckets, this header is not supported in this API
|
|
15082
|
+
# operation. If you specify this header, the request fails with the
|
|
15083
|
+
# HTTP status code `501 Not Implemented`.
|
|
15084
|
+
#
|
|
15085
|
+
# </note>
|
|
14989
15086
|
# @return [String]
|
|
14990
15087
|
#
|
|
14991
15088
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationRequest AWS API Documentation
|
data/lib/aws-sdk-s3.rb
CHANGED