aws-sdk-s3 1.122.0 → 1.157.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +238 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/access_grants_credentials.rb +57 -0
- data/lib/aws-sdk-s3/access_grants_credentials_provider.rb +250 -0
- data/lib/aws-sdk-s3/bucket.rb +507 -114
- data/lib/aws-sdk-s3/bucket_acl.rb +18 -12
- data/lib/aws-sdk-s3/bucket_cors.rb +24 -16
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +24 -16
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +24 -16
- data/lib/aws-sdk-s3/bucket_logging.rb +25 -12
- data/lib/aws-sdk-s3/bucket_notification.rb +12 -6
- data/lib/aws-sdk-s3/bucket_policy.rb +70 -18
- data/lib/aws-sdk-s3/bucket_region_cache.rb +9 -5
- data/lib/aws-sdk-s3/bucket_request_payment.rb +18 -12
- data/lib/aws-sdk-s3/bucket_tagging.rb +24 -16
- data/lib/aws-sdk-s3/bucket_versioning.rb +42 -32
- data/lib/aws-sdk-s3/bucket_website.rb +24 -16
- data/lib/aws-sdk-s3/client.rb +6048 -2781
- data/lib/aws-sdk-s3/client_api.rb +148 -20
- data/lib/aws-sdk-s3/customizations/bucket.rb +3 -1
- data/lib/aws-sdk-s3/customizations/errors.rb +16 -3
- data/lib/aws-sdk-s3/customizations/object.rb +91 -18
- data/lib/aws-sdk-s3/customizations.rb +8 -0
- data/lib/aws-sdk-s3/encryption/client.rb +6 -2
- data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +13 -9
- data/lib/aws-sdk-s3/encryptionV2/client.rb +6 -2
- data/lib/aws-sdk-s3/encryptionV2/decrypt_handler.rb +1 -0
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +10 -6
- data/lib/aws-sdk-s3/endpoint_parameters.rb +44 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +111 -252
- data/lib/aws-sdk-s3/endpoints.rb +540 -0
- data/lib/aws-sdk-s3/express_credentials.rb +55 -0
- data/lib/aws-sdk-s3/express_credentials_provider.rb +59 -0
- data/lib/aws-sdk-s3/file_downloader.rb +169 -44
- data/lib/aws-sdk-s3/file_uploader.rb +8 -6
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +4 -4
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +10 -7
- data/lib/aws-sdk-s3/multipart_upload.rb +81 -20
- data/lib/aws-sdk-s3/multipart_upload_part.rb +169 -38
- data/lib/aws-sdk-s3/object.rb +1571 -261
- data/lib/aws-sdk-s3/object_acl.rb +38 -18
- data/lib/aws-sdk-s3/object_copier.rb +7 -5
- data/lib/aws-sdk-s3/object_multipart_copier.rb +42 -24
- data/lib/aws-sdk-s3/object_summary.rb +1422 -276
- data/lib/aws-sdk-s3/object_version.rb +344 -47
- data/lib/aws-sdk-s3/plugins/access_grants.rb +178 -0
- data/lib/aws-sdk-s3/plugins/endpoints.rb +14 -2
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +97 -0
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +53 -16
- data/lib/aws-sdk-s3/plugins/location_constraint.rb +3 -1
- data/lib/aws-sdk-s3/plugins/md5s.rb +2 -1
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +7 -2
- data/lib/aws-sdk-s3/presigned_post.rb +52 -43
- data/lib/aws-sdk-s3/presigner.rb +8 -4
- data/lib/aws-sdk-s3/resource.rb +89 -13
- data/lib/aws-sdk-s3/types.rb +4879 -1513
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +212 -0
- data/sig/bucket_acl.rbs +78 -0
- data/sig/bucket_cors.rbs +69 -0
- data/sig/bucket_lifecycle.rbs +88 -0
- data/sig/bucket_lifecycle_configuration.rbs +111 -0
- data/sig/bucket_logging.rbs +76 -0
- data/sig/bucket_notification.rbs +114 -0
- data/sig/bucket_policy.rbs +59 -0
- data/sig/bucket_request_payment.rbs +54 -0
- data/sig/bucket_tagging.rbs +65 -0
- data/sig/bucket_versioning.rbs +77 -0
- data/sig/bucket_website.rbs +93 -0
- data/sig/client.rbs +2381 -0
- data/sig/customizations/bucket.rbs +19 -0
- data/sig/customizations/object.rbs +38 -0
- data/sig/customizations/object_summary.rbs +35 -0
- data/sig/errors.rbs +34 -0
- data/sig/multipart_upload.rbs +110 -0
- data/sig/multipart_upload_part.rbs +105 -0
- data/sig/object.rbs +442 -0
- data/sig/object_acl.rbs +86 -0
- data/sig/object_summary.rbs +334 -0
- data/sig/object_version.rbs +137 -0
- data/sig/resource.rbs +127 -0
- data/sig/types.rbs +2568 -0
- data/sig/waiters.rbs +95 -0
- metadata +43 -11
data/sig/client.rbs
ADDED
@@ -0,0 +1,2381 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module S3
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_grants: bool,
|
18
|
+
?access_grants_credentials_provider: untyped,
|
19
|
+
?access_key_id: String,
|
20
|
+
?active_endpoint_cache: bool,
|
21
|
+
?adaptive_retry_wait_to_fill: bool,
|
22
|
+
?client_side_monitoring: bool,
|
23
|
+
?client_side_monitoring_client_id: String,
|
24
|
+
?client_side_monitoring_host: String,
|
25
|
+
?client_side_monitoring_port: Integer,
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
27
|
+
?compute_checksums: bool,
|
28
|
+
?convert_params: bool,
|
29
|
+
?correct_clock_skew: bool,
|
30
|
+
?defaults_mode: String,
|
31
|
+
?disable_host_prefix_injection: bool,
|
32
|
+
?disable_request_compression: bool,
|
33
|
+
?disable_s3_express_session_auth: bool,
|
34
|
+
?endpoint: String,
|
35
|
+
?endpoint_cache_max_entries: Integer,
|
36
|
+
?endpoint_cache_max_threads: Integer,
|
37
|
+
?endpoint_cache_poll_interval: Integer,
|
38
|
+
?endpoint_discovery: bool,
|
39
|
+
?event_stream_handler: Proc,
|
40
|
+
?express_credentials_provider: untyped,
|
41
|
+
?follow_redirects: bool,
|
42
|
+
?force_path_style: bool,
|
43
|
+
?ignore_configured_endpoint_urls: bool,
|
44
|
+
?input_event_stream_handler: Proc,
|
45
|
+
?log_formatter: untyped,
|
46
|
+
?log_level: Symbol,
|
47
|
+
?logger: untyped,
|
48
|
+
?max_attempts: Integer,
|
49
|
+
?output_event_stream_handler: Proc,
|
50
|
+
?profile: String,
|
51
|
+
?request_min_compression_size_bytes: Integer,
|
52
|
+
?require_https_for_sse_cpk: bool,
|
53
|
+
?retry_backoff: Proc,
|
54
|
+
?retry_base_delay: Float,
|
55
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
56
|
+
?retry_limit: Integer,
|
57
|
+
?retry_max_delay: Integer,
|
58
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
59
|
+
?s3_disable_multiregion_access_points: bool,
|
60
|
+
?s3_us_east_1_regional_endpoint: String,
|
61
|
+
?s3_use_arn_region: bool,
|
62
|
+
?sdk_ua_app_id: String,
|
63
|
+
?secret_access_key: String,
|
64
|
+
?session_token: String,
|
65
|
+
?sigv4a_signing_region_set: Array[String],
|
66
|
+
?stub_responses: untyped,
|
67
|
+
?token_provider: untyped,
|
68
|
+
?use_accelerate_endpoint: bool,
|
69
|
+
?use_dualstack_endpoint: bool,
|
70
|
+
?use_fips_endpoint: bool,
|
71
|
+
?validate_params: bool,
|
72
|
+
?endpoint_provider: untyped,
|
73
|
+
?http_proxy: String,
|
74
|
+
?http_open_timeout: (Float | Integer),
|
75
|
+
?http_read_timeout: (Float | Integer),
|
76
|
+
?http_idle_timeout: (Float | Integer),
|
77
|
+
?http_continue_timeout: (Float | Integer),
|
78
|
+
?ssl_timeout: (Float | Integer | nil),
|
79
|
+
?http_wire_trace: bool,
|
80
|
+
?ssl_verify_peer: bool,
|
81
|
+
?ssl_ca_bundle: String,
|
82
|
+
?ssl_ca_directory: String,
|
83
|
+
?ssl_ca_store: String,
|
84
|
+
?on_chunk_received: Proc,
|
85
|
+
?on_chunk_sent: Proc,
|
86
|
+
?raise_response_errors: bool
|
87
|
+
) -> instance
|
88
|
+
| (?Hash[Symbol, untyped]) -> instance
|
89
|
+
|
90
|
+
|
91
|
+
interface _AbortMultipartUploadResponseSuccess
|
92
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AbortMultipartUploadOutput]
|
93
|
+
def request_charged: () -> ("requester")
|
94
|
+
end
|
95
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#abort_multipart_upload-instance_method
|
96
|
+
def abort_multipart_upload: (
|
97
|
+
bucket: ::String,
|
98
|
+
key: ::String,
|
99
|
+
upload_id: ::String,
|
100
|
+
?request_payer: ("requester"),
|
101
|
+
?expected_bucket_owner: ::String
|
102
|
+
) -> _AbortMultipartUploadResponseSuccess
|
103
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AbortMultipartUploadResponseSuccess
|
104
|
+
|
105
|
+
interface _CompleteMultipartUploadResponseSuccess
|
106
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CompleteMultipartUploadOutput]
|
107
|
+
def location: () -> ::String
|
108
|
+
def bucket: () -> ::String
|
109
|
+
def key: () -> ::String
|
110
|
+
def expiration: () -> ::String
|
111
|
+
def etag: () -> ::String
|
112
|
+
def checksum_crc32: () -> ::String
|
113
|
+
def checksum_crc32c: () -> ::String
|
114
|
+
def checksum_sha1: () -> ::String
|
115
|
+
def checksum_sha256: () -> ::String
|
116
|
+
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
117
|
+
def version_id: () -> ::String
|
118
|
+
def ssekms_key_id: () -> ::String
|
119
|
+
def bucket_key_enabled: () -> bool
|
120
|
+
def request_charged: () -> ("requester")
|
121
|
+
end
|
122
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#complete_multipart_upload-instance_method
|
123
|
+
def complete_multipart_upload: (
|
124
|
+
bucket: ::String,
|
125
|
+
key: ::String,
|
126
|
+
?multipart_upload: {
|
127
|
+
parts: Array[
|
128
|
+
{
|
129
|
+
etag: ::String?,
|
130
|
+
checksum_crc32: ::String?,
|
131
|
+
checksum_crc32c: ::String?,
|
132
|
+
checksum_sha1: ::String?,
|
133
|
+
checksum_sha256: ::String?,
|
134
|
+
part_number: ::Integer?
|
135
|
+
},
|
136
|
+
]?
|
137
|
+
},
|
138
|
+
upload_id: ::String,
|
139
|
+
?checksum_crc32: ::String,
|
140
|
+
?checksum_crc32c: ::String,
|
141
|
+
?checksum_sha1: ::String,
|
142
|
+
?checksum_sha256: ::String,
|
143
|
+
?request_payer: ("requester"),
|
144
|
+
?expected_bucket_owner: ::String,
|
145
|
+
?sse_customer_algorithm: ::String,
|
146
|
+
?sse_customer_key: ::String,
|
147
|
+
?sse_customer_key_md5: ::String
|
148
|
+
) -> _CompleteMultipartUploadResponseSuccess
|
149
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CompleteMultipartUploadResponseSuccess
|
150
|
+
|
151
|
+
interface _CopyObjectResponseSuccess
|
152
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CopyObjectOutput]
|
153
|
+
def copy_object_result: () -> Types::CopyObjectResult
|
154
|
+
def expiration: () -> ::String
|
155
|
+
def copy_source_version_id: () -> ::String
|
156
|
+
def version_id: () -> ::String
|
157
|
+
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
158
|
+
def sse_customer_algorithm: () -> ::String
|
159
|
+
def sse_customer_key_md5: () -> ::String
|
160
|
+
def ssekms_key_id: () -> ::String
|
161
|
+
def ssekms_encryption_context: () -> ::String
|
162
|
+
def bucket_key_enabled: () -> bool
|
163
|
+
def request_charged: () -> ("requester")
|
164
|
+
end
|
165
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#copy_object-instance_method
|
166
|
+
def copy_object: (
|
167
|
+
?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"),
|
168
|
+
bucket: ::String,
|
169
|
+
?cache_control: ::String,
|
170
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
171
|
+
?content_disposition: ::String,
|
172
|
+
?content_encoding: ::String,
|
173
|
+
?content_language: ::String,
|
174
|
+
?content_type: ::String,
|
175
|
+
copy_source: ::String,
|
176
|
+
?copy_source_if_match: ::String,
|
177
|
+
?copy_source_if_modified_since: ::Time,
|
178
|
+
?copy_source_if_none_match: ::String,
|
179
|
+
?copy_source_if_unmodified_since: ::Time,
|
180
|
+
?expires: ::Time,
|
181
|
+
?grant_full_control: ::String,
|
182
|
+
?grant_read: ::String,
|
183
|
+
?grant_read_acp: ::String,
|
184
|
+
?grant_write_acp: ::String,
|
185
|
+
key: ::String,
|
186
|
+
?metadata: Hash[::String, ::String],
|
187
|
+
?metadata_directive: ("COPY" | "REPLACE"),
|
188
|
+
?tagging_directive: ("COPY" | "REPLACE"),
|
189
|
+
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
190
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
191
|
+
?website_redirect_location: ::String,
|
192
|
+
?sse_customer_algorithm: ::String,
|
193
|
+
?sse_customer_key: ::String,
|
194
|
+
?sse_customer_key_md5: ::String,
|
195
|
+
?ssekms_key_id: ::String,
|
196
|
+
?ssekms_encryption_context: ::String,
|
197
|
+
?bucket_key_enabled: bool,
|
198
|
+
?copy_source_sse_customer_algorithm: ::String,
|
199
|
+
?copy_source_sse_customer_key: ::String,
|
200
|
+
?copy_source_sse_customer_key_md5: ::String,
|
201
|
+
?request_payer: ("requester"),
|
202
|
+
?tagging: ::String,
|
203
|
+
?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
|
204
|
+
?object_lock_retain_until_date: ::Time,
|
205
|
+
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
206
|
+
?expected_bucket_owner: ::String,
|
207
|
+
?expected_source_bucket_owner: ::String
|
208
|
+
) -> _CopyObjectResponseSuccess
|
209
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyObjectResponseSuccess
|
210
|
+
|
211
|
+
interface _CreateBucketResponseSuccess
|
212
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateBucketOutput]
|
213
|
+
def location: () -> ::String
|
214
|
+
end
|
215
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket-instance_method
|
216
|
+
def create_bucket: (
|
217
|
+
?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read"),
|
218
|
+
bucket: ::String,
|
219
|
+
?create_bucket_configuration: {
|
220
|
+
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" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
|
221
|
+
location: {
|
222
|
+
type: ("AvailabilityZone")?,
|
223
|
+
name: ::String?
|
224
|
+
}?,
|
225
|
+
bucket: {
|
226
|
+
data_redundancy: ("SingleAvailabilityZone")?,
|
227
|
+
type: ("Directory")?
|
228
|
+
}?
|
229
|
+
},
|
230
|
+
?grant_full_control: ::String,
|
231
|
+
?grant_read: ::String,
|
232
|
+
?grant_read_acp: ::String,
|
233
|
+
?grant_write: ::String,
|
234
|
+
?grant_write_acp: ::String,
|
235
|
+
?object_lock_enabled_for_bucket: bool,
|
236
|
+
?object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced")
|
237
|
+
) -> _CreateBucketResponseSuccess
|
238
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBucketResponseSuccess
|
239
|
+
|
240
|
+
interface _CreateMultipartUploadResponseSuccess
|
241
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMultipartUploadOutput]
|
242
|
+
def abort_date: () -> ::Time
|
243
|
+
def abort_rule_id: () -> ::String
|
244
|
+
def bucket: () -> ::String
|
245
|
+
def key: () -> ::String
|
246
|
+
def upload_id: () -> ::String
|
247
|
+
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
248
|
+
def sse_customer_algorithm: () -> ::String
|
249
|
+
def sse_customer_key_md5: () -> ::String
|
250
|
+
def ssekms_key_id: () -> ::String
|
251
|
+
def ssekms_encryption_context: () -> ::String
|
252
|
+
def bucket_key_enabled: () -> bool
|
253
|
+
def request_charged: () -> ("requester")
|
254
|
+
def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
255
|
+
end
|
256
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_multipart_upload-instance_method
|
257
|
+
def create_multipart_upload: (
|
258
|
+
?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"),
|
259
|
+
bucket: ::String,
|
260
|
+
?cache_control: ::String,
|
261
|
+
?content_disposition: ::String,
|
262
|
+
?content_encoding: ::String,
|
263
|
+
?content_language: ::String,
|
264
|
+
?content_type: ::String,
|
265
|
+
?expires: ::Time,
|
266
|
+
?grant_full_control: ::String,
|
267
|
+
?grant_read: ::String,
|
268
|
+
?grant_read_acp: ::String,
|
269
|
+
?grant_write_acp: ::String,
|
270
|
+
key: ::String,
|
271
|
+
?metadata: Hash[::String, ::String],
|
272
|
+
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
273
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
274
|
+
?website_redirect_location: ::String,
|
275
|
+
?sse_customer_algorithm: ::String,
|
276
|
+
?sse_customer_key: ::String,
|
277
|
+
?sse_customer_key_md5: ::String,
|
278
|
+
?ssekms_key_id: ::String,
|
279
|
+
?ssekms_encryption_context: ::String,
|
280
|
+
?bucket_key_enabled: bool,
|
281
|
+
?request_payer: ("requester"),
|
282
|
+
?tagging: ::String,
|
283
|
+
?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
|
284
|
+
?object_lock_retain_until_date: ::Time,
|
285
|
+
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
286
|
+
?expected_bucket_owner: ::String,
|
287
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
288
|
+
) -> _CreateMultipartUploadResponseSuccess
|
289
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMultipartUploadResponseSuccess
|
290
|
+
|
291
|
+
interface _CreateSessionResponseSuccess
|
292
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionOutput]
|
293
|
+
def credentials: () -> Types::SessionCredentials
|
294
|
+
end
|
295
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_session-instance_method
|
296
|
+
def create_session: (
|
297
|
+
?session_mode: ("ReadOnly" | "ReadWrite"),
|
298
|
+
bucket: ::String
|
299
|
+
) -> _CreateSessionResponseSuccess
|
300
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSessionResponseSuccess
|
301
|
+
|
302
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket-instance_method
|
303
|
+
def delete_bucket: (
|
304
|
+
bucket: ::String,
|
305
|
+
?expected_bucket_owner: ::String
|
306
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
307
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
308
|
+
|
309
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_analytics_configuration-instance_method
|
310
|
+
def delete_bucket_analytics_configuration: (
|
311
|
+
bucket: ::String,
|
312
|
+
id: ::String,
|
313
|
+
?expected_bucket_owner: ::String
|
314
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
315
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
316
|
+
|
317
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_cors-instance_method
|
318
|
+
def delete_bucket_cors: (
|
319
|
+
bucket: ::String,
|
320
|
+
?expected_bucket_owner: ::String
|
321
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
322
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
323
|
+
|
324
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_encryption-instance_method
|
325
|
+
def delete_bucket_encryption: (
|
326
|
+
bucket: ::String,
|
327
|
+
?expected_bucket_owner: ::String
|
328
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
329
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
330
|
+
|
331
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_intelligent_tiering_configuration-instance_method
|
332
|
+
def delete_bucket_intelligent_tiering_configuration: (
|
333
|
+
bucket: ::String,
|
334
|
+
id: ::String
|
335
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
336
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
337
|
+
|
338
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_inventory_configuration-instance_method
|
339
|
+
def delete_bucket_inventory_configuration: (
|
340
|
+
bucket: ::String,
|
341
|
+
id: ::String,
|
342
|
+
?expected_bucket_owner: ::String
|
343
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
344
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
345
|
+
|
346
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_lifecycle-instance_method
|
347
|
+
def delete_bucket_lifecycle: (
|
348
|
+
bucket: ::String,
|
349
|
+
?expected_bucket_owner: ::String
|
350
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
351
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
352
|
+
|
353
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metrics_configuration-instance_method
|
354
|
+
def delete_bucket_metrics_configuration: (
|
355
|
+
bucket: ::String,
|
356
|
+
id: ::String,
|
357
|
+
?expected_bucket_owner: ::String
|
358
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
359
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
360
|
+
|
361
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_ownership_controls-instance_method
|
362
|
+
def delete_bucket_ownership_controls: (
|
363
|
+
bucket: ::String,
|
364
|
+
?expected_bucket_owner: ::String
|
365
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
366
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
367
|
+
|
368
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_policy-instance_method
|
369
|
+
def delete_bucket_policy: (
|
370
|
+
bucket: ::String,
|
371
|
+
?expected_bucket_owner: ::String
|
372
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
373
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
374
|
+
|
375
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_replication-instance_method
|
376
|
+
def delete_bucket_replication: (
|
377
|
+
bucket: ::String,
|
378
|
+
?expected_bucket_owner: ::String
|
379
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
380
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
381
|
+
|
382
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_tagging-instance_method
|
383
|
+
def delete_bucket_tagging: (
|
384
|
+
bucket: ::String,
|
385
|
+
?expected_bucket_owner: ::String
|
386
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
387
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
388
|
+
|
389
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_website-instance_method
|
390
|
+
def delete_bucket_website: (
|
391
|
+
bucket: ::String,
|
392
|
+
?expected_bucket_owner: ::String
|
393
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
394
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
395
|
+
|
396
|
+
interface _DeleteObjectResponseSuccess
|
397
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteObjectOutput]
|
398
|
+
def delete_marker: () -> bool
|
399
|
+
def version_id: () -> ::String
|
400
|
+
def request_charged: () -> ("requester")
|
401
|
+
end
|
402
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_object-instance_method
|
403
|
+
def delete_object: (
|
404
|
+
bucket: ::String,
|
405
|
+
key: ::String,
|
406
|
+
?mfa: ::String,
|
407
|
+
?version_id: ::String,
|
408
|
+
?request_payer: ("requester"),
|
409
|
+
?bypass_governance_retention: bool,
|
410
|
+
?expected_bucket_owner: ::String
|
411
|
+
) -> _DeleteObjectResponseSuccess
|
412
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectResponseSuccess
|
413
|
+
|
414
|
+
interface _DeleteObjectTaggingResponseSuccess
|
415
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteObjectTaggingOutput]
|
416
|
+
def version_id: () -> ::String
|
417
|
+
end
|
418
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_object_tagging-instance_method
|
419
|
+
def delete_object_tagging: (
|
420
|
+
bucket: ::String,
|
421
|
+
key: ::String,
|
422
|
+
?version_id: ::String,
|
423
|
+
?expected_bucket_owner: ::String
|
424
|
+
) -> _DeleteObjectTaggingResponseSuccess
|
425
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectTaggingResponseSuccess
|
426
|
+
|
427
|
+
interface _DeleteObjectsResponseSuccess
|
428
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteObjectsOutput]
|
429
|
+
def deleted: () -> ::Array[Types::DeletedObject]
|
430
|
+
def request_charged: () -> ("requester")
|
431
|
+
def errors: () -> ::Array[Types::Error]
|
432
|
+
end
|
433
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_objects-instance_method
|
434
|
+
def delete_objects: (
|
435
|
+
bucket: ::String,
|
436
|
+
delete: {
|
437
|
+
objects: Array[
|
438
|
+
{
|
439
|
+
key: ::String,
|
440
|
+
version_id: ::String?
|
441
|
+
},
|
442
|
+
],
|
443
|
+
quiet: bool?
|
444
|
+
},
|
445
|
+
?mfa: ::String,
|
446
|
+
?request_payer: ("requester"),
|
447
|
+
?bypass_governance_retention: bool,
|
448
|
+
?expected_bucket_owner: ::String,
|
449
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
450
|
+
) -> _DeleteObjectsResponseSuccess
|
451
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectsResponseSuccess
|
452
|
+
|
453
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_public_access_block-instance_method
|
454
|
+
def delete_public_access_block: (
|
455
|
+
bucket: ::String,
|
456
|
+
?expected_bucket_owner: ::String
|
457
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
458
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
459
|
+
|
460
|
+
interface _GetBucketAccelerateConfigurationResponseSuccess
|
461
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketAccelerateConfigurationOutput]
|
462
|
+
def status: () -> ("Enabled" | "Suspended")
|
463
|
+
def request_charged: () -> ("requester")
|
464
|
+
end
|
465
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_accelerate_configuration-instance_method
|
466
|
+
def get_bucket_accelerate_configuration: (
|
467
|
+
bucket: ::String,
|
468
|
+
?expected_bucket_owner: ::String,
|
469
|
+
?request_payer: ("requester")
|
470
|
+
) -> _GetBucketAccelerateConfigurationResponseSuccess
|
471
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketAccelerateConfigurationResponseSuccess
|
472
|
+
|
473
|
+
interface _GetBucketAclResponseSuccess
|
474
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketAclOutput]
|
475
|
+
def owner: () -> Types::Owner
|
476
|
+
def grants: () -> ::Array[Types::Grant]
|
477
|
+
end
|
478
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_acl-instance_method
|
479
|
+
def get_bucket_acl: (
|
480
|
+
bucket: ::String,
|
481
|
+
?expected_bucket_owner: ::String
|
482
|
+
) -> _GetBucketAclResponseSuccess
|
483
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketAclResponseSuccess
|
484
|
+
|
485
|
+
interface _GetBucketAnalyticsConfigurationResponseSuccess
|
486
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketAnalyticsConfigurationOutput]
|
487
|
+
def analytics_configuration: () -> Types::AnalyticsConfiguration
|
488
|
+
end
|
489
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_analytics_configuration-instance_method
|
490
|
+
def get_bucket_analytics_configuration: (
|
491
|
+
bucket: ::String,
|
492
|
+
id: ::String,
|
493
|
+
?expected_bucket_owner: ::String
|
494
|
+
) -> _GetBucketAnalyticsConfigurationResponseSuccess
|
495
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketAnalyticsConfigurationResponseSuccess
|
496
|
+
|
497
|
+
interface _GetBucketCorsResponseSuccess
|
498
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketCorsOutput]
|
499
|
+
def cors_rules: () -> ::Array[Types::CORSRule]
|
500
|
+
end
|
501
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_cors-instance_method
|
502
|
+
def get_bucket_cors: (
|
503
|
+
bucket: ::String,
|
504
|
+
?expected_bucket_owner: ::String
|
505
|
+
) -> _GetBucketCorsResponseSuccess
|
506
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketCorsResponseSuccess
|
507
|
+
|
508
|
+
interface _GetBucketEncryptionResponseSuccess
|
509
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketEncryptionOutput]
|
510
|
+
def server_side_encryption_configuration: () -> Types::ServerSideEncryptionConfiguration
|
511
|
+
end
|
512
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_encryption-instance_method
|
513
|
+
def get_bucket_encryption: (
|
514
|
+
bucket: ::String,
|
515
|
+
?expected_bucket_owner: ::String
|
516
|
+
) -> _GetBucketEncryptionResponseSuccess
|
517
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketEncryptionResponseSuccess
|
518
|
+
|
519
|
+
interface _GetBucketIntelligentTieringConfigurationResponseSuccess
|
520
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketIntelligentTieringConfigurationOutput]
|
521
|
+
def intelligent_tiering_configuration: () -> Types::IntelligentTieringConfiguration
|
522
|
+
end
|
523
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_intelligent_tiering_configuration-instance_method
|
524
|
+
def get_bucket_intelligent_tiering_configuration: (
|
525
|
+
bucket: ::String,
|
526
|
+
id: ::String
|
527
|
+
) -> _GetBucketIntelligentTieringConfigurationResponseSuccess
|
528
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketIntelligentTieringConfigurationResponseSuccess
|
529
|
+
|
530
|
+
interface _GetBucketInventoryConfigurationResponseSuccess
|
531
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketInventoryConfigurationOutput]
|
532
|
+
def inventory_configuration: () -> Types::InventoryConfiguration
|
533
|
+
end
|
534
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_inventory_configuration-instance_method
|
535
|
+
def get_bucket_inventory_configuration: (
|
536
|
+
bucket: ::String,
|
537
|
+
id: ::String,
|
538
|
+
?expected_bucket_owner: ::String
|
539
|
+
) -> _GetBucketInventoryConfigurationResponseSuccess
|
540
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketInventoryConfigurationResponseSuccess
|
541
|
+
|
542
|
+
interface _GetBucketLifecycleResponseSuccess
|
543
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketLifecycleOutput]
|
544
|
+
def rules: () -> ::Array[Types::Rule]
|
545
|
+
end
|
546
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_lifecycle-instance_method
|
547
|
+
def get_bucket_lifecycle: (
|
548
|
+
bucket: ::String,
|
549
|
+
?expected_bucket_owner: ::String
|
550
|
+
) -> _GetBucketLifecycleResponseSuccess
|
551
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLifecycleResponseSuccess
|
552
|
+
|
553
|
+
interface _GetBucketLifecycleConfigurationResponseSuccess
|
554
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketLifecycleConfigurationOutput]
|
555
|
+
def rules: () -> ::Array[Types::LifecycleRule]
|
556
|
+
end
|
557
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_lifecycle_configuration-instance_method
|
558
|
+
def get_bucket_lifecycle_configuration: (
|
559
|
+
bucket: ::String,
|
560
|
+
?expected_bucket_owner: ::String
|
561
|
+
) -> _GetBucketLifecycleConfigurationResponseSuccess
|
562
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLifecycleConfigurationResponseSuccess
|
563
|
+
|
564
|
+
interface _GetBucketLocationResponseSuccess
|
565
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketLocationOutput]
|
566
|
+
def 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" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")
|
567
|
+
end
|
568
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_location-instance_method
|
569
|
+
def get_bucket_location: (
|
570
|
+
bucket: ::String,
|
571
|
+
?expected_bucket_owner: ::String
|
572
|
+
) -> _GetBucketLocationResponseSuccess
|
573
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLocationResponseSuccess
|
574
|
+
|
575
|
+
interface _GetBucketLoggingResponseSuccess
|
576
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketLoggingOutput]
|
577
|
+
def logging_enabled: () -> Types::LoggingEnabled
|
578
|
+
end
|
579
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_logging-instance_method
|
580
|
+
def get_bucket_logging: (
|
581
|
+
bucket: ::String,
|
582
|
+
?expected_bucket_owner: ::String
|
583
|
+
) -> _GetBucketLoggingResponseSuccess
|
584
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
|
585
|
+
|
586
|
+
interface _GetBucketMetricsConfigurationResponseSuccess
|
587
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetricsConfigurationOutput]
|
588
|
+
def metrics_configuration: () -> Types::MetricsConfiguration
|
589
|
+
end
|
590
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_metrics_configuration-instance_method
|
591
|
+
def get_bucket_metrics_configuration: (
|
592
|
+
bucket: ::String,
|
593
|
+
id: ::String,
|
594
|
+
?expected_bucket_owner: ::String
|
595
|
+
) -> _GetBucketMetricsConfigurationResponseSuccess
|
596
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketMetricsConfigurationResponseSuccess
|
597
|
+
|
598
|
+
interface _GetBucketNotificationResponseSuccess
|
599
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::NotificationConfigurationDeprecated]
|
600
|
+
def topic_configuration: () -> Types::TopicConfigurationDeprecated
|
601
|
+
def queue_configuration: () -> Types::QueueConfigurationDeprecated
|
602
|
+
def cloud_function_configuration: () -> Types::CloudFunctionConfiguration
|
603
|
+
end
|
604
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_notification-instance_method
|
605
|
+
def get_bucket_notification: (
|
606
|
+
bucket: ::String,
|
607
|
+
?expected_bucket_owner: ::String
|
608
|
+
) -> _GetBucketNotificationResponseSuccess
|
609
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketNotificationResponseSuccess
|
610
|
+
|
611
|
+
interface _GetBucketNotificationConfigurationResponseSuccess
|
612
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::NotificationConfiguration]
|
613
|
+
def topic_configurations: () -> ::Array[Types::TopicConfiguration]
|
614
|
+
def queue_configurations: () -> ::Array[Types::QueueConfiguration]
|
615
|
+
def lambda_function_configurations: () -> ::Array[Types::LambdaFunctionConfiguration]
|
616
|
+
def event_bridge_configuration: () -> Types::EventBridgeConfiguration
|
617
|
+
end
|
618
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_notification_configuration-instance_method
|
619
|
+
def get_bucket_notification_configuration: (
|
620
|
+
bucket: ::String,
|
621
|
+
?expected_bucket_owner: ::String
|
622
|
+
) -> _GetBucketNotificationConfigurationResponseSuccess
|
623
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketNotificationConfigurationResponseSuccess
|
624
|
+
|
625
|
+
interface _GetBucketOwnershipControlsResponseSuccess
|
626
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketOwnershipControlsOutput]
|
627
|
+
def ownership_controls: () -> Types::OwnershipControls
|
628
|
+
end
|
629
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_ownership_controls-instance_method
|
630
|
+
def get_bucket_ownership_controls: (
|
631
|
+
bucket: ::String,
|
632
|
+
?expected_bucket_owner: ::String
|
633
|
+
) -> _GetBucketOwnershipControlsResponseSuccess
|
634
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketOwnershipControlsResponseSuccess
|
635
|
+
|
636
|
+
interface _GetBucketPolicyResponseSuccess
|
637
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketPolicyOutput]
|
638
|
+
def policy: () -> ::IO
|
639
|
+
end
|
640
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_policy-instance_method
|
641
|
+
def get_bucket_policy: (
|
642
|
+
bucket: ::String,
|
643
|
+
?expected_bucket_owner: ::String
|
644
|
+
) ?{ (*untyped) -> void } -> _GetBucketPolicyResponseSuccess
|
645
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetBucketPolicyResponseSuccess
|
646
|
+
|
647
|
+
interface _GetBucketPolicyStatusResponseSuccess
|
648
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketPolicyStatusOutput]
|
649
|
+
def policy_status: () -> Types::PolicyStatus
|
650
|
+
end
|
651
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_policy_status-instance_method
|
652
|
+
def get_bucket_policy_status: (
|
653
|
+
bucket: ::String,
|
654
|
+
?expected_bucket_owner: ::String
|
655
|
+
) -> _GetBucketPolicyStatusResponseSuccess
|
656
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketPolicyStatusResponseSuccess
|
657
|
+
|
658
|
+
interface _GetBucketReplicationResponseSuccess
|
659
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketReplicationOutput]
|
660
|
+
def replication_configuration: () -> Types::ReplicationConfiguration
|
661
|
+
end
|
662
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_replication-instance_method
|
663
|
+
def get_bucket_replication: (
|
664
|
+
bucket: ::String,
|
665
|
+
?expected_bucket_owner: ::String
|
666
|
+
) -> _GetBucketReplicationResponseSuccess
|
667
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketReplicationResponseSuccess
|
668
|
+
|
669
|
+
interface _GetBucketRequestPaymentResponseSuccess
|
670
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketRequestPaymentOutput]
|
671
|
+
def payer: () -> ("Requester" | "BucketOwner")
|
672
|
+
end
|
673
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_request_payment-instance_method
|
674
|
+
def get_bucket_request_payment: (
|
675
|
+
bucket: ::String,
|
676
|
+
?expected_bucket_owner: ::String
|
677
|
+
) -> _GetBucketRequestPaymentResponseSuccess
|
678
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketRequestPaymentResponseSuccess
|
679
|
+
|
680
|
+
interface _GetBucketTaggingResponseSuccess
|
681
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketTaggingOutput]
|
682
|
+
def tag_set: () -> ::Array[Types::Tag]
|
683
|
+
end
|
684
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_tagging-instance_method
|
685
|
+
def get_bucket_tagging: (
|
686
|
+
bucket: ::String,
|
687
|
+
?expected_bucket_owner: ::String
|
688
|
+
) -> _GetBucketTaggingResponseSuccess
|
689
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketTaggingResponseSuccess
|
690
|
+
|
691
|
+
interface _GetBucketVersioningResponseSuccess
|
692
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketVersioningOutput]
|
693
|
+
def status: () -> ("Enabled" | "Suspended")
|
694
|
+
def mfa_delete: () -> ("Enabled" | "Disabled")
|
695
|
+
end
|
696
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_versioning-instance_method
|
697
|
+
def get_bucket_versioning: (
|
698
|
+
bucket: ::String,
|
699
|
+
?expected_bucket_owner: ::String
|
700
|
+
) -> _GetBucketVersioningResponseSuccess
|
701
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketVersioningResponseSuccess
|
702
|
+
|
703
|
+
interface _GetBucketWebsiteResponseSuccess
|
704
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketWebsiteOutput]
|
705
|
+
def redirect_all_requests_to: () -> Types::RedirectAllRequestsTo
|
706
|
+
def index_document: () -> Types::IndexDocument
|
707
|
+
def error_document: () -> Types::ErrorDocument
|
708
|
+
def routing_rules: () -> ::Array[Types::RoutingRule]
|
709
|
+
end
|
710
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_website-instance_method
|
711
|
+
def get_bucket_website: (
|
712
|
+
bucket: ::String,
|
713
|
+
?expected_bucket_owner: ::String
|
714
|
+
) -> _GetBucketWebsiteResponseSuccess
|
715
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketWebsiteResponseSuccess
|
716
|
+
|
717
|
+
interface _GetObjectResponseSuccess
|
718
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetObjectOutput]
|
719
|
+
def body: () -> ::IO
|
720
|
+
def delete_marker: () -> bool
|
721
|
+
def accept_ranges: () -> ::String
|
722
|
+
def expiration: () -> ::String
|
723
|
+
def restore: () -> ::String
|
724
|
+
def last_modified: () -> ::Time
|
725
|
+
def content_length: () -> ::Integer
|
726
|
+
def etag: () -> ::String
|
727
|
+
def checksum_crc32: () -> ::String
|
728
|
+
def checksum_crc32c: () -> ::String
|
729
|
+
def checksum_sha1: () -> ::String
|
730
|
+
def checksum_sha256: () -> ::String
|
731
|
+
def missing_meta: () -> ::Integer
|
732
|
+
def version_id: () -> ::String
|
733
|
+
def cache_control: () -> ::String
|
734
|
+
def content_disposition: () -> ::String
|
735
|
+
def content_encoding: () -> ::String
|
736
|
+
def content_language: () -> ::String
|
737
|
+
def content_range: () -> ::String
|
738
|
+
def content_type: () -> ::String
|
739
|
+
def expires: () -> ::Time
|
740
|
+
def expires_string: () -> ::String
|
741
|
+
def website_redirect_location: () -> ::String
|
742
|
+
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
743
|
+
def metadata: () -> ::Hash[::String, ::String]
|
744
|
+
def sse_customer_algorithm: () -> ::String
|
745
|
+
def sse_customer_key_md5: () -> ::String
|
746
|
+
def ssekms_key_id: () -> ::String
|
747
|
+
def bucket_key_enabled: () -> bool
|
748
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
749
|
+
def request_charged: () -> ("requester")
|
750
|
+
def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
|
751
|
+
def parts_count: () -> ::Integer
|
752
|
+
def tag_count: () -> ::Integer
|
753
|
+
def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
|
754
|
+
def object_lock_retain_until_date: () -> ::Time
|
755
|
+
def object_lock_legal_hold_status: () -> ("ON" | "OFF")
|
756
|
+
end
|
757
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object-instance_method
|
758
|
+
def get_object: (
|
759
|
+
bucket: ::String,
|
760
|
+
?if_match: ::String,
|
761
|
+
?if_modified_since: ::Time,
|
762
|
+
?if_none_match: ::String,
|
763
|
+
?if_unmodified_since: ::Time,
|
764
|
+
key: ::String,
|
765
|
+
?range: ::String,
|
766
|
+
?response_cache_control: ::String,
|
767
|
+
?response_content_disposition: ::String,
|
768
|
+
?response_content_encoding: ::String,
|
769
|
+
?response_content_language: ::String,
|
770
|
+
?response_content_type: ::String,
|
771
|
+
?response_expires: ::Time,
|
772
|
+
?version_id: ::String,
|
773
|
+
?sse_customer_algorithm: ::String,
|
774
|
+
?sse_customer_key: ::String,
|
775
|
+
?sse_customer_key_md5: ::String,
|
776
|
+
?request_payer: ("requester"),
|
777
|
+
?part_number: ::Integer,
|
778
|
+
?expected_bucket_owner: ::String,
|
779
|
+
?checksum_mode: ("ENABLED")
|
780
|
+
) ?{ (*untyped) -> void } -> _GetObjectResponseSuccess
|
781
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetObjectResponseSuccess
|
782
|
+
|
783
|
+
interface _GetObjectAclResponseSuccess
|
784
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetObjectAclOutput]
|
785
|
+
def owner: () -> Types::Owner
|
786
|
+
def grants: () -> ::Array[Types::Grant]
|
787
|
+
def request_charged: () -> ("requester")
|
788
|
+
end
|
789
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object_acl-instance_method
|
790
|
+
def get_object_acl: (
|
791
|
+
bucket: ::String,
|
792
|
+
key: ::String,
|
793
|
+
?version_id: ::String,
|
794
|
+
?request_payer: ("requester"),
|
795
|
+
?expected_bucket_owner: ::String
|
796
|
+
) -> _GetObjectAclResponseSuccess
|
797
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetObjectAclResponseSuccess
|
798
|
+
|
799
|
+
interface _GetObjectAttributesResponseSuccess
|
800
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetObjectAttributesOutput]
|
801
|
+
def delete_marker: () -> bool
|
802
|
+
def last_modified: () -> ::Time
|
803
|
+
def version_id: () -> ::String
|
804
|
+
def request_charged: () -> ("requester")
|
805
|
+
def etag: () -> ::String
|
806
|
+
def checksum: () -> Types::Checksum
|
807
|
+
def object_parts: () -> Types::GetObjectAttributesParts
|
808
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
809
|
+
def object_size: () -> ::Integer
|
810
|
+
end
|
811
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object_attributes-instance_method
|
812
|
+
def get_object_attributes: (
|
813
|
+
bucket: ::String,
|
814
|
+
key: ::String,
|
815
|
+
?version_id: ::String,
|
816
|
+
?max_parts: ::Integer,
|
817
|
+
?part_number_marker: ::Integer,
|
818
|
+
?sse_customer_algorithm: ::String,
|
819
|
+
?sse_customer_key: ::String,
|
820
|
+
?sse_customer_key_md5: ::String,
|
821
|
+
?request_payer: ("requester"),
|
822
|
+
?expected_bucket_owner: ::String,
|
823
|
+
object_attributes: Array[("ETag" | "Checksum" | "ObjectParts" | "StorageClass" | "ObjectSize")]
|
824
|
+
) -> _GetObjectAttributesResponseSuccess
|
825
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetObjectAttributesResponseSuccess
|
826
|
+
|
827
|
+
interface _GetObjectLegalHoldResponseSuccess
|
828
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetObjectLegalHoldOutput]
|
829
|
+
def legal_hold: () -> Types::ObjectLockLegalHold
|
830
|
+
end
|
831
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object_legal_hold-instance_method
|
832
|
+
def get_object_legal_hold: (
|
833
|
+
bucket: ::String,
|
834
|
+
key: ::String,
|
835
|
+
?version_id: ::String,
|
836
|
+
?request_payer: ("requester"),
|
837
|
+
?expected_bucket_owner: ::String
|
838
|
+
) -> _GetObjectLegalHoldResponseSuccess
|
839
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetObjectLegalHoldResponseSuccess
|
840
|
+
|
841
|
+
interface _GetObjectLockConfigurationResponseSuccess
|
842
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetObjectLockConfigurationOutput]
|
843
|
+
def object_lock_configuration: () -> Types::ObjectLockConfiguration
|
844
|
+
end
|
845
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object_lock_configuration-instance_method
|
846
|
+
def get_object_lock_configuration: (
|
847
|
+
bucket: ::String,
|
848
|
+
?expected_bucket_owner: ::String
|
849
|
+
) -> _GetObjectLockConfigurationResponseSuccess
|
850
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetObjectLockConfigurationResponseSuccess
|
851
|
+
|
852
|
+
interface _GetObjectRetentionResponseSuccess
|
853
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetObjectRetentionOutput]
|
854
|
+
def retention: () -> Types::ObjectLockRetention
|
855
|
+
end
|
856
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object_retention-instance_method
|
857
|
+
def get_object_retention: (
|
858
|
+
bucket: ::String,
|
859
|
+
key: ::String,
|
860
|
+
?version_id: ::String,
|
861
|
+
?request_payer: ("requester"),
|
862
|
+
?expected_bucket_owner: ::String
|
863
|
+
) -> _GetObjectRetentionResponseSuccess
|
864
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetObjectRetentionResponseSuccess
|
865
|
+
|
866
|
+
interface _GetObjectTaggingResponseSuccess
|
867
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetObjectTaggingOutput]
|
868
|
+
def version_id: () -> ::String
|
869
|
+
def tag_set: () -> ::Array[Types::Tag]
|
870
|
+
end
|
871
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object_tagging-instance_method
|
872
|
+
def get_object_tagging: (
|
873
|
+
bucket: ::String,
|
874
|
+
key: ::String,
|
875
|
+
?version_id: ::String,
|
876
|
+
?expected_bucket_owner: ::String,
|
877
|
+
?request_payer: ("requester")
|
878
|
+
) -> _GetObjectTaggingResponseSuccess
|
879
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetObjectTaggingResponseSuccess
|
880
|
+
|
881
|
+
interface _GetObjectTorrentResponseSuccess
|
882
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetObjectTorrentOutput]
|
883
|
+
def body: () -> ::IO
|
884
|
+
def request_charged: () -> ("requester")
|
885
|
+
end
|
886
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object_torrent-instance_method
|
887
|
+
def get_object_torrent: (
|
888
|
+
bucket: ::String,
|
889
|
+
key: ::String,
|
890
|
+
?request_payer: ("requester"),
|
891
|
+
?expected_bucket_owner: ::String
|
892
|
+
) ?{ (*untyped) -> void } -> _GetObjectTorrentResponseSuccess
|
893
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetObjectTorrentResponseSuccess
|
894
|
+
|
895
|
+
interface _GetPublicAccessBlockResponseSuccess
|
896
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPublicAccessBlockOutput]
|
897
|
+
def public_access_block_configuration: () -> Types::PublicAccessBlockConfiguration
|
898
|
+
end
|
899
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_public_access_block-instance_method
|
900
|
+
def get_public_access_block: (
|
901
|
+
bucket: ::String,
|
902
|
+
?expected_bucket_owner: ::String
|
903
|
+
) -> _GetPublicAccessBlockResponseSuccess
|
904
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPublicAccessBlockResponseSuccess
|
905
|
+
|
906
|
+
interface _HeadBucketResponseSuccess
|
907
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
|
908
|
+
def bucket_location_type: () -> ("AvailabilityZone")
|
909
|
+
def bucket_location_name: () -> ::String
|
910
|
+
def bucket_region: () -> ::String
|
911
|
+
def access_point_alias: () -> bool
|
912
|
+
end
|
913
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#head_bucket-instance_method
|
914
|
+
def head_bucket: (
|
915
|
+
bucket: ::String,
|
916
|
+
?expected_bucket_owner: ::String
|
917
|
+
) -> _HeadBucketResponseSuccess
|
918
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _HeadBucketResponseSuccess
|
919
|
+
|
920
|
+
interface _HeadObjectResponseSuccess
|
921
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::HeadObjectOutput]
|
922
|
+
def delete_marker: () -> bool
|
923
|
+
def accept_ranges: () -> ::String
|
924
|
+
def expiration: () -> ::String
|
925
|
+
def restore: () -> ::String
|
926
|
+
def archive_status: () -> ("ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS")
|
927
|
+
def last_modified: () -> ::Time
|
928
|
+
def content_length: () -> ::Integer
|
929
|
+
def checksum_crc32: () -> ::String
|
930
|
+
def checksum_crc32c: () -> ::String
|
931
|
+
def checksum_sha1: () -> ::String
|
932
|
+
def checksum_sha256: () -> ::String
|
933
|
+
def etag: () -> ::String
|
934
|
+
def missing_meta: () -> ::Integer
|
935
|
+
def version_id: () -> ::String
|
936
|
+
def cache_control: () -> ::String
|
937
|
+
def content_disposition: () -> ::String
|
938
|
+
def content_encoding: () -> ::String
|
939
|
+
def content_language: () -> ::String
|
940
|
+
def content_type: () -> ::String
|
941
|
+
def expires: () -> ::Time
|
942
|
+
def expires_string: () -> ::String
|
943
|
+
def website_redirect_location: () -> ::String
|
944
|
+
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
945
|
+
def metadata: () -> ::Hash[::String, ::String]
|
946
|
+
def sse_customer_algorithm: () -> ::String
|
947
|
+
def sse_customer_key_md5: () -> ::String
|
948
|
+
def ssekms_key_id: () -> ::String
|
949
|
+
def bucket_key_enabled: () -> bool
|
950
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
951
|
+
def request_charged: () -> ("requester")
|
952
|
+
def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
|
953
|
+
def parts_count: () -> ::Integer
|
954
|
+
def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
|
955
|
+
def object_lock_retain_until_date: () -> ::Time
|
956
|
+
def object_lock_legal_hold_status: () -> ("ON" | "OFF")
|
957
|
+
end
|
958
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#head_object-instance_method
|
959
|
+
def head_object: (
|
960
|
+
bucket: ::String,
|
961
|
+
?if_match: ::String,
|
962
|
+
?if_modified_since: ::Time,
|
963
|
+
?if_none_match: ::String,
|
964
|
+
?if_unmodified_since: ::Time,
|
965
|
+
key: ::String,
|
966
|
+
?range: ::String,
|
967
|
+
?response_cache_control: ::String,
|
968
|
+
?response_content_disposition: ::String,
|
969
|
+
?response_content_encoding: ::String,
|
970
|
+
?response_content_language: ::String,
|
971
|
+
?response_content_type: ::String,
|
972
|
+
?response_expires: ::Time,
|
973
|
+
?version_id: ::String,
|
974
|
+
?sse_customer_algorithm: ::String,
|
975
|
+
?sse_customer_key: ::String,
|
976
|
+
?sse_customer_key_md5: ::String,
|
977
|
+
?request_payer: ("requester"),
|
978
|
+
?part_number: ::Integer,
|
979
|
+
?expected_bucket_owner: ::String,
|
980
|
+
?checksum_mode: ("ENABLED")
|
981
|
+
) -> _HeadObjectResponseSuccess
|
982
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _HeadObjectResponseSuccess
|
983
|
+
|
984
|
+
interface _ListBucketAnalyticsConfigurationsResponseSuccess
|
985
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBucketAnalyticsConfigurationsOutput]
|
986
|
+
def is_truncated: () -> bool
|
987
|
+
def continuation_token: () -> ::String
|
988
|
+
def next_continuation_token: () -> ::String
|
989
|
+
def analytics_configuration_list: () -> ::Array[Types::AnalyticsConfiguration]
|
990
|
+
end
|
991
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_bucket_analytics_configurations-instance_method
|
992
|
+
def list_bucket_analytics_configurations: (
|
993
|
+
bucket: ::String,
|
994
|
+
?continuation_token: ::String,
|
995
|
+
?expected_bucket_owner: ::String
|
996
|
+
) -> _ListBucketAnalyticsConfigurationsResponseSuccess
|
997
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketAnalyticsConfigurationsResponseSuccess
|
998
|
+
|
999
|
+
interface _ListBucketIntelligentTieringConfigurationsResponseSuccess
|
1000
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBucketIntelligentTieringConfigurationsOutput]
|
1001
|
+
def is_truncated: () -> bool
|
1002
|
+
def continuation_token: () -> ::String
|
1003
|
+
def next_continuation_token: () -> ::String
|
1004
|
+
def intelligent_tiering_configuration_list: () -> ::Array[Types::IntelligentTieringConfiguration]
|
1005
|
+
end
|
1006
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_bucket_intelligent_tiering_configurations-instance_method
|
1007
|
+
def list_bucket_intelligent_tiering_configurations: (
|
1008
|
+
bucket: ::String,
|
1009
|
+
?continuation_token: ::String
|
1010
|
+
) -> _ListBucketIntelligentTieringConfigurationsResponseSuccess
|
1011
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketIntelligentTieringConfigurationsResponseSuccess
|
1012
|
+
|
1013
|
+
interface _ListBucketInventoryConfigurationsResponseSuccess
|
1014
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBucketInventoryConfigurationsOutput]
|
1015
|
+
def continuation_token: () -> ::String
|
1016
|
+
def inventory_configuration_list: () -> ::Array[Types::InventoryConfiguration]
|
1017
|
+
def is_truncated: () -> bool
|
1018
|
+
def next_continuation_token: () -> ::String
|
1019
|
+
end
|
1020
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_bucket_inventory_configurations-instance_method
|
1021
|
+
def list_bucket_inventory_configurations: (
|
1022
|
+
bucket: ::String,
|
1023
|
+
?continuation_token: ::String,
|
1024
|
+
?expected_bucket_owner: ::String
|
1025
|
+
) -> _ListBucketInventoryConfigurationsResponseSuccess
|
1026
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketInventoryConfigurationsResponseSuccess
|
1027
|
+
|
1028
|
+
interface _ListBucketMetricsConfigurationsResponseSuccess
|
1029
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBucketMetricsConfigurationsOutput]
|
1030
|
+
def is_truncated: () -> bool
|
1031
|
+
def continuation_token: () -> ::String
|
1032
|
+
def next_continuation_token: () -> ::String
|
1033
|
+
def metrics_configuration_list: () -> ::Array[Types::MetricsConfiguration]
|
1034
|
+
end
|
1035
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_bucket_metrics_configurations-instance_method
|
1036
|
+
def list_bucket_metrics_configurations: (
|
1037
|
+
bucket: ::String,
|
1038
|
+
?continuation_token: ::String,
|
1039
|
+
?expected_bucket_owner: ::String
|
1040
|
+
) -> _ListBucketMetricsConfigurationsResponseSuccess
|
1041
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketMetricsConfigurationsResponseSuccess
|
1042
|
+
|
1043
|
+
interface _ListBucketsResponseSuccess
|
1044
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBucketsOutput]
|
1045
|
+
def buckets: () -> ::Array[Types::Bucket]
|
1046
|
+
def owner: () -> Types::Owner
|
1047
|
+
end
|
1048
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_buckets-instance_method
|
1049
|
+
def list_buckets: () -> _ListBucketsResponseSuccess
|
1050
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketsResponseSuccess
|
1051
|
+
|
1052
|
+
interface _ListDirectoryBucketsResponseSuccess
|
1053
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDirectoryBucketsOutput]
|
1054
|
+
def buckets: () -> ::Array[Types::Bucket]
|
1055
|
+
def continuation_token: () -> ::String
|
1056
|
+
end
|
1057
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_directory_buckets-instance_method
|
1058
|
+
def list_directory_buckets: (
|
1059
|
+
?continuation_token: ::String,
|
1060
|
+
?max_directory_buckets: ::Integer
|
1061
|
+
) -> _ListDirectoryBucketsResponseSuccess
|
1062
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDirectoryBucketsResponseSuccess
|
1063
|
+
|
1064
|
+
interface _ListMultipartUploadsResponseSuccess
|
1065
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMultipartUploadsOutput]
|
1066
|
+
def bucket: () -> ::String
|
1067
|
+
def key_marker: () -> ::String
|
1068
|
+
def upload_id_marker: () -> ::String
|
1069
|
+
def next_key_marker: () -> ::String
|
1070
|
+
def prefix: () -> ::String
|
1071
|
+
def delimiter: () -> ::String
|
1072
|
+
def next_upload_id_marker: () -> ::String
|
1073
|
+
def max_uploads: () -> ::Integer
|
1074
|
+
def is_truncated: () -> bool
|
1075
|
+
def uploads: () -> ::Array[Types::MultipartUpload]
|
1076
|
+
def common_prefixes: () -> ::Array[Types::CommonPrefix]
|
1077
|
+
def encoding_type: () -> ("url")
|
1078
|
+
def request_charged: () -> ("requester")
|
1079
|
+
end
|
1080
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_multipart_uploads-instance_method
|
1081
|
+
def list_multipart_uploads: (
|
1082
|
+
bucket: ::String,
|
1083
|
+
?delimiter: ::String,
|
1084
|
+
?encoding_type: ("url"),
|
1085
|
+
?key_marker: ::String,
|
1086
|
+
?max_uploads: ::Integer,
|
1087
|
+
?prefix: ::String,
|
1088
|
+
?upload_id_marker: ::String,
|
1089
|
+
?expected_bucket_owner: ::String,
|
1090
|
+
?request_payer: ("requester")
|
1091
|
+
) -> _ListMultipartUploadsResponseSuccess
|
1092
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMultipartUploadsResponseSuccess
|
1093
|
+
|
1094
|
+
interface _ListObjectVersionsResponseSuccess
|
1095
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListObjectVersionsOutput]
|
1096
|
+
def is_truncated: () -> bool
|
1097
|
+
def key_marker: () -> ::String
|
1098
|
+
def version_id_marker: () -> ::String
|
1099
|
+
def next_key_marker: () -> ::String
|
1100
|
+
def next_version_id_marker: () -> ::String
|
1101
|
+
def versions: () -> ::Array[Types::ObjectVersion]
|
1102
|
+
def delete_markers: () -> ::Array[Types::DeleteMarkerEntry]
|
1103
|
+
def name: () -> ::String
|
1104
|
+
def prefix: () -> ::String
|
1105
|
+
def delimiter: () -> ::String
|
1106
|
+
def max_keys: () -> ::Integer
|
1107
|
+
def common_prefixes: () -> ::Array[Types::CommonPrefix]
|
1108
|
+
def encoding_type: () -> ("url")
|
1109
|
+
def request_charged: () -> ("requester")
|
1110
|
+
end
|
1111
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_object_versions-instance_method
|
1112
|
+
def list_object_versions: (
|
1113
|
+
bucket: ::String,
|
1114
|
+
?delimiter: ::String,
|
1115
|
+
?encoding_type: ("url"),
|
1116
|
+
?key_marker: ::String,
|
1117
|
+
?max_keys: ::Integer,
|
1118
|
+
?prefix: ::String,
|
1119
|
+
?version_id_marker: ::String,
|
1120
|
+
?expected_bucket_owner: ::String,
|
1121
|
+
?request_payer: ("requester"),
|
1122
|
+
?optional_object_attributes: Array[("RestoreStatus")]
|
1123
|
+
) -> _ListObjectVersionsResponseSuccess
|
1124
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListObjectVersionsResponseSuccess
|
1125
|
+
|
1126
|
+
interface _ListObjectsResponseSuccess
|
1127
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListObjectsOutput]
|
1128
|
+
def is_truncated: () -> bool
|
1129
|
+
def marker: () -> ::String
|
1130
|
+
def next_marker: () -> ::String
|
1131
|
+
def contents: () -> ::Array[Types::Object]
|
1132
|
+
def name: () -> ::String
|
1133
|
+
def prefix: () -> ::String
|
1134
|
+
def delimiter: () -> ::String
|
1135
|
+
def max_keys: () -> ::Integer
|
1136
|
+
def common_prefixes: () -> ::Array[Types::CommonPrefix]
|
1137
|
+
def encoding_type: () -> ("url")
|
1138
|
+
def request_charged: () -> ("requester")
|
1139
|
+
end
|
1140
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_objects-instance_method
|
1141
|
+
def list_objects: (
|
1142
|
+
bucket: ::String,
|
1143
|
+
?delimiter: ::String,
|
1144
|
+
?encoding_type: ("url"),
|
1145
|
+
?marker: ::String,
|
1146
|
+
?max_keys: ::Integer,
|
1147
|
+
?prefix: ::String,
|
1148
|
+
?request_payer: ("requester"),
|
1149
|
+
?expected_bucket_owner: ::String,
|
1150
|
+
?optional_object_attributes: Array[("RestoreStatus")]
|
1151
|
+
) -> _ListObjectsResponseSuccess
|
1152
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListObjectsResponseSuccess
|
1153
|
+
|
1154
|
+
interface _ListObjectsV2ResponseSuccess
|
1155
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListObjectsV2Output]
|
1156
|
+
def is_truncated: () -> bool
|
1157
|
+
def contents: () -> ::Array[Types::Object]
|
1158
|
+
def name: () -> ::String
|
1159
|
+
def prefix: () -> ::String
|
1160
|
+
def delimiter: () -> ::String
|
1161
|
+
def max_keys: () -> ::Integer
|
1162
|
+
def common_prefixes: () -> ::Array[Types::CommonPrefix]
|
1163
|
+
def encoding_type: () -> ("url")
|
1164
|
+
def key_count: () -> ::Integer
|
1165
|
+
def continuation_token: () -> ::String
|
1166
|
+
def next_continuation_token: () -> ::String
|
1167
|
+
def start_after: () -> ::String
|
1168
|
+
def request_charged: () -> ("requester")
|
1169
|
+
end
|
1170
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_objects_v2-instance_method
|
1171
|
+
def list_objects_v2: (
|
1172
|
+
bucket: ::String,
|
1173
|
+
?delimiter: ::String,
|
1174
|
+
?encoding_type: ("url"),
|
1175
|
+
?max_keys: ::Integer,
|
1176
|
+
?prefix: ::String,
|
1177
|
+
?continuation_token: ::String,
|
1178
|
+
?fetch_owner: bool,
|
1179
|
+
?start_after: ::String,
|
1180
|
+
?request_payer: ("requester"),
|
1181
|
+
?expected_bucket_owner: ::String,
|
1182
|
+
?optional_object_attributes: Array[("RestoreStatus")]
|
1183
|
+
) -> _ListObjectsV2ResponseSuccess
|
1184
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListObjectsV2ResponseSuccess
|
1185
|
+
|
1186
|
+
interface _ListPartsResponseSuccess
|
1187
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPartsOutput]
|
1188
|
+
def abort_date: () -> ::Time
|
1189
|
+
def abort_rule_id: () -> ::String
|
1190
|
+
def bucket: () -> ::String
|
1191
|
+
def key: () -> ::String
|
1192
|
+
def upload_id: () -> ::String
|
1193
|
+
def part_number_marker: () -> ::Integer
|
1194
|
+
def next_part_number_marker: () -> ::Integer
|
1195
|
+
def max_parts: () -> ::Integer
|
1196
|
+
def is_truncated: () -> bool
|
1197
|
+
def parts: () -> ::Array[Types::Part]
|
1198
|
+
def initiator: () -> Types::Initiator
|
1199
|
+
def owner: () -> Types::Owner
|
1200
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
1201
|
+
def request_charged: () -> ("requester")
|
1202
|
+
def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
1203
|
+
end
|
1204
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_parts-instance_method
|
1205
|
+
def list_parts: (
|
1206
|
+
bucket: ::String,
|
1207
|
+
key: ::String,
|
1208
|
+
?max_parts: ::Integer,
|
1209
|
+
?part_number_marker: ::Integer,
|
1210
|
+
upload_id: ::String,
|
1211
|
+
?request_payer: ("requester"),
|
1212
|
+
?expected_bucket_owner: ::String,
|
1213
|
+
?sse_customer_algorithm: ::String,
|
1214
|
+
?sse_customer_key: ::String,
|
1215
|
+
?sse_customer_key_md5: ::String
|
1216
|
+
) -> _ListPartsResponseSuccess
|
1217
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPartsResponseSuccess
|
1218
|
+
|
1219
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_accelerate_configuration-instance_method
|
1220
|
+
def put_bucket_accelerate_configuration: (
|
1221
|
+
bucket: ::String,
|
1222
|
+
accelerate_configuration: {
|
1223
|
+
status: ("Enabled" | "Suspended")?
|
1224
|
+
},
|
1225
|
+
?expected_bucket_owner: ::String,
|
1226
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
1227
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1228
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1229
|
+
|
1230
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_acl-instance_method
|
1231
|
+
def put_bucket_acl: (
|
1232
|
+
?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read"),
|
1233
|
+
?access_control_policy: {
|
1234
|
+
grants: Array[
|
1235
|
+
{
|
1236
|
+
grantee: {
|
1237
|
+
display_name: ::String?,
|
1238
|
+
email_address: ::String?,
|
1239
|
+
id: ::String?,
|
1240
|
+
type: ("CanonicalUser" | "AmazonCustomerByEmail" | "Group"),
|
1241
|
+
uri: ::String?
|
1242
|
+
}?,
|
1243
|
+
permission: ("FULL_CONTROL" | "WRITE" | "WRITE_ACP" | "READ" | "READ_ACP")?
|
1244
|
+
},
|
1245
|
+
]?,
|
1246
|
+
owner: {
|
1247
|
+
display_name: ::String?,
|
1248
|
+
id: ::String?
|
1249
|
+
}?
|
1250
|
+
},
|
1251
|
+
bucket: ::String,
|
1252
|
+
?content_md5: ::String,
|
1253
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1254
|
+
?grant_full_control: ::String,
|
1255
|
+
?grant_read: ::String,
|
1256
|
+
?grant_read_acp: ::String,
|
1257
|
+
?grant_write: ::String,
|
1258
|
+
?grant_write_acp: ::String,
|
1259
|
+
?expected_bucket_owner: ::String
|
1260
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1261
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1262
|
+
|
1263
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_analytics_configuration-instance_method
|
1264
|
+
def put_bucket_analytics_configuration: (
|
1265
|
+
bucket: ::String,
|
1266
|
+
id: ::String,
|
1267
|
+
analytics_configuration: {
|
1268
|
+
id: ::String,
|
1269
|
+
filter: {
|
1270
|
+
prefix: ::String?,
|
1271
|
+
tag: {
|
1272
|
+
key: ::String,
|
1273
|
+
value: ::String
|
1274
|
+
}?,
|
1275
|
+
and: {
|
1276
|
+
prefix: ::String?,
|
1277
|
+
tags: Array[
|
1278
|
+
{
|
1279
|
+
key: ::String,
|
1280
|
+
value: ::String
|
1281
|
+
},
|
1282
|
+
]?
|
1283
|
+
}?
|
1284
|
+
}?,
|
1285
|
+
storage_class_analysis: {
|
1286
|
+
data_export: {
|
1287
|
+
output_schema_version: ("V_1"),
|
1288
|
+
destination: {
|
1289
|
+
s3_bucket_destination: {
|
1290
|
+
format: ("CSV"),
|
1291
|
+
bucket_account_id: ::String?,
|
1292
|
+
bucket: ::String,
|
1293
|
+
prefix: ::String?
|
1294
|
+
}
|
1295
|
+
}
|
1296
|
+
}?
|
1297
|
+
}
|
1298
|
+
},
|
1299
|
+
?expected_bucket_owner: ::String
|
1300
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1301
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1302
|
+
|
1303
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_cors-instance_method
|
1304
|
+
def put_bucket_cors: (
|
1305
|
+
bucket: ::String,
|
1306
|
+
cors_configuration: {
|
1307
|
+
cors_rules: Array[
|
1308
|
+
{
|
1309
|
+
id: ::String?,
|
1310
|
+
allowed_headers: Array[::String]?,
|
1311
|
+
allowed_methods: Array[::String],
|
1312
|
+
allowed_origins: Array[::String],
|
1313
|
+
expose_headers: Array[::String]?,
|
1314
|
+
max_age_seconds: ::Integer?
|
1315
|
+
},
|
1316
|
+
]
|
1317
|
+
},
|
1318
|
+
?content_md5: ::String,
|
1319
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1320
|
+
?expected_bucket_owner: ::String
|
1321
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1322
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1323
|
+
|
1324
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_encryption-instance_method
|
1325
|
+
def put_bucket_encryption: (
|
1326
|
+
bucket: ::String,
|
1327
|
+
?content_md5: ::String,
|
1328
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1329
|
+
server_side_encryption_configuration: {
|
1330
|
+
rules: Array[
|
1331
|
+
{
|
1332
|
+
apply_server_side_encryption_by_default: {
|
1333
|
+
sse_algorithm: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
1334
|
+
kms_master_key_id: ::String?
|
1335
|
+
}?,
|
1336
|
+
bucket_key_enabled: bool?
|
1337
|
+
},
|
1338
|
+
]
|
1339
|
+
},
|
1340
|
+
?expected_bucket_owner: ::String
|
1341
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1342
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1343
|
+
|
1344
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_intelligent_tiering_configuration-instance_method
|
1345
|
+
def put_bucket_intelligent_tiering_configuration: (
|
1346
|
+
bucket: ::String,
|
1347
|
+
id: ::String,
|
1348
|
+
intelligent_tiering_configuration: {
|
1349
|
+
id: ::String,
|
1350
|
+
filter: {
|
1351
|
+
prefix: ::String?,
|
1352
|
+
tag: {
|
1353
|
+
key: ::String,
|
1354
|
+
value: ::String
|
1355
|
+
}?,
|
1356
|
+
and: {
|
1357
|
+
prefix: ::String?,
|
1358
|
+
tags: Array[
|
1359
|
+
{
|
1360
|
+
key: ::String,
|
1361
|
+
value: ::String
|
1362
|
+
},
|
1363
|
+
]?
|
1364
|
+
}?
|
1365
|
+
}?,
|
1366
|
+
status: ("Enabled" | "Disabled"),
|
1367
|
+
tierings: Array[
|
1368
|
+
{
|
1369
|
+
days: ::Integer,
|
1370
|
+
access_tier: ("ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS")
|
1371
|
+
},
|
1372
|
+
]
|
1373
|
+
}
|
1374
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1375
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1376
|
+
|
1377
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_inventory_configuration-instance_method
|
1378
|
+
def put_bucket_inventory_configuration: (
|
1379
|
+
bucket: ::String,
|
1380
|
+
id: ::String,
|
1381
|
+
inventory_configuration: {
|
1382
|
+
destination: {
|
1383
|
+
s3_bucket_destination: {
|
1384
|
+
account_id: ::String?,
|
1385
|
+
bucket: ::String,
|
1386
|
+
format: ("CSV" | "ORC" | "Parquet"),
|
1387
|
+
prefix: ::String?,
|
1388
|
+
encryption: {
|
1389
|
+
sses3: {
|
1390
|
+
}?,
|
1391
|
+
ssekms: {
|
1392
|
+
key_id: ::String
|
1393
|
+
}?
|
1394
|
+
}?
|
1395
|
+
}
|
1396
|
+
},
|
1397
|
+
is_enabled: bool,
|
1398
|
+
filter: {
|
1399
|
+
prefix: ::String
|
1400
|
+
}?,
|
1401
|
+
id: ::String,
|
1402
|
+
included_object_versions: ("All" | "Current"),
|
1403
|
+
optional_fields: Array[("Size" | "LastModifiedDate" | "StorageClass" | "ETag" | "IsMultipartUploaded" | "ReplicationStatus" | "EncryptionStatus" | "ObjectLockRetainUntilDate" | "ObjectLockMode" | "ObjectLockLegalHoldStatus" | "IntelligentTieringAccessTier" | "BucketKeyStatus" | "ChecksumAlgorithm" | "ObjectAccessControlList" | "ObjectOwner")]?,
|
1404
|
+
schedule: {
|
1405
|
+
frequency: ("Daily" | "Weekly")
|
1406
|
+
}
|
1407
|
+
},
|
1408
|
+
?expected_bucket_owner: ::String
|
1409
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1410
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1411
|
+
|
1412
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_lifecycle-instance_method
|
1413
|
+
def put_bucket_lifecycle: (
|
1414
|
+
bucket: ::String,
|
1415
|
+
?content_md5: ::String,
|
1416
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1417
|
+
?lifecycle_configuration: {
|
1418
|
+
rules: Array[
|
1419
|
+
{
|
1420
|
+
expiration: {
|
1421
|
+
date: ::Time?,
|
1422
|
+
days: ::Integer?,
|
1423
|
+
expired_object_delete_marker: bool?
|
1424
|
+
}?,
|
1425
|
+
id: ::String?,
|
1426
|
+
prefix: ::String,
|
1427
|
+
status: ("Enabled" | "Disabled"),
|
1428
|
+
transition: {
|
1429
|
+
date: ::Time?,
|
1430
|
+
days: ::Integer?,
|
1431
|
+
storage_class: ("GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "GLACIER_IR")?
|
1432
|
+
}?,
|
1433
|
+
noncurrent_version_transition: {
|
1434
|
+
noncurrent_days: ::Integer?,
|
1435
|
+
storage_class: ("GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "GLACIER_IR")?,
|
1436
|
+
newer_noncurrent_versions: ::Integer?
|
1437
|
+
}?,
|
1438
|
+
noncurrent_version_expiration: {
|
1439
|
+
noncurrent_days: ::Integer?,
|
1440
|
+
newer_noncurrent_versions: ::Integer?
|
1441
|
+
}?,
|
1442
|
+
abort_incomplete_multipart_upload: {
|
1443
|
+
days_after_initiation: ::Integer?
|
1444
|
+
}?
|
1445
|
+
},
|
1446
|
+
]
|
1447
|
+
},
|
1448
|
+
?expected_bucket_owner: ::String
|
1449
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1450
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1451
|
+
|
1452
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_lifecycle_configuration-instance_method
|
1453
|
+
def put_bucket_lifecycle_configuration: (
|
1454
|
+
bucket: ::String,
|
1455
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1456
|
+
?lifecycle_configuration: {
|
1457
|
+
rules: Array[
|
1458
|
+
{
|
1459
|
+
expiration: {
|
1460
|
+
date: ::Time?,
|
1461
|
+
days: ::Integer?,
|
1462
|
+
expired_object_delete_marker: bool?
|
1463
|
+
}?,
|
1464
|
+
id: ::String?,
|
1465
|
+
prefix: ::String?,
|
1466
|
+
filter: {
|
1467
|
+
prefix: ::String?,
|
1468
|
+
tag: {
|
1469
|
+
key: ::String,
|
1470
|
+
value: ::String
|
1471
|
+
}?,
|
1472
|
+
object_size_greater_than: ::Integer?,
|
1473
|
+
object_size_less_than: ::Integer?,
|
1474
|
+
and: {
|
1475
|
+
prefix: ::String?,
|
1476
|
+
tags: Array[
|
1477
|
+
{
|
1478
|
+
key: ::String,
|
1479
|
+
value: ::String
|
1480
|
+
},
|
1481
|
+
]?,
|
1482
|
+
object_size_greater_than: ::Integer?,
|
1483
|
+
object_size_less_than: ::Integer?
|
1484
|
+
}?
|
1485
|
+
}?,
|
1486
|
+
status: ("Enabled" | "Disabled"),
|
1487
|
+
transitions: Array[
|
1488
|
+
{
|
1489
|
+
date: ::Time?,
|
1490
|
+
days: ::Integer?,
|
1491
|
+
storage_class: ("GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "GLACIER_IR")?
|
1492
|
+
},
|
1493
|
+
]?,
|
1494
|
+
noncurrent_version_transitions: Array[
|
1495
|
+
{
|
1496
|
+
noncurrent_days: ::Integer?,
|
1497
|
+
storage_class: ("GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "GLACIER_IR")?,
|
1498
|
+
newer_noncurrent_versions: ::Integer?
|
1499
|
+
},
|
1500
|
+
]?,
|
1501
|
+
noncurrent_version_expiration: {
|
1502
|
+
noncurrent_days: ::Integer?,
|
1503
|
+
newer_noncurrent_versions: ::Integer?
|
1504
|
+
}?,
|
1505
|
+
abort_incomplete_multipart_upload: {
|
1506
|
+
days_after_initiation: ::Integer?
|
1507
|
+
}?
|
1508
|
+
},
|
1509
|
+
]
|
1510
|
+
},
|
1511
|
+
?expected_bucket_owner: ::String
|
1512
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1513
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1514
|
+
|
1515
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_logging-instance_method
|
1516
|
+
def put_bucket_logging: (
|
1517
|
+
bucket: ::String,
|
1518
|
+
bucket_logging_status: {
|
1519
|
+
logging_enabled: {
|
1520
|
+
target_bucket: ::String,
|
1521
|
+
target_grants: Array[
|
1522
|
+
{
|
1523
|
+
grantee: {
|
1524
|
+
display_name: ::String?,
|
1525
|
+
email_address: ::String?,
|
1526
|
+
id: ::String?,
|
1527
|
+
type: ("CanonicalUser" | "AmazonCustomerByEmail" | "Group"),
|
1528
|
+
uri: ::String?
|
1529
|
+
}?,
|
1530
|
+
permission: ("FULL_CONTROL" | "READ" | "WRITE")?
|
1531
|
+
},
|
1532
|
+
]?,
|
1533
|
+
target_prefix: ::String,
|
1534
|
+
target_object_key_format: {
|
1535
|
+
simple_prefix: {
|
1536
|
+
}?,
|
1537
|
+
partitioned_prefix: {
|
1538
|
+
partition_date_source: ("EventTime" | "DeliveryTime")?
|
1539
|
+
}?
|
1540
|
+
}?
|
1541
|
+
}?
|
1542
|
+
},
|
1543
|
+
?content_md5: ::String,
|
1544
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1545
|
+
?expected_bucket_owner: ::String
|
1546
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1547
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1548
|
+
|
1549
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_metrics_configuration-instance_method
|
1550
|
+
def put_bucket_metrics_configuration: (
|
1551
|
+
bucket: ::String,
|
1552
|
+
id: ::String,
|
1553
|
+
metrics_configuration: {
|
1554
|
+
id: ::String,
|
1555
|
+
filter: {
|
1556
|
+
prefix: ::String?,
|
1557
|
+
tag: {
|
1558
|
+
key: ::String,
|
1559
|
+
value: ::String
|
1560
|
+
}?,
|
1561
|
+
access_point_arn: ::String?,
|
1562
|
+
and: {
|
1563
|
+
prefix: ::String?,
|
1564
|
+
tags: Array[
|
1565
|
+
{
|
1566
|
+
key: ::String,
|
1567
|
+
value: ::String
|
1568
|
+
},
|
1569
|
+
]?,
|
1570
|
+
access_point_arn: ::String?
|
1571
|
+
}?
|
1572
|
+
}?
|
1573
|
+
},
|
1574
|
+
?expected_bucket_owner: ::String
|
1575
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1576
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1577
|
+
|
1578
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_notification-instance_method
|
1579
|
+
def put_bucket_notification: (
|
1580
|
+
bucket: ::String,
|
1581
|
+
?content_md5: ::String,
|
1582
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1583
|
+
notification_configuration: {
|
1584
|
+
topic_configuration: {
|
1585
|
+
id: ::String?,
|
1586
|
+
events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete")]?,
|
1587
|
+
event: ("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete")?,
|
1588
|
+
topic: ::String?
|
1589
|
+
}?,
|
1590
|
+
queue_configuration: {
|
1591
|
+
id: ::String?,
|
1592
|
+
event: ("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete")?,
|
1593
|
+
events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete")]?,
|
1594
|
+
queue: ::String?
|
1595
|
+
}?,
|
1596
|
+
cloud_function_configuration: {
|
1597
|
+
id: ::String?,
|
1598
|
+
event: ("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete")?,
|
1599
|
+
events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete")]?,
|
1600
|
+
cloud_function: ::String?,
|
1601
|
+
invocation_role: ::String?
|
1602
|
+
}?
|
1603
|
+
},
|
1604
|
+
?expected_bucket_owner: ::String
|
1605
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1606
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1607
|
+
|
1608
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_notification_configuration-instance_method
|
1609
|
+
def put_bucket_notification_configuration: (
|
1610
|
+
bucket: ::String,
|
1611
|
+
notification_configuration: {
|
1612
|
+
topic_configurations: Array[
|
1613
|
+
{
|
1614
|
+
id: ::String?,
|
1615
|
+
topic_arn: ::String,
|
1616
|
+
events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete")],
|
1617
|
+
filter: {
|
1618
|
+
key: {
|
1619
|
+
filter_rules: Array[
|
1620
|
+
{
|
1621
|
+
name: ("prefix" | "suffix")?,
|
1622
|
+
value: ::String?
|
1623
|
+
},
|
1624
|
+
]?
|
1625
|
+
}?
|
1626
|
+
}?
|
1627
|
+
},
|
1628
|
+
]?,
|
1629
|
+
queue_configurations: Array[
|
1630
|
+
{
|
1631
|
+
id: ::String?,
|
1632
|
+
queue_arn: ::String,
|
1633
|
+
events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete")],
|
1634
|
+
filter: {
|
1635
|
+
key: {
|
1636
|
+
filter_rules: Array[
|
1637
|
+
{
|
1638
|
+
name: ("prefix" | "suffix")?,
|
1639
|
+
value: ::String?
|
1640
|
+
},
|
1641
|
+
]?
|
1642
|
+
}?
|
1643
|
+
}?
|
1644
|
+
},
|
1645
|
+
]?,
|
1646
|
+
lambda_function_configurations: Array[
|
1647
|
+
{
|
1648
|
+
id: ::String?,
|
1649
|
+
lambda_function_arn: ::String,
|
1650
|
+
events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete")],
|
1651
|
+
filter: {
|
1652
|
+
key: {
|
1653
|
+
filter_rules: Array[
|
1654
|
+
{
|
1655
|
+
name: ("prefix" | "suffix")?,
|
1656
|
+
value: ::String?
|
1657
|
+
},
|
1658
|
+
]?
|
1659
|
+
}?
|
1660
|
+
}?
|
1661
|
+
},
|
1662
|
+
]?,
|
1663
|
+
event_bridge_configuration: {
|
1664
|
+
}?
|
1665
|
+
},
|
1666
|
+
?expected_bucket_owner: ::String,
|
1667
|
+
?skip_destination_validation: bool
|
1668
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1669
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1670
|
+
|
1671
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_ownership_controls-instance_method
|
1672
|
+
def put_bucket_ownership_controls: (
|
1673
|
+
bucket: ::String,
|
1674
|
+
?content_md5: ::String,
|
1675
|
+
?expected_bucket_owner: ::String,
|
1676
|
+
ownership_controls: {
|
1677
|
+
rules: Array[
|
1678
|
+
{
|
1679
|
+
object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced")
|
1680
|
+
},
|
1681
|
+
]
|
1682
|
+
}
|
1683
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1684
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1685
|
+
|
1686
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_policy-instance_method
|
1687
|
+
def put_bucket_policy: (
|
1688
|
+
bucket: ::String,
|
1689
|
+
?content_md5: ::String,
|
1690
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1691
|
+
?confirm_remove_self_bucket_access: bool,
|
1692
|
+
policy: ::String,
|
1693
|
+
?expected_bucket_owner: ::String
|
1694
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1695
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1696
|
+
|
1697
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_replication-instance_method
|
1698
|
+
def put_bucket_replication: (
|
1699
|
+
bucket: ::String,
|
1700
|
+
?content_md5: ::String,
|
1701
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1702
|
+
replication_configuration: {
|
1703
|
+
role: ::String,
|
1704
|
+
rules: Array[
|
1705
|
+
{
|
1706
|
+
id: ::String?,
|
1707
|
+
priority: ::Integer?,
|
1708
|
+
prefix: ::String?,
|
1709
|
+
filter: {
|
1710
|
+
prefix: ::String?,
|
1711
|
+
tag: {
|
1712
|
+
key: ::String,
|
1713
|
+
value: ::String
|
1714
|
+
}?,
|
1715
|
+
and: {
|
1716
|
+
prefix: ::String?,
|
1717
|
+
tags: Array[
|
1718
|
+
{
|
1719
|
+
key: ::String,
|
1720
|
+
value: ::String
|
1721
|
+
},
|
1722
|
+
]?
|
1723
|
+
}?
|
1724
|
+
}?,
|
1725
|
+
status: ("Enabled" | "Disabled"),
|
1726
|
+
source_selection_criteria: {
|
1727
|
+
sse_kms_encrypted_objects: {
|
1728
|
+
status: ("Enabled" | "Disabled")
|
1729
|
+
}?,
|
1730
|
+
replica_modifications: {
|
1731
|
+
status: ("Enabled" | "Disabled")
|
1732
|
+
}?
|
1733
|
+
}?,
|
1734
|
+
existing_object_replication: {
|
1735
|
+
status: ("Enabled" | "Disabled")
|
1736
|
+
}?,
|
1737
|
+
destination: {
|
1738
|
+
bucket: ::String,
|
1739
|
+
account: ::String?,
|
1740
|
+
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?,
|
1741
|
+
access_control_translation: {
|
1742
|
+
owner: ("Destination")
|
1743
|
+
}?,
|
1744
|
+
encryption_configuration: {
|
1745
|
+
replica_kms_key_id: ::String?
|
1746
|
+
}?,
|
1747
|
+
replication_time: {
|
1748
|
+
status: ("Enabled" | "Disabled"),
|
1749
|
+
time: {
|
1750
|
+
minutes: ::Integer?
|
1751
|
+
}
|
1752
|
+
}?,
|
1753
|
+
metrics: {
|
1754
|
+
status: ("Enabled" | "Disabled"),
|
1755
|
+
event_threshold: {
|
1756
|
+
minutes: ::Integer?
|
1757
|
+
}?
|
1758
|
+
}?
|
1759
|
+
},
|
1760
|
+
delete_marker_replication: {
|
1761
|
+
status: ("Enabled" | "Disabled")?
|
1762
|
+
}?
|
1763
|
+
},
|
1764
|
+
]
|
1765
|
+
},
|
1766
|
+
?token: ::String,
|
1767
|
+
?expected_bucket_owner: ::String
|
1768
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1769
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1770
|
+
|
1771
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_request_payment-instance_method
|
1772
|
+
def put_bucket_request_payment: (
|
1773
|
+
bucket: ::String,
|
1774
|
+
?content_md5: ::String,
|
1775
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1776
|
+
request_payment_configuration: {
|
1777
|
+
payer: ("Requester" | "BucketOwner")
|
1778
|
+
},
|
1779
|
+
?expected_bucket_owner: ::String
|
1780
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1781
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1782
|
+
|
1783
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_tagging-instance_method
|
1784
|
+
def put_bucket_tagging: (
|
1785
|
+
bucket: ::String,
|
1786
|
+
?content_md5: ::String,
|
1787
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1788
|
+
tagging: {
|
1789
|
+
tag_set: Array[
|
1790
|
+
{
|
1791
|
+
key: ::String,
|
1792
|
+
value: ::String
|
1793
|
+
},
|
1794
|
+
]
|
1795
|
+
},
|
1796
|
+
?expected_bucket_owner: ::String
|
1797
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1798
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1799
|
+
|
1800
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_versioning-instance_method
|
1801
|
+
def put_bucket_versioning: (
|
1802
|
+
bucket: ::String,
|
1803
|
+
?content_md5: ::String,
|
1804
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1805
|
+
?mfa: ::String,
|
1806
|
+
versioning_configuration: {
|
1807
|
+
mfa_delete: ("Enabled" | "Disabled")?,
|
1808
|
+
status: ("Enabled" | "Suspended")?
|
1809
|
+
},
|
1810
|
+
?expected_bucket_owner: ::String
|
1811
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1812
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1813
|
+
|
1814
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_website-instance_method
|
1815
|
+
def put_bucket_website: (
|
1816
|
+
bucket: ::String,
|
1817
|
+
?content_md5: ::String,
|
1818
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1819
|
+
website_configuration: {
|
1820
|
+
error_document: {
|
1821
|
+
key: ::String
|
1822
|
+
}?,
|
1823
|
+
index_document: {
|
1824
|
+
suffix: ::String
|
1825
|
+
}?,
|
1826
|
+
redirect_all_requests_to: {
|
1827
|
+
host_name: ::String,
|
1828
|
+
protocol: ("http" | "https")?
|
1829
|
+
}?,
|
1830
|
+
routing_rules: Array[
|
1831
|
+
{
|
1832
|
+
condition: {
|
1833
|
+
http_error_code_returned_equals: ::String?,
|
1834
|
+
key_prefix_equals: ::String?
|
1835
|
+
}?,
|
1836
|
+
redirect: {
|
1837
|
+
host_name: ::String?,
|
1838
|
+
http_redirect_code: ::String?,
|
1839
|
+
protocol: ("http" | "https")?,
|
1840
|
+
replace_key_prefix_with: ::String?,
|
1841
|
+
replace_key_with: ::String?
|
1842
|
+
}
|
1843
|
+
},
|
1844
|
+
]?
|
1845
|
+
},
|
1846
|
+
?expected_bucket_owner: ::String
|
1847
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1848
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1849
|
+
|
1850
|
+
interface _PutObjectResponseSuccess
|
1851
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutObjectOutput]
|
1852
|
+
def expiration: () -> ::String
|
1853
|
+
def etag: () -> ::String
|
1854
|
+
def checksum_crc32: () -> ::String
|
1855
|
+
def checksum_crc32c: () -> ::String
|
1856
|
+
def checksum_sha1: () -> ::String
|
1857
|
+
def checksum_sha256: () -> ::String
|
1858
|
+
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
1859
|
+
def version_id: () -> ::String
|
1860
|
+
def sse_customer_algorithm: () -> ::String
|
1861
|
+
def sse_customer_key_md5: () -> ::String
|
1862
|
+
def ssekms_key_id: () -> ::String
|
1863
|
+
def ssekms_encryption_context: () -> ::String
|
1864
|
+
def bucket_key_enabled: () -> bool
|
1865
|
+
def request_charged: () -> ("requester")
|
1866
|
+
end
|
1867
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object-instance_method
|
1868
|
+
def put_object: (
|
1869
|
+
?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"),
|
1870
|
+
?body: ::String | ::StringIO | ::File,
|
1871
|
+
bucket: ::String,
|
1872
|
+
?cache_control: ::String,
|
1873
|
+
?content_disposition: ::String,
|
1874
|
+
?content_encoding: ::String,
|
1875
|
+
?content_language: ::String,
|
1876
|
+
?content_length: ::Integer,
|
1877
|
+
?content_md5: ::String,
|
1878
|
+
?content_type: ::String,
|
1879
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1880
|
+
?checksum_crc32: ::String,
|
1881
|
+
?checksum_crc32c: ::String,
|
1882
|
+
?checksum_sha1: ::String,
|
1883
|
+
?checksum_sha256: ::String,
|
1884
|
+
?expires: ::Time,
|
1885
|
+
?grant_full_control: ::String,
|
1886
|
+
?grant_read: ::String,
|
1887
|
+
?grant_read_acp: ::String,
|
1888
|
+
?grant_write_acp: ::String,
|
1889
|
+
key: ::String,
|
1890
|
+
?metadata: Hash[::String, ::String],
|
1891
|
+
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
1892
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
1893
|
+
?website_redirect_location: ::String,
|
1894
|
+
?sse_customer_algorithm: ::String,
|
1895
|
+
?sse_customer_key: ::String,
|
1896
|
+
?sse_customer_key_md5: ::String,
|
1897
|
+
?ssekms_key_id: ::String,
|
1898
|
+
?ssekms_encryption_context: ::String,
|
1899
|
+
?bucket_key_enabled: bool,
|
1900
|
+
?request_payer: ("requester"),
|
1901
|
+
?tagging: ::String,
|
1902
|
+
?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
|
1903
|
+
?object_lock_retain_until_date: ::Time,
|
1904
|
+
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
1905
|
+
?expected_bucket_owner: ::String
|
1906
|
+
) -> _PutObjectResponseSuccess
|
1907
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectResponseSuccess
|
1908
|
+
|
1909
|
+
interface _PutObjectAclResponseSuccess
|
1910
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutObjectAclOutput]
|
1911
|
+
def request_charged: () -> ("requester")
|
1912
|
+
end
|
1913
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object_acl-instance_method
|
1914
|
+
def put_object_acl: (
|
1915
|
+
?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"),
|
1916
|
+
?access_control_policy: {
|
1917
|
+
grants: Array[
|
1918
|
+
{
|
1919
|
+
grantee: {
|
1920
|
+
display_name: ::String?,
|
1921
|
+
email_address: ::String?,
|
1922
|
+
id: ::String?,
|
1923
|
+
type: ("CanonicalUser" | "AmazonCustomerByEmail" | "Group"),
|
1924
|
+
uri: ::String?
|
1925
|
+
}?,
|
1926
|
+
permission: ("FULL_CONTROL" | "WRITE" | "WRITE_ACP" | "READ" | "READ_ACP")?
|
1927
|
+
},
|
1928
|
+
]?,
|
1929
|
+
owner: {
|
1930
|
+
display_name: ::String?,
|
1931
|
+
id: ::String?
|
1932
|
+
}?
|
1933
|
+
},
|
1934
|
+
bucket: ::String,
|
1935
|
+
?content_md5: ::String,
|
1936
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1937
|
+
?grant_full_control: ::String,
|
1938
|
+
?grant_read: ::String,
|
1939
|
+
?grant_read_acp: ::String,
|
1940
|
+
?grant_write: ::String,
|
1941
|
+
?grant_write_acp: ::String,
|
1942
|
+
key: ::String,
|
1943
|
+
?request_payer: ("requester"),
|
1944
|
+
?version_id: ::String,
|
1945
|
+
?expected_bucket_owner: ::String
|
1946
|
+
) -> _PutObjectAclResponseSuccess
|
1947
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectAclResponseSuccess
|
1948
|
+
|
1949
|
+
interface _PutObjectLegalHoldResponseSuccess
|
1950
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutObjectLegalHoldOutput]
|
1951
|
+
def request_charged: () -> ("requester")
|
1952
|
+
end
|
1953
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object_legal_hold-instance_method
|
1954
|
+
def put_object_legal_hold: (
|
1955
|
+
bucket: ::String,
|
1956
|
+
key: ::String,
|
1957
|
+
?legal_hold: {
|
1958
|
+
status: ("ON" | "OFF")?
|
1959
|
+
},
|
1960
|
+
?request_payer: ("requester"),
|
1961
|
+
?version_id: ::String,
|
1962
|
+
?content_md5: ::String,
|
1963
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1964
|
+
?expected_bucket_owner: ::String
|
1965
|
+
) -> _PutObjectLegalHoldResponseSuccess
|
1966
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectLegalHoldResponseSuccess
|
1967
|
+
|
1968
|
+
interface _PutObjectLockConfigurationResponseSuccess
|
1969
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutObjectLockConfigurationOutput]
|
1970
|
+
def request_charged: () -> ("requester")
|
1971
|
+
end
|
1972
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object_lock_configuration-instance_method
|
1973
|
+
def put_object_lock_configuration: (
|
1974
|
+
bucket: ::String,
|
1975
|
+
?object_lock_configuration: {
|
1976
|
+
object_lock_enabled: ("Enabled")?,
|
1977
|
+
rule: {
|
1978
|
+
default_retention: {
|
1979
|
+
mode: ("GOVERNANCE" | "COMPLIANCE")?,
|
1980
|
+
days: ::Integer?,
|
1981
|
+
years: ::Integer?
|
1982
|
+
}?
|
1983
|
+
}?
|
1984
|
+
},
|
1985
|
+
?request_payer: ("requester"),
|
1986
|
+
?token: ::String,
|
1987
|
+
?content_md5: ::String,
|
1988
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
1989
|
+
?expected_bucket_owner: ::String
|
1990
|
+
) -> _PutObjectLockConfigurationResponseSuccess
|
1991
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectLockConfigurationResponseSuccess
|
1992
|
+
|
1993
|
+
interface _PutObjectRetentionResponseSuccess
|
1994
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutObjectRetentionOutput]
|
1995
|
+
def request_charged: () -> ("requester")
|
1996
|
+
end
|
1997
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object_retention-instance_method
|
1998
|
+
def put_object_retention: (
|
1999
|
+
bucket: ::String,
|
2000
|
+
key: ::String,
|
2001
|
+
?retention: {
|
2002
|
+
mode: ("GOVERNANCE" | "COMPLIANCE")?,
|
2003
|
+
retain_until_date: ::Time?
|
2004
|
+
},
|
2005
|
+
?request_payer: ("requester"),
|
2006
|
+
?version_id: ::String,
|
2007
|
+
?bypass_governance_retention: bool,
|
2008
|
+
?content_md5: ::String,
|
2009
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
2010
|
+
?expected_bucket_owner: ::String
|
2011
|
+
) -> _PutObjectRetentionResponseSuccess
|
2012
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectRetentionResponseSuccess
|
2013
|
+
|
2014
|
+
interface _PutObjectTaggingResponseSuccess
|
2015
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutObjectTaggingOutput]
|
2016
|
+
def version_id: () -> ::String
|
2017
|
+
end
|
2018
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object_tagging-instance_method
|
2019
|
+
def put_object_tagging: (
|
2020
|
+
bucket: ::String,
|
2021
|
+
key: ::String,
|
2022
|
+
?version_id: ::String,
|
2023
|
+
?content_md5: ::String,
|
2024
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
2025
|
+
tagging: {
|
2026
|
+
tag_set: Array[
|
2027
|
+
{
|
2028
|
+
key: ::String,
|
2029
|
+
value: ::String
|
2030
|
+
},
|
2031
|
+
]
|
2032
|
+
},
|
2033
|
+
?expected_bucket_owner: ::String,
|
2034
|
+
?request_payer: ("requester")
|
2035
|
+
) -> _PutObjectTaggingResponseSuccess
|
2036
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectTaggingResponseSuccess
|
2037
|
+
|
2038
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_public_access_block-instance_method
|
2039
|
+
def put_public_access_block: (
|
2040
|
+
bucket: ::String,
|
2041
|
+
?content_md5: ::String,
|
2042
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
2043
|
+
public_access_block_configuration: {
|
2044
|
+
block_public_acls: bool?,
|
2045
|
+
ignore_public_acls: bool?,
|
2046
|
+
block_public_policy: bool?,
|
2047
|
+
restrict_public_buckets: bool?
|
2048
|
+
},
|
2049
|
+
?expected_bucket_owner: ::String
|
2050
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2051
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2052
|
+
|
2053
|
+
interface _RestoreObjectResponseSuccess
|
2054
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RestoreObjectOutput]
|
2055
|
+
def request_charged: () -> ("requester")
|
2056
|
+
def restore_output_path: () -> ::String
|
2057
|
+
end
|
2058
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#restore_object-instance_method
|
2059
|
+
def restore_object: (
|
2060
|
+
bucket: ::String,
|
2061
|
+
key: ::String,
|
2062
|
+
?version_id: ::String,
|
2063
|
+
?restore_request: {
|
2064
|
+
days: ::Integer?,
|
2065
|
+
glacier_job_parameters: {
|
2066
|
+
tier: ("Standard" | "Bulk" | "Expedited")
|
2067
|
+
}?,
|
2068
|
+
type: ("SELECT")?,
|
2069
|
+
tier: ("Standard" | "Bulk" | "Expedited")?,
|
2070
|
+
description: ::String?,
|
2071
|
+
select_parameters: {
|
2072
|
+
input_serialization: {
|
2073
|
+
csv: {
|
2074
|
+
file_header_info: ("USE" | "IGNORE" | "NONE")?,
|
2075
|
+
comments: ::String?,
|
2076
|
+
quote_escape_character: ::String?,
|
2077
|
+
record_delimiter: ::String?,
|
2078
|
+
field_delimiter: ::String?,
|
2079
|
+
quote_character: ::String?,
|
2080
|
+
allow_quoted_record_delimiter: bool?
|
2081
|
+
}?,
|
2082
|
+
compression_type: ("NONE" | "GZIP" | "BZIP2")?,
|
2083
|
+
json: {
|
2084
|
+
type: ("DOCUMENT" | "LINES")?
|
2085
|
+
}?,
|
2086
|
+
parquet: {
|
2087
|
+
}?
|
2088
|
+
},
|
2089
|
+
expression_type: ("SQL"),
|
2090
|
+
expression: ::String,
|
2091
|
+
output_serialization: {
|
2092
|
+
csv: {
|
2093
|
+
quote_fields: ("ALWAYS" | "ASNEEDED")?,
|
2094
|
+
quote_escape_character: ::String?,
|
2095
|
+
record_delimiter: ::String?,
|
2096
|
+
field_delimiter: ::String?,
|
2097
|
+
quote_character: ::String?
|
2098
|
+
}?,
|
2099
|
+
json: {
|
2100
|
+
record_delimiter: ::String?
|
2101
|
+
}?
|
2102
|
+
}
|
2103
|
+
}?,
|
2104
|
+
output_location: {
|
2105
|
+
s3: {
|
2106
|
+
bucket_name: ::String,
|
2107
|
+
prefix: ::String,
|
2108
|
+
encryption: {
|
2109
|
+
encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
2110
|
+
kms_key_id: ::String?,
|
2111
|
+
kms_context: ::String?
|
2112
|
+
}?,
|
2113
|
+
canned_acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control")?,
|
2114
|
+
access_control_list: Array[
|
2115
|
+
{
|
2116
|
+
grantee: {
|
2117
|
+
display_name: ::String?,
|
2118
|
+
email_address: ::String?,
|
2119
|
+
id: ::String?,
|
2120
|
+
type: ("CanonicalUser" | "AmazonCustomerByEmail" | "Group"),
|
2121
|
+
uri: ::String?
|
2122
|
+
}?,
|
2123
|
+
permission: ("FULL_CONTROL" | "WRITE" | "WRITE_ACP" | "READ" | "READ_ACP")?
|
2124
|
+
},
|
2125
|
+
]?,
|
2126
|
+
tagging: {
|
2127
|
+
tag_set: Array[
|
2128
|
+
{
|
2129
|
+
key: ::String,
|
2130
|
+
value: ::String
|
2131
|
+
},
|
2132
|
+
]
|
2133
|
+
}?,
|
2134
|
+
user_metadata: Array[
|
2135
|
+
{
|
2136
|
+
name: ::String?,
|
2137
|
+
value: ::String?
|
2138
|
+
},
|
2139
|
+
]?,
|
2140
|
+
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
|
2141
|
+
}?
|
2142
|
+
}?
|
2143
|
+
},
|
2144
|
+
?request_payer: ("requester"),
|
2145
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
2146
|
+
?expected_bucket_owner: ::String
|
2147
|
+
) -> _RestoreObjectResponseSuccess
|
2148
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreObjectResponseSuccess
|
2149
|
+
|
2150
|
+
interface _SelectObjectContentResponseSuccess
|
2151
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SelectObjectContentOutput]
|
2152
|
+
def payload: () -> Types::SelectObjectContentEventStream
|
2153
|
+
end
|
2154
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#select_object_content-instance_method
|
2155
|
+
def select_object_content: (
|
2156
|
+
bucket: ::String,
|
2157
|
+
key: ::String,
|
2158
|
+
?sse_customer_algorithm: ::String,
|
2159
|
+
?sse_customer_key: ::String,
|
2160
|
+
?sse_customer_key_md5: ::String,
|
2161
|
+
expression: ::String,
|
2162
|
+
expression_type: ("SQL"),
|
2163
|
+
?request_progress: {
|
2164
|
+
enabled: bool?
|
2165
|
+
},
|
2166
|
+
input_serialization: {
|
2167
|
+
csv: {
|
2168
|
+
file_header_info: ("USE" | "IGNORE" | "NONE")?,
|
2169
|
+
comments: ::String?,
|
2170
|
+
quote_escape_character: ::String?,
|
2171
|
+
record_delimiter: ::String?,
|
2172
|
+
field_delimiter: ::String?,
|
2173
|
+
quote_character: ::String?,
|
2174
|
+
allow_quoted_record_delimiter: bool?
|
2175
|
+
}?,
|
2176
|
+
compression_type: ("NONE" | "GZIP" | "BZIP2")?,
|
2177
|
+
json: {
|
2178
|
+
type: ("DOCUMENT" | "LINES")?
|
2179
|
+
}?,
|
2180
|
+
parquet: {
|
2181
|
+
}?
|
2182
|
+
},
|
2183
|
+
output_serialization: {
|
2184
|
+
csv: {
|
2185
|
+
quote_fields: ("ALWAYS" | "ASNEEDED")?,
|
2186
|
+
quote_escape_character: ::String?,
|
2187
|
+
record_delimiter: ::String?,
|
2188
|
+
field_delimiter: ::String?,
|
2189
|
+
quote_character: ::String?
|
2190
|
+
}?,
|
2191
|
+
json: {
|
2192
|
+
record_delimiter: ::String?
|
2193
|
+
}?
|
2194
|
+
},
|
2195
|
+
?scan_range: {
|
2196
|
+
start: ::Integer?,
|
2197
|
+
end: ::Integer?
|
2198
|
+
},
|
2199
|
+
?expected_bucket_owner: ::String
|
2200
|
+
) ?{ (*untyped) -> void } -> _SelectObjectContentResponseSuccess
|
2201
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _SelectObjectContentResponseSuccess
|
2202
|
+
|
2203
|
+
interface _UploadPartResponseSuccess
|
2204
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartOutput]
|
2205
|
+
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
2206
|
+
def etag: () -> ::String
|
2207
|
+
def checksum_crc32: () -> ::String
|
2208
|
+
def checksum_crc32c: () -> ::String
|
2209
|
+
def checksum_sha1: () -> ::String
|
2210
|
+
def checksum_sha256: () -> ::String
|
2211
|
+
def sse_customer_algorithm: () -> ::String
|
2212
|
+
def sse_customer_key_md5: () -> ::String
|
2213
|
+
def ssekms_key_id: () -> ::String
|
2214
|
+
def bucket_key_enabled: () -> bool
|
2215
|
+
def request_charged: () -> ("requester")
|
2216
|
+
end
|
2217
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#upload_part-instance_method
|
2218
|
+
def upload_part: (
|
2219
|
+
?body: ::String | ::StringIO | ::File,
|
2220
|
+
bucket: ::String,
|
2221
|
+
?content_length: ::Integer,
|
2222
|
+
?content_md5: ::String,
|
2223
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
2224
|
+
?checksum_crc32: ::String,
|
2225
|
+
?checksum_crc32c: ::String,
|
2226
|
+
?checksum_sha1: ::String,
|
2227
|
+
?checksum_sha256: ::String,
|
2228
|
+
key: ::String,
|
2229
|
+
part_number: ::Integer,
|
2230
|
+
upload_id: ::String,
|
2231
|
+
?sse_customer_algorithm: ::String,
|
2232
|
+
?sse_customer_key: ::String,
|
2233
|
+
?sse_customer_key_md5: ::String,
|
2234
|
+
?request_payer: ("requester"),
|
2235
|
+
?expected_bucket_owner: ::String
|
2236
|
+
) -> _UploadPartResponseSuccess
|
2237
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UploadPartResponseSuccess
|
2238
|
+
|
2239
|
+
interface _UploadPartCopyResponseSuccess
|
2240
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartCopyOutput]
|
2241
|
+
def copy_source_version_id: () -> ::String
|
2242
|
+
def copy_part_result: () -> Types::CopyPartResult
|
2243
|
+
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
2244
|
+
def sse_customer_algorithm: () -> ::String
|
2245
|
+
def sse_customer_key_md5: () -> ::String
|
2246
|
+
def ssekms_key_id: () -> ::String
|
2247
|
+
def bucket_key_enabled: () -> bool
|
2248
|
+
def request_charged: () -> ("requester")
|
2249
|
+
end
|
2250
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#upload_part_copy-instance_method
|
2251
|
+
def upload_part_copy: (
|
2252
|
+
bucket: ::String,
|
2253
|
+
copy_source: ::String,
|
2254
|
+
?copy_source_if_match: ::String,
|
2255
|
+
?copy_source_if_modified_since: ::Time,
|
2256
|
+
?copy_source_if_none_match: ::String,
|
2257
|
+
?copy_source_if_unmodified_since: ::Time,
|
2258
|
+
?copy_source_range: ::String,
|
2259
|
+
key: ::String,
|
2260
|
+
part_number: ::Integer,
|
2261
|
+
upload_id: ::String,
|
2262
|
+
?sse_customer_algorithm: ::String,
|
2263
|
+
?sse_customer_key: ::String,
|
2264
|
+
?sse_customer_key_md5: ::String,
|
2265
|
+
?copy_source_sse_customer_algorithm: ::String,
|
2266
|
+
?copy_source_sse_customer_key: ::String,
|
2267
|
+
?copy_source_sse_customer_key_md5: ::String,
|
2268
|
+
?request_payer: ("requester"),
|
2269
|
+
?expected_bucket_owner: ::String,
|
2270
|
+
?expected_source_bucket_owner: ::String
|
2271
|
+
) -> _UploadPartCopyResponseSuccess
|
2272
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UploadPartCopyResponseSuccess
|
2273
|
+
|
2274
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#write_get_object_response-instance_method
|
2275
|
+
def write_get_object_response: (
|
2276
|
+
request_route: ::String,
|
2277
|
+
request_token: ::String,
|
2278
|
+
?body: ::String | ::StringIO | ::File,
|
2279
|
+
?status_code: ::Integer,
|
2280
|
+
?error_code: ::String,
|
2281
|
+
?error_message: ::String,
|
2282
|
+
?accept_ranges: ::String,
|
2283
|
+
?cache_control: ::String,
|
2284
|
+
?content_disposition: ::String,
|
2285
|
+
?content_encoding: ::String,
|
2286
|
+
?content_language: ::String,
|
2287
|
+
?content_length: ::Integer,
|
2288
|
+
?content_range: ::String,
|
2289
|
+
?content_type: ::String,
|
2290
|
+
?checksum_crc32: ::String,
|
2291
|
+
?checksum_crc32c: ::String,
|
2292
|
+
?checksum_sha1: ::String,
|
2293
|
+
?checksum_sha256: ::String,
|
2294
|
+
?delete_marker: bool,
|
2295
|
+
?etag: ::String,
|
2296
|
+
?expires: ::Time,
|
2297
|
+
?expiration: ::String,
|
2298
|
+
?last_modified: ::Time,
|
2299
|
+
?missing_meta: ::Integer,
|
2300
|
+
?metadata: Hash[::String, ::String],
|
2301
|
+
?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
|
2302
|
+
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
2303
|
+
?object_lock_retain_until_date: ::Time,
|
2304
|
+
?parts_count: ::Integer,
|
2305
|
+
?replication_status: ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED"),
|
2306
|
+
?request_charged: ("requester"),
|
2307
|
+
?restore: ::String,
|
2308
|
+
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
2309
|
+
?sse_customer_algorithm: ::String,
|
2310
|
+
?ssekms_key_id: ::String,
|
2311
|
+
?sse_customer_key_md5: ::String,
|
2312
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
2313
|
+
?tag_count: ::Integer,
|
2314
|
+
?version_id: ::String,
|
2315
|
+
?bucket_key_enabled: bool
|
2316
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2317
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2318
|
+
|
2319
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#wait_until-instance_method
|
2320
|
+
def wait_until: (:bucket_exists waiter_name,
|
2321
|
+
bucket: ::String,
|
2322
|
+
?expected_bucket_owner: ::String
|
2323
|
+
) -> Client::_HeadBucketResponseSuccess
|
2324
|
+
| (:bucket_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_HeadBucketResponseSuccess
|
2325
|
+
| (:bucket_not_exists waiter_name,
|
2326
|
+
bucket: ::String,
|
2327
|
+
?expected_bucket_owner: ::String
|
2328
|
+
) -> Client::_HeadBucketResponseSuccess
|
2329
|
+
| (:bucket_not_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_HeadBucketResponseSuccess
|
2330
|
+
| (:object_exists waiter_name,
|
2331
|
+
bucket: ::String,
|
2332
|
+
?if_match: ::String,
|
2333
|
+
?if_modified_since: ::Time,
|
2334
|
+
?if_none_match: ::String,
|
2335
|
+
?if_unmodified_since: ::Time,
|
2336
|
+
key: ::String,
|
2337
|
+
?range: ::String,
|
2338
|
+
?response_cache_control: ::String,
|
2339
|
+
?response_content_disposition: ::String,
|
2340
|
+
?response_content_encoding: ::String,
|
2341
|
+
?response_content_language: ::String,
|
2342
|
+
?response_content_type: ::String,
|
2343
|
+
?response_expires: ::Time,
|
2344
|
+
?version_id: ::String,
|
2345
|
+
?sse_customer_algorithm: ::String,
|
2346
|
+
?sse_customer_key: ::String,
|
2347
|
+
?sse_customer_key_md5: ::String,
|
2348
|
+
?request_payer: ("requester"),
|
2349
|
+
?part_number: ::Integer,
|
2350
|
+
?expected_bucket_owner: ::String,
|
2351
|
+
?checksum_mode: ("ENABLED")
|
2352
|
+
) -> Client::_HeadObjectResponseSuccess
|
2353
|
+
| (:object_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_HeadObjectResponseSuccess
|
2354
|
+
| (:object_not_exists waiter_name,
|
2355
|
+
bucket: ::String,
|
2356
|
+
?if_match: ::String,
|
2357
|
+
?if_modified_since: ::Time,
|
2358
|
+
?if_none_match: ::String,
|
2359
|
+
?if_unmodified_since: ::Time,
|
2360
|
+
key: ::String,
|
2361
|
+
?range: ::String,
|
2362
|
+
?response_cache_control: ::String,
|
2363
|
+
?response_content_disposition: ::String,
|
2364
|
+
?response_content_encoding: ::String,
|
2365
|
+
?response_content_language: ::String,
|
2366
|
+
?response_content_type: ::String,
|
2367
|
+
?response_expires: ::Time,
|
2368
|
+
?version_id: ::String,
|
2369
|
+
?sse_customer_algorithm: ::String,
|
2370
|
+
?sse_customer_key: ::String,
|
2371
|
+
?sse_customer_key_md5: ::String,
|
2372
|
+
?request_payer: ("requester"),
|
2373
|
+
?part_number: ::Integer,
|
2374
|
+
?expected_bucket_owner: ::String,
|
2375
|
+
?checksum_mode: ("ENABLED")
|
2376
|
+
) -> Client::_HeadObjectResponseSuccess
|
2377
|
+
| (:object_not_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_HeadObjectResponseSuccess
|
2378
|
+
end
|
2379
|
+
end
|
2380
|
+
end
|
2381
|
+
|