@aws-sdk/client-route53-recovery-readiness 3.121.0 → 3.130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_restJson1.js +53 -89
- package/dist-es/protocols/Aws_restJson1.js +36 -72
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-route53-recovery-readiness
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-route53-recovery-readiness
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -14,10 +14,9 @@ const serializeAws_restJson1CreateCellCommand = async (input, context) => {
|
|
|
14
14
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/cells";
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify({
|
|
17
|
-
...(input.CellName
|
|
18
|
-
...(input.Cells
|
|
19
|
-
|
|
20
|
-
...(input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
17
|
+
...(input.CellName != null && { cellName: input.CellName }),
|
|
18
|
+
...(input.Cells != null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) }),
|
|
19
|
+
...(input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
21
20
|
});
|
|
22
21
|
return new protocol_http_1.HttpRequest({
|
|
23
22
|
protocol,
|
|
@@ -38,8 +37,7 @@ const serializeAws_restJson1CreateCrossAccountAuthorizationCommand = async (inpu
|
|
|
38
37
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/crossaccountauthorizations";
|
|
39
38
|
let body;
|
|
40
39
|
body = JSON.stringify({
|
|
41
|
-
...(input.CrossAccountAuthorization
|
|
42
|
-
input.CrossAccountAuthorization !== null && { crossAccountAuthorization: input.CrossAccountAuthorization }),
|
|
40
|
+
...(input.CrossAccountAuthorization != null && { crossAccountAuthorization: input.CrossAccountAuthorization }),
|
|
43
41
|
});
|
|
44
42
|
return new protocol_http_1.HttpRequest({
|
|
45
43
|
protocol,
|
|
@@ -60,11 +58,9 @@ const serializeAws_restJson1CreateReadinessCheckCommand = async (input, context)
|
|
|
60
58
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/readinesschecks";
|
|
61
59
|
let body;
|
|
62
60
|
body = JSON.stringify({
|
|
63
|
-
...(input.ReadinessCheckName
|
|
64
|
-
|
|
65
|
-
...(input.
|
|
66
|
-
input.ResourceSetName !== null && { resourceSetName: input.ResourceSetName }),
|
|
67
|
-
...(input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
61
|
+
...(input.ReadinessCheckName != null && { readinessCheckName: input.ReadinessCheckName }),
|
|
62
|
+
...(input.ResourceSetName != null && { resourceSetName: input.ResourceSetName }),
|
|
63
|
+
...(input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
68
64
|
});
|
|
69
65
|
return new protocol_http_1.HttpRequest({
|
|
70
66
|
protocol,
|
|
@@ -85,11 +81,9 @@ const serializeAws_restJson1CreateRecoveryGroupCommand = async (input, context)
|
|
|
85
81
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/recoverygroups";
|
|
86
82
|
let body;
|
|
87
83
|
body = JSON.stringify({
|
|
88
|
-
...(input.Cells
|
|
89
|
-
|
|
90
|
-
...(input.
|
|
91
|
-
input.RecoveryGroupName !== null && { recoveryGroupName: input.RecoveryGroupName }),
|
|
92
|
-
...(input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
84
|
+
...(input.Cells != null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) }),
|
|
85
|
+
...(input.RecoveryGroupName != null && { recoveryGroupName: input.RecoveryGroupName }),
|
|
86
|
+
...(input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
93
87
|
});
|
|
94
88
|
return new protocol_http_1.HttpRequest({
|
|
95
89
|
protocol,
|
|
@@ -110,13 +104,10 @@ const serializeAws_restJson1CreateResourceSetCommand = async (input, context) =>
|
|
|
110
104
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/resourcesets";
|
|
111
105
|
let body;
|
|
112
106
|
body = JSON.stringify({
|
|
113
|
-
...(input.ResourceSetName
|
|
114
|
-
|
|
115
|
-
...(input.
|
|
116
|
-
|
|
117
|
-
...(input.Resources !== undefined &&
|
|
118
|
-
input.Resources !== null && { resources: serializeAws_restJson1__listOfResource(input.Resources, context) }),
|
|
119
|
-
...(input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
107
|
+
...(input.ResourceSetName != null && { resourceSetName: input.ResourceSetName }),
|
|
108
|
+
...(input.ResourceSetType != null && { resourceSetType: input.ResourceSetType }),
|
|
109
|
+
...(input.Resources != null && { resources: serializeAws_restJson1__listOfResource(input.Resources, context) }),
|
|
110
|
+
...(input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
120
111
|
});
|
|
121
112
|
return new protocol_http_1.HttpRequest({
|
|
122
113
|
protocol,
|
|
@@ -704,7 +695,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
704
695
|
}
|
|
705
696
|
let body;
|
|
706
697
|
body = JSON.stringify({
|
|
707
|
-
...(input.Tags
|
|
698
|
+
...(input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) }),
|
|
708
699
|
});
|
|
709
700
|
return new protocol_http_1.HttpRequest({
|
|
710
701
|
protocol,
|
|
@@ -765,8 +756,7 @@ const serializeAws_restJson1UpdateCellCommand = async (input, context) => {
|
|
|
765
756
|
}
|
|
766
757
|
let body;
|
|
767
758
|
body = JSON.stringify({
|
|
768
|
-
...(input.Cells
|
|
769
|
-
input.Cells !== null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) }),
|
|
759
|
+
...(input.Cells != null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) }),
|
|
770
760
|
});
|
|
771
761
|
return new protocol_http_1.HttpRequest({
|
|
772
762
|
protocol,
|
|
@@ -797,8 +787,7 @@ const serializeAws_restJson1UpdateReadinessCheckCommand = async (input, context)
|
|
|
797
787
|
}
|
|
798
788
|
let body;
|
|
799
789
|
body = JSON.stringify({
|
|
800
|
-
...(input.ResourceSetName
|
|
801
|
-
input.ResourceSetName !== null && { resourceSetName: input.ResourceSetName }),
|
|
790
|
+
...(input.ResourceSetName != null && { resourceSetName: input.ResourceSetName }),
|
|
802
791
|
});
|
|
803
792
|
return new protocol_http_1.HttpRequest({
|
|
804
793
|
protocol,
|
|
@@ -829,8 +818,7 @@ const serializeAws_restJson1UpdateRecoveryGroupCommand = async (input, context)
|
|
|
829
818
|
}
|
|
830
819
|
let body;
|
|
831
820
|
body = JSON.stringify({
|
|
832
|
-
...(input.Cells
|
|
833
|
-
input.Cells !== null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) }),
|
|
821
|
+
...(input.Cells != null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) }),
|
|
834
822
|
});
|
|
835
823
|
return new protocol_http_1.HttpRequest({
|
|
836
824
|
protocol,
|
|
@@ -861,10 +849,8 @@ const serializeAws_restJson1UpdateResourceSetCommand = async (input, context) =>
|
|
|
861
849
|
}
|
|
862
850
|
let body;
|
|
863
851
|
body = JSON.stringify({
|
|
864
|
-
...(input.ResourceSetType
|
|
865
|
-
|
|
866
|
-
...(input.Resources !== undefined &&
|
|
867
|
-
input.Resources !== null && { resources: serializeAws_restJson1__listOfResource(input.Resources, context) }),
|
|
852
|
+
...(input.ResourceSetType != null && { resourceSetType: input.ResourceSetType }),
|
|
853
|
+
...(input.Resources != null && { resources: serializeAws_restJson1__listOfResource(input.Resources, context) }),
|
|
868
854
|
});
|
|
869
855
|
return new protocol_http_1.HttpRequest({
|
|
870
856
|
protocol,
|
|
@@ -2740,39 +2726,36 @@ const serializeAws_restJson1__listOfResource = (input, context) => {
|
|
|
2740
2726
|
};
|
|
2741
2727
|
const serializeAws_restJson1DNSTargetResource = (input, context) => {
|
|
2742
2728
|
return {
|
|
2743
|
-
...(input.DomainName
|
|
2744
|
-
...(input.HostedZoneArn
|
|
2745
|
-
...(input.RecordSetId
|
|
2746
|
-
...(input.RecordType
|
|
2747
|
-
...(input.TargetResource
|
|
2748
|
-
input.TargetResource !== null && {
|
|
2729
|
+
...(input.DomainName != null && { domainName: input.DomainName }),
|
|
2730
|
+
...(input.HostedZoneArn != null && { hostedZoneArn: input.HostedZoneArn }),
|
|
2731
|
+
...(input.RecordSetId != null && { recordSetId: input.RecordSetId }),
|
|
2732
|
+
...(input.RecordType != null && { recordType: input.RecordType }),
|
|
2733
|
+
...(input.TargetResource != null && {
|
|
2749
2734
|
targetResource: serializeAws_restJson1TargetResource(input.TargetResource, context),
|
|
2750
2735
|
}),
|
|
2751
2736
|
};
|
|
2752
2737
|
};
|
|
2753
2738
|
const serializeAws_restJson1NLBResource = (input, context) => {
|
|
2754
2739
|
return {
|
|
2755
|
-
...(input.Arn
|
|
2740
|
+
...(input.Arn != null && { arn: input.Arn }),
|
|
2756
2741
|
};
|
|
2757
2742
|
};
|
|
2758
2743
|
const serializeAws_restJson1R53ResourceRecord = (input, context) => {
|
|
2759
2744
|
return {
|
|
2760
|
-
...(input.DomainName
|
|
2761
|
-
...(input.RecordSetId
|
|
2745
|
+
...(input.DomainName != null && { domainName: input.DomainName }),
|
|
2746
|
+
...(input.RecordSetId != null && { recordSetId: input.RecordSetId }),
|
|
2762
2747
|
};
|
|
2763
2748
|
};
|
|
2764
2749
|
const serializeAws_restJson1Resource = (input, context) => {
|
|
2765
2750
|
return {
|
|
2766
|
-
...(input.ComponentId
|
|
2767
|
-
...(input.DnsTargetResource
|
|
2768
|
-
input.DnsTargetResource !== null && {
|
|
2751
|
+
...(input.ComponentId != null && { componentId: input.ComponentId }),
|
|
2752
|
+
...(input.DnsTargetResource != null && {
|
|
2769
2753
|
dnsTargetResource: serializeAws_restJson1DNSTargetResource(input.DnsTargetResource, context),
|
|
2770
2754
|
}),
|
|
2771
|
-
...(input.ReadinessScopes
|
|
2772
|
-
input.ReadinessScopes !== null && {
|
|
2755
|
+
...(input.ReadinessScopes != null && {
|
|
2773
2756
|
readinessScopes: serializeAws_restJson1__listOf__string(input.ReadinessScopes, context),
|
|
2774
2757
|
}),
|
|
2775
|
-
...(input.ResourceArn
|
|
2758
|
+
...(input.ResourceArn != null && { resourceArn: input.ResourceArn }),
|
|
2776
2759
|
};
|
|
2777
2760
|
};
|
|
2778
2761
|
const serializeAws_restJson1Tags = (input, context) => {
|
|
@@ -2788,10 +2771,8 @@ const serializeAws_restJson1Tags = (input, context) => {
|
|
|
2788
2771
|
};
|
|
2789
2772
|
const serializeAws_restJson1TargetResource = (input, context) => {
|
|
2790
2773
|
return {
|
|
2791
|
-
...(input.NLBResource
|
|
2792
|
-
|
|
2793
|
-
...(input.R53Resource !== undefined &&
|
|
2794
|
-
input.R53Resource !== null && {
|
|
2774
|
+
...(input.NLBResource != null && { nLBResource: serializeAws_restJson1NLBResource(input.NLBResource, context) }),
|
|
2775
|
+
...(input.R53Resource != null && {
|
|
2795
2776
|
r53Resource: serializeAws_restJson1R53ResourceRecord(input.R53Resource, context),
|
|
2796
2777
|
}),
|
|
2797
2778
|
};
|
|
@@ -2943,15 +2924,11 @@ const deserializeAws_restJson1CellOutput = (output, context) => {
|
|
|
2943
2924
|
return {
|
|
2944
2925
|
CellArn: (0, smithy_client_1.expectString)(output.cellArn),
|
|
2945
2926
|
CellName: (0, smithy_client_1.expectString)(output.cellName),
|
|
2946
|
-
Cells: output.cells
|
|
2947
|
-
|
|
2948
|
-
: undefined,
|
|
2949
|
-
ParentReadinessScopes: output.parentReadinessScopes !== undefined && output.parentReadinessScopes !== null
|
|
2927
|
+
Cells: output.cells != null ? deserializeAws_restJson1__listOf__string(output.cells, context) : undefined,
|
|
2928
|
+
ParentReadinessScopes: output.parentReadinessScopes != null
|
|
2950
2929
|
? deserializeAws_restJson1__listOf__string(output.parentReadinessScopes, context)
|
|
2951
2930
|
: undefined,
|
|
2952
|
-
Tags: output.tags
|
|
2953
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2954
|
-
: undefined,
|
|
2931
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
2955
2932
|
};
|
|
2956
2933
|
};
|
|
2957
2934
|
const deserializeAws_restJson1DNSTargetResource = (output, context) => {
|
|
@@ -2960,7 +2937,7 @@ const deserializeAws_restJson1DNSTargetResource = (output, context) => {
|
|
|
2960
2937
|
HostedZoneArn: (0, smithy_client_1.expectString)(output.hostedZoneArn),
|
|
2961
2938
|
RecordSetId: (0, smithy_client_1.expectString)(output.recordSetId),
|
|
2962
2939
|
RecordType: (0, smithy_client_1.expectString)(output.recordType),
|
|
2963
|
-
TargetResource: output.targetResource
|
|
2940
|
+
TargetResource: output.targetResource != null
|
|
2964
2941
|
? deserializeAws_restJson1TargetResource(output.targetResource, context)
|
|
2965
2942
|
: undefined,
|
|
2966
2943
|
};
|
|
@@ -2993,9 +2970,7 @@ const deserializeAws_restJson1ReadinessCheckOutput = (output, context) => {
|
|
|
2993
2970
|
ReadinessCheckArn: (0, smithy_client_1.expectString)(output.readinessCheckArn),
|
|
2994
2971
|
ReadinessCheckName: (0, smithy_client_1.expectString)(output.readinessCheckName),
|
|
2995
2972
|
ResourceSet: (0, smithy_client_1.expectString)(output.resourceSet),
|
|
2996
|
-
Tags: output.tags
|
|
2997
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2998
|
-
: undefined,
|
|
2973
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
2999
2974
|
};
|
|
3000
2975
|
};
|
|
3001
2976
|
const deserializeAws_restJson1ReadinessCheckSummary = (output, context) => {
|
|
@@ -3011,23 +2986,19 @@ const deserializeAws_restJson1Recommendation = (output, context) => {
|
|
|
3011
2986
|
};
|
|
3012
2987
|
const deserializeAws_restJson1RecoveryGroupOutput = (output, context) => {
|
|
3013
2988
|
return {
|
|
3014
|
-
Cells: output.cells
|
|
3015
|
-
? deserializeAws_restJson1__listOf__string(output.cells, context)
|
|
3016
|
-
: undefined,
|
|
2989
|
+
Cells: output.cells != null ? deserializeAws_restJson1__listOf__string(output.cells, context) : undefined,
|
|
3017
2990
|
RecoveryGroupArn: (0, smithy_client_1.expectString)(output.recoveryGroupArn),
|
|
3018
2991
|
RecoveryGroupName: (0, smithy_client_1.expectString)(output.recoveryGroupName),
|
|
3019
|
-
Tags: output.tags
|
|
3020
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
3021
|
-
: undefined,
|
|
2992
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
3022
2993
|
};
|
|
3023
2994
|
};
|
|
3024
2995
|
const deserializeAws_restJson1Resource = (output, context) => {
|
|
3025
2996
|
return {
|
|
3026
2997
|
ComponentId: (0, smithy_client_1.expectString)(output.componentId),
|
|
3027
|
-
DnsTargetResource: output.dnsTargetResource
|
|
2998
|
+
DnsTargetResource: output.dnsTargetResource != null
|
|
3028
2999
|
? deserializeAws_restJson1DNSTargetResource(output.dnsTargetResource, context)
|
|
3029
3000
|
: undefined,
|
|
3030
|
-
ReadinessScopes: output.readinessScopes
|
|
3001
|
+
ReadinessScopes: output.readinessScopes != null
|
|
3031
3002
|
? deserializeAws_restJson1__listOf__string(output.readinessScopes, context)
|
|
3032
3003
|
: undefined,
|
|
3033
3004
|
ResourceArn: (0, smithy_client_1.expectString)(output.resourceArn),
|
|
@@ -3036,7 +3007,7 @@ const deserializeAws_restJson1Resource = (output, context) => {
|
|
|
3036
3007
|
const deserializeAws_restJson1ResourceResult = (output, context) => {
|
|
3037
3008
|
return {
|
|
3038
3009
|
ComponentId: (0, smithy_client_1.expectString)(output.componentId),
|
|
3039
|
-
LastCheckedTimestamp: output.lastCheckedTimestamp
|
|
3010
|
+
LastCheckedTimestamp: output.lastCheckedTimestamp != null
|
|
3040
3011
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastCheckedTimestamp))
|
|
3041
3012
|
: undefined,
|
|
3042
3013
|
Readiness: (0, smithy_client_1.expectString)(output.readiness),
|
|
@@ -3048,22 +3019,16 @@ const deserializeAws_restJson1ResourceSetOutput = (output, context) => {
|
|
|
3048
3019
|
ResourceSetArn: (0, smithy_client_1.expectString)(output.resourceSetArn),
|
|
3049
3020
|
ResourceSetName: (0, smithy_client_1.expectString)(output.resourceSetName),
|
|
3050
3021
|
ResourceSetType: (0, smithy_client_1.expectString)(output.resourceSetType),
|
|
3051
|
-
Resources: output.resources
|
|
3052
|
-
|
|
3053
|
-
: undefined,
|
|
3054
|
-
Tags: output.tags !== undefined && output.tags !== null
|
|
3055
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
3056
|
-
: undefined,
|
|
3022
|
+
Resources: output.resources != null ? deserializeAws_restJson1__listOfResource(output.resources, context) : undefined,
|
|
3023
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
3057
3024
|
};
|
|
3058
3025
|
};
|
|
3059
3026
|
const deserializeAws_restJson1RuleResult = (output, context) => {
|
|
3060
3027
|
return {
|
|
3061
|
-
LastCheckedTimestamp: output.lastCheckedTimestamp
|
|
3028
|
+
LastCheckedTimestamp: output.lastCheckedTimestamp != null
|
|
3062
3029
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastCheckedTimestamp))
|
|
3063
3030
|
: undefined,
|
|
3064
|
-
Messages: output.messages
|
|
3065
|
-
? deserializeAws_restJson1__listOfMessage(output.messages, context)
|
|
3066
|
-
: undefined,
|
|
3031
|
+
Messages: output.messages != null ? deserializeAws_restJson1__listOfMessage(output.messages, context) : undefined,
|
|
3067
3032
|
Readiness: (0, smithy_client_1.expectString)(output.readiness),
|
|
3068
3033
|
RuleId: (0, smithy_client_1.expectString)(output.ruleId),
|
|
3069
3034
|
};
|
|
@@ -3081,12 +3046,8 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
3081
3046
|
};
|
|
3082
3047
|
const deserializeAws_restJson1TargetResource = (output, context) => {
|
|
3083
3048
|
return {
|
|
3084
|
-
NLBResource: output.nLBResource
|
|
3085
|
-
|
|
3086
|
-
: undefined,
|
|
3087
|
-
R53Resource: output.r53Resource !== undefined && output.r53Resource !== null
|
|
3088
|
-
? deserializeAws_restJson1R53ResourceRecord(output.r53Resource, context)
|
|
3089
|
-
: undefined,
|
|
3049
|
+
NLBResource: output.nLBResource != null ? deserializeAws_restJson1NLBResource(output.nLBResource, context) : undefined,
|
|
3050
|
+
R53Resource: output.r53Resource != null ? deserializeAws_restJson1R53ResourceRecord(output.r53Resource, context) : undefined,
|
|
3090
3051
|
};
|
|
3091
3052
|
};
|
|
3092
3053
|
const deserializeMetadata = (output) => {
|
|
@@ -3120,6 +3081,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
3120
3081
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
3121
3082
|
const sanitizeErrorCode = (rawValue) => {
|
|
3122
3083
|
let cleanValue = rawValue;
|
|
3084
|
+
if (typeof cleanValue === "number") {
|
|
3085
|
+
cleanValue = cleanValue.toString();
|
|
3086
|
+
}
|
|
3123
3087
|
if (cleanValue.indexOf(":") >= 0) {
|
|
3124
3088
|
cleanValue = cleanValue.split(":")[0];
|
|
3125
3089
|
}
|
|
@@ -14,8 +14,7 @@ export var serializeAws_restJson1CreateCellCommand = function (input, context) {
|
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
16
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/cells";
|
|
17
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.CellName
|
|
18
|
-
input.Cells !== null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) })), (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
17
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.CellName != null && { cellName: input.CellName })), (input.Cells != null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) })), (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
19
18
|
return [2, new __HttpRequest({
|
|
20
19
|
protocol: protocol,
|
|
21
20
|
hostname: hostname,
|
|
@@ -39,8 +38,7 @@ export var serializeAws_restJson1CreateCrossAccountAuthorizationCommand = functi
|
|
|
39
38
|
"content-type": "application/json",
|
|
40
39
|
};
|
|
41
40
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/crossaccountauthorizations";
|
|
42
|
-
body = JSON.stringify(__assign({}, (input.CrossAccountAuthorization
|
|
43
|
-
input.CrossAccountAuthorization !== null && { crossAccountAuthorization: input.CrossAccountAuthorization })));
|
|
41
|
+
body = JSON.stringify(__assign({}, (input.CrossAccountAuthorization != null && { crossAccountAuthorization: input.CrossAccountAuthorization })));
|
|
44
42
|
return [2, new __HttpRequest({
|
|
45
43
|
protocol: protocol,
|
|
46
44
|
hostname: hostname,
|
|
@@ -64,9 +62,7 @@ export var serializeAws_restJson1CreateReadinessCheckCommand = function (input,
|
|
|
64
62
|
"content-type": "application/json",
|
|
65
63
|
};
|
|
66
64
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/readinesschecks";
|
|
67
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.ReadinessCheckName
|
|
68
|
-
input.ReadinessCheckName !== null && { readinessCheckName: input.ReadinessCheckName })), (input.ResourceSetName !== undefined &&
|
|
69
|
-
input.ResourceSetName !== null && { resourceSetName: input.ResourceSetName })), (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
65
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.ReadinessCheckName != null && { readinessCheckName: input.ReadinessCheckName })), (input.ResourceSetName != null && { resourceSetName: input.ResourceSetName })), (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
70
66
|
return [2, new __HttpRequest({
|
|
71
67
|
protocol: protocol,
|
|
72
68
|
hostname: hostname,
|
|
@@ -90,9 +86,7 @@ export var serializeAws_restJson1CreateRecoveryGroupCommand = function (input, c
|
|
|
90
86
|
"content-type": "application/json",
|
|
91
87
|
};
|
|
92
88
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recoverygroups";
|
|
93
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.Cells
|
|
94
|
-
input.Cells !== null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) })), (input.RecoveryGroupName !== undefined &&
|
|
95
|
-
input.RecoveryGroupName !== null && { recoveryGroupName: input.RecoveryGroupName })), (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
89
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.Cells != null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) })), (input.RecoveryGroupName != null && { recoveryGroupName: input.RecoveryGroupName })), (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
96
90
|
return [2, new __HttpRequest({
|
|
97
91
|
protocol: protocol,
|
|
98
92
|
hostname: hostname,
|
|
@@ -116,10 +110,7 @@ export var serializeAws_restJson1CreateResourceSetCommand = function (input, con
|
|
|
116
110
|
"content-type": "application/json",
|
|
117
111
|
};
|
|
118
112
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resourcesets";
|
|
119
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.ResourceSetName
|
|
120
|
-
input.ResourceSetName !== null && { resourceSetName: input.ResourceSetName })), (input.ResourceSetType !== undefined &&
|
|
121
|
-
input.ResourceSetType !== null && { resourceSetType: input.ResourceSetType })), (input.Resources !== undefined &&
|
|
122
|
-
input.Resources !== null && { resources: serializeAws_restJson1__listOfResource(input.Resources, context) })), (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
113
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.ResourceSetName != null && { resourceSetName: input.ResourceSetName })), (input.ResourceSetType != null && { resourceSetType: input.ResourceSetType })), (input.Resources != null && { resources: serializeAws_restJson1__listOfResource(input.Resources, context) })), (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
123
114
|
return [2, new __HttpRequest({
|
|
124
115
|
protocol: protocol,
|
|
125
116
|
hostname: hostname,
|
|
@@ -781,7 +772,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
781
772
|
else {
|
|
782
773
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
783
774
|
}
|
|
784
|
-
body = JSON.stringify(__assign({}, (input.Tags
|
|
775
|
+
body = JSON.stringify(__assign({}, (input.Tags != null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
785
776
|
return [2, new __HttpRequest({
|
|
786
777
|
protocol: protocol,
|
|
787
778
|
hostname: hostname,
|
|
@@ -848,8 +839,7 @@ export var serializeAws_restJson1UpdateCellCommand = function (input, context) {
|
|
|
848
839
|
else {
|
|
849
840
|
throw new Error("No value provided for input HTTP label: CellName.");
|
|
850
841
|
}
|
|
851
|
-
body = JSON.stringify(__assign({}, (input.Cells
|
|
852
|
-
input.Cells !== null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) })));
|
|
842
|
+
body = JSON.stringify(__assign({}, (input.Cells != null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) })));
|
|
853
843
|
return [2, new __HttpRequest({
|
|
854
844
|
protocol: protocol,
|
|
855
845
|
hostname: hostname,
|
|
@@ -883,8 +873,7 @@ export var serializeAws_restJson1UpdateReadinessCheckCommand = function (input,
|
|
|
883
873
|
else {
|
|
884
874
|
throw new Error("No value provided for input HTTP label: ReadinessCheckName.");
|
|
885
875
|
}
|
|
886
|
-
body = JSON.stringify(__assign({}, (input.ResourceSetName
|
|
887
|
-
input.ResourceSetName !== null && { resourceSetName: input.ResourceSetName })));
|
|
876
|
+
body = JSON.stringify(__assign({}, (input.ResourceSetName != null && { resourceSetName: input.ResourceSetName })));
|
|
888
877
|
return [2, new __HttpRequest({
|
|
889
878
|
protocol: protocol,
|
|
890
879
|
hostname: hostname,
|
|
@@ -918,8 +907,7 @@ export var serializeAws_restJson1UpdateRecoveryGroupCommand = function (input, c
|
|
|
918
907
|
else {
|
|
919
908
|
throw new Error("No value provided for input HTTP label: RecoveryGroupName.");
|
|
920
909
|
}
|
|
921
|
-
body = JSON.stringify(__assign({}, (input.Cells
|
|
922
|
-
input.Cells !== null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) })));
|
|
910
|
+
body = JSON.stringify(__assign({}, (input.Cells != null && { cells: serializeAws_restJson1__listOf__string(input.Cells, context) })));
|
|
923
911
|
return [2, new __HttpRequest({
|
|
924
912
|
protocol: protocol,
|
|
925
913
|
hostname: hostname,
|
|
@@ -953,9 +941,7 @@ export var serializeAws_restJson1UpdateResourceSetCommand = function (input, con
|
|
|
953
941
|
else {
|
|
954
942
|
throw new Error("No value provided for input HTTP label: ResourceSetName.");
|
|
955
943
|
}
|
|
956
|
-
body = JSON.stringify(__assign(__assign({}, (input.ResourceSetType
|
|
957
|
-
input.ResourceSetType !== null && { resourceSetType: input.ResourceSetType })), (input.Resources !== undefined &&
|
|
958
|
-
input.Resources !== null && { resources: serializeAws_restJson1__listOfResource(input.Resources, context) })));
|
|
944
|
+
body = JSON.stringify(__assign(__assign({}, (input.ResourceSetType != null && { resourceSetType: input.ResourceSetType })), (input.Resources != null && { resources: serializeAws_restJson1__listOfResource(input.Resources, context) })));
|
|
959
945
|
return [2, new __HttpRequest({
|
|
960
946
|
protocol: protocol,
|
|
961
947
|
hostname: hostname,
|
|
@@ -3539,25 +3525,22 @@ var serializeAws_restJson1__listOfResource = function (input, context) {
|
|
|
3539
3525
|
});
|
|
3540
3526
|
};
|
|
3541
3527
|
var serializeAws_restJson1DNSTargetResource = function (input, context) {
|
|
3542
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DomainName
|
|
3543
|
-
input.TargetResource !== null && {
|
|
3528
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DomainName != null && { domainName: input.DomainName })), (input.HostedZoneArn != null && { hostedZoneArn: input.HostedZoneArn })), (input.RecordSetId != null && { recordSetId: input.RecordSetId })), (input.RecordType != null && { recordType: input.RecordType })), (input.TargetResource != null && {
|
|
3544
3529
|
targetResource: serializeAws_restJson1TargetResource(input.TargetResource, context),
|
|
3545
3530
|
}));
|
|
3546
3531
|
};
|
|
3547
3532
|
var serializeAws_restJson1NLBResource = function (input, context) {
|
|
3548
|
-
return __assign({}, (input.Arn
|
|
3533
|
+
return __assign({}, (input.Arn != null && { arn: input.Arn }));
|
|
3549
3534
|
};
|
|
3550
3535
|
var serializeAws_restJson1R53ResourceRecord = function (input, context) {
|
|
3551
|
-
return __assign(__assign({}, (input.DomainName
|
|
3536
|
+
return __assign(__assign({}, (input.DomainName != null && { domainName: input.DomainName })), (input.RecordSetId != null && { recordSetId: input.RecordSetId }));
|
|
3552
3537
|
};
|
|
3553
3538
|
var serializeAws_restJson1Resource = function (input, context) {
|
|
3554
|
-
return __assign(__assign(__assign(__assign({}, (input.ComponentId
|
|
3555
|
-
input.DnsTargetResource !== null && {
|
|
3539
|
+
return __assign(__assign(__assign(__assign({}, (input.ComponentId != null && { componentId: input.ComponentId })), (input.DnsTargetResource != null && {
|
|
3556
3540
|
dnsTargetResource: serializeAws_restJson1DNSTargetResource(input.DnsTargetResource, context),
|
|
3557
|
-
})), (input.ReadinessScopes
|
|
3558
|
-
input.ReadinessScopes !== null && {
|
|
3541
|
+
})), (input.ReadinessScopes != null && {
|
|
3559
3542
|
readinessScopes: serializeAws_restJson1__listOf__string(input.ReadinessScopes, context),
|
|
3560
|
-
})), (input.ResourceArn
|
|
3543
|
+
})), (input.ResourceArn != null && { resourceArn: input.ResourceArn }));
|
|
3561
3544
|
};
|
|
3562
3545
|
var serializeAws_restJson1Tags = function (input, context) {
|
|
3563
3546
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -3570,9 +3553,7 @@ var serializeAws_restJson1Tags = function (input, context) {
|
|
|
3570
3553
|
}, {});
|
|
3571
3554
|
};
|
|
3572
3555
|
var serializeAws_restJson1TargetResource = function (input, context) {
|
|
3573
|
-
return __assign(__assign({}, (input.NLBResource
|
|
3574
|
-
input.NLBResource !== null && { nLBResource: serializeAws_restJson1NLBResource(input.NLBResource, context) })), (input.R53Resource !== undefined &&
|
|
3575
|
-
input.R53Resource !== null && {
|
|
3556
|
+
return __assign(__assign({}, (input.NLBResource != null && { nLBResource: serializeAws_restJson1NLBResource(input.NLBResource, context) })), (input.R53Resource != null && {
|
|
3576
3557
|
r53Resource: serializeAws_restJson1R53ResourceRecord(input.R53Resource, context),
|
|
3577
3558
|
}));
|
|
3578
3559
|
};
|
|
@@ -3723,15 +3704,11 @@ var deserializeAws_restJson1CellOutput = function (output, context) {
|
|
|
3723
3704
|
return {
|
|
3724
3705
|
CellArn: __expectString(output.cellArn),
|
|
3725
3706
|
CellName: __expectString(output.cellName),
|
|
3726
|
-
Cells: output.cells
|
|
3727
|
-
|
|
3728
|
-
: undefined,
|
|
3729
|
-
ParentReadinessScopes: output.parentReadinessScopes !== undefined && output.parentReadinessScopes !== null
|
|
3707
|
+
Cells: output.cells != null ? deserializeAws_restJson1__listOf__string(output.cells, context) : undefined,
|
|
3708
|
+
ParentReadinessScopes: output.parentReadinessScopes != null
|
|
3730
3709
|
? deserializeAws_restJson1__listOf__string(output.parentReadinessScopes, context)
|
|
3731
3710
|
: undefined,
|
|
3732
|
-
Tags: output.tags
|
|
3733
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
3734
|
-
: undefined,
|
|
3711
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
3735
3712
|
};
|
|
3736
3713
|
};
|
|
3737
3714
|
var deserializeAws_restJson1DNSTargetResource = function (output, context) {
|
|
@@ -3740,7 +3717,7 @@ var deserializeAws_restJson1DNSTargetResource = function (output, context) {
|
|
|
3740
3717
|
HostedZoneArn: __expectString(output.hostedZoneArn),
|
|
3741
3718
|
RecordSetId: __expectString(output.recordSetId),
|
|
3742
3719
|
RecordType: __expectString(output.recordType),
|
|
3743
|
-
TargetResource: output.targetResource
|
|
3720
|
+
TargetResource: output.targetResource != null
|
|
3744
3721
|
? deserializeAws_restJson1TargetResource(output.targetResource, context)
|
|
3745
3722
|
: undefined,
|
|
3746
3723
|
};
|
|
@@ -3773,9 +3750,7 @@ var deserializeAws_restJson1ReadinessCheckOutput = function (output, context) {
|
|
|
3773
3750
|
ReadinessCheckArn: __expectString(output.readinessCheckArn),
|
|
3774
3751
|
ReadinessCheckName: __expectString(output.readinessCheckName),
|
|
3775
3752
|
ResourceSet: __expectString(output.resourceSet),
|
|
3776
|
-
Tags: output.tags
|
|
3777
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
3778
|
-
: undefined,
|
|
3753
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
3779
3754
|
};
|
|
3780
3755
|
};
|
|
3781
3756
|
var deserializeAws_restJson1ReadinessCheckSummary = function (output, context) {
|
|
@@ -3791,23 +3766,19 @@ var deserializeAws_restJson1Recommendation = function (output, context) {
|
|
|
3791
3766
|
};
|
|
3792
3767
|
var deserializeAws_restJson1RecoveryGroupOutput = function (output, context) {
|
|
3793
3768
|
return {
|
|
3794
|
-
Cells: output.cells
|
|
3795
|
-
? deserializeAws_restJson1__listOf__string(output.cells, context)
|
|
3796
|
-
: undefined,
|
|
3769
|
+
Cells: output.cells != null ? deserializeAws_restJson1__listOf__string(output.cells, context) : undefined,
|
|
3797
3770
|
RecoveryGroupArn: __expectString(output.recoveryGroupArn),
|
|
3798
3771
|
RecoveryGroupName: __expectString(output.recoveryGroupName),
|
|
3799
|
-
Tags: output.tags
|
|
3800
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
3801
|
-
: undefined,
|
|
3772
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
3802
3773
|
};
|
|
3803
3774
|
};
|
|
3804
3775
|
var deserializeAws_restJson1Resource = function (output, context) {
|
|
3805
3776
|
return {
|
|
3806
3777
|
ComponentId: __expectString(output.componentId),
|
|
3807
|
-
DnsTargetResource: output.dnsTargetResource
|
|
3778
|
+
DnsTargetResource: output.dnsTargetResource != null
|
|
3808
3779
|
? deserializeAws_restJson1DNSTargetResource(output.dnsTargetResource, context)
|
|
3809
3780
|
: undefined,
|
|
3810
|
-
ReadinessScopes: output.readinessScopes
|
|
3781
|
+
ReadinessScopes: output.readinessScopes != null
|
|
3811
3782
|
? deserializeAws_restJson1__listOf__string(output.readinessScopes, context)
|
|
3812
3783
|
: undefined,
|
|
3813
3784
|
ResourceArn: __expectString(output.resourceArn),
|
|
@@ -3816,7 +3787,7 @@ var deserializeAws_restJson1Resource = function (output, context) {
|
|
|
3816
3787
|
var deserializeAws_restJson1ResourceResult = function (output, context) {
|
|
3817
3788
|
return {
|
|
3818
3789
|
ComponentId: __expectString(output.componentId),
|
|
3819
|
-
LastCheckedTimestamp: output.lastCheckedTimestamp
|
|
3790
|
+
LastCheckedTimestamp: output.lastCheckedTimestamp != null
|
|
3820
3791
|
? __expectNonNull(__parseRfc3339DateTime(output.lastCheckedTimestamp))
|
|
3821
3792
|
: undefined,
|
|
3822
3793
|
Readiness: __expectString(output.readiness),
|
|
@@ -3828,22 +3799,16 @@ var deserializeAws_restJson1ResourceSetOutput = function (output, context) {
|
|
|
3828
3799
|
ResourceSetArn: __expectString(output.resourceSetArn),
|
|
3829
3800
|
ResourceSetName: __expectString(output.resourceSetName),
|
|
3830
3801
|
ResourceSetType: __expectString(output.resourceSetType),
|
|
3831
|
-
Resources: output.resources
|
|
3832
|
-
|
|
3833
|
-
: undefined,
|
|
3834
|
-
Tags: output.tags !== undefined && output.tags !== null
|
|
3835
|
-
? deserializeAws_restJson1Tags(output.tags, context)
|
|
3836
|
-
: undefined,
|
|
3802
|
+
Resources: output.resources != null ? deserializeAws_restJson1__listOfResource(output.resources, context) : undefined,
|
|
3803
|
+
Tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
|
|
3837
3804
|
};
|
|
3838
3805
|
};
|
|
3839
3806
|
var deserializeAws_restJson1RuleResult = function (output, context) {
|
|
3840
3807
|
return {
|
|
3841
|
-
LastCheckedTimestamp: output.lastCheckedTimestamp
|
|
3808
|
+
LastCheckedTimestamp: output.lastCheckedTimestamp != null
|
|
3842
3809
|
? __expectNonNull(__parseRfc3339DateTime(output.lastCheckedTimestamp))
|
|
3843
3810
|
: undefined,
|
|
3844
|
-
Messages: output.messages
|
|
3845
|
-
? deserializeAws_restJson1__listOfMessage(output.messages, context)
|
|
3846
|
-
: undefined,
|
|
3811
|
+
Messages: output.messages != null ? deserializeAws_restJson1__listOfMessage(output.messages, context) : undefined,
|
|
3847
3812
|
Readiness: __expectString(output.readiness),
|
|
3848
3813
|
RuleId: __expectString(output.ruleId),
|
|
3849
3814
|
};
|
|
@@ -3860,12 +3825,8 @@ var deserializeAws_restJson1Tags = function (output, context) {
|
|
|
3860
3825
|
};
|
|
3861
3826
|
var deserializeAws_restJson1TargetResource = function (output, context) {
|
|
3862
3827
|
return {
|
|
3863
|
-
NLBResource: output.nLBResource
|
|
3864
|
-
|
|
3865
|
-
: undefined,
|
|
3866
|
-
R53Resource: output.r53Resource !== undefined && output.r53Resource !== null
|
|
3867
|
-
? deserializeAws_restJson1R53ResourceRecord(output.r53Resource, context)
|
|
3868
|
-
: undefined,
|
|
3828
|
+
NLBResource: output.nLBResource != null ? deserializeAws_restJson1NLBResource(output.nLBResource, context) : undefined,
|
|
3829
|
+
R53Resource: output.r53Resource != null ? deserializeAws_restJson1R53ResourceRecord(output.r53Resource, context) : undefined,
|
|
3869
3830
|
};
|
|
3870
3831
|
};
|
|
3871
3832
|
var deserializeMetadata = function (output) {
|
|
@@ -3906,6 +3867,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
3906
3867
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
3907
3868
|
var sanitizeErrorCode = function (rawValue) {
|
|
3908
3869
|
var cleanValue = rawValue;
|
|
3870
|
+
if (typeof cleanValue === "number") {
|
|
3871
|
+
cleanValue = cleanValue.toString();
|
|
3872
|
+
}
|
|
3909
3873
|
if (cleanValue.indexOf(":") >= 0) {
|
|
3910
3874
|
cleanValue = cleanValue.split(":")[0];
|
|
3911
3875
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route53-recovery-readiness",
|
|
3
3
|
"description": "AWS SDK for JavaScript Route53 Recovery Readiness Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.130.0",
|
|
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",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.130.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.130.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.130.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|