aws-sdk-iam 1.165.0 → 1.167.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43591be6cba93c78bf82687971bce1f8e68704c9dc3435be194cae2e49a70d28
4
- data.tar.gz: e70ac148e0584c6613840cf07be65998b8ce50cf35437e6748551a67b45fa8b2
3
+ metadata.gz: 1caf30f5c22af589d3abf913390e2edd21247842c2f273178239bbfc53617e43
4
+ data.tar.gz: 2b978c7adf20dc109b9f5dd4738d6758766c99aeb530c9903f383220d02915a5
5
5
  SHA512:
6
- metadata.gz: b959227e84ea2f2c4c3217963bdbdd331555715bbb3d7d76499ce2d9fae2876c9568931af9b669e9d4a429bcab274e469d59837c6f41305647b97d7969af527f
7
- data.tar.gz: 990b692e00b74fbac5dd262df422a3ffe3572b577f2b08cd32e676abf62abd64930b5545442fd333b15813e328f929c1b7120ec81baaf2eeacd5c58769dfe927
6
+ metadata.gz: 51f4770c5a919f55c5a99bf7ea01607d370b281c5dbe27eefdce2ade6be91338c25996a4dfc879cebfcee2b63e1500eb1e0160c7573e4fa087d0fed7b7c81eea
7
+ data.tar.gz: 6f2def4db8e9128a3890fb9cfbeeacff95260a84aa9d11adabd088732c2f90473f2501dcb12984222cd3f6ed25cc6be317559cbed3f18f56c98de430dac0b860
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.167.0 (2026-11-18)
5
+ ------------------
6
+
7
+ * Feature - Adds MaxSignInSessionDuration to IAM Roles and Login Profiles, allowing customers to configure the maximum Console sign-in session duration per principal. Affects CreateRole, UpdateRole, GetRole and LoginProfile APIs.
8
+
9
+ 1.166.0 (2026-11-16)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.165.0 (2026-11-13)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.165.0
1
+ 1.167.0
@@ -580,6 +580,7 @@ module Aws::IAM
580
580
  # resp.role.assume_role_policy_document #=> String
581
581
  # resp.role.description #=> String
582
582
  # resp.role.max_session_duration #=> Integer
583
+ # resp.role.max_signin_session_duration #=> Integer
583
584
  # resp.role.permissions_boundary.permissions_boundary_type #=> String, one of "PermissionsBoundaryPolicy"
584
585
  # resp.role.permissions_boundary.permissions_boundary_arn #=> String
585
586
  # resp.role.tags #=> Array
@@ -1572,6 +1573,7 @@ module Aws::IAM
1572
1573
  # resp.instance_profile.roles[0].assume_role_policy_document #=> String
1573
1574
  # resp.instance_profile.roles[0].description #=> String
1574
1575
  # resp.instance_profile.roles[0].max_session_duration #=> Integer
1576
+ # resp.instance_profile.roles[0].max_signin_session_duration #=> Integer
1575
1577
  # resp.instance_profile.roles[0].permissions_boundary.permissions_boundary_type #=> String, one of "PermissionsBoundaryPolicy"
1576
1578
  # resp.instance_profile.roles[0].permissions_boundary.permissions_boundary_arn #=> String
1577
1579
  # resp.instance_profile.roles[0].tags #=> Array
@@ -1656,6 +1658,17 @@ module Aws::IAM
1656
1658
  # Specifies whether the user is required to set a new password on next
1657
1659
  # sign-in.
1658
1660
  #
1661
+ # @option params [Integer] :max_signin_session_duration
1662
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
1663
+ # session for this IAM user. This setting can have a value from 1 hour
1664
+ # (3600 seconds) to 90 days (7776000 seconds), inclusive. If you do not
1665
+ # specify a value, the setting remains unset and the existing sign-in
1666
+ # session behavior applies.
1667
+ #
1668
+ # <note markdown="1"> This setting is not supported for the root user.
1669
+ #
1670
+ # </note>
1671
+ #
1659
1672
  # @return [Types::CreateLoginProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1660
1673
  #
1661
1674
  # * {Types::CreateLoginProfileResponse#login_profile #login_profile} => Types::LoginProfile
@@ -1687,6 +1700,7 @@ module Aws::IAM
1687
1700
  # user_name: "userNameType",
1688
1701
  # password: "passwordType",
1689
1702
  # password_reset_required: false,
1703
+ # max_signin_session_duration: 1,
1690
1704
  # })
1691
1705
  #
1692
1706
  # @example Response structure
@@ -1694,6 +1708,7 @@ module Aws::IAM
1694
1708
  # resp.login_profile.user_name #=> String
1695
1709
  # resp.login_profile.create_date #=> Time
1696
1710
  # resp.login_profile.password_reset_required #=> Boolean
1711
+ # resp.login_profile.max_signin_session_duration #=> Integer
1697
1712
  #
1698
1713
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfile AWS API Documentation
1699
1714
  #
@@ -2250,6 +2265,15 @@ module Aws::IAM
2250
2265
  #
2251
2266
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
2252
2267
  #
2268
+ # @option params [Integer] :max_signin_session_duration
2269
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
2270
+ # session for users who sign in with this role. This setting can have a
2271
+ # value from 1 hour (3600 seconds) to 90 days (7776000 seconds),
2272
+ # inclusive. If you do not specify a value, the setting remains unset
2273
+ # and the existing sign-in session behavior applies.
2274
+ #
2275
+ # This setting is independent of `MaxSessionDuration`.
2276
+ #
2253
2277
  # @option params [String] :permissions_boundary
2254
2278
  # The ARN of the managed policy that is used to set the permissions
2255
2279
  # boundary for the role.
@@ -2320,6 +2344,7 @@ module Aws::IAM
2320
2344
  # assume_role_policy_document: "policyDocumentType", # required
2321
2345
  # description: "roleDescriptionType",
2322
2346
  # max_session_duration: 1,
2347
+ # max_signin_session_duration: 1,
2323
2348
  # permissions_boundary: "arnType",
2324
2349
  # tags: [
2325
2350
  # {
@@ -2339,6 +2364,7 @@ module Aws::IAM
2339
2364
  # resp.role.assume_role_policy_document #=> String
2340
2365
  # resp.role.description #=> String
2341
2366
  # resp.role.max_session_duration #=> Integer
2367
+ # resp.role.max_signin_session_duration #=> Integer
2342
2368
  # resp.role.permissions_boundary.permissions_boundary_type #=> String, one of "PermissionsBoundaryPolicy"
2343
2369
  # resp.role.permissions_boundary.permissions_boundary_arn #=> String
2344
2370
  # resp.role.tags #=> Array
@@ -2546,6 +2572,7 @@ module Aws::IAM
2546
2572
  # resp.role.assume_role_policy_document #=> String
2547
2573
  # resp.role.description #=> String
2548
2574
  # resp.role.max_session_duration #=> Integer
2575
+ # resp.role.max_signin_session_duration #=> Integer
2549
2576
  # resp.role.permissions_boundary.permissions_boundary_type #=> String, one of "PermissionsBoundaryPolicy"
2550
2577
  # resp.role.permissions_boundary.permissions_boundary_arn #=> String
2551
2578
  # resp.role.tags #=> Array
@@ -5148,6 +5175,7 @@ module Aws::IAM
5148
5175
  # resp.role_detail_list[0].instance_profile_list[0].roles[0].assume_role_policy_document #=> String
5149
5176
  # resp.role_detail_list[0].instance_profile_list[0].roles[0].description #=> String
5150
5177
  # resp.role_detail_list[0].instance_profile_list[0].roles[0].max_session_duration #=> Integer
5178
+ # resp.role_detail_list[0].instance_profile_list[0].roles[0].max_signin_session_duration #=> Integer
5151
5179
  # resp.role_detail_list[0].instance_profile_list[0].roles[0].permissions_boundary.permissions_boundary_type #=> String, one of "PermissionsBoundaryPolicy"
5152
5180
  # resp.role_detail_list[0].instance_profile_list[0].roles[0].permissions_boundary.permissions_boundary_arn #=> String
5153
5181
  # resp.role_detail_list[0].instance_profile_list[0].roles[0].tags #=> Array
@@ -5928,6 +5956,7 @@ module Aws::IAM
5928
5956
  # resp.instance_profile.roles[0].assume_role_policy_document #=> String
5929
5957
  # resp.instance_profile.roles[0].description #=> String
5930
5958
  # resp.instance_profile.roles[0].max_session_duration #=> Integer
5959
+ # resp.instance_profile.roles[0].max_signin_session_duration #=> Integer
5931
5960
  # resp.instance_profile.roles[0].permissions_boundary.permissions_boundary_type #=> String, one of "PermissionsBoundaryPolicy"
5932
5961
  # resp.instance_profile.roles[0].permissions_boundary.permissions_boundary_arn #=> String
5933
5962
  # resp.instance_profile.roles[0].tags #=> Array
@@ -6021,6 +6050,7 @@ module Aws::IAM
6021
6050
  # resp.login_profile.user_name #=> String
6022
6051
  # resp.login_profile.create_date #=> Time
6023
6052
  # resp.login_profile.password_reset_required #=> Boolean
6053
+ # resp.login_profile.max_signin_session_duration #=> Integer
6024
6054
  #
6025
6055
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfile AWS API Documentation
6026
6056
  #
@@ -6542,6 +6572,7 @@ module Aws::IAM
6542
6572
  # resp.role.assume_role_policy_document #=> String
6543
6573
  # resp.role.description #=> String
6544
6574
  # resp.role.max_session_duration #=> Integer
6575
+ # resp.role.max_signin_session_duration #=> Integer
6545
6576
  # resp.role.permissions_boundary.permissions_boundary_type #=> String, one of "PermissionsBoundaryPolicy"
6546
6577
  # resp.role.permissions_boundary.permissions_boundary_arn #=> String
6547
6578
  # resp.role.tags #=> Array
@@ -8601,6 +8632,7 @@ module Aws::IAM
8601
8632
  # resp.instance_profiles[0].roles[0].assume_role_policy_document #=> String
8602
8633
  # resp.instance_profiles[0].roles[0].description #=> String
8603
8634
  # resp.instance_profiles[0].roles[0].max_session_duration #=> Integer
8635
+ # resp.instance_profiles[0].roles[0].max_signin_session_duration #=> Integer
8604
8636
  # resp.instance_profiles[0].roles[0].permissions_boundary.permissions_boundary_type #=> String, one of "PermissionsBoundaryPolicy"
8605
8637
  # resp.instance_profiles[0].roles[0].permissions_boundary.permissions_boundary_arn #=> String
8606
8638
  # resp.instance_profiles[0].roles[0].tags #=> Array
@@ -8699,6 +8731,7 @@ module Aws::IAM
8699
8731
  # resp.instance_profiles[0].roles[0].assume_role_policy_document #=> String
8700
8732
  # resp.instance_profiles[0].roles[0].description #=> String
8701
8733
  # resp.instance_profiles[0].roles[0].max_session_duration #=> Integer
8734
+ # resp.instance_profiles[0].roles[0].max_signin_session_duration #=> Integer
8702
8735
  # resp.instance_profiles[0].roles[0].permissions_boundary.permissions_boundary_type #=> String, one of "PermissionsBoundaryPolicy"
8703
8736
  # resp.instance_profiles[0].roles[0].permissions_boundary.permissions_boundary_arn #=> String
8704
8737
  # resp.instance_profiles[0].roles[0].tags #=> Array
@@ -9716,6 +9749,7 @@ module Aws::IAM
9716
9749
  # resp.roles[0].assume_role_policy_document #=> String
9717
9750
  # resp.roles[0].description #=> String
9718
9751
  # resp.roles[0].max_session_duration #=> Integer
9752
+ # resp.roles[0].max_signin_session_duration #=> Integer
9719
9753
  # resp.roles[0].permissions_boundary.permissions_boundary_type #=> String, one of "PermissionsBoundaryPolicy"
9720
9754
  # resp.roles[0].permissions_boundary.permissions_boundary_arn #=> String
9721
9755
  # resp.roles[0].tags #=> Array
@@ -13961,11 +13995,12 @@ module Aws::IAM
13961
13995
  req.send_request(options)
13962
13996
  end
13963
13997
 
13964
- # Changes the password for the specified IAM user. You can use the CLI,
13965
- # the Amazon Web Services API, or the **Users** page in the IAM console
13966
- # to change the password for any IAM user. Use [ChangePassword][1] to
13967
- # change your own password in the **My Security Credentials** page in
13968
- # the Amazon Web Services Management Console.
13998
+ # Changes the password or the maximum sign-in session duration for the
13999
+ # specified IAM user. You can use the CLI, the Amazon Web Services API,
14000
+ # or the **Users** page in the IAM console to change the password for
14001
+ # any IAM user. Use [ChangePassword][1] to change your own password in
14002
+ # the **My Security Credentials** page in the Amazon Web Services
14003
+ # Management Console.
13969
14004
  #
13970
14005
  # For more information about modifying passwords, see [Managing
13971
14006
  # passwords][2] in the *IAM User Guide*.
@@ -14015,6 +14050,37 @@ module Aws::IAM
14015
14050
  # Allows this new password to be used only once by requiring the
14016
14051
  # specified IAM user to set a new password on next sign-in.
14017
14052
  #
14053
+ # @option params [Integer] :max_signin_session_duration
14054
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
14055
+ # session for the specified IAM user. This setting can have a value from
14056
+ # 1 hour (3600 seconds) to 90 days (7776000 seconds), inclusive, and
14057
+ # replaces any value currently configured for the user.
14058
+ #
14059
+ # If you omit both this parameter and `ResetMaxSigninSessionDuration`,
14060
+ # the current setting is unchanged. You cannot specify this parameter
14061
+ # and set `ResetMaxSigninSessionDuration` to `true` in the same request.
14062
+ # If you update only the sign-in session duration, the user's password
14063
+ # and `PasswordResetRequired` setting do not change.
14064
+ #
14065
+ # Changes to this setting apply to new sign-in sessions. Sessions that
14066
+ # are already established are not affected.
14067
+ #
14068
+ # <note markdown="1"> This setting is not supported for the root user.
14069
+ #
14070
+ # </note>
14071
+ #
14072
+ # @option params [Boolean] :reset_max_signin_session_duration
14073
+ # Specifies whether to clear the maximum sign-in session duration for
14074
+ # the specified IAM user. Set this value to `true` to return the setting
14075
+ # to its unset state, so that the existing sign-in session behavior
14076
+ # applies. When the setting is unset, the user's
14077
+ # `MaxSigninSessionDuration` is omitted from responses.
14078
+ #
14079
+ # If you set this value to `false` or omit it, the current setting is
14080
+ # not cleared. You cannot set this value to `true` and specify
14081
+ # `MaxSigninSessionDuration` in the same request. Clearing a setting
14082
+ # that is already unset has no effect.
14083
+ #
14018
14084
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
14019
14085
  #
14020
14086
  #
@@ -14033,6 +14099,8 @@ module Aws::IAM
14033
14099
  # user_name: "userNameType", # required
14034
14100
  # password: "passwordType",
14035
14101
  # password_reset_required: false,
14102
+ # max_signin_session_duration: 1,
14103
+ # reset_max_signin_session_duration: false,
14036
14104
  # })
14037
14105
  #
14038
14106
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfile AWS API Documentation
@@ -14114,7 +14182,9 @@ module Aws::IAM
14114
14182
  req.send_request(options)
14115
14183
  end
14116
14184
 
14117
- # Updates the description or maximum session duration setting of a role.
14185
+ # Updates the description, maximum session duration, or maximum sign-in
14186
+ # session duration of a role. You cannot change the maximum sign-in
14187
+ # session duration of a service-linked role.
14118
14188
  #
14119
14189
  # @option params [required, String] :role_name
14120
14190
  # The name of the role that you want to modify.
@@ -14148,6 +14218,40 @@ module Aws::IAM
14148
14218
  #
14149
14219
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
14150
14220
  #
14221
+ # @option params [Integer] :max_signin_session_duration
14222
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
14223
+ # session for users who sign in with the specified role. This setting
14224
+ # can have a value from 1 hour (3600 seconds) to 90 days (7776000
14225
+ # seconds), inclusive, and replaces any value currently configured for
14226
+ # the role. This setting is independent of `MaxSessionDuration`.
14227
+ #
14228
+ # If you omit both this parameter and `ResetMaxSigninSessionDuration`,
14229
+ # the current setting is unchanged. You cannot specify this parameter
14230
+ # and set `ResetMaxSigninSessionDuration` to `true` in the same request.
14231
+ #
14232
+ # Changes to this setting apply to new sign-in sessions. Sessions that
14233
+ # are already established are not affected.
14234
+ #
14235
+ # <note markdown="1"> You cannot set this value on a service-linked role.
14236
+ #
14237
+ # </note>
14238
+ #
14239
+ # @option params [Boolean] :reset_max_signin_session_duration
14240
+ # Specifies whether to clear the role's maximum sign-in session
14241
+ # duration. Set this value to `true` to return the setting to its unset
14242
+ # state, so that the existing sign-in session behavior applies. When the
14243
+ # setting is unset, the role's `MaxSigninSessionDuration` is omitted
14244
+ # from responses.
14245
+ #
14246
+ # If you set this value to `false` or omit it, the current setting is
14247
+ # not cleared. You cannot set this value to `true` and specify
14248
+ # `MaxSigninSessionDuration` in the same request. Clearing a setting
14249
+ # that is already unset has no effect.
14250
+ #
14251
+ # <note markdown="1"> You cannot reset this value on a service-linked role.
14252
+ #
14253
+ # </note>
14254
+ #
14151
14255
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
14152
14256
  #
14153
14257
  # @example Request syntax with placeholder values
@@ -14156,6 +14260,8 @@ module Aws::IAM
14156
14260
  # role_name: "roleNameType", # required
14157
14261
  # description: "roleDescriptionType",
14158
14262
  # max_session_duration: 1,
14263
+ # max_signin_session_duration: 1,
14264
+ # reset_max_signin_session_duration: false,
14159
14265
  # })
14160
14266
  #
14161
14267
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRole AWS API Documentation
@@ -14204,6 +14310,7 @@ module Aws::IAM
14204
14310
  # resp.role.assume_role_policy_document #=> String
14205
14311
  # resp.role.description #=> String
14206
14312
  # resp.role.max_session_duration #=> Integer
14313
+ # resp.role.max_signin_session_duration #=> Integer
14207
14314
  # resp.role.permissions_boundary.permissions_boundary_type #=> String, one of "PermissionsBoundaryPolicy"
14208
14315
  # resp.role.permissions_boundary.permissions_boundary_arn #=> String
14209
14316
  # resp.role.tags #=> Array
@@ -15065,7 +15172,7 @@ module Aws::IAM
15065
15172
  tracer: tracer
15066
15173
  )
15067
15174
  context[:gem_name] = 'aws-sdk-iam'
15068
- context[:gem_version] = '1.165.0'
15175
+ context[:gem_version] = '1.167.0'
15069
15176
  Seahorse::Client::Request.new(handlers, context)
15070
15177
  end
15071
15178
 
@@ -527,6 +527,7 @@ module Aws::IAM
527
527
  markerType = Shapes::StringShape.new(name: 'markerType')
528
528
  maxItemsType = Shapes::IntegerShape.new(name: 'maxItemsType')
529
529
  maxPasswordAgeType = Shapes::IntegerShape.new(name: 'maxPasswordAgeType')
530
+ maxSigninSessionDurationType = Shapes::IntegerShape.new(name: 'maxSigninSessionDurationType')
530
531
  mfaDeviceListType = Shapes::ListShape.new(name: 'mfaDeviceListType')
531
532
  minimumPasswordLengthType = Shapes::IntegerShape.new(name: 'minimumPasswordLengthType')
532
533
  minorVersionType = Shapes::IntegerShape.new(name: 'minorVersionType')
@@ -783,6 +784,7 @@ module Aws::IAM
783
784
  CreateLoginProfileRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, location_name: "UserName"))
784
785
  CreateLoginProfileRequest.add_member(:password, Shapes::ShapeRef.new(shape: passwordType, location_name: "Password"))
785
786
  CreateLoginProfileRequest.add_member(:password_reset_required, Shapes::ShapeRef.new(shape: booleanType, location_name: "PasswordResetRequired"))
787
+ CreateLoginProfileRequest.add_member(:max_signin_session_duration, Shapes::ShapeRef.new(shape: maxSigninSessionDurationType, location_name: "MaxSigninSessionDuration"))
786
788
  CreateLoginProfileRequest.struct_class = Types::CreateLoginProfileRequest
787
789
 
788
790
  CreateLoginProfileResponse.add_member(:login_profile, Shapes::ShapeRef.new(shape: LoginProfile, required: true, location_name: "LoginProfile"))
@@ -821,6 +823,7 @@ module Aws::IAM
821
823
  CreateRoleRequest.add_member(:assume_role_policy_document, Shapes::ShapeRef.new(shape: policyDocumentType, required: true, location_name: "AssumeRolePolicyDocument"))
822
824
  CreateRoleRequest.add_member(:description, Shapes::ShapeRef.new(shape: roleDescriptionType, location_name: "Description"))
823
825
  CreateRoleRequest.add_member(:max_session_duration, Shapes::ShapeRef.new(shape: roleMaxSessionDurationType, location_name: "MaxSessionDuration"))
826
+ CreateRoleRequest.add_member(:max_signin_session_duration, Shapes::ShapeRef.new(shape: maxSigninSessionDurationType, location_name: "MaxSigninSessionDuration"))
824
827
  CreateRoleRequest.add_member(:permissions_boundary, Shapes::ShapeRef.new(shape: arnType, location_name: "PermissionsBoundary"))
825
828
  CreateRoleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
826
829
  CreateRoleRequest.struct_class = Types::CreateRoleRequest
@@ -1779,6 +1782,7 @@ module Aws::IAM
1779
1782
  LoginProfile.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, required: true, location_name: "UserName"))
1780
1783
  LoginProfile.add_member(:create_date, Shapes::ShapeRef.new(shape: dateType, required: true, location_name: "CreateDate"))
1781
1784
  LoginProfile.add_member(:password_reset_required, Shapes::ShapeRef.new(shape: booleanType, location_name: "PasswordResetRequired"))
1785
+ LoginProfile.add_member(:max_signin_session_duration, Shapes::ShapeRef.new(shape: maxSigninSessionDurationType, location_name: "MaxSigninSessionDuration"))
1782
1786
  LoginProfile.struct_class = Types::LoginProfile
1783
1787
 
1784
1788
  MFADevice.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, required: true, location_name: "UserName"))
@@ -2020,6 +2024,7 @@ module Aws::IAM
2020
2024
  Role.add_member(:assume_role_policy_document, Shapes::ShapeRef.new(shape: policyDocumentType, location_name: "AssumeRolePolicyDocument"))
2021
2025
  Role.add_member(:description, Shapes::ShapeRef.new(shape: roleDescriptionType, location_name: "Description"))
2022
2026
  Role.add_member(:max_session_duration, Shapes::ShapeRef.new(shape: roleMaxSessionDurationType, location_name: "MaxSessionDuration"))
2027
+ Role.add_member(:max_signin_session_duration, Shapes::ShapeRef.new(shape: maxSigninSessionDurationType, location_name: "MaxSigninSessionDuration"))
2023
2028
  Role.add_member(:permissions_boundary, Shapes::ShapeRef.new(shape: AttachedPermissionsBoundary, location_name: "PermissionsBoundary"))
2024
2029
  Role.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
2025
2030
  Role.add_member(:role_last_used, Shapes::ShapeRef.new(shape: RoleLastUsed, location_name: "RoleLastUsed"))
@@ -2348,6 +2353,8 @@ module Aws::IAM
2348
2353
  UpdateLoginProfileRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, required: true, location_name: "UserName"))
2349
2354
  UpdateLoginProfileRequest.add_member(:password, Shapes::ShapeRef.new(shape: passwordType, location_name: "Password"))
2350
2355
  UpdateLoginProfileRequest.add_member(:password_reset_required, Shapes::ShapeRef.new(shape: booleanObjectType, location_name: "PasswordResetRequired"))
2356
+ UpdateLoginProfileRequest.add_member(:max_signin_session_duration, Shapes::ShapeRef.new(shape: maxSigninSessionDurationType, location_name: "MaxSigninSessionDuration"))
2357
+ UpdateLoginProfileRequest.add_member(:reset_max_signin_session_duration, Shapes::ShapeRef.new(shape: booleanObjectType, location_name: "ResetMaxSigninSessionDuration"))
2351
2358
  UpdateLoginProfileRequest.struct_class = Types::UpdateLoginProfileRequest
2352
2359
 
2353
2360
  UpdateOpenIDConnectProviderThumbprintRequest.add_member(:open_id_connect_provider_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "OpenIDConnectProviderArn"))
@@ -2364,6 +2371,8 @@ module Aws::IAM
2364
2371
  UpdateRoleRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: roleNameType, required: true, location_name: "RoleName"))
2365
2372
  UpdateRoleRequest.add_member(:description, Shapes::ShapeRef.new(shape: roleDescriptionType, location_name: "Description"))
2366
2373
  UpdateRoleRequest.add_member(:max_session_duration, Shapes::ShapeRef.new(shape: roleMaxSessionDurationType, location_name: "MaxSessionDuration"))
2374
+ UpdateRoleRequest.add_member(:max_signin_session_duration, Shapes::ShapeRef.new(shape: maxSigninSessionDurationType, location_name: "MaxSigninSessionDuration"))
2375
+ UpdateRoleRequest.add_member(:reset_max_signin_session_duration, Shapes::ShapeRef.new(shape: booleanObjectType, location_name: "ResetMaxSigninSessionDuration"))
2367
2376
  UpdateRoleRequest.struct_class = Types::UpdateRoleRequest
2368
2377
 
2369
2378
  UpdateRoleResponse.struct_class = Types::UpdateRoleResponse
@@ -4693,6 +4702,7 @@ module Aws::IAM
4693
4702
  o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
4694
4703
  o.errors << Shapes::ShapeRef.new(shape: PasswordPolicyViolationException)
4695
4704
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
4705
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4696
4706
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
4697
4707
  end)
4698
4708
 
@@ -4716,6 +4726,7 @@ module Aws::IAM
4716
4726
  o.output = Shapes::ShapeRef.new(shape: UpdateRoleResponse)
4717
4727
  o.errors << Shapes::ShapeRef.new(shape: UnmodifiableEntityException)
4718
4728
  o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
4729
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4719
4730
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
4720
4731
  end)
4721
4732
 
@@ -47,6 +47,17 @@ module Aws::IAM
47
47
  data[:password_reset_required]
48
48
  end
49
49
 
50
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
51
+ # session for the user.
52
+ #
53
+ # This member is omitted when the setting is unset. In that case, no
54
+ # default value is returned and the existing sign-in session behavior
55
+ # applies.
56
+ # @return [Integer]
57
+ def max_signin_session_duration
58
+ data[:max_signin_session_duration]
59
+ end
60
+
50
61
  # @!endgroup
51
62
 
52
63
  # @return [Client]
@@ -190,6 +201,7 @@ module Aws::IAM
190
201
  # loginprofile = login_profile.create({
191
202
  # password: "passwordType",
192
203
  # password_reset_required: false,
204
+ # max_signin_session_duration: 1,
193
205
  # })
194
206
  # @param [Hash] options ({})
195
207
  # @option options [String] :password
@@ -215,6 +227,16 @@ module Aws::IAM
215
227
  # @option options [Boolean] :password_reset_required
216
228
  # Specifies whether the user is required to set a new password on next
217
229
  # sign-in.
230
+ # @option options [Integer] :max_signin_session_duration
231
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
232
+ # session for this IAM user. This setting can have a value from 1 hour
233
+ # (3600 seconds) to 90 days (7776000 seconds), inclusive. If you do not
234
+ # specify a value, the setting remains unset and the existing sign-in
235
+ # session behavior applies.
236
+ #
237
+ # <note markdown="1"> This setting is not supported for the root user.
238
+ #
239
+ # </note>
218
240
  # @return [LoginProfile]
219
241
  def create(options = {})
220
242
  options = options.merge(user_name: @user_name)
@@ -246,6 +268,8 @@ module Aws::IAM
246
268
  # login_profile.update({
247
269
  # password: "passwordType",
248
270
  # password_reset_required: false,
271
+ # max_signin_session_duration: 1,
272
+ # reset_max_signin_session_duration: false,
249
273
  # })
250
274
  # @param [Hash] options ({})
251
275
  # @option options [String] :password
@@ -274,6 +298,35 @@ module Aws::IAM
274
298
  # @option options [Boolean] :password_reset_required
275
299
  # Allows this new password to be used only once by requiring the
276
300
  # specified IAM user to set a new password on next sign-in.
301
+ # @option options [Integer] :max_signin_session_duration
302
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
303
+ # session for the specified IAM user. This setting can have a value from
304
+ # 1 hour (3600 seconds) to 90 days (7776000 seconds), inclusive, and
305
+ # replaces any value currently configured for the user.
306
+ #
307
+ # If you omit both this parameter and `ResetMaxSigninSessionDuration`,
308
+ # the current setting is unchanged. You cannot specify this parameter
309
+ # and set `ResetMaxSigninSessionDuration` to `true` in the same request.
310
+ # If you update only the sign-in session duration, the user's password
311
+ # and `PasswordResetRequired` setting do not change.
312
+ #
313
+ # Changes to this setting apply to new sign-in sessions. Sessions that
314
+ # are already established are not affected.
315
+ #
316
+ # <note markdown="1"> This setting is not supported for the root user.
317
+ #
318
+ # </note>
319
+ # @option options [Boolean] :reset_max_signin_session_duration
320
+ # Specifies whether to clear the maximum sign-in session duration for
321
+ # the specified IAM user. Set this value to `true` to return the setting
322
+ # to its unset state, so that the existing sign-in session behavior
323
+ # applies. When the setting is unset, the user's
324
+ # `MaxSigninSessionDuration` is omitted from responses.
325
+ #
326
+ # If you set this value to `false` or omit it, the current setting is
327
+ # not cleared. You cannot set this value to `true` and specify
328
+ # `MaxSigninSessionDuration` in the same request. Clearing a setting
329
+ # that is already unset has no effect.
277
330
  # @return [EmptyStructure]
278
331
  def update(options = {})
279
332
  options = options.merge(user_name: @user_name)
@@ -434,6 +434,7 @@ module Aws::IAM
434
434
  # assume_role_policy_document: "policyDocumentType", # required
435
435
  # description: "roleDescriptionType",
436
436
  # max_session_duration: 1,
437
+ # max_signin_session_duration: 1,
437
438
  # permissions_boundary: "arnType",
438
439
  # tags: [
439
440
  # {
@@ -525,6 +526,14 @@ module Aws::IAM
525
526
  #
526
527
  #
527
528
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
529
+ # @option options [Integer] :max_signin_session_duration
530
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
531
+ # session for users who sign in with this role. This setting can have a
532
+ # value from 1 hour (3600 seconds) to 90 days (7776000 seconds),
533
+ # inclusive. If you do not specify a value, the setting remains unset
534
+ # and the existing sign-in session behavior applies.
535
+ #
536
+ # This setting is independent of `MaxSessionDuration`.
528
537
  # @option options [String] :permissions_boundary
529
538
  # The ARN of the managed policy that is used to set the permissions
530
539
  # boundary for the role.
@@ -102,6 +102,18 @@ module Aws::IAM
102
102
  data[:max_session_duration]
103
103
  end
104
104
 
105
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
106
+ # session for users who sign in with this role. This value is
107
+ # independent of `MaxSessionDuration`.
108
+ #
109
+ # This member is omitted when the setting is unset. In that case, no
110
+ # default value is returned and the existing sign-in session behavior
111
+ # applies.
112
+ # @return [Integer]
113
+ def max_signin_session_duration
114
+ data[:max_signin_session_duration]
115
+ end
116
+
105
117
  # The ARN of the policy used to set the permissions boundary for the
106
118
  # role.
107
119
  #
@@ -1087,12 +1087,25 @@ module Aws::IAM
1087
1087
  # sign-in.
1088
1088
  # @return [Boolean]
1089
1089
  #
1090
+ # @!attribute [rw] max_signin_session_duration
1091
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
1092
+ # session for this IAM user. This setting can have a value from 1 hour
1093
+ # (3600 seconds) to 90 days (7776000 seconds), inclusive. If you do
1094
+ # not specify a value, the setting remains unset and the existing
1095
+ # sign-in session behavior applies.
1096
+ #
1097
+ # <note markdown="1"> This setting is not supported for the root user.
1098
+ #
1099
+ # </note>
1100
+ # @return [Integer]
1101
+ #
1090
1102
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfileRequest AWS API Documentation
1091
1103
  #
1092
1104
  class CreateLoginProfileRequest < Struct.new(
1093
1105
  :user_name,
1094
1106
  :password,
1095
- :password_reset_required)
1107
+ :password_reset_required,
1108
+ :max_signin_session_duration)
1096
1109
  SENSITIVE = [:password]
1097
1110
  include Aws::Structure
1098
1111
  end
@@ -1559,6 +1572,16 @@ module Aws::IAM
1559
1572
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
1560
1573
  # @return [Integer]
1561
1574
  #
1575
+ # @!attribute [rw] max_signin_session_duration
1576
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
1577
+ # session for users who sign in with this role. This setting can have
1578
+ # a value from 1 hour (3600 seconds) to 90 days (7776000 seconds),
1579
+ # inclusive. If you do not specify a value, the setting remains unset
1580
+ # and the existing sign-in session behavior applies.
1581
+ #
1582
+ # This setting is independent of `MaxSessionDuration`.
1583
+ # @return [Integer]
1584
+ #
1562
1585
  # @!attribute [rw] permissions_boundary
1563
1586
  # The ARN of the managed policy that is used to set the permissions
1564
1587
  # boundary for the role.
@@ -1604,6 +1627,7 @@ module Aws::IAM
1604
1627
  :assume_role_policy_document,
1605
1628
  :description,
1606
1629
  :max_session_duration,
1630
+ :max_signin_session_duration,
1607
1631
  :permissions_boundary,
1608
1632
  :tags)
1609
1633
  SENSITIVE = []
@@ -8770,12 +8794,22 @@ module Aws::IAM
8770
8794
  # sign-in.
8771
8795
  # @return [Boolean]
8772
8796
  #
8797
+ # @!attribute [rw] max_signin_session_duration
8798
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
8799
+ # session for the user.
8800
+ #
8801
+ # This member is omitted when the setting is unset. In that case, no
8802
+ # default value is returned and the existing sign-in session behavior
8803
+ # applies.
8804
+ # @return [Integer]
8805
+ #
8773
8806
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/LoginProfile AWS API Documentation
8774
8807
  #
8775
8808
  class LoginProfile < Struct.new(
8776
8809
  :user_name,
8777
8810
  :create_date,
8778
- :password_reset_required)
8811
+ :password_reset_required,
8812
+ :max_signin_session_duration)
8779
8813
  SENSITIVE = []
8780
8814
  include Aws::Structure
8781
8815
  end
@@ -10500,6 +10534,16 @@ module Aws::IAM
10500
10534
  # `duration-seconds` CLI parameter.
10501
10535
  # @return [Integer]
10502
10536
  #
10537
+ # @!attribute [rw] max_signin_session_duration
10538
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
10539
+ # session for users who sign in with this role. This value is
10540
+ # independent of `MaxSessionDuration`.
10541
+ #
10542
+ # This member is omitted when the setting is unset. In that case, no
10543
+ # default value is returned and the existing sign-in session behavior
10544
+ # applies.
10545
+ # @return [Integer]
10546
+ #
10503
10547
  # @!attribute [rw] permissions_boundary
10504
10548
  # The ARN of the policy used to set the permissions boundary for the
10505
10549
  # role.
@@ -10557,6 +10601,7 @@ module Aws::IAM
10557
10601
  :assume_role_policy_document,
10558
10602
  :description,
10559
10603
  :max_session_duration,
10604
+ :max_signin_session_duration,
10560
10605
  :permissions_boundary,
10561
10606
  :tags,
10562
10607
  :role_last_used,
@@ -13224,12 +13269,47 @@ module Aws::IAM
13224
13269
  # specified IAM user to set a new password on next sign-in.
13225
13270
  # @return [Boolean]
13226
13271
  #
13272
+ # @!attribute [rw] max_signin_session_duration
13273
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
13274
+ # session for the specified IAM user. This setting can have a value
13275
+ # from 1 hour (3600 seconds) to 90 days (7776000 seconds), inclusive,
13276
+ # and replaces any value currently configured for the user.
13277
+ #
13278
+ # If you omit both this parameter and `ResetMaxSigninSessionDuration`,
13279
+ # the current setting is unchanged. You cannot specify this parameter
13280
+ # and set `ResetMaxSigninSessionDuration` to `true` in the same
13281
+ # request. If you update only the sign-in session duration, the
13282
+ # user's password and `PasswordResetRequired` setting do not change.
13283
+ #
13284
+ # Changes to this setting apply to new sign-in sessions. Sessions that
13285
+ # are already established are not affected.
13286
+ #
13287
+ # <note markdown="1"> This setting is not supported for the root user.
13288
+ #
13289
+ # </note>
13290
+ # @return [Integer]
13291
+ #
13292
+ # @!attribute [rw] reset_max_signin_session_duration
13293
+ # Specifies whether to clear the maximum sign-in session duration for
13294
+ # the specified IAM user. Set this value to `true` to return the
13295
+ # setting to its unset state, so that the existing sign-in session
13296
+ # behavior applies. When the setting is unset, the user's
13297
+ # `MaxSigninSessionDuration` is omitted from responses.
13298
+ #
13299
+ # If you set this value to `false` or omit it, the current setting is
13300
+ # not cleared. You cannot set this value to `true` and specify
13301
+ # `MaxSigninSessionDuration` in the same request. Clearing a setting
13302
+ # that is already unset has no effect.
13303
+ # @return [Boolean]
13304
+ #
13227
13305
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfileRequest AWS API Documentation
13228
13306
  #
13229
13307
  class UpdateLoginProfileRequest < Struct.new(
13230
13308
  :user_name,
13231
13309
  :password,
13232
- :password_reset_required)
13310
+ :password_reset_required,
13311
+ :max_signin_session_duration,
13312
+ :reset_max_signin_session_duration)
13233
13313
  SENSITIVE = [:password]
13234
13314
  include Aws::Structure
13235
13315
  end
@@ -13333,12 +13413,51 @@ module Aws::IAM
13333
13413
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
13334
13414
  # @return [Integer]
13335
13415
  #
13416
+ # @!attribute [rw] max_signin_session_duration
13417
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
13418
+ # session for users who sign in with the specified role. This setting
13419
+ # can have a value from 1 hour (3600 seconds) to 90 days (7776000
13420
+ # seconds), inclusive, and replaces any value currently configured for
13421
+ # the role. This setting is independent of `MaxSessionDuration`.
13422
+ #
13423
+ # If you omit both this parameter and `ResetMaxSigninSessionDuration`,
13424
+ # the current setting is unchanged. You cannot specify this parameter
13425
+ # and set `ResetMaxSigninSessionDuration` to `true` in the same
13426
+ # request.
13427
+ #
13428
+ # Changes to this setting apply to new sign-in sessions. Sessions that
13429
+ # are already established are not affected.
13430
+ #
13431
+ # <note markdown="1"> You cannot set this value on a service-linked role.
13432
+ #
13433
+ # </note>
13434
+ # @return [Integer]
13435
+ #
13436
+ # @!attribute [rw] reset_max_signin_session_duration
13437
+ # Specifies whether to clear the role's maximum sign-in session
13438
+ # duration. Set this value to `true` to return the setting to its
13439
+ # unset state, so that the existing sign-in session behavior applies.
13440
+ # When the setting is unset, the role's `MaxSigninSessionDuration` is
13441
+ # omitted from responses.
13442
+ #
13443
+ # If you set this value to `false` or omit it, the current setting is
13444
+ # not cleared. You cannot set this value to `true` and specify
13445
+ # `MaxSigninSessionDuration` in the same request. Clearing a setting
13446
+ # that is already unset has no effect.
13447
+ #
13448
+ # <note markdown="1"> You cannot reset this value on a service-linked role.
13449
+ #
13450
+ # </note>
13451
+ # @return [Boolean]
13452
+ #
13336
13453
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleRequest AWS API Documentation
13337
13454
  #
13338
13455
  class UpdateRoleRequest < Struct.new(
13339
13456
  :role_name,
13340
13457
  :description,
13341
- :max_session_duration)
13458
+ :max_session_duration,
13459
+ :max_signin_session_duration,
13460
+ :reset_max_signin_session_duration)
13342
13461
  SENSITIVE = []
13343
13462
  include Aws::Structure
13344
13463
  end
@@ -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
@@ -76,7 +76,7 @@ module Aws::IAM
76
76
  autoload :UserPolicy, 'aws-sdk-iam/user_policy'
77
77
  autoload :VirtualMfaDevice, 'aws-sdk-iam/virtual_mfa_device'
78
78
 
79
- GEM_VERSION = '1.165.0'
79
+ GEM_VERSION = '1.167.0'
80
80
 
81
81
  end
82
82
 
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
 
@@ -299,6 +300,7 @@ module Aws
299
300
  assume_role_policy_document: ::String,
300
301
  ?description: ::String,
301
302
  ?max_session_duration: ::Integer,
303
+ ?max_signin_session_duration: ::Integer,
302
304
  ?permissions_boundary: ::String,
303
305
  ?tags: Array[
304
306
  {
@@ -1924,7 +1926,9 @@ module Aws
1924
1926
  def update_login_profile: (
1925
1927
  user_name: ::String,
1926
1928
  ?password: ::String,
1927
- ?password_reset_required: bool
1929
+ ?password_reset_required: bool,
1930
+ ?max_signin_session_duration: ::Integer,
1931
+ ?reset_max_signin_session_duration: bool
1928
1932
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1929
1933
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1930
1934
 
@@ -1942,7 +1946,9 @@ module Aws
1942
1946
  def update_role: (
1943
1947
  role_name: ::String,
1944
1948
  ?description: ::String,
1945
- ?max_session_duration: ::Integer
1949
+ ?max_session_duration: ::Integer,
1950
+ ?max_signin_session_duration: ::Integer,
1951
+ ?reset_max_signin_session_duration: bool
1946
1952
  ) -> _UpdateRoleResponseSuccess
1947
1953
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRoleResponseSuccess
1948
1954
 
@@ -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/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
  {
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/types.rbs CHANGED
@@ -197,6 +197,7 @@ module Aws::IAM
197
197
  attr_accessor user_name: ::String
198
198
  attr_accessor password: ::String
199
199
  attr_accessor password_reset_required: bool
200
+ attr_accessor max_signin_session_duration: ::Integer
200
201
  SENSITIVE: [:password]
201
202
  end
202
203
 
@@ -251,6 +252,7 @@ module Aws::IAM
251
252
  attr_accessor assume_role_policy_document: ::String
252
253
  attr_accessor description: ::String
253
254
  attr_accessor max_session_duration: ::Integer
255
+ attr_accessor max_signin_session_duration: ::Integer
254
256
  attr_accessor permissions_boundary: ::String
255
257
  attr_accessor tags: ::Array[Types::Tag]
256
258
  SENSITIVE: []
@@ -1620,6 +1622,7 @@ module Aws::IAM
1620
1622
  attr_accessor user_name: ::String
1621
1623
  attr_accessor create_date: ::Time
1622
1624
  attr_accessor password_reset_required: bool
1625
+ attr_accessor max_signin_session_duration: ::Integer
1623
1626
  SENSITIVE: []
1624
1627
  end
1625
1628
 
@@ -1937,6 +1940,7 @@ module Aws::IAM
1937
1940
  attr_accessor assume_role_policy_document: ::String
1938
1941
  attr_accessor description: ::String
1939
1942
  attr_accessor max_session_duration: ::Integer
1943
+ attr_accessor max_signin_session_duration: ::Integer
1940
1944
  attr_accessor permissions_boundary: Types::AttachedPermissionsBoundary
1941
1945
  attr_accessor tags: ::Array[Types::Tag]
1942
1946
  attr_accessor role_last_used: Types::RoleLastUsed
@@ -2356,6 +2360,8 @@ module Aws::IAM
2356
2360
  attr_accessor user_name: ::String
2357
2361
  attr_accessor password: ::String
2358
2362
  attr_accessor password_reset_required: bool
2363
+ attr_accessor max_signin_session_duration: ::Integer
2364
+ attr_accessor reset_max_signin_session_duration: bool
2359
2365
  SENSITIVE: [:password]
2360
2366
  end
2361
2367
 
@@ -2380,6 +2386,8 @@ module Aws::IAM
2380
2386
  attr_accessor role_name: ::String
2381
2387
  attr_accessor description: ::String
2382
2388
  attr_accessor max_session_duration: ::Integer
2389
+ attr_accessor max_signin_session_duration: ::Integer
2390
+ attr_accessor reset_max_signin_session_duration: bool
2383
2391
  SENSITIVE: []
2384
2392
  end
2385
2393
 
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.165.0
4
+ version: 1.167.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.268.0
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.268.0
31
+ version: 3.270.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement