aws-sdk 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +3 -3
- data/lib/aws/api_config/OpsWorks-2013-02-18.yml +55 -0
- data/lib/aws/api_config/SNS-2010-03-31.yml +0 -3
- data/lib/aws/api_config/SimpleWorkflow-2012-01-25.yml +30 -0
- data/lib/aws/auto_scaling/client.rb +0 -530
- data/lib/aws/cloud_formation/client.rb +0 -356
- data/lib/aws/cloud_front/client.rb +0 -1567
- data/lib/aws/cloud_search/client.rb +0 -578
- data/lib/aws/cloud_watch/client.rb +0 -445
- data/lib/aws/data_pipeline/client.rb +0 -396
- data/lib/aws/direct_connect/client.rb +0 -248
- data/lib/aws/dynamo_db.rb +0 -1
- data/lib/aws/dynamo_db/client.rb +70 -1
- data/lib/aws/dynamo_db/client_v2.rb +1 -1
- data/lib/aws/ec2/client.rb +0 -3942
- data/lib/aws/ec2/reserved_instances_offering_collection.rb +9 -3
- data/lib/aws/ec2/tag_collection.rb +1 -1
- data/lib/aws/elastic_beanstalk/client.rb +0 -898
- data/lib/aws/elastic_transcoder/client.rb +0 -1755
- data/lib/aws/elasticache/client.rb +0 -947
- data/lib/aws/elb/client.rb +0 -509
- data/lib/aws/emr/client.rb +0 -314
- data/lib/aws/glacier/client.rb +0 -278
- data/lib/aws/iam/client.rb +0 -1155
- data/lib/aws/import_export/client.rb +0 -96
- data/lib/aws/ops_works/client.rb +0 -1255
- data/lib/aws/rds/client.rb +0 -2367
- data/lib/aws/redshift/client.rb +0 -1458
- data/lib/aws/route_53/client.rb +0 -420
- data/lib/aws/simple_db/client.rb +2 -250
- data/lib/aws/simple_email_service/client.rb +0 -282
- data/lib/aws/simple_workflow/client.rb +0 -1248
- data/lib/aws/sns/client.rb +0 -283
- data/lib/aws/sns/message.rb +1 -1
- data/lib/aws/sqs/client.rb +0 -255
- data/lib/aws/storage_gateway/client.rb +0 -582
- data/lib/aws/sts/client.rb +0 -183
- data/lib/aws/support/client.rb +0 -232
- data/lib/aws/version.rb +1 -1
- metadata +2 -3
- data/lib/aws/dynamo_db/client_base.rb +0 -92
data/lib/aws/emr/client.rb
CHANGED
@@ -26,320 +26,6 @@ module AWS
|
|
26
26
|
|
27
27
|
class Client::V20090331 < Client
|
28
28
|
|
29
|
-
# client methods #
|
30
|
-
|
31
|
-
# @!method add_instance_groups(options = {})
|
32
|
-
# Calls the AddInstanceGroups API operation.
|
33
|
-
# @param [Hash] options
|
34
|
-
#
|
35
|
-
# * `:instance_groups` - *required* - (Array<Hash>) Instance Groups to
|
36
|
-
# add.
|
37
|
-
# * `:name` - (String) Friendly name given to the instance group.
|
38
|
-
# * `:market` - (String) Market type of the Amazon EC2 instances used
|
39
|
-
# to create a cluster node.
|
40
|
-
# * `:instance_role` - *required* - (String) The role of the instance
|
41
|
-
# group in the cluster.
|
42
|
-
# * `:bid_price` - (String) Bid price for each Amazon EC2 instance in
|
43
|
-
# the instance group when launching nodes as Spot Instances,
|
44
|
-
# expressed in USD.
|
45
|
-
# * `:instance_type` - *required* - (String) The Amazon EC2 instance
|
46
|
-
# type for all instances in the instance group.
|
47
|
-
# * `:instance_count` - *required* - (Integer) Target number of
|
48
|
-
# instances for the instance group.
|
49
|
-
# * `:job_flow_id` - *required* - (String) Job flow in which to add the
|
50
|
-
# instance groups.
|
51
|
-
# @return [Core::Response]
|
52
|
-
# The #data method of the response object returns
|
53
|
-
# a hash with the following structure:
|
54
|
-
#
|
55
|
-
# * `:job_flow_id` - (String)
|
56
|
-
# * `:instance_group_ids` - (Array<String>)
|
57
|
-
|
58
|
-
# @!method add_job_flow_steps(options = {})
|
59
|
-
# Calls the AddJobFlowSteps API operation.
|
60
|
-
# @param [Hash] options
|
61
|
-
#
|
62
|
-
# * `:job_flow_id` - *required* - (String) A string that uniquely
|
63
|
-
# identifies the job flow. This identifier is returned by RunJobFlow
|
64
|
-
# and can also be obtained from DescribeJobFlows.
|
65
|
-
# * `:steps` - *required* - (Array<Hash>) A list of StepConfig to be
|
66
|
-
# executed by the job flow.
|
67
|
-
# * `:name` - *required* - (String) The name of the job flow step.
|
68
|
-
# * `:action_on_failure` - (String) Specifies the action to take if
|
69
|
-
# the job flow step fails.
|
70
|
-
# * `:hadoop_jar_step` - *required* - (Hash) Specifies the JAR file
|
71
|
-
# used for the job flow step.
|
72
|
-
# * `:properties` - (Array<Hash>) A list of Java properties that
|
73
|
-
# are set when the step runs. You can use these properties to
|
74
|
-
# pass key value pairs to your main function.
|
75
|
-
# * `:key` - (String) The unique identifier of a key value pair.
|
76
|
-
# * `:value` - (String) The value part of the identified key.
|
77
|
-
# * `:jar` - *required* - (String) A path to a JAR file run during
|
78
|
-
# the step.
|
79
|
-
# * `:main_class` - (String) The name of the main class in the
|
80
|
-
# specified Java file. If not specified, the JAR file should
|
81
|
-
# specify a Main-Class in its manifest file.
|
82
|
-
# * `:args` - (Array<String>) A list of command line arguments
|
83
|
-
# passed to the JAR file's main function when executed.
|
84
|
-
# @return [Core::Response]
|
85
|
-
|
86
|
-
# @!method describe_job_flows(options = {})
|
87
|
-
# Calls the DescribeJobFlows API operation.
|
88
|
-
# @param [Hash] options
|
89
|
-
#
|
90
|
-
# * `:created_after` - (String<ISO8601 datetime>) Return only job flows
|
91
|
-
# created after this date and time.
|
92
|
-
# * `:created_before` - (String<ISO8601 datetime>) Return only job
|
93
|
-
# flows created before this date and time.
|
94
|
-
# * `:job_flow_ids` - (Array<String>) Return only job flows whose job
|
95
|
-
# flow ID is contained in this list.
|
96
|
-
# * `:job_flow_states` - (Array<String>) Return only job flows whose
|
97
|
-
# state is contained in this list.
|
98
|
-
# @return [Core::Response]
|
99
|
-
# The #data method of the response object returns
|
100
|
-
# a hash with the following structure:
|
101
|
-
#
|
102
|
-
# * `:job_flows` - (Array<Hash>)
|
103
|
-
# * `:job_flow_id` - (String)
|
104
|
-
# * `:name` - (String)
|
105
|
-
# * `:log_uri` - (String)
|
106
|
-
# * `:ami_version` - (String)
|
107
|
-
# * `:execution_status_detail` - (Hash)
|
108
|
-
# * `:state` - (String)
|
109
|
-
# * `:creation_date_time` - (Time)
|
110
|
-
# * `:start_date_time` - (Time)
|
111
|
-
# * `:ready_date_time` - (Time)
|
112
|
-
# * `:end_date_time` - (Time)
|
113
|
-
# * `:last_state_change_reason` - (String)
|
114
|
-
# * `:instances` - (Hash)
|
115
|
-
# * `:master_instance_type` - (String)
|
116
|
-
# * `:master_public_dns_name` - (String)
|
117
|
-
# * `:master_instance_id` - (String)
|
118
|
-
# * `:slave_instance_type` - (String)
|
119
|
-
# * `:instance_count` - (Integer)
|
120
|
-
# * `:instance_groups` - (Array<Hash>)
|
121
|
-
# * `:instance_group_id` - (String)
|
122
|
-
# * `:name` - (String)
|
123
|
-
# * `:market` - (String)
|
124
|
-
# * `:instance_role` - (String)
|
125
|
-
# * `:bid_price` - (String)
|
126
|
-
# * `:instance_type` - (String)
|
127
|
-
# * `:instance_request_count` - (Integer)
|
128
|
-
# * `:instance_running_count` - (Integer)
|
129
|
-
# * `:state` - (String)
|
130
|
-
# * `:last_state_change_reason` - (String)
|
131
|
-
# * `:creation_date_time` - (Time)
|
132
|
-
# * `:start_date_time` - (Time)
|
133
|
-
# * `:ready_date_time` - (Time)
|
134
|
-
# * `:end_date_time` - (Time)
|
135
|
-
# * `:normalized_instance_hours` - (Integer)
|
136
|
-
# * `:ec2_key_name` - (String)
|
137
|
-
# * `:ec2_subnet_id` - (String)
|
138
|
-
# * `:placement` - (Hash)
|
139
|
-
# * `:availability_zone` - (String)
|
140
|
-
# * `:keep_job_flow_alive_when_no_steps` - (Boolean)
|
141
|
-
# * `:termination_protected` - (Boolean)
|
142
|
-
# * `:hadoop_version` - (String)
|
143
|
-
# * `:steps` - (Array<Hash>)
|
144
|
-
# * `:step_config` - (Hash)
|
145
|
-
# * `:name` - (String)
|
146
|
-
# * `:action_on_failure` - (String)
|
147
|
-
# * `:hadoop_jar_step` - (Hash)
|
148
|
-
# * `:properties` - (Array<Hash>)
|
149
|
-
# * `:key` - (String)
|
150
|
-
# * `:value` - (String)
|
151
|
-
# * `:jar` - (String)
|
152
|
-
# * `:main_class` - (String)
|
153
|
-
# * `:args` - (Array<String>)
|
154
|
-
# * `:execution_status_detail` - (Hash)
|
155
|
-
# * `:state` - (String)
|
156
|
-
# * `:creation_date_time` - (Time)
|
157
|
-
# * `:start_date_time` - (Time)
|
158
|
-
# * `:end_date_time` - (Time)
|
159
|
-
# * `:last_state_change_reason` - (String)
|
160
|
-
# * `:bootstrap_actions` - (Array<Hash>)
|
161
|
-
# * `:bootstrap_action_config` - (Hash)
|
162
|
-
# * `:name` - (String)
|
163
|
-
# * `:script_bootstrap_action` - (Hash)
|
164
|
-
# * `:path` - (String)
|
165
|
-
# * `:args` - (Array<String>)
|
166
|
-
# * `:supported_products` - (Array<String>)
|
167
|
-
# * `:visible_to_all_users` - (Boolean)
|
168
|
-
# * `:job_flow_role` - (String)
|
169
|
-
|
170
|
-
# @!method modify_instance_groups(options = {})
|
171
|
-
# Calls the ModifyInstanceGroups API operation.
|
172
|
-
# @param [Hash] options
|
173
|
-
#
|
174
|
-
# * `:instance_groups` - (Array<Hash>) Instance groups to change.
|
175
|
-
# * `:instance_group_id` - *required* - (String) Unique ID of the
|
176
|
-
# instance group to expand or shrink.
|
177
|
-
# * `:instance_count` - *required* - (Integer) Target size for the
|
178
|
-
# instance group.
|
179
|
-
# @return [Core::Response]
|
180
|
-
|
181
|
-
# @!method run_job_flow(options = {})
|
182
|
-
# Calls the RunJobFlow API operation.
|
183
|
-
# @param [Hash] options
|
184
|
-
#
|
185
|
-
# * `:name` - *required* - (String) The name of the job flow.
|
186
|
-
# * `:log_uri` - (String) Specifies the location in Amazon S3 to write
|
187
|
-
# the log files of the job flow. If a value is not provided, logs are
|
188
|
-
# not created.
|
189
|
-
# * `:additional_info` - (String) A JSON string for selecting
|
190
|
-
# additional features.
|
191
|
-
# * `:ami_version` - (String) The version of the Amazon Machine Image
|
192
|
-
# (AMI) to use when launching Amazon EC2 instances in the job flow.
|
193
|
-
# The following values are valid: "latest" (uses the latest AMI) The
|
194
|
-
# version number of the AMI to use, for example, "2.0" If this value
|
195
|
-
# is not specified, the job flow uses the default of (AMI 1.0, Hadoop
|
196
|
-
# 0.18). If the AMI supports multiple versions of Hadoop (for
|
197
|
-
# example, AMI 1.0 supports both Hadoop 0.18 and 0.20) you can use
|
198
|
-
# the JobFlowInstancesConfig HadoopVersion parameter to modify the
|
199
|
-
# version of Hadoop from the defaults shown above. For details about
|
200
|
-
# the AMI versions currently supported by Amazon ElasticMapReduce, go
|
201
|
-
# to AMI Versions Supported in Elastic MapReduce in the Amazon
|
202
|
-
# Elastic MapReduce Developer's Guide.
|
203
|
-
# * `:instances` - *required* - (Hash) A specification of the number
|
204
|
-
# and type of Amazon EC2 instances on which to run the job flow.
|
205
|
-
# * `:master_instance_type` - (String) The EC2 instance type of the
|
206
|
-
# master node.
|
207
|
-
# * `:slave_instance_type` - (String) The EC2 instance type of the
|
208
|
-
# slave nodes.
|
209
|
-
# * `:instance_count` - (Integer) The number of Amazon EC2 instances
|
210
|
-
# used to execute the job flow.
|
211
|
-
# * `:instance_groups` - (Array<Hash>) Configuration for the job
|
212
|
-
# flow's instance groups.
|
213
|
-
# * `:name` - (String) Friendly name given to the instance group.
|
214
|
-
# * `:market` - (String) Market type of the Amazon EC2 instances
|
215
|
-
# used to create a cluster node.
|
216
|
-
# * `:instance_role` - *required* - (String) The role of the
|
217
|
-
# instance group in the cluster.
|
218
|
-
# * `:bid_price` - (String) Bid price for each Amazon EC2 instance
|
219
|
-
# in the instance group when launching nodes as Spot Instances,
|
220
|
-
# expressed in USD.
|
221
|
-
# * `:instance_type` - *required* - (String) The Amazon EC2
|
222
|
-
# instance type for all instances in the instance group.
|
223
|
-
# * `:instance_count` - *required* - (Integer) Target number of
|
224
|
-
# instances for the instance group.
|
225
|
-
# * `:ec2_key_name` - (String) Specifies the name of the Amazon EC2
|
226
|
-
# key pair that can be used to ssh to the master node as the user
|
227
|
-
# called "hadoop."
|
228
|
-
# * `:placement` - (Hash) Specifies the Availability Zone the job
|
229
|
-
# flow will run in.
|
230
|
-
# * `:availability_zone` - *required* - (String) The Amazon EC2
|
231
|
-
# Availability Zone for the job flow.
|
232
|
-
# * `:keep_job_flow_alive_when_no_steps` - (Boolean) Specifies
|
233
|
-
# whether the job flow should terminate after completing all steps.
|
234
|
-
# * `:termination_protected` - (Boolean) Specifies whether to lock
|
235
|
-
# the job flow to prevent the Amazon EC2 instances from being
|
236
|
-
# terminated by API call, user intervention, or in the event of a
|
237
|
-
# job flow error.
|
238
|
-
# * `:hadoop_version` - (String) Specifies the Hadoop version for the
|
239
|
-
# job flow. Valid inputs are "0.18", "0.20", or "0.20.205". If you
|
240
|
-
# do not set this value, the default of 0.18 is used, unless the
|
241
|
-
# AmiVersion parameter is set in the RunJobFlow call, in which case
|
242
|
-
# the default version of Hadoop for that AMI version is used.
|
243
|
-
# * `:ec2_subnet_id` - (String) To launch the job flow in Amazon
|
244
|
-
# Virtual Private Cloud (Amazon VPC), set this parameter to the
|
245
|
-
# identifier of the Amazon VPC subnet where you want the job flow
|
246
|
-
# to launch. If you do not specify this value, the job flow is
|
247
|
-
# launched in the normal Amazon Web Services cloud, outside of an
|
248
|
-
# Amazon VPC. Amazon VPC currently does not support cluster compute
|
249
|
-
# quadruple extra large (cc1.4xlarge) instances. Thus you cannot
|
250
|
-
# specify the cc1.4xlarge instance type for nodes of a job flow
|
251
|
-
# launched in a Amazon VPC.
|
252
|
-
# * `:steps` - (Array<Hash>) A list of steps to be executed by the job
|
253
|
-
# flow.
|
254
|
-
# * `:name` - *required* - (String) The name of the job flow step.
|
255
|
-
# * `:action_on_failure` - (String) Specifies the action to take if
|
256
|
-
# the job flow step fails.
|
257
|
-
# * `:hadoop_jar_step` - *required* - (Hash) Specifies the JAR file
|
258
|
-
# used for the job flow step.
|
259
|
-
# * `:properties` - (Array<Hash>) A list of Java properties that
|
260
|
-
# are set when the step runs. You can use these properties to
|
261
|
-
# pass key value pairs to your main function.
|
262
|
-
# * `:key` - (String) The unique identifier of a key value pair.
|
263
|
-
# * `:value` - (String) The value part of the identified key.
|
264
|
-
# * `:jar` - *required* - (String) A path to a JAR file run during
|
265
|
-
# the step.
|
266
|
-
# * `:main_class` - (String) The name of the main class in the
|
267
|
-
# specified Java file. If not specified, the JAR file should
|
268
|
-
# specify a Main-Class in its manifest file.
|
269
|
-
# * `:args` - (Array<String>) A list of command line arguments
|
270
|
-
# passed to the JAR file's main function when executed.
|
271
|
-
# * `:bootstrap_actions` - (Array<Hash>) A list of bootstrap actions
|
272
|
-
# that will be run before Hadoop is started on the cluster nodes.
|
273
|
-
# * `:name` - *required* - (String) The name of the bootstrap action.
|
274
|
-
# * `:script_bootstrap_action` - *required* - (Hash) The script run
|
275
|
-
# by the bootstrap action.
|
276
|
-
# * `:path` - *required* - (String) Location of the script to run
|
277
|
-
# during a bootstrap action. Can be either a location in Amazon
|
278
|
-
# S3 or on a local file system.
|
279
|
-
# * `:args` - (Array<String>) A list of command line arguments to
|
280
|
-
# pass to the bootstrap action script.
|
281
|
-
# * `:supported_products` - (Array<String>) A list of strings that
|
282
|
-
# indicates third-party software to use with the job flow. For more
|
283
|
-
# information, go to Use Third Party Applications with Amazon EMR.
|
284
|
-
# Currently supported values are: "karmasphere-enterprise-utility" -
|
285
|
-
# tag the job flow for management by Karmasphere. "mapr-m3" - launch
|
286
|
-
# the job flow using MapR M3 Edition. "mapr-m5" - launch the job flow
|
287
|
-
# using MapR M5 Edition.
|
288
|
-
# * `:visible_to_all_users` - (Boolean) Whether the job flow is visible
|
289
|
-
# to all IAM users of the AWS account associated with the job flow.
|
290
|
-
# If this value is set to `true` , all IAM users of that AWS account
|
291
|
-
# can view and (if they have the proper policy permissions set)
|
292
|
-
# manage the job flow. If it is set to `false` , only the IAM user
|
293
|
-
# that created the job flow can view and manage it.
|
294
|
-
# * `:job_flow_role` - (String) An IAM role for the job flow. The EC2
|
295
|
-
# instances of the job flow assume this role. The default role is
|
296
|
-
# EMRJobflowDefault. In order to use the default role, you must have
|
297
|
-
# already created it using the CLI.
|
298
|
-
# @return [Core::Response]
|
299
|
-
# The #data method of the response object returns
|
300
|
-
# a hash with the following structure:
|
301
|
-
#
|
302
|
-
# * `:job_flow_id` - (String)
|
303
|
-
|
304
|
-
# @!method set_termination_protection(options = {})
|
305
|
-
# Calls the SetTerminationProtection API operation.
|
306
|
-
# @param [Hash] options
|
307
|
-
#
|
308
|
-
# * `:job_flow_ids` - *required* - (Array<String>) A list of strings
|
309
|
-
# that uniquely identify the job flows to protect. This identifier is
|
310
|
-
# returned by RunJobFlow and can also be obtained from
|
311
|
-
# DescribeJobFlows .
|
312
|
-
# * `:termination_protected` - *required* - (Boolean) A Boolean that
|
313
|
-
# indicates whether to protect the job flow and prevent the Amazon
|
314
|
-
# EC2 instances in the cluster from shutting down due to API calls,
|
315
|
-
# user intervention, or job-flow error.
|
316
|
-
# @return [Core::Response]
|
317
|
-
|
318
|
-
# @!method set_visible_to_all_users(options = {})
|
319
|
-
# Calls the SetVisibleToAllUsers API operation.
|
320
|
-
# @param [Hash] options
|
321
|
-
#
|
322
|
-
# * `:job_flow_ids` - *required* - (Array<String>) Identifiers of the
|
323
|
-
# job flows to receive the new visibility setting.
|
324
|
-
# * `:visible_to_all_users` - *required* - (Boolean) Whether the
|
325
|
-
# specified job flows are visible to all IAM users of the AWS account
|
326
|
-
# associated with the job flow. If this value is set to True, all IAM
|
327
|
-
# users of that AWS account can view and, if they have the proper IAM
|
328
|
-
# policy permissions set, manage the job flows. If it is set to
|
329
|
-
# False, only the IAM user that created a job flow can view and
|
330
|
-
# manage it.
|
331
|
-
# @return [Core::Response]
|
332
|
-
|
333
|
-
# @!method terminate_job_flows(options = {})
|
334
|
-
# Calls the TerminateJobFlows API operation.
|
335
|
-
# @param [Hash] options
|
336
|
-
#
|
337
|
-
# * `:job_flow_ids` - *required* - (Array<String>) A list of job flows
|
338
|
-
# to be shutdown.
|
339
|
-
# @return [Core::Response]
|
340
|
-
|
341
|
-
# end client methods #
|
342
|
-
|
343
29
|
define_client_methods('2009-03-31')
|
344
30
|
|
345
31
|
end
|
data/lib/aws/glacier/client.rb
CHANGED
@@ -40,284 +40,6 @@ module AWS
|
|
40
40
|
|
41
41
|
class Client::V20120601 < Client
|
42
42
|
|
43
|
-
# client methods #
|
44
|
-
|
45
|
-
# @!method abort_multipart_upload(options = {})
|
46
|
-
# Calls the DELETE AbortMultipartUpload API operation.
|
47
|
-
# @param [Hash] options
|
48
|
-
#
|
49
|
-
# * `:account_id` - *required* - (String)
|
50
|
-
# * `:vault_name` - *required* - (String)
|
51
|
-
# * `:upload_id` - *required* - (String)
|
52
|
-
# @return [Core::Response]
|
53
|
-
|
54
|
-
# @!method complete_multipart_upload(options = {})
|
55
|
-
# Calls the POST CompleteMultipartUpload API operation.
|
56
|
-
# @param [Hash] options
|
57
|
-
#
|
58
|
-
# * `:account_id` - *required* - (String)
|
59
|
-
# * `:vault_name` - *required* - (String)
|
60
|
-
# * `:upload_id` - *required* - (String)
|
61
|
-
# * `:archive_size` - (Integer)
|
62
|
-
# * `:checksum` - *required* - (String)
|
63
|
-
# * `:content_sha256` - (String)
|
64
|
-
# @return [Core::Response]
|
65
|
-
|
66
|
-
# @!method create_vault(options = {})
|
67
|
-
# Calls the PUT CreateVault API operation.
|
68
|
-
# @param [Hash] options
|
69
|
-
#
|
70
|
-
# * `:account_id` - *required* - (String)
|
71
|
-
# * `:vault_name` - *required* - (String)
|
72
|
-
# @return [Core::Response]
|
73
|
-
|
74
|
-
# @!method delete_archive(options = {})
|
75
|
-
# Calls the DELETE DeleteArchive API operation.
|
76
|
-
# @param [Hash] options
|
77
|
-
#
|
78
|
-
# * `:account_id` - *required* - (String)
|
79
|
-
# * `:vault_name` - *required* - (String)
|
80
|
-
# * `:archive_id` - *required* - (String)
|
81
|
-
# @return [Core::Response]
|
82
|
-
|
83
|
-
# @!method delete_vault(options = {})
|
84
|
-
# Calls the DELETE DeleteVault API operation.
|
85
|
-
# @param [Hash] options
|
86
|
-
#
|
87
|
-
# * `:account_id` - *required* - (String)
|
88
|
-
# * `:vault_name` - *required* - (String)
|
89
|
-
# @return [Core::Response]
|
90
|
-
|
91
|
-
# @!method delete_vault_notifications(options = {})
|
92
|
-
# Calls the DELETE DeleteVaultNotifications API operation.
|
93
|
-
# @param [Hash] options
|
94
|
-
#
|
95
|
-
# * `:account_id` - *required* - (String)
|
96
|
-
# * `:vault_name` - *required* - (String)
|
97
|
-
# @return [Core::Response]
|
98
|
-
|
99
|
-
# @!method describe_job(options = {})
|
100
|
-
# Calls the GET DescribeJob API operation.
|
101
|
-
# @param [Hash] options
|
102
|
-
#
|
103
|
-
# * `:account_id` - *required* - (String)
|
104
|
-
# * `:vault_name` - *required* - (String)
|
105
|
-
# * `:job_id` - *required* - (String)
|
106
|
-
# @return [Core::Response]
|
107
|
-
# The #data method of the response object returns
|
108
|
-
# a hash with the following structure:
|
109
|
-
#
|
110
|
-
# * `:job_id` - (String)
|
111
|
-
# * `:job_description` - (String)
|
112
|
-
# * `:action` - (String)
|
113
|
-
# * `:archive_id` - (String)
|
114
|
-
# * `:vault_arn` - (String)
|
115
|
-
# * `:creation_date` - (String)
|
116
|
-
# * `:completed` - (Boolean)
|
117
|
-
# * `:status_code` - (String)
|
118
|
-
# * `:status_message` - (String)
|
119
|
-
# * `:archive_size_in_bytes` - (Integer)
|
120
|
-
# * `:inventory_size_in_bytes` - (Integer)
|
121
|
-
# * `:sns_topic` - (String)
|
122
|
-
# * `:completion_date` - (String)
|
123
|
-
# * `:sha256_tree_hash` - (String)
|
124
|
-
|
125
|
-
# @!method describe_vault(options = {})
|
126
|
-
# Calls the GET DescribeVault API operation.
|
127
|
-
# @param [Hash] options
|
128
|
-
#
|
129
|
-
# * `:account_id` - *required* - (String)
|
130
|
-
# * `:vault_name` - *required* - (String)
|
131
|
-
# @return [Core::Response]
|
132
|
-
# The #data method of the response object returns
|
133
|
-
# a hash with the following structure:
|
134
|
-
#
|
135
|
-
# * `:vault_arn` - (String)
|
136
|
-
# * `:vault_name` - (String)
|
137
|
-
# * `:creation_date` - (String)
|
138
|
-
# * `:last_inventory_date` - (String)
|
139
|
-
# * `:number_of_archives` - (Integer)
|
140
|
-
# * `:size_in_bytes` - (Integer)
|
141
|
-
|
142
|
-
# @!method get_job_output(options = {})
|
143
|
-
# Calls the GET GetJobOutput API operation.
|
144
|
-
# @param [Hash] options
|
145
|
-
#
|
146
|
-
# * `:account_id` - *required* - (String)
|
147
|
-
# * `:vault_name` - *required* - (String)
|
148
|
-
# * `:job_id` - *required* - (String)
|
149
|
-
# * `:range` - (String)
|
150
|
-
# @return [Core::Response]
|
151
|
-
|
152
|
-
# @!method get_vault_notifications(options = {})
|
153
|
-
# Calls the GET GetVaultNotifications API operation.
|
154
|
-
# @param [Hash] options
|
155
|
-
#
|
156
|
-
# * `:account_id` - *required* - (String)
|
157
|
-
# * `:vault_name` - *required* - (String)
|
158
|
-
# @return [Core::Response]
|
159
|
-
# The #data method of the response object returns
|
160
|
-
# a hash with the following structure:
|
161
|
-
#
|
162
|
-
# * `:sns_topic` - (String)
|
163
|
-
# * `:events` - (Array<String>)
|
164
|
-
|
165
|
-
# @!method initiate_job(options = {})
|
166
|
-
# Calls the POST InitiateJob API operation.
|
167
|
-
# @param [Hash] options
|
168
|
-
#
|
169
|
-
# * `:account_id` - *required* - (String)
|
170
|
-
# * `:vault_name` - *required* - (String)
|
171
|
-
# * `:job_parameters` - *required* - (Hash)
|
172
|
-
# * `:format` - (String)
|
173
|
-
# * `:type` - (String)
|
174
|
-
# * `:archive_id` - (String)
|
175
|
-
# * `:description` - (String)
|
176
|
-
# * `:sns_topic` - (String)
|
177
|
-
# @return [Core::Response]
|
178
|
-
|
179
|
-
# @!method initiate_multipart_upload(options = {})
|
180
|
-
# Calls the POST InitiateMultipartUpload API operation.
|
181
|
-
# @param [Hash] options
|
182
|
-
#
|
183
|
-
# * `:account_id` - *required* - (String)
|
184
|
-
# * `:vault_name` - *required* - (String)
|
185
|
-
# * `:archive_description` - (String)
|
186
|
-
# * `:part_size` - (Integer)
|
187
|
-
# @return [Core::Response]
|
188
|
-
|
189
|
-
# @!method list_jobs(options = {})
|
190
|
-
# Calls the GET ListJobs API operation.
|
191
|
-
# @param [Hash] options
|
192
|
-
#
|
193
|
-
# * `:account_id` - *required* - (String)
|
194
|
-
# * `:vault_name` - *required* - (String)
|
195
|
-
# * `:limit` - (Integer)
|
196
|
-
# * `:marker` - (String)
|
197
|
-
# * `:statuscode` - (String)
|
198
|
-
# * `:completed` - (String)
|
199
|
-
# @return [Core::Response]
|
200
|
-
# The #data method of the response object returns
|
201
|
-
# a hash with the following structure:
|
202
|
-
#
|
203
|
-
# * `:job_list` - (Array<Hash>)
|
204
|
-
# * `:job_id` - (String)
|
205
|
-
# * `:job_description` - (String)
|
206
|
-
# * `:action` - (String)
|
207
|
-
# * `:archive_id` - (String)
|
208
|
-
# * `:vault_arn` - (String)
|
209
|
-
# * `:creation_date` - (String)
|
210
|
-
# * `:completed` - (Boolean)
|
211
|
-
# * `:status_code` - (String)
|
212
|
-
# * `:status_message` - (String)
|
213
|
-
# * `:archive_size_in_bytes` - (Integer)
|
214
|
-
# * `:inventory_size_in_bytes` - (Integer)
|
215
|
-
# * `:sns_topic` - (String)
|
216
|
-
# * `:completion_date` - (String)
|
217
|
-
# * `:sha256_tree_hash` - (String)
|
218
|
-
# * `:marker` - (String)
|
219
|
-
|
220
|
-
# @!method list_multipart_uploads(options = {})
|
221
|
-
# Calls the GET ListMultipartUploads API operation.
|
222
|
-
# @param [Hash] options
|
223
|
-
#
|
224
|
-
# * `:account_id` - *required* - (String)
|
225
|
-
# * `:vault_name` - *required* - (String)
|
226
|
-
# * `:upload_id_marker` - (String)
|
227
|
-
# * `:limit` - (Integer)
|
228
|
-
# @return [Core::Response]
|
229
|
-
# The #data method of the response object returns
|
230
|
-
# a hash with the following structure:
|
231
|
-
#
|
232
|
-
# * `:uploads_list` - (Array<Hash>)
|
233
|
-
# * `:multipart_upload_id` - (String)
|
234
|
-
# * `:vault_arn` - (String)
|
235
|
-
# * `:archive_description` - (String)
|
236
|
-
# * `:part_size_in_bytes` - (Integer)
|
237
|
-
# * `:creation_date` - (String)
|
238
|
-
# * `:marker` - (String)
|
239
|
-
|
240
|
-
# @!method list_parts(options = {})
|
241
|
-
# Calls the GET ListParts API operation.
|
242
|
-
# @param [Hash] options
|
243
|
-
#
|
244
|
-
# * `:account_id` - *required* - (String)
|
245
|
-
# * `:vault_name` - *required* - (String)
|
246
|
-
# * `:upload_id` - *required* - (String)
|
247
|
-
# * `:marker` - (String)
|
248
|
-
# * `:limit` - (Integer)
|
249
|
-
# @return [Core::Response]
|
250
|
-
# The #data method of the response object returns
|
251
|
-
# a hash with the following structure:
|
252
|
-
#
|
253
|
-
# * `:multipart_upload_id` - (String)
|
254
|
-
# * `:vault_arn` - (String)
|
255
|
-
# * `:archive_description` - (String)
|
256
|
-
# * `:part_size_in_bytes` - (Integer)
|
257
|
-
# * `:creation_date` - (String)
|
258
|
-
# * `:parts` - (Array<Hash>)
|
259
|
-
# * `:range_in_bytes` - (String)
|
260
|
-
# * `:sha256_tree_hash` - (String)
|
261
|
-
# * `:marker` - (String)
|
262
|
-
|
263
|
-
# @!method list_vaults(options = {})
|
264
|
-
# Calls the GET ListVaults API operation.
|
265
|
-
# @param [Hash] options
|
266
|
-
#
|
267
|
-
# * `:account_id` - *required* - (String)
|
268
|
-
# * `:marker` - (String)
|
269
|
-
# * `:limit` - (Integer)
|
270
|
-
# @return [Core::Response]
|
271
|
-
# The #data method of the response object returns
|
272
|
-
# a hash with the following structure:
|
273
|
-
#
|
274
|
-
# * `:vault_list` - (Array<Hash>)
|
275
|
-
# * `:vault_arn` - (String)
|
276
|
-
# * `:vault_name` - (String)
|
277
|
-
# * `:creation_date` - (String)
|
278
|
-
# * `:last_inventory_date` - (String)
|
279
|
-
# * `:number_of_archives` - (Integer)
|
280
|
-
# * `:size_in_bytes` - (Integer)
|
281
|
-
# * `:marker` - (String)
|
282
|
-
|
283
|
-
# @!method set_vault_notifications(options = {})
|
284
|
-
# Calls the PUT SetVaultNotifications API operation.
|
285
|
-
# @param [Hash] options
|
286
|
-
#
|
287
|
-
# * `:account_id` - *required* - (String)
|
288
|
-
# * `:vault_name` - *required* - (String)
|
289
|
-
# * `:vault_notification_config` - *required* - (Hash)
|
290
|
-
# * `:sns_topic` - (String)
|
291
|
-
# * `:events` - (Array<String>)
|
292
|
-
# @return [Core::Response]
|
293
|
-
|
294
|
-
# @!method upload_archive(options = {})
|
295
|
-
# Calls the POST UploadArchive API operation.
|
296
|
-
# @param [Hash] options
|
297
|
-
#
|
298
|
-
# * `:vault_name` - *required* - (String)
|
299
|
-
# * `:account_id` - *required* - (String)
|
300
|
-
# * `:archive_description` - (String)
|
301
|
-
# * `:checksum` - *required* - (String)
|
302
|
-
# * `:body` - *required* - (IO)
|
303
|
-
# * `:content_sha256` - (String)
|
304
|
-
# @return [Core::Response]
|
305
|
-
|
306
|
-
# @!method upload_multipart_part(options = {})
|
307
|
-
# Calls the PUT UploadMultipartPart API operation.
|
308
|
-
# @param [Hash] options
|
309
|
-
#
|
310
|
-
# * `:account_id` - *required* - (String)
|
311
|
-
# * `:vault_name` - *required* - (String)
|
312
|
-
# * `:upload_id` - *required* - (String)
|
313
|
-
# * `:checksum` - *required* - (String)
|
314
|
-
# * `:range` - (String)
|
315
|
-
# * `:body` - *required* - (IO)
|
316
|
-
# * `:content_sha256` - (String)
|
317
|
-
# @return [Core::Response]
|
318
|
-
|
319
|
-
# end client methods #
|
320
|
-
|
321
43
|
define_client_methods('2012-06-01')
|
322
44
|
|
323
45
|
end
|