@aws-sdk/client-appintegrations 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/ListApplicationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataIntegrationAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataIntegrationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEventIntegrationAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEventIntegrationsPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +107 -244
- package/dist-es/pagination/ListApplicationsPaginator.js +2 -23
- package/dist-es/pagination/ListDataIntegrationAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListDataIntegrationsPaginator.js +2 -23
- package/dist-es/pagination/ListEventIntegrationAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListEventIntegrationsPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +108 -245
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataIntegrationAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataIntegrationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventIntegrationAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventIntegrationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataIntegrationAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataIntegrationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEventIntegrationAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEventIntegrationsPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { AppIntegrationsClient } from "../AppIntegrationsClient";
|
|
2
3
|
import { ListEventIntegrationsCommand, } from "../commands/ListEventIntegrationsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEventIntegrationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEventIntegrations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof AppIntegrationsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListEventIntegrations = createPaginator(AppIntegrationsClient, ListEventIntegrationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -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);
|
|
@@ -4,4 +4,4 @@ import { AppIntegrationsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListApplications: (config: AppIntegrationsPaginationConfiguration, input: ListApplicationsCommandInput, ...rest: any[]) => Paginator<ListApplicationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AppIntegrationsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDataIntegrationAssociations: (config: AppIntegrationsPaginationConfiguration, input: ListDataIntegrationAssociationsCommandInput, ...rest: any[]) => Paginator<ListDataIntegrationAssociationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AppIntegrationsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDataIntegrations: (config: AppIntegrationsPaginationConfiguration, input: ListDataIntegrationsCommandInput, ...rest: any[]) => Paginator<ListDataIntegrationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AppIntegrationsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEventIntegrationAssociations: (config: AppIntegrationsPaginationConfiguration, input: ListEventIntegrationAssociationsCommandInput, ...rest: any[]) => Paginator<ListEventIntegrationAssociationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { AppIntegrationsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEventIntegrations: (config: AppIntegrationsPaginationConfiguration, input: ListEventIntegrationsCommandInput, ...rest: any[]) => Paginator<ListEventIntegrationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListApplicationsCommandOutput,
|
|
5
5
|
} from "../commands/ListApplicationsCommand";
|
|
6
6
|
import { AppIntegrationsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListApplications: (
|
|
8
8
|
config: AppIntegrationsPaginationConfiguration,
|
|
9
9
|
input: ListApplicationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListApplicationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListDataIntegrationAssociationsCommandOutput,
|
|
5
5
|
} from "../commands/ListDataIntegrationAssociationsCommand";
|
|
6
6
|
import { AppIntegrationsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDataIntegrationAssociations: (
|
|
8
8
|
config: AppIntegrationsPaginationConfiguration,
|
|
9
9
|
input: ListDataIntegrationAssociationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListDataIntegrationAssociationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListDataIntegrationsCommandOutput,
|
|
5
5
|
} from "../commands/ListDataIntegrationsCommand";
|
|
6
6
|
import { AppIntegrationsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDataIntegrations: (
|
|
8
8
|
config: AppIntegrationsPaginationConfiguration,
|
|
9
9
|
input: ListDataIntegrationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListDataIntegrationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListEventIntegrationAssociationsCommandOutput,
|
|
5
5
|
} from "../commands/ListEventIntegrationAssociationsCommand";
|
|
6
6
|
import { AppIntegrationsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEventIntegrationAssociations: (
|
|
8
8
|
config: AppIntegrationsPaginationConfiguration,
|
|
9
9
|
input: ListEventIntegrationAssociationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListEventIntegrationAssociationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListEventIntegrationsCommandOutput,
|
|
5
5
|
} from "../commands/ListEventIntegrationsCommand";
|
|
6
6
|
import { AppIntegrationsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEventIntegrations: (
|
|
8
8
|
config: AppIntegrationsPaginationConfiguration,
|
|
9
9
|
input: ListEventIntegrationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListEventIntegrationsCommandOutput>;
|