@aws-sdk/client-appintegrations 3.185.0 → 3.188.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/CHANGELOG.md +16 -0
- package/dist-es/AppIntegrations.js +62 -69
- package/dist-es/AppIntegrationsClient.js +22 -28
- package/dist-es/commands/CreateDataIntegrationCommand.js +21 -28
- package/dist-es/commands/CreateEventIntegrationCommand.js +21 -28
- package/dist-es/commands/DeleteDataIntegrationCommand.js +21 -28
- package/dist-es/commands/DeleteEventIntegrationCommand.js +21 -28
- package/dist-es/commands/GetDataIntegrationCommand.js +21 -28
- package/dist-es/commands/GetEventIntegrationCommand.js +21 -28
- package/dist-es/commands/ListDataIntegrationAssociationsCommand.js +21 -28
- package/dist-es/commands/ListDataIntegrationsCommand.js +21 -28
- package/dist-es/commands/ListEventIntegrationAssociationsCommand.js +21 -28
- package/dist-es/commands/ListEventIntegrationsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateDataIntegrationCommand.js +21 -28
- package/dist-es/commands/UpdateEventIntegrationCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AppIntegrationsServiceException.js +5 -10
- package/dist-es/models/models_0.js +192 -121
- package/dist-es/protocols/Aws_restJson1.js +1138 -1608
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-appintegrations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-appintegrations
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
23
|
|
|
8
24
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { AppIntegrationsClient } from "./AppIntegrationsClient";
|
|
3
2
|
import { CreateDataIntegrationCommand, } from "./commands/CreateDataIntegrationCommand";
|
|
4
3
|
import { CreateEventIntegrationCommand, } from "./commands/CreateEventIntegrationCommand";
|
|
@@ -15,221 +14,215 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
15
14
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
16
15
|
import { UpdateDataIntegrationCommand, } from "./commands/UpdateDataIntegrationCommand";
|
|
17
16
|
import { UpdateEventIntegrationCommand, } from "./commands/UpdateEventIntegrationCommand";
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
22
|
-
}
|
|
23
|
-
AppIntegrations.prototype.createDataIntegration = function (args, optionsOrCb, cb) {
|
|
24
|
-
var command = new CreateDataIntegrationCommand(args);
|
|
17
|
+
export class AppIntegrations extends AppIntegrationsClient {
|
|
18
|
+
createDataIntegration(args, optionsOrCb, cb) {
|
|
19
|
+
const command = new CreateDataIntegrationCommand(args);
|
|
25
20
|
if (typeof optionsOrCb === "function") {
|
|
26
21
|
this.send(command, optionsOrCb);
|
|
27
22
|
}
|
|
28
23
|
else if (typeof cb === "function") {
|
|
29
24
|
if (typeof optionsOrCb !== "object")
|
|
30
|
-
throw new Error(
|
|
25
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
31
26
|
this.send(command, optionsOrCb || {}, cb);
|
|
32
27
|
}
|
|
33
28
|
else {
|
|
34
29
|
return this.send(command, optionsOrCb);
|
|
35
30
|
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
}
|
|
32
|
+
createEventIntegration(args, optionsOrCb, cb) {
|
|
33
|
+
const command = new CreateEventIntegrationCommand(args);
|
|
39
34
|
if (typeof optionsOrCb === "function") {
|
|
40
35
|
this.send(command, optionsOrCb);
|
|
41
36
|
}
|
|
42
37
|
else if (typeof cb === "function") {
|
|
43
38
|
if (typeof optionsOrCb !== "object")
|
|
44
|
-
throw new Error(
|
|
39
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
45
40
|
this.send(command, optionsOrCb || {}, cb);
|
|
46
41
|
}
|
|
47
42
|
else {
|
|
48
43
|
return this.send(command, optionsOrCb);
|
|
49
44
|
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
45
|
+
}
|
|
46
|
+
deleteDataIntegration(args, optionsOrCb, cb) {
|
|
47
|
+
const command = new DeleteDataIntegrationCommand(args);
|
|
53
48
|
if (typeof optionsOrCb === "function") {
|
|
54
49
|
this.send(command, optionsOrCb);
|
|
55
50
|
}
|
|
56
51
|
else if (typeof cb === "function") {
|
|
57
52
|
if (typeof optionsOrCb !== "object")
|
|
58
|
-
throw new Error(
|
|
53
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
59
54
|
this.send(command, optionsOrCb || {}, cb);
|
|
60
55
|
}
|
|
61
56
|
else {
|
|
62
57
|
return this.send(command, optionsOrCb);
|
|
63
58
|
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
59
|
+
}
|
|
60
|
+
deleteEventIntegration(args, optionsOrCb, cb) {
|
|
61
|
+
const command = new DeleteEventIntegrationCommand(args);
|
|
67
62
|
if (typeof optionsOrCb === "function") {
|
|
68
63
|
this.send(command, optionsOrCb);
|
|
69
64
|
}
|
|
70
65
|
else if (typeof cb === "function") {
|
|
71
66
|
if (typeof optionsOrCb !== "object")
|
|
72
|
-
throw new Error(
|
|
67
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
73
68
|
this.send(command, optionsOrCb || {}, cb);
|
|
74
69
|
}
|
|
75
70
|
else {
|
|
76
71
|
return this.send(command, optionsOrCb);
|
|
77
72
|
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
73
|
+
}
|
|
74
|
+
getDataIntegration(args, optionsOrCb, cb) {
|
|
75
|
+
const command = new GetDataIntegrationCommand(args);
|
|
81
76
|
if (typeof optionsOrCb === "function") {
|
|
82
77
|
this.send(command, optionsOrCb);
|
|
83
78
|
}
|
|
84
79
|
else if (typeof cb === "function") {
|
|
85
80
|
if (typeof optionsOrCb !== "object")
|
|
86
|
-
throw new Error(
|
|
81
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
87
82
|
this.send(command, optionsOrCb || {}, cb);
|
|
88
83
|
}
|
|
89
84
|
else {
|
|
90
85
|
return this.send(command, optionsOrCb);
|
|
91
86
|
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
87
|
+
}
|
|
88
|
+
getEventIntegration(args, optionsOrCb, cb) {
|
|
89
|
+
const command = new GetEventIntegrationCommand(args);
|
|
95
90
|
if (typeof optionsOrCb === "function") {
|
|
96
91
|
this.send(command, optionsOrCb);
|
|
97
92
|
}
|
|
98
93
|
else if (typeof cb === "function") {
|
|
99
94
|
if (typeof optionsOrCb !== "object")
|
|
100
|
-
throw new Error(
|
|
95
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
101
96
|
this.send(command, optionsOrCb || {}, cb);
|
|
102
97
|
}
|
|
103
98
|
else {
|
|
104
99
|
return this.send(command, optionsOrCb);
|
|
105
100
|
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
101
|
+
}
|
|
102
|
+
listDataIntegrationAssociations(args, optionsOrCb, cb) {
|
|
103
|
+
const command = new ListDataIntegrationAssociationsCommand(args);
|
|
109
104
|
if (typeof optionsOrCb === "function") {
|
|
110
105
|
this.send(command, optionsOrCb);
|
|
111
106
|
}
|
|
112
107
|
else if (typeof cb === "function") {
|
|
113
108
|
if (typeof optionsOrCb !== "object")
|
|
114
|
-
throw new Error(
|
|
109
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
115
110
|
this.send(command, optionsOrCb || {}, cb);
|
|
116
111
|
}
|
|
117
112
|
else {
|
|
118
113
|
return this.send(command, optionsOrCb);
|
|
119
114
|
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
115
|
+
}
|
|
116
|
+
listDataIntegrations(args, optionsOrCb, cb) {
|
|
117
|
+
const command = new ListDataIntegrationsCommand(args);
|
|
123
118
|
if (typeof optionsOrCb === "function") {
|
|
124
119
|
this.send(command, optionsOrCb);
|
|
125
120
|
}
|
|
126
121
|
else if (typeof cb === "function") {
|
|
127
122
|
if (typeof optionsOrCb !== "object")
|
|
128
|
-
throw new Error(
|
|
123
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
129
124
|
this.send(command, optionsOrCb || {}, cb);
|
|
130
125
|
}
|
|
131
126
|
else {
|
|
132
127
|
return this.send(command, optionsOrCb);
|
|
133
128
|
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
129
|
+
}
|
|
130
|
+
listEventIntegrationAssociations(args, optionsOrCb, cb) {
|
|
131
|
+
const command = new ListEventIntegrationAssociationsCommand(args);
|
|
137
132
|
if (typeof optionsOrCb === "function") {
|
|
138
133
|
this.send(command, optionsOrCb);
|
|
139
134
|
}
|
|
140
135
|
else if (typeof cb === "function") {
|
|
141
136
|
if (typeof optionsOrCb !== "object")
|
|
142
|
-
throw new Error(
|
|
137
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
143
138
|
this.send(command, optionsOrCb || {}, cb);
|
|
144
139
|
}
|
|
145
140
|
else {
|
|
146
141
|
return this.send(command, optionsOrCb);
|
|
147
142
|
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
|
|
143
|
+
}
|
|
144
|
+
listEventIntegrations(args, optionsOrCb, cb) {
|
|
145
|
+
const command = new ListEventIntegrationsCommand(args);
|
|
151
146
|
if (typeof optionsOrCb === "function") {
|
|
152
147
|
this.send(command, optionsOrCb);
|
|
153
148
|
}
|
|
154
149
|
else if (typeof cb === "function") {
|
|
155
150
|
if (typeof optionsOrCb !== "object")
|
|
156
|
-
throw new Error(
|
|
151
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
157
152
|
this.send(command, optionsOrCb || {}, cb);
|
|
158
153
|
}
|
|
159
154
|
else {
|
|
160
155
|
return this.send(command, optionsOrCb);
|
|
161
156
|
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
|
|
157
|
+
}
|
|
158
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
159
|
+
const command = new ListTagsForResourceCommand(args);
|
|
165
160
|
if (typeof optionsOrCb === "function") {
|
|
166
161
|
this.send(command, optionsOrCb);
|
|
167
162
|
}
|
|
168
163
|
else if (typeof cb === "function") {
|
|
169
164
|
if (typeof optionsOrCb !== "object")
|
|
170
|
-
throw new Error(
|
|
165
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
171
166
|
this.send(command, optionsOrCb || {}, cb);
|
|
172
167
|
}
|
|
173
168
|
else {
|
|
174
169
|
return this.send(command, optionsOrCb);
|
|
175
170
|
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
|
|
171
|
+
}
|
|
172
|
+
tagResource(args, optionsOrCb, cb) {
|
|
173
|
+
const command = new TagResourceCommand(args);
|
|
179
174
|
if (typeof optionsOrCb === "function") {
|
|
180
175
|
this.send(command, optionsOrCb);
|
|
181
176
|
}
|
|
182
177
|
else if (typeof cb === "function") {
|
|
183
178
|
if (typeof optionsOrCb !== "object")
|
|
184
|
-
throw new Error(
|
|
179
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
185
180
|
this.send(command, optionsOrCb || {}, cb);
|
|
186
181
|
}
|
|
187
182
|
else {
|
|
188
183
|
return this.send(command, optionsOrCb);
|
|
189
184
|
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
|
|
185
|
+
}
|
|
186
|
+
untagResource(args, optionsOrCb, cb) {
|
|
187
|
+
const command = new UntagResourceCommand(args);
|
|
193
188
|
if (typeof optionsOrCb === "function") {
|
|
194
189
|
this.send(command, optionsOrCb);
|
|
195
190
|
}
|
|
196
191
|
else if (typeof cb === "function") {
|
|
197
192
|
if (typeof optionsOrCb !== "object")
|
|
198
|
-
throw new Error(
|
|
193
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
199
194
|
this.send(command, optionsOrCb || {}, cb);
|
|
200
195
|
}
|
|
201
196
|
else {
|
|
202
197
|
return this.send(command, optionsOrCb);
|
|
203
198
|
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
|
|
199
|
+
}
|
|
200
|
+
updateDataIntegration(args, optionsOrCb, cb) {
|
|
201
|
+
const command = new UpdateDataIntegrationCommand(args);
|
|
207
202
|
if (typeof optionsOrCb === "function") {
|
|
208
203
|
this.send(command, optionsOrCb);
|
|
209
204
|
}
|
|
210
205
|
else if (typeof cb === "function") {
|
|
211
206
|
if (typeof optionsOrCb !== "object")
|
|
212
|
-
throw new Error(
|
|
207
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
213
208
|
this.send(command, optionsOrCb || {}, cb);
|
|
214
209
|
}
|
|
215
210
|
else {
|
|
216
211
|
return this.send(command, optionsOrCb);
|
|
217
212
|
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
|
|
213
|
+
}
|
|
214
|
+
updateEventIntegration(args, optionsOrCb, cb) {
|
|
215
|
+
const command = new UpdateEventIntegrationCommand(args);
|
|
221
216
|
if (typeof optionsOrCb === "function") {
|
|
222
217
|
this.send(command, optionsOrCb);
|
|
223
218
|
}
|
|
224
219
|
else if (typeof cb === "function") {
|
|
225
220
|
if (typeof optionsOrCb !== "object")
|
|
226
|
-
throw new Error(
|
|
221
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
227
222
|
this.send(command, optionsOrCb || {}, cb);
|
|
228
223
|
}
|
|
229
224
|
else {
|
|
230
225
|
return this.send(command, optionsOrCb);
|
|
231
226
|
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
}(AppIntegrationsClient));
|
|
235
|
-
export { AppIntegrations };
|
|
227
|
+
}
|
|
228
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
3
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
10
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
-
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
-
return _this;
|
|
11
|
+
export class AppIntegrationsClient extends __Client {
|
|
12
|
+
constructor(configuration) {
|
|
13
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
15
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
16
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
17
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
18
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
19
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
20
|
+
super(_config_6);
|
|
21
|
+
this.config = _config_6;
|
|
22
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}(__Client));
|
|
39
|
-
export { AppIntegrationsClient };
|
|
30
|
+
destroy() {
|
|
31
|
+
super.destroy();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { CreateDataIntegrationRequestFilterSensitiveLog, CreateDataIntegrationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateDataIntegrationCommand, serializeAws_restJson1CreateDataIntegrationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateDataIntegrationCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "AppIntegrationsClient";
|
|
15
|
+
const commandName = "CreateDataIntegrationCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateDataIntegrationRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateDataIntegrationResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateDataIntegrationCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateDataIntegrationCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateDataIntegrationCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateDataIntegrationCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { CreateEventIntegrationRequestFilterSensitiveLog, CreateEventIntegrationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateEventIntegrationCommand, serializeAws_restJson1CreateEventIntegrationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateEventIntegrationCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "AppIntegrationsClient";
|
|
15
|
+
const commandName = "CreateEventIntegrationCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateEventIntegrationRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateEventIntegrationResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateEventIntegrationCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateEventIntegrationCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateEventIntegrationCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateEventIntegrationCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { DeleteDataIntegrationRequestFilterSensitiveLog, DeleteDataIntegrationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DeleteDataIntegrationCommand, serializeAws_restJson1DeleteDataIntegrationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class DeleteDataIntegrationCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "AppIntegrationsClient";
|
|
15
|
+
const commandName = "DeleteDataIntegrationCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: DeleteDataIntegrationRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DeleteDataIntegrationResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
DeleteDataIntegrationCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1DeleteDataIntegrationCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1DeleteDataIntegrationCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { DeleteDataIntegrationCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { DeleteEventIntegrationRequestFilterSensitiveLog, DeleteEventIntegrationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DeleteEventIntegrationCommand, serializeAws_restJson1DeleteEventIntegrationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class DeleteEventIntegrationCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "AppIntegrationsClient";
|
|
15
|
+
const commandName = "DeleteEventIntegrationCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: DeleteEventIntegrationRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DeleteEventIntegrationResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
DeleteEventIntegrationCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1DeleteEventIntegrationCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1DeleteEventIntegrationCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { DeleteEventIntegrationCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|