aws-sdk-iam 1.166.0 → 1.168.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iam/client.rb +757 -15
- data/lib/aws-sdk-iam/client_api.rb +81 -0
- data/lib/aws-sdk-iam/login_profile.rb +53 -0
- data/lib/aws-sdk-iam/resource.rb +43 -0
- data/lib/aws-sdk-iam/role.rb +12 -0
- data/lib/aws-sdk-iam/saml_provider.rb +103 -0
- data/lib/aws-sdk-iam/types.rb +558 -11
- data/lib/aws-sdk-iam/user.rb +11 -0
- data/lib/aws-sdk-iam.rb +1 -1
- data/sig/client.rbs +37 -6
- data/sig/login_profile.rbs +8 -2
- data/sig/params.rbs +25 -0
- data/sig/resource.rbs +14 -1
- data/sig/role.rbs +3 -0
- data/sig/saml_provider.rbs +27 -1
- data/sig/types.rbs +54 -0
- data/sig/user.rbs +2 -1
- metadata +4 -3
data/lib/aws-sdk-iam/user.rb
CHANGED
|
@@ -460,6 +460,7 @@ module Aws::IAM
|
|
|
460
460
|
# loginprofile = user.create_login_profile({
|
|
461
461
|
# password: "passwordType",
|
|
462
462
|
# password_reset_required: false,
|
|
463
|
+
# max_signin_session_duration: 1,
|
|
463
464
|
# })
|
|
464
465
|
# @param [Hash] options ({})
|
|
465
466
|
# @option options [String] :password
|
|
@@ -485,6 +486,16 @@ module Aws::IAM
|
|
|
485
486
|
# @option options [Boolean] :password_reset_required
|
|
486
487
|
# Specifies whether the user is required to set a new password on next
|
|
487
488
|
# sign-in.
|
|
489
|
+
# @option options [Integer] :max_signin_session_duration
|
|
490
|
+
# The maximum duration (in seconds) of an Amazon Web Services Sign-In
|
|
491
|
+
# session for this IAM user. This setting can have a value from 1 hour
|
|
492
|
+
# (3600 seconds) to 90 days (7776000 seconds), inclusive. If you do not
|
|
493
|
+
# specify a value, the setting remains unset and the existing sign-in
|
|
494
|
+
# session behavior applies.
|
|
495
|
+
#
|
|
496
|
+
# <note markdown="1"> This setting is not supported for the root user.
|
|
497
|
+
#
|
|
498
|
+
# </note>
|
|
488
499
|
# @return [LoginProfile]
|
|
489
500
|
def create_login_profile(options = {})
|
|
490
501
|
options = options.merge(user_name: @name)
|
data/lib/aws-sdk-iam.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -234,7 +234,8 @@ module Aws
|
|
|
234
234
|
def create_login_profile: (
|
|
235
235
|
?user_name: ::String,
|
|
236
236
|
?password: ::String,
|
|
237
|
-
?password_reset_required: bool
|
|
237
|
+
?password_reset_required: bool,
|
|
238
|
+
?max_signin_session_duration: ::Integer
|
|
238
239
|
) -> _CreateLoginProfileResponseSuccess
|
|
239
240
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLoginProfileResponseSuccess
|
|
240
241
|
|
|
@@ -253,7 +254,9 @@ module Aws
|
|
|
253
254
|
key: ::String,
|
|
254
255
|
value: ::String
|
|
255
256
|
}
|
|
256
|
-
]
|
|
257
|
+
],
|
|
258
|
+
?context_provider: Params::context_provider,
|
|
259
|
+
?identity_center_instance_arn: ::String
|
|
257
260
|
) -> _CreateOpenIDConnectProviderResponseSuccess
|
|
258
261
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOpenIDConnectProviderResponseSuccess
|
|
259
262
|
|
|
@@ -299,6 +302,7 @@ module Aws
|
|
|
299
302
|
assume_role_policy_document: ::String,
|
|
300
303
|
?description: ::String,
|
|
301
304
|
?max_session_duration: ::Integer,
|
|
305
|
+
?max_signin_session_duration: ::Integer,
|
|
302
306
|
?permissions_boundary: ::String,
|
|
303
307
|
?tags: Array[
|
|
304
308
|
{
|
|
@@ -325,7 +329,9 @@ module Aws
|
|
|
325
329
|
}
|
|
326
330
|
],
|
|
327
331
|
?assertion_encryption_mode: ("Required" | "Allowed"),
|
|
328
|
-
?add_private_key: ::String
|
|
332
|
+
?add_private_key: ::String,
|
|
333
|
+
?context_provider: Params::context_provider,
|
|
334
|
+
?identity_center_instance_arn: ::String
|
|
329
335
|
) -> _CreateSAMLProviderResponseSuccess
|
|
330
336
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSAMLProviderResponseSuccess
|
|
331
337
|
|
|
@@ -835,6 +841,9 @@ module Aws
|
|
|
835
841
|
def thumbprint_list: () -> ::Array[::String]
|
|
836
842
|
def create_date: () -> ::Time
|
|
837
843
|
def tags: () -> ::Array[Types::Tag]
|
|
844
|
+
def context_provider: () -> Types::ContextProvider
|
|
845
|
+
def identity_center_instance_arn: () -> ::String
|
|
846
|
+
def identity_store_arn: () -> ::String
|
|
838
847
|
end
|
|
839
848
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#get_open_id_connect_provider-instance_method
|
|
840
849
|
def get_open_id_connect_provider: (
|
|
@@ -931,11 +940,15 @@ module Aws
|
|
|
931
940
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetSAMLProviderResponse]
|
|
932
941
|
def saml_provider_uuid: () -> ::String
|
|
933
942
|
def saml_metadata_document: () -> ::String
|
|
943
|
+
def context_provider: () -> Types::ContextProvider
|
|
944
|
+
def saml_key_hashes: () -> ::Array[Types::SAMLKeyHashEntry]
|
|
934
945
|
def create_date: () -> ::Time
|
|
935
946
|
def valid_until: () -> ::Time
|
|
936
947
|
def tags: () -> ::Array[Types::Tag]
|
|
937
948
|
def assertion_encryption_mode: () -> ("Required" | "Allowed")
|
|
938
949
|
def private_key_list: () -> ::Array[Types::SAMLPrivateKey]
|
|
950
|
+
def identity_center_instance_arn: () -> ::String
|
|
951
|
+
def identity_store_arn: () -> ::String
|
|
939
952
|
end
|
|
940
953
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#get_saml_provider-instance_method
|
|
941
954
|
def get_saml_provider: (
|
|
@@ -1924,10 +1937,22 @@ module Aws
|
|
|
1924
1937
|
def update_login_profile: (
|
|
1925
1938
|
user_name: ::String,
|
|
1926
1939
|
?password: ::String,
|
|
1927
|
-
?password_reset_required: bool
|
|
1940
|
+
?password_reset_required: bool,
|
|
1941
|
+
?max_signin_session_duration: ::Integer,
|
|
1942
|
+
?reset_max_signin_session_duration: bool
|
|
1928
1943
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1929
1944
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1930
1945
|
|
|
1946
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#update_open_id_connect_provider-instance_method
|
|
1947
|
+
def update_open_id_connect_provider: (
|
|
1948
|
+
open_id_connect_provider_arn: ::String,
|
|
1949
|
+
?context_provider: Params::context_provider,
|
|
1950
|
+
?identity_center_instance_arn: ::String,
|
|
1951
|
+
?remove_context_provider: bool,
|
|
1952
|
+
?remove_identity_center_instance: bool
|
|
1953
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1954
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1955
|
+
|
|
1931
1956
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#update_open_id_connect_provider_thumbprint-instance_method
|
|
1932
1957
|
def update_open_id_connect_provider_thumbprint: (
|
|
1933
1958
|
open_id_connect_provider_arn: ::String,
|
|
@@ -1942,7 +1967,9 @@ module Aws
|
|
|
1942
1967
|
def update_role: (
|
|
1943
1968
|
role_name: ::String,
|
|
1944
1969
|
?description: ::String,
|
|
1945
|
-
?max_session_duration: ::Integer
|
|
1970
|
+
?max_session_duration: ::Integer,
|
|
1971
|
+
?max_signin_session_duration: ::Integer,
|
|
1972
|
+
?reset_max_signin_session_duration: bool
|
|
1946
1973
|
) -> _UpdateRoleResponseSuccess
|
|
1947
1974
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRoleResponseSuccess
|
|
1948
1975
|
|
|
@@ -1967,7 +1994,11 @@ module Aws
|
|
|
1967
1994
|
saml_provider_arn: ::String,
|
|
1968
1995
|
?assertion_encryption_mode: ("Required" | "Allowed"),
|
|
1969
1996
|
?add_private_key: ::String,
|
|
1970
|
-
?remove_private_key: ::String
|
|
1997
|
+
?remove_private_key: ::String,
|
|
1998
|
+
?context_provider: Params::context_provider,
|
|
1999
|
+
?identity_center_instance_arn: ::String,
|
|
2000
|
+
?remove_context_provider: bool,
|
|
2001
|
+
?remove_identity_center_instance: bool
|
|
1971
2002
|
) -> _UpdateSAMLProviderResponseSuccess
|
|
1972
2003
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSAMLProviderResponseSuccess
|
|
1973
2004
|
|
data/sig/login_profile.rbs
CHANGED
|
@@ -23,6 +23,9 @@ module Aws
|
|
|
23
23
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#password_reset_required-instance_method
|
|
24
24
|
def password_reset_required: () -> bool
|
|
25
25
|
|
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#max_signin_session_duration-instance_method
|
|
27
|
+
def max_signin_session_duration: () -> ::Integer
|
|
28
|
+
|
|
26
29
|
def client: () -> Client
|
|
27
30
|
|
|
28
31
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#load-instance_method
|
|
@@ -39,7 +42,8 @@ module Aws
|
|
|
39
42
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#create-instance_method
|
|
40
43
|
def create: (
|
|
41
44
|
?password: ::String,
|
|
42
|
-
?password_reset_required: bool
|
|
45
|
+
?password_reset_required: bool,
|
|
46
|
+
?max_signin_session_duration: ::Integer
|
|
43
47
|
) -> LoginProfile
|
|
44
48
|
| (?Hash[Symbol, untyped]) -> LoginProfile
|
|
45
49
|
|
|
@@ -51,7 +55,9 @@ module Aws
|
|
|
51
55
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#update-instance_method
|
|
52
56
|
def update: (
|
|
53
57
|
?password: ::String,
|
|
54
|
-
?password_reset_required: bool
|
|
58
|
+
?password_reset_required: bool,
|
|
59
|
+
?max_signin_session_duration: ::Integer,
|
|
60
|
+
?reset_max_signin_session_duration: bool
|
|
55
61
|
) -> ::Aws::EmptyStructure
|
|
56
62
|
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
|
57
63
|
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module IAM
|
|
10
|
+
module Params
|
|
11
|
+
type context_provider = {
|
|
12
|
+
key_definition_list: Array[
|
|
13
|
+
{
|
|
14
|
+
source_key: ::String,
|
|
15
|
+
target_key: ::String?
|
|
16
|
+
}
|
|
17
|
+
]?,
|
|
18
|
+
subject_source_key: ::String,
|
|
19
|
+
subject_type_value: ::String?,
|
|
20
|
+
subject_type_source_key: ::String?
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
data/sig/resource.rbs
CHANGED
|
@@ -150,6 +150,7 @@ module Aws
|
|
|
150
150
|
assume_role_policy_document: ::String,
|
|
151
151
|
?description: ::String,
|
|
152
152
|
?max_session_duration: ::Integer,
|
|
153
|
+
?max_signin_session_duration: ::Integer,
|
|
153
154
|
?permissions_boundary: ::String,
|
|
154
155
|
?tags: Array[
|
|
155
156
|
{
|
|
@@ -171,7 +172,19 @@ module Aws
|
|
|
171
172
|
}
|
|
172
173
|
],
|
|
173
174
|
?assertion_encryption_mode: ("Required" | "Allowed"),
|
|
174
|
-
?add_private_key: ::String
|
|
175
|
+
?add_private_key: ::String,
|
|
176
|
+
?context_provider: {
|
|
177
|
+
key_definition_list: Array[
|
|
178
|
+
{
|
|
179
|
+
source_key: ::String,
|
|
180
|
+
target_key: ::String?
|
|
181
|
+
}
|
|
182
|
+
]?,
|
|
183
|
+
subject_source_key: ::String,
|
|
184
|
+
subject_type_value: ::String?,
|
|
185
|
+
subject_type_source_key: ::String?
|
|
186
|
+
},
|
|
187
|
+
?identity_center_instance_arn: ::String
|
|
175
188
|
) -> SamlProvider
|
|
176
189
|
| (?Hash[Symbol, untyped]) -> SamlProvider
|
|
177
190
|
|
data/sig/role.rbs
CHANGED
|
@@ -39,6 +39,9 @@ module Aws
|
|
|
39
39
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Role.html#max_session_duration-instance_method
|
|
40
40
|
def max_session_duration: () -> ::Integer
|
|
41
41
|
|
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Role.html#max_signin_session_duration-instance_method
|
|
43
|
+
def max_signin_session_duration: () -> ::Integer
|
|
44
|
+
|
|
42
45
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Role.html#permissions_boundary-instance_method
|
|
43
46
|
def permissions_boundary: () -> Types::AttachedPermissionsBoundary
|
|
44
47
|
|
data/sig/saml_provider.rbs
CHANGED
|
@@ -23,6 +23,12 @@ module Aws
|
|
|
23
23
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#saml_metadata_document-instance_method
|
|
24
24
|
def saml_metadata_document: () -> ::String
|
|
25
25
|
|
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#context_provider-instance_method
|
|
27
|
+
def context_provider: () -> Types::ContextProvider
|
|
28
|
+
|
|
29
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#saml_key_hashes-instance_method
|
|
30
|
+
def saml_key_hashes: () -> ::Array[Types::SAMLKeyHashEntry]
|
|
31
|
+
|
|
26
32
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#create_date-instance_method
|
|
27
33
|
def create_date: () -> ::Time
|
|
28
34
|
|
|
@@ -38,6 +44,12 @@ module Aws
|
|
|
38
44
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#private_key_list-instance_method
|
|
39
45
|
def private_key_list: () -> ::Array[Types::SAMLPrivateKey]
|
|
40
46
|
|
|
47
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#identity_center_instance_arn-instance_method
|
|
48
|
+
def identity_center_instance_arn: () -> ::String
|
|
49
|
+
|
|
50
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#identity_store_arn-instance_method
|
|
51
|
+
def identity_store_arn: () -> ::String
|
|
52
|
+
|
|
41
53
|
def client: () -> Client
|
|
42
54
|
|
|
43
55
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#load-instance_method
|
|
@@ -61,7 +73,21 @@ module Aws
|
|
|
61
73
|
?saml_metadata_document: ::String,
|
|
62
74
|
?assertion_encryption_mode: ("Required" | "Allowed"),
|
|
63
75
|
?add_private_key: ::String,
|
|
64
|
-
?remove_private_key: ::String
|
|
76
|
+
?remove_private_key: ::String,
|
|
77
|
+
?context_provider: {
|
|
78
|
+
key_definition_list: Array[
|
|
79
|
+
{
|
|
80
|
+
source_key: ::String,
|
|
81
|
+
target_key: ::String?
|
|
82
|
+
}
|
|
83
|
+
]?,
|
|
84
|
+
subject_source_key: ::String,
|
|
85
|
+
subject_type_value: ::String?,
|
|
86
|
+
subject_type_source_key: ::String?
|
|
87
|
+
},
|
|
88
|
+
?identity_center_instance_arn: ::String,
|
|
89
|
+
?remove_context_provider: bool,
|
|
90
|
+
?remove_identity_center_instance: bool
|
|
65
91
|
) -> Types::UpdateSAMLProviderResponse
|
|
66
92
|
| (?Hash[Symbol, untyped]) -> Types::UpdateSAMLProviderResponse
|
|
67
93
|
|
data/sig/types.rbs
CHANGED
|
@@ -136,6 +136,20 @@ module Aws::IAM
|
|
|
136
136
|
SENSITIVE: []
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
+
class ContextProvider
|
|
140
|
+
attr_accessor key_definition_list: ::Array[Types::ContextProviderKeyDefinition]
|
|
141
|
+
attr_accessor subject_source_key: ::String
|
|
142
|
+
attr_accessor subject_type_value: ::String
|
|
143
|
+
attr_accessor subject_type_source_key: ::String
|
|
144
|
+
SENSITIVE: []
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
class ContextProviderKeyDefinition
|
|
148
|
+
attr_accessor source_key: ::String
|
|
149
|
+
attr_accessor target_key: ::String
|
|
150
|
+
SENSITIVE: []
|
|
151
|
+
end
|
|
152
|
+
|
|
139
153
|
class CreateAccessKeyRequest
|
|
140
154
|
attr_accessor user_name: ::String
|
|
141
155
|
SENSITIVE: []
|
|
@@ -197,6 +211,7 @@ module Aws::IAM
|
|
|
197
211
|
attr_accessor user_name: ::String
|
|
198
212
|
attr_accessor password: ::String
|
|
199
213
|
attr_accessor password_reset_required: bool
|
|
214
|
+
attr_accessor max_signin_session_duration: ::Integer
|
|
200
215
|
SENSITIVE: [:password]
|
|
201
216
|
end
|
|
202
217
|
|
|
@@ -210,6 +225,8 @@ module Aws::IAM
|
|
|
210
225
|
attr_accessor client_id_list: ::Array[::String]
|
|
211
226
|
attr_accessor thumbprint_list: ::Array[::String]
|
|
212
227
|
attr_accessor tags: ::Array[Types::Tag]
|
|
228
|
+
attr_accessor context_provider: Types::ContextProvider
|
|
229
|
+
attr_accessor identity_center_instance_arn: ::String
|
|
213
230
|
SENSITIVE: []
|
|
214
231
|
end
|
|
215
232
|
|
|
@@ -251,6 +268,7 @@ module Aws::IAM
|
|
|
251
268
|
attr_accessor assume_role_policy_document: ::String
|
|
252
269
|
attr_accessor description: ::String
|
|
253
270
|
attr_accessor max_session_duration: ::Integer
|
|
271
|
+
attr_accessor max_signin_session_duration: ::Integer
|
|
254
272
|
attr_accessor permissions_boundary: ::String
|
|
255
273
|
attr_accessor tags: ::Array[Types::Tag]
|
|
256
274
|
SENSITIVE: []
|
|
@@ -267,6 +285,8 @@ module Aws::IAM
|
|
|
267
285
|
attr_accessor tags: ::Array[Types::Tag]
|
|
268
286
|
attr_accessor assertion_encryption_mode: ("Required" | "Allowed")
|
|
269
287
|
attr_accessor add_private_key: ::String
|
|
288
|
+
attr_accessor context_provider: Types::ContextProvider
|
|
289
|
+
attr_accessor identity_center_instance_arn: ::String
|
|
270
290
|
SENSITIVE: [:add_private_key]
|
|
271
291
|
end
|
|
272
292
|
|
|
@@ -837,6 +857,9 @@ module Aws::IAM
|
|
|
837
857
|
attr_accessor thumbprint_list: ::Array[::String]
|
|
838
858
|
attr_accessor create_date: ::Time
|
|
839
859
|
attr_accessor tags: ::Array[Types::Tag]
|
|
860
|
+
attr_accessor context_provider: Types::ContextProvider
|
|
861
|
+
attr_accessor identity_center_instance_arn: ::String
|
|
862
|
+
attr_accessor identity_store_arn: ::String
|
|
840
863
|
SENSITIVE: []
|
|
841
864
|
end
|
|
842
865
|
|
|
@@ -930,11 +953,15 @@ module Aws::IAM
|
|
|
930
953
|
class GetSAMLProviderResponse
|
|
931
954
|
attr_accessor saml_provider_uuid: ::String
|
|
932
955
|
attr_accessor saml_metadata_document: ::String
|
|
956
|
+
attr_accessor context_provider: Types::ContextProvider
|
|
957
|
+
attr_accessor saml_key_hashes: ::Array[Types::SAMLKeyHashEntry]
|
|
933
958
|
attr_accessor create_date: ::Time
|
|
934
959
|
attr_accessor valid_until: ::Time
|
|
935
960
|
attr_accessor tags: ::Array[Types::Tag]
|
|
936
961
|
attr_accessor assertion_encryption_mode: ("Required" | "Allowed")
|
|
937
962
|
attr_accessor private_key_list: ::Array[Types::SAMLPrivateKey]
|
|
963
|
+
attr_accessor identity_center_instance_arn: ::String
|
|
964
|
+
attr_accessor identity_store_arn: ::String
|
|
938
965
|
SENSITIVE: []
|
|
939
966
|
end
|
|
940
967
|
|
|
@@ -1620,6 +1647,7 @@ module Aws::IAM
|
|
|
1620
1647
|
attr_accessor user_name: ::String
|
|
1621
1648
|
attr_accessor create_date: ::Time
|
|
1622
1649
|
attr_accessor password_reset_required: bool
|
|
1650
|
+
attr_accessor max_signin_session_duration: ::Integer
|
|
1623
1651
|
SENSITIVE: []
|
|
1624
1652
|
end
|
|
1625
1653
|
|
|
@@ -1668,6 +1696,7 @@ module Aws::IAM
|
|
|
1668
1696
|
|
|
1669
1697
|
class OpenIDConnectProviderListEntry
|
|
1670
1698
|
attr_accessor arn: ::String
|
|
1699
|
+
attr_accessor is_trusted_identity_propagation_enabled: bool
|
|
1671
1700
|
SENSITIVE: []
|
|
1672
1701
|
end
|
|
1673
1702
|
|
|
@@ -1937,6 +1966,7 @@ module Aws::IAM
|
|
|
1937
1966
|
attr_accessor assume_role_policy_document: ::String
|
|
1938
1967
|
attr_accessor description: ::String
|
|
1939
1968
|
attr_accessor max_session_duration: ::Integer
|
|
1969
|
+
attr_accessor max_signin_session_duration: ::Integer
|
|
1940
1970
|
attr_accessor permissions_boundary: Types::AttachedPermissionsBoundary
|
|
1941
1971
|
attr_accessor tags: ::Array[Types::Tag]
|
|
1942
1972
|
attr_accessor role_last_used: Types::RoleLastUsed
|
|
@@ -2009,6 +2039,12 @@ module Aws::IAM
|
|
|
2009
2039
|
SENSITIVE: []
|
|
2010
2040
|
end
|
|
2011
2041
|
|
|
2042
|
+
class SAMLKeyHashEntry
|
|
2043
|
+
attr_accessor issuer_url: ::String
|
|
2044
|
+
attr_accessor key_hashes: ::Array[::String]
|
|
2045
|
+
SENSITIVE: []
|
|
2046
|
+
end
|
|
2047
|
+
|
|
2012
2048
|
class SAMLPrivateKey
|
|
2013
2049
|
attr_accessor key_id: ::String
|
|
2014
2050
|
attr_accessor timestamp: ::Time
|
|
@@ -2019,6 +2055,7 @@ module Aws::IAM
|
|
|
2019
2055
|
attr_accessor arn: ::String
|
|
2020
2056
|
attr_accessor valid_until: ::Time
|
|
2021
2057
|
attr_accessor create_date: ::Time
|
|
2058
|
+
attr_accessor is_trusted_identity_propagation_enabled: bool
|
|
2022
2059
|
SENSITIVE: []
|
|
2023
2060
|
end
|
|
2024
2061
|
|
|
@@ -2356,9 +2393,20 @@ module Aws::IAM
|
|
|
2356
2393
|
attr_accessor user_name: ::String
|
|
2357
2394
|
attr_accessor password: ::String
|
|
2358
2395
|
attr_accessor password_reset_required: bool
|
|
2396
|
+
attr_accessor max_signin_session_duration: ::Integer
|
|
2397
|
+
attr_accessor reset_max_signin_session_duration: bool
|
|
2359
2398
|
SENSITIVE: [:password]
|
|
2360
2399
|
end
|
|
2361
2400
|
|
|
2401
|
+
class UpdateOpenIDConnectProviderRequest
|
|
2402
|
+
attr_accessor open_id_connect_provider_arn: ::String
|
|
2403
|
+
attr_accessor context_provider: Types::ContextProvider
|
|
2404
|
+
attr_accessor identity_center_instance_arn: ::String
|
|
2405
|
+
attr_accessor remove_context_provider: bool
|
|
2406
|
+
attr_accessor remove_identity_center_instance: bool
|
|
2407
|
+
SENSITIVE: []
|
|
2408
|
+
end
|
|
2409
|
+
|
|
2362
2410
|
class UpdateOpenIDConnectProviderThumbprintRequest
|
|
2363
2411
|
attr_accessor open_id_connect_provider_arn: ::String
|
|
2364
2412
|
attr_accessor thumbprint_list: ::Array[::String]
|
|
@@ -2380,6 +2428,8 @@ module Aws::IAM
|
|
|
2380
2428
|
attr_accessor role_name: ::String
|
|
2381
2429
|
attr_accessor description: ::String
|
|
2382
2430
|
attr_accessor max_session_duration: ::Integer
|
|
2431
|
+
attr_accessor max_signin_session_duration: ::Integer
|
|
2432
|
+
attr_accessor reset_max_signin_session_duration: bool
|
|
2383
2433
|
SENSITIVE: []
|
|
2384
2434
|
end
|
|
2385
2435
|
|
|
@@ -2392,6 +2442,10 @@ module Aws::IAM
|
|
|
2392
2442
|
attr_accessor assertion_encryption_mode: ("Required" | "Allowed")
|
|
2393
2443
|
attr_accessor add_private_key: ::String
|
|
2394
2444
|
attr_accessor remove_private_key: ::String
|
|
2445
|
+
attr_accessor context_provider: Types::ContextProvider
|
|
2446
|
+
attr_accessor identity_center_instance_arn: ::String
|
|
2447
|
+
attr_accessor remove_context_provider: bool
|
|
2448
|
+
attr_accessor remove_identity_center_instance: bool
|
|
2395
2449
|
SENSITIVE: [:add_private_key]
|
|
2396
2450
|
end
|
|
2397
2451
|
|
data/sig/user.rbs
CHANGED
|
@@ -92,7 +92,8 @@ module Aws
|
|
|
92
92
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#create_login_profile-instance_method
|
|
93
93
|
def create_login_profile: (
|
|
94
94
|
?password: ::String,
|
|
95
|
-
?password_reset_required: bool
|
|
95
|
+
?password_reset_required: bool,
|
|
96
|
+
?max_signin_session_duration: ::Integer
|
|
96
97
|
) -> LoginProfile
|
|
97
98
|
| (?Hash[Symbol, untyped]) -> LoginProfile
|
|
98
99
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-iam
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.168.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.270.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.270.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -101,6 +101,7 @@ files:
|
|
|
101
101
|
- sig/instance_profile.rbs
|
|
102
102
|
- sig/login_profile.rbs
|
|
103
103
|
- sig/mfa_device.rbs
|
|
104
|
+
- sig/params.rbs
|
|
104
105
|
- sig/policy.rbs
|
|
105
106
|
- sig/policy_version.rbs
|
|
106
107
|
- sig/resource.rbs
|