@aws-sdk/client-entityresolution 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/ListIdMappingJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListIdMappingWorkflowsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMatchingJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMatchingWorkflowsPaginator.js +2 -24
- package/dist-cjs/pagination/ListProviderServicesPaginator.js +2 -24
- package/dist-cjs/pagination/ListSchemaMappingsPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +151 -346
- package/dist-es/pagination/ListIdMappingJobsPaginator.js +2 -23
- package/dist-es/pagination/ListIdMappingWorkflowsPaginator.js +2 -23
- package/dist-es/pagination/ListMatchingJobsPaginator.js +2 -23
- package/dist-es/pagination/ListMatchingWorkflowsPaginator.js +2 -23
- package/dist-es/pagination/ListProviderServicesPaginator.js +2 -23
- package/dist-es/pagination/ListSchemaMappingsPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +152 -347
- package/dist-types/pagination/ListIdMappingJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIdMappingWorkflowsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMatchingJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMatchingWorkflowsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProviderServicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSchemaMappingsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListIdMappingJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIdMappingWorkflowsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMatchingJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMatchingWorkflowsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProviderServicesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSchemaMappingsPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
|
|
2
|
-
import {
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp,
|
|
2
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { EntityResolutionServiceException as __BaseException } from "../models/EntityResolutionServiceException";
|
|
5
5
|
import { AccessDeniedException, ConflictException, ExceedsLimitException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export const se_CreateIdMappingWorkflowCommand = 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("/idmappingworkflows");
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify(take(input, {
|
|
14
14
|
description: [],
|
|
@@ -19,22 +19,15 @@ export const se_CreateIdMappingWorkflowCommand = async (input, context) => {
|
|
|
19
19
|
tags: (_) => _json(_),
|
|
20
20
|
workflowName: [],
|
|
21
21
|
}));
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
hostname,
|
|
25
|
-
port,
|
|
26
|
-
method: "POST",
|
|
27
|
-
headers,
|
|
28
|
-
path: resolvedPath,
|
|
29
|
-
body,
|
|
30
|
-
});
|
|
22
|
+
b.m("POST").h(headers).b(body);
|
|
23
|
+
return b.build();
|
|
31
24
|
};
|
|
32
25
|
export const se_CreateMatchingWorkflowCommand = async (input, context) => {
|
|
33
|
-
const
|
|
26
|
+
const b = rb(input, context);
|
|
34
27
|
const headers = {
|
|
35
28
|
"content-type": "application/json",
|
|
36
29
|
};
|
|
37
|
-
|
|
30
|
+
b.bp("/matchingworkflows");
|
|
38
31
|
let body;
|
|
39
32
|
body = JSON.stringify(take(input, {
|
|
40
33
|
description: [],
|
|
@@ -46,22 +39,15 @@ export const se_CreateMatchingWorkflowCommand = async (input, context) => {
|
|
|
46
39
|
tags: (_) => _json(_),
|
|
47
40
|
workflowName: [],
|
|
48
41
|
}));
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
hostname,
|
|
52
|
-
port,
|
|
53
|
-
method: "POST",
|
|
54
|
-
headers,
|
|
55
|
-
path: resolvedPath,
|
|
56
|
-
body,
|
|
57
|
-
});
|
|
42
|
+
b.m("POST").h(headers).b(body);
|
|
43
|
+
return b.build();
|
|
58
44
|
};
|
|
59
45
|
export const se_CreateSchemaMappingCommand = async (input, context) => {
|
|
60
|
-
const
|
|
46
|
+
const b = rb(input, context);
|
|
61
47
|
const headers = {
|
|
62
48
|
"content-type": "application/json",
|
|
63
49
|
};
|
|
64
|
-
|
|
50
|
+
b.bp("/schemas");
|
|
65
51
|
let body;
|
|
66
52
|
body = JSON.stringify(take(input, {
|
|
67
53
|
description: [],
|
|
@@ -69,409 +55,245 @@ export const se_CreateSchemaMappingCommand = async (input, context) => {
|
|
|
69
55
|
schemaName: [],
|
|
70
56
|
tags: (_) => _json(_),
|
|
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_DeleteIdMappingWorkflowCommand = async (input, context) => {
|
|
83
|
-
const
|
|
62
|
+
const b = rb(input, context);
|
|
84
63
|
const headers = {};
|
|
85
|
-
|
|
86
|
-
|
|
64
|
+
b.bp("/idmappingworkflows/{workflowName}");
|
|
65
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
87
66
|
let body;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
hostname,
|
|
91
|
-
port,
|
|
92
|
-
method: "DELETE",
|
|
93
|
-
headers,
|
|
94
|
-
path: resolvedPath,
|
|
95
|
-
body,
|
|
96
|
-
});
|
|
67
|
+
b.m("DELETE").h(headers).b(body);
|
|
68
|
+
return b.build();
|
|
97
69
|
};
|
|
98
70
|
export const se_DeleteMatchingWorkflowCommand = async (input, context) => {
|
|
99
|
-
const
|
|
71
|
+
const b = rb(input, context);
|
|
100
72
|
const headers = {};
|
|
101
|
-
|
|
102
|
-
|
|
73
|
+
b.bp("/matchingworkflows/{workflowName}");
|
|
74
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
103
75
|
let body;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
hostname,
|
|
107
|
-
port,
|
|
108
|
-
method: "DELETE",
|
|
109
|
-
headers,
|
|
110
|
-
path: resolvedPath,
|
|
111
|
-
body,
|
|
112
|
-
});
|
|
76
|
+
b.m("DELETE").h(headers).b(body);
|
|
77
|
+
return b.build();
|
|
113
78
|
};
|
|
114
79
|
export const se_DeleteSchemaMappingCommand = async (input, context) => {
|
|
115
|
-
const
|
|
80
|
+
const b = rb(input, context);
|
|
116
81
|
const headers = {};
|
|
117
|
-
|
|
118
|
-
|
|
82
|
+
b.bp("/schemas/{schemaName}");
|
|
83
|
+
b.p("schemaName", () => input.schemaName, "{schemaName}", false);
|
|
119
84
|
let body;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
hostname,
|
|
123
|
-
port,
|
|
124
|
-
method: "DELETE",
|
|
125
|
-
headers,
|
|
126
|
-
path: resolvedPath,
|
|
127
|
-
body,
|
|
128
|
-
});
|
|
85
|
+
b.m("DELETE").h(headers).b(body);
|
|
86
|
+
return b.build();
|
|
129
87
|
};
|
|
130
88
|
export const se_GetIdMappingJobCommand = async (input, context) => {
|
|
131
|
-
const
|
|
89
|
+
const b = rb(input, context);
|
|
132
90
|
const headers = {};
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "jobId", () => input.jobId, "{jobId}", false);
|
|
91
|
+
b.bp("/idmappingworkflows/{workflowName}/jobs/{jobId}");
|
|
92
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
93
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
137
94
|
let body;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
hostname,
|
|
141
|
-
port,
|
|
142
|
-
method: "GET",
|
|
143
|
-
headers,
|
|
144
|
-
path: resolvedPath,
|
|
145
|
-
body,
|
|
146
|
-
});
|
|
95
|
+
b.m("GET").h(headers).b(body);
|
|
96
|
+
return b.build();
|
|
147
97
|
};
|
|
148
98
|
export const se_GetIdMappingWorkflowCommand = async (input, context) => {
|
|
149
|
-
const
|
|
99
|
+
const b = rb(input, context);
|
|
150
100
|
const headers = {};
|
|
151
|
-
|
|
152
|
-
|
|
101
|
+
b.bp("/idmappingworkflows/{workflowName}");
|
|
102
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
153
103
|
let body;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
hostname,
|
|
157
|
-
port,
|
|
158
|
-
method: "GET",
|
|
159
|
-
headers,
|
|
160
|
-
path: resolvedPath,
|
|
161
|
-
body,
|
|
162
|
-
});
|
|
104
|
+
b.m("GET").h(headers).b(body);
|
|
105
|
+
return b.build();
|
|
163
106
|
};
|
|
164
107
|
export const se_GetMatchIdCommand = async (input, context) => {
|
|
165
|
-
const
|
|
108
|
+
const b = rb(input, context);
|
|
166
109
|
const headers = {
|
|
167
110
|
"content-type": "application/json",
|
|
168
111
|
};
|
|
169
|
-
|
|
170
|
-
|
|
112
|
+
b.bp("/matchingworkflows/{workflowName}/matches");
|
|
113
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
171
114
|
let body;
|
|
172
115
|
body = JSON.stringify(take(input, {
|
|
173
116
|
record: (_) => _json(_),
|
|
174
117
|
}));
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
hostname,
|
|
178
|
-
port,
|
|
179
|
-
method: "POST",
|
|
180
|
-
headers,
|
|
181
|
-
path: resolvedPath,
|
|
182
|
-
body,
|
|
183
|
-
});
|
|
118
|
+
b.m("POST").h(headers).b(body);
|
|
119
|
+
return b.build();
|
|
184
120
|
};
|
|
185
121
|
export const se_GetMatchingJobCommand = async (input, context) => {
|
|
186
|
-
const
|
|
122
|
+
const b = rb(input, context);
|
|
187
123
|
const headers = {};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "jobId", () => input.jobId, "{jobId}", false);
|
|
124
|
+
b.bp("/matchingworkflows/{workflowName}/jobs/{jobId}");
|
|
125
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
126
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
192
127
|
let body;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
hostname,
|
|
196
|
-
port,
|
|
197
|
-
method: "GET",
|
|
198
|
-
headers,
|
|
199
|
-
path: resolvedPath,
|
|
200
|
-
body,
|
|
201
|
-
});
|
|
128
|
+
b.m("GET").h(headers).b(body);
|
|
129
|
+
return b.build();
|
|
202
130
|
};
|
|
203
131
|
export const se_GetMatchingWorkflowCommand = async (input, context) => {
|
|
204
|
-
const
|
|
132
|
+
const b = rb(input, context);
|
|
205
133
|
const headers = {};
|
|
206
|
-
|
|
207
|
-
|
|
134
|
+
b.bp("/matchingworkflows/{workflowName}");
|
|
135
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
208
136
|
let body;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
hostname,
|
|
212
|
-
port,
|
|
213
|
-
method: "GET",
|
|
214
|
-
headers,
|
|
215
|
-
path: resolvedPath,
|
|
216
|
-
body,
|
|
217
|
-
});
|
|
137
|
+
b.m("GET").h(headers).b(body);
|
|
138
|
+
return b.build();
|
|
218
139
|
};
|
|
219
140
|
export const se_GetProviderServiceCommand = async (input, context) => {
|
|
220
|
-
const
|
|
141
|
+
const b = rb(input, context);
|
|
221
142
|
const headers = {};
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "providerServiceName", () => input.providerServiceName, "{providerServiceName}", false);
|
|
143
|
+
b.bp("/providerservices/{providerName}/{providerServiceName}");
|
|
144
|
+
b.p("providerName", () => input.providerName, "{providerName}", false);
|
|
145
|
+
b.p("providerServiceName", () => input.providerServiceName, "{providerServiceName}", false);
|
|
226
146
|
let body;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
hostname,
|
|
230
|
-
port,
|
|
231
|
-
method: "GET",
|
|
232
|
-
headers,
|
|
233
|
-
path: resolvedPath,
|
|
234
|
-
body,
|
|
235
|
-
});
|
|
147
|
+
b.m("GET").h(headers).b(body);
|
|
148
|
+
return b.build();
|
|
236
149
|
};
|
|
237
150
|
export const se_GetSchemaMappingCommand = async (input, context) => {
|
|
238
|
-
const
|
|
151
|
+
const b = rb(input, context);
|
|
239
152
|
const headers = {};
|
|
240
|
-
|
|
241
|
-
|
|
153
|
+
b.bp("/schemas/{schemaName}");
|
|
154
|
+
b.p("schemaName", () => input.schemaName, "{schemaName}", false);
|
|
242
155
|
let body;
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
hostname,
|
|
246
|
-
port,
|
|
247
|
-
method: "GET",
|
|
248
|
-
headers,
|
|
249
|
-
path: resolvedPath,
|
|
250
|
-
body,
|
|
251
|
-
});
|
|
156
|
+
b.m("GET").h(headers).b(body);
|
|
157
|
+
return b.build();
|
|
252
158
|
};
|
|
253
159
|
export const se_ListIdMappingJobsCommand = async (input, context) => {
|
|
254
|
-
const
|
|
160
|
+
const b = rb(input, context);
|
|
255
161
|
const headers = {};
|
|
256
|
-
|
|
257
|
-
|
|
162
|
+
b.bp("/idmappingworkflows/{workflowName}/jobs");
|
|
163
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
258
164
|
const query = map({
|
|
259
|
-
|
|
260
|
-
|
|
165
|
+
[_nT]: [, input[_nT]],
|
|
166
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
261
167
|
});
|
|
262
168
|
let body;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
hostname,
|
|
266
|
-
port,
|
|
267
|
-
method: "GET",
|
|
268
|
-
headers,
|
|
269
|
-
path: resolvedPath,
|
|
270
|
-
query,
|
|
271
|
-
body,
|
|
272
|
-
});
|
|
169
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
170
|
+
return b.build();
|
|
273
171
|
};
|
|
274
172
|
export const se_ListIdMappingWorkflowsCommand = async (input, context) => {
|
|
275
|
-
const
|
|
173
|
+
const b = rb(input, context);
|
|
276
174
|
const headers = {};
|
|
277
|
-
|
|
175
|
+
b.bp("/idmappingworkflows");
|
|
278
176
|
const query = map({
|
|
279
|
-
|
|
280
|
-
|
|
177
|
+
[_nT]: [, input[_nT]],
|
|
178
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
281
179
|
});
|
|
282
180
|
let body;
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
hostname,
|
|
286
|
-
port,
|
|
287
|
-
method: "GET",
|
|
288
|
-
headers,
|
|
289
|
-
path: resolvedPath,
|
|
290
|
-
query,
|
|
291
|
-
body,
|
|
292
|
-
});
|
|
181
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
182
|
+
return b.build();
|
|
293
183
|
};
|
|
294
184
|
export const se_ListMatchingJobsCommand = async (input, context) => {
|
|
295
|
-
const
|
|
185
|
+
const b = rb(input, context);
|
|
296
186
|
const headers = {};
|
|
297
|
-
|
|
298
|
-
|
|
187
|
+
b.bp("/matchingworkflows/{workflowName}/jobs");
|
|
188
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
299
189
|
const query = map({
|
|
300
|
-
|
|
301
|
-
|
|
190
|
+
[_nT]: [, input[_nT]],
|
|
191
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
302
192
|
});
|
|
303
193
|
let body;
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
hostname,
|
|
307
|
-
port,
|
|
308
|
-
method: "GET",
|
|
309
|
-
headers,
|
|
310
|
-
path: resolvedPath,
|
|
311
|
-
query,
|
|
312
|
-
body,
|
|
313
|
-
});
|
|
194
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
195
|
+
return b.build();
|
|
314
196
|
};
|
|
315
197
|
export const se_ListMatchingWorkflowsCommand = async (input, context) => {
|
|
316
|
-
const
|
|
198
|
+
const b = rb(input, context);
|
|
317
199
|
const headers = {};
|
|
318
|
-
|
|
200
|
+
b.bp("/matchingworkflows");
|
|
319
201
|
const query = map({
|
|
320
|
-
|
|
321
|
-
|
|
202
|
+
[_nT]: [, input[_nT]],
|
|
203
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
322
204
|
});
|
|
323
205
|
let body;
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
hostname,
|
|
327
|
-
port,
|
|
328
|
-
method: "GET",
|
|
329
|
-
headers,
|
|
330
|
-
path: resolvedPath,
|
|
331
|
-
query,
|
|
332
|
-
body,
|
|
333
|
-
});
|
|
206
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
207
|
+
return b.build();
|
|
334
208
|
};
|
|
335
209
|
export const se_ListProviderServicesCommand = async (input, context) => {
|
|
336
|
-
const
|
|
210
|
+
const b = rb(input, context);
|
|
337
211
|
const headers = {};
|
|
338
|
-
|
|
212
|
+
b.bp("/providerservices");
|
|
339
213
|
const query = map({
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
214
|
+
[_nT]: [, input[_nT]],
|
|
215
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
216
|
+
[_pN]: [, input[_pN]],
|
|
343
217
|
});
|
|
344
218
|
let body;
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
hostname,
|
|
348
|
-
port,
|
|
349
|
-
method: "GET",
|
|
350
|
-
headers,
|
|
351
|
-
path: resolvedPath,
|
|
352
|
-
query,
|
|
353
|
-
body,
|
|
354
|
-
});
|
|
219
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
220
|
+
return b.build();
|
|
355
221
|
};
|
|
356
222
|
export const se_ListSchemaMappingsCommand = async (input, context) => {
|
|
357
|
-
const
|
|
223
|
+
const b = rb(input, context);
|
|
358
224
|
const headers = {};
|
|
359
|
-
|
|
225
|
+
b.bp("/schemas");
|
|
360
226
|
const query = map({
|
|
361
|
-
|
|
362
|
-
|
|
227
|
+
[_nT]: [, input[_nT]],
|
|
228
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
363
229
|
});
|
|
364
230
|
let body;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
hostname,
|
|
368
|
-
port,
|
|
369
|
-
method: "GET",
|
|
370
|
-
headers,
|
|
371
|
-
path: resolvedPath,
|
|
372
|
-
query,
|
|
373
|
-
body,
|
|
374
|
-
});
|
|
231
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
232
|
+
return b.build();
|
|
375
233
|
};
|
|
376
234
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
377
|
-
const
|
|
235
|
+
const b = rb(input, context);
|
|
378
236
|
const headers = {};
|
|
379
|
-
|
|
380
|
-
|
|
237
|
+
b.bp("/tags/{resourceArn}");
|
|
238
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
381
239
|
let body;
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
hostname,
|
|
385
|
-
port,
|
|
386
|
-
method: "GET",
|
|
387
|
-
headers,
|
|
388
|
-
path: resolvedPath,
|
|
389
|
-
body,
|
|
390
|
-
});
|
|
240
|
+
b.m("GET").h(headers).b(body);
|
|
241
|
+
return b.build();
|
|
391
242
|
};
|
|
392
243
|
export const se_StartIdMappingJobCommand = async (input, context) => {
|
|
393
|
-
const
|
|
244
|
+
const b = rb(input, context);
|
|
394
245
|
const headers = {};
|
|
395
|
-
|
|
396
|
-
|
|
246
|
+
b.bp("/idmappingworkflows/{workflowName}/jobs");
|
|
247
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
397
248
|
let body;
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
hostname,
|
|
401
|
-
port,
|
|
402
|
-
method: "POST",
|
|
403
|
-
headers,
|
|
404
|
-
path: resolvedPath,
|
|
405
|
-
body,
|
|
406
|
-
});
|
|
249
|
+
b.m("POST").h(headers).b(body);
|
|
250
|
+
return b.build();
|
|
407
251
|
};
|
|
408
252
|
export const se_StartMatchingJobCommand = async (input, context) => {
|
|
409
|
-
const
|
|
253
|
+
const b = rb(input, context);
|
|
410
254
|
const headers = {};
|
|
411
|
-
|
|
412
|
-
|
|
255
|
+
b.bp("/matchingworkflows/{workflowName}/jobs");
|
|
256
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
413
257
|
let body;
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
hostname,
|
|
417
|
-
port,
|
|
418
|
-
method: "POST",
|
|
419
|
-
headers,
|
|
420
|
-
path: resolvedPath,
|
|
421
|
-
body,
|
|
422
|
-
});
|
|
258
|
+
b.m("POST").h(headers).b(body);
|
|
259
|
+
return b.build();
|
|
423
260
|
};
|
|
424
261
|
export const se_TagResourceCommand = async (input, context) => {
|
|
425
|
-
const
|
|
262
|
+
const b = rb(input, context);
|
|
426
263
|
const headers = {
|
|
427
264
|
"content-type": "application/json",
|
|
428
265
|
};
|
|
429
|
-
|
|
430
|
-
|
|
266
|
+
b.bp("/tags/{resourceArn}");
|
|
267
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
431
268
|
let body;
|
|
432
269
|
body = JSON.stringify(take(input, {
|
|
433
270
|
tags: (_) => _json(_),
|
|
434
271
|
}));
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
hostname,
|
|
438
|
-
port,
|
|
439
|
-
method: "POST",
|
|
440
|
-
headers,
|
|
441
|
-
path: resolvedPath,
|
|
442
|
-
body,
|
|
443
|
-
});
|
|
272
|
+
b.m("POST").h(headers).b(body);
|
|
273
|
+
return b.build();
|
|
444
274
|
};
|
|
445
275
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
446
|
-
const
|
|
276
|
+
const b = rb(input, context);
|
|
447
277
|
const headers = {};
|
|
448
|
-
|
|
449
|
-
|
|
278
|
+
b.bp("/tags/{resourceArn}");
|
|
279
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
450
280
|
const query = map({
|
|
451
|
-
|
|
281
|
+
[_tK]: [
|
|
452
282
|
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
453
|
-
() => (input
|
|
283
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
454
284
|
],
|
|
455
285
|
});
|
|
456
286
|
let body;
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
hostname,
|
|
460
|
-
port,
|
|
461
|
-
method: "DELETE",
|
|
462
|
-
headers,
|
|
463
|
-
path: resolvedPath,
|
|
464
|
-
query,
|
|
465
|
-
body,
|
|
466
|
-
});
|
|
287
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
288
|
+
return b.build();
|
|
467
289
|
};
|
|
468
290
|
export const se_UpdateIdMappingWorkflowCommand = async (input, context) => {
|
|
469
|
-
const
|
|
291
|
+
const b = rb(input, context);
|
|
470
292
|
const headers = {
|
|
471
293
|
"content-type": "application/json",
|
|
472
294
|
};
|
|
473
|
-
|
|
474
|
-
|
|
295
|
+
b.bp("/idmappingworkflows/{workflowName}");
|
|
296
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
475
297
|
let body;
|
|
476
298
|
body = JSON.stringify(take(input, {
|
|
477
299
|
description: [],
|
|
@@ -480,23 +302,16 @@ export const se_UpdateIdMappingWorkflowCommand = async (input, context) => {
|
|
|
480
302
|
outputSourceConfig: (_) => _json(_),
|
|
481
303
|
roleArn: [],
|
|
482
304
|
}));
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
hostname,
|
|
486
|
-
port,
|
|
487
|
-
method: "PUT",
|
|
488
|
-
headers,
|
|
489
|
-
path: resolvedPath,
|
|
490
|
-
body,
|
|
491
|
-
});
|
|
305
|
+
b.m("PUT").h(headers).b(body);
|
|
306
|
+
return b.build();
|
|
492
307
|
};
|
|
493
308
|
export const se_UpdateMatchingWorkflowCommand = async (input, context) => {
|
|
494
|
-
const
|
|
309
|
+
const b = rb(input, context);
|
|
495
310
|
const headers = {
|
|
496
311
|
"content-type": "application/json",
|
|
497
312
|
};
|
|
498
|
-
|
|
499
|
-
|
|
313
|
+
b.bp("/matchingworkflows/{workflowName}");
|
|
314
|
+
b.p("workflowName", () => input.workflowName, "{workflowName}", false);
|
|
500
315
|
let body;
|
|
501
316
|
body = JSON.stringify(take(input, {
|
|
502
317
|
description: [],
|
|
@@ -506,37 +321,23 @@ export const se_UpdateMatchingWorkflowCommand = async (input, context) => {
|
|
|
506
321
|
resolutionTechniques: (_) => se_ResolutionTechniques(_, context),
|
|
507
322
|
roleArn: [],
|
|
508
323
|
}));
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
hostname,
|
|
512
|
-
port,
|
|
513
|
-
method: "PUT",
|
|
514
|
-
headers,
|
|
515
|
-
path: resolvedPath,
|
|
516
|
-
body,
|
|
517
|
-
});
|
|
324
|
+
b.m("PUT").h(headers).b(body);
|
|
325
|
+
return b.build();
|
|
518
326
|
};
|
|
519
327
|
export const se_UpdateSchemaMappingCommand = async (input, context) => {
|
|
520
|
-
const
|
|
328
|
+
const b = rb(input, context);
|
|
521
329
|
const headers = {
|
|
522
330
|
"content-type": "application/json",
|
|
523
331
|
};
|
|
524
|
-
|
|
525
|
-
|
|
332
|
+
b.bp("/schemas/{schemaName}");
|
|
333
|
+
b.p("schemaName", () => input.schemaName, "{schemaName}", false);
|
|
526
334
|
let body;
|
|
527
335
|
body = JSON.stringify(take(input, {
|
|
528
336
|
description: [],
|
|
529
337
|
mappedInputFields: (_) => _json(_),
|
|
530
338
|
}));
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
hostname,
|
|
534
|
-
port,
|
|
535
|
-
method: "PUT",
|
|
536
|
-
headers,
|
|
537
|
-
path: resolvedPath,
|
|
538
|
-
body,
|
|
539
|
-
});
|
|
339
|
+
b.m("PUT").h(headers).b(body);
|
|
340
|
+
return b.build();
|
|
540
341
|
};
|
|
541
342
|
export const de_CreateIdMappingWorkflowCommand = async (output, context) => {
|
|
542
343
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -2030,6 +1831,10 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
2030
1831
|
value !== "" &&
|
|
2031
1832
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
2032
1833
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1834
|
+
const _mR = "maxResults";
|
|
1835
|
+
const _nT = "nextToken";
|
|
1836
|
+
const _pN = "providerName";
|
|
1837
|
+
const _tK = "tagKeys";
|
|
2033
1838
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2034
1839
|
if (encoded.length) {
|
|
2035
1840
|
return JSON.parse(encoded);
|