aws-sdk-iam 1.98.0 → 1.100.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iam/access_key.rb +4 -4
- data/lib/aws-sdk-iam/access_key_pair.rb +4 -4
- data/lib/aws-sdk-iam/account_password_policy.rb +4 -4
- data/lib/aws-sdk-iam/account_summary.rb +2 -2
- data/lib/aws-sdk-iam/assume_role_policy.rb +2 -2
- data/lib/aws-sdk-iam/client.rb +6 -3
- data/lib/aws-sdk-iam/current_user.rb +5 -5
- data/lib/aws-sdk-iam/customizations/resource.rb +1 -1
- data/lib/aws-sdk-iam/group.rb +13 -13
- data/lib/aws-sdk-iam/group_policy.rb +4 -4
- data/lib/aws-sdk-iam/instance_profile.rb +6 -6
- data/lib/aws-sdk-iam/login_profile.rb +5 -5
- data/lib/aws-sdk-iam/mfa_device.rb +4 -4
- data/lib/aws-sdk-iam/policy.rb +14 -14
- data/lib/aws-sdk-iam/policy_version.rb +4 -4
- data/lib/aws-sdk-iam/resource.rb +20 -20
- data/lib/aws-sdk-iam/role.rb +8 -8
- data/lib/aws-sdk-iam/role_policy.rb +4 -4
- data/lib/aws-sdk-iam/saml_provider.rb +4 -4
- data/lib/aws-sdk-iam/server_certificate.rb +4 -4
- data/lib/aws-sdk-iam/signing_certificate.rb +4 -4
- data/lib/aws-sdk-iam/user.rb +20 -20
- data/lib/aws-sdk-iam/user_policy.rb +4 -4
- data/lib/aws-sdk-iam/virtual_mfa_device.rb +2 -2
- data/lib/aws-sdk-iam.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e51ac8769be71d9507752311af58180b3a1d960b9ba0071b71c30c361dc58dc8
|
4
|
+
data.tar.gz: bd19fdcab31b8db5157c8d007f29b5eeb5ecd9241c99d9f1ea6eba45b022d4f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28d208dbf46f8f5df79ab0e0b58801bd7ae80d03a5215b0acb9e9952d8bf5863b8b57ac366d1ad23420fa1df553546ac834ae5dbfb41f5660160967dec7a8054
|
7
|
+
data.tar.gz: ce09eb4b910fc4fd7413f5202fdfe9323a987032844eaff021806ce2ebfc9c5100da62b08caf4ce3bd69fadb3c58bea53495aa4c8ec28d026cd78fa9672ce43a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.100.0 (2024-06-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.99.0 (2024-06-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.98.0 (2024-05-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.100.0
|
@@ -180,7 +180,7 @@ module Aws::IAM
|
|
180
180
|
:retry
|
181
181
|
end
|
182
182
|
end
|
183
|
-
Aws::Plugins::UserAgent.
|
183
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
184
184
|
Aws::Waiters::Waiter.new(options).wait({})
|
185
185
|
end
|
186
186
|
end
|
@@ -198,7 +198,7 @@ module Aws::IAM
|
|
198
198
|
access_key_id: @id,
|
199
199
|
status: "Active"
|
200
200
|
)
|
201
|
-
resp = Aws::Plugins::UserAgent.
|
201
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
202
202
|
@client.update_access_key(options)
|
203
203
|
end
|
204
204
|
resp.data
|
@@ -215,7 +215,7 @@ module Aws::IAM
|
|
215
215
|
access_key_id: @id,
|
216
216
|
status: "Inactive"
|
217
217
|
)
|
218
|
-
resp = Aws::Plugins::UserAgent.
|
218
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
219
219
|
@client.update_access_key(options)
|
220
220
|
end
|
221
221
|
resp.data
|
@@ -231,7 +231,7 @@ module Aws::IAM
|
|
231
231
|
user_name: @user_name,
|
232
232
|
access_key_id: @id
|
233
233
|
)
|
234
|
-
resp = Aws::Plugins::UserAgent.
|
234
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
235
235
|
@client.delete_access_key(options)
|
236
236
|
end
|
237
237
|
resp.data
|
@@ -189,7 +189,7 @@ module Aws::IAM
|
|
189
189
|
:retry
|
190
190
|
end
|
191
191
|
end
|
192
|
-
Aws::Plugins::UserAgent.
|
192
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
193
193
|
Aws::Waiters::Waiter.new(options).wait({})
|
194
194
|
end
|
195
195
|
end
|
@@ -207,7 +207,7 @@ module Aws::IAM
|
|
207
207
|
access_key_id: @id,
|
208
208
|
status: "Active"
|
209
209
|
)
|
210
|
-
resp = Aws::Plugins::UserAgent.
|
210
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
211
211
|
@client.update_access_key(options)
|
212
212
|
end
|
213
213
|
resp.data
|
@@ -224,7 +224,7 @@ module Aws::IAM
|
|
224
224
|
access_key_id: @id,
|
225
225
|
status: "Inactive"
|
226
226
|
)
|
227
|
-
resp = Aws::Plugins::UserAgent.
|
227
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
228
228
|
@client.update_access_key(options)
|
229
229
|
end
|
230
230
|
resp.data
|
@@ -240,7 +240,7 @@ module Aws::IAM
|
|
240
240
|
user_name: @user_name,
|
241
241
|
access_key_id: @id
|
242
242
|
)
|
243
|
-
resp = Aws::Plugins::UserAgent.
|
243
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
244
244
|
@client.delete_access_key(options)
|
245
245
|
end
|
246
246
|
resp.data
|
@@ -116,7 +116,7 @@ module Aws::IAM
|
|
116
116
|
#
|
117
117
|
# @return [self]
|
118
118
|
def load
|
119
|
-
resp = Aws::Plugins::UserAgent.
|
119
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
120
120
|
@client.get_account_password_policy
|
121
121
|
end
|
122
122
|
@data = resp.password_policy
|
@@ -233,7 +233,7 @@ module Aws::IAM
|
|
233
233
|
:retry
|
234
234
|
end
|
235
235
|
end
|
236
|
-
Aws::Plugins::UserAgent.
|
236
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
237
237
|
Aws::Waiters::Waiter.new(options).wait({})
|
238
238
|
end
|
239
239
|
end
|
@@ -246,7 +246,7 @@ module Aws::IAM
|
|
246
246
|
# @param [Hash] options ({})
|
247
247
|
# @return [EmptyStructure]
|
248
248
|
def delete(options = {})
|
249
|
-
resp = Aws::Plugins::UserAgent.
|
249
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
250
250
|
@client.delete_account_password_policy(options)
|
251
251
|
end
|
252
252
|
resp.data
|
@@ -351,7 +351,7 @@ module Aws::IAM
|
|
351
351
|
# </note>
|
352
352
|
# @return [EmptyStructure]
|
353
353
|
def update(options = {})
|
354
|
-
resp = Aws::Plugins::UserAgent.
|
354
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
355
355
|
@client.update_account_password_policy(options)
|
356
356
|
end
|
357
357
|
resp.data
|
@@ -45,7 +45,7 @@ module Aws::IAM
|
|
45
45
|
#
|
46
46
|
# @return [self]
|
47
47
|
def load
|
48
|
-
resp = Aws::Plugins::UserAgent.
|
48
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
49
49
|
@client.get_account_summary
|
50
50
|
end
|
51
51
|
@data = resp.data
|
@@ -162,7 +162,7 @@ module Aws::IAM
|
|
162
162
|
:retry
|
163
163
|
end
|
164
164
|
end
|
165
|
-
Aws::Plugins::UserAgent.
|
165
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
166
166
|
Aws::Waiters::Waiter.new(options).wait({})
|
167
167
|
end
|
168
168
|
end
|
@@ -156,7 +156,7 @@ module Aws::IAM
|
|
156
156
|
:retry
|
157
157
|
end
|
158
158
|
end
|
159
|
-
Aws::Plugins::UserAgent.
|
159
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
160
160
|
Aws::Waiters::Waiter.new(options).wait({})
|
161
161
|
end
|
162
162
|
end
|
@@ -195,7 +195,7 @@ module Aws::IAM
|
|
195
195
|
# @return [EmptyStructure]
|
196
196
|
def update(options = {})
|
197
197
|
options = options.merge(role_name: @role_name)
|
198
|
-
resp = Aws::Plugins::UserAgent.
|
198
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
199
199
|
@client.update_assume_role_policy(options)
|
200
200
|
end
|
201
201
|
resp.data
|
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -89,6 +89,11 @@ module Aws::IAM
|
|
89
89
|
|
90
90
|
# @overload initialize(options)
|
91
91
|
# @param [Hash] options
|
92
|
+
#
|
93
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
94
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
95
|
+
# class name or an instance of a plugin class.
|
96
|
+
#
|
92
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
93
98
|
# Your AWS credentials. This can be an instance of any one of the
|
94
99
|
# following classes:
|
@@ -209,7 +214,6 @@ module Aws::IAM
|
|
209
214
|
# 'https://example.com'
|
210
215
|
# 'http://example.com:123'
|
211
216
|
#
|
212
|
-
#
|
213
217
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
214
218
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
215
219
|
# for endpoint discovery enabled operations. Defaults to 1000.
|
@@ -298,7 +302,6 @@ module Aws::IAM
|
|
298
302
|
# throttling. This is a provisional mode that may change behavior
|
299
303
|
# in the future.
|
300
304
|
#
|
301
|
-
#
|
302
305
|
# @option options [String] :sdk_ua_app_id
|
303
306
|
# A unique and opaque application ID that is appended to the
|
304
307
|
# User-Agent header as app/sdk_ua_app_id. It should have a
|
@@ -13500,7 +13503,7 @@ module Aws::IAM
|
|
13500
13503
|
params: params,
|
13501
13504
|
config: config)
|
13502
13505
|
context[:gem_name] = 'aws-sdk-iam'
|
13503
|
-
context[:gem_version] = '1.
|
13506
|
+
context[:gem_version] = '1.100.0'
|
13504
13507
|
Seahorse::Client::Request.new(handlers, context)
|
13505
13508
|
end
|
13506
13509
|
|
@@ -145,7 +145,7 @@ module Aws::IAM
|
|
145
145
|
#
|
146
146
|
# @return [self]
|
147
147
|
def load
|
148
|
-
resp = Aws::Plugins::UserAgent.
|
148
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
149
149
|
@client.get_user
|
150
150
|
end
|
151
151
|
@data = resp.user
|
@@ -262,7 +262,7 @@ module Aws::IAM
|
|
262
262
|
:retry
|
263
263
|
end
|
264
264
|
end
|
265
|
-
Aws::Plugins::UserAgent.
|
265
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
266
266
|
Aws::Waiters::Waiter.new(options).wait({})
|
267
267
|
end
|
268
268
|
end
|
@@ -289,7 +289,7 @@ module Aws::IAM
|
|
289
289
|
# @return [AccessKey::Collection]
|
290
290
|
def access_keys(options = {})
|
291
291
|
batches = Enumerator.new do |y|
|
292
|
-
resp = Aws::Plugins::UserAgent.
|
292
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
293
293
|
@client.list_access_keys(options)
|
294
294
|
end
|
295
295
|
resp.each_page do |page|
|
@@ -328,7 +328,7 @@ module Aws::IAM
|
|
328
328
|
# @return [MfaDevice::Collection]
|
329
329
|
def mfa_devices(options = {})
|
330
330
|
batches = Enumerator.new do |y|
|
331
|
-
resp = Aws::Plugins::UserAgent.
|
331
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
332
332
|
@client.list_mfa_devices(options)
|
333
333
|
end
|
334
334
|
resp.each_page do |page|
|
@@ -368,7 +368,7 @@ module Aws::IAM
|
|
368
368
|
# @return [SigningCertificate::Collection]
|
369
369
|
def signing_certificates(options = {})
|
370
370
|
batches = Enumerator.new do |y|
|
371
|
-
resp = Aws::Plugins::UserAgent.
|
371
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
372
372
|
@client.list_signing_certificates(options)
|
373
373
|
end
|
374
374
|
resp.each_page do |page|
|
@@ -9,7 +9,7 @@ module Aws
|
|
9
9
|
# Returns `false` if this account had no alias to remove.
|
10
10
|
# @see Client#delete_account_alias
|
11
11
|
def delete_account_alias
|
12
|
-
Aws::Plugins::UserAgent.
|
12
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
13
13
|
if name = @client.list_account_aliases.account_aliases.first
|
14
14
|
@client.delete_account_alias(account_alias: name)
|
15
15
|
else
|
data/lib/aws-sdk-iam/group.rb
CHANGED
@@ -95,7 +95,7 @@ module Aws::IAM
|
|
95
95
|
#
|
96
96
|
# @return [self]
|
97
97
|
def load
|
98
|
-
resp = Aws::Plugins::UserAgent.
|
98
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
99
99
|
@client.get_group(group_name: @name)
|
100
100
|
end
|
101
101
|
@data = resp.group
|
@@ -212,7 +212,7 @@ module Aws::IAM
|
|
212
212
|
:retry
|
213
213
|
end
|
214
214
|
end
|
215
|
-
Aws::Plugins::UserAgent.
|
215
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
216
216
|
Aws::Waiters::Waiter.new(options).wait({})
|
217
217
|
end
|
218
218
|
end
|
@@ -239,7 +239,7 @@ module Aws::IAM
|
|
239
239
|
# @return [EmptyStructure]
|
240
240
|
def add_user(options = {})
|
241
241
|
options = options.merge(group_name: @name)
|
242
|
-
resp = Aws::Plugins::UserAgent.
|
242
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
243
243
|
@client.add_user_to_group(options)
|
244
244
|
end
|
245
245
|
resp.data
|
@@ -263,7 +263,7 @@ module Aws::IAM
|
|
263
263
|
# @return [EmptyStructure]
|
264
264
|
def attach_policy(options = {})
|
265
265
|
options = options.merge(group_name: @name)
|
266
|
-
resp = Aws::Plugins::UserAgent.
|
266
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
267
267
|
@client.attach_group_policy(options)
|
268
268
|
end
|
269
269
|
resp.data
|
@@ -296,7 +296,7 @@ module Aws::IAM
|
|
296
296
|
# @return [Group]
|
297
297
|
def create(options = {})
|
298
298
|
options = options.merge(group_name: @name)
|
299
|
-
resp = Aws::Plugins::UserAgent.
|
299
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
300
300
|
@client.create_group(options)
|
301
301
|
end
|
302
302
|
Group.new(
|
@@ -350,7 +350,7 @@ module Aws::IAM
|
|
350
350
|
# @return [GroupPolicy]
|
351
351
|
def create_policy(options = {})
|
352
352
|
options = options.merge(group_name: @name)
|
353
|
-
Aws::Plugins::UserAgent.
|
353
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
354
354
|
@client.put_group_policy(options)
|
355
355
|
end
|
356
356
|
GroupPolicy.new(
|
@@ -367,7 +367,7 @@ module Aws::IAM
|
|
367
367
|
# @return [EmptyStructure]
|
368
368
|
def delete(options = {})
|
369
369
|
options = options.merge(group_name: @name)
|
370
|
-
resp = Aws::Plugins::UserAgent.
|
370
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
371
371
|
@client.delete_group(options)
|
372
372
|
end
|
373
373
|
resp.data
|
@@ -391,7 +391,7 @@ module Aws::IAM
|
|
391
391
|
# @return [EmptyStructure]
|
392
392
|
def detach_policy(options = {})
|
393
393
|
options = options.merge(group_name: @name)
|
394
|
-
resp = Aws::Plugins::UserAgent.
|
394
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
395
395
|
@client.detach_group_policy(options)
|
396
396
|
end
|
397
397
|
resp.data
|
@@ -417,7 +417,7 @@ module Aws::IAM
|
|
417
417
|
# @return [EmptyStructure]
|
418
418
|
def remove_user(options = {})
|
419
419
|
options = options.merge(group_name: @name)
|
420
|
-
resp = Aws::Plugins::UserAgent.
|
420
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
421
421
|
@client.remove_user_from_group(options)
|
422
422
|
end
|
423
423
|
resp.data
|
@@ -454,7 +454,7 @@ module Aws::IAM
|
|
454
454
|
# @return [Group]
|
455
455
|
def update(options = {})
|
456
456
|
options = options.merge(group_name: @name)
|
457
|
-
Aws::Plugins::UserAgent.
|
457
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
458
458
|
@client.update_group(options)
|
459
459
|
end
|
460
460
|
Group.new(
|
@@ -490,7 +490,7 @@ module Aws::IAM
|
|
490
490
|
def attached_policies(options = {})
|
491
491
|
batches = Enumerator.new do |y|
|
492
492
|
options = options.merge(group_name: @name)
|
493
|
-
resp = Aws::Plugins::UserAgent.
|
493
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
494
494
|
@client.list_attached_group_policies(options)
|
495
495
|
end
|
496
496
|
resp.each_page do |page|
|
@@ -515,7 +515,7 @@ module Aws::IAM
|
|
515
515
|
def policies(options = {})
|
516
516
|
batches = Enumerator.new do |y|
|
517
517
|
options = options.merge(group_name: @name)
|
518
|
-
resp = Aws::Plugins::UserAgent.
|
518
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
519
519
|
@client.list_group_policies(options)
|
520
520
|
end
|
521
521
|
resp.each_page do |page|
|
@@ -551,7 +551,7 @@ module Aws::IAM
|
|
551
551
|
def users(options = {})
|
552
552
|
batches = Enumerator.new do |y|
|
553
553
|
options = options.merge(group_name: @name)
|
554
|
-
resp = Aws::Plugins::UserAgent.
|
554
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
555
555
|
@client.get_group(options)
|
556
556
|
end
|
557
557
|
resp.each_page do |page|
|
@@ -68,7 +68,7 @@ module Aws::IAM
|
|
68
68
|
#
|
69
69
|
# @return [self]
|
70
70
|
def load
|
71
|
-
resp = Aws::Plugins::UserAgent.
|
71
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
72
72
|
@client.get_group_policy(
|
73
73
|
group_name: @group_name,
|
74
74
|
policy_name: @name
|
@@ -188,7 +188,7 @@ module Aws::IAM
|
|
188
188
|
:retry
|
189
189
|
end
|
190
190
|
end
|
191
|
-
Aws::Plugins::UserAgent.
|
191
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
192
192
|
Aws::Waiters::Waiter.new(options).wait({})
|
193
193
|
end
|
194
194
|
end
|
@@ -205,7 +205,7 @@ module Aws::IAM
|
|
205
205
|
group_name: @group_name,
|
206
206
|
policy_name: @name
|
207
207
|
)
|
208
|
-
resp = Aws::Plugins::UserAgent.
|
208
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
209
209
|
@client.delete_group_policy(options)
|
210
210
|
end
|
211
211
|
resp.data
|
@@ -246,7 +246,7 @@ module Aws::IAM
|
|
246
246
|
group_name: @group_name,
|
247
247
|
policy_name: @name
|
248
248
|
)
|
249
|
-
resp = Aws::Plugins::UserAgent.
|
249
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
250
250
|
@client.put_group_policy(options)
|
251
251
|
end
|
252
252
|
resp.data
|
@@ -102,7 +102,7 @@ module Aws::IAM
|
|
102
102
|
#
|
103
103
|
# @return [self]
|
104
104
|
def load
|
105
|
-
resp = Aws::Plugins::UserAgent.
|
105
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
106
106
|
@client.get_instance_profile(instance_profile_name: @name)
|
107
107
|
end
|
108
108
|
@data = resp.instance_profile
|
@@ -149,7 +149,7 @@ module Aws::IAM
|
|
149
149
|
options, params = separate_params_and_options(options)
|
150
150
|
waiter = Waiters::InstanceProfileExists.new(options)
|
151
151
|
yield_waiter_and_warn(waiter, &block) if block_given?
|
152
|
-
Aws::Plugins::UserAgent.
|
152
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
153
153
|
waiter.wait(params.merge(instance_profile_name: @name))
|
154
154
|
end
|
155
155
|
InstanceProfile.new({
|
@@ -252,7 +252,7 @@ module Aws::IAM
|
|
252
252
|
:retry
|
253
253
|
end
|
254
254
|
end
|
255
|
-
Aws::Plugins::UserAgent.
|
255
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
256
256
|
Aws::Waiters::Waiter.new(options).wait({})
|
257
257
|
end
|
258
258
|
end
|
@@ -279,7 +279,7 @@ module Aws::IAM
|
|
279
279
|
# @return [EmptyStructure]
|
280
280
|
def add_role(options = {})
|
281
281
|
options = options.merge(instance_profile_name: @name)
|
282
|
-
resp = Aws::Plugins::UserAgent.
|
282
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
283
283
|
@client.add_role_to_instance_profile(options)
|
284
284
|
end
|
285
285
|
resp.data
|
@@ -292,7 +292,7 @@ module Aws::IAM
|
|
292
292
|
# @return [EmptyStructure]
|
293
293
|
def delete(options = {})
|
294
294
|
options = options.merge(instance_profile_name: @name)
|
295
|
-
resp = Aws::Plugins::UserAgent.
|
295
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
296
296
|
@client.delete_instance_profile(options)
|
297
297
|
end
|
298
298
|
resp.data
|
@@ -318,7 +318,7 @@ module Aws::IAM
|
|
318
318
|
# @return [EmptyStructure]
|
319
319
|
def remove_role(options = {})
|
320
320
|
options = options.merge(instance_profile_name: @name)
|
321
|
-
resp = Aws::Plugins::UserAgent.
|
321
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
322
322
|
@client.remove_role_from_instance_profile(options)
|
323
323
|
end
|
324
324
|
resp.data
|
@@ -61,7 +61,7 @@ module Aws::IAM
|
|
61
61
|
#
|
62
62
|
# @return [self]
|
63
63
|
def load
|
64
|
-
resp = Aws::Plugins::UserAgent.
|
64
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
65
65
|
@client.get_login_profile(user_name: @user_name)
|
66
66
|
end
|
67
67
|
@data = resp.login_profile
|
@@ -178,7 +178,7 @@ module Aws::IAM
|
|
178
178
|
:retry
|
179
179
|
end
|
180
180
|
end
|
181
|
-
Aws::Plugins::UserAgent.
|
181
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
182
182
|
Aws::Waiters::Waiter.new(options).wait({})
|
183
183
|
end
|
184
184
|
end
|
@@ -214,7 +214,7 @@ module Aws::IAM
|
|
214
214
|
# @return [LoginProfile]
|
215
215
|
def create(options = {})
|
216
216
|
options = options.merge(user_name: @user_name)
|
217
|
-
resp = Aws::Plugins::UserAgent.
|
217
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
218
218
|
@client.create_login_profile(options)
|
219
219
|
end
|
220
220
|
LoginProfile.new(
|
@@ -231,7 +231,7 @@ module Aws::IAM
|
|
231
231
|
# @return [EmptyStructure]
|
232
232
|
def delete(options = {})
|
233
233
|
options = options.merge(user_name: @user_name)
|
234
|
-
resp = Aws::Plugins::UserAgent.
|
234
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
235
235
|
@client.delete_login_profile(options)
|
236
236
|
end
|
237
237
|
resp.data
|
@@ -272,7 +272,7 @@ module Aws::IAM
|
|
272
272
|
# @return [EmptyStructure]
|
273
273
|
def update(options = {})
|
274
274
|
options = options.merge(user_name: @user_name)
|
275
|
-
resp = Aws::Plugins::UserAgent.
|
275
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
276
276
|
@client.update_login_profile(options)
|
277
277
|
end
|
278
278
|
resp.data
|
@@ -172,7 +172,7 @@ module Aws::IAM
|
|
172
172
|
:retry
|
173
173
|
end
|
174
174
|
end
|
175
|
-
Aws::Plugins::UserAgent.
|
175
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
176
176
|
Aws::Waiters::Waiter.new(options).wait({})
|
177
177
|
end
|
178
178
|
end
|
@@ -222,7 +222,7 @@ module Aws::IAM
|
|
222
222
|
user_name: @user_name,
|
223
223
|
serial_number: @serial_number
|
224
224
|
)
|
225
|
-
resp = Aws::Plugins::UserAgent.
|
225
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
226
226
|
@client.enable_mfa_device(options)
|
227
227
|
end
|
228
228
|
resp.data
|
@@ -238,7 +238,7 @@ module Aws::IAM
|
|
238
238
|
user_name: @user_name,
|
239
239
|
serial_number: @serial_number
|
240
240
|
)
|
241
|
-
resp = Aws::Plugins::UserAgent.
|
241
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
242
242
|
@client.deactivate_mfa_device(options)
|
243
243
|
end
|
244
244
|
resp.data
|
@@ -265,7 +265,7 @@ module Aws::IAM
|
|
265
265
|
user_name: @user_name,
|
266
266
|
serial_number: @serial_number
|
267
267
|
)
|
268
|
-
resp = Aws::Plugins::UserAgent.
|
268
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
269
269
|
@client.resync_mfa_device(options)
|
270
270
|
end
|
271
271
|
resp.data
|