@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,67 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChatbotClient";
|
|
4
|
+
import { DeleteSlackUserIdentityRequest, DeleteSlackUserIdentityResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DeleteSlackUserIdentityCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeleteSlackUserIdentityCommandInput extends DeleteSlackUserIdentityRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DeleteSlackUserIdentityCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DeleteSlackUserIdentityCommandOutput extends DeleteSlackUserIdentityResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DeleteSlackUserIdentityCommand_base: {
|
|
24
|
+
new (input: DeleteSlackUserIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSlackUserIdentityCommandInput, DeleteSlackUserIdentityCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Deletes a Slack user identity
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, DeleteSlackUserIdentityCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, DeleteSlackUserIdentityCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // DeleteSlackUserIdentityRequest
|
|
37
|
+
* ChatConfigurationArn: "STRING_VALUE", // required
|
|
38
|
+
* SlackTeamId: "STRING_VALUE", // required
|
|
39
|
+
* SlackUserId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteSlackUserIdentityCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteSlackUserIdentityCommandInput - {@link DeleteSlackUserIdentityCommandInput}
|
|
48
|
+
* @returns {@link DeleteSlackUserIdentityCommandOutput}
|
|
49
|
+
* @see {@link DeleteSlackUserIdentityCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteSlackUserIdentityCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link DeleteSlackUserIdentityException} (server fault)
|
|
54
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
57
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* We were not able to find the resource for your request.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ChatbotServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export declare class DeleteSlackUserIdentityCommand extends DeleteSlackUserIdentityCommand_base {
|
|
67
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChatbotClient";
|
|
4
|
+
import { DeleteSlackWorkspaceAuthorizationRequest, DeleteSlackWorkspaceAuthorizationResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DeleteSlackWorkspaceAuthorizationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeleteSlackWorkspaceAuthorizationCommandInput extends DeleteSlackWorkspaceAuthorizationRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DeleteSlackWorkspaceAuthorizationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DeleteSlackWorkspaceAuthorizationCommandOutput extends DeleteSlackWorkspaceAuthorizationResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DeleteSlackWorkspaceAuthorizationCommand_base: {
|
|
24
|
+
new (input: DeleteSlackWorkspaceAuthorizationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSlackWorkspaceAuthorizationCommandInput, DeleteSlackWorkspaceAuthorizationCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Deletes the Slack workspace authorization that allows channels to be configured in that workspace. This requires all configured channels in the workspace to be deleted.
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, DeleteSlackWorkspaceAuthorizationCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, DeleteSlackWorkspaceAuthorizationCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // DeleteSlackWorkspaceAuthorizationRequest
|
|
37
|
+
* SlackTeamId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteSlackWorkspaceAuthorizationCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteSlackWorkspaceAuthorizationCommandInput - {@link DeleteSlackWorkspaceAuthorizationCommandInput}
|
|
46
|
+
* @returns {@link DeleteSlackWorkspaceAuthorizationCommandOutput}
|
|
47
|
+
* @see {@link DeleteSlackWorkspaceAuthorizationCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteSlackWorkspaceAuthorizationCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link DeleteSlackWorkspaceAuthorizationFault} (server fault)
|
|
52
|
+
* There was an issue deleting your Slack workspace.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
55
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ChatbotServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export declare class DeleteSlackWorkspaceAuthorizationCommand extends DeleteSlackWorkspaceAuthorizationCommand_base {
|
|
62
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChatbotClient";
|
|
4
|
+
import { DescribeChimeWebhookConfigurationsRequest, DescribeChimeWebhookConfigurationsResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DescribeChimeWebhookConfigurationsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DescribeChimeWebhookConfigurationsCommandInput extends DescribeChimeWebhookConfigurationsRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DescribeChimeWebhookConfigurationsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DescribeChimeWebhookConfigurationsCommandOutput extends DescribeChimeWebhookConfigurationsResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DescribeChimeWebhookConfigurationsCommand_base: {
|
|
24
|
+
new (input: DescribeChimeWebhookConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeChimeWebhookConfigurationsCommandInput, DescribeChimeWebhookConfigurationsCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Lists Chime Webhook Configurations optionally filtered by ChatConfigurationArn
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, DescribeChimeWebhookConfigurationsCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, DescribeChimeWebhookConfigurationsCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // DescribeChimeWebhookConfigurationsRequest
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* ChatConfigurationArn: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DescribeChimeWebhookConfigurationsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DescribeChimeWebhookConfigurationsResult
|
|
44
|
+
* // NextToken: "STRING_VALUE",
|
|
45
|
+
* // WebhookConfigurations: [ // ChimeWebhookConfigurationList
|
|
46
|
+
* // { // ChimeWebhookConfiguration
|
|
47
|
+
* // WebhookDescription: "STRING_VALUE", // required
|
|
48
|
+
* // ChatConfigurationArn: "STRING_VALUE", // required
|
|
49
|
+
* // IamRoleArn: "STRING_VALUE", // required
|
|
50
|
+
* // SnsTopicArns: [ // SnsTopicArnList // required
|
|
51
|
+
* // "STRING_VALUE",
|
|
52
|
+
* // ],
|
|
53
|
+
* // ConfigurationName: "STRING_VALUE",
|
|
54
|
+
* // LoggingLevel: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param DescribeChimeWebhookConfigurationsCommandInput - {@link DescribeChimeWebhookConfigurationsCommandInput}
|
|
62
|
+
* @returns {@link DescribeChimeWebhookConfigurationsCommandOutput}
|
|
63
|
+
* @see {@link DescribeChimeWebhookConfigurationsCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link DescribeChimeWebhookConfigurationsCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link DescribeChimeWebhookConfigurationsException} (server fault)
|
|
68
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
71
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
74
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ChatbotServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class DescribeChimeWebhookConfigurationsCommand extends DescribeChimeWebhookConfigurationsCommand_base {
|
|
81
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChatbotClient";
|
|
4
|
+
import { DescribeSlackChannelConfigurationsRequest, DescribeSlackChannelConfigurationsResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DescribeSlackChannelConfigurationsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DescribeSlackChannelConfigurationsCommandInput extends DescribeSlackChannelConfigurationsRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DescribeSlackChannelConfigurationsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DescribeSlackChannelConfigurationsCommandOutput extends DescribeSlackChannelConfigurationsResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DescribeSlackChannelConfigurationsCommand_base: {
|
|
24
|
+
new (input: DescribeSlackChannelConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSlackChannelConfigurationsCommandInput, DescribeSlackChannelConfigurationsCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Lists Slack Channel Configurations optionally filtered by ChatConfigurationArn
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, DescribeSlackChannelConfigurationsCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, DescribeSlackChannelConfigurationsCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // DescribeSlackChannelConfigurationsRequest
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* ChatConfigurationArn: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DescribeSlackChannelConfigurationsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DescribeSlackChannelConfigurationsResult
|
|
44
|
+
* // NextToken: "STRING_VALUE",
|
|
45
|
+
* // SlackChannelConfigurations: [ // SlackChannelConfigurationList
|
|
46
|
+
* // { // SlackChannelConfiguration
|
|
47
|
+
* // SlackTeamName: "STRING_VALUE", // required
|
|
48
|
+
* // SlackTeamId: "STRING_VALUE", // required
|
|
49
|
+
* // SlackChannelId: "STRING_VALUE", // required
|
|
50
|
+
* // SlackChannelName: "STRING_VALUE", // required
|
|
51
|
+
* // ChatConfigurationArn: "STRING_VALUE", // required
|
|
52
|
+
* // IamRoleArn: "STRING_VALUE", // required
|
|
53
|
+
* // SnsTopicArns: [ // SnsTopicArnList // required
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // ConfigurationName: "STRING_VALUE",
|
|
57
|
+
* // LoggingLevel: "STRING_VALUE",
|
|
58
|
+
* // GuardrailPolicyArns: [ // GuardrailPolicyArnList
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // UserAuthorizationRequired: true || false,
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param DescribeSlackChannelConfigurationsCommandInput - {@link DescribeSlackChannelConfigurationsCommandInput}
|
|
69
|
+
* @returns {@link DescribeSlackChannelConfigurationsCommandOutput}
|
|
70
|
+
* @see {@link DescribeSlackChannelConfigurationsCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link DescribeSlackChannelConfigurationsCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link DescribeSlackChannelConfigurationsException} (server fault)
|
|
75
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
78
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
81
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ChatbotServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
export declare class DescribeSlackChannelConfigurationsCommand extends DescribeSlackChannelConfigurationsCommand_base {
|
|
88
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChatbotClient";
|
|
4
|
+
import { DescribeSlackUserIdentitiesRequest, DescribeSlackUserIdentitiesResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DescribeSlackUserIdentitiesCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DescribeSlackUserIdentitiesCommandInput extends DescribeSlackUserIdentitiesRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DescribeSlackUserIdentitiesCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DescribeSlackUserIdentitiesCommandOutput extends DescribeSlackUserIdentitiesResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DescribeSlackUserIdentitiesCommand_base: {
|
|
24
|
+
new (input: DescribeSlackUserIdentitiesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSlackUserIdentitiesCommandInput, DescribeSlackUserIdentitiesCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Lists all Slack user identities with a mapped role.
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, DescribeSlackUserIdentitiesCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, DescribeSlackUserIdentitiesCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // DescribeSlackUserIdentitiesRequest
|
|
37
|
+
* ChatConfigurationArn: "STRING_VALUE",
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DescribeSlackUserIdentitiesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DescribeSlackUserIdentitiesResult
|
|
44
|
+
* // SlackUserIdentities: [ // SlackUserIdentitiesList
|
|
45
|
+
* // { // SlackUserIdentity
|
|
46
|
+
* // IamRoleArn: "STRING_VALUE", // required
|
|
47
|
+
* // ChatConfigurationArn: "STRING_VALUE", // required
|
|
48
|
+
* // SlackTeamId: "STRING_VALUE", // required
|
|
49
|
+
* // SlackUserId: "STRING_VALUE", // required
|
|
50
|
+
* // AwsUserIdentity: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // NextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param DescribeSlackUserIdentitiesCommandInput - {@link DescribeSlackUserIdentitiesCommandInput}
|
|
59
|
+
* @returns {@link DescribeSlackUserIdentitiesCommandOutput}
|
|
60
|
+
* @see {@link DescribeSlackUserIdentitiesCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link DescribeSlackUserIdentitiesCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link DescribeSlackUserIdentitiesException} (server fault)
|
|
65
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
68
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
71
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ChatbotServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class DescribeSlackUserIdentitiesCommand extends DescribeSlackUserIdentitiesCommand_base {
|
|
78
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChatbotClient";
|
|
4
|
+
import { DescribeSlackWorkspacesRequest, DescribeSlackWorkspacesResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DescribeSlackWorkspacesCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DescribeSlackWorkspacesCommandInput extends DescribeSlackWorkspacesRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DescribeSlackWorkspacesCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DescribeSlackWorkspacesCommandOutput extends DescribeSlackWorkspacesResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DescribeSlackWorkspacesCommand_base: {
|
|
24
|
+
new (input: DescribeSlackWorkspacesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSlackWorkspacesCommandInput, DescribeSlackWorkspacesCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Lists all authorized Slack Workspaces for AWS Account
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, DescribeSlackWorkspacesCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, DescribeSlackWorkspacesCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // DescribeSlackWorkspacesRequest
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DescribeSlackWorkspacesCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DescribeSlackWorkspacesResult
|
|
43
|
+
* // SlackWorkspaces: [ // SlackWorkspacesList
|
|
44
|
+
* // { // SlackWorkspace
|
|
45
|
+
* // SlackTeamId: "STRING_VALUE", // required
|
|
46
|
+
* // SlackTeamName: "STRING_VALUE", // required
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // NextToken: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param DescribeSlackWorkspacesCommandInput - {@link DescribeSlackWorkspacesCommandInput}
|
|
55
|
+
* @returns {@link DescribeSlackWorkspacesCommandOutput}
|
|
56
|
+
* @see {@link DescribeSlackWorkspacesCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link DescribeSlackWorkspacesCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link DescribeSlackWorkspacesException} (server fault)
|
|
61
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
64
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
67
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ChatbotServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class DescribeSlackWorkspacesCommand extends DescribeSlackWorkspacesCommand_base {
|
|
74
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChatbotClient";
|
|
4
|
+
import { GetAccountPreferencesRequest, GetAccountPreferencesResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetAccountPreferencesCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetAccountPreferencesCommandInput extends GetAccountPreferencesRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetAccountPreferencesCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetAccountPreferencesCommandOutput extends GetAccountPreferencesResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetAccountPreferencesCommand_base: {
|
|
24
|
+
new (input: GetAccountPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountPreferencesCommandInput, GetAccountPreferencesCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Get Chatbot account level preferences
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, GetAccountPreferencesCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, GetAccountPreferencesCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = {};
|
|
37
|
+
* const command = new GetAccountPreferencesCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetAccountPreferencesResult
|
|
40
|
+
* // AccountPreferences: { // AccountPreferences
|
|
41
|
+
* // UserAuthorizationRequired: true || false,
|
|
42
|
+
* // TrainingDataCollectionEnabled: true || false,
|
|
43
|
+
* // },
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param GetAccountPreferencesCommandInput - {@link GetAccountPreferencesCommandInput}
|
|
49
|
+
* @returns {@link GetAccountPreferencesCommandOutput}
|
|
50
|
+
* @see {@link GetAccountPreferencesCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link GetAccountPreferencesCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link GetAccountPreferencesException} (server fault)
|
|
55
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
58
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ChatbotServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
export declare class GetAccountPreferencesCommand extends GetAccountPreferencesCommand_base {
|
|
65
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChatbotClient";
|
|
4
|
+
import { GetTeamsChannelConfigurationRequest, GetTeamsChannelConfigurationResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetMicrosoftTeamsChannelConfigurationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetMicrosoftTeamsChannelConfigurationCommandInput extends GetTeamsChannelConfigurationRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetMicrosoftTeamsChannelConfigurationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetMicrosoftTeamsChannelConfigurationCommandOutput extends GetTeamsChannelConfigurationResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetMicrosoftTeamsChannelConfigurationCommand_base: {
|
|
24
|
+
new (input: GetMicrosoftTeamsChannelConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetMicrosoftTeamsChannelConfigurationCommandInput, GetMicrosoftTeamsChannelConfigurationCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Get a single MS Teams Channel Configurations
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, GetMicrosoftTeamsChannelConfigurationCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, GetMicrosoftTeamsChannelConfigurationCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // GetTeamsChannelConfigurationRequest
|
|
37
|
+
* ChatConfigurationArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetMicrosoftTeamsChannelConfigurationCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetTeamsChannelConfigurationResult
|
|
42
|
+
* // ChannelConfiguration: { // TeamsChannelConfiguration
|
|
43
|
+
* // ChannelId: "STRING_VALUE", // required
|
|
44
|
+
* // ChannelName: "STRING_VALUE",
|
|
45
|
+
* // TeamId: "STRING_VALUE", // required
|
|
46
|
+
* // TeamName: "STRING_VALUE",
|
|
47
|
+
* // TenantId: "STRING_VALUE", // required
|
|
48
|
+
* // ChatConfigurationArn: "STRING_VALUE", // required
|
|
49
|
+
* // IamRoleArn: "STRING_VALUE", // required
|
|
50
|
+
* // SnsTopicArns: [ // SnsTopicArnList // required
|
|
51
|
+
* // "STRING_VALUE",
|
|
52
|
+
* // ],
|
|
53
|
+
* // ConfigurationName: "STRING_VALUE",
|
|
54
|
+
* // LoggingLevel: "STRING_VALUE",
|
|
55
|
+
* // GuardrailPolicyArns: [ // GuardrailPolicyArnList
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // UserAuthorizationRequired: true || false,
|
|
59
|
+
* // },
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param GetMicrosoftTeamsChannelConfigurationCommandInput - {@link GetMicrosoftTeamsChannelConfigurationCommandInput}
|
|
65
|
+
* @returns {@link GetMicrosoftTeamsChannelConfigurationCommandOutput}
|
|
66
|
+
* @see {@link GetMicrosoftTeamsChannelConfigurationCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link GetMicrosoftTeamsChannelConfigurationCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link GetTeamsChannelConfigurationException} (server fault)
|
|
71
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
74
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
77
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ChatbotServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
export declare class GetMicrosoftTeamsChannelConfigurationCommand extends GetMicrosoftTeamsChannelConfigurationCommand_base {
|
|
84
|
+
}
|