@aws-sdk/client-appintegrations 3.315.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 +2 -2
- package/dist-es/AppIntegrations.js +19 -210
- package/dist-es/protocols/Aws_restJson1.js +2 -2
- 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);
|
|
@@ -14,7 +14,7 @@ const se_CreateDataIntegrationCommand = async (input, context) => {
|
|
|
14
14
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataIntegrations";
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
17
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
17
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
18
18
|
Description: [],
|
|
19
19
|
FileConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
20
20
|
KmsKey: [],
|
|
@@ -43,7 +43,7 @@ const se_CreateEventIntegrationCommand = async (input, context) => {
|
|
|
43
43
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/eventIntegrations";
|
|
44
44
|
let body;
|
|
45
45
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
46
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
46
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
47
47
|
Description: [],
|
|
48
48
|
EventBridgeBus: [],
|
|
49
49
|
EventFilter: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { AppIntegrationsClient } from "./AppIntegrationsClient";
|
|
2
3
|
import { CreateDataIntegrationCommand, } from "./commands/CreateDataIntegrationCommand";
|
|
3
4
|
import { CreateEventIntegrationCommand, } from "./commands/CreateEventIntegrationCommand";
|
|
@@ -14,215 +15,23 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
14
15
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
15
16
|
import { UpdateDataIntegrationCommand, } from "./commands/UpdateDataIntegrationCommand";
|
|
16
17
|
import { UpdateEventIntegrationCommand, } from "./commands/UpdateEventIntegrationCommand";
|
|
18
|
+
const commands = {
|
|
19
|
+
CreateDataIntegrationCommand,
|
|
20
|
+
CreateEventIntegrationCommand,
|
|
21
|
+
DeleteDataIntegrationCommand,
|
|
22
|
+
DeleteEventIntegrationCommand,
|
|
23
|
+
GetDataIntegrationCommand,
|
|
24
|
+
GetEventIntegrationCommand,
|
|
25
|
+
ListDataIntegrationAssociationsCommand,
|
|
26
|
+
ListDataIntegrationsCommand,
|
|
27
|
+
ListEventIntegrationAssociationsCommand,
|
|
28
|
+
ListEventIntegrationsCommand,
|
|
29
|
+
ListTagsForResourceCommand,
|
|
30
|
+
TagResourceCommand,
|
|
31
|
+
UntagResourceCommand,
|
|
32
|
+
UpdateDataIntegrationCommand,
|
|
33
|
+
UpdateEventIntegrationCommand,
|
|
34
|
+
};
|
|
17
35
|
export class AppIntegrations extends AppIntegrationsClient {
|
|
18
|
-
createDataIntegration(args, optionsOrCb, cb) {
|
|
19
|
-
const command = new CreateDataIntegrationCommand(args);
|
|
20
|
-
if (typeof optionsOrCb === "function") {
|
|
21
|
-
this.send(command, optionsOrCb);
|
|
22
|
-
}
|
|
23
|
-
else if (typeof cb === "function") {
|
|
24
|
-
if (typeof optionsOrCb !== "object")
|
|
25
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
26
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
return this.send(command, optionsOrCb);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
createEventIntegration(args, optionsOrCb, cb) {
|
|
33
|
-
const command = new CreateEventIntegrationCommand(args);
|
|
34
|
-
if (typeof optionsOrCb === "function") {
|
|
35
|
-
this.send(command, optionsOrCb);
|
|
36
|
-
}
|
|
37
|
-
else if (typeof cb === "function") {
|
|
38
|
-
if (typeof optionsOrCb !== "object")
|
|
39
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
40
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
return this.send(command, optionsOrCb);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
deleteDataIntegration(args, optionsOrCb, cb) {
|
|
47
|
-
const command = new DeleteDataIntegrationCommand(args);
|
|
48
|
-
if (typeof optionsOrCb === "function") {
|
|
49
|
-
this.send(command, optionsOrCb);
|
|
50
|
-
}
|
|
51
|
-
else if (typeof cb === "function") {
|
|
52
|
-
if (typeof optionsOrCb !== "object")
|
|
53
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
54
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
return this.send(command, optionsOrCb);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
deleteEventIntegration(args, optionsOrCb, cb) {
|
|
61
|
-
const command = new DeleteEventIntegrationCommand(args);
|
|
62
|
-
if (typeof optionsOrCb === "function") {
|
|
63
|
-
this.send(command, optionsOrCb);
|
|
64
|
-
}
|
|
65
|
-
else if (typeof cb === "function") {
|
|
66
|
-
if (typeof optionsOrCb !== "object")
|
|
67
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
68
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
return this.send(command, optionsOrCb);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
getDataIntegration(args, optionsOrCb, cb) {
|
|
75
|
-
const command = new GetDataIntegrationCommand(args);
|
|
76
|
-
if (typeof optionsOrCb === "function") {
|
|
77
|
-
this.send(command, optionsOrCb);
|
|
78
|
-
}
|
|
79
|
-
else if (typeof cb === "function") {
|
|
80
|
-
if (typeof optionsOrCb !== "object")
|
|
81
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
82
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
return this.send(command, optionsOrCb);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
getEventIntegration(args, optionsOrCb, cb) {
|
|
89
|
-
const command = new GetEventIntegrationCommand(args);
|
|
90
|
-
if (typeof optionsOrCb === "function") {
|
|
91
|
-
this.send(command, optionsOrCb);
|
|
92
|
-
}
|
|
93
|
-
else if (typeof cb === "function") {
|
|
94
|
-
if (typeof optionsOrCb !== "object")
|
|
95
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
96
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
return this.send(command, optionsOrCb);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
listDataIntegrationAssociations(args, optionsOrCb, cb) {
|
|
103
|
-
const command = new ListDataIntegrationAssociationsCommand(args);
|
|
104
|
-
if (typeof optionsOrCb === "function") {
|
|
105
|
-
this.send(command, optionsOrCb);
|
|
106
|
-
}
|
|
107
|
-
else if (typeof cb === "function") {
|
|
108
|
-
if (typeof optionsOrCb !== "object")
|
|
109
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
110
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
return this.send(command, optionsOrCb);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
listDataIntegrations(args, optionsOrCb, cb) {
|
|
117
|
-
const command = new ListDataIntegrationsCommand(args);
|
|
118
|
-
if (typeof optionsOrCb === "function") {
|
|
119
|
-
this.send(command, optionsOrCb);
|
|
120
|
-
}
|
|
121
|
-
else if (typeof cb === "function") {
|
|
122
|
-
if (typeof optionsOrCb !== "object")
|
|
123
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
124
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
return this.send(command, optionsOrCb);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
listEventIntegrationAssociations(args, optionsOrCb, cb) {
|
|
131
|
-
const command = new ListEventIntegrationAssociationsCommand(args);
|
|
132
|
-
if (typeof optionsOrCb === "function") {
|
|
133
|
-
this.send(command, optionsOrCb);
|
|
134
|
-
}
|
|
135
|
-
else if (typeof cb === "function") {
|
|
136
|
-
if (typeof optionsOrCb !== "object")
|
|
137
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
138
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
139
|
-
}
|
|
140
|
-
else {
|
|
141
|
-
return this.send(command, optionsOrCb);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
listEventIntegrations(args, optionsOrCb, cb) {
|
|
145
|
-
const command = new ListEventIntegrationsCommand(args);
|
|
146
|
-
if (typeof optionsOrCb === "function") {
|
|
147
|
-
this.send(command, optionsOrCb);
|
|
148
|
-
}
|
|
149
|
-
else if (typeof cb === "function") {
|
|
150
|
-
if (typeof optionsOrCb !== "object")
|
|
151
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
152
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
153
|
-
}
|
|
154
|
-
else {
|
|
155
|
-
return this.send(command, optionsOrCb);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
159
|
-
const command = new ListTagsForResourceCommand(args);
|
|
160
|
-
if (typeof optionsOrCb === "function") {
|
|
161
|
-
this.send(command, optionsOrCb);
|
|
162
|
-
}
|
|
163
|
-
else if (typeof cb === "function") {
|
|
164
|
-
if (typeof optionsOrCb !== "object")
|
|
165
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
166
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
167
|
-
}
|
|
168
|
-
else {
|
|
169
|
-
return this.send(command, optionsOrCb);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
tagResource(args, optionsOrCb, cb) {
|
|
173
|
-
const command = new TagResourceCommand(args);
|
|
174
|
-
if (typeof optionsOrCb === "function") {
|
|
175
|
-
this.send(command, optionsOrCb);
|
|
176
|
-
}
|
|
177
|
-
else if (typeof cb === "function") {
|
|
178
|
-
if (typeof optionsOrCb !== "object")
|
|
179
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
180
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
181
|
-
}
|
|
182
|
-
else {
|
|
183
|
-
return this.send(command, optionsOrCb);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
untagResource(args, optionsOrCb, cb) {
|
|
187
|
-
const command = new UntagResourceCommand(args);
|
|
188
|
-
if (typeof optionsOrCb === "function") {
|
|
189
|
-
this.send(command, optionsOrCb);
|
|
190
|
-
}
|
|
191
|
-
else if (typeof cb === "function") {
|
|
192
|
-
if (typeof optionsOrCb !== "object")
|
|
193
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
194
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
195
|
-
}
|
|
196
|
-
else {
|
|
197
|
-
return this.send(command, optionsOrCb);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
updateDataIntegration(args, optionsOrCb, cb) {
|
|
201
|
-
const command = new UpdateDataIntegrationCommand(args);
|
|
202
|
-
if (typeof optionsOrCb === "function") {
|
|
203
|
-
this.send(command, optionsOrCb);
|
|
204
|
-
}
|
|
205
|
-
else if (typeof cb === "function") {
|
|
206
|
-
if (typeof optionsOrCb !== "object")
|
|
207
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
208
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
209
|
-
}
|
|
210
|
-
else {
|
|
211
|
-
return this.send(command, optionsOrCb);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
updateEventIntegration(args, optionsOrCb, cb) {
|
|
215
|
-
const command = new UpdateEventIntegrationCommand(args);
|
|
216
|
-
if (typeof optionsOrCb === "function") {
|
|
217
|
-
this.send(command, optionsOrCb);
|
|
218
|
-
}
|
|
219
|
-
else if (typeof cb === "function") {
|
|
220
|
-
if (typeof optionsOrCb !== "object")
|
|
221
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
222
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
223
|
-
}
|
|
224
|
-
else {
|
|
225
|
-
return this.send(command, optionsOrCb);
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
36
|
}
|
|
37
|
+
createAggregatedClient(commands, AppIntegrations);
|
|
@@ -11,7 +11,7 @@ export const se_CreateDataIntegrationCommand = async (input, context) => {
|
|
|
11
11
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataIntegrations";
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify(take(input, {
|
|
14
|
-
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
14
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
15
15
|
Description: [],
|
|
16
16
|
FileConfiguration: (_) => _json(_),
|
|
17
17
|
KmsKey: [],
|
|
@@ -39,7 +39,7 @@ export const se_CreateEventIntegrationCommand = async (input, context) => {
|
|
|
39
39
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/eventIntegrations";
|
|
40
40
|
let body;
|
|
41
41
|
body = JSON.stringify(take(input, {
|
|
42
|
-
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
42
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
43
43
|
Description: [],
|
|
44
44
|
EventBridgeBus: [],
|
|
45
45
|
EventFilter: (_) => _json(_),
|
|
@@ -15,156 +15,107 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
15
15
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
16
16
|
import { UpdateDataIntegrationCommandInput, UpdateDataIntegrationCommandOutput } from "./commands/UpdateDataIntegrationCommand";
|
|
17
17
|
import { UpdateEventIntegrationCommandInput, UpdateEventIntegrationCommandOutput } from "./commands/UpdateEventIntegrationCommand";
|
|
18
|
-
|
|
19
|
-
* @public
|
|
20
|
-
* <p>The Amazon AppIntegrations service enables you to configure and reuse connections to external
|
|
21
|
-
* applications.</p>
|
|
22
|
-
* <p>For information about how you can use external applications with Amazon Connect, see
|
|
23
|
-
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/crm.html">Set up pre-built
|
|
24
|
-
* integrations</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-wisdom.html">Deliver information to agents
|
|
25
|
-
* using Amazon Connect Wisdom</a> in the <i>Amazon Connect Administrator
|
|
26
|
-
* Guide</i>.</p>
|
|
27
|
-
*/
|
|
28
|
-
export declare class AppIntegrations extends AppIntegrationsClient {
|
|
18
|
+
export interface AppIntegrations {
|
|
29
19
|
/**
|
|
30
|
-
* @
|
|
31
|
-
* <p>Creates and persists a DataIntegration resource.</p>
|
|
32
|
-
* <note>
|
|
33
|
-
* <p>You cannot create a DataIntegration association for a DataIntegration that has been
|
|
34
|
-
* previously associated. Use a different DataIntegration, or recreate the DataIntegration
|
|
35
|
-
* using the <code>CreateDataIntegration</code> API.</p>
|
|
36
|
-
* </note>
|
|
20
|
+
* @see {@link CreateDataIntegrationCommand}
|
|
37
21
|
*/
|
|
38
22
|
createDataIntegration(args: CreateDataIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataIntegrationCommandOutput>;
|
|
39
23
|
createDataIntegration(args: CreateDataIntegrationCommandInput, cb: (err: any, data?: CreateDataIntegrationCommandOutput) => void): void;
|
|
40
24
|
createDataIntegration(args: CreateDataIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataIntegrationCommandOutput) => void): void;
|
|
41
25
|
/**
|
|
42
|
-
* @
|
|
43
|
-
* <p>Creates an EventIntegration, given a specified name, description, and a reference to an
|
|
44
|
-
* Amazon EventBridge bus in your account and a partner event source that pushes events to
|
|
45
|
-
* that bus. No objects are created in the your account, only metadata that is persisted on the
|
|
46
|
-
* EventIntegration control plane.</p>
|
|
26
|
+
* @see {@link CreateEventIntegrationCommand}
|
|
47
27
|
*/
|
|
48
28
|
createEventIntegration(args: CreateEventIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventIntegrationCommandOutput>;
|
|
49
29
|
createEventIntegration(args: CreateEventIntegrationCommandInput, cb: (err: any, data?: CreateEventIntegrationCommandOutput) => void): void;
|
|
50
30
|
createEventIntegration(args: CreateEventIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventIntegrationCommandOutput) => void): void;
|
|
51
31
|
/**
|
|
52
|
-
* @
|
|
53
|
-
* <p>Deletes the DataIntegration. Only DataIntegrations that don't have any
|
|
54
|
-
* DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the
|
|
55
|
-
* underlying Amazon AppFlow flow and service linked role. </p>
|
|
56
|
-
* <note>
|
|
57
|
-
* <p>You cannot create a DataIntegration association for a DataIntegration that has been previously associated.
|
|
58
|
-
* Use a different DataIntegration, or recreate the DataIntegration using the
|
|
59
|
-
* <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> API.</p>
|
|
60
|
-
* </note>
|
|
32
|
+
* @see {@link DeleteDataIntegrationCommand}
|
|
61
33
|
*/
|
|
62
34
|
deleteDataIntegration(args: DeleteDataIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataIntegrationCommandOutput>;
|
|
63
35
|
deleteDataIntegration(args: DeleteDataIntegrationCommandInput, cb: (err: any, data?: DeleteDataIntegrationCommandOutput) => void): void;
|
|
64
36
|
deleteDataIntegration(args: DeleteDataIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataIntegrationCommandOutput) => void): void;
|
|
65
37
|
/**
|
|
66
|
-
* @
|
|
67
|
-
* <p>Deletes the specified existing event integration. If the event integration is associated
|
|
68
|
-
* with clients, the request is rejected.</p>
|
|
38
|
+
* @see {@link DeleteEventIntegrationCommand}
|
|
69
39
|
*/
|
|
70
40
|
deleteEventIntegration(args: DeleteEventIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventIntegrationCommandOutput>;
|
|
71
41
|
deleteEventIntegration(args: DeleteEventIntegrationCommandInput, cb: (err: any, data?: DeleteEventIntegrationCommandOutput) => void): void;
|
|
72
42
|
deleteEventIntegration(args: DeleteEventIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventIntegrationCommandOutput) => void): void;
|
|
73
43
|
/**
|
|
74
|
-
* @
|
|
75
|
-
* <p>Returns information about the DataIntegration.</p>
|
|
76
|
-
* <note>
|
|
77
|
-
* <p>You cannot create a DataIntegration association for a DataIntegration that has been previously associated.
|
|
78
|
-
* Use a different DataIntegration, or recreate the DataIntegration using the
|
|
79
|
-
* <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> API.</p>
|
|
80
|
-
* </note>
|
|
44
|
+
* @see {@link GetDataIntegrationCommand}
|
|
81
45
|
*/
|
|
82
46
|
getDataIntegration(args: GetDataIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<GetDataIntegrationCommandOutput>;
|
|
83
47
|
getDataIntegration(args: GetDataIntegrationCommandInput, cb: (err: any, data?: GetDataIntegrationCommandOutput) => void): void;
|
|
84
48
|
getDataIntegration(args: GetDataIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataIntegrationCommandOutput) => void): void;
|
|
85
49
|
/**
|
|
86
|
-
* @
|
|
87
|
-
* <p>Returns information about the event integration.</p>
|
|
50
|
+
* @see {@link GetEventIntegrationCommand}
|
|
88
51
|
*/
|
|
89
52
|
getEventIntegration(args: GetEventIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<GetEventIntegrationCommandOutput>;
|
|
90
53
|
getEventIntegration(args: GetEventIntegrationCommandInput, cb: (err: any, data?: GetEventIntegrationCommandOutput) => void): void;
|
|
91
54
|
getEventIntegration(args: GetEventIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventIntegrationCommandOutput) => void): void;
|
|
92
55
|
/**
|
|
93
|
-
* @
|
|
94
|
-
* <p>Returns a paginated list of DataIntegration associations in the account.</p>
|
|
95
|
-
* <note>
|
|
96
|
-
* <p>You cannot create a DataIntegration association for a DataIntegration that has been previously associated.
|
|
97
|
-
* Use a different DataIntegration, or recreate the DataIntegration using the
|
|
98
|
-
* <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> API.</p>
|
|
99
|
-
* </note>
|
|
56
|
+
* @see {@link ListDataIntegrationAssociationsCommand}
|
|
100
57
|
*/
|
|
101
58
|
listDataIntegrationAssociations(args: ListDataIntegrationAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListDataIntegrationAssociationsCommandOutput>;
|
|
102
59
|
listDataIntegrationAssociations(args: ListDataIntegrationAssociationsCommandInput, cb: (err: any, data?: ListDataIntegrationAssociationsCommandOutput) => void): void;
|
|
103
60
|
listDataIntegrationAssociations(args: ListDataIntegrationAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataIntegrationAssociationsCommandOutput) => void): void;
|
|
104
61
|
/**
|
|
105
|
-
* @
|
|
106
|
-
* <p>Returns a paginated list of DataIntegrations in the account.</p>
|
|
107
|
-
* <note>
|
|
108
|
-
* <p>You cannot create a DataIntegration association for a DataIntegration that has been previously associated.
|
|
109
|
-
* Use a different DataIntegration, or recreate the DataIntegration using the
|
|
110
|
-
* <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> API.</p>
|
|
111
|
-
* </note>
|
|
62
|
+
* @see {@link ListDataIntegrationsCommand}
|
|
112
63
|
*/
|
|
113
64
|
listDataIntegrations(args: ListDataIntegrationsCommandInput, options?: __HttpHandlerOptions): Promise<ListDataIntegrationsCommandOutput>;
|
|
114
65
|
listDataIntegrations(args: ListDataIntegrationsCommandInput, cb: (err: any, data?: ListDataIntegrationsCommandOutput) => void): void;
|
|
115
66
|
listDataIntegrations(args: ListDataIntegrationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataIntegrationsCommandOutput) => void): void;
|
|
116
67
|
/**
|
|
117
|
-
* @
|
|
118
|
-
* <p>Returns a paginated list of event integration associations in the account. </p>
|
|
68
|
+
* @see {@link ListEventIntegrationAssociationsCommand}
|
|
119
69
|
*/
|
|
120
70
|
listEventIntegrationAssociations(args: ListEventIntegrationAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventIntegrationAssociationsCommandOutput>;
|
|
121
71
|
listEventIntegrationAssociations(args: ListEventIntegrationAssociationsCommandInput, cb: (err: any, data?: ListEventIntegrationAssociationsCommandOutput) => void): void;
|
|
122
72
|
listEventIntegrationAssociations(args: ListEventIntegrationAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventIntegrationAssociationsCommandOutput) => void): void;
|
|
123
73
|
/**
|
|
124
|
-
* @
|
|
125
|
-
* <p>Returns a paginated list of event integrations in the account.</p>
|
|
74
|
+
* @see {@link ListEventIntegrationsCommand}
|
|
126
75
|
*/
|
|
127
76
|
listEventIntegrations(args: ListEventIntegrationsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventIntegrationsCommandOutput>;
|
|
128
77
|
listEventIntegrations(args: ListEventIntegrationsCommandInput, cb: (err: any, data?: ListEventIntegrationsCommandOutput) => void): void;
|
|
129
78
|
listEventIntegrations(args: ListEventIntegrationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventIntegrationsCommandOutput) => void): void;
|
|
130
79
|
/**
|
|
131
|
-
* @
|
|
132
|
-
* <p>Lists the tags for the specified resource.</p>
|
|
80
|
+
* @see {@link ListTagsForResourceCommand}
|
|
133
81
|
*/
|
|
134
82
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
135
83
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
136
84
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
137
85
|
/**
|
|
138
|
-
* @
|
|
139
|
-
* <p>Adds the specified tags to the specified resource.</p>
|
|
86
|
+
* @see {@link TagResourceCommand}
|
|
140
87
|
*/
|
|
141
88
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
142
89
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
143
90
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
144
91
|
/**
|
|
145
|
-
* @
|
|
146
|
-
* <p>Removes the specified tags from the specified resource.</p>
|
|
92
|
+
* @see {@link UntagResourceCommand}
|
|
147
93
|
*/
|
|
148
94
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
149
95
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
150
96
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
151
97
|
/**
|
|
152
|
-
* @
|
|
153
|
-
* <p>Updates the description of a DataIntegration.</p>
|
|
154
|
-
* <note>
|
|
155
|
-
* <p>You cannot create a DataIntegration association for a DataIntegration that has been previously associated.
|
|
156
|
-
* Use a different DataIntegration, or recreate the DataIntegration using the
|
|
157
|
-
* <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> API.</p>
|
|
158
|
-
* </note>
|
|
98
|
+
* @see {@link UpdateDataIntegrationCommand}
|
|
159
99
|
*/
|
|
160
100
|
updateDataIntegration(args: UpdateDataIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataIntegrationCommandOutput>;
|
|
161
101
|
updateDataIntegration(args: UpdateDataIntegrationCommandInput, cb: (err: any, data?: UpdateDataIntegrationCommandOutput) => void): void;
|
|
162
102
|
updateDataIntegration(args: UpdateDataIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataIntegrationCommandOutput) => void): void;
|
|
163
103
|
/**
|
|
164
|
-
* @
|
|
165
|
-
* <p>Updates the description of an event integration.</p>
|
|
104
|
+
* @see {@link UpdateEventIntegrationCommand}
|
|
166
105
|
*/
|
|
167
106
|
updateEventIntegration(args: UpdateEventIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEventIntegrationCommandOutput>;
|
|
168
107
|
updateEventIntegration(args: UpdateEventIntegrationCommandInput, cb: (err: any, data?: UpdateEventIntegrationCommandOutput) => void): void;
|
|
169
108
|
updateEventIntegration(args: UpdateEventIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventIntegrationCommandOutput) => void): void;
|
|
170
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
* <p>The Amazon AppIntegrations service enables you to configure and reuse connections to external
|
|
113
|
+
* applications.</p>
|
|
114
|
+
* <p>For information about how you can use external applications with Amazon Connect, see
|
|
115
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/crm.html">Set up pre-built
|
|
116
|
+
* integrations</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-wisdom.html">Deliver information to agents
|
|
117
|
+
* using Amazon Connect Wisdom</a> in the <i>Amazon Connect Administrator
|
|
118
|
+
* Guide</i>.</p>
|
|
119
|
+
*/
|
|
120
|
+
export declare class AppIntegrations extends AppIntegrationsClient implements AppIntegrations {
|
|
121
|
+
}
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
UpdateEventIntegrationCommandInput,
|
|
61
61
|
UpdateEventIntegrationCommandOutput,
|
|
62
62
|
} from "./commands/UpdateEventIntegrationCommand";
|
|
63
|
-
export
|
|
63
|
+
export interface AppIntegrations {
|
|
64
64
|
createDataIntegration(
|
|
65
65
|
args: CreateDataIntegrationCommandInput,
|
|
66
66
|
options?: __HttpHandlerOptions
|
|
@@ -257,3 +257,6 @@ export declare class AppIntegrations extends AppIntegrationsClient {
|
|
|
257
257
|
cb: (err: any, data?: UpdateEventIntegrationCommandOutput) => void
|
|
258
258
|
): void;
|
|
259
259
|
}
|
|
260
|
+
export declare class AppIntegrations
|
|
261
|
+
extends AppIntegrationsClient
|
|
262
|
+
implements AppIntegrations {}
|
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.316.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|