aws-sdk-s3 1.48.0 → 1.169.0

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