aws-sdk 1.7.1 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. data/README.rdoc +4 -4
  2. data/lib/aws-sdk.rb +60 -1
  3. data/lib/aws.rb +1 -50
  4. data/lib/aws/api_config/CloudFront-2012-05-05.yml +864 -899
  5. data/lib/aws/api_config/DataPipeline-2012-10-29.yml +422 -0
  6. data/lib/aws/api_config/EC2-2012-07-20.yml +0 -2
  7. data/lib/aws/api_config/Glacier-2012-06-01.yml +622 -0
  8. data/lib/aws/api_config/ImportExport-2010-06-01.yml +109 -0
  9. data/lib/aws/api_config/{SQS-2011-10-01.yml → SQS-2012-11-05.yml} +3 -1
  10. data/lib/aws/api_config/StorageGateway-2012-06-30.yml +748 -0
  11. data/lib/aws/cloud_front.rb +71 -0
  12. data/lib/aws/cloud_front/client.rb +1307 -0
  13. data/lib/aws/cloud_front/config.rb +18 -0
  14. data/lib/aws/cloud_front/errors.rb +22 -0
  15. data/lib/aws/cloud_front/request.rb +44 -0
  16. data/lib/aws/core.rb +19 -1
  17. data/lib/aws/core/client.rb +7 -0
  18. data/lib/aws/core/collection.rb +1 -1
  19. data/lib/aws/core/configuration.rb +12 -0
  20. data/lib/aws/core/data.rb +13 -8
  21. data/lib/aws/core/json_client.rb +3 -4
  22. data/lib/aws/core/json_parser.rb +76 -0
  23. data/lib/aws/core/json_request_builder.rb +4 -3
  24. data/lib/aws/core/json_response_parser.rb +1 -3
  25. data/lib/aws/core/managed_file.rb +32 -0
  26. data/lib/aws/core/options/json_serializer.rb +82 -0
  27. data/lib/aws/core/options/validator.rb +5 -1
  28. data/lib/aws/core/options/xml_serializer.rb +18 -4
  29. data/lib/aws/core/{rest_client.rb → rest_json_client.rb} +5 -6
  30. data/lib/aws/core/rest_request_builder.rb +59 -35
  31. data/lib/aws/core/rest_response_parser.rb +13 -4
  32. data/lib/aws/core/rest_xml_client.rb +47 -0
  33. data/lib/aws/core/signature/version_4.rb +22 -8
  34. data/lib/aws/data_pipeline.rb +30 -0
  35. data/lib/aws/data_pipeline/client.rb +392 -0
  36. data/lib/aws/data_pipeline/config.rb +18 -0
  37. data/lib/aws/data_pipeline/errors.rb +20 -0
  38. data/lib/aws/data_pipeline/request.rb +26 -0
  39. data/lib/aws/ec2/instance_collection.rb +11 -3
  40. data/lib/aws/ec2/security_group.rb +5 -5
  41. data/lib/aws/ec2/security_group/{egress_ip_permission_collection.rb → ip_permission_collection.rb} +33 -14
  42. data/lib/aws/glacier.rb +50 -0
  43. data/lib/aws/glacier/archive.rb +54 -0
  44. data/lib/aws/glacier/archive_collection.rb +141 -0
  45. data/lib/aws/glacier/client.rb +286 -0
  46. data/lib/aws/glacier/config.rb +19 -0
  47. data/lib/aws/glacier/errors.rb +22 -0
  48. data/lib/aws/glacier/request.rb +34 -0
  49. data/lib/aws/glacier/resource.rb +30 -0
  50. data/lib/aws/glacier/vault.rb +137 -0
  51. data/lib/aws/glacier/vault_collection.rb +75 -0
  52. data/lib/aws/glacier/vault_notification_configuration.rb +27 -0
  53. data/lib/aws/import_export.rb +71 -0
  54. data/lib/aws/import_export/client.rb +109 -0
  55. data/lib/aws/import_export/config.rb +19 -0
  56. data/lib/aws/import_export/errors.rb +22 -0
  57. data/lib/aws/import_export/request.rb +23 -0
  58. data/lib/aws/route_53/client.rb +1 -1
  59. data/lib/aws/s3/bucket_lifecycle_configuration.rb +160 -63
  60. data/lib/aws/s3/client.rb +43 -0
  61. data/lib/aws/s3/client/xml.rb +6 -0
  62. data/lib/aws/s3/cors_rule_collection.rb +1 -1
  63. data/lib/aws/s3/data_options.rb +1 -3
  64. data/lib/aws/s3/request.rb +1 -1
  65. data/lib/aws/s3/s3_object.rb +52 -10
  66. data/lib/aws/sqs/client.rb +9 -3
  67. data/lib/aws/sqs/queue.rb +44 -5
  68. data/lib/aws/storage_gateway.rb +71 -0
  69. data/lib/aws/storage_gateway/client.rb +472 -0
  70. data/lib/aws/storage_gateway/config.rb +18 -0
  71. data/lib/aws/storage_gateway/errors.rb +22 -0
  72. data/lib/aws/storage_gateway/request.rb +28 -0
  73. data/lib/aws/version.rb +1 -1
  74. metadata +45 -10
  75. data/lib/aws/ec2/security_group/ingress_ip_permission_collection.rb +0 -61
@@ -0,0 +1,422 @@
1
+ # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ ---
15
+ :json_version: '1.1'
16
+ :target_prefix: DataPipeline.
17
+ :api_version: '2012-10-29'
18
+ :operations:
19
+ - :name: ActivatePipeline
20
+ :method: :activate_pipeline
21
+ :inputs:
22
+ pipelineId:
23
+ - :string
24
+ - :required
25
+ :outputs: {}
26
+ - :name: CreatePipeline
27
+ :method: :create_pipeline
28
+ :inputs:
29
+ name:
30
+ - :string
31
+ - :required
32
+ uniqueId:
33
+ - :string
34
+ - :required
35
+ description:
36
+ - :string
37
+ :outputs:
38
+ pipelineId:
39
+ :sym: :pipeline_id
40
+ :type: :string
41
+ - :name: DeletePipeline
42
+ :method: :delete_pipeline
43
+ :inputs:
44
+ pipelineId:
45
+ - :string
46
+ - :required
47
+ :outputs: {}
48
+ - :name: DescribeObjects
49
+ :method: :describe_objects
50
+ :inputs:
51
+ pipelineId:
52
+ - :string
53
+ - :required
54
+ objectIds:
55
+ - :list:
56
+ - :string
57
+ - :required
58
+ evaluateExpressions:
59
+ - :boolean
60
+ marker:
61
+ - :string
62
+ :outputs:
63
+ pipelineObjects:
64
+ :sym: :pipeline_objects
65
+ :type: :hash
66
+ :members:
67
+ id:
68
+ :sym: :id
69
+ :type: :string
70
+ name:
71
+ :sym: :name
72
+ :type: :string
73
+ fields:
74
+ :sym: :fields
75
+ :type: :hash
76
+ :members:
77
+ key:
78
+ :sym: :key
79
+ :type: :string
80
+ stringValue:
81
+ :sym: :string_value
82
+ :type: :string
83
+ refValue:
84
+ :sym: :ref_value
85
+ :type: :string
86
+ marker:
87
+ :sym: :marker
88
+ :type: :string
89
+ hasMoreResults:
90
+ :sym: :has_more_results
91
+ :type: :boolean
92
+ - :name: DescribePipelines
93
+ :method: :describe_pipelines
94
+ :inputs:
95
+ pipelineIds:
96
+ - :list:
97
+ - :string
98
+ - :required
99
+ :outputs:
100
+ pipelineDescriptionList:
101
+ :sym: :pipeline_description_list
102
+ :type: :hash
103
+ :members:
104
+ pipelineId:
105
+ :sym: :pipeline_id
106
+ :type: :string
107
+ name:
108
+ :sym: :name
109
+ :type: :string
110
+ fields:
111
+ :sym: :fields
112
+ :type: :hash
113
+ :members:
114
+ key:
115
+ :sym: :key
116
+ :type: :string
117
+ stringValue:
118
+ :sym: :string_value
119
+ :type: :string
120
+ refValue:
121
+ :sym: :ref_value
122
+ :type: :string
123
+ description:
124
+ :sym: :description
125
+ :type: :string
126
+ - :name: EvaluateExpression
127
+ :method: :evaluate_expression
128
+ :inputs:
129
+ pipelineId:
130
+ - :string
131
+ - :required
132
+ objectId:
133
+ - :string
134
+ - :required
135
+ expression:
136
+ - :string
137
+ - :required
138
+ :outputs:
139
+ evaluatedExpression:
140
+ :sym: :evaluated_expression
141
+ :type: :string
142
+ - :name: GetPipelineDefinition
143
+ :method: :get_pipeline_definition
144
+ :inputs:
145
+ pipelineId:
146
+ - :string
147
+ - :required
148
+ version:
149
+ - :string
150
+ :outputs:
151
+ pipelineObjects:
152
+ :sym: :pipeline_objects
153
+ :type: :hash
154
+ :members:
155
+ id:
156
+ :sym: :id
157
+ :type: :string
158
+ name:
159
+ :sym: :name
160
+ :type: :string
161
+ fields:
162
+ :sym: :fields
163
+ :type: :hash
164
+ :members:
165
+ key:
166
+ :sym: :key
167
+ :type: :string
168
+ stringValue:
169
+ :sym: :string_value
170
+ :type: :string
171
+ refValue:
172
+ :sym: :ref_value
173
+ :type: :string
174
+ - :name: ListPipelines
175
+ :method: :list_pipelines
176
+ :inputs:
177
+ marker:
178
+ - :string
179
+ :outputs:
180
+ pipelineIdList:
181
+ :sym: :pipeline_id_list
182
+ :type: :hash
183
+ :members:
184
+ id:
185
+ :sym: :id
186
+ :type: :string
187
+ name:
188
+ :sym: :name
189
+ :type: :string
190
+ marker:
191
+ :sym: :marker
192
+ :type: :string
193
+ hasMoreResults:
194
+ :sym: :has_more_results
195
+ :type: :boolean
196
+ - :name: PollForTask
197
+ :method: :poll_for_task
198
+ :inputs:
199
+ workerGroup:
200
+ - :string
201
+ - :required
202
+ hostname:
203
+ - :string
204
+ instanceIdentity:
205
+ - :structure:
206
+ document:
207
+ - :string
208
+ signature:
209
+ - :string
210
+ :outputs:
211
+ taskObject:
212
+ :sym: :task_object
213
+ :type: :hash
214
+ :members:
215
+ taskId:
216
+ :sym: :task_id
217
+ :type: :string
218
+ pipelineId:
219
+ :sym: :pipeline_id
220
+ :type: :string
221
+ attemptId:
222
+ :sym: :attempt_id
223
+ :type: :string
224
+ objects:
225
+ :sym: :objects
226
+ :type: :map
227
+ :members:
228
+ :sym: :map_value
229
+ :type: :hash
230
+ :members:
231
+ id:
232
+ :sym: :id
233
+ :type: :string
234
+ name:
235
+ :sym: :name
236
+ :type: :string
237
+ fields:
238
+ :sym: :fields
239
+ :type: :hash
240
+ :members:
241
+ key:
242
+ :sym: :key
243
+ :type: :string
244
+ stringValue:
245
+ :sym: :string_value
246
+ :type: :string
247
+ refValue:
248
+ :sym: :ref_value
249
+ :type: :string
250
+ - :name: PutPipelineDefinition
251
+ :method: :put_pipeline_definition
252
+ :inputs:
253
+ pipelineId:
254
+ - :string
255
+ - :required
256
+ pipelineObjects:
257
+ - :list:
258
+ - :structure:
259
+ id:
260
+ - :string
261
+ - :required
262
+ name:
263
+ - :string
264
+ - :required
265
+ fields:
266
+ - :list:
267
+ - :structure:
268
+ key:
269
+ - :string
270
+ - :required
271
+ stringValue:
272
+ - :string
273
+ refValue:
274
+ - :string
275
+ - :required
276
+ - :required
277
+ :outputs:
278
+ validationErrors:
279
+ :sym: :validation_errors
280
+ :type: :hash
281
+ :members:
282
+ id:
283
+ :sym: :id
284
+ :type: :string
285
+ errors:
286
+ :sym: :errors
287
+ :type: :string
288
+ errored:
289
+ :sym: :errored
290
+ :type: :boolean
291
+ - :name: QueryObjects
292
+ :method: :query_objects
293
+ :inputs:
294
+ pipelineId:
295
+ - :string
296
+ - :required
297
+ query:
298
+ - :structure:
299
+ selectors:
300
+ - :list:
301
+ - :structure:
302
+ fieldName:
303
+ - :string
304
+ operator:
305
+ - :structure:
306
+ type:
307
+ - :string
308
+ values:
309
+ - :list:
310
+ - :string
311
+ sphere:
312
+ - :string
313
+ - :required
314
+ marker:
315
+ - :string
316
+ limit:
317
+ - :integer
318
+ :outputs:
319
+ ids:
320
+ :sym: :ids
321
+ :type: :string
322
+ marker:
323
+ :sym: :marker
324
+ :type: :string
325
+ hasMoreResults:
326
+ :sym: :has_more_results
327
+ :type: :boolean
328
+ - :name: ReportTaskProgress
329
+ :method: :report_task_progress
330
+ :inputs:
331
+ taskId:
332
+ - :string
333
+ - :required
334
+ :outputs:
335
+ canceled:
336
+ :sym: :canceled
337
+ :type: :boolean
338
+ - :name: ReportTaskRunnerHeartbeat
339
+ :method: :report_task_runner_heartbeat
340
+ :inputs:
341
+ taskrunnerId:
342
+ - :string
343
+ - :required
344
+ workerGroup:
345
+ - :string
346
+ hostname:
347
+ - :string
348
+ :outputs:
349
+ terminate:
350
+ :sym: :terminate
351
+ :type: :boolean
352
+ - :name: SetStatus
353
+ :method: :set_status
354
+ :inputs:
355
+ pipelineId:
356
+ - :string
357
+ - :required
358
+ objectIds:
359
+ - :list:
360
+ - :string
361
+ - :required
362
+ status:
363
+ - :string
364
+ - :required
365
+ :outputs: {}
366
+ - :name: SetTaskStatus
367
+ :method: :set_task_status
368
+ :inputs:
369
+ taskId:
370
+ - :string
371
+ - :required
372
+ taskStatus:
373
+ - :string
374
+ - :required
375
+ errorCode:
376
+ - :integer
377
+ errorMessage:
378
+ - :string
379
+ errorStackTrace:
380
+ - :string
381
+ :outputs: {}
382
+ - :name: ValidatePipelineDefinition
383
+ :method: :validate_pipeline_definition
384
+ :inputs:
385
+ pipelineId:
386
+ - :string
387
+ - :required
388
+ pipelineObjects:
389
+ - :list:
390
+ - :structure:
391
+ id:
392
+ - :string
393
+ - :required
394
+ name:
395
+ - :string
396
+ - :required
397
+ fields:
398
+ - :list:
399
+ - :structure:
400
+ key:
401
+ - :string
402
+ - :required
403
+ stringValue:
404
+ - :string
405
+ refValue:
406
+ - :string
407
+ - :required
408
+ - :required
409
+ :outputs:
410
+ validationErrors:
411
+ :sym: :validation_errors
412
+ :type: :hash
413
+ :members:
414
+ id:
415
+ :sym: :id
416
+ :type: :string
417
+ errors:
418
+ :sym: :errors
419
+ :type: :string
420
+ errored:
421
+ :sym: :errored
422
+ :type: :boolean
@@ -2373,8 +2373,6 @@
2373
2373
  item:
2374
2374
  :rename: :ip_ranges
2375
2375
  :list: true
2376
- ipProtocol:
2377
- :type: :symbol
2378
2376
  ipPermissionsEgress:
2379
2377
  :ignore: true
2380
2378
  :children:
@@ -0,0 +1,622 @@
1
+ # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ ---
15
+ :api_version: '2012-06-01'
16
+ :operations:
17
+ - :name: AbortMultipartUpload
18
+ :method: :abort_multipart_upload
19
+ :http:
20
+ :verb: DELETE
21
+ :uri: /:account_id/vaults/:vault_name/multipart-uploads/:upload_id
22
+ :response_code: 204
23
+ :inputs:
24
+ :account_id:
25
+ :type: :string
26
+ :required: true
27
+ :vault_name:
28
+ :type: :string
29
+ :required: true
30
+ :upload_id:
31
+ :type: :string
32
+ :required: true
33
+ :outputs: {}
34
+ - :name: CompleteMultipartUpload
35
+ :method: :complete_multipart_upload
36
+ :http:
37
+ :verb: POST
38
+ :uri: /:account_id/vaults/:vault_name/multipart-uploads/:upload_id
39
+ :request_headers:
40
+ :archive_size: x-amz-archive-size
41
+ :checksum: x-amz-sha256-tree-hash
42
+ :content_sha256: x-amz-content-sha256
43
+ :response_code: 201
44
+ :response_headers:
45
+ :location: Location
46
+ :checksum: x-amz-sha256-tree-hash
47
+ :archive_id: x-amz-archive-id
48
+ :inputs:
49
+ :account_id:
50
+ :type: :string
51
+ :required: true
52
+ :vault_name:
53
+ :type: :string
54
+ :required: true
55
+ :upload_id:
56
+ :type: :string
57
+ :required: true
58
+ :archive_size:
59
+ :type: :integer
60
+ :checksum:
61
+ :type: :string
62
+ :required: true
63
+ :content_sha256:
64
+ :type: :string
65
+ :outputs: {}
66
+ - :name: CreateVault
67
+ :method: :create_vault
68
+ :http:
69
+ :verb: PUT
70
+ :uri: /:account_id/vaults/:vault_name
71
+ :response_code: 201
72
+ :response_headers:
73
+ :location: Location
74
+ :inputs:
75
+ :account_id:
76
+ :type: :string
77
+ :required: true
78
+ :vault_name:
79
+ :type: :string
80
+ :required: true
81
+ :outputs: {}
82
+ - :name: DeleteArchive
83
+ :method: :delete_archive
84
+ :http:
85
+ :verb: DELETE
86
+ :uri: /:account_id/vaults/:vault_name/archives/:archive_id
87
+ :response_code: 204
88
+ :inputs:
89
+ :account_id:
90
+ :type: :string
91
+ :required: true
92
+ :vault_name:
93
+ :type: :string
94
+ :required: true
95
+ :archive_id:
96
+ :type: :string
97
+ :required: true
98
+ :outputs: {}
99
+ - :name: DeleteVault
100
+ :method: :delete_vault
101
+ :http:
102
+ :verb: DELETE
103
+ :uri: /:account_id/vaults/:vault_name
104
+ :response_code: 204
105
+ :inputs:
106
+ :account_id:
107
+ :type: :string
108
+ :required: true
109
+ :vault_name:
110
+ :type: :string
111
+ :required: true
112
+ :outputs: {}
113
+ - :name: DeleteVaultNotifications
114
+ :method: :delete_vault_notifications
115
+ :http:
116
+ :verb: DELETE
117
+ :uri: /:account_id/vaults/:vault_name/notification-configuration
118
+ :response_code: 204
119
+ :inputs:
120
+ :account_id:
121
+ :type: :string
122
+ :required: true
123
+ :vault_name:
124
+ :type: :string
125
+ :required: true
126
+ :outputs: {}
127
+ - :name: DescribeJob
128
+ :method: :describe_job
129
+ :http:
130
+ :verb: GET
131
+ :uri: /:account_id/vaults/:vault_name/jobs/:job_id
132
+ :inputs:
133
+ :account_id:
134
+ :type: :string
135
+ :required: true
136
+ :vault_name:
137
+ :type: :string
138
+ :required: true
139
+ :job_id:
140
+ :type: :string
141
+ :required: true
142
+ :outputs:
143
+ JobId:
144
+ :sym: :job_id
145
+ :type: :string
146
+ JobDescription:
147
+ :sym: :job_description
148
+ :type: :string
149
+ Action:
150
+ :sym: :action
151
+ :type: :string
152
+ ArchiveId:
153
+ :sym: :archive_id
154
+ :type: :string
155
+ VaultARN:
156
+ :sym: :vault_arn
157
+ :type: :string
158
+ CreationDate:
159
+ :sym: :creation_date
160
+ :type: :string
161
+ Completed:
162
+ :sym: :completed
163
+ :type: :boolean
164
+ StatusCode:
165
+ :sym: :status_code
166
+ :type: :string
167
+ StatusMessage:
168
+ :sym: :status_message
169
+ :type: :string
170
+ ArchiveSizeInBytes:
171
+ :sym: :archive_size_in_bytes
172
+ :type: :integer
173
+ InventorySizeInBytes:
174
+ :sym: :inventory_size_in_bytes
175
+ :type: :integer
176
+ SNSTopic:
177
+ :sym: :sns_topic
178
+ :type: :string
179
+ CompletionDate:
180
+ :sym: :completion_date
181
+ :type: :string
182
+ SHA256TreeHash:
183
+ :sym: :sha256_tree_hash
184
+ :type: :string
185
+ - :name: DescribeVault
186
+ :method: :describe_vault
187
+ :http:
188
+ :verb: GET
189
+ :uri: /:account_id/vaults/:vault_name
190
+ :inputs:
191
+ :account_id:
192
+ :type: :string
193
+ :required: true
194
+ :vault_name:
195
+ :type: :string
196
+ :required: true
197
+ :outputs:
198
+ VaultARN:
199
+ :sym: :vault_arn
200
+ :type: :string
201
+ VaultName:
202
+ :sym: :vault_name
203
+ :type: :string
204
+ CreationDate:
205
+ :sym: :creation_date
206
+ :type: :string
207
+ LastInventoryDate:
208
+ :sym: :last_inventory_date
209
+ :type: :string
210
+ NumberOfArchives:
211
+ :sym: :number_of_archives
212
+ :type: :integer
213
+ SizeInBytes:
214
+ :sym: :size_in_bytes
215
+ :type: :integer
216
+ - :name: GetJobOutput
217
+ :method: :get_job_output
218
+ :http:
219
+ :verb: GET
220
+ :uri: /:account_id/vaults/:vault_name/jobs/:job_id/output
221
+ :request_headers:
222
+ :range: Range
223
+ :response_payload: :body
224
+ :response_headers:
225
+ :checksum: x-amz-sha256-tree-hash
226
+ :content_range: Content-Range
227
+ :accept_ranges: Accept-Ranges
228
+ :content_type: Content-Type
229
+ :archive_description: x-amz-archive-description
230
+ :response_status: status
231
+ :inputs:
232
+ :account_id:
233
+ :type: :string
234
+ :required: true
235
+ :vault_name:
236
+ :type: :string
237
+ :required: true
238
+ :job_id:
239
+ :type: :string
240
+ :required: true
241
+ :range:
242
+ :type: :string
243
+ :outputs: {}
244
+ - :name: GetVaultNotifications
245
+ :method: :get_vault_notifications
246
+ :http:
247
+ :verb: GET
248
+ :uri: /:account_id/vaults/:vault_name/notification-configuration
249
+ :inputs:
250
+ :account_id:
251
+ :type: :string
252
+ :required: true
253
+ :vault_name:
254
+ :type: :string
255
+ :required: true
256
+ :outputs:
257
+ vaultNotificationConfig:
258
+ :sym: :vault_notification_config
259
+ :type: :hash
260
+ :members:
261
+ SNSTopic:
262
+ :sym: :sns_topic
263
+ :type: :string
264
+ Events:
265
+ :sym: :events
266
+ :type: :string
267
+ - :name: InitiateJob
268
+ :method: :initiate_job
269
+ :http:
270
+ :verb: POST
271
+ :uri: /:account_id/vaults/:vault_name/jobs
272
+ :request_payload: :job_parameters
273
+ :response_code: 202
274
+ :response_headers:
275
+ :location: Location
276
+ :job_id: x-amz-job-id
277
+ :inputs:
278
+ :account_id:
279
+ :type: :string
280
+ :required: true
281
+ :vault_name:
282
+ :type: :string
283
+ :required: true
284
+ :job_parameters:
285
+ :name: jobParameters
286
+ :type: :hash
287
+ :required: true
288
+ :members:
289
+ :format:
290
+ :name: Format
291
+ :type: :string
292
+ :type:
293
+ :name: Type
294
+ :type: :string
295
+ :archive_id:
296
+ :name: ArchiveId
297
+ :type: :string
298
+ :description:
299
+ :name: Description
300
+ :type: :string
301
+ :sns_topic:
302
+ :name: SNSTopic
303
+ :type: :string
304
+ :outputs: {}
305
+ - :name: InitiateMultipartUpload
306
+ :method: :initiate_multipart_upload
307
+ :http:
308
+ :verb: POST
309
+ :uri: /:account_id/vaults/:vault_name/multipart-uploads
310
+ :request_headers:
311
+ :archive_description: x-amz-archive-description
312
+ :part_size: x-amz-part-size
313
+ :response_code: 201
314
+ :response_headers:
315
+ :location: Location
316
+ :upload_id: x-amz-multipart-upload-id
317
+ :inputs:
318
+ :account_id:
319
+ :type: :string
320
+ :required: true
321
+ :vault_name:
322
+ :type: :string
323
+ :required: true
324
+ :archive_description:
325
+ :type: :string
326
+ :part_size:
327
+ :type: :integer
328
+ :outputs: {}
329
+ - :name: ListJobs
330
+ :method: :list_jobs
331
+ :http:
332
+ :verb: GET
333
+ :uri: /:account_id/vaults/:vault_name/jobs?marker=:marker;limit=:limit;completed=:completed;statuscode=:statuscode
334
+ :inputs:
335
+ :account_id:
336
+ :type: :string
337
+ :required: true
338
+ :vault_name:
339
+ :type: :string
340
+ :required: true
341
+ :limit:
342
+ :type: :integer
343
+ :marker:
344
+ :type: :string
345
+ :statuscode:
346
+ :type: :string
347
+ :completed:
348
+ :type: :string
349
+ :outputs:
350
+ JobList:
351
+ :sym: :job_list
352
+ :type: :hash
353
+ :members:
354
+ JobId:
355
+ :sym: :job_id
356
+ :type: :string
357
+ JobDescription:
358
+ :sym: :job_description
359
+ :type: :string
360
+ Action:
361
+ :sym: :action
362
+ :type: :string
363
+ ArchiveId:
364
+ :sym: :archive_id
365
+ :type: :string
366
+ VaultARN:
367
+ :sym: :vault_arn
368
+ :type: :string
369
+ CreationDate:
370
+ :sym: :creation_date
371
+ :type: :string
372
+ Completed:
373
+ :sym: :completed
374
+ :type: :boolean
375
+ StatusCode:
376
+ :sym: :status_code
377
+ :type: :string
378
+ StatusMessage:
379
+ :sym: :status_message
380
+ :type: :string
381
+ ArchiveSizeInBytes:
382
+ :sym: :archive_size_in_bytes
383
+ :type: :integer
384
+ InventorySizeInBytes:
385
+ :sym: :inventory_size_in_bytes
386
+ :type: :integer
387
+ SNSTopic:
388
+ :sym: :sns_topic
389
+ :type: :string
390
+ CompletionDate:
391
+ :sym: :completion_date
392
+ :type: :string
393
+ SHA256TreeHash:
394
+ :sym: :sha256_tree_hash
395
+ :type: :string
396
+ Marker:
397
+ :sym: :marker
398
+ :type: :string
399
+ - :name: ListMultipartUploads
400
+ :method: :list_multipart_uploads
401
+ :http:
402
+ :verb: GET
403
+ :uri: /:account_id/vaults/:vault_name/multipart-uploads?marker=:upload_id_marker;limit=:limit
404
+ :inputs:
405
+ :account_id:
406
+ :type: :string
407
+ :required: true
408
+ :vault_name:
409
+ :type: :string
410
+ :required: true
411
+ :upload_id_marker:
412
+ :type: :string
413
+ :limit:
414
+ :type: :integer
415
+ :outputs:
416
+ UploadsList:
417
+ :sym: :uploads_list
418
+ :type: :hash
419
+ :members:
420
+ MultipartUploadId:
421
+ :sym: :multipart_upload_id
422
+ :type: :string
423
+ VaultARN:
424
+ :sym: :vault_arn
425
+ :type: :string
426
+ ArchiveDescription:
427
+ :sym: :archive_description
428
+ :type: :string
429
+ PartSizeInBytes:
430
+ :sym: :part_size_in_bytes
431
+ :type: :integer
432
+ CreationDate:
433
+ :sym: :creation_date
434
+ :type: :string
435
+ Marker:
436
+ :sym: :marker
437
+ :type: :string
438
+ - :name: ListParts
439
+ :method: :list_parts
440
+ :http:
441
+ :verb: GET
442
+ :uri: /:account_id/vaults/:vault_name/multipart-uploads/:upload_id?marker=:marker;limit=:limit
443
+ :inputs:
444
+ :account_id:
445
+ :type: :string
446
+ :required: true
447
+ :vault_name:
448
+ :type: :string
449
+ :required: true
450
+ :upload_id:
451
+ :type: :string
452
+ :required: true
453
+ :marker:
454
+ :type: :string
455
+ :limit:
456
+ :type: :integer
457
+ :outputs:
458
+ MultipartUploadId:
459
+ :sym: :multipart_upload_id
460
+ :type: :string
461
+ VaultARN:
462
+ :sym: :vault_arn
463
+ :type: :string
464
+ ArchiveDescription:
465
+ :sym: :archive_description
466
+ :type: :string
467
+ PartSizeInBytes:
468
+ :sym: :part_size_in_bytes
469
+ :type: :integer
470
+ CreationDate:
471
+ :sym: :creation_date
472
+ :type: :string
473
+ Parts:
474
+ :sym: :parts
475
+ :type: :hash
476
+ :members:
477
+ RangeInBytes:
478
+ :sym: :range_in_bytes
479
+ :type: :string
480
+ SHA256TreeHash:
481
+ :sym: :sha256_tree_hash
482
+ :type: :string
483
+ Marker:
484
+ :sym: :marker
485
+ :type: :string
486
+ - :name: ListVaults
487
+ :method: :list_vaults
488
+ :http:
489
+ :verb: GET
490
+ :uri: /:account_id/vaults?marker=:marker;limit=:limit
491
+ :inputs:
492
+ :account_id:
493
+ :type: :string
494
+ :required: true
495
+ :marker:
496
+ :type: :string
497
+ :limit:
498
+ :type: :integer
499
+ :outputs:
500
+ VaultList:
501
+ :sym: :vault_list
502
+ :type: :hash
503
+ :members:
504
+ VaultARN:
505
+ :sym: :vault_arn
506
+ :type: :string
507
+ VaultName:
508
+ :sym: :vault_name
509
+ :type: :string
510
+ CreationDate:
511
+ :sym: :creation_date
512
+ :type: :string
513
+ LastInventoryDate:
514
+ :sym: :last_inventory_date
515
+ :type: :string
516
+ NumberOfArchives:
517
+ :sym: :number_of_archives
518
+ :type: :integer
519
+ SizeInBytes:
520
+ :sym: :size_in_bytes
521
+ :type: :integer
522
+ Marker:
523
+ :sym: :marker
524
+ :type: :string
525
+ - :name: SetVaultNotifications
526
+ :method: :set_vault_notifications
527
+ :http:
528
+ :verb: PUT
529
+ :uri: /:account_id/vaults/:vault_name/notification-configuration
530
+ :request_payload: :vault_notification_config
531
+ :response_code: 204
532
+ :inputs:
533
+ :account_id:
534
+ :type: :string
535
+ :required: true
536
+ :vault_name:
537
+ :type: :string
538
+ :required: true
539
+ :vault_notification_config:
540
+ :name: vaultNotificationConfig
541
+ :type: :hash
542
+ :required: true
543
+ :members:
544
+ :sns_topic:
545
+ :name: SNSTopic
546
+ :type: :string
547
+ :events:
548
+ :name: Events
549
+ :type: :array
550
+ :members:
551
+ :name: member
552
+ :type: :string
553
+ :outputs: {}
554
+ - :name: UploadArchive
555
+ :method: :upload_archive
556
+ :http:
557
+ :verb: POST
558
+ :uri: /:account_id/vaults/:vault_name/archives
559
+ :request_headers:
560
+ :archive_description: x-amz-archive-description
561
+ :checksum: x-amz-sha256-tree-hash
562
+ :content_sha256: x-amz-content-sha256
563
+ :request_payload: :body
564
+ :response_code: 201
565
+ :response_headers:
566
+ :location: Location
567
+ :checksum: x-amz-sha256-tree-hash
568
+ :archive_id: x-amz-archive-id
569
+ :inputs:
570
+ :vault_name:
571
+ :type: :string
572
+ :required: true
573
+ :account_id:
574
+ :type: :string
575
+ :required: true
576
+ :archive_description:
577
+ :type: :string
578
+ :checksum:
579
+ :type: :string
580
+ :required: true
581
+ :body:
582
+ :name: body
583
+ :type: :blob
584
+ :required: true
585
+ :content_sha256:
586
+ :type: :string
587
+ :outputs: {}
588
+ - :name: UploadMultipartPart
589
+ :method: :upload_multipart_part
590
+ :http:
591
+ :verb: PUT
592
+ :uri: /:account_id/vaults/:vault_name/multipart-uploads/:upload_id
593
+ :request_headers:
594
+ :checksum: x-amz-sha256-tree-hash
595
+ :range: Content-Range
596
+ :content_sha256: x-amz-content-sha256
597
+ :request_payload: :body
598
+ :response_code: 204
599
+ :response_headers:
600
+ :checksum: x-amz-sha256-tree-hash
601
+ :inputs:
602
+ :account_id:
603
+ :type: :string
604
+ :required: true
605
+ :vault_name:
606
+ :type: :string
607
+ :required: true
608
+ :upload_id:
609
+ :type: :string
610
+ :required: true
611
+ :checksum:
612
+ :type: :string
613
+ :required: true
614
+ :range:
615
+ :type: :string
616
+ :body:
617
+ :name: body
618
+ :type: :blob
619
+ :required: true
620
+ :content_sha256:
621
+ :type: :string
622
+ :outputs: {}