@cdk8s/awscdk-resolver 0.0.44 → 0.0.45
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/.jsii +2 -2
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/protocols/Aws_query.js +2385 -2037
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +2385 -2037
- package/node_modules/@aws-sdk/client-cloudformation/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +38 -59
- package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +38 -59
- package/node_modules/@aws-sdk/client-sso/package.json +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +250 -194
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +250 -194
- package/node_modules/@aws-sdk/client-sts/package.json +4 -4
- package/node_modules/@aws-sdk/core/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/index.js +1 -1
- package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/index.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/index.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
- package/package.json +2 -2
- /package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/{aws-sdk → aws_sdk}/AWSSDKSigV4Signer.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/{aws-sdk → aws_sdk}/index.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/{aws-sdk → aws_sdk}/resolveAWSSDKSigV4Config.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/{aws-sdk → aws_sdk}/throwAWSSDKSigningPropertyError.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/{aws-sdk → aws_sdk}/AWSSDKSigV4Signer.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/{aws-sdk → aws_sdk}/index.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/{aws-sdk → aws_sdk}/resolveAWSSDKSigV4Config.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/{aws-sdk → aws_sdk}/throwAWSSDKSigningPropertyError.js +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/{aws-sdk → aws_sdk}/AWSSDKSigV4Signer.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/{aws-sdk → aws_sdk}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/{aws-sdk → aws_sdk}/resolveAWSSDKSigV4Config.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/{aws-sdk → aws_sdk}/throwAWSSDKSigningPropertyError.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/{aws-sdk → aws_sdk}/AWSSDKSigV4Signer.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/{aws-sdk → aws_sdk}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/{aws-sdk → aws_sdk}/resolveAWSSDKSigV4Config.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/{aws-sdk → aws_sdk}/throwAWSSDKSigningPropertyError.d.ts +0 -0
- /package/node_modules/@aws-sdk/core/src/httpAuthSchemes/{aws-sdk → aws_sdk}/AWSSDKSigV4Signer.ts +0 -0
- /package/node_modules/@aws-sdk/core/src/httpAuthSchemes/{aws-sdk → aws_sdk}/index.ts +0 -0
- /package/node_modules/@aws-sdk/core/src/httpAuthSchemes/{aws-sdk → aws_sdk}/resolveAWSSDKSigV4Config.ts +0 -0
- /package/node_modules/@aws-sdk/core/src/httpAuthSchemes/{aws-sdk → aws_sdk}/throwAWSSDKSigningPropertyError.ts +0 -0
@@ -11,8 +11,8 @@ const se_AssumeRoleCommand = async (input, context) => {
|
|
11
11
|
let body;
|
12
12
|
body = buildFormUrlencodedString({
|
13
13
|
...se_AssumeRoleRequest(input, context),
|
14
|
-
|
15
|
-
|
14
|
+
[_A]: _AR,
|
15
|
+
[_V]: _,
|
16
16
|
});
|
17
17
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
18
18
|
};
|
@@ -22,8 +22,8 @@ const se_AssumeRoleWithSAMLCommand = async (input, context) => {
|
|
22
22
|
let body;
|
23
23
|
body = buildFormUrlencodedString({
|
24
24
|
...se_AssumeRoleWithSAMLRequest(input, context),
|
25
|
-
|
26
|
-
|
25
|
+
[_A]: _ARWSAML,
|
26
|
+
[_V]: _,
|
27
27
|
});
|
28
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
29
29
|
};
|
@@ -33,8 +33,8 @@ const se_AssumeRoleWithWebIdentityCommand = async (input, context) => {
|
|
33
33
|
let body;
|
34
34
|
body = buildFormUrlencodedString({
|
35
35
|
...se_AssumeRoleWithWebIdentityRequest(input, context),
|
36
|
-
|
37
|
-
|
36
|
+
[_A]: _ARWWI,
|
37
|
+
[_V]: _,
|
38
38
|
});
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
40
40
|
};
|
@@ -44,8 +44,8 @@ const se_DecodeAuthorizationMessageCommand = async (input, context) => {
|
|
44
44
|
let body;
|
45
45
|
body = buildFormUrlencodedString({
|
46
46
|
...se_DecodeAuthorizationMessageRequest(input, context),
|
47
|
-
|
48
|
-
|
47
|
+
[_A]: _DAM,
|
48
|
+
[_V]: _,
|
49
49
|
});
|
50
50
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
51
51
|
};
|
@@ -55,8 +55,8 @@ const se_GetAccessKeyInfoCommand = async (input, context) => {
|
|
55
55
|
let body;
|
56
56
|
body = buildFormUrlencodedString({
|
57
57
|
...se_GetAccessKeyInfoRequest(input, context),
|
58
|
-
|
59
|
-
|
58
|
+
[_A]: _GAKI,
|
59
|
+
[_V]: _,
|
60
60
|
});
|
61
61
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
62
62
|
};
|
@@ -66,8 +66,8 @@ const se_GetCallerIdentityCommand = async (input, context) => {
|
|
66
66
|
let body;
|
67
67
|
body = buildFormUrlencodedString({
|
68
68
|
...se_GetCallerIdentityRequest(input, context),
|
69
|
-
|
70
|
-
|
69
|
+
[_A]: _GCI,
|
70
|
+
[_V]: _,
|
71
71
|
});
|
72
72
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
73
73
|
};
|
@@ -77,8 +77,8 @@ const se_GetFederationTokenCommand = async (input, context) => {
|
|
77
77
|
let body;
|
78
78
|
body = buildFormUrlencodedString({
|
79
79
|
...se_GetFederationTokenRequest(input, context),
|
80
|
-
|
81
|
-
|
80
|
+
[_A]: _GFT,
|
81
|
+
[_V]: _,
|
82
82
|
});
|
83
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
84
84
|
};
|
@@ -88,8 +88,8 @@ const se_GetSessionTokenCommand = async (input, context) => {
|
|
88
88
|
let body;
|
89
89
|
body = buildFormUrlencodedString({
|
90
90
|
...se_GetSessionTokenRequest(input, context),
|
91
|
-
|
92
|
-
|
91
|
+
[_A]: _GST,
|
92
|
+
[_V]: _,
|
93
93
|
});
|
94
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
95
95
|
};
|
@@ -468,15 +468,15 @@ const de_RegionDisabledExceptionRes = async (parsedOutput, context) => {
|
|
468
468
|
};
|
469
469
|
const se_AssumeRoleRequest = (input, context) => {
|
470
470
|
const entries = {};
|
471
|
-
if (input
|
472
|
-
entries[
|
471
|
+
if (input[_RA] != null) {
|
472
|
+
entries[_RA] = input[_RA];
|
473
473
|
}
|
474
|
-
if (input
|
475
|
-
entries[
|
474
|
+
if (input[_RSN] != null) {
|
475
|
+
entries[_RSN] = input[_RSN];
|
476
476
|
}
|
477
|
-
if (input
|
478
|
-
const memberEntries = se_policyDescriptorListType(input
|
479
|
-
if (input
|
477
|
+
if (input[_PA] != null) {
|
478
|
+
const memberEntries = se_policyDescriptorListType(input[_PA], context);
|
479
|
+
if (input[_PA]?.length === 0) {
|
480
480
|
entries.PolicyArns = [];
|
481
481
|
}
|
482
482
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -484,15 +484,15 @@ const se_AssumeRoleRequest = (input, context) => {
|
|
484
484
|
entries[loc] = value;
|
485
485
|
});
|
486
486
|
}
|
487
|
-
if (input
|
488
|
-
entries[
|
487
|
+
if (input[_P] != null) {
|
488
|
+
entries[_P] = input[_P];
|
489
489
|
}
|
490
|
-
if (input
|
491
|
-
entries[
|
490
|
+
if (input[_DS] != null) {
|
491
|
+
entries[_DS] = input[_DS];
|
492
492
|
}
|
493
|
-
if (input
|
494
|
-
const memberEntries = se_tagListType(input
|
495
|
-
if (input
|
493
|
+
if (input[_T] != null) {
|
494
|
+
const memberEntries = se_tagListType(input[_T], context);
|
495
|
+
if (input[_T]?.length === 0) {
|
496
496
|
entries.Tags = [];
|
497
497
|
}
|
498
498
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -500,9 +500,9 @@ const se_AssumeRoleRequest = (input, context) => {
|
|
500
500
|
entries[loc] = value;
|
501
501
|
});
|
502
502
|
}
|
503
|
-
if (input
|
504
|
-
const memberEntries = se_tagKeyListType(input
|
505
|
-
if (input
|
503
|
+
if (input[_TTK] != null) {
|
504
|
+
const memberEntries = se_tagKeyListType(input[_TTK], context);
|
505
|
+
if (input[_TTK]?.length === 0) {
|
506
506
|
entries.TransitiveTagKeys = [];
|
507
507
|
}
|
508
508
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -510,21 +510,21 @@ const se_AssumeRoleRequest = (input, context) => {
|
|
510
510
|
entries[loc] = value;
|
511
511
|
});
|
512
512
|
}
|
513
|
-
if (input
|
514
|
-
entries[
|
513
|
+
if (input[_EI] != null) {
|
514
|
+
entries[_EI] = input[_EI];
|
515
515
|
}
|
516
|
-
if (input
|
517
|
-
entries[
|
516
|
+
if (input[_SN] != null) {
|
517
|
+
entries[_SN] = input[_SN];
|
518
518
|
}
|
519
|
-
if (input
|
520
|
-
entries[
|
519
|
+
if (input[_TC] != null) {
|
520
|
+
entries[_TC] = input[_TC];
|
521
521
|
}
|
522
|
-
if (input
|
523
|
-
entries[
|
522
|
+
if (input[_SI] != null) {
|
523
|
+
entries[_SI] = input[_SI];
|
524
524
|
}
|
525
|
-
if (input
|
526
|
-
const memberEntries = se_ProvidedContextsListType(input
|
527
|
-
if (input
|
525
|
+
if (input[_PC] != null) {
|
526
|
+
const memberEntries = se_ProvidedContextsListType(input[_PC], context);
|
527
|
+
if (input[_PC]?.length === 0) {
|
528
528
|
entries.ProvidedContexts = [];
|
529
529
|
}
|
530
530
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -536,18 +536,18 @@ const se_AssumeRoleRequest = (input, context) => {
|
|
536
536
|
};
|
537
537
|
const se_AssumeRoleWithSAMLRequest = (input, context) => {
|
538
538
|
const entries = {};
|
539
|
-
if (input
|
540
|
-
entries[
|
539
|
+
if (input[_RA] != null) {
|
540
|
+
entries[_RA] = input[_RA];
|
541
541
|
}
|
542
|
-
if (input
|
543
|
-
entries[
|
542
|
+
if (input[_PAr] != null) {
|
543
|
+
entries[_PAr] = input[_PAr];
|
544
544
|
}
|
545
|
-
if (input
|
546
|
-
entries[
|
545
|
+
if (input[_SAMLA] != null) {
|
546
|
+
entries[_SAMLA] = input[_SAMLA];
|
547
547
|
}
|
548
|
-
if (input
|
549
|
-
const memberEntries = se_policyDescriptorListType(input
|
550
|
-
if (input
|
548
|
+
if (input[_PA] != null) {
|
549
|
+
const memberEntries = se_policyDescriptorListType(input[_PA], context);
|
550
|
+
if (input[_PA]?.length === 0) {
|
551
551
|
entries.PolicyArns = [];
|
552
552
|
}
|
553
553
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -555,31 +555,31 @@ const se_AssumeRoleWithSAMLRequest = (input, context) => {
|
|
555
555
|
entries[loc] = value;
|
556
556
|
});
|
557
557
|
}
|
558
|
-
if (input
|
559
|
-
entries[
|
558
|
+
if (input[_P] != null) {
|
559
|
+
entries[_P] = input[_P];
|
560
560
|
}
|
561
|
-
if (input
|
562
|
-
entries[
|
561
|
+
if (input[_DS] != null) {
|
562
|
+
entries[_DS] = input[_DS];
|
563
563
|
}
|
564
564
|
return entries;
|
565
565
|
};
|
566
566
|
const se_AssumeRoleWithWebIdentityRequest = (input, context) => {
|
567
567
|
const entries = {};
|
568
|
-
if (input
|
569
|
-
entries[
|
568
|
+
if (input[_RA] != null) {
|
569
|
+
entries[_RA] = input[_RA];
|
570
570
|
}
|
571
|
-
if (input
|
572
|
-
entries[
|
571
|
+
if (input[_RSN] != null) {
|
572
|
+
entries[_RSN] = input[_RSN];
|
573
573
|
}
|
574
|
-
if (input
|
575
|
-
entries[
|
574
|
+
if (input[_WIT] != null) {
|
575
|
+
entries[_WIT] = input[_WIT];
|
576
576
|
}
|
577
|
-
if (input
|
578
|
-
entries[
|
577
|
+
if (input[_PI] != null) {
|
578
|
+
entries[_PI] = input[_PI];
|
579
579
|
}
|
580
|
-
if (input
|
581
|
-
const memberEntries = se_policyDescriptorListType(input
|
582
|
-
if (input
|
580
|
+
if (input[_PA] != null) {
|
581
|
+
const memberEntries = se_policyDescriptorListType(input[_PA], context);
|
582
|
+
if (input[_PA]?.length === 0) {
|
583
583
|
entries.PolicyArns = [];
|
584
584
|
}
|
585
585
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -587,25 +587,25 @@ const se_AssumeRoleWithWebIdentityRequest = (input, context) => {
|
|
587
587
|
entries[loc] = value;
|
588
588
|
});
|
589
589
|
}
|
590
|
-
if (input
|
591
|
-
entries[
|
590
|
+
if (input[_P] != null) {
|
591
|
+
entries[_P] = input[_P];
|
592
592
|
}
|
593
|
-
if (input
|
594
|
-
entries[
|
593
|
+
if (input[_DS] != null) {
|
594
|
+
entries[_DS] = input[_DS];
|
595
595
|
}
|
596
596
|
return entries;
|
597
597
|
};
|
598
598
|
const se_DecodeAuthorizationMessageRequest = (input, context) => {
|
599
599
|
const entries = {};
|
600
|
-
if (input
|
601
|
-
entries[
|
600
|
+
if (input[_EM] != null) {
|
601
|
+
entries[_EM] = input[_EM];
|
602
602
|
}
|
603
603
|
return entries;
|
604
604
|
};
|
605
605
|
const se_GetAccessKeyInfoRequest = (input, context) => {
|
606
606
|
const entries = {};
|
607
|
-
if (input
|
608
|
-
entries[
|
607
|
+
if (input[_AKI] != null) {
|
608
|
+
entries[_AKI] = input[_AKI];
|
609
609
|
}
|
610
610
|
return entries;
|
611
611
|
};
|
@@ -615,15 +615,15 @@ const se_GetCallerIdentityRequest = (input, context) => {
|
|
615
615
|
};
|
616
616
|
const se_GetFederationTokenRequest = (input, context) => {
|
617
617
|
const entries = {};
|
618
|
-
if (input
|
619
|
-
entries[
|
618
|
+
if (input[_N] != null) {
|
619
|
+
entries[_N] = input[_N];
|
620
620
|
}
|
621
|
-
if (input
|
622
|
-
entries[
|
621
|
+
if (input[_P] != null) {
|
622
|
+
entries[_P] = input[_P];
|
623
623
|
}
|
624
|
-
if (input
|
625
|
-
const memberEntries = se_policyDescriptorListType(input
|
626
|
-
if (input
|
624
|
+
if (input[_PA] != null) {
|
625
|
+
const memberEntries = se_policyDescriptorListType(input[_PA], context);
|
626
|
+
if (input[_PA]?.length === 0) {
|
627
627
|
entries.PolicyArns = [];
|
628
628
|
}
|
629
629
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -631,12 +631,12 @@ const se_GetFederationTokenRequest = (input, context) => {
|
|
631
631
|
entries[loc] = value;
|
632
632
|
});
|
633
633
|
}
|
634
|
-
if (input
|
635
|
-
entries[
|
634
|
+
if (input[_DS] != null) {
|
635
|
+
entries[_DS] = input[_DS];
|
636
636
|
}
|
637
|
-
if (input
|
638
|
-
const memberEntries = se_tagListType(input
|
639
|
-
if (input
|
637
|
+
if (input[_T] != null) {
|
638
|
+
const memberEntries = se_tagListType(input[_T], context);
|
639
|
+
if (input[_T]?.length === 0) {
|
640
640
|
entries.Tags = [];
|
641
641
|
}
|
642
642
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
@@ -648,14 +648,14 @@ const se_GetFederationTokenRequest = (input, context) => {
|
|
648
648
|
};
|
649
649
|
const se_GetSessionTokenRequest = (input, context) => {
|
650
650
|
const entries = {};
|
651
|
-
if (input
|
652
|
-
entries[
|
651
|
+
if (input[_DS] != null) {
|
652
|
+
entries[_DS] = input[_DS];
|
653
653
|
}
|
654
|
-
if (input
|
655
|
-
entries[
|
654
|
+
if (input[_SN] != null) {
|
655
|
+
entries[_SN] = input[_SN];
|
656
656
|
}
|
657
|
-
if (input
|
658
|
-
entries[
|
657
|
+
if (input[_TC] != null) {
|
658
|
+
entries[_TC] = input[_TC];
|
659
659
|
}
|
660
660
|
return entries;
|
661
661
|
};
|
@@ -676,18 +676,18 @@ const se_policyDescriptorListType = (input, context) => {
|
|
676
676
|
};
|
677
677
|
const se_PolicyDescriptorType = (input, context) => {
|
678
678
|
const entries = {};
|
679
|
-
if (input
|
680
|
-
entries[
|
679
|
+
if (input[_a] != null) {
|
680
|
+
entries[_a] = input[_a];
|
681
681
|
}
|
682
682
|
return entries;
|
683
683
|
};
|
684
684
|
const se_ProvidedContext = (input, context) => {
|
685
685
|
const entries = {};
|
686
|
-
if (input
|
687
|
-
entries[
|
686
|
+
if (input[_PAro] != null) {
|
687
|
+
entries[_PAro] = input[_PAro];
|
688
688
|
}
|
689
|
-
if (input
|
690
|
-
entries[
|
689
|
+
if (input[_CA] != null) {
|
690
|
+
entries[_CA] = input[_CA];
|
691
691
|
}
|
692
692
|
return entries;
|
693
693
|
};
|
@@ -708,11 +708,11 @@ const se_ProvidedContextsListType = (input, context) => {
|
|
708
708
|
};
|
709
709
|
const se_Tag = (input, context) => {
|
710
710
|
const entries = {};
|
711
|
-
if (input
|
712
|
-
entries[
|
711
|
+
if (input[_K] != null) {
|
712
|
+
entries[_K] = input[_K];
|
713
713
|
}
|
714
|
-
if (input
|
715
|
-
entries[
|
714
|
+
if (input[_Va] != null) {
|
715
|
+
entries[_Va] = input[_Va];
|
716
716
|
}
|
717
717
|
return entries;
|
718
718
|
};
|
@@ -745,212 +745,212 @@ const se_tagListType = (input, context) => {
|
|
745
745
|
};
|
746
746
|
const de_AssumedRoleUser = (output, context) => {
|
747
747
|
const contents = {};
|
748
|
-
if (output[
|
749
|
-
contents
|
748
|
+
if (output[_ARI] != null) {
|
749
|
+
contents[_ARI] = (0, smithy_client_1.expectString)(output[_ARI]);
|
750
750
|
}
|
751
|
-
if (output[
|
752
|
-
contents
|
751
|
+
if (output[_Ar] != null) {
|
752
|
+
contents[_Ar] = (0, smithy_client_1.expectString)(output[_Ar]);
|
753
753
|
}
|
754
754
|
return contents;
|
755
755
|
};
|
756
756
|
const de_AssumeRoleResponse = (output, context) => {
|
757
757
|
const contents = {};
|
758
|
-
if (output[
|
759
|
-
contents
|
758
|
+
if (output[_C] != null) {
|
759
|
+
contents[_C] = de_Credentials(output[_C], context);
|
760
760
|
}
|
761
|
-
if (output[
|
762
|
-
contents
|
761
|
+
if (output[_ARU] != null) {
|
762
|
+
contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);
|
763
763
|
}
|
764
|
-
if (output[
|
765
|
-
contents
|
764
|
+
if (output[_PPS] != null) {
|
765
|
+
contents[_PPS] = (0, smithy_client_1.strictParseInt32)(output[_PPS]);
|
766
766
|
}
|
767
|
-
if (output[
|
768
|
-
contents
|
767
|
+
if (output[_SI] != null) {
|
768
|
+
contents[_SI] = (0, smithy_client_1.expectString)(output[_SI]);
|
769
769
|
}
|
770
770
|
return contents;
|
771
771
|
};
|
772
772
|
const de_AssumeRoleWithSAMLResponse = (output, context) => {
|
773
773
|
const contents = {};
|
774
|
-
if (output[
|
775
|
-
contents
|
774
|
+
if (output[_C] != null) {
|
775
|
+
contents[_C] = de_Credentials(output[_C], context);
|
776
776
|
}
|
777
|
-
if (output[
|
778
|
-
contents
|
777
|
+
if (output[_ARU] != null) {
|
778
|
+
contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);
|
779
779
|
}
|
780
|
-
if (output[
|
781
|
-
contents
|
780
|
+
if (output[_PPS] != null) {
|
781
|
+
contents[_PPS] = (0, smithy_client_1.strictParseInt32)(output[_PPS]);
|
782
782
|
}
|
783
|
-
if (output[
|
784
|
-
contents
|
783
|
+
if (output[_S] != null) {
|
784
|
+
contents[_S] = (0, smithy_client_1.expectString)(output[_S]);
|
785
785
|
}
|
786
|
-
if (output[
|
787
|
-
contents
|
786
|
+
if (output[_ST] != null) {
|
787
|
+
contents[_ST] = (0, smithy_client_1.expectString)(output[_ST]);
|
788
788
|
}
|
789
|
-
if (output[
|
790
|
-
contents
|
789
|
+
if (output[_I] != null) {
|
790
|
+
contents[_I] = (0, smithy_client_1.expectString)(output[_I]);
|
791
791
|
}
|
792
|
-
if (output[
|
793
|
-
contents
|
792
|
+
if (output[_Au] != null) {
|
793
|
+
contents[_Au] = (0, smithy_client_1.expectString)(output[_Au]);
|
794
794
|
}
|
795
|
-
if (output[
|
796
|
-
contents
|
795
|
+
if (output[_NQ] != null) {
|
796
|
+
contents[_NQ] = (0, smithy_client_1.expectString)(output[_NQ]);
|
797
797
|
}
|
798
|
-
if (output[
|
799
|
-
contents
|
798
|
+
if (output[_SI] != null) {
|
799
|
+
contents[_SI] = (0, smithy_client_1.expectString)(output[_SI]);
|
800
800
|
}
|
801
801
|
return contents;
|
802
802
|
};
|
803
803
|
const de_AssumeRoleWithWebIdentityResponse = (output, context) => {
|
804
804
|
const contents = {};
|
805
|
-
if (output[
|
806
|
-
contents
|
805
|
+
if (output[_C] != null) {
|
806
|
+
contents[_C] = de_Credentials(output[_C], context);
|
807
807
|
}
|
808
|
-
if (output[
|
809
|
-
contents
|
808
|
+
if (output[_SFWIT] != null) {
|
809
|
+
contents[_SFWIT] = (0, smithy_client_1.expectString)(output[_SFWIT]);
|
810
810
|
}
|
811
|
-
if (output[
|
812
|
-
contents
|
811
|
+
if (output[_ARU] != null) {
|
812
|
+
contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);
|
813
813
|
}
|
814
|
-
if (output[
|
815
|
-
contents
|
814
|
+
if (output[_PPS] != null) {
|
815
|
+
contents[_PPS] = (0, smithy_client_1.strictParseInt32)(output[_PPS]);
|
816
816
|
}
|
817
|
-
if (output[
|
818
|
-
contents
|
817
|
+
if (output[_Pr] != null) {
|
818
|
+
contents[_Pr] = (0, smithy_client_1.expectString)(output[_Pr]);
|
819
819
|
}
|
820
|
-
if (output[
|
821
|
-
contents
|
820
|
+
if (output[_Au] != null) {
|
821
|
+
contents[_Au] = (0, smithy_client_1.expectString)(output[_Au]);
|
822
822
|
}
|
823
|
-
if (output[
|
824
|
-
contents
|
823
|
+
if (output[_SI] != null) {
|
824
|
+
contents[_SI] = (0, smithy_client_1.expectString)(output[_SI]);
|
825
825
|
}
|
826
826
|
return contents;
|
827
827
|
};
|
828
828
|
const de_Credentials = (output, context) => {
|
829
829
|
const contents = {};
|
830
|
-
if (output[
|
831
|
-
contents
|
830
|
+
if (output[_AKI] != null) {
|
831
|
+
contents[_AKI] = (0, smithy_client_1.expectString)(output[_AKI]);
|
832
832
|
}
|
833
|
-
if (output[
|
834
|
-
contents
|
833
|
+
if (output[_SAK] != null) {
|
834
|
+
contents[_SAK] = (0, smithy_client_1.expectString)(output[_SAK]);
|
835
835
|
}
|
836
|
-
if (output[
|
837
|
-
contents
|
836
|
+
if (output[_STe] != null) {
|
837
|
+
contents[_STe] = (0, smithy_client_1.expectString)(output[_STe]);
|
838
838
|
}
|
839
|
-
if (output[
|
840
|
-
contents
|
839
|
+
if (output[_E] != null) {
|
840
|
+
contents[_E] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_E]));
|
841
841
|
}
|
842
842
|
return contents;
|
843
843
|
};
|
844
844
|
const de_DecodeAuthorizationMessageResponse = (output, context) => {
|
845
845
|
const contents = {};
|
846
|
-
if (output[
|
847
|
-
contents
|
846
|
+
if (output[_DM] != null) {
|
847
|
+
contents[_DM] = (0, smithy_client_1.expectString)(output[_DM]);
|
848
848
|
}
|
849
849
|
return contents;
|
850
850
|
};
|
851
851
|
const de_ExpiredTokenException = (output, context) => {
|
852
852
|
const contents = {};
|
853
|
-
if (output[
|
854
|
-
contents
|
853
|
+
if (output[_m] != null) {
|
854
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
855
855
|
}
|
856
856
|
return contents;
|
857
857
|
};
|
858
858
|
const de_FederatedUser = (output, context) => {
|
859
859
|
const contents = {};
|
860
|
-
if (output[
|
861
|
-
contents
|
860
|
+
if (output[_FUI] != null) {
|
861
|
+
contents[_FUI] = (0, smithy_client_1.expectString)(output[_FUI]);
|
862
862
|
}
|
863
|
-
if (output[
|
864
|
-
contents
|
863
|
+
if (output[_Ar] != null) {
|
864
|
+
contents[_Ar] = (0, smithy_client_1.expectString)(output[_Ar]);
|
865
865
|
}
|
866
866
|
return contents;
|
867
867
|
};
|
868
868
|
const de_GetAccessKeyInfoResponse = (output, context) => {
|
869
869
|
const contents = {};
|
870
|
-
if (output[
|
871
|
-
contents
|
870
|
+
if (output[_Ac] != null) {
|
871
|
+
contents[_Ac] = (0, smithy_client_1.expectString)(output[_Ac]);
|
872
872
|
}
|
873
873
|
return contents;
|
874
874
|
};
|
875
875
|
const de_GetCallerIdentityResponse = (output, context) => {
|
876
876
|
const contents = {};
|
877
|
-
if (output[
|
878
|
-
contents
|
877
|
+
if (output[_UI] != null) {
|
878
|
+
contents[_UI] = (0, smithy_client_1.expectString)(output[_UI]);
|
879
879
|
}
|
880
|
-
if (output[
|
881
|
-
contents
|
880
|
+
if (output[_Ac] != null) {
|
881
|
+
contents[_Ac] = (0, smithy_client_1.expectString)(output[_Ac]);
|
882
882
|
}
|
883
|
-
if (output[
|
884
|
-
contents
|
883
|
+
if (output[_Ar] != null) {
|
884
|
+
contents[_Ar] = (0, smithy_client_1.expectString)(output[_Ar]);
|
885
885
|
}
|
886
886
|
return contents;
|
887
887
|
};
|
888
888
|
const de_GetFederationTokenResponse = (output, context) => {
|
889
889
|
const contents = {};
|
890
|
-
if (output[
|
891
|
-
contents
|
890
|
+
if (output[_C] != null) {
|
891
|
+
contents[_C] = de_Credentials(output[_C], context);
|
892
892
|
}
|
893
|
-
if (output[
|
894
|
-
contents
|
893
|
+
if (output[_FU] != null) {
|
894
|
+
contents[_FU] = de_FederatedUser(output[_FU], context);
|
895
895
|
}
|
896
|
-
if (output[
|
897
|
-
contents
|
896
|
+
if (output[_PPS] != null) {
|
897
|
+
contents[_PPS] = (0, smithy_client_1.strictParseInt32)(output[_PPS]);
|
898
898
|
}
|
899
899
|
return contents;
|
900
900
|
};
|
901
901
|
const de_GetSessionTokenResponse = (output, context) => {
|
902
902
|
const contents = {};
|
903
|
-
if (output[
|
904
|
-
contents
|
903
|
+
if (output[_C] != null) {
|
904
|
+
contents[_C] = de_Credentials(output[_C], context);
|
905
905
|
}
|
906
906
|
return contents;
|
907
907
|
};
|
908
908
|
const de_IDPCommunicationErrorException = (output, context) => {
|
909
909
|
const contents = {};
|
910
|
-
if (output[
|
911
|
-
contents
|
910
|
+
if (output[_m] != null) {
|
911
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
912
912
|
}
|
913
913
|
return contents;
|
914
914
|
};
|
915
915
|
const de_IDPRejectedClaimException = (output, context) => {
|
916
916
|
const contents = {};
|
917
|
-
if (output[
|
918
|
-
contents
|
917
|
+
if (output[_m] != null) {
|
918
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
919
919
|
}
|
920
920
|
return contents;
|
921
921
|
};
|
922
922
|
const de_InvalidAuthorizationMessageException = (output, context) => {
|
923
923
|
const contents = {};
|
924
|
-
if (output[
|
925
|
-
contents
|
924
|
+
if (output[_m] != null) {
|
925
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
926
926
|
}
|
927
927
|
return contents;
|
928
928
|
};
|
929
929
|
const de_InvalidIdentityTokenException = (output, context) => {
|
930
930
|
const contents = {};
|
931
|
-
if (output[
|
932
|
-
contents
|
931
|
+
if (output[_m] != null) {
|
932
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
933
933
|
}
|
934
934
|
return contents;
|
935
935
|
};
|
936
936
|
const de_MalformedPolicyDocumentException = (output, context) => {
|
937
937
|
const contents = {};
|
938
|
-
if (output[
|
939
|
-
contents
|
938
|
+
if (output[_m] != null) {
|
939
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
940
940
|
}
|
941
941
|
return contents;
|
942
942
|
};
|
943
943
|
const de_PackedPolicyTooLargeException = (output, context) => {
|
944
944
|
const contents = {};
|
945
|
-
if (output[
|
946
|
-
contents
|
945
|
+
if (output[_m] != null) {
|
946
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
947
947
|
}
|
948
948
|
return contents;
|
949
949
|
};
|
950
950
|
const de_RegionDisabledException = (output, context) => {
|
951
951
|
const contents = {};
|
952
|
-
if (output[
|
953
|
-
contents
|
952
|
+
if (output[_m] != null) {
|
953
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
954
954
|
}
|
955
955
|
return contents;
|
956
956
|
};
|
@@ -983,6 +983,62 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
983
983
|
const SHARED_HEADERS = {
|
984
984
|
"content-type": "application/x-www-form-urlencoded",
|
985
985
|
};
|
986
|
+
const _ = "2011-06-15";
|
987
|
+
const _A = "Action";
|
988
|
+
const _AKI = "AccessKeyId";
|
989
|
+
const _AR = "AssumeRole";
|
990
|
+
const _ARI = "AssumedRoleId";
|
991
|
+
const _ARU = "AssumedRoleUser";
|
992
|
+
const _ARWSAML = "AssumeRoleWithSAML";
|
993
|
+
const _ARWWI = "AssumeRoleWithWebIdentity";
|
994
|
+
const _Ac = "Account";
|
995
|
+
const _Ar = "Arn";
|
996
|
+
const _Au = "Audience";
|
997
|
+
const _C = "Credentials";
|
998
|
+
const _CA = "ContextAssertion";
|
999
|
+
const _DAM = "DecodeAuthorizationMessage";
|
1000
|
+
const _DM = "DecodedMessage";
|
1001
|
+
const _DS = "DurationSeconds";
|
1002
|
+
const _E = "Expiration";
|
1003
|
+
const _EI = "ExternalId";
|
1004
|
+
const _EM = "EncodedMessage";
|
1005
|
+
const _FU = "FederatedUser";
|
1006
|
+
const _FUI = "FederatedUserId";
|
1007
|
+
const _GAKI = "GetAccessKeyInfo";
|
1008
|
+
const _GCI = "GetCallerIdentity";
|
1009
|
+
const _GFT = "GetFederationToken";
|
1010
|
+
const _GST = "GetSessionToken";
|
1011
|
+
const _I = "Issuer";
|
1012
|
+
const _K = "Key";
|
1013
|
+
const _N = "Name";
|
1014
|
+
const _NQ = "NameQualifier";
|
1015
|
+
const _P = "Policy";
|
1016
|
+
const _PA = "PolicyArns";
|
1017
|
+
const _PAr = "PrincipalArn";
|
1018
|
+
const _PAro = "ProviderArn";
|
1019
|
+
const _PC = "ProvidedContexts";
|
1020
|
+
const _PI = "ProviderId";
|
1021
|
+
const _PPS = "PackedPolicySize";
|
1022
|
+
const _Pr = "Provider";
|
1023
|
+
const _RA = "RoleArn";
|
1024
|
+
const _RSN = "RoleSessionName";
|
1025
|
+
const _S = "Subject";
|
1026
|
+
const _SAK = "SecretAccessKey";
|
1027
|
+
const _SAMLA = "SAMLAssertion";
|
1028
|
+
const _SFWIT = "SubjectFromWebIdentityToken";
|
1029
|
+
const _SI = "SourceIdentity";
|
1030
|
+
const _SN = "SerialNumber";
|
1031
|
+
const _ST = "SubjectType";
|
1032
|
+
const _STe = "SessionToken";
|
1033
|
+
const _T = "Tags";
|
1034
|
+
const _TC = "TokenCode";
|
1035
|
+
const _TTK = "TransitiveTagKeys";
|
1036
|
+
const _UI = "UserId";
|
1037
|
+
const _V = "Version";
|
1038
|
+
const _Va = "Value";
|
1039
|
+
const _WIT = "WebIdentityToken";
|
1040
|
+
const _a = "arn";
|
1041
|
+
const _m = "message";
|
986
1042
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
987
1043
|
if (encoded.length) {
|
988
1044
|
const parser = new fast_xml_parser_1.XMLParser({
|