@aws-sdk/client-chatbot 3.696.0 → 3.699.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 +71 -7
- package/dist-cjs/Chatbot.js +16 -0
- package/dist-cjs/commands/AssociateToConfigurationCommand.js +26 -0
- package/dist-cjs/commands/CreateCustomActionCommand.js +26 -0
- package/dist-cjs/commands/DeleteCustomActionCommand.js +26 -0
- package/dist-cjs/commands/DisassociateFromConfigurationCommand.js +26 -0
- package/dist-cjs/commands/GetCustomActionCommand.js +26 -0
- package/dist-cjs/commands/ListAssociationsCommand.js +26 -0
- package/dist-cjs/commands/ListCustomActionsCommand.js +26 -0
- package/dist-cjs/commands/UpdateCustomActionCommand.js +26 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +60 -42
- package/dist-cjs/pagination/ListAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListCustomActionsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +260 -8
- package/dist-es/Chatbot.js +16 -0
- package/dist-es/commands/AssociateToConfigurationCommand.js +22 -0
- package/dist-es/commands/CreateCustomActionCommand.js +22 -0
- package/dist-es/commands/DeleteCustomActionCommand.js +22 -0
- package/dist-es/commands/DisassociateFromConfigurationCommand.js +22 -0
- package/dist-es/commands/GetCustomActionCommand.js +22 -0
- package/dist-es/commands/ListAssociationsCommand.js +22 -0
- package/dist-es/commands/ListCustomActionsCommand.js +22 -0
- package/dist-es/commands/UpdateCustomActionCommand.js +22 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +53 -37
- package/dist-es/pagination/ListAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListCustomActionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +243 -7
- package/dist-types/Chatbot.d.ts +57 -0
- package/dist-types/ChatbotClient.d.ts +10 -2
- package/dist-types/commands/AssociateToConfigurationCommand.d.ts +79 -0
- package/dist-types/commands/CreateCustomActionCommand.d.ts +113 -0
- package/dist-types/commands/DeleteCustomActionCommand.d.ts +81 -0
- package/dist-types/commands/DisassociateFromConfigurationCommand.d.ts +79 -0
- package/dist-types/commands/GetCustomActionCommand.d.ts +106 -0
- package/dist-types/commands/ListAssociationsCommand.d.ts +78 -0
- package/dist-types/commands/ListCustomActionsCommand.d.ts +84 -0
- package/dist-types/commands/UpdateCustomActionCommand.d.ts +103 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +385 -40
- package/dist-types/pagination/ListAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCustomActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/Chatbot.d.ts +137 -0
- package/dist-types/ts3.4/ChatbotClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/AssociateToConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCustomActionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCustomActionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateFromConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCustomActionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListCustomActionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCustomActionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +116 -22
- package/dist-types/ts3.4/pagination/ListAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCustomActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +7 -5
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAssociations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ChatbotClient_1 = require("../ChatbotClient");
|
|
6
|
+
const ListAssociationsCommand_1 = require("../commands/ListAssociationsCommand");
|
|
7
|
+
exports.paginateListAssociations = (0, core_1.createPaginator)(ChatbotClient_1.ChatbotClient, ListAssociationsCommand_1.ListAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListCustomActions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ChatbotClient_1 = require("../ChatbotClient");
|
|
6
|
+
const ListCustomActionsCommand_1 = require("../commands/ListCustomActionsCommand");
|
|
7
|
+
exports.paginateListCustomActions = (0, core_1.createPaginator)(ChatbotClient_1.ChatbotClient, ListCustomActionsCommand_1.ListCustomActionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -6,6 +6,8 @@ tslib_1.__exportStar(require("./DescribeSlackChannelConfigurationsPaginator"), e
|
|
|
6
6
|
tslib_1.__exportStar(require("./DescribeSlackUserIdentitiesPaginator"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./DescribeSlackWorkspacesPaginator"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListAssociationsPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListCustomActionsPaginator"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./ListMicrosoftTeamsChannelConfigurationsPaginator"), exports);
|
|
10
12
|
tslib_1.__exportStar(require("./ListMicrosoftTeamsConfiguredTeamsPaginator"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./ListMicrosoftTeamsUserIdentitiesPaginator"), exports);
|
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.de_UpdateSlackChannelConfigurationCommand = exports.de_UpdateMicrosoftTeamsChannelConfigurationCommand = void 0;
|
|
3
|
+
exports.de_DescribeSlackUserIdentitiesCommand = exports.de_DescribeSlackChannelConfigurationsCommand = exports.de_DescribeChimeWebhookConfigurationsCommand = exports.de_DeleteSlackWorkspaceAuthorizationCommand = exports.de_DeleteSlackUserIdentityCommand = exports.de_DeleteSlackChannelConfigurationCommand = exports.de_DeleteMicrosoftTeamsUserIdentityCommand = exports.de_DeleteMicrosoftTeamsConfiguredTeamCommand = exports.de_DeleteMicrosoftTeamsChannelConfigurationCommand = exports.de_DeleteCustomActionCommand = exports.de_DeleteChimeWebhookConfigurationCommand = exports.de_CreateSlackChannelConfigurationCommand = exports.de_CreateMicrosoftTeamsChannelConfigurationCommand = exports.de_CreateCustomActionCommand = exports.de_CreateChimeWebhookConfigurationCommand = exports.de_AssociateToConfigurationCommand = exports.se_UpdateSlackChannelConfigurationCommand = exports.se_UpdateMicrosoftTeamsChannelConfigurationCommand = exports.se_UpdateCustomActionCommand = exports.se_UpdateChimeWebhookConfigurationCommand = exports.se_UpdateAccountPreferencesCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListMicrosoftTeamsUserIdentitiesCommand = exports.se_ListMicrosoftTeamsConfiguredTeamsCommand = exports.se_ListMicrosoftTeamsChannelConfigurationsCommand = exports.se_ListCustomActionsCommand = exports.se_ListAssociationsCommand = exports.se_GetMicrosoftTeamsChannelConfigurationCommand = exports.se_GetCustomActionCommand = exports.se_GetAccountPreferencesCommand = exports.se_DisassociateFromConfigurationCommand = exports.se_DescribeSlackWorkspacesCommand = exports.se_DescribeSlackUserIdentitiesCommand = exports.se_DescribeSlackChannelConfigurationsCommand = exports.se_DescribeChimeWebhookConfigurationsCommand = exports.se_DeleteSlackWorkspaceAuthorizationCommand = exports.se_DeleteSlackUserIdentityCommand = exports.se_DeleteSlackChannelConfigurationCommand = exports.se_DeleteMicrosoftTeamsUserIdentityCommand = exports.se_DeleteMicrosoftTeamsConfiguredTeamCommand = exports.se_DeleteMicrosoftTeamsChannelConfigurationCommand = exports.se_DeleteCustomActionCommand = exports.se_DeleteChimeWebhookConfigurationCommand = exports.se_CreateSlackChannelConfigurationCommand = exports.se_CreateMicrosoftTeamsChannelConfigurationCommand = exports.se_CreateCustomActionCommand = exports.se_CreateChimeWebhookConfigurationCommand = exports.se_AssociateToConfigurationCommand = void 0;
|
|
4
|
+
exports.de_UpdateSlackChannelConfigurationCommand = exports.de_UpdateMicrosoftTeamsChannelConfigurationCommand = exports.de_UpdateCustomActionCommand = exports.de_UpdateChimeWebhookConfigurationCommand = exports.de_UpdateAccountPreferencesCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListMicrosoftTeamsUserIdentitiesCommand = exports.de_ListMicrosoftTeamsConfiguredTeamsCommand = exports.de_ListMicrosoftTeamsChannelConfigurationsCommand = exports.de_ListCustomActionsCommand = exports.de_ListAssociationsCommand = exports.de_GetMicrosoftTeamsChannelConfigurationCommand = exports.de_GetCustomActionCommand = exports.de_GetAccountPreferencesCommand = exports.de_DisassociateFromConfigurationCommand = exports.de_DescribeSlackWorkspacesCommand = void 0;
|
|
5
5
|
const core_1 = require("@aws-sdk/core");
|
|
6
6
|
const core_2 = require("@smithy/core");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
|
+
const uuid_1 = require("uuid");
|
|
8
9
|
const ChatbotServiceException_1 = require("../models/ChatbotServiceException");
|
|
9
10
|
const models_0_1 = require("../models/models_0");
|
|
11
|
+
const se_AssociateToConfigurationCommand = async (input, context) => {
|
|
12
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
13
|
+
const headers = {
|
|
14
|
+
"content-type": "application/json",
|
|
15
|
+
};
|
|
16
|
+
b.bp("/associate-to-configuration");
|
|
17
|
+
let body;
|
|
18
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
19
|
+
ChatConfiguration: [],
|
|
20
|
+
Resource: [],
|
|
21
|
+
}));
|
|
22
|
+
b.m("POST").h(headers).b(body);
|
|
23
|
+
return b.build();
|
|
24
|
+
};
|
|
25
|
+
exports.se_AssociateToConfigurationCommand = se_AssociateToConfigurationCommand;
|
|
10
26
|
const se_CreateChimeWebhookConfigurationCommand = async (input, context) => {
|
|
11
27
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
12
28
|
const headers = {
|
|
@@ -27,6 +43,25 @@ const se_CreateChimeWebhookConfigurationCommand = async (input, context) => {
|
|
|
27
43
|
return b.build();
|
|
28
44
|
};
|
|
29
45
|
exports.se_CreateChimeWebhookConfigurationCommand = se_CreateChimeWebhookConfigurationCommand;
|
|
46
|
+
const se_CreateCustomActionCommand = async (input, context) => {
|
|
47
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
48
|
+
const headers = {
|
|
49
|
+
"content-type": "application/json",
|
|
50
|
+
};
|
|
51
|
+
b.bp("/create-custom-action");
|
|
52
|
+
let body;
|
|
53
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
54
|
+
ActionName: [],
|
|
55
|
+
AliasName: [],
|
|
56
|
+
Attachments: (_) => (0, smithy_client_1._json)(_),
|
|
57
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
58
|
+
Definition: (_) => (0, smithy_client_1._json)(_),
|
|
59
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
60
|
+
}));
|
|
61
|
+
b.m("POST").h(headers).b(body);
|
|
62
|
+
return b.build();
|
|
63
|
+
};
|
|
64
|
+
exports.se_CreateCustomActionCommand = se_CreateCustomActionCommand;
|
|
30
65
|
const se_CreateMicrosoftTeamsChannelConfigurationCommand = async (input, context) => {
|
|
31
66
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
32
67
|
const headers = {
|
|
@@ -89,6 +124,20 @@ const se_DeleteChimeWebhookConfigurationCommand = async (input, context) => {
|
|
|
89
124
|
return b.build();
|
|
90
125
|
};
|
|
91
126
|
exports.se_DeleteChimeWebhookConfigurationCommand = se_DeleteChimeWebhookConfigurationCommand;
|
|
127
|
+
const se_DeleteCustomActionCommand = async (input, context) => {
|
|
128
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
129
|
+
const headers = {
|
|
130
|
+
"content-type": "application/json",
|
|
131
|
+
};
|
|
132
|
+
b.bp("/delete-custom-action");
|
|
133
|
+
let body;
|
|
134
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
135
|
+
CustomActionArn: [],
|
|
136
|
+
}));
|
|
137
|
+
b.m("POST").h(headers).b(body);
|
|
138
|
+
return b.build();
|
|
139
|
+
};
|
|
140
|
+
exports.se_DeleteCustomActionCommand = se_DeleteCustomActionCommand;
|
|
92
141
|
const se_DeleteMicrosoftTeamsChannelConfigurationCommand = async (input, context) => {
|
|
93
142
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
94
143
|
const headers = {
|
|
@@ -239,6 +288,21 @@ const se_DescribeSlackWorkspacesCommand = async (input, context) => {
|
|
|
239
288
|
return b.build();
|
|
240
289
|
};
|
|
241
290
|
exports.se_DescribeSlackWorkspacesCommand = se_DescribeSlackWorkspacesCommand;
|
|
291
|
+
const se_DisassociateFromConfigurationCommand = async (input, context) => {
|
|
292
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
293
|
+
const headers = {
|
|
294
|
+
"content-type": "application/json",
|
|
295
|
+
};
|
|
296
|
+
b.bp("/disassociate-from-configuration");
|
|
297
|
+
let body;
|
|
298
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
299
|
+
ChatConfiguration: [],
|
|
300
|
+
Resource: [],
|
|
301
|
+
}));
|
|
302
|
+
b.m("POST").h(headers).b(body);
|
|
303
|
+
return b.build();
|
|
304
|
+
};
|
|
305
|
+
exports.se_DisassociateFromConfigurationCommand = se_DisassociateFromConfigurationCommand;
|
|
242
306
|
const se_GetAccountPreferencesCommand = async (input, context) => {
|
|
243
307
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
244
308
|
const headers = {};
|
|
@@ -248,6 +312,20 @@ const se_GetAccountPreferencesCommand = async (input, context) => {
|
|
|
248
312
|
return b.build();
|
|
249
313
|
};
|
|
250
314
|
exports.se_GetAccountPreferencesCommand = se_GetAccountPreferencesCommand;
|
|
315
|
+
const se_GetCustomActionCommand = async (input, context) => {
|
|
316
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
317
|
+
const headers = {
|
|
318
|
+
"content-type": "application/json",
|
|
319
|
+
};
|
|
320
|
+
b.bp("/get-custom-action");
|
|
321
|
+
let body;
|
|
322
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
323
|
+
CustomActionArn: [],
|
|
324
|
+
}));
|
|
325
|
+
b.m("POST").h(headers).b(body);
|
|
326
|
+
return b.build();
|
|
327
|
+
};
|
|
328
|
+
exports.se_GetCustomActionCommand = se_GetCustomActionCommand;
|
|
251
329
|
const se_GetMicrosoftTeamsChannelConfigurationCommand = async (input, context) => {
|
|
252
330
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
253
331
|
const headers = {
|
|
@@ -262,6 +340,37 @@ const se_GetMicrosoftTeamsChannelConfigurationCommand = async (input, context) =
|
|
|
262
340
|
return b.build();
|
|
263
341
|
};
|
|
264
342
|
exports.se_GetMicrosoftTeamsChannelConfigurationCommand = se_GetMicrosoftTeamsChannelConfigurationCommand;
|
|
343
|
+
const se_ListAssociationsCommand = async (input, context) => {
|
|
344
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
345
|
+
const headers = {
|
|
346
|
+
"content-type": "application/json",
|
|
347
|
+
};
|
|
348
|
+
b.bp("/list-associations");
|
|
349
|
+
let body;
|
|
350
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
351
|
+
ChatConfiguration: [],
|
|
352
|
+
MaxResults: [],
|
|
353
|
+
NextToken: [],
|
|
354
|
+
}));
|
|
355
|
+
b.m("POST").h(headers).b(body);
|
|
356
|
+
return b.build();
|
|
357
|
+
};
|
|
358
|
+
exports.se_ListAssociationsCommand = se_ListAssociationsCommand;
|
|
359
|
+
const se_ListCustomActionsCommand = async (input, context) => {
|
|
360
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
361
|
+
const headers = {
|
|
362
|
+
"content-type": "application/json",
|
|
363
|
+
};
|
|
364
|
+
b.bp("/list-custom-actions");
|
|
365
|
+
let body;
|
|
366
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
367
|
+
MaxResults: [],
|
|
368
|
+
NextToken: [],
|
|
369
|
+
}));
|
|
370
|
+
b.m("POST").h(headers).b(body);
|
|
371
|
+
return b.build();
|
|
372
|
+
};
|
|
373
|
+
exports.se_ListCustomActionsCommand = se_ListCustomActionsCommand;
|
|
265
374
|
const se_ListMicrosoftTeamsChannelConfigurationsCommand = async (input, context) => {
|
|
266
375
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
267
376
|
const headers = {
|
|
@@ -387,6 +496,23 @@ const se_UpdateChimeWebhookConfigurationCommand = async (input, context) => {
|
|
|
387
496
|
return b.build();
|
|
388
497
|
};
|
|
389
498
|
exports.se_UpdateChimeWebhookConfigurationCommand = se_UpdateChimeWebhookConfigurationCommand;
|
|
499
|
+
const se_UpdateCustomActionCommand = async (input, context) => {
|
|
500
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
501
|
+
const headers = {
|
|
502
|
+
"content-type": "application/json",
|
|
503
|
+
};
|
|
504
|
+
b.bp("/update-custom-action");
|
|
505
|
+
let body;
|
|
506
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
507
|
+
AliasName: [],
|
|
508
|
+
Attachments: (_) => (0, smithy_client_1._json)(_),
|
|
509
|
+
CustomActionArn: [],
|
|
510
|
+
Definition: (_) => (0, smithy_client_1._json)(_),
|
|
511
|
+
}));
|
|
512
|
+
b.m("POST").h(headers).b(body);
|
|
513
|
+
return b.build();
|
|
514
|
+
};
|
|
515
|
+
exports.se_UpdateCustomActionCommand = se_UpdateCustomActionCommand;
|
|
390
516
|
const se_UpdateMicrosoftTeamsChannelConfigurationCommand = async (input, context) => {
|
|
391
517
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
392
518
|
const headers = {
|
|
@@ -429,6 +555,17 @@ const se_UpdateSlackChannelConfigurationCommand = async (input, context) => {
|
|
|
429
555
|
return b.build();
|
|
430
556
|
};
|
|
431
557
|
exports.se_UpdateSlackChannelConfigurationCommand = se_UpdateSlackChannelConfigurationCommand;
|
|
558
|
+
const de_AssociateToConfigurationCommand = async (output, context) => {
|
|
559
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
560
|
+
return de_CommandError(output, context);
|
|
561
|
+
}
|
|
562
|
+
const contents = (0, smithy_client_1.map)({
|
|
563
|
+
$metadata: deserializeMetadata(output),
|
|
564
|
+
});
|
|
565
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
566
|
+
return contents;
|
|
567
|
+
};
|
|
568
|
+
exports.de_AssociateToConfigurationCommand = de_AssociateToConfigurationCommand;
|
|
432
569
|
const de_CreateChimeWebhookConfigurationCommand = async (output, context) => {
|
|
433
570
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
434
571
|
return de_CommandError(output, context);
|
|
@@ -444,6 +581,21 @@ const de_CreateChimeWebhookConfigurationCommand = async (output, context) => {
|
|
|
444
581
|
return contents;
|
|
445
582
|
};
|
|
446
583
|
exports.de_CreateChimeWebhookConfigurationCommand = de_CreateChimeWebhookConfigurationCommand;
|
|
584
|
+
const de_CreateCustomActionCommand = async (output, context) => {
|
|
585
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
586
|
+
return de_CommandError(output, context);
|
|
587
|
+
}
|
|
588
|
+
const contents = (0, smithy_client_1.map)({
|
|
589
|
+
$metadata: deserializeMetadata(output),
|
|
590
|
+
});
|
|
591
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
592
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
593
|
+
CustomActionArn: smithy_client_1.expectString,
|
|
594
|
+
});
|
|
595
|
+
Object.assign(contents, doc);
|
|
596
|
+
return contents;
|
|
597
|
+
};
|
|
598
|
+
exports.de_CreateCustomActionCommand = de_CreateCustomActionCommand;
|
|
447
599
|
const de_CreateMicrosoftTeamsChannelConfigurationCommand = async (output, context) => {
|
|
448
600
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
449
601
|
return de_CommandError(output, context);
|
|
@@ -485,6 +637,17 @@ const de_DeleteChimeWebhookConfigurationCommand = async (output, context) => {
|
|
|
485
637
|
return contents;
|
|
486
638
|
};
|
|
487
639
|
exports.de_DeleteChimeWebhookConfigurationCommand = de_DeleteChimeWebhookConfigurationCommand;
|
|
640
|
+
const de_DeleteCustomActionCommand = async (output, context) => {
|
|
641
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
642
|
+
return de_CommandError(output, context);
|
|
643
|
+
}
|
|
644
|
+
const contents = (0, smithy_client_1.map)({
|
|
645
|
+
$metadata: deserializeMetadata(output),
|
|
646
|
+
});
|
|
647
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
648
|
+
return contents;
|
|
649
|
+
};
|
|
650
|
+
exports.de_DeleteCustomActionCommand = de_DeleteCustomActionCommand;
|
|
488
651
|
const de_DeleteMicrosoftTeamsChannelConfigurationCommand = async (output, context) => {
|
|
489
652
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
490
653
|
return de_CommandError(output, context);
|
|
@@ -615,6 +778,17 @@ const de_DescribeSlackWorkspacesCommand = async (output, context) => {
|
|
|
615
778
|
return contents;
|
|
616
779
|
};
|
|
617
780
|
exports.de_DescribeSlackWorkspacesCommand = de_DescribeSlackWorkspacesCommand;
|
|
781
|
+
const de_DisassociateFromConfigurationCommand = async (output, context) => {
|
|
782
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
783
|
+
return de_CommandError(output, context);
|
|
784
|
+
}
|
|
785
|
+
const contents = (0, smithy_client_1.map)({
|
|
786
|
+
$metadata: deserializeMetadata(output),
|
|
787
|
+
});
|
|
788
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
789
|
+
return contents;
|
|
790
|
+
};
|
|
791
|
+
exports.de_DisassociateFromConfigurationCommand = de_DisassociateFromConfigurationCommand;
|
|
618
792
|
const de_GetAccountPreferencesCommand = async (output, context) => {
|
|
619
793
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
620
794
|
return de_CommandError(output, context);
|
|
@@ -630,6 +804,21 @@ const de_GetAccountPreferencesCommand = async (output, context) => {
|
|
|
630
804
|
return contents;
|
|
631
805
|
};
|
|
632
806
|
exports.de_GetAccountPreferencesCommand = de_GetAccountPreferencesCommand;
|
|
807
|
+
const de_GetCustomActionCommand = async (output, context) => {
|
|
808
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
809
|
+
return de_CommandError(output, context);
|
|
810
|
+
}
|
|
811
|
+
const contents = (0, smithy_client_1.map)({
|
|
812
|
+
$metadata: deserializeMetadata(output),
|
|
813
|
+
});
|
|
814
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
815
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
816
|
+
CustomAction: smithy_client_1._json,
|
|
817
|
+
});
|
|
818
|
+
Object.assign(contents, doc);
|
|
819
|
+
return contents;
|
|
820
|
+
};
|
|
821
|
+
exports.de_GetCustomActionCommand = de_GetCustomActionCommand;
|
|
633
822
|
const de_GetMicrosoftTeamsChannelConfigurationCommand = async (output, context) => {
|
|
634
823
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
635
824
|
return de_CommandError(output, context);
|
|
@@ -645,6 +834,38 @@ const de_GetMicrosoftTeamsChannelConfigurationCommand = async (output, context)
|
|
|
645
834
|
return contents;
|
|
646
835
|
};
|
|
647
836
|
exports.de_GetMicrosoftTeamsChannelConfigurationCommand = de_GetMicrosoftTeamsChannelConfigurationCommand;
|
|
837
|
+
const de_ListAssociationsCommand = async (output, context) => {
|
|
838
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
839
|
+
return de_CommandError(output, context);
|
|
840
|
+
}
|
|
841
|
+
const contents = (0, smithy_client_1.map)({
|
|
842
|
+
$metadata: deserializeMetadata(output),
|
|
843
|
+
});
|
|
844
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
845
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
846
|
+
Associations: smithy_client_1._json,
|
|
847
|
+
NextToken: smithy_client_1.expectString,
|
|
848
|
+
});
|
|
849
|
+
Object.assign(contents, doc);
|
|
850
|
+
return contents;
|
|
851
|
+
};
|
|
852
|
+
exports.de_ListAssociationsCommand = de_ListAssociationsCommand;
|
|
853
|
+
const de_ListCustomActionsCommand = async (output, context) => {
|
|
854
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
855
|
+
return de_CommandError(output, context);
|
|
856
|
+
}
|
|
857
|
+
const contents = (0, smithy_client_1.map)({
|
|
858
|
+
$metadata: deserializeMetadata(output),
|
|
859
|
+
});
|
|
860
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
861
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
862
|
+
CustomActions: smithy_client_1._json,
|
|
863
|
+
NextToken: smithy_client_1.expectString,
|
|
864
|
+
});
|
|
865
|
+
Object.assign(contents, doc);
|
|
866
|
+
return contents;
|
|
867
|
+
};
|
|
868
|
+
exports.de_ListCustomActionsCommand = de_ListCustomActionsCommand;
|
|
648
869
|
const de_ListMicrosoftTeamsChannelConfigurationsCommand = async (output, context) => {
|
|
649
870
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
650
871
|
return de_CommandError(output, context);
|
|
@@ -760,6 +981,21 @@ const de_UpdateChimeWebhookConfigurationCommand = async (output, context) => {
|
|
|
760
981
|
return contents;
|
|
761
982
|
};
|
|
762
983
|
exports.de_UpdateChimeWebhookConfigurationCommand = de_UpdateChimeWebhookConfigurationCommand;
|
|
984
|
+
const de_UpdateCustomActionCommand = async (output, context) => {
|
|
985
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
986
|
+
return de_CommandError(output, context);
|
|
987
|
+
}
|
|
988
|
+
const contents = (0, smithy_client_1.map)({
|
|
989
|
+
$metadata: deserializeMetadata(output),
|
|
990
|
+
});
|
|
991
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
992
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
993
|
+
CustomActionArn: smithy_client_1.expectString,
|
|
994
|
+
});
|
|
995
|
+
Object.assign(contents, doc);
|
|
996
|
+
return contents;
|
|
997
|
+
};
|
|
998
|
+
exports.de_UpdateCustomActionCommand = de_UpdateCustomActionCommand;
|
|
763
999
|
const de_UpdateMicrosoftTeamsChannelConfigurationCommand = async (output, context) => {
|
|
764
1000
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
765
1001
|
return de_CommandError(output, context);
|
|
@@ -797,6 +1033,15 @@ const de_CommandError = async (output, context) => {
|
|
|
797
1033
|
};
|
|
798
1034
|
const errorCode = (0, core_1.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
799
1035
|
switch (errorCode) {
|
|
1036
|
+
case "InternalServiceError":
|
|
1037
|
+
case "com.amazonaws.chatbot#InternalServiceError":
|
|
1038
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1039
|
+
case "InvalidRequestException":
|
|
1040
|
+
case "com.amazonaws.chatbot#InvalidRequestException":
|
|
1041
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1042
|
+
case "UnauthorizedException":
|
|
1043
|
+
case "com.amazonaws.chatbot#UnauthorizedException":
|
|
1044
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
800
1045
|
case "ConflictException":
|
|
801
1046
|
case "com.amazonaws.chatbot#ConflictException":
|
|
802
1047
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -806,9 +1051,6 @@ const de_CommandError = async (output, context) => {
|
|
|
806
1051
|
case "InvalidParameterException":
|
|
807
1052
|
case "com.amazonaws.chatbot#InvalidParameterException":
|
|
808
1053
|
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
809
|
-
case "InvalidRequestException":
|
|
810
|
-
case "com.amazonaws.chatbot#InvalidRequestException":
|
|
811
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
812
1054
|
case "LimitExceededException":
|
|
813
1055
|
case "com.amazonaws.chatbot#LimitExceededException":
|
|
814
1056
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
@@ -869,9 +1111,6 @@ const de_CommandError = async (output, context) => {
|
|
|
869
1111
|
case "ListMicrosoftTeamsUserIdentitiesException":
|
|
870
1112
|
case "com.amazonaws.chatbot#ListMicrosoftTeamsUserIdentitiesException":
|
|
871
1113
|
throw await de_ListMicrosoftTeamsUserIdentitiesExceptionRes(parsedOutput, context);
|
|
872
|
-
case "InternalServiceError":
|
|
873
|
-
case "com.amazonaws.chatbot#InternalServiceError":
|
|
874
|
-
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
875
1114
|
case "ServiceUnavailableException":
|
|
876
1115
|
case "com.amazonaws.chatbot#ServiceUnavailableException":
|
|
877
1116
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
@@ -1251,6 +1490,19 @@ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
|
1251
1490
|
});
|
|
1252
1491
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1253
1492
|
};
|
|
1493
|
+
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
1494
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1495
|
+
const data = parsedOutput.body;
|
|
1496
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1497
|
+
message: smithy_client_1.expectString,
|
|
1498
|
+
});
|
|
1499
|
+
Object.assign(contents, doc);
|
|
1500
|
+
const exception = new models_0_1.UnauthorizedException({
|
|
1501
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1502
|
+
...contents,
|
|
1503
|
+
});
|
|
1504
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1505
|
+
};
|
|
1254
1506
|
const de_UpdateAccountPreferencesExceptionRes = async (parsedOutput, context) => {
|
|
1255
1507
|
const contents = (0, smithy_client_1.map)({});
|
|
1256
1508
|
const data = parsedOutput.body;
|
package/dist-es/Chatbot.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { ChatbotClient } from "./ChatbotClient";
|
|
3
|
+
import { AssociateToConfigurationCommand, } from "./commands/AssociateToConfigurationCommand";
|
|
3
4
|
import { CreateChimeWebhookConfigurationCommand, } from "./commands/CreateChimeWebhookConfigurationCommand";
|
|
5
|
+
import { CreateCustomActionCommand, } from "./commands/CreateCustomActionCommand";
|
|
4
6
|
import { CreateMicrosoftTeamsChannelConfigurationCommand, } from "./commands/CreateMicrosoftTeamsChannelConfigurationCommand";
|
|
5
7
|
import { CreateSlackChannelConfigurationCommand, } from "./commands/CreateSlackChannelConfigurationCommand";
|
|
6
8
|
import { DeleteChimeWebhookConfigurationCommand, } from "./commands/DeleteChimeWebhookConfigurationCommand";
|
|
9
|
+
import { DeleteCustomActionCommand, } from "./commands/DeleteCustomActionCommand";
|
|
7
10
|
import { DeleteMicrosoftTeamsChannelConfigurationCommand, } from "./commands/DeleteMicrosoftTeamsChannelConfigurationCommand";
|
|
8
11
|
import { DeleteMicrosoftTeamsConfiguredTeamCommand, } from "./commands/DeleteMicrosoftTeamsConfiguredTeamCommand";
|
|
9
12
|
import { DeleteMicrosoftTeamsUserIdentityCommand, } from "./commands/DeleteMicrosoftTeamsUserIdentityCommand";
|
|
@@ -14,8 +17,12 @@ import { DescribeChimeWebhookConfigurationsCommand, } from "./commands/DescribeC
|
|
|
14
17
|
import { DescribeSlackChannelConfigurationsCommand, } from "./commands/DescribeSlackChannelConfigurationsCommand";
|
|
15
18
|
import { DescribeSlackUserIdentitiesCommand, } from "./commands/DescribeSlackUserIdentitiesCommand";
|
|
16
19
|
import { DescribeSlackWorkspacesCommand, } from "./commands/DescribeSlackWorkspacesCommand";
|
|
20
|
+
import { DisassociateFromConfigurationCommand, } from "./commands/DisassociateFromConfigurationCommand";
|
|
17
21
|
import { GetAccountPreferencesCommand, } from "./commands/GetAccountPreferencesCommand";
|
|
22
|
+
import { GetCustomActionCommand, } from "./commands/GetCustomActionCommand";
|
|
18
23
|
import { GetMicrosoftTeamsChannelConfigurationCommand, } from "./commands/GetMicrosoftTeamsChannelConfigurationCommand";
|
|
24
|
+
import { ListAssociationsCommand, } from "./commands/ListAssociationsCommand";
|
|
25
|
+
import { ListCustomActionsCommand, } from "./commands/ListCustomActionsCommand";
|
|
19
26
|
import { ListMicrosoftTeamsChannelConfigurationsCommand, } from "./commands/ListMicrosoftTeamsChannelConfigurationsCommand";
|
|
20
27
|
import { ListMicrosoftTeamsConfiguredTeamsCommand, } from "./commands/ListMicrosoftTeamsConfiguredTeamsCommand";
|
|
21
28
|
import { ListMicrosoftTeamsUserIdentitiesCommand, } from "./commands/ListMicrosoftTeamsUserIdentitiesCommand";
|
|
@@ -24,13 +31,17 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
24
31
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
25
32
|
import { UpdateAccountPreferencesCommand, } from "./commands/UpdateAccountPreferencesCommand";
|
|
26
33
|
import { UpdateChimeWebhookConfigurationCommand, } from "./commands/UpdateChimeWebhookConfigurationCommand";
|
|
34
|
+
import { UpdateCustomActionCommand, } from "./commands/UpdateCustomActionCommand";
|
|
27
35
|
import { UpdateMicrosoftTeamsChannelConfigurationCommand, } from "./commands/UpdateMicrosoftTeamsChannelConfigurationCommand";
|
|
28
36
|
import { UpdateSlackChannelConfigurationCommand, } from "./commands/UpdateSlackChannelConfigurationCommand";
|
|
29
37
|
const commands = {
|
|
38
|
+
AssociateToConfigurationCommand,
|
|
30
39
|
CreateChimeWebhookConfigurationCommand,
|
|
40
|
+
CreateCustomActionCommand,
|
|
31
41
|
CreateMicrosoftTeamsChannelConfigurationCommand,
|
|
32
42
|
CreateSlackChannelConfigurationCommand,
|
|
33
43
|
DeleteChimeWebhookConfigurationCommand,
|
|
44
|
+
DeleteCustomActionCommand,
|
|
34
45
|
DeleteMicrosoftTeamsChannelConfigurationCommand,
|
|
35
46
|
DeleteMicrosoftTeamsConfiguredTeamCommand,
|
|
36
47
|
DeleteMicrosoftTeamsUserIdentityCommand,
|
|
@@ -41,8 +52,12 @@ const commands = {
|
|
|
41
52
|
DescribeSlackChannelConfigurationsCommand,
|
|
42
53
|
DescribeSlackUserIdentitiesCommand,
|
|
43
54
|
DescribeSlackWorkspacesCommand,
|
|
55
|
+
DisassociateFromConfigurationCommand,
|
|
44
56
|
GetAccountPreferencesCommand,
|
|
57
|
+
GetCustomActionCommand,
|
|
45
58
|
GetMicrosoftTeamsChannelConfigurationCommand,
|
|
59
|
+
ListAssociationsCommand,
|
|
60
|
+
ListCustomActionsCommand,
|
|
46
61
|
ListMicrosoftTeamsChannelConfigurationsCommand,
|
|
47
62
|
ListMicrosoftTeamsConfiguredTeamsCommand,
|
|
48
63
|
ListMicrosoftTeamsUserIdentitiesCommand,
|
|
@@ -51,6 +66,7 @@ const commands = {
|
|
|
51
66
|
UntagResourceCommand,
|
|
52
67
|
UpdateAccountPreferencesCommand,
|
|
53
68
|
UpdateChimeWebhookConfigurationCommand,
|
|
69
|
+
UpdateCustomActionCommand,
|
|
54
70
|
UpdateMicrosoftTeamsChannelConfigurationCommand,
|
|
55
71
|
UpdateSlackChannelConfigurationCommand,
|
|
56
72
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_AssociateToConfigurationCommand, se_AssociateToConfigurationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class AssociateToConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WheatleyOrchestration_20171011", "AssociateToConfiguration", {})
|
|
17
|
+
.n("ChatbotClient", "AssociateToConfigurationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_AssociateToConfigurationCommand)
|
|
20
|
+
.de(de_AssociateToConfigurationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateCustomActionCommand, se_CreateCustomActionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateCustomActionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WheatleyOrchestration_20171011", "CreateCustomAction", {})
|
|
17
|
+
.n("ChatbotClient", "CreateCustomActionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateCustomActionCommand)
|
|
20
|
+
.de(de_CreateCustomActionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteCustomActionCommand, se_DeleteCustomActionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteCustomActionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WheatleyOrchestration_20171011", "DeleteCustomAction", {})
|
|
17
|
+
.n("ChatbotClient", "DeleteCustomActionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteCustomActionCommand)
|
|
20
|
+
.de(de_DeleteCustomActionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DisassociateFromConfigurationCommand, se_DisassociateFromConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisassociateFromConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WheatleyOrchestration_20171011", "DisassociateFromConfiguration", {})
|
|
17
|
+
.n("ChatbotClient", "DisassociateFromConfigurationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DisassociateFromConfigurationCommand)
|
|
20
|
+
.de(de_DisassociateFromConfigurationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetCustomActionCommand, se_GetCustomActionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetCustomActionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WheatleyOrchestration_20171011", "GetCustomAction", {})
|
|
17
|
+
.n("ChatbotClient", "GetCustomActionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetCustomActionCommand)
|
|
20
|
+
.de(de_GetCustomActionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListAssociationsCommand, se_ListAssociationsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListAssociationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WheatleyOrchestration_20171011", "ListAssociations", {})
|
|
17
|
+
.n("ChatbotClient", "ListAssociationsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListAssociationsCommand)
|
|
20
|
+
.de(de_ListAssociationsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListCustomActionsCommand, se_ListCustomActionsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListCustomActionsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WheatleyOrchestration_20171011", "ListCustomActions", {})
|
|
17
|
+
.n("ChatbotClient", "ListCustomActionsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListCustomActionsCommand)
|
|
20
|
+
.de(de_ListCustomActionsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|