aws-sdk 1.6.3 → 1.6.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/aws/api_config/AutoScaling-2011-01-01.yml +1 -0
- data/lib/aws/api_config/CloudFormation-2010-05-15.yml +1 -0
- data/lib/aws/api_config/CloudFront-2012-05-05.yml +2137 -0
- data/lib/aws/api_config/CloudWatch-2010-08-01.yml +9 -0
- data/lib/aws/api_config/DynamoDB-2011-12-05.yml +616 -0
- data/lib/aws/api_config/EC2-2012-07-20.yml +1 -0
- data/lib/aws/api_config/ELB-2012-06-01.yml +1 -0
- data/lib/aws/api_config/EMR-2009-03-31.yml +1 -0
- data/lib/aws/api_config/IAM-2010-05-08.yml +1 -0
- data/lib/aws/api_config/Route53-2012-02-29.yml +350 -349
- data/lib/aws/api_config/SNS-2010-03-31.yml +1 -0
- data/lib/aws/api_config/SQS-2011-10-01.yml +1 -0
- data/lib/aws/api_config/STS-2011-06-15.yml +1 -0
- data/lib/aws/api_config/SimpleDB-2009-04-15.yml +1 -0
- data/lib/aws/api_config/SimpleEmailService-2010-12-01.yml +62 -0
- data/lib/aws/api_config/SimpleWorkflow-2012-01-25.yml +1637 -0
- data/lib/aws/auto_scaling/client.rb +2 -37
- data/lib/aws/cloud_formation/client.rb +2 -17
- data/lib/aws/cloud_watch/client.rb +2 -15
- data/lib/aws/core.rb +24 -4
- data/lib/aws/core/client.rb +115 -46
- data/lib/aws/core/configuration.rb +6 -0
- data/lib/aws/core/credential_providers.rb +1 -0
- data/lib/aws/core/http/curb_handler.rb +3 -3
- data/lib/aws/core/http/httparty_handler.rb +15 -15
- data/lib/aws/core/json_client.rb +19 -77
- data/lib/aws/core/json_error_parser.rb +25 -0
- data/lib/aws/core/json_request_builder.rb +34 -0
- data/lib/aws/core/json_response_parser.rb +81 -0
- data/lib/aws/core/log_formatter.rb +25 -25
- data/lib/aws/core/option_grammar.rb +123 -115
- data/lib/aws/core/options/xml_serializer.rb +13 -9
- data/lib/aws/core/query_client.rb +13 -104
- data/lib/aws/core/query_error_parser.rb +24 -0
- data/lib/aws/core/query_request_builder.rb +47 -0
- data/lib/aws/core/query_response_parser.rb +35 -0
- data/lib/aws/core/rest_client.rb +13 -62
- data/lib/aws/core/rest_error_parser.rb +24 -0
- data/lib/aws/core/rest_request_builder.rb +124 -0
- data/lib/aws/core/rest_response_parser.rb +48 -0
- data/lib/aws/core/xml/parser.rb +2 -2
- data/lib/aws/core/xml/root_frame.rb +1 -1
- data/lib/aws/dynamo_db.rb +10 -9
- data/lib/aws/dynamo_db/binary.rb +35 -0
- data/lib/aws/dynamo_db/client.rb +103 -20
- data/lib/aws/dynamo_db/config.rb +2 -0
- data/lib/aws/dynamo_db/item.rb +3 -0
- data/lib/aws/dynamo_db/primary_key_element.rb +2 -1
- data/lib/aws/dynamo_db/table.rb +32 -36
- data/lib/aws/dynamo_db/table_collection.rb +13 -13
- data/lib/aws/dynamo_db/types.rb +34 -9
- data/lib/aws/ec2/client.rb +884 -344
- data/lib/aws/ec2/filtered_collection.rb +2 -3
- data/lib/aws/elb/client.rb +59 -45
- data/lib/aws/emr/client.rb +2 -11
- data/lib/aws/iam/client.rb +9 -80
- data/lib/aws/record/hash_model/attributes.rb +28 -13
- data/lib/aws/route_53/client.rb +6 -16
- data/lib/aws/s3/client.rb +2 -1
- data/lib/aws/s3/encryption_utils.rb +2 -7
- data/lib/aws/s3/s3_object.rb +5 -0
- data/lib/aws/simple_db/client.rb +2 -14
- data/lib/aws/simple_email_service/client.rb +35 -19
- data/lib/aws/simple_email_service/identity.rb +49 -10
- data/lib/aws/simple_email_service/identity_collection.rb +4 -4
- data/lib/aws/simple_workflow/client.rb +2 -38
- data/lib/aws/sns/client.rb +2 -19
- data/lib/aws/sqs/client.rb +2 -19
- data/lib/aws/sqs/errors.rb +5 -5
- data/lib/aws/sts/client.rb +2 -6
- metadata +14 -5
- data/lib/aws/core/rest_client/input_handler.rb +0 -145
- data/lib/aws/core/rest_client/output_handler.rb +0 -53
@@ -14,7 +14,6 @@
|
|
14
14
|
module AWS
|
15
15
|
class EC2
|
16
16
|
|
17
|
-
# @private
|
18
17
|
module FilteredCollection
|
19
18
|
|
20
19
|
def initialize options = {}
|
@@ -25,11 +24,11 @@ module AWS
|
|
25
24
|
# Specify one or more criteria to filter elastic IP addresses by.
|
26
25
|
# A subsequent call to #each will limit the results returned
|
27
26
|
# by provided filters.
|
28
|
-
#
|
27
|
+
#
|
29
28
|
# * Chain multiple calls of #filter together to AND multiple conditions
|
30
29
|
# together.
|
31
30
|
#
|
32
|
-
# * Supply multiple values to a singler #filter call to OR those
|
31
|
+
# * Supply multiple values to a singler #filter call to OR those
|
33
32
|
# value conditions together.
|
34
33
|
#
|
35
34
|
# * '*' matches one or more characters and '?' matches any one
|
data/lib/aws/elb/client.rb
CHANGED
@@ -15,11 +15,9 @@ module AWS
|
|
15
15
|
class ELB
|
16
16
|
|
17
17
|
# Client class for Elastic Load Balancing (ELB).
|
18
|
-
class Client < Core::
|
18
|
+
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
extend Core::QueryClient
|
20
|
+
define_client_methods('2012-06-01')
|
23
21
|
|
24
22
|
# @private
|
25
23
|
CACHEABLE_REQUESTS = Set[]
|
@@ -39,8 +37,7 @@ module AWS
|
|
39
37
|
# @return [Core::Response]
|
40
38
|
# The #data method of the response object returns
|
41
39
|
# a hash with the following structure:
|
42
|
-
# * +:security_groups+ - (Array
|
43
|
-
define_client_method :apply_security_groups_to_load_balancer, 'ApplySecurityGroupsToLoadBalancer'
|
40
|
+
# * +:security_groups+ - (Array<String>)
|
44
41
|
|
45
42
|
# Calls the AttachLoadBalancerToSubnets API operation.
|
46
43
|
# @method attach_load_balancer_to_subnets(options = {})
|
@@ -53,8 +50,7 @@ module AWS
|
|
53
50
|
# @return [Core::Response]
|
54
51
|
# The #data method of the response object returns
|
55
52
|
# a hash with the following structure:
|
56
|
-
# * +:subnets+ - (Array
|
57
|
-
define_client_method :attach_load_balancer_to_subnets, 'AttachLoadBalancerToSubnets'
|
53
|
+
# * +:subnets+ - (Array<String>)
|
58
54
|
|
59
55
|
# Calls the ConfigureHealthCheck API operation.
|
60
56
|
# @method configure_health_check(options = {})
|
@@ -96,11 +92,11 @@ module AWS
|
|
96
92
|
# The #data method of the response object returns
|
97
93
|
# a hash with the following structure:
|
98
94
|
# * +:health_check+ - (Hash)
|
95
|
+
# * +:target+ - (String)
|
99
96
|
# * +:interval+ - (Integer)
|
100
97
|
# * +:timeout+ - (Integer)
|
101
98
|
# * +:unhealthy_threshold+ - (Integer)
|
102
99
|
# * +:healthy_threshold+ - (Integer)
|
103
|
-
define_client_method :configure_health_check, 'ConfigureHealthCheck'
|
104
100
|
|
105
101
|
# Calls the CreateAppCookieStickinessPolicy API operation.
|
106
102
|
# @method create_app_cookie_stickiness_policy(options = {})
|
@@ -114,7 +110,6 @@ module AWS
|
|
114
110
|
# * +:cookie_name+ - *required* - (String) Name of the application
|
115
111
|
# cookie used for stickiness.
|
116
112
|
# @return [Core::Response]
|
117
|
-
define_client_method :create_app_cookie_stickiness_policy, 'CreateAppCookieStickinessPolicy'
|
118
113
|
|
119
114
|
# Calls the CreateLBCookieStickinessPolicy API operation.
|
120
115
|
# @method create_lb_cookie_stickiness_policy(options = {})
|
@@ -130,7 +125,6 @@ module AWS
|
|
130
125
|
# this parameter indicates that the sticky session will last for the
|
131
126
|
# duration of the browser session.
|
132
127
|
# @return [Core::Response]
|
133
|
-
define_client_method :create_lb_cookie_stickiness_policy, 'CreateLBCookieStickinessPolicy'
|
134
128
|
|
135
129
|
# Calls the CreateLoadBalancer API operation.
|
136
130
|
# @method create_load_balancer(options = {})
|
@@ -182,7 +176,9 @@ module AWS
|
|
182
176
|
# an internal load balancer with a DNS name that resolves to private
|
183
177
|
# IP addresses.
|
184
178
|
# @return [Core::Response]
|
185
|
-
|
179
|
+
# The #data method of the response object returns
|
180
|
+
# a hash with the following structure:
|
181
|
+
# * +:dns_name+ - (String)
|
186
182
|
|
187
183
|
# Calls the CreateLoadBalancerListeners API operation.
|
188
184
|
# @method create_load_balancer_listeners(options = {})
|
@@ -218,7 +214,6 @@ module AWS
|
|
218
214
|
# certificate. To get the ARN of the server certificate, call the
|
219
215
|
# AWS Identity and Access Management UploadServerCertificate API.
|
220
216
|
# @return [Core::Response]
|
221
|
-
define_client_method :create_load_balancer_listeners, 'CreateLoadBalancerListeners'
|
222
217
|
|
223
218
|
# Calls the CreateLoadBalancerPolicy API operation.
|
224
219
|
# @method create_load_balancer_policy(options = {})
|
@@ -239,7 +234,6 @@ module AWS
|
|
239
234
|
# * +:attribute_value+ - (String) The value of the attribute
|
240
235
|
# associated with the policy.
|
241
236
|
# @return [Core::Response]
|
242
|
-
define_client_method :create_load_balancer_policy, 'CreateLoadBalancerPolicy'
|
243
237
|
|
244
238
|
# Calls the DeleteLoadBalancer API operation.
|
245
239
|
# @method delete_load_balancer(options = {})
|
@@ -248,7 +242,6 @@ module AWS
|
|
248
242
|
# with the LoadBalancer. The name must be unique within the client
|
249
243
|
# AWS account.
|
250
244
|
# @return [Core::Response]
|
251
|
-
define_client_method :delete_load_balancer, 'DeleteLoadBalancer'
|
252
245
|
|
253
246
|
# Calls the DeleteLoadBalancerListeners API operation.
|
254
247
|
# @method delete_load_balancer_listeners(options = {})
|
@@ -258,7 +251,6 @@ module AWS
|
|
258
251
|
# * +:load_balancer_ports+ - *required* - (Array<Integer>) The client
|
259
252
|
# port number(s) of the LoadBalancerListener(s) to be removed.
|
260
253
|
# @return [Core::Response]
|
261
|
-
define_client_method :delete_load_balancer_listeners, 'DeleteLoadBalancerListeners'
|
262
254
|
|
263
255
|
# Calls the DeleteLoadBalancerPolicy API operation.
|
264
256
|
# @method delete_load_balancer_policy(options = {})
|
@@ -269,7 +261,6 @@ module AWS
|
|
269
261
|
# * +:policy_name+ - *required* - (String) The mnemonic name for the
|
270
262
|
# policy being deleted.
|
271
263
|
# @return [Core::Response]
|
272
|
-
define_client_method :delete_load_balancer_policy, 'DeleteLoadBalancerPolicy'
|
273
264
|
|
274
265
|
# Calls the DeregisterInstancesFromLoadBalancer API operation.
|
275
266
|
# @method deregister_instances_from_load_balancer(options = {})
|
@@ -283,8 +274,8 @@ module AWS
|
|
283
274
|
# @return [Core::Response]
|
284
275
|
# The #data method of the response object returns
|
285
276
|
# a hash with the following structure:
|
286
|
-
# * +:instances+ - (Array<
|
287
|
-
|
277
|
+
# * +:instances+ - (Array<Hash>)
|
278
|
+
# * +:instance_id+ - (String)
|
288
279
|
|
289
280
|
# Calls the DescribeInstanceHealth API operation.
|
290
281
|
# @method describe_instance_health(options = {})
|
@@ -298,8 +289,11 @@ module AWS
|
|
298
289
|
# @return [Core::Response]
|
299
290
|
# The #data method of the response object returns
|
300
291
|
# a hash with the following structure:
|
301
|
-
# * +:instance_states+ - (Array
|
302
|
-
|
292
|
+
# * +:instance_states+ - (Array<Hash>)
|
293
|
+
# * +:instance_id+ - (String)
|
294
|
+
# * +:state+ - (String)
|
295
|
+
# * +:reason_code+ - (String)
|
296
|
+
# * +:description+ - (String)
|
303
297
|
|
304
298
|
# Calls the DescribeLoadBalancerPolicies API operation.
|
305
299
|
# @method describe_load_balancer_policies(options = {})
|
@@ -315,8 +309,11 @@ module AWS
|
|
315
309
|
# The #data method of the response object returns
|
316
310
|
# a hash with the following structure:
|
317
311
|
# * +:policy_descriptions+ - (Array<Hash>)
|
318
|
-
# * +:
|
319
|
-
|
312
|
+
# * +:policy_name+ - (String)
|
313
|
+
# * +:policy_type_name+ - (String)
|
314
|
+
# * +:policy_attribute_descriptions+ - (Array<Hash>)
|
315
|
+
# * +:attribute_name+ - (String)
|
316
|
+
# * +:attribute_value+ - (String)
|
320
317
|
|
321
318
|
# Calls the DescribeLoadBalancerPolicyTypes API operation.
|
322
319
|
# @method describe_load_balancer_policy_types(options = {})
|
@@ -328,8 +325,14 @@ module AWS
|
|
328
325
|
# The #data method of the response object returns
|
329
326
|
# a hash with the following structure:
|
330
327
|
# * +:policy_type_descriptions+ - (Array<Hash>)
|
331
|
-
# * +:
|
332
|
-
|
328
|
+
# * +:policy_type_name+ - (String)
|
329
|
+
# * +:description+ - (String)
|
330
|
+
# * +:policy_attribute_type_descriptions+ - (Array<Hash>)
|
331
|
+
# * +:attribute_name+ - (String)
|
332
|
+
# * +:attribute_type+ - (String)
|
333
|
+
# * +:description+ - (String)
|
334
|
+
# * +:default_value+ - (String)
|
335
|
+
# * +:cardinality+ - (String)
|
333
336
|
|
334
337
|
# Calls the DescribeLoadBalancers API operation.
|
335
338
|
# @method describe_load_balancers(options = {})
|
@@ -341,30 +344,47 @@ module AWS
|
|
341
344
|
# The #data method of the response object returns
|
342
345
|
# a hash with the following structure:
|
343
346
|
# * +:load_balancer_descriptions+ - (Array<Hash>)
|
347
|
+
# * +:load_balancer_name+ - (String)
|
348
|
+
# * +:dns_name+ - (String)
|
349
|
+
# * +:canonical_hosted_zone_name+ - (String)
|
350
|
+
# * +:canonical_hosted_zone_name_id+ - (String)
|
344
351
|
# * +:listener_descriptions+ - (Array<Hash>)
|
345
352
|
# * +:listener+ - (Hash)
|
353
|
+
# * +:protocol+ - (String)
|
346
354
|
# * +:load_balancer_port+ - (Integer)
|
355
|
+
# * +:instance_protocol+ - (String)
|
347
356
|
# * +:instance_port+ - (Integer)
|
348
|
-
#
|
357
|
+
# * +:ssl_certificate_id+ - (String)
|
358
|
+
# * +:policy_names+ - (Array<String>)
|
349
359
|
# * +:policies+ - (Hash)
|
350
|
-
# * +:app_cookie_stickiness_policies+ - (Array
|
360
|
+
# * +:app_cookie_stickiness_policies+ - (Array<Hash>)
|
361
|
+
# * +:policy_name+ - (String)
|
362
|
+
# * +:cookie_name+ - (String)
|
351
363
|
# * +:lb_cookie_stickiness_policies+ - (Array<Hash>)
|
364
|
+
# * +:policy_name+ - (String)
|
352
365
|
# * +:cookie_expiration_period+ - (Integer)
|
353
|
-
# * +:other_policies+ - (Array
|
366
|
+
# * +:other_policies+ - (Array<String>)
|
354
367
|
# * +:backend_server_descriptions+ - (Array<Hash>)
|
355
368
|
# * +:instance_port+ - (Integer)
|
356
|
-
# * +:policy_names+ - (Array
|
357
|
-
# * +:availability_zones+ - (Array
|
358
|
-
# * +:subnets+ - (Array
|
359
|
-
# * +:
|
369
|
+
# * +:policy_names+ - (Array<String>)
|
370
|
+
# * +:availability_zones+ - (Array<String>)
|
371
|
+
# * +:subnets+ - (Array<String>)
|
372
|
+
# * +:vpc_id+ - (String)
|
373
|
+
# * +:instances+ - (Array<Hash>)
|
374
|
+
# * +:instance_id+ - (String)
|
360
375
|
# * +:health_check+ - (Hash)
|
376
|
+
# * +:target+ - (String)
|
361
377
|
# * +:interval+ - (Integer)
|
362
378
|
# * +:timeout+ - (Integer)
|
363
379
|
# * +:unhealthy_threshold+ - (Integer)
|
364
380
|
# * +:healthy_threshold+ - (Integer)
|
365
|
-
# * +:
|
381
|
+
# * +:source_security_group+ - (Hash)
|
382
|
+
# * +:owner_alias+ - (String)
|
383
|
+
# * +:group_name+ - (String)
|
384
|
+
# * +:security_groups+ - (Array<String>)
|
366
385
|
# * +:created_time+ - (Time)
|
367
|
-
|
386
|
+
# * +:scheme+ - (String)
|
387
|
+
# * +:next_marker+ - (String)
|
368
388
|
|
369
389
|
# Calls the DetachLoadBalancerFromSubnets API operation.
|
370
390
|
# @method detach_load_balancer_from_subnets(options = {})
|
@@ -377,8 +397,7 @@ module AWS
|
|
377
397
|
# @return [Core::Response]
|
378
398
|
# The #data method of the response object returns
|
379
399
|
# a hash with the following structure:
|
380
|
-
# * +:subnets+ - (Array
|
381
|
-
define_client_method :detach_load_balancer_from_subnets, 'DetachLoadBalancerFromSubnets'
|
400
|
+
# * +:subnets+ - (Array<String>)
|
382
401
|
|
383
402
|
# Calls the DisableAvailabilityZonesForLoadBalancer API operation.
|
384
403
|
# @method disable_availability_zones_for_load_balancer(options = {})
|
@@ -395,8 +414,7 @@ module AWS
|
|
395
414
|
# @return [Core::Response]
|
396
415
|
# The #data method of the response object returns
|
397
416
|
# a hash with the following structure:
|
398
|
-
# * +:availability_zones+ - (Array
|
399
|
-
define_client_method :disable_availability_zones_for_load_balancer, 'DisableAvailabilityZonesForLoadBalancer'
|
417
|
+
# * +:availability_zones+ - (Array<String>)
|
400
418
|
|
401
419
|
# Calls the EnableAvailabilityZonesForLoadBalancer API operation.
|
402
420
|
# @method enable_availability_zones_for_load_balancer(options = {})
|
@@ -410,8 +428,7 @@ module AWS
|
|
410
428
|
# @return [Core::Response]
|
411
429
|
# The #data method of the response object returns
|
412
430
|
# a hash with the following structure:
|
413
|
-
# * +:availability_zones+ - (Array
|
414
|
-
define_client_method :enable_availability_zones_for_load_balancer, 'EnableAvailabilityZonesForLoadBalancer'
|
431
|
+
# * +:availability_zones+ - (Array<String>)
|
415
432
|
|
416
433
|
# Calls the RegisterInstancesWithLoadBalancer API operation.
|
417
434
|
# @method register_instances_with_load_balancer(options = {})
|
@@ -433,8 +450,8 @@ module AWS
|
|
433
450
|
# @return [Core::Response]
|
434
451
|
# The #data method of the response object returns
|
435
452
|
# a hash with the following structure:
|
436
|
-
# * +:instances+ - (Array
|
437
|
-
|
453
|
+
# * +:instances+ - (Array<Hash>)
|
454
|
+
# * +:instance_id+ - (String)
|
438
455
|
|
439
456
|
# Calls the SetLoadBalancerListenerSSLCertificate API operation.
|
440
457
|
# @method set_load_balancer_listener_ssl_certificate(options = {})
|
@@ -448,7 +465,6 @@ module AWS
|
|
448
465
|
# see Managing Server Certificates in the AWS Identity and Access
|
449
466
|
# Management documentation.
|
450
467
|
# @return [Core::Response]
|
451
|
-
define_client_method :set_load_balancer_listener_ssl_certificate, 'SetLoadBalancerListenerSSLCertificate'
|
452
468
|
|
453
469
|
# Calls the SetLoadBalancerPoliciesForBackendServer API operation.
|
454
470
|
# @method set_load_balancer_policies_for_backend_server(options = {})
|
@@ -462,7 +478,6 @@ module AWS
|
|
462
478
|
# to be set. If the list is empty, then all current polices are
|
463
479
|
# removed from the back-end server.
|
464
480
|
# @return [Core::Response]
|
465
|
-
define_client_method :set_load_balancer_policies_for_backend_server, 'SetLoadBalancerPoliciesForBackendServer'
|
466
481
|
|
467
482
|
# Calls the SetLoadBalancerPoliciesOfListener API operation.
|
468
483
|
# @method set_load_balancer_policies_of_listener(options = {})
|
@@ -477,7 +492,6 @@ module AWS
|
|
477
492
|
# most one policy. If the list is empty, the current policy is
|
478
493
|
# removed from the listener.
|
479
494
|
# @return [Core::Response]
|
480
|
-
define_client_method :set_load_balancer_policies_of_listener, 'SetLoadBalancerPoliciesOfListener'
|
481
495
|
|
482
496
|
## end client methods ##
|
483
497
|
|
data/lib/aws/emr/client.rb
CHANGED
@@ -13,11 +13,9 @@
|
|
13
13
|
|
14
14
|
module AWS
|
15
15
|
class EMR
|
16
|
-
class Client < Core::
|
16
|
+
class Client < Core::QueryClient
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
extend Core::QueryClient
|
18
|
+
define_client_methods('2009-03-31')
|
21
19
|
|
22
20
|
# @private
|
23
21
|
CACHEABLE_REQUESTS = Set[]
|
@@ -48,7 +46,6 @@ module AWS
|
|
48
46
|
# a hash with the following structure:
|
49
47
|
# * +:job_flow_id+ - (String)
|
50
48
|
# * +:instance_group_ids+ - (Array<String>)
|
51
|
-
define_client_method :add_instance_groups, 'AddInstanceGroups'
|
52
49
|
|
53
50
|
# Calls the AddJobFlowSteps API operation.
|
54
51
|
# @method add_job_flow_steps(options = {})
|
@@ -76,7 +73,6 @@ module AWS
|
|
76
73
|
# * +:args+ - (Array<String>) A list of command line arguments
|
77
74
|
# passed to the JAR file's main function when executed.
|
78
75
|
# @return [Core::Response]
|
79
|
-
define_client_method :add_job_flow_steps, 'AddJobFlowSteps'
|
80
76
|
|
81
77
|
# Calls the DescribeJobFlows API operation.
|
82
78
|
# @method describe_job_flows(options = {})
|
@@ -157,7 +153,6 @@ module AWS
|
|
157
153
|
# * +:path+ - (String)
|
158
154
|
# * +:args+ - (Array<String>)
|
159
155
|
# * +:supported_products+ - (Array<String>)
|
160
|
-
define_client_method :describe_job_flows, 'DescribeJobFlows'
|
161
156
|
|
162
157
|
# Calls the ModifyInstanceGroups API operation.
|
163
158
|
# @method modify_instance_groups(options = {})
|
@@ -168,7 +163,6 @@ module AWS
|
|
168
163
|
# * +:instance_count+ - *required* - (Integer) Target size for the
|
169
164
|
# instance group.
|
170
165
|
# @return [Core::Response]
|
171
|
-
define_client_method :modify_instance_groups, 'ModifyInstanceGroups'
|
172
166
|
|
173
167
|
# Calls the RunJobFlow API operation.
|
174
168
|
# @method run_job_flow(options = {})
|
@@ -278,7 +272,6 @@ module AWS
|
|
278
272
|
# The #data method of the response object returns
|
279
273
|
# a hash with the following structure:
|
280
274
|
# * +:job_flow_id+ - (String)
|
281
|
-
define_client_method :run_job_flow, 'RunJobFlow'
|
282
275
|
|
283
276
|
# Calls the SetTerminationProtection API operation.
|
284
277
|
# @method set_termination_protection(options = {})
|
@@ -292,7 +285,6 @@ module AWS
|
|
292
285
|
# EC2 instances in the cluster from shutting down due to API calls,
|
293
286
|
# user intervention, or job-flow error.
|
294
287
|
# @return [Core::Response]
|
295
|
-
define_client_method :set_termination_protection, 'SetTerminationProtection'
|
296
288
|
|
297
289
|
# Calls the TerminateJobFlows API operation.
|
298
290
|
# @method terminate_job_flows(options = {})
|
@@ -300,7 +292,6 @@ module AWS
|
|
300
292
|
# * +:job_flow_ids+ - *required* - (Array<String>) A list of job flows
|
301
293
|
# to be shutdown.
|
302
294
|
# @return [Core::Response]
|
303
|
-
define_client_method :terminate_job_flows, 'TerminateJobFlows'
|
304
295
|
|
305
296
|
## end client methods ##
|
306
297
|
|
data/lib/aws/iam/client.rb
CHANGED
@@ -15,11 +15,9 @@ module AWS
|
|
15
15
|
class IAM
|
16
16
|
|
17
17
|
# Client class for AWS Identity and Access Management (IAM).
|
18
|
-
class Client < Core::
|
18
|
+
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
extend Core::QueryClient
|
20
|
+
define_client_methods('2010-05-08')
|
23
21
|
|
24
22
|
# @private
|
25
23
|
CACHEABLE_REQUESTS = Set[
|
@@ -47,7 +45,6 @@ module AWS
|
|
47
45
|
# instance profile to update.
|
48
46
|
# * +:role_name+ - *required* - (String) Name of the role to add.
|
49
47
|
# @return [Core::Response]
|
50
|
-
define_client_method :add_role_to_instance_profile, 'AddRoleToInstanceProfile'
|
51
48
|
|
52
49
|
# Calls the AddUserToGroup API operation.
|
53
50
|
# @method add_user_to_group(options = {})
|
@@ -55,7 +52,6 @@ module AWS
|
|
55
52
|
# * +:group_name+ - *required* - (String) Name of the group to update.
|
56
53
|
# * +:user_name+ - *required* - (String) Name of the user to add.
|
57
54
|
# @return [Core::Response]
|
58
|
-
define_client_method :add_user_to_group, 'AddUserToGroup'
|
59
55
|
|
60
56
|
# Calls the ChangePassword API operation.
|
61
57
|
# @method change_password(options = {})
|
@@ -63,7 +59,6 @@ module AWS
|
|
63
59
|
# * +:old_password+ - *required* - (String)
|
64
60
|
# * +:new_password+ - *required* - (String)
|
65
61
|
# @return [Core::Response]
|
66
|
-
define_client_method :change_password, 'ChangePassword'
|
67
62
|
|
68
63
|
# Calls the CreateAccessKey API operation.
|
69
64
|
# @method create_access_key(options = {})
|
@@ -79,7 +74,6 @@ module AWS
|
|
79
74
|
# * +:status+ - (String)
|
80
75
|
# * +:secret_access_key+ - (String)
|
81
76
|
# * +:create_date+ - (Time)
|
82
|
-
define_client_method :create_access_key, 'CreateAccessKey'
|
83
77
|
|
84
78
|
# Calls the CreateAccountAlias API operation.
|
85
79
|
# @method create_account_alias(options = {})
|
@@ -87,7 +81,6 @@ module AWS
|
|
87
81
|
# * +:account_alias+ - *required* - (String) Name of the account alias
|
88
82
|
# to create.
|
89
83
|
# @return [Core::Response]
|
90
|
-
define_client_method :create_account_alias, 'CreateAccountAlias'
|
91
84
|
|
92
85
|
# Calls the CreateGroup API operation.
|
93
86
|
# @method create_group(options = {})
|
@@ -107,7 +100,6 @@ module AWS
|
|
107
100
|
# * +:group_id+ - (String)
|
108
101
|
# * +:arn+ - (String)
|
109
102
|
# * +:create_date+ - (Time)
|
110
|
-
define_client_method :create_group, 'CreateGroup'
|
111
103
|
|
112
104
|
# Calls the CreateInstanceProfile API operation.
|
113
105
|
# @method create_instance_profile(options = {})
|
@@ -134,7 +126,6 @@ module AWS
|
|
134
126
|
# * +:arn+ - (String)
|
135
127
|
# * +:create_date+ - (Time)
|
136
128
|
# * +:assume_role_policy_document+ - (String)
|
137
|
-
define_client_method :create_instance_profile, 'CreateInstanceProfile'
|
138
129
|
|
139
130
|
# Calls the CreateLoginProfile API operation.
|
140
131
|
# @method create_login_profile(options = {})
|
@@ -149,7 +140,6 @@ module AWS
|
|
149
140
|
# * +:login_profile+ - (Hash)
|
150
141
|
# * +:user_name+ - (String)
|
151
142
|
# * +:create_date+ - (Time)
|
152
|
-
define_client_method :create_login_profile, 'CreateLoginProfile'
|
153
143
|
|
154
144
|
# Calls the CreateRole API operation.
|
155
145
|
# @method create_role(options = {})
|
@@ -160,7 +150,7 @@ module AWS
|
|
160
150
|
# included, it defaults to a slash (/).
|
161
151
|
# * +:role_name+ - *required* - (String) Name of the role to create.
|
162
152
|
# * +:assume_role_policy_document+ - *required* - (String) The policy
|
163
|
-
#
|
153
|
+
# that grants an entity permission to assume the role.
|
164
154
|
# @return [Core::Response]
|
165
155
|
# The #data method of the response object returns
|
166
156
|
# a hash with the following structure:
|
@@ -171,7 +161,6 @@ module AWS
|
|
171
161
|
# * +:arn+ - (String)
|
172
162
|
# * +:create_date+ - (Time)
|
173
163
|
# * +:assume_role_policy_document+ - (String)
|
174
|
-
define_client_method :create_role, 'CreateRole'
|
175
164
|
|
176
165
|
# Calls the CreateUser API operation.
|
177
166
|
# @method create_user(options = {})
|
@@ -190,7 +179,6 @@ module AWS
|
|
190
179
|
# * +:user_id+ - (String)
|
191
180
|
# * +:arn+ - (String)
|
192
181
|
# * +:create_date+ - (Time)
|
193
|
-
define_client_method :create_user, 'CreateUser'
|
194
182
|
|
195
183
|
# Calls the CreateVirtualMFADevice API operation.
|
196
184
|
# @method create_virtual_mfa_device(options = {})
|
@@ -216,7 +204,6 @@ module AWS
|
|
216
204
|
# * +:arn+ - (String)
|
217
205
|
# * +:create_date+ - (Time)
|
218
206
|
# * +:enable_date+ - (Time)
|
219
|
-
define_client_method :create_virtual_mfa_device, 'CreateVirtualMFADevice'
|
220
207
|
|
221
208
|
# Calls the DeactivateMFADevice API operation.
|
222
209
|
# @method deactivate_mfa_device(options = {})
|
@@ -227,7 +214,6 @@ module AWS
|
|
227
214
|
# uniquely identifies the MFA device. For virtual MFA devices, the
|
228
215
|
# serial number is the device ARN.
|
229
216
|
# @return [Core::Response]
|
230
|
-
define_client_method :deactivate_mfa_device, 'DeactivateMFADevice'
|
231
217
|
|
232
218
|
# Calls the DeleteAccessKey API operation.
|
233
219
|
# @method delete_access_key(options = {})
|
@@ -237,7 +223,6 @@ module AWS
|
|
237
223
|
# * +:access_key_id+ - *required* - (String) The Access Key ID for the
|
238
224
|
# Access Key ID and Secret Access Key you want to delete.
|
239
225
|
# @return [Core::Response]
|
240
|
-
define_client_method :delete_access_key, 'DeleteAccessKey'
|
241
226
|
|
242
227
|
# Calls the DeleteAccountAlias API operation.
|
243
228
|
# @method delete_account_alias(options = {})
|
@@ -245,20 +230,17 @@ module AWS
|
|
245
230
|
# * +:account_alias+ - *required* - (String) Name of the account alias
|
246
231
|
# to delete.
|
247
232
|
# @return [Core::Response]
|
248
|
-
define_client_method :delete_account_alias, 'DeleteAccountAlias'
|
249
233
|
|
250
234
|
# Calls the DeleteAccountPasswordPolicy API operation.
|
251
235
|
# @method delete_account_password_policy(options = {})
|
252
236
|
# @param [Hash] options
|
253
237
|
# @return [Core::Response]
|
254
|
-
define_client_method :delete_account_password_policy, 'DeleteAccountPasswordPolicy'
|
255
238
|
|
256
239
|
# Calls the DeleteGroup API operation.
|
257
240
|
# @method delete_group(options = {})
|
258
241
|
# @param [Hash] options
|
259
242
|
# * +:group_name+ - *required* - (String) Name of the group to delete.
|
260
243
|
# @return [Core::Response]
|
261
|
-
define_client_method :delete_group, 'DeleteGroup'
|
262
244
|
|
263
245
|
# Calls the DeleteGroupPolicy API operation.
|
264
246
|
# @method delete_group_policy(options = {})
|
@@ -268,7 +250,6 @@ module AWS
|
|
268
250
|
# * +:policy_name+ - *required* - (String) Name of the policy document
|
269
251
|
# to delete.
|
270
252
|
# @return [Core::Response]
|
271
|
-
define_client_method :delete_group_policy, 'DeleteGroupPolicy'
|
272
253
|
|
273
254
|
# Calls the DeleteInstanceProfile API operation.
|
274
255
|
# @method delete_instance_profile(options = {})
|
@@ -276,7 +257,6 @@ module AWS
|
|
276
257
|
# * +:instance_profile_name+ - *required* - (String) Name of the
|
277
258
|
# instance profile to delete.
|
278
259
|
# @return [Core::Response]
|
279
|
-
define_client_method :delete_instance_profile, 'DeleteInstanceProfile'
|
280
260
|
|
281
261
|
# Calls the DeleteLoginProfile API operation.
|
282
262
|
# @method delete_login_profile(options = {})
|
@@ -284,24 +264,21 @@ module AWS
|
|
284
264
|
# * +:user_name+ - *required* - (String) Name of the user whose
|
285
265
|
# password you want to delete.
|
286
266
|
# @return [Core::Response]
|
287
|
-
define_client_method :delete_login_profile, 'DeleteLoginProfile'
|
288
267
|
|
289
268
|
# Calls the DeleteRole API operation.
|
290
269
|
# @method delete_role(options = {})
|
291
270
|
# @param [Hash] options
|
292
271
|
# * +:role_name+ - *required* - (String) Name of the role to delete.
|
293
272
|
# @return [Core::Response]
|
294
|
-
define_client_method :delete_role, 'DeleteRole'
|
295
273
|
|
296
274
|
# Calls the DeleteRolePolicy API operation.
|
297
275
|
# @method delete_role_policy(options = {})
|
298
276
|
# @param [Hash] options
|
299
|
-
# * +:role_name+ - *required* - (String) Name of the role the
|
300
|
-
# associated with.
|
277
|
+
# * +:role_name+ - *required* - (String) Name of the role the
|
278
|
+
# associated with the policy.
|
301
279
|
# * +:policy_name+ - *required* - (String) Name of the policy document
|
302
280
|
# to delete.
|
303
281
|
# @return [Core::Response]
|
304
|
-
define_client_method :delete_role_policy, 'DeleteRolePolicy'
|
305
282
|
|
306
283
|
# Calls the DeleteServerCertificate API operation.
|
307
284
|
# @method delete_server_certificate(options = {})
|
@@ -309,7 +286,6 @@ module AWS
|
|
309
286
|
# * +:server_certificate_name+ - *required* - (String) The name of the
|
310
287
|
# server certificate you want to delete.
|
311
288
|
# @return [Core::Response]
|
312
|
-
define_client_method :delete_server_certificate, 'DeleteServerCertificate'
|
313
289
|
|
314
290
|
# Calls the DeleteSigningCertificate API operation.
|
315
291
|
# @method delete_signing_certificate(options = {})
|
@@ -319,14 +295,12 @@ module AWS
|
|
319
295
|
# * +:certificate_id+ - *required* - (String) ID of the signing
|
320
296
|
# certificate to delete.
|
321
297
|
# @return [Core::Response]
|
322
|
-
define_client_method :delete_signing_certificate, 'DeleteSigningCertificate'
|
323
298
|
|
324
299
|
# Calls the DeleteUser API operation.
|
325
300
|
# @method delete_user(options = {})
|
326
301
|
# @param [Hash] options
|
327
302
|
# * +:user_name+ - *required* - (String) Name of the user to delete.
|
328
303
|
# @return [Core::Response]
|
329
|
-
define_client_method :delete_user, 'DeleteUser'
|
330
304
|
|
331
305
|
# Calls the DeleteUserPolicy API operation.
|
332
306
|
# @method delete_user_policy(options = {})
|
@@ -336,7 +310,6 @@ module AWS
|
|
336
310
|
# * +:policy_name+ - *required* - (String) Name of the policy document
|
337
311
|
# to delete.
|
338
312
|
# @return [Core::Response]
|
339
|
-
define_client_method :delete_user_policy, 'DeleteUserPolicy'
|
340
313
|
|
341
314
|
# Calls the DeleteVirtualMFADevice API operation.
|
342
315
|
# @method delete_virtual_mfa_device(options = {})
|
@@ -345,7 +318,6 @@ module AWS
|
|
345
318
|
# uniquely identifies the MFA device. For virtual MFA devices, the
|
346
319
|
# serial number is the same as the ARN.
|
347
320
|
# @return [Core::Response]
|
348
|
-
define_client_method :delete_virtual_mfa_device, 'DeleteVirtualMFADevice'
|
349
321
|
|
350
322
|
# Calls the EnableMFADevice API operation.
|
351
323
|
# @method enable_mfa_device(options = {})
|
@@ -360,7 +332,6 @@ module AWS
|
|
360
332
|
# * +:authentication_code_2+ - *required* - (String) A subsequent
|
361
333
|
# authentication code emitted by the device.
|
362
334
|
# @return [Core::Response]
|
363
|
-
define_client_method :enable_mfa_device, 'EnableMFADevice'
|
364
335
|
|
365
336
|
# Calls the GetAccountPasswordPolicy API operation.
|
366
337
|
# @method get_account_password_policy(options = {})
|
@@ -375,7 +346,6 @@ module AWS
|
|
375
346
|
# * +:require_uppercase_characters+ - (Boolean)
|
376
347
|
# * +:require_lowercase_characters+ - (Boolean)
|
377
348
|
# * +:allow_users_to_change_password+ - (Boolean)
|
378
|
-
define_client_method :get_account_password_policy, 'GetAccountPasswordPolicy'
|
379
349
|
|
380
350
|
# Calls the GetAccountSummary API operation.
|
381
351
|
# @method get_account_summary(options = {})
|
@@ -384,7 +354,6 @@ module AWS
|
|
384
354
|
# The #data method of the response object returns
|
385
355
|
# a hash with the following structure:
|
386
356
|
# * +:summary_map+ - (Hash<String,Integer>)
|
387
|
-
define_client_method :get_account_summary, 'GetAccountSummary'
|
388
357
|
|
389
358
|
# Calls the GetGroup API operation.
|
390
359
|
# @method get_group(options = {})
|
@@ -415,7 +384,6 @@ module AWS
|
|
415
384
|
# * +:create_date+ - (Time)
|
416
385
|
# * +:is_truncated+ - (Boolean)
|
417
386
|
# * +:marker+ - (String)
|
418
|
-
define_client_method :get_group, 'GetGroup'
|
419
387
|
|
420
388
|
# Calls the GetGroupPolicy API operation.
|
421
389
|
# @method get_group_policy(options = {})
|
@@ -430,7 +398,6 @@ module AWS
|
|
430
398
|
# * +:group_name+ - (String)
|
431
399
|
# * +:policy_name+ - (String)
|
432
400
|
# * +:policy_document+ - (String)
|
433
|
-
define_client_method :get_group_policy, 'GetGroupPolicy'
|
434
401
|
|
435
402
|
# Calls the GetInstanceProfile API operation.
|
436
403
|
# @method get_instance_profile(options = {})
|
@@ -453,7 +420,6 @@ module AWS
|
|
453
420
|
# * +:arn+ - (String)
|
454
421
|
# * +:create_date+ - (Time)
|
455
422
|
# * +:assume_role_policy_document+ - (String)
|
456
|
-
define_client_method :get_instance_profile, 'GetInstanceProfile'
|
457
423
|
|
458
424
|
# Calls the GetLoginProfile API operation.
|
459
425
|
# @method get_login_profile(options = {})
|
@@ -466,7 +432,6 @@ module AWS
|
|
466
432
|
# * +:login_profile+ - (Hash)
|
467
433
|
# * +:user_name+ - (String)
|
468
434
|
# * +:create_date+ - (Time)
|
469
|
-
define_client_method :get_login_profile, 'GetLoginProfile'
|
470
435
|
|
471
436
|
# Calls the GetRole API operation.
|
472
437
|
# @method get_role(options = {})
|
@@ -483,13 +448,12 @@ module AWS
|
|
483
448
|
# * +:arn+ - (String)
|
484
449
|
# * +:create_date+ - (Time)
|
485
450
|
# * +:assume_role_policy_document+ - (String)
|
486
|
-
define_client_method :get_role, 'GetRole'
|
487
451
|
|
488
452
|
# Calls the GetRolePolicy API operation.
|
489
453
|
# @method get_role_policy(options = {})
|
490
454
|
# @param [Hash] options
|
491
|
-
# * +:role_name+ - *required* - (String) Name of the role
|
492
|
-
#
|
455
|
+
# * +:role_name+ - *required* - (String) Name of the role associated
|
456
|
+
# with the policy.
|
493
457
|
# * +:policy_name+ - *required* - (String) Name of the policy document
|
494
458
|
# to get.
|
495
459
|
# @return [Core::Response]
|
@@ -498,7 +462,6 @@ module AWS
|
|
498
462
|
# * +:role_name+ - (String)
|
499
463
|
# * +:policy_name+ - (String)
|
500
464
|
# * +:policy_document+ - (String)
|
501
|
-
define_client_method :get_role_policy, 'GetRolePolicy'
|
502
465
|
|
503
466
|
# Calls the GetServerCertificate API operation.
|
504
467
|
# @method get_server_certificate(options = {})
|
@@ -517,7 +480,6 @@ module AWS
|
|
517
480
|
# * +:upload_date+ - (Time)
|
518
481
|
# * +:certificate_body+ - (String)
|
519
482
|
# * +:certificate_chain+ - (String)
|
520
|
-
define_client_method :get_server_certificate, 'GetServerCertificate'
|
521
483
|
|
522
484
|
# Calls the GetUser API operation.
|
523
485
|
# @method get_user(options = {})
|
@@ -534,7 +496,6 @@ module AWS
|
|
534
496
|
# * +:user_id+ - (String)
|
535
497
|
# * +:arn+ - (String)
|
536
498
|
# * +:create_date+ - (Time)
|
537
|
-
define_client_method :get_user, 'GetUser'
|
538
499
|
|
539
500
|
# Calls the GetUserPolicy API operation.
|
540
501
|
# @method get_user_policy(options = {})
|
@@ -549,7 +510,6 @@ module AWS
|
|
549
510
|
# * +:user_name+ - (String)
|
550
511
|
# * +:policy_name+ - (String)
|
551
512
|
# * +:policy_document+ - (String)
|
552
|
-
define_client_method :get_user_policy, 'GetUserPolicy'
|
553
513
|
|
554
514
|
# Calls the ListAccessKeys API operation.
|
555
515
|
# @method list_access_keys(options = {})
|
@@ -573,7 +533,6 @@ module AWS
|
|
573
533
|
# * +:create_date+ - (Time)
|
574
534
|
# * +:is_truncated+ - (Boolean)
|
575
535
|
# * +:marker+ - (String)
|
576
|
-
define_client_method :list_access_keys, 'ListAccessKeys'
|
577
536
|
|
578
537
|
# Calls the ListAccountAliases API operation.
|
579
538
|
# @method list_account_aliases(options = {})
|
@@ -592,7 +551,6 @@ module AWS
|
|
592
551
|
# * +:account_aliases+ - (Array<String>)
|
593
552
|
# * +:is_truncated+ - (Boolean)
|
594
553
|
# * +:marker+ - (String)
|
595
|
-
define_client_method :list_account_aliases, 'ListAccountAliases'
|
596
554
|
|
597
555
|
# Calls the ListGroupPolicies API operation.
|
598
556
|
# @method list_group_policies(options = {})
|
@@ -613,7 +571,6 @@ module AWS
|
|
613
571
|
# * +:policy_names+ - (Array<String>)
|
614
572
|
# * +:is_truncated+ - (Boolean)
|
615
573
|
# * +:marker+ - (String)
|
616
|
-
define_client_method :list_group_policies, 'ListGroupPolicies'
|
617
574
|
|
618
575
|
# Calls the ListGroups API operation.
|
619
576
|
# @method list_groups(options = {})
|
@@ -642,7 +599,6 @@ module AWS
|
|
642
599
|
# * +:create_date+ - (Time)
|
643
600
|
# * +:is_truncated+ - (Boolean)
|
644
601
|
# * +:marker+ - (String)
|
645
|
-
define_client_method :list_groups, 'ListGroups'
|
646
602
|
|
647
603
|
# Calls the ListGroupsForUser API operation.
|
648
604
|
# @method list_groups_for_user(options = {})
|
@@ -668,7 +624,6 @@ module AWS
|
|
668
624
|
# * +:create_date+ - (Time)
|
669
625
|
# * +:is_truncated+ - (Boolean)
|
670
626
|
# * +:marker+ - (String)
|
671
|
-
define_client_method :list_groups_for_user, 'ListGroupsForUser'
|
672
627
|
|
673
628
|
# Calls the ListInstanceProfiles API operation.
|
674
629
|
# @method list_instance_profiles(options = {})
|
@@ -705,7 +660,6 @@ module AWS
|
|
705
660
|
# * +:assume_role_policy_document+ - (String)
|
706
661
|
# * +:is_truncated+ - (Boolean)
|
707
662
|
# * +:marker+ - (String)
|
708
|
-
define_client_method :list_instance_profiles, 'ListInstanceProfiles'
|
709
663
|
|
710
664
|
# Calls the ListInstanceProfilesForRole API operation.
|
711
665
|
# @method list_instance_profiles_for_role(options = {})
|
@@ -738,7 +692,6 @@ module AWS
|
|
738
692
|
# * +:assume_role_policy_document+ - (String)
|
739
693
|
# * +:is_truncated+ - (Boolean)
|
740
694
|
# * +:marker+ - (String)
|
741
|
-
define_client_method :list_instance_profiles_for_role, 'ListInstanceProfilesForRole'
|
742
695
|
|
743
696
|
# Calls the ListMFADevices API operation.
|
744
697
|
# @method list_mfa_devices(options = {})
|
@@ -762,7 +715,6 @@ module AWS
|
|
762
715
|
# * +:enable_date+ - (Time)
|
763
716
|
# * +:is_truncated+ - (Boolean)
|
764
717
|
# * +:marker+ - (String)
|
765
|
-
define_client_method :list_mfa_devices, 'ListMFADevices'
|
766
718
|
|
767
719
|
# Calls the ListRolePolicies API operation.
|
768
720
|
# @method list_role_policies(options = {})
|
@@ -783,7 +735,6 @@ module AWS
|
|
783
735
|
# * +:policy_names+ - (Array<String>)
|
784
736
|
# * +:is_truncated+ - (Boolean)
|
785
737
|
# * +:marker+ - (String)
|
786
|
-
define_client_method :list_role_policies, 'ListRolePolicies'
|
787
738
|
|
788
739
|
# Calls the ListRoles API operation.
|
789
740
|
# @method list_roles(options = {})
|
@@ -813,7 +764,6 @@ module AWS
|
|
813
764
|
# * +:assume_role_policy_document+ - (String)
|
814
765
|
# * +:is_truncated+ - (Boolean)
|
815
766
|
# * +:marker+ - (String)
|
816
|
-
define_client_method :list_roles, 'ListRoles'
|
817
767
|
|
818
768
|
# Calls the ListServerCertificates API operation.
|
819
769
|
# @method list_server_certificates(options = {})
|
@@ -843,7 +793,6 @@ module AWS
|
|
843
793
|
# * +:upload_date+ - (Time)
|
844
794
|
# * +:is_truncated+ - (Boolean)
|
845
795
|
# * +:marker+ - (String)
|
846
|
-
define_client_method :list_server_certificates, 'ListServerCertificates'
|
847
796
|
|
848
797
|
# Calls the ListSigningCertificates API operation.
|
849
798
|
# @method list_signing_certificates(options = {})
|
@@ -868,7 +817,6 @@ module AWS
|
|
868
817
|
# * +:upload_date+ - (Time)
|
869
818
|
# * +:is_truncated+ - (Boolean)
|
870
819
|
# * +:marker+ - (String)
|
871
|
-
define_client_method :list_signing_certificates, 'ListSigningCertificates'
|
872
820
|
|
873
821
|
# Calls the ListUserPolicies API operation.
|
874
822
|
# @method list_user_policies(options = {})
|
@@ -889,7 +837,6 @@ module AWS
|
|
889
837
|
# * +:policy_names+ - (Array<String>)
|
890
838
|
# * +:is_truncated+ - (Boolean)
|
891
839
|
# * +:marker+ - (String)
|
892
|
-
define_client_method :list_user_policies, 'ListUserPolicies'
|
893
840
|
|
894
841
|
# Calls the ListUsers API operation.
|
895
842
|
# @method list_users(options = {})
|
@@ -919,7 +866,6 @@ module AWS
|
|
919
866
|
# * +:create_date+ - (Time)
|
920
867
|
# * +:is_truncated+ - (Boolean)
|
921
868
|
# * +:marker+ - (String)
|
922
|
-
define_client_method :list_users, 'ListUsers'
|
923
869
|
|
924
870
|
# Calls the ListVirtualMFADevices API operation.
|
925
871
|
# @method list_virtual_mfa_devices(options = {})
|
@@ -952,7 +898,6 @@ module AWS
|
|
952
898
|
# * +:enable_date+ - (Time)
|
953
899
|
# * +:is_truncated+ - (Boolean)
|
954
900
|
# * +:marker+ - (String)
|
955
|
-
define_client_method :list_virtual_mfa_devices, 'ListVirtualMFADevices'
|
956
901
|
|
957
902
|
# Calls the PutGroupPolicy API operation.
|
958
903
|
# @method put_group_policy(options = {})
|
@@ -962,7 +907,6 @@ module AWS
|
|
962
907
|
# * +:policy_name+ - *required* - (String) Name of the policy document.
|
963
908
|
# * +:policy_document+ - *required* - (String) The policy document.
|
964
909
|
# @return [Core::Response]
|
965
|
-
define_client_method :put_group_policy, 'PutGroupPolicy'
|
966
910
|
|
967
911
|
# Calls the PutRolePolicy API operation.
|
968
912
|
# @method put_role_policy(options = {})
|
@@ -972,7 +916,6 @@ module AWS
|
|
972
916
|
# * +:policy_name+ - *required* - (String) Name of the policy document.
|
973
917
|
# * +:policy_document+ - *required* - (String) The policy document.
|
974
918
|
# @return [Core::Response]
|
975
|
-
define_client_method :put_role_policy, 'PutRolePolicy'
|
976
919
|
|
977
920
|
# Calls the PutUserPolicy API operation.
|
978
921
|
# @method put_user_policy(options = {})
|
@@ -982,7 +925,6 @@ module AWS
|
|
982
925
|
# * +:policy_name+ - *required* - (String) Name of the policy document.
|
983
926
|
# * +:policy_document+ - *required* - (String) The policy document.
|
984
927
|
# @return [Core::Response]
|
985
|
-
define_client_method :put_user_policy, 'PutUserPolicy'
|
986
928
|
|
987
929
|
# Calls the RemoveRoleFromInstanceProfile API operation.
|
988
930
|
# @method remove_role_from_instance_profile(options = {})
|
@@ -991,7 +933,6 @@ module AWS
|
|
991
933
|
# instance profile to update.
|
992
934
|
# * +:role_name+ - *required* - (String) Name of the role to remove.
|
993
935
|
# @return [Core::Response]
|
994
|
-
define_client_method :remove_role_from_instance_profile, 'RemoveRoleFromInstanceProfile'
|
995
936
|
|
996
937
|
# Calls the RemoveUserFromGroup API operation.
|
997
938
|
# @method remove_user_from_group(options = {})
|
@@ -999,7 +940,6 @@ module AWS
|
|
999
940
|
# * +:group_name+ - *required* - (String) Name of the group to update.
|
1000
941
|
# * +:user_name+ - *required* - (String) Name of the user to remove.
|
1001
942
|
# @return [Core::Response]
|
1002
|
-
define_client_method :remove_user_from_group, 'RemoveUserFromGroup'
|
1003
943
|
|
1004
944
|
# Calls the ResyncMFADevice API operation.
|
1005
945
|
# @method resync_mfa_device(options = {})
|
@@ -1013,7 +953,6 @@ module AWS
|
|
1013
953
|
# * +:authentication_code_2+ - *required* - (String) A subsequent
|
1014
954
|
# authentication code emitted by the device.
|
1015
955
|
# @return [Core::Response]
|
1016
|
-
define_client_method :resync_mfa_device, 'ResyncMFADevice'
|
1017
956
|
|
1018
957
|
# Calls the UpdateAccessKey API operation.
|
1019
958
|
# @method update_access_key(options = {})
|
@@ -1026,7 +965,6 @@ module AWS
|
|
1026
965
|
# the Secret Access Key. Active means the key can be used for API
|
1027
966
|
# calls to AWS, while Inactive means the key cannot be used.
|
1028
967
|
# @return [Core::Response]
|
1029
|
-
define_client_method :update_access_key, 'UpdateAccessKey'
|
1030
968
|
|
1031
969
|
# Calls the UpdateAccountPasswordPolicy API operation.
|
1032
970
|
# @method update_account_password_policy(options = {})
|
@@ -1038,16 +976,14 @@ module AWS
|
|
1038
976
|
# * +:require_lowercase_characters+ - (Boolean)
|
1039
977
|
# * +:allow_users_to_change_password+ - (Boolean)
|
1040
978
|
# @return [Core::Response]
|
1041
|
-
define_client_method :update_account_password_policy, 'UpdateAccountPasswordPolicy'
|
1042
979
|
|
1043
980
|
# Calls the UpdateAssumeRolePolicy API operation.
|
1044
981
|
# @method update_assume_role_policy(options = {})
|
1045
982
|
# @param [Hash] options
|
1046
983
|
# * +:role_name+ - *required* - (String) Name of the role to update.
|
1047
|
-
# * +:policy_document+ - *required* - (String) The policy
|
1048
|
-
#
|
984
|
+
# * +:policy_document+ - *required* - (String) The policy that grants
|
985
|
+
# an entity permission to assume the role.
|
1049
986
|
# @return [Core::Response]
|
1050
|
-
define_client_method :update_assume_role_policy, 'UpdateAssumeRolePolicy'
|
1051
987
|
|
1052
988
|
# Calls the UpdateGroup API operation.
|
1053
989
|
# @method update_group(options = {})
|
@@ -1060,7 +996,6 @@ module AWS
|
|
1060
996
|
# * +:new_group_name+ - (String) New name for the group. Only include
|
1061
997
|
# this if changing the group's name.
|
1062
998
|
# @return [Core::Response]
|
1063
|
-
define_client_method :update_group, 'UpdateGroup'
|
1064
999
|
|
1065
1000
|
# Calls the UpdateLoginProfile API operation.
|
1066
1001
|
# @method update_login_profile(options = {})
|
@@ -1069,7 +1004,6 @@ module AWS
|
|
1069
1004
|
# password you want to update.
|
1070
1005
|
# * +:password+ - (String) The new password for the user name.
|
1071
1006
|
# @return [Core::Response]
|
1072
|
-
define_client_method :update_login_profile, 'UpdateLoginProfile'
|
1073
1007
|
|
1074
1008
|
# Calls the UpdateServerCertificate API operation.
|
1075
1009
|
# @method update_server_certificate(options = {})
|
@@ -1083,7 +1017,6 @@ module AWS
|
|
1083
1017
|
# server certificate. Include this only if you are updating the
|
1084
1018
|
# server certificate's name.
|
1085
1019
|
# @return [Core::Response]
|
1086
|
-
define_client_method :update_server_certificate, 'UpdateServerCertificate'
|
1087
1020
|
|
1088
1021
|
# Calls the UpdateSigningCertificate API operation.
|
1089
1022
|
# @method update_signing_certificate(options = {})
|
@@ -1096,7 +1029,6 @@ module AWS
|
|
1096
1029
|
# the certificate. Active means the certificate can be used for API
|
1097
1030
|
# calls to AWS, while Inactive means the certificate cannot be used.
|
1098
1031
|
# @return [Core::Response]
|
1099
|
-
define_client_method :update_signing_certificate, 'UpdateSigningCertificate'
|
1100
1032
|
|
1101
1033
|
# Calls the UpdateUser API operation.
|
1102
1034
|
# @method update_user(options = {})
|
@@ -1109,7 +1041,6 @@ module AWS
|
|
1109
1041
|
# * +:new_user_name+ - (String) New name for the user. Include this
|
1110
1042
|
# parameter only if you're changing the user's name.
|
1111
1043
|
# @return [Core::Response]
|
1112
|
-
define_client_method :update_user, 'UpdateUser'
|
1113
1044
|
|
1114
1045
|
# Calls the UploadServerCertificate API operation.
|
1115
1046
|
# @method upload_server_certificate(options = {})
|
@@ -1136,7 +1067,6 @@ module AWS
|
|
1136
1067
|
# * +:server_certificate_id+ - (String)
|
1137
1068
|
# * +:arn+ - (String)
|
1138
1069
|
# * +:upload_date+ - (Time)
|
1139
|
-
define_client_method :upload_server_certificate, 'UploadServerCertificate'
|
1140
1070
|
|
1141
1071
|
# Calls the UploadSigningCertificate API operation.
|
1142
1072
|
# @method upload_signing_certificate(options = {})
|
@@ -1154,7 +1084,6 @@ module AWS
|
|
1154
1084
|
# * +:certificate_body+ - (String)
|
1155
1085
|
# * +:status+ - (String)
|
1156
1086
|
# * +:upload_date+ - (Time)
|
1157
|
-
define_client_method :upload_signing_certificate, 'UploadSigningCertificate'
|
1158
1087
|
|
1159
1088
|
## end client methods ##
|
1160
1089
|
|