@aws-sdk/client-chatbot 3.517.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/LICENSE +201 -0
- package/README.md +389 -0
- package/dist-cjs/Chatbot.js +57 -0
- package/dist-cjs/ChatbotClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateChimeWebhookConfigurationCommand.js +28 -0
- package/dist-cjs/commands/CreateMicrosoftTeamsChannelConfigurationCommand.js +28 -0
- package/dist-cjs/commands/CreateSlackChannelConfigurationCommand.js +28 -0
- package/dist-cjs/commands/DeleteChimeWebhookConfigurationCommand.js +28 -0
- package/dist-cjs/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.js +28 -0
- package/dist-cjs/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.js +28 -0
- package/dist-cjs/commands/DeleteMicrosoftTeamsUserIdentityCommand.js +28 -0
- package/dist-cjs/commands/DeleteSlackChannelConfigurationCommand.js +28 -0
- package/dist-cjs/commands/DeleteSlackUserIdentityCommand.js +28 -0
- package/dist-cjs/commands/DeleteSlackWorkspaceAuthorizationCommand.js +28 -0
- package/dist-cjs/commands/DescribeChimeWebhookConfigurationsCommand.js +28 -0
- package/dist-cjs/commands/DescribeSlackChannelConfigurationsCommand.js +28 -0
- package/dist-cjs/commands/DescribeSlackUserIdentitiesCommand.js +28 -0
- package/dist-cjs/commands/DescribeSlackWorkspacesCommand.js +28 -0
- package/dist-cjs/commands/GetAccountPreferencesCommand.js +28 -0
- package/dist-cjs/commands/GetMicrosoftTeamsChannelConfigurationCommand.js +28 -0
- package/dist-cjs/commands/ListMicrosoftTeamsChannelConfigurationsCommand.js +28 -0
- package/dist-cjs/commands/ListMicrosoftTeamsConfiguredTeamsCommand.js +28 -0
- package/dist-cjs/commands/ListMicrosoftTeamsUserIdentitiesCommand.js +28 -0
- package/dist-cjs/commands/UpdateAccountPreferencesCommand.js +28 -0
- package/dist-cjs/commands/UpdateChimeWebhookConfigurationCommand.js +28 -0
- package/dist-cjs/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.js +28 -0
- package/dist-cjs/commands/UpdateSlackChannelConfigurationCommand.js +28 -0
- package/dist-cjs/commands/index.js +26 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/ChatbotServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +392 -0
- package/dist-cjs/pagination/DescribeChimeWebhookConfigurationsPaginator.js +7 -0
- package/dist-cjs/pagination/DescribeSlackChannelConfigurationsPaginator.js +7 -0
- package/dist-cjs/pagination/DescribeSlackUserIdentitiesPaginator.js +7 -0
- package/dist-cjs/pagination/DescribeSlackWorkspacesPaginator.js +7 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.js +7 -0
- package/dist-cjs/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1226 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/Chatbot.js +53 -0
- package/dist-es/ChatbotClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateChimeWebhookConfigurationCommand.js +24 -0
- package/dist-es/commands/CreateMicrosoftTeamsChannelConfigurationCommand.js +24 -0
- package/dist-es/commands/CreateSlackChannelConfigurationCommand.js +24 -0
- package/dist-es/commands/DeleteChimeWebhookConfigurationCommand.js +24 -0
- package/dist-es/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.js +24 -0
- package/dist-es/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.js +24 -0
- package/dist-es/commands/DeleteMicrosoftTeamsUserIdentityCommand.js +24 -0
- package/dist-es/commands/DeleteSlackChannelConfigurationCommand.js +24 -0
- package/dist-es/commands/DeleteSlackUserIdentityCommand.js +24 -0
- package/dist-es/commands/DeleteSlackWorkspaceAuthorizationCommand.js +24 -0
- package/dist-es/commands/DescribeChimeWebhookConfigurationsCommand.js +24 -0
- package/dist-es/commands/DescribeSlackChannelConfigurationsCommand.js +24 -0
- package/dist-es/commands/DescribeSlackUserIdentitiesCommand.js +24 -0
- package/dist-es/commands/DescribeSlackWorkspacesCommand.js +24 -0
- package/dist-es/commands/GetAccountPreferencesCommand.js +24 -0
- package/dist-es/commands/GetMicrosoftTeamsChannelConfigurationCommand.js +24 -0
- package/dist-es/commands/ListMicrosoftTeamsChannelConfigurationsCommand.js +24 -0
- package/dist-es/commands/ListMicrosoftTeamsConfiguredTeamsCommand.js +24 -0
- package/dist-es/commands/ListMicrosoftTeamsUserIdentitiesCommand.js +24 -0
- package/dist-es/commands/UpdateAccountPreferencesCommand.js +24 -0
- package/dist-es/commands/UpdateChimeWebhookConfigurationCommand.js +24 -0
- package/dist-es/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.js +24 -0
- package/dist-es/commands/UpdateSlackChannelConfigurationCommand.js +24 -0
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/ChatbotServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +361 -0
- package/dist-es/pagination/DescribeChimeWebhookConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/DescribeSlackChannelConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/DescribeSlackUserIdentitiesPaginator.js +4 -0
- package/dist-es/pagination/DescribeSlackWorkspacesPaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.js +4 -0
- package/dist-es/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.js +4 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +1177 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/Chatbot.d.ts +171 -0
- package/dist-types/ChatbotClient.d.ts +194 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateChimeWebhookConfigurationCommand.d.ts +89 -0
- package/dist-types/commands/CreateMicrosoftTeamsChannelConfigurationCommand.d.ts +104 -0
- package/dist-types/commands/CreateSlackChannelConfigurationCommand.d.ts +101 -0
- package/dist-types/commands/DeleteChimeWebhookConfigurationCommand.d.ts +68 -0
- package/dist-types/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.d.ts +68 -0
- package/dist-types/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.d.ts +62 -0
- package/dist-types/commands/DeleteMicrosoftTeamsUserIdentityCommand.d.ts +66 -0
- package/dist-types/commands/DeleteSlackChannelConfigurationCommand.d.ts +68 -0
- package/dist-types/commands/DeleteSlackUserIdentityCommand.d.ts +67 -0
- package/dist-types/commands/DeleteSlackWorkspaceAuthorizationCommand.d.ts +62 -0
- package/dist-types/commands/DescribeChimeWebhookConfigurationsCommand.d.ts +81 -0
- package/dist-types/commands/DescribeSlackChannelConfigurationsCommand.d.ts +88 -0
- package/dist-types/commands/DescribeSlackUserIdentitiesCommand.d.ts +78 -0
- package/dist-types/commands/DescribeSlackWorkspacesCommand.d.ts +74 -0
- package/dist-types/commands/GetAccountPreferencesCommand.d.ts +65 -0
- package/dist-types/commands/GetMicrosoftTeamsChannelConfigurationCommand.d.ts +84 -0
- package/dist-types/commands/ListMicrosoftTeamsChannelConfigurationsCommand.d.ts +89 -0
- package/dist-types/commands/ListMicrosoftTeamsConfiguredTeamsCommand.d.ts +75 -0
- package/dist-types/commands/ListMicrosoftTeamsUserIdentitiesCommand.d.ts +80 -0
- package/dist-types/commands/UpdateAccountPreferencesCommand.d.ts +71 -0
- package/dist-types/commands/UpdateChimeWebhookConfigurationCommand.d.ts +86 -0
- package/dist-types/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.d.ts +98 -0
- package/dist-types/commands/UpdateSlackChannelConfigurationCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/ChatbotServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1395 -0
- package/dist-types/pagination/DescribeChimeWebhookConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeSlackChannelConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeSlackUserIdentitiesPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeSlackWorkspacesPaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +209 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Chatbot.d.ts +456 -0
- package/dist-types/ts3.4/ChatbotClient.d.ts +258 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateChimeWebhookConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateMicrosoftTeamsChannelConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateSlackChannelConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteChimeWebhookConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteMicrosoftTeamsUserIdentityCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteSlackChannelConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteSlackUserIdentityCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteSlackWorkspaceAuthorizationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DescribeChimeWebhookConfigurationsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DescribeSlackChannelConfigurationsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DescribeSlackUserIdentitiesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DescribeSlackWorkspacesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetAccountPreferencesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetMicrosoftTeamsChannelConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListMicrosoftTeamsChannelConfigurationsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListMicrosoftTeamsConfiguredTeamsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListMicrosoftTeamsUserIdentitiesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdateAccountPreferencesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdateChimeWebhookConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdateSlackChannelConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/ChatbotServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +537 -0
- package/dist-types/ts3.4/pagination/DescribeChimeWebhookConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeSlackChannelConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeSlackUserIdentitiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeSlackWorkspacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +281 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,24 @@
|
|
|
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_DescribeSlackChannelConfigurationsCommand, se_DescribeSlackChannelConfigurationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeSlackChannelConfigurationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "DescribeSlackChannelConfigurations", {})
|
|
19
|
+
.n("ChatbotClient", "DescribeSlackChannelConfigurationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeSlackChannelConfigurationsCommand)
|
|
22
|
+
.de(de_DescribeSlackChannelConfigurationsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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_DescribeSlackUserIdentitiesCommand, se_DescribeSlackUserIdentitiesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeSlackUserIdentitiesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "DescribeSlackUserIdentities", {})
|
|
19
|
+
.n("ChatbotClient", "DescribeSlackUserIdentitiesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeSlackUserIdentitiesCommand)
|
|
22
|
+
.de(de_DescribeSlackUserIdentitiesCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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_DescribeSlackWorkspacesCommand, se_DescribeSlackWorkspacesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeSlackWorkspacesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "DescribeSlackWorkspaces", {})
|
|
19
|
+
.n("ChatbotClient", "DescribeSlackWorkspacesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeSlackWorkspacesCommand)
|
|
22
|
+
.de(de_DescribeSlackWorkspacesCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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_GetAccountPreferencesCommand, se_GetAccountPreferencesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetAccountPreferencesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "GetAccountPreferences", {})
|
|
19
|
+
.n("ChatbotClient", "GetAccountPreferencesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetAccountPreferencesCommand)
|
|
22
|
+
.de(de_GetAccountPreferencesCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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_GetMicrosoftTeamsChannelConfigurationCommand, se_GetMicrosoftTeamsChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetMicrosoftTeamsChannelConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "GetMicrosoftTeamsChannelConfiguration", {})
|
|
19
|
+
.n("ChatbotClient", "GetMicrosoftTeamsChannelConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetMicrosoftTeamsChannelConfigurationCommand)
|
|
22
|
+
.de(de_GetMicrosoftTeamsChannelConfigurationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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_ListMicrosoftTeamsChannelConfigurationsCommand, se_ListMicrosoftTeamsChannelConfigurationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListMicrosoftTeamsChannelConfigurationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsChannelConfigurations", {})
|
|
19
|
+
.n("ChatbotClient", "ListMicrosoftTeamsChannelConfigurationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListMicrosoftTeamsChannelConfigurationsCommand)
|
|
22
|
+
.de(de_ListMicrosoftTeamsChannelConfigurationsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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_ListMicrosoftTeamsConfiguredTeamsCommand, se_ListMicrosoftTeamsConfiguredTeamsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListMicrosoftTeamsConfiguredTeamsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsConfiguredTeams", {})
|
|
19
|
+
.n("ChatbotClient", "ListMicrosoftTeamsConfiguredTeamsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListMicrosoftTeamsConfiguredTeamsCommand)
|
|
22
|
+
.de(de_ListMicrosoftTeamsConfiguredTeamsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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_ListMicrosoftTeamsUserIdentitiesCommand, se_ListMicrosoftTeamsUserIdentitiesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListMicrosoftTeamsUserIdentitiesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsUserIdentities", {})
|
|
19
|
+
.n("ChatbotClient", "ListMicrosoftTeamsUserIdentitiesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListMicrosoftTeamsUserIdentitiesCommand)
|
|
22
|
+
.de(de_ListMicrosoftTeamsUserIdentitiesCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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_UpdateAccountPreferencesCommand, se_UpdateAccountPreferencesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateAccountPreferencesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "UpdateAccountPreferences", {})
|
|
19
|
+
.n("ChatbotClient", "UpdateAccountPreferencesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateAccountPreferencesCommand)
|
|
22
|
+
.de(de_UpdateAccountPreferencesCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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_UpdateChimeWebhookConfigurationCommand, se_UpdateChimeWebhookConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateChimeWebhookConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "UpdateChimeWebhookConfiguration", {})
|
|
19
|
+
.n("ChatbotClient", "UpdateChimeWebhookConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateChimeWebhookConfigurationCommand)
|
|
22
|
+
.de(de_UpdateChimeWebhookConfigurationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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_UpdateMicrosoftTeamsChannelConfigurationCommand, se_UpdateMicrosoftTeamsChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateMicrosoftTeamsChannelConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "UpdateMicrosoftTeamsChannelConfiguration", {})
|
|
19
|
+
.n("ChatbotClient", "UpdateMicrosoftTeamsChannelConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateMicrosoftTeamsChannelConfigurationCommand)
|
|
22
|
+
.de(de_UpdateMicrosoftTeamsChannelConfigurationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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_UpdateSlackChannelConfigurationCommand, se_UpdateSlackChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateSlackChannelConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "UpdateSlackChannelConfiguration", {})
|
|
19
|
+
.n("ChatbotClient", "UpdateSlackChannelConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateSlackChannelConfigurationCommand)
|
|
22
|
+
.de(de_UpdateSlackChannelConfigurationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from "./CreateChimeWebhookConfigurationCommand";
|
|
2
|
+
export * from "./CreateMicrosoftTeamsChannelConfigurationCommand";
|
|
3
|
+
export * from "./CreateSlackChannelConfigurationCommand";
|
|
4
|
+
export * from "./DeleteChimeWebhookConfigurationCommand";
|
|
5
|
+
export * from "./DeleteMicrosoftTeamsChannelConfigurationCommand";
|
|
6
|
+
export * from "./DeleteMicrosoftTeamsConfiguredTeamCommand";
|
|
7
|
+
export * from "./DeleteMicrosoftTeamsUserIdentityCommand";
|
|
8
|
+
export * from "./DeleteSlackChannelConfigurationCommand";
|
|
9
|
+
export * from "./DeleteSlackUserIdentityCommand";
|
|
10
|
+
export * from "./DeleteSlackWorkspaceAuthorizationCommand";
|
|
11
|
+
export * from "./DescribeChimeWebhookConfigurationsCommand";
|
|
12
|
+
export * from "./DescribeSlackChannelConfigurationsCommand";
|
|
13
|
+
export * from "./DescribeSlackUserIdentitiesCommand";
|
|
14
|
+
export * from "./DescribeSlackWorkspacesCommand";
|
|
15
|
+
export * from "./GetAccountPreferencesCommand";
|
|
16
|
+
export * from "./GetMicrosoftTeamsChannelConfigurationCommand";
|
|
17
|
+
export * from "./ListMicrosoftTeamsChannelConfigurationsCommand";
|
|
18
|
+
export * from "./ListMicrosoftTeamsConfiguredTeamsCommand";
|
|
19
|
+
export * from "./ListMicrosoftTeamsUserIdentitiesCommand";
|
|
20
|
+
export * from "./UpdateAccountPreferencesCommand";
|
|
21
|
+
export * from "./UpdateChimeWebhookConfigurationCommand";
|
|
22
|
+
export * from "./UpdateMicrosoftTeamsChannelConfigurationCommand";
|
|
23
|
+
export * from "./UpdateSlackChannelConfigurationCommand";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
+
return {
|
|
3
|
+
...options,
|
|
4
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
5
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
6
|
+
defaultSigningName: "chatbot",
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://chatbot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://chatbot-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://chatbot.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://chatbot.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class ChatbotServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, ChatbotServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|