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/iam/client.rb
CHANGED
@@ -40,1161 +40,6 @@ module AWS
|
|
40
40
|
|
41
41
|
class Client::V20100508 < Client
|
42
42
|
|
43
|
-
# client methods #
|
44
|
-
|
45
|
-
# @!method add_role_to_instance_profile(options = {})
|
46
|
-
# Calls the AddRoleToInstanceProfile API operation.
|
47
|
-
# @param [Hash] options
|
48
|
-
#
|
49
|
-
# * `:instance_profile_name` - *required* - (String) Name of the
|
50
|
-
# instance profile to update.
|
51
|
-
# * `:role_name` - *required* - (String) Name of the role to add.
|
52
|
-
# @return [Core::Response]
|
53
|
-
|
54
|
-
# @!method add_user_to_group(options = {})
|
55
|
-
# Calls the AddUserToGroup API operation.
|
56
|
-
# @param [Hash] options
|
57
|
-
#
|
58
|
-
# * `:group_name` - *required* - (String) Name of the group to update.
|
59
|
-
# * `:user_name` - *required* - (String) Name of the user to add.
|
60
|
-
# @return [Core::Response]
|
61
|
-
|
62
|
-
# @!method change_password(options = {})
|
63
|
-
# Calls the ChangePassword API operation.
|
64
|
-
# @param [Hash] options
|
65
|
-
#
|
66
|
-
# * `:old_password` - *required* - (String)
|
67
|
-
# * `:new_password` - *required* - (String)
|
68
|
-
# @return [Core::Response]
|
69
|
-
|
70
|
-
# @!method create_access_key(options = {})
|
71
|
-
# Calls the CreateAccessKey API operation.
|
72
|
-
# @param [Hash] options
|
73
|
-
#
|
74
|
-
# * `:user_name` - (String) The user name that the new key will belong
|
75
|
-
# to.
|
76
|
-
# @return [Core::Response]
|
77
|
-
# The #data method of the response object returns
|
78
|
-
# a hash with the following structure:
|
79
|
-
#
|
80
|
-
# * `:access_key` - (Hash)
|
81
|
-
# * `:user_name` - (String)
|
82
|
-
# * `:access_key_id` - (String)
|
83
|
-
# * `:status` - (String)
|
84
|
-
# * `:secret_access_key` - (String)
|
85
|
-
# * `:create_date` - (Time)
|
86
|
-
|
87
|
-
# @!method create_account_alias(options = {})
|
88
|
-
# Calls the CreateAccountAlias API operation.
|
89
|
-
# @param [Hash] options
|
90
|
-
#
|
91
|
-
# * `:account_alias` - *required* - (String) Name of the account alias
|
92
|
-
# to create.
|
93
|
-
# @return [Core::Response]
|
94
|
-
|
95
|
-
# @!method create_group(options = {})
|
96
|
-
# Calls the CreateGroup API operation.
|
97
|
-
# @param [Hash] options
|
98
|
-
#
|
99
|
-
# * `:path` - (String) The path to the group. For more information
|
100
|
-
# about paths, see Identifiers for IAM Entities in Using AWS Identity
|
101
|
-
# and Access Management. This parameter is optional. If it is not
|
102
|
-
# included, it defaults to a slash (/).
|
103
|
-
# * `:group_name` - *required* - (String) Name of the group to create.
|
104
|
-
# Do not include the path in this value.
|
105
|
-
# @return [Core::Response]
|
106
|
-
# The #data method of the response object returns
|
107
|
-
# a hash with the following structure:
|
108
|
-
#
|
109
|
-
# * `:group` - (Hash)
|
110
|
-
# * `:path` - (String)
|
111
|
-
# * `:group_name` - (String)
|
112
|
-
# * `:group_id` - (String)
|
113
|
-
# * `:arn` - (String)
|
114
|
-
# * `:create_date` - (Time)
|
115
|
-
|
116
|
-
# @!method create_instance_profile(options = {})
|
117
|
-
# Calls the CreateInstanceProfile API operation.
|
118
|
-
# @param [Hash] options
|
119
|
-
#
|
120
|
-
# * `:instance_profile_name` - *required* - (String) Name of the
|
121
|
-
# instance profile to create.
|
122
|
-
# * `:path` - (String) The path to the instance profile. For more
|
123
|
-
# information about paths, see Identifiers for IAM Entities in Using
|
124
|
-
# AWS Identity and Access Management. This parameter is optional. If
|
125
|
-
# it is not included, it defaults to a slash (/).
|
126
|
-
# @return [Core::Response]
|
127
|
-
# The #data method of the response object returns
|
128
|
-
# a hash with the following structure:
|
129
|
-
#
|
130
|
-
# * `:instance_profile` - (Hash)
|
131
|
-
# * `:path` - (String)
|
132
|
-
# * `:instance_profile_name` - (String)
|
133
|
-
# * `:instance_profile_id` - (String)
|
134
|
-
# * `:arn` - (String)
|
135
|
-
# * `:create_date` - (Time)
|
136
|
-
# * `:roles` - (Array<Hash>)
|
137
|
-
# * `:path` - (String)
|
138
|
-
# * `:role_name` - (String)
|
139
|
-
# * `:role_id` - (String)
|
140
|
-
# * `:arn` - (String)
|
141
|
-
# * `:create_date` - (Time)
|
142
|
-
# * `:assume_role_policy_document` - (String)
|
143
|
-
|
144
|
-
# @!method create_login_profile(options = {})
|
145
|
-
# Calls the CreateLoginProfile API operation.
|
146
|
-
# @param [Hash] options
|
147
|
-
#
|
148
|
-
# * `:user_name` - *required* - (String) Name of the user to create a
|
149
|
-
# password for.
|
150
|
-
# * `:password` - *required* - (String) The new password for the user
|
151
|
-
# name.
|
152
|
-
# @return [Core::Response]
|
153
|
-
# The #data method of the response object returns
|
154
|
-
# a hash with the following structure:
|
155
|
-
#
|
156
|
-
# * `:login_profile` - (Hash)
|
157
|
-
# * `:user_name` - (String)
|
158
|
-
# * `:create_date` - (Time)
|
159
|
-
|
160
|
-
# @!method create_role(options = {})
|
161
|
-
# Calls the CreateRole API operation.
|
162
|
-
# @param [Hash] options
|
163
|
-
#
|
164
|
-
# * `:path` - (String) The path to the role. For more information about
|
165
|
-
# paths, see Identifiers for IAM Entities in Using AWS Identity and
|
166
|
-
# Access Management. This parameter is optional. If it is not
|
167
|
-
# included, it defaults to a slash (/).
|
168
|
-
# * `:role_name` - *required* - (String) Name of the role to create.
|
169
|
-
# * `:assume_role_policy_document` - *required* - (String) The policy
|
170
|
-
# that grants an entity permission to assume the role.
|
171
|
-
# @return [Core::Response]
|
172
|
-
# The #data method of the response object returns
|
173
|
-
# a hash with the following structure:
|
174
|
-
#
|
175
|
-
# * `:role` - (Hash)
|
176
|
-
# * `:path` - (String)
|
177
|
-
# * `:role_name` - (String)
|
178
|
-
# * `:role_id` - (String)
|
179
|
-
# * `:arn` - (String)
|
180
|
-
# * `:create_date` - (Time)
|
181
|
-
# * `:assume_role_policy_document` - (String)
|
182
|
-
|
183
|
-
# @!method create_user(options = {})
|
184
|
-
# Calls the CreateUser API operation.
|
185
|
-
# @param [Hash] options
|
186
|
-
#
|
187
|
-
# * `:path` - (String) The path for the user name. For more information
|
188
|
-
# about paths, see Identifiers for IAM Entities in Using AWS Identity
|
189
|
-
# and Access Management. This parameter is optional. If it is not
|
190
|
-
# included, it defaults to a slash (/).
|
191
|
-
# * `:user_name` - *required* - (String) Name of the user to create.
|
192
|
-
# @return [Core::Response]
|
193
|
-
# The #data method of the response object returns
|
194
|
-
# a hash with the following structure:
|
195
|
-
#
|
196
|
-
# * `:user` - (Hash)
|
197
|
-
# * `:path` - (String)
|
198
|
-
# * `:user_name` - (String)
|
199
|
-
# * `:user_id` - (String)
|
200
|
-
# * `:arn` - (String)
|
201
|
-
# * `:create_date` - (Time)
|
202
|
-
|
203
|
-
# @!method create_virtual_mfa_device(options = {})
|
204
|
-
# Calls the CreateVirtualMFADevice API operation.
|
205
|
-
# @param [Hash] options
|
206
|
-
#
|
207
|
-
# * `:path` - (String) The path for the virtual MFA device. For more
|
208
|
-
# information about paths, see Identifiers for IAM Entities in Using
|
209
|
-
# AWS Identity and Access Management. This parameter is optional. If
|
210
|
-
# it is not included, it defaults to a slash (/).
|
211
|
-
# * `:virtual_mfa_device_name` - *required* - (String) The name of the
|
212
|
-
# virtual MFA device. Use with path to uniquely identify a virtual
|
213
|
-
# MFA device.
|
214
|
-
# @return [Core::Response]
|
215
|
-
# The #data method of the response object returns
|
216
|
-
# a hash with the following structure:
|
217
|
-
#
|
218
|
-
# * `:virtual_mfa_device` - (Hash)
|
219
|
-
# * `:serial_number` - (String)
|
220
|
-
# * `:base_32_string_seed` - (String)
|
221
|
-
# * `:qr_code_png` - (String)
|
222
|
-
# * `:user` - (Hash)
|
223
|
-
# * `:path` - (String)
|
224
|
-
# * `:user_name` - (String)
|
225
|
-
# * `:user_id` - (String)
|
226
|
-
# * `:arn` - (String)
|
227
|
-
# * `:create_date` - (Time)
|
228
|
-
# * `:enable_date` - (Time)
|
229
|
-
|
230
|
-
# @!method deactivate_mfa_device(options = {})
|
231
|
-
# Calls the DeactivateMFADevice API operation.
|
232
|
-
# @param [Hash] options
|
233
|
-
#
|
234
|
-
# * `:user_name` - *required* - (String) Name of the user whose MFA
|
235
|
-
# device you want to deactivate.
|
236
|
-
# * `:serial_number` - *required* - (String) The serial number that
|
237
|
-
# uniquely identifies the MFA device. For virtual MFA devices, the
|
238
|
-
# serial number is the device ARN.
|
239
|
-
# @return [Core::Response]
|
240
|
-
|
241
|
-
# @!method delete_access_key(options = {})
|
242
|
-
# Calls the DeleteAccessKey API operation.
|
243
|
-
# @param [Hash] options
|
244
|
-
#
|
245
|
-
# * `:user_name` - (String) Name of the user whose key you want to
|
246
|
-
# delete.
|
247
|
-
# * `:access_key_id` - *required* - (String) The Access Key ID for the
|
248
|
-
# Access Key ID and Secret Access Key you want to delete.
|
249
|
-
# @return [Core::Response]
|
250
|
-
|
251
|
-
# @!method delete_account_alias(options = {})
|
252
|
-
# Calls the DeleteAccountAlias API operation.
|
253
|
-
# @param [Hash] options
|
254
|
-
#
|
255
|
-
# * `:account_alias` - *required* - (String) Name of the account alias
|
256
|
-
# to delete.
|
257
|
-
# @return [Core::Response]
|
258
|
-
|
259
|
-
# @!method delete_account_password_policy(options = {})
|
260
|
-
# Calls the DeleteAccountPasswordPolicy API operation.
|
261
|
-
# @param [Hash] options
|
262
|
-
#
|
263
|
-
# @return [Core::Response]
|
264
|
-
|
265
|
-
# @!method delete_group(options = {})
|
266
|
-
# Calls the DeleteGroup API operation.
|
267
|
-
# @param [Hash] options
|
268
|
-
#
|
269
|
-
# * `:group_name` - *required* - (String) Name of the group to delete.
|
270
|
-
# @return [Core::Response]
|
271
|
-
|
272
|
-
# @!method delete_group_policy(options = {})
|
273
|
-
# Calls the DeleteGroupPolicy API operation.
|
274
|
-
# @param [Hash] options
|
275
|
-
#
|
276
|
-
# * `:group_name` - *required* - (String) Name of the group the policy
|
277
|
-
# is associated with.
|
278
|
-
# * `:policy_name` - *required* - (String) Name of the policy document
|
279
|
-
# to delete.
|
280
|
-
# @return [Core::Response]
|
281
|
-
|
282
|
-
# @!method delete_instance_profile(options = {})
|
283
|
-
# Calls the DeleteInstanceProfile API operation.
|
284
|
-
# @param [Hash] options
|
285
|
-
#
|
286
|
-
# * `:instance_profile_name` - *required* - (String) Name of the
|
287
|
-
# instance profile to delete.
|
288
|
-
# @return [Core::Response]
|
289
|
-
|
290
|
-
# @!method delete_login_profile(options = {})
|
291
|
-
# Calls the DeleteLoginProfile API operation.
|
292
|
-
# @param [Hash] options
|
293
|
-
#
|
294
|
-
# * `:user_name` - *required* - (String) Name of the user whose
|
295
|
-
# password you want to delete.
|
296
|
-
# @return [Core::Response]
|
297
|
-
|
298
|
-
# @!method delete_role(options = {})
|
299
|
-
# Calls the DeleteRole API operation.
|
300
|
-
# @param [Hash] options
|
301
|
-
#
|
302
|
-
# * `:role_name` - *required* - (String) Name of the role to delete.
|
303
|
-
# @return [Core::Response]
|
304
|
-
|
305
|
-
# @!method delete_role_policy(options = {})
|
306
|
-
# Calls the DeleteRolePolicy API operation.
|
307
|
-
# @param [Hash] options
|
308
|
-
#
|
309
|
-
# * `:role_name` - *required* - (String) Name of the role the
|
310
|
-
# associated with the policy.
|
311
|
-
# * `:policy_name` - *required* - (String) Name of the policy document
|
312
|
-
# to delete.
|
313
|
-
# @return [Core::Response]
|
314
|
-
|
315
|
-
# @!method delete_server_certificate(options = {})
|
316
|
-
# Calls the DeleteServerCertificate API operation.
|
317
|
-
# @param [Hash] options
|
318
|
-
#
|
319
|
-
# * `:server_certificate_name` - *required* - (String) The name of the
|
320
|
-
# server certificate you want to delete.
|
321
|
-
# @return [Core::Response]
|
322
|
-
|
323
|
-
# @!method delete_signing_certificate(options = {})
|
324
|
-
# Calls the DeleteSigningCertificate API operation.
|
325
|
-
# @param [Hash] options
|
326
|
-
#
|
327
|
-
# * `:user_name` - (String) Name of the user the signing certificate
|
328
|
-
# belongs to.
|
329
|
-
# * `:certificate_id` - *required* - (String) ID of the signing
|
330
|
-
# certificate to delete.
|
331
|
-
# @return [Core::Response]
|
332
|
-
|
333
|
-
# @!method delete_user(options = {})
|
334
|
-
# Calls the DeleteUser API operation.
|
335
|
-
# @param [Hash] options
|
336
|
-
#
|
337
|
-
# * `:user_name` - *required* - (String) Name of the user to delete.
|
338
|
-
# @return [Core::Response]
|
339
|
-
|
340
|
-
# @!method delete_user_policy(options = {})
|
341
|
-
# Calls the DeleteUserPolicy API operation.
|
342
|
-
# @param [Hash] options
|
343
|
-
#
|
344
|
-
# * `:user_name` - *required* - (String) Name of the user the policy is
|
345
|
-
# associated with.
|
346
|
-
# * `:policy_name` - *required* - (String) Name of the policy document
|
347
|
-
# to delete.
|
348
|
-
# @return [Core::Response]
|
349
|
-
|
350
|
-
# @!method delete_virtual_mfa_device(options = {})
|
351
|
-
# Calls the DeleteVirtualMFADevice API operation.
|
352
|
-
# @param [Hash] options
|
353
|
-
#
|
354
|
-
# * `:serial_number` - *required* - (String) The serial number that
|
355
|
-
# uniquely identifies the MFA device. For virtual MFA devices, the
|
356
|
-
# serial number is the same as the ARN.
|
357
|
-
# @return [Core::Response]
|
358
|
-
|
359
|
-
# @!method enable_mfa_device(options = {})
|
360
|
-
# Calls the EnableMFADevice API operation.
|
361
|
-
# @param [Hash] options
|
362
|
-
#
|
363
|
-
# * `:user_name` - *required* - (String) Name of the user for whom you
|
364
|
-
# want to enable the MFA device.
|
365
|
-
# * `:serial_number` - *required* - (String) The serial number that
|
366
|
-
# uniquely identifies the MFA device. For virtual MFA devices, the
|
367
|
-
# serial number is the device ARN.
|
368
|
-
# * `:authentication_code_1` - *required* - (String) An authentication
|
369
|
-
# code emitted by the device.
|
370
|
-
# * `:authentication_code_2` - *required* - (String) A subsequent
|
371
|
-
# authentication code emitted by the device.
|
372
|
-
# @return [Core::Response]
|
373
|
-
|
374
|
-
# @!method get_account_password_policy(options = {})
|
375
|
-
# Calls the GetAccountPasswordPolicy API operation.
|
376
|
-
# @param [Hash] options
|
377
|
-
#
|
378
|
-
# @return [Core::Response]
|
379
|
-
# The #data method of the response object returns
|
380
|
-
# a hash with the following structure:
|
381
|
-
#
|
382
|
-
# * `:password_policy` - (Hash)
|
383
|
-
# * `:minimum_password_length` - (Integer)
|
384
|
-
# * `:require_symbols` - (Boolean)
|
385
|
-
# * `:require_numbers` - (Boolean)
|
386
|
-
# * `:require_uppercase_characters` - (Boolean)
|
387
|
-
# * `:require_lowercase_characters` - (Boolean)
|
388
|
-
# * `:allow_users_to_change_password` - (Boolean)
|
389
|
-
|
390
|
-
# @!method get_account_summary(options = {})
|
391
|
-
# Calls the GetAccountSummary API operation.
|
392
|
-
# @param [Hash] options
|
393
|
-
#
|
394
|
-
# @return [Core::Response]
|
395
|
-
# The #data method of the response object returns
|
396
|
-
# a hash with the following structure:
|
397
|
-
#
|
398
|
-
# * `:summary_map` - (Hash<String,Integer>)
|
399
|
-
|
400
|
-
# @!method get_group(options = {})
|
401
|
-
# Calls the GetGroup API operation.
|
402
|
-
# @param [Hash] options
|
403
|
-
#
|
404
|
-
# * `:group_name` - *required* - (String) Name of the group.
|
405
|
-
# * `:marker` - (String) Use this only when paginating results, and
|
406
|
-
# only in a subsequent request after you've received a response where
|
407
|
-
# the results are truncated. Set it to the value of the Marker
|
408
|
-
# element in the response you just received.
|
409
|
-
# * `:max_items` - (Integer) Use this only when paginating results to
|
410
|
-
# indicate the maximum number of user names you want in the response.
|
411
|
-
# If there are additional user names beyond the maximum you specify,
|
412
|
-
# the IsTruncated response element is `true` .
|
413
|
-
# @return [Core::Response]
|
414
|
-
# The #data method of the response object returns
|
415
|
-
# a hash with the following structure:
|
416
|
-
#
|
417
|
-
# * `:group` - (Hash)
|
418
|
-
# * `:path` - (String)
|
419
|
-
# * `:group_name` - (String)
|
420
|
-
# * `:group_id` - (String)
|
421
|
-
# * `:arn` - (String)
|
422
|
-
# * `:create_date` - (Time)
|
423
|
-
# * `:users` - (Array<Hash>)
|
424
|
-
# * `:path` - (String)
|
425
|
-
# * `:user_name` - (String)
|
426
|
-
# * `:user_id` - (String)
|
427
|
-
# * `:arn` - (String)
|
428
|
-
# * `:create_date` - (Time)
|
429
|
-
# * `:is_truncated` - (Boolean)
|
430
|
-
# * `:marker` - (String)
|
431
|
-
|
432
|
-
# @!method get_group_policy(options = {})
|
433
|
-
# Calls the GetGroupPolicy API operation.
|
434
|
-
# @param [Hash] options
|
435
|
-
#
|
436
|
-
# * `:group_name` - *required* - (String) Name of the group the policy
|
437
|
-
# is associated with.
|
438
|
-
# * `:policy_name` - *required* - (String) Name of the policy document
|
439
|
-
# to get.
|
440
|
-
# @return [Core::Response]
|
441
|
-
# The #data method of the response object returns
|
442
|
-
# a hash with the following structure:
|
443
|
-
#
|
444
|
-
# * `:group_name` - (String)
|
445
|
-
# * `:policy_name` - (String)
|
446
|
-
# * `:policy_document` - (String)
|
447
|
-
|
448
|
-
# @!method get_instance_profile(options = {})
|
449
|
-
# Calls the GetInstanceProfile API operation.
|
450
|
-
# @param [Hash] options
|
451
|
-
#
|
452
|
-
# * `:instance_profile_name` - *required* - (String) Name of the
|
453
|
-
# instance profile to get information about.
|
454
|
-
# @return [Core::Response]
|
455
|
-
# The #data method of the response object returns
|
456
|
-
# a hash with the following structure:
|
457
|
-
#
|
458
|
-
# * `:instance_profile` - (Hash)
|
459
|
-
# * `:path` - (String)
|
460
|
-
# * `:instance_profile_name` - (String)
|
461
|
-
# * `:instance_profile_id` - (String)
|
462
|
-
# * `:arn` - (String)
|
463
|
-
# * `:create_date` - (Time)
|
464
|
-
# * `:roles` - (Array<Hash>)
|
465
|
-
# * `:path` - (String)
|
466
|
-
# * `:role_name` - (String)
|
467
|
-
# * `:role_id` - (String)
|
468
|
-
# * `:arn` - (String)
|
469
|
-
# * `:create_date` - (Time)
|
470
|
-
# * `:assume_role_policy_document` - (String)
|
471
|
-
|
472
|
-
# @!method get_login_profile(options = {})
|
473
|
-
# Calls the GetLoginProfile API operation.
|
474
|
-
# @param [Hash] options
|
475
|
-
#
|
476
|
-
# * `:user_name` - *required* - (String) Name of the user whose login
|
477
|
-
# profile you want to retrieve.
|
478
|
-
# @return [Core::Response]
|
479
|
-
# The #data method of the response object returns
|
480
|
-
# a hash with the following structure:
|
481
|
-
#
|
482
|
-
# * `:login_profile` - (Hash)
|
483
|
-
# * `:user_name` - (String)
|
484
|
-
# * `:create_date` - (Time)
|
485
|
-
|
486
|
-
# @!method get_role(options = {})
|
487
|
-
# Calls the GetRole API operation.
|
488
|
-
# @param [Hash] options
|
489
|
-
#
|
490
|
-
# * `:role_name` - *required* - (String) Name of the role to get
|
491
|
-
# information about.
|
492
|
-
# @return [Core::Response]
|
493
|
-
# The #data method of the response object returns
|
494
|
-
# a hash with the following structure:
|
495
|
-
#
|
496
|
-
# * `:role` - (Hash)
|
497
|
-
# * `:path` - (String)
|
498
|
-
# * `:role_name` - (String)
|
499
|
-
# * `:role_id` - (String)
|
500
|
-
# * `:arn` - (String)
|
501
|
-
# * `:create_date` - (Time)
|
502
|
-
# * `:assume_role_policy_document` - (String)
|
503
|
-
|
504
|
-
# @!method get_role_policy(options = {})
|
505
|
-
# Calls the GetRolePolicy API operation.
|
506
|
-
# @param [Hash] options
|
507
|
-
#
|
508
|
-
# * `:role_name` - *required* - (String) Name of the role associated
|
509
|
-
# with the policy.
|
510
|
-
# * `:policy_name` - *required* - (String) Name of the policy document
|
511
|
-
# to get.
|
512
|
-
# @return [Core::Response]
|
513
|
-
# The #data method of the response object returns
|
514
|
-
# a hash with the following structure:
|
515
|
-
#
|
516
|
-
# * `:role_name` - (String)
|
517
|
-
# * `:policy_name` - (String)
|
518
|
-
# * `:policy_document` - (String)
|
519
|
-
|
520
|
-
# @!method get_server_certificate(options = {})
|
521
|
-
# Calls the GetServerCertificate API operation.
|
522
|
-
# @param [Hash] options
|
523
|
-
#
|
524
|
-
# * `:server_certificate_name` - *required* - (String) The name of the
|
525
|
-
# server certificate you want to retrieve information about.
|
526
|
-
# @return [Core::Response]
|
527
|
-
# The #data method of the response object returns
|
528
|
-
# a hash with the following structure:
|
529
|
-
#
|
530
|
-
# * `:server_certificate` - (Hash)
|
531
|
-
# * `:server_certificate_metadata` - (Hash)
|
532
|
-
# * `:path` - (String)
|
533
|
-
# * `:server_certificate_name` - (String)
|
534
|
-
# * `:server_certificate_id` - (String)
|
535
|
-
# * `:arn` - (String)
|
536
|
-
# * `:upload_date` - (Time)
|
537
|
-
# * `:certificate_body` - (String)
|
538
|
-
# * `:certificate_chain` - (String)
|
539
|
-
|
540
|
-
# @!method get_user(options = {})
|
541
|
-
# Calls the GetUser API operation.
|
542
|
-
# @param [Hash] options
|
543
|
-
#
|
544
|
-
# * `:user_name` - (String) Name of the user to get information about.
|
545
|
-
# This parameter is optional. If it is not included, it defaults to
|
546
|
-
# the user making the request.
|
547
|
-
# @return [Core::Response]
|
548
|
-
# The #data method of the response object returns
|
549
|
-
# a hash with the following structure:
|
550
|
-
#
|
551
|
-
# * `:user` - (Hash)
|
552
|
-
# * `:path` - (String)
|
553
|
-
# * `:user_name` - (String)
|
554
|
-
# * `:user_id` - (String)
|
555
|
-
# * `:arn` - (String)
|
556
|
-
# * `:create_date` - (Time)
|
557
|
-
|
558
|
-
# @!method get_user_policy(options = {})
|
559
|
-
# Calls the GetUserPolicy API operation.
|
560
|
-
# @param [Hash] options
|
561
|
-
#
|
562
|
-
# * `:user_name` - *required* - (String) Name of the user who the
|
563
|
-
# policy is associated with.
|
564
|
-
# * `:policy_name` - *required* - (String) Name of the policy document
|
565
|
-
# to get.
|
566
|
-
# @return [Core::Response]
|
567
|
-
# The #data method of the response object returns
|
568
|
-
# a hash with the following structure:
|
569
|
-
#
|
570
|
-
# * `:user_name` - (String)
|
571
|
-
# * `:policy_name` - (String)
|
572
|
-
# * `:policy_document` - (String)
|
573
|
-
|
574
|
-
# @!method list_access_keys(options = {})
|
575
|
-
# Calls the ListAccessKeys API operation.
|
576
|
-
# @param [Hash] options
|
577
|
-
#
|
578
|
-
# * `:user_name` - (String) Name of the user.
|
579
|
-
# * `:marker` - (String) Use this parameter only when paginating
|
580
|
-
# results, and only in a subsequent request after you've received a
|
581
|
-
# response where the results are truncated. Set it to the value of
|
582
|
-
# the Marker element in the response you just received.
|
583
|
-
# * `:max_items` - (Integer) Use this parameter only when paginating
|
584
|
-
# results to indicate the maximum number of keys you want in the
|
585
|
-
# response. If there are additional keys beyond the maximum you
|
586
|
-
# specify, the IsTruncated response element is `true` .
|
587
|
-
# @return [Core::Response]
|
588
|
-
# The #data method of the response object returns
|
589
|
-
# a hash with the following structure:
|
590
|
-
#
|
591
|
-
# * `:access_key_metadata` - (Array<Hash>)
|
592
|
-
# * `:user_name` - (String)
|
593
|
-
# * `:access_key_id` - (String)
|
594
|
-
# * `:status` - (String)
|
595
|
-
# * `:create_date` - (Time)
|
596
|
-
# * `:is_truncated` - (Boolean)
|
597
|
-
# * `:marker` - (String)
|
598
|
-
|
599
|
-
# @!method list_account_aliases(options = {})
|
600
|
-
# Calls the ListAccountAliases API operation.
|
601
|
-
# @param [Hash] options
|
602
|
-
#
|
603
|
-
# * `:marker` - (String) Use this only when paginating results, and
|
604
|
-
# only in a subsequent request after you've received a response where
|
605
|
-
# the results are truncated. Set it to the value of the Marker
|
606
|
-
# element in the response you just received.
|
607
|
-
# * `:max_items` - (Integer) Use this only when paginating results to
|
608
|
-
# indicate the maximum number of account aliases you want in the
|
609
|
-
# response. If there are additional account aliases beyond the
|
610
|
-
# maximum you specify, the IsTruncated response element is `true` .
|
611
|
-
# @return [Core::Response]
|
612
|
-
# The #data method of the response object returns
|
613
|
-
# a hash with the following structure:
|
614
|
-
#
|
615
|
-
# * `:account_aliases` - (Array<String>)
|
616
|
-
# * `:is_truncated` - (Boolean)
|
617
|
-
# * `:marker` - (String)
|
618
|
-
|
619
|
-
# @!method list_group_policies(options = {})
|
620
|
-
# Calls the ListGroupPolicies API operation.
|
621
|
-
# @param [Hash] options
|
622
|
-
#
|
623
|
-
# * `:group_name` - *required* - (String) The name of the group to list
|
624
|
-
# policies for.
|
625
|
-
# * `:marker` - (String) Use this only when paginating results, and
|
626
|
-
# only in a subsequent request after you've received a response where
|
627
|
-
# the results are truncated. Set it to the value of the Marker
|
628
|
-
# element in the response you just received.
|
629
|
-
# * `:max_items` - (Integer) Use this only when paginating results to
|
630
|
-
# indicate the maximum number of policy names you want in the
|
631
|
-
# response. If there are additional policy names beyond the maximum
|
632
|
-
# you specify, the IsTruncated response element is `true` .
|
633
|
-
# @return [Core::Response]
|
634
|
-
# The #data method of the response object returns
|
635
|
-
# a hash with the following structure:
|
636
|
-
#
|
637
|
-
# * `:policy_names` - (Array<String>)
|
638
|
-
# * `:is_truncated` - (Boolean)
|
639
|
-
# * `:marker` - (String)
|
640
|
-
|
641
|
-
# @!method list_groups(options = {})
|
642
|
-
# Calls the ListGroups API operation.
|
643
|
-
# @param [Hash] options
|
644
|
-
#
|
645
|
-
# * `:path_prefix` - (String) The path prefix for filtering the
|
646
|
-
# results. For example: /division_abc/subdivision_xyz/, which would
|
647
|
-
# get all groups whose path starts with
|
648
|
-
# /division_abc/subdivision_xyz/. This parameter is optional. If it
|
649
|
-
# is not included, it defaults to a slash (/), listing all groups.
|
650
|
-
# * `:marker` - (String) Use this only when paginating results, and
|
651
|
-
# only in a subsequent request after you've received a response where
|
652
|
-
# the results are truncated. Set it to the value of the Marker
|
653
|
-
# element in the response you just received.
|
654
|
-
# * `:max_items` - (Integer) Use this only when paginating results to
|
655
|
-
# indicate the maximum number of groups you want in the response. If
|
656
|
-
# there are additional groups beyond the maximum you specify, the
|
657
|
-
# IsTruncated response element is `true` .
|
658
|
-
# @return [Core::Response]
|
659
|
-
# The #data method of the response object returns
|
660
|
-
# a hash with the following structure:
|
661
|
-
#
|
662
|
-
# * `:groups` - (Array<Hash>)
|
663
|
-
# * `:path` - (String)
|
664
|
-
# * `:group_name` - (String)
|
665
|
-
# * `:group_id` - (String)
|
666
|
-
# * `:arn` - (String)
|
667
|
-
# * `:create_date` - (Time)
|
668
|
-
# * `:is_truncated` - (Boolean)
|
669
|
-
# * `:marker` - (String)
|
670
|
-
|
671
|
-
# @!method list_groups_for_user(options = {})
|
672
|
-
# Calls the ListGroupsForUser API operation.
|
673
|
-
# @param [Hash] options
|
674
|
-
#
|
675
|
-
# * `:user_name` - *required* - (String) The name of the user to list
|
676
|
-
# groups for.
|
677
|
-
# * `:marker` - (String) Use this only when paginating results, and
|
678
|
-
# only in a subsequent request after you've received a response where
|
679
|
-
# the results are truncated. Set it to the value of the Marker
|
680
|
-
# element in the response you just received.
|
681
|
-
# * `:max_items` - (Integer) Use this only when paginating results to
|
682
|
-
# indicate the maximum number of groups you want in the response. If
|
683
|
-
# there are additional groups beyond the maximum you specify, the
|
684
|
-
# IsTruncated response element is `true` .
|
685
|
-
# @return [Core::Response]
|
686
|
-
# The #data method of the response object returns
|
687
|
-
# a hash with the following structure:
|
688
|
-
#
|
689
|
-
# * `:groups` - (Array<Hash>)
|
690
|
-
# * `:path` - (String)
|
691
|
-
# * `:group_name` - (String)
|
692
|
-
# * `:group_id` - (String)
|
693
|
-
# * `:arn` - (String)
|
694
|
-
# * `:create_date` - (Time)
|
695
|
-
# * `:is_truncated` - (Boolean)
|
696
|
-
# * `:marker` - (String)
|
697
|
-
|
698
|
-
# @!method list_instance_profiles(options = {})
|
699
|
-
# Calls the ListInstanceProfiles API operation.
|
700
|
-
# @param [Hash] options
|
701
|
-
#
|
702
|
-
# * `:path_prefix` - (String) The path prefix for filtering the
|
703
|
-
# results. For example: /application_abc/component_xyz/, which would
|
704
|
-
# get all instance profiles whose path starts with
|
705
|
-
# /application_abc/component_xyz/. This parameter is optional. If it
|
706
|
-
# is not included, it defaults to a slash (/), listing all instance
|
707
|
-
# profiles.
|
708
|
-
# * `:marker` - (String) Use this parameter only when paginating
|
709
|
-
# results, and only in a subsequent request after you've received a
|
710
|
-
# response where the results are truncated. Set it to the value of
|
711
|
-
# the Marker element in the response you just received.
|
712
|
-
# * `:max_items` - (Integer) Use this parameter only when paginating
|
713
|
-
# results to indicate the maximum number of user names you want in
|
714
|
-
# the response. If there are additional user names beyond the maximum
|
715
|
-
# you specify, the IsTruncated response element is `true` .
|
716
|
-
# @return [Core::Response]
|
717
|
-
# The #data method of the response object returns
|
718
|
-
# a hash with the following structure:
|
719
|
-
#
|
720
|
-
# * `:instance_profiles` - (Array<Hash>)
|
721
|
-
# * `:path` - (String)
|
722
|
-
# * `:instance_profile_name` - (String)
|
723
|
-
# * `:instance_profile_id` - (String)
|
724
|
-
# * `:arn` - (String)
|
725
|
-
# * `:create_date` - (Time)
|
726
|
-
# * `:roles` - (Array<Hash>)
|
727
|
-
# * `:path` - (String)
|
728
|
-
# * `:role_name` - (String)
|
729
|
-
# * `:role_id` - (String)
|
730
|
-
# * `:arn` - (String)
|
731
|
-
# * `:create_date` - (Time)
|
732
|
-
# * `:assume_role_policy_document` - (String)
|
733
|
-
# * `:is_truncated` - (Boolean)
|
734
|
-
# * `:marker` - (String)
|
735
|
-
|
736
|
-
# @!method list_instance_profiles_for_role(options = {})
|
737
|
-
# Calls the ListInstanceProfilesForRole API operation.
|
738
|
-
# @param [Hash] options
|
739
|
-
#
|
740
|
-
# * `:role_name` - *required* - (String) The name of the role to list
|
741
|
-
# instance profiles for.
|
742
|
-
# * `:marker` - (String) Use this parameter only when paginating
|
743
|
-
# results, and only in a subsequent request after you've received a
|
744
|
-
# response where the results are truncated. Set it to the value of
|
745
|
-
# the Marker element in the response you just received.
|
746
|
-
# * `:max_items` - (Integer) Use this parameter only when paginating
|
747
|
-
# results to indicate the maximum number of user names you want in
|
748
|
-
# the response. If there are additional user names beyond the maximum
|
749
|
-
# you specify, the IsTruncated response element is `true` .
|
750
|
-
# @return [Core::Response]
|
751
|
-
# The #data method of the response object returns
|
752
|
-
# a hash with the following structure:
|
753
|
-
#
|
754
|
-
# * `:instance_profiles` - (Array<Hash>)
|
755
|
-
# * `:path` - (String)
|
756
|
-
# * `:instance_profile_name` - (String)
|
757
|
-
# * `:instance_profile_id` - (String)
|
758
|
-
# * `:arn` - (String)
|
759
|
-
# * `:create_date` - (Time)
|
760
|
-
# * `:roles` - (Array<Hash>)
|
761
|
-
# * `:path` - (String)
|
762
|
-
# * `:role_name` - (String)
|
763
|
-
# * `:role_id` - (String)
|
764
|
-
# * `:arn` - (String)
|
765
|
-
# * `:create_date` - (Time)
|
766
|
-
# * `:assume_role_policy_document` - (String)
|
767
|
-
# * `:is_truncated` - (Boolean)
|
768
|
-
# * `:marker` - (String)
|
769
|
-
|
770
|
-
# @!method list_mfa_devices(options = {})
|
771
|
-
# Calls the ListMFADevices API operation.
|
772
|
-
# @param [Hash] options
|
773
|
-
#
|
774
|
-
# * `:user_name` - (String) Name of the user whose MFA devices you want
|
775
|
-
# to list.
|
776
|
-
# * `:marker` - (String) Use this only when paginating results, and
|
777
|
-
# only in a subsequent request after you've received a response where
|
778
|
-
# the results are truncated. Set it to the value of the Marker
|
779
|
-
# element in the response you just received.
|
780
|
-
# * `:max_items` - (Integer) Use this only when paginating results to
|
781
|
-
# indicate the maximum number of MFA devices you want in the
|
782
|
-
# response. If there are additional MFA devices beyond the maximum
|
783
|
-
# you specify, the IsTruncated response element is `true` .
|
784
|
-
# @return [Core::Response]
|
785
|
-
# The #data method of the response object returns
|
786
|
-
# a hash with the following structure:
|
787
|
-
#
|
788
|
-
# * `:mfa_devices` - (Array<Hash>)
|
789
|
-
# * `:user_name` - (String)
|
790
|
-
# * `:serial_number` - (String)
|
791
|
-
# * `:enable_date` - (Time)
|
792
|
-
# * `:is_truncated` - (Boolean)
|
793
|
-
# * `:marker` - (String)
|
794
|
-
|
795
|
-
# @!method list_role_policies(options = {})
|
796
|
-
# Calls the ListRolePolicies API operation.
|
797
|
-
# @param [Hash] options
|
798
|
-
#
|
799
|
-
# * `:role_name` - *required* - (String) The name of the role to list
|
800
|
-
# policies for.
|
801
|
-
# * `:marker` - (String) Use this parameter only when paginating
|
802
|
-
# results, and only in a subsequent request after you've received a
|
803
|
-
# response where the results are truncated. Set it to the value of
|
804
|
-
# the Marker element in the response you just received.
|
805
|
-
# * `:max_items` - (Integer) Use this parameter only when paginating
|
806
|
-
# results to indicate the maximum number of user names you want in
|
807
|
-
# the response. If there are additional user names beyond the maximum
|
808
|
-
# you specify, the IsTruncated response element is `true` .
|
809
|
-
# @return [Core::Response]
|
810
|
-
# The #data method of the response object returns
|
811
|
-
# a hash with the following structure:
|
812
|
-
#
|
813
|
-
# * `:policy_names` - (Array<String>)
|
814
|
-
# * `:is_truncated` - (Boolean)
|
815
|
-
# * `:marker` - (String)
|
816
|
-
|
817
|
-
# @!method list_roles(options = {})
|
818
|
-
# Calls the ListRoles API operation.
|
819
|
-
# @param [Hash] options
|
820
|
-
#
|
821
|
-
# * `:path_prefix` - (String) The path prefix for filtering the
|
822
|
-
# results. For example: /application_abc/component_xyz/, which would
|
823
|
-
# get all roles whose path starts with
|
824
|
-
# /application_abc/component_xyz/. This parameter is optional. If it
|
825
|
-
# is not included, it defaults to a slash (/), listing all roles.
|
826
|
-
# * `:marker` - (String) Use this parameter only when paginating
|
827
|
-
# results, and only in a subsequent request after you've received a
|
828
|
-
# response where the results are truncated. Set it to the value of
|
829
|
-
# the Marker element in the response you just received.
|
830
|
-
# * `:max_items` - (Integer) Use this parameter only when paginating
|
831
|
-
# results to indicate the maximum number of user names you want in
|
832
|
-
# the response. If there are additional user names beyond the maximum
|
833
|
-
# you specify, the IsTruncated response element is `true` .
|
834
|
-
# @return [Core::Response]
|
835
|
-
# The #data method of the response object returns
|
836
|
-
# a hash with the following structure:
|
837
|
-
#
|
838
|
-
# * `:roles` - (Array<Hash>)
|
839
|
-
# * `:path` - (String)
|
840
|
-
# * `:role_name` - (String)
|
841
|
-
# * `:role_id` - (String)
|
842
|
-
# * `:arn` - (String)
|
843
|
-
# * `:create_date` - (Time)
|
844
|
-
# * `:assume_role_policy_document` - (String)
|
845
|
-
# * `:is_truncated` - (Boolean)
|
846
|
-
# * `:marker` - (String)
|
847
|
-
|
848
|
-
# @!method list_server_certificates(options = {})
|
849
|
-
# Calls the ListServerCertificates API operation.
|
850
|
-
# @param [Hash] options
|
851
|
-
#
|
852
|
-
# * `:path_prefix` - (String) The path prefix for filtering the
|
853
|
-
# results. For example: /company/servercerts would get all server
|
854
|
-
# certificates for which the path starts with /company/servercerts.
|
855
|
-
# This parameter is optional. If it is not included, it defaults to a
|
856
|
-
# slash (/), listing all server certificates.
|
857
|
-
# * `:marker` - (String) Use this only when paginating results, and
|
858
|
-
# only in a subsequent request after you've received a response where
|
859
|
-
# the results are truncated. Set it to the value of the Marker
|
860
|
-
# element in the response you just received.
|
861
|
-
# * `:max_items` - (Integer) Use this only when paginating results to
|
862
|
-
# indicate the maximum number of server certificates you want in the
|
863
|
-
# response. If there are additional server certificates beyond the
|
864
|
-
# maximum you specify, the IsTruncated response element will be set
|
865
|
-
# to `true` .
|
866
|
-
# @return [Core::Response]
|
867
|
-
# The #data method of the response object returns
|
868
|
-
# a hash with the following structure:
|
869
|
-
#
|
870
|
-
# * `:server_certificate_metadata_list` - (Array<Hash>)
|
871
|
-
# * `:path` - (String)
|
872
|
-
# * `:server_certificate_name` - (String)
|
873
|
-
# * `:server_certificate_id` - (String)
|
874
|
-
# * `:arn` - (String)
|
875
|
-
# * `:upload_date` - (Time)
|
876
|
-
# * `:is_truncated` - (Boolean)
|
877
|
-
# * `:marker` - (String)
|
878
|
-
|
879
|
-
# @!method list_signing_certificates(options = {})
|
880
|
-
# Calls the ListSigningCertificates API operation.
|
881
|
-
# @param [Hash] options
|
882
|
-
#
|
883
|
-
# * `:user_name` - (String) The name of the user.
|
884
|
-
# * `:marker` - (String) Use this only when paginating results, and
|
885
|
-
# only in a subsequent request after you've received a response where
|
886
|
-
# the results are truncated. Set it to the value of the Marker
|
887
|
-
# element in the response you just received.
|
888
|
-
# * `:max_items` - (Integer) Use this only when paginating results to
|
889
|
-
# indicate the maximum number of certificate IDs you want in the
|
890
|
-
# response. If there are additional certificate IDs beyond the
|
891
|
-
# maximum you specify, the IsTruncated response element is `true` .
|
892
|
-
# @return [Core::Response]
|
893
|
-
# The #data method of the response object returns
|
894
|
-
# a hash with the following structure:
|
895
|
-
#
|
896
|
-
# * `:certificates` - (Array<Hash>)
|
897
|
-
# * `:user_name` - (String)
|
898
|
-
# * `:certificate_id` - (String)
|
899
|
-
# * `:certificate_body` - (String)
|
900
|
-
# * `:status` - (String)
|
901
|
-
# * `:upload_date` - (Time)
|
902
|
-
# * `:is_truncated` - (Boolean)
|
903
|
-
# * `:marker` - (String)
|
904
|
-
|
905
|
-
# @!method list_user_policies(options = {})
|
906
|
-
# Calls the ListUserPolicies API operation.
|
907
|
-
# @param [Hash] options
|
908
|
-
#
|
909
|
-
# * `:user_name` - *required* - (String) The name of the user to list
|
910
|
-
# policies for.
|
911
|
-
# * `:marker` - (String) Use this only when paginating results, and
|
912
|
-
# only in a subsequent request after you've received a response where
|
913
|
-
# the results are truncated. Set it to the value of the Marker
|
914
|
-
# element in the response you just received.
|
915
|
-
# * `:max_items` - (Integer) Use this only when paginating results to
|
916
|
-
# indicate the maximum number of policy names you want in the
|
917
|
-
# response. If there are additional policy names beyond the maximum
|
918
|
-
# you specify, the IsTruncated response element is `true` .
|
919
|
-
# @return [Core::Response]
|
920
|
-
# The #data method of the response object returns
|
921
|
-
# a hash with the following structure:
|
922
|
-
#
|
923
|
-
# * `:policy_names` - (Array<String>)
|
924
|
-
# * `:is_truncated` - (Boolean)
|
925
|
-
# * `:marker` - (String)
|
926
|
-
|
927
|
-
# @!method list_users(options = {})
|
928
|
-
# Calls the ListUsers API operation.
|
929
|
-
# @param [Hash] options
|
930
|
-
#
|
931
|
-
# * `:path_prefix` - (String) The path prefix for filtering the
|
932
|
-
# results. For example: /division_abc/subdivision_xyz/, which would
|
933
|
-
# get all user names whose path starts with
|
934
|
-
# /division_abc/subdivision_xyz/. This parameter is optional. If it
|
935
|
-
# is not included, it defaults to a slash (/), listing all user
|
936
|
-
# names.
|
937
|
-
# * `:marker` - (String) Use this parameter only when paginating
|
938
|
-
# results, and only in a subsequent request after you've received a
|
939
|
-
# response where the results are truncated. Set it to the value of
|
940
|
-
# the Marker element in the response you just received.
|
941
|
-
# * `:max_items` - (Integer) Use this parameter only when paginating
|
942
|
-
# results to indicate the maximum number of user names you want in
|
943
|
-
# the response. If there are additional user names beyond the maximum
|
944
|
-
# you specify, the IsTruncated response element is `true` .
|
945
|
-
# @return [Core::Response]
|
946
|
-
# The #data method of the response object returns
|
947
|
-
# a hash with the following structure:
|
948
|
-
#
|
949
|
-
# * `:users` - (Array<Hash>)
|
950
|
-
# * `:path` - (String)
|
951
|
-
# * `:user_name` - (String)
|
952
|
-
# * `:user_id` - (String)
|
953
|
-
# * `:arn` - (String)
|
954
|
-
# * `:create_date` - (Time)
|
955
|
-
# * `:is_truncated` - (Boolean)
|
956
|
-
# * `:marker` - (String)
|
957
|
-
|
958
|
-
# @!method list_virtual_mfa_devices(options = {})
|
959
|
-
# Calls the ListVirtualMFADevices API operation.
|
960
|
-
# @param [Hash] options
|
961
|
-
#
|
962
|
-
# * `:assignment_status` - (String) The status (unassigned or assigned)
|
963
|
-
# of the devices to list. If you do not specify an AssignmentStatus,
|
964
|
-
# the action defaults to Any which lists both assigned and unassigned
|
965
|
-
# virtual MFA devices.
|
966
|
-
# * `:marker` - (String) Use this parameter only when paginating
|
967
|
-
# results, and only in a subsequent request after you've received a
|
968
|
-
# response where the results are truncated. Set it to the value of
|
969
|
-
# the Marker element in the response you just received.
|
970
|
-
# * `:max_items` - (Integer) Use this parameter only when paginating
|
971
|
-
# results to indicate the maximum number of user names you want in
|
972
|
-
# the response. If there are additional user names beyond the maximum
|
973
|
-
# you specify, the IsTruncated response element is `true` .
|
974
|
-
# @return [Core::Response]
|
975
|
-
# The #data method of the response object returns
|
976
|
-
# a hash with the following structure:
|
977
|
-
#
|
978
|
-
# * `:virtual_mfa_devices` - (Array<Hash>)
|
979
|
-
# * `:serial_number` - (String)
|
980
|
-
# * `:base_32_string_seed` - (String)
|
981
|
-
# * `:qr_code_png` - (String)
|
982
|
-
# * `:user` - (Hash)
|
983
|
-
# * `:path` - (String)
|
984
|
-
# * `:user_name` - (String)
|
985
|
-
# * `:user_id` - (String)
|
986
|
-
# * `:arn` - (String)
|
987
|
-
# * `:create_date` - (Time)
|
988
|
-
# * `:enable_date` - (Time)
|
989
|
-
# * `:is_truncated` - (Boolean)
|
990
|
-
# * `:marker` - (String)
|
991
|
-
|
992
|
-
# @!method put_group_policy(options = {})
|
993
|
-
# Calls the PutGroupPolicy API operation.
|
994
|
-
# @param [Hash] options
|
995
|
-
#
|
996
|
-
# * `:group_name` - *required* - (String) Name of the group to
|
997
|
-
# associate the policy with.
|
998
|
-
# * `:policy_name` - *required* - (String) Name of the policy document.
|
999
|
-
# * `:policy_document` - *required* - (String) The policy document.
|
1000
|
-
# @return [Core::Response]
|
1001
|
-
|
1002
|
-
# @!method put_role_policy(options = {})
|
1003
|
-
# Calls the PutRolePolicy API operation.
|
1004
|
-
# @param [Hash] options
|
1005
|
-
#
|
1006
|
-
# * `:role_name` - *required* - (String) Name of the role to associate
|
1007
|
-
# the policy with.
|
1008
|
-
# * `:policy_name` - *required* - (String) Name of the policy document.
|
1009
|
-
# * `:policy_document` - *required* - (String) The policy document.
|
1010
|
-
# @return [Core::Response]
|
1011
|
-
|
1012
|
-
# @!method put_user_policy(options = {})
|
1013
|
-
# Calls the PutUserPolicy API operation.
|
1014
|
-
# @param [Hash] options
|
1015
|
-
#
|
1016
|
-
# * `:user_name` - *required* - (String) Name of the user to associate
|
1017
|
-
# the policy with.
|
1018
|
-
# * `:policy_name` - *required* - (String) Name of the policy document.
|
1019
|
-
# * `:policy_document` - *required* - (String) The policy document.
|
1020
|
-
# @return [Core::Response]
|
1021
|
-
|
1022
|
-
# @!method remove_role_from_instance_profile(options = {})
|
1023
|
-
# Calls the RemoveRoleFromInstanceProfile API operation.
|
1024
|
-
# @param [Hash] options
|
1025
|
-
#
|
1026
|
-
# * `:instance_profile_name` - *required* - (String) Name of the
|
1027
|
-
# instance profile to update.
|
1028
|
-
# * `:role_name` - *required* - (String) Name of the role to remove.
|
1029
|
-
# @return [Core::Response]
|
1030
|
-
|
1031
|
-
# @!method remove_user_from_group(options = {})
|
1032
|
-
# Calls the RemoveUserFromGroup API operation.
|
1033
|
-
# @param [Hash] options
|
1034
|
-
#
|
1035
|
-
# * `:group_name` - *required* - (String) Name of the group to update.
|
1036
|
-
# * `:user_name` - *required* - (String) Name of the user to remove.
|
1037
|
-
# @return [Core::Response]
|
1038
|
-
|
1039
|
-
# @!method resync_mfa_device(options = {})
|
1040
|
-
# Calls the ResyncMFADevice API operation.
|
1041
|
-
# @param [Hash] options
|
1042
|
-
#
|
1043
|
-
# * `:user_name` - *required* - (String) Name of the user whose MFA
|
1044
|
-
# device you want to resynchronize.
|
1045
|
-
# * `:serial_number` - *required* - (String) Serial number that
|
1046
|
-
# uniquely identifies the MFA device.
|
1047
|
-
# * `:authentication_code_1` - *required* - (String) An authentication
|
1048
|
-
# code emitted by the device.
|
1049
|
-
# * `:authentication_code_2` - *required* - (String) A subsequent
|
1050
|
-
# authentication code emitted by the device.
|
1051
|
-
# @return [Core::Response]
|
1052
|
-
|
1053
|
-
# @!method update_access_key(options = {})
|
1054
|
-
# Calls the UpdateAccessKey API operation.
|
1055
|
-
# @param [Hash] options
|
1056
|
-
#
|
1057
|
-
# * `:user_name` - (String) Name of the user whose key you want to
|
1058
|
-
# update.
|
1059
|
-
# * `:access_key_id` - *required* - (String) The Access Key ID of the
|
1060
|
-
# Secret Access Key you want to update.
|
1061
|
-
# * `:status` - *required* - (String) The status you want to assign to
|
1062
|
-
# the Secret Access Key. Active means the key can be used for API
|
1063
|
-
# calls to AWS, while Inactive means the key cannot be used.
|
1064
|
-
# @return [Core::Response]
|
1065
|
-
|
1066
|
-
# @!method update_account_password_policy(options = {})
|
1067
|
-
# Calls the UpdateAccountPasswordPolicy API operation.
|
1068
|
-
# @param [Hash] options
|
1069
|
-
#
|
1070
|
-
# * `:minimum_password_length` - (Integer)
|
1071
|
-
# * `:require_symbols` - (Boolean)
|
1072
|
-
# * `:require_numbers` - (Boolean)
|
1073
|
-
# * `:require_uppercase_characters` - (Boolean)
|
1074
|
-
# * `:require_lowercase_characters` - (Boolean)
|
1075
|
-
# * `:allow_users_to_change_password` - (Boolean)
|
1076
|
-
# @return [Core::Response]
|
1077
|
-
|
1078
|
-
# @!method update_assume_role_policy(options = {})
|
1079
|
-
# Calls the UpdateAssumeRolePolicy API operation.
|
1080
|
-
# @param [Hash] options
|
1081
|
-
#
|
1082
|
-
# * `:role_name` - *required* - (String) Name of the role to update.
|
1083
|
-
# * `:policy_document` - *required* - (String) The policy that grants
|
1084
|
-
# an entity permission to assume the role.
|
1085
|
-
# @return [Core::Response]
|
1086
|
-
|
1087
|
-
# @!method update_group(options = {})
|
1088
|
-
# Calls the UpdateGroup API operation.
|
1089
|
-
# @param [Hash] options
|
1090
|
-
#
|
1091
|
-
# * `:group_name` - *required* - (String) Name of the group to update.
|
1092
|
-
# If you're changing the name of the group, this is the original
|
1093
|
-
# name.
|
1094
|
-
# * `:new_path` - (String) New path for the group. Only include this if
|
1095
|
-
# changing the group's path.
|
1096
|
-
# * `:new_group_name` - (String) New name for the group. Only include
|
1097
|
-
# this if changing the group's name.
|
1098
|
-
# @return [Core::Response]
|
1099
|
-
|
1100
|
-
# @!method update_login_profile(options = {})
|
1101
|
-
# Calls the UpdateLoginProfile API operation.
|
1102
|
-
# @param [Hash] options
|
1103
|
-
#
|
1104
|
-
# * `:user_name` - *required* - (String) Name of the user whose
|
1105
|
-
# password you want to update.
|
1106
|
-
# * `:password` - (String) The new password for the user name.
|
1107
|
-
# @return [Core::Response]
|
1108
|
-
|
1109
|
-
# @!method update_server_certificate(options = {})
|
1110
|
-
# Calls the UpdateServerCertificate API operation.
|
1111
|
-
# @param [Hash] options
|
1112
|
-
#
|
1113
|
-
# * `:server_certificate_name` - *required* - (String) The name of the
|
1114
|
-
# server certificate that you want to update.
|
1115
|
-
# * `:new_path` - (String) The new path for the server certificate.
|
1116
|
-
# Include this only if you are updating the server certificate's
|
1117
|
-
# path.
|
1118
|
-
# * `:new_server_certificate_name` - (String) The new name for the
|
1119
|
-
# server certificate. Include this only if you are updating the
|
1120
|
-
# server certificate's name.
|
1121
|
-
# @return [Core::Response]
|
1122
|
-
|
1123
|
-
# @!method update_signing_certificate(options = {})
|
1124
|
-
# Calls the UpdateSigningCertificate API operation.
|
1125
|
-
# @param [Hash] options
|
1126
|
-
#
|
1127
|
-
# * `:user_name` - (String) Name of the user the signing certificate
|
1128
|
-
# belongs to.
|
1129
|
-
# * `:certificate_id` - *required* - (String) The ID of the signing
|
1130
|
-
# certificate you want to update.
|
1131
|
-
# * `:status` - *required* - (String) The status you want to assign to
|
1132
|
-
# the certificate. Active means the certificate can be used for API
|
1133
|
-
# calls to AWS, while Inactive means the certificate cannot be used.
|
1134
|
-
# @return [Core::Response]
|
1135
|
-
|
1136
|
-
# @!method update_user(options = {})
|
1137
|
-
# Calls the UpdateUser API operation.
|
1138
|
-
# @param [Hash] options
|
1139
|
-
#
|
1140
|
-
# * `:user_name` - *required* - (String) Name of the user to update. If
|
1141
|
-
# you're changing the name of the user, this is the original user
|
1142
|
-
# name.
|
1143
|
-
# * `:new_path` - (String) New path for the user. Include this
|
1144
|
-
# parameter only if you're changing the user's path.
|
1145
|
-
# * `:new_user_name` - (String) New name for the user. Include this
|
1146
|
-
# parameter only if you're changing the user's name.
|
1147
|
-
# @return [Core::Response]
|
1148
|
-
|
1149
|
-
# @!method upload_server_certificate(options = {})
|
1150
|
-
# Calls the UploadServerCertificate API operation.
|
1151
|
-
# @param [Hash] options
|
1152
|
-
#
|
1153
|
-
# * `:path` - (String) The path for the server certificate. For more
|
1154
|
-
# information about paths, see Identifiers for IAM Entities in Using
|
1155
|
-
# AWS Identity and Access Management. This parameter is optional. If
|
1156
|
-
# it is not included, it defaults to a slash (/).
|
1157
|
-
# * `:server_certificate_name` - *required* - (String) The name for the
|
1158
|
-
# server certificate. Do not include the path in this value.
|
1159
|
-
# * `:certificate_body` - *required* - (String) The contents of the
|
1160
|
-
# public key certificate in PEM-encoded format.
|
1161
|
-
# * `:private_key` - *required* - (String) The contents of the private
|
1162
|
-
# key in PEM-encoded format.
|
1163
|
-
# * `:certificate_chain` - (String) The contents of the certificate
|
1164
|
-
# chain. This is typically a concatenation of the PEM-encoded public
|
1165
|
-
# key certificates of the chain.
|
1166
|
-
# @return [Core::Response]
|
1167
|
-
# The #data method of the response object returns
|
1168
|
-
# a hash with the following structure:
|
1169
|
-
#
|
1170
|
-
# * `:server_certificate_metadata` - (Hash)
|
1171
|
-
# * `:path` - (String)
|
1172
|
-
# * `:server_certificate_name` - (String)
|
1173
|
-
# * `:server_certificate_id` - (String)
|
1174
|
-
# * `:arn` - (String)
|
1175
|
-
# * `:upload_date` - (Time)
|
1176
|
-
|
1177
|
-
# @!method upload_signing_certificate(options = {})
|
1178
|
-
# Calls the UploadSigningCertificate API operation.
|
1179
|
-
# @param [Hash] options
|
1180
|
-
#
|
1181
|
-
# * `:user_name` - (String) Name of the user the signing certificate is
|
1182
|
-
# for.
|
1183
|
-
# * `:certificate_body` - *required* - (String) The contents of the
|
1184
|
-
# signing certificate.
|
1185
|
-
# @return [Core::Response]
|
1186
|
-
# The #data method of the response object returns
|
1187
|
-
# a hash with the following structure:
|
1188
|
-
#
|
1189
|
-
# * `:certificate` - (Hash)
|
1190
|
-
# * `:user_name` - (String)
|
1191
|
-
# * `:certificate_id` - (String)
|
1192
|
-
# * `:certificate_body` - (String)
|
1193
|
-
# * `:status` - (String)
|
1194
|
-
# * `:upload_date` - (Time)
|
1195
|
-
|
1196
|
-
# end client methods #
|
1197
|
-
|
1198
43
|
define_client_methods('2010-05-08')
|
1199
44
|
|
1200
45
|
end
|