@aws-sdk/client-appintegrations 3.312.0 → 3.316.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/AppIntegrations.js +19 -210
- package/dist-cjs/protocols/Aws_restJson1.js +164 -438
- package/dist-es/AppIntegrations.js +19 -210
- package/dist-es/protocols/Aws_restJson1.js +138 -412
- package/dist-types/AppIntegrations.d.ts +28 -77
- package/dist-types/ts3.4/AppIntegrations.d.ts +4 -1
- package/package.json +6 -6
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AppIntegrations = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AppIntegrationsClient_1 = require("./AppIntegrationsClient");
|
|
5
6
|
const CreateDataIntegrationCommand_1 = require("./commands/CreateDataIntegrationCommand");
|
|
6
7
|
const CreateEventIntegrationCommand_1 = require("./commands/CreateEventIntegrationCommand");
|
|
@@ -17,216 +18,24 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
17
18
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
18
19
|
const UpdateDataIntegrationCommand_1 = require("./commands/UpdateDataIntegrationCommand");
|
|
19
20
|
const UpdateEventIntegrationCommand_1 = require("./commands/UpdateEventIntegrationCommand");
|
|
21
|
+
const commands = {
|
|
22
|
+
CreateDataIntegrationCommand: CreateDataIntegrationCommand_1.CreateDataIntegrationCommand,
|
|
23
|
+
CreateEventIntegrationCommand: CreateEventIntegrationCommand_1.CreateEventIntegrationCommand,
|
|
24
|
+
DeleteDataIntegrationCommand: DeleteDataIntegrationCommand_1.DeleteDataIntegrationCommand,
|
|
25
|
+
DeleteEventIntegrationCommand: DeleteEventIntegrationCommand_1.DeleteEventIntegrationCommand,
|
|
26
|
+
GetDataIntegrationCommand: GetDataIntegrationCommand_1.GetDataIntegrationCommand,
|
|
27
|
+
GetEventIntegrationCommand: GetEventIntegrationCommand_1.GetEventIntegrationCommand,
|
|
28
|
+
ListDataIntegrationAssociationsCommand: ListDataIntegrationAssociationsCommand_1.ListDataIntegrationAssociationsCommand,
|
|
29
|
+
ListDataIntegrationsCommand: ListDataIntegrationsCommand_1.ListDataIntegrationsCommand,
|
|
30
|
+
ListEventIntegrationAssociationsCommand: ListEventIntegrationAssociationsCommand_1.ListEventIntegrationAssociationsCommand,
|
|
31
|
+
ListEventIntegrationsCommand: ListEventIntegrationsCommand_1.ListEventIntegrationsCommand,
|
|
32
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
33
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
34
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
35
|
+
UpdateDataIntegrationCommand: UpdateDataIntegrationCommand_1.UpdateDataIntegrationCommand,
|
|
36
|
+
UpdateEventIntegrationCommand: UpdateEventIntegrationCommand_1.UpdateEventIntegrationCommand,
|
|
37
|
+
};
|
|
20
38
|
class AppIntegrations extends AppIntegrationsClient_1.AppIntegrationsClient {
|
|
21
|
-
createDataIntegration(args, optionsOrCb, cb) {
|
|
22
|
-
const command = new CreateDataIntegrationCommand_1.CreateDataIntegrationCommand(args);
|
|
23
|
-
if (typeof optionsOrCb === "function") {
|
|
24
|
-
this.send(command, optionsOrCb);
|
|
25
|
-
}
|
|
26
|
-
else if (typeof cb === "function") {
|
|
27
|
-
if (typeof optionsOrCb !== "object")
|
|
28
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
29
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
return this.send(command, optionsOrCb);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
createEventIntegration(args, optionsOrCb, cb) {
|
|
36
|
-
const command = new CreateEventIntegrationCommand_1.CreateEventIntegrationCommand(args);
|
|
37
|
-
if (typeof optionsOrCb === "function") {
|
|
38
|
-
this.send(command, optionsOrCb);
|
|
39
|
-
}
|
|
40
|
-
else if (typeof cb === "function") {
|
|
41
|
-
if (typeof optionsOrCb !== "object")
|
|
42
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
43
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
return this.send(command, optionsOrCb);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
deleteDataIntegration(args, optionsOrCb, cb) {
|
|
50
|
-
const command = new DeleteDataIntegrationCommand_1.DeleteDataIntegrationCommand(args);
|
|
51
|
-
if (typeof optionsOrCb === "function") {
|
|
52
|
-
this.send(command, optionsOrCb);
|
|
53
|
-
}
|
|
54
|
-
else if (typeof cb === "function") {
|
|
55
|
-
if (typeof optionsOrCb !== "object")
|
|
56
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
57
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
return this.send(command, optionsOrCb);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
deleteEventIntegration(args, optionsOrCb, cb) {
|
|
64
|
-
const command = new DeleteEventIntegrationCommand_1.DeleteEventIntegrationCommand(args);
|
|
65
|
-
if (typeof optionsOrCb === "function") {
|
|
66
|
-
this.send(command, optionsOrCb);
|
|
67
|
-
}
|
|
68
|
-
else if (typeof cb === "function") {
|
|
69
|
-
if (typeof optionsOrCb !== "object")
|
|
70
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
71
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
return this.send(command, optionsOrCb);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
getDataIntegration(args, optionsOrCb, cb) {
|
|
78
|
-
const command = new GetDataIntegrationCommand_1.GetDataIntegrationCommand(args);
|
|
79
|
-
if (typeof optionsOrCb === "function") {
|
|
80
|
-
this.send(command, optionsOrCb);
|
|
81
|
-
}
|
|
82
|
-
else if (typeof cb === "function") {
|
|
83
|
-
if (typeof optionsOrCb !== "object")
|
|
84
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
85
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
86
|
-
}
|
|
87
|
-
else {
|
|
88
|
-
return this.send(command, optionsOrCb);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
getEventIntegration(args, optionsOrCb, cb) {
|
|
92
|
-
const command = new GetEventIntegrationCommand_1.GetEventIntegrationCommand(args);
|
|
93
|
-
if (typeof optionsOrCb === "function") {
|
|
94
|
-
this.send(command, optionsOrCb);
|
|
95
|
-
}
|
|
96
|
-
else if (typeof cb === "function") {
|
|
97
|
-
if (typeof optionsOrCb !== "object")
|
|
98
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
99
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
100
|
-
}
|
|
101
|
-
else {
|
|
102
|
-
return this.send(command, optionsOrCb);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
listDataIntegrationAssociations(args, optionsOrCb, cb) {
|
|
106
|
-
const command = new ListDataIntegrationAssociationsCommand_1.ListDataIntegrationAssociationsCommand(args);
|
|
107
|
-
if (typeof optionsOrCb === "function") {
|
|
108
|
-
this.send(command, optionsOrCb);
|
|
109
|
-
}
|
|
110
|
-
else if (typeof cb === "function") {
|
|
111
|
-
if (typeof optionsOrCb !== "object")
|
|
112
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
113
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
return this.send(command, optionsOrCb);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
listDataIntegrations(args, optionsOrCb, cb) {
|
|
120
|
-
const command = new ListDataIntegrationsCommand_1.ListDataIntegrationsCommand(args);
|
|
121
|
-
if (typeof optionsOrCb === "function") {
|
|
122
|
-
this.send(command, optionsOrCb);
|
|
123
|
-
}
|
|
124
|
-
else if (typeof cb === "function") {
|
|
125
|
-
if (typeof optionsOrCb !== "object")
|
|
126
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
127
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
return this.send(command, optionsOrCb);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
listEventIntegrationAssociations(args, optionsOrCb, cb) {
|
|
134
|
-
const command = new ListEventIntegrationAssociationsCommand_1.ListEventIntegrationAssociationsCommand(args);
|
|
135
|
-
if (typeof optionsOrCb === "function") {
|
|
136
|
-
this.send(command, optionsOrCb);
|
|
137
|
-
}
|
|
138
|
-
else if (typeof cb === "function") {
|
|
139
|
-
if (typeof optionsOrCb !== "object")
|
|
140
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
141
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
return this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
listEventIntegrations(args, optionsOrCb, cb) {
|
|
148
|
-
const command = new ListEventIntegrationsCommand_1.ListEventIntegrationsCommand(args);
|
|
149
|
-
if (typeof optionsOrCb === "function") {
|
|
150
|
-
this.send(command, optionsOrCb);
|
|
151
|
-
}
|
|
152
|
-
else if (typeof cb === "function") {
|
|
153
|
-
if (typeof optionsOrCb !== "object")
|
|
154
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
155
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
156
|
-
}
|
|
157
|
-
else {
|
|
158
|
-
return this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
162
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
163
|
-
if (typeof optionsOrCb === "function") {
|
|
164
|
-
this.send(command, optionsOrCb);
|
|
165
|
-
}
|
|
166
|
-
else if (typeof cb === "function") {
|
|
167
|
-
if (typeof optionsOrCb !== "object")
|
|
168
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
169
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
170
|
-
}
|
|
171
|
-
else {
|
|
172
|
-
return this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
tagResource(args, optionsOrCb, cb) {
|
|
176
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
177
|
-
if (typeof optionsOrCb === "function") {
|
|
178
|
-
this.send(command, optionsOrCb);
|
|
179
|
-
}
|
|
180
|
-
else if (typeof cb === "function") {
|
|
181
|
-
if (typeof optionsOrCb !== "object")
|
|
182
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
183
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
184
|
-
}
|
|
185
|
-
else {
|
|
186
|
-
return this.send(command, optionsOrCb);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
untagResource(args, optionsOrCb, cb) {
|
|
190
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
191
|
-
if (typeof optionsOrCb === "function") {
|
|
192
|
-
this.send(command, optionsOrCb);
|
|
193
|
-
}
|
|
194
|
-
else if (typeof cb === "function") {
|
|
195
|
-
if (typeof optionsOrCb !== "object")
|
|
196
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
197
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
198
|
-
}
|
|
199
|
-
else {
|
|
200
|
-
return this.send(command, optionsOrCb);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
updateDataIntegration(args, optionsOrCb, cb) {
|
|
204
|
-
const command = new UpdateDataIntegrationCommand_1.UpdateDataIntegrationCommand(args);
|
|
205
|
-
if (typeof optionsOrCb === "function") {
|
|
206
|
-
this.send(command, optionsOrCb);
|
|
207
|
-
}
|
|
208
|
-
else if (typeof cb === "function") {
|
|
209
|
-
if (typeof optionsOrCb !== "object")
|
|
210
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
211
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
212
|
-
}
|
|
213
|
-
else {
|
|
214
|
-
return this.send(command, optionsOrCb);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
updateEventIntegration(args, optionsOrCb, cb) {
|
|
218
|
-
const command = new UpdateEventIntegrationCommand_1.UpdateEventIntegrationCommand(args);
|
|
219
|
-
if (typeof optionsOrCb === "function") {
|
|
220
|
-
this.send(command, optionsOrCb);
|
|
221
|
-
}
|
|
222
|
-
else if (typeof cb === "function") {
|
|
223
|
-
if (typeof optionsOrCb !== "object")
|
|
224
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
225
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
return this.send(command, optionsOrCb);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
39
|
}
|
|
232
40
|
exports.AppIntegrations = AppIntegrations;
|
|
41
|
+
(0, smithy_client_1.createAggregatedClient)(commands, AppIntegrations);
|