@aws-sdk/client-iam 3.525.0 → 3.529.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/index.js +88 -121
- package/dist-es/protocols/Aws_query.js +2 -34
- package/package.json +4 -5
package/dist-cjs/index.js
CHANGED
|
@@ -441,9 +441,9 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
441
441
|
var import_types = require("@smithy/types");
|
|
442
442
|
|
|
443
443
|
// src/protocols/Aws_query.ts
|
|
444
|
+
var import_core2 = require("@aws-sdk/core");
|
|
444
445
|
|
|
445
446
|
|
|
446
|
-
var import_fast_xml_parser = require("fast-xml-parser");
|
|
447
447
|
|
|
448
448
|
// src/models/IAMServiceException.ts
|
|
449
449
|
|
|
@@ -2765,7 +2765,7 @@ var de_CreateAccessKeyCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2765
2765
|
if (output.statusCode >= 300) {
|
|
2766
2766
|
return de_CommandError(output, context);
|
|
2767
2767
|
}
|
|
2768
|
-
const data = await
|
|
2768
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2769
2769
|
let contents = {};
|
|
2770
2770
|
contents = de_CreateAccessKeyResponse(data.CreateAccessKeyResult, context);
|
|
2771
2771
|
const response = {
|
|
@@ -2788,7 +2788,7 @@ var de_CreateGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2788
2788
|
if (output.statusCode >= 300) {
|
|
2789
2789
|
return de_CommandError(output, context);
|
|
2790
2790
|
}
|
|
2791
|
-
const data = await
|
|
2791
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2792
2792
|
let contents = {};
|
|
2793
2793
|
contents = de_CreateGroupResponse(data.CreateGroupResult, context);
|
|
2794
2794
|
const response = {
|
|
@@ -2801,7 +2801,7 @@ var de_CreateInstanceProfileCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2801
2801
|
if (output.statusCode >= 300) {
|
|
2802
2802
|
return de_CommandError(output, context);
|
|
2803
2803
|
}
|
|
2804
|
-
const data = await
|
|
2804
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2805
2805
|
let contents = {};
|
|
2806
2806
|
contents = de_CreateInstanceProfileResponse(data.CreateInstanceProfileResult, context);
|
|
2807
2807
|
const response = {
|
|
@@ -2814,7 +2814,7 @@ var de_CreateLoginProfileCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2814
2814
|
if (output.statusCode >= 300) {
|
|
2815
2815
|
return de_CommandError(output, context);
|
|
2816
2816
|
}
|
|
2817
|
-
const data = await
|
|
2817
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2818
2818
|
let contents = {};
|
|
2819
2819
|
contents = de_CreateLoginProfileResponse(data.CreateLoginProfileResult, context);
|
|
2820
2820
|
const response = {
|
|
@@ -2827,7 +2827,7 @@ var de_CreateOpenIDConnectProviderCommand = /* @__PURE__ */ __name(async (output
|
|
|
2827
2827
|
if (output.statusCode >= 300) {
|
|
2828
2828
|
return de_CommandError(output, context);
|
|
2829
2829
|
}
|
|
2830
|
-
const data = await
|
|
2830
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2831
2831
|
let contents = {};
|
|
2832
2832
|
contents = de_CreateOpenIDConnectProviderResponse(data.CreateOpenIDConnectProviderResult, context);
|
|
2833
2833
|
const response = {
|
|
@@ -2840,7 +2840,7 @@ var de_CreatePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2840
2840
|
if (output.statusCode >= 300) {
|
|
2841
2841
|
return de_CommandError(output, context);
|
|
2842
2842
|
}
|
|
2843
|
-
const data = await
|
|
2843
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2844
2844
|
let contents = {};
|
|
2845
2845
|
contents = de_CreatePolicyResponse(data.CreatePolicyResult, context);
|
|
2846
2846
|
const response = {
|
|
@@ -2853,7 +2853,7 @@ var de_CreatePolicyVersionCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2853
2853
|
if (output.statusCode >= 300) {
|
|
2854
2854
|
return de_CommandError(output, context);
|
|
2855
2855
|
}
|
|
2856
|
-
const data = await
|
|
2856
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2857
2857
|
let contents = {};
|
|
2858
2858
|
contents = de_CreatePolicyVersionResponse(data.CreatePolicyVersionResult, context);
|
|
2859
2859
|
const response = {
|
|
@@ -2866,7 +2866,7 @@ var de_CreateRoleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2866
2866
|
if (output.statusCode >= 300) {
|
|
2867
2867
|
return de_CommandError(output, context);
|
|
2868
2868
|
}
|
|
2869
|
-
const data = await
|
|
2869
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2870
2870
|
let contents = {};
|
|
2871
2871
|
contents = de_CreateRoleResponse(data.CreateRoleResult, context);
|
|
2872
2872
|
const response = {
|
|
@@ -2879,7 +2879,7 @@ var de_CreateSAMLProviderCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2879
2879
|
if (output.statusCode >= 300) {
|
|
2880
2880
|
return de_CommandError(output, context);
|
|
2881
2881
|
}
|
|
2882
|
-
const data = await
|
|
2882
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2883
2883
|
let contents = {};
|
|
2884
2884
|
contents = de_CreateSAMLProviderResponse(data.CreateSAMLProviderResult, context);
|
|
2885
2885
|
const response = {
|
|
@@ -2892,7 +2892,7 @@ var de_CreateServiceLinkedRoleCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2892
2892
|
if (output.statusCode >= 300) {
|
|
2893
2893
|
return de_CommandError(output, context);
|
|
2894
2894
|
}
|
|
2895
|
-
const data = await
|
|
2895
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2896
2896
|
let contents = {};
|
|
2897
2897
|
contents = de_CreateServiceLinkedRoleResponse(data.CreateServiceLinkedRoleResult, context);
|
|
2898
2898
|
const response = {
|
|
@@ -2905,7 +2905,7 @@ var de_CreateServiceSpecificCredentialCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2905
2905
|
if (output.statusCode >= 300) {
|
|
2906
2906
|
return de_CommandError(output, context);
|
|
2907
2907
|
}
|
|
2908
|
-
const data = await
|
|
2908
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2909
2909
|
let contents = {};
|
|
2910
2910
|
contents = de_CreateServiceSpecificCredentialResponse(data.CreateServiceSpecificCredentialResult, context);
|
|
2911
2911
|
const response = {
|
|
@@ -2918,7 +2918,7 @@ var de_CreateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2918
2918
|
if (output.statusCode >= 300) {
|
|
2919
2919
|
return de_CommandError(output, context);
|
|
2920
2920
|
}
|
|
2921
|
-
const data = await
|
|
2921
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2922
2922
|
let contents = {};
|
|
2923
2923
|
contents = de_CreateUserResponse(data.CreateUserResult, context);
|
|
2924
2924
|
const response = {
|
|
@@ -2931,7 +2931,7 @@ var de_CreateVirtualMFADeviceCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2931
2931
|
if (output.statusCode >= 300) {
|
|
2932
2932
|
return de_CommandError(output, context);
|
|
2933
2933
|
}
|
|
2934
|
-
const data = await
|
|
2934
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
2935
2935
|
let contents = {};
|
|
2936
2936
|
contents = de_CreateVirtualMFADeviceResponse(data.CreateVirtualMFADeviceResult, context);
|
|
2937
2937
|
const response = {
|
|
@@ -3104,7 +3104,7 @@ var de_DeleteServiceLinkedRoleCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3104
3104
|
if (output.statusCode >= 300) {
|
|
3105
3105
|
return de_CommandError(output, context);
|
|
3106
3106
|
}
|
|
3107
|
-
const data = await
|
|
3107
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3108
3108
|
let contents = {};
|
|
3109
3109
|
contents = de_DeleteServiceLinkedRoleResponse(data.DeleteServiceLinkedRoleResult, context);
|
|
3110
3110
|
const response = {
|
|
@@ -3227,7 +3227,7 @@ var de_GenerateCredentialReportCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3227
3227
|
if (output.statusCode >= 300) {
|
|
3228
3228
|
return de_CommandError(output, context);
|
|
3229
3229
|
}
|
|
3230
|
-
const data = await
|
|
3230
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3231
3231
|
let contents = {};
|
|
3232
3232
|
contents = de_GenerateCredentialReportResponse(data.GenerateCredentialReportResult, context);
|
|
3233
3233
|
const response = {
|
|
@@ -3240,7 +3240,7 @@ var de_GenerateOrganizationsAccessReportCommand = /* @__PURE__ */ __name(async (
|
|
|
3240
3240
|
if (output.statusCode >= 300) {
|
|
3241
3241
|
return de_CommandError(output, context);
|
|
3242
3242
|
}
|
|
3243
|
-
const data = await
|
|
3243
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3244
3244
|
let contents = {};
|
|
3245
3245
|
contents = de_GenerateOrganizationsAccessReportResponse(data.GenerateOrganizationsAccessReportResult, context);
|
|
3246
3246
|
const response = {
|
|
@@ -3253,7 +3253,7 @@ var de_GenerateServiceLastAccessedDetailsCommand = /* @__PURE__ */ __name(async
|
|
|
3253
3253
|
if (output.statusCode >= 300) {
|
|
3254
3254
|
return de_CommandError(output, context);
|
|
3255
3255
|
}
|
|
3256
|
-
const data = await
|
|
3256
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3257
3257
|
let contents = {};
|
|
3258
3258
|
contents = de_GenerateServiceLastAccessedDetailsResponse(data.GenerateServiceLastAccessedDetailsResult, context);
|
|
3259
3259
|
const response = {
|
|
@@ -3266,7 +3266,7 @@ var de_GetAccessKeyLastUsedCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3266
3266
|
if (output.statusCode >= 300) {
|
|
3267
3267
|
return de_CommandError(output, context);
|
|
3268
3268
|
}
|
|
3269
|
-
const data = await
|
|
3269
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3270
3270
|
let contents = {};
|
|
3271
3271
|
contents = de_GetAccessKeyLastUsedResponse(data.GetAccessKeyLastUsedResult, context);
|
|
3272
3272
|
const response = {
|
|
@@ -3279,7 +3279,7 @@ var de_GetAccountAuthorizationDetailsCommand = /* @__PURE__ */ __name(async (out
|
|
|
3279
3279
|
if (output.statusCode >= 300) {
|
|
3280
3280
|
return de_CommandError(output, context);
|
|
3281
3281
|
}
|
|
3282
|
-
const data = await
|
|
3282
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3283
3283
|
let contents = {};
|
|
3284
3284
|
contents = de_GetAccountAuthorizationDetailsResponse(data.GetAccountAuthorizationDetailsResult, context);
|
|
3285
3285
|
const response = {
|
|
@@ -3292,7 +3292,7 @@ var de_GetAccountPasswordPolicyCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3292
3292
|
if (output.statusCode >= 300) {
|
|
3293
3293
|
return de_CommandError(output, context);
|
|
3294
3294
|
}
|
|
3295
|
-
const data = await
|
|
3295
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3296
3296
|
let contents = {};
|
|
3297
3297
|
contents = de_GetAccountPasswordPolicyResponse(data.GetAccountPasswordPolicyResult, context);
|
|
3298
3298
|
const response = {
|
|
@@ -3305,7 +3305,7 @@ var de_GetAccountSummaryCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3305
3305
|
if (output.statusCode >= 300) {
|
|
3306
3306
|
return de_CommandError(output, context);
|
|
3307
3307
|
}
|
|
3308
|
-
const data = await
|
|
3308
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3309
3309
|
let contents = {};
|
|
3310
3310
|
contents = de_GetAccountSummaryResponse(data.GetAccountSummaryResult, context);
|
|
3311
3311
|
const response = {
|
|
@@ -3318,7 +3318,7 @@ var de_GetContextKeysForCustomPolicyCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3318
3318
|
if (output.statusCode >= 300) {
|
|
3319
3319
|
return de_CommandError(output, context);
|
|
3320
3320
|
}
|
|
3321
|
-
const data = await
|
|
3321
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3322
3322
|
let contents = {};
|
|
3323
3323
|
contents = de_GetContextKeysForPolicyResponse(data.GetContextKeysForCustomPolicyResult, context);
|
|
3324
3324
|
const response = {
|
|
@@ -3331,7 +3331,7 @@ var de_GetContextKeysForPrincipalPolicyCommand = /* @__PURE__ */ __name(async (o
|
|
|
3331
3331
|
if (output.statusCode >= 300) {
|
|
3332
3332
|
return de_CommandError(output, context);
|
|
3333
3333
|
}
|
|
3334
|
-
const data = await
|
|
3334
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3335
3335
|
let contents = {};
|
|
3336
3336
|
contents = de_GetContextKeysForPolicyResponse(data.GetContextKeysForPrincipalPolicyResult, context);
|
|
3337
3337
|
const response = {
|
|
@@ -3344,7 +3344,7 @@ var de_GetCredentialReportCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3344
3344
|
if (output.statusCode >= 300) {
|
|
3345
3345
|
return de_CommandError(output, context);
|
|
3346
3346
|
}
|
|
3347
|
-
const data = await
|
|
3347
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3348
3348
|
let contents = {};
|
|
3349
3349
|
contents = de_GetCredentialReportResponse(data.GetCredentialReportResult, context);
|
|
3350
3350
|
const response = {
|
|
@@ -3357,7 +3357,7 @@ var de_GetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3357
3357
|
if (output.statusCode >= 300) {
|
|
3358
3358
|
return de_CommandError(output, context);
|
|
3359
3359
|
}
|
|
3360
|
-
const data = await
|
|
3360
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3361
3361
|
let contents = {};
|
|
3362
3362
|
contents = de_GetGroupResponse(data.GetGroupResult, context);
|
|
3363
3363
|
const response = {
|
|
@@ -3370,7 +3370,7 @@ var de_GetGroupPolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3370
3370
|
if (output.statusCode >= 300) {
|
|
3371
3371
|
return de_CommandError(output, context);
|
|
3372
3372
|
}
|
|
3373
|
-
const data = await
|
|
3373
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3374
3374
|
let contents = {};
|
|
3375
3375
|
contents = de_GetGroupPolicyResponse(data.GetGroupPolicyResult, context);
|
|
3376
3376
|
const response = {
|
|
@@ -3383,7 +3383,7 @@ var de_GetInstanceProfileCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3383
3383
|
if (output.statusCode >= 300) {
|
|
3384
3384
|
return de_CommandError(output, context);
|
|
3385
3385
|
}
|
|
3386
|
-
const data = await
|
|
3386
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3387
3387
|
let contents = {};
|
|
3388
3388
|
contents = de_GetInstanceProfileResponse(data.GetInstanceProfileResult, context);
|
|
3389
3389
|
const response = {
|
|
@@ -3396,7 +3396,7 @@ var de_GetLoginProfileCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3396
3396
|
if (output.statusCode >= 300) {
|
|
3397
3397
|
return de_CommandError(output, context);
|
|
3398
3398
|
}
|
|
3399
|
-
const data = await
|
|
3399
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3400
3400
|
let contents = {};
|
|
3401
3401
|
contents = de_GetLoginProfileResponse(data.GetLoginProfileResult, context);
|
|
3402
3402
|
const response = {
|
|
@@ -3409,7 +3409,7 @@ var de_GetMFADeviceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3409
3409
|
if (output.statusCode >= 300) {
|
|
3410
3410
|
return de_CommandError(output, context);
|
|
3411
3411
|
}
|
|
3412
|
-
const data = await
|
|
3412
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3413
3413
|
let contents = {};
|
|
3414
3414
|
contents = de_GetMFADeviceResponse(data.GetMFADeviceResult, context);
|
|
3415
3415
|
const response = {
|
|
@@ -3422,7 +3422,7 @@ var de_GetOpenIDConnectProviderCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3422
3422
|
if (output.statusCode >= 300) {
|
|
3423
3423
|
return de_CommandError(output, context);
|
|
3424
3424
|
}
|
|
3425
|
-
const data = await
|
|
3425
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3426
3426
|
let contents = {};
|
|
3427
3427
|
contents = de_GetOpenIDConnectProviderResponse(data.GetOpenIDConnectProviderResult, context);
|
|
3428
3428
|
const response = {
|
|
@@ -3435,7 +3435,7 @@ var de_GetOrganizationsAccessReportCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
3435
3435
|
if (output.statusCode >= 300) {
|
|
3436
3436
|
return de_CommandError(output, context);
|
|
3437
3437
|
}
|
|
3438
|
-
const data = await
|
|
3438
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3439
3439
|
let contents = {};
|
|
3440
3440
|
contents = de_GetOrganizationsAccessReportResponse(data.GetOrganizationsAccessReportResult, context);
|
|
3441
3441
|
const response = {
|
|
@@ -3448,7 +3448,7 @@ var de_GetPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3448
3448
|
if (output.statusCode >= 300) {
|
|
3449
3449
|
return de_CommandError(output, context);
|
|
3450
3450
|
}
|
|
3451
|
-
const data = await
|
|
3451
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3452
3452
|
let contents = {};
|
|
3453
3453
|
contents = de_GetPolicyResponse(data.GetPolicyResult, context);
|
|
3454
3454
|
const response = {
|
|
@@ -3461,7 +3461,7 @@ var de_GetPolicyVersionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3461
3461
|
if (output.statusCode >= 300) {
|
|
3462
3462
|
return de_CommandError(output, context);
|
|
3463
3463
|
}
|
|
3464
|
-
const data = await
|
|
3464
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3465
3465
|
let contents = {};
|
|
3466
3466
|
contents = de_GetPolicyVersionResponse(data.GetPolicyVersionResult, context);
|
|
3467
3467
|
const response = {
|
|
@@ -3474,7 +3474,7 @@ var de_GetRoleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3474
3474
|
if (output.statusCode >= 300) {
|
|
3475
3475
|
return de_CommandError(output, context);
|
|
3476
3476
|
}
|
|
3477
|
-
const data = await
|
|
3477
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3478
3478
|
let contents = {};
|
|
3479
3479
|
contents = de_GetRoleResponse(data.GetRoleResult, context);
|
|
3480
3480
|
const response = {
|
|
@@ -3487,7 +3487,7 @@ var de_GetRolePolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3487
3487
|
if (output.statusCode >= 300) {
|
|
3488
3488
|
return de_CommandError(output, context);
|
|
3489
3489
|
}
|
|
3490
|
-
const data = await
|
|
3490
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3491
3491
|
let contents = {};
|
|
3492
3492
|
contents = de_GetRolePolicyResponse(data.GetRolePolicyResult, context);
|
|
3493
3493
|
const response = {
|
|
@@ -3500,7 +3500,7 @@ var de_GetSAMLProviderCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3500
3500
|
if (output.statusCode >= 300) {
|
|
3501
3501
|
return de_CommandError(output, context);
|
|
3502
3502
|
}
|
|
3503
|
-
const data = await
|
|
3503
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3504
3504
|
let contents = {};
|
|
3505
3505
|
contents = de_GetSAMLProviderResponse(data.GetSAMLProviderResult, context);
|
|
3506
3506
|
const response = {
|
|
@@ -3513,7 +3513,7 @@ var de_GetServerCertificateCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3513
3513
|
if (output.statusCode >= 300) {
|
|
3514
3514
|
return de_CommandError(output, context);
|
|
3515
3515
|
}
|
|
3516
|
-
const data = await
|
|
3516
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3517
3517
|
let contents = {};
|
|
3518
3518
|
contents = de_GetServerCertificateResponse(data.GetServerCertificateResult, context);
|
|
3519
3519
|
const response = {
|
|
@@ -3526,7 +3526,7 @@ var de_GetServiceLastAccessedDetailsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3526
3526
|
if (output.statusCode >= 300) {
|
|
3527
3527
|
return de_CommandError(output, context);
|
|
3528
3528
|
}
|
|
3529
|
-
const data = await
|
|
3529
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3530
3530
|
let contents = {};
|
|
3531
3531
|
contents = de_GetServiceLastAccessedDetailsResponse(data.GetServiceLastAccessedDetailsResult, context);
|
|
3532
3532
|
const response = {
|
|
@@ -3539,7 +3539,7 @@ var de_GetServiceLastAccessedDetailsWithEntitiesCommand = /* @__PURE__ */ __name
|
|
|
3539
3539
|
if (output.statusCode >= 300) {
|
|
3540
3540
|
return de_CommandError(output, context);
|
|
3541
3541
|
}
|
|
3542
|
-
const data = await
|
|
3542
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3543
3543
|
let contents = {};
|
|
3544
3544
|
contents = de_GetServiceLastAccessedDetailsWithEntitiesResponse(
|
|
3545
3545
|
data.GetServiceLastAccessedDetailsWithEntitiesResult,
|
|
@@ -3555,7 +3555,7 @@ var de_GetServiceLinkedRoleDeletionStatusCommand = /* @__PURE__ */ __name(async
|
|
|
3555
3555
|
if (output.statusCode >= 300) {
|
|
3556
3556
|
return de_CommandError(output, context);
|
|
3557
3557
|
}
|
|
3558
|
-
const data = await
|
|
3558
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3559
3559
|
let contents = {};
|
|
3560
3560
|
contents = de_GetServiceLinkedRoleDeletionStatusResponse(data.GetServiceLinkedRoleDeletionStatusResult, context);
|
|
3561
3561
|
const response = {
|
|
@@ -3568,7 +3568,7 @@ var de_GetSSHPublicKeyCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3568
3568
|
if (output.statusCode >= 300) {
|
|
3569
3569
|
return de_CommandError(output, context);
|
|
3570
3570
|
}
|
|
3571
|
-
const data = await
|
|
3571
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3572
3572
|
let contents = {};
|
|
3573
3573
|
contents = de_GetSSHPublicKeyResponse(data.GetSSHPublicKeyResult, context);
|
|
3574
3574
|
const response = {
|
|
@@ -3581,7 +3581,7 @@ var de_GetUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3581
3581
|
if (output.statusCode >= 300) {
|
|
3582
3582
|
return de_CommandError(output, context);
|
|
3583
3583
|
}
|
|
3584
|
-
const data = await
|
|
3584
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3585
3585
|
let contents = {};
|
|
3586
3586
|
contents = de_GetUserResponse(data.GetUserResult, context);
|
|
3587
3587
|
const response = {
|
|
@@ -3594,7 +3594,7 @@ var de_GetUserPolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3594
3594
|
if (output.statusCode >= 300) {
|
|
3595
3595
|
return de_CommandError(output, context);
|
|
3596
3596
|
}
|
|
3597
|
-
const data = await
|
|
3597
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3598
3598
|
let contents = {};
|
|
3599
3599
|
contents = de_GetUserPolicyResponse(data.GetUserPolicyResult, context);
|
|
3600
3600
|
const response = {
|
|
@@ -3607,7 +3607,7 @@ var de_ListAccessKeysCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3607
3607
|
if (output.statusCode >= 300) {
|
|
3608
3608
|
return de_CommandError(output, context);
|
|
3609
3609
|
}
|
|
3610
|
-
const data = await
|
|
3610
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3611
3611
|
let contents = {};
|
|
3612
3612
|
contents = de_ListAccessKeysResponse(data.ListAccessKeysResult, context);
|
|
3613
3613
|
const response = {
|
|
@@ -3620,7 +3620,7 @@ var de_ListAccountAliasesCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3620
3620
|
if (output.statusCode >= 300) {
|
|
3621
3621
|
return de_CommandError(output, context);
|
|
3622
3622
|
}
|
|
3623
|
-
const data = await
|
|
3623
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3624
3624
|
let contents = {};
|
|
3625
3625
|
contents = de_ListAccountAliasesResponse(data.ListAccountAliasesResult, context);
|
|
3626
3626
|
const response = {
|
|
@@ -3633,7 +3633,7 @@ var de_ListAttachedGroupPoliciesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3633
3633
|
if (output.statusCode >= 300) {
|
|
3634
3634
|
return de_CommandError(output, context);
|
|
3635
3635
|
}
|
|
3636
|
-
const data = await
|
|
3636
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3637
3637
|
let contents = {};
|
|
3638
3638
|
contents = de_ListAttachedGroupPoliciesResponse(data.ListAttachedGroupPoliciesResult, context);
|
|
3639
3639
|
const response = {
|
|
@@ -3646,7 +3646,7 @@ var de_ListAttachedRolePoliciesCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3646
3646
|
if (output.statusCode >= 300) {
|
|
3647
3647
|
return de_CommandError(output, context);
|
|
3648
3648
|
}
|
|
3649
|
-
const data = await
|
|
3649
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3650
3650
|
let contents = {};
|
|
3651
3651
|
contents = de_ListAttachedRolePoliciesResponse(data.ListAttachedRolePoliciesResult, context);
|
|
3652
3652
|
const response = {
|
|
@@ -3659,7 +3659,7 @@ var de_ListAttachedUserPoliciesCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3659
3659
|
if (output.statusCode >= 300) {
|
|
3660
3660
|
return de_CommandError(output, context);
|
|
3661
3661
|
}
|
|
3662
|
-
const data = await
|
|
3662
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3663
3663
|
let contents = {};
|
|
3664
3664
|
contents = de_ListAttachedUserPoliciesResponse(data.ListAttachedUserPoliciesResult, context);
|
|
3665
3665
|
const response = {
|
|
@@ -3672,7 +3672,7 @@ var de_ListEntitiesForPolicyCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3672
3672
|
if (output.statusCode >= 300) {
|
|
3673
3673
|
return de_CommandError(output, context);
|
|
3674
3674
|
}
|
|
3675
|
-
const data = await
|
|
3675
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3676
3676
|
let contents = {};
|
|
3677
3677
|
contents = de_ListEntitiesForPolicyResponse(data.ListEntitiesForPolicyResult, context);
|
|
3678
3678
|
const response = {
|
|
@@ -3685,7 +3685,7 @@ var de_ListGroupPoliciesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3685
3685
|
if (output.statusCode >= 300) {
|
|
3686
3686
|
return de_CommandError(output, context);
|
|
3687
3687
|
}
|
|
3688
|
-
const data = await
|
|
3688
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3689
3689
|
let contents = {};
|
|
3690
3690
|
contents = de_ListGroupPoliciesResponse(data.ListGroupPoliciesResult, context);
|
|
3691
3691
|
const response = {
|
|
@@ -3698,7 +3698,7 @@ var de_ListGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3698
3698
|
if (output.statusCode >= 300) {
|
|
3699
3699
|
return de_CommandError(output, context);
|
|
3700
3700
|
}
|
|
3701
|
-
const data = await
|
|
3701
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3702
3702
|
let contents = {};
|
|
3703
3703
|
contents = de_ListGroupsResponse(data.ListGroupsResult, context);
|
|
3704
3704
|
const response = {
|
|
@@ -3711,7 +3711,7 @@ var de_ListGroupsForUserCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3711
3711
|
if (output.statusCode >= 300) {
|
|
3712
3712
|
return de_CommandError(output, context);
|
|
3713
3713
|
}
|
|
3714
|
-
const data = await
|
|
3714
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3715
3715
|
let contents = {};
|
|
3716
3716
|
contents = de_ListGroupsForUserResponse(data.ListGroupsForUserResult, context);
|
|
3717
3717
|
const response = {
|
|
@@ -3724,7 +3724,7 @@ var de_ListInstanceProfilesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3724
3724
|
if (output.statusCode >= 300) {
|
|
3725
3725
|
return de_CommandError(output, context);
|
|
3726
3726
|
}
|
|
3727
|
-
const data = await
|
|
3727
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3728
3728
|
let contents = {};
|
|
3729
3729
|
contents = de_ListInstanceProfilesResponse(data.ListInstanceProfilesResult, context);
|
|
3730
3730
|
const response = {
|
|
@@ -3737,7 +3737,7 @@ var de_ListInstanceProfilesForRoleCommand = /* @__PURE__ */ __name(async (output
|
|
|
3737
3737
|
if (output.statusCode >= 300) {
|
|
3738
3738
|
return de_CommandError(output, context);
|
|
3739
3739
|
}
|
|
3740
|
-
const data = await
|
|
3740
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3741
3741
|
let contents = {};
|
|
3742
3742
|
contents = de_ListInstanceProfilesForRoleResponse(data.ListInstanceProfilesForRoleResult, context);
|
|
3743
3743
|
const response = {
|
|
@@ -3750,7 +3750,7 @@ var de_ListInstanceProfileTagsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3750
3750
|
if (output.statusCode >= 300) {
|
|
3751
3751
|
return de_CommandError(output, context);
|
|
3752
3752
|
}
|
|
3753
|
-
const data = await
|
|
3753
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3754
3754
|
let contents = {};
|
|
3755
3755
|
contents = de_ListInstanceProfileTagsResponse(data.ListInstanceProfileTagsResult, context);
|
|
3756
3756
|
const response = {
|
|
@@ -3763,7 +3763,7 @@ var de_ListMFADevicesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3763
3763
|
if (output.statusCode >= 300) {
|
|
3764
3764
|
return de_CommandError(output, context);
|
|
3765
3765
|
}
|
|
3766
|
-
const data = await
|
|
3766
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3767
3767
|
let contents = {};
|
|
3768
3768
|
contents = de_ListMFADevicesResponse(data.ListMFADevicesResult, context);
|
|
3769
3769
|
const response = {
|
|
@@ -3776,7 +3776,7 @@ var de_ListMFADeviceTagsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3776
3776
|
if (output.statusCode >= 300) {
|
|
3777
3777
|
return de_CommandError(output, context);
|
|
3778
3778
|
}
|
|
3779
|
-
const data = await
|
|
3779
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3780
3780
|
let contents = {};
|
|
3781
3781
|
contents = de_ListMFADeviceTagsResponse(data.ListMFADeviceTagsResult, context);
|
|
3782
3782
|
const response = {
|
|
@@ -3789,7 +3789,7 @@ var de_ListOpenIDConnectProvidersCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3789
3789
|
if (output.statusCode >= 300) {
|
|
3790
3790
|
return de_CommandError(output, context);
|
|
3791
3791
|
}
|
|
3792
|
-
const data = await
|
|
3792
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3793
3793
|
let contents = {};
|
|
3794
3794
|
contents = de_ListOpenIDConnectProvidersResponse(data.ListOpenIDConnectProvidersResult, context);
|
|
3795
3795
|
const response = {
|
|
@@ -3802,7 +3802,7 @@ var de_ListOpenIDConnectProviderTagsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3802
3802
|
if (output.statusCode >= 300) {
|
|
3803
3803
|
return de_CommandError(output, context);
|
|
3804
3804
|
}
|
|
3805
|
-
const data = await
|
|
3805
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3806
3806
|
let contents = {};
|
|
3807
3807
|
contents = de_ListOpenIDConnectProviderTagsResponse(data.ListOpenIDConnectProviderTagsResult, context);
|
|
3808
3808
|
const response = {
|
|
@@ -3815,7 +3815,7 @@ var de_ListPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3815
3815
|
if (output.statusCode >= 300) {
|
|
3816
3816
|
return de_CommandError(output, context);
|
|
3817
3817
|
}
|
|
3818
|
-
const data = await
|
|
3818
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3819
3819
|
let contents = {};
|
|
3820
3820
|
contents = de_ListPoliciesResponse(data.ListPoliciesResult, context);
|
|
3821
3821
|
const response = {
|
|
@@ -3828,7 +3828,7 @@ var de_ListPoliciesGrantingServiceAccessCommand = /* @__PURE__ */ __name(async (
|
|
|
3828
3828
|
if (output.statusCode >= 300) {
|
|
3829
3829
|
return de_CommandError(output, context);
|
|
3830
3830
|
}
|
|
3831
|
-
const data = await
|
|
3831
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3832
3832
|
let contents = {};
|
|
3833
3833
|
contents = de_ListPoliciesGrantingServiceAccessResponse(data.ListPoliciesGrantingServiceAccessResult, context);
|
|
3834
3834
|
const response = {
|
|
@@ -3841,7 +3841,7 @@ var de_ListPolicyTagsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3841
3841
|
if (output.statusCode >= 300) {
|
|
3842
3842
|
return de_CommandError(output, context);
|
|
3843
3843
|
}
|
|
3844
|
-
const data = await
|
|
3844
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3845
3845
|
let contents = {};
|
|
3846
3846
|
contents = de_ListPolicyTagsResponse(data.ListPolicyTagsResult, context);
|
|
3847
3847
|
const response = {
|
|
@@ -3854,7 +3854,7 @@ var de_ListPolicyVersionsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3854
3854
|
if (output.statusCode >= 300) {
|
|
3855
3855
|
return de_CommandError(output, context);
|
|
3856
3856
|
}
|
|
3857
|
-
const data = await
|
|
3857
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3858
3858
|
let contents = {};
|
|
3859
3859
|
contents = de_ListPolicyVersionsResponse(data.ListPolicyVersionsResult, context);
|
|
3860
3860
|
const response = {
|
|
@@ -3867,7 +3867,7 @@ var de_ListRolePoliciesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3867
3867
|
if (output.statusCode >= 300) {
|
|
3868
3868
|
return de_CommandError(output, context);
|
|
3869
3869
|
}
|
|
3870
|
-
const data = await
|
|
3870
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3871
3871
|
let contents = {};
|
|
3872
3872
|
contents = de_ListRolePoliciesResponse(data.ListRolePoliciesResult, context);
|
|
3873
3873
|
const response = {
|
|
@@ -3880,7 +3880,7 @@ var de_ListRolesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3880
3880
|
if (output.statusCode >= 300) {
|
|
3881
3881
|
return de_CommandError(output, context);
|
|
3882
3882
|
}
|
|
3883
|
-
const data = await
|
|
3883
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3884
3884
|
let contents = {};
|
|
3885
3885
|
contents = de_ListRolesResponse(data.ListRolesResult, context);
|
|
3886
3886
|
const response = {
|
|
@@ -3893,7 +3893,7 @@ var de_ListRoleTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3893
3893
|
if (output.statusCode >= 300) {
|
|
3894
3894
|
return de_CommandError(output, context);
|
|
3895
3895
|
}
|
|
3896
|
-
const data = await
|
|
3896
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3897
3897
|
let contents = {};
|
|
3898
3898
|
contents = de_ListRoleTagsResponse(data.ListRoleTagsResult, context);
|
|
3899
3899
|
const response = {
|
|
@@ -3906,7 +3906,7 @@ var de_ListSAMLProvidersCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3906
3906
|
if (output.statusCode >= 300) {
|
|
3907
3907
|
return de_CommandError(output, context);
|
|
3908
3908
|
}
|
|
3909
|
-
const data = await
|
|
3909
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3910
3910
|
let contents = {};
|
|
3911
3911
|
contents = de_ListSAMLProvidersResponse(data.ListSAMLProvidersResult, context);
|
|
3912
3912
|
const response = {
|
|
@@ -3919,7 +3919,7 @@ var de_ListSAMLProviderTagsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3919
3919
|
if (output.statusCode >= 300) {
|
|
3920
3920
|
return de_CommandError(output, context);
|
|
3921
3921
|
}
|
|
3922
|
-
const data = await
|
|
3922
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3923
3923
|
let contents = {};
|
|
3924
3924
|
contents = de_ListSAMLProviderTagsResponse(data.ListSAMLProviderTagsResult, context);
|
|
3925
3925
|
const response = {
|
|
@@ -3932,7 +3932,7 @@ var de_ListServerCertificatesCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3932
3932
|
if (output.statusCode >= 300) {
|
|
3933
3933
|
return de_CommandError(output, context);
|
|
3934
3934
|
}
|
|
3935
|
-
const data = await
|
|
3935
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3936
3936
|
let contents = {};
|
|
3937
3937
|
contents = de_ListServerCertificatesResponse(data.ListServerCertificatesResult, context);
|
|
3938
3938
|
const response = {
|
|
@@ -3945,7 +3945,7 @@ var de_ListServerCertificateTagsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3945
3945
|
if (output.statusCode >= 300) {
|
|
3946
3946
|
return de_CommandError(output, context);
|
|
3947
3947
|
}
|
|
3948
|
-
const data = await
|
|
3948
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3949
3949
|
let contents = {};
|
|
3950
3950
|
contents = de_ListServerCertificateTagsResponse(data.ListServerCertificateTagsResult, context);
|
|
3951
3951
|
const response = {
|
|
@@ -3958,7 +3958,7 @@ var de_ListServiceSpecificCredentialsCommand = /* @__PURE__ */ __name(async (out
|
|
|
3958
3958
|
if (output.statusCode >= 300) {
|
|
3959
3959
|
return de_CommandError(output, context);
|
|
3960
3960
|
}
|
|
3961
|
-
const data = await
|
|
3961
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3962
3962
|
let contents = {};
|
|
3963
3963
|
contents = de_ListServiceSpecificCredentialsResponse(data.ListServiceSpecificCredentialsResult, context);
|
|
3964
3964
|
const response = {
|
|
@@ -3971,7 +3971,7 @@ var de_ListSigningCertificatesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3971
3971
|
if (output.statusCode >= 300) {
|
|
3972
3972
|
return de_CommandError(output, context);
|
|
3973
3973
|
}
|
|
3974
|
-
const data = await
|
|
3974
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3975
3975
|
let contents = {};
|
|
3976
3976
|
contents = de_ListSigningCertificatesResponse(data.ListSigningCertificatesResult, context);
|
|
3977
3977
|
const response = {
|
|
@@ -3984,7 +3984,7 @@ var de_ListSSHPublicKeysCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3984
3984
|
if (output.statusCode >= 300) {
|
|
3985
3985
|
return de_CommandError(output, context);
|
|
3986
3986
|
}
|
|
3987
|
-
const data = await
|
|
3987
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
3988
3988
|
let contents = {};
|
|
3989
3989
|
contents = de_ListSSHPublicKeysResponse(data.ListSSHPublicKeysResult, context);
|
|
3990
3990
|
const response = {
|
|
@@ -3997,7 +3997,7 @@ var de_ListUserPoliciesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3997
3997
|
if (output.statusCode >= 300) {
|
|
3998
3998
|
return de_CommandError(output, context);
|
|
3999
3999
|
}
|
|
4000
|
-
const data = await
|
|
4000
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4001
4001
|
let contents = {};
|
|
4002
4002
|
contents = de_ListUserPoliciesResponse(data.ListUserPoliciesResult, context);
|
|
4003
4003
|
const response = {
|
|
@@ -4010,7 +4010,7 @@ var de_ListUsersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4010
4010
|
if (output.statusCode >= 300) {
|
|
4011
4011
|
return de_CommandError(output, context);
|
|
4012
4012
|
}
|
|
4013
|
-
const data = await
|
|
4013
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4014
4014
|
let contents = {};
|
|
4015
4015
|
contents = de_ListUsersResponse(data.ListUsersResult, context);
|
|
4016
4016
|
const response = {
|
|
@@ -4023,7 +4023,7 @@ var de_ListUserTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4023
4023
|
if (output.statusCode >= 300) {
|
|
4024
4024
|
return de_CommandError(output, context);
|
|
4025
4025
|
}
|
|
4026
|
-
const data = await
|
|
4026
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4027
4027
|
let contents = {};
|
|
4028
4028
|
contents = de_ListUserTagsResponse(data.ListUserTagsResult, context);
|
|
4029
4029
|
const response = {
|
|
@@ -4036,7 +4036,7 @@ var de_ListVirtualMFADevicesCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
4036
4036
|
if (output.statusCode >= 300) {
|
|
4037
4037
|
return de_CommandError(output, context);
|
|
4038
4038
|
}
|
|
4039
|
-
const data = await
|
|
4039
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4040
4040
|
let contents = {};
|
|
4041
4041
|
contents = de_ListVirtualMFADevicesResponse(data.ListVirtualMFADevicesResult, context);
|
|
4042
4042
|
const response = {
|
|
@@ -4129,7 +4129,7 @@ var de_ResetServiceSpecificCredentialCommand = /* @__PURE__ */ __name(async (out
|
|
|
4129
4129
|
if (output.statusCode >= 300) {
|
|
4130
4130
|
return de_CommandError(output, context);
|
|
4131
4131
|
}
|
|
4132
|
-
const data = await
|
|
4132
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4133
4133
|
let contents = {};
|
|
4134
4134
|
contents = de_ResetServiceSpecificCredentialResponse(data.ResetServiceSpecificCredentialResult, context);
|
|
4135
4135
|
const response = {
|
|
@@ -4172,7 +4172,7 @@ var de_SimulateCustomPolicyCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
4172
4172
|
if (output.statusCode >= 300) {
|
|
4173
4173
|
return de_CommandError(output, context);
|
|
4174
4174
|
}
|
|
4175
|
-
const data = await
|
|
4175
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4176
4176
|
let contents = {};
|
|
4177
4177
|
contents = de_SimulatePolicyResponse(data.SimulateCustomPolicyResult, context);
|
|
4178
4178
|
const response = {
|
|
@@ -4185,7 +4185,7 @@ var de_SimulatePrincipalPolicyCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
4185
4185
|
if (output.statusCode >= 300) {
|
|
4186
4186
|
return de_CommandError(output, context);
|
|
4187
4187
|
}
|
|
4188
|
-
const data = await
|
|
4188
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4189
4189
|
let contents = {};
|
|
4190
4190
|
contents = de_SimulatePolicyResponse(data.SimulatePrincipalPolicyResult, context);
|
|
4191
4191
|
const response = {
|
|
@@ -4418,7 +4418,7 @@ var de_UpdateRoleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4418
4418
|
if (output.statusCode >= 300) {
|
|
4419
4419
|
return de_CommandError(output, context);
|
|
4420
4420
|
}
|
|
4421
|
-
const data = await
|
|
4421
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4422
4422
|
let contents = {};
|
|
4423
4423
|
contents = de_UpdateRoleResponse(data.UpdateRoleResult, context);
|
|
4424
4424
|
const response = {
|
|
@@ -4431,7 +4431,7 @@ var de_UpdateRoleDescriptionCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
4431
4431
|
if (output.statusCode >= 300) {
|
|
4432
4432
|
return de_CommandError(output, context);
|
|
4433
4433
|
}
|
|
4434
|
-
const data = await
|
|
4434
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4435
4435
|
let contents = {};
|
|
4436
4436
|
contents = de_UpdateRoleDescriptionResponse(data.UpdateRoleDescriptionResult, context);
|
|
4437
4437
|
const response = {
|
|
@@ -4444,7 +4444,7 @@ var de_UpdateSAMLProviderCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
4444
4444
|
if (output.statusCode >= 300) {
|
|
4445
4445
|
return de_CommandError(output, context);
|
|
4446
4446
|
}
|
|
4447
|
-
const data = await
|
|
4447
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4448
4448
|
let contents = {};
|
|
4449
4449
|
contents = de_UpdateSAMLProviderResponse(data.UpdateSAMLProviderResult, context);
|
|
4450
4450
|
const response = {
|
|
@@ -4507,7 +4507,7 @@ var de_UploadServerCertificateCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
4507
4507
|
if (output.statusCode >= 300) {
|
|
4508
4508
|
return de_CommandError(output, context);
|
|
4509
4509
|
}
|
|
4510
|
-
const data = await
|
|
4510
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4511
4511
|
let contents = {};
|
|
4512
4512
|
contents = de_UploadServerCertificateResponse(data.UploadServerCertificateResult, context);
|
|
4513
4513
|
const response = {
|
|
@@ -4520,7 +4520,7 @@ var de_UploadSigningCertificateCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
4520
4520
|
if (output.statusCode >= 300) {
|
|
4521
4521
|
return de_CommandError(output, context);
|
|
4522
4522
|
}
|
|
4523
|
-
const data = await
|
|
4523
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4524
4524
|
let contents = {};
|
|
4525
4525
|
contents = de_UploadSigningCertificateResponse(data.UploadSigningCertificateResult, context);
|
|
4526
4526
|
const response = {
|
|
@@ -4533,7 +4533,7 @@ var de_UploadSSHPublicKeyCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
4533
4533
|
if (output.statusCode >= 300) {
|
|
4534
4534
|
return de_CommandError(output, context);
|
|
4535
4535
|
}
|
|
4536
|
-
const data = await
|
|
4536
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
4537
4537
|
let contents = {};
|
|
4538
4538
|
contents = de_UploadSSHPublicKeyResponse(data.UploadSSHPublicKeyResult, context);
|
|
4539
4539
|
const response = {
|
|
@@ -4545,7 +4545,7 @@ var de_UploadSSHPublicKeyCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
4545
4545
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4546
4546
|
const parsedOutput = {
|
|
4547
4547
|
...output,
|
|
4548
|
-
body: await
|
|
4548
|
+
body: await (0, import_core2.parseXmlErrorBody)(output.body, context)
|
|
4549
4549
|
};
|
|
4550
4550
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4551
4551
|
switch (errorCode) {
|
|
@@ -9611,7 +9611,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
9611
9611
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
9612
9612
|
cfId: output.headers["x-amz-cf-id"]
|
|
9613
9613
|
}), "deserializeMetadata");
|
|
9614
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
9615
9614
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(IAMServiceException);
|
|
9616
9615
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
9617
9616
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -10031,38 +10030,6 @@ var _Ve = "Versions";
|
|
|
10031
10030
|
var _e = "entry";
|
|
10032
10031
|
var _m = "message";
|
|
10033
10032
|
var _me = "member";
|
|
10034
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
10035
|
-
if (encoded.length) {
|
|
10036
|
-
const parser = new import_fast_xml_parser.XMLParser({
|
|
10037
|
-
attributeNamePrefix: "",
|
|
10038
|
-
htmlEntities: true,
|
|
10039
|
-
ignoreAttributes: false,
|
|
10040
|
-
ignoreDeclaration: true,
|
|
10041
|
-
parseTagValue: false,
|
|
10042
|
-
trimValues: false,
|
|
10043
|
-
tagValueProcessor: (_2, val) => val.trim() === "" && val.includes("\n") ? "" : void 0
|
|
10044
|
-
});
|
|
10045
|
-
parser.addEntity("#xD", "\r");
|
|
10046
|
-
parser.addEntity("#10", "\n");
|
|
10047
|
-
const parsedObj = parser.parse(encoded);
|
|
10048
|
-
const textNodeName = "#text";
|
|
10049
|
-
const key = Object.keys(parsedObj)[0];
|
|
10050
|
-
const parsedObjToReturn = parsedObj[key];
|
|
10051
|
-
if (parsedObjToReturn[textNodeName]) {
|
|
10052
|
-
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
10053
|
-
delete parsedObjToReturn[textNodeName];
|
|
10054
|
-
}
|
|
10055
|
-
return (0, import_smithy_client.getValueFromTextNode)(parsedObjToReturn);
|
|
10056
|
-
}
|
|
10057
|
-
return {};
|
|
10058
|
-
}), "parseBody");
|
|
10059
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
10060
|
-
const value = await parseBody(errorBody, context);
|
|
10061
|
-
if (value.Error) {
|
|
10062
|
-
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
10063
|
-
}
|
|
10064
|
-
return value;
|
|
10065
|
-
}, "parseErrorBody");
|
|
10066
10033
|
var buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client.extendedEncodeURIComponent)(key) + "=" + (0, import_smithy_client.extendedEncodeURIComponent)(value)).join("&"), "buildFormUrlencodedString");
|
|
10067
10034
|
var loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
10068
10035
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
-
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem,
|
|
3
|
-
import { XMLParser } from "fast-xml-parser";
|
|
3
|
+
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { IAMServiceException as __BaseException } from "../models/IAMServiceException";
|
|
5
5
|
import { ConcurrentModificationException, CredentialReportExpiredException, CredentialReportNotPresentException, CredentialReportNotReadyException, DeleteConflictException, EntityAlreadyExistsException, EntityTemporarilyUnmodifiableException, InvalidAuthenticationCodeException, InvalidInputException, InvalidUserTypeException, LimitExceededException, MalformedPolicyDocumentException, NoSuchEntityException, PasswordPolicyViolationException, PolicyEvaluationException, PolicyNotAttachableException, ReportGenerationLimitExceededException, ServiceFailureException, ServiceNotSupportedException, UnmodifiableEntityException, UnrecognizedPublicKeyEncodingException, } from "../models/models_0";
|
|
6
6
|
import { DuplicateCertificateException, DuplicateSSHPublicKeyException, InvalidCertificateException, InvalidPublicKeyException, KeyPairMismatchException, MalformedCertificateException, } from "../models/models_1";
|
|
@@ -9054,38 +9054,6 @@ const _Ve = "Versions";
|
|
|
9054
9054
|
const _e = "entry";
|
|
9055
9055
|
const _m = "message";
|
|
9056
9056
|
const _me = "member";
|
|
9057
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
9058
|
-
if (encoded.length) {
|
|
9059
|
-
const parser = new XMLParser({
|
|
9060
|
-
attributeNamePrefix: "",
|
|
9061
|
-
htmlEntities: true,
|
|
9062
|
-
ignoreAttributes: false,
|
|
9063
|
-
ignoreDeclaration: true,
|
|
9064
|
-
parseTagValue: false,
|
|
9065
|
-
trimValues: false,
|
|
9066
|
-
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
|
9067
|
-
});
|
|
9068
|
-
parser.addEntity("#xD", "\r");
|
|
9069
|
-
parser.addEntity("#10", "\n");
|
|
9070
|
-
const parsedObj = parser.parse(encoded);
|
|
9071
|
-
const textNodeName = "#text";
|
|
9072
|
-
const key = Object.keys(parsedObj)[0];
|
|
9073
|
-
const parsedObjToReturn = parsedObj[key];
|
|
9074
|
-
if (parsedObjToReturn[textNodeName]) {
|
|
9075
|
-
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
9076
|
-
delete parsedObjToReturn[textNodeName];
|
|
9077
|
-
}
|
|
9078
|
-
return __getValueFromTextNode(parsedObjToReturn);
|
|
9079
|
-
}
|
|
9080
|
-
return {};
|
|
9081
|
-
});
|
|
9082
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
9083
|
-
const value = await parseBody(errorBody, context);
|
|
9084
|
-
if (value.Error) {
|
|
9085
|
-
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
9086
|
-
}
|
|
9087
|
-
return value;
|
|
9088
|
-
};
|
|
9089
9057
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
9090
9058
|
.map(([key, value]) => __extendedEncodeURIComponent(key) + "=" + __extendedEncodeURIComponent(value))
|
|
9091
9059
|
.join("&");
|
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.529.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iam",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.1",
|
|
24
|
+
"@aws-sdk/core": "3.529.1",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.1",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
@@ -58,7 +58,6 @@
|
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
60
60
|
"@smithy/util-waiter": "^2.1.3",
|
|
61
|
-
"fast-xml-parser": "4.2.5",
|
|
62
61
|
"tslib": "^2.5.0"
|
|
63
62
|
},
|
|
64
63
|
"devDependencies": {
|