@aws-sdk/client-migration-hub-refactor-spaces 3.121.0 → 3.127.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 +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +61 -97
- package/dist-es/protocols/Aws_restJson1.js +42 -78
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-migration-hub-refactor-spaces
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -26,15 +26,14 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
|
|
|
26
26
|
}
|
|
27
27
|
let body;
|
|
28
28
|
body = JSON.stringify({
|
|
29
|
-
...(input.ApiGatewayProxy
|
|
30
|
-
input.ApiGatewayProxy !== null && {
|
|
29
|
+
...(input.ApiGatewayProxy != null && {
|
|
31
30
|
ApiGatewayProxy: serializeAws_restJson1ApiGatewayProxyInput(input.ApiGatewayProxy, context),
|
|
32
31
|
}),
|
|
33
32
|
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
34
|
-
...(input.Name
|
|
35
|
-
...(input.ProxyType
|
|
36
|
-
...(input.Tags
|
|
37
|
-
...(input.VpcId
|
|
33
|
+
...(input.Name != null && { Name: input.Name }),
|
|
34
|
+
...(input.ProxyType != null && { ProxyType: input.ProxyType }),
|
|
35
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
|
|
36
|
+
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
38
37
|
});
|
|
39
38
|
return new protocol_http_1.HttpRequest({
|
|
40
39
|
protocol,
|
|
@@ -57,11 +56,10 @@ const serializeAws_restJson1CreateEnvironmentCommand = async (input, context) =>
|
|
|
57
56
|
let body;
|
|
58
57
|
body = JSON.stringify({
|
|
59
58
|
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
60
|
-
...(input.Description
|
|
61
|
-
...(input.Name
|
|
62
|
-
...(input.NetworkFabricType
|
|
63
|
-
|
|
64
|
-
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
|
|
59
|
+
...(input.Description != null && { Description: input.Description }),
|
|
60
|
+
...(input.Name != null && { Name: input.Name }),
|
|
61
|
+
...(input.NetworkFabricType != null && { NetworkFabricType: input.NetworkFabricType }),
|
|
62
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
|
|
65
63
|
});
|
|
66
64
|
return new protocol_http_1.HttpRequest({
|
|
67
65
|
protocol,
|
|
@@ -105,16 +103,13 @@ const serializeAws_restJson1CreateRouteCommand = async (input, context) => {
|
|
|
105
103
|
let body;
|
|
106
104
|
body = JSON.stringify({
|
|
107
105
|
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
108
|
-
...(input.DefaultRoute
|
|
109
|
-
input.DefaultRoute !== null && {
|
|
106
|
+
...(input.DefaultRoute != null && {
|
|
110
107
|
DefaultRoute: serializeAws_restJson1DefaultRouteInput(input.DefaultRoute, context),
|
|
111
108
|
}),
|
|
112
|
-
...(input.RouteType
|
|
113
|
-
...(input.ServiceIdentifier
|
|
114
|
-
|
|
115
|
-
...(input.
|
|
116
|
-
...(input.UriPathRoute !== undefined &&
|
|
117
|
-
input.UriPathRoute !== null && {
|
|
109
|
+
...(input.RouteType != null && { RouteType: input.RouteType }),
|
|
110
|
+
...(input.ServiceIdentifier != null && { ServiceIdentifier: input.ServiceIdentifier }),
|
|
111
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
|
|
112
|
+
...(input.UriPathRoute != null && {
|
|
118
113
|
UriPathRoute: serializeAws_restJson1UriPathRouteInput(input.UriPathRoute, context),
|
|
119
114
|
}),
|
|
120
115
|
});
|
|
@@ -160,19 +155,17 @@ const serializeAws_restJson1CreateServiceCommand = async (input, context) => {
|
|
|
160
155
|
let body;
|
|
161
156
|
body = JSON.stringify({
|
|
162
157
|
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
163
|
-
...(input.Description
|
|
164
|
-
...(input.EndpointType
|
|
165
|
-
...(input.LambdaEndpoint
|
|
166
|
-
input.LambdaEndpoint !== null && {
|
|
158
|
+
...(input.Description != null && { Description: input.Description }),
|
|
159
|
+
...(input.EndpointType != null && { EndpointType: input.EndpointType }),
|
|
160
|
+
...(input.LambdaEndpoint != null && {
|
|
167
161
|
LambdaEndpoint: serializeAws_restJson1LambdaEndpointInput(input.LambdaEndpoint, context),
|
|
168
162
|
}),
|
|
169
|
-
...(input.Name
|
|
170
|
-
...(input.Tags
|
|
171
|
-
...(input.UrlEndpoint
|
|
172
|
-
input.UrlEndpoint !== null && {
|
|
163
|
+
...(input.Name != null && { Name: input.Name }),
|
|
164
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
|
|
165
|
+
...(input.UrlEndpoint != null && {
|
|
173
166
|
UrlEndpoint: serializeAws_restJson1UrlEndpointInput(input.UrlEndpoint, context),
|
|
174
167
|
}),
|
|
175
|
-
...(input.VpcId
|
|
168
|
+
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
176
169
|
});
|
|
177
170
|
return new protocol_http_1.HttpRequest({
|
|
178
171
|
protocol,
|
|
@@ -754,8 +747,8 @@ const serializeAws_restJson1PutResourcePolicyCommand = async (input, context) =>
|
|
|
754
747
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/resourcepolicy";
|
|
755
748
|
let body;
|
|
756
749
|
body = JSON.stringify({
|
|
757
|
-
...(input.Policy
|
|
758
|
-
...(input.ResourceArn
|
|
750
|
+
...(input.Policy != null && { Policy: input.Policy }),
|
|
751
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
759
752
|
});
|
|
760
753
|
return new protocol_http_1.HttpRequest({
|
|
761
754
|
protocol,
|
|
@@ -786,7 +779,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
786
779
|
}
|
|
787
780
|
let body;
|
|
788
781
|
body = JSON.stringify({
|
|
789
|
-
...(input.Tags
|
|
782
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
|
|
790
783
|
});
|
|
791
784
|
return new protocol_http_1.HttpRequest({
|
|
792
785
|
protocol,
|
|
@@ -868,8 +861,7 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => {
|
|
|
868
861
|
}
|
|
869
862
|
let body;
|
|
870
863
|
body = JSON.stringify({
|
|
871
|
-
...(input.ActivationState
|
|
872
|
-
input.ActivationState !== null && { ActivationState: input.ActivationState }),
|
|
864
|
+
...(input.ActivationState != null && { ActivationState: input.ActivationState }),
|
|
873
865
|
});
|
|
874
866
|
return new protocol_http_1.HttpRequest({
|
|
875
867
|
protocol,
|
|
@@ -2768,14 +2760,13 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
2768
2760
|
};
|
|
2769
2761
|
const serializeAws_restJson1ApiGatewayProxyInput = (input, context) => {
|
|
2770
2762
|
return {
|
|
2771
|
-
...(input.EndpointType
|
|
2772
|
-
...(input.StageName
|
|
2763
|
+
...(input.EndpointType != null && { EndpointType: input.EndpointType }),
|
|
2764
|
+
...(input.StageName != null && { StageName: input.StageName }),
|
|
2773
2765
|
};
|
|
2774
2766
|
};
|
|
2775
2767
|
const serializeAws_restJson1DefaultRouteInput = (input, context) => {
|
|
2776
2768
|
return {
|
|
2777
|
-
...(input.ActivationState
|
|
2778
|
-
input.ActivationState !== null && { ActivationState: input.ActivationState }),
|
|
2769
|
+
...(input.ActivationState != null && { ActivationState: input.ActivationState }),
|
|
2779
2770
|
};
|
|
2780
2771
|
};
|
|
2781
2772
|
const serializeAws_restJson1HttpMethods = (input, context) => {
|
|
@@ -2790,7 +2781,7 @@ const serializeAws_restJson1HttpMethods = (input, context) => {
|
|
|
2790
2781
|
};
|
|
2791
2782
|
const serializeAws_restJson1LambdaEndpointInput = (input, context) => {
|
|
2792
2783
|
return {
|
|
2793
|
-
...(input.Arn
|
|
2784
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
2794
2785
|
};
|
|
2795
2786
|
};
|
|
2796
2787
|
const serializeAws_restJson1TagMap = (input, context) => {
|
|
@@ -2806,19 +2797,16 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
2806
2797
|
};
|
|
2807
2798
|
const serializeAws_restJson1UriPathRouteInput = (input, context) => {
|
|
2808
2799
|
return {
|
|
2809
|
-
...(input.ActivationState
|
|
2810
|
-
|
|
2811
|
-
...(input.
|
|
2812
|
-
|
|
2813
|
-
...(input.Methods !== undefined &&
|
|
2814
|
-
input.Methods !== null && { Methods: serializeAws_restJson1HttpMethods(input.Methods, context) }),
|
|
2815
|
-
...(input.SourcePath !== undefined && input.SourcePath !== null && { SourcePath: input.SourcePath }),
|
|
2800
|
+
...(input.ActivationState != null && { ActivationState: input.ActivationState }),
|
|
2801
|
+
...(input.IncludeChildPaths != null && { IncludeChildPaths: input.IncludeChildPaths }),
|
|
2802
|
+
...(input.Methods != null && { Methods: serializeAws_restJson1HttpMethods(input.Methods, context) }),
|
|
2803
|
+
...(input.SourcePath != null && { SourcePath: input.SourcePath }),
|
|
2816
2804
|
};
|
|
2817
2805
|
};
|
|
2818
2806
|
const serializeAws_restJson1UrlEndpointInput = (input, context) => {
|
|
2819
2807
|
return {
|
|
2820
|
-
...(input.HealthUrl
|
|
2821
|
-
...(input.Url
|
|
2808
|
+
...(input.HealthUrl != null && { HealthUrl: input.HealthUrl }),
|
|
2809
|
+
...(input.Url != null && { Url: input.Url }),
|
|
2822
2810
|
};
|
|
2823
2811
|
};
|
|
2824
2812
|
const deserializeAws_restJson1AdditionalDetails = (output, context) => {
|
|
@@ -2873,29 +2861,25 @@ const deserializeAws_restJson1ApplicationSummaries = (output, context) => {
|
|
|
2873
2861
|
};
|
|
2874
2862
|
const deserializeAws_restJson1ApplicationSummary = (output, context) => {
|
|
2875
2863
|
return {
|
|
2876
|
-
ApiGatewayProxy: output.ApiGatewayProxy
|
|
2864
|
+
ApiGatewayProxy: output.ApiGatewayProxy != null
|
|
2877
2865
|
? deserializeAws_restJson1ApiGatewayProxySummary(output.ApiGatewayProxy, context)
|
|
2878
2866
|
: undefined,
|
|
2879
2867
|
ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
|
|
2880
2868
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2881
2869
|
CreatedByAccountId: (0, smithy_client_1.expectString)(output.CreatedByAccountId),
|
|
2882
|
-
CreatedTime: output.CreatedTime
|
|
2870
|
+
CreatedTime: output.CreatedTime != null
|
|
2883
2871
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
2884
2872
|
: undefined,
|
|
2885
2873
|
EnvironmentId: (0, smithy_client_1.expectString)(output.EnvironmentId),
|
|
2886
|
-
Error: output.Error
|
|
2887
|
-
|
|
2888
|
-
: undefined,
|
|
2889
|
-
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
2874
|
+
Error: output.Error != null ? deserializeAws_restJson1ErrorResponse(output.Error, context) : undefined,
|
|
2875
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
2890
2876
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
2891
2877
|
: undefined,
|
|
2892
2878
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2893
2879
|
OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
|
|
2894
2880
|
ProxyType: (0, smithy_client_1.expectString)(output.ProxyType),
|
|
2895
2881
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
2896
|
-
Tags: output.Tags
|
|
2897
|
-
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
2898
|
-
: undefined,
|
|
2882
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
2899
2883
|
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2900
2884
|
};
|
|
2901
2885
|
};
|
|
@@ -2924,38 +2908,32 @@ const deserializeAws_restJson1EnvironmentSummaries = (output, context) => {
|
|
|
2924
2908
|
const deserializeAws_restJson1EnvironmentSummary = (output, context) => {
|
|
2925
2909
|
return {
|
|
2926
2910
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2927
|
-
CreatedTime: output.CreatedTime
|
|
2911
|
+
CreatedTime: output.CreatedTime != null
|
|
2928
2912
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
2929
2913
|
: undefined,
|
|
2930
2914
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2931
2915
|
EnvironmentId: (0, smithy_client_1.expectString)(output.EnvironmentId),
|
|
2932
|
-
Error: output.Error
|
|
2933
|
-
|
|
2934
|
-
: undefined,
|
|
2935
|
-
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
2916
|
+
Error: output.Error != null ? deserializeAws_restJson1ErrorResponse(output.Error, context) : undefined,
|
|
2917
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
2936
2918
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
2937
2919
|
: undefined,
|
|
2938
2920
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2939
2921
|
NetworkFabricType: (0, smithy_client_1.expectString)(output.NetworkFabricType),
|
|
2940
2922
|
OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
|
|
2941
2923
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
2942
|
-
Tags: output.Tags
|
|
2943
|
-
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
2944
|
-
: undefined,
|
|
2924
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
2945
2925
|
TransitGatewayId: (0, smithy_client_1.expectString)(output.TransitGatewayId),
|
|
2946
2926
|
};
|
|
2947
2927
|
};
|
|
2948
2928
|
const deserializeAws_restJson1EnvironmentVpc = (output, context) => {
|
|
2949
2929
|
return {
|
|
2950
2930
|
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
2951
|
-
CidrBlocks: output.CidrBlocks
|
|
2952
|
-
|
|
2953
|
-
: undefined,
|
|
2954
|
-
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
2931
|
+
CidrBlocks: output.CidrBlocks != null ? deserializeAws_restJson1CidrBlocks(output.CidrBlocks, context) : undefined,
|
|
2932
|
+
CreatedTime: output.CreatedTime != null
|
|
2955
2933
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
2956
2934
|
: undefined,
|
|
2957
2935
|
EnvironmentId: (0, smithy_client_1.expectString)(output.EnvironmentId),
|
|
2958
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
2936
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
2959
2937
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
2960
2938
|
: undefined,
|
|
2961
2939
|
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
@@ -2976,7 +2954,7 @@ const deserializeAws_restJson1EnvironmentVpcs = (output, context) => {
|
|
|
2976
2954
|
const deserializeAws_restJson1ErrorResponse = (output, context) => {
|
|
2977
2955
|
return {
|
|
2978
2956
|
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
2979
|
-
AdditionalDetails: output.AdditionalDetails
|
|
2957
|
+
AdditionalDetails: output.AdditionalDetails != null
|
|
2980
2958
|
? deserializeAws_restJson1AdditionalDetails(output.AdditionalDetails, context)
|
|
2981
2959
|
: undefined,
|
|
2982
2960
|
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
@@ -3038,22 +3016,18 @@ const deserializeAws_restJson1RouteSummary = (output, context) => {
|
|
|
3038
3016
|
ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
|
|
3039
3017
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3040
3018
|
CreatedByAccountId: (0, smithy_client_1.expectString)(output.CreatedByAccountId),
|
|
3041
|
-
CreatedTime: output.CreatedTime
|
|
3019
|
+
CreatedTime: output.CreatedTime != null
|
|
3042
3020
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
3043
3021
|
: undefined,
|
|
3044
3022
|
EnvironmentId: (0, smithy_client_1.expectString)(output.EnvironmentId),
|
|
3045
|
-
Error: output.Error
|
|
3046
|
-
? deserializeAws_restJson1ErrorResponse(output.Error, context)
|
|
3047
|
-
: undefined,
|
|
3023
|
+
Error: output.Error != null ? deserializeAws_restJson1ErrorResponse(output.Error, context) : undefined,
|
|
3048
3024
|
IncludeChildPaths: (0, smithy_client_1.expectBoolean)(output.IncludeChildPaths),
|
|
3049
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
3025
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
3050
3026
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
3051
3027
|
: undefined,
|
|
3052
|
-
Methods: output.Methods
|
|
3053
|
-
? deserializeAws_restJson1HttpMethods(output.Methods, context)
|
|
3054
|
-
: undefined,
|
|
3028
|
+
Methods: output.Methods != null ? deserializeAws_restJson1HttpMethods(output.Methods, context) : undefined,
|
|
3055
3029
|
OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
|
|
3056
|
-
PathResourceToId: output.PathResourceToId
|
|
3030
|
+
PathResourceToId: output.PathResourceToId != null
|
|
3057
3031
|
? deserializeAws_restJson1PathResourceToId(output.PathResourceToId, context)
|
|
3058
3032
|
: undefined,
|
|
3059
3033
|
RouteId: (0, smithy_client_1.expectString)(output.RouteId),
|
|
@@ -3061,9 +3035,7 @@ const deserializeAws_restJson1RouteSummary = (output, context) => {
|
|
|
3061
3035
|
ServiceId: (0, smithy_client_1.expectString)(output.ServiceId),
|
|
3062
3036
|
SourcePath: (0, smithy_client_1.expectString)(output.SourcePath),
|
|
3063
3037
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
3064
|
-
Tags: output.Tags
|
|
3065
|
-
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
3066
|
-
: undefined,
|
|
3038
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
3067
3039
|
};
|
|
3068
3040
|
};
|
|
3069
3041
|
const deserializeAws_restJson1ServiceSummaries = (output, context) => {
|
|
@@ -3082,31 +3054,25 @@ const deserializeAws_restJson1ServiceSummary = (output, context) => {
|
|
|
3082
3054
|
ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
|
|
3083
3055
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3084
3056
|
CreatedByAccountId: (0, smithy_client_1.expectString)(output.CreatedByAccountId),
|
|
3085
|
-
CreatedTime: output.CreatedTime
|
|
3057
|
+
CreatedTime: output.CreatedTime != null
|
|
3086
3058
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
3087
3059
|
: undefined,
|
|
3088
3060
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3089
3061
|
EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
|
|
3090
3062
|
EnvironmentId: (0, smithy_client_1.expectString)(output.EnvironmentId),
|
|
3091
|
-
Error: output.Error
|
|
3092
|
-
|
|
3093
|
-
: undefined,
|
|
3094
|
-
LambdaEndpoint: output.LambdaEndpoint !== undefined && output.LambdaEndpoint !== null
|
|
3063
|
+
Error: output.Error != null ? deserializeAws_restJson1ErrorResponse(output.Error, context) : undefined,
|
|
3064
|
+
LambdaEndpoint: output.LambdaEndpoint != null
|
|
3095
3065
|
? deserializeAws_restJson1LambdaEndpointSummary(output.LambdaEndpoint, context)
|
|
3096
3066
|
: undefined,
|
|
3097
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
3067
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
3098
3068
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
3099
3069
|
: undefined,
|
|
3100
3070
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3101
3071
|
OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
|
|
3102
3072
|
ServiceId: (0, smithy_client_1.expectString)(output.ServiceId),
|
|
3103
3073
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
3104
|
-
Tags: output.Tags
|
|
3105
|
-
|
|
3106
|
-
: undefined,
|
|
3107
|
-
UrlEndpoint: output.UrlEndpoint !== undefined && output.UrlEndpoint !== null
|
|
3108
|
-
? deserializeAws_restJson1UrlEndpointSummary(output.UrlEndpoint, context)
|
|
3109
|
-
: undefined,
|
|
3074
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
3075
|
+
UrlEndpoint: output.UrlEndpoint != null ? deserializeAws_restJson1UrlEndpointSummary(output.UrlEndpoint, context) : undefined,
|
|
3110
3076
|
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
3111
3077
|
};
|
|
3112
3078
|
};
|
|
@@ -3125,9 +3091,7 @@ const deserializeAws_restJson1UriPathRouteInput = (output, context) => {
|
|
|
3125
3091
|
return {
|
|
3126
3092
|
ActivationState: (0, smithy_client_1.expectString)(output.ActivationState),
|
|
3127
3093
|
IncludeChildPaths: (0, smithy_client_1.expectBoolean)(output.IncludeChildPaths),
|
|
3128
|
-
Methods: output.Methods
|
|
3129
|
-
? deserializeAws_restJson1HttpMethods(output.Methods, context)
|
|
3130
|
-
: undefined,
|
|
3094
|
+
Methods: output.Methods != null ? deserializeAws_restJson1HttpMethods(output.Methods, context) : undefined,
|
|
3131
3095
|
SourcePath: (0, smithy_client_1.expectString)(output.SourcePath),
|
|
3132
3096
|
};
|
|
3133
3097
|
};
|
|
@@ -27,10 +27,9 @@ export var serializeAws_restJson1CreateApplicationCommand = function (input, con
|
|
|
27
27
|
else {
|
|
28
28
|
throw new Error("No value provided for input HTTP label: EnvironmentIdentifier.");
|
|
29
29
|
}
|
|
30
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApiGatewayProxy
|
|
31
|
-
input.ApiGatewayProxy !== null && {
|
|
30
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApiGatewayProxy != null && {
|
|
32
31
|
ApiGatewayProxy: serializeAws_restJson1ApiGatewayProxyInput(input.ApiGatewayProxy, context),
|
|
33
|
-
})), { ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Name
|
|
32
|
+
})), { ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Name != null && { Name: input.Name })), (input.ProxyType != null && { ProxyType: input.ProxyType })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.VpcId != null && { VpcId: input.VpcId })));
|
|
34
33
|
return [2, new __HttpRequest({
|
|
35
34
|
protocol: protocol,
|
|
36
35
|
hostname: hostname,
|
|
@@ -55,8 +54,7 @@ export var serializeAws_restJson1CreateEnvironmentCommand = function (input, con
|
|
|
55
54
|
"content-type": "application/json",
|
|
56
55
|
};
|
|
57
56
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/environments";
|
|
58
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description
|
|
59
|
-
input.NetworkFabricType !== null && { NetworkFabricType: input.NetworkFabricType })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
57
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.NetworkFabricType != null && { NetworkFabricType: input.NetworkFabricType })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
60
58
|
return [2, new __HttpRequest({
|
|
61
59
|
protocol: protocol,
|
|
62
60
|
hostname: hostname,
|
|
@@ -102,12 +100,9 @@ export var serializeAws_restJson1CreateRouteCommand = function (input, context)
|
|
|
102
100
|
else {
|
|
103
101
|
throw new Error("No value provided for input HTTP label: ApplicationIdentifier.");
|
|
104
102
|
}
|
|
105
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.DefaultRoute
|
|
106
|
-
input.DefaultRoute !== null && {
|
|
103
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.DefaultRoute != null && {
|
|
107
104
|
DefaultRoute: serializeAws_restJson1DefaultRouteInput(input.DefaultRoute, context),
|
|
108
|
-
})), (input.RouteType
|
|
109
|
-
input.ServiceIdentifier !== null && { ServiceIdentifier: input.ServiceIdentifier })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.UriPathRoute !== undefined &&
|
|
110
|
-
input.UriPathRoute !== null && {
|
|
105
|
+
})), (input.RouteType != null && { RouteType: input.RouteType })), (input.ServiceIdentifier != null && { ServiceIdentifier: input.ServiceIdentifier })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.UriPathRoute != null && {
|
|
111
106
|
UriPathRoute: serializeAws_restJson1UriPathRouteInput(input.UriPathRoute, context),
|
|
112
107
|
})));
|
|
113
108
|
return [2, new __HttpRequest({
|
|
@@ -155,13 +150,11 @@ export var serializeAws_restJson1CreateServiceCommand = function (input, context
|
|
|
155
150
|
else {
|
|
156
151
|
throw new Error("No value provided for input HTTP label: ApplicationIdentifier.");
|
|
157
152
|
}
|
|
158
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description
|
|
159
|
-
input.LambdaEndpoint !== null && {
|
|
153
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.EndpointType != null && { EndpointType: input.EndpointType })), (input.LambdaEndpoint != null && {
|
|
160
154
|
LambdaEndpoint: serializeAws_restJson1LambdaEndpointInput(input.LambdaEndpoint, context),
|
|
161
|
-
})), (input.Name
|
|
162
|
-
input.UrlEndpoint !== null && {
|
|
155
|
+
})), (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.UrlEndpoint != null && {
|
|
163
156
|
UrlEndpoint: serializeAws_restJson1UrlEndpointInput(input.UrlEndpoint, context),
|
|
164
|
-
})), (input.VpcId
|
|
157
|
+
})), (input.VpcId != null && { VpcId: input.VpcId })));
|
|
165
158
|
return [2, new __HttpRequest({
|
|
166
159
|
protocol: protocol,
|
|
167
160
|
hostname: hostname,
|
|
@@ -811,7 +804,7 @@ export var serializeAws_restJson1PutResourcePolicyCommand = function (input, con
|
|
|
811
804
|
"content-type": "application/json",
|
|
812
805
|
};
|
|
813
806
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resourcepolicy";
|
|
814
|
-
body = JSON.stringify(__assign(__assign({}, (input.Policy
|
|
807
|
+
body = JSON.stringify(__assign(__assign({}, (input.Policy != null && { Policy: input.Policy })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn })));
|
|
815
808
|
return [2, new __HttpRequest({
|
|
816
809
|
protocol: protocol,
|
|
817
810
|
hostname: hostname,
|
|
@@ -845,7 +838,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
845
838
|
else {
|
|
846
839
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
847
840
|
}
|
|
848
|
-
body = JSON.stringify(__assign({}, (input.Tags
|
|
841
|
+
body = JSON.stringify(__assign({}, (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
849
842
|
return [2, new __HttpRequest({
|
|
850
843
|
protocol: protocol,
|
|
851
844
|
hostname: hostname,
|
|
@@ -933,8 +926,7 @@ export var serializeAws_restJson1UpdateRouteCommand = function (input, context)
|
|
|
933
926
|
else {
|
|
934
927
|
throw new Error("No value provided for input HTTP label: RouteIdentifier.");
|
|
935
928
|
}
|
|
936
|
-
body = JSON.stringify(__assign({}, (input.ActivationState
|
|
937
|
-
input.ActivationState !== null && { ActivationState: input.ActivationState })));
|
|
929
|
+
body = JSON.stringify(__assign({}, (input.ActivationState != null && { ActivationState: input.ActivationState })));
|
|
938
930
|
return [2, new __HttpRequest({
|
|
939
931
|
protocol: protocol,
|
|
940
932
|
hostname: hostname,
|
|
@@ -3389,11 +3381,10 @@ var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput
|
|
|
3389
3381
|
});
|
|
3390
3382
|
}); };
|
|
3391
3383
|
var serializeAws_restJson1ApiGatewayProxyInput = function (input, context) {
|
|
3392
|
-
return __assign(__assign({}, (input.EndpointType
|
|
3384
|
+
return __assign(__assign({}, (input.EndpointType != null && { EndpointType: input.EndpointType })), (input.StageName != null && { StageName: input.StageName }));
|
|
3393
3385
|
};
|
|
3394
3386
|
var serializeAws_restJson1DefaultRouteInput = function (input, context) {
|
|
3395
|
-
return __assign({}, (input.ActivationState
|
|
3396
|
-
input.ActivationState !== null && { ActivationState: input.ActivationState }));
|
|
3387
|
+
return __assign({}, (input.ActivationState != null && { ActivationState: input.ActivationState }));
|
|
3397
3388
|
};
|
|
3398
3389
|
var serializeAws_restJson1HttpMethods = function (input, context) {
|
|
3399
3390
|
return input
|
|
@@ -3406,7 +3397,7 @@ var serializeAws_restJson1HttpMethods = function (input, context) {
|
|
|
3406
3397
|
});
|
|
3407
3398
|
};
|
|
3408
3399
|
var serializeAws_restJson1LambdaEndpointInput = function (input, context) {
|
|
3409
|
-
return __assign({}, (input.Arn
|
|
3400
|
+
return __assign({}, (input.Arn != null && { Arn: input.Arn }));
|
|
3410
3401
|
};
|
|
3411
3402
|
var serializeAws_restJson1TagMap = function (input, context) {
|
|
3412
3403
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -3419,13 +3410,10 @@ var serializeAws_restJson1TagMap = function (input, context) {
|
|
|
3419
3410
|
}, {});
|
|
3420
3411
|
};
|
|
3421
3412
|
var serializeAws_restJson1UriPathRouteInput = function (input, context) {
|
|
3422
|
-
return __assign(__assign(__assign(__assign({}, (input.ActivationState
|
|
3423
|
-
input.ActivationState !== null && { ActivationState: input.ActivationState })), (input.IncludeChildPaths !== undefined &&
|
|
3424
|
-
input.IncludeChildPaths !== null && { IncludeChildPaths: input.IncludeChildPaths })), (input.Methods !== undefined &&
|
|
3425
|
-
input.Methods !== null && { Methods: serializeAws_restJson1HttpMethods(input.Methods, context) })), (input.SourcePath !== undefined && input.SourcePath !== null && { SourcePath: input.SourcePath }));
|
|
3413
|
+
return __assign(__assign(__assign(__assign({}, (input.ActivationState != null && { ActivationState: input.ActivationState })), (input.IncludeChildPaths != null && { IncludeChildPaths: input.IncludeChildPaths })), (input.Methods != null && { Methods: serializeAws_restJson1HttpMethods(input.Methods, context) })), (input.SourcePath != null && { SourcePath: input.SourcePath }));
|
|
3426
3414
|
};
|
|
3427
3415
|
var serializeAws_restJson1UrlEndpointInput = function (input, context) {
|
|
3428
|
-
return __assign(__assign({}, (input.HealthUrl
|
|
3416
|
+
return __assign(__assign({}, (input.HealthUrl != null && { HealthUrl: input.HealthUrl })), (input.Url != null && { Url: input.Url }));
|
|
3429
3417
|
};
|
|
3430
3418
|
var deserializeAws_restJson1AdditionalDetails = function (output, context) {
|
|
3431
3419
|
return Object.entries(output).reduce(function (acc, _a) {
|
|
@@ -3478,29 +3466,25 @@ var deserializeAws_restJson1ApplicationSummaries = function (output, context) {
|
|
|
3478
3466
|
};
|
|
3479
3467
|
var deserializeAws_restJson1ApplicationSummary = function (output, context) {
|
|
3480
3468
|
return {
|
|
3481
|
-
ApiGatewayProxy: output.ApiGatewayProxy
|
|
3469
|
+
ApiGatewayProxy: output.ApiGatewayProxy != null
|
|
3482
3470
|
? deserializeAws_restJson1ApiGatewayProxySummary(output.ApiGatewayProxy, context)
|
|
3483
3471
|
: undefined,
|
|
3484
3472
|
ApplicationId: __expectString(output.ApplicationId),
|
|
3485
3473
|
Arn: __expectString(output.Arn),
|
|
3486
3474
|
CreatedByAccountId: __expectString(output.CreatedByAccountId),
|
|
3487
|
-
CreatedTime: output.CreatedTime
|
|
3475
|
+
CreatedTime: output.CreatedTime != null
|
|
3488
3476
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
3489
3477
|
: undefined,
|
|
3490
3478
|
EnvironmentId: __expectString(output.EnvironmentId),
|
|
3491
|
-
Error: output.Error
|
|
3492
|
-
|
|
3493
|
-
: undefined,
|
|
3494
|
-
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
3479
|
+
Error: output.Error != null ? deserializeAws_restJson1ErrorResponse(output.Error, context) : undefined,
|
|
3480
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
3495
3481
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
3496
3482
|
: undefined,
|
|
3497
3483
|
Name: __expectString(output.Name),
|
|
3498
3484
|
OwnerAccountId: __expectString(output.OwnerAccountId),
|
|
3499
3485
|
ProxyType: __expectString(output.ProxyType),
|
|
3500
3486
|
State: __expectString(output.State),
|
|
3501
|
-
Tags: output.Tags
|
|
3502
|
-
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
3503
|
-
: undefined,
|
|
3487
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
3504
3488
|
VpcId: __expectString(output.VpcId),
|
|
3505
3489
|
};
|
|
3506
3490
|
};
|
|
@@ -3529,38 +3513,32 @@ var deserializeAws_restJson1EnvironmentSummaries = function (output, context) {
|
|
|
3529
3513
|
var deserializeAws_restJson1EnvironmentSummary = function (output, context) {
|
|
3530
3514
|
return {
|
|
3531
3515
|
Arn: __expectString(output.Arn),
|
|
3532
|
-
CreatedTime: output.CreatedTime
|
|
3516
|
+
CreatedTime: output.CreatedTime != null
|
|
3533
3517
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
3534
3518
|
: undefined,
|
|
3535
3519
|
Description: __expectString(output.Description),
|
|
3536
3520
|
EnvironmentId: __expectString(output.EnvironmentId),
|
|
3537
|
-
Error: output.Error
|
|
3538
|
-
|
|
3539
|
-
: undefined,
|
|
3540
|
-
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
3521
|
+
Error: output.Error != null ? deserializeAws_restJson1ErrorResponse(output.Error, context) : undefined,
|
|
3522
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
3541
3523
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
3542
3524
|
: undefined,
|
|
3543
3525
|
Name: __expectString(output.Name),
|
|
3544
3526
|
NetworkFabricType: __expectString(output.NetworkFabricType),
|
|
3545
3527
|
OwnerAccountId: __expectString(output.OwnerAccountId),
|
|
3546
3528
|
State: __expectString(output.State),
|
|
3547
|
-
Tags: output.Tags
|
|
3548
|
-
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
3549
|
-
: undefined,
|
|
3529
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
3550
3530
|
TransitGatewayId: __expectString(output.TransitGatewayId),
|
|
3551
3531
|
};
|
|
3552
3532
|
};
|
|
3553
3533
|
var deserializeAws_restJson1EnvironmentVpc = function (output, context) {
|
|
3554
3534
|
return {
|
|
3555
3535
|
AccountId: __expectString(output.AccountId),
|
|
3556
|
-
CidrBlocks: output.CidrBlocks
|
|
3557
|
-
|
|
3558
|
-
: undefined,
|
|
3559
|
-
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
3536
|
+
CidrBlocks: output.CidrBlocks != null ? deserializeAws_restJson1CidrBlocks(output.CidrBlocks, context) : undefined,
|
|
3537
|
+
CreatedTime: output.CreatedTime != null
|
|
3560
3538
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
3561
3539
|
: undefined,
|
|
3562
3540
|
EnvironmentId: __expectString(output.EnvironmentId),
|
|
3563
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
3541
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
3564
3542
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
3565
3543
|
: undefined,
|
|
3566
3544
|
VpcId: __expectString(output.VpcId),
|
|
@@ -3581,7 +3559,7 @@ var deserializeAws_restJson1EnvironmentVpcs = function (output, context) {
|
|
|
3581
3559
|
var deserializeAws_restJson1ErrorResponse = function (output, context) {
|
|
3582
3560
|
return {
|
|
3583
3561
|
AccountId: __expectString(output.AccountId),
|
|
3584
|
-
AdditionalDetails: output.AdditionalDetails
|
|
3562
|
+
AdditionalDetails: output.AdditionalDetails != null
|
|
3585
3563
|
? deserializeAws_restJson1AdditionalDetails(output.AdditionalDetails, context)
|
|
3586
3564
|
: undefined,
|
|
3587
3565
|
Code: __expectString(output.Code),
|
|
@@ -3642,22 +3620,18 @@ var deserializeAws_restJson1RouteSummary = function (output, context) {
|
|
|
3642
3620
|
ApplicationId: __expectString(output.ApplicationId),
|
|
3643
3621
|
Arn: __expectString(output.Arn),
|
|
3644
3622
|
CreatedByAccountId: __expectString(output.CreatedByAccountId),
|
|
3645
|
-
CreatedTime: output.CreatedTime
|
|
3623
|
+
CreatedTime: output.CreatedTime != null
|
|
3646
3624
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
3647
3625
|
: undefined,
|
|
3648
3626
|
EnvironmentId: __expectString(output.EnvironmentId),
|
|
3649
|
-
Error: output.Error
|
|
3650
|
-
? deserializeAws_restJson1ErrorResponse(output.Error, context)
|
|
3651
|
-
: undefined,
|
|
3627
|
+
Error: output.Error != null ? deserializeAws_restJson1ErrorResponse(output.Error, context) : undefined,
|
|
3652
3628
|
IncludeChildPaths: __expectBoolean(output.IncludeChildPaths),
|
|
3653
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
3629
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
3654
3630
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
3655
3631
|
: undefined,
|
|
3656
|
-
Methods: output.Methods
|
|
3657
|
-
? deserializeAws_restJson1HttpMethods(output.Methods, context)
|
|
3658
|
-
: undefined,
|
|
3632
|
+
Methods: output.Methods != null ? deserializeAws_restJson1HttpMethods(output.Methods, context) : undefined,
|
|
3659
3633
|
OwnerAccountId: __expectString(output.OwnerAccountId),
|
|
3660
|
-
PathResourceToId: output.PathResourceToId
|
|
3634
|
+
PathResourceToId: output.PathResourceToId != null
|
|
3661
3635
|
? deserializeAws_restJson1PathResourceToId(output.PathResourceToId, context)
|
|
3662
3636
|
: undefined,
|
|
3663
3637
|
RouteId: __expectString(output.RouteId),
|
|
@@ -3665,9 +3639,7 @@ var deserializeAws_restJson1RouteSummary = function (output, context) {
|
|
|
3665
3639
|
ServiceId: __expectString(output.ServiceId),
|
|
3666
3640
|
SourcePath: __expectString(output.SourcePath),
|
|
3667
3641
|
State: __expectString(output.State),
|
|
3668
|
-
Tags: output.Tags
|
|
3669
|
-
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
3670
|
-
: undefined,
|
|
3642
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
3671
3643
|
};
|
|
3672
3644
|
};
|
|
3673
3645
|
var deserializeAws_restJson1ServiceSummaries = function (output, context) {
|
|
@@ -3686,31 +3658,25 @@ var deserializeAws_restJson1ServiceSummary = function (output, context) {
|
|
|
3686
3658
|
ApplicationId: __expectString(output.ApplicationId),
|
|
3687
3659
|
Arn: __expectString(output.Arn),
|
|
3688
3660
|
CreatedByAccountId: __expectString(output.CreatedByAccountId),
|
|
3689
|
-
CreatedTime: output.CreatedTime
|
|
3661
|
+
CreatedTime: output.CreatedTime != null
|
|
3690
3662
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
3691
3663
|
: undefined,
|
|
3692
3664
|
Description: __expectString(output.Description),
|
|
3693
3665
|
EndpointType: __expectString(output.EndpointType),
|
|
3694
3666
|
EnvironmentId: __expectString(output.EnvironmentId),
|
|
3695
|
-
Error: output.Error
|
|
3696
|
-
|
|
3697
|
-
: undefined,
|
|
3698
|
-
LambdaEndpoint: output.LambdaEndpoint !== undefined && output.LambdaEndpoint !== null
|
|
3667
|
+
Error: output.Error != null ? deserializeAws_restJson1ErrorResponse(output.Error, context) : undefined,
|
|
3668
|
+
LambdaEndpoint: output.LambdaEndpoint != null
|
|
3699
3669
|
? deserializeAws_restJson1LambdaEndpointSummary(output.LambdaEndpoint, context)
|
|
3700
3670
|
: undefined,
|
|
3701
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
3671
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
3702
3672
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
3703
3673
|
: undefined,
|
|
3704
3674
|
Name: __expectString(output.Name),
|
|
3705
3675
|
OwnerAccountId: __expectString(output.OwnerAccountId),
|
|
3706
3676
|
ServiceId: __expectString(output.ServiceId),
|
|
3707
3677
|
State: __expectString(output.State),
|
|
3708
|
-
Tags: output.Tags
|
|
3709
|
-
|
|
3710
|
-
: undefined,
|
|
3711
|
-
UrlEndpoint: output.UrlEndpoint !== undefined && output.UrlEndpoint !== null
|
|
3712
|
-
? deserializeAws_restJson1UrlEndpointSummary(output.UrlEndpoint, context)
|
|
3713
|
-
: undefined,
|
|
3678
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
3679
|
+
UrlEndpoint: output.UrlEndpoint != null ? deserializeAws_restJson1UrlEndpointSummary(output.UrlEndpoint, context) : undefined,
|
|
3714
3680
|
VpcId: __expectString(output.VpcId),
|
|
3715
3681
|
};
|
|
3716
3682
|
};
|
|
@@ -3728,9 +3694,7 @@ var deserializeAws_restJson1UriPathRouteInput = function (output, context) {
|
|
|
3728
3694
|
return {
|
|
3729
3695
|
ActivationState: __expectString(output.ActivationState),
|
|
3730
3696
|
IncludeChildPaths: __expectBoolean(output.IncludeChildPaths),
|
|
3731
|
-
Methods: output.Methods
|
|
3732
|
-
? deserializeAws_restJson1HttpMethods(output.Methods, context)
|
|
3733
|
-
: undefined,
|
|
3697
|
+
Methods: output.Methods != null ? deserializeAws_restJson1HttpMethods(output.Methods, context) : undefined,
|
|
3734
3698
|
SourcePath: __expectString(output.SourcePath),
|
|
3735
3699
|
};
|
|
3736
3700
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-migration-hub-refactor-spaces",
|
|
3
3
|
"description": "AWS SDK for JavaScript Migration Hub Refactor Spaces Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.127.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.127.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.127.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.127.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.127.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.127.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",
|