@aws-sdk/client-apprunner 3.303.0 → 3.309.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/dist-cjs/commands/AssociateCustomDomainCommand.js +2 -2
- package/dist-cjs/commands/CreateAutoScalingConfigurationCommand.js +2 -2
- package/dist-cjs/commands/CreateConnectionCommand.js +2 -2
- package/dist-cjs/commands/CreateObservabilityConfigurationCommand.js +2 -2
- package/dist-cjs/commands/CreateServiceCommand.js +2 -2
- package/dist-cjs/commands/CreateVpcConnectorCommand.js +2 -2
- package/dist-cjs/commands/CreateVpcIngressConnectionCommand.js +2 -2
- package/dist-cjs/commands/DeleteAutoScalingConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DeleteConnectionCommand.js +2 -2
- package/dist-cjs/commands/DeleteObservabilityConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DeleteServiceCommand.js +2 -2
- package/dist-cjs/commands/DeleteVpcConnectorCommand.js +2 -2
- package/dist-cjs/commands/DeleteVpcIngressConnectionCommand.js +2 -2
- package/dist-cjs/commands/DescribeAutoScalingConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DescribeCustomDomainsCommand.js +2 -2
- package/dist-cjs/commands/DescribeObservabilityConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DescribeServiceCommand.js +2 -2
- package/dist-cjs/commands/DescribeVpcConnectorCommand.js +2 -2
- package/dist-cjs/commands/DescribeVpcIngressConnectionCommand.js +2 -2
- package/dist-cjs/commands/DisassociateCustomDomainCommand.js +2 -2
- package/dist-cjs/commands/ListAutoScalingConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/ListConnectionsCommand.js +2 -2
- package/dist-cjs/commands/ListObservabilityConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/ListOperationsCommand.js +2 -2
- package/dist-cjs/commands/ListServicesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListVpcConnectorsCommand.js +2 -2
- package/dist-cjs/commands/ListVpcIngressConnectionsCommand.js +2 -2
- package/dist-cjs/commands/PauseServiceCommand.js +2 -2
- package/dist-cjs/commands/ResumeServiceCommand.js +2 -2
- package/dist-cjs/commands/StartDeploymentCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateServiceCommand.js +2 -2
- package/dist-cjs/commands/UpdateVpcIngressConnectionCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_0.js +658 -694
- package/dist-es/commands/AssociateCustomDomainCommand.js +3 -3
- package/dist-es/commands/CreateAutoScalingConfigurationCommand.js +3 -3
- package/dist-es/commands/CreateConnectionCommand.js +3 -3
- package/dist-es/commands/CreateObservabilityConfigurationCommand.js +3 -3
- package/dist-es/commands/CreateServiceCommand.js +3 -3
- package/dist-es/commands/CreateVpcConnectorCommand.js +3 -3
- package/dist-es/commands/CreateVpcIngressConnectionCommand.js +3 -3
- package/dist-es/commands/DeleteAutoScalingConfigurationCommand.js +3 -3
- package/dist-es/commands/DeleteConnectionCommand.js +3 -3
- package/dist-es/commands/DeleteObservabilityConfigurationCommand.js +3 -3
- package/dist-es/commands/DeleteServiceCommand.js +3 -3
- package/dist-es/commands/DeleteVpcConnectorCommand.js +3 -3
- package/dist-es/commands/DeleteVpcIngressConnectionCommand.js +3 -3
- package/dist-es/commands/DescribeAutoScalingConfigurationCommand.js +3 -3
- package/dist-es/commands/DescribeCustomDomainsCommand.js +3 -3
- package/dist-es/commands/DescribeObservabilityConfigurationCommand.js +3 -3
- package/dist-es/commands/DescribeServiceCommand.js +3 -3
- package/dist-es/commands/DescribeVpcConnectorCommand.js +3 -3
- package/dist-es/commands/DescribeVpcIngressConnectionCommand.js +3 -3
- package/dist-es/commands/DisassociateCustomDomainCommand.js +3 -3
- package/dist-es/commands/ListAutoScalingConfigurationsCommand.js +3 -3
- package/dist-es/commands/ListConnectionsCommand.js +3 -3
- package/dist-es/commands/ListObservabilityConfigurationsCommand.js +3 -3
- package/dist-es/commands/ListOperationsCommand.js +3 -3
- package/dist-es/commands/ListServicesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListVpcConnectorsCommand.js +3 -3
- package/dist-es/commands/ListVpcIngressConnectionsCommand.js +3 -3
- package/dist-es/commands/PauseServiceCommand.js +3 -3
- package/dist-es/commands/ResumeServiceCommand.js +3 -3
- package/dist-es/commands/StartDeploymentCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateServiceCommand.js +3 -3
- package/dist-es/commands/UpdateVpcIngressConnectionCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_0.js +586 -622
- package/dist-types/protocols/Aws_json1_0.d.ts +280 -70
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +70 -70
- package/package.json +29 -29
|
@@ -1,376 +1,376 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_DescribeCustomDomainsCommand = exports.de_DescribeAutoScalingConfigurationCommand = exports.de_DeleteVpcIngressConnectionCommand = exports.de_DeleteVpcConnectorCommand = exports.de_DeleteServiceCommand = exports.de_DeleteObservabilityConfigurationCommand = exports.de_DeleteConnectionCommand = exports.de_DeleteAutoScalingConfigurationCommand = exports.de_CreateVpcIngressConnectionCommand = exports.de_CreateVpcConnectorCommand = exports.de_CreateServiceCommand = exports.de_CreateObservabilityConfigurationCommand = exports.de_CreateConnectionCommand = exports.de_CreateAutoScalingConfigurationCommand = exports.de_AssociateCustomDomainCommand = exports.se_UpdateVpcIngressConnectionCommand = exports.se_UpdateServiceCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartDeploymentCommand = exports.se_ResumeServiceCommand = exports.se_PauseServiceCommand = exports.se_ListVpcIngressConnectionsCommand = exports.se_ListVpcConnectorsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListServicesCommand = exports.se_ListOperationsCommand = exports.se_ListObservabilityConfigurationsCommand = exports.se_ListConnectionsCommand = exports.se_ListAutoScalingConfigurationsCommand = exports.se_DisassociateCustomDomainCommand = exports.se_DescribeVpcIngressConnectionCommand = exports.se_DescribeVpcConnectorCommand = exports.se_DescribeServiceCommand = exports.se_DescribeObservabilityConfigurationCommand = exports.se_DescribeCustomDomainsCommand = exports.se_DescribeAutoScalingConfigurationCommand = exports.se_DeleteVpcIngressConnectionCommand = exports.se_DeleteVpcConnectorCommand = exports.se_DeleteServiceCommand = exports.se_DeleteObservabilityConfigurationCommand = exports.se_DeleteConnectionCommand = exports.se_DeleteAutoScalingConfigurationCommand = exports.se_CreateVpcIngressConnectionCommand = exports.se_CreateVpcConnectorCommand = exports.se_CreateServiceCommand = exports.se_CreateObservabilityConfigurationCommand = exports.se_CreateConnectionCommand = exports.se_CreateAutoScalingConfigurationCommand = exports.se_AssociateCustomDomainCommand = void 0;
|
|
4
|
+
exports.de_UpdateVpcIngressConnectionCommand = exports.de_UpdateServiceCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartDeploymentCommand = exports.de_ResumeServiceCommand = exports.de_PauseServiceCommand = exports.de_ListVpcIngressConnectionsCommand = exports.de_ListVpcConnectorsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListServicesCommand = exports.de_ListOperationsCommand = exports.de_ListObservabilityConfigurationsCommand = exports.de_ListConnectionsCommand = exports.de_ListAutoScalingConfigurationsCommand = exports.de_DisassociateCustomDomainCommand = exports.de_DescribeVpcIngressConnectionCommand = exports.de_DescribeVpcConnectorCommand = exports.de_DescribeServiceCommand = exports.de_DescribeObservabilityConfigurationCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const AppRunnerServiceException_1 = require("../models/AppRunnerServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
|
-
const
|
|
9
|
+
const se_AssociateCustomDomainCommand = async (input, context) => {
|
|
10
10
|
const headers = {
|
|
11
11
|
"content-type": "application/x-amz-json-1.0",
|
|
12
12
|
"x-amz-target": "AppRunner.AssociateCustomDomain",
|
|
13
13
|
};
|
|
14
14
|
let body;
|
|
15
|
-
body = JSON.stringify(
|
|
15
|
+
body = JSON.stringify(se_AssociateCustomDomainRequest(input, context));
|
|
16
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
17
|
};
|
|
18
|
-
exports.
|
|
19
|
-
const
|
|
18
|
+
exports.se_AssociateCustomDomainCommand = se_AssociateCustomDomainCommand;
|
|
19
|
+
const se_CreateAutoScalingConfigurationCommand = async (input, context) => {
|
|
20
20
|
const headers = {
|
|
21
21
|
"content-type": "application/x-amz-json-1.0",
|
|
22
22
|
"x-amz-target": "AppRunner.CreateAutoScalingConfiguration",
|
|
23
23
|
};
|
|
24
24
|
let body;
|
|
25
|
-
body = JSON.stringify(
|
|
25
|
+
body = JSON.stringify(se_CreateAutoScalingConfigurationRequest(input, context));
|
|
26
26
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
27
27
|
};
|
|
28
|
-
exports.
|
|
29
|
-
const
|
|
28
|
+
exports.se_CreateAutoScalingConfigurationCommand = se_CreateAutoScalingConfigurationCommand;
|
|
29
|
+
const se_CreateConnectionCommand = async (input, context) => {
|
|
30
30
|
const headers = {
|
|
31
31
|
"content-type": "application/x-amz-json-1.0",
|
|
32
32
|
"x-amz-target": "AppRunner.CreateConnection",
|
|
33
33
|
};
|
|
34
34
|
let body;
|
|
35
|
-
body = JSON.stringify(
|
|
35
|
+
body = JSON.stringify(se_CreateConnectionRequest(input, context));
|
|
36
36
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
37
37
|
};
|
|
38
|
-
exports.
|
|
39
|
-
const
|
|
38
|
+
exports.se_CreateConnectionCommand = se_CreateConnectionCommand;
|
|
39
|
+
const se_CreateObservabilityConfigurationCommand = async (input, context) => {
|
|
40
40
|
const headers = {
|
|
41
41
|
"content-type": "application/x-amz-json-1.0",
|
|
42
42
|
"x-amz-target": "AppRunner.CreateObservabilityConfiguration",
|
|
43
43
|
};
|
|
44
44
|
let body;
|
|
45
|
-
body = JSON.stringify(
|
|
45
|
+
body = JSON.stringify(se_CreateObservabilityConfigurationRequest(input, context));
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
|
-
exports.
|
|
49
|
-
const
|
|
48
|
+
exports.se_CreateObservabilityConfigurationCommand = se_CreateObservabilityConfigurationCommand;
|
|
49
|
+
const se_CreateServiceCommand = async (input, context) => {
|
|
50
50
|
const headers = {
|
|
51
51
|
"content-type": "application/x-amz-json-1.0",
|
|
52
52
|
"x-amz-target": "AppRunner.CreateService",
|
|
53
53
|
};
|
|
54
54
|
let body;
|
|
55
|
-
body = JSON.stringify(
|
|
55
|
+
body = JSON.stringify(se_CreateServiceRequest(input, context));
|
|
56
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
57
57
|
};
|
|
58
|
-
exports.
|
|
59
|
-
const
|
|
58
|
+
exports.se_CreateServiceCommand = se_CreateServiceCommand;
|
|
59
|
+
const se_CreateVpcConnectorCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.0",
|
|
62
62
|
"x-amz-target": "AppRunner.CreateVpcConnector",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_CreateVpcConnectorRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
exports.
|
|
69
|
-
const
|
|
68
|
+
exports.se_CreateVpcConnectorCommand = se_CreateVpcConnectorCommand;
|
|
69
|
+
const se_CreateVpcIngressConnectionCommand = async (input, context) => {
|
|
70
70
|
const headers = {
|
|
71
71
|
"content-type": "application/x-amz-json-1.0",
|
|
72
72
|
"x-amz-target": "AppRunner.CreateVpcIngressConnection",
|
|
73
73
|
};
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(se_CreateVpcIngressConnectionRequest(input, context));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
|
-
exports.
|
|
79
|
-
const
|
|
78
|
+
exports.se_CreateVpcIngressConnectionCommand = se_CreateVpcIngressConnectionCommand;
|
|
79
|
+
const se_DeleteAutoScalingConfigurationCommand = async (input, context) => {
|
|
80
80
|
const headers = {
|
|
81
81
|
"content-type": "application/x-amz-json-1.0",
|
|
82
82
|
"x-amz-target": "AppRunner.DeleteAutoScalingConfiguration",
|
|
83
83
|
};
|
|
84
84
|
let body;
|
|
85
|
-
body = JSON.stringify(
|
|
85
|
+
body = JSON.stringify(se_DeleteAutoScalingConfigurationRequest(input, context));
|
|
86
86
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
87
87
|
};
|
|
88
|
-
exports.
|
|
89
|
-
const
|
|
88
|
+
exports.se_DeleteAutoScalingConfigurationCommand = se_DeleteAutoScalingConfigurationCommand;
|
|
89
|
+
const se_DeleteConnectionCommand = async (input, context) => {
|
|
90
90
|
const headers = {
|
|
91
91
|
"content-type": "application/x-amz-json-1.0",
|
|
92
92
|
"x-amz-target": "AppRunner.DeleteConnection",
|
|
93
93
|
};
|
|
94
94
|
let body;
|
|
95
|
-
body = JSON.stringify(
|
|
95
|
+
body = JSON.stringify(se_DeleteConnectionRequest(input, context));
|
|
96
96
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
97
97
|
};
|
|
98
|
-
exports.
|
|
99
|
-
const
|
|
98
|
+
exports.se_DeleteConnectionCommand = se_DeleteConnectionCommand;
|
|
99
|
+
const se_DeleteObservabilityConfigurationCommand = async (input, context) => {
|
|
100
100
|
const headers = {
|
|
101
101
|
"content-type": "application/x-amz-json-1.0",
|
|
102
102
|
"x-amz-target": "AppRunner.DeleteObservabilityConfiguration",
|
|
103
103
|
};
|
|
104
104
|
let body;
|
|
105
|
-
body = JSON.stringify(
|
|
105
|
+
body = JSON.stringify(se_DeleteObservabilityConfigurationRequest(input, context));
|
|
106
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
107
|
};
|
|
108
|
-
exports.
|
|
109
|
-
const
|
|
108
|
+
exports.se_DeleteObservabilityConfigurationCommand = se_DeleteObservabilityConfigurationCommand;
|
|
109
|
+
const se_DeleteServiceCommand = async (input, context) => {
|
|
110
110
|
const headers = {
|
|
111
111
|
"content-type": "application/x-amz-json-1.0",
|
|
112
112
|
"x-amz-target": "AppRunner.DeleteService",
|
|
113
113
|
};
|
|
114
114
|
let body;
|
|
115
|
-
body = JSON.stringify(
|
|
115
|
+
body = JSON.stringify(se_DeleteServiceRequest(input, context));
|
|
116
116
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
117
117
|
};
|
|
118
|
-
exports.
|
|
119
|
-
const
|
|
118
|
+
exports.se_DeleteServiceCommand = se_DeleteServiceCommand;
|
|
119
|
+
const se_DeleteVpcConnectorCommand = async (input, context) => {
|
|
120
120
|
const headers = {
|
|
121
121
|
"content-type": "application/x-amz-json-1.0",
|
|
122
122
|
"x-amz-target": "AppRunner.DeleteVpcConnector",
|
|
123
123
|
};
|
|
124
124
|
let body;
|
|
125
|
-
body = JSON.stringify(
|
|
125
|
+
body = JSON.stringify(se_DeleteVpcConnectorRequest(input, context));
|
|
126
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
127
127
|
};
|
|
128
|
-
exports.
|
|
129
|
-
const
|
|
128
|
+
exports.se_DeleteVpcConnectorCommand = se_DeleteVpcConnectorCommand;
|
|
129
|
+
const se_DeleteVpcIngressConnectionCommand = async (input, context) => {
|
|
130
130
|
const headers = {
|
|
131
131
|
"content-type": "application/x-amz-json-1.0",
|
|
132
132
|
"x-amz-target": "AppRunner.DeleteVpcIngressConnection",
|
|
133
133
|
};
|
|
134
134
|
let body;
|
|
135
|
-
body = JSON.stringify(
|
|
135
|
+
body = JSON.stringify(se_DeleteVpcIngressConnectionRequest(input, context));
|
|
136
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
137
|
};
|
|
138
|
-
exports.
|
|
139
|
-
const
|
|
138
|
+
exports.se_DeleteVpcIngressConnectionCommand = se_DeleteVpcIngressConnectionCommand;
|
|
139
|
+
const se_DescribeAutoScalingConfigurationCommand = async (input, context) => {
|
|
140
140
|
const headers = {
|
|
141
141
|
"content-type": "application/x-amz-json-1.0",
|
|
142
142
|
"x-amz-target": "AppRunner.DescribeAutoScalingConfiguration",
|
|
143
143
|
};
|
|
144
144
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify(se_DescribeAutoScalingConfigurationRequest(input, context));
|
|
146
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
147
|
};
|
|
148
|
-
exports.
|
|
149
|
-
const
|
|
148
|
+
exports.se_DescribeAutoScalingConfigurationCommand = se_DescribeAutoScalingConfigurationCommand;
|
|
149
|
+
const se_DescribeCustomDomainsCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.0",
|
|
152
152
|
"x-amz-target": "AppRunner.DescribeCustomDomains",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_DescribeCustomDomainsRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
exports.
|
|
159
|
-
const
|
|
158
|
+
exports.se_DescribeCustomDomainsCommand = se_DescribeCustomDomainsCommand;
|
|
159
|
+
const se_DescribeObservabilityConfigurationCommand = async (input, context) => {
|
|
160
160
|
const headers = {
|
|
161
161
|
"content-type": "application/x-amz-json-1.0",
|
|
162
162
|
"x-amz-target": "AppRunner.DescribeObservabilityConfiguration",
|
|
163
163
|
};
|
|
164
164
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
165
|
+
body = JSON.stringify(se_DescribeObservabilityConfigurationRequest(input, context));
|
|
166
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
167
|
};
|
|
168
|
-
exports.
|
|
169
|
-
const
|
|
168
|
+
exports.se_DescribeObservabilityConfigurationCommand = se_DescribeObservabilityConfigurationCommand;
|
|
169
|
+
const se_DescribeServiceCommand = async (input, context) => {
|
|
170
170
|
const headers = {
|
|
171
171
|
"content-type": "application/x-amz-json-1.0",
|
|
172
172
|
"x-amz-target": "AppRunner.DescribeService",
|
|
173
173
|
};
|
|
174
174
|
let body;
|
|
175
|
-
body = JSON.stringify(
|
|
175
|
+
body = JSON.stringify(se_DescribeServiceRequest(input, context));
|
|
176
176
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
177
|
};
|
|
178
|
-
exports.
|
|
179
|
-
const
|
|
178
|
+
exports.se_DescribeServiceCommand = se_DescribeServiceCommand;
|
|
179
|
+
const se_DescribeVpcConnectorCommand = async (input, context) => {
|
|
180
180
|
const headers = {
|
|
181
181
|
"content-type": "application/x-amz-json-1.0",
|
|
182
182
|
"x-amz-target": "AppRunner.DescribeVpcConnector",
|
|
183
183
|
};
|
|
184
184
|
let body;
|
|
185
|
-
body = JSON.stringify(
|
|
185
|
+
body = JSON.stringify(se_DescribeVpcConnectorRequest(input, context));
|
|
186
186
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
187
187
|
};
|
|
188
|
-
exports.
|
|
189
|
-
const
|
|
188
|
+
exports.se_DescribeVpcConnectorCommand = se_DescribeVpcConnectorCommand;
|
|
189
|
+
const se_DescribeVpcIngressConnectionCommand = async (input, context) => {
|
|
190
190
|
const headers = {
|
|
191
191
|
"content-type": "application/x-amz-json-1.0",
|
|
192
192
|
"x-amz-target": "AppRunner.DescribeVpcIngressConnection",
|
|
193
193
|
};
|
|
194
194
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify(se_DescribeVpcIngressConnectionRequest(input, context));
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
|
-
exports.
|
|
199
|
-
const
|
|
198
|
+
exports.se_DescribeVpcIngressConnectionCommand = se_DescribeVpcIngressConnectionCommand;
|
|
199
|
+
const se_DisassociateCustomDomainCommand = async (input, context) => {
|
|
200
200
|
const headers = {
|
|
201
201
|
"content-type": "application/x-amz-json-1.0",
|
|
202
202
|
"x-amz-target": "AppRunner.DisassociateCustomDomain",
|
|
203
203
|
};
|
|
204
204
|
let body;
|
|
205
|
-
body = JSON.stringify(
|
|
205
|
+
body = JSON.stringify(se_DisassociateCustomDomainRequest(input, context));
|
|
206
206
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
207
207
|
};
|
|
208
|
-
exports.
|
|
209
|
-
const
|
|
208
|
+
exports.se_DisassociateCustomDomainCommand = se_DisassociateCustomDomainCommand;
|
|
209
|
+
const se_ListAutoScalingConfigurationsCommand = async (input, context) => {
|
|
210
210
|
const headers = {
|
|
211
211
|
"content-type": "application/x-amz-json-1.0",
|
|
212
212
|
"x-amz-target": "AppRunner.ListAutoScalingConfigurations",
|
|
213
213
|
};
|
|
214
214
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify(se_ListAutoScalingConfigurationsRequest(input, context));
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
218
|
-
exports.
|
|
219
|
-
const
|
|
218
|
+
exports.se_ListAutoScalingConfigurationsCommand = se_ListAutoScalingConfigurationsCommand;
|
|
219
|
+
const se_ListConnectionsCommand = async (input, context) => {
|
|
220
220
|
const headers = {
|
|
221
221
|
"content-type": "application/x-amz-json-1.0",
|
|
222
222
|
"x-amz-target": "AppRunner.ListConnections",
|
|
223
223
|
};
|
|
224
224
|
let body;
|
|
225
|
-
body = JSON.stringify(
|
|
225
|
+
body = JSON.stringify(se_ListConnectionsRequest(input, context));
|
|
226
226
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
227
|
};
|
|
228
|
-
exports.
|
|
229
|
-
const
|
|
228
|
+
exports.se_ListConnectionsCommand = se_ListConnectionsCommand;
|
|
229
|
+
const se_ListObservabilityConfigurationsCommand = async (input, context) => {
|
|
230
230
|
const headers = {
|
|
231
231
|
"content-type": "application/x-amz-json-1.0",
|
|
232
232
|
"x-amz-target": "AppRunner.ListObservabilityConfigurations",
|
|
233
233
|
};
|
|
234
234
|
let body;
|
|
235
|
-
body = JSON.stringify(
|
|
235
|
+
body = JSON.stringify(se_ListObservabilityConfigurationsRequest(input, context));
|
|
236
236
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
237
237
|
};
|
|
238
|
-
exports.
|
|
239
|
-
const
|
|
238
|
+
exports.se_ListObservabilityConfigurationsCommand = se_ListObservabilityConfigurationsCommand;
|
|
239
|
+
const se_ListOperationsCommand = async (input, context) => {
|
|
240
240
|
const headers = {
|
|
241
241
|
"content-type": "application/x-amz-json-1.0",
|
|
242
242
|
"x-amz-target": "AppRunner.ListOperations",
|
|
243
243
|
};
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify(se_ListOperationsRequest(input, context));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
|
-
exports.
|
|
249
|
-
const
|
|
248
|
+
exports.se_ListOperationsCommand = se_ListOperationsCommand;
|
|
249
|
+
const se_ListServicesCommand = async (input, context) => {
|
|
250
250
|
const headers = {
|
|
251
251
|
"content-type": "application/x-amz-json-1.0",
|
|
252
252
|
"x-amz-target": "AppRunner.ListServices",
|
|
253
253
|
};
|
|
254
254
|
let body;
|
|
255
|
-
body = JSON.stringify(
|
|
255
|
+
body = JSON.stringify(se_ListServicesRequest(input, context));
|
|
256
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
257
|
};
|
|
258
|
-
exports.
|
|
259
|
-
const
|
|
258
|
+
exports.se_ListServicesCommand = se_ListServicesCommand;
|
|
259
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
260
260
|
const headers = {
|
|
261
261
|
"content-type": "application/x-amz-json-1.0",
|
|
262
262
|
"x-amz-target": "AppRunner.ListTagsForResource",
|
|
263
263
|
};
|
|
264
264
|
let body;
|
|
265
|
-
body = JSON.stringify(
|
|
265
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
266
266
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
267
|
};
|
|
268
|
-
exports.
|
|
269
|
-
const
|
|
268
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
269
|
+
const se_ListVpcConnectorsCommand = async (input, context) => {
|
|
270
270
|
const headers = {
|
|
271
271
|
"content-type": "application/x-amz-json-1.0",
|
|
272
272
|
"x-amz-target": "AppRunner.ListVpcConnectors",
|
|
273
273
|
};
|
|
274
274
|
let body;
|
|
275
|
-
body = JSON.stringify(
|
|
275
|
+
body = JSON.stringify(se_ListVpcConnectorsRequest(input, context));
|
|
276
276
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
277
277
|
};
|
|
278
|
-
exports.
|
|
279
|
-
const
|
|
278
|
+
exports.se_ListVpcConnectorsCommand = se_ListVpcConnectorsCommand;
|
|
279
|
+
const se_ListVpcIngressConnectionsCommand = async (input, context) => {
|
|
280
280
|
const headers = {
|
|
281
281
|
"content-type": "application/x-amz-json-1.0",
|
|
282
282
|
"x-amz-target": "AppRunner.ListVpcIngressConnections",
|
|
283
283
|
};
|
|
284
284
|
let body;
|
|
285
|
-
body = JSON.stringify(
|
|
285
|
+
body = JSON.stringify(se_ListVpcIngressConnectionsRequest(input, context));
|
|
286
286
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
287
|
};
|
|
288
|
-
exports.
|
|
289
|
-
const
|
|
288
|
+
exports.se_ListVpcIngressConnectionsCommand = se_ListVpcIngressConnectionsCommand;
|
|
289
|
+
const se_PauseServiceCommand = async (input, context) => {
|
|
290
290
|
const headers = {
|
|
291
291
|
"content-type": "application/x-amz-json-1.0",
|
|
292
292
|
"x-amz-target": "AppRunner.PauseService",
|
|
293
293
|
};
|
|
294
294
|
let body;
|
|
295
|
-
body = JSON.stringify(
|
|
295
|
+
body = JSON.stringify(se_PauseServiceRequest(input, context));
|
|
296
296
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
297
297
|
};
|
|
298
|
-
exports.
|
|
299
|
-
const
|
|
298
|
+
exports.se_PauseServiceCommand = se_PauseServiceCommand;
|
|
299
|
+
const se_ResumeServiceCommand = async (input, context) => {
|
|
300
300
|
const headers = {
|
|
301
301
|
"content-type": "application/x-amz-json-1.0",
|
|
302
302
|
"x-amz-target": "AppRunner.ResumeService",
|
|
303
303
|
};
|
|
304
304
|
let body;
|
|
305
|
-
body = JSON.stringify(
|
|
305
|
+
body = JSON.stringify(se_ResumeServiceRequest(input, context));
|
|
306
306
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
307
307
|
};
|
|
308
|
-
exports.
|
|
309
|
-
const
|
|
308
|
+
exports.se_ResumeServiceCommand = se_ResumeServiceCommand;
|
|
309
|
+
const se_StartDeploymentCommand = async (input, context) => {
|
|
310
310
|
const headers = {
|
|
311
311
|
"content-type": "application/x-amz-json-1.0",
|
|
312
312
|
"x-amz-target": "AppRunner.StartDeployment",
|
|
313
313
|
};
|
|
314
314
|
let body;
|
|
315
|
-
body = JSON.stringify(
|
|
315
|
+
body = JSON.stringify(se_StartDeploymentRequest(input, context));
|
|
316
316
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
317
|
};
|
|
318
|
-
exports.
|
|
319
|
-
const
|
|
318
|
+
exports.se_StartDeploymentCommand = se_StartDeploymentCommand;
|
|
319
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
320
320
|
const headers = {
|
|
321
321
|
"content-type": "application/x-amz-json-1.0",
|
|
322
322
|
"x-amz-target": "AppRunner.TagResource",
|
|
323
323
|
};
|
|
324
324
|
let body;
|
|
325
|
-
body = JSON.stringify(
|
|
325
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
326
326
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
327
327
|
};
|
|
328
|
-
exports.
|
|
329
|
-
const
|
|
328
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
329
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
330
330
|
const headers = {
|
|
331
331
|
"content-type": "application/x-amz-json-1.0",
|
|
332
332
|
"x-amz-target": "AppRunner.UntagResource",
|
|
333
333
|
};
|
|
334
334
|
let body;
|
|
335
|
-
body = JSON.stringify(
|
|
335
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
336
336
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
337
|
};
|
|
338
|
-
exports.
|
|
339
|
-
const
|
|
338
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
339
|
+
const se_UpdateServiceCommand = async (input, context) => {
|
|
340
340
|
const headers = {
|
|
341
341
|
"content-type": "application/x-amz-json-1.0",
|
|
342
342
|
"x-amz-target": "AppRunner.UpdateService",
|
|
343
343
|
};
|
|
344
344
|
let body;
|
|
345
|
-
body = JSON.stringify(
|
|
345
|
+
body = JSON.stringify(se_UpdateServiceRequest(input, context));
|
|
346
346
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
347
|
};
|
|
348
|
-
exports.
|
|
349
|
-
const
|
|
348
|
+
exports.se_UpdateServiceCommand = se_UpdateServiceCommand;
|
|
349
|
+
const se_UpdateVpcIngressConnectionCommand = async (input, context) => {
|
|
350
350
|
const headers = {
|
|
351
351
|
"content-type": "application/x-amz-json-1.0",
|
|
352
352
|
"x-amz-target": "AppRunner.UpdateVpcIngressConnection",
|
|
353
353
|
};
|
|
354
354
|
let body;
|
|
355
|
-
body = JSON.stringify(
|
|
355
|
+
body = JSON.stringify(se_UpdateVpcIngressConnectionRequest(input, context));
|
|
356
356
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
357
357
|
};
|
|
358
|
-
exports.
|
|
359
|
-
const
|
|
358
|
+
exports.se_UpdateVpcIngressConnectionCommand = se_UpdateVpcIngressConnectionCommand;
|
|
359
|
+
const de_AssociateCustomDomainCommand = async (output, context) => {
|
|
360
360
|
if (output.statusCode >= 300) {
|
|
361
|
-
return
|
|
361
|
+
return de_AssociateCustomDomainCommandError(output, context);
|
|
362
362
|
}
|
|
363
363
|
const data = await parseBody(output.body, context);
|
|
364
364
|
let contents = {};
|
|
365
|
-
contents =
|
|
365
|
+
contents = de_AssociateCustomDomainResponse(data, context);
|
|
366
366
|
const response = {
|
|
367
367
|
$metadata: deserializeMetadata(output),
|
|
368
368
|
...contents,
|
|
369
369
|
};
|
|
370
370
|
return Promise.resolve(response);
|
|
371
371
|
};
|
|
372
|
-
exports.
|
|
373
|
-
const
|
|
372
|
+
exports.de_AssociateCustomDomainCommand = de_AssociateCustomDomainCommand;
|
|
373
|
+
const de_AssociateCustomDomainCommandError = async (output, context) => {
|
|
374
374
|
const parsedOutput = {
|
|
375
375
|
...output,
|
|
376
376
|
body: await parseErrorBody(output.body, context),
|
|
@@ -379,13 +379,13 @@ const deserializeAws_json1_0AssociateCustomDomainCommandError = async (output, c
|
|
|
379
379
|
switch (errorCode) {
|
|
380
380
|
case "InternalServiceErrorException":
|
|
381
381
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
382
|
-
throw await
|
|
382
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
383
383
|
case "InvalidRequestException":
|
|
384
384
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
385
|
-
throw await
|
|
385
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
386
386
|
case "InvalidStateException":
|
|
387
387
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
388
|
-
throw await
|
|
388
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
389
389
|
default:
|
|
390
390
|
const parsedBody = parsedOutput.body;
|
|
391
391
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -396,21 +396,21 @@ const deserializeAws_json1_0AssociateCustomDomainCommandError = async (output, c
|
|
|
396
396
|
});
|
|
397
397
|
}
|
|
398
398
|
};
|
|
399
|
-
const
|
|
399
|
+
const de_CreateAutoScalingConfigurationCommand = async (output, context) => {
|
|
400
400
|
if (output.statusCode >= 300) {
|
|
401
|
-
return
|
|
401
|
+
return de_CreateAutoScalingConfigurationCommandError(output, context);
|
|
402
402
|
}
|
|
403
403
|
const data = await parseBody(output.body, context);
|
|
404
404
|
let contents = {};
|
|
405
|
-
contents =
|
|
405
|
+
contents = de_CreateAutoScalingConfigurationResponse(data, context);
|
|
406
406
|
const response = {
|
|
407
407
|
$metadata: deserializeMetadata(output),
|
|
408
408
|
...contents,
|
|
409
409
|
};
|
|
410
410
|
return Promise.resolve(response);
|
|
411
411
|
};
|
|
412
|
-
exports.
|
|
413
|
-
const
|
|
412
|
+
exports.de_CreateAutoScalingConfigurationCommand = de_CreateAutoScalingConfigurationCommand;
|
|
413
|
+
const de_CreateAutoScalingConfigurationCommandError = async (output, context) => {
|
|
414
414
|
const parsedOutput = {
|
|
415
415
|
...output,
|
|
416
416
|
body: await parseErrorBody(output.body, context),
|
|
@@ -419,13 +419,13 @@ const deserializeAws_json1_0CreateAutoScalingConfigurationCommandError = async (
|
|
|
419
419
|
switch (errorCode) {
|
|
420
420
|
case "InternalServiceErrorException":
|
|
421
421
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
422
|
-
throw await
|
|
422
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
423
423
|
case "InvalidRequestException":
|
|
424
424
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
425
|
-
throw await
|
|
425
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
426
426
|
case "ServiceQuotaExceededException":
|
|
427
427
|
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
428
|
-
throw await
|
|
428
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
429
429
|
default:
|
|
430
430
|
const parsedBody = parsedOutput.body;
|
|
431
431
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -436,21 +436,21 @@ const deserializeAws_json1_0CreateAutoScalingConfigurationCommandError = async (
|
|
|
436
436
|
});
|
|
437
437
|
}
|
|
438
438
|
};
|
|
439
|
-
const
|
|
439
|
+
const de_CreateConnectionCommand = async (output, context) => {
|
|
440
440
|
if (output.statusCode >= 300) {
|
|
441
|
-
return
|
|
441
|
+
return de_CreateConnectionCommandError(output, context);
|
|
442
442
|
}
|
|
443
443
|
const data = await parseBody(output.body, context);
|
|
444
444
|
let contents = {};
|
|
445
|
-
contents =
|
|
445
|
+
contents = de_CreateConnectionResponse(data, context);
|
|
446
446
|
const response = {
|
|
447
447
|
$metadata: deserializeMetadata(output),
|
|
448
448
|
...contents,
|
|
449
449
|
};
|
|
450
450
|
return Promise.resolve(response);
|
|
451
451
|
};
|
|
452
|
-
exports.
|
|
453
|
-
const
|
|
452
|
+
exports.de_CreateConnectionCommand = de_CreateConnectionCommand;
|
|
453
|
+
const de_CreateConnectionCommandError = async (output, context) => {
|
|
454
454
|
const parsedOutput = {
|
|
455
455
|
...output,
|
|
456
456
|
body: await parseErrorBody(output.body, context),
|
|
@@ -459,13 +459,13 @@ const deserializeAws_json1_0CreateConnectionCommandError = async (output, contex
|
|
|
459
459
|
switch (errorCode) {
|
|
460
460
|
case "InternalServiceErrorException":
|
|
461
461
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
462
|
-
throw await
|
|
462
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
463
463
|
case "InvalidRequestException":
|
|
464
464
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
465
|
-
throw await
|
|
465
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
466
466
|
case "ServiceQuotaExceededException":
|
|
467
467
|
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
468
|
-
throw await
|
|
468
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
469
469
|
default:
|
|
470
470
|
const parsedBody = parsedOutput.body;
|
|
471
471
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -476,21 +476,21 @@ const deserializeAws_json1_0CreateConnectionCommandError = async (output, contex
|
|
|
476
476
|
});
|
|
477
477
|
}
|
|
478
478
|
};
|
|
479
|
-
const
|
|
479
|
+
const de_CreateObservabilityConfigurationCommand = async (output, context) => {
|
|
480
480
|
if (output.statusCode >= 300) {
|
|
481
|
-
return
|
|
481
|
+
return de_CreateObservabilityConfigurationCommandError(output, context);
|
|
482
482
|
}
|
|
483
483
|
const data = await parseBody(output.body, context);
|
|
484
484
|
let contents = {};
|
|
485
|
-
contents =
|
|
485
|
+
contents = de_CreateObservabilityConfigurationResponse(data, context);
|
|
486
486
|
const response = {
|
|
487
487
|
$metadata: deserializeMetadata(output),
|
|
488
488
|
...contents,
|
|
489
489
|
};
|
|
490
490
|
return Promise.resolve(response);
|
|
491
491
|
};
|
|
492
|
-
exports.
|
|
493
|
-
const
|
|
492
|
+
exports.de_CreateObservabilityConfigurationCommand = de_CreateObservabilityConfigurationCommand;
|
|
493
|
+
const de_CreateObservabilityConfigurationCommandError = async (output, context) => {
|
|
494
494
|
const parsedOutput = {
|
|
495
495
|
...output,
|
|
496
496
|
body: await parseErrorBody(output.body, context),
|
|
@@ -499,13 +499,13 @@ const deserializeAws_json1_0CreateObservabilityConfigurationCommandError = async
|
|
|
499
499
|
switch (errorCode) {
|
|
500
500
|
case "InternalServiceErrorException":
|
|
501
501
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
502
|
-
throw await
|
|
502
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
503
503
|
case "InvalidRequestException":
|
|
504
504
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
505
|
-
throw await
|
|
505
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
506
506
|
case "ServiceQuotaExceededException":
|
|
507
507
|
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
508
|
-
throw await
|
|
508
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
509
509
|
default:
|
|
510
510
|
const parsedBody = parsedOutput.body;
|
|
511
511
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -516,21 +516,21 @@ const deserializeAws_json1_0CreateObservabilityConfigurationCommandError = async
|
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
518
|
};
|
|
519
|
-
const
|
|
519
|
+
const de_CreateServiceCommand = async (output, context) => {
|
|
520
520
|
if (output.statusCode >= 300) {
|
|
521
|
-
return
|
|
521
|
+
return de_CreateServiceCommandError(output, context);
|
|
522
522
|
}
|
|
523
523
|
const data = await parseBody(output.body, context);
|
|
524
524
|
let contents = {};
|
|
525
|
-
contents =
|
|
525
|
+
contents = de_CreateServiceResponse(data, context);
|
|
526
526
|
const response = {
|
|
527
527
|
$metadata: deserializeMetadata(output),
|
|
528
528
|
...contents,
|
|
529
529
|
};
|
|
530
530
|
return Promise.resolve(response);
|
|
531
531
|
};
|
|
532
|
-
exports.
|
|
533
|
-
const
|
|
532
|
+
exports.de_CreateServiceCommand = de_CreateServiceCommand;
|
|
533
|
+
const de_CreateServiceCommandError = async (output, context) => {
|
|
534
534
|
const parsedOutput = {
|
|
535
535
|
...output,
|
|
536
536
|
body: await parseErrorBody(output.body, context),
|
|
@@ -539,13 +539,13 @@ const deserializeAws_json1_0CreateServiceCommandError = async (output, context)
|
|
|
539
539
|
switch (errorCode) {
|
|
540
540
|
case "InternalServiceErrorException":
|
|
541
541
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
542
|
-
throw await
|
|
542
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
543
543
|
case "InvalidRequestException":
|
|
544
544
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
545
|
-
throw await
|
|
545
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
546
546
|
case "ServiceQuotaExceededException":
|
|
547
547
|
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
548
|
-
throw await
|
|
548
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
549
549
|
default:
|
|
550
550
|
const parsedBody = parsedOutput.body;
|
|
551
551
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -556,21 +556,21 @@ const deserializeAws_json1_0CreateServiceCommandError = async (output, context)
|
|
|
556
556
|
});
|
|
557
557
|
}
|
|
558
558
|
};
|
|
559
|
-
const
|
|
559
|
+
const de_CreateVpcConnectorCommand = async (output, context) => {
|
|
560
560
|
if (output.statusCode >= 300) {
|
|
561
|
-
return
|
|
561
|
+
return de_CreateVpcConnectorCommandError(output, context);
|
|
562
562
|
}
|
|
563
563
|
const data = await parseBody(output.body, context);
|
|
564
564
|
let contents = {};
|
|
565
|
-
contents =
|
|
565
|
+
contents = de_CreateVpcConnectorResponse(data, context);
|
|
566
566
|
const response = {
|
|
567
567
|
$metadata: deserializeMetadata(output),
|
|
568
568
|
...contents,
|
|
569
569
|
};
|
|
570
570
|
return Promise.resolve(response);
|
|
571
571
|
};
|
|
572
|
-
exports.
|
|
573
|
-
const
|
|
572
|
+
exports.de_CreateVpcConnectorCommand = de_CreateVpcConnectorCommand;
|
|
573
|
+
const de_CreateVpcConnectorCommandError = async (output, context) => {
|
|
574
574
|
const parsedOutput = {
|
|
575
575
|
...output,
|
|
576
576
|
body: await parseErrorBody(output.body, context),
|
|
@@ -579,13 +579,13 @@ const deserializeAws_json1_0CreateVpcConnectorCommandError = async (output, cont
|
|
|
579
579
|
switch (errorCode) {
|
|
580
580
|
case "InternalServiceErrorException":
|
|
581
581
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
582
|
-
throw await
|
|
582
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
583
583
|
case "InvalidRequestException":
|
|
584
584
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
585
|
-
throw await
|
|
585
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
586
586
|
case "ServiceQuotaExceededException":
|
|
587
587
|
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
588
|
-
throw await
|
|
588
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
589
589
|
default:
|
|
590
590
|
const parsedBody = parsedOutput.body;
|
|
591
591
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -596,21 +596,21 @@ const deserializeAws_json1_0CreateVpcConnectorCommandError = async (output, cont
|
|
|
596
596
|
});
|
|
597
597
|
}
|
|
598
598
|
};
|
|
599
|
-
const
|
|
599
|
+
const de_CreateVpcIngressConnectionCommand = async (output, context) => {
|
|
600
600
|
if (output.statusCode >= 300) {
|
|
601
|
-
return
|
|
601
|
+
return de_CreateVpcIngressConnectionCommandError(output, context);
|
|
602
602
|
}
|
|
603
603
|
const data = await parseBody(output.body, context);
|
|
604
604
|
let contents = {};
|
|
605
|
-
contents =
|
|
605
|
+
contents = de_CreateVpcIngressConnectionResponse(data, context);
|
|
606
606
|
const response = {
|
|
607
607
|
$metadata: deserializeMetadata(output),
|
|
608
608
|
...contents,
|
|
609
609
|
};
|
|
610
610
|
return Promise.resolve(response);
|
|
611
611
|
};
|
|
612
|
-
exports.
|
|
613
|
-
const
|
|
612
|
+
exports.de_CreateVpcIngressConnectionCommand = de_CreateVpcIngressConnectionCommand;
|
|
613
|
+
const de_CreateVpcIngressConnectionCommandError = async (output, context) => {
|
|
614
614
|
const parsedOutput = {
|
|
615
615
|
...output,
|
|
616
616
|
body: await parseErrorBody(output.body, context),
|
|
@@ -619,16 +619,16 @@ const deserializeAws_json1_0CreateVpcIngressConnectionCommandError = async (outp
|
|
|
619
619
|
switch (errorCode) {
|
|
620
620
|
case "InternalServiceErrorException":
|
|
621
621
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
622
|
-
throw await
|
|
622
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
623
623
|
case "InvalidRequestException":
|
|
624
624
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
625
|
-
throw await
|
|
625
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
626
626
|
case "InvalidStateException":
|
|
627
627
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
628
|
-
throw await
|
|
628
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
629
629
|
case "ServiceQuotaExceededException":
|
|
630
630
|
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
631
|
-
throw await
|
|
631
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
632
632
|
default:
|
|
633
633
|
const parsedBody = parsedOutput.body;
|
|
634
634
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -639,21 +639,21 @@ const deserializeAws_json1_0CreateVpcIngressConnectionCommandError = async (outp
|
|
|
639
639
|
});
|
|
640
640
|
}
|
|
641
641
|
};
|
|
642
|
-
const
|
|
642
|
+
const de_DeleteAutoScalingConfigurationCommand = async (output, context) => {
|
|
643
643
|
if (output.statusCode >= 300) {
|
|
644
|
-
return
|
|
644
|
+
return de_DeleteAutoScalingConfigurationCommandError(output, context);
|
|
645
645
|
}
|
|
646
646
|
const data = await parseBody(output.body, context);
|
|
647
647
|
let contents = {};
|
|
648
|
-
contents =
|
|
648
|
+
contents = de_DeleteAutoScalingConfigurationResponse(data, context);
|
|
649
649
|
const response = {
|
|
650
650
|
$metadata: deserializeMetadata(output),
|
|
651
651
|
...contents,
|
|
652
652
|
};
|
|
653
653
|
return Promise.resolve(response);
|
|
654
654
|
};
|
|
655
|
-
exports.
|
|
656
|
-
const
|
|
655
|
+
exports.de_DeleteAutoScalingConfigurationCommand = de_DeleteAutoScalingConfigurationCommand;
|
|
656
|
+
const de_DeleteAutoScalingConfigurationCommandError = async (output, context) => {
|
|
657
657
|
const parsedOutput = {
|
|
658
658
|
...output,
|
|
659
659
|
body: await parseErrorBody(output.body, context),
|
|
@@ -662,13 +662,13 @@ const deserializeAws_json1_0DeleteAutoScalingConfigurationCommandError = async (
|
|
|
662
662
|
switch (errorCode) {
|
|
663
663
|
case "InternalServiceErrorException":
|
|
664
664
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
665
|
-
throw await
|
|
665
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
666
666
|
case "InvalidRequestException":
|
|
667
667
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
668
|
-
throw await
|
|
668
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
669
669
|
case "ResourceNotFoundException":
|
|
670
670
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
671
|
-
throw await
|
|
671
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
672
672
|
default:
|
|
673
673
|
const parsedBody = parsedOutput.body;
|
|
674
674
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -679,21 +679,21 @@ const deserializeAws_json1_0DeleteAutoScalingConfigurationCommandError = async (
|
|
|
679
679
|
});
|
|
680
680
|
}
|
|
681
681
|
};
|
|
682
|
-
const
|
|
682
|
+
const de_DeleteConnectionCommand = async (output, context) => {
|
|
683
683
|
if (output.statusCode >= 300) {
|
|
684
|
-
return
|
|
684
|
+
return de_DeleteConnectionCommandError(output, context);
|
|
685
685
|
}
|
|
686
686
|
const data = await parseBody(output.body, context);
|
|
687
687
|
let contents = {};
|
|
688
|
-
contents =
|
|
688
|
+
contents = de_DeleteConnectionResponse(data, context);
|
|
689
689
|
const response = {
|
|
690
690
|
$metadata: deserializeMetadata(output),
|
|
691
691
|
...contents,
|
|
692
692
|
};
|
|
693
693
|
return Promise.resolve(response);
|
|
694
694
|
};
|
|
695
|
-
exports.
|
|
696
|
-
const
|
|
695
|
+
exports.de_DeleteConnectionCommand = de_DeleteConnectionCommand;
|
|
696
|
+
const de_DeleteConnectionCommandError = async (output, context) => {
|
|
697
697
|
const parsedOutput = {
|
|
698
698
|
...output,
|
|
699
699
|
body: await parseErrorBody(output.body, context),
|
|
@@ -702,13 +702,13 @@ const deserializeAws_json1_0DeleteConnectionCommandError = async (output, contex
|
|
|
702
702
|
switch (errorCode) {
|
|
703
703
|
case "InternalServiceErrorException":
|
|
704
704
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
705
|
-
throw await
|
|
705
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
706
706
|
case "InvalidRequestException":
|
|
707
707
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
708
|
-
throw await
|
|
708
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
709
709
|
case "ResourceNotFoundException":
|
|
710
710
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
711
|
-
throw await
|
|
711
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
712
712
|
default:
|
|
713
713
|
const parsedBody = parsedOutput.body;
|
|
714
714
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -719,21 +719,21 @@ const deserializeAws_json1_0DeleteConnectionCommandError = async (output, contex
|
|
|
719
719
|
});
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
|
-
const
|
|
722
|
+
const de_DeleteObservabilityConfigurationCommand = async (output, context) => {
|
|
723
723
|
if (output.statusCode >= 300) {
|
|
724
|
-
return
|
|
724
|
+
return de_DeleteObservabilityConfigurationCommandError(output, context);
|
|
725
725
|
}
|
|
726
726
|
const data = await parseBody(output.body, context);
|
|
727
727
|
let contents = {};
|
|
728
|
-
contents =
|
|
728
|
+
contents = de_DeleteObservabilityConfigurationResponse(data, context);
|
|
729
729
|
const response = {
|
|
730
730
|
$metadata: deserializeMetadata(output),
|
|
731
731
|
...contents,
|
|
732
732
|
};
|
|
733
733
|
return Promise.resolve(response);
|
|
734
734
|
};
|
|
735
|
-
exports.
|
|
736
|
-
const
|
|
735
|
+
exports.de_DeleteObservabilityConfigurationCommand = de_DeleteObservabilityConfigurationCommand;
|
|
736
|
+
const de_DeleteObservabilityConfigurationCommandError = async (output, context) => {
|
|
737
737
|
const parsedOutput = {
|
|
738
738
|
...output,
|
|
739
739
|
body: await parseErrorBody(output.body, context),
|
|
@@ -742,13 +742,13 @@ const deserializeAws_json1_0DeleteObservabilityConfigurationCommandError = async
|
|
|
742
742
|
switch (errorCode) {
|
|
743
743
|
case "InternalServiceErrorException":
|
|
744
744
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
745
|
-
throw await
|
|
745
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
746
746
|
case "InvalidRequestException":
|
|
747
747
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
748
|
-
throw await
|
|
748
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
749
749
|
case "ResourceNotFoundException":
|
|
750
750
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
751
|
-
throw await
|
|
751
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
752
752
|
default:
|
|
753
753
|
const parsedBody = parsedOutput.body;
|
|
754
754
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -759,21 +759,21 @@ const deserializeAws_json1_0DeleteObservabilityConfigurationCommandError = async
|
|
|
759
759
|
});
|
|
760
760
|
}
|
|
761
761
|
};
|
|
762
|
-
const
|
|
762
|
+
const de_DeleteServiceCommand = async (output, context) => {
|
|
763
763
|
if (output.statusCode >= 300) {
|
|
764
|
-
return
|
|
764
|
+
return de_DeleteServiceCommandError(output, context);
|
|
765
765
|
}
|
|
766
766
|
const data = await parseBody(output.body, context);
|
|
767
767
|
let contents = {};
|
|
768
|
-
contents =
|
|
768
|
+
contents = de_DeleteServiceResponse(data, context);
|
|
769
769
|
const response = {
|
|
770
770
|
$metadata: deserializeMetadata(output),
|
|
771
771
|
...contents,
|
|
772
772
|
};
|
|
773
773
|
return Promise.resolve(response);
|
|
774
774
|
};
|
|
775
|
-
exports.
|
|
776
|
-
const
|
|
775
|
+
exports.de_DeleteServiceCommand = de_DeleteServiceCommand;
|
|
776
|
+
const de_DeleteServiceCommandError = async (output, context) => {
|
|
777
777
|
const parsedOutput = {
|
|
778
778
|
...output,
|
|
779
779
|
body: await parseErrorBody(output.body, context),
|
|
@@ -782,16 +782,16 @@ const deserializeAws_json1_0DeleteServiceCommandError = async (output, context)
|
|
|
782
782
|
switch (errorCode) {
|
|
783
783
|
case "InternalServiceErrorException":
|
|
784
784
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
785
|
-
throw await
|
|
785
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
786
786
|
case "InvalidRequestException":
|
|
787
787
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
788
|
-
throw await
|
|
788
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
789
789
|
case "InvalidStateException":
|
|
790
790
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
791
|
-
throw await
|
|
791
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
792
792
|
case "ResourceNotFoundException":
|
|
793
793
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
794
|
-
throw await
|
|
794
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
795
795
|
default:
|
|
796
796
|
const parsedBody = parsedOutput.body;
|
|
797
797
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -802,21 +802,21 @@ const deserializeAws_json1_0DeleteServiceCommandError = async (output, context)
|
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
804
|
};
|
|
805
|
-
const
|
|
805
|
+
const de_DeleteVpcConnectorCommand = async (output, context) => {
|
|
806
806
|
if (output.statusCode >= 300) {
|
|
807
|
-
return
|
|
807
|
+
return de_DeleteVpcConnectorCommandError(output, context);
|
|
808
808
|
}
|
|
809
809
|
const data = await parseBody(output.body, context);
|
|
810
810
|
let contents = {};
|
|
811
|
-
contents =
|
|
811
|
+
contents = de_DeleteVpcConnectorResponse(data, context);
|
|
812
812
|
const response = {
|
|
813
813
|
$metadata: deserializeMetadata(output),
|
|
814
814
|
...contents,
|
|
815
815
|
};
|
|
816
816
|
return Promise.resolve(response);
|
|
817
817
|
};
|
|
818
|
-
exports.
|
|
819
|
-
const
|
|
818
|
+
exports.de_DeleteVpcConnectorCommand = de_DeleteVpcConnectorCommand;
|
|
819
|
+
const de_DeleteVpcConnectorCommandError = async (output, context) => {
|
|
820
820
|
const parsedOutput = {
|
|
821
821
|
...output,
|
|
822
822
|
body: await parseErrorBody(output.body, context),
|
|
@@ -825,13 +825,13 @@ const deserializeAws_json1_0DeleteVpcConnectorCommandError = async (output, cont
|
|
|
825
825
|
switch (errorCode) {
|
|
826
826
|
case "InternalServiceErrorException":
|
|
827
827
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
828
|
-
throw await
|
|
828
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
829
829
|
case "InvalidRequestException":
|
|
830
830
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
831
|
-
throw await
|
|
831
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
832
832
|
case "ResourceNotFoundException":
|
|
833
833
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
834
|
-
throw await
|
|
834
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
835
835
|
default:
|
|
836
836
|
const parsedBody = parsedOutput.body;
|
|
837
837
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -842,21 +842,21 @@ const deserializeAws_json1_0DeleteVpcConnectorCommandError = async (output, cont
|
|
|
842
842
|
});
|
|
843
843
|
}
|
|
844
844
|
};
|
|
845
|
-
const
|
|
845
|
+
const de_DeleteVpcIngressConnectionCommand = async (output, context) => {
|
|
846
846
|
if (output.statusCode >= 300) {
|
|
847
|
-
return
|
|
847
|
+
return de_DeleteVpcIngressConnectionCommandError(output, context);
|
|
848
848
|
}
|
|
849
849
|
const data = await parseBody(output.body, context);
|
|
850
850
|
let contents = {};
|
|
851
|
-
contents =
|
|
851
|
+
contents = de_DeleteVpcIngressConnectionResponse(data, context);
|
|
852
852
|
const response = {
|
|
853
853
|
$metadata: deserializeMetadata(output),
|
|
854
854
|
...contents,
|
|
855
855
|
};
|
|
856
856
|
return Promise.resolve(response);
|
|
857
857
|
};
|
|
858
|
-
exports.
|
|
859
|
-
const
|
|
858
|
+
exports.de_DeleteVpcIngressConnectionCommand = de_DeleteVpcIngressConnectionCommand;
|
|
859
|
+
const de_DeleteVpcIngressConnectionCommandError = async (output, context) => {
|
|
860
860
|
const parsedOutput = {
|
|
861
861
|
...output,
|
|
862
862
|
body: await parseErrorBody(output.body, context),
|
|
@@ -865,16 +865,16 @@ const deserializeAws_json1_0DeleteVpcIngressConnectionCommandError = async (outp
|
|
|
865
865
|
switch (errorCode) {
|
|
866
866
|
case "InternalServiceErrorException":
|
|
867
867
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
868
|
-
throw await
|
|
868
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
869
869
|
case "InvalidRequestException":
|
|
870
870
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
871
|
-
throw await
|
|
871
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
872
872
|
case "InvalidStateException":
|
|
873
873
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
874
|
-
throw await
|
|
874
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
875
875
|
case "ResourceNotFoundException":
|
|
876
876
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
877
|
-
throw await
|
|
877
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
878
878
|
default:
|
|
879
879
|
const parsedBody = parsedOutput.body;
|
|
880
880
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -885,21 +885,21 @@ const deserializeAws_json1_0DeleteVpcIngressConnectionCommandError = async (outp
|
|
|
885
885
|
});
|
|
886
886
|
}
|
|
887
887
|
};
|
|
888
|
-
const
|
|
888
|
+
const de_DescribeAutoScalingConfigurationCommand = async (output, context) => {
|
|
889
889
|
if (output.statusCode >= 300) {
|
|
890
|
-
return
|
|
890
|
+
return de_DescribeAutoScalingConfigurationCommandError(output, context);
|
|
891
891
|
}
|
|
892
892
|
const data = await parseBody(output.body, context);
|
|
893
893
|
let contents = {};
|
|
894
|
-
contents =
|
|
894
|
+
contents = de_DescribeAutoScalingConfigurationResponse(data, context);
|
|
895
895
|
const response = {
|
|
896
896
|
$metadata: deserializeMetadata(output),
|
|
897
897
|
...contents,
|
|
898
898
|
};
|
|
899
899
|
return Promise.resolve(response);
|
|
900
900
|
};
|
|
901
|
-
exports.
|
|
902
|
-
const
|
|
901
|
+
exports.de_DescribeAutoScalingConfigurationCommand = de_DescribeAutoScalingConfigurationCommand;
|
|
902
|
+
const de_DescribeAutoScalingConfigurationCommandError = async (output, context) => {
|
|
903
903
|
const parsedOutput = {
|
|
904
904
|
...output,
|
|
905
905
|
body: await parseErrorBody(output.body, context),
|
|
@@ -908,13 +908,13 @@ const deserializeAws_json1_0DescribeAutoScalingConfigurationCommandError = async
|
|
|
908
908
|
switch (errorCode) {
|
|
909
909
|
case "InternalServiceErrorException":
|
|
910
910
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
911
|
-
throw await
|
|
911
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
912
912
|
case "InvalidRequestException":
|
|
913
913
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
914
|
-
throw await
|
|
914
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
915
915
|
case "ResourceNotFoundException":
|
|
916
916
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
917
|
-
throw await
|
|
917
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
918
918
|
default:
|
|
919
919
|
const parsedBody = parsedOutput.body;
|
|
920
920
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -925,21 +925,21 @@ const deserializeAws_json1_0DescribeAutoScalingConfigurationCommandError = async
|
|
|
925
925
|
});
|
|
926
926
|
}
|
|
927
927
|
};
|
|
928
|
-
const
|
|
928
|
+
const de_DescribeCustomDomainsCommand = async (output, context) => {
|
|
929
929
|
if (output.statusCode >= 300) {
|
|
930
|
-
return
|
|
930
|
+
return de_DescribeCustomDomainsCommandError(output, context);
|
|
931
931
|
}
|
|
932
932
|
const data = await parseBody(output.body, context);
|
|
933
933
|
let contents = {};
|
|
934
|
-
contents =
|
|
934
|
+
contents = de_DescribeCustomDomainsResponse(data, context);
|
|
935
935
|
const response = {
|
|
936
936
|
$metadata: deserializeMetadata(output),
|
|
937
937
|
...contents,
|
|
938
938
|
};
|
|
939
939
|
return Promise.resolve(response);
|
|
940
940
|
};
|
|
941
|
-
exports.
|
|
942
|
-
const
|
|
941
|
+
exports.de_DescribeCustomDomainsCommand = de_DescribeCustomDomainsCommand;
|
|
942
|
+
const de_DescribeCustomDomainsCommandError = async (output, context) => {
|
|
943
943
|
const parsedOutput = {
|
|
944
944
|
...output,
|
|
945
945
|
body: await parseErrorBody(output.body, context),
|
|
@@ -948,13 +948,13 @@ const deserializeAws_json1_0DescribeCustomDomainsCommandError = async (output, c
|
|
|
948
948
|
switch (errorCode) {
|
|
949
949
|
case "InternalServiceErrorException":
|
|
950
950
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
951
|
-
throw await
|
|
951
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
952
952
|
case "InvalidRequestException":
|
|
953
953
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
954
|
-
throw await
|
|
954
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
955
955
|
case "ResourceNotFoundException":
|
|
956
956
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
957
|
-
throw await
|
|
957
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
958
958
|
default:
|
|
959
959
|
const parsedBody = parsedOutput.body;
|
|
960
960
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -965,21 +965,21 @@ const deserializeAws_json1_0DescribeCustomDomainsCommandError = async (output, c
|
|
|
965
965
|
});
|
|
966
966
|
}
|
|
967
967
|
};
|
|
968
|
-
const
|
|
968
|
+
const de_DescribeObservabilityConfigurationCommand = async (output, context) => {
|
|
969
969
|
if (output.statusCode >= 300) {
|
|
970
|
-
return
|
|
970
|
+
return de_DescribeObservabilityConfigurationCommandError(output, context);
|
|
971
971
|
}
|
|
972
972
|
const data = await parseBody(output.body, context);
|
|
973
973
|
let contents = {};
|
|
974
|
-
contents =
|
|
974
|
+
contents = de_DescribeObservabilityConfigurationResponse(data, context);
|
|
975
975
|
const response = {
|
|
976
976
|
$metadata: deserializeMetadata(output),
|
|
977
977
|
...contents,
|
|
978
978
|
};
|
|
979
979
|
return Promise.resolve(response);
|
|
980
980
|
};
|
|
981
|
-
exports.
|
|
982
|
-
const
|
|
981
|
+
exports.de_DescribeObservabilityConfigurationCommand = de_DescribeObservabilityConfigurationCommand;
|
|
982
|
+
const de_DescribeObservabilityConfigurationCommandError = async (output, context) => {
|
|
983
983
|
const parsedOutput = {
|
|
984
984
|
...output,
|
|
985
985
|
body: await parseErrorBody(output.body, context),
|
|
@@ -988,13 +988,13 @@ const deserializeAws_json1_0DescribeObservabilityConfigurationCommandError = asy
|
|
|
988
988
|
switch (errorCode) {
|
|
989
989
|
case "InternalServiceErrorException":
|
|
990
990
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
991
|
-
throw await
|
|
991
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
992
992
|
case "InvalidRequestException":
|
|
993
993
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
994
|
-
throw await
|
|
994
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
995
995
|
case "ResourceNotFoundException":
|
|
996
996
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
997
|
-
throw await
|
|
997
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
998
998
|
default:
|
|
999
999
|
const parsedBody = parsedOutput.body;
|
|
1000
1000
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1005,21 +1005,21 @@ const deserializeAws_json1_0DescribeObservabilityConfigurationCommandError = asy
|
|
|
1005
1005
|
});
|
|
1006
1006
|
}
|
|
1007
1007
|
};
|
|
1008
|
-
const
|
|
1008
|
+
const de_DescribeServiceCommand = async (output, context) => {
|
|
1009
1009
|
if (output.statusCode >= 300) {
|
|
1010
|
-
return
|
|
1010
|
+
return de_DescribeServiceCommandError(output, context);
|
|
1011
1011
|
}
|
|
1012
1012
|
const data = await parseBody(output.body, context);
|
|
1013
1013
|
let contents = {};
|
|
1014
|
-
contents =
|
|
1014
|
+
contents = de_DescribeServiceResponse(data, context);
|
|
1015
1015
|
const response = {
|
|
1016
1016
|
$metadata: deserializeMetadata(output),
|
|
1017
1017
|
...contents,
|
|
1018
1018
|
};
|
|
1019
1019
|
return Promise.resolve(response);
|
|
1020
1020
|
};
|
|
1021
|
-
exports.
|
|
1022
|
-
const
|
|
1021
|
+
exports.de_DescribeServiceCommand = de_DescribeServiceCommand;
|
|
1022
|
+
const de_DescribeServiceCommandError = async (output, context) => {
|
|
1023
1023
|
const parsedOutput = {
|
|
1024
1024
|
...output,
|
|
1025
1025
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1028,13 +1028,13 @@ const deserializeAws_json1_0DescribeServiceCommandError = async (output, context
|
|
|
1028
1028
|
switch (errorCode) {
|
|
1029
1029
|
case "InternalServiceErrorException":
|
|
1030
1030
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1031
|
-
throw await
|
|
1031
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1032
1032
|
case "InvalidRequestException":
|
|
1033
1033
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1034
|
-
throw await
|
|
1034
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1035
1035
|
case "ResourceNotFoundException":
|
|
1036
1036
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1037
|
-
throw await
|
|
1037
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1038
1038
|
default:
|
|
1039
1039
|
const parsedBody = parsedOutput.body;
|
|
1040
1040
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1045,21 +1045,21 @@ const deserializeAws_json1_0DescribeServiceCommandError = async (output, context
|
|
|
1045
1045
|
});
|
|
1046
1046
|
}
|
|
1047
1047
|
};
|
|
1048
|
-
const
|
|
1048
|
+
const de_DescribeVpcConnectorCommand = async (output, context) => {
|
|
1049
1049
|
if (output.statusCode >= 300) {
|
|
1050
|
-
return
|
|
1050
|
+
return de_DescribeVpcConnectorCommandError(output, context);
|
|
1051
1051
|
}
|
|
1052
1052
|
const data = await parseBody(output.body, context);
|
|
1053
1053
|
let contents = {};
|
|
1054
|
-
contents =
|
|
1054
|
+
contents = de_DescribeVpcConnectorResponse(data, context);
|
|
1055
1055
|
const response = {
|
|
1056
1056
|
$metadata: deserializeMetadata(output),
|
|
1057
1057
|
...contents,
|
|
1058
1058
|
};
|
|
1059
1059
|
return Promise.resolve(response);
|
|
1060
1060
|
};
|
|
1061
|
-
exports.
|
|
1062
|
-
const
|
|
1061
|
+
exports.de_DescribeVpcConnectorCommand = de_DescribeVpcConnectorCommand;
|
|
1062
|
+
const de_DescribeVpcConnectorCommandError = async (output, context) => {
|
|
1063
1063
|
const parsedOutput = {
|
|
1064
1064
|
...output,
|
|
1065
1065
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1068,13 +1068,13 @@ const deserializeAws_json1_0DescribeVpcConnectorCommandError = async (output, co
|
|
|
1068
1068
|
switch (errorCode) {
|
|
1069
1069
|
case "InternalServiceErrorException":
|
|
1070
1070
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1071
|
-
throw await
|
|
1071
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1072
1072
|
case "InvalidRequestException":
|
|
1073
1073
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1074
|
-
throw await
|
|
1074
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1075
1075
|
case "ResourceNotFoundException":
|
|
1076
1076
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1077
|
-
throw await
|
|
1077
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1078
1078
|
default:
|
|
1079
1079
|
const parsedBody = parsedOutput.body;
|
|
1080
1080
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1085,21 +1085,21 @@ const deserializeAws_json1_0DescribeVpcConnectorCommandError = async (output, co
|
|
|
1085
1085
|
});
|
|
1086
1086
|
}
|
|
1087
1087
|
};
|
|
1088
|
-
const
|
|
1088
|
+
const de_DescribeVpcIngressConnectionCommand = async (output, context) => {
|
|
1089
1089
|
if (output.statusCode >= 300) {
|
|
1090
|
-
return
|
|
1090
|
+
return de_DescribeVpcIngressConnectionCommandError(output, context);
|
|
1091
1091
|
}
|
|
1092
1092
|
const data = await parseBody(output.body, context);
|
|
1093
1093
|
let contents = {};
|
|
1094
|
-
contents =
|
|
1094
|
+
contents = de_DescribeVpcIngressConnectionResponse(data, context);
|
|
1095
1095
|
const response = {
|
|
1096
1096
|
$metadata: deserializeMetadata(output),
|
|
1097
1097
|
...contents,
|
|
1098
1098
|
};
|
|
1099
1099
|
return Promise.resolve(response);
|
|
1100
1100
|
};
|
|
1101
|
-
exports.
|
|
1102
|
-
const
|
|
1101
|
+
exports.de_DescribeVpcIngressConnectionCommand = de_DescribeVpcIngressConnectionCommand;
|
|
1102
|
+
const de_DescribeVpcIngressConnectionCommandError = async (output, context) => {
|
|
1103
1103
|
const parsedOutput = {
|
|
1104
1104
|
...output,
|
|
1105
1105
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1108,13 +1108,13 @@ const deserializeAws_json1_0DescribeVpcIngressConnectionCommandError = async (ou
|
|
|
1108
1108
|
switch (errorCode) {
|
|
1109
1109
|
case "InternalServiceErrorException":
|
|
1110
1110
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1111
|
-
throw await
|
|
1111
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1112
1112
|
case "InvalidRequestException":
|
|
1113
1113
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1114
|
-
throw await
|
|
1114
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1115
1115
|
case "ResourceNotFoundException":
|
|
1116
1116
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1117
|
-
throw await
|
|
1117
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1118
1118
|
default:
|
|
1119
1119
|
const parsedBody = parsedOutput.body;
|
|
1120
1120
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1125,21 +1125,21 @@ const deserializeAws_json1_0DescribeVpcIngressConnectionCommandError = async (ou
|
|
|
1125
1125
|
});
|
|
1126
1126
|
}
|
|
1127
1127
|
};
|
|
1128
|
-
const
|
|
1128
|
+
const de_DisassociateCustomDomainCommand = async (output, context) => {
|
|
1129
1129
|
if (output.statusCode >= 300) {
|
|
1130
|
-
return
|
|
1130
|
+
return de_DisassociateCustomDomainCommandError(output, context);
|
|
1131
1131
|
}
|
|
1132
1132
|
const data = await parseBody(output.body, context);
|
|
1133
1133
|
let contents = {};
|
|
1134
|
-
contents =
|
|
1134
|
+
contents = de_DisassociateCustomDomainResponse(data, context);
|
|
1135
1135
|
const response = {
|
|
1136
1136
|
$metadata: deserializeMetadata(output),
|
|
1137
1137
|
...contents,
|
|
1138
1138
|
};
|
|
1139
1139
|
return Promise.resolve(response);
|
|
1140
1140
|
};
|
|
1141
|
-
exports.
|
|
1142
|
-
const
|
|
1141
|
+
exports.de_DisassociateCustomDomainCommand = de_DisassociateCustomDomainCommand;
|
|
1142
|
+
const de_DisassociateCustomDomainCommandError = async (output, context) => {
|
|
1143
1143
|
const parsedOutput = {
|
|
1144
1144
|
...output,
|
|
1145
1145
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1148,16 +1148,16 @@ const deserializeAws_json1_0DisassociateCustomDomainCommandError = async (output
|
|
|
1148
1148
|
switch (errorCode) {
|
|
1149
1149
|
case "InternalServiceErrorException":
|
|
1150
1150
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1151
|
-
throw await
|
|
1151
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1152
1152
|
case "InvalidRequestException":
|
|
1153
1153
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1154
|
-
throw await
|
|
1154
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1155
1155
|
case "InvalidStateException":
|
|
1156
1156
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1157
|
-
throw await
|
|
1157
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1158
1158
|
case "ResourceNotFoundException":
|
|
1159
1159
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1160
|
-
throw await
|
|
1160
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1161
1161
|
default:
|
|
1162
1162
|
const parsedBody = parsedOutput.body;
|
|
1163
1163
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1168,21 +1168,21 @@ const deserializeAws_json1_0DisassociateCustomDomainCommandError = async (output
|
|
|
1168
1168
|
});
|
|
1169
1169
|
}
|
|
1170
1170
|
};
|
|
1171
|
-
const
|
|
1171
|
+
const de_ListAutoScalingConfigurationsCommand = async (output, context) => {
|
|
1172
1172
|
if (output.statusCode >= 300) {
|
|
1173
|
-
return
|
|
1173
|
+
return de_ListAutoScalingConfigurationsCommandError(output, context);
|
|
1174
1174
|
}
|
|
1175
1175
|
const data = await parseBody(output.body, context);
|
|
1176
1176
|
let contents = {};
|
|
1177
|
-
contents =
|
|
1177
|
+
contents = de_ListAutoScalingConfigurationsResponse(data, context);
|
|
1178
1178
|
const response = {
|
|
1179
1179
|
$metadata: deserializeMetadata(output),
|
|
1180
1180
|
...contents,
|
|
1181
1181
|
};
|
|
1182
1182
|
return Promise.resolve(response);
|
|
1183
1183
|
};
|
|
1184
|
-
exports.
|
|
1185
|
-
const
|
|
1184
|
+
exports.de_ListAutoScalingConfigurationsCommand = de_ListAutoScalingConfigurationsCommand;
|
|
1185
|
+
const de_ListAutoScalingConfigurationsCommandError = async (output, context) => {
|
|
1186
1186
|
const parsedOutput = {
|
|
1187
1187
|
...output,
|
|
1188
1188
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1191,10 +1191,10 @@ const deserializeAws_json1_0ListAutoScalingConfigurationsCommandError = async (o
|
|
|
1191
1191
|
switch (errorCode) {
|
|
1192
1192
|
case "InternalServiceErrorException":
|
|
1193
1193
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1194
|
-
throw await
|
|
1194
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1195
1195
|
case "InvalidRequestException":
|
|
1196
1196
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1197
|
-
throw await
|
|
1197
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1198
1198
|
default:
|
|
1199
1199
|
const parsedBody = parsedOutput.body;
|
|
1200
1200
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1205,21 +1205,21 @@ const deserializeAws_json1_0ListAutoScalingConfigurationsCommandError = async (o
|
|
|
1205
1205
|
});
|
|
1206
1206
|
}
|
|
1207
1207
|
};
|
|
1208
|
-
const
|
|
1208
|
+
const de_ListConnectionsCommand = async (output, context) => {
|
|
1209
1209
|
if (output.statusCode >= 300) {
|
|
1210
|
-
return
|
|
1210
|
+
return de_ListConnectionsCommandError(output, context);
|
|
1211
1211
|
}
|
|
1212
1212
|
const data = await parseBody(output.body, context);
|
|
1213
1213
|
let contents = {};
|
|
1214
|
-
contents =
|
|
1214
|
+
contents = de_ListConnectionsResponse(data, context);
|
|
1215
1215
|
const response = {
|
|
1216
1216
|
$metadata: deserializeMetadata(output),
|
|
1217
1217
|
...contents,
|
|
1218
1218
|
};
|
|
1219
1219
|
return Promise.resolve(response);
|
|
1220
1220
|
};
|
|
1221
|
-
exports.
|
|
1222
|
-
const
|
|
1221
|
+
exports.de_ListConnectionsCommand = de_ListConnectionsCommand;
|
|
1222
|
+
const de_ListConnectionsCommandError = async (output, context) => {
|
|
1223
1223
|
const parsedOutput = {
|
|
1224
1224
|
...output,
|
|
1225
1225
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1228,10 +1228,10 @@ const deserializeAws_json1_0ListConnectionsCommandError = async (output, context
|
|
|
1228
1228
|
switch (errorCode) {
|
|
1229
1229
|
case "InternalServiceErrorException":
|
|
1230
1230
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1231
|
-
throw await
|
|
1231
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1232
1232
|
case "InvalidRequestException":
|
|
1233
1233
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1234
|
-
throw await
|
|
1234
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1235
1235
|
default:
|
|
1236
1236
|
const parsedBody = parsedOutput.body;
|
|
1237
1237
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1242,21 +1242,21 @@ const deserializeAws_json1_0ListConnectionsCommandError = async (output, context
|
|
|
1242
1242
|
});
|
|
1243
1243
|
}
|
|
1244
1244
|
};
|
|
1245
|
-
const
|
|
1245
|
+
const de_ListObservabilityConfigurationsCommand = async (output, context) => {
|
|
1246
1246
|
if (output.statusCode >= 300) {
|
|
1247
|
-
return
|
|
1247
|
+
return de_ListObservabilityConfigurationsCommandError(output, context);
|
|
1248
1248
|
}
|
|
1249
1249
|
const data = await parseBody(output.body, context);
|
|
1250
1250
|
let contents = {};
|
|
1251
|
-
contents =
|
|
1251
|
+
contents = de_ListObservabilityConfigurationsResponse(data, context);
|
|
1252
1252
|
const response = {
|
|
1253
1253
|
$metadata: deserializeMetadata(output),
|
|
1254
1254
|
...contents,
|
|
1255
1255
|
};
|
|
1256
1256
|
return Promise.resolve(response);
|
|
1257
1257
|
};
|
|
1258
|
-
exports.
|
|
1259
|
-
const
|
|
1258
|
+
exports.de_ListObservabilityConfigurationsCommand = de_ListObservabilityConfigurationsCommand;
|
|
1259
|
+
const de_ListObservabilityConfigurationsCommandError = async (output, context) => {
|
|
1260
1260
|
const parsedOutput = {
|
|
1261
1261
|
...output,
|
|
1262
1262
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1265,10 +1265,10 @@ const deserializeAws_json1_0ListObservabilityConfigurationsCommandError = async
|
|
|
1265
1265
|
switch (errorCode) {
|
|
1266
1266
|
case "InternalServiceErrorException":
|
|
1267
1267
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1268
|
-
throw await
|
|
1268
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1269
1269
|
case "InvalidRequestException":
|
|
1270
1270
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1271
|
-
throw await
|
|
1271
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1272
1272
|
default:
|
|
1273
1273
|
const parsedBody = parsedOutput.body;
|
|
1274
1274
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1279,21 +1279,21 @@ const deserializeAws_json1_0ListObservabilityConfigurationsCommandError = async
|
|
|
1279
1279
|
});
|
|
1280
1280
|
}
|
|
1281
1281
|
};
|
|
1282
|
-
const
|
|
1282
|
+
const de_ListOperationsCommand = async (output, context) => {
|
|
1283
1283
|
if (output.statusCode >= 300) {
|
|
1284
|
-
return
|
|
1284
|
+
return de_ListOperationsCommandError(output, context);
|
|
1285
1285
|
}
|
|
1286
1286
|
const data = await parseBody(output.body, context);
|
|
1287
1287
|
let contents = {};
|
|
1288
|
-
contents =
|
|
1288
|
+
contents = de_ListOperationsResponse(data, context);
|
|
1289
1289
|
const response = {
|
|
1290
1290
|
$metadata: deserializeMetadata(output),
|
|
1291
1291
|
...contents,
|
|
1292
1292
|
};
|
|
1293
1293
|
return Promise.resolve(response);
|
|
1294
1294
|
};
|
|
1295
|
-
exports.
|
|
1296
|
-
const
|
|
1295
|
+
exports.de_ListOperationsCommand = de_ListOperationsCommand;
|
|
1296
|
+
const de_ListOperationsCommandError = async (output, context) => {
|
|
1297
1297
|
const parsedOutput = {
|
|
1298
1298
|
...output,
|
|
1299
1299
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1302,13 +1302,13 @@ const deserializeAws_json1_0ListOperationsCommandError = async (output, context)
|
|
|
1302
1302
|
switch (errorCode) {
|
|
1303
1303
|
case "InternalServiceErrorException":
|
|
1304
1304
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1305
|
-
throw await
|
|
1305
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1306
1306
|
case "InvalidRequestException":
|
|
1307
1307
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1308
|
-
throw await
|
|
1308
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1309
1309
|
case "ResourceNotFoundException":
|
|
1310
1310
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1311
|
-
throw await
|
|
1311
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1312
1312
|
default:
|
|
1313
1313
|
const parsedBody = parsedOutput.body;
|
|
1314
1314
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1319,21 +1319,21 @@ const deserializeAws_json1_0ListOperationsCommandError = async (output, context)
|
|
|
1319
1319
|
});
|
|
1320
1320
|
}
|
|
1321
1321
|
};
|
|
1322
|
-
const
|
|
1322
|
+
const de_ListServicesCommand = async (output, context) => {
|
|
1323
1323
|
if (output.statusCode >= 300) {
|
|
1324
|
-
return
|
|
1324
|
+
return de_ListServicesCommandError(output, context);
|
|
1325
1325
|
}
|
|
1326
1326
|
const data = await parseBody(output.body, context);
|
|
1327
1327
|
let contents = {};
|
|
1328
|
-
contents =
|
|
1328
|
+
contents = de_ListServicesResponse(data, context);
|
|
1329
1329
|
const response = {
|
|
1330
1330
|
$metadata: deserializeMetadata(output),
|
|
1331
1331
|
...contents,
|
|
1332
1332
|
};
|
|
1333
1333
|
return Promise.resolve(response);
|
|
1334
1334
|
};
|
|
1335
|
-
exports.
|
|
1336
|
-
const
|
|
1335
|
+
exports.de_ListServicesCommand = de_ListServicesCommand;
|
|
1336
|
+
const de_ListServicesCommandError = async (output, context) => {
|
|
1337
1337
|
const parsedOutput = {
|
|
1338
1338
|
...output,
|
|
1339
1339
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1342,10 +1342,10 @@ const deserializeAws_json1_0ListServicesCommandError = async (output, context) =
|
|
|
1342
1342
|
switch (errorCode) {
|
|
1343
1343
|
case "InternalServiceErrorException":
|
|
1344
1344
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1345
|
-
throw await
|
|
1345
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1346
1346
|
case "InvalidRequestException":
|
|
1347
1347
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1348
|
-
throw await
|
|
1348
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1349
1349
|
default:
|
|
1350
1350
|
const parsedBody = parsedOutput.body;
|
|
1351
1351
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1356,21 +1356,21 @@ const deserializeAws_json1_0ListServicesCommandError = async (output, context) =
|
|
|
1356
1356
|
});
|
|
1357
1357
|
}
|
|
1358
1358
|
};
|
|
1359
|
-
const
|
|
1359
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1360
1360
|
if (output.statusCode >= 300) {
|
|
1361
|
-
return
|
|
1361
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1362
1362
|
}
|
|
1363
1363
|
const data = await parseBody(output.body, context);
|
|
1364
1364
|
let contents = {};
|
|
1365
|
-
contents =
|
|
1365
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
1366
1366
|
const response = {
|
|
1367
1367
|
$metadata: deserializeMetadata(output),
|
|
1368
1368
|
...contents,
|
|
1369
1369
|
};
|
|
1370
1370
|
return Promise.resolve(response);
|
|
1371
1371
|
};
|
|
1372
|
-
exports.
|
|
1373
|
-
const
|
|
1372
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1373
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1374
1374
|
const parsedOutput = {
|
|
1375
1375
|
...output,
|
|
1376
1376
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1379,16 +1379,16 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
1379
1379
|
switch (errorCode) {
|
|
1380
1380
|
case "InternalServiceErrorException":
|
|
1381
1381
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1382
|
-
throw await
|
|
1382
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1383
1383
|
case "InvalidRequestException":
|
|
1384
1384
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1385
|
-
throw await
|
|
1385
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1386
1386
|
case "InvalidStateException":
|
|
1387
1387
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1388
|
-
throw await
|
|
1388
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1389
1389
|
case "ResourceNotFoundException":
|
|
1390
1390
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1391
|
-
throw await
|
|
1391
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1392
1392
|
default:
|
|
1393
1393
|
const parsedBody = parsedOutput.body;
|
|
1394
1394
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1399,21 +1399,21 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
1399
1399
|
});
|
|
1400
1400
|
}
|
|
1401
1401
|
};
|
|
1402
|
-
const
|
|
1402
|
+
const de_ListVpcConnectorsCommand = async (output, context) => {
|
|
1403
1403
|
if (output.statusCode >= 300) {
|
|
1404
|
-
return
|
|
1404
|
+
return de_ListVpcConnectorsCommandError(output, context);
|
|
1405
1405
|
}
|
|
1406
1406
|
const data = await parseBody(output.body, context);
|
|
1407
1407
|
let contents = {};
|
|
1408
|
-
contents =
|
|
1408
|
+
contents = de_ListVpcConnectorsResponse(data, context);
|
|
1409
1409
|
const response = {
|
|
1410
1410
|
$metadata: deserializeMetadata(output),
|
|
1411
1411
|
...contents,
|
|
1412
1412
|
};
|
|
1413
1413
|
return Promise.resolve(response);
|
|
1414
1414
|
};
|
|
1415
|
-
exports.
|
|
1416
|
-
const
|
|
1415
|
+
exports.de_ListVpcConnectorsCommand = de_ListVpcConnectorsCommand;
|
|
1416
|
+
const de_ListVpcConnectorsCommandError = async (output, context) => {
|
|
1417
1417
|
const parsedOutput = {
|
|
1418
1418
|
...output,
|
|
1419
1419
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1422,10 +1422,10 @@ const deserializeAws_json1_0ListVpcConnectorsCommandError = async (output, conte
|
|
|
1422
1422
|
switch (errorCode) {
|
|
1423
1423
|
case "InternalServiceErrorException":
|
|
1424
1424
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1425
|
-
throw await
|
|
1425
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1426
1426
|
case "InvalidRequestException":
|
|
1427
1427
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1428
|
-
throw await
|
|
1428
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1429
1429
|
default:
|
|
1430
1430
|
const parsedBody = parsedOutput.body;
|
|
1431
1431
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1436,21 +1436,21 @@ const deserializeAws_json1_0ListVpcConnectorsCommandError = async (output, conte
|
|
|
1436
1436
|
});
|
|
1437
1437
|
}
|
|
1438
1438
|
};
|
|
1439
|
-
const
|
|
1439
|
+
const de_ListVpcIngressConnectionsCommand = async (output, context) => {
|
|
1440
1440
|
if (output.statusCode >= 300) {
|
|
1441
|
-
return
|
|
1441
|
+
return de_ListVpcIngressConnectionsCommandError(output, context);
|
|
1442
1442
|
}
|
|
1443
1443
|
const data = await parseBody(output.body, context);
|
|
1444
1444
|
let contents = {};
|
|
1445
|
-
contents =
|
|
1445
|
+
contents = de_ListVpcIngressConnectionsResponse(data, context);
|
|
1446
1446
|
const response = {
|
|
1447
1447
|
$metadata: deserializeMetadata(output),
|
|
1448
1448
|
...contents,
|
|
1449
1449
|
};
|
|
1450
1450
|
return Promise.resolve(response);
|
|
1451
1451
|
};
|
|
1452
|
-
exports.
|
|
1453
|
-
const
|
|
1452
|
+
exports.de_ListVpcIngressConnectionsCommand = de_ListVpcIngressConnectionsCommand;
|
|
1453
|
+
const de_ListVpcIngressConnectionsCommandError = async (output, context) => {
|
|
1454
1454
|
const parsedOutput = {
|
|
1455
1455
|
...output,
|
|
1456
1456
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1459,10 +1459,10 @@ const deserializeAws_json1_0ListVpcIngressConnectionsCommandError = async (outpu
|
|
|
1459
1459
|
switch (errorCode) {
|
|
1460
1460
|
case "InternalServiceErrorException":
|
|
1461
1461
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1462
|
-
throw await
|
|
1462
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1463
1463
|
case "InvalidRequestException":
|
|
1464
1464
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1465
|
-
throw await
|
|
1465
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1466
1466
|
default:
|
|
1467
1467
|
const parsedBody = parsedOutput.body;
|
|
1468
1468
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1473,21 +1473,21 @@ const deserializeAws_json1_0ListVpcIngressConnectionsCommandError = async (outpu
|
|
|
1473
1473
|
});
|
|
1474
1474
|
}
|
|
1475
1475
|
};
|
|
1476
|
-
const
|
|
1476
|
+
const de_PauseServiceCommand = async (output, context) => {
|
|
1477
1477
|
if (output.statusCode >= 300) {
|
|
1478
|
-
return
|
|
1478
|
+
return de_PauseServiceCommandError(output, context);
|
|
1479
1479
|
}
|
|
1480
1480
|
const data = await parseBody(output.body, context);
|
|
1481
1481
|
let contents = {};
|
|
1482
|
-
contents =
|
|
1482
|
+
contents = de_PauseServiceResponse(data, context);
|
|
1483
1483
|
const response = {
|
|
1484
1484
|
$metadata: deserializeMetadata(output),
|
|
1485
1485
|
...contents,
|
|
1486
1486
|
};
|
|
1487
1487
|
return Promise.resolve(response);
|
|
1488
1488
|
};
|
|
1489
|
-
exports.
|
|
1490
|
-
const
|
|
1489
|
+
exports.de_PauseServiceCommand = de_PauseServiceCommand;
|
|
1490
|
+
const de_PauseServiceCommandError = async (output, context) => {
|
|
1491
1491
|
const parsedOutput = {
|
|
1492
1492
|
...output,
|
|
1493
1493
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1496,16 +1496,16 @@ const deserializeAws_json1_0PauseServiceCommandError = async (output, context) =
|
|
|
1496
1496
|
switch (errorCode) {
|
|
1497
1497
|
case "InternalServiceErrorException":
|
|
1498
1498
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1499
|
-
throw await
|
|
1499
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1500
1500
|
case "InvalidRequestException":
|
|
1501
1501
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1502
|
-
throw await
|
|
1502
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1503
1503
|
case "InvalidStateException":
|
|
1504
1504
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1505
|
-
throw await
|
|
1505
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1506
1506
|
case "ResourceNotFoundException":
|
|
1507
1507
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1508
|
-
throw await
|
|
1508
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1509
1509
|
default:
|
|
1510
1510
|
const parsedBody = parsedOutput.body;
|
|
1511
1511
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1516,21 +1516,21 @@ const deserializeAws_json1_0PauseServiceCommandError = async (output, context) =
|
|
|
1516
1516
|
});
|
|
1517
1517
|
}
|
|
1518
1518
|
};
|
|
1519
|
-
const
|
|
1519
|
+
const de_ResumeServiceCommand = async (output, context) => {
|
|
1520
1520
|
if (output.statusCode >= 300) {
|
|
1521
|
-
return
|
|
1521
|
+
return de_ResumeServiceCommandError(output, context);
|
|
1522
1522
|
}
|
|
1523
1523
|
const data = await parseBody(output.body, context);
|
|
1524
1524
|
let contents = {};
|
|
1525
|
-
contents =
|
|
1525
|
+
contents = de_ResumeServiceResponse(data, context);
|
|
1526
1526
|
const response = {
|
|
1527
1527
|
$metadata: deserializeMetadata(output),
|
|
1528
1528
|
...contents,
|
|
1529
1529
|
};
|
|
1530
1530
|
return Promise.resolve(response);
|
|
1531
1531
|
};
|
|
1532
|
-
exports.
|
|
1533
|
-
const
|
|
1532
|
+
exports.de_ResumeServiceCommand = de_ResumeServiceCommand;
|
|
1533
|
+
const de_ResumeServiceCommandError = async (output, context) => {
|
|
1534
1534
|
const parsedOutput = {
|
|
1535
1535
|
...output,
|
|
1536
1536
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1539,16 +1539,16 @@ const deserializeAws_json1_0ResumeServiceCommandError = async (output, context)
|
|
|
1539
1539
|
switch (errorCode) {
|
|
1540
1540
|
case "InternalServiceErrorException":
|
|
1541
1541
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1542
|
-
throw await
|
|
1542
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1543
1543
|
case "InvalidRequestException":
|
|
1544
1544
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1545
|
-
throw await
|
|
1545
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1546
1546
|
case "InvalidStateException":
|
|
1547
1547
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1548
|
-
throw await
|
|
1548
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1549
1549
|
case "ResourceNotFoundException":
|
|
1550
1550
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1551
|
-
throw await
|
|
1551
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1552
1552
|
default:
|
|
1553
1553
|
const parsedBody = parsedOutput.body;
|
|
1554
1554
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1559,21 +1559,21 @@ const deserializeAws_json1_0ResumeServiceCommandError = async (output, context)
|
|
|
1559
1559
|
});
|
|
1560
1560
|
}
|
|
1561
1561
|
};
|
|
1562
|
-
const
|
|
1562
|
+
const de_StartDeploymentCommand = async (output, context) => {
|
|
1563
1563
|
if (output.statusCode >= 300) {
|
|
1564
|
-
return
|
|
1564
|
+
return de_StartDeploymentCommandError(output, context);
|
|
1565
1565
|
}
|
|
1566
1566
|
const data = await parseBody(output.body, context);
|
|
1567
1567
|
let contents = {};
|
|
1568
|
-
contents =
|
|
1568
|
+
contents = de_StartDeploymentResponse(data, context);
|
|
1569
1569
|
const response = {
|
|
1570
1570
|
$metadata: deserializeMetadata(output),
|
|
1571
1571
|
...contents,
|
|
1572
1572
|
};
|
|
1573
1573
|
return Promise.resolve(response);
|
|
1574
1574
|
};
|
|
1575
|
-
exports.
|
|
1576
|
-
const
|
|
1575
|
+
exports.de_StartDeploymentCommand = de_StartDeploymentCommand;
|
|
1576
|
+
const de_StartDeploymentCommandError = async (output, context) => {
|
|
1577
1577
|
const parsedOutput = {
|
|
1578
1578
|
...output,
|
|
1579
1579
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1582,13 +1582,13 @@ const deserializeAws_json1_0StartDeploymentCommandError = async (output, context
|
|
|
1582
1582
|
switch (errorCode) {
|
|
1583
1583
|
case "InternalServiceErrorException":
|
|
1584
1584
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1585
|
-
throw await
|
|
1585
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1586
1586
|
case "InvalidRequestException":
|
|
1587
1587
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1588
|
-
throw await
|
|
1588
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1589
1589
|
case "ResourceNotFoundException":
|
|
1590
1590
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1591
|
-
throw await
|
|
1591
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1592
1592
|
default:
|
|
1593
1593
|
const parsedBody = parsedOutput.body;
|
|
1594
1594
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1599,21 +1599,21 @@ const deserializeAws_json1_0StartDeploymentCommandError = async (output, context
|
|
|
1599
1599
|
});
|
|
1600
1600
|
}
|
|
1601
1601
|
};
|
|
1602
|
-
const
|
|
1602
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1603
1603
|
if (output.statusCode >= 300) {
|
|
1604
|
-
return
|
|
1604
|
+
return de_TagResourceCommandError(output, context);
|
|
1605
1605
|
}
|
|
1606
1606
|
const data = await parseBody(output.body, context);
|
|
1607
1607
|
let contents = {};
|
|
1608
|
-
contents =
|
|
1608
|
+
contents = de_TagResourceResponse(data, context);
|
|
1609
1609
|
const response = {
|
|
1610
1610
|
$metadata: deserializeMetadata(output),
|
|
1611
1611
|
...contents,
|
|
1612
1612
|
};
|
|
1613
1613
|
return Promise.resolve(response);
|
|
1614
1614
|
};
|
|
1615
|
-
exports.
|
|
1616
|
-
const
|
|
1615
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1616
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1617
1617
|
const parsedOutput = {
|
|
1618
1618
|
...output,
|
|
1619
1619
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1622,16 +1622,16 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
1622
1622
|
switch (errorCode) {
|
|
1623
1623
|
case "InternalServiceErrorException":
|
|
1624
1624
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1625
|
-
throw await
|
|
1625
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1626
1626
|
case "InvalidRequestException":
|
|
1627
1627
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1628
|
-
throw await
|
|
1628
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1629
1629
|
case "InvalidStateException":
|
|
1630
1630
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1631
|
-
throw await
|
|
1631
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1632
1632
|
case "ResourceNotFoundException":
|
|
1633
1633
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1634
|
-
throw await
|
|
1634
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1635
1635
|
default:
|
|
1636
1636
|
const parsedBody = parsedOutput.body;
|
|
1637
1637
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1642,21 +1642,21 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
1642
1642
|
});
|
|
1643
1643
|
}
|
|
1644
1644
|
};
|
|
1645
|
-
const
|
|
1645
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1646
1646
|
if (output.statusCode >= 300) {
|
|
1647
|
-
return
|
|
1647
|
+
return de_UntagResourceCommandError(output, context);
|
|
1648
1648
|
}
|
|
1649
1649
|
const data = await parseBody(output.body, context);
|
|
1650
1650
|
let contents = {};
|
|
1651
|
-
contents =
|
|
1651
|
+
contents = de_UntagResourceResponse(data, context);
|
|
1652
1652
|
const response = {
|
|
1653
1653
|
$metadata: deserializeMetadata(output),
|
|
1654
1654
|
...contents,
|
|
1655
1655
|
};
|
|
1656
1656
|
return Promise.resolve(response);
|
|
1657
1657
|
};
|
|
1658
|
-
exports.
|
|
1659
|
-
const
|
|
1658
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1659
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1660
1660
|
const parsedOutput = {
|
|
1661
1661
|
...output,
|
|
1662
1662
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1665,16 +1665,16 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
1665
1665
|
switch (errorCode) {
|
|
1666
1666
|
case "InternalServiceErrorException":
|
|
1667
1667
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1668
|
-
throw await
|
|
1668
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1669
1669
|
case "InvalidRequestException":
|
|
1670
1670
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1671
|
-
throw await
|
|
1671
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1672
1672
|
case "InvalidStateException":
|
|
1673
1673
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1674
|
-
throw await
|
|
1674
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1675
1675
|
case "ResourceNotFoundException":
|
|
1676
1676
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1677
|
-
throw await
|
|
1677
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1678
1678
|
default:
|
|
1679
1679
|
const parsedBody = parsedOutput.body;
|
|
1680
1680
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1685,21 +1685,21 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
1685
1685
|
});
|
|
1686
1686
|
}
|
|
1687
1687
|
};
|
|
1688
|
-
const
|
|
1688
|
+
const de_UpdateServiceCommand = async (output, context) => {
|
|
1689
1689
|
if (output.statusCode >= 300) {
|
|
1690
|
-
return
|
|
1690
|
+
return de_UpdateServiceCommandError(output, context);
|
|
1691
1691
|
}
|
|
1692
1692
|
const data = await parseBody(output.body, context);
|
|
1693
1693
|
let contents = {};
|
|
1694
|
-
contents =
|
|
1694
|
+
contents = de_UpdateServiceResponse(data, context);
|
|
1695
1695
|
const response = {
|
|
1696
1696
|
$metadata: deserializeMetadata(output),
|
|
1697
1697
|
...contents,
|
|
1698
1698
|
};
|
|
1699
1699
|
return Promise.resolve(response);
|
|
1700
1700
|
};
|
|
1701
|
-
exports.
|
|
1702
|
-
const
|
|
1701
|
+
exports.de_UpdateServiceCommand = de_UpdateServiceCommand;
|
|
1702
|
+
const de_UpdateServiceCommandError = async (output, context) => {
|
|
1703
1703
|
const parsedOutput = {
|
|
1704
1704
|
...output,
|
|
1705
1705
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1708,16 +1708,16 @@ const deserializeAws_json1_0UpdateServiceCommandError = async (output, context)
|
|
|
1708
1708
|
switch (errorCode) {
|
|
1709
1709
|
case "InternalServiceErrorException":
|
|
1710
1710
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1711
|
-
throw await
|
|
1711
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1712
1712
|
case "InvalidRequestException":
|
|
1713
1713
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1714
|
-
throw await
|
|
1714
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1715
1715
|
case "InvalidStateException":
|
|
1716
1716
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1717
|
-
throw await
|
|
1717
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1718
1718
|
case "ResourceNotFoundException":
|
|
1719
1719
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1720
|
-
throw await
|
|
1720
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1721
1721
|
default:
|
|
1722
1722
|
const parsedBody = parsedOutput.body;
|
|
1723
1723
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1728,21 +1728,21 @@ const deserializeAws_json1_0UpdateServiceCommandError = async (output, context)
|
|
|
1728
1728
|
});
|
|
1729
1729
|
}
|
|
1730
1730
|
};
|
|
1731
|
-
const
|
|
1731
|
+
const de_UpdateVpcIngressConnectionCommand = async (output, context) => {
|
|
1732
1732
|
if (output.statusCode >= 300) {
|
|
1733
|
-
return
|
|
1733
|
+
return de_UpdateVpcIngressConnectionCommandError(output, context);
|
|
1734
1734
|
}
|
|
1735
1735
|
const data = await parseBody(output.body, context);
|
|
1736
1736
|
let contents = {};
|
|
1737
|
-
contents =
|
|
1737
|
+
contents = de_UpdateVpcIngressConnectionResponse(data, context);
|
|
1738
1738
|
const response = {
|
|
1739
1739
|
$metadata: deserializeMetadata(output),
|
|
1740
1740
|
...contents,
|
|
1741
1741
|
};
|
|
1742
1742
|
return Promise.resolve(response);
|
|
1743
1743
|
};
|
|
1744
|
-
exports.
|
|
1745
|
-
const
|
|
1744
|
+
exports.de_UpdateVpcIngressConnectionCommand = de_UpdateVpcIngressConnectionCommand;
|
|
1745
|
+
const de_UpdateVpcIngressConnectionCommandError = async (output, context) => {
|
|
1746
1746
|
const parsedOutput = {
|
|
1747
1747
|
...output,
|
|
1748
1748
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1751,16 +1751,16 @@ const deserializeAws_json1_0UpdateVpcIngressConnectionCommandError = async (outp
|
|
|
1751
1751
|
switch (errorCode) {
|
|
1752
1752
|
case "InternalServiceErrorException":
|
|
1753
1753
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1754
|
-
throw await
|
|
1754
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1755
1755
|
case "InvalidRequestException":
|
|
1756
1756
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1757
|
-
throw await
|
|
1757
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1758
1758
|
case "InvalidStateException":
|
|
1759
1759
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1760
|
-
throw await
|
|
1760
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1761
1761
|
case "ResourceNotFoundException":
|
|
1762
1762
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1763
|
-
throw await
|
|
1763
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1764
1764
|
default:
|
|
1765
1765
|
const parsedBody = parsedOutput.body;
|
|
1766
1766
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1771,98 +1771,98 @@ const deserializeAws_json1_0UpdateVpcIngressConnectionCommandError = async (outp
|
|
|
1771
1771
|
});
|
|
1772
1772
|
}
|
|
1773
1773
|
};
|
|
1774
|
-
const
|
|
1774
|
+
const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
1775
1775
|
const body = parsedOutput.body;
|
|
1776
|
-
const deserialized =
|
|
1776
|
+
const deserialized = de_InternalServiceErrorException(body, context);
|
|
1777
1777
|
const exception = new models_0_1.InternalServiceErrorException({
|
|
1778
1778
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1779
1779
|
...deserialized,
|
|
1780
1780
|
});
|
|
1781
1781
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1782
1782
|
};
|
|
1783
|
-
const
|
|
1783
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1784
1784
|
const body = parsedOutput.body;
|
|
1785
|
-
const deserialized =
|
|
1785
|
+
const deserialized = de_InvalidRequestException(body, context);
|
|
1786
1786
|
const exception = new models_0_1.InvalidRequestException({
|
|
1787
1787
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1788
1788
|
...deserialized,
|
|
1789
1789
|
});
|
|
1790
1790
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1791
1791
|
};
|
|
1792
|
-
const
|
|
1792
|
+
const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
|
|
1793
1793
|
const body = parsedOutput.body;
|
|
1794
|
-
const deserialized =
|
|
1794
|
+
const deserialized = de_InvalidStateException(body, context);
|
|
1795
1795
|
const exception = new models_0_1.InvalidStateException({
|
|
1796
1796
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1797
1797
|
...deserialized,
|
|
1798
1798
|
});
|
|
1799
1799
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1800
1800
|
};
|
|
1801
|
-
const
|
|
1801
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1802
1802
|
const body = parsedOutput.body;
|
|
1803
|
-
const deserialized =
|
|
1803
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
1804
1804
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1805
1805
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1806
1806
|
...deserialized,
|
|
1807
1807
|
});
|
|
1808
1808
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1809
1809
|
};
|
|
1810
|
-
const
|
|
1810
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1811
1811
|
const body = parsedOutput.body;
|
|
1812
|
-
const deserialized =
|
|
1812
|
+
const deserialized = de_ServiceQuotaExceededException(body, context);
|
|
1813
1813
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1814
1814
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1815
1815
|
...deserialized,
|
|
1816
1816
|
});
|
|
1817
1817
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1818
1818
|
};
|
|
1819
|
-
const
|
|
1819
|
+
const se_AssociateCustomDomainRequest = (input, context) => {
|
|
1820
1820
|
return {
|
|
1821
1821
|
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
1822
1822
|
...(input.EnableWWWSubdomain != null && { EnableWWWSubdomain: input.EnableWWWSubdomain }),
|
|
1823
1823
|
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1824
1824
|
};
|
|
1825
1825
|
};
|
|
1826
|
-
const
|
|
1826
|
+
const se_AuthenticationConfiguration = (input, context) => {
|
|
1827
1827
|
return {
|
|
1828
1828
|
...(input.AccessRoleArn != null && { AccessRoleArn: input.AccessRoleArn }),
|
|
1829
1829
|
...(input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }),
|
|
1830
1830
|
};
|
|
1831
1831
|
};
|
|
1832
|
-
const
|
|
1832
|
+
const se_CodeConfiguration = (input, context) => {
|
|
1833
1833
|
return {
|
|
1834
1834
|
...(input.CodeConfigurationValues != null && {
|
|
1835
|
-
CodeConfigurationValues:
|
|
1835
|
+
CodeConfigurationValues: se_CodeConfigurationValues(input.CodeConfigurationValues, context),
|
|
1836
1836
|
}),
|
|
1837
1837
|
...(input.ConfigurationSource != null && { ConfigurationSource: input.ConfigurationSource }),
|
|
1838
1838
|
};
|
|
1839
1839
|
};
|
|
1840
|
-
const
|
|
1840
|
+
const se_CodeConfigurationValues = (input, context) => {
|
|
1841
1841
|
return {
|
|
1842
1842
|
...(input.BuildCommand != null && { BuildCommand: input.BuildCommand }),
|
|
1843
1843
|
...(input.Port != null && { Port: input.Port }),
|
|
1844
1844
|
...(input.Runtime != null && { Runtime: input.Runtime }),
|
|
1845
1845
|
...(input.RuntimeEnvironmentSecrets != null && {
|
|
1846
|
-
RuntimeEnvironmentSecrets:
|
|
1846
|
+
RuntimeEnvironmentSecrets: se_RuntimeEnvironmentSecrets(input.RuntimeEnvironmentSecrets, context),
|
|
1847
1847
|
}),
|
|
1848
1848
|
...(input.RuntimeEnvironmentVariables != null && {
|
|
1849
|
-
RuntimeEnvironmentVariables:
|
|
1849
|
+
RuntimeEnvironmentVariables: se_RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
|
|
1850
1850
|
}),
|
|
1851
1851
|
...(input.StartCommand != null && { StartCommand: input.StartCommand }),
|
|
1852
1852
|
};
|
|
1853
1853
|
};
|
|
1854
|
-
const
|
|
1854
|
+
const se_CodeRepository = (input, context) => {
|
|
1855
1855
|
return {
|
|
1856
1856
|
...(input.CodeConfiguration != null && {
|
|
1857
|
-
CodeConfiguration:
|
|
1857
|
+
CodeConfiguration: se_CodeConfiguration(input.CodeConfiguration, context),
|
|
1858
1858
|
}),
|
|
1859
1859
|
...(input.RepositoryUrl != null && { RepositoryUrl: input.RepositoryUrl }),
|
|
1860
1860
|
...(input.SourceCodeVersion != null && {
|
|
1861
|
-
SourceCodeVersion:
|
|
1861
|
+
SourceCodeVersion: se_SourceCodeVersion(input.SourceCodeVersion, context),
|
|
1862
1862
|
}),
|
|
1863
1863
|
};
|
|
1864
1864
|
};
|
|
1865
|
-
const
|
|
1865
|
+
const se_CreateAutoScalingConfigurationRequest = (input, context) => {
|
|
1866
1866
|
return {
|
|
1867
1867
|
...(input.AutoScalingConfigurationName != null && {
|
|
1868
1868
|
AutoScalingConfigurationName: input.AutoScalingConfigurationName,
|
|
@@ -1870,162 +1870,160 @@ const serializeAws_json1_0CreateAutoScalingConfigurationRequest = (input, contex
|
|
|
1870
1870
|
...(input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency }),
|
|
1871
1871
|
...(input.MaxSize != null && { MaxSize: input.MaxSize }),
|
|
1872
1872
|
...(input.MinSize != null && { MinSize: input.MinSize }),
|
|
1873
|
-
...(input.Tags != null && { Tags:
|
|
1873
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1874
1874
|
};
|
|
1875
1875
|
};
|
|
1876
|
-
const
|
|
1876
|
+
const se_CreateConnectionRequest = (input, context) => {
|
|
1877
1877
|
return {
|
|
1878
1878
|
...(input.ConnectionName != null && { ConnectionName: input.ConnectionName }),
|
|
1879
1879
|
...(input.ProviderType != null && { ProviderType: input.ProviderType }),
|
|
1880
|
-
...(input.Tags != null && { Tags:
|
|
1880
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1881
1881
|
};
|
|
1882
1882
|
};
|
|
1883
|
-
const
|
|
1883
|
+
const se_CreateObservabilityConfigurationRequest = (input, context) => {
|
|
1884
1884
|
return {
|
|
1885
1885
|
...(input.ObservabilityConfigurationName != null && {
|
|
1886
1886
|
ObservabilityConfigurationName: input.ObservabilityConfigurationName,
|
|
1887
1887
|
}),
|
|
1888
|
-
...(input.Tags != null && { Tags:
|
|
1888
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1889
1889
|
...(input.TraceConfiguration != null && {
|
|
1890
|
-
TraceConfiguration:
|
|
1890
|
+
TraceConfiguration: se_TraceConfiguration(input.TraceConfiguration, context),
|
|
1891
1891
|
}),
|
|
1892
1892
|
};
|
|
1893
1893
|
};
|
|
1894
|
-
const
|
|
1894
|
+
const se_CreateServiceRequest = (input, context) => {
|
|
1895
1895
|
return {
|
|
1896
1896
|
...(input.AutoScalingConfigurationArn != null && {
|
|
1897
1897
|
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
1898
1898
|
}),
|
|
1899
1899
|
...(input.EncryptionConfiguration != null && {
|
|
1900
|
-
EncryptionConfiguration:
|
|
1900
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1901
1901
|
}),
|
|
1902
1902
|
...(input.HealthCheckConfiguration != null && {
|
|
1903
|
-
HealthCheckConfiguration:
|
|
1903
|
+
HealthCheckConfiguration: se_HealthCheckConfiguration(input.HealthCheckConfiguration, context),
|
|
1904
1904
|
}),
|
|
1905
1905
|
...(input.InstanceConfiguration != null && {
|
|
1906
|
-
InstanceConfiguration:
|
|
1906
|
+
InstanceConfiguration: se_InstanceConfiguration(input.InstanceConfiguration, context),
|
|
1907
1907
|
}),
|
|
1908
1908
|
...(input.NetworkConfiguration != null && {
|
|
1909
|
-
NetworkConfiguration:
|
|
1909
|
+
NetworkConfiguration: se_NetworkConfiguration(input.NetworkConfiguration, context),
|
|
1910
1910
|
}),
|
|
1911
1911
|
...(input.ObservabilityConfiguration != null && {
|
|
1912
|
-
ObservabilityConfiguration:
|
|
1912
|
+
ObservabilityConfiguration: se_ServiceObservabilityConfiguration(input.ObservabilityConfiguration, context),
|
|
1913
1913
|
}),
|
|
1914
1914
|
...(input.ServiceName != null && { ServiceName: input.ServiceName }),
|
|
1915
1915
|
...(input.SourceConfiguration != null && {
|
|
1916
|
-
SourceConfiguration:
|
|
1916
|
+
SourceConfiguration: se_SourceConfiguration(input.SourceConfiguration, context),
|
|
1917
1917
|
}),
|
|
1918
|
-
...(input.Tags != null && { Tags:
|
|
1918
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1919
1919
|
};
|
|
1920
1920
|
};
|
|
1921
|
-
const
|
|
1921
|
+
const se_CreateVpcConnectorRequest = (input, context) => {
|
|
1922
1922
|
return {
|
|
1923
|
-
...(input.SecurityGroups != null && {
|
|
1924
|
-
|
|
1925
|
-
}),
|
|
1926
|
-
...(input.Subnets != null && { Subnets: serializeAws_json1_0StringList(input.Subnets, context) }),
|
|
1927
|
-
...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1923
|
+
...(input.SecurityGroups != null && { SecurityGroups: se_StringList(input.SecurityGroups, context) }),
|
|
1924
|
+
...(input.Subnets != null && { Subnets: se_StringList(input.Subnets, context) }),
|
|
1925
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1928
1926
|
...(input.VpcConnectorName != null && { VpcConnectorName: input.VpcConnectorName }),
|
|
1929
1927
|
};
|
|
1930
1928
|
};
|
|
1931
|
-
const
|
|
1929
|
+
const se_CreateVpcIngressConnectionRequest = (input, context) => {
|
|
1932
1930
|
return {
|
|
1933
1931
|
...(input.IngressVpcConfiguration != null && {
|
|
1934
|
-
IngressVpcConfiguration:
|
|
1932
|
+
IngressVpcConfiguration: se_IngressVpcConfiguration(input.IngressVpcConfiguration, context),
|
|
1935
1933
|
}),
|
|
1936
1934
|
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1937
|
-
...(input.Tags != null && { Tags:
|
|
1935
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1938
1936
|
...(input.VpcIngressConnectionName != null && { VpcIngressConnectionName: input.VpcIngressConnectionName }),
|
|
1939
1937
|
};
|
|
1940
1938
|
};
|
|
1941
|
-
const
|
|
1939
|
+
const se_DeleteAutoScalingConfigurationRequest = (input, context) => {
|
|
1942
1940
|
return {
|
|
1943
1941
|
...(input.AutoScalingConfigurationArn != null && {
|
|
1944
1942
|
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
1945
1943
|
}),
|
|
1946
1944
|
};
|
|
1947
1945
|
};
|
|
1948
|
-
const
|
|
1946
|
+
const se_DeleteConnectionRequest = (input, context) => {
|
|
1949
1947
|
return {
|
|
1950
1948
|
...(input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }),
|
|
1951
1949
|
};
|
|
1952
1950
|
};
|
|
1953
|
-
const
|
|
1951
|
+
const se_DeleteObservabilityConfigurationRequest = (input, context) => {
|
|
1954
1952
|
return {
|
|
1955
1953
|
...(input.ObservabilityConfigurationArn != null && {
|
|
1956
1954
|
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
1957
1955
|
}),
|
|
1958
1956
|
};
|
|
1959
1957
|
};
|
|
1960
|
-
const
|
|
1958
|
+
const se_DeleteServiceRequest = (input, context) => {
|
|
1961
1959
|
return {
|
|
1962
1960
|
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1963
1961
|
};
|
|
1964
1962
|
};
|
|
1965
|
-
const
|
|
1963
|
+
const se_DeleteVpcConnectorRequest = (input, context) => {
|
|
1966
1964
|
return {
|
|
1967
1965
|
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1968
1966
|
};
|
|
1969
1967
|
};
|
|
1970
|
-
const
|
|
1968
|
+
const se_DeleteVpcIngressConnectionRequest = (input, context) => {
|
|
1971
1969
|
return {
|
|
1972
1970
|
...(input.VpcIngressConnectionArn != null && { VpcIngressConnectionArn: input.VpcIngressConnectionArn }),
|
|
1973
1971
|
};
|
|
1974
1972
|
};
|
|
1975
|
-
const
|
|
1973
|
+
const se_DescribeAutoScalingConfigurationRequest = (input, context) => {
|
|
1976
1974
|
return {
|
|
1977
1975
|
...(input.AutoScalingConfigurationArn != null && {
|
|
1978
1976
|
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
1979
1977
|
}),
|
|
1980
1978
|
};
|
|
1981
1979
|
};
|
|
1982
|
-
const
|
|
1980
|
+
const se_DescribeCustomDomainsRequest = (input, context) => {
|
|
1983
1981
|
return {
|
|
1984
1982
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1985
1983
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1986
1984
|
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1987
1985
|
};
|
|
1988
1986
|
};
|
|
1989
|
-
const
|
|
1987
|
+
const se_DescribeObservabilityConfigurationRequest = (input, context) => {
|
|
1990
1988
|
return {
|
|
1991
1989
|
...(input.ObservabilityConfigurationArn != null && {
|
|
1992
1990
|
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
1993
1991
|
}),
|
|
1994
1992
|
};
|
|
1995
1993
|
};
|
|
1996
|
-
const
|
|
1994
|
+
const se_DescribeServiceRequest = (input, context) => {
|
|
1997
1995
|
return {
|
|
1998
1996
|
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1999
1997
|
};
|
|
2000
1998
|
};
|
|
2001
|
-
const
|
|
1999
|
+
const se_DescribeVpcConnectorRequest = (input, context) => {
|
|
2002
2000
|
return {
|
|
2003
2001
|
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
2004
2002
|
};
|
|
2005
2003
|
};
|
|
2006
|
-
const
|
|
2004
|
+
const se_DescribeVpcIngressConnectionRequest = (input, context) => {
|
|
2007
2005
|
return {
|
|
2008
2006
|
...(input.VpcIngressConnectionArn != null && { VpcIngressConnectionArn: input.VpcIngressConnectionArn }),
|
|
2009
2007
|
};
|
|
2010
2008
|
};
|
|
2011
|
-
const
|
|
2009
|
+
const se_DisassociateCustomDomainRequest = (input, context) => {
|
|
2012
2010
|
return {
|
|
2013
2011
|
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
2014
2012
|
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2015
2013
|
};
|
|
2016
2014
|
};
|
|
2017
|
-
const
|
|
2015
|
+
const se_EgressConfiguration = (input, context) => {
|
|
2018
2016
|
return {
|
|
2019
2017
|
...(input.EgressType != null && { EgressType: input.EgressType }),
|
|
2020
2018
|
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
2021
2019
|
};
|
|
2022
2020
|
};
|
|
2023
|
-
const
|
|
2021
|
+
const se_EncryptionConfiguration = (input, context) => {
|
|
2024
2022
|
return {
|
|
2025
2023
|
...(input.KmsKey != null && { KmsKey: input.KmsKey }),
|
|
2026
2024
|
};
|
|
2027
2025
|
};
|
|
2028
|
-
const
|
|
2026
|
+
const se_HealthCheckConfiguration = (input, context) => {
|
|
2029
2027
|
return {
|
|
2030
2028
|
...(input.HealthyThreshold != null && { HealthyThreshold: input.HealthyThreshold }),
|
|
2031
2029
|
...(input.Interval != null && { Interval: input.Interval }),
|
|
@@ -2035,46 +2033,46 @@ const serializeAws_json1_0HealthCheckConfiguration = (input, context) => {
|
|
|
2035
2033
|
...(input.UnhealthyThreshold != null && { UnhealthyThreshold: input.UnhealthyThreshold }),
|
|
2036
2034
|
};
|
|
2037
2035
|
};
|
|
2038
|
-
const
|
|
2036
|
+
const se_ImageConfiguration = (input, context) => {
|
|
2039
2037
|
return {
|
|
2040
2038
|
...(input.Port != null && { Port: input.Port }),
|
|
2041
2039
|
...(input.RuntimeEnvironmentSecrets != null && {
|
|
2042
|
-
RuntimeEnvironmentSecrets:
|
|
2040
|
+
RuntimeEnvironmentSecrets: se_RuntimeEnvironmentSecrets(input.RuntimeEnvironmentSecrets, context),
|
|
2043
2041
|
}),
|
|
2044
2042
|
...(input.RuntimeEnvironmentVariables != null && {
|
|
2045
|
-
RuntimeEnvironmentVariables:
|
|
2043
|
+
RuntimeEnvironmentVariables: se_RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
|
|
2046
2044
|
}),
|
|
2047
2045
|
...(input.StartCommand != null && { StartCommand: input.StartCommand }),
|
|
2048
2046
|
};
|
|
2049
2047
|
};
|
|
2050
|
-
const
|
|
2048
|
+
const se_ImageRepository = (input, context) => {
|
|
2051
2049
|
return {
|
|
2052
2050
|
...(input.ImageConfiguration != null && {
|
|
2053
|
-
ImageConfiguration:
|
|
2051
|
+
ImageConfiguration: se_ImageConfiguration(input.ImageConfiguration, context),
|
|
2054
2052
|
}),
|
|
2055
2053
|
...(input.ImageIdentifier != null && { ImageIdentifier: input.ImageIdentifier }),
|
|
2056
2054
|
...(input.ImageRepositoryType != null && { ImageRepositoryType: input.ImageRepositoryType }),
|
|
2057
2055
|
};
|
|
2058
2056
|
};
|
|
2059
|
-
const
|
|
2057
|
+
const se_IngressConfiguration = (input, context) => {
|
|
2060
2058
|
return {
|
|
2061
2059
|
...(input.IsPubliclyAccessible != null && { IsPubliclyAccessible: input.IsPubliclyAccessible }),
|
|
2062
2060
|
};
|
|
2063
2061
|
};
|
|
2064
|
-
const
|
|
2062
|
+
const se_IngressVpcConfiguration = (input, context) => {
|
|
2065
2063
|
return {
|
|
2066
2064
|
...(input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }),
|
|
2067
2065
|
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
2068
2066
|
};
|
|
2069
2067
|
};
|
|
2070
|
-
const
|
|
2068
|
+
const se_InstanceConfiguration = (input, context) => {
|
|
2071
2069
|
return {
|
|
2072
2070
|
...(input.Cpu != null && { Cpu: input.Cpu }),
|
|
2073
2071
|
...(input.InstanceRoleArn != null && { InstanceRoleArn: input.InstanceRoleArn }),
|
|
2074
2072
|
...(input.Memory != null && { Memory: input.Memory }),
|
|
2075
2073
|
};
|
|
2076
2074
|
};
|
|
2077
|
-
const
|
|
2075
|
+
const se_ListAutoScalingConfigurationsRequest = (input, context) => {
|
|
2078
2076
|
return {
|
|
2079
2077
|
...(input.AutoScalingConfigurationName != null && {
|
|
2080
2078
|
AutoScalingConfigurationName: input.AutoScalingConfigurationName,
|
|
@@ -2084,14 +2082,14 @@ const serializeAws_json1_0ListAutoScalingConfigurationsRequest = (input, context
|
|
|
2084
2082
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2085
2083
|
};
|
|
2086
2084
|
};
|
|
2087
|
-
const
|
|
2085
|
+
const se_ListConnectionsRequest = (input, context) => {
|
|
2088
2086
|
return {
|
|
2089
2087
|
...(input.ConnectionName != null && { ConnectionName: input.ConnectionName }),
|
|
2090
2088
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2091
2089
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2092
2090
|
};
|
|
2093
2091
|
};
|
|
2094
|
-
const
|
|
2092
|
+
const se_ListObservabilityConfigurationsRequest = (input, context) => {
|
|
2095
2093
|
return {
|
|
2096
2094
|
...(input.LatestOnly != null && { LatestOnly: input.LatestOnly }),
|
|
2097
2095
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -2101,64 +2099,64 @@ const serializeAws_json1_0ListObservabilityConfigurationsRequest = (input, conte
|
|
|
2101
2099
|
}),
|
|
2102
2100
|
};
|
|
2103
2101
|
};
|
|
2104
|
-
const
|
|
2102
|
+
const se_ListOperationsRequest = (input, context) => {
|
|
2105
2103
|
return {
|
|
2106
2104
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2107
2105
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2108
2106
|
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2109
2107
|
};
|
|
2110
2108
|
};
|
|
2111
|
-
const
|
|
2109
|
+
const se_ListServicesRequest = (input, context) => {
|
|
2112
2110
|
return {
|
|
2113
2111
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2114
2112
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2115
2113
|
};
|
|
2116
2114
|
};
|
|
2117
|
-
const
|
|
2115
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2118
2116
|
return {
|
|
2119
2117
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2120
2118
|
};
|
|
2121
2119
|
};
|
|
2122
|
-
const
|
|
2120
|
+
const se_ListVpcConnectorsRequest = (input, context) => {
|
|
2123
2121
|
return {
|
|
2124
2122
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2125
2123
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2126
2124
|
};
|
|
2127
2125
|
};
|
|
2128
|
-
const
|
|
2126
|
+
const se_ListVpcIngressConnectionsFilter = (input, context) => {
|
|
2129
2127
|
return {
|
|
2130
2128
|
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2131
2129
|
...(input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }),
|
|
2132
2130
|
};
|
|
2133
2131
|
};
|
|
2134
|
-
const
|
|
2132
|
+
const se_ListVpcIngressConnectionsRequest = (input, context) => {
|
|
2135
2133
|
return {
|
|
2136
|
-
...(input.Filter != null && { Filter:
|
|
2134
|
+
...(input.Filter != null && { Filter: se_ListVpcIngressConnectionsFilter(input.Filter, context) }),
|
|
2137
2135
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2138
2136
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2139
2137
|
};
|
|
2140
2138
|
};
|
|
2141
|
-
const
|
|
2139
|
+
const se_NetworkConfiguration = (input, context) => {
|
|
2142
2140
|
return {
|
|
2143
2141
|
...(input.EgressConfiguration != null && {
|
|
2144
|
-
EgressConfiguration:
|
|
2142
|
+
EgressConfiguration: se_EgressConfiguration(input.EgressConfiguration, context),
|
|
2145
2143
|
}),
|
|
2146
2144
|
...(input.IngressConfiguration != null && {
|
|
2147
|
-
IngressConfiguration:
|
|
2145
|
+
IngressConfiguration: se_IngressConfiguration(input.IngressConfiguration, context),
|
|
2148
2146
|
}),
|
|
2149
2147
|
};
|
|
2150
2148
|
};
|
|
2151
|
-
const
|
|
2149
|
+
const se_PauseServiceRequest = (input, context) => {
|
|
2152
2150
|
return {
|
|
2153
2151
|
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2154
2152
|
};
|
|
2155
2153
|
};
|
|
2156
|
-
const
|
|
2154
|
+
const se_ResumeServiceRequest = (input, context) => {
|
|
2157
2155
|
return {
|
|
2158
2156
|
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2159
2157
|
};
|
|
2160
2158
|
};
|
|
2161
|
-
const
|
|
2159
|
+
const se_RuntimeEnvironmentSecrets = (input, context) => {
|
|
2162
2160
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2163
2161
|
if (value === null) {
|
|
2164
2162
|
return acc;
|
|
@@ -2167,7 +2165,7 @@ const serializeAws_json1_0RuntimeEnvironmentSecrets = (input, context) => {
|
|
|
2167
2165
|
return acc;
|
|
2168
2166
|
}, {});
|
|
2169
2167
|
};
|
|
2170
|
-
const
|
|
2168
|
+
const se_RuntimeEnvironmentVariables = (input, context) => {
|
|
2171
2169
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2172
2170
|
if (value === null) {
|
|
2173
2171
|
return acc;
|
|
@@ -2176,7 +2174,7 @@ const serializeAws_json1_0RuntimeEnvironmentVariables = (input, context) => {
|
|
|
2176
2174
|
return acc;
|
|
2177
2175
|
}, {});
|
|
2178
2176
|
};
|
|
2179
|
-
const
|
|
2177
|
+
const se_ServiceObservabilityConfiguration = (input, context) => {
|
|
2180
2178
|
return {
|
|
2181
2179
|
...(input.ObservabilityConfigurationArn != null && {
|
|
2182
2180
|
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
@@ -2184,121 +2182,117 @@ const serializeAws_json1_0ServiceObservabilityConfiguration = (input, context) =
|
|
|
2184
2182
|
...(input.ObservabilityEnabled != null && { ObservabilityEnabled: input.ObservabilityEnabled }),
|
|
2185
2183
|
};
|
|
2186
2184
|
};
|
|
2187
|
-
const
|
|
2185
|
+
const se_SourceCodeVersion = (input, context) => {
|
|
2188
2186
|
return {
|
|
2189
2187
|
...(input.Type != null && { Type: input.Type }),
|
|
2190
2188
|
...(input.Value != null && { Value: input.Value }),
|
|
2191
2189
|
};
|
|
2192
2190
|
};
|
|
2193
|
-
const
|
|
2191
|
+
const se_SourceConfiguration = (input, context) => {
|
|
2194
2192
|
return {
|
|
2195
2193
|
...(input.AuthenticationConfiguration != null && {
|
|
2196
|
-
AuthenticationConfiguration:
|
|
2194
|
+
AuthenticationConfiguration: se_AuthenticationConfiguration(input.AuthenticationConfiguration, context),
|
|
2197
2195
|
}),
|
|
2198
2196
|
...(input.AutoDeploymentsEnabled != null && { AutoDeploymentsEnabled: input.AutoDeploymentsEnabled }),
|
|
2199
|
-
...(input.CodeRepository != null && {
|
|
2200
|
-
|
|
2201
|
-
}),
|
|
2202
|
-
...(input.ImageRepository != null && {
|
|
2203
|
-
ImageRepository: serializeAws_json1_0ImageRepository(input.ImageRepository, context),
|
|
2204
|
-
}),
|
|
2197
|
+
...(input.CodeRepository != null && { CodeRepository: se_CodeRepository(input.CodeRepository, context) }),
|
|
2198
|
+
...(input.ImageRepository != null && { ImageRepository: se_ImageRepository(input.ImageRepository, context) }),
|
|
2205
2199
|
};
|
|
2206
2200
|
};
|
|
2207
|
-
const
|
|
2201
|
+
const se_StartDeploymentRequest = (input, context) => {
|
|
2208
2202
|
return {
|
|
2209
2203
|
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2210
2204
|
};
|
|
2211
2205
|
};
|
|
2212
|
-
const
|
|
2206
|
+
const se_StringList = (input, context) => {
|
|
2213
2207
|
return input
|
|
2214
2208
|
.filter((e) => e != null)
|
|
2215
2209
|
.map((entry) => {
|
|
2216
2210
|
return entry;
|
|
2217
2211
|
});
|
|
2218
2212
|
};
|
|
2219
|
-
const
|
|
2213
|
+
const se_Tag = (input, context) => {
|
|
2220
2214
|
return {
|
|
2221
2215
|
...(input.Key != null && { Key: input.Key }),
|
|
2222
2216
|
...(input.Value != null && { Value: input.Value }),
|
|
2223
2217
|
};
|
|
2224
2218
|
};
|
|
2225
|
-
const
|
|
2219
|
+
const se_TagKeyList = (input, context) => {
|
|
2226
2220
|
return input
|
|
2227
2221
|
.filter((e) => e != null)
|
|
2228
2222
|
.map((entry) => {
|
|
2229
2223
|
return entry;
|
|
2230
2224
|
});
|
|
2231
2225
|
};
|
|
2232
|
-
const
|
|
2226
|
+
const se_TagList = (input, context) => {
|
|
2233
2227
|
return input
|
|
2234
2228
|
.filter((e) => e != null)
|
|
2235
2229
|
.map((entry) => {
|
|
2236
|
-
return
|
|
2230
|
+
return se_Tag(entry, context);
|
|
2237
2231
|
});
|
|
2238
2232
|
};
|
|
2239
|
-
const
|
|
2233
|
+
const se_TagResourceRequest = (input, context) => {
|
|
2240
2234
|
return {
|
|
2241
2235
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2242
|
-
...(input.Tags != null && { Tags:
|
|
2236
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2243
2237
|
};
|
|
2244
2238
|
};
|
|
2245
|
-
const
|
|
2239
|
+
const se_TraceConfiguration = (input, context) => {
|
|
2246
2240
|
return {
|
|
2247
2241
|
...(input.Vendor != null && { Vendor: input.Vendor }),
|
|
2248
2242
|
};
|
|
2249
2243
|
};
|
|
2250
|
-
const
|
|
2244
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
2251
2245
|
return {
|
|
2252
2246
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2253
|
-
...(input.TagKeys != null && { TagKeys:
|
|
2247
|
+
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
2254
2248
|
};
|
|
2255
2249
|
};
|
|
2256
|
-
const
|
|
2250
|
+
const se_UpdateServiceRequest = (input, context) => {
|
|
2257
2251
|
return {
|
|
2258
2252
|
...(input.AutoScalingConfigurationArn != null && {
|
|
2259
2253
|
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
2260
2254
|
}),
|
|
2261
2255
|
...(input.HealthCheckConfiguration != null && {
|
|
2262
|
-
HealthCheckConfiguration:
|
|
2256
|
+
HealthCheckConfiguration: se_HealthCheckConfiguration(input.HealthCheckConfiguration, context),
|
|
2263
2257
|
}),
|
|
2264
2258
|
...(input.InstanceConfiguration != null && {
|
|
2265
|
-
InstanceConfiguration:
|
|
2259
|
+
InstanceConfiguration: se_InstanceConfiguration(input.InstanceConfiguration, context),
|
|
2266
2260
|
}),
|
|
2267
2261
|
...(input.NetworkConfiguration != null && {
|
|
2268
|
-
NetworkConfiguration:
|
|
2262
|
+
NetworkConfiguration: se_NetworkConfiguration(input.NetworkConfiguration, context),
|
|
2269
2263
|
}),
|
|
2270
2264
|
...(input.ObservabilityConfiguration != null && {
|
|
2271
|
-
ObservabilityConfiguration:
|
|
2265
|
+
ObservabilityConfiguration: se_ServiceObservabilityConfiguration(input.ObservabilityConfiguration, context),
|
|
2272
2266
|
}),
|
|
2273
2267
|
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2274
2268
|
...(input.SourceConfiguration != null && {
|
|
2275
|
-
SourceConfiguration:
|
|
2269
|
+
SourceConfiguration: se_SourceConfiguration(input.SourceConfiguration, context),
|
|
2276
2270
|
}),
|
|
2277
2271
|
};
|
|
2278
2272
|
};
|
|
2279
|
-
const
|
|
2273
|
+
const se_UpdateVpcIngressConnectionRequest = (input, context) => {
|
|
2280
2274
|
return {
|
|
2281
2275
|
...(input.IngressVpcConfiguration != null && {
|
|
2282
|
-
IngressVpcConfiguration:
|
|
2276
|
+
IngressVpcConfiguration: se_IngressVpcConfiguration(input.IngressVpcConfiguration, context),
|
|
2283
2277
|
}),
|
|
2284
2278
|
...(input.VpcIngressConnectionArn != null && { VpcIngressConnectionArn: input.VpcIngressConnectionArn }),
|
|
2285
2279
|
};
|
|
2286
2280
|
};
|
|
2287
|
-
const
|
|
2281
|
+
const de_AssociateCustomDomainResponse = (output, context) => {
|
|
2288
2282
|
return {
|
|
2289
|
-
CustomDomain: output.CustomDomain != null ?
|
|
2283
|
+
CustomDomain: output.CustomDomain != null ? de_CustomDomain(output.CustomDomain, context) : undefined,
|
|
2290
2284
|
DNSTarget: (0, smithy_client_1.expectString)(output.DNSTarget),
|
|
2291
2285
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2292
|
-
VpcDNSTargets: output.VpcDNSTargets != null ?
|
|
2286
|
+
VpcDNSTargets: output.VpcDNSTargets != null ? de_VpcDNSTargetList(output.VpcDNSTargets, context) : undefined,
|
|
2293
2287
|
};
|
|
2294
2288
|
};
|
|
2295
|
-
const
|
|
2289
|
+
const de_AuthenticationConfiguration = (output, context) => {
|
|
2296
2290
|
return {
|
|
2297
2291
|
AccessRoleArn: (0, smithy_client_1.expectString)(output.AccessRoleArn),
|
|
2298
2292
|
ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
|
|
2299
2293
|
};
|
|
2300
2294
|
};
|
|
2301
|
-
const
|
|
2295
|
+
const de_AutoScalingConfiguration = (output, context) => {
|
|
2302
2296
|
return {
|
|
2303
2297
|
AutoScalingConfigurationArn: (0, smithy_client_1.expectString)(output.AutoScalingConfigurationArn),
|
|
2304
2298
|
AutoScalingConfigurationName: (0, smithy_client_1.expectString)(output.AutoScalingConfigurationName),
|
|
@@ -2312,25 +2306,25 @@ const deserializeAws_json1_0AutoScalingConfiguration = (output, context) => {
|
|
|
2312
2306
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2313
2307
|
};
|
|
2314
2308
|
};
|
|
2315
|
-
const
|
|
2309
|
+
const de_AutoScalingConfigurationSummary = (output, context) => {
|
|
2316
2310
|
return {
|
|
2317
2311
|
AutoScalingConfigurationArn: (0, smithy_client_1.expectString)(output.AutoScalingConfigurationArn),
|
|
2318
2312
|
AutoScalingConfigurationName: (0, smithy_client_1.expectString)(output.AutoScalingConfigurationName),
|
|
2319
2313
|
AutoScalingConfigurationRevision: (0, smithy_client_1.expectInt32)(output.AutoScalingConfigurationRevision),
|
|
2320
2314
|
};
|
|
2321
2315
|
};
|
|
2322
|
-
const
|
|
2316
|
+
const de_AutoScalingConfigurationSummaryList = (output, context) => {
|
|
2323
2317
|
const retVal = (output || [])
|
|
2324
2318
|
.filter((e) => e != null)
|
|
2325
2319
|
.map((entry) => {
|
|
2326
2320
|
if (entry === null) {
|
|
2327
2321
|
return null;
|
|
2328
2322
|
}
|
|
2329
|
-
return
|
|
2323
|
+
return de_AutoScalingConfigurationSummary(entry, context);
|
|
2330
2324
|
});
|
|
2331
2325
|
return retVal;
|
|
2332
2326
|
};
|
|
2333
|
-
const
|
|
2327
|
+
const de_CertificateValidationRecord = (output, context) => {
|
|
2334
2328
|
return {
|
|
2335
2329
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2336
2330
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
@@ -2338,51 +2332,47 @@ const deserializeAws_json1_0CertificateValidationRecord = (output, context) => {
|
|
|
2338
2332
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2339
2333
|
};
|
|
2340
2334
|
};
|
|
2341
|
-
const
|
|
2335
|
+
const de_CertificateValidationRecordList = (output, context) => {
|
|
2342
2336
|
const retVal = (output || [])
|
|
2343
2337
|
.filter((e) => e != null)
|
|
2344
2338
|
.map((entry) => {
|
|
2345
2339
|
if (entry === null) {
|
|
2346
2340
|
return null;
|
|
2347
2341
|
}
|
|
2348
|
-
return
|
|
2342
|
+
return de_CertificateValidationRecord(entry, context);
|
|
2349
2343
|
});
|
|
2350
2344
|
return retVal;
|
|
2351
2345
|
};
|
|
2352
|
-
const
|
|
2346
|
+
const de_CodeConfiguration = (output, context) => {
|
|
2353
2347
|
return {
|
|
2354
2348
|
CodeConfigurationValues: output.CodeConfigurationValues != null
|
|
2355
|
-
?
|
|
2349
|
+
? de_CodeConfigurationValues(output.CodeConfigurationValues, context)
|
|
2356
2350
|
: undefined,
|
|
2357
2351
|
ConfigurationSource: (0, smithy_client_1.expectString)(output.ConfigurationSource),
|
|
2358
2352
|
};
|
|
2359
2353
|
};
|
|
2360
|
-
const
|
|
2354
|
+
const de_CodeConfigurationValues = (output, context) => {
|
|
2361
2355
|
return {
|
|
2362
2356
|
BuildCommand: (0, smithy_client_1.expectString)(output.BuildCommand),
|
|
2363
2357
|
Port: (0, smithy_client_1.expectString)(output.Port),
|
|
2364
2358
|
Runtime: (0, smithy_client_1.expectString)(output.Runtime),
|
|
2365
2359
|
RuntimeEnvironmentSecrets: output.RuntimeEnvironmentSecrets != null
|
|
2366
|
-
?
|
|
2360
|
+
? de_RuntimeEnvironmentSecrets(output.RuntimeEnvironmentSecrets, context)
|
|
2367
2361
|
: undefined,
|
|
2368
2362
|
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
|
|
2369
|
-
?
|
|
2363
|
+
? de_RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
|
|
2370
2364
|
: undefined,
|
|
2371
2365
|
StartCommand: (0, smithy_client_1.expectString)(output.StartCommand),
|
|
2372
2366
|
};
|
|
2373
2367
|
};
|
|
2374
|
-
const
|
|
2368
|
+
const de_CodeRepository = (output, context) => {
|
|
2375
2369
|
return {
|
|
2376
|
-
CodeConfiguration: output.CodeConfiguration != null
|
|
2377
|
-
? deserializeAws_json1_0CodeConfiguration(output.CodeConfiguration, context)
|
|
2378
|
-
: undefined,
|
|
2370
|
+
CodeConfiguration: output.CodeConfiguration != null ? de_CodeConfiguration(output.CodeConfiguration, context) : undefined,
|
|
2379
2371
|
RepositoryUrl: (0, smithy_client_1.expectString)(output.RepositoryUrl),
|
|
2380
|
-
SourceCodeVersion: output.SourceCodeVersion != null
|
|
2381
|
-
? deserializeAws_json1_0SourceCodeVersion(output.SourceCodeVersion, context)
|
|
2382
|
-
: undefined,
|
|
2372
|
+
SourceCodeVersion: output.SourceCodeVersion != null ? de_SourceCodeVersion(output.SourceCodeVersion, context) : undefined,
|
|
2383
2373
|
};
|
|
2384
2374
|
};
|
|
2385
|
-
const
|
|
2375
|
+
const de_Connection = (output, context) => {
|
|
2386
2376
|
return {
|
|
2387
2377
|
ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
|
|
2388
2378
|
ConnectionName: (0, smithy_client_1.expectString)(output.ConnectionName),
|
|
@@ -2391,7 +2381,7 @@ const deserializeAws_json1_0Connection = (output, context) => {
|
|
|
2391
2381
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2392
2382
|
};
|
|
2393
2383
|
};
|
|
2394
|
-
const
|
|
2384
|
+
const de_ConnectionSummary = (output, context) => {
|
|
2395
2385
|
return {
|
|
2396
2386
|
ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
|
|
2397
2387
|
ConnectionName: (0, smithy_client_1.expectString)(output.ConnectionName),
|
|
@@ -2400,172 +2390,166 @@ const deserializeAws_json1_0ConnectionSummary = (output, context) => {
|
|
|
2400
2390
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2401
2391
|
};
|
|
2402
2392
|
};
|
|
2403
|
-
const
|
|
2393
|
+
const de_ConnectionSummaryList = (output, context) => {
|
|
2404
2394
|
const retVal = (output || [])
|
|
2405
2395
|
.filter((e) => e != null)
|
|
2406
2396
|
.map((entry) => {
|
|
2407
2397
|
if (entry === null) {
|
|
2408
2398
|
return null;
|
|
2409
2399
|
}
|
|
2410
|
-
return
|
|
2400
|
+
return de_ConnectionSummary(entry, context);
|
|
2411
2401
|
});
|
|
2412
2402
|
return retVal;
|
|
2413
2403
|
};
|
|
2414
|
-
const
|
|
2404
|
+
const de_CreateAutoScalingConfigurationResponse = (output, context) => {
|
|
2415
2405
|
return {
|
|
2416
2406
|
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
2417
|
-
?
|
|
2407
|
+
? de_AutoScalingConfiguration(output.AutoScalingConfiguration, context)
|
|
2418
2408
|
: undefined,
|
|
2419
2409
|
};
|
|
2420
2410
|
};
|
|
2421
|
-
const
|
|
2411
|
+
const de_CreateConnectionResponse = (output, context) => {
|
|
2422
2412
|
return {
|
|
2423
|
-
Connection: output.Connection != null ?
|
|
2413
|
+
Connection: output.Connection != null ? de_Connection(output.Connection, context) : undefined,
|
|
2424
2414
|
};
|
|
2425
2415
|
};
|
|
2426
|
-
const
|
|
2416
|
+
const de_CreateObservabilityConfigurationResponse = (output, context) => {
|
|
2427
2417
|
return {
|
|
2428
2418
|
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2429
|
-
?
|
|
2419
|
+
? de_ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2430
2420
|
: undefined,
|
|
2431
2421
|
};
|
|
2432
2422
|
};
|
|
2433
|
-
const
|
|
2423
|
+
const de_CreateServiceResponse = (output, context) => {
|
|
2434
2424
|
return {
|
|
2435
2425
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
2436
|
-
Service: output.Service != null ?
|
|
2426
|
+
Service: output.Service != null ? de_Service(output.Service, context) : undefined,
|
|
2437
2427
|
};
|
|
2438
2428
|
};
|
|
2439
|
-
const
|
|
2429
|
+
const de_CreateVpcConnectorResponse = (output, context) => {
|
|
2440
2430
|
return {
|
|
2441
|
-
VpcConnector: output.VpcConnector != null ?
|
|
2431
|
+
VpcConnector: output.VpcConnector != null ? de_VpcConnector(output.VpcConnector, context) : undefined,
|
|
2442
2432
|
};
|
|
2443
2433
|
};
|
|
2444
|
-
const
|
|
2434
|
+
const de_CreateVpcIngressConnectionResponse = (output, context) => {
|
|
2445
2435
|
return {
|
|
2446
|
-
VpcIngressConnection: output.VpcIngressConnection != null
|
|
2447
|
-
? deserializeAws_json1_0VpcIngressConnection(output.VpcIngressConnection, context)
|
|
2448
|
-
: undefined,
|
|
2436
|
+
VpcIngressConnection: output.VpcIngressConnection != null ? de_VpcIngressConnection(output.VpcIngressConnection, context) : undefined,
|
|
2449
2437
|
};
|
|
2450
2438
|
};
|
|
2451
|
-
const
|
|
2439
|
+
const de_CustomDomain = (output, context) => {
|
|
2452
2440
|
return {
|
|
2453
2441
|
CertificateValidationRecords: output.CertificateValidationRecords != null
|
|
2454
|
-
?
|
|
2442
|
+
? de_CertificateValidationRecordList(output.CertificateValidationRecords, context)
|
|
2455
2443
|
: undefined,
|
|
2456
2444
|
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
2457
2445
|
EnableWWWSubdomain: (0, smithy_client_1.expectBoolean)(output.EnableWWWSubdomain),
|
|
2458
2446
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2459
2447
|
};
|
|
2460
2448
|
};
|
|
2461
|
-
const
|
|
2449
|
+
const de_CustomDomainList = (output, context) => {
|
|
2462
2450
|
const retVal = (output || [])
|
|
2463
2451
|
.filter((e) => e != null)
|
|
2464
2452
|
.map((entry) => {
|
|
2465
2453
|
if (entry === null) {
|
|
2466
2454
|
return null;
|
|
2467
2455
|
}
|
|
2468
|
-
return
|
|
2456
|
+
return de_CustomDomain(entry, context);
|
|
2469
2457
|
});
|
|
2470
2458
|
return retVal;
|
|
2471
2459
|
};
|
|
2472
|
-
const
|
|
2460
|
+
const de_DeleteAutoScalingConfigurationResponse = (output, context) => {
|
|
2473
2461
|
return {
|
|
2474
2462
|
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
2475
|
-
?
|
|
2463
|
+
? de_AutoScalingConfiguration(output.AutoScalingConfiguration, context)
|
|
2476
2464
|
: undefined,
|
|
2477
2465
|
};
|
|
2478
2466
|
};
|
|
2479
|
-
const
|
|
2467
|
+
const de_DeleteConnectionResponse = (output, context) => {
|
|
2480
2468
|
return {
|
|
2481
|
-
Connection: output.Connection != null ?
|
|
2469
|
+
Connection: output.Connection != null ? de_Connection(output.Connection, context) : undefined,
|
|
2482
2470
|
};
|
|
2483
2471
|
};
|
|
2484
|
-
const
|
|
2472
|
+
const de_DeleteObservabilityConfigurationResponse = (output, context) => {
|
|
2485
2473
|
return {
|
|
2486
2474
|
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2487
|
-
?
|
|
2475
|
+
? de_ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2488
2476
|
: undefined,
|
|
2489
2477
|
};
|
|
2490
2478
|
};
|
|
2491
|
-
const
|
|
2479
|
+
const de_DeleteServiceResponse = (output, context) => {
|
|
2492
2480
|
return {
|
|
2493
2481
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
2494
|
-
Service: output.Service != null ?
|
|
2482
|
+
Service: output.Service != null ? de_Service(output.Service, context) : undefined,
|
|
2495
2483
|
};
|
|
2496
2484
|
};
|
|
2497
|
-
const
|
|
2485
|
+
const de_DeleteVpcConnectorResponse = (output, context) => {
|
|
2498
2486
|
return {
|
|
2499
|
-
VpcConnector: output.VpcConnector != null ?
|
|
2487
|
+
VpcConnector: output.VpcConnector != null ? de_VpcConnector(output.VpcConnector, context) : undefined,
|
|
2500
2488
|
};
|
|
2501
2489
|
};
|
|
2502
|
-
const
|
|
2490
|
+
const de_DeleteVpcIngressConnectionResponse = (output, context) => {
|
|
2503
2491
|
return {
|
|
2504
|
-
VpcIngressConnection: output.VpcIngressConnection != null
|
|
2505
|
-
? deserializeAws_json1_0VpcIngressConnection(output.VpcIngressConnection, context)
|
|
2506
|
-
: undefined,
|
|
2492
|
+
VpcIngressConnection: output.VpcIngressConnection != null ? de_VpcIngressConnection(output.VpcIngressConnection, context) : undefined,
|
|
2507
2493
|
};
|
|
2508
2494
|
};
|
|
2509
|
-
const
|
|
2495
|
+
const de_DescribeAutoScalingConfigurationResponse = (output, context) => {
|
|
2510
2496
|
return {
|
|
2511
2497
|
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
2512
|
-
?
|
|
2498
|
+
? de_AutoScalingConfiguration(output.AutoScalingConfiguration, context)
|
|
2513
2499
|
: undefined,
|
|
2514
2500
|
};
|
|
2515
2501
|
};
|
|
2516
|
-
const
|
|
2502
|
+
const de_DescribeCustomDomainsResponse = (output, context) => {
|
|
2517
2503
|
return {
|
|
2518
|
-
CustomDomains: output.CustomDomains != null ?
|
|
2504
|
+
CustomDomains: output.CustomDomains != null ? de_CustomDomainList(output.CustomDomains, context) : undefined,
|
|
2519
2505
|
DNSTarget: (0, smithy_client_1.expectString)(output.DNSTarget),
|
|
2520
2506
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2521
2507
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2522
|
-
VpcDNSTargets: output.VpcDNSTargets != null ?
|
|
2508
|
+
VpcDNSTargets: output.VpcDNSTargets != null ? de_VpcDNSTargetList(output.VpcDNSTargets, context) : undefined,
|
|
2523
2509
|
};
|
|
2524
2510
|
};
|
|
2525
|
-
const
|
|
2511
|
+
const de_DescribeObservabilityConfigurationResponse = (output, context) => {
|
|
2526
2512
|
return {
|
|
2527
2513
|
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2528
|
-
?
|
|
2514
|
+
? de_ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2529
2515
|
: undefined,
|
|
2530
2516
|
};
|
|
2531
2517
|
};
|
|
2532
|
-
const
|
|
2518
|
+
const de_DescribeServiceResponse = (output, context) => {
|
|
2533
2519
|
return {
|
|
2534
|
-
Service: output.Service != null ?
|
|
2520
|
+
Service: output.Service != null ? de_Service(output.Service, context) : undefined,
|
|
2535
2521
|
};
|
|
2536
2522
|
};
|
|
2537
|
-
const
|
|
2523
|
+
const de_DescribeVpcConnectorResponse = (output, context) => {
|
|
2538
2524
|
return {
|
|
2539
|
-
VpcConnector: output.VpcConnector != null ?
|
|
2525
|
+
VpcConnector: output.VpcConnector != null ? de_VpcConnector(output.VpcConnector, context) : undefined,
|
|
2540
2526
|
};
|
|
2541
2527
|
};
|
|
2542
|
-
const
|
|
2528
|
+
const de_DescribeVpcIngressConnectionResponse = (output, context) => {
|
|
2543
2529
|
return {
|
|
2544
|
-
VpcIngressConnection: output.VpcIngressConnection != null
|
|
2545
|
-
? deserializeAws_json1_0VpcIngressConnection(output.VpcIngressConnection, context)
|
|
2546
|
-
: undefined,
|
|
2530
|
+
VpcIngressConnection: output.VpcIngressConnection != null ? de_VpcIngressConnection(output.VpcIngressConnection, context) : undefined,
|
|
2547
2531
|
};
|
|
2548
2532
|
};
|
|
2549
|
-
const
|
|
2533
|
+
const de_DisassociateCustomDomainResponse = (output, context) => {
|
|
2550
2534
|
return {
|
|
2551
|
-
CustomDomain: output.CustomDomain != null ?
|
|
2535
|
+
CustomDomain: output.CustomDomain != null ? de_CustomDomain(output.CustomDomain, context) : undefined,
|
|
2552
2536
|
DNSTarget: (0, smithy_client_1.expectString)(output.DNSTarget),
|
|
2553
2537
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2554
|
-
VpcDNSTargets: output.VpcDNSTargets != null ?
|
|
2538
|
+
VpcDNSTargets: output.VpcDNSTargets != null ? de_VpcDNSTargetList(output.VpcDNSTargets, context) : undefined,
|
|
2555
2539
|
};
|
|
2556
2540
|
};
|
|
2557
|
-
const
|
|
2541
|
+
const de_EgressConfiguration = (output, context) => {
|
|
2558
2542
|
return {
|
|
2559
2543
|
EgressType: (0, smithy_client_1.expectString)(output.EgressType),
|
|
2560
2544
|
VpcConnectorArn: (0, smithy_client_1.expectString)(output.VpcConnectorArn),
|
|
2561
2545
|
};
|
|
2562
2546
|
};
|
|
2563
|
-
const
|
|
2547
|
+
const de_EncryptionConfiguration = (output, context) => {
|
|
2564
2548
|
return {
|
|
2565
2549
|
KmsKey: (0, smithy_client_1.expectString)(output.KmsKey),
|
|
2566
2550
|
};
|
|
2567
2551
|
};
|
|
2568
|
-
const
|
|
2552
|
+
const de_HealthCheckConfiguration = (output, context) => {
|
|
2569
2553
|
return {
|
|
2570
2554
|
HealthyThreshold: (0, smithy_client_1.expectInt32)(output.HealthyThreshold),
|
|
2571
2555
|
Interval: (0, smithy_client_1.expectInt32)(output.Interval),
|
|
@@ -2575,130 +2559,120 @@ const deserializeAws_json1_0HealthCheckConfiguration = (output, context) => {
|
|
|
2575
2559
|
UnhealthyThreshold: (0, smithy_client_1.expectInt32)(output.UnhealthyThreshold),
|
|
2576
2560
|
};
|
|
2577
2561
|
};
|
|
2578
|
-
const
|
|
2562
|
+
const de_ImageConfiguration = (output, context) => {
|
|
2579
2563
|
return {
|
|
2580
2564
|
Port: (0, smithy_client_1.expectString)(output.Port),
|
|
2581
2565
|
RuntimeEnvironmentSecrets: output.RuntimeEnvironmentSecrets != null
|
|
2582
|
-
?
|
|
2566
|
+
? de_RuntimeEnvironmentSecrets(output.RuntimeEnvironmentSecrets, context)
|
|
2583
2567
|
: undefined,
|
|
2584
2568
|
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
|
|
2585
|
-
?
|
|
2569
|
+
? de_RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
|
|
2586
2570
|
: undefined,
|
|
2587
2571
|
StartCommand: (0, smithy_client_1.expectString)(output.StartCommand),
|
|
2588
2572
|
};
|
|
2589
2573
|
};
|
|
2590
|
-
const
|
|
2574
|
+
const de_ImageRepository = (output, context) => {
|
|
2591
2575
|
return {
|
|
2592
|
-
ImageConfiguration: output.ImageConfiguration != null
|
|
2593
|
-
? deserializeAws_json1_0ImageConfiguration(output.ImageConfiguration, context)
|
|
2594
|
-
: undefined,
|
|
2576
|
+
ImageConfiguration: output.ImageConfiguration != null ? de_ImageConfiguration(output.ImageConfiguration, context) : undefined,
|
|
2595
2577
|
ImageIdentifier: (0, smithy_client_1.expectString)(output.ImageIdentifier),
|
|
2596
2578
|
ImageRepositoryType: (0, smithy_client_1.expectString)(output.ImageRepositoryType),
|
|
2597
2579
|
};
|
|
2598
2580
|
};
|
|
2599
|
-
const
|
|
2581
|
+
const de_IngressConfiguration = (output, context) => {
|
|
2600
2582
|
return {
|
|
2601
2583
|
IsPubliclyAccessible: (0, smithy_client_1.expectBoolean)(output.IsPubliclyAccessible),
|
|
2602
2584
|
};
|
|
2603
2585
|
};
|
|
2604
|
-
const
|
|
2586
|
+
const de_IngressVpcConfiguration = (output, context) => {
|
|
2605
2587
|
return {
|
|
2606
2588
|
VpcEndpointId: (0, smithy_client_1.expectString)(output.VpcEndpointId),
|
|
2607
2589
|
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2608
2590
|
};
|
|
2609
2591
|
};
|
|
2610
|
-
const
|
|
2592
|
+
const de_InstanceConfiguration = (output, context) => {
|
|
2611
2593
|
return {
|
|
2612
2594
|
Cpu: (0, smithy_client_1.expectString)(output.Cpu),
|
|
2613
2595
|
InstanceRoleArn: (0, smithy_client_1.expectString)(output.InstanceRoleArn),
|
|
2614
2596
|
Memory: (0, smithy_client_1.expectString)(output.Memory),
|
|
2615
2597
|
};
|
|
2616
2598
|
};
|
|
2617
|
-
const
|
|
2599
|
+
const de_InternalServiceErrorException = (output, context) => {
|
|
2618
2600
|
return {
|
|
2619
2601
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2620
2602
|
};
|
|
2621
2603
|
};
|
|
2622
|
-
const
|
|
2604
|
+
const de_InvalidRequestException = (output, context) => {
|
|
2623
2605
|
return {
|
|
2624
2606
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2625
2607
|
};
|
|
2626
2608
|
};
|
|
2627
|
-
const
|
|
2609
|
+
const de_InvalidStateException = (output, context) => {
|
|
2628
2610
|
return {
|
|
2629
2611
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2630
2612
|
};
|
|
2631
2613
|
};
|
|
2632
|
-
const
|
|
2614
|
+
const de_ListAutoScalingConfigurationsResponse = (output, context) => {
|
|
2633
2615
|
return {
|
|
2634
2616
|
AutoScalingConfigurationSummaryList: output.AutoScalingConfigurationSummaryList != null
|
|
2635
|
-
?
|
|
2617
|
+
? de_AutoScalingConfigurationSummaryList(output.AutoScalingConfigurationSummaryList, context)
|
|
2636
2618
|
: undefined,
|
|
2637
2619
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2638
2620
|
};
|
|
2639
2621
|
};
|
|
2640
|
-
const
|
|
2622
|
+
const de_ListConnectionsResponse = (output, context) => {
|
|
2641
2623
|
return {
|
|
2642
2624
|
ConnectionSummaryList: output.ConnectionSummaryList != null
|
|
2643
|
-
?
|
|
2625
|
+
? de_ConnectionSummaryList(output.ConnectionSummaryList, context)
|
|
2644
2626
|
: undefined,
|
|
2645
2627
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2646
2628
|
};
|
|
2647
2629
|
};
|
|
2648
|
-
const
|
|
2630
|
+
const de_ListObservabilityConfigurationsResponse = (output, context) => {
|
|
2649
2631
|
return {
|
|
2650
2632
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2651
2633
|
ObservabilityConfigurationSummaryList: output.ObservabilityConfigurationSummaryList != null
|
|
2652
|
-
?
|
|
2634
|
+
? de_ObservabilityConfigurationSummaryList(output.ObservabilityConfigurationSummaryList, context)
|
|
2653
2635
|
: undefined,
|
|
2654
2636
|
};
|
|
2655
2637
|
};
|
|
2656
|
-
const
|
|
2638
|
+
const de_ListOperationsResponse = (output, context) => {
|
|
2657
2639
|
return {
|
|
2658
2640
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2659
|
-
OperationSummaryList: output.OperationSummaryList != null
|
|
2660
|
-
? deserializeAws_json1_0OperationSummaryList(output.OperationSummaryList, context)
|
|
2661
|
-
: undefined,
|
|
2641
|
+
OperationSummaryList: output.OperationSummaryList != null ? de_OperationSummaryList(output.OperationSummaryList, context) : undefined,
|
|
2662
2642
|
};
|
|
2663
2643
|
};
|
|
2664
|
-
const
|
|
2644
|
+
const de_ListServicesResponse = (output, context) => {
|
|
2665
2645
|
return {
|
|
2666
2646
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2667
|
-
ServiceSummaryList: output.ServiceSummaryList != null
|
|
2668
|
-
? deserializeAws_json1_0ServiceSummaryList(output.ServiceSummaryList, context)
|
|
2669
|
-
: undefined,
|
|
2647
|
+
ServiceSummaryList: output.ServiceSummaryList != null ? de_ServiceSummaryList(output.ServiceSummaryList, context) : undefined,
|
|
2670
2648
|
};
|
|
2671
2649
|
};
|
|
2672
|
-
const
|
|
2650
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2673
2651
|
return {
|
|
2674
|
-
Tags: output.Tags != null ?
|
|
2652
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2675
2653
|
};
|
|
2676
2654
|
};
|
|
2677
|
-
const
|
|
2655
|
+
const de_ListVpcConnectorsResponse = (output, context) => {
|
|
2678
2656
|
return {
|
|
2679
2657
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2680
|
-
VpcConnectors: output.VpcConnectors != null ?
|
|
2658
|
+
VpcConnectors: output.VpcConnectors != null ? de_VpcConnectors(output.VpcConnectors, context) : undefined,
|
|
2681
2659
|
};
|
|
2682
2660
|
};
|
|
2683
|
-
const
|
|
2661
|
+
const de_ListVpcIngressConnectionsResponse = (output, context) => {
|
|
2684
2662
|
return {
|
|
2685
2663
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2686
2664
|
VpcIngressConnectionSummaryList: output.VpcIngressConnectionSummaryList != null
|
|
2687
|
-
?
|
|
2665
|
+
? de_VpcIngressConnectionSummaryList(output.VpcIngressConnectionSummaryList, context)
|
|
2688
2666
|
: undefined,
|
|
2689
2667
|
};
|
|
2690
2668
|
};
|
|
2691
|
-
const
|
|
2669
|
+
const de_NetworkConfiguration = (output, context) => {
|
|
2692
2670
|
return {
|
|
2693
|
-
EgressConfiguration: output.EgressConfiguration != null
|
|
2694
|
-
|
|
2695
|
-
: undefined,
|
|
2696
|
-
IngressConfiguration: output.IngressConfiguration != null
|
|
2697
|
-
? deserializeAws_json1_0IngressConfiguration(output.IngressConfiguration, context)
|
|
2698
|
-
: undefined,
|
|
2671
|
+
EgressConfiguration: output.EgressConfiguration != null ? de_EgressConfiguration(output.EgressConfiguration, context) : undefined,
|
|
2672
|
+
IngressConfiguration: output.IngressConfiguration != null ? de_IngressConfiguration(output.IngressConfiguration, context) : undefined,
|
|
2699
2673
|
};
|
|
2700
2674
|
};
|
|
2701
|
-
const
|
|
2675
|
+
const de_ObservabilityConfiguration = (output, context) => {
|
|
2702
2676
|
return {
|
|
2703
2677
|
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2704
2678
|
DeletedAt: output.DeletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt))) : undefined,
|
|
@@ -2707,30 +2681,28 @@ const deserializeAws_json1_0ObservabilityConfiguration = (output, context) => {
|
|
|
2707
2681
|
ObservabilityConfigurationName: (0, smithy_client_1.expectString)(output.ObservabilityConfigurationName),
|
|
2708
2682
|
ObservabilityConfigurationRevision: (0, smithy_client_1.expectInt32)(output.ObservabilityConfigurationRevision),
|
|
2709
2683
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2710
|
-
TraceConfiguration: output.TraceConfiguration != null
|
|
2711
|
-
? deserializeAws_json1_0TraceConfiguration(output.TraceConfiguration, context)
|
|
2712
|
-
: undefined,
|
|
2684
|
+
TraceConfiguration: output.TraceConfiguration != null ? de_TraceConfiguration(output.TraceConfiguration, context) : undefined,
|
|
2713
2685
|
};
|
|
2714
2686
|
};
|
|
2715
|
-
const
|
|
2687
|
+
const de_ObservabilityConfigurationSummary = (output, context) => {
|
|
2716
2688
|
return {
|
|
2717
2689
|
ObservabilityConfigurationArn: (0, smithy_client_1.expectString)(output.ObservabilityConfigurationArn),
|
|
2718
2690
|
ObservabilityConfigurationName: (0, smithy_client_1.expectString)(output.ObservabilityConfigurationName),
|
|
2719
2691
|
ObservabilityConfigurationRevision: (0, smithy_client_1.expectInt32)(output.ObservabilityConfigurationRevision),
|
|
2720
2692
|
};
|
|
2721
2693
|
};
|
|
2722
|
-
const
|
|
2694
|
+
const de_ObservabilityConfigurationSummaryList = (output, context) => {
|
|
2723
2695
|
const retVal = (output || [])
|
|
2724
2696
|
.filter((e) => e != null)
|
|
2725
2697
|
.map((entry) => {
|
|
2726
2698
|
if (entry === null) {
|
|
2727
2699
|
return null;
|
|
2728
2700
|
}
|
|
2729
|
-
return
|
|
2701
|
+
return de_ObservabilityConfigurationSummary(entry, context);
|
|
2730
2702
|
});
|
|
2731
2703
|
return retVal;
|
|
2732
2704
|
};
|
|
2733
|
-
const
|
|
2705
|
+
const de_OperationSummary = (output, context) => {
|
|
2734
2706
|
return {
|
|
2735
2707
|
EndedAt: output.EndedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndedAt))) : undefined,
|
|
2736
2708
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
@@ -2741,35 +2713,35 @@ const deserializeAws_json1_0OperationSummary = (output, context) => {
|
|
|
2741
2713
|
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt))) : undefined,
|
|
2742
2714
|
};
|
|
2743
2715
|
};
|
|
2744
|
-
const
|
|
2716
|
+
const de_OperationSummaryList = (output, context) => {
|
|
2745
2717
|
const retVal = (output || [])
|
|
2746
2718
|
.filter((e) => e != null)
|
|
2747
2719
|
.map((entry) => {
|
|
2748
2720
|
if (entry === null) {
|
|
2749
2721
|
return null;
|
|
2750
2722
|
}
|
|
2751
|
-
return
|
|
2723
|
+
return de_OperationSummary(entry, context);
|
|
2752
2724
|
});
|
|
2753
2725
|
return retVal;
|
|
2754
2726
|
};
|
|
2755
|
-
const
|
|
2727
|
+
const de_PauseServiceResponse = (output, context) => {
|
|
2756
2728
|
return {
|
|
2757
2729
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
2758
|
-
Service: output.Service != null ?
|
|
2730
|
+
Service: output.Service != null ? de_Service(output.Service, context) : undefined,
|
|
2759
2731
|
};
|
|
2760
2732
|
};
|
|
2761
|
-
const
|
|
2733
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
2762
2734
|
return {
|
|
2763
2735
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2764
2736
|
};
|
|
2765
2737
|
};
|
|
2766
|
-
const
|
|
2738
|
+
const de_ResumeServiceResponse = (output, context) => {
|
|
2767
2739
|
return {
|
|
2768
2740
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
2769
|
-
Service: output.Service != null ?
|
|
2741
|
+
Service: output.Service != null ? de_Service(output.Service, context) : undefined,
|
|
2770
2742
|
};
|
|
2771
2743
|
};
|
|
2772
|
-
const
|
|
2744
|
+
const de_RuntimeEnvironmentSecrets = (output, context) => {
|
|
2773
2745
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2774
2746
|
if (value === null) {
|
|
2775
2747
|
return acc;
|
|
@@ -2778,7 +2750,7 @@ const deserializeAws_json1_0RuntimeEnvironmentSecrets = (output, context) => {
|
|
|
2778
2750
|
return acc;
|
|
2779
2751
|
}, {});
|
|
2780
2752
|
};
|
|
2781
|
-
const
|
|
2753
|
+
const de_RuntimeEnvironmentVariables = (output, context) => {
|
|
2782
2754
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2783
2755
|
if (value === null) {
|
|
2784
2756
|
return acc;
|
|
@@ -2787,51 +2759,47 @@ const deserializeAws_json1_0RuntimeEnvironmentVariables = (output, context) => {
|
|
|
2787
2759
|
return acc;
|
|
2788
2760
|
}, {});
|
|
2789
2761
|
};
|
|
2790
|
-
const
|
|
2762
|
+
const de_Service = (output, context) => {
|
|
2791
2763
|
return {
|
|
2792
2764
|
AutoScalingConfigurationSummary: output.AutoScalingConfigurationSummary != null
|
|
2793
|
-
?
|
|
2765
|
+
? de_AutoScalingConfigurationSummary(output.AutoScalingConfigurationSummary, context)
|
|
2794
2766
|
: undefined,
|
|
2795
2767
|
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2796
2768
|
DeletedAt: output.DeletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt))) : undefined,
|
|
2797
2769
|
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
2798
|
-
?
|
|
2770
|
+
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
2799
2771
|
: undefined,
|
|
2800
2772
|
HealthCheckConfiguration: output.HealthCheckConfiguration != null
|
|
2801
|
-
?
|
|
2773
|
+
? de_HealthCheckConfiguration(output.HealthCheckConfiguration, context)
|
|
2802
2774
|
: undefined,
|
|
2803
2775
|
InstanceConfiguration: output.InstanceConfiguration != null
|
|
2804
|
-
?
|
|
2805
|
-
: undefined,
|
|
2806
|
-
NetworkConfiguration: output.NetworkConfiguration != null
|
|
2807
|
-
? deserializeAws_json1_0NetworkConfiguration(output.NetworkConfiguration, context)
|
|
2776
|
+
? de_InstanceConfiguration(output.InstanceConfiguration, context)
|
|
2808
2777
|
: undefined,
|
|
2778
|
+
NetworkConfiguration: output.NetworkConfiguration != null ? de_NetworkConfiguration(output.NetworkConfiguration, context) : undefined,
|
|
2809
2779
|
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2810
|
-
?
|
|
2780
|
+
? de_ServiceObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2811
2781
|
: undefined,
|
|
2812
2782
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2813
2783
|
ServiceId: (0, smithy_client_1.expectString)(output.ServiceId),
|
|
2814
2784
|
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
2815
2785
|
ServiceUrl: (0, smithy_client_1.expectString)(output.ServiceUrl),
|
|
2816
|
-
SourceConfiguration: output.SourceConfiguration != null
|
|
2817
|
-
? deserializeAws_json1_0SourceConfiguration(output.SourceConfiguration, context)
|
|
2818
|
-
: undefined,
|
|
2786
|
+
SourceConfiguration: output.SourceConfiguration != null ? de_SourceConfiguration(output.SourceConfiguration, context) : undefined,
|
|
2819
2787
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2820
2788
|
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt))) : undefined,
|
|
2821
2789
|
};
|
|
2822
2790
|
};
|
|
2823
|
-
const
|
|
2791
|
+
const de_ServiceObservabilityConfiguration = (output, context) => {
|
|
2824
2792
|
return {
|
|
2825
2793
|
ObservabilityConfigurationArn: (0, smithy_client_1.expectString)(output.ObservabilityConfigurationArn),
|
|
2826
2794
|
ObservabilityEnabled: (0, smithy_client_1.expectBoolean)(output.ObservabilityEnabled),
|
|
2827
2795
|
};
|
|
2828
2796
|
};
|
|
2829
|
-
const
|
|
2797
|
+
const de_ServiceQuotaExceededException = (output, context) => {
|
|
2830
2798
|
return {
|
|
2831
2799
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2832
2800
|
};
|
|
2833
2801
|
};
|
|
2834
|
-
const
|
|
2802
|
+
const de_ServiceSummary = (output, context) => {
|
|
2835
2803
|
return {
|
|
2836
2804
|
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2837
2805
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
@@ -2842,41 +2810,39 @@ const deserializeAws_json1_0ServiceSummary = (output, context) => {
|
|
|
2842
2810
|
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt))) : undefined,
|
|
2843
2811
|
};
|
|
2844
2812
|
};
|
|
2845
|
-
const
|
|
2813
|
+
const de_ServiceSummaryList = (output, context) => {
|
|
2846
2814
|
const retVal = (output || [])
|
|
2847
2815
|
.filter((e) => e != null)
|
|
2848
2816
|
.map((entry) => {
|
|
2849
2817
|
if (entry === null) {
|
|
2850
2818
|
return null;
|
|
2851
2819
|
}
|
|
2852
|
-
return
|
|
2820
|
+
return de_ServiceSummary(entry, context);
|
|
2853
2821
|
});
|
|
2854
2822
|
return retVal;
|
|
2855
2823
|
};
|
|
2856
|
-
const
|
|
2824
|
+
const de_SourceCodeVersion = (output, context) => {
|
|
2857
2825
|
return {
|
|
2858
2826
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2859
2827
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2860
2828
|
};
|
|
2861
2829
|
};
|
|
2862
|
-
const
|
|
2830
|
+
const de_SourceConfiguration = (output, context) => {
|
|
2863
2831
|
return {
|
|
2864
2832
|
AuthenticationConfiguration: output.AuthenticationConfiguration != null
|
|
2865
|
-
?
|
|
2833
|
+
? de_AuthenticationConfiguration(output.AuthenticationConfiguration, context)
|
|
2866
2834
|
: undefined,
|
|
2867
2835
|
AutoDeploymentsEnabled: (0, smithy_client_1.expectBoolean)(output.AutoDeploymentsEnabled),
|
|
2868
|
-
CodeRepository: output.CodeRepository != null ?
|
|
2869
|
-
ImageRepository: output.ImageRepository != null
|
|
2870
|
-
? deserializeAws_json1_0ImageRepository(output.ImageRepository, context)
|
|
2871
|
-
: undefined,
|
|
2836
|
+
CodeRepository: output.CodeRepository != null ? de_CodeRepository(output.CodeRepository, context) : undefined,
|
|
2837
|
+
ImageRepository: output.ImageRepository != null ? de_ImageRepository(output.ImageRepository, context) : undefined,
|
|
2872
2838
|
};
|
|
2873
2839
|
};
|
|
2874
|
-
const
|
|
2840
|
+
const de_StartDeploymentResponse = (output, context) => {
|
|
2875
2841
|
return {
|
|
2876
2842
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
2877
2843
|
};
|
|
2878
2844
|
};
|
|
2879
|
-
const
|
|
2845
|
+
const de_StringList = (output, context) => {
|
|
2880
2846
|
const retVal = (output || [])
|
|
2881
2847
|
.filter((e) => e != null)
|
|
2882
2848
|
.map((entry) => {
|
|
@@ -2887,96 +2853,94 @@ const deserializeAws_json1_0StringList = (output, context) => {
|
|
|
2887
2853
|
});
|
|
2888
2854
|
return retVal;
|
|
2889
2855
|
};
|
|
2890
|
-
const
|
|
2856
|
+
const de_Tag = (output, context) => {
|
|
2891
2857
|
return {
|
|
2892
2858
|
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2893
2859
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2894
2860
|
};
|
|
2895
2861
|
};
|
|
2896
|
-
const
|
|
2862
|
+
const de_TagList = (output, context) => {
|
|
2897
2863
|
const retVal = (output || [])
|
|
2898
2864
|
.filter((e) => e != null)
|
|
2899
2865
|
.map((entry) => {
|
|
2900
2866
|
if (entry === null) {
|
|
2901
2867
|
return null;
|
|
2902
2868
|
}
|
|
2903
|
-
return
|
|
2869
|
+
return de_Tag(entry, context);
|
|
2904
2870
|
});
|
|
2905
2871
|
return retVal;
|
|
2906
2872
|
};
|
|
2907
|
-
const
|
|
2873
|
+
const de_TagResourceResponse = (output, context) => {
|
|
2908
2874
|
return {};
|
|
2909
2875
|
};
|
|
2910
|
-
const
|
|
2876
|
+
const de_TraceConfiguration = (output, context) => {
|
|
2911
2877
|
return {
|
|
2912
2878
|
Vendor: (0, smithy_client_1.expectString)(output.Vendor),
|
|
2913
2879
|
};
|
|
2914
2880
|
};
|
|
2915
|
-
const
|
|
2881
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
2916
2882
|
return {};
|
|
2917
2883
|
};
|
|
2918
|
-
const
|
|
2884
|
+
const de_UpdateServiceResponse = (output, context) => {
|
|
2919
2885
|
return {
|
|
2920
2886
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
2921
|
-
Service: output.Service != null ?
|
|
2887
|
+
Service: output.Service != null ? de_Service(output.Service, context) : undefined,
|
|
2922
2888
|
};
|
|
2923
2889
|
};
|
|
2924
|
-
const
|
|
2890
|
+
const de_UpdateVpcIngressConnectionResponse = (output, context) => {
|
|
2925
2891
|
return {
|
|
2926
|
-
VpcIngressConnection: output.VpcIngressConnection != null
|
|
2927
|
-
? deserializeAws_json1_0VpcIngressConnection(output.VpcIngressConnection, context)
|
|
2928
|
-
: undefined,
|
|
2892
|
+
VpcIngressConnection: output.VpcIngressConnection != null ? de_VpcIngressConnection(output.VpcIngressConnection, context) : undefined,
|
|
2929
2893
|
};
|
|
2930
2894
|
};
|
|
2931
|
-
const
|
|
2895
|
+
const de_VpcConnector = (output, context) => {
|
|
2932
2896
|
return {
|
|
2933
2897
|
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2934
2898
|
DeletedAt: output.DeletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt))) : undefined,
|
|
2935
|
-
SecurityGroups: output.SecurityGroups != null ?
|
|
2899
|
+
SecurityGroups: output.SecurityGroups != null ? de_StringList(output.SecurityGroups, context) : undefined,
|
|
2936
2900
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2937
|
-
Subnets: output.Subnets != null ?
|
|
2901
|
+
Subnets: output.Subnets != null ? de_StringList(output.Subnets, context) : undefined,
|
|
2938
2902
|
VpcConnectorArn: (0, smithy_client_1.expectString)(output.VpcConnectorArn),
|
|
2939
2903
|
VpcConnectorName: (0, smithy_client_1.expectString)(output.VpcConnectorName),
|
|
2940
2904
|
VpcConnectorRevision: (0, smithy_client_1.expectInt32)(output.VpcConnectorRevision),
|
|
2941
2905
|
};
|
|
2942
2906
|
};
|
|
2943
|
-
const
|
|
2907
|
+
const de_VpcConnectors = (output, context) => {
|
|
2944
2908
|
const retVal = (output || [])
|
|
2945
2909
|
.filter((e) => e != null)
|
|
2946
2910
|
.map((entry) => {
|
|
2947
2911
|
if (entry === null) {
|
|
2948
2912
|
return null;
|
|
2949
2913
|
}
|
|
2950
|
-
return
|
|
2914
|
+
return de_VpcConnector(entry, context);
|
|
2951
2915
|
});
|
|
2952
2916
|
return retVal;
|
|
2953
2917
|
};
|
|
2954
|
-
const
|
|
2918
|
+
const de_VpcDNSTarget = (output, context) => {
|
|
2955
2919
|
return {
|
|
2956
2920
|
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
2957
2921
|
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2958
2922
|
VpcIngressConnectionArn: (0, smithy_client_1.expectString)(output.VpcIngressConnectionArn),
|
|
2959
2923
|
};
|
|
2960
2924
|
};
|
|
2961
|
-
const
|
|
2925
|
+
const de_VpcDNSTargetList = (output, context) => {
|
|
2962
2926
|
const retVal = (output || [])
|
|
2963
2927
|
.filter((e) => e != null)
|
|
2964
2928
|
.map((entry) => {
|
|
2965
2929
|
if (entry === null) {
|
|
2966
2930
|
return null;
|
|
2967
2931
|
}
|
|
2968
|
-
return
|
|
2932
|
+
return de_VpcDNSTarget(entry, context);
|
|
2969
2933
|
});
|
|
2970
2934
|
return retVal;
|
|
2971
2935
|
};
|
|
2972
|
-
const
|
|
2936
|
+
const de_VpcIngressConnection = (output, context) => {
|
|
2973
2937
|
return {
|
|
2974
2938
|
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
2975
2939
|
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2976
2940
|
DeletedAt: output.DeletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt))) : undefined,
|
|
2977
2941
|
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
2978
2942
|
IngressVpcConfiguration: output.IngressVpcConfiguration != null
|
|
2979
|
-
?
|
|
2943
|
+
? de_IngressVpcConfiguration(output.IngressVpcConfiguration, context)
|
|
2980
2944
|
: undefined,
|
|
2981
2945
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2982
2946
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
@@ -2984,20 +2948,20 @@ const deserializeAws_json1_0VpcIngressConnection = (output, context) => {
|
|
|
2984
2948
|
VpcIngressConnectionName: (0, smithy_client_1.expectString)(output.VpcIngressConnectionName),
|
|
2985
2949
|
};
|
|
2986
2950
|
};
|
|
2987
|
-
const
|
|
2951
|
+
const de_VpcIngressConnectionSummary = (output, context) => {
|
|
2988
2952
|
return {
|
|
2989
2953
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2990
2954
|
VpcIngressConnectionArn: (0, smithy_client_1.expectString)(output.VpcIngressConnectionArn),
|
|
2991
2955
|
};
|
|
2992
2956
|
};
|
|
2993
|
-
const
|
|
2957
|
+
const de_VpcIngressConnectionSummaryList = (output, context) => {
|
|
2994
2958
|
const retVal = (output || [])
|
|
2995
2959
|
.filter((e) => e != null)
|
|
2996
2960
|
.map((entry) => {
|
|
2997
2961
|
if (entry === null) {
|
|
2998
2962
|
return null;
|
|
2999
2963
|
}
|
|
3000
|
-
return
|
|
2964
|
+
return de_VpcIngressConnectionSummary(entry, context);
|
|
3001
2965
|
});
|
|
3002
2966
|
return retVal;
|
|
3003
2967
|
};
|