aws-sdk-iam 1.108.0 → 1.110.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bbd67de9f0d2f0762b649a43737db953a828d911fe4e299c2d10657d68011bc
4
- data.tar.gz: 429623230de8e28e77e5d1167ab4314086e278c71af8296720916a2551625d28
3
+ metadata.gz: c6f764d5a7fef7606df20a0819f4176dc38fb6fb5d34f8f258f88df94cb158ea
4
+ data.tar.gz: 543d3f33c2d15fca267747cffbfc582a5d9304f4e22010bc9465ab5b839ae70f
5
5
  SHA512:
6
- metadata.gz: 6ac0ce280d0f2f7ad573717d53bcbda1ceec52b3e54853beadea5d7840fe6ec65e9248c261a79af88b9e853f24a4d7d5557848c4065648578dbfc0039a881e07
7
- data.tar.gz: 2cdfd48508202dd8d401679d18d3fae222fe8a86f5b4a6c586a013492a8b9de2dac77090993f770cd64f1e2bb590cd8a8a9a417316622cb2f75032a7bfc0907d
6
+ metadata.gz: '0869610b5cc3fa5cb5bedb4cc31af821412618512b88622ddfddca0ac2fc6a8d59052f0f81a537904053f43b4ee813d661be4a8f45f698db132620f095c3fc06'
7
+ data.tar.gz: 79187e73fdf6c0476812739591b656e29c7d0819e5a3e89f0e90bf8e7f454ecfca99863cf5937114073d26b6fe5c78bf19db2cb85b8937e84d9f0a1d1f93bfea
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.110.0 (2024-09-23)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.109.0 (2024-09-20)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.108.0 (2024-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.108.0
1
+ 1.110.0
@@ -130,13 +130,15 @@ module Aws::IAM
130
130
  # locations will be searched for credentials:
131
131
  #
132
132
  # * `Aws.config[:credentials]`
133
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
134
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
133
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
134
+ # `:account_id` options.
135
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
136
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
135
137
  # * `~/.aws/credentials`
136
138
  # * `~/.aws/config`
137
139
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
140
  # are very aggressive. Construct and pass an instance of
139
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
141
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
142
  # enable retries and extended timeouts. Instance profile credential
141
143
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
144
  # to true.
@@ -155,6 +157,8 @@ module Aws::IAM
155
157
  #
156
158
  # @option options [String] :access_key_id
157
159
  #
160
+ # @option options [String] :account_id
161
+ #
158
162
  # @option options [Boolean] :active_endpoint_cache (false)
159
163
  # When set to `true`, a thread polling for endpoints will be running in
160
164
  # the background every 60 secs (default). Defaults to `false`.
@@ -369,7 +373,9 @@ module Aws::IAM
369
373
  # sending the request.
370
374
  #
371
375
  # @option options [Aws::IAM::EndpointProvider] :endpoint_provider
372
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::IAM::EndpointParameters`
376
+ # The endpoint provider used to resolve endpoints. Any object that responds to
377
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
378
+ # `Aws::IAM::EndpointParameters`.
373
379
  #
374
380
  # @option options [Float] :http_continue_timeout (1)
375
381
  # The number of seconds to wait for a 100-continue response before sending the
@@ -13533,7 +13539,7 @@ module Aws::IAM
13533
13539
  tracer: tracer
13534
13540
  )
13535
13541
  context[:gem_name] = 'aws-sdk-iam'
13536
- context[:gem_version] = '1.108.0'
13542
+ context[:gem_version] = '1.110.0'
13537
13543
  Seahorse::Client::Request.new(handlers, context)
13538
13544
  end
13539
13545
 
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  module Aws::IAM
11
12
  # @api private
12
13
  module ClientApi
@@ -1,4 +1 @@
1
1
  # frozen_string_literal: true
2
-
3
- # customizations to generated classes
4
- require 'aws-sdk-iam/customizations/resource'
@@ -15,11 +15,11 @@ module Aws::IAM
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::IAM::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::IAM::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::IAM::EndpointParameters`.
22
+ DOCS
23
23
  Aws::IAM::EndpointProvider.new
24
24
  end
25
25
 
@@ -51,6 +51,9 @@ module Aws::IAM
51
51
  if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
52
  metrics << 'SIGV4A_SIGNING'
53
53
  end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
54
57
  Aws::Plugins::UserAgent.metric(*metrics, &block)
55
58
  end
56
59
 
@@ -1394,3 +1394,6 @@ module Aws::IAM
1394
1394
 
1395
1395
  end
1396
1396
  end
1397
+
1398
+ # Load customizations if they exist
1399
+ require 'aws-sdk-iam/customizations/resource'
@@ -11968,3 +11968,4 @@ module Aws::IAM
11968
11968
 
11969
11969
  end
11970
11970
  end
11971
+
data/lib/aws-sdk-iam.rb CHANGED
@@ -11,39 +11,6 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
- require_relative 'aws-sdk-iam/types'
15
- require_relative 'aws-sdk-iam/client_api'
16
- require_relative 'aws-sdk-iam/plugins/endpoints.rb'
17
- require_relative 'aws-sdk-iam/client'
18
- require_relative 'aws-sdk-iam/errors'
19
- require_relative 'aws-sdk-iam/waiters'
20
- require_relative 'aws-sdk-iam/resource'
21
- require_relative 'aws-sdk-iam/endpoint_parameters'
22
- require_relative 'aws-sdk-iam/endpoint_provider'
23
- require_relative 'aws-sdk-iam/endpoints'
24
- require_relative 'aws-sdk-iam/access_key'
25
- require_relative 'aws-sdk-iam/access_key_pair'
26
- require_relative 'aws-sdk-iam/account_password_policy'
27
- require_relative 'aws-sdk-iam/account_summary'
28
- require_relative 'aws-sdk-iam/assume_role_policy'
29
- require_relative 'aws-sdk-iam/current_user'
30
- require_relative 'aws-sdk-iam/group'
31
- require_relative 'aws-sdk-iam/group_policy'
32
- require_relative 'aws-sdk-iam/instance_profile'
33
- require_relative 'aws-sdk-iam/login_profile'
34
- require_relative 'aws-sdk-iam/mfa_device'
35
- require_relative 'aws-sdk-iam/policy'
36
- require_relative 'aws-sdk-iam/policy_version'
37
- require_relative 'aws-sdk-iam/role'
38
- require_relative 'aws-sdk-iam/role_policy'
39
- require_relative 'aws-sdk-iam/saml_provider'
40
- require_relative 'aws-sdk-iam/server_certificate'
41
- require_relative 'aws-sdk-iam/signing_certificate'
42
- require_relative 'aws-sdk-iam/user'
43
- require_relative 'aws-sdk-iam/user_policy'
44
- require_relative 'aws-sdk-iam/virtual_mfa_device'
45
- require_relative 'aws-sdk-iam/customizations'
46
-
47
14
  # This module provides support for AWS Identity and Access Management. This module is available in the
48
15
  # `aws-sdk-iam` gem.
49
16
  #
@@ -73,7 +40,42 @@ require_relative 'aws-sdk-iam/customizations'
73
40
  #
74
41
  # @!group service
75
42
  module Aws::IAM
43
+ autoload :Types, 'aws-sdk-iam/types'
44
+ autoload :ClientApi, 'aws-sdk-iam/client_api'
45
+ module Plugins
46
+ autoload :Endpoints, 'aws-sdk-iam/plugins/endpoints.rb'
47
+ end
48
+ autoload :Client, 'aws-sdk-iam/client'
49
+ autoload :Errors, 'aws-sdk-iam/errors'
50
+ autoload :Waiters, 'aws-sdk-iam/waiters'
51
+ autoload :Resource, 'aws-sdk-iam/resource'
52
+ autoload :EndpointParameters, 'aws-sdk-iam/endpoint_parameters'
53
+ autoload :EndpointProvider, 'aws-sdk-iam/endpoint_provider'
54
+ autoload :Endpoints, 'aws-sdk-iam/endpoints'
55
+ autoload :AccessKey, 'aws-sdk-iam/access_key'
56
+ autoload :AccessKeyPair, 'aws-sdk-iam/access_key_pair'
57
+ autoload :AccountPasswordPolicy, 'aws-sdk-iam/account_password_policy'
58
+ autoload :AccountSummary, 'aws-sdk-iam/account_summary'
59
+ autoload :AssumeRolePolicy, 'aws-sdk-iam/assume_role_policy'
60
+ autoload :CurrentUser, 'aws-sdk-iam/current_user'
61
+ autoload :Group, 'aws-sdk-iam/group'
62
+ autoload :GroupPolicy, 'aws-sdk-iam/group_policy'
63
+ autoload :InstanceProfile, 'aws-sdk-iam/instance_profile'
64
+ autoload :LoginProfile, 'aws-sdk-iam/login_profile'
65
+ autoload :MfaDevice, 'aws-sdk-iam/mfa_device'
66
+ autoload :Policy, 'aws-sdk-iam/policy'
67
+ autoload :PolicyVersion, 'aws-sdk-iam/policy_version'
68
+ autoload :Role, 'aws-sdk-iam/role'
69
+ autoload :RolePolicy, 'aws-sdk-iam/role_policy'
70
+ autoload :SamlProvider, 'aws-sdk-iam/saml_provider'
71
+ autoload :ServerCertificate, 'aws-sdk-iam/server_certificate'
72
+ autoload :SigningCertificate, 'aws-sdk-iam/signing_certificate'
73
+ autoload :User, 'aws-sdk-iam/user'
74
+ autoload :UserPolicy, 'aws-sdk-iam/user_policy'
75
+ autoload :VirtualMfaDevice, 'aws-sdk-iam/virtual_mfa_device'
76
76
 
77
- GEM_VERSION = '1.108.0'
77
+ GEM_VERSION = '1.110.0'
78
78
 
79
79
  end
80
+
81
+ require_relative 'aws-sdk-iam/customizations'
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
data/sig/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
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.108.0
4
+ version: 1.110.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-09-11 00:00:00.000000000 Z
11
+ date: 2024-09-23 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.205.0
22
+ version: 3.207.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.205.0
32
+ version: 3.207.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement