@aws-sdk/client-iam 3.1170.0 → 3.1172.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.
- package/dist-cjs/index.js +15 -13
- package/dist-es/schemas/schemas_0.js +14 -12
- package/dist-types/commands/AcquireRoleCommand.d.ts +1 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +2 -0
- package/dist-types/commands/CreateRoleCommand.d.ts +2 -0
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -0
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +1 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/GetLoginProfileCommand.d.ts +1 -0
- package/dist-types/commands/GetRoleCommand.d.ts +1 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -0
- package/dist-types/commands/ListRolesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +8 -1
- package/dist-types/commands/UpdateRoleCommand.d.ts +9 -1
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +35 -0
- package/dist-types/models/models_1.d.ts +61 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +4 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1171.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -1234,6 +1234,7 @@ const _MPDLT = "ManagedPolicyDetailListType";
|
|
|
1234
1234
|
const _MPL = "MinimumPasswordLength";
|
|
1235
1235
|
const _MS = "MatchedStatements";
|
|
1236
1236
|
const _MSD = "MaxSessionDuration";
|
|
1237
|
+
const _MSSD = "MaxSigninSessionDuration";
|
|
1237
1238
|
const _MV = "MinorVersion";
|
|
1238
1239
|
const _MVa = "MajorVersion";
|
|
1239
1240
|
const _Ma = "Marker";
|
|
@@ -1359,6 +1360,7 @@ const _RM = "RequestMessage";
|
|
|
1359
1360
|
const _RME = "RoleModifiedException";
|
|
1360
1361
|
const _RMFAD = "ResyncMFADevice";
|
|
1361
1362
|
const _RMFADR = "ResyncMFADeviceRequest";
|
|
1363
|
+
const _RMSSD = "ResetMaxSigninSessionDuration";
|
|
1362
1364
|
const _RN = "RoleName";
|
|
1363
1365
|
const _RNP = "RoleNamePattern";
|
|
1364
1366
|
const _RNe = "RequestorName";
|
|
@@ -1993,8 +1995,8 @@ var CreateInstanceProfileResponse$ = [3, n0, _CIPRr,
|
|
|
1993
1995
|
];
|
|
1994
1996
|
var CreateLoginProfileRequest$ = [3, n0, _CLPR,
|
|
1995
1997
|
0,
|
|
1996
|
-
[_UN, _Pas, _PRR],
|
|
1997
|
-
[0, [() => passwordType, 0], 2]
|
|
1998
|
+
[_UN, _Pas, _PRR, _MSSD],
|
|
1999
|
+
[0, [() => passwordType, 0], 2, 1]
|
|
1998
2000
|
];
|
|
1999
2001
|
var CreateLoginProfileResponse$ = [3, n0, _CLPRr,
|
|
2000
2002
|
0,
|
|
@@ -2033,8 +2035,8 @@ var CreatePolicyVersionResponse$ = [3, n0, _CPVRr,
|
|
|
2033
2035
|
];
|
|
2034
2036
|
var CreateRoleRequest$ = [3, n0, _CRR,
|
|
2035
2037
|
0,
|
|
2036
|
-
[_RN, _ARPD, _Pa, _D, _MSD, _PB, _T],
|
|
2037
|
-
[0, 0, 0, 0, 1, 0, () => tagListType], 2
|
|
2038
|
+
[_RN, _ARPD, _Pa, _D, _MSD, _MSSD, _PB, _T],
|
|
2039
|
+
[0, 0, 0, 0, 1, 1, 0, () => tagListType], 2
|
|
2038
2040
|
];
|
|
2039
2041
|
var CreateRoleResponse$ = [3, n0, _CRRr,
|
|
2040
2042
|
0,
|
|
@@ -3013,8 +3015,8 @@ var ListVirtualMFADevicesResponse$ = [3, n0, _LVMFADRi,
|
|
|
3013
3015
|
];
|
|
3014
3016
|
var LoginProfile$ = [3, n0, _LP,
|
|
3015
3017
|
0,
|
|
3016
|
-
[_UN, _CD, _PRR],
|
|
3017
|
-
[0, 4, 2], 2
|
|
3018
|
+
[_UN, _CD, _PRR, _MSSD],
|
|
3019
|
+
[0, 4, 2, 1], 2
|
|
3018
3020
|
];
|
|
3019
3021
|
var ManagedPolicyDetail$ = [3, n0, _MPD,
|
|
3020
3022
|
0,
|
|
@@ -3183,8 +3185,8 @@ var ResyncMFADeviceRequest$ = [3, n0, _RMFADR,
|
|
|
3183
3185
|
];
|
|
3184
3186
|
var Role$ = [3, n0, _Ro,
|
|
3185
3187
|
0,
|
|
3186
|
-
[_Pa, _RN, _RIo, _A, _CD, _ARPD, _D, _MSD, _PB, _T, _RLU, _SRT],
|
|
3187
|
-
[0, 0, 0, 0, 4, 0, 0, 1, () => AttachedPermissionsBoundary$, () => tagListType, () => RoleLastUsed$, () => SourceRoleTemplate$], 5
|
|
3188
|
+
[_Pa, _RN, _RIo, _A, _CD, _ARPD, _D, _MSD, _MSSD, _PB, _T, _RLU, _SRT],
|
|
3189
|
+
[0, 0, 0, 0, 4, 0, 0, 1, 1, () => AttachedPermissionsBoundary$, () => tagListType, () => RoleLastUsed$, () => SourceRoleTemplate$], 5
|
|
3188
3190
|
];
|
|
3189
3191
|
var RoleDetail$ = [3, n0, _RD,
|
|
3190
3192
|
0,
|
|
@@ -3418,8 +3420,8 @@ var UpdateGroupRequest$ = [3, n0, _UGR,
|
|
|
3418
3420
|
];
|
|
3419
3421
|
var UpdateLoginProfileRequest$ = [3, n0, _ULPR,
|
|
3420
3422
|
0,
|
|
3421
|
-
[_UN, _Pas, _PRR],
|
|
3422
|
-
[0, [() => passwordType, 0], 2], 1
|
|
3423
|
+
[_UN, _Pas, _PRR, _MSSD, _RMSSD],
|
|
3424
|
+
[0, [() => passwordType, 0], 2, 1, 2], 1
|
|
3423
3425
|
];
|
|
3424
3426
|
var UpdateOpenIDConnectProviderThumbprintRequest$ = [3, n0, _UOIDCPTR,
|
|
3425
3427
|
0,
|
|
@@ -3438,8 +3440,8 @@ var UpdateRoleDescriptionResponse$ = [3, n0, _URDRp,
|
|
|
3438
3440
|
];
|
|
3439
3441
|
var UpdateRoleRequest$ = [3, n0, _URRp,
|
|
3440
3442
|
0,
|
|
3441
|
-
[_RN, _D, _MSD],
|
|
3442
|
-
[0, 0, 1], 1
|
|
3443
|
+
[_RN, _D, _MSD, _MSSD, _RMSSD],
|
|
3444
|
+
[0, 0, 1, 1, 2], 1
|
|
3443
3445
|
];
|
|
3444
3446
|
var UpdateRoleResponse$ = [3, n0, _URRpd,
|
|
3445
3447
|
0,
|
|
@@ -520,6 +520,7 @@ const _MPDLT = "ManagedPolicyDetailListType";
|
|
|
520
520
|
const _MPL = "MinimumPasswordLength";
|
|
521
521
|
const _MS = "MatchedStatements";
|
|
522
522
|
const _MSD = "MaxSessionDuration";
|
|
523
|
+
const _MSSD = "MaxSigninSessionDuration";
|
|
523
524
|
const _MV = "MinorVersion";
|
|
524
525
|
const _MVa = "MajorVersion";
|
|
525
526
|
const _Ma = "Marker";
|
|
@@ -645,6 +646,7 @@ const _RM = "RequestMessage";
|
|
|
645
646
|
const _RME = "RoleModifiedException";
|
|
646
647
|
const _RMFAD = "ResyncMFADevice";
|
|
647
648
|
const _RMFADR = "ResyncMFADeviceRequest";
|
|
649
|
+
const _RMSSD = "ResetMaxSigninSessionDuration";
|
|
648
650
|
const _RN = "RoleName";
|
|
649
651
|
const _RNP = "RoleNamePattern";
|
|
650
652
|
const _RNe = "RequestorName";
|
|
@@ -1282,8 +1284,8 @@ export var CreateInstanceProfileResponse$ = [3, n0, _CIPRr,
|
|
|
1282
1284
|
];
|
|
1283
1285
|
export var CreateLoginProfileRequest$ = [3, n0, _CLPR,
|
|
1284
1286
|
0,
|
|
1285
|
-
[_UN, _Pas, _PRR],
|
|
1286
|
-
[0, [() => passwordType, 0], 2]
|
|
1287
|
+
[_UN, _Pas, _PRR, _MSSD],
|
|
1288
|
+
[0, [() => passwordType, 0], 2, 1]
|
|
1287
1289
|
];
|
|
1288
1290
|
export var CreateLoginProfileResponse$ = [3, n0, _CLPRr,
|
|
1289
1291
|
0,
|
|
@@ -1322,8 +1324,8 @@ export var CreatePolicyVersionResponse$ = [3, n0, _CPVRr,
|
|
|
1322
1324
|
];
|
|
1323
1325
|
export var CreateRoleRequest$ = [3, n0, _CRR,
|
|
1324
1326
|
0,
|
|
1325
|
-
[_RN, _ARPD, _Pa, _D, _MSD, _PB, _T],
|
|
1326
|
-
[0, 0, 0, 0, 1, 0, () => tagListType], 2
|
|
1327
|
+
[_RN, _ARPD, _Pa, _D, _MSD, _MSSD, _PB, _T],
|
|
1328
|
+
[0, 0, 0, 0, 1, 1, 0, () => tagListType], 2
|
|
1327
1329
|
];
|
|
1328
1330
|
export var CreateRoleResponse$ = [3, n0, _CRRr,
|
|
1329
1331
|
0,
|
|
@@ -2302,8 +2304,8 @@ export var ListVirtualMFADevicesResponse$ = [3, n0, _LVMFADRi,
|
|
|
2302
2304
|
];
|
|
2303
2305
|
export var LoginProfile$ = [3, n0, _LP,
|
|
2304
2306
|
0,
|
|
2305
|
-
[_UN, _CD, _PRR],
|
|
2306
|
-
[0, 4, 2], 2
|
|
2307
|
+
[_UN, _CD, _PRR, _MSSD],
|
|
2308
|
+
[0, 4, 2, 1], 2
|
|
2307
2309
|
];
|
|
2308
2310
|
export var ManagedPolicyDetail$ = [3, n0, _MPD,
|
|
2309
2311
|
0,
|
|
@@ -2472,8 +2474,8 @@ export var ResyncMFADeviceRequest$ = [3, n0, _RMFADR,
|
|
|
2472
2474
|
];
|
|
2473
2475
|
export var Role$ = [3, n0, _Ro,
|
|
2474
2476
|
0,
|
|
2475
|
-
[_Pa, _RN, _RIo, _A, _CD, _ARPD, _D, _MSD, _PB, _T, _RLU, _SRT],
|
|
2476
|
-
[0, 0, 0, 0, 4, 0, 0, 1, () => AttachedPermissionsBoundary$, () => tagListType, () => RoleLastUsed$, () => SourceRoleTemplate$], 5
|
|
2477
|
+
[_Pa, _RN, _RIo, _A, _CD, _ARPD, _D, _MSD, _MSSD, _PB, _T, _RLU, _SRT],
|
|
2478
|
+
[0, 0, 0, 0, 4, 0, 0, 1, 1, () => AttachedPermissionsBoundary$, () => tagListType, () => RoleLastUsed$, () => SourceRoleTemplate$], 5
|
|
2477
2479
|
];
|
|
2478
2480
|
export var RoleDetail$ = [3, n0, _RD,
|
|
2479
2481
|
0,
|
|
@@ -2707,8 +2709,8 @@ export var UpdateGroupRequest$ = [3, n0, _UGR,
|
|
|
2707
2709
|
];
|
|
2708
2710
|
export var UpdateLoginProfileRequest$ = [3, n0, _ULPR,
|
|
2709
2711
|
0,
|
|
2710
|
-
[_UN, _Pas, _PRR],
|
|
2711
|
-
[0, [() => passwordType, 0], 2], 1
|
|
2712
|
+
[_UN, _Pas, _PRR, _MSSD, _RMSSD],
|
|
2713
|
+
[0, [() => passwordType, 0], 2, 1, 2], 1
|
|
2712
2714
|
];
|
|
2713
2715
|
export var UpdateOpenIDConnectProviderThumbprintRequest$ = [3, n0, _UOIDCPTR,
|
|
2714
2716
|
0,
|
|
@@ -2727,8 +2729,8 @@ export var UpdateRoleDescriptionResponse$ = [3, n0, _URDRp,
|
|
|
2727
2729
|
];
|
|
2728
2730
|
export var UpdateRoleRequest$ = [3, n0, _URRp,
|
|
2729
2731
|
0,
|
|
2730
|
-
[_RN, _D, _MSD],
|
|
2731
|
-
[0, 0, 1], 1
|
|
2732
|
+
[_RN, _D, _MSD, _MSSD, _RMSSD],
|
|
2733
|
+
[0, 0, 1, 1, 2], 1
|
|
2732
2734
|
];
|
|
2733
2735
|
export var UpdateRoleResponse$ = [3, n0, _URRpd,
|
|
2734
2736
|
0,
|
|
@@ -63,6 +63,7 @@ declare const AcquireRoleCommand_base: {
|
|
|
63
63
|
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
64
64
|
* // Description: "STRING_VALUE",
|
|
65
65
|
* // MaxSessionDuration: Number("int"),
|
|
66
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
66
67
|
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
67
68
|
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
68
69
|
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
@@ -66,6 +66,7 @@ declare const CreateInstanceProfileCommand_base: {
|
|
|
66
66
|
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
67
67
|
* // Description: "STRING_VALUE",
|
|
68
68
|
* // MaxSessionDuration: Number("int"),
|
|
69
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
69
70
|
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
70
71
|
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
71
72
|
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
@@ -42,6 +42,7 @@ declare const CreateLoginProfileCommand_base: {
|
|
|
42
42
|
* UserName: "STRING_VALUE",
|
|
43
43
|
* Password: "STRING_VALUE",
|
|
44
44
|
* PasswordResetRequired: true || false,
|
|
45
|
+
* MaxSigninSessionDuration: Number("int"),
|
|
45
46
|
* };
|
|
46
47
|
* const command = new CreateLoginProfileCommand(input);
|
|
47
48
|
* const response = await client.send(command);
|
|
@@ -50,6 +51,7 @@ declare const CreateLoginProfileCommand_base: {
|
|
|
50
51
|
* // UserName: "STRING_VALUE", // required
|
|
51
52
|
* // CreateDate: new Date("TIMESTAMP"), // required
|
|
52
53
|
* // PasswordResetRequired: true || false,
|
|
54
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
53
55
|
* // },
|
|
54
56
|
* // };
|
|
55
57
|
*
|
|
@@ -43,6 +43,7 @@ declare const CreateRoleCommand_base: {
|
|
|
43
43
|
* AssumeRolePolicyDocument: "STRING_VALUE", // required
|
|
44
44
|
* Description: "STRING_VALUE",
|
|
45
45
|
* MaxSessionDuration: Number("int"),
|
|
46
|
+
* MaxSigninSessionDuration: Number("int"),
|
|
46
47
|
* PermissionsBoundary: "STRING_VALUE",
|
|
47
48
|
* Tags: [ // tagListType
|
|
48
49
|
* { // Tag
|
|
@@ -63,6 +64,7 @@ declare const CreateRoleCommand_base: {
|
|
|
63
64
|
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
64
65
|
* // Description: "STRING_VALUE",
|
|
65
66
|
* // MaxSessionDuration: Number("int"),
|
|
67
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
66
68
|
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
67
69
|
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
68
70
|
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
@@ -58,6 +58,7 @@ declare const CreateServiceLinkedRoleCommand_base: {
|
|
|
58
58
|
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
59
59
|
* // Description: "STRING_VALUE",
|
|
60
60
|
* // MaxSessionDuration: Number("int"),
|
|
61
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
61
62
|
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
62
63
|
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
63
64
|
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
@@ -137,6 +137,7 @@ declare const GetAccountAuthorizationDetailsCommand_base: {
|
|
|
137
137
|
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
138
138
|
* // Description: "STRING_VALUE",
|
|
139
139
|
* // MaxSessionDuration: Number("int"),
|
|
140
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
140
141
|
* // PermissionsBoundary: {
|
|
141
142
|
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
142
143
|
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
@@ -58,6 +58,7 @@ declare const GetInstanceProfileCommand_base: {
|
|
|
58
58
|
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
59
59
|
* // Description: "STRING_VALUE",
|
|
60
60
|
* // MaxSessionDuration: Number("int"),
|
|
61
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
61
62
|
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
62
63
|
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
63
64
|
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
@@ -52,6 +52,7 @@ declare const GetLoginProfileCommand_base: {
|
|
|
52
52
|
* // UserName: "STRING_VALUE", // required
|
|
53
53
|
* // CreateDate: new Date("TIMESTAMP"), // required
|
|
54
54
|
* // PasswordResetRequired: true || false,
|
|
55
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
55
56
|
* // },
|
|
56
57
|
* // };
|
|
57
58
|
*
|
|
@@ -59,6 +59,7 @@ declare const GetRoleCommand_base: {
|
|
|
59
59
|
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
60
60
|
* // Description: "STRING_VALUE",
|
|
61
61
|
* // MaxSessionDuration: Number("int"),
|
|
62
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
62
63
|
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
63
64
|
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
64
65
|
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
@@ -68,6 +68,7 @@ declare const ListInstanceProfilesCommand_base: {
|
|
|
68
68
|
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
69
69
|
* // Description: "STRING_VALUE",
|
|
70
70
|
* // MaxSessionDuration: Number("int"),
|
|
71
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
71
72
|
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
72
73
|
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
73
74
|
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
@@ -63,6 +63,7 @@ declare const ListInstanceProfilesForRoleCommand_base: {
|
|
|
63
63
|
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
64
64
|
* // Description: "STRING_VALUE",
|
|
65
65
|
* // MaxSessionDuration: Number("int"),
|
|
66
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
66
67
|
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
67
68
|
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
68
69
|
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
@@ -71,6 +71,7 @@ declare const ListRolesCommand_base: {
|
|
|
71
71
|
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
72
72
|
* // Description: "STRING_VALUE",
|
|
73
73
|
* // MaxSessionDuration: Number("int"),
|
|
74
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
74
75
|
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
75
76
|
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
76
77
|
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
@@ -24,7 +24,8 @@ declare const UpdateLoginProfileCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Changes the password
|
|
27
|
+
* <p>Changes the password or the maximum sign-in session duration for the specified
|
|
28
|
+
* IAM user. You can use the CLI, the Amazon Web Services
|
|
28
29
|
* API, or the <b>Users</b> page in the IAM console to change
|
|
29
30
|
* the password for any IAM user. Use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ChangePassword.html">ChangePassword</a> to
|
|
30
31
|
* change your own password in the <b>My Security Credentials</b>
|
|
@@ -43,6 +44,8 @@ declare const UpdateLoginProfileCommand_base: {
|
|
|
43
44
|
* UserName: "STRING_VALUE", // required
|
|
44
45
|
* Password: "STRING_VALUE",
|
|
45
46
|
* PasswordResetRequired: true || false,
|
|
47
|
+
* MaxSigninSessionDuration: Number("int"),
|
|
48
|
+
* ResetMaxSigninSessionDuration: true || false,
|
|
46
49
|
* };
|
|
47
50
|
* const command = new UpdateLoginProfileCommand(input);
|
|
48
51
|
* const response = await client.send(command);
|
|
@@ -62,6 +65,10 @@ declare const UpdateLoginProfileCommand_base: {
|
|
|
62
65
|
* is likely to succeed if you try again after waiting several minutes. The error message
|
|
63
66
|
* describes the entity.</p>
|
|
64
67
|
*
|
|
68
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
69
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
70
|
+
* input parameter.</p>
|
|
71
|
+
*
|
|
65
72
|
* @throws {@link LimitExceededException} (client fault)
|
|
66
73
|
* <p>The request was rejected because it attempted to create resources beyond the current
|
|
67
74
|
* Amazon Web Services account limits. The error message describes the limit exceeded.</p>
|
|
@@ -24,7 +24,9 @@ declare const UpdateRoleCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Updates the description
|
|
27
|
+
* <p>Updates the description, maximum session duration, or maximum sign-in session duration
|
|
28
|
+
* of a role. You cannot change the maximum sign-in session duration of a service-linked
|
|
29
|
+
* role.</p>
|
|
28
30
|
* @example
|
|
29
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
32
|
* ```javascript
|
|
@@ -37,6 +39,8 @@ declare const UpdateRoleCommand_base: {
|
|
|
37
39
|
* RoleName: "STRING_VALUE", // required
|
|
38
40
|
* Description: "STRING_VALUE",
|
|
39
41
|
* MaxSessionDuration: Number("int"),
|
|
42
|
+
* MaxSigninSessionDuration: Number("int"),
|
|
43
|
+
* ResetMaxSigninSessionDuration: true || false,
|
|
40
44
|
* };
|
|
41
45
|
* const command = new UpdateRoleCommand(input);
|
|
42
46
|
* const response = await client.send(command);
|
|
@@ -50,6 +54,10 @@ declare const UpdateRoleCommand_base: {
|
|
|
50
54
|
* @see {@link UpdateRoleCommandOutput} for command's `response` shape.
|
|
51
55
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
52
56
|
*
|
|
57
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
58
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
59
|
+
* input parameter.</p>
|
|
60
|
+
*
|
|
53
61
|
* @throws {@link NoSuchEntityException} (client fault)
|
|
54
62
|
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
55
63
|
* error message describes the resource.</p>
|
|
@@ -51,6 +51,7 @@ declare const UpdateRoleDescriptionCommand_base: {
|
|
|
51
51
|
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
52
52
|
* // Description: "STRING_VALUE",
|
|
53
53
|
* // MaxSessionDuration: Number("int"),
|
|
54
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
54
55
|
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
55
56
|
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
56
57
|
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
@@ -379,6 +379,14 @@ export interface Role {
|
|
|
379
379
|
* @public
|
|
380
380
|
*/
|
|
381
381
|
MaxSessionDuration?: number | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* <p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session for users who sign in
|
|
384
|
+
* with this role. This value is independent of <code>MaxSessionDuration</code>.</p>
|
|
385
|
+
* <p>This member is omitted when the setting is unset. In that case, no default value is
|
|
386
|
+
* returned and the existing sign-in session behavior applies.</p>
|
|
387
|
+
* @public
|
|
388
|
+
*/
|
|
389
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
382
390
|
/**
|
|
383
391
|
* <p>The ARN of the policy used to set the permissions boundary for the role.</p>
|
|
384
392
|
* <p>For more information about permissions boundaries, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html">Permissions boundaries for IAM
|
|
@@ -985,6 +993,17 @@ export interface CreateLoginProfileRequest {
|
|
|
985
993
|
* @public
|
|
986
994
|
*/
|
|
987
995
|
PasswordResetRequired?: boolean | undefined;
|
|
996
|
+
/**
|
|
997
|
+
* <p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session for this IAM user.
|
|
998
|
+
* This setting can have a value from 1 hour (3600 seconds) to 90 days (7776000 seconds),
|
|
999
|
+
* inclusive. If you do not specify a value, the setting remains unset and the existing
|
|
1000
|
+
* sign-in session behavior applies.</p>
|
|
1001
|
+
* <note>
|
|
1002
|
+
* <p>This setting is not supported for the root user.</p>
|
|
1003
|
+
* </note>
|
|
1004
|
+
* @public
|
|
1005
|
+
*/
|
|
1006
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
988
1007
|
}
|
|
989
1008
|
/**
|
|
990
1009
|
* <p>Contains the user name and password create date for a user.</p>
|
|
@@ -1008,6 +1027,13 @@ export interface LoginProfile {
|
|
|
1008
1027
|
* @public
|
|
1009
1028
|
*/
|
|
1010
1029
|
PasswordResetRequired?: boolean | undefined;
|
|
1030
|
+
/**
|
|
1031
|
+
* <p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session for the user.</p>
|
|
1032
|
+
* <p>This member is omitted when the setting is unset. In that case, no default value is
|
|
1033
|
+
* returned and the existing sign-in session behavior applies.</p>
|
|
1034
|
+
* @public
|
|
1035
|
+
*/
|
|
1036
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
1011
1037
|
}
|
|
1012
1038
|
/**
|
|
1013
1039
|
* <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateLoginProfile.html">CreateLoginProfile</a>
|
|
@@ -1463,6 +1489,15 @@ export interface CreateRoleRequest {
|
|
|
1463
1489
|
* @public
|
|
1464
1490
|
*/
|
|
1465
1491
|
MaxSessionDuration?: number | undefined;
|
|
1492
|
+
/**
|
|
1493
|
+
* <p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session for users who sign in
|
|
1494
|
+
* with this role. This setting can have a value from 1 hour (3600 seconds) to 90 days
|
|
1495
|
+
* (7776000 seconds), inclusive. If you do not specify a value, the setting remains unset
|
|
1496
|
+
* and the existing sign-in session behavior applies.</p>
|
|
1497
|
+
* <p>This setting is independent of <code>MaxSessionDuration</code>.</p>
|
|
1498
|
+
* @public
|
|
1499
|
+
*/
|
|
1500
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
1466
1501
|
/**
|
|
1467
1502
|
* <p>The ARN of the managed policy that is used to set the permissions boundary for the
|
|
1468
1503
|
* role.</p>
|
|
@@ -443,6 +443,35 @@ export interface UpdateLoginProfileRequest {
|
|
|
443
443
|
* @public
|
|
444
444
|
*/
|
|
445
445
|
PasswordResetRequired?: boolean | undefined;
|
|
446
|
+
/**
|
|
447
|
+
* <p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session for the specified
|
|
448
|
+
* IAM user. This setting can have a value from 1 hour (3600 seconds) to 90 days (7776000
|
|
449
|
+
* seconds), inclusive, and replaces any value currently configured for the user.</p>
|
|
450
|
+
* <p>If you omit both this parameter and <code>ResetMaxSigninSessionDuration</code>, the
|
|
451
|
+
* current setting is unchanged. You cannot specify this parameter and set
|
|
452
|
+
* <code>ResetMaxSigninSessionDuration</code> to <code>true</code> in the same request.
|
|
453
|
+
* If you update only the sign-in session duration, the user's password and
|
|
454
|
+
* <code>PasswordResetRequired</code> setting do not change.</p>
|
|
455
|
+
* <p>Changes to this setting apply to new sign-in sessions. Sessions that are already
|
|
456
|
+
* established are not affected.</p>
|
|
457
|
+
* <note>
|
|
458
|
+
* <p>This setting is not supported for the root user.</p>
|
|
459
|
+
* </note>
|
|
460
|
+
* @public
|
|
461
|
+
*/
|
|
462
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
463
|
+
/**
|
|
464
|
+
* <p>Specifies whether to clear the maximum sign-in session duration for the specified
|
|
465
|
+
* IAM user. Set this value to <code>true</code> to return the setting to its unset
|
|
466
|
+
* state, so that the existing sign-in session behavior applies. When the setting is unset,
|
|
467
|
+
* the user's <code>MaxSigninSessionDuration</code> is omitted from responses.</p>
|
|
468
|
+
* <p>If you set this value to <code>false</code> or omit it, the current setting is not
|
|
469
|
+
* cleared. You cannot set this value to <code>true</code> and specify
|
|
470
|
+
* <code>MaxSigninSessionDuration</code> in the same request. Clearing a setting that
|
|
471
|
+
* is already unset has no effect.</p>
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
ResetMaxSigninSessionDuration?: boolean | undefined;
|
|
446
475
|
}
|
|
447
476
|
/**
|
|
448
477
|
* @public
|
|
@@ -498,6 +527,38 @@ export interface UpdateRoleRequest {
|
|
|
498
527
|
* @public
|
|
499
528
|
*/
|
|
500
529
|
MaxSessionDuration?: number | undefined;
|
|
530
|
+
/**
|
|
531
|
+
* <p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session for users who sign in
|
|
532
|
+
* with the specified role. This setting can have a value from 1 hour (3600 seconds) to 90
|
|
533
|
+
* days (7776000 seconds), inclusive, and replaces any value currently configured for the
|
|
534
|
+
* role. This setting is independent of <code>MaxSessionDuration</code>.</p>
|
|
535
|
+
* <p>If you omit both this parameter and <code>ResetMaxSigninSessionDuration</code>, the
|
|
536
|
+
* current setting is unchanged. You cannot specify this parameter and set
|
|
537
|
+
* <code>ResetMaxSigninSessionDuration</code> to <code>true</code> in the same
|
|
538
|
+
* request.</p>
|
|
539
|
+
* <p>Changes to this setting apply to new sign-in sessions. Sessions that are already
|
|
540
|
+
* established are not affected.</p>
|
|
541
|
+
* <note>
|
|
542
|
+
* <p>You cannot set this value on a service-linked role.</p>
|
|
543
|
+
* </note>
|
|
544
|
+
* @public
|
|
545
|
+
*/
|
|
546
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
547
|
+
/**
|
|
548
|
+
* <p>Specifies whether to clear the role's maximum sign-in session duration. Set this value
|
|
549
|
+
* to <code>true</code> to return the setting to its unset state, so that the existing
|
|
550
|
+
* sign-in session behavior applies. When the setting is unset, the role's
|
|
551
|
+
* <code>MaxSigninSessionDuration</code> is omitted from responses.</p>
|
|
552
|
+
* <p>If you set this value to <code>false</code> or omit it, the current setting is not
|
|
553
|
+
* cleared. You cannot set this value to <code>true</code> and specify
|
|
554
|
+
* <code>MaxSigninSessionDuration</code> in the same request. Clearing a setting that
|
|
555
|
+
* is already unset has no effect.</p>
|
|
556
|
+
* <note>
|
|
557
|
+
* <p>You cannot reset this value on a service-linked role.</p>
|
|
558
|
+
* </note>
|
|
559
|
+
* @public
|
|
560
|
+
*/
|
|
561
|
+
ResetMaxSigninSessionDuration?: boolean | undefined;
|
|
501
562
|
}
|
|
502
563
|
/**
|
|
503
564
|
* @public
|
|
@@ -93,6 +93,7 @@ export interface Role {
|
|
|
93
93
|
AssumeRolePolicyDocument?: string | undefined;
|
|
94
94
|
Description?: string | undefined;
|
|
95
95
|
MaxSessionDuration?: number | undefined;
|
|
96
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
96
97
|
PermissionsBoundary?: AttachedPermissionsBoundary | undefined;
|
|
97
98
|
Tags?: Tag[] | undefined;
|
|
98
99
|
RoleLastUsed?: RoleLastUsed | undefined;
|
|
@@ -204,11 +205,13 @@ export interface CreateLoginProfileRequest {
|
|
|
204
205
|
UserName?: string | undefined;
|
|
205
206
|
Password?: string | undefined;
|
|
206
207
|
PasswordResetRequired?: boolean | undefined;
|
|
208
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
207
209
|
}
|
|
208
210
|
export interface LoginProfile {
|
|
209
211
|
UserName: string | undefined;
|
|
210
212
|
CreateDate: Date | undefined;
|
|
211
213
|
PasswordResetRequired?: boolean | undefined;
|
|
214
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
212
215
|
}
|
|
213
216
|
export interface CreateLoginProfileResponse {
|
|
214
217
|
LoginProfile: LoginProfile | undefined;
|
|
@@ -267,6 +270,7 @@ export interface CreateRoleRequest {
|
|
|
267
270
|
AssumeRolePolicyDocument: string | undefined;
|
|
268
271
|
Description?: string | undefined;
|
|
269
272
|
MaxSessionDuration?: number | undefined;
|
|
273
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
270
274
|
PermissionsBoundary?: string | undefined;
|
|
271
275
|
Tags?: Tag[] | undefined;
|
|
272
276
|
}
|
|
@@ -77,6 +77,8 @@ export interface UpdateLoginProfileRequest {
|
|
|
77
77
|
UserName: string | undefined;
|
|
78
78
|
Password?: string | undefined;
|
|
79
79
|
PasswordResetRequired?: boolean | undefined;
|
|
80
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
81
|
+
ResetMaxSigninSessionDuration?: boolean | undefined;
|
|
80
82
|
}
|
|
81
83
|
export interface UpdateOpenIDConnectProviderThumbprintRequest {
|
|
82
84
|
OpenIDConnectProviderArn: string | undefined;
|
|
@@ -86,6 +88,8 @@ export interface UpdateRoleRequest {
|
|
|
86
88
|
RoleName: string | undefined;
|
|
87
89
|
Description?: string | undefined;
|
|
88
90
|
MaxSessionDuration?: number | undefined;
|
|
91
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
92
|
+
ResetMaxSigninSessionDuration?: boolean | undefined;
|
|
89
93
|
}
|
|
90
94
|
export interface UpdateRoleResponse {}
|
|
91
95
|
export interface UpdateRoleDescriptionRequest {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iam",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1172.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iam",
|
|
6
6
|
"license": "Apache-2.0",
|