aws-sdk-s3 1.136.0 → 1.208.0

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