aws-sdk-glacier 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-glacier.rb +2 -2
- data/lib/aws-sdk-glacier/account.rb +116 -118
- data/lib/aws-sdk-glacier/archive.rb +148 -150
- data/lib/aws-sdk-glacier/client.rb +2657 -2425
- data/lib/aws-sdk-glacier/client_api.rb +896 -898
- data/lib/aws-sdk-glacier/errors.rb +4 -13
- data/lib/aws-sdk-glacier/job.rb +300 -302
- data/lib/aws-sdk-glacier/multipart_upload.rb +228 -230
- data/lib/aws-sdk-glacier/notification.rb +151 -153
- data/lib/aws-sdk-glacier/resource.rb +61 -63
- data/lib/aws-sdk-glacier/types.rb +2207 -2045
- data/lib/aws-sdk-glacier/vault.rb +454 -456
- data/lib/aws-sdk-glacier/waiters.rb +76 -77
- metadata +2 -2
@@ -1,908 +1,906 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
VaultList.member = Shapes::ShapeRef.new(shape: DescribeVaultOutput)
|
462
|
-
|
463
|
-
VaultLockPolicy.add_member(:policy, Shapes::ShapeRef.new(shape: string, location_name: "Policy"))
|
464
|
-
VaultLockPolicy.struct_class = Types::VaultLockPolicy
|
465
|
-
|
466
|
-
VaultNotificationConfig.add_member(:sns_topic, Shapes::ShapeRef.new(shape: string, location_name: "SNSTopic"))
|
467
|
-
VaultNotificationConfig.add_member(:events, Shapes::ShapeRef.new(shape: NotificationEventList, location_name: "Events"))
|
468
|
-
VaultNotificationConfig.struct_class = Types::VaultNotificationConfig
|
469
|
-
|
470
|
-
|
471
|
-
# @api private
|
472
|
-
API = Seahorse::Model::Api.new.tap do |api|
|
473
|
-
|
474
|
-
api.version = "2012-06-01"
|
475
|
-
|
476
|
-
api.metadata = {
|
477
|
-
"endpointPrefix" => "glacier",
|
478
|
-
"protocol" => "rest-json",
|
479
|
-
"serviceFullName" => "Amazon Glacier",
|
480
|
-
"signatureVersion" => "v4",
|
481
|
-
}
|
482
|
-
|
483
|
-
api.add_operation(:abort_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
|
484
|
-
o.name = "AbortMultipartUpload"
|
485
|
-
o.http_method = "DELETE"
|
486
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
|
487
|
-
o.input = Shapes::ShapeRef.new(shape: AbortMultipartUploadInput)
|
488
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
489
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
490
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
491
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
492
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
493
|
-
end)
|
494
|
-
|
495
|
-
api.add_operation(:abort_vault_lock, Seahorse::Model::Operation.new.tap do |o|
|
496
|
-
o.name = "AbortVaultLock"
|
497
|
-
o.http_method = "DELETE"
|
498
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy"
|
499
|
-
o.input = Shapes::ShapeRef.new(shape: AbortVaultLockInput)
|
500
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
501
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
502
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
503
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
504
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
505
|
-
end)
|
506
|
-
|
507
|
-
api.add_operation(:add_tags_to_vault, Seahorse::Model::Operation.new.tap do |o|
|
508
|
-
o.name = "AddTagsToVault"
|
509
|
-
o.http_method = "POST"
|
510
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/tags?operation=add"
|
511
|
-
o.input = Shapes::ShapeRef.new(shape: AddTagsToVaultInput)
|
512
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
513
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
514
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
515
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
516
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
517
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
518
|
-
end)
|
519
|
-
|
520
|
-
api.add_operation(:complete_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
|
521
|
-
o.name = "CompleteMultipartUpload"
|
522
|
-
o.http_method = "POST"
|
523
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
|
524
|
-
o.input = Shapes::ShapeRef.new(shape: CompleteMultipartUploadInput)
|
525
|
-
o.output = Shapes::ShapeRef.new(shape: ArchiveCreationOutput)
|
526
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
527
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
528
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
529
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
530
|
-
end)
|
531
|
-
|
532
|
-
api.add_operation(:complete_vault_lock, Seahorse::Model::Operation.new.tap do |o|
|
533
|
-
o.name = "CompleteVaultLock"
|
534
|
-
o.http_method = "POST"
|
535
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy/{lockId}"
|
536
|
-
o.input = Shapes::ShapeRef.new(shape: CompleteVaultLockInput)
|
537
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
538
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
539
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
540
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
541
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
542
|
-
end)
|
543
|
-
|
544
|
-
api.add_operation(:create_vault, Seahorse::Model::Operation.new.tap do |o|
|
545
|
-
o.name = "CreateVault"
|
546
|
-
o.http_method = "PUT"
|
547
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}"
|
548
|
-
o.input = Shapes::ShapeRef.new(shape: CreateVaultInput)
|
549
|
-
o.output = Shapes::ShapeRef.new(shape: CreateVaultOutput)
|
550
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
551
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
552
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
553
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
554
|
-
end)
|
555
|
-
|
556
|
-
api.add_operation(:delete_archive, Seahorse::Model::Operation.new.tap do |o|
|
557
|
-
o.name = "DeleteArchive"
|
558
|
-
o.http_method = "DELETE"
|
559
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/archives/{archiveId}"
|
560
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteArchiveInput)
|
561
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
562
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
563
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
564
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
565
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
566
|
-
end)
|
567
|
-
|
568
|
-
api.add_operation(:delete_vault, Seahorse::Model::Operation.new.tap do |o|
|
569
|
-
o.name = "DeleteVault"
|
570
|
-
o.http_method = "DELETE"
|
571
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}"
|
572
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteVaultInput)
|
573
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
574
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
575
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
576
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
577
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
578
|
-
end)
|
579
|
-
|
580
|
-
api.add_operation(:delete_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
581
|
-
o.name = "DeleteVaultAccessPolicy"
|
582
|
-
o.http_method = "DELETE"
|
583
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/access-policy"
|
584
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteVaultAccessPolicyInput)
|
585
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
586
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
587
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
588
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
589
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
590
|
-
end)
|
591
|
-
|
592
|
-
api.add_operation(:delete_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
593
|
-
o.name = "DeleteVaultNotifications"
|
594
|
-
o.http_method = "DELETE"
|
595
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/notification-configuration"
|
596
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteVaultNotificationsInput)
|
597
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
598
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
599
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
600
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
601
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
602
|
-
end)
|
603
|
-
|
604
|
-
api.add_operation(:describe_job, Seahorse::Model::Operation.new.tap do |o|
|
605
|
-
o.name = "DescribeJob"
|
606
|
-
o.http_method = "GET"
|
607
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs/{jobId}"
|
608
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeJobInput)
|
609
|
-
o.output = Shapes::ShapeRef.new(shape: GlacierJobDescription)
|
610
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
611
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
612
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
613
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
614
|
-
end)
|
615
|
-
|
616
|
-
api.add_operation(:describe_vault, Seahorse::Model::Operation.new.tap do |o|
|
617
|
-
o.name = "DescribeVault"
|
618
|
-
o.http_method = "GET"
|
619
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}"
|
620
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeVaultInput)
|
621
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeVaultOutput)
|
622
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
623
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
624
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
625
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
626
|
-
end)
|
627
|
-
|
628
|
-
api.add_operation(:get_data_retrieval_policy, Seahorse::Model::Operation.new.tap do |o|
|
629
|
-
o.name = "GetDataRetrievalPolicy"
|
630
|
-
o.http_method = "GET"
|
631
|
-
o.http_request_uri = "/{accountId}/policies/data-retrieval"
|
632
|
-
o.input = Shapes::ShapeRef.new(shape: GetDataRetrievalPolicyInput)
|
633
|
-
o.output = Shapes::ShapeRef.new(shape: GetDataRetrievalPolicyOutput)
|
634
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
635
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
636
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
637
|
-
end)
|
638
|
-
|
639
|
-
api.add_operation(:get_job_output, Seahorse::Model::Operation.new.tap do |o|
|
640
|
-
o.name = "GetJobOutput"
|
641
|
-
o.http_method = "GET"
|
642
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output"
|
643
|
-
o.input = Shapes::ShapeRef.new(shape: GetJobOutputInput)
|
644
|
-
o.output = Shapes::ShapeRef.new(shape: GetJobOutputOutput)
|
645
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
646
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
647
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
648
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
649
|
-
end)
|
650
|
-
|
651
|
-
api.add_operation(:get_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
652
|
-
o.name = "GetVaultAccessPolicy"
|
653
|
-
o.http_method = "GET"
|
654
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/access-policy"
|
655
|
-
o.input = Shapes::ShapeRef.new(shape: GetVaultAccessPolicyInput)
|
656
|
-
o.output = Shapes::ShapeRef.new(shape: GetVaultAccessPolicyOutput)
|
657
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
658
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
659
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
660
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
661
|
-
end)
|
662
|
-
|
663
|
-
api.add_operation(:get_vault_lock, Seahorse::Model::Operation.new.tap do |o|
|
664
|
-
o.name = "GetVaultLock"
|
665
|
-
o.http_method = "GET"
|
666
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy"
|
667
|
-
o.input = Shapes::ShapeRef.new(shape: GetVaultLockInput)
|
668
|
-
o.output = Shapes::ShapeRef.new(shape: GetVaultLockOutput)
|
669
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
670
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
671
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
672
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
673
|
-
end)
|
674
|
-
|
675
|
-
api.add_operation(:get_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
676
|
-
o.name = "GetVaultNotifications"
|
677
|
-
o.http_method = "GET"
|
678
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/notification-configuration"
|
679
|
-
o.input = Shapes::ShapeRef.new(shape: GetVaultNotificationsInput)
|
680
|
-
o.output = Shapes::ShapeRef.new(shape: GetVaultNotificationsOutput)
|
681
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
682
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
683
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
684
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
685
|
-
end)
|
686
|
-
|
687
|
-
api.add_operation(:initiate_job, Seahorse::Model::Operation.new.tap do |o|
|
688
|
-
o.name = "InitiateJob"
|
689
|
-
o.http_method = "POST"
|
690
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs"
|
691
|
-
o.input = Shapes::ShapeRef.new(shape: InitiateJobInput)
|
692
|
-
o.output = Shapes::ShapeRef.new(shape: InitiateJobOutput)
|
693
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
694
|
-
o.errors << Shapes::ShapeRef.new(shape: PolicyEnforcedException)
|
695
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
696
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
697
|
-
o.errors << Shapes::ShapeRef.new(shape: InsufficientCapacityException)
|
698
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
699
|
-
end)
|
700
|
-
|
701
|
-
api.add_operation(:initiate_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
|
702
|
-
o.name = "InitiateMultipartUpload"
|
703
|
-
o.http_method = "POST"
|
704
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads"
|
705
|
-
o.input = Shapes::ShapeRef.new(shape: InitiateMultipartUploadInput)
|
706
|
-
o.output = Shapes::ShapeRef.new(shape: InitiateMultipartUploadOutput)
|
707
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
708
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
709
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
710
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
711
|
-
end)
|
712
|
-
|
713
|
-
api.add_operation(:initiate_vault_lock, Seahorse::Model::Operation.new.tap do |o|
|
714
|
-
o.name = "InitiateVaultLock"
|
715
|
-
o.http_method = "POST"
|
716
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy"
|
717
|
-
o.input = Shapes::ShapeRef.new(shape: InitiateVaultLockInput)
|
718
|
-
o.output = Shapes::ShapeRef.new(shape: InitiateVaultLockOutput)
|
719
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
720
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
721
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
722
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
723
|
-
end)
|
724
|
-
|
725
|
-
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
726
|
-
o.name = "ListJobs"
|
727
|
-
o.http_method = "GET"
|
728
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs"
|
729
|
-
o.input = Shapes::ShapeRef.new(shape: ListJobsInput)
|
730
|
-
o.output = Shapes::ShapeRef.new(shape: ListJobsOutput)
|
731
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
732
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
733
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
734
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
735
|
-
o[:pager] = Aws::Pager.new(
|
736
|
-
limit_key: "limit",
|
737
|
-
tokens: {
|
738
|
-
"marker" => "marker"
|
739
|
-
}
|
740
|
-
)
|
741
|
-
end)
|
742
|
-
|
743
|
-
api.add_operation(:list_multipart_uploads, Seahorse::Model::Operation.new.tap do |o|
|
744
|
-
o.name = "ListMultipartUploads"
|
745
|
-
o.http_method = "GET"
|
746
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads"
|
747
|
-
o.input = Shapes::ShapeRef.new(shape: ListMultipartUploadsInput)
|
748
|
-
o.output = Shapes::ShapeRef.new(shape: ListMultipartUploadsOutput)
|
749
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
750
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
751
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
752
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
753
|
-
o[:pager] = Aws::Pager.new(
|
754
|
-
limit_key: "limit",
|
755
|
-
tokens: {
|
756
|
-
"marker" => "marker"
|
757
|
-
}
|
758
|
-
)
|
759
|
-
end)
|
760
|
-
|
761
|
-
api.add_operation(:list_parts, Seahorse::Model::Operation.new.tap do |o|
|
762
|
-
o.name = "ListParts"
|
763
|
-
o.http_method = "GET"
|
764
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
|
765
|
-
o.input = Shapes::ShapeRef.new(shape: ListPartsInput)
|
766
|
-
o.output = Shapes::ShapeRef.new(shape: ListPartsOutput)
|
767
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
768
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
769
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
770
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
771
|
-
o[:pager] = Aws::Pager.new(
|
772
|
-
limit_key: "limit",
|
773
|
-
tokens: {
|
774
|
-
"marker" => "marker"
|
775
|
-
}
|
776
|
-
)
|
777
|
-
end)
|
778
|
-
|
779
|
-
api.add_operation(:list_provisioned_capacity, Seahorse::Model::Operation.new.tap do |o|
|
780
|
-
o.name = "ListProvisionedCapacity"
|
781
|
-
o.http_method = "GET"
|
782
|
-
o.http_request_uri = "/{accountId}/provisioned-capacity"
|
783
|
-
o.input = Shapes::ShapeRef.new(shape: ListProvisionedCapacityInput)
|
784
|
-
o.output = Shapes::ShapeRef.new(shape: ListProvisionedCapacityOutput)
|
785
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
786
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
787
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
788
|
-
end)
|
789
|
-
|
790
|
-
api.add_operation(:list_tags_for_vault, Seahorse::Model::Operation.new.tap do |o|
|
791
|
-
o.name = "ListTagsForVault"
|
792
|
-
o.http_method = "GET"
|
793
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/tags"
|
794
|
-
o.input = Shapes::ShapeRef.new(shape: ListTagsForVaultInput)
|
795
|
-
o.output = Shapes::ShapeRef.new(shape: ListTagsForVaultOutput)
|
796
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
797
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
798
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
799
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
800
|
-
end)
|
801
|
-
|
802
|
-
api.add_operation(:list_vaults, Seahorse::Model::Operation.new.tap do |o|
|
803
|
-
o.name = "ListVaults"
|
804
|
-
o.http_method = "GET"
|
805
|
-
o.http_request_uri = "/{accountId}/vaults"
|
806
|
-
o.input = Shapes::ShapeRef.new(shape: ListVaultsInput)
|
807
|
-
o.output = Shapes::ShapeRef.new(shape: ListVaultsOutput)
|
808
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
809
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
810
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
811
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
812
|
-
o[:pager] = Aws::Pager.new(
|
813
|
-
limit_key: "limit",
|
814
|
-
tokens: {
|
815
|
-
"marker" => "marker"
|
816
|
-
}
|
817
|
-
)
|
818
|
-
end)
|
819
|
-
|
820
|
-
api.add_operation(:purchase_provisioned_capacity, Seahorse::Model::Operation.new.tap do |o|
|
821
|
-
o.name = "PurchaseProvisionedCapacity"
|
822
|
-
o.http_method = "POST"
|
823
|
-
o.http_request_uri = "/{accountId}/provisioned-capacity"
|
824
|
-
o.input = Shapes::ShapeRef.new(shape: PurchaseProvisionedCapacityInput)
|
825
|
-
o.output = Shapes::ShapeRef.new(shape: PurchaseProvisionedCapacityOutput)
|
826
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
827
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
828
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
829
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
830
|
-
end)
|
831
|
-
|
832
|
-
api.add_operation(:remove_tags_from_vault, Seahorse::Model::Operation.new.tap do |o|
|
833
|
-
o.name = "RemoveTagsFromVault"
|
834
|
-
o.http_method = "POST"
|
835
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/tags?operation=remove"
|
836
|
-
o.input = Shapes::ShapeRef.new(shape: RemoveTagsFromVaultInput)
|
837
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
838
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
839
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
840
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
841
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
842
|
-
end)
|
843
|
-
|
844
|
-
api.add_operation(:set_data_retrieval_policy, Seahorse::Model::Operation.new.tap do |o|
|
845
|
-
o.name = "SetDataRetrievalPolicy"
|
846
|
-
o.http_method = "PUT"
|
847
|
-
o.http_request_uri = "/{accountId}/policies/data-retrieval"
|
848
|
-
o.input = Shapes::ShapeRef.new(shape: SetDataRetrievalPolicyInput)
|
849
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
850
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
851
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
852
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
853
|
-
end)
|
854
|
-
|
855
|
-
api.add_operation(:set_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
856
|
-
o.name = "SetVaultAccessPolicy"
|
857
|
-
o.http_method = "PUT"
|
858
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/access-policy"
|
859
|
-
o.input = Shapes::ShapeRef.new(shape: SetVaultAccessPolicyInput)
|
860
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
861
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
862
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
863
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
864
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
865
|
-
end)
|
866
|
-
|
867
|
-
api.add_operation(:set_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
868
|
-
o.name = "SetVaultNotifications"
|
869
|
-
o.http_method = "PUT"
|
870
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/notification-configuration"
|
871
|
-
o.input = Shapes::ShapeRef.new(shape: SetVaultNotificationsInput)
|
872
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
873
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
874
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
875
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
876
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
877
|
-
end)
|
878
|
-
|
879
|
-
api.add_operation(:upload_archive, Seahorse::Model::Operation.new.tap do |o|
|
880
|
-
o.name = "UploadArchive"
|
881
|
-
o.http_method = "POST"
|
882
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/archives"
|
883
|
-
o.input = Shapes::ShapeRef.new(shape: UploadArchiveInput)
|
884
|
-
o.output = Shapes::ShapeRef.new(shape: ArchiveCreationOutput)
|
885
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
886
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
887
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
888
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
889
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
890
|
-
end)
|
891
|
-
|
892
|
-
api.add_operation(:upload_multipart_part, Seahorse::Model::Operation.new.tap do |o|
|
893
|
-
o.name = "UploadMultipartPart"
|
894
|
-
o.http_method = "PUT"
|
895
|
-
o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
|
896
|
-
o.input = Shapes::ShapeRef.new(shape: UploadMultipartPartInput)
|
897
|
-
o.output = Shapes::ShapeRef.new(shape: UploadMultipartPartOutput)
|
898
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
899
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
900
|
-
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
901
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
902
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
903
|
-
end)
|
904
|
-
end
|
8
|
+
module Aws::Glacier
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AbortMultipartUploadInput = Shapes::StructureShape.new(name: 'AbortMultipartUploadInput')
|
15
|
+
AbortVaultLockInput = Shapes::StructureShape.new(name: 'AbortVaultLockInput')
|
16
|
+
ActionCode = Shapes::StringShape.new(name: 'ActionCode')
|
17
|
+
AddTagsToVaultInput = Shapes::StructureShape.new(name: 'AddTagsToVaultInput')
|
18
|
+
ArchiveCreationOutput = Shapes::StructureShape.new(name: 'ArchiveCreationOutput')
|
19
|
+
CompleteMultipartUploadInput = Shapes::StructureShape.new(name: 'CompleteMultipartUploadInput')
|
20
|
+
CompleteVaultLockInput = Shapes::StructureShape.new(name: 'CompleteVaultLockInput')
|
21
|
+
CreateVaultInput = Shapes::StructureShape.new(name: 'CreateVaultInput')
|
22
|
+
CreateVaultOutput = Shapes::StructureShape.new(name: 'CreateVaultOutput')
|
23
|
+
DataRetrievalPolicy = Shapes::StructureShape.new(name: 'DataRetrievalPolicy')
|
24
|
+
DataRetrievalRule = Shapes::StructureShape.new(name: 'DataRetrievalRule')
|
25
|
+
DataRetrievalRulesList = Shapes::ListShape.new(name: 'DataRetrievalRulesList')
|
26
|
+
DateTime = Shapes::StringShape.new(name: 'DateTime')
|
27
|
+
DeleteArchiveInput = Shapes::StructureShape.new(name: 'DeleteArchiveInput')
|
28
|
+
DeleteVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'DeleteVaultAccessPolicyInput')
|
29
|
+
DeleteVaultInput = Shapes::StructureShape.new(name: 'DeleteVaultInput')
|
30
|
+
DeleteVaultNotificationsInput = Shapes::StructureShape.new(name: 'DeleteVaultNotificationsInput')
|
31
|
+
DescribeJobInput = Shapes::StructureShape.new(name: 'DescribeJobInput')
|
32
|
+
DescribeVaultInput = Shapes::StructureShape.new(name: 'DescribeVaultInput')
|
33
|
+
DescribeVaultOutput = Shapes::StructureShape.new(name: 'DescribeVaultOutput')
|
34
|
+
GetDataRetrievalPolicyInput = Shapes::StructureShape.new(name: 'GetDataRetrievalPolicyInput')
|
35
|
+
GetDataRetrievalPolicyOutput = Shapes::StructureShape.new(name: 'GetDataRetrievalPolicyOutput')
|
36
|
+
GetJobOutputInput = Shapes::StructureShape.new(name: 'GetJobOutputInput')
|
37
|
+
GetJobOutputOutput = Shapes::StructureShape.new(name: 'GetJobOutputOutput')
|
38
|
+
GetVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'GetVaultAccessPolicyInput')
|
39
|
+
GetVaultAccessPolicyOutput = Shapes::StructureShape.new(name: 'GetVaultAccessPolicyOutput')
|
40
|
+
GetVaultLockInput = Shapes::StructureShape.new(name: 'GetVaultLockInput')
|
41
|
+
GetVaultLockOutput = Shapes::StructureShape.new(name: 'GetVaultLockOutput')
|
42
|
+
GetVaultNotificationsInput = Shapes::StructureShape.new(name: 'GetVaultNotificationsInput')
|
43
|
+
GetVaultNotificationsOutput = Shapes::StructureShape.new(name: 'GetVaultNotificationsOutput')
|
44
|
+
GlacierJobDescription = Shapes::StructureShape.new(name: 'GlacierJobDescription')
|
45
|
+
InitiateJobInput = Shapes::StructureShape.new(name: 'InitiateJobInput')
|
46
|
+
InitiateJobOutput = Shapes::StructureShape.new(name: 'InitiateJobOutput')
|
47
|
+
InitiateMultipartUploadInput = Shapes::StructureShape.new(name: 'InitiateMultipartUploadInput')
|
48
|
+
InitiateMultipartUploadOutput = Shapes::StructureShape.new(name: 'InitiateMultipartUploadOutput')
|
49
|
+
InitiateVaultLockInput = Shapes::StructureShape.new(name: 'InitiateVaultLockInput')
|
50
|
+
InitiateVaultLockOutput = Shapes::StructureShape.new(name: 'InitiateVaultLockOutput')
|
51
|
+
InsufficientCapacityException = Shapes::StructureShape.new(name: 'InsufficientCapacityException')
|
52
|
+
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
53
|
+
InventoryRetrievalJobDescription = Shapes::StructureShape.new(name: 'InventoryRetrievalJobDescription')
|
54
|
+
InventoryRetrievalJobInput = Shapes::StructureShape.new(name: 'InventoryRetrievalJobInput')
|
55
|
+
JobList = Shapes::ListShape.new(name: 'JobList')
|
56
|
+
JobParameters = Shapes::StructureShape.new(name: 'JobParameters')
|
57
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
58
|
+
ListJobsInput = Shapes::StructureShape.new(name: 'ListJobsInput')
|
59
|
+
ListJobsOutput = Shapes::StructureShape.new(name: 'ListJobsOutput')
|
60
|
+
ListMultipartUploadsInput = Shapes::StructureShape.new(name: 'ListMultipartUploadsInput')
|
61
|
+
ListMultipartUploadsOutput = Shapes::StructureShape.new(name: 'ListMultipartUploadsOutput')
|
62
|
+
ListPartsInput = Shapes::StructureShape.new(name: 'ListPartsInput')
|
63
|
+
ListPartsOutput = Shapes::StructureShape.new(name: 'ListPartsOutput')
|
64
|
+
ListProvisionedCapacityInput = Shapes::StructureShape.new(name: 'ListProvisionedCapacityInput')
|
65
|
+
ListProvisionedCapacityOutput = Shapes::StructureShape.new(name: 'ListProvisionedCapacityOutput')
|
66
|
+
ListTagsForVaultInput = Shapes::StructureShape.new(name: 'ListTagsForVaultInput')
|
67
|
+
ListTagsForVaultOutput = Shapes::StructureShape.new(name: 'ListTagsForVaultOutput')
|
68
|
+
ListVaultsInput = Shapes::StructureShape.new(name: 'ListVaultsInput')
|
69
|
+
ListVaultsOutput = Shapes::StructureShape.new(name: 'ListVaultsOutput')
|
70
|
+
MissingParameterValueException = Shapes::StructureShape.new(name: 'MissingParameterValueException')
|
71
|
+
NotificationEventList = Shapes::ListShape.new(name: 'NotificationEventList')
|
72
|
+
NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
|
73
|
+
PartList = Shapes::ListShape.new(name: 'PartList')
|
74
|
+
PartListElement = Shapes::StructureShape.new(name: 'PartListElement')
|
75
|
+
PolicyEnforcedException = Shapes::StructureShape.new(name: 'PolicyEnforcedException')
|
76
|
+
ProvisionedCapacityDescription = Shapes::StructureShape.new(name: 'ProvisionedCapacityDescription')
|
77
|
+
ProvisionedCapacityList = Shapes::ListShape.new(name: 'ProvisionedCapacityList')
|
78
|
+
PurchaseProvisionedCapacityInput = Shapes::StructureShape.new(name: 'PurchaseProvisionedCapacityInput')
|
79
|
+
PurchaseProvisionedCapacityOutput = Shapes::StructureShape.new(name: 'PurchaseProvisionedCapacityOutput')
|
80
|
+
RemoveTagsFromVaultInput = Shapes::StructureShape.new(name: 'RemoveTagsFromVaultInput')
|
81
|
+
RequestTimeoutException = Shapes::StructureShape.new(name: 'RequestTimeoutException')
|
82
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
83
|
+
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
84
|
+
SetDataRetrievalPolicyInput = Shapes::StructureShape.new(name: 'SetDataRetrievalPolicyInput')
|
85
|
+
SetVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'SetVaultAccessPolicyInput')
|
86
|
+
SetVaultNotificationsInput = Shapes::StructureShape.new(name: 'SetVaultNotificationsInput')
|
87
|
+
Size = Shapes::IntegerShape.new(name: 'Size')
|
88
|
+
StatusCode = Shapes::StringShape.new(name: 'StatusCode')
|
89
|
+
Stream = Shapes::BlobShape.new(name: 'Stream')
|
90
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
91
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
92
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
93
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
94
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
95
|
+
UploadArchiveInput = Shapes::StructureShape.new(name: 'UploadArchiveInput')
|
96
|
+
UploadListElement = Shapes::StructureShape.new(name: 'UploadListElement')
|
97
|
+
UploadMultipartPartInput = Shapes::StructureShape.new(name: 'UploadMultipartPartInput')
|
98
|
+
UploadMultipartPartOutput = Shapes::StructureShape.new(name: 'UploadMultipartPartOutput')
|
99
|
+
UploadsList = Shapes::ListShape.new(name: 'UploadsList')
|
100
|
+
VaultAccessPolicy = Shapes::StructureShape.new(name: 'VaultAccessPolicy')
|
101
|
+
VaultList = Shapes::ListShape.new(name: 'VaultList')
|
102
|
+
VaultLockPolicy = Shapes::StructureShape.new(name: 'VaultLockPolicy')
|
103
|
+
VaultNotificationConfig = Shapes::StructureShape.new(name: 'VaultNotificationConfig')
|
104
|
+
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
105
|
+
httpstatus = Shapes::IntegerShape.new(name: 'httpstatus')
|
106
|
+
long = Shapes::IntegerShape.new(name: 'long')
|
107
|
+
string = Shapes::StringShape.new(name: 'string')
|
108
|
+
|
109
|
+
AbortMultipartUploadInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
110
|
+
AbortMultipartUploadInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
111
|
+
AbortMultipartUploadInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
|
112
|
+
AbortMultipartUploadInput.struct_class = Types::AbortMultipartUploadInput
|
113
|
+
|
114
|
+
AbortVaultLockInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
115
|
+
AbortVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
116
|
+
AbortVaultLockInput.struct_class = Types::AbortVaultLockInput
|
117
|
+
|
118
|
+
AddTagsToVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
119
|
+
AddTagsToVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
120
|
+
AddTagsToVaultInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
121
|
+
AddTagsToVaultInput.struct_class = Types::AddTagsToVaultInput
|
122
|
+
|
123
|
+
ArchiveCreationOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
|
124
|
+
ArchiveCreationOutput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
|
125
|
+
ArchiveCreationOutput.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-id"))
|
126
|
+
ArchiveCreationOutput.struct_class = Types::ArchiveCreationOutput
|
127
|
+
|
128
|
+
CompleteMultipartUploadInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
129
|
+
CompleteMultipartUploadInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
130
|
+
CompleteMultipartUploadInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
|
131
|
+
CompleteMultipartUploadInput.add_member(:archive_size, Shapes::ShapeRef.new(shape: Size, location: "header", location_name: "x-amz-archive-size"))
|
132
|
+
CompleteMultipartUploadInput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
|
133
|
+
CompleteMultipartUploadInput.struct_class = Types::CompleteMultipartUploadInput
|
134
|
+
|
135
|
+
CompleteVaultLockInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
136
|
+
CompleteVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
137
|
+
CompleteVaultLockInput.add_member(:lock_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "lockId"))
|
138
|
+
CompleteVaultLockInput.struct_class = Types::CompleteVaultLockInput
|
139
|
+
|
140
|
+
CreateVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
141
|
+
CreateVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
142
|
+
CreateVaultInput.struct_class = Types::CreateVaultInput
|
143
|
+
|
144
|
+
CreateVaultOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
|
145
|
+
CreateVaultOutput.struct_class = Types::CreateVaultOutput
|
146
|
+
|
147
|
+
DataRetrievalPolicy.add_member(:rules, Shapes::ShapeRef.new(shape: DataRetrievalRulesList, location_name: "Rules"))
|
148
|
+
DataRetrievalPolicy.struct_class = Types::DataRetrievalPolicy
|
149
|
+
|
150
|
+
DataRetrievalRule.add_member(:strategy, Shapes::ShapeRef.new(shape: string, location_name: "Strategy"))
|
151
|
+
DataRetrievalRule.add_member(:bytes_per_hour, Shapes::ShapeRef.new(shape: NullableLong, location_name: "BytesPerHour"))
|
152
|
+
DataRetrievalRule.struct_class = Types::DataRetrievalRule
|
153
|
+
|
154
|
+
DataRetrievalRulesList.member = Shapes::ShapeRef.new(shape: DataRetrievalRule)
|
155
|
+
|
156
|
+
DeleteArchiveInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
157
|
+
DeleteArchiveInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
158
|
+
DeleteArchiveInput.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "archiveId"))
|
159
|
+
DeleteArchiveInput.struct_class = Types::DeleteArchiveInput
|
160
|
+
|
161
|
+
DeleteVaultAccessPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
162
|
+
DeleteVaultAccessPolicyInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
163
|
+
DeleteVaultAccessPolicyInput.struct_class = Types::DeleteVaultAccessPolicyInput
|
164
|
+
|
165
|
+
DeleteVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
166
|
+
DeleteVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
167
|
+
DeleteVaultInput.struct_class = Types::DeleteVaultInput
|
168
|
+
|
169
|
+
DeleteVaultNotificationsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
170
|
+
DeleteVaultNotificationsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
171
|
+
DeleteVaultNotificationsInput.struct_class = Types::DeleteVaultNotificationsInput
|
172
|
+
|
173
|
+
DescribeJobInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
174
|
+
DescribeJobInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
175
|
+
DescribeJobInput.add_member(:job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "jobId"))
|
176
|
+
DescribeJobInput.struct_class = Types::DescribeJobInput
|
177
|
+
|
178
|
+
DescribeVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
179
|
+
DescribeVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
180
|
+
DescribeVaultInput.struct_class = Types::DescribeVaultInput
|
181
|
+
|
182
|
+
DescribeVaultOutput.add_member(:vault_arn, Shapes::ShapeRef.new(shape: string, location_name: "VaultARN"))
|
183
|
+
DescribeVaultOutput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, location_name: "VaultName"))
|
184
|
+
DescribeVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
185
|
+
DescribeVaultOutput.add_member(:last_inventory_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastInventoryDate"))
|
186
|
+
DescribeVaultOutput.add_member(:number_of_archives, Shapes::ShapeRef.new(shape: long, location_name: "NumberOfArchives"))
|
187
|
+
DescribeVaultOutput.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "SizeInBytes"))
|
188
|
+
DescribeVaultOutput.struct_class = Types::DescribeVaultOutput
|
189
|
+
|
190
|
+
GetDataRetrievalPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
191
|
+
GetDataRetrievalPolicyInput.struct_class = Types::GetDataRetrievalPolicyInput
|
192
|
+
|
193
|
+
GetDataRetrievalPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: DataRetrievalPolicy, location_name: "Policy"))
|
194
|
+
GetDataRetrievalPolicyOutput.struct_class = Types::GetDataRetrievalPolicyOutput
|
195
|
+
|
196
|
+
GetJobOutputInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
197
|
+
GetJobOutputInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
198
|
+
GetJobOutputInput.add_member(:job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "jobId"))
|
199
|
+
GetJobOutputInput.add_member(:range, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Range"))
|
200
|
+
GetJobOutputInput.struct_class = Types::GetJobOutputInput
|
201
|
+
|
202
|
+
GetJobOutputOutput.add_member(:body, Shapes::ShapeRef.new(shape: Stream, location_name: "body"))
|
203
|
+
GetJobOutputOutput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
|
204
|
+
GetJobOutputOutput.add_member(:status, Shapes::ShapeRef.new(shape: httpstatus, location: "statusCode", location_name: "status"))
|
205
|
+
GetJobOutputOutput.add_member(:content_range, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Content-Range"))
|
206
|
+
GetJobOutputOutput.add_member(:accept_ranges, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Accept-Ranges"))
|
207
|
+
GetJobOutputOutput.add_member(:content_type, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Content-Type"))
|
208
|
+
GetJobOutputOutput.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-description"))
|
209
|
+
GetJobOutputOutput.struct_class = Types::GetJobOutputOutput
|
210
|
+
GetJobOutputOutput[:payload] = :body
|
211
|
+
GetJobOutputOutput[:payload_member] = GetJobOutputOutput.member(:body)
|
212
|
+
|
213
|
+
GetVaultAccessPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
214
|
+
GetVaultAccessPolicyInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
215
|
+
GetVaultAccessPolicyInput.struct_class = Types::GetVaultAccessPolicyInput
|
216
|
+
|
217
|
+
GetVaultAccessPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: VaultAccessPolicy, location_name: "policy"))
|
218
|
+
GetVaultAccessPolicyOutput.struct_class = Types::GetVaultAccessPolicyOutput
|
219
|
+
GetVaultAccessPolicyOutput[:payload] = :policy
|
220
|
+
GetVaultAccessPolicyOutput[:payload_member] = GetVaultAccessPolicyOutput.member(:policy)
|
221
|
+
|
222
|
+
GetVaultLockInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
223
|
+
GetVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
224
|
+
GetVaultLockInput.struct_class = Types::GetVaultLockInput
|
225
|
+
|
226
|
+
GetVaultLockOutput.add_member(:policy, Shapes::ShapeRef.new(shape: string, location_name: "Policy"))
|
227
|
+
GetVaultLockOutput.add_member(:state, Shapes::ShapeRef.new(shape: string, location_name: "State"))
|
228
|
+
GetVaultLockOutput.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
|
229
|
+
GetVaultLockOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
230
|
+
GetVaultLockOutput.struct_class = Types::GetVaultLockOutput
|
231
|
+
|
232
|
+
GetVaultNotificationsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
233
|
+
GetVaultNotificationsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
234
|
+
GetVaultNotificationsInput.struct_class = Types::GetVaultNotificationsInput
|
235
|
+
|
236
|
+
GetVaultNotificationsOutput.add_member(:vault_notification_config, Shapes::ShapeRef.new(shape: VaultNotificationConfig, location_name: "vaultNotificationConfig"))
|
237
|
+
GetVaultNotificationsOutput.struct_class = Types::GetVaultNotificationsOutput
|
238
|
+
GetVaultNotificationsOutput[:payload] = :vault_notification_config
|
239
|
+
GetVaultNotificationsOutput[:payload_member] = GetVaultNotificationsOutput.member(:vault_notification_config)
|
240
|
+
|
241
|
+
GlacierJobDescription.add_member(:job_id, Shapes::ShapeRef.new(shape: string, location_name: "JobId"))
|
242
|
+
GlacierJobDescription.add_member(:job_description, Shapes::ShapeRef.new(shape: string, location_name: "JobDescription"))
|
243
|
+
GlacierJobDescription.add_member(:action, Shapes::ShapeRef.new(shape: ActionCode, location_name: "Action"))
|
244
|
+
GlacierJobDescription.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveId"))
|
245
|
+
GlacierJobDescription.add_member(:vault_arn, Shapes::ShapeRef.new(shape: string, location_name: "VaultARN"))
|
246
|
+
GlacierJobDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
247
|
+
GlacierJobDescription.add_member(:completed, Shapes::ShapeRef.new(shape: boolean, location_name: "Completed"))
|
248
|
+
GlacierJobDescription.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, location_name: "StatusCode"))
|
249
|
+
GlacierJobDescription.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
250
|
+
GlacierJobDescription.add_member(:archive_size_in_bytes, Shapes::ShapeRef.new(shape: Size, location_name: "ArchiveSizeInBytes"))
|
251
|
+
GlacierJobDescription.add_member(:inventory_size_in_bytes, Shapes::ShapeRef.new(shape: Size, location_name: "InventorySizeInBytes"))
|
252
|
+
GlacierJobDescription.add_member(:sns_topic, Shapes::ShapeRef.new(shape: string, location_name: "SNSTopic"))
|
253
|
+
GlacierJobDescription.add_member(:completion_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletionDate"))
|
254
|
+
GlacierJobDescription.add_member(:sha256_tree_hash, Shapes::ShapeRef.new(shape: string, location_name: "SHA256TreeHash"))
|
255
|
+
GlacierJobDescription.add_member(:archive_sha256_tree_hash, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveSHA256TreeHash"))
|
256
|
+
GlacierJobDescription.add_member(:retrieval_byte_range, Shapes::ShapeRef.new(shape: string, location_name: "RetrievalByteRange"))
|
257
|
+
GlacierJobDescription.add_member(:tier, Shapes::ShapeRef.new(shape: string, location_name: "Tier"))
|
258
|
+
GlacierJobDescription.add_member(:inventory_retrieval_parameters, Shapes::ShapeRef.new(shape: InventoryRetrievalJobDescription, location_name: "InventoryRetrievalParameters"))
|
259
|
+
GlacierJobDescription.struct_class = Types::GlacierJobDescription
|
260
|
+
|
261
|
+
InitiateJobInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
262
|
+
InitiateJobInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
263
|
+
InitiateJobInput.add_member(:job_parameters, Shapes::ShapeRef.new(shape: JobParameters, location_name: "jobParameters"))
|
264
|
+
InitiateJobInput.struct_class = Types::InitiateJobInput
|
265
|
+
InitiateJobInput[:payload] = :job_parameters
|
266
|
+
InitiateJobInput[:payload_member] = InitiateJobInput.member(:job_parameters)
|
267
|
+
|
268
|
+
InitiateJobOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
|
269
|
+
InitiateJobOutput.add_member(:job_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-job-id"))
|
270
|
+
InitiateJobOutput.struct_class = Types::InitiateJobOutput
|
271
|
+
|
272
|
+
InitiateMultipartUploadInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
273
|
+
InitiateMultipartUploadInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
274
|
+
InitiateMultipartUploadInput.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-description"))
|
275
|
+
InitiateMultipartUploadInput.add_member(:part_size, Shapes::ShapeRef.new(shape: Size, location: "header", location_name: "x-amz-part-size"))
|
276
|
+
InitiateMultipartUploadInput.struct_class = Types::InitiateMultipartUploadInput
|
277
|
+
|
278
|
+
InitiateMultipartUploadOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
|
279
|
+
InitiateMultipartUploadOutput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-multipart-upload-id"))
|
280
|
+
InitiateMultipartUploadOutput.struct_class = Types::InitiateMultipartUploadOutput
|
281
|
+
|
282
|
+
InitiateVaultLockInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
283
|
+
InitiateVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
284
|
+
InitiateVaultLockInput.add_member(:policy, Shapes::ShapeRef.new(shape: VaultLockPolicy, location_name: "policy"))
|
285
|
+
InitiateVaultLockInput.struct_class = Types::InitiateVaultLockInput
|
286
|
+
InitiateVaultLockInput[:payload] = :policy
|
287
|
+
InitiateVaultLockInput[:payload_member] = InitiateVaultLockInput.member(:policy)
|
288
|
+
|
289
|
+
InitiateVaultLockOutput.add_member(:lock_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-lock-id"))
|
290
|
+
InitiateVaultLockOutput.struct_class = Types::InitiateVaultLockOutput
|
291
|
+
|
292
|
+
InventoryRetrievalJobDescription.add_member(:format, Shapes::ShapeRef.new(shape: string, location_name: "Format"))
|
293
|
+
InventoryRetrievalJobDescription.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
|
294
|
+
InventoryRetrievalJobDescription.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndDate"))
|
295
|
+
InventoryRetrievalJobDescription.add_member(:limit, Shapes::ShapeRef.new(shape: string, location_name: "Limit"))
|
296
|
+
InventoryRetrievalJobDescription.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
|
297
|
+
InventoryRetrievalJobDescription.struct_class = Types::InventoryRetrievalJobDescription
|
298
|
+
|
299
|
+
InventoryRetrievalJobInput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
|
300
|
+
InventoryRetrievalJobInput.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndDate"))
|
301
|
+
InventoryRetrievalJobInput.add_member(:limit, Shapes::ShapeRef.new(shape: string, location_name: "Limit"))
|
302
|
+
InventoryRetrievalJobInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
|
303
|
+
InventoryRetrievalJobInput.struct_class = Types::InventoryRetrievalJobInput
|
304
|
+
|
305
|
+
JobList.member = Shapes::ShapeRef.new(shape: GlacierJobDescription)
|
306
|
+
|
307
|
+
JobParameters.add_member(:format, Shapes::ShapeRef.new(shape: string, location_name: "Format"))
|
308
|
+
JobParameters.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
309
|
+
JobParameters.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveId"))
|
310
|
+
JobParameters.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "Description"))
|
311
|
+
JobParameters.add_member(:sns_topic, Shapes::ShapeRef.new(shape: string, location_name: "SNSTopic"))
|
312
|
+
JobParameters.add_member(:retrieval_byte_range, Shapes::ShapeRef.new(shape: string, location_name: "RetrievalByteRange"))
|
313
|
+
JobParameters.add_member(:tier, Shapes::ShapeRef.new(shape: string, location_name: "Tier"))
|
314
|
+
JobParameters.add_member(:inventory_retrieval_parameters, Shapes::ShapeRef.new(shape: InventoryRetrievalJobInput, location_name: "InventoryRetrievalParameters"))
|
315
|
+
JobParameters.struct_class = Types::JobParameters
|
316
|
+
|
317
|
+
ListJobsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
318
|
+
ListJobsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
319
|
+
ListJobsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
|
320
|
+
ListJobsInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "marker"))
|
321
|
+
ListJobsInput.add_member(:statuscode, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "statuscode"))
|
322
|
+
ListJobsInput.add_member(:completed, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "completed"))
|
323
|
+
ListJobsInput.struct_class = Types::ListJobsInput
|
324
|
+
|
325
|
+
ListJobsOutput.add_member(:job_list, Shapes::ShapeRef.new(shape: JobList, location_name: "JobList"))
|
326
|
+
ListJobsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
|
327
|
+
ListJobsOutput.struct_class = Types::ListJobsOutput
|
328
|
+
|
329
|
+
ListMultipartUploadsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
330
|
+
ListMultipartUploadsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
331
|
+
ListMultipartUploadsInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "marker"))
|
332
|
+
ListMultipartUploadsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
|
333
|
+
ListMultipartUploadsInput.struct_class = Types::ListMultipartUploadsInput
|
334
|
+
|
335
|
+
ListMultipartUploadsOutput.add_member(:uploads_list, Shapes::ShapeRef.new(shape: UploadsList, location_name: "UploadsList"))
|
336
|
+
ListMultipartUploadsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
|
337
|
+
ListMultipartUploadsOutput.struct_class = Types::ListMultipartUploadsOutput
|
338
|
+
|
339
|
+
ListPartsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
340
|
+
ListPartsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
341
|
+
ListPartsInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
|
342
|
+
ListPartsInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "marker"))
|
343
|
+
ListPartsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
|
344
|
+
ListPartsInput.struct_class = Types::ListPartsInput
|
345
|
+
|
346
|
+
ListPartsOutput.add_member(:multipart_upload_id, Shapes::ShapeRef.new(shape: string, location_name: "MultipartUploadId"))
|
347
|
+
ListPartsOutput.add_member(:vault_arn, Shapes::ShapeRef.new(shape: string, location_name: "VaultARN"))
|
348
|
+
ListPartsOutput.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveDescription"))
|
349
|
+
ListPartsOutput.add_member(:part_size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "PartSizeInBytes"))
|
350
|
+
ListPartsOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
351
|
+
ListPartsOutput.add_member(:parts, Shapes::ShapeRef.new(shape: PartList, location_name: "Parts"))
|
352
|
+
ListPartsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
|
353
|
+
ListPartsOutput.struct_class = Types::ListPartsOutput
|
354
|
+
|
355
|
+
ListProvisionedCapacityInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
356
|
+
ListProvisionedCapacityInput.struct_class = Types::ListProvisionedCapacityInput
|
357
|
+
|
358
|
+
ListProvisionedCapacityOutput.add_member(:provisioned_capacity_list, Shapes::ShapeRef.new(shape: ProvisionedCapacityList, location_name: "ProvisionedCapacityList"))
|
359
|
+
ListProvisionedCapacityOutput.struct_class = Types::ListProvisionedCapacityOutput
|
360
|
+
|
361
|
+
ListTagsForVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
362
|
+
ListTagsForVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
363
|
+
ListTagsForVaultInput.struct_class = Types::ListTagsForVaultInput
|
364
|
+
|
365
|
+
ListTagsForVaultOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
366
|
+
ListTagsForVaultOutput.struct_class = Types::ListTagsForVaultOutput
|
367
|
+
|
368
|
+
ListVaultsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
369
|
+
ListVaultsInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "marker"))
|
370
|
+
ListVaultsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
|
371
|
+
ListVaultsInput.struct_class = Types::ListVaultsInput
|
372
|
+
|
373
|
+
ListVaultsOutput.add_member(:vault_list, Shapes::ShapeRef.new(shape: VaultList, location_name: "VaultList"))
|
374
|
+
ListVaultsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
|
375
|
+
ListVaultsOutput.struct_class = Types::ListVaultsOutput
|
376
|
+
|
377
|
+
NotificationEventList.member = Shapes::ShapeRef.new(shape: string)
|
378
|
+
|
379
|
+
PartList.member = Shapes::ShapeRef.new(shape: PartListElement)
|
380
|
+
|
381
|
+
PartListElement.add_member(:range_in_bytes, Shapes::ShapeRef.new(shape: string, location_name: "RangeInBytes"))
|
382
|
+
PartListElement.add_member(:sha256_tree_hash, Shapes::ShapeRef.new(shape: string, location_name: "SHA256TreeHash"))
|
383
|
+
PartListElement.struct_class = Types::PartListElement
|
384
|
+
|
385
|
+
ProvisionedCapacityDescription.add_member(:capacity_id, Shapes::ShapeRef.new(shape: string, location_name: "CapacityId"))
|
386
|
+
ProvisionedCapacityDescription.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
|
387
|
+
ProvisionedCapacityDescription.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
|
388
|
+
ProvisionedCapacityDescription.struct_class = Types::ProvisionedCapacityDescription
|
389
|
+
|
390
|
+
ProvisionedCapacityList.member = Shapes::ShapeRef.new(shape: ProvisionedCapacityDescription)
|
391
|
+
|
392
|
+
PurchaseProvisionedCapacityInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
393
|
+
PurchaseProvisionedCapacityInput.struct_class = Types::PurchaseProvisionedCapacityInput
|
394
|
+
|
395
|
+
PurchaseProvisionedCapacityOutput.add_member(:capacity_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-capacity-id"))
|
396
|
+
PurchaseProvisionedCapacityOutput.struct_class = Types::PurchaseProvisionedCapacityOutput
|
397
|
+
|
398
|
+
RemoveTagsFromVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
399
|
+
RemoveTagsFromVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
400
|
+
RemoveTagsFromVaultInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, location_name: "TagKeys"))
|
401
|
+
RemoveTagsFromVaultInput.struct_class = Types::RemoveTagsFromVaultInput
|
402
|
+
|
403
|
+
SetDataRetrievalPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
404
|
+
SetDataRetrievalPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: DataRetrievalPolicy, location_name: "Policy"))
|
405
|
+
SetDataRetrievalPolicyInput.struct_class = Types::SetDataRetrievalPolicyInput
|
406
|
+
|
407
|
+
SetVaultAccessPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
408
|
+
SetVaultAccessPolicyInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
409
|
+
SetVaultAccessPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: VaultAccessPolicy, location_name: "policy"))
|
410
|
+
SetVaultAccessPolicyInput.struct_class = Types::SetVaultAccessPolicyInput
|
411
|
+
SetVaultAccessPolicyInput[:payload] = :policy
|
412
|
+
SetVaultAccessPolicyInput[:payload_member] = SetVaultAccessPolicyInput.member(:policy)
|
413
|
+
|
414
|
+
SetVaultNotificationsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
415
|
+
SetVaultNotificationsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
416
|
+
SetVaultNotificationsInput.add_member(:vault_notification_config, Shapes::ShapeRef.new(shape: VaultNotificationConfig, location_name: "vaultNotificationConfig"))
|
417
|
+
SetVaultNotificationsInput.struct_class = Types::SetVaultNotificationsInput
|
418
|
+
SetVaultNotificationsInput[:payload] = :vault_notification_config
|
419
|
+
SetVaultNotificationsInput[:payload_member] = SetVaultNotificationsInput.member(:vault_notification_config)
|
420
|
+
|
421
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: string)
|
422
|
+
|
423
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
424
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
425
|
+
|
426
|
+
UploadArchiveInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
427
|
+
UploadArchiveInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
428
|
+
UploadArchiveInput.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-description"))
|
429
|
+
UploadArchiveInput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
|
430
|
+
UploadArchiveInput.add_member(:body, Shapes::ShapeRef.new(shape: Stream, location_name: "body"))
|
431
|
+
UploadArchiveInput.struct_class = Types::UploadArchiveInput
|
432
|
+
UploadArchiveInput[:payload] = :body
|
433
|
+
UploadArchiveInput[:payload_member] = UploadArchiveInput.member(:body)
|
434
|
+
|
435
|
+
UploadListElement.add_member(:multipart_upload_id, Shapes::ShapeRef.new(shape: string, location_name: "MultipartUploadId"))
|
436
|
+
UploadListElement.add_member(:vault_arn, Shapes::ShapeRef.new(shape: string, location_name: "VaultARN"))
|
437
|
+
UploadListElement.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveDescription"))
|
438
|
+
UploadListElement.add_member(:part_size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "PartSizeInBytes"))
|
439
|
+
UploadListElement.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
440
|
+
UploadListElement.struct_class = Types::UploadListElement
|
441
|
+
|
442
|
+
UploadMultipartPartInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
443
|
+
UploadMultipartPartInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
444
|
+
UploadMultipartPartInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
|
445
|
+
UploadMultipartPartInput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
|
446
|
+
UploadMultipartPartInput.add_member(:range, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Content-Range"))
|
447
|
+
UploadMultipartPartInput.add_member(:body, Shapes::ShapeRef.new(shape: Stream, location_name: "body"))
|
448
|
+
UploadMultipartPartInput.struct_class = Types::UploadMultipartPartInput
|
449
|
+
UploadMultipartPartInput[:payload] = :body
|
450
|
+
UploadMultipartPartInput[:payload_member] = UploadMultipartPartInput.member(:body)
|
451
|
+
|
452
|
+
UploadMultipartPartOutput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
|
453
|
+
UploadMultipartPartOutput.struct_class = Types::UploadMultipartPartOutput
|
454
|
+
|
455
|
+
UploadsList.member = Shapes::ShapeRef.new(shape: UploadListElement)
|
456
|
+
|
457
|
+
VaultAccessPolicy.add_member(:policy, Shapes::ShapeRef.new(shape: string, location_name: "Policy"))
|
458
|
+
VaultAccessPolicy.struct_class = Types::VaultAccessPolicy
|
459
|
+
|
460
|
+
VaultList.member = Shapes::ShapeRef.new(shape: DescribeVaultOutput)
|
905
461
|
|
462
|
+
VaultLockPolicy.add_member(:policy, Shapes::ShapeRef.new(shape: string, location_name: "Policy"))
|
463
|
+
VaultLockPolicy.struct_class = Types::VaultLockPolicy
|
464
|
+
|
465
|
+
VaultNotificationConfig.add_member(:sns_topic, Shapes::ShapeRef.new(shape: string, location_name: "SNSTopic"))
|
466
|
+
VaultNotificationConfig.add_member(:events, Shapes::ShapeRef.new(shape: NotificationEventList, location_name: "Events"))
|
467
|
+
VaultNotificationConfig.struct_class = Types::VaultNotificationConfig
|
468
|
+
|
469
|
+
|
470
|
+
# @api private
|
471
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
472
|
+
|
473
|
+
api.version = "2012-06-01"
|
474
|
+
|
475
|
+
api.metadata = {
|
476
|
+
"endpointPrefix" => "glacier",
|
477
|
+
"protocol" => "rest-json",
|
478
|
+
"serviceFullName" => "Amazon Glacier",
|
479
|
+
"signatureVersion" => "v4",
|
480
|
+
}
|
481
|
+
|
482
|
+
api.add_operation(:abort_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
|
483
|
+
o.name = "AbortMultipartUpload"
|
484
|
+
o.http_method = "DELETE"
|
485
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
|
486
|
+
o.input = Shapes::ShapeRef.new(shape: AbortMultipartUploadInput)
|
487
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
488
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
489
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
490
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
492
|
+
end)
|
493
|
+
|
494
|
+
api.add_operation(:abort_vault_lock, Seahorse::Model::Operation.new.tap do |o|
|
495
|
+
o.name = "AbortVaultLock"
|
496
|
+
o.http_method = "DELETE"
|
497
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy"
|
498
|
+
o.input = Shapes::ShapeRef.new(shape: AbortVaultLockInput)
|
499
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
504
|
+
end)
|
505
|
+
|
506
|
+
api.add_operation(:add_tags_to_vault, Seahorse::Model::Operation.new.tap do |o|
|
507
|
+
o.name = "AddTagsToVault"
|
508
|
+
o.http_method = "POST"
|
509
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/tags?operation=add"
|
510
|
+
o.input = Shapes::ShapeRef.new(shape: AddTagsToVaultInput)
|
511
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
517
|
+
end)
|
518
|
+
|
519
|
+
api.add_operation(:complete_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
|
520
|
+
o.name = "CompleteMultipartUpload"
|
521
|
+
o.http_method = "POST"
|
522
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
|
523
|
+
o.input = Shapes::ShapeRef.new(shape: CompleteMultipartUploadInput)
|
524
|
+
o.output = Shapes::ShapeRef.new(shape: ArchiveCreationOutput)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
527
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
529
|
+
end)
|
530
|
+
|
531
|
+
api.add_operation(:complete_vault_lock, Seahorse::Model::Operation.new.tap do |o|
|
532
|
+
o.name = "CompleteVaultLock"
|
533
|
+
o.http_method = "POST"
|
534
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy/{lockId}"
|
535
|
+
o.input = Shapes::ShapeRef.new(shape: CompleteVaultLockInput)
|
536
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
541
|
+
end)
|
542
|
+
|
543
|
+
api.add_operation(:create_vault, Seahorse::Model::Operation.new.tap do |o|
|
544
|
+
o.name = "CreateVault"
|
545
|
+
o.http_method = "PUT"
|
546
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}"
|
547
|
+
o.input = Shapes::ShapeRef.new(shape: CreateVaultInput)
|
548
|
+
o.output = Shapes::ShapeRef.new(shape: CreateVaultOutput)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
553
|
+
end)
|
554
|
+
|
555
|
+
api.add_operation(:delete_archive, Seahorse::Model::Operation.new.tap do |o|
|
556
|
+
o.name = "DeleteArchive"
|
557
|
+
o.http_method = "DELETE"
|
558
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/archives/{archiveId}"
|
559
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteArchiveInput)
|
560
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
565
|
+
end)
|
566
|
+
|
567
|
+
api.add_operation(:delete_vault, Seahorse::Model::Operation.new.tap do |o|
|
568
|
+
o.name = "DeleteVault"
|
569
|
+
o.http_method = "DELETE"
|
570
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}"
|
571
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteVaultInput)
|
572
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
573
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
577
|
+
end)
|
578
|
+
|
579
|
+
api.add_operation(:delete_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
580
|
+
o.name = "DeleteVaultAccessPolicy"
|
581
|
+
o.http_method = "DELETE"
|
582
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/access-policy"
|
583
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteVaultAccessPolicyInput)
|
584
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
585
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
586
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
589
|
+
end)
|
590
|
+
|
591
|
+
api.add_operation(:delete_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
592
|
+
o.name = "DeleteVaultNotifications"
|
593
|
+
o.http_method = "DELETE"
|
594
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/notification-configuration"
|
595
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteVaultNotificationsInput)
|
596
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
597
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
601
|
+
end)
|
602
|
+
|
603
|
+
api.add_operation(:describe_job, Seahorse::Model::Operation.new.tap do |o|
|
604
|
+
o.name = "DescribeJob"
|
605
|
+
o.http_method = "GET"
|
606
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs/{jobId}"
|
607
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeJobInput)
|
608
|
+
o.output = Shapes::ShapeRef.new(shape: GlacierJobDescription)
|
609
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
610
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
611
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
613
|
+
end)
|
614
|
+
|
615
|
+
api.add_operation(:describe_vault, Seahorse::Model::Operation.new.tap do |o|
|
616
|
+
o.name = "DescribeVault"
|
617
|
+
o.http_method = "GET"
|
618
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}"
|
619
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeVaultInput)
|
620
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeVaultOutput)
|
621
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
622
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
623
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
625
|
+
end)
|
626
|
+
|
627
|
+
api.add_operation(:get_data_retrieval_policy, Seahorse::Model::Operation.new.tap do |o|
|
628
|
+
o.name = "GetDataRetrievalPolicy"
|
629
|
+
o.http_method = "GET"
|
630
|
+
o.http_request_uri = "/{accountId}/policies/data-retrieval"
|
631
|
+
o.input = Shapes::ShapeRef.new(shape: GetDataRetrievalPolicyInput)
|
632
|
+
o.output = Shapes::ShapeRef.new(shape: GetDataRetrievalPolicyOutput)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
634
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
635
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
636
|
+
end)
|
637
|
+
|
638
|
+
api.add_operation(:get_job_output, Seahorse::Model::Operation.new.tap do |o|
|
639
|
+
o.name = "GetJobOutput"
|
640
|
+
o.http_method = "GET"
|
641
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output"
|
642
|
+
o.input = Shapes::ShapeRef.new(shape: GetJobOutputInput)
|
643
|
+
o.output = Shapes::ShapeRef.new(shape: GetJobOutputOutput)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
647
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
648
|
+
end)
|
649
|
+
|
650
|
+
api.add_operation(:get_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
651
|
+
o.name = "GetVaultAccessPolicy"
|
652
|
+
o.http_method = "GET"
|
653
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/access-policy"
|
654
|
+
o.input = Shapes::ShapeRef.new(shape: GetVaultAccessPolicyInput)
|
655
|
+
o.output = Shapes::ShapeRef.new(shape: GetVaultAccessPolicyOutput)
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
657
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
659
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
660
|
+
end)
|
661
|
+
|
662
|
+
api.add_operation(:get_vault_lock, Seahorse::Model::Operation.new.tap do |o|
|
663
|
+
o.name = "GetVaultLock"
|
664
|
+
o.http_method = "GET"
|
665
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy"
|
666
|
+
o.input = Shapes::ShapeRef.new(shape: GetVaultLockInput)
|
667
|
+
o.output = Shapes::ShapeRef.new(shape: GetVaultLockOutput)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
672
|
+
end)
|
673
|
+
|
674
|
+
api.add_operation(:get_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
675
|
+
o.name = "GetVaultNotifications"
|
676
|
+
o.http_method = "GET"
|
677
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/notification-configuration"
|
678
|
+
o.input = Shapes::ShapeRef.new(shape: GetVaultNotificationsInput)
|
679
|
+
o.output = Shapes::ShapeRef.new(shape: GetVaultNotificationsOutput)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
683
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
684
|
+
end)
|
685
|
+
|
686
|
+
api.add_operation(:initiate_job, Seahorse::Model::Operation.new.tap do |o|
|
687
|
+
o.name = "InitiateJob"
|
688
|
+
o.http_method = "POST"
|
689
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs"
|
690
|
+
o.input = Shapes::ShapeRef.new(shape: InitiateJobInput)
|
691
|
+
o.output = Shapes::ShapeRef.new(shape: InitiateJobOutput)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyEnforcedException)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientCapacityException)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
698
|
+
end)
|
699
|
+
|
700
|
+
api.add_operation(:initiate_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
|
701
|
+
o.name = "InitiateMultipartUpload"
|
702
|
+
o.http_method = "POST"
|
703
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads"
|
704
|
+
o.input = Shapes::ShapeRef.new(shape: InitiateMultipartUploadInput)
|
705
|
+
o.output = Shapes::ShapeRef.new(shape: InitiateMultipartUploadOutput)
|
706
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
707
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
708
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
710
|
+
end)
|
711
|
+
|
712
|
+
api.add_operation(:initiate_vault_lock, Seahorse::Model::Operation.new.tap do |o|
|
713
|
+
o.name = "InitiateVaultLock"
|
714
|
+
o.http_method = "POST"
|
715
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy"
|
716
|
+
o.input = Shapes::ShapeRef.new(shape: InitiateVaultLockInput)
|
717
|
+
o.output = Shapes::ShapeRef.new(shape: InitiateVaultLockOutput)
|
718
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
722
|
+
end)
|
723
|
+
|
724
|
+
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
725
|
+
o.name = "ListJobs"
|
726
|
+
o.http_method = "GET"
|
727
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs"
|
728
|
+
o.input = Shapes::ShapeRef.new(shape: ListJobsInput)
|
729
|
+
o.output = Shapes::ShapeRef.new(shape: ListJobsOutput)
|
730
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
731
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
732
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
734
|
+
o[:pager] = Aws::Pager.new(
|
735
|
+
limit_key: "limit",
|
736
|
+
tokens: {
|
737
|
+
"marker" => "marker"
|
738
|
+
}
|
739
|
+
)
|
740
|
+
end)
|
741
|
+
|
742
|
+
api.add_operation(:list_multipart_uploads, Seahorse::Model::Operation.new.tap do |o|
|
743
|
+
o.name = "ListMultipartUploads"
|
744
|
+
o.http_method = "GET"
|
745
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads"
|
746
|
+
o.input = Shapes::ShapeRef.new(shape: ListMultipartUploadsInput)
|
747
|
+
o.output = Shapes::ShapeRef.new(shape: ListMultipartUploadsOutput)
|
748
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
749
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
750
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
752
|
+
o[:pager] = Aws::Pager.new(
|
753
|
+
limit_key: "limit",
|
754
|
+
tokens: {
|
755
|
+
"marker" => "marker"
|
756
|
+
}
|
757
|
+
)
|
758
|
+
end)
|
759
|
+
|
760
|
+
api.add_operation(:list_parts, Seahorse::Model::Operation.new.tap do |o|
|
761
|
+
o.name = "ListParts"
|
762
|
+
o.http_method = "GET"
|
763
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
|
764
|
+
o.input = Shapes::ShapeRef.new(shape: ListPartsInput)
|
765
|
+
o.output = Shapes::ShapeRef.new(shape: ListPartsOutput)
|
766
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
767
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
768
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
769
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
770
|
+
o[:pager] = Aws::Pager.new(
|
771
|
+
limit_key: "limit",
|
772
|
+
tokens: {
|
773
|
+
"marker" => "marker"
|
774
|
+
}
|
775
|
+
)
|
776
|
+
end)
|
777
|
+
|
778
|
+
api.add_operation(:list_provisioned_capacity, Seahorse::Model::Operation.new.tap do |o|
|
779
|
+
o.name = "ListProvisionedCapacity"
|
780
|
+
o.http_method = "GET"
|
781
|
+
o.http_request_uri = "/{accountId}/provisioned-capacity"
|
782
|
+
o.input = Shapes::ShapeRef.new(shape: ListProvisionedCapacityInput)
|
783
|
+
o.output = Shapes::ShapeRef.new(shape: ListProvisionedCapacityOutput)
|
784
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
787
|
+
end)
|
788
|
+
|
789
|
+
api.add_operation(:list_tags_for_vault, Seahorse::Model::Operation.new.tap do |o|
|
790
|
+
o.name = "ListTagsForVault"
|
791
|
+
o.http_method = "GET"
|
792
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/tags"
|
793
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForVaultInput)
|
794
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForVaultOutput)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
799
|
+
end)
|
800
|
+
|
801
|
+
api.add_operation(:list_vaults, Seahorse::Model::Operation.new.tap do |o|
|
802
|
+
o.name = "ListVaults"
|
803
|
+
o.http_method = "GET"
|
804
|
+
o.http_request_uri = "/{accountId}/vaults"
|
805
|
+
o.input = Shapes::ShapeRef.new(shape: ListVaultsInput)
|
806
|
+
o.output = Shapes::ShapeRef.new(shape: ListVaultsOutput)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
808
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
809
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
810
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
811
|
+
o[:pager] = Aws::Pager.new(
|
812
|
+
limit_key: "limit",
|
813
|
+
tokens: {
|
814
|
+
"marker" => "marker"
|
815
|
+
}
|
816
|
+
)
|
817
|
+
end)
|
818
|
+
|
819
|
+
api.add_operation(:purchase_provisioned_capacity, Seahorse::Model::Operation.new.tap do |o|
|
820
|
+
o.name = "PurchaseProvisionedCapacity"
|
821
|
+
o.http_method = "POST"
|
822
|
+
o.http_request_uri = "/{accountId}/provisioned-capacity"
|
823
|
+
o.input = Shapes::ShapeRef.new(shape: PurchaseProvisionedCapacityInput)
|
824
|
+
o.output = Shapes::ShapeRef.new(shape: PurchaseProvisionedCapacityOutput)
|
825
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
828
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
829
|
+
end)
|
830
|
+
|
831
|
+
api.add_operation(:remove_tags_from_vault, Seahorse::Model::Operation.new.tap do |o|
|
832
|
+
o.name = "RemoveTagsFromVault"
|
833
|
+
o.http_method = "POST"
|
834
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/tags?operation=remove"
|
835
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveTagsFromVaultInput)
|
836
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
841
|
+
end)
|
842
|
+
|
843
|
+
api.add_operation(:set_data_retrieval_policy, Seahorse::Model::Operation.new.tap do |o|
|
844
|
+
o.name = "SetDataRetrievalPolicy"
|
845
|
+
o.http_method = "PUT"
|
846
|
+
o.http_request_uri = "/{accountId}/policies/data-retrieval"
|
847
|
+
o.input = Shapes::ShapeRef.new(shape: SetDataRetrievalPolicyInput)
|
848
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
849
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
852
|
+
end)
|
853
|
+
|
854
|
+
api.add_operation(:set_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
855
|
+
o.name = "SetVaultAccessPolicy"
|
856
|
+
o.http_method = "PUT"
|
857
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/access-policy"
|
858
|
+
o.input = Shapes::ShapeRef.new(shape: SetVaultAccessPolicyInput)
|
859
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
860
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
861
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
862
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
864
|
+
end)
|
865
|
+
|
866
|
+
api.add_operation(:set_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
867
|
+
o.name = "SetVaultNotifications"
|
868
|
+
o.http_method = "PUT"
|
869
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/notification-configuration"
|
870
|
+
o.input = Shapes::ShapeRef.new(shape: SetVaultNotificationsInput)
|
871
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
872
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
873
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
874
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
875
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
876
|
+
end)
|
877
|
+
|
878
|
+
api.add_operation(:upload_archive, Seahorse::Model::Operation.new.tap do |o|
|
879
|
+
o.name = "UploadArchive"
|
880
|
+
o.http_method = "POST"
|
881
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/archives"
|
882
|
+
o.input = Shapes::ShapeRef.new(shape: UploadArchiveInput)
|
883
|
+
o.output = Shapes::ShapeRef.new(shape: ArchiveCreationOutput)
|
884
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
885
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
886
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
887
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
888
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
889
|
+
end)
|
890
|
+
|
891
|
+
api.add_operation(:upload_multipart_part, Seahorse::Model::Operation.new.tap do |o|
|
892
|
+
o.name = "UploadMultipartPart"
|
893
|
+
o.http_method = "PUT"
|
894
|
+
o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
|
895
|
+
o.input = Shapes::ShapeRef.new(shape: UploadMultipartPartInput)
|
896
|
+
o.output = Shapes::ShapeRef.new(shape: UploadMultipartPartOutput)
|
897
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
898
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
899
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
900
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
901
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
902
|
+
end)
|
906
903
|
end
|
904
|
+
|
907
905
|
end
|
908
906
|
end
|