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.
@@ -150,7 +150,7 @@ module Aws::IAM
150
150
  #
151
151
  # @return [self]
152
152
  def load
153
- resp = Aws::Plugins::UserAgent.feature('resource') do
153
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
154
154
  @client.get_user(user_name: @name)
155
155
  end
156
156
  @data = resp.user
@@ -197,7 +197,7 @@ module Aws::IAM
197
197
  options, params = separate_params_and_options(options)
198
198
  waiter = Waiters::UserExists.new(options)
199
199
  yield_waiter_and_warn(waiter, &block) if block_given?
200
- Aws::Plugins::UserAgent.feature('resource') do
200
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
201
201
  waiter.wait(params.merge(user_name: @name))
202
202
  end
203
203
  User.new({
@@ -300,7 +300,7 @@ module Aws::IAM
300
300
  :retry
301
301
  end
302
302
  end
303
- Aws::Plugins::UserAgent.feature('resource') do
303
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
304
304
  Aws::Waiters::Waiter.new(options).wait({})
305
305
  end
306
306
  end
@@ -327,7 +327,7 @@ module Aws::IAM
327
327
  # @return [EmptyStructure]
328
328
  def add_group(options = {})
329
329
  options = options.merge(user_name: @name)
330
- resp = Aws::Plugins::UserAgent.feature('resource') do
330
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
331
331
  @client.add_user_to_group(options)
332
332
  end
333
333
  resp.data
@@ -351,7 +351,7 @@ module Aws::IAM
351
351
  # @return [EmptyStructure]
352
352
  def attach_policy(options = {})
353
353
  options = options.merge(user_name: @name)
354
- resp = Aws::Plugins::UserAgent.feature('resource') do
354
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
355
355
  @client.attach_user_policy(options)
356
356
  end
357
357
  resp.data
@@ -423,7 +423,7 @@ module Aws::IAM
423
423
  # @return [User]
424
424
  def create(options = {})
425
425
  options = options.merge(user_name: @name)
426
- resp = Aws::Plugins::UserAgent.feature('resource') do
426
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
427
427
  @client.create_user(options)
428
428
  end
429
429
  User.new(
@@ -440,7 +440,7 @@ module Aws::IAM
440
440
  # @return [AccessKeyPair]
441
441
  def create_access_key_pair(options = {})
442
442
  options = options.merge(user_name: @name)
443
- resp = Aws::Plugins::UserAgent.feature('resource') do
443
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
444
444
  @client.create_access_key(options)
445
445
  end
446
446
  AccessKeyPair.new(
@@ -481,7 +481,7 @@ module Aws::IAM
481
481
  # @return [LoginProfile]
482
482
  def create_login_profile(options = {})
483
483
  options = options.merge(user_name: @name)
484
- resp = Aws::Plugins::UserAgent.feature('resource') do
484
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
485
485
  @client.create_login_profile(options)
486
486
  end
487
487
  LoginProfile.new(
@@ -535,7 +535,7 @@ module Aws::IAM
535
535
  # @return [UserPolicy]
536
536
  def create_policy(options = {})
537
537
  options = options.merge(user_name: @name)
538
- Aws::Plugins::UserAgent.feature('resource') do
538
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
539
539
  @client.put_user_policy(options)
540
540
  end
541
541
  UserPolicy.new(
@@ -552,7 +552,7 @@ module Aws::IAM
552
552
  # @return [EmptyStructure]
553
553
  def delete(options = {})
554
554
  options = options.merge(user_name: @name)
555
- resp = Aws::Plugins::UserAgent.feature('resource') do
555
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
556
556
  @client.delete_user(options)
557
557
  end
558
558
  resp.data
@@ -576,7 +576,7 @@ module Aws::IAM
576
576
  # @return [EmptyStructure]
577
577
  def detach_policy(options = {})
578
578
  options = options.merge(user_name: @name)
579
- resp = Aws::Plugins::UserAgent.feature('resource') do
579
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
580
580
  @client.detach_user_policy(options)
581
581
  end
582
582
  resp.data
@@ -635,7 +635,7 @@ module Aws::IAM
635
635
  # @return [MfaDevice]
636
636
  def enable_mfa(options = {})
637
637
  options = options.merge(user_name: @name)
638
- Aws::Plugins::UserAgent.feature('resource') do
638
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
639
639
  @client.enable_mfa_device(options)
640
640
  end
641
641
  MfaDevice.new(
@@ -665,7 +665,7 @@ module Aws::IAM
665
665
  # @return [EmptyStructure]
666
666
  def remove_group(options = {})
667
667
  options = options.merge(user_name: @name)
668
- resp = Aws::Plugins::UserAgent.feature('resource') do
668
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
669
669
  @client.remove_user_from_group(options)
670
670
  end
671
671
  resp.data
@@ -702,7 +702,7 @@ module Aws::IAM
702
702
  # @return [User]
703
703
  def update(options = {})
704
704
  options = options.merge(user_name: @name)
705
- Aws::Plugins::UserAgent.feature('resource') do
705
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
706
706
  @client.update_user(options)
707
707
  end
708
708
  User.new(
@@ -731,7 +731,7 @@ module Aws::IAM
731
731
  def access_keys(options = {})
732
732
  batches = Enumerator.new do |y|
733
733
  options = options.merge(user_name: @name)
734
- resp = Aws::Plugins::UserAgent.feature('resource') do
734
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
735
735
  @client.list_access_keys(options)
736
736
  end
737
737
  resp.each_page do |page|
@@ -775,7 +775,7 @@ module Aws::IAM
775
775
  def attached_policies(options = {})
776
776
  batches = Enumerator.new do |y|
777
777
  options = options.merge(user_name: @name)
778
- resp = Aws::Plugins::UserAgent.feature('resource') do
778
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
779
779
  @client.list_attached_user_policies(options)
780
780
  end
781
781
  resp.each_page do |page|
@@ -800,7 +800,7 @@ module Aws::IAM
800
800
  def groups(options = {})
801
801
  batches = Enumerator.new do |y|
802
802
  options = options.merge(user_name: @name)
803
- resp = Aws::Plugins::UserAgent.feature('resource') do
803
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
804
804
  @client.list_groups_for_user(options)
805
805
  end
806
806
  resp.each_page do |page|
@@ -844,7 +844,7 @@ module Aws::IAM
844
844
  def mfa_devices(options = {})
845
845
  batches = Enumerator.new do |y|
846
846
  options = options.merge(user_name: @name)
847
- resp = Aws::Plugins::UserAgent.feature('resource') do
847
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
848
848
  @client.list_mfa_devices(options)
849
849
  end
850
850
  resp.each_page do |page|
@@ -871,7 +871,7 @@ module Aws::IAM
871
871
  def policies(options = {})
872
872
  batches = Enumerator.new do |y|
873
873
  options = options.merge(user_name: @name)
874
- resp = Aws::Plugins::UserAgent.feature('resource') do
874
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
875
875
  @client.list_user_policies(options)
876
876
  end
877
877
  resp.each_page do |page|
@@ -917,7 +917,7 @@ module Aws::IAM
917
917
  def signing_certificates(options = {})
918
918
  batches = Enumerator.new do |y|
919
919
  options = options.merge(user_name: @name)
920
- resp = Aws::Plugins::UserAgent.feature('resource') do
920
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
921
921
  @client.list_signing_certificates(options)
922
922
  end
923
923
  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.feature('resource') do
71
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
72
72
  @client.get_user_policy(
73
73
  user_name: @user_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.feature('resource') do
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
  user_name: @user_name,
206
206
  policy_name: @name
207
207
  )
208
- resp = Aws::Plugins::UserAgent.feature('resource') do
208
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
209
209
  @client.delete_user_policy(options)
210
210
  end
211
211
  resp.data
@@ -246,7 +246,7 @@ module Aws::IAM
246
246
  user_name: @user_name,
247
247
  policy_name: @name
248
248
  )
249
- resp = Aws::Plugins::UserAgent.feature('resource') do
249
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
250
250
  @client.put_user_policy(options)
251
251
  end
252
252
  resp.data
@@ -198,7 +198,7 @@ module Aws::IAM
198
198
  :retry
199
199
  end
200
200
  end
201
- Aws::Plugins::UserAgent.feature('resource') do
201
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
202
202
  Aws::Waiters::Waiter.new(options).wait({})
203
203
  end
204
204
  end
@@ -212,7 +212,7 @@ module Aws::IAM
212
212
  # @return [EmptyStructure]
213
213
  def delete(options = {})
214
214
  options = options.merge(serial_number: @serial_number)
215
- resp = Aws::Plugins::UserAgent.feature('resource') do
215
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
216
216
  @client.delete_virtual_mfa_device(options)
217
217
  end
218
218
  resp.data
data/lib/aws-sdk-iam.rb CHANGED
@@ -74,6 +74,6 @@ require_relative 'aws-sdk-iam/customizations'
74
74
  # @!group service
75
75
  module Aws::IAM
76
76
 
77
- GEM_VERSION = '1.98.0'
77
+ GEM_VERSION = '1.100.0'
78
78
 
79
79
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iam
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.98.0
4
+ version: 1.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-13 00:00:00.000000000 Z
11
+ date: 2024-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.193.0
22
+ version: 3.198.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.193.0
32
+ version: 3.198.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement