aws-sdk-s3 1.103.0 → 1.202.0

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