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