aws-sdk-s3 1.136.0 → 1.176.1

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