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