@aws-sdk/client-iam 3.345.0 → 3.347.1
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/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_query.js +24 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_query.js +24 -0
- package/dist-types/commands/CreateAccountAliasCommand.d.ts +7 -3
- package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAccountAliasCommand.d.ts +7 -2
- package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +4 -0
- package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +4 -0
- package/dist-types/commands/EnableMFADeviceCommand.d.ts +4 -0
- package/dist-types/commands/ListAccountAliasesCommand.d.ts +3 -2
- package/dist-types/commands/ResyncMFADeviceCommand.d.ts +4 -0
- package/dist-types/commands/UploadSigningCertificateCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +14 -14
- package/dist-types/ts3.4/models/models_0.d.ts +10 -10
- package/package.json +30 -30
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const A = "required", B = "fn", C = "argv", D = "ref", E = "authSchemes", F = "signingName", G = "signingRegion";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = "sigv4", h = "iam", i = { [A]: false, "type": "String" }, j = { [A]: true, "default": false, "type": "Boolean" }, k = { [D]: "Endpoint" }, l = { [B]: "booleanEquals", [C]: [{ [D]: "UseFIPS" }, true] }, m = { [B]: "booleanEquals", [C]: [{ [D]: "UseDualStack" }, true] }, n = {}, o = { [B]: f, [C]: [{ [B]: "getAttr", [C]: [{ [D]: e }, "name"] }, "aws"] }, p = { [B]: "getAttr", [C]: [{ [D]: e }, "name"] }, q = { [B]: "booleanEquals", [C]: [{ [D]: "UseFIPS" }, false] }, r = { [B]: "booleanEquals", [C]: [{ [D]: "UseDualStack" }, false] }, s = { [E]: [{ "name": g, [F]: h, [G]: "us-east-1" }] }, t = { [B]: f, [C]: [p, "aws-us-gov"] }, u = { "url": "https://iam.us-gov.amazonaws.com", "properties": { [E]: [{ "name": g, [F]: h, [G]: "us-gov-west-1" }] }, "headers": {} }, v = { [B]: "booleanEquals", [C]: [true, { [B]: "getAttr", [C]: [{ [D]: e }, "supportsFIPS"] }] }, w = { [B]: "booleanEquals", [C]: [true, { [B]: "getAttr", [C]: [{ [D]: e }, "supportsDualStack"] }] }, x = [l], y = [m], z = [{ [D]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [B]: a, [C]: [k] }], type: b, rules: [{ conditions: x, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: y, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: k, properties: n, headers: n }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [B]: a, [C]: z }], type: b, rules: [{ conditions: [{ [B]: "aws.partition", [C]: z, assign: e }], type: b, rules: [{ conditions: [o, q, r], endpoint: { url: "https://iam.amazonaws.com", properties: s, headers: n }, type: d }, { conditions: [o, l, r], endpoint: { url: "https://iam-fips.amazonaws.com", properties: s, headers: n }, type: d }, { conditions: [{ [B]: f, [C]: [p, "aws-cn"] }, q, r], endpoint: { url: "https://iam.cn-north-1.amazonaws.com.cn", properties: { [E]: [{ name: g, [F]: h, [G]: "cn-north-1" }] }, headers: n }, type: d }, { conditions: [t, q, r], endpoint: u, type: d }, { conditions: [t, l, r], endpoint: u, type: d }, { conditions: [{ [B]: f, [C]: [p, "aws-iso"] }, q, r], endpoint: { url: "https://iam.us-iso-east-1.c2s.ic.gov", properties: { [E]: [{ name: g, [F]: h, [G]: "us-iso-east-1" }] }, headers: n }, type: d }, { conditions: [{ [B]: f, [C]: [p, "aws-iso-b"] }, q, r], endpoint: { url: "https://iam.us-isob-east-1.sc2s.sgov.gov", properties: { [E]: [{ name: g, [F]: h, [G]: "us-isob-east-1" }] }, headers: n }, type: d }, { conditions: [l, m], type: b, rules: [{ conditions: [v, w], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: x, type: b, rules: [{ conditions: [v], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iam-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: y, type: b, rules: [{ conditions: [w], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://iam.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -2089,6 +2089,9 @@ const de_CreateAccountAliasCommandError = async (output, context) => {
|
|
|
2089
2089
|
};
|
|
2090
2090
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2091
2091
|
switch (errorCode) {
|
|
2092
|
+
case "ConcurrentModification":
|
|
2093
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
2094
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2092
2095
|
case "EntityAlreadyExists":
|
|
2093
2096
|
case "com.amazonaws.iam#EntityAlreadyExistsException":
|
|
2094
2097
|
throw await de_EntityAlreadyExistsExceptionRes(parsedOutput, context);
|
|
@@ -2662,6 +2665,9 @@ const de_DeactivateMFADeviceCommandError = async (output, context) => {
|
|
|
2662
2665
|
};
|
|
2663
2666
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2664
2667
|
switch (errorCode) {
|
|
2668
|
+
case "ConcurrentModification":
|
|
2669
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
2670
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2665
2671
|
case "EntityTemporarilyUnmodifiable":
|
|
2666
2672
|
case "com.amazonaws.iam#EntityTemporarilyUnmodifiableException":
|
|
2667
2673
|
throw await de_EntityTemporarilyUnmodifiableExceptionRes(parsedOutput, context);
|
|
@@ -2737,6 +2743,9 @@ const de_DeleteAccountAliasCommandError = async (output, context) => {
|
|
|
2737
2743
|
};
|
|
2738
2744
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2739
2745
|
switch (errorCode) {
|
|
2746
|
+
case "ConcurrentModification":
|
|
2747
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
2748
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2740
2749
|
case "LimitExceeded":
|
|
2741
2750
|
case "com.amazonaws.iam#LimitExceededException":
|
|
2742
2751
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
@@ -3349,6 +3358,9 @@ const de_DeleteSigningCertificateCommandError = async (output, context) => {
|
|
|
3349
3358
|
};
|
|
3350
3359
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3351
3360
|
switch (errorCode) {
|
|
3361
|
+
case "ConcurrentModification":
|
|
3362
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
3363
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3352
3364
|
case "LimitExceeded":
|
|
3353
3365
|
case "com.amazonaws.iam#LimitExceededException":
|
|
3354
3366
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
@@ -3526,6 +3538,9 @@ const de_DeleteVirtualMFADeviceCommandError = async (output, context) => {
|
|
|
3526
3538
|
};
|
|
3527
3539
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3528
3540
|
switch (errorCode) {
|
|
3541
|
+
case "ConcurrentModification":
|
|
3542
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
3543
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3529
3544
|
case "DeleteConflict":
|
|
3530
3545
|
case "com.amazonaws.iam#DeleteConflictException":
|
|
3531
3546
|
throw await de_DeleteConflictExceptionRes(parsedOutput, context);
|
|
@@ -3685,6 +3700,9 @@ const de_EnableMFADeviceCommandError = async (output, context) => {
|
|
|
3685
3700
|
};
|
|
3686
3701
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3687
3702
|
switch (errorCode) {
|
|
3703
|
+
case "ConcurrentModification":
|
|
3704
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
3705
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3688
3706
|
case "EntityAlreadyExists":
|
|
3689
3707
|
case "com.amazonaws.iam#EntityAlreadyExistsException":
|
|
3690
3708
|
throw await de_EntityAlreadyExistsExceptionRes(parsedOutput, context);
|
|
@@ -6298,6 +6316,9 @@ const de_ResyncMFADeviceCommandError = async (output, context) => {
|
|
|
6298
6316
|
};
|
|
6299
6317
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
6300
6318
|
switch (errorCode) {
|
|
6319
|
+
case "ConcurrentModification":
|
|
6320
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
6321
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
6301
6322
|
case "InvalidAuthenticationCode":
|
|
6302
6323
|
case "com.amazonaws.iam#InvalidAuthenticationCodeException":
|
|
6303
6324
|
throw await de_InvalidAuthenticationCodeExceptionRes(parsedOutput, context);
|
|
@@ -7711,6 +7732,9 @@ const de_UploadSigningCertificateCommandError = async (output, context) => {
|
|
|
7711
7732
|
};
|
|
7712
7733
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
7713
7734
|
switch (errorCode) {
|
|
7735
|
+
case "ConcurrentModification":
|
|
7736
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
7737
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
7714
7738
|
case "DuplicateCertificate":
|
|
7715
7739
|
case "com.amazonaws.iam#DuplicateCertificateException":
|
|
7716
7740
|
throw await de_DuplicateCertificateExceptionRes(parsedOutput, context);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const A = "required", B = "fn", C = "argv", D = "ref", E = "authSchemes", F = "signingName", G = "signingRegion";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = "sigv4", h = "iam", i = { [A]: false, "type": "String" }, j = { [A]: true, "default": false, "type": "Boolean" }, k = { [D]: "Endpoint" }, l = { [B]: "booleanEquals", [C]: [{ [D]: "UseFIPS" }, true] }, m = { [B]: "booleanEquals", [C]: [{ [D]: "UseDualStack" }, true] }, n = {}, o = { [B]: f, [C]: [{ [B]: "getAttr", [C]: [{ [D]: e }, "name"] }, "aws"] }, p = { [B]: "getAttr", [C]: [{ [D]: e }, "name"] }, q = { [B]: "booleanEquals", [C]: [{ [D]: "UseFIPS" }, false] }, r = { [B]: "booleanEquals", [C]: [{ [D]: "UseDualStack" }, false] }, s = { [E]: [{ "name": g, [F]: h, [G]: "us-east-1" }] }, t = { [B]: f, [C]: [p, "aws-us-gov"] }, u = { "url": "https://iam.us-gov.amazonaws.com", "properties": { [E]: [{ "name": g, [F]: h, [G]: "us-gov-west-1" }] }, "headers": {} }, v = { [B]: "booleanEquals", [C]: [true, { [B]: "getAttr", [C]: [{ [D]: e }, "supportsFIPS"] }] }, w = { [B]: "booleanEquals", [C]: [true, { [B]: "getAttr", [C]: [{ [D]: e }, "supportsDualStack"] }] }, x = [l], y = [m], z = [{ [D]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [B]: a, [C]: [k] }], type: b, rules: [{ conditions: x, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: y, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: k, properties: n, headers: n }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [B]: a, [C]: z }], type: b, rules: [{ conditions: [{ [B]: "aws.partition", [C]: z, assign: e }], type: b, rules: [{ conditions: [o, q, r], endpoint: { url: "https://iam.amazonaws.com", properties: s, headers: n }, type: d }, { conditions: [o, l, r], endpoint: { url: "https://iam-fips.amazonaws.com", properties: s, headers: n }, type: d }, { conditions: [{ [B]: f, [C]: [p, "aws-cn"] }, q, r], endpoint: { url: "https://iam.cn-north-1.amazonaws.com.cn", properties: { [E]: [{ name: g, [F]: h, [G]: "cn-north-1" }] }, headers: n }, type: d }, { conditions: [t, q, r], endpoint: u, type: d }, { conditions: [t, l, r], endpoint: u, type: d }, { conditions: [{ [B]: f, [C]: [p, "aws-iso"] }, q, r], endpoint: { url: "https://iam.us-iso-east-1.c2s.ic.gov", properties: { [E]: [{ name: g, [F]: h, [G]: "us-iso-east-1" }] }, headers: n }, type: d }, { conditions: [{ [B]: f, [C]: [p, "aws-iso-b"] }, q, r], endpoint: { url: "https://iam.us-isob-east-1.sc2s.sgov.gov", properties: { [E]: [{ name: g, [F]: h, [G]: "us-isob-east-1" }] }, headers: n }, type: d }, { conditions: [l, m], type: b, rules: [{ conditions: [v, w], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: x, type: b, rules: [{ conditions: [v], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iam-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: y, type: b, rules: [{ conditions: [w], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://iam.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1913,6 +1913,9 @@ const de_CreateAccountAliasCommandError = async (output, context) => {
|
|
|
1913
1913
|
};
|
|
1914
1914
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1915
1915
|
switch (errorCode) {
|
|
1916
|
+
case "ConcurrentModification":
|
|
1917
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
1918
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1916
1919
|
case "EntityAlreadyExists":
|
|
1917
1920
|
case "com.amazonaws.iam#EntityAlreadyExistsException":
|
|
1918
1921
|
throw await de_EntityAlreadyExistsExceptionRes(parsedOutput, context);
|
|
@@ -2473,6 +2476,9 @@ const de_DeactivateMFADeviceCommandError = async (output, context) => {
|
|
|
2473
2476
|
};
|
|
2474
2477
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2475
2478
|
switch (errorCode) {
|
|
2479
|
+
case "ConcurrentModification":
|
|
2480
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
2481
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2476
2482
|
case "EntityTemporarilyUnmodifiable":
|
|
2477
2483
|
case "com.amazonaws.iam#EntityTemporarilyUnmodifiableException":
|
|
2478
2484
|
throw await de_EntityTemporarilyUnmodifiableExceptionRes(parsedOutput, context);
|
|
@@ -2546,6 +2552,9 @@ const de_DeleteAccountAliasCommandError = async (output, context) => {
|
|
|
2546
2552
|
};
|
|
2547
2553
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2548
2554
|
switch (errorCode) {
|
|
2555
|
+
case "ConcurrentModification":
|
|
2556
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
2557
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2549
2558
|
case "LimitExceeded":
|
|
2550
2559
|
case "com.amazonaws.iam#LimitExceededException":
|
|
2551
2560
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
@@ -3142,6 +3151,9 @@ const de_DeleteSigningCertificateCommandError = async (output, context) => {
|
|
|
3142
3151
|
};
|
|
3143
3152
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3144
3153
|
switch (errorCode) {
|
|
3154
|
+
case "ConcurrentModification":
|
|
3155
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
3156
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3145
3157
|
case "LimitExceeded":
|
|
3146
3158
|
case "com.amazonaws.iam#LimitExceededException":
|
|
3147
3159
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
@@ -3314,6 +3326,9 @@ const de_DeleteVirtualMFADeviceCommandError = async (output, context) => {
|
|
|
3314
3326
|
};
|
|
3315
3327
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3316
3328
|
switch (errorCode) {
|
|
3329
|
+
case "ConcurrentModification":
|
|
3330
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
3331
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3317
3332
|
case "DeleteConflict":
|
|
3318
3333
|
case "com.amazonaws.iam#DeleteConflictException":
|
|
3319
3334
|
throw await de_DeleteConflictExceptionRes(parsedOutput, context);
|
|
@@ -3469,6 +3484,9 @@ const de_EnableMFADeviceCommandError = async (output, context) => {
|
|
|
3469
3484
|
};
|
|
3470
3485
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3471
3486
|
switch (errorCode) {
|
|
3487
|
+
case "ConcurrentModification":
|
|
3488
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
3489
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3472
3490
|
case "EntityAlreadyExists":
|
|
3473
3491
|
case "com.amazonaws.iam#EntityAlreadyExistsException":
|
|
3474
3492
|
throw await de_EntityAlreadyExistsExceptionRes(parsedOutput, context);
|
|
@@ -6010,6 +6028,9 @@ const de_ResyncMFADeviceCommandError = async (output, context) => {
|
|
|
6010
6028
|
};
|
|
6011
6029
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
6012
6030
|
switch (errorCode) {
|
|
6031
|
+
case "ConcurrentModification":
|
|
6032
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
6033
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
6013
6034
|
case "InvalidAuthenticationCode":
|
|
6014
6035
|
case "com.amazonaws.iam#InvalidAuthenticationCodeException":
|
|
6015
6036
|
throw await de_InvalidAuthenticationCodeExceptionRes(parsedOutput, context);
|
|
@@ -7387,6 +7408,9 @@ const de_UploadSigningCertificateCommandError = async (output, context) => {
|
|
|
7387
7408
|
};
|
|
7388
7409
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
7389
7410
|
switch (errorCode) {
|
|
7411
|
+
case "ConcurrentModification":
|
|
7412
|
+
case "com.amazonaws.iam#ConcurrentModificationException":
|
|
7413
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
7390
7414
|
case "DuplicateCertificate":
|
|
7391
7415
|
case "com.amazonaws.iam#DuplicateCertificateException":
|
|
7392
7416
|
throw await de_DuplicateCertificateExceptionRes(parsedOutput, context);
|
|
@@ -24,9 +24,9 @@ export interface CreateAccountAliasCommandOutput extends __MetadataBearer {
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account
|
|
27
|
-
* alias, see <a href="https://docs.aws.amazon.com/
|
|
28
|
-
*
|
|
29
|
-
*
|
|
27
|
+
* alias, see <a href="https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html">Creating, deleting, and
|
|
28
|
+
* listing an Amazon Web Services account alias</a> in the <i>Amazon Web Services Sign-In User
|
|
29
|
+
* Guide</i>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -48,6 +48,10 @@ export interface CreateAccountAliasCommandOutput extends __MetadataBearer {
|
|
|
48
48
|
* @see {@link CreateAccountAliasCommandOutput} for command's `response` shape.
|
|
49
49
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
50
50
|
*
|
|
51
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
52
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
53
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
54
|
+
*
|
|
51
55
|
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
52
56
|
* <p>The request was rejected because it attempted to create a resource that already
|
|
53
57
|
* exists.</p>
|
|
@@ -50,6 +50,10 @@ export interface DeactivateMFADeviceCommandOutput extends __MetadataBearer {
|
|
|
50
50
|
* @see {@link DeactivateMFADeviceCommandOutput} for command's `response` shape.
|
|
51
51
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
52
52
|
*
|
|
53
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
54
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
55
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
56
|
+
*
|
|
53
57
|
* @throws {@link EntityTemporarilyUnmodifiableException} (client fault)
|
|
54
58
|
* <p>The request was rejected because it referenced an entity that is temporarily unmodifiable,
|
|
55
59
|
* such as a user name that was deleted and then recreated. The error indicates that the request
|
|
@@ -24,8 +24,9 @@ export interface DeleteAccountAliasCommandOutput extends __MetadataBearer {
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p> Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services
|
|
27
|
-
* account alias, see <a href="https://docs.aws.amazon.com/
|
|
28
|
-
* <i>
|
|
27
|
+
* account alias, see <a href="https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html">Creating, deleting, and
|
|
28
|
+
* listing an Amazon Web Services account alias</a> in the <i>Amazon Web Services Sign-In User
|
|
29
|
+
* Guide</i>.</p>
|
|
29
30
|
* @example
|
|
30
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
32
|
* ```javascript
|
|
@@ -47,6 +48,10 @@ export interface DeleteAccountAliasCommandOutput extends __MetadataBearer {
|
|
|
47
48
|
* @see {@link DeleteAccountAliasCommandOutput} for command's `response` shape.
|
|
48
49
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
49
50
|
*
|
|
51
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
52
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
53
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
54
|
+
*
|
|
50
55
|
* @throws {@link LimitExceededException} (client fault)
|
|
51
56
|
* <p>The request was rejected because it attempted to create resources beyond the current
|
|
52
57
|
* Amazon Web Services account limits. The error message describes the limit exceeded.</p>
|
|
@@ -50,6 +50,10 @@ export interface DeleteSigningCertificateCommandOutput extends __MetadataBearer
|
|
|
50
50
|
* @see {@link DeleteSigningCertificateCommandOutput} for command's `response` shape.
|
|
51
51
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
52
52
|
*
|
|
53
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
54
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
55
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
56
|
+
*
|
|
53
57
|
* @throws {@link LimitExceededException} (client fault)
|
|
54
58
|
* <p>The request was rejected because it attempted to create resources beyond the current
|
|
55
59
|
* Amazon Web Services account limits. The error message describes the limit exceeded.</p>
|
|
@@ -49,6 +49,10 @@ export interface DeleteVirtualMFADeviceCommandOutput extends __MetadataBearer {
|
|
|
49
49
|
* @see {@link DeleteVirtualMFADeviceCommandOutput} for command's `response` shape.
|
|
50
50
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
51
51
|
*
|
|
52
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
53
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
54
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
55
|
+
*
|
|
52
56
|
* @throws {@link DeleteConflictException} (client fault)
|
|
53
57
|
* <p>The request was rejected because it attempted to delete a resource that has attached
|
|
54
58
|
* subordinate entities. The error message describes these entities.</p>
|
|
@@ -50,6 +50,10 @@ export interface EnableMFADeviceCommandOutput extends __MetadataBearer {
|
|
|
50
50
|
* @see {@link EnableMFADeviceCommandOutput} for command's `response` shape.
|
|
51
51
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
52
52
|
*
|
|
53
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
54
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
55
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
56
|
+
*
|
|
53
57
|
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
54
58
|
* <p>The request was rejected because it attempted to create a resource that already
|
|
55
59
|
* exists.</p>
|
|
@@ -24,8 +24,9 @@ export interface ListAccountAliasesCommandOutput extends ListAccountAliasesRespo
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Lists the account alias associated with the Amazon Web Services account (Note: you can have only
|
|
27
|
-
* one). For information about using an Amazon Web Services account alias, see <a href="https://docs.aws.amazon.com/
|
|
28
|
-
* Amazon Web Services account
|
|
27
|
+
* one). For information about using an Amazon Web Services account alias, see <a href="https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html">Creating,
|
|
28
|
+
* deleting, and listing an Amazon Web Services account alias</a> in the <i>Amazon Web Services Sign-In
|
|
29
|
+
* User Guide</i>.</p>
|
|
29
30
|
* @example
|
|
30
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
32
|
* ```javascript
|
|
@@ -51,6 +51,10 @@ export interface ResyncMFADeviceCommandOutput extends __MetadataBearer {
|
|
|
51
51
|
* @see {@link ResyncMFADeviceCommandOutput} for command's `response` shape.
|
|
52
52
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
53
53
|
*
|
|
54
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
55
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
56
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
57
|
+
*
|
|
54
58
|
* @throws {@link InvalidAuthenticationCodeException} (client fault)
|
|
55
59
|
* <p>The request was rejected because the authentication code was not recognized. The error
|
|
56
60
|
* message describes the specific error.</p>
|
|
@@ -73,6 +73,10 @@ export interface UploadSigningCertificateCommandOutput extends UploadSigningCert
|
|
|
73
73
|
* @see {@link UploadSigningCertificateCommandOutput} for command's `response` shape.
|
|
74
74
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
75
75
|
*
|
|
76
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
77
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
78
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
79
|
+
*
|
|
76
80
|
* @throws {@link DuplicateCertificateException} (client fault)
|
|
77
81
|
* <p>The request was rejected because the same certificate is associated with an IAM user in
|
|
78
82
|
* the account.</p>
|
|
@@ -533,6 +533,19 @@ export interface CreateAccessKeyResponse {
|
|
|
533
533
|
*/
|
|
534
534
|
AccessKey: AccessKey | undefined;
|
|
535
535
|
}
|
|
536
|
+
/**
|
|
537
|
+
* @public
|
|
538
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
539
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
540
|
+
*/
|
|
541
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
542
|
+
readonly name: "ConcurrentModificationException";
|
|
543
|
+
readonly $fault: "client";
|
|
544
|
+
/**
|
|
545
|
+
* @internal
|
|
546
|
+
*/
|
|
547
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
548
|
+
}
|
|
536
549
|
/**
|
|
537
550
|
* @public
|
|
538
551
|
*/
|
|
@@ -627,19 +640,6 @@ export interface CreateGroupResponse {
|
|
|
627
640
|
*/
|
|
628
641
|
Group: Group | undefined;
|
|
629
642
|
}
|
|
630
|
-
/**
|
|
631
|
-
* @public
|
|
632
|
-
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
633
|
-
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
634
|
-
*/
|
|
635
|
-
export declare class ConcurrentModificationException extends __BaseException {
|
|
636
|
-
readonly name: "ConcurrentModificationException";
|
|
637
|
-
readonly $fault: "client";
|
|
638
|
-
/**
|
|
639
|
-
* @internal
|
|
640
|
-
*/
|
|
641
|
-
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
642
|
-
}
|
|
643
643
|
/**
|
|
644
644
|
* @public
|
|
645
645
|
* <p>A structure that represents user-provided metadata that can be associated with an IAM
|
|
@@ -1718,7 +1718,7 @@ export interface VirtualMFADevice {
|
|
|
1718
1718
|
*/
|
|
1719
1719
|
SerialNumber: string | undefined;
|
|
1720
1720
|
/**
|
|
1721
|
-
* <p> The base32 seed defined as specified in <a href="https://tools.ietf.org/html/rfc3548.txt">RFC3548</a>. The <code>Base32StringSeed</code> is
|
|
1721
|
+
* <p> The base32 seed defined as specified in <a href="https://tools.ietf.org/html/rfc3548.txt">RFC3548</a>. The <code>Base32StringSeed</code> is base32-encoded. </p>
|
|
1722
1722
|
*/
|
|
1723
1723
|
Base32StringSeed?: Uint8Array;
|
|
1724
1724
|
/**
|
|
@@ -167,6 +167,16 @@ export interface CreateAccessKeyRequest {
|
|
|
167
167
|
export interface CreateAccessKeyResponse {
|
|
168
168
|
AccessKey: AccessKey | undefined;
|
|
169
169
|
}
|
|
170
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
171
|
+
readonly name: "ConcurrentModificationException";
|
|
172
|
+
readonly $fault: "client";
|
|
173
|
+
constructor(
|
|
174
|
+
opts: __ExceptionOptionType<
|
|
175
|
+
ConcurrentModificationException,
|
|
176
|
+
__BaseException
|
|
177
|
+
>
|
|
178
|
+
);
|
|
179
|
+
}
|
|
170
180
|
export interface CreateAccountAliasRequest {
|
|
171
181
|
AccountAlias: string | undefined;
|
|
172
182
|
}
|
|
@@ -184,16 +194,6 @@ export interface Group {
|
|
|
184
194
|
export interface CreateGroupResponse {
|
|
185
195
|
Group: Group | undefined;
|
|
186
196
|
}
|
|
187
|
-
export declare class ConcurrentModificationException extends __BaseException {
|
|
188
|
-
readonly name: "ConcurrentModificationException";
|
|
189
|
-
readonly $fault: "client";
|
|
190
|
-
constructor(
|
|
191
|
-
opts: __ExceptionOptionType<
|
|
192
|
-
ConcurrentModificationException,
|
|
193
|
-
__BaseException
|
|
194
|
-
>
|
|
195
|
-
);
|
|
196
|
-
}
|
|
197
197
|
export interface Tag {
|
|
198
198
|
Key: string | undefined;
|
|
199
199
|
Value: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iam",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.347.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.347.1",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.347.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.347.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.347.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.347.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.347.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.347.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.347.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.347.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.347.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.347.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.347.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.347.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.347.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.347.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.347.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.347.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.347.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.347.0",
|
|
43
|
+
"@aws-sdk/types": "3.347.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.347.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.347.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.347.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.347.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.347.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.347.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.347.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
55
|
+
"@aws-sdk/util-waiter": "3.347.0",
|
|
56
56
|
"@smithy/protocol-http": "^1.0.1",
|
|
57
57
|
"@smithy/types": "^1.0.0",
|
|
58
|
-
"fast-xml-parser": "4.
|
|
58
|
+
"fast-xml-parser": "4.2.4",
|
|
59
59
|
"tslib": "^2.5.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|