@aws-sdk/client-appintegrations 3.414.0 → 3.420.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/README.md +39 -7
- package/dist-cjs/AppIntegrations.js +8 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +51 -0
- package/dist-cjs/commands/CreateDataIntegrationCommand.js +5 -0
- package/dist-cjs/commands/CreateEventIntegrationCommand.js +5 -0
- package/dist-cjs/commands/DeleteDataIntegrationCommand.js +5 -0
- package/dist-cjs/commands/DeleteEventIntegrationCommand.js +5 -0
- package/dist-cjs/commands/GetApplicationCommand.js +51 -0
- package/dist-cjs/commands/GetDataIntegrationCommand.js +5 -0
- package/dist-cjs/commands/GetEventIntegrationCommand.js +5 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +51 -0
- package/dist-cjs/commands/ListDataIntegrationAssociationsCommand.js +5 -0
- package/dist-cjs/commands/ListDataIntegrationsCommand.js +5 -0
- package/dist-cjs/commands/ListEventIntegrationAssociationsCommand.js +5 -0
- package/dist-cjs/commands/ListEventIntegrationsCommand.js +5 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/dist-cjs/commands/UpdateApplicationCommand.js +51 -0
- package/dist-cjs/commands/UpdateDataIntegrationCommand.js +5 -0
- package/dist-cjs/commands/UpdateEventIntegrationCommand.js +5 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDataIntegrationAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDataIntegrationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListEventIntegrationAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListEventIntegrationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +303 -1
- package/dist-es/AppIntegrations.js +8 -0
- package/dist-es/commands/CreateApplicationCommand.js +47 -0
- package/dist-es/commands/CreateDataIntegrationCommand.js +5 -0
- package/dist-es/commands/CreateEventIntegrationCommand.js +5 -0
- package/dist-es/commands/DeleteDataIntegrationCommand.js +5 -0
- package/dist-es/commands/DeleteEventIntegrationCommand.js +5 -0
- package/dist-es/commands/GetApplicationCommand.js +47 -0
- package/dist-es/commands/GetDataIntegrationCommand.js +5 -0
- package/dist-es/commands/GetEventIntegrationCommand.js +5 -0
- package/dist-es/commands/ListApplicationsCommand.js +47 -0
- package/dist-es/commands/ListDataIntegrationAssociationsCommand.js +5 -0
- package/dist-es/commands/ListDataIntegrationsCommand.js +5 -0
- package/dist-es/commands/ListEventIntegrationAssociationsCommand.js +5 -0
- package/dist-es/commands/ListEventIntegrationsCommand.js +5 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-es/commands/TagResourceCommand.js +5 -0
- package/dist-es/commands/UntagResourceCommand.js +5 -0
- package/dist-es/commands/UpdateApplicationCommand.js +47 -0
- package/dist-es/commands/UpdateDataIntegrationCommand.js +5 -0
- package/dist-es/commands/UpdateEventIntegrationCommand.js +5 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/index.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +25 -0
- package/dist-es/pagination/ListDataIntegrationAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListDataIntegrationsPaginator.js +25 -0
- package/dist-es/pagination/ListEventIntegrationAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListEventIntegrationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +295 -1
- package/dist-types/AppIntegrations.d.ts +28 -0
- package/dist-types/AppIntegrationsClient.d.ts +6 -2
- package/dist-types/commands/CreateApplicationCommand.d.ts +120 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +119 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +97 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +110 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +370 -66
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataIntegrationAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventIntegrationAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/AppIntegrations.d.ts +68 -0
- package/dist-types/ts3.4/AppIntegrationsClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +95 -24
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataIntegrationAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventIntegrationAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +31 -31
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class UpdateEventIntegrationCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class UpdateEventIntegrationCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonAppIntegrationService",
|
|
38
|
+
operation: "UpdateEventIntegration",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateApplicationCommand"), exports);
|
|
4
5
|
tslib_1.__exportStar(require("./CreateDataIntegrationCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateEventIntegrationCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./DeleteDataIntegrationCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./DeleteEventIntegrationCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./GetApplicationCommand"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./GetDataIntegrationCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./GetEventIntegrationCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListApplicationsCommand"), exports);
|
|
10
13
|
tslib_1.__exportStar(require("./ListDataIntegrationAssociationsCommand"), exports);
|
|
11
14
|
tslib_1.__exportStar(require("./ListDataIntegrationsCommand"), exports);
|
|
12
15
|
tslib_1.__exportStar(require("./ListEventIntegrationAssociationsCommand"), exports);
|
|
@@ -14,5 +17,6 @@ tslib_1.__exportStar(require("./ListEventIntegrationsCommand"), exports);
|
|
|
14
17
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
15
18
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
16
19
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./UpdateApplicationCommand"), exports);
|
|
17
21
|
tslib_1.__exportStar(require("./UpdateDataIntegrationCommand"), exports);
|
|
18
22
|
tslib_1.__exportStar(require("./UpdateEventIntegrationCommand"), exports);
|
package/dist-cjs/index.js
CHANGED
|
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
tslib_1.__exportStar(require("./AppIntegrationsClient"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./AppIntegrations"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
10
|
var AppIntegrationsServiceException_1 = require("./models/AppIntegrationsServiceException");
|
|
10
11
|
Object.defineProperty(exports, "AppIntegrationsServiceException", { enumerable: true, get: function () { return AppIntegrationsServiceException_1.AppIntegrationsServiceException; } });
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListApplications = void 0;
|
|
4
|
+
const AppIntegrationsClient_1 = require("../AppIntegrationsClient");
|
|
5
|
+
const ListApplicationsCommand_1 = require("../commands/ListApplicationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListApplicationsCommand_1.ListApplicationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListApplications(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppIntegrationsClient_1.AppIntegrationsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListApplications = paginateListApplications;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListDataIntegrationAssociations = void 0;
|
|
4
|
+
const AppIntegrationsClient_1 = require("../AppIntegrationsClient");
|
|
5
|
+
const ListDataIntegrationAssociationsCommand_1 = require("../commands/ListDataIntegrationAssociationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListDataIntegrationAssociationsCommand_1.ListDataIntegrationAssociationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListDataIntegrationAssociations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppIntegrationsClient_1.AppIntegrationsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListDataIntegrationAssociations = paginateListDataIntegrationAssociations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListDataIntegrations = void 0;
|
|
4
|
+
const AppIntegrationsClient_1 = require("../AppIntegrationsClient");
|
|
5
|
+
const ListDataIntegrationsCommand_1 = require("../commands/ListDataIntegrationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListDataIntegrationsCommand_1.ListDataIntegrationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListDataIntegrations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppIntegrationsClient_1.AppIntegrationsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListDataIntegrations = paginateListDataIntegrations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListEventIntegrationAssociations = void 0;
|
|
4
|
+
const AppIntegrationsClient_1 = require("../AppIntegrationsClient");
|
|
5
|
+
const ListEventIntegrationAssociationsCommand_1 = require("../commands/ListEventIntegrationAssociationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListEventIntegrationAssociationsCommand_1.ListEventIntegrationAssociationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListEventIntegrationAssociations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppIntegrationsClient_1.AppIntegrationsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListEventIntegrationAssociations = paginateListEventIntegrationAssociations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListEventIntegrations = void 0;
|
|
4
|
+
const AppIntegrationsClient_1 = require("../AppIntegrationsClient");
|
|
5
|
+
const ListEventIntegrationsCommand_1 = require("../commands/ListEventIntegrationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListEventIntegrationsCommand_1.ListEventIntegrationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListEventIntegrations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppIntegrationsClient_1.AppIntegrationsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListEventIntegrations = paginateListEventIntegrations;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListApplicationsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListDataIntegrationAssociationsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListDataIntegrationsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListEventIntegrationAssociationsPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListEventIntegrationsPaginator"), exports);
|
|
@@ -1,11 +1,39 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_UpdateEventIntegrationCommand = exports.de_UpdateDataIntegrationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListEventIntegrationsCommand = exports.de_ListEventIntegrationAssociationsCommand = exports.de_ListDataIntegrationsCommand = exports.de_ListDataIntegrationAssociationsCommand = exports.de_GetEventIntegrationCommand = exports.de_GetDataIntegrationCommand = exports.de_DeleteEventIntegrationCommand = exports.de_DeleteDataIntegrationCommand = exports.de_CreateEventIntegrationCommand = exports.de_CreateDataIntegrationCommand = exports.se_UpdateEventIntegrationCommand = exports.se_UpdateDataIntegrationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListEventIntegrationsCommand = exports.se_ListEventIntegrationAssociationsCommand = exports.se_ListDataIntegrationsCommand = exports.se_ListDataIntegrationAssociationsCommand = exports.se_GetEventIntegrationCommand = exports.se_GetDataIntegrationCommand = exports.se_DeleteEventIntegrationCommand = exports.se_DeleteDataIntegrationCommand = exports.se_CreateEventIntegrationCommand = exports.se_CreateDataIntegrationCommand = void 0;
|
|
3
|
+
exports.de_UpdateEventIntegrationCommand = exports.de_UpdateDataIntegrationCommand = exports.de_UpdateApplicationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListEventIntegrationsCommand = exports.de_ListEventIntegrationAssociationsCommand = exports.de_ListDataIntegrationsCommand = exports.de_ListDataIntegrationAssociationsCommand = exports.de_ListApplicationsCommand = exports.de_GetEventIntegrationCommand = exports.de_GetDataIntegrationCommand = exports.de_GetApplicationCommand = exports.de_DeleteEventIntegrationCommand = exports.de_DeleteDataIntegrationCommand = exports.de_CreateEventIntegrationCommand = exports.de_CreateDataIntegrationCommand = exports.de_CreateApplicationCommand = exports.se_UpdateEventIntegrationCommand = exports.se_UpdateDataIntegrationCommand = exports.se_UpdateApplicationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListEventIntegrationsCommand = exports.se_ListEventIntegrationAssociationsCommand = exports.se_ListDataIntegrationsCommand = exports.se_ListDataIntegrationAssociationsCommand = exports.se_ListApplicationsCommand = exports.se_GetEventIntegrationCommand = exports.se_GetDataIntegrationCommand = exports.se_GetApplicationCommand = exports.se_DeleteEventIntegrationCommand = exports.se_DeleteDataIntegrationCommand = exports.se_CreateEventIntegrationCommand = exports.se_CreateDataIntegrationCommand = exports.se_CreateApplicationCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const uuid_1 = require("uuid");
|
|
7
7
|
const AppIntegrationsServiceException_1 = require("../models/AppIntegrationsServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
|
+
const se_CreateApplicationCommand = async (input, context) => {
|
|
10
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
11
|
+
const headers = {
|
|
12
|
+
"content-type": "application/json",
|
|
13
|
+
};
|
|
14
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
|
|
15
|
+
let body;
|
|
16
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
17
|
+
ApplicationSourceConfig: (_) => (0, smithy_client_1._json)(_),
|
|
18
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
19
|
+
Description: [],
|
|
20
|
+
Name: [],
|
|
21
|
+
Namespace: [],
|
|
22
|
+
Publications: (_) => (0, smithy_client_1._json)(_),
|
|
23
|
+
Subscriptions: (_) => (0, smithy_client_1._json)(_),
|
|
24
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
25
|
+
}));
|
|
26
|
+
return new protocol_http_1.HttpRequest({
|
|
27
|
+
protocol,
|
|
28
|
+
hostname,
|
|
29
|
+
port,
|
|
30
|
+
method: "POST",
|
|
31
|
+
headers,
|
|
32
|
+
path: resolvedPath,
|
|
33
|
+
body,
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
9
37
|
const se_CreateDataIntegrationCommand = async (input, context) => {
|
|
10
38
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
11
39
|
const headers = {
|
|
@@ -96,6 +124,23 @@ const se_DeleteEventIntegrationCommand = async (input, context) => {
|
|
|
96
124
|
});
|
|
97
125
|
};
|
|
98
126
|
exports.se_DeleteEventIntegrationCommand = se_DeleteEventIntegrationCommand;
|
|
127
|
+
const se_GetApplicationCommand = async (input, context) => {
|
|
128
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
129
|
+
const headers = {};
|
|
130
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{Arn}";
|
|
131
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Arn", () => input.Arn, "{Arn}", false);
|
|
132
|
+
let body;
|
|
133
|
+
return new protocol_http_1.HttpRequest({
|
|
134
|
+
protocol,
|
|
135
|
+
hostname,
|
|
136
|
+
port,
|
|
137
|
+
method: "GET",
|
|
138
|
+
headers,
|
|
139
|
+
path: resolvedPath,
|
|
140
|
+
body,
|
|
141
|
+
});
|
|
142
|
+
};
|
|
143
|
+
exports.se_GetApplicationCommand = se_GetApplicationCommand;
|
|
99
144
|
const se_GetDataIntegrationCommand = async (input, context) => {
|
|
100
145
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
101
146
|
const headers = {};
|
|
@@ -130,6 +175,27 @@ const se_GetEventIntegrationCommand = async (input, context) => {
|
|
|
130
175
|
});
|
|
131
176
|
};
|
|
132
177
|
exports.se_GetEventIntegrationCommand = se_GetEventIntegrationCommand;
|
|
178
|
+
const se_ListApplicationsCommand = async (input, context) => {
|
|
179
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
180
|
+
const headers = {};
|
|
181
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
|
|
182
|
+
const query = (0, smithy_client_1.map)({
|
|
183
|
+
nextToken: [, input.NextToken],
|
|
184
|
+
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
185
|
+
});
|
|
186
|
+
let body;
|
|
187
|
+
return new protocol_http_1.HttpRequest({
|
|
188
|
+
protocol,
|
|
189
|
+
hostname,
|
|
190
|
+
port,
|
|
191
|
+
method: "GET",
|
|
192
|
+
headers,
|
|
193
|
+
path: resolvedPath,
|
|
194
|
+
query,
|
|
195
|
+
body,
|
|
196
|
+
});
|
|
197
|
+
};
|
|
198
|
+
exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
|
|
133
199
|
const se_ListDataIntegrationAssociationsCommand = async (input, context) => {
|
|
134
200
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
135
201
|
const headers = {};
|
|
@@ -281,6 +347,32 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
281
347
|
});
|
|
282
348
|
};
|
|
283
349
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
350
|
+
const se_UpdateApplicationCommand = async (input, context) => {
|
|
351
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
352
|
+
const headers = {
|
|
353
|
+
"content-type": "application/json",
|
|
354
|
+
};
|
|
355
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{Arn}";
|
|
356
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Arn", () => input.Arn, "{Arn}", false);
|
|
357
|
+
let body;
|
|
358
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
359
|
+
ApplicationSourceConfig: (_) => (0, smithy_client_1._json)(_),
|
|
360
|
+
Description: [],
|
|
361
|
+
Name: [],
|
|
362
|
+
Publications: (_) => (0, smithy_client_1._json)(_),
|
|
363
|
+
Subscriptions: (_) => (0, smithy_client_1._json)(_),
|
|
364
|
+
}));
|
|
365
|
+
return new protocol_http_1.HttpRequest({
|
|
366
|
+
protocol,
|
|
367
|
+
hostname,
|
|
368
|
+
port,
|
|
369
|
+
method: "PATCH",
|
|
370
|
+
headers,
|
|
371
|
+
path: resolvedPath,
|
|
372
|
+
body,
|
|
373
|
+
});
|
|
374
|
+
};
|
|
375
|
+
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
284
376
|
const se_UpdateDataIntegrationCommand = async (input, context) => {
|
|
285
377
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
286
378
|
const headers = {
|
|
@@ -326,6 +418,56 @@ const se_UpdateEventIntegrationCommand = async (input, context) => {
|
|
|
326
418
|
});
|
|
327
419
|
};
|
|
328
420
|
exports.se_UpdateEventIntegrationCommand = se_UpdateEventIntegrationCommand;
|
|
421
|
+
const de_CreateApplicationCommand = async (output, context) => {
|
|
422
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
423
|
+
return de_CreateApplicationCommandError(output, context);
|
|
424
|
+
}
|
|
425
|
+
const contents = (0, smithy_client_1.map)({
|
|
426
|
+
$metadata: deserializeMetadata(output),
|
|
427
|
+
});
|
|
428
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
429
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
430
|
+
Arn: smithy_client_1.expectString,
|
|
431
|
+
Id: smithy_client_1.expectString,
|
|
432
|
+
});
|
|
433
|
+
Object.assign(contents, doc);
|
|
434
|
+
return contents;
|
|
435
|
+
};
|
|
436
|
+
exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
|
|
437
|
+
const de_CreateApplicationCommandError = async (output, context) => {
|
|
438
|
+
const parsedOutput = {
|
|
439
|
+
...output,
|
|
440
|
+
body: await parseErrorBody(output.body, context),
|
|
441
|
+
};
|
|
442
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
443
|
+
switch (errorCode) {
|
|
444
|
+
case "AccessDeniedException":
|
|
445
|
+
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
446
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
447
|
+
case "DuplicateResourceException":
|
|
448
|
+
case "com.amazonaws.appintegrations#DuplicateResourceException":
|
|
449
|
+
throw await de_DuplicateResourceExceptionRes(parsedOutput, context);
|
|
450
|
+
case "InternalServiceError":
|
|
451
|
+
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
452
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
453
|
+
case "InvalidRequestException":
|
|
454
|
+
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
455
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
456
|
+
case "ResourceQuotaExceededException":
|
|
457
|
+
case "com.amazonaws.appintegrations#ResourceQuotaExceededException":
|
|
458
|
+
throw await de_ResourceQuotaExceededExceptionRes(parsedOutput, context);
|
|
459
|
+
case "ThrottlingException":
|
|
460
|
+
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
461
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
462
|
+
default:
|
|
463
|
+
const parsedBody = parsedOutput.body;
|
|
464
|
+
return throwDefaultError({
|
|
465
|
+
output,
|
|
466
|
+
parsedBody,
|
|
467
|
+
errorCode,
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
};
|
|
329
471
|
const de_CreateDataIntegrationCommand = async (output, context) => {
|
|
330
472
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
331
473
|
return de_CreateDataIntegrationCommandError(output, context);
|
|
@@ -518,6 +660,62 @@ const de_DeleteEventIntegrationCommandError = async (output, context) => {
|
|
|
518
660
|
});
|
|
519
661
|
}
|
|
520
662
|
};
|
|
663
|
+
const de_GetApplicationCommand = async (output, context) => {
|
|
664
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
665
|
+
return de_GetApplicationCommandError(output, context);
|
|
666
|
+
}
|
|
667
|
+
const contents = (0, smithy_client_1.map)({
|
|
668
|
+
$metadata: deserializeMetadata(output),
|
|
669
|
+
});
|
|
670
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
671
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
672
|
+
ApplicationSourceConfig: smithy_client_1._json,
|
|
673
|
+
Arn: smithy_client_1.expectString,
|
|
674
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
675
|
+
Description: smithy_client_1.expectString,
|
|
676
|
+
Id: smithy_client_1.expectString,
|
|
677
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
678
|
+
Name: smithy_client_1.expectString,
|
|
679
|
+
Namespace: smithy_client_1.expectString,
|
|
680
|
+
Publications: smithy_client_1._json,
|
|
681
|
+
Subscriptions: smithy_client_1._json,
|
|
682
|
+
Tags: smithy_client_1._json,
|
|
683
|
+
});
|
|
684
|
+
Object.assign(contents, doc);
|
|
685
|
+
return contents;
|
|
686
|
+
};
|
|
687
|
+
exports.de_GetApplicationCommand = de_GetApplicationCommand;
|
|
688
|
+
const de_GetApplicationCommandError = async (output, context) => {
|
|
689
|
+
const parsedOutput = {
|
|
690
|
+
...output,
|
|
691
|
+
body: await parseErrorBody(output.body, context),
|
|
692
|
+
};
|
|
693
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
694
|
+
switch (errorCode) {
|
|
695
|
+
case "AccessDeniedException":
|
|
696
|
+
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
697
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
698
|
+
case "InternalServiceError":
|
|
699
|
+
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
700
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
701
|
+
case "InvalidRequestException":
|
|
702
|
+
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
703
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
704
|
+
case "ResourceNotFoundException":
|
|
705
|
+
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
706
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
707
|
+
case "ThrottlingException":
|
|
708
|
+
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
709
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
710
|
+
default:
|
|
711
|
+
const parsedBody = parsedOutput.body;
|
|
712
|
+
return throwDefaultError({
|
|
713
|
+
output,
|
|
714
|
+
parsedBody,
|
|
715
|
+
errorCode,
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
};
|
|
521
719
|
const de_GetDataIntegrationCommand = async (output, context) => {
|
|
522
720
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
523
721
|
return de_GetDataIntegrationCommandError(output, context);
|
|
@@ -624,6 +822,50 @@ const de_GetEventIntegrationCommandError = async (output, context) => {
|
|
|
624
822
|
});
|
|
625
823
|
}
|
|
626
824
|
};
|
|
825
|
+
const de_ListApplicationsCommand = async (output, context) => {
|
|
826
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
827
|
+
return de_ListApplicationsCommandError(output, context);
|
|
828
|
+
}
|
|
829
|
+
const contents = (0, smithy_client_1.map)({
|
|
830
|
+
$metadata: deserializeMetadata(output),
|
|
831
|
+
});
|
|
832
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
833
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
834
|
+
Applications: (_) => de_ApplicationsList(_, context),
|
|
835
|
+
NextToken: smithy_client_1.expectString,
|
|
836
|
+
});
|
|
837
|
+
Object.assign(contents, doc);
|
|
838
|
+
return contents;
|
|
839
|
+
};
|
|
840
|
+
exports.de_ListApplicationsCommand = de_ListApplicationsCommand;
|
|
841
|
+
const de_ListApplicationsCommandError = async (output, context) => {
|
|
842
|
+
const parsedOutput = {
|
|
843
|
+
...output,
|
|
844
|
+
body: await parseErrorBody(output.body, context),
|
|
845
|
+
};
|
|
846
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
847
|
+
switch (errorCode) {
|
|
848
|
+
case "AccessDeniedException":
|
|
849
|
+
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
850
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
851
|
+
case "InternalServiceError":
|
|
852
|
+
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
853
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
854
|
+
case "InvalidRequestException":
|
|
855
|
+
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
856
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
857
|
+
case "ThrottlingException":
|
|
858
|
+
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
859
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
860
|
+
default:
|
|
861
|
+
const parsedBody = parsedOutput.body;
|
|
862
|
+
return throwDefaultError({
|
|
863
|
+
output,
|
|
864
|
+
parsedBody,
|
|
865
|
+
errorCode,
|
|
866
|
+
});
|
|
867
|
+
}
|
|
868
|
+
};
|
|
627
869
|
const de_ListDataIntegrationAssociationsCommand = async (output, context) => {
|
|
628
870
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
629
871
|
return de_ListDataIntegrationAssociationsCommandError(output, context);
|
|
@@ -927,6 +1169,48 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
927
1169
|
});
|
|
928
1170
|
}
|
|
929
1171
|
};
|
|
1172
|
+
const de_UpdateApplicationCommand = async (output, context) => {
|
|
1173
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1174
|
+
return de_UpdateApplicationCommandError(output, context);
|
|
1175
|
+
}
|
|
1176
|
+
const contents = (0, smithy_client_1.map)({
|
|
1177
|
+
$metadata: deserializeMetadata(output),
|
|
1178
|
+
});
|
|
1179
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1180
|
+
return contents;
|
|
1181
|
+
};
|
|
1182
|
+
exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
|
|
1183
|
+
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
1184
|
+
const parsedOutput = {
|
|
1185
|
+
...output,
|
|
1186
|
+
body: await parseErrorBody(output.body, context),
|
|
1187
|
+
};
|
|
1188
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1189
|
+
switch (errorCode) {
|
|
1190
|
+
case "AccessDeniedException":
|
|
1191
|
+
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
1192
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1193
|
+
case "InternalServiceError":
|
|
1194
|
+
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
1195
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1196
|
+
case "InvalidRequestException":
|
|
1197
|
+
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
1198
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1199
|
+
case "ResourceNotFoundException":
|
|
1200
|
+
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
1201
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1202
|
+
case "ThrottlingException":
|
|
1203
|
+
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
1204
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1205
|
+
default:
|
|
1206
|
+
const parsedBody = parsedOutput.body;
|
|
1207
|
+
return throwDefaultError({
|
|
1208
|
+
output,
|
|
1209
|
+
parsedBody,
|
|
1210
|
+
errorCode,
|
|
1211
|
+
});
|
|
1212
|
+
}
|
|
1213
|
+
};
|
|
930
1214
|
const de_UpdateDataIntegrationCommand = async (output, context) => {
|
|
931
1215
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
932
1216
|
return de_UpdateDataIntegrationCommandError(output, context);
|
|
@@ -1103,6 +1387,24 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
1103
1387
|
});
|
|
1104
1388
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1105
1389
|
};
|
|
1390
|
+
const de_ApplicationsList = (output, context) => {
|
|
1391
|
+
const retVal = (output || [])
|
|
1392
|
+
.filter((e) => e != null)
|
|
1393
|
+
.map((entry) => {
|
|
1394
|
+
return de_ApplicationSummary(entry, context);
|
|
1395
|
+
});
|
|
1396
|
+
return retVal;
|
|
1397
|
+
};
|
|
1398
|
+
const de_ApplicationSummary = (output, context) => {
|
|
1399
|
+
return (0, smithy_client_1.take)(output, {
|
|
1400
|
+
Arn: smithy_client_1.expectString,
|
|
1401
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1402
|
+
Id: smithy_client_1.expectString,
|
|
1403
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1404
|
+
Name: smithy_client_1.expectString,
|
|
1405
|
+
Namespace: smithy_client_1.expectString,
|
|
1406
|
+
});
|
|
1407
|
+
};
|
|
1106
1408
|
const deserializeMetadata = (output) => ({
|
|
1107
1409
|
httpStatusCode: output.statusCode,
|
|
1108
1410
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { AppIntegrationsClient } from "./AppIntegrationsClient";
|
|
3
|
+
import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
|
|
3
4
|
import { CreateDataIntegrationCommand, } from "./commands/CreateDataIntegrationCommand";
|
|
4
5
|
import { CreateEventIntegrationCommand, } from "./commands/CreateEventIntegrationCommand";
|
|
5
6
|
import { DeleteDataIntegrationCommand, } from "./commands/DeleteDataIntegrationCommand";
|
|
6
7
|
import { DeleteEventIntegrationCommand, } from "./commands/DeleteEventIntegrationCommand";
|
|
8
|
+
import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
|
|
7
9
|
import { GetDataIntegrationCommand, } from "./commands/GetDataIntegrationCommand";
|
|
8
10
|
import { GetEventIntegrationCommand, } from "./commands/GetEventIntegrationCommand";
|
|
11
|
+
import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
|
|
9
12
|
import { ListDataIntegrationAssociationsCommand, } from "./commands/ListDataIntegrationAssociationsCommand";
|
|
10
13
|
import { ListDataIntegrationsCommand, } from "./commands/ListDataIntegrationsCommand";
|
|
11
14
|
import { ListEventIntegrationAssociationsCommand, } from "./commands/ListEventIntegrationAssociationsCommand";
|
|
@@ -13,15 +16,19 @@ import { ListEventIntegrationsCommand, } from "./commands/ListEventIntegrationsC
|
|
|
13
16
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
14
17
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
15
18
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
19
|
+
import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
|
|
16
20
|
import { UpdateDataIntegrationCommand, } from "./commands/UpdateDataIntegrationCommand";
|
|
17
21
|
import { UpdateEventIntegrationCommand, } from "./commands/UpdateEventIntegrationCommand";
|
|
18
22
|
const commands = {
|
|
23
|
+
CreateApplicationCommand,
|
|
19
24
|
CreateDataIntegrationCommand,
|
|
20
25
|
CreateEventIntegrationCommand,
|
|
21
26
|
DeleteDataIntegrationCommand,
|
|
22
27
|
DeleteEventIntegrationCommand,
|
|
28
|
+
GetApplicationCommand,
|
|
23
29
|
GetDataIntegrationCommand,
|
|
24
30
|
GetEventIntegrationCommand,
|
|
31
|
+
ListApplicationsCommand,
|
|
25
32
|
ListDataIntegrationAssociationsCommand,
|
|
26
33
|
ListDataIntegrationsCommand,
|
|
27
34
|
ListEventIntegrationAssociationsCommand,
|
|
@@ -29,6 +36,7 @@ const commands = {
|
|
|
29
36
|
ListTagsForResourceCommand,
|
|
30
37
|
TagResourceCommand,
|
|
31
38
|
UntagResourceCommand,
|
|
39
|
+
UpdateApplicationCommand,
|
|
32
40
|
UpdateDataIntegrationCommand,
|
|
33
41
|
UpdateEventIntegrationCommand,
|
|
34
42
|
};
|