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