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