@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,89 @@
|
|
|
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 { ListTeamsChannelConfigurationsRequest, ListTeamsChannelConfigurationsResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListMicrosoftTeamsChannelConfigurationsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListMicrosoftTeamsChannelConfigurationsCommandInput extends ListTeamsChannelConfigurationsRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListMicrosoftTeamsChannelConfigurationsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListMicrosoftTeamsChannelConfigurationsCommandOutput extends ListTeamsChannelConfigurationsResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListMicrosoftTeamsChannelConfigurationsCommand_base: {
|
|
24
|
+
new (input: ListMicrosoftTeamsChannelConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMicrosoftTeamsChannelConfigurationsCommandInput, ListMicrosoftTeamsChannelConfigurationsCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Lists MS Teams Channel Configurations optionally filtered by TeamId
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, ListMicrosoftTeamsChannelConfigurationsCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, ListMicrosoftTeamsChannelConfigurationsCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // ListTeamsChannelConfigurationsRequest
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* TeamId: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListMicrosoftTeamsChannelConfigurationsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListTeamsChannelConfigurationsResult
|
|
44
|
+
* // NextToken: "STRING_VALUE",
|
|
45
|
+
* // TeamChannelConfigurations: [ // TeamChannelConfigurationsList
|
|
46
|
+
* // { // TeamsChannelConfiguration
|
|
47
|
+
* // ChannelId: "STRING_VALUE", // required
|
|
48
|
+
* // ChannelName: "STRING_VALUE",
|
|
49
|
+
* // TeamId: "STRING_VALUE", // required
|
|
50
|
+
* // TeamName: "STRING_VALUE",
|
|
51
|
+
* // TenantId: "STRING_VALUE", // required
|
|
52
|
+
* // ChatConfigurationArn: "STRING_VALUE", // required
|
|
53
|
+
* // IamRoleArn: "STRING_VALUE", // required
|
|
54
|
+
* // SnsTopicArns: [ // SnsTopicArnList // required
|
|
55
|
+
* // "STRING_VALUE",
|
|
56
|
+
* // ],
|
|
57
|
+
* // ConfigurationName: "STRING_VALUE",
|
|
58
|
+
* // LoggingLevel: "STRING_VALUE",
|
|
59
|
+
* // GuardrailPolicyArns: [ // GuardrailPolicyArnList
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // UserAuthorizationRequired: true || false,
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param ListMicrosoftTeamsChannelConfigurationsCommandInput - {@link ListMicrosoftTeamsChannelConfigurationsCommandInput}
|
|
70
|
+
* @returns {@link ListMicrosoftTeamsChannelConfigurationsCommandOutput}
|
|
71
|
+
* @see {@link ListMicrosoftTeamsChannelConfigurationsCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListMicrosoftTeamsChannelConfigurationsCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
76
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
79
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ListTeamsChannelConfigurationsException} (server fault)
|
|
82
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ChatbotServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListMicrosoftTeamsChannelConfigurationsCommand extends ListMicrosoftTeamsChannelConfigurationsCommand_base {
|
|
89
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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 { ListMicrosoftTeamsConfiguredTeamsRequest, ListMicrosoftTeamsConfiguredTeamsResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListMicrosoftTeamsConfiguredTeamsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListMicrosoftTeamsConfiguredTeamsCommandInput extends ListMicrosoftTeamsConfiguredTeamsRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListMicrosoftTeamsConfiguredTeamsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListMicrosoftTeamsConfiguredTeamsCommandOutput extends ListMicrosoftTeamsConfiguredTeamsResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListMicrosoftTeamsConfiguredTeamsCommand_base: {
|
|
24
|
+
new (input: ListMicrosoftTeamsConfiguredTeamsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMicrosoftTeamsConfiguredTeamsCommandInput, ListMicrosoftTeamsConfiguredTeamsCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Lists all authorized MS teams 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, ListMicrosoftTeamsConfiguredTeamsCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, ListMicrosoftTeamsConfiguredTeamsCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // ListMicrosoftTeamsConfiguredTeamsRequest
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListMicrosoftTeamsConfiguredTeamsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListMicrosoftTeamsConfiguredTeamsResult
|
|
43
|
+
* // ConfiguredTeams: [ // ConfiguredTeamsList
|
|
44
|
+
* // { // ConfiguredTeam
|
|
45
|
+
* // TenantId: "STRING_VALUE", // required
|
|
46
|
+
* // TeamId: "STRING_VALUE", // required
|
|
47
|
+
* // TeamName: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // NextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ListMicrosoftTeamsConfiguredTeamsCommandInput - {@link ListMicrosoftTeamsConfiguredTeamsCommandInput}
|
|
56
|
+
* @returns {@link ListMicrosoftTeamsConfiguredTeamsCommandOutput}
|
|
57
|
+
* @see {@link ListMicrosoftTeamsConfiguredTeamsCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ListMicrosoftTeamsConfiguredTeamsCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
62
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
65
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ListMicrosoftTeamsConfiguredTeamsException} (server fault)
|
|
68
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ChatbotServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
export declare class ListMicrosoftTeamsConfiguredTeamsCommand extends ListMicrosoftTeamsConfiguredTeamsCommand_base {
|
|
75
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 { ListMicrosoftTeamsUserIdentitiesRequest, ListMicrosoftTeamsUserIdentitiesResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListMicrosoftTeamsUserIdentitiesCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListMicrosoftTeamsUserIdentitiesCommandInput extends ListMicrosoftTeamsUserIdentitiesRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListMicrosoftTeamsUserIdentitiesCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListMicrosoftTeamsUserIdentitiesCommandOutput extends ListMicrosoftTeamsUserIdentitiesResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListMicrosoftTeamsUserIdentitiesCommand_base: {
|
|
24
|
+
new (input: ListMicrosoftTeamsUserIdentitiesCommandInput): import("@smithy/smithy-client").CommandImpl<ListMicrosoftTeamsUserIdentitiesCommandInput, ListMicrosoftTeamsUserIdentitiesCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Lists all Microsoft Teams 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, ListMicrosoftTeamsUserIdentitiesCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, ListMicrosoftTeamsUserIdentitiesCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // ListMicrosoftTeamsUserIdentitiesRequest
|
|
37
|
+
* ChatConfigurationArn: "STRING_VALUE",
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListMicrosoftTeamsUserIdentitiesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListMicrosoftTeamsUserIdentitiesResult
|
|
44
|
+
* // TeamsUserIdentities: [ // TeamsUserIdentitiesList
|
|
45
|
+
* // { // TeamsUserIdentity
|
|
46
|
+
* // IamRoleArn: "STRING_VALUE", // required
|
|
47
|
+
* // ChatConfigurationArn: "STRING_VALUE", // required
|
|
48
|
+
* // TeamId: "STRING_VALUE", // required
|
|
49
|
+
* // UserId: "STRING_VALUE",
|
|
50
|
+
* // AwsUserIdentity: "STRING_VALUE",
|
|
51
|
+
* // TeamsChannelId: "STRING_VALUE",
|
|
52
|
+
* // TeamsTenantId: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // NextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListMicrosoftTeamsUserIdentitiesCommandInput - {@link ListMicrosoftTeamsUserIdentitiesCommandInput}
|
|
61
|
+
* @returns {@link ListMicrosoftTeamsUserIdentitiesCommandOutput}
|
|
62
|
+
* @see {@link ListMicrosoftTeamsUserIdentitiesCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListMicrosoftTeamsUserIdentitiesCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
67
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
70
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ListMicrosoftTeamsUserIdentitiesException} (server fault)
|
|
73
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ChatbotServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
export declare class ListMicrosoftTeamsUserIdentitiesCommand extends ListMicrosoftTeamsUserIdentitiesCommand_base {
|
|
80
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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 { UpdateAccountPreferencesRequest, UpdateAccountPreferencesResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdateAccountPreferencesCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateAccountPreferencesCommandInput extends UpdateAccountPreferencesRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdateAccountPreferencesCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateAccountPreferencesCommandOutput extends UpdateAccountPreferencesResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdateAccountPreferencesCommand_base: {
|
|
24
|
+
new (input: UpdateAccountPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccountPreferencesCommandInput, UpdateAccountPreferencesCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Update 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, UpdateAccountPreferencesCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, UpdateAccountPreferencesCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // UpdateAccountPreferencesRequest
|
|
37
|
+
* UserAuthorizationRequired: true || false,
|
|
38
|
+
* TrainingDataCollectionEnabled: true || false,
|
|
39
|
+
* };
|
|
40
|
+
* const command = new UpdateAccountPreferencesCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // UpdateAccountPreferencesResult
|
|
43
|
+
* // AccountPreferences: { // AccountPreferences
|
|
44
|
+
* // UserAuthorizationRequired: true || false,
|
|
45
|
+
* // TrainingDataCollectionEnabled: true || false,
|
|
46
|
+
* // },
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UpdateAccountPreferencesCommandInput - {@link UpdateAccountPreferencesCommandInput}
|
|
52
|
+
* @returns {@link UpdateAccountPreferencesCommandOutput}
|
|
53
|
+
* @see {@link UpdateAccountPreferencesCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UpdateAccountPreferencesCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
58
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
61
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link UpdateAccountPreferencesException} (server fault)
|
|
64
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ChatbotServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export declare class UpdateAccountPreferencesCommand extends UpdateAccountPreferencesCommand_base {
|
|
71
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { UpdateChimeWebhookConfigurationRequest, UpdateChimeWebhookConfigurationResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdateChimeWebhookConfigurationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateChimeWebhookConfigurationCommandInput extends UpdateChimeWebhookConfigurationRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdateChimeWebhookConfigurationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateChimeWebhookConfigurationCommandOutput extends UpdateChimeWebhookConfigurationResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdateChimeWebhookConfigurationCommand_base: {
|
|
24
|
+
new (input: UpdateChimeWebhookConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateChimeWebhookConfigurationCommandInput, UpdateChimeWebhookConfigurationCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Updates a Chime Webhook Configuration
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, UpdateChimeWebhookConfigurationCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, UpdateChimeWebhookConfigurationCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // UpdateChimeWebhookConfigurationRequest
|
|
37
|
+
* ChatConfigurationArn: "STRING_VALUE", // required
|
|
38
|
+
* WebhookDescription: "STRING_VALUE",
|
|
39
|
+
* WebhookUrl: "STRING_VALUE",
|
|
40
|
+
* SnsTopicArns: [ // SnsTopicArnList
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* IamRoleArn: "STRING_VALUE",
|
|
44
|
+
* LoggingLevel: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new UpdateChimeWebhookConfigurationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // UpdateChimeWebhookConfigurationResult
|
|
49
|
+
* // WebhookConfiguration: { // ChimeWebhookConfiguration
|
|
50
|
+
* // WebhookDescription: "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
|
+
* // },
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param UpdateChimeWebhookConfigurationCommandInput - {@link UpdateChimeWebhookConfigurationCommandInput}
|
|
64
|
+
* @returns {@link UpdateChimeWebhookConfigurationCommandOutput}
|
|
65
|
+
* @see {@link UpdateChimeWebhookConfigurationCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link UpdateChimeWebhookConfigurationCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
70
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
73
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* We were not able to find the resource for your request.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link UpdateChimeWebhookConfigurationException} (server fault)
|
|
79
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ChatbotServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
export declare class UpdateChimeWebhookConfigurationCommand extends UpdateChimeWebhookConfigurationCommand_base {
|
|
86
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { UpdateTeamsChannelConfigurationRequest, UpdateTeamsChannelConfigurationResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdateMicrosoftTeamsChannelConfigurationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateMicrosoftTeamsChannelConfigurationCommandInput extends UpdateTeamsChannelConfigurationRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdateMicrosoftTeamsChannelConfigurationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateMicrosoftTeamsChannelConfigurationCommandOutput extends UpdateTeamsChannelConfigurationResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdateMicrosoftTeamsChannelConfigurationCommand_base: {
|
|
24
|
+
new (input: UpdateMicrosoftTeamsChannelConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateMicrosoftTeamsChannelConfigurationCommandInput, UpdateMicrosoftTeamsChannelConfigurationCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Updates MS Teams Channel Configuration
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, UpdateMicrosoftTeamsChannelConfigurationCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, UpdateMicrosoftTeamsChannelConfigurationCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // UpdateTeamsChannelConfigurationRequest
|
|
37
|
+
* ChatConfigurationArn: "STRING_VALUE", // required
|
|
38
|
+
* ChannelId: "STRING_VALUE", // required
|
|
39
|
+
* ChannelName: "STRING_VALUE",
|
|
40
|
+
* SnsTopicArns: [ // SnsTopicArnList
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* IamRoleArn: "STRING_VALUE",
|
|
44
|
+
* LoggingLevel: "STRING_VALUE",
|
|
45
|
+
* GuardrailPolicyArns: [ // GuardrailPolicyArnList
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* UserAuthorizationRequired: true || false,
|
|
49
|
+
* };
|
|
50
|
+
* const command = new UpdateMicrosoftTeamsChannelConfigurationCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // UpdateTeamsChannelConfigurationResult
|
|
53
|
+
* // ChannelConfiguration: { // TeamsChannelConfiguration
|
|
54
|
+
* // ChannelId: "STRING_VALUE", // required
|
|
55
|
+
* // ChannelName: "STRING_VALUE",
|
|
56
|
+
* // TeamId: "STRING_VALUE", // required
|
|
57
|
+
* // TeamName: "STRING_VALUE",
|
|
58
|
+
* // TenantId: "STRING_VALUE", // required
|
|
59
|
+
* // ChatConfigurationArn: "STRING_VALUE", // required
|
|
60
|
+
* // IamRoleArn: "STRING_VALUE", // required
|
|
61
|
+
* // SnsTopicArns: [ // SnsTopicArnList // required
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // ConfigurationName: "STRING_VALUE",
|
|
65
|
+
* // LoggingLevel: "STRING_VALUE",
|
|
66
|
+
* // GuardrailPolicyArns: [ // GuardrailPolicyArnList
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // UserAuthorizationRequired: true || false,
|
|
70
|
+
* // },
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param UpdateMicrosoftTeamsChannelConfigurationCommandInput - {@link UpdateMicrosoftTeamsChannelConfigurationCommandInput}
|
|
76
|
+
* @returns {@link UpdateMicrosoftTeamsChannelConfigurationCommandOutput}
|
|
77
|
+
* @see {@link UpdateMicrosoftTeamsChannelConfigurationCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link UpdateMicrosoftTeamsChannelConfigurationCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
82
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
85
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
88
|
+
* We were not able to find the resource for your request.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link UpdateTeamsChannelConfigurationException} (server fault)
|
|
91
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ChatbotServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
export declare class UpdateMicrosoftTeamsChannelConfigurationCommand extends UpdateMicrosoftTeamsChannelConfigurationCommand_base {
|
|
98
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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 { UpdateSlackChannelConfigurationRequest, UpdateSlackChannelConfigurationResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdateSlackChannelConfigurationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateSlackChannelConfigurationCommandInput extends UpdateSlackChannelConfigurationRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdateSlackChannelConfigurationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateSlackChannelConfigurationCommandOutput extends UpdateSlackChannelConfigurationResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdateSlackChannelConfigurationCommand_base: {
|
|
24
|
+
new (input: UpdateSlackChannelConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSlackChannelConfigurationCommandInput, UpdateSlackChannelConfigurationCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* Updates Slack Channel Configuration
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, UpdateSlackChannelConfigurationCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, UpdateSlackChannelConfigurationCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // UpdateSlackChannelConfigurationRequest
|
|
37
|
+
* ChatConfigurationArn: "STRING_VALUE", // required
|
|
38
|
+
* SlackChannelId: "STRING_VALUE", // required
|
|
39
|
+
* SlackChannelName: "STRING_VALUE",
|
|
40
|
+
* SnsTopicArns: [ // SnsTopicArnList
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* IamRoleArn: "STRING_VALUE",
|
|
44
|
+
* LoggingLevel: "STRING_VALUE",
|
|
45
|
+
* GuardrailPolicyArns: [ // GuardrailPolicyArnList
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* UserAuthorizationRequired: true || false,
|
|
49
|
+
* };
|
|
50
|
+
* const command = new UpdateSlackChannelConfigurationCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // UpdateSlackChannelConfigurationResult
|
|
53
|
+
* // ChannelConfiguration: { // SlackChannelConfiguration
|
|
54
|
+
* // SlackTeamName: "STRING_VALUE", // required
|
|
55
|
+
* // SlackTeamId: "STRING_VALUE", // required
|
|
56
|
+
* // SlackChannelId: "STRING_VALUE", // required
|
|
57
|
+
* // SlackChannelName: "STRING_VALUE", // required
|
|
58
|
+
* // ChatConfigurationArn: "STRING_VALUE", // required
|
|
59
|
+
* // IamRoleArn: "STRING_VALUE", // required
|
|
60
|
+
* // SnsTopicArns: [ // SnsTopicArnList // required
|
|
61
|
+
* // "STRING_VALUE",
|
|
62
|
+
* // ],
|
|
63
|
+
* // ConfigurationName: "STRING_VALUE",
|
|
64
|
+
* // LoggingLevel: "STRING_VALUE",
|
|
65
|
+
* // GuardrailPolicyArns: [ // GuardrailPolicyArnList
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // UserAuthorizationRequired: true || false,
|
|
69
|
+
* // },
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param UpdateSlackChannelConfigurationCommandInput - {@link UpdateSlackChannelConfigurationCommandInput}
|
|
75
|
+
* @returns {@link UpdateSlackChannelConfigurationCommandOutput}
|
|
76
|
+
* @see {@link UpdateSlackChannelConfigurationCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link UpdateSlackChannelConfigurationCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
81
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
84
|
+
* Your request input doesn't meet the constraints that AWS Chatbot requires.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* We were not able to find the resource for your request.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link UpdateSlackChannelConfigurationException} (server fault)
|
|
90
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ChatbotServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
export declare class UpdateSlackChannelConfigurationCommand extends UpdateSlackChannelConfigurationCommand_base {
|
|
97
|
+
}
|
|
@@ -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,40 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
+
}
|
|
11
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const commonParams: {
|
|
18
|
+
readonly UseFIPS: {
|
|
19
|
+
readonly type: "builtInParams";
|
|
20
|
+
readonly name: "useFipsEndpoint";
|
|
21
|
+
};
|
|
22
|
+
readonly Endpoint: {
|
|
23
|
+
readonly type: "builtInParams";
|
|
24
|
+
readonly name: "endpoint";
|
|
25
|
+
};
|
|
26
|
+
readonly Region: {
|
|
27
|
+
readonly type: "builtInParams";
|
|
28
|
+
readonly name: "region";
|
|
29
|
+
};
|
|
30
|
+
readonly UseDualStack: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useDualstackEndpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
36
|
+
Region?: string;
|
|
37
|
+
UseDualStack?: boolean;
|
|
38
|
+
UseFIPS?: boolean;
|
|
39
|
+
Endpoint?: string;
|
|
40
|
+
}
|