@aws-sdk/client-appintegrations 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 +107 -244
- package/dist-es/protocols/Aws_restJson1.js +108 -245
- package/package.json +5 -4
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_UpdateEventIntegrationCommand = exports.de_UpdateDataIntegrationCommand = exports.de_UpdateApplicationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListEventIntegrationsCommand = exports.de_ListEventIntegrationAssociationsCommand = exports.de_ListDataIntegrationsCommand = exports.de_ListDataIntegrationAssociationsCommand = exports.de_ListApplicationsCommand = exports.de_GetEventIntegrationCommand = exports.de_GetDataIntegrationCommand = exports.de_GetApplicationCommand = exports.de_DeleteEventIntegrationCommand = exports.de_DeleteDataIntegrationCommand = exports.de_CreateEventIntegrationCommand = exports.de_CreateDataIntegrationCommand = exports.de_CreateApplicationCommand = exports.se_UpdateEventIntegrationCommand = exports.se_UpdateDataIntegrationCommand = exports.se_UpdateApplicationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListEventIntegrationsCommand = exports.se_ListEventIntegrationAssociationsCommand = exports.se_ListDataIntegrationsCommand = exports.se_ListDataIntegrationAssociationsCommand = exports.se_ListApplicationsCommand = exports.se_GetEventIntegrationCommand = exports.se_GetDataIntegrationCommand = exports.se_GetApplicationCommand = exports.se_DeleteEventIntegrationCommand = exports.se_DeleteDataIntegrationCommand = exports.se_CreateEventIntegrationCommand = exports.se_CreateDataIntegrationCommand = exports.se_CreateApplicationCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const uuid_1 = require("uuid");
|
|
7
7
|
const AppIntegrationsServiceException_1 = require("../models/AppIntegrationsServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
9
|
const se_CreateApplicationCommand = 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("/applications");
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
17
17
|
ApplicationSourceConfig: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -23,23 +23,16 @@ const se_CreateApplicationCommand = async (input, context) => {
|
|
|
23
23
|
Subscriptions: (_) => (0, smithy_client_1._json)(_),
|
|
24
24
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
25
25
|
}));
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
hostname,
|
|
29
|
-
port,
|
|
30
|
-
method: "POST",
|
|
31
|
-
headers,
|
|
32
|
-
path: resolvedPath,
|
|
33
|
-
body,
|
|
34
|
-
});
|
|
26
|
+
b.m("POST").h(headers).b(body);
|
|
27
|
+
return b.build();
|
|
35
28
|
};
|
|
36
29
|
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
37
30
|
const se_CreateDataIntegrationCommand = async (input, context) => {
|
|
38
|
-
const
|
|
31
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
39
32
|
const headers = {
|
|
40
33
|
"content-type": "application/json",
|
|
41
34
|
};
|
|
42
|
-
|
|
35
|
+
b.bp("/dataIntegrations");
|
|
43
36
|
let body;
|
|
44
37
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
45
38
|
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -52,23 +45,16 @@ const se_CreateDataIntegrationCommand = async (input, context) => {
|
|
|
52
45
|
SourceURI: [],
|
|
53
46
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
54
47
|
}));
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
hostname,
|
|
58
|
-
port,
|
|
59
|
-
method: "POST",
|
|
60
|
-
headers,
|
|
61
|
-
path: resolvedPath,
|
|
62
|
-
body,
|
|
63
|
-
});
|
|
48
|
+
b.m("POST").h(headers).b(body);
|
|
49
|
+
return b.build();
|
|
64
50
|
};
|
|
65
51
|
exports.se_CreateDataIntegrationCommand = se_CreateDataIntegrationCommand;
|
|
66
52
|
const se_CreateEventIntegrationCommand = async (input, context) => {
|
|
67
|
-
const
|
|
53
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
68
54
|
const headers = {
|
|
69
55
|
"content-type": "application/json",
|
|
70
56
|
};
|
|
71
|
-
|
|
57
|
+
b.bp("/eventIntegrations");
|
|
72
58
|
let body;
|
|
73
59
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
74
60
|
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -78,282 +64,175 @@ const se_CreateEventIntegrationCommand = async (input, context) => {
|
|
|
78
64
|
Name: [],
|
|
79
65
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
80
66
|
}));
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
hostname,
|
|
84
|
-
port,
|
|
85
|
-
method: "POST",
|
|
86
|
-
headers,
|
|
87
|
-
path: resolvedPath,
|
|
88
|
-
body,
|
|
89
|
-
});
|
|
67
|
+
b.m("POST").h(headers).b(body);
|
|
68
|
+
return b.build();
|
|
90
69
|
};
|
|
91
70
|
exports.se_CreateEventIntegrationCommand = se_CreateEventIntegrationCommand;
|
|
92
71
|
const se_DeleteDataIntegrationCommand = async (input, context) => {
|
|
93
|
-
const
|
|
72
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
94
73
|
const headers = {};
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataIntegrationIdentifier", () => input.DataIntegrationIdentifier, "{DataIntegrationIdentifier}", false);
|
|
74
|
+
b.bp("/dataIntegrations/{DataIntegrationIdentifier}");
|
|
75
|
+
b.p("DataIntegrationIdentifier", () => input.DataIntegrationIdentifier, "{DataIntegrationIdentifier}", false);
|
|
98
76
|
let body;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
hostname,
|
|
102
|
-
port,
|
|
103
|
-
method: "DELETE",
|
|
104
|
-
headers,
|
|
105
|
-
path: resolvedPath,
|
|
106
|
-
body,
|
|
107
|
-
});
|
|
77
|
+
b.m("DELETE").h(headers).b(body);
|
|
78
|
+
return b.build();
|
|
108
79
|
};
|
|
109
80
|
exports.se_DeleteDataIntegrationCommand = se_DeleteDataIntegrationCommand;
|
|
110
81
|
const se_DeleteEventIntegrationCommand = async (input, context) => {
|
|
111
|
-
const
|
|
82
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
112
83
|
const headers = {};
|
|
113
|
-
|
|
114
|
-
|
|
84
|
+
b.bp("/eventIntegrations/{Name}");
|
|
85
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
115
86
|
let body;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
hostname,
|
|
119
|
-
port,
|
|
120
|
-
method: "DELETE",
|
|
121
|
-
headers,
|
|
122
|
-
path: resolvedPath,
|
|
123
|
-
body,
|
|
124
|
-
});
|
|
87
|
+
b.m("DELETE").h(headers).b(body);
|
|
88
|
+
return b.build();
|
|
125
89
|
};
|
|
126
90
|
exports.se_DeleteEventIntegrationCommand = se_DeleteEventIntegrationCommand;
|
|
127
91
|
const se_GetApplicationCommand = async (input, context) => {
|
|
128
|
-
const
|
|
92
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
129
93
|
const headers = {};
|
|
130
|
-
|
|
131
|
-
|
|
94
|
+
b.bp("/applications/{Arn}");
|
|
95
|
+
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
132
96
|
let body;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
hostname,
|
|
136
|
-
port,
|
|
137
|
-
method: "GET",
|
|
138
|
-
headers,
|
|
139
|
-
path: resolvedPath,
|
|
140
|
-
body,
|
|
141
|
-
});
|
|
97
|
+
b.m("GET").h(headers).b(body);
|
|
98
|
+
return b.build();
|
|
142
99
|
};
|
|
143
100
|
exports.se_GetApplicationCommand = se_GetApplicationCommand;
|
|
144
101
|
const se_GetDataIntegrationCommand = async (input, context) => {
|
|
145
|
-
const
|
|
102
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
146
103
|
const headers = {};
|
|
147
|
-
|
|
148
|
-
|
|
104
|
+
b.bp("/dataIntegrations/{Identifier}");
|
|
105
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
149
106
|
let body;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
hostname,
|
|
153
|
-
port,
|
|
154
|
-
method: "GET",
|
|
155
|
-
headers,
|
|
156
|
-
path: resolvedPath,
|
|
157
|
-
body,
|
|
158
|
-
});
|
|
107
|
+
b.m("GET").h(headers).b(body);
|
|
108
|
+
return b.build();
|
|
159
109
|
};
|
|
160
110
|
exports.se_GetDataIntegrationCommand = se_GetDataIntegrationCommand;
|
|
161
111
|
const se_GetEventIntegrationCommand = async (input, context) => {
|
|
162
|
-
const
|
|
112
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
163
113
|
const headers = {};
|
|
164
|
-
|
|
165
|
-
|
|
114
|
+
b.bp("/eventIntegrations/{Name}");
|
|
115
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
166
116
|
let body;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
hostname,
|
|
170
|
-
port,
|
|
171
|
-
method: "GET",
|
|
172
|
-
headers,
|
|
173
|
-
path: resolvedPath,
|
|
174
|
-
body,
|
|
175
|
-
});
|
|
117
|
+
b.m("GET").h(headers).b(body);
|
|
118
|
+
return b.build();
|
|
176
119
|
};
|
|
177
120
|
exports.se_GetEventIntegrationCommand = se_GetEventIntegrationCommand;
|
|
178
121
|
const se_ListApplicationsCommand = async (input, context) => {
|
|
179
|
-
const
|
|
122
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
180
123
|
const headers = {};
|
|
181
|
-
|
|
124
|
+
b.bp("/applications");
|
|
182
125
|
const query = (0, smithy_client_1.map)({
|
|
183
|
-
|
|
184
|
-
|
|
126
|
+
[_nT]: [, input[_NT]],
|
|
127
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
185
128
|
});
|
|
186
129
|
let body;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
hostname,
|
|
190
|
-
port,
|
|
191
|
-
method: "GET",
|
|
192
|
-
headers,
|
|
193
|
-
path: resolvedPath,
|
|
194
|
-
query,
|
|
195
|
-
body,
|
|
196
|
-
});
|
|
130
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
131
|
+
return b.build();
|
|
197
132
|
};
|
|
198
133
|
exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
|
|
199
134
|
const se_ListDataIntegrationAssociationsCommand = async (input, context) => {
|
|
200
|
-
const
|
|
135
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
201
136
|
const headers = {};
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataIntegrationIdentifier", () => input.DataIntegrationIdentifier, "{DataIntegrationIdentifier}", false);
|
|
137
|
+
b.bp("/dataIntegrations/{DataIntegrationIdentifier}/associations");
|
|
138
|
+
b.p("DataIntegrationIdentifier", () => input.DataIntegrationIdentifier, "{DataIntegrationIdentifier}", false);
|
|
205
139
|
const query = (0, smithy_client_1.map)({
|
|
206
|
-
|
|
207
|
-
|
|
140
|
+
[_nT]: [, input[_NT]],
|
|
141
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
208
142
|
});
|
|
209
143
|
let body;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
hostname,
|
|
213
|
-
port,
|
|
214
|
-
method: "GET",
|
|
215
|
-
headers,
|
|
216
|
-
path: resolvedPath,
|
|
217
|
-
query,
|
|
218
|
-
body,
|
|
219
|
-
});
|
|
144
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
145
|
+
return b.build();
|
|
220
146
|
};
|
|
221
147
|
exports.se_ListDataIntegrationAssociationsCommand = se_ListDataIntegrationAssociationsCommand;
|
|
222
148
|
const se_ListDataIntegrationsCommand = async (input, context) => {
|
|
223
|
-
const
|
|
149
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
224
150
|
const headers = {};
|
|
225
|
-
|
|
151
|
+
b.bp("/dataIntegrations");
|
|
226
152
|
const query = (0, smithy_client_1.map)({
|
|
227
|
-
|
|
228
|
-
|
|
153
|
+
[_nT]: [, input[_NT]],
|
|
154
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
229
155
|
});
|
|
230
156
|
let body;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
hostname,
|
|
234
|
-
port,
|
|
235
|
-
method: "GET",
|
|
236
|
-
headers,
|
|
237
|
-
path: resolvedPath,
|
|
238
|
-
query,
|
|
239
|
-
body,
|
|
240
|
-
});
|
|
157
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
158
|
+
return b.build();
|
|
241
159
|
};
|
|
242
160
|
exports.se_ListDataIntegrationsCommand = se_ListDataIntegrationsCommand;
|
|
243
161
|
const se_ListEventIntegrationAssociationsCommand = async (input, context) => {
|
|
244
|
-
const
|
|
162
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
245
163
|
const headers = {};
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EventIntegrationName", () => input.EventIntegrationName, "{EventIntegrationName}", false);
|
|
164
|
+
b.bp("/eventIntegrations/{EventIntegrationName}/associations");
|
|
165
|
+
b.p("EventIntegrationName", () => input.EventIntegrationName, "{EventIntegrationName}", false);
|
|
249
166
|
const query = (0, smithy_client_1.map)({
|
|
250
|
-
|
|
251
|
-
|
|
167
|
+
[_nT]: [, input[_NT]],
|
|
168
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
252
169
|
});
|
|
253
170
|
let body;
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
hostname,
|
|
257
|
-
port,
|
|
258
|
-
method: "GET",
|
|
259
|
-
headers,
|
|
260
|
-
path: resolvedPath,
|
|
261
|
-
query,
|
|
262
|
-
body,
|
|
263
|
-
});
|
|
171
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
172
|
+
return b.build();
|
|
264
173
|
};
|
|
265
174
|
exports.se_ListEventIntegrationAssociationsCommand = se_ListEventIntegrationAssociationsCommand;
|
|
266
175
|
const se_ListEventIntegrationsCommand = async (input, context) => {
|
|
267
|
-
const
|
|
176
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
268
177
|
const headers = {};
|
|
269
|
-
|
|
178
|
+
b.bp("/eventIntegrations");
|
|
270
179
|
const query = (0, smithy_client_1.map)({
|
|
271
|
-
|
|
272
|
-
|
|
180
|
+
[_nT]: [, input[_NT]],
|
|
181
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
273
182
|
});
|
|
274
183
|
let body;
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
hostname,
|
|
278
|
-
port,
|
|
279
|
-
method: "GET",
|
|
280
|
-
headers,
|
|
281
|
-
path: resolvedPath,
|
|
282
|
-
query,
|
|
283
|
-
body,
|
|
284
|
-
});
|
|
184
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
185
|
+
return b.build();
|
|
285
186
|
};
|
|
286
187
|
exports.se_ListEventIntegrationsCommand = se_ListEventIntegrationsCommand;
|
|
287
188
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
288
|
-
const
|
|
189
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
289
190
|
const headers = {};
|
|
290
|
-
|
|
291
|
-
|
|
191
|
+
b.bp("/tags/{resourceArn}");
|
|
192
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
292
193
|
let body;
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
hostname,
|
|
296
|
-
port,
|
|
297
|
-
method: "GET",
|
|
298
|
-
headers,
|
|
299
|
-
path: resolvedPath,
|
|
300
|
-
body,
|
|
301
|
-
});
|
|
194
|
+
b.m("GET").h(headers).b(body);
|
|
195
|
+
return b.build();
|
|
302
196
|
};
|
|
303
197
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
304
198
|
const se_TagResourceCommand = async (input, context) => {
|
|
305
|
-
const
|
|
199
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
306
200
|
const headers = {
|
|
307
201
|
"content-type": "application/json",
|
|
308
202
|
};
|
|
309
|
-
|
|
310
|
-
|
|
203
|
+
b.bp("/tags/{resourceArn}");
|
|
204
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
311
205
|
let body;
|
|
312
206
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
313
207
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
314
208
|
}));
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
hostname,
|
|
318
|
-
port,
|
|
319
|
-
method: "POST",
|
|
320
|
-
headers,
|
|
321
|
-
path: resolvedPath,
|
|
322
|
-
body,
|
|
323
|
-
});
|
|
209
|
+
b.m("POST").h(headers).b(body);
|
|
210
|
+
return b.build();
|
|
324
211
|
};
|
|
325
212
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
326
213
|
const se_UntagResourceCommand = async (input, context) => {
|
|
327
|
-
const
|
|
214
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
328
215
|
const headers = {};
|
|
329
|
-
|
|
330
|
-
|
|
216
|
+
b.bp("/tags/{resourceArn}");
|
|
217
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
331
218
|
const query = (0, smithy_client_1.map)({
|
|
332
|
-
|
|
219
|
+
[_tK]: [
|
|
333
220
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
334
|
-
() => (input
|
|
221
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
335
222
|
],
|
|
336
223
|
});
|
|
337
224
|
let body;
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
hostname,
|
|
341
|
-
port,
|
|
342
|
-
method: "DELETE",
|
|
343
|
-
headers,
|
|
344
|
-
path: resolvedPath,
|
|
345
|
-
query,
|
|
346
|
-
body,
|
|
347
|
-
});
|
|
225
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
226
|
+
return b.build();
|
|
348
227
|
};
|
|
349
228
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
350
229
|
const se_UpdateApplicationCommand = async (input, context) => {
|
|
351
|
-
const
|
|
230
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
352
231
|
const headers = {
|
|
353
232
|
"content-type": "application/json",
|
|
354
233
|
};
|
|
355
|
-
|
|
356
|
-
|
|
234
|
+
b.bp("/applications/{Arn}");
|
|
235
|
+
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
357
236
|
let body;
|
|
358
237
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
359
238
|
ApplicationSourceConfig: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -362,60 +241,39 @@ const se_UpdateApplicationCommand = async (input, context) => {
|
|
|
362
241
|
Publications: (_) => (0, smithy_client_1._json)(_),
|
|
363
242
|
Subscriptions: (_) => (0, smithy_client_1._json)(_),
|
|
364
243
|
}));
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
hostname,
|
|
368
|
-
port,
|
|
369
|
-
method: "PATCH",
|
|
370
|
-
headers,
|
|
371
|
-
path: resolvedPath,
|
|
372
|
-
body,
|
|
373
|
-
});
|
|
244
|
+
b.m("PATCH").h(headers).b(body);
|
|
245
|
+
return b.build();
|
|
374
246
|
};
|
|
375
247
|
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
376
248
|
const se_UpdateDataIntegrationCommand = async (input, context) => {
|
|
377
|
-
const
|
|
249
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
378
250
|
const headers = {
|
|
379
251
|
"content-type": "application/json",
|
|
380
252
|
};
|
|
381
|
-
|
|
382
|
-
|
|
253
|
+
b.bp("/dataIntegrations/{Identifier}");
|
|
254
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
383
255
|
let body;
|
|
384
256
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
385
257
|
Description: [],
|
|
386
258
|
Name: [],
|
|
387
259
|
}));
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
hostname,
|
|
391
|
-
port,
|
|
392
|
-
method: "PATCH",
|
|
393
|
-
headers,
|
|
394
|
-
path: resolvedPath,
|
|
395
|
-
body,
|
|
396
|
-
});
|
|
260
|
+
b.m("PATCH").h(headers).b(body);
|
|
261
|
+
return b.build();
|
|
397
262
|
};
|
|
398
263
|
exports.se_UpdateDataIntegrationCommand = se_UpdateDataIntegrationCommand;
|
|
399
264
|
const se_UpdateEventIntegrationCommand = async (input, context) => {
|
|
400
|
-
const
|
|
265
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
401
266
|
const headers = {
|
|
402
267
|
"content-type": "application/json",
|
|
403
268
|
};
|
|
404
|
-
|
|
405
|
-
|
|
269
|
+
b.bp("/eventIntegrations/{Name}");
|
|
270
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
406
271
|
let body;
|
|
407
272
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
408
273
|
Description: [],
|
|
409
274
|
}));
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
hostname,
|
|
413
|
-
port,
|
|
414
|
-
method: "PATCH",
|
|
415
|
-
headers,
|
|
416
|
-
path: resolvedPath,
|
|
417
|
-
body,
|
|
418
|
-
});
|
|
275
|
+
b.m("PATCH").h(headers).b(body);
|
|
276
|
+
return b.build();
|
|
419
277
|
};
|
|
420
278
|
exports.se_UpdateEventIntegrationCommand = se_UpdateEventIntegrationCommand;
|
|
421
279
|
const de_CreateApplicationCommand = async (output, context) => {
|
|
@@ -1417,6 +1275,11 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1417
1275
|
value !== "" &&
|
|
1418
1276
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
1419
1277
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1278
|
+
const _MR = "MaxResults";
|
|
1279
|
+
const _NT = "NextToken";
|
|
1280
|
+
const _mR = "maxResults";
|
|
1281
|
+
const _nT = "nextToken";
|
|
1282
|
+
const _tK = "tagKeys";
|
|
1420
1283
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1421
1284
|
if (encoded.length) {
|
|
1422
1285
|
return JSON.parse(encoded);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp,
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AppIntegrationsServiceException as __BaseException } from "../models/AppIntegrationsServiceException";
|
|
5
5
|
import { AccessDeniedException, DuplicateResourceException, InternalServiceError, InvalidRequestException, ResourceNotFoundException, ResourceQuotaExceededException, ThrottlingException, } from "../models/models_0";
|
|
6
6
|
export const se_CreateApplicationCommand = 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("/applications");
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify(take(input, {
|
|
14
14
|
ApplicationSourceConfig: (_) => _json(_),
|
|
@@ -20,22 +20,15 @@ export const se_CreateApplicationCommand = async (input, context) => {
|
|
|
20
20
|
Subscriptions: (_) => _json(_),
|
|
21
21
|
Tags: (_) => _json(_),
|
|
22
22
|
}));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
hostname,
|
|
26
|
-
port,
|
|
27
|
-
method: "POST",
|
|
28
|
-
headers,
|
|
29
|
-
path: resolvedPath,
|
|
30
|
-
body,
|
|
31
|
-
});
|
|
23
|
+
b.m("POST").h(headers).b(body);
|
|
24
|
+
return b.build();
|
|
32
25
|
};
|
|
33
26
|
export const se_CreateDataIntegrationCommand = async (input, context) => {
|
|
34
|
-
const
|
|
27
|
+
const b = rb(input, context);
|
|
35
28
|
const headers = {
|
|
36
29
|
"content-type": "application/json",
|
|
37
30
|
};
|
|
38
|
-
|
|
31
|
+
b.bp("/dataIntegrations");
|
|
39
32
|
let body;
|
|
40
33
|
body = JSON.stringify(take(input, {
|
|
41
34
|
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -48,22 +41,15 @@ export const se_CreateDataIntegrationCommand = async (input, context) => {
|
|
|
48
41
|
SourceURI: [],
|
|
49
42
|
Tags: (_) => _json(_),
|
|
50
43
|
}));
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
hostname,
|
|
54
|
-
port,
|
|
55
|
-
method: "POST",
|
|
56
|
-
headers,
|
|
57
|
-
path: resolvedPath,
|
|
58
|
-
body,
|
|
59
|
-
});
|
|
44
|
+
b.m("POST").h(headers).b(body);
|
|
45
|
+
return b.build();
|
|
60
46
|
};
|
|
61
47
|
export const se_CreateEventIntegrationCommand = async (input, context) => {
|
|
62
|
-
const
|
|
48
|
+
const b = rb(input, context);
|
|
63
49
|
const headers = {
|
|
64
50
|
"content-type": "application/json",
|
|
65
51
|
};
|
|
66
|
-
|
|
52
|
+
b.bp("/eventIntegrations");
|
|
67
53
|
let body;
|
|
68
54
|
body = JSON.stringify(take(input, {
|
|
69
55
|
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -73,268 +59,161 @@ export const se_CreateEventIntegrationCommand = async (input, context) => {
|
|
|
73
59
|
Name: [],
|
|
74
60
|
Tags: (_) => _json(_),
|
|
75
61
|
}));
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
hostname,
|
|
79
|
-
port,
|
|
80
|
-
method: "POST",
|
|
81
|
-
headers,
|
|
82
|
-
path: resolvedPath,
|
|
83
|
-
body,
|
|
84
|
-
});
|
|
62
|
+
b.m("POST").h(headers).b(body);
|
|
63
|
+
return b.build();
|
|
85
64
|
};
|
|
86
65
|
export const se_DeleteDataIntegrationCommand = async (input, context) => {
|
|
87
|
-
const
|
|
66
|
+
const b = rb(input, context);
|
|
88
67
|
const headers = {};
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "DataIntegrationIdentifier", () => input.DataIntegrationIdentifier, "{DataIntegrationIdentifier}", false);
|
|
68
|
+
b.bp("/dataIntegrations/{DataIntegrationIdentifier}");
|
|
69
|
+
b.p("DataIntegrationIdentifier", () => input.DataIntegrationIdentifier, "{DataIntegrationIdentifier}", false);
|
|
92
70
|
let body;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
hostname,
|
|
96
|
-
port,
|
|
97
|
-
method: "DELETE",
|
|
98
|
-
headers,
|
|
99
|
-
path: resolvedPath,
|
|
100
|
-
body,
|
|
101
|
-
});
|
|
71
|
+
b.m("DELETE").h(headers).b(body);
|
|
72
|
+
return b.build();
|
|
102
73
|
};
|
|
103
74
|
export const se_DeleteEventIntegrationCommand = async (input, context) => {
|
|
104
|
-
const
|
|
75
|
+
const b = rb(input, context);
|
|
105
76
|
const headers = {};
|
|
106
|
-
|
|
107
|
-
|
|
77
|
+
b.bp("/eventIntegrations/{Name}");
|
|
78
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
108
79
|
let body;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
hostname,
|
|
112
|
-
port,
|
|
113
|
-
method: "DELETE",
|
|
114
|
-
headers,
|
|
115
|
-
path: resolvedPath,
|
|
116
|
-
body,
|
|
117
|
-
});
|
|
80
|
+
b.m("DELETE").h(headers).b(body);
|
|
81
|
+
return b.build();
|
|
118
82
|
};
|
|
119
83
|
export const se_GetApplicationCommand = async (input, context) => {
|
|
120
|
-
const
|
|
84
|
+
const b = rb(input, context);
|
|
121
85
|
const headers = {};
|
|
122
|
-
|
|
123
|
-
|
|
86
|
+
b.bp("/applications/{Arn}");
|
|
87
|
+
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
124
88
|
let body;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
hostname,
|
|
128
|
-
port,
|
|
129
|
-
method: "GET",
|
|
130
|
-
headers,
|
|
131
|
-
path: resolvedPath,
|
|
132
|
-
body,
|
|
133
|
-
});
|
|
89
|
+
b.m("GET").h(headers).b(body);
|
|
90
|
+
return b.build();
|
|
134
91
|
};
|
|
135
92
|
export const se_GetDataIntegrationCommand = async (input, context) => {
|
|
136
|
-
const
|
|
93
|
+
const b = rb(input, context);
|
|
137
94
|
const headers = {};
|
|
138
|
-
|
|
139
|
-
|
|
95
|
+
b.bp("/dataIntegrations/{Identifier}");
|
|
96
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
140
97
|
let body;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
hostname,
|
|
144
|
-
port,
|
|
145
|
-
method: "GET",
|
|
146
|
-
headers,
|
|
147
|
-
path: resolvedPath,
|
|
148
|
-
body,
|
|
149
|
-
});
|
|
98
|
+
b.m("GET").h(headers).b(body);
|
|
99
|
+
return b.build();
|
|
150
100
|
};
|
|
151
101
|
export const se_GetEventIntegrationCommand = async (input, context) => {
|
|
152
|
-
const
|
|
102
|
+
const b = rb(input, context);
|
|
153
103
|
const headers = {};
|
|
154
|
-
|
|
155
|
-
|
|
104
|
+
b.bp("/eventIntegrations/{Name}");
|
|
105
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
156
106
|
let body;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
hostname,
|
|
160
|
-
port,
|
|
161
|
-
method: "GET",
|
|
162
|
-
headers,
|
|
163
|
-
path: resolvedPath,
|
|
164
|
-
body,
|
|
165
|
-
});
|
|
107
|
+
b.m("GET").h(headers).b(body);
|
|
108
|
+
return b.build();
|
|
166
109
|
};
|
|
167
110
|
export const se_ListApplicationsCommand = async (input, context) => {
|
|
168
|
-
const
|
|
111
|
+
const b = rb(input, context);
|
|
169
112
|
const headers = {};
|
|
170
|
-
|
|
113
|
+
b.bp("/applications");
|
|
171
114
|
const query = map({
|
|
172
|
-
|
|
173
|
-
|
|
115
|
+
[_nT]: [, input[_NT]],
|
|
116
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
174
117
|
});
|
|
175
118
|
let body;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
hostname,
|
|
179
|
-
port,
|
|
180
|
-
method: "GET",
|
|
181
|
-
headers,
|
|
182
|
-
path: resolvedPath,
|
|
183
|
-
query,
|
|
184
|
-
body,
|
|
185
|
-
});
|
|
119
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
120
|
+
return b.build();
|
|
186
121
|
};
|
|
187
122
|
export const se_ListDataIntegrationAssociationsCommand = async (input, context) => {
|
|
188
|
-
const
|
|
123
|
+
const b = rb(input, context);
|
|
189
124
|
const headers = {};
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "DataIntegrationIdentifier", () => input.DataIntegrationIdentifier, "{DataIntegrationIdentifier}", false);
|
|
125
|
+
b.bp("/dataIntegrations/{DataIntegrationIdentifier}/associations");
|
|
126
|
+
b.p("DataIntegrationIdentifier", () => input.DataIntegrationIdentifier, "{DataIntegrationIdentifier}", false);
|
|
193
127
|
const query = map({
|
|
194
|
-
|
|
195
|
-
|
|
128
|
+
[_nT]: [, input[_NT]],
|
|
129
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
196
130
|
});
|
|
197
131
|
let body;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
hostname,
|
|
201
|
-
port,
|
|
202
|
-
method: "GET",
|
|
203
|
-
headers,
|
|
204
|
-
path: resolvedPath,
|
|
205
|
-
query,
|
|
206
|
-
body,
|
|
207
|
-
});
|
|
132
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
133
|
+
return b.build();
|
|
208
134
|
};
|
|
209
135
|
export const se_ListDataIntegrationsCommand = async (input, context) => {
|
|
210
|
-
const
|
|
136
|
+
const b = rb(input, context);
|
|
211
137
|
const headers = {};
|
|
212
|
-
|
|
138
|
+
b.bp("/dataIntegrations");
|
|
213
139
|
const query = map({
|
|
214
|
-
|
|
215
|
-
|
|
140
|
+
[_nT]: [, input[_NT]],
|
|
141
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
216
142
|
});
|
|
217
143
|
let body;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
hostname,
|
|
221
|
-
port,
|
|
222
|
-
method: "GET",
|
|
223
|
-
headers,
|
|
224
|
-
path: resolvedPath,
|
|
225
|
-
query,
|
|
226
|
-
body,
|
|
227
|
-
});
|
|
144
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
145
|
+
return b.build();
|
|
228
146
|
};
|
|
229
147
|
export const se_ListEventIntegrationAssociationsCommand = async (input, context) => {
|
|
230
|
-
const
|
|
148
|
+
const b = rb(input, context);
|
|
231
149
|
const headers = {};
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "EventIntegrationName", () => input.EventIntegrationName, "{EventIntegrationName}", false);
|
|
150
|
+
b.bp("/eventIntegrations/{EventIntegrationName}/associations");
|
|
151
|
+
b.p("EventIntegrationName", () => input.EventIntegrationName, "{EventIntegrationName}", false);
|
|
235
152
|
const query = map({
|
|
236
|
-
|
|
237
|
-
|
|
153
|
+
[_nT]: [, input[_NT]],
|
|
154
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
238
155
|
});
|
|
239
156
|
let body;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
hostname,
|
|
243
|
-
port,
|
|
244
|
-
method: "GET",
|
|
245
|
-
headers,
|
|
246
|
-
path: resolvedPath,
|
|
247
|
-
query,
|
|
248
|
-
body,
|
|
249
|
-
});
|
|
157
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
158
|
+
return b.build();
|
|
250
159
|
};
|
|
251
160
|
export const se_ListEventIntegrationsCommand = async (input, context) => {
|
|
252
|
-
const
|
|
161
|
+
const b = rb(input, context);
|
|
253
162
|
const headers = {};
|
|
254
|
-
|
|
163
|
+
b.bp("/eventIntegrations");
|
|
255
164
|
const query = map({
|
|
256
|
-
|
|
257
|
-
|
|
165
|
+
[_nT]: [, input[_NT]],
|
|
166
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
258
167
|
});
|
|
259
168
|
let body;
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
hostname,
|
|
263
|
-
port,
|
|
264
|
-
method: "GET",
|
|
265
|
-
headers,
|
|
266
|
-
path: resolvedPath,
|
|
267
|
-
query,
|
|
268
|
-
body,
|
|
269
|
-
});
|
|
169
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
170
|
+
return b.build();
|
|
270
171
|
};
|
|
271
172
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
272
|
-
const
|
|
173
|
+
const b = rb(input, context);
|
|
273
174
|
const headers = {};
|
|
274
|
-
|
|
275
|
-
|
|
175
|
+
b.bp("/tags/{resourceArn}");
|
|
176
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
276
177
|
let body;
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
hostname,
|
|
280
|
-
port,
|
|
281
|
-
method: "GET",
|
|
282
|
-
headers,
|
|
283
|
-
path: resolvedPath,
|
|
284
|
-
body,
|
|
285
|
-
});
|
|
178
|
+
b.m("GET").h(headers).b(body);
|
|
179
|
+
return b.build();
|
|
286
180
|
};
|
|
287
181
|
export const se_TagResourceCommand = async (input, context) => {
|
|
288
|
-
const
|
|
182
|
+
const b = rb(input, context);
|
|
289
183
|
const headers = {
|
|
290
184
|
"content-type": "application/json",
|
|
291
185
|
};
|
|
292
|
-
|
|
293
|
-
|
|
186
|
+
b.bp("/tags/{resourceArn}");
|
|
187
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
294
188
|
let body;
|
|
295
189
|
body = JSON.stringify(take(input, {
|
|
296
190
|
tags: (_) => _json(_),
|
|
297
191
|
}));
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
hostname,
|
|
301
|
-
port,
|
|
302
|
-
method: "POST",
|
|
303
|
-
headers,
|
|
304
|
-
path: resolvedPath,
|
|
305
|
-
body,
|
|
306
|
-
});
|
|
192
|
+
b.m("POST").h(headers).b(body);
|
|
193
|
+
return b.build();
|
|
307
194
|
};
|
|
308
195
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
309
|
-
const
|
|
196
|
+
const b = rb(input, context);
|
|
310
197
|
const headers = {};
|
|
311
|
-
|
|
312
|
-
|
|
198
|
+
b.bp("/tags/{resourceArn}");
|
|
199
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
313
200
|
const query = map({
|
|
314
|
-
|
|
201
|
+
[_tK]: [
|
|
315
202
|
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
316
|
-
() => (input
|
|
203
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
317
204
|
],
|
|
318
205
|
});
|
|
319
206
|
let body;
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
hostname,
|
|
323
|
-
port,
|
|
324
|
-
method: "DELETE",
|
|
325
|
-
headers,
|
|
326
|
-
path: resolvedPath,
|
|
327
|
-
query,
|
|
328
|
-
body,
|
|
329
|
-
});
|
|
207
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
208
|
+
return b.build();
|
|
330
209
|
};
|
|
331
210
|
export const se_UpdateApplicationCommand = async (input, context) => {
|
|
332
|
-
const
|
|
211
|
+
const b = rb(input, context);
|
|
333
212
|
const headers = {
|
|
334
213
|
"content-type": "application/json",
|
|
335
214
|
};
|
|
336
|
-
|
|
337
|
-
|
|
215
|
+
b.bp("/applications/{Arn}");
|
|
216
|
+
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
338
217
|
let body;
|
|
339
218
|
body = JSON.stringify(take(input, {
|
|
340
219
|
ApplicationSourceConfig: (_) => _json(_),
|
|
@@ -343,58 +222,37 @@ export const se_UpdateApplicationCommand = async (input, context) => {
|
|
|
343
222
|
Publications: (_) => _json(_),
|
|
344
223
|
Subscriptions: (_) => _json(_),
|
|
345
224
|
}));
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
hostname,
|
|
349
|
-
port,
|
|
350
|
-
method: "PATCH",
|
|
351
|
-
headers,
|
|
352
|
-
path: resolvedPath,
|
|
353
|
-
body,
|
|
354
|
-
});
|
|
225
|
+
b.m("PATCH").h(headers).b(body);
|
|
226
|
+
return b.build();
|
|
355
227
|
};
|
|
356
228
|
export const se_UpdateDataIntegrationCommand = async (input, context) => {
|
|
357
|
-
const
|
|
229
|
+
const b = rb(input, context);
|
|
358
230
|
const headers = {
|
|
359
231
|
"content-type": "application/json",
|
|
360
232
|
};
|
|
361
|
-
|
|
362
|
-
|
|
233
|
+
b.bp("/dataIntegrations/{Identifier}");
|
|
234
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
363
235
|
let body;
|
|
364
236
|
body = JSON.stringify(take(input, {
|
|
365
237
|
Description: [],
|
|
366
238
|
Name: [],
|
|
367
239
|
}));
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
hostname,
|
|
371
|
-
port,
|
|
372
|
-
method: "PATCH",
|
|
373
|
-
headers,
|
|
374
|
-
path: resolvedPath,
|
|
375
|
-
body,
|
|
376
|
-
});
|
|
240
|
+
b.m("PATCH").h(headers).b(body);
|
|
241
|
+
return b.build();
|
|
377
242
|
};
|
|
378
243
|
export const se_UpdateEventIntegrationCommand = async (input, context) => {
|
|
379
|
-
const
|
|
244
|
+
const b = rb(input, context);
|
|
380
245
|
const headers = {
|
|
381
246
|
"content-type": "application/json",
|
|
382
247
|
};
|
|
383
|
-
|
|
384
|
-
|
|
248
|
+
b.bp("/eventIntegrations/{Name}");
|
|
249
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
385
250
|
let body;
|
|
386
251
|
body = JSON.stringify(take(input, {
|
|
387
252
|
Description: [],
|
|
388
253
|
}));
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
hostname,
|
|
392
|
-
port,
|
|
393
|
-
method: "PATCH",
|
|
394
|
-
headers,
|
|
395
|
-
path: resolvedPath,
|
|
396
|
-
body,
|
|
397
|
-
});
|
|
254
|
+
b.m("PATCH").h(headers).b(body);
|
|
255
|
+
return b.build();
|
|
398
256
|
};
|
|
399
257
|
export const de_CreateApplicationCommand = async (output, context) => {
|
|
400
258
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -1376,6 +1234,11 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1376
1234
|
value !== "" &&
|
|
1377
1235
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
1378
1236
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1237
|
+
const _MR = "MaxResults";
|
|
1238
|
+
const _NT = "NextToken";
|
|
1239
|
+
const _mR = "maxResults";
|
|
1240
|
+
const _nT = "nextToken";
|
|
1241
|
+
const _tK = "tagKeys";
|
|
1379
1242
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1380
1243
|
if (encoded.length) {
|
|
1381
1244
|
return JSON.parse(encoded);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appintegrations",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appintegrations Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.477.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.477.0",
|
|
24
|
+
"@aws-sdk/core": "3.477.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.477.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
+
"@smithy/core": "^1.2.0",
|
|
37
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
38
39
|
"@smithy/hash-node": "^2.0.17",
|
|
39
40
|
"@smithy/invalid-dependency": "^2.0.15",
|