@aws-sdk/client-amplify 3.474.0 → 3.477.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/protocols/Aws_restJson1.js +225 -496
- package/dist-es/protocols/Aws_restJson1.js +226 -497
- package/package.json +5 -4
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_GenerateAccessLogsCommand = exports.de_DeleteWebhookCommand = exports.de_DeleteJobCommand = exports.de_DeleteDomainAssociationCommand = exports.de_DeleteBranchCommand = exports.de_DeleteBackendEnvironmentCommand = exports.de_DeleteAppCommand = exports.de_CreateWebhookCommand = exports.de_CreateDomainAssociationCommand = exports.de_CreateDeploymentCommand = exports.de_CreateBranchCommand = exports.de_CreateBackendEnvironmentCommand = exports.de_CreateAppCommand = exports.se_UpdateWebhookCommand = exports.se_UpdateDomainAssociationCommand = exports.se_UpdateBranchCommand = exports.se_UpdateAppCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopJobCommand = exports.se_StartJobCommand = exports.se_StartDeploymentCommand = exports.se_ListWebhooksCommand = exports.se_ListTagsForResourceCommand = exports.se_ListJobsCommand = exports.se_ListDomainAssociationsCommand = exports.se_ListBranchesCommand = exports.se_ListBackendEnvironmentsCommand = exports.se_ListArtifactsCommand = exports.se_ListAppsCommand = exports.se_GetWebhookCommand = exports.se_GetJobCommand = exports.se_GetDomainAssociationCommand = exports.se_GetBranchCommand = exports.se_GetBackendEnvironmentCommand = exports.se_GetArtifactUrlCommand = exports.se_GetAppCommand = exports.se_GenerateAccessLogsCommand = exports.se_DeleteWebhookCommand = exports.se_DeleteJobCommand = exports.se_DeleteDomainAssociationCommand = exports.se_DeleteBranchCommand = exports.se_DeleteBackendEnvironmentCommand = exports.se_DeleteAppCommand = exports.se_CreateWebhookCommand = exports.se_CreateDomainAssociationCommand = exports.se_CreateDeploymentCommand = exports.se_CreateBranchCommand = exports.se_CreateBackendEnvironmentCommand = exports.se_CreateAppCommand = void 0;
|
|
4
4
|
exports.de_UpdateWebhookCommand = exports.de_UpdateDomainAssociationCommand = exports.de_UpdateBranchCommand = exports.de_UpdateAppCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopJobCommand = exports.de_StartJobCommand = exports.de_StartDeploymentCommand = exports.de_ListWebhooksCommand = exports.de_ListTagsForResourceCommand = exports.de_ListJobsCommand = exports.de_ListDomainAssociationsCommand = exports.de_ListBranchesCommand = exports.de_ListBackendEnvironmentsCommand = exports.de_ListArtifactsCommand = exports.de_ListAppsCommand = exports.de_GetWebhookCommand = exports.de_GetJobCommand = exports.de_GetDomainAssociationCommand = exports.de_GetBranchCommand = exports.de_GetBackendEnvironmentCommand = exports.de_GetArtifactUrlCommand = exports.de_GetAppCommand = void 0;
|
|
5
|
-
const
|
|
5
|
+
const core_1 = require("@smithy/core");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const AmplifyServiceException_1 = require("../models/AmplifyServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
9
|
const se_CreateAppCommand = async (input, context) => {
|
|
10
|
-
const
|
|
10
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
11
11
|
const headers = {
|
|
12
12
|
"content-type": "application/json",
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
b.bp("/apps");
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
17
17
|
accessToken: [],
|
|
@@ -34,48 +34,34 @@ const se_CreateAppCommand = async (input, context) => {
|
|
|
34
34
|
repository: [],
|
|
35
35
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
36
36
|
}));
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
hostname,
|
|
40
|
-
port,
|
|
41
|
-
method: "POST",
|
|
42
|
-
headers,
|
|
43
|
-
path: resolvedPath,
|
|
44
|
-
body,
|
|
45
|
-
});
|
|
37
|
+
b.m("POST").h(headers).b(body);
|
|
38
|
+
return b.build();
|
|
46
39
|
};
|
|
47
40
|
exports.se_CreateAppCommand = se_CreateAppCommand;
|
|
48
41
|
const se_CreateBackendEnvironmentCommand = async (input, context) => {
|
|
49
|
-
const
|
|
42
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
50
43
|
const headers = {
|
|
51
44
|
"content-type": "application/json",
|
|
52
45
|
};
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
b.bp("/apps/{appId}/backendenvironments");
|
|
47
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
55
48
|
let body;
|
|
56
49
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
57
50
|
deploymentArtifacts: [],
|
|
58
51
|
environmentName: [],
|
|
59
52
|
stackName: [],
|
|
60
53
|
}));
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
hostname,
|
|
64
|
-
port,
|
|
65
|
-
method: "POST",
|
|
66
|
-
headers,
|
|
67
|
-
path: resolvedPath,
|
|
68
|
-
body,
|
|
69
|
-
});
|
|
54
|
+
b.m("POST").h(headers).b(body);
|
|
55
|
+
return b.build();
|
|
70
56
|
};
|
|
71
57
|
exports.se_CreateBackendEnvironmentCommand = se_CreateBackendEnvironmentCommand;
|
|
72
58
|
const se_CreateBranchCommand = async (input, context) => {
|
|
73
|
-
const
|
|
59
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
74
60
|
const headers = {
|
|
75
61
|
"content-type": "application/json",
|
|
76
62
|
};
|
|
77
|
-
|
|
78
|
-
|
|
63
|
+
b.bp("/apps/{appId}/branches");
|
|
64
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
79
65
|
let body;
|
|
80
66
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
81
67
|
backend: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -97,48 +83,33 @@ const se_CreateBranchCommand = async (input, context) => {
|
|
|
97
83
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
98
84
|
ttl: [],
|
|
99
85
|
}));
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
hostname,
|
|
103
|
-
port,
|
|
104
|
-
method: "POST",
|
|
105
|
-
headers,
|
|
106
|
-
path: resolvedPath,
|
|
107
|
-
body,
|
|
108
|
-
});
|
|
86
|
+
b.m("POST").h(headers).b(body);
|
|
87
|
+
return b.build();
|
|
109
88
|
};
|
|
110
89
|
exports.se_CreateBranchCommand = se_CreateBranchCommand;
|
|
111
90
|
const se_CreateDeploymentCommand = async (input, context) => {
|
|
112
|
-
const
|
|
91
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
113
92
|
const headers = {
|
|
114
93
|
"content-type": "application/json",
|
|
115
94
|
};
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "branchName", () => input.branchName, "{branchName}", false);
|
|
95
|
+
b.bp("/apps/{appId}/branches/{branchName}/deployments");
|
|
96
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
97
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
120
98
|
let body;
|
|
121
99
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
122
100
|
fileMap: (_) => (0, smithy_client_1._json)(_),
|
|
123
101
|
}));
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
hostname,
|
|
127
|
-
port,
|
|
128
|
-
method: "POST",
|
|
129
|
-
headers,
|
|
130
|
-
path: resolvedPath,
|
|
131
|
-
body,
|
|
132
|
-
});
|
|
102
|
+
b.m("POST").h(headers).b(body);
|
|
103
|
+
return b.build();
|
|
133
104
|
};
|
|
134
105
|
exports.se_CreateDeploymentCommand = se_CreateDeploymentCommand;
|
|
135
106
|
const se_CreateDomainAssociationCommand = async (input, context) => {
|
|
136
|
-
const
|
|
107
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
137
108
|
const headers = {
|
|
138
109
|
"content-type": "application/json",
|
|
139
110
|
};
|
|
140
|
-
|
|
141
|
-
|
|
111
|
+
b.bp("/apps/{appId}/domains");
|
|
112
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
142
113
|
let body;
|
|
143
114
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
144
115
|
autoSubDomainCreationPatterns: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -147,507 +118,319 @@ const se_CreateDomainAssociationCommand = async (input, context) => {
|
|
|
147
118
|
enableAutoSubDomain: [],
|
|
148
119
|
subDomainSettings: (_) => (0, smithy_client_1._json)(_),
|
|
149
120
|
}));
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
hostname,
|
|
153
|
-
port,
|
|
154
|
-
method: "POST",
|
|
155
|
-
headers,
|
|
156
|
-
path: resolvedPath,
|
|
157
|
-
body,
|
|
158
|
-
});
|
|
121
|
+
b.m("POST").h(headers).b(body);
|
|
122
|
+
return b.build();
|
|
159
123
|
};
|
|
160
124
|
exports.se_CreateDomainAssociationCommand = se_CreateDomainAssociationCommand;
|
|
161
125
|
const se_CreateWebhookCommand = async (input, context) => {
|
|
162
|
-
const
|
|
126
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
163
127
|
const headers = {
|
|
164
128
|
"content-type": "application/json",
|
|
165
129
|
};
|
|
166
|
-
|
|
167
|
-
|
|
130
|
+
b.bp("/apps/{appId}/webhooks");
|
|
131
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
168
132
|
let body;
|
|
169
133
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
170
134
|
branchName: [],
|
|
171
135
|
description: [],
|
|
172
136
|
}));
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
hostname,
|
|
176
|
-
port,
|
|
177
|
-
method: "POST",
|
|
178
|
-
headers,
|
|
179
|
-
path: resolvedPath,
|
|
180
|
-
body,
|
|
181
|
-
});
|
|
137
|
+
b.m("POST").h(headers).b(body);
|
|
138
|
+
return b.build();
|
|
182
139
|
};
|
|
183
140
|
exports.se_CreateWebhookCommand = se_CreateWebhookCommand;
|
|
184
141
|
const se_DeleteAppCommand = async (input, context) => {
|
|
185
|
-
const
|
|
142
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
186
143
|
const headers = {};
|
|
187
|
-
|
|
188
|
-
|
|
144
|
+
b.bp("/apps/{appId}");
|
|
145
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
189
146
|
let body;
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
hostname,
|
|
193
|
-
port,
|
|
194
|
-
method: "DELETE",
|
|
195
|
-
headers,
|
|
196
|
-
path: resolvedPath,
|
|
197
|
-
body,
|
|
198
|
-
});
|
|
147
|
+
b.m("DELETE").h(headers).b(body);
|
|
148
|
+
return b.build();
|
|
199
149
|
};
|
|
200
150
|
exports.se_DeleteAppCommand = se_DeleteAppCommand;
|
|
201
151
|
const se_DeleteBackendEnvironmentCommand = async (input, context) => {
|
|
202
|
-
const
|
|
152
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
203
153
|
const headers = {};
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "environmentName", () => input.environmentName, "{environmentName}", false);
|
|
154
|
+
b.bp("/apps/{appId}/backendenvironments/{environmentName}");
|
|
155
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
156
|
+
b.p("environmentName", () => input.environmentName, "{environmentName}", false);
|
|
208
157
|
let body;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
hostname,
|
|
212
|
-
port,
|
|
213
|
-
method: "DELETE",
|
|
214
|
-
headers,
|
|
215
|
-
path: resolvedPath,
|
|
216
|
-
body,
|
|
217
|
-
});
|
|
158
|
+
b.m("DELETE").h(headers).b(body);
|
|
159
|
+
return b.build();
|
|
218
160
|
};
|
|
219
161
|
exports.se_DeleteBackendEnvironmentCommand = se_DeleteBackendEnvironmentCommand;
|
|
220
162
|
const se_DeleteBranchCommand = async (input, context) => {
|
|
221
|
-
const
|
|
163
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
222
164
|
const headers = {};
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
165
|
+
b.bp("/apps/{appId}/branches/{branchName}");
|
|
166
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
167
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
226
168
|
let body;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
hostname,
|
|
230
|
-
port,
|
|
231
|
-
method: "DELETE",
|
|
232
|
-
headers,
|
|
233
|
-
path: resolvedPath,
|
|
234
|
-
body,
|
|
235
|
-
});
|
|
169
|
+
b.m("DELETE").h(headers).b(body);
|
|
170
|
+
return b.build();
|
|
236
171
|
};
|
|
237
172
|
exports.se_DeleteBranchCommand = se_DeleteBranchCommand;
|
|
238
173
|
const se_DeleteDomainAssociationCommand = async (input, context) => {
|
|
239
|
-
const
|
|
174
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
240
175
|
const headers = {};
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
176
|
+
b.bp("/apps/{appId}/domains/{domainName}");
|
|
177
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
178
|
+
b.p("domainName", () => input.domainName, "{domainName}", false);
|
|
244
179
|
let body;
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
hostname,
|
|
248
|
-
port,
|
|
249
|
-
method: "DELETE",
|
|
250
|
-
headers,
|
|
251
|
-
path: resolvedPath,
|
|
252
|
-
body,
|
|
253
|
-
});
|
|
180
|
+
b.m("DELETE").h(headers).b(body);
|
|
181
|
+
return b.build();
|
|
254
182
|
};
|
|
255
183
|
exports.se_DeleteDomainAssociationCommand = se_DeleteDomainAssociationCommand;
|
|
256
184
|
const se_DeleteJobCommand = async (input, context) => {
|
|
257
|
-
const
|
|
185
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
258
186
|
const headers = {};
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "jobId", () => input.jobId, "{jobId}", false);
|
|
187
|
+
b.bp("/apps/{appId}/branches/{branchName}/jobs/{jobId}");
|
|
188
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
189
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
190
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
264
191
|
let body;
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
hostname,
|
|
268
|
-
port,
|
|
269
|
-
method: "DELETE",
|
|
270
|
-
headers,
|
|
271
|
-
path: resolvedPath,
|
|
272
|
-
body,
|
|
273
|
-
});
|
|
192
|
+
b.m("DELETE").h(headers).b(body);
|
|
193
|
+
return b.build();
|
|
274
194
|
};
|
|
275
195
|
exports.se_DeleteJobCommand = se_DeleteJobCommand;
|
|
276
196
|
const se_DeleteWebhookCommand = async (input, context) => {
|
|
277
|
-
const
|
|
197
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
278
198
|
const headers = {};
|
|
279
|
-
|
|
280
|
-
|
|
199
|
+
b.bp("/webhooks/{webhookId}");
|
|
200
|
+
b.p("webhookId", () => input.webhookId, "{webhookId}", false);
|
|
281
201
|
let body;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
hostname,
|
|
285
|
-
port,
|
|
286
|
-
method: "DELETE",
|
|
287
|
-
headers,
|
|
288
|
-
path: resolvedPath,
|
|
289
|
-
body,
|
|
290
|
-
});
|
|
202
|
+
b.m("DELETE").h(headers).b(body);
|
|
203
|
+
return b.build();
|
|
291
204
|
};
|
|
292
205
|
exports.se_DeleteWebhookCommand = se_DeleteWebhookCommand;
|
|
293
206
|
const se_GenerateAccessLogsCommand = async (input, context) => {
|
|
294
|
-
const
|
|
207
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
295
208
|
const headers = {
|
|
296
209
|
"content-type": "application/json",
|
|
297
210
|
};
|
|
298
|
-
|
|
299
|
-
|
|
211
|
+
b.bp("/apps/{appId}/accesslogs");
|
|
212
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
300
213
|
let body;
|
|
301
214
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
302
215
|
domainName: [],
|
|
303
216
|
endTime: (_) => Math.round(_.getTime() / 1000),
|
|
304
217
|
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
305
218
|
}));
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
hostname,
|
|
309
|
-
port,
|
|
310
|
-
method: "POST",
|
|
311
|
-
headers,
|
|
312
|
-
path: resolvedPath,
|
|
313
|
-
body,
|
|
314
|
-
});
|
|
219
|
+
b.m("POST").h(headers).b(body);
|
|
220
|
+
return b.build();
|
|
315
221
|
};
|
|
316
222
|
exports.se_GenerateAccessLogsCommand = se_GenerateAccessLogsCommand;
|
|
317
223
|
const se_GetAppCommand = async (input, context) => {
|
|
318
|
-
const
|
|
224
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
319
225
|
const headers = {};
|
|
320
|
-
|
|
321
|
-
|
|
226
|
+
b.bp("/apps/{appId}");
|
|
227
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
322
228
|
let body;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
hostname,
|
|
326
|
-
port,
|
|
327
|
-
method: "GET",
|
|
328
|
-
headers,
|
|
329
|
-
path: resolvedPath,
|
|
330
|
-
body,
|
|
331
|
-
});
|
|
229
|
+
b.m("GET").h(headers).b(body);
|
|
230
|
+
return b.build();
|
|
332
231
|
};
|
|
333
232
|
exports.se_GetAppCommand = se_GetAppCommand;
|
|
334
233
|
const se_GetArtifactUrlCommand = async (input, context) => {
|
|
335
|
-
const
|
|
234
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
336
235
|
const headers = {};
|
|
337
|
-
|
|
338
|
-
|
|
236
|
+
b.bp("/artifacts/{artifactId}");
|
|
237
|
+
b.p("artifactId", () => input.artifactId, "{artifactId}", false);
|
|
339
238
|
let body;
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
hostname,
|
|
343
|
-
port,
|
|
344
|
-
method: "GET",
|
|
345
|
-
headers,
|
|
346
|
-
path: resolvedPath,
|
|
347
|
-
body,
|
|
348
|
-
});
|
|
239
|
+
b.m("GET").h(headers).b(body);
|
|
240
|
+
return b.build();
|
|
349
241
|
};
|
|
350
242
|
exports.se_GetArtifactUrlCommand = se_GetArtifactUrlCommand;
|
|
351
243
|
const se_GetBackendEnvironmentCommand = async (input, context) => {
|
|
352
|
-
const
|
|
244
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
353
245
|
const headers = {};
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "environmentName", () => input.environmentName, "{environmentName}", false);
|
|
246
|
+
b.bp("/apps/{appId}/backendenvironments/{environmentName}");
|
|
247
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
248
|
+
b.p("environmentName", () => input.environmentName, "{environmentName}", false);
|
|
358
249
|
let body;
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
hostname,
|
|
362
|
-
port,
|
|
363
|
-
method: "GET",
|
|
364
|
-
headers,
|
|
365
|
-
path: resolvedPath,
|
|
366
|
-
body,
|
|
367
|
-
});
|
|
250
|
+
b.m("GET").h(headers).b(body);
|
|
251
|
+
return b.build();
|
|
368
252
|
};
|
|
369
253
|
exports.se_GetBackendEnvironmentCommand = se_GetBackendEnvironmentCommand;
|
|
370
254
|
const se_GetBranchCommand = async (input, context) => {
|
|
371
|
-
const
|
|
255
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
372
256
|
const headers = {};
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
257
|
+
b.bp("/apps/{appId}/branches/{branchName}");
|
|
258
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
259
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
376
260
|
let body;
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
hostname,
|
|
380
|
-
port,
|
|
381
|
-
method: "GET",
|
|
382
|
-
headers,
|
|
383
|
-
path: resolvedPath,
|
|
384
|
-
body,
|
|
385
|
-
});
|
|
261
|
+
b.m("GET").h(headers).b(body);
|
|
262
|
+
return b.build();
|
|
386
263
|
};
|
|
387
264
|
exports.se_GetBranchCommand = se_GetBranchCommand;
|
|
388
265
|
const se_GetDomainAssociationCommand = async (input, context) => {
|
|
389
|
-
const
|
|
266
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
390
267
|
const headers = {};
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
268
|
+
b.bp("/apps/{appId}/domains/{domainName}");
|
|
269
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
270
|
+
b.p("domainName", () => input.domainName, "{domainName}", false);
|
|
394
271
|
let body;
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
hostname,
|
|
398
|
-
port,
|
|
399
|
-
method: "GET",
|
|
400
|
-
headers,
|
|
401
|
-
path: resolvedPath,
|
|
402
|
-
body,
|
|
403
|
-
});
|
|
272
|
+
b.m("GET").h(headers).b(body);
|
|
273
|
+
return b.build();
|
|
404
274
|
};
|
|
405
275
|
exports.se_GetDomainAssociationCommand = se_GetDomainAssociationCommand;
|
|
406
276
|
const se_GetJobCommand = async (input, context) => {
|
|
407
|
-
const
|
|
277
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
408
278
|
const headers = {};
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "jobId", () => input.jobId, "{jobId}", false);
|
|
279
|
+
b.bp("/apps/{appId}/branches/{branchName}/jobs/{jobId}");
|
|
280
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
281
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
282
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
414
283
|
let body;
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
hostname,
|
|
418
|
-
port,
|
|
419
|
-
method: "GET",
|
|
420
|
-
headers,
|
|
421
|
-
path: resolvedPath,
|
|
422
|
-
body,
|
|
423
|
-
});
|
|
284
|
+
b.m("GET").h(headers).b(body);
|
|
285
|
+
return b.build();
|
|
424
286
|
};
|
|
425
287
|
exports.se_GetJobCommand = se_GetJobCommand;
|
|
426
288
|
const se_GetWebhookCommand = async (input, context) => {
|
|
427
|
-
const
|
|
289
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
428
290
|
const headers = {};
|
|
429
|
-
|
|
430
|
-
|
|
291
|
+
b.bp("/webhooks/{webhookId}");
|
|
292
|
+
b.p("webhookId", () => input.webhookId, "{webhookId}", false);
|
|
431
293
|
let body;
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
hostname,
|
|
435
|
-
port,
|
|
436
|
-
method: "GET",
|
|
437
|
-
headers,
|
|
438
|
-
path: resolvedPath,
|
|
439
|
-
body,
|
|
440
|
-
});
|
|
294
|
+
b.m("GET").h(headers).b(body);
|
|
295
|
+
return b.build();
|
|
441
296
|
};
|
|
442
297
|
exports.se_GetWebhookCommand = se_GetWebhookCommand;
|
|
443
298
|
const se_ListAppsCommand = async (input, context) => {
|
|
444
|
-
const
|
|
299
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
445
300
|
const headers = {};
|
|
446
|
-
|
|
301
|
+
b.bp("/apps");
|
|
447
302
|
const query = (0, smithy_client_1.map)({
|
|
448
|
-
|
|
449
|
-
|
|
303
|
+
[_nT]: [, input[_nT]],
|
|
304
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
450
305
|
});
|
|
451
306
|
let body;
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
hostname,
|
|
455
|
-
port,
|
|
456
|
-
method: "GET",
|
|
457
|
-
headers,
|
|
458
|
-
path: resolvedPath,
|
|
459
|
-
query,
|
|
460
|
-
body,
|
|
461
|
-
});
|
|
307
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
308
|
+
return b.build();
|
|
462
309
|
};
|
|
463
310
|
exports.se_ListAppsCommand = se_ListAppsCommand;
|
|
464
311
|
const se_ListArtifactsCommand = async (input, context) => {
|
|
465
|
-
const
|
|
312
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
466
313
|
const headers = {};
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "jobId", () => input.jobId, "{jobId}", false);
|
|
314
|
+
b.bp("/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts");
|
|
315
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
316
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
317
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
472
318
|
const query = (0, smithy_client_1.map)({
|
|
473
|
-
|
|
474
|
-
|
|
319
|
+
[_nT]: [, input[_nT]],
|
|
320
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
475
321
|
});
|
|
476
322
|
let body;
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
hostname,
|
|
480
|
-
port,
|
|
481
|
-
method: "GET",
|
|
482
|
-
headers,
|
|
483
|
-
path: resolvedPath,
|
|
484
|
-
query,
|
|
485
|
-
body,
|
|
486
|
-
});
|
|
323
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
324
|
+
return b.build();
|
|
487
325
|
};
|
|
488
326
|
exports.se_ListArtifactsCommand = se_ListArtifactsCommand;
|
|
489
327
|
const se_ListBackendEnvironmentsCommand = async (input, context) => {
|
|
490
|
-
const
|
|
328
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
491
329
|
const headers = {};
|
|
492
|
-
|
|
493
|
-
|
|
330
|
+
b.bp("/apps/{appId}/backendenvironments");
|
|
331
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
494
332
|
const query = (0, smithy_client_1.map)({
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
333
|
+
[_eN]: [, input[_eN]],
|
|
334
|
+
[_nT]: [, input[_nT]],
|
|
335
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
498
336
|
});
|
|
499
337
|
let body;
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
hostname,
|
|
503
|
-
port,
|
|
504
|
-
method: "GET",
|
|
505
|
-
headers,
|
|
506
|
-
path: resolvedPath,
|
|
507
|
-
query,
|
|
508
|
-
body,
|
|
509
|
-
});
|
|
338
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
339
|
+
return b.build();
|
|
510
340
|
};
|
|
511
341
|
exports.se_ListBackendEnvironmentsCommand = se_ListBackendEnvironmentsCommand;
|
|
512
342
|
const se_ListBranchesCommand = async (input, context) => {
|
|
513
|
-
const
|
|
343
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
514
344
|
const headers = {};
|
|
515
|
-
|
|
516
|
-
|
|
345
|
+
b.bp("/apps/{appId}/branches");
|
|
346
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
517
347
|
const query = (0, smithy_client_1.map)({
|
|
518
|
-
|
|
519
|
-
|
|
348
|
+
[_nT]: [, input[_nT]],
|
|
349
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
520
350
|
});
|
|
521
351
|
let body;
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
hostname,
|
|
525
|
-
port,
|
|
526
|
-
method: "GET",
|
|
527
|
-
headers,
|
|
528
|
-
path: resolvedPath,
|
|
529
|
-
query,
|
|
530
|
-
body,
|
|
531
|
-
});
|
|
352
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
353
|
+
return b.build();
|
|
532
354
|
};
|
|
533
355
|
exports.se_ListBranchesCommand = se_ListBranchesCommand;
|
|
534
356
|
const se_ListDomainAssociationsCommand = async (input, context) => {
|
|
535
|
-
const
|
|
357
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
536
358
|
const headers = {};
|
|
537
|
-
|
|
538
|
-
|
|
359
|
+
b.bp("/apps/{appId}/domains");
|
|
360
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
539
361
|
const query = (0, smithy_client_1.map)({
|
|
540
|
-
|
|
541
|
-
|
|
362
|
+
[_nT]: [, input[_nT]],
|
|
363
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
542
364
|
});
|
|
543
365
|
let body;
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
hostname,
|
|
547
|
-
port,
|
|
548
|
-
method: "GET",
|
|
549
|
-
headers,
|
|
550
|
-
path: resolvedPath,
|
|
551
|
-
query,
|
|
552
|
-
body,
|
|
553
|
-
});
|
|
366
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
367
|
+
return b.build();
|
|
554
368
|
};
|
|
555
369
|
exports.se_ListDomainAssociationsCommand = se_ListDomainAssociationsCommand;
|
|
556
370
|
const se_ListJobsCommand = async (input, context) => {
|
|
557
|
-
const
|
|
371
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
558
372
|
const headers = {};
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
373
|
+
b.bp("/apps/{appId}/branches/{branchName}/jobs");
|
|
374
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
375
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
562
376
|
const query = (0, smithy_client_1.map)({
|
|
563
|
-
|
|
564
|
-
|
|
377
|
+
[_nT]: [, input[_nT]],
|
|
378
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
565
379
|
});
|
|
566
380
|
let body;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
hostname,
|
|
570
|
-
port,
|
|
571
|
-
method: "GET",
|
|
572
|
-
headers,
|
|
573
|
-
path: resolvedPath,
|
|
574
|
-
query,
|
|
575
|
-
body,
|
|
576
|
-
});
|
|
381
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
382
|
+
return b.build();
|
|
577
383
|
};
|
|
578
384
|
exports.se_ListJobsCommand = se_ListJobsCommand;
|
|
579
385
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
580
|
-
const
|
|
386
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
581
387
|
const headers = {};
|
|
582
|
-
|
|
583
|
-
|
|
388
|
+
b.bp("/tags/{resourceArn}");
|
|
389
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
584
390
|
let body;
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
hostname,
|
|
588
|
-
port,
|
|
589
|
-
method: "GET",
|
|
590
|
-
headers,
|
|
591
|
-
path: resolvedPath,
|
|
592
|
-
body,
|
|
593
|
-
});
|
|
391
|
+
b.m("GET").h(headers).b(body);
|
|
392
|
+
return b.build();
|
|
594
393
|
};
|
|
595
394
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
596
395
|
const se_ListWebhooksCommand = async (input, context) => {
|
|
597
|
-
const
|
|
396
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
598
397
|
const headers = {};
|
|
599
|
-
|
|
600
|
-
|
|
398
|
+
b.bp("/apps/{appId}/webhooks");
|
|
399
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
601
400
|
const query = (0, smithy_client_1.map)({
|
|
602
|
-
|
|
603
|
-
|
|
401
|
+
[_nT]: [, input[_nT]],
|
|
402
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
604
403
|
});
|
|
605
404
|
let body;
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
hostname,
|
|
609
|
-
port,
|
|
610
|
-
method: "GET",
|
|
611
|
-
headers,
|
|
612
|
-
path: resolvedPath,
|
|
613
|
-
query,
|
|
614
|
-
body,
|
|
615
|
-
});
|
|
405
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
406
|
+
return b.build();
|
|
616
407
|
};
|
|
617
408
|
exports.se_ListWebhooksCommand = se_ListWebhooksCommand;
|
|
618
409
|
const se_StartDeploymentCommand = async (input, context) => {
|
|
619
|
-
const
|
|
410
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
620
411
|
const headers = {
|
|
621
412
|
"content-type": "application/json",
|
|
622
413
|
};
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "branchName", () => input.branchName, "{branchName}", false);
|
|
414
|
+
b.bp("/apps/{appId}/branches/{branchName}/deployments/start");
|
|
415
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
416
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
627
417
|
let body;
|
|
628
418
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
629
419
|
jobId: [],
|
|
630
420
|
sourceUrl: [],
|
|
631
421
|
}));
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
hostname,
|
|
635
|
-
port,
|
|
636
|
-
method: "POST",
|
|
637
|
-
headers,
|
|
638
|
-
path: resolvedPath,
|
|
639
|
-
body,
|
|
640
|
-
});
|
|
422
|
+
b.m("POST").h(headers).b(body);
|
|
423
|
+
return b.build();
|
|
641
424
|
};
|
|
642
425
|
exports.se_StartDeploymentCommand = se_StartDeploymentCommand;
|
|
643
426
|
const se_StartJobCommand = async (input, context) => {
|
|
644
|
-
const
|
|
427
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
645
428
|
const headers = {
|
|
646
429
|
"content-type": "application/json",
|
|
647
430
|
};
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
431
|
+
b.bp("/apps/{appId}/branches/{branchName}/jobs");
|
|
432
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
433
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
651
434
|
let body;
|
|
652
435
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
653
436
|
commitId: [],
|
|
@@ -657,90 +440,60 @@ const se_StartJobCommand = async (input, context) => {
|
|
|
657
440
|
jobReason: [],
|
|
658
441
|
jobType: [],
|
|
659
442
|
}));
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
hostname,
|
|
663
|
-
port,
|
|
664
|
-
method: "POST",
|
|
665
|
-
headers,
|
|
666
|
-
path: resolvedPath,
|
|
667
|
-
body,
|
|
668
|
-
});
|
|
443
|
+
b.m("POST").h(headers).b(body);
|
|
444
|
+
return b.build();
|
|
669
445
|
};
|
|
670
446
|
exports.se_StartJobCommand = se_StartJobCommand;
|
|
671
447
|
const se_StopJobCommand = async (input, context) => {
|
|
672
|
-
const
|
|
448
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
673
449
|
const headers = {};
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "jobId", () => input.jobId, "{jobId}", false);
|
|
450
|
+
b.bp("/apps/{appId}/branches/{branchName}/jobs/{jobId}/stop");
|
|
451
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
452
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
453
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
679
454
|
let body;
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
hostname,
|
|
683
|
-
port,
|
|
684
|
-
method: "DELETE",
|
|
685
|
-
headers,
|
|
686
|
-
path: resolvedPath,
|
|
687
|
-
body,
|
|
688
|
-
});
|
|
455
|
+
b.m("DELETE").h(headers).b(body);
|
|
456
|
+
return b.build();
|
|
689
457
|
};
|
|
690
458
|
exports.se_StopJobCommand = se_StopJobCommand;
|
|
691
459
|
const se_TagResourceCommand = async (input, context) => {
|
|
692
|
-
const
|
|
460
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
693
461
|
const headers = {
|
|
694
462
|
"content-type": "application/json",
|
|
695
463
|
};
|
|
696
|
-
|
|
697
|
-
|
|
464
|
+
b.bp("/tags/{resourceArn}");
|
|
465
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
698
466
|
let body;
|
|
699
467
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
700
468
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
701
469
|
}));
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
hostname,
|
|
705
|
-
port,
|
|
706
|
-
method: "POST",
|
|
707
|
-
headers,
|
|
708
|
-
path: resolvedPath,
|
|
709
|
-
body,
|
|
710
|
-
});
|
|
470
|
+
b.m("POST").h(headers).b(body);
|
|
471
|
+
return b.build();
|
|
711
472
|
};
|
|
712
473
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
713
474
|
const se_UntagResourceCommand = async (input, context) => {
|
|
714
|
-
const
|
|
475
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
715
476
|
const headers = {};
|
|
716
|
-
|
|
717
|
-
|
|
477
|
+
b.bp("/tags/{resourceArn}");
|
|
478
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
718
479
|
const query = (0, smithy_client_1.map)({
|
|
719
|
-
|
|
480
|
+
[_tK]: [
|
|
720
481
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
721
|
-
() => (input
|
|
482
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
722
483
|
],
|
|
723
484
|
});
|
|
724
485
|
let body;
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
hostname,
|
|
728
|
-
port,
|
|
729
|
-
method: "DELETE",
|
|
730
|
-
headers,
|
|
731
|
-
path: resolvedPath,
|
|
732
|
-
query,
|
|
733
|
-
body,
|
|
734
|
-
});
|
|
486
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
487
|
+
return b.build();
|
|
735
488
|
};
|
|
736
489
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
737
490
|
const se_UpdateAppCommand = async (input, context) => {
|
|
738
|
-
const
|
|
491
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
739
492
|
const headers = {
|
|
740
493
|
"content-type": "application/json",
|
|
741
494
|
};
|
|
742
|
-
|
|
743
|
-
|
|
495
|
+
b.bp("/apps/{appId}");
|
|
496
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
744
497
|
let body;
|
|
745
498
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
746
499
|
accessToken: [],
|
|
@@ -762,25 +515,18 @@ const se_UpdateAppCommand = async (input, context) => {
|
|
|
762
515
|
platform: [],
|
|
763
516
|
repository: [],
|
|
764
517
|
}));
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
hostname,
|
|
768
|
-
port,
|
|
769
|
-
method: "POST",
|
|
770
|
-
headers,
|
|
771
|
-
path: resolvedPath,
|
|
772
|
-
body,
|
|
773
|
-
});
|
|
518
|
+
b.m("POST").h(headers).b(body);
|
|
519
|
+
return b.build();
|
|
774
520
|
};
|
|
775
521
|
exports.se_UpdateAppCommand = se_UpdateAppCommand;
|
|
776
522
|
const se_UpdateBranchCommand = async (input, context) => {
|
|
777
|
-
const
|
|
523
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
778
524
|
const headers = {
|
|
779
525
|
"content-type": "application/json",
|
|
780
526
|
};
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
527
|
+
b.bp("/apps/{appId}/branches/{branchName}");
|
|
528
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
529
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
784
530
|
let body;
|
|
785
531
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
786
532
|
backend: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -800,25 +546,18 @@ const se_UpdateBranchCommand = async (input, context) => {
|
|
|
800
546
|
stage: [],
|
|
801
547
|
ttl: [],
|
|
802
548
|
}));
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
hostname,
|
|
806
|
-
port,
|
|
807
|
-
method: "POST",
|
|
808
|
-
headers,
|
|
809
|
-
path: resolvedPath,
|
|
810
|
-
body,
|
|
811
|
-
});
|
|
549
|
+
b.m("POST").h(headers).b(body);
|
|
550
|
+
return b.build();
|
|
812
551
|
};
|
|
813
552
|
exports.se_UpdateBranchCommand = se_UpdateBranchCommand;
|
|
814
553
|
const se_UpdateDomainAssociationCommand = async (input, context) => {
|
|
815
|
-
const
|
|
554
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
816
555
|
const headers = {
|
|
817
556
|
"content-type": "application/json",
|
|
818
557
|
};
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
558
|
+
b.bp("/apps/{appId}/domains/{domainName}");
|
|
559
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
560
|
+
b.p("domainName", () => input.domainName, "{domainName}", false);
|
|
822
561
|
let body;
|
|
823
562
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
824
563
|
autoSubDomainCreationPatterns: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -826,38 +565,24 @@ const se_UpdateDomainAssociationCommand = async (input, context) => {
|
|
|
826
565
|
enableAutoSubDomain: [],
|
|
827
566
|
subDomainSettings: (_) => (0, smithy_client_1._json)(_),
|
|
828
567
|
}));
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
hostname,
|
|
832
|
-
port,
|
|
833
|
-
method: "POST",
|
|
834
|
-
headers,
|
|
835
|
-
path: resolvedPath,
|
|
836
|
-
body,
|
|
837
|
-
});
|
|
568
|
+
b.m("POST").h(headers).b(body);
|
|
569
|
+
return b.build();
|
|
838
570
|
};
|
|
839
571
|
exports.se_UpdateDomainAssociationCommand = se_UpdateDomainAssociationCommand;
|
|
840
572
|
const se_UpdateWebhookCommand = async (input, context) => {
|
|
841
|
-
const
|
|
573
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
842
574
|
const headers = {
|
|
843
575
|
"content-type": "application/json",
|
|
844
576
|
};
|
|
845
|
-
|
|
846
|
-
|
|
577
|
+
b.bp("/webhooks/{webhookId}");
|
|
578
|
+
b.p("webhookId", () => input.webhookId, "{webhookId}", false);
|
|
847
579
|
let body;
|
|
848
580
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
849
581
|
branchName: [],
|
|
850
582
|
description: [],
|
|
851
583
|
}));
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
hostname,
|
|
855
|
-
port,
|
|
856
|
-
method: "POST",
|
|
857
|
-
headers,
|
|
858
|
-
path: resolvedPath,
|
|
859
|
-
body,
|
|
860
|
-
});
|
|
584
|
+
b.m("POST").h(headers).b(body);
|
|
585
|
+
return b.build();
|
|
861
586
|
};
|
|
862
587
|
exports.se_UpdateWebhookCommand = se_UpdateWebhookCommand;
|
|
863
588
|
const de_CreateAppCommand = async (output, context) => {
|
|
@@ -2777,6 +2502,10 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
2777
2502
|
value !== "" &&
|
|
2778
2503
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
2779
2504
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
2505
|
+
const _eN = "environmentName";
|
|
2506
|
+
const _mR = "maxResults";
|
|
2507
|
+
const _nT = "nextToken";
|
|
2508
|
+
const _tK = "tagKeys";
|
|
2780
2509
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2781
2510
|
if (encoded.length) {
|
|
2782
2511
|
return JSON.parse(encoded);
|