@aws-sdk/client-chatbot 3.927.0 → 3.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1477 -1944
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ChatbotClient.js +2 -0
- package/dist-es/commands/AssociateToConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateChimeWebhookConfigurationCommand.js +3 -10
- package/dist-es/commands/CreateCustomActionCommand.js +3 -9
- package/dist-es/commands/CreateMicrosoftTeamsChannelConfigurationCommand.js +3 -10
- package/dist-es/commands/CreateSlackChannelConfigurationCommand.js +3 -10
- package/dist-es/commands/DeleteChimeWebhookConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteCustomActionCommand.js +3 -9
- package/dist-es/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.js +3 -9
- package/dist-es/commands/DeleteMicrosoftTeamsUserIdentityCommand.js +3 -9
- package/dist-es/commands/DeleteSlackChannelConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteSlackUserIdentityCommand.js +3 -9
- package/dist-es/commands/DeleteSlackWorkspaceAuthorizationCommand.js +3 -9
- package/dist-es/commands/DescribeChimeWebhookConfigurationsCommand.js +3 -10
- package/dist-es/commands/DescribeSlackChannelConfigurationsCommand.js +3 -10
- package/dist-es/commands/DescribeSlackUserIdentitiesCommand.js +3 -9
- package/dist-es/commands/DescribeSlackWorkspacesCommand.js +3 -9
- package/dist-es/commands/DisassociateFromConfigurationCommand.js +3 -9
- package/dist-es/commands/GetAccountPreferencesCommand.js +3 -9
- package/dist-es/commands/GetCustomActionCommand.js +3 -9
- package/dist-es/commands/GetMicrosoftTeamsChannelConfigurationCommand.js +3 -10
- package/dist-es/commands/ListAssociationsCommand.js +3 -9
- package/dist-es/commands/ListCustomActionsCommand.js +3 -9
- package/dist-es/commands/ListMicrosoftTeamsChannelConfigurationsCommand.js +3 -10
- package/dist-es/commands/ListMicrosoftTeamsConfiguredTeamsCommand.js +3 -9
- package/dist-es/commands/ListMicrosoftTeamsUserIdentitiesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAccountPreferencesCommand.js +3 -9
- package/dist-es/commands/UpdateChimeWebhookConfigurationCommand.js +3 -10
- package/dist-es/commands/UpdateCustomActionCommand.js +3 -9
- package/dist-es/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.js +3 -10
- package/dist-es/commands/UpdateSlackChannelConfigurationCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -101
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1317 -0
- package/dist-types/ChatbotClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -76
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +173 -0
- package/dist-types/ts3.4/ChatbotClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -57
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +179 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -1492
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -308
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -413
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListCustomActions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListCustomActionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("WheatleyOrchestration_20171011", "ListCustomActions", {})
|
|
17
13
|
.n("ChatbotClient", "ListCustomActionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListCustomActionsCommand)
|
|
20
|
-
.de(de_ListCustomActionsCommand)
|
|
14
|
+
.sc(ListCustomActions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListMicrosoftTeamsChannelConfigurationsCommand, se_ListMicrosoftTeamsChannelConfigurationsCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListMicrosoftTeamsChannelConfigurations } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListMicrosoftTeamsChannelConfigurationsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsChannelConfigurations", {})
|
|
18
13
|
.n("ChatbotClient", "ListMicrosoftTeamsChannelConfigurationsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListMicrosoftTeamsChannelConfigurationsCommand)
|
|
21
|
-
.de(de_ListMicrosoftTeamsChannelConfigurationsCommand)
|
|
14
|
+
.sc(ListMicrosoftTeamsChannelConfigurations)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListMicrosoftTeamsConfiguredTeams } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListMicrosoftTeamsConfiguredTeamsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsConfiguredTeams", {})
|
|
17
13
|
.n("ChatbotClient", "ListMicrosoftTeamsConfiguredTeamsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListMicrosoftTeamsConfiguredTeamsCommand)
|
|
20
|
-
.de(de_ListMicrosoftTeamsConfiguredTeamsCommand)
|
|
14
|
+
.sc(ListMicrosoftTeamsConfiguredTeams)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListMicrosoftTeamsUserIdentities } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListMicrosoftTeamsUserIdentitiesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsUserIdentities", {})
|
|
17
13
|
.n("ChatbotClient", "ListMicrosoftTeamsUserIdentitiesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListMicrosoftTeamsUserIdentitiesCommand)
|
|
20
|
-
.de(de_ListMicrosoftTeamsUserIdentitiesCommand)
|
|
14
|
+
.sc(ListMicrosoftTeamsUserIdentities)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("WheatleyOrchestration_20171011", "ListTagsForResource", {})
|
|
17
13
|
.n("ChatbotClient", "ListTagsForResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTagsForResourceCommand)
|
|
20
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("WheatleyOrchestration_20171011", "TagResource", {})
|
|
17
13
|
.n("ChatbotClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("WheatleyOrchestration_20171011", "UntagResource", {})
|
|
17
13
|
.n("ChatbotClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAccountPreferences } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAccountPreferencesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("WheatleyOrchestration_20171011", "UpdateAccountPreferences", {})
|
|
17
13
|
.n("ChatbotClient", "UpdateAccountPreferencesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAccountPreferencesCommand)
|
|
20
|
-
.de(de_UpdateAccountPreferencesCommand)
|
|
14
|
+
.sc(UpdateAccountPreferences)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateChimeWebhookConfigurationCommand, se_UpdateChimeWebhookConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateChimeWebhookConfiguration } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateChimeWebhookConfigurationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("WheatleyOrchestration_20171011", "UpdateChimeWebhookConfiguration", {})
|
|
18
13
|
.n("ChatbotClient", "UpdateChimeWebhookConfigurationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateChimeWebhookConfigurationCommand)
|
|
21
|
-
.de(de_UpdateChimeWebhookConfigurationCommand)
|
|
14
|
+
.sc(UpdateChimeWebhookConfiguration)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateCustomAction } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateCustomActionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("WheatleyOrchestration_20171011", "UpdateCustomAction", {})
|
|
17
13
|
.n("ChatbotClient", "UpdateCustomActionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateCustomActionCommand)
|
|
20
|
-
.de(de_UpdateCustomActionCommand)
|
|
14
|
+
.sc(UpdateCustomAction)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateMicrosoftTeamsChannelConfigurationCommand, se_UpdateMicrosoftTeamsChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateMicrosoftTeamsChannelConfiguration } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateMicrosoftTeamsChannelConfigurationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("WheatleyOrchestration_20171011", "UpdateMicrosoftTeamsChannelConfiguration", {})
|
|
18
13
|
.n("ChatbotClient", "UpdateMicrosoftTeamsChannelConfigurationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateMicrosoftTeamsChannelConfigurationCommand)
|
|
21
|
-
.de(de_UpdateMicrosoftTeamsChannelConfigurationCommand)
|
|
14
|
+
.sc(UpdateMicrosoftTeamsChannelConfiguration)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateSlackChannelConfigurationCommand, se_UpdateSlackChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateSlackChannelConfiguration } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateSlackChannelConfigurationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("WheatleyOrchestration_20171011", "UpdateSlackChannelConfiguration", {})
|
|
18
13
|
.n("ChatbotClient", "UpdateSlackChannelConfigurationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateSlackChannelConfigurationCommand)
|
|
21
|
-
.de(de_UpdateSlackChannelConfigurationCommand)
|
|
14
|
+
.sc(UpdateSlackChannelConfiguration)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { ChatbotServiceException as __BaseException } from "./ChatbotServiceException";
|
|
3
2
|
export class InternalServiceError extends __BaseException {
|
|
4
3
|
name = "InternalServiceError";
|
|
@@ -438,103 +437,3 @@ export class UpdateSlackChannelConfigurationException extends __BaseException {
|
|
|
438
437
|
this.Message = opts.Message;
|
|
439
438
|
}
|
|
440
439
|
}
|
|
441
|
-
export const ChimeWebhookConfigurationFilterSensitiveLog = (obj) => ({
|
|
442
|
-
...obj,
|
|
443
|
-
...(obj.WebhookDescription && { WebhookDescription: SENSITIVE_STRING }),
|
|
444
|
-
});
|
|
445
|
-
export const CreateChimeWebhookConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
446
|
-
...obj,
|
|
447
|
-
...(obj.WebhookDescription && { WebhookDescription: SENSITIVE_STRING }),
|
|
448
|
-
...(obj.WebhookUrl && { WebhookUrl: SENSITIVE_STRING }),
|
|
449
|
-
});
|
|
450
|
-
export const CreateChimeWebhookConfigurationResultFilterSensitiveLog = (obj) => ({
|
|
451
|
-
...obj,
|
|
452
|
-
...(obj.WebhookConfiguration && {
|
|
453
|
-
WebhookConfiguration: ChimeWebhookConfigurationFilterSensitiveLog(obj.WebhookConfiguration),
|
|
454
|
-
}),
|
|
455
|
-
});
|
|
456
|
-
export const CreateTeamsChannelConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
457
|
-
...obj,
|
|
458
|
-
...(obj.ChannelName && { ChannelName: SENSITIVE_STRING }),
|
|
459
|
-
...(obj.TeamName && { TeamName: SENSITIVE_STRING }),
|
|
460
|
-
});
|
|
461
|
-
export const TeamsChannelConfigurationFilterSensitiveLog = (obj) => ({
|
|
462
|
-
...obj,
|
|
463
|
-
...(obj.ChannelName && { ChannelName: SENSITIVE_STRING }),
|
|
464
|
-
...(obj.TeamName && { TeamName: SENSITIVE_STRING }),
|
|
465
|
-
});
|
|
466
|
-
export const CreateTeamsChannelConfigurationResultFilterSensitiveLog = (obj) => ({
|
|
467
|
-
...obj,
|
|
468
|
-
...(obj.ChannelConfiguration && {
|
|
469
|
-
ChannelConfiguration: TeamsChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration),
|
|
470
|
-
}),
|
|
471
|
-
});
|
|
472
|
-
export const CreateSlackChannelConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
473
|
-
...obj,
|
|
474
|
-
...(obj.SlackChannelName && { SlackChannelName: SENSITIVE_STRING }),
|
|
475
|
-
});
|
|
476
|
-
export const SlackChannelConfigurationFilterSensitiveLog = (obj) => ({
|
|
477
|
-
...obj,
|
|
478
|
-
...(obj.SlackChannelName && { SlackChannelName: SENSITIVE_STRING }),
|
|
479
|
-
});
|
|
480
|
-
export const CreateSlackChannelConfigurationResultFilterSensitiveLog = (obj) => ({
|
|
481
|
-
...obj,
|
|
482
|
-
...(obj.ChannelConfiguration && {
|
|
483
|
-
ChannelConfiguration: SlackChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration),
|
|
484
|
-
}),
|
|
485
|
-
});
|
|
486
|
-
export const DescribeChimeWebhookConfigurationsResultFilterSensitiveLog = (obj) => ({
|
|
487
|
-
...obj,
|
|
488
|
-
...(obj.WebhookConfigurations && {
|
|
489
|
-
WebhookConfigurations: obj.WebhookConfigurations.map((item) => ChimeWebhookConfigurationFilterSensitiveLog(item)),
|
|
490
|
-
}),
|
|
491
|
-
});
|
|
492
|
-
export const DescribeSlackChannelConfigurationsResultFilterSensitiveLog = (obj) => ({
|
|
493
|
-
...obj,
|
|
494
|
-
...(obj.SlackChannelConfigurations && {
|
|
495
|
-
SlackChannelConfigurations: obj.SlackChannelConfigurations.map((item) => SlackChannelConfigurationFilterSensitiveLog(item)),
|
|
496
|
-
}),
|
|
497
|
-
});
|
|
498
|
-
export const GetTeamsChannelConfigurationResultFilterSensitiveLog = (obj) => ({
|
|
499
|
-
...obj,
|
|
500
|
-
...(obj.ChannelConfiguration && {
|
|
501
|
-
ChannelConfiguration: TeamsChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration),
|
|
502
|
-
}),
|
|
503
|
-
});
|
|
504
|
-
export const ListTeamsChannelConfigurationsResultFilterSensitiveLog = (obj) => ({
|
|
505
|
-
...obj,
|
|
506
|
-
...(obj.TeamChannelConfigurations && {
|
|
507
|
-
TeamChannelConfigurations: obj.TeamChannelConfigurations.map((item) => TeamsChannelConfigurationFilterSensitiveLog(item)),
|
|
508
|
-
}),
|
|
509
|
-
});
|
|
510
|
-
export const UpdateChimeWebhookConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
511
|
-
...obj,
|
|
512
|
-
...(obj.WebhookDescription && { WebhookDescription: SENSITIVE_STRING }),
|
|
513
|
-
...(obj.WebhookUrl && { WebhookUrl: SENSITIVE_STRING }),
|
|
514
|
-
});
|
|
515
|
-
export const UpdateChimeWebhookConfigurationResultFilterSensitiveLog = (obj) => ({
|
|
516
|
-
...obj,
|
|
517
|
-
...(obj.WebhookConfiguration && {
|
|
518
|
-
WebhookConfiguration: ChimeWebhookConfigurationFilterSensitiveLog(obj.WebhookConfiguration),
|
|
519
|
-
}),
|
|
520
|
-
});
|
|
521
|
-
export const UpdateTeamsChannelConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
522
|
-
...obj,
|
|
523
|
-
...(obj.ChannelName && { ChannelName: SENSITIVE_STRING }),
|
|
524
|
-
});
|
|
525
|
-
export const UpdateTeamsChannelConfigurationResultFilterSensitiveLog = (obj) => ({
|
|
526
|
-
...obj,
|
|
527
|
-
...(obj.ChannelConfiguration && {
|
|
528
|
-
ChannelConfiguration: TeamsChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration),
|
|
529
|
-
}),
|
|
530
|
-
});
|
|
531
|
-
export const UpdateSlackChannelConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
532
|
-
...obj,
|
|
533
|
-
...(obj.SlackChannelName && { SlackChannelName: SENSITIVE_STRING }),
|
|
534
|
-
});
|
|
535
|
-
export const UpdateSlackChannelConfigurationResultFilterSensitiveLog = (obj) => ({
|
|
536
|
-
...obj,
|
|
537
|
-
...(obj.ChannelConfiguration && {
|
|
538
|
-
ChannelConfiguration: SlackChannelConfigurationFilterSensitiveLog(obj.ChannelConfiguration),
|
|
539
|
-
}),
|
|
540
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.chatbot" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "chatbot",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|