@aws-sdk/client-appflow 3.476.0 → 3.478.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/pagination/DescribeConnectorProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeConnectorsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeFlowExecutionRecordsPaginator.js +2 -24
- package/dist-cjs/pagination/ListConnectorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFlowsPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +107 -282
- package/dist-es/pagination/DescribeConnectorProfilesPaginator.js +2 -23
- package/dist-es/pagination/DescribeConnectorsPaginator.js +2 -23
- package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js +2 -23
- package/dist-es/pagination/ListConnectorsPaginator.js +2 -23
- package/dist-es/pagination/ListFlowsPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +108 -283
- package/dist-types/pagination/DescribeConnectorProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeConnectorsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeFlowExecutionRecordsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFlowsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeConnectorProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeConnectorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeFlowExecutionRecordsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFlowsPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,35 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp,
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AppflowServiceException as __BaseException } from "../models/AppflowServiceException";
|
|
5
5
|
import { AccessDeniedException, ConflictException, ConnectorAuthenticationException, ConnectorServerException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UnsupportedOperationException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export const se_CancelFlowExecutionsCommand = async (input, context) => {
|
|
7
|
-
const
|
|
7
|
+
const b = rb(input, context);
|
|
8
8
|
const headers = {
|
|
9
9
|
"content-type": "application/json",
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
b.bp("/cancel-flow-executions");
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify(take(input, {
|
|
14
14
|
executionIds: (_) => _json(_),
|
|
15
15
|
flowName: [],
|
|
16
16
|
}));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
hostname,
|
|
20
|
-
port,
|
|
21
|
-
method: "POST",
|
|
22
|
-
headers,
|
|
23
|
-
path: resolvedPath,
|
|
24
|
-
body,
|
|
25
|
-
});
|
|
17
|
+
b.m("POST").h(headers).b(body);
|
|
18
|
+
return b.build();
|
|
26
19
|
};
|
|
27
20
|
export const se_CreateConnectorProfileCommand = async (input, context) => {
|
|
28
|
-
const
|
|
21
|
+
const b = rb(input, context);
|
|
29
22
|
const headers = {
|
|
30
23
|
"content-type": "application/json",
|
|
31
24
|
};
|
|
32
|
-
|
|
25
|
+
b.bp("/create-connector-profile");
|
|
33
26
|
let body;
|
|
34
27
|
body = JSON.stringify(take(input, {
|
|
35
28
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -40,22 +33,15 @@ export const se_CreateConnectorProfileCommand = async (input, context) => {
|
|
|
40
33
|
connectorType: [],
|
|
41
34
|
kmsArn: [],
|
|
42
35
|
}));
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
hostname,
|
|
46
|
-
port,
|
|
47
|
-
method: "POST",
|
|
48
|
-
headers,
|
|
49
|
-
path: resolvedPath,
|
|
50
|
-
body,
|
|
51
|
-
});
|
|
36
|
+
b.m("POST").h(headers).b(body);
|
|
37
|
+
return b.build();
|
|
52
38
|
};
|
|
53
39
|
export const se_CreateFlowCommand = async (input, context) => {
|
|
54
|
-
const
|
|
40
|
+
const b = rb(input, context);
|
|
55
41
|
const headers = {
|
|
56
42
|
"content-type": "application/json",
|
|
57
43
|
};
|
|
58
|
-
|
|
44
|
+
b.bp("/create-flow");
|
|
59
45
|
let body;
|
|
60
46
|
body = JSON.stringify(take(input, {
|
|
61
47
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -69,85 +55,57 @@ export const se_CreateFlowCommand = async (input, context) => {
|
|
|
69
55
|
tasks: (_) => _json(_),
|
|
70
56
|
triggerConfig: (_) => se_TriggerConfig(_, context),
|
|
71
57
|
}));
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
hostname,
|
|
75
|
-
port,
|
|
76
|
-
method: "POST",
|
|
77
|
-
headers,
|
|
78
|
-
path: resolvedPath,
|
|
79
|
-
body,
|
|
80
|
-
});
|
|
58
|
+
b.m("POST").h(headers).b(body);
|
|
59
|
+
return b.build();
|
|
81
60
|
};
|
|
82
61
|
export const se_DeleteConnectorProfileCommand = async (input, context) => {
|
|
83
|
-
const
|
|
62
|
+
const b = rb(input, context);
|
|
84
63
|
const headers = {
|
|
85
64
|
"content-type": "application/json",
|
|
86
65
|
};
|
|
87
|
-
|
|
66
|
+
b.bp("/delete-connector-profile");
|
|
88
67
|
let body;
|
|
89
68
|
body = JSON.stringify(take(input, {
|
|
90
69
|
connectorProfileName: [],
|
|
91
70
|
forceDelete: [],
|
|
92
71
|
}));
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
hostname,
|
|
96
|
-
port,
|
|
97
|
-
method: "POST",
|
|
98
|
-
headers,
|
|
99
|
-
path: resolvedPath,
|
|
100
|
-
body,
|
|
101
|
-
});
|
|
72
|
+
b.m("POST").h(headers).b(body);
|
|
73
|
+
return b.build();
|
|
102
74
|
};
|
|
103
75
|
export const se_DeleteFlowCommand = async (input, context) => {
|
|
104
|
-
const
|
|
76
|
+
const b = rb(input, context);
|
|
105
77
|
const headers = {
|
|
106
78
|
"content-type": "application/json",
|
|
107
79
|
};
|
|
108
|
-
|
|
80
|
+
b.bp("/delete-flow");
|
|
109
81
|
let body;
|
|
110
82
|
body = JSON.stringify(take(input, {
|
|
111
83
|
flowName: [],
|
|
112
84
|
forceDelete: [],
|
|
113
85
|
}));
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
hostname,
|
|
117
|
-
port,
|
|
118
|
-
method: "POST",
|
|
119
|
-
headers,
|
|
120
|
-
path: resolvedPath,
|
|
121
|
-
body,
|
|
122
|
-
});
|
|
86
|
+
b.m("POST").h(headers).b(body);
|
|
87
|
+
return b.build();
|
|
123
88
|
};
|
|
124
89
|
export const se_DescribeConnectorCommand = async (input, context) => {
|
|
125
|
-
const
|
|
90
|
+
const b = rb(input, context);
|
|
126
91
|
const headers = {
|
|
127
92
|
"content-type": "application/json",
|
|
128
93
|
};
|
|
129
|
-
|
|
94
|
+
b.bp("/describe-connector");
|
|
130
95
|
let body;
|
|
131
96
|
body = JSON.stringify(take(input, {
|
|
132
97
|
connectorLabel: [],
|
|
133
98
|
connectorType: [],
|
|
134
99
|
}));
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
hostname,
|
|
138
|
-
port,
|
|
139
|
-
method: "POST",
|
|
140
|
-
headers,
|
|
141
|
-
path: resolvedPath,
|
|
142
|
-
body,
|
|
143
|
-
});
|
|
100
|
+
b.m("POST").h(headers).b(body);
|
|
101
|
+
return b.build();
|
|
144
102
|
};
|
|
145
103
|
export const se_DescribeConnectorEntityCommand = async (input, context) => {
|
|
146
|
-
const
|
|
104
|
+
const b = rb(input, context);
|
|
147
105
|
const headers = {
|
|
148
106
|
"content-type": "application/json",
|
|
149
107
|
};
|
|
150
|
-
|
|
108
|
+
b.bp("/describe-connector-entity");
|
|
151
109
|
let body;
|
|
152
110
|
body = JSON.stringify(take(input, {
|
|
153
111
|
apiVersion: [],
|
|
@@ -155,22 +113,15 @@ export const se_DescribeConnectorEntityCommand = async (input, context) => {
|
|
|
155
113
|
connectorProfileName: [],
|
|
156
114
|
connectorType: [],
|
|
157
115
|
}));
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
hostname,
|
|
161
|
-
port,
|
|
162
|
-
method: "POST",
|
|
163
|
-
headers,
|
|
164
|
-
path: resolvedPath,
|
|
165
|
-
body,
|
|
166
|
-
});
|
|
116
|
+
b.m("POST").h(headers).b(body);
|
|
117
|
+
return b.build();
|
|
167
118
|
};
|
|
168
119
|
export const se_DescribeConnectorProfilesCommand = async (input, context) => {
|
|
169
|
-
const
|
|
120
|
+
const b = rb(input, context);
|
|
170
121
|
const headers = {
|
|
171
122
|
"content-type": "application/json",
|
|
172
123
|
};
|
|
173
|
-
|
|
124
|
+
b.bp("/describe-connector-profiles");
|
|
174
125
|
let body;
|
|
175
126
|
body = JSON.stringify(take(input, {
|
|
176
127
|
connectorLabel: [],
|
|
@@ -179,86 +130,58 @@ export const se_DescribeConnectorProfilesCommand = async (input, context) => {
|
|
|
179
130
|
maxResults: [],
|
|
180
131
|
nextToken: [],
|
|
181
132
|
}));
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
hostname,
|
|
185
|
-
port,
|
|
186
|
-
method: "POST",
|
|
187
|
-
headers,
|
|
188
|
-
path: resolvedPath,
|
|
189
|
-
body,
|
|
190
|
-
});
|
|
133
|
+
b.m("POST").h(headers).b(body);
|
|
134
|
+
return b.build();
|
|
191
135
|
};
|
|
192
136
|
export const se_DescribeConnectorsCommand = async (input, context) => {
|
|
193
|
-
const
|
|
137
|
+
const b = rb(input, context);
|
|
194
138
|
const headers = {
|
|
195
139
|
"content-type": "application/json",
|
|
196
140
|
};
|
|
197
|
-
|
|
141
|
+
b.bp("/describe-connectors");
|
|
198
142
|
let body;
|
|
199
143
|
body = JSON.stringify(take(input, {
|
|
200
144
|
connectorTypes: (_) => _json(_),
|
|
201
145
|
maxResults: [],
|
|
202
146
|
nextToken: [],
|
|
203
147
|
}));
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
hostname,
|
|
207
|
-
port,
|
|
208
|
-
method: "POST",
|
|
209
|
-
headers,
|
|
210
|
-
path: resolvedPath,
|
|
211
|
-
body,
|
|
212
|
-
});
|
|
148
|
+
b.m("POST").h(headers).b(body);
|
|
149
|
+
return b.build();
|
|
213
150
|
};
|
|
214
151
|
export const se_DescribeFlowCommand = async (input, context) => {
|
|
215
|
-
const
|
|
152
|
+
const b = rb(input, context);
|
|
216
153
|
const headers = {
|
|
217
154
|
"content-type": "application/json",
|
|
218
155
|
};
|
|
219
|
-
|
|
156
|
+
b.bp("/describe-flow");
|
|
220
157
|
let body;
|
|
221
158
|
body = JSON.stringify(take(input, {
|
|
222
159
|
flowName: [],
|
|
223
160
|
}));
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
hostname,
|
|
227
|
-
port,
|
|
228
|
-
method: "POST",
|
|
229
|
-
headers,
|
|
230
|
-
path: resolvedPath,
|
|
231
|
-
body,
|
|
232
|
-
});
|
|
161
|
+
b.m("POST").h(headers).b(body);
|
|
162
|
+
return b.build();
|
|
233
163
|
};
|
|
234
164
|
export const se_DescribeFlowExecutionRecordsCommand = async (input, context) => {
|
|
235
|
-
const
|
|
165
|
+
const b = rb(input, context);
|
|
236
166
|
const headers = {
|
|
237
167
|
"content-type": "application/json",
|
|
238
168
|
};
|
|
239
|
-
|
|
169
|
+
b.bp("/describe-flow-execution-records");
|
|
240
170
|
let body;
|
|
241
171
|
body = JSON.stringify(take(input, {
|
|
242
172
|
flowName: [],
|
|
243
173
|
maxResults: [],
|
|
244
174
|
nextToken: [],
|
|
245
175
|
}));
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
hostname,
|
|
249
|
-
port,
|
|
250
|
-
method: "POST",
|
|
251
|
-
headers,
|
|
252
|
-
path: resolvedPath,
|
|
253
|
-
body,
|
|
254
|
-
});
|
|
176
|
+
b.m("POST").h(headers).b(body);
|
|
177
|
+
return b.build();
|
|
255
178
|
};
|
|
256
179
|
export const se_ListConnectorEntitiesCommand = async (input, context) => {
|
|
257
|
-
const
|
|
180
|
+
const b = rb(input, context);
|
|
258
181
|
const headers = {
|
|
259
182
|
"content-type": "application/json",
|
|
260
183
|
};
|
|
261
|
-
|
|
184
|
+
b.bp("/list-connector-entities");
|
|
262
185
|
let body;
|
|
263
186
|
body = JSON.stringify(take(input, {
|
|
264
187
|
apiVersion: [],
|
|
@@ -268,80 +191,52 @@ export const se_ListConnectorEntitiesCommand = async (input, context) => {
|
|
|
268
191
|
maxResults: [],
|
|
269
192
|
nextToken: [],
|
|
270
193
|
}));
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
hostname,
|
|
274
|
-
port,
|
|
275
|
-
method: "POST",
|
|
276
|
-
headers,
|
|
277
|
-
path: resolvedPath,
|
|
278
|
-
body,
|
|
279
|
-
});
|
|
194
|
+
b.m("POST").h(headers).b(body);
|
|
195
|
+
return b.build();
|
|
280
196
|
};
|
|
281
197
|
export const se_ListConnectorsCommand = async (input, context) => {
|
|
282
|
-
const
|
|
198
|
+
const b = rb(input, context);
|
|
283
199
|
const headers = {
|
|
284
200
|
"content-type": "application/json",
|
|
285
201
|
};
|
|
286
|
-
|
|
202
|
+
b.bp("/list-connectors");
|
|
287
203
|
let body;
|
|
288
204
|
body = JSON.stringify(take(input, {
|
|
289
205
|
maxResults: [],
|
|
290
206
|
nextToken: [],
|
|
291
207
|
}));
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
hostname,
|
|
295
|
-
port,
|
|
296
|
-
method: "POST",
|
|
297
|
-
headers,
|
|
298
|
-
path: resolvedPath,
|
|
299
|
-
body,
|
|
300
|
-
});
|
|
208
|
+
b.m("POST").h(headers).b(body);
|
|
209
|
+
return b.build();
|
|
301
210
|
};
|
|
302
211
|
export const se_ListFlowsCommand = async (input, context) => {
|
|
303
|
-
const
|
|
212
|
+
const b = rb(input, context);
|
|
304
213
|
const headers = {
|
|
305
214
|
"content-type": "application/json",
|
|
306
215
|
};
|
|
307
|
-
|
|
216
|
+
b.bp("/list-flows");
|
|
308
217
|
let body;
|
|
309
218
|
body = JSON.stringify(take(input, {
|
|
310
219
|
maxResults: [],
|
|
311
220
|
nextToken: [],
|
|
312
221
|
}));
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
hostname,
|
|
316
|
-
port,
|
|
317
|
-
method: "POST",
|
|
318
|
-
headers,
|
|
319
|
-
path: resolvedPath,
|
|
320
|
-
body,
|
|
321
|
-
});
|
|
222
|
+
b.m("POST").h(headers).b(body);
|
|
223
|
+
return b.build();
|
|
322
224
|
};
|
|
323
225
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
324
|
-
const
|
|
226
|
+
const b = rb(input, context);
|
|
325
227
|
const headers = {};
|
|
326
|
-
|
|
327
|
-
|
|
228
|
+
b.bp("/tags/{resourceArn}");
|
|
229
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
328
230
|
let body;
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
hostname,
|
|
332
|
-
port,
|
|
333
|
-
method: "GET",
|
|
334
|
-
headers,
|
|
335
|
-
path: resolvedPath,
|
|
336
|
-
body,
|
|
337
|
-
});
|
|
231
|
+
b.m("GET").h(headers).b(body);
|
|
232
|
+
return b.build();
|
|
338
233
|
};
|
|
339
234
|
export const se_RegisterConnectorCommand = async (input, context) => {
|
|
340
|
-
const
|
|
235
|
+
const b = rb(input, context);
|
|
341
236
|
const headers = {
|
|
342
237
|
"content-type": "application/json",
|
|
343
238
|
};
|
|
344
|
-
|
|
239
|
+
b.bp("/register-connector");
|
|
345
240
|
let body;
|
|
346
241
|
body = JSON.stringify(take(input, {
|
|
347
242
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -350,22 +245,15 @@ export const se_RegisterConnectorCommand = async (input, context) => {
|
|
|
350
245
|
connectorProvisioningType: [],
|
|
351
246
|
description: [],
|
|
352
247
|
}));
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
hostname,
|
|
356
|
-
port,
|
|
357
|
-
method: "POST",
|
|
358
|
-
headers,
|
|
359
|
-
path: resolvedPath,
|
|
360
|
-
body,
|
|
361
|
-
});
|
|
248
|
+
b.m("POST").h(headers).b(body);
|
|
249
|
+
return b.build();
|
|
362
250
|
};
|
|
363
251
|
export const se_ResetConnectorMetadataCacheCommand = async (input, context) => {
|
|
364
|
-
const
|
|
252
|
+
const b = rb(input, context);
|
|
365
253
|
const headers = {
|
|
366
254
|
"content-type": "application/json",
|
|
367
255
|
};
|
|
368
|
-
|
|
256
|
+
b.bp("/reset-connector-metadata-cache");
|
|
369
257
|
let body;
|
|
370
258
|
body = JSON.stringify(take(input, {
|
|
371
259
|
apiVersion: [],
|
|
@@ -374,128 +262,85 @@ export const se_ResetConnectorMetadataCacheCommand = async (input, context) => {
|
|
|
374
262
|
connectorType: [],
|
|
375
263
|
entitiesPath: [],
|
|
376
264
|
}));
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
hostname,
|
|
380
|
-
port,
|
|
381
|
-
method: "POST",
|
|
382
|
-
headers,
|
|
383
|
-
path: resolvedPath,
|
|
384
|
-
body,
|
|
385
|
-
});
|
|
265
|
+
b.m("POST").h(headers).b(body);
|
|
266
|
+
return b.build();
|
|
386
267
|
};
|
|
387
268
|
export const se_StartFlowCommand = async (input, context) => {
|
|
388
|
-
const
|
|
269
|
+
const b = rb(input, context);
|
|
389
270
|
const headers = {
|
|
390
271
|
"content-type": "application/json",
|
|
391
272
|
};
|
|
392
|
-
|
|
273
|
+
b.bp("/start-flow");
|
|
393
274
|
let body;
|
|
394
275
|
body = JSON.stringify(take(input, {
|
|
395
276
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
396
277
|
flowName: [],
|
|
397
278
|
}));
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
hostname,
|
|
401
|
-
port,
|
|
402
|
-
method: "POST",
|
|
403
|
-
headers,
|
|
404
|
-
path: resolvedPath,
|
|
405
|
-
body,
|
|
406
|
-
});
|
|
279
|
+
b.m("POST").h(headers).b(body);
|
|
280
|
+
return b.build();
|
|
407
281
|
};
|
|
408
282
|
export const se_StopFlowCommand = async (input, context) => {
|
|
409
|
-
const
|
|
283
|
+
const b = rb(input, context);
|
|
410
284
|
const headers = {
|
|
411
285
|
"content-type": "application/json",
|
|
412
286
|
};
|
|
413
|
-
|
|
287
|
+
b.bp("/stop-flow");
|
|
414
288
|
let body;
|
|
415
289
|
body = JSON.stringify(take(input, {
|
|
416
290
|
flowName: [],
|
|
417
291
|
}));
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
hostname,
|
|
421
|
-
port,
|
|
422
|
-
method: "POST",
|
|
423
|
-
headers,
|
|
424
|
-
path: resolvedPath,
|
|
425
|
-
body,
|
|
426
|
-
});
|
|
292
|
+
b.m("POST").h(headers).b(body);
|
|
293
|
+
return b.build();
|
|
427
294
|
};
|
|
428
295
|
export const se_TagResourceCommand = async (input, context) => {
|
|
429
|
-
const
|
|
296
|
+
const b = rb(input, context);
|
|
430
297
|
const headers = {
|
|
431
298
|
"content-type": "application/json",
|
|
432
299
|
};
|
|
433
|
-
|
|
434
|
-
|
|
300
|
+
b.bp("/tags/{resourceArn}");
|
|
301
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
435
302
|
let body;
|
|
436
303
|
body = JSON.stringify(take(input, {
|
|
437
304
|
tags: (_) => _json(_),
|
|
438
305
|
}));
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
hostname,
|
|
442
|
-
port,
|
|
443
|
-
method: "POST",
|
|
444
|
-
headers,
|
|
445
|
-
path: resolvedPath,
|
|
446
|
-
body,
|
|
447
|
-
});
|
|
306
|
+
b.m("POST").h(headers).b(body);
|
|
307
|
+
return b.build();
|
|
448
308
|
};
|
|
449
309
|
export const se_UnregisterConnectorCommand = async (input, context) => {
|
|
450
|
-
const
|
|
310
|
+
const b = rb(input, context);
|
|
451
311
|
const headers = {
|
|
452
312
|
"content-type": "application/json",
|
|
453
313
|
};
|
|
454
|
-
|
|
314
|
+
b.bp("/unregister-connector");
|
|
455
315
|
let body;
|
|
456
316
|
body = JSON.stringify(take(input, {
|
|
457
317
|
connectorLabel: [],
|
|
458
318
|
forceDelete: [],
|
|
459
319
|
}));
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
hostname,
|
|
463
|
-
port,
|
|
464
|
-
method: "POST",
|
|
465
|
-
headers,
|
|
466
|
-
path: resolvedPath,
|
|
467
|
-
body,
|
|
468
|
-
});
|
|
320
|
+
b.m("POST").h(headers).b(body);
|
|
321
|
+
return b.build();
|
|
469
322
|
};
|
|
470
323
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
471
|
-
const
|
|
324
|
+
const b = rb(input, context);
|
|
472
325
|
const headers = {};
|
|
473
|
-
|
|
474
|
-
|
|
326
|
+
b.bp("/tags/{resourceArn}");
|
|
327
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
475
328
|
const query = map({
|
|
476
|
-
|
|
329
|
+
[_tK]: [
|
|
477
330
|
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
478
|
-
() => (input
|
|
331
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
479
332
|
],
|
|
480
333
|
});
|
|
481
334
|
let body;
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
hostname,
|
|
485
|
-
port,
|
|
486
|
-
method: "DELETE",
|
|
487
|
-
headers,
|
|
488
|
-
path: resolvedPath,
|
|
489
|
-
query,
|
|
490
|
-
body,
|
|
491
|
-
});
|
|
335
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
336
|
+
return b.build();
|
|
492
337
|
};
|
|
493
338
|
export const se_UpdateConnectorProfileCommand = async (input, context) => {
|
|
494
|
-
const
|
|
339
|
+
const b = rb(input, context);
|
|
495
340
|
const headers = {
|
|
496
341
|
"content-type": "application/json",
|
|
497
342
|
};
|
|
498
|
-
|
|
343
|
+
b.bp("/update-connector-profile");
|
|
499
344
|
let body;
|
|
500
345
|
body = JSON.stringify(take(input, {
|
|
501
346
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -503,22 +348,15 @@ export const se_UpdateConnectorProfileCommand = async (input, context) => {
|
|
|
503
348
|
connectorProfileConfig: (_) => _json(_),
|
|
504
349
|
connectorProfileName: [],
|
|
505
350
|
}));
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
hostname,
|
|
509
|
-
port,
|
|
510
|
-
method: "POST",
|
|
511
|
-
headers,
|
|
512
|
-
path: resolvedPath,
|
|
513
|
-
body,
|
|
514
|
-
});
|
|
351
|
+
b.m("POST").h(headers).b(body);
|
|
352
|
+
return b.build();
|
|
515
353
|
};
|
|
516
354
|
export const se_UpdateConnectorRegistrationCommand = async (input, context) => {
|
|
517
|
-
const
|
|
355
|
+
const b = rb(input, context);
|
|
518
356
|
const headers = {
|
|
519
357
|
"content-type": "application/json",
|
|
520
358
|
};
|
|
521
|
-
|
|
359
|
+
b.bp("/update-connector-registration");
|
|
522
360
|
let body;
|
|
523
361
|
body = JSON.stringify(take(input, {
|
|
524
362
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -526,22 +364,15 @@ export const se_UpdateConnectorRegistrationCommand = async (input, context) => {
|
|
|
526
364
|
connectorProvisioningConfig: (_) => _json(_),
|
|
527
365
|
description: [],
|
|
528
366
|
}));
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
hostname,
|
|
532
|
-
port,
|
|
533
|
-
method: "POST",
|
|
534
|
-
headers,
|
|
535
|
-
path: resolvedPath,
|
|
536
|
-
body,
|
|
537
|
-
});
|
|
367
|
+
b.m("POST").h(headers).b(body);
|
|
368
|
+
return b.build();
|
|
538
369
|
};
|
|
539
370
|
export const se_UpdateFlowCommand = async (input, context) => {
|
|
540
|
-
const
|
|
371
|
+
const b = rb(input, context);
|
|
541
372
|
const headers = {
|
|
542
373
|
"content-type": "application/json",
|
|
543
374
|
};
|
|
544
|
-
|
|
375
|
+
b.bp("/update-flow");
|
|
545
376
|
let body;
|
|
546
377
|
body = JSON.stringify(take(input, {
|
|
547
378
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -553,15 +384,8 @@ export const se_UpdateFlowCommand = async (input, context) => {
|
|
|
553
384
|
tasks: (_) => _json(_),
|
|
554
385
|
triggerConfig: (_) => se_TriggerConfig(_, context),
|
|
555
386
|
}));
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
hostname,
|
|
559
|
-
port,
|
|
560
|
-
method: "POST",
|
|
561
|
-
headers,
|
|
562
|
-
path: resolvedPath,
|
|
563
|
-
body,
|
|
564
|
-
});
|
|
387
|
+
b.m("POST").h(headers).b(body);
|
|
388
|
+
return b.build();
|
|
565
389
|
};
|
|
566
390
|
export const de_CancelFlowExecutionsCommand = async (output, context) => {
|
|
567
391
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -2008,6 +1832,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
2008
1832
|
value !== "" &&
|
|
2009
1833
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
2010
1834
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1835
|
+
const _tK = "tagKeys";
|
|
2011
1836
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2012
1837
|
if (encoded.length) {
|
|
2013
1838
|
return JSON.parse(encoded);
|
|
@@ -4,4 +4,4 @@ import { AppflowPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeConnectorProfiles: (config: AppflowPaginationConfiguration, input: DescribeConnectorProfilesCommandInput, ...rest: any[]) => Paginator<DescribeConnectorProfilesCommandOutput>;
|