aws-sdk-s3 1.45.0 → 1.143.0

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