aws-sdk-glacier 1.58.0 → 1.59.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,564 @@
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 Glacier
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?client_side_monitoring: bool,
22
+ ?client_side_monitoring_client_id: String,
23
+ ?client_side_monitoring_host: String,
24
+ ?client_side_monitoring_port: Integer,
25
+ ?client_side_monitoring_publisher: untyped,
26
+ ?convert_params: bool,
27
+ ?correct_clock_skew: bool,
28
+ ?defaults_mode: String,
29
+ ?disable_host_prefix_injection: bool,
30
+ ?disable_request_compression: bool,
31
+ ?endpoint: String,
32
+ ?endpoint_cache_max_entries: Integer,
33
+ ?endpoint_cache_max_threads: Integer,
34
+ ?endpoint_cache_poll_interval: Integer,
35
+ ?endpoint_discovery: bool,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?log_formatter: untyped,
38
+ ?log_level: Symbol,
39
+ ?logger: untyped,
40
+ ?max_attempts: Integer,
41
+ ?profile: String,
42
+ ?request_min_compression_size_bytes: Integer,
43
+ ?retry_backoff: Proc,
44
+ ?retry_base_delay: Float,
45
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
46
+ ?retry_limit: Integer,
47
+ ?retry_max_delay: Integer,
48
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
49
+ ?sdk_ua_app_id: String,
50
+ ?secret_access_key: String,
51
+ ?session_token: String,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#abort_multipart_upload-instance_method
77
+ def abort_multipart_upload: (
78
+ account_id: ::String,
79
+ vault_name: ::String,
80
+ upload_id: ::String
81
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
82
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
83
+
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#abort_vault_lock-instance_method
85
+ def abort_vault_lock: (
86
+ account_id: ::String,
87
+ vault_name: ::String
88
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
89
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
90
+
91
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#add_tags_to_vault-instance_method
92
+ def add_tags_to_vault: (
93
+ account_id: ::String,
94
+ vault_name: ::String,
95
+ ?tags: Hash[::String, ::String]
96
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
97
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
98
+
99
+ interface _CompleteMultipartUploadResponseSuccess
100
+ include ::Seahorse::Client::_ResponseSuccess[Types::ArchiveCreationOutput]
101
+ def location: () -> ::String
102
+ def checksum: () -> ::String
103
+ def archive_id: () -> ::String
104
+ end
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#complete_multipart_upload-instance_method
106
+ def complete_multipart_upload: (
107
+ account_id: ::String,
108
+ vault_name: ::String,
109
+ upload_id: ::String,
110
+ ?archive_size: ::Integer,
111
+ ?checksum: ::String
112
+ ) -> _CompleteMultipartUploadResponseSuccess
113
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CompleteMultipartUploadResponseSuccess
114
+
115
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#complete_vault_lock-instance_method
116
+ def complete_vault_lock: (
117
+ account_id: ::String,
118
+ vault_name: ::String,
119
+ lock_id: ::String
120
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
121
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
122
+
123
+ interface _CreateVaultResponseSuccess
124
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateVaultOutput]
125
+ def location: () -> ::String
126
+ end
127
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#create_vault-instance_method
128
+ def create_vault: (
129
+ account_id: ::String,
130
+ vault_name: ::String
131
+ ) -> _CreateVaultResponseSuccess
132
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVaultResponseSuccess
133
+
134
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#delete_archive-instance_method
135
+ def delete_archive: (
136
+ account_id: ::String,
137
+ vault_name: ::String,
138
+ archive_id: ::String
139
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
140
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
141
+
142
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#delete_vault-instance_method
143
+ def delete_vault: (
144
+ account_id: ::String,
145
+ vault_name: ::String
146
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
147
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
148
+
149
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#delete_vault_access_policy-instance_method
150
+ def delete_vault_access_policy: (
151
+ account_id: ::String,
152
+ vault_name: ::String
153
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
154
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
155
+
156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#delete_vault_notifications-instance_method
157
+ def delete_vault_notifications: (
158
+ account_id: ::String,
159
+ vault_name: ::String
160
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
161
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
162
+
163
+ interface _DescribeJobResponseSuccess
164
+ include ::Seahorse::Client::_ResponseSuccess[Types::GlacierJobDescription]
165
+ def job_id: () -> ::String
166
+ def job_description: () -> ::String
167
+ def action: () -> ("ArchiveRetrieval" | "InventoryRetrieval" | "Select")
168
+ def archive_id: () -> ::String
169
+ def vault_arn: () -> ::String
170
+ def creation_date: () -> ::Time
171
+ def completed: () -> bool
172
+ def status_code: () -> ("InProgress" | "Succeeded" | "Failed")
173
+ def status_message: () -> ::String
174
+ def archive_size_in_bytes: () -> ::Integer
175
+ def inventory_size_in_bytes: () -> ::Integer
176
+ def sns_topic: () -> ::String
177
+ def completion_date: () -> ::Time
178
+ def sha256_tree_hash: () -> ::String
179
+ def archive_sha256_tree_hash: () -> ::String
180
+ def retrieval_byte_range: () -> ::String
181
+ def tier: () -> ::String
182
+ def inventory_retrieval_parameters: () -> Types::InventoryRetrievalJobDescription
183
+ def job_output_path: () -> ::String
184
+ def select_parameters: () -> Types::SelectParameters
185
+ def output_location: () -> Types::OutputLocation
186
+ end
187
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#describe_job-instance_method
188
+ def describe_job: (
189
+ account_id: ::String,
190
+ vault_name: ::String,
191
+ job_id: ::String
192
+ ) -> _DescribeJobResponseSuccess
193
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeJobResponseSuccess
194
+
195
+ interface _DescribeVaultResponseSuccess
196
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVaultOutput]
197
+ def vault_arn: () -> ::String
198
+ def vault_name: () -> ::String
199
+ def creation_date: () -> ::Time
200
+ def last_inventory_date: () -> ::Time
201
+ def number_of_archives: () -> ::Integer
202
+ def size_in_bytes: () -> ::Integer
203
+ end
204
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#describe_vault-instance_method
205
+ def describe_vault: (
206
+ account_id: ::String,
207
+ vault_name: ::String
208
+ ) -> _DescribeVaultResponseSuccess
209
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVaultResponseSuccess
210
+
211
+ interface _GetDataRetrievalPolicyResponseSuccess
212
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDataRetrievalPolicyOutput]
213
+ def policy: () -> Types::DataRetrievalPolicy
214
+ end
215
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#get_data_retrieval_policy-instance_method
216
+ def get_data_retrieval_policy: (
217
+ account_id: ::String
218
+ ) -> _GetDataRetrievalPolicyResponseSuccess
219
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataRetrievalPolicyResponseSuccess
220
+
221
+ interface _GetJobOutputResponseSuccess
222
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJobOutputOutput]
223
+ def body: () -> ::IO
224
+ def checksum: () -> ::String
225
+ def status: () -> ::Integer
226
+ def content_range: () -> ::String
227
+ def accept_ranges: () -> ::String
228
+ def content_type: () -> ::String
229
+ def archive_description: () -> ::String
230
+ end
231
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#get_job_output-instance_method
232
+ def get_job_output: (
233
+ account_id: ::String,
234
+ vault_name: ::String,
235
+ job_id: ::String,
236
+ ?range: ::String
237
+ ) ?{ (*untyped) -> void } -> _GetJobOutputResponseSuccess
238
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetJobOutputResponseSuccess
239
+
240
+ interface _GetVaultAccessPolicyResponseSuccess
241
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetVaultAccessPolicyOutput]
242
+ def policy: () -> Types::VaultAccessPolicy
243
+ end
244
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#get_vault_access_policy-instance_method
245
+ def get_vault_access_policy: (
246
+ account_id: ::String,
247
+ vault_name: ::String
248
+ ) -> _GetVaultAccessPolicyResponseSuccess
249
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVaultAccessPolicyResponseSuccess
250
+
251
+ interface _GetVaultLockResponseSuccess
252
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetVaultLockOutput]
253
+ def policy: () -> ::String
254
+ def state: () -> ::String
255
+ def expiration_date: () -> ::Time
256
+ def creation_date: () -> ::Time
257
+ end
258
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#get_vault_lock-instance_method
259
+ def get_vault_lock: (
260
+ account_id: ::String,
261
+ vault_name: ::String
262
+ ) -> _GetVaultLockResponseSuccess
263
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVaultLockResponseSuccess
264
+
265
+ interface _GetVaultNotificationsResponseSuccess
266
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetVaultNotificationsOutput]
267
+ def vault_notification_config: () -> Types::VaultNotificationConfig
268
+ end
269
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#get_vault_notifications-instance_method
270
+ def get_vault_notifications: (
271
+ account_id: ::String,
272
+ vault_name: ::String
273
+ ) -> _GetVaultNotificationsResponseSuccess
274
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVaultNotificationsResponseSuccess
275
+
276
+ interface _InitiateJobResponseSuccess
277
+ include ::Seahorse::Client::_ResponseSuccess[Types::InitiateJobOutput]
278
+ def location: () -> ::String
279
+ def job_id: () -> ::String
280
+ def job_output_path: () -> ::String
281
+ end
282
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#initiate_job-instance_method
283
+ def initiate_job: (
284
+ account_id: ::String,
285
+ vault_name: ::String,
286
+ ?job_parameters: {
287
+ format: ::String?,
288
+ type: ::String?,
289
+ archive_id: ::String?,
290
+ description: ::String?,
291
+ sns_topic: ::String?,
292
+ retrieval_byte_range: ::String?,
293
+ tier: ::String?,
294
+ inventory_retrieval_parameters: {
295
+ start_date: ::Time?,
296
+ end_date: ::Time?,
297
+ limit: ::String?,
298
+ marker: ::String?
299
+ }?,
300
+ select_parameters: {
301
+ input_serialization: {
302
+ csv: {
303
+ file_header_info: ("USE" | "IGNORE" | "NONE")?,
304
+ comments: ::String?,
305
+ quote_escape_character: ::String?,
306
+ record_delimiter: ::String?,
307
+ field_delimiter: ::String?,
308
+ quote_character: ::String?
309
+ }?
310
+ }?,
311
+ expression_type: ("SQL")?,
312
+ expression: ::String?,
313
+ output_serialization: {
314
+ csv: {
315
+ quote_fields: ("ALWAYS" | "ASNEEDED")?,
316
+ quote_escape_character: ::String?,
317
+ record_delimiter: ::String?,
318
+ field_delimiter: ::String?,
319
+ quote_character: ::String?
320
+ }?
321
+ }?
322
+ }?,
323
+ output_location: {
324
+ s3: {
325
+ bucket_name: ::String?,
326
+ prefix: ::String?,
327
+ encryption: {
328
+ encryption_type: ("aws:kms" | "AES256")?,
329
+ kms_key_id: ::String?,
330
+ kms_context: ::String?
331
+ }?,
332
+ canned_acl: ("private" | "public-read" | "public-read-write" | "aws-exec-read" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control")?,
333
+ access_control_list: Array[
334
+ {
335
+ grantee: {
336
+ type: ("AmazonCustomerByEmail" | "CanonicalUser" | "Group"),
337
+ display_name: ::String?,
338
+ uri: ::String?,
339
+ id: ::String?,
340
+ email_address: ::String?
341
+ }?,
342
+ permission: ("FULL_CONTROL" | "WRITE" | "WRITE_ACP" | "READ" | "READ_ACP")?
343
+ },
344
+ ]?,
345
+ tagging: Hash[::String, ::String]?,
346
+ user_metadata: Hash[::String, ::String]?,
347
+ storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA")?
348
+ }?
349
+ }?
350
+ }
351
+ ) -> _InitiateJobResponseSuccess
352
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateJobResponseSuccess
353
+
354
+ interface _InitiateMultipartUploadResponseSuccess
355
+ include ::Seahorse::Client::_ResponseSuccess[Types::InitiateMultipartUploadOutput]
356
+ def location: () -> ::String
357
+ def upload_id: () -> ::String
358
+ end
359
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#initiate_multipart_upload-instance_method
360
+ def initiate_multipart_upload: (
361
+ account_id: ::String,
362
+ vault_name: ::String,
363
+ ?archive_description: ::String,
364
+ ?part_size: ::Integer
365
+ ) -> _InitiateMultipartUploadResponseSuccess
366
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateMultipartUploadResponseSuccess
367
+
368
+ interface _InitiateVaultLockResponseSuccess
369
+ include ::Seahorse::Client::_ResponseSuccess[Types::InitiateVaultLockOutput]
370
+ def lock_id: () -> ::String
371
+ end
372
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#initiate_vault_lock-instance_method
373
+ def initiate_vault_lock: (
374
+ account_id: ::String,
375
+ vault_name: ::String,
376
+ ?policy: {
377
+ policy: ::String?
378
+ }
379
+ ) -> _InitiateVaultLockResponseSuccess
380
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateVaultLockResponseSuccess
381
+
382
+ interface _ListJobsResponseSuccess
383
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListJobsOutput]
384
+ def job_list: () -> ::Array[Types::GlacierJobDescription]
385
+ def marker: () -> ::String
386
+ end
387
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#list_jobs-instance_method
388
+ def list_jobs: (
389
+ account_id: ::String,
390
+ vault_name: ::String,
391
+ ?limit: ::Integer,
392
+ ?marker: ::String,
393
+ ?statuscode: ::String,
394
+ ?completed: ::String
395
+ ) -> _ListJobsResponseSuccess
396
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJobsResponseSuccess
397
+
398
+ interface _ListMultipartUploadsResponseSuccess
399
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMultipartUploadsOutput]
400
+ def uploads_list: () -> ::Array[Types::UploadListElement]
401
+ def marker: () -> ::String
402
+ end
403
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#list_multipart_uploads-instance_method
404
+ def list_multipart_uploads: (
405
+ account_id: ::String,
406
+ vault_name: ::String,
407
+ ?marker: ::String,
408
+ ?limit: ::Integer
409
+ ) -> _ListMultipartUploadsResponseSuccess
410
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMultipartUploadsResponseSuccess
411
+
412
+ interface _ListPartsResponseSuccess
413
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPartsOutput]
414
+ def multipart_upload_id: () -> ::String
415
+ def vault_arn: () -> ::String
416
+ def archive_description: () -> ::String
417
+ def part_size_in_bytes: () -> ::Integer
418
+ def creation_date: () -> ::Time
419
+ def parts: () -> ::Array[Types::PartListElement]
420
+ def marker: () -> ::String
421
+ end
422
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#list_parts-instance_method
423
+ def list_parts: (
424
+ account_id: ::String,
425
+ vault_name: ::String,
426
+ upload_id: ::String,
427
+ ?marker: ::String,
428
+ ?limit: ::Integer
429
+ ) -> _ListPartsResponseSuccess
430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPartsResponseSuccess
431
+
432
+ interface _ListProvisionedCapacityResponseSuccess
433
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProvisionedCapacityOutput]
434
+ def provisioned_capacity_list: () -> ::Array[Types::ProvisionedCapacityDescription]
435
+ end
436
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#list_provisioned_capacity-instance_method
437
+ def list_provisioned_capacity: (
438
+ account_id: ::String
439
+ ) -> _ListProvisionedCapacityResponseSuccess
440
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProvisionedCapacityResponseSuccess
441
+
442
+ interface _ListTagsForVaultResponseSuccess
443
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForVaultOutput]
444
+ def tags: () -> ::Hash[::String, ::String]
445
+ end
446
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#list_tags_for_vault-instance_method
447
+ def list_tags_for_vault: (
448
+ account_id: ::String,
449
+ vault_name: ::String
450
+ ) -> _ListTagsForVaultResponseSuccess
451
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForVaultResponseSuccess
452
+
453
+ interface _ListVaultsResponseSuccess
454
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListVaultsOutput]
455
+ def vault_list: () -> ::Array[Types::DescribeVaultOutput]
456
+ def marker: () -> ::String
457
+ end
458
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#list_vaults-instance_method
459
+ def list_vaults: (
460
+ account_id: ::String,
461
+ ?marker: ::String,
462
+ ?limit: ::Integer
463
+ ) -> _ListVaultsResponseSuccess
464
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVaultsResponseSuccess
465
+
466
+ interface _PurchaseProvisionedCapacityResponseSuccess
467
+ include ::Seahorse::Client::_ResponseSuccess[Types::PurchaseProvisionedCapacityOutput]
468
+ def capacity_id: () -> ::String
469
+ end
470
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#purchase_provisioned_capacity-instance_method
471
+ def purchase_provisioned_capacity: (
472
+ account_id: ::String
473
+ ) -> _PurchaseProvisionedCapacityResponseSuccess
474
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PurchaseProvisionedCapacityResponseSuccess
475
+
476
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#remove_tags_from_vault-instance_method
477
+ def remove_tags_from_vault: (
478
+ account_id: ::String,
479
+ vault_name: ::String,
480
+ ?tag_keys: Array[::String]
481
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
482
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
483
+
484
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#set_data_retrieval_policy-instance_method
485
+ def set_data_retrieval_policy: (
486
+ account_id: ::String,
487
+ ?policy: {
488
+ rules: Array[
489
+ {
490
+ strategy: ::String?,
491
+ bytes_per_hour: ::Integer?
492
+ },
493
+ ]?
494
+ }
495
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
496
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
497
+
498
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#set_vault_access_policy-instance_method
499
+ def set_vault_access_policy: (
500
+ account_id: ::String,
501
+ vault_name: ::String,
502
+ ?policy: {
503
+ policy: ::String?
504
+ }
505
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
506
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
507
+
508
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#set_vault_notifications-instance_method
509
+ def set_vault_notifications: (
510
+ account_id: ::String,
511
+ vault_name: ::String,
512
+ ?vault_notification_config: {
513
+ sns_topic: ::String?,
514
+ events: Array[::String]?
515
+ }
516
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
517
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
518
+
519
+ interface _UploadArchiveResponseSuccess
520
+ include ::Seahorse::Client::_ResponseSuccess[Types::ArchiveCreationOutput]
521
+ def location: () -> ::String
522
+ def checksum: () -> ::String
523
+ def archive_id: () -> ::String
524
+ end
525
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#upload_archive-instance_method
526
+ def upload_archive: (
527
+ vault_name: ::String,
528
+ account_id: ::String,
529
+ ?archive_description: ::String,
530
+ ?checksum: ::String,
531
+ ?body: ::String
532
+ ) -> _UploadArchiveResponseSuccess
533
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UploadArchiveResponseSuccess
534
+
535
+ interface _UploadMultipartPartResponseSuccess
536
+ include ::Seahorse::Client::_ResponseSuccess[Types::UploadMultipartPartOutput]
537
+ def checksum: () -> ::String
538
+ end
539
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#upload_multipart_part-instance_method
540
+ def upload_multipart_part: (
541
+ account_id: ::String,
542
+ vault_name: ::String,
543
+ upload_id: ::String,
544
+ ?checksum: ::String,
545
+ ?range: ::String,
546
+ ?body: ::String
547
+ ) -> _UploadMultipartPartResponseSuccess
548
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UploadMultipartPartResponseSuccess
549
+
550
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Client.html#wait_until-instance_method
551
+ def wait_until: (:vault_exists waiter_name,
552
+ account_id: ::String,
553
+ vault_name: ::String
554
+ ) -> Client::_DescribeVaultResponseSuccess
555
+ | (:vault_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeVaultResponseSuccess
556
+ | (:vault_not_exists waiter_name,
557
+ account_id: ::String,
558
+ vault_name: ::String
559
+ ) -> Client::_DescribeVaultResponseSuccess
560
+ | (:vault_not_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeVaultResponseSuccess
561
+ end
562
+ end
563
+ end
564
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,56 @@
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 Glacier
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class InsufficientCapacityException < ::Aws::Errors::ServiceError
15
+ def type: () -> ::String
16
+ def code: () -> ::String
17
+ def message: () -> ::String
18
+ end
19
+ class InvalidParameterValueException < ::Aws::Errors::ServiceError
20
+ def type: () -> ::String
21
+ def code: () -> ::String
22
+ def message: () -> ::String
23
+ end
24
+ class LimitExceededException < ::Aws::Errors::ServiceError
25
+ def type: () -> ::String
26
+ def code: () -> ::String
27
+ def message: () -> ::String
28
+ end
29
+ class MissingParameterValueException < ::Aws::Errors::ServiceError
30
+ def type: () -> ::String
31
+ def code: () -> ::String
32
+ def message: () -> ::String
33
+ end
34
+ class PolicyEnforcedException < ::Aws::Errors::ServiceError
35
+ def type: () -> ::String
36
+ def code: () -> ::String
37
+ def message: () -> ::String
38
+ end
39
+ class RequestTimeoutException < ::Aws::Errors::ServiceError
40
+ def type: () -> ::String
41
+ def code: () -> ::String
42
+ def message: () -> ::String
43
+ end
44
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
45
+ def type: () -> ::String
46
+ def code: () -> ::String
47
+ def message: () -> ::String
48
+ end
49
+ class ServiceUnavailableException < ::Aws::Errors::ServiceError
50
+ def type: () -> ::String
51
+ def code: () -> ::String
52
+ def message: () -> ::String
53
+ end
54
+ end
55
+ end
56
+ end