@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.
Files changed (207) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +389 -0
  3. package/dist-cjs/Chatbot.js +57 -0
  4. package/dist-cjs/ChatbotClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateChimeWebhookConfigurationCommand.js +28 -0
  8. package/dist-cjs/commands/CreateMicrosoftTeamsChannelConfigurationCommand.js +28 -0
  9. package/dist-cjs/commands/CreateSlackChannelConfigurationCommand.js +28 -0
  10. package/dist-cjs/commands/DeleteChimeWebhookConfigurationCommand.js +28 -0
  11. package/dist-cjs/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.js +28 -0
  12. package/dist-cjs/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.js +28 -0
  13. package/dist-cjs/commands/DeleteMicrosoftTeamsUserIdentityCommand.js +28 -0
  14. package/dist-cjs/commands/DeleteSlackChannelConfigurationCommand.js +28 -0
  15. package/dist-cjs/commands/DeleteSlackUserIdentityCommand.js +28 -0
  16. package/dist-cjs/commands/DeleteSlackWorkspaceAuthorizationCommand.js +28 -0
  17. package/dist-cjs/commands/DescribeChimeWebhookConfigurationsCommand.js +28 -0
  18. package/dist-cjs/commands/DescribeSlackChannelConfigurationsCommand.js +28 -0
  19. package/dist-cjs/commands/DescribeSlackUserIdentitiesCommand.js +28 -0
  20. package/dist-cjs/commands/DescribeSlackWorkspacesCommand.js +28 -0
  21. package/dist-cjs/commands/GetAccountPreferencesCommand.js +28 -0
  22. package/dist-cjs/commands/GetMicrosoftTeamsChannelConfigurationCommand.js +28 -0
  23. package/dist-cjs/commands/ListMicrosoftTeamsChannelConfigurationsCommand.js +28 -0
  24. package/dist-cjs/commands/ListMicrosoftTeamsConfiguredTeamsCommand.js +28 -0
  25. package/dist-cjs/commands/ListMicrosoftTeamsUserIdentitiesCommand.js +28 -0
  26. package/dist-cjs/commands/UpdateAccountPreferencesCommand.js +28 -0
  27. package/dist-cjs/commands/UpdateChimeWebhookConfigurationCommand.js +28 -0
  28. package/dist-cjs/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.js +28 -0
  29. package/dist-cjs/commands/UpdateSlackChannelConfigurationCommand.js +28 -0
  30. package/dist-cjs/commands/index.js +26 -0
  31. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  32. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  33. package/dist-cjs/endpoint/ruleset.js +7 -0
  34. package/dist-cjs/extensionConfiguration.js +2 -0
  35. package/dist-cjs/index.js +12 -0
  36. package/dist-cjs/models/ChatbotServiceException.js +12 -0
  37. package/dist-cjs/models/index.js +4 -0
  38. package/dist-cjs/models/models_0.js +392 -0
  39. package/dist-cjs/pagination/DescribeChimeWebhookConfigurationsPaginator.js +7 -0
  40. package/dist-cjs/pagination/DescribeSlackChannelConfigurationsPaginator.js +7 -0
  41. package/dist-cjs/pagination/DescribeSlackUserIdentitiesPaginator.js +7 -0
  42. package/dist-cjs/pagination/DescribeSlackWorkspacesPaginator.js +7 -0
  43. package/dist-cjs/pagination/Interfaces.js +2 -0
  44. package/dist-cjs/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.js +7 -0
  45. package/dist-cjs/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.js +7 -0
  46. package/dist-cjs/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.js +7 -0
  47. package/dist-cjs/pagination/index.js +11 -0
  48. package/dist-cjs/protocols/Aws_restJson1.js +1226 -0
  49. package/dist-cjs/runtimeConfig.browser.js +39 -0
  50. package/dist-cjs/runtimeConfig.js +49 -0
  51. package/dist-cjs/runtimeConfig.native.js +15 -0
  52. package/dist-cjs/runtimeConfig.shared.js +34 -0
  53. package/dist-cjs/runtimeExtensions.js +25 -0
  54. package/dist-es/Chatbot.js +53 -0
  55. package/dist-es/ChatbotClient.js +52 -0
  56. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  57. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  58. package/dist-es/commands/CreateChimeWebhookConfigurationCommand.js +24 -0
  59. package/dist-es/commands/CreateMicrosoftTeamsChannelConfigurationCommand.js +24 -0
  60. package/dist-es/commands/CreateSlackChannelConfigurationCommand.js +24 -0
  61. package/dist-es/commands/DeleteChimeWebhookConfigurationCommand.js +24 -0
  62. package/dist-es/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.js +24 -0
  63. package/dist-es/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.js +24 -0
  64. package/dist-es/commands/DeleteMicrosoftTeamsUserIdentityCommand.js +24 -0
  65. package/dist-es/commands/DeleteSlackChannelConfigurationCommand.js +24 -0
  66. package/dist-es/commands/DeleteSlackUserIdentityCommand.js +24 -0
  67. package/dist-es/commands/DeleteSlackWorkspaceAuthorizationCommand.js +24 -0
  68. package/dist-es/commands/DescribeChimeWebhookConfigurationsCommand.js +24 -0
  69. package/dist-es/commands/DescribeSlackChannelConfigurationsCommand.js +24 -0
  70. package/dist-es/commands/DescribeSlackUserIdentitiesCommand.js +24 -0
  71. package/dist-es/commands/DescribeSlackWorkspacesCommand.js +24 -0
  72. package/dist-es/commands/GetAccountPreferencesCommand.js +24 -0
  73. package/dist-es/commands/GetMicrosoftTeamsChannelConfigurationCommand.js +24 -0
  74. package/dist-es/commands/ListMicrosoftTeamsChannelConfigurationsCommand.js +24 -0
  75. package/dist-es/commands/ListMicrosoftTeamsConfiguredTeamsCommand.js +24 -0
  76. package/dist-es/commands/ListMicrosoftTeamsUserIdentitiesCommand.js +24 -0
  77. package/dist-es/commands/UpdateAccountPreferencesCommand.js +24 -0
  78. package/dist-es/commands/UpdateChimeWebhookConfigurationCommand.js +24 -0
  79. package/dist-es/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.js +24 -0
  80. package/dist-es/commands/UpdateSlackChannelConfigurationCommand.js +24 -0
  81. package/dist-es/commands/index.js +23 -0
  82. package/dist-es/endpoint/EndpointParameters.js +14 -0
  83. package/dist-es/endpoint/endpointResolver.js +8 -0
  84. package/dist-es/endpoint/ruleset.js +4 -0
  85. package/dist-es/extensionConfiguration.js +1 -0
  86. package/dist-es/index.js +7 -0
  87. package/dist-es/models/ChatbotServiceException.js +8 -0
  88. package/dist-es/models/index.js +1 -0
  89. package/dist-es/models/models_0.js +361 -0
  90. package/dist-es/pagination/DescribeChimeWebhookConfigurationsPaginator.js +4 -0
  91. package/dist-es/pagination/DescribeSlackChannelConfigurationsPaginator.js +4 -0
  92. package/dist-es/pagination/DescribeSlackUserIdentitiesPaginator.js +4 -0
  93. package/dist-es/pagination/DescribeSlackWorkspacesPaginator.js +4 -0
  94. package/dist-es/pagination/Interfaces.js +1 -0
  95. package/dist-es/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.js +4 -0
  96. package/dist-es/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.js +4 -0
  97. package/dist-es/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.js +4 -0
  98. package/dist-es/pagination/index.js +8 -0
  99. package/dist-es/protocols/Aws_restJson1.js +1177 -0
  100. package/dist-es/runtimeConfig.browser.js +34 -0
  101. package/dist-es/runtimeConfig.js +44 -0
  102. package/dist-es/runtimeConfig.native.js +11 -0
  103. package/dist-es/runtimeConfig.shared.js +30 -0
  104. package/dist-es/runtimeExtensions.js +21 -0
  105. package/dist-types/Chatbot.d.ts +171 -0
  106. package/dist-types/ChatbotClient.d.ts +194 -0
  107. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  108. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  109. package/dist-types/commands/CreateChimeWebhookConfigurationCommand.d.ts +89 -0
  110. package/dist-types/commands/CreateMicrosoftTeamsChannelConfigurationCommand.d.ts +104 -0
  111. package/dist-types/commands/CreateSlackChannelConfigurationCommand.d.ts +101 -0
  112. package/dist-types/commands/DeleteChimeWebhookConfigurationCommand.d.ts +68 -0
  113. package/dist-types/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.d.ts +68 -0
  114. package/dist-types/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.d.ts +62 -0
  115. package/dist-types/commands/DeleteMicrosoftTeamsUserIdentityCommand.d.ts +66 -0
  116. package/dist-types/commands/DeleteSlackChannelConfigurationCommand.d.ts +68 -0
  117. package/dist-types/commands/DeleteSlackUserIdentityCommand.d.ts +67 -0
  118. package/dist-types/commands/DeleteSlackWorkspaceAuthorizationCommand.d.ts +62 -0
  119. package/dist-types/commands/DescribeChimeWebhookConfigurationsCommand.d.ts +81 -0
  120. package/dist-types/commands/DescribeSlackChannelConfigurationsCommand.d.ts +88 -0
  121. package/dist-types/commands/DescribeSlackUserIdentitiesCommand.d.ts +78 -0
  122. package/dist-types/commands/DescribeSlackWorkspacesCommand.d.ts +74 -0
  123. package/dist-types/commands/GetAccountPreferencesCommand.d.ts +65 -0
  124. package/dist-types/commands/GetMicrosoftTeamsChannelConfigurationCommand.d.ts +84 -0
  125. package/dist-types/commands/ListMicrosoftTeamsChannelConfigurationsCommand.d.ts +89 -0
  126. package/dist-types/commands/ListMicrosoftTeamsConfiguredTeamsCommand.d.ts +75 -0
  127. package/dist-types/commands/ListMicrosoftTeamsUserIdentitiesCommand.d.ts +80 -0
  128. package/dist-types/commands/UpdateAccountPreferencesCommand.d.ts +71 -0
  129. package/dist-types/commands/UpdateChimeWebhookConfigurationCommand.d.ts +86 -0
  130. package/dist-types/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.d.ts +98 -0
  131. package/dist-types/commands/UpdateSlackChannelConfigurationCommand.d.ts +97 -0
  132. package/dist-types/commands/index.d.ts +23 -0
  133. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  134. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  135. package/dist-types/endpoint/ruleset.d.ts +2 -0
  136. package/dist-types/extensionConfiguration.d.ts +9 -0
  137. package/dist-types/index.d.ts +15 -0
  138. package/dist-types/models/ChatbotServiceException.d.ts +13 -0
  139. package/dist-types/models/index.d.ts +1 -0
  140. package/dist-types/models/models_0.d.ts +1395 -0
  141. package/dist-types/pagination/DescribeChimeWebhookConfigurationsPaginator.d.ts +7 -0
  142. package/dist-types/pagination/DescribeSlackChannelConfigurationsPaginator.d.ts +7 -0
  143. package/dist-types/pagination/DescribeSlackUserIdentitiesPaginator.d.ts +7 -0
  144. package/dist-types/pagination/DescribeSlackWorkspacesPaginator.d.ts +7 -0
  145. package/dist-types/pagination/Interfaces.d.ts +8 -0
  146. package/dist-types/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.d.ts +7 -0
  147. package/dist-types/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.d.ts +7 -0
  148. package/dist-types/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.d.ts +7 -0
  149. package/dist-types/pagination/index.d.ts +8 -0
  150. package/dist-types/protocols/Aws_restJson1.d.ts +209 -0
  151. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  152. package/dist-types/runtimeConfig.d.ts +48 -0
  153. package/dist-types/runtimeConfig.native.d.ts +47 -0
  154. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  155. package/dist-types/runtimeExtensions.d.ts +17 -0
  156. package/dist-types/ts3.4/Chatbot.d.ts +456 -0
  157. package/dist-types/ts3.4/ChatbotClient.d.ts +258 -0
  158. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  159. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  160. package/dist-types/ts3.4/commands/CreateChimeWebhookConfigurationCommand.d.ts +30 -0
  161. package/dist-types/ts3.4/commands/CreateMicrosoftTeamsChannelConfigurationCommand.d.ts +30 -0
  162. package/dist-types/ts3.4/commands/CreateSlackChannelConfigurationCommand.d.ts +30 -0
  163. package/dist-types/ts3.4/commands/DeleteChimeWebhookConfigurationCommand.d.ts +30 -0
  164. package/dist-types/ts3.4/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.d.ts +30 -0
  165. package/dist-types/ts3.4/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.d.ts +30 -0
  166. package/dist-types/ts3.4/commands/DeleteMicrosoftTeamsUserIdentityCommand.d.ts +30 -0
  167. package/dist-types/ts3.4/commands/DeleteSlackChannelConfigurationCommand.d.ts +30 -0
  168. package/dist-types/ts3.4/commands/DeleteSlackUserIdentityCommand.d.ts +30 -0
  169. package/dist-types/ts3.4/commands/DeleteSlackWorkspaceAuthorizationCommand.d.ts +30 -0
  170. package/dist-types/ts3.4/commands/DescribeChimeWebhookConfigurationsCommand.d.ts +30 -0
  171. package/dist-types/ts3.4/commands/DescribeSlackChannelConfigurationsCommand.d.ts +30 -0
  172. package/dist-types/ts3.4/commands/DescribeSlackUserIdentitiesCommand.d.ts +30 -0
  173. package/dist-types/ts3.4/commands/DescribeSlackWorkspacesCommand.d.ts +30 -0
  174. package/dist-types/ts3.4/commands/GetAccountPreferencesCommand.d.ts +30 -0
  175. package/dist-types/ts3.4/commands/GetMicrosoftTeamsChannelConfigurationCommand.d.ts +30 -0
  176. package/dist-types/ts3.4/commands/ListMicrosoftTeamsChannelConfigurationsCommand.d.ts +30 -0
  177. package/dist-types/ts3.4/commands/ListMicrosoftTeamsConfiguredTeamsCommand.d.ts +30 -0
  178. package/dist-types/ts3.4/commands/ListMicrosoftTeamsUserIdentitiesCommand.d.ts +30 -0
  179. package/dist-types/ts3.4/commands/UpdateAccountPreferencesCommand.d.ts +30 -0
  180. package/dist-types/ts3.4/commands/UpdateChimeWebhookConfigurationCommand.d.ts +30 -0
  181. package/dist-types/ts3.4/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.d.ts +30 -0
  182. package/dist-types/ts3.4/commands/UpdateSlackChannelConfigurationCommand.d.ts +30 -0
  183. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  184. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  185. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  186. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  187. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  188. package/dist-types/ts3.4/index.d.ts +10 -0
  189. package/dist-types/ts3.4/models/ChatbotServiceException.d.ts +8 -0
  190. package/dist-types/ts3.4/models/index.d.ts +1 -0
  191. package/dist-types/ts3.4/models/models_0.d.ts +537 -0
  192. package/dist-types/ts3.4/pagination/DescribeChimeWebhookConfigurationsPaginator.d.ts +11 -0
  193. package/dist-types/ts3.4/pagination/DescribeSlackChannelConfigurationsPaginator.d.ts +11 -0
  194. package/dist-types/ts3.4/pagination/DescribeSlackUserIdentitiesPaginator.d.ts +11 -0
  195. package/dist-types/ts3.4/pagination/DescribeSlackWorkspacesPaginator.d.ts +11 -0
  196. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  197. package/dist-types/ts3.4/pagination/ListMicrosoftTeamsChannelConfigurationsPaginator.d.ts +11 -0
  198. package/dist-types/ts3.4/pagination/ListMicrosoftTeamsConfiguredTeamsPaginator.d.ts +11 -0
  199. package/dist-types/ts3.4/pagination/ListMicrosoftTeamsUserIdentitiesPaginator.d.ts +11 -0
  200. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  201. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +281 -0
  202. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  203. package/dist-types/ts3.4/runtimeConfig.d.ts +101 -0
  204. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  205. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  206. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  207. package/package.json +101 -0
@@ -0,0 +1,1395 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ChatbotServiceException as __BaseException } from "./ChatbotServiceException";
3
+ /**
4
+ * @public
5
+ * Preferences which apply for AWS Chatbot usage in the calling AWS account.
6
+ */
7
+ export interface AccountPreferences {
8
+ /**
9
+ * @public
10
+ * Enables use of a user role requirement in your chat configuration.
11
+ */
12
+ UserAuthorizationRequired?: boolean;
13
+ /**
14
+ * @public
15
+ * Turns on training data collection. This helps improve the AWS Chatbot experience by allowing AWS Chatbot to store and use your customer information, such as AWS Chatbot configurations, notifications, user inputs, AWS Chatbot generated responses, and interaction data. This data helps us to continuously improve and develop Artificial Intelligence (AI) technologies. Your data is not shared with any third parties and is protected using sophisticated controls to prevent unauthorized access and misuse. AWS Chatbot does not store or use interactions in chat channels with Amazon Q for training AWS Chatbot’s AI technologies.
16
+ */
17
+ TrainingDataCollectionEnabled?: boolean;
18
+ }
19
+ /**
20
+ * @public
21
+ * An AWS Chatbot configuration for Amazon Chime.
22
+ */
23
+ export interface ChimeWebhookConfiguration {
24
+ /**
25
+ * @public
26
+ * Description of the webhook. Recommend using the convention `RoomName/WebhookName`. See Chime setup tutorial for more details: https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html.
27
+ */
28
+ WebhookDescription: string | undefined;
29
+ /**
30
+ * @public
31
+ * The ARN of the ChimeWebhookConfiguration.
32
+ */
33
+ ChatConfigurationArn: string | undefined;
34
+ /**
35
+ * @public
36
+ * The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
37
+ */
38
+ IamRoleArn: string | undefined;
39
+ /**
40
+ * @public
41
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
42
+ */
43
+ SnsTopicArns: string[] | undefined;
44
+ /**
45
+ * @public
46
+ * The name of the configuration.
47
+ */
48
+ ConfigurationName?: string;
49
+ /**
50
+ * @public
51
+ * Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs.Logging levels include ERROR, INFO, or NONE.
52
+ */
53
+ LoggingLevel?: string;
54
+ }
55
+ /**
56
+ * @public
57
+ * A Microsoft Teams team that has been authorized with AWS Chatbot.
58
+ */
59
+ export interface ConfiguredTeam {
60
+ /**
61
+ * @public
62
+ * The ID of the Microsoft Teams tenant.
63
+ */
64
+ TenantId: string | undefined;
65
+ /**
66
+ * @public
67
+ * The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide.
68
+ */
69
+ TeamId: string | undefined;
70
+ /**
71
+ * @public
72
+ * The name of the Microsoft Teams Team.
73
+ */
74
+ TeamName?: string;
75
+ }
76
+ /**
77
+ * @public
78
+ * There was an issue processing your request.
79
+ */
80
+ export declare class ConflictException extends __BaseException {
81
+ readonly name: "ConflictException";
82
+ readonly $fault: "client";
83
+ /**
84
+ * @internal
85
+ */
86
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
87
+ }
88
+ /**
89
+ * @public
90
+ * We can’t process your request right now because of a server issue. Try again later.
91
+ */
92
+ export declare class CreateChimeWebhookConfigurationException extends __BaseException {
93
+ readonly name: "CreateChimeWebhookConfigurationException";
94
+ readonly $fault: "server";
95
+ Message?: string;
96
+ /**
97
+ * @internal
98
+ */
99
+ constructor(opts: __ExceptionOptionType<CreateChimeWebhookConfigurationException, __BaseException>);
100
+ }
101
+ /**
102
+ * @public
103
+ */
104
+ export interface CreateChimeWebhookConfigurationRequest {
105
+ /**
106
+ * @public
107
+ * Description of the webhook. Recommend using the convention `RoomName/WebhookName`. See Chime setup tutorial for more details: https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html.
108
+ */
109
+ WebhookDescription: string | undefined;
110
+ /**
111
+ * @public
112
+ * URL for the Chime webhook.
113
+ */
114
+ WebhookUrl: string | undefined;
115
+ /**
116
+ * @public
117
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
118
+ */
119
+ SnsTopicArns: string[] | undefined;
120
+ /**
121
+ * @public
122
+ * This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
123
+ */
124
+ IamRoleArn: string | undefined;
125
+ /**
126
+ * @public
127
+ * The name of the configuration.
128
+ */
129
+ ConfigurationName: string | undefined;
130
+ /**
131
+ * @public
132
+ * Logging levels include ERROR, INFO, or NONE.
133
+ */
134
+ LoggingLevel?: string;
135
+ }
136
+ /**
137
+ * @public
138
+ */
139
+ export interface CreateChimeWebhookConfigurationResult {
140
+ /**
141
+ * @public
142
+ * Chime webhook configuration.
143
+ */
144
+ WebhookConfiguration?: ChimeWebhookConfiguration;
145
+ }
146
+ /**
147
+ * @public
148
+ * Your request input doesn't meet the constraints that AWS Chatbot requires.
149
+ */
150
+ export declare class InvalidParameterException extends __BaseException {
151
+ readonly name: "InvalidParameterException";
152
+ readonly $fault: "client";
153
+ /**
154
+ * @internal
155
+ */
156
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
157
+ }
158
+ /**
159
+ * @public
160
+ * Your request input doesn't meet the constraints that AWS Chatbot requires.
161
+ */
162
+ export declare class InvalidRequestException extends __BaseException {
163
+ readonly name: "InvalidRequestException";
164
+ readonly $fault: "client";
165
+ /**
166
+ * @internal
167
+ */
168
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
169
+ }
170
+ /**
171
+ * @public
172
+ * You have exceeded a service limit for AWS Chatbot.
173
+ */
174
+ export declare class LimitExceededException extends __BaseException {
175
+ readonly name: "LimitExceededException";
176
+ readonly $fault: "client";
177
+ /**
178
+ * @internal
179
+ */
180
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
181
+ }
182
+ /**
183
+ * @public
184
+ * We can’t process your request right now because of a server issue. Try again later.
185
+ */
186
+ export declare class CreateTeamsChannelConfigurationException extends __BaseException {
187
+ readonly name: "CreateTeamsChannelConfigurationException";
188
+ readonly $fault: "server";
189
+ Message?: string;
190
+ /**
191
+ * @internal
192
+ */
193
+ constructor(opts: __ExceptionOptionType<CreateTeamsChannelConfigurationException, __BaseException>);
194
+ }
195
+ /**
196
+ * @public
197
+ */
198
+ export interface CreateTeamsChannelConfigurationRequest {
199
+ /**
200
+ * @public
201
+ * The ID of the Microsoft Teams channel.
202
+ */
203
+ ChannelId: string | undefined;
204
+ /**
205
+ * @public
206
+ * The name of the Microsoft Teams channel.
207
+ */
208
+ ChannelName?: string;
209
+ /**
210
+ * @public
211
+ * The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide.
212
+ */
213
+ TeamId: string | undefined;
214
+ /**
215
+ * @public
216
+ * The name of the Microsoft Teams Team.
217
+ */
218
+ TeamName?: string;
219
+ /**
220
+ * @public
221
+ * The ID of the Microsoft Teams tenant.
222
+ */
223
+ TenantId: string | undefined;
224
+ /**
225
+ * @public
226
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
227
+ */
228
+ SnsTopicArns?: string[];
229
+ /**
230
+ * @public
231
+ * The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
232
+ */
233
+ IamRoleArn: string | undefined;
234
+ /**
235
+ * @public
236
+ * The name of the configuration.
237
+ */
238
+ ConfigurationName: string | undefined;
239
+ /**
240
+ * @public
241
+ * Logging levels include ERROR, INFO, or NONE.
242
+ */
243
+ LoggingLevel?: string;
244
+ /**
245
+ * @public
246
+ * The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
247
+ */
248
+ GuardrailPolicyArns?: string[];
249
+ /**
250
+ * @public
251
+ * Enables use of a user role requirement in your chat configuration.
252
+ */
253
+ UserAuthorizationRequired?: boolean;
254
+ }
255
+ /**
256
+ * @public
257
+ * An AWS Chatbot configuration for Microsoft Teams.
258
+ */
259
+ export interface TeamsChannelConfiguration {
260
+ /**
261
+ * @public
262
+ * The ID of the Microsoft Teams channel.
263
+ */
264
+ ChannelId: string | undefined;
265
+ /**
266
+ * @public
267
+ * The name of the Microsoft Teams channel.
268
+ */
269
+ ChannelName?: string;
270
+ /**
271
+ * @public
272
+ * The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide.
273
+ */
274
+ TeamId: string | undefined;
275
+ /**
276
+ * @public
277
+ * The name of the Microsoft Teams Team.
278
+ */
279
+ TeamName?: string;
280
+ /**
281
+ * @public
282
+ * The ID of the Microsoft Teams tenant.
283
+ */
284
+ TenantId: string | undefined;
285
+ /**
286
+ * @public
287
+ * The ARN of the MicrosoftTeamsChannelConfiguration.
288
+ */
289
+ ChatConfigurationArn: string | undefined;
290
+ /**
291
+ * @public
292
+ * The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
293
+ */
294
+ IamRoleArn: string | undefined;
295
+ /**
296
+ * @public
297
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
298
+ */
299
+ SnsTopicArns: string[] | undefined;
300
+ /**
301
+ * @public
302
+ * The name of the configuration.
303
+ */
304
+ ConfigurationName?: string;
305
+ /**
306
+ * @public
307
+ * Logging levels include ERROR, INFO, or NONE.
308
+ */
309
+ LoggingLevel?: string;
310
+ /**
311
+ * @public
312
+ * The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
313
+ */
314
+ GuardrailPolicyArns?: string[];
315
+ /**
316
+ * @public
317
+ * Enables use of a user role requirement in your chat configuration.
318
+ */
319
+ UserAuthorizationRequired?: boolean;
320
+ }
321
+ /**
322
+ * @public
323
+ */
324
+ export interface CreateTeamsChannelConfigurationResult {
325
+ /**
326
+ * @public
327
+ * The configuration for a Microsoft Teams channel configured with AWS Chatbot.
328
+ */
329
+ ChannelConfiguration?: TeamsChannelConfiguration;
330
+ }
331
+ /**
332
+ * @public
333
+ * We can’t process your request right now because of a server issue. Try again later.
334
+ */
335
+ export declare class CreateSlackChannelConfigurationException extends __BaseException {
336
+ readonly name: "CreateSlackChannelConfigurationException";
337
+ readonly $fault: "server";
338
+ Message?: string;
339
+ /**
340
+ * @internal
341
+ */
342
+ constructor(opts: __ExceptionOptionType<CreateSlackChannelConfigurationException, __BaseException>);
343
+ }
344
+ /**
345
+ * @public
346
+ */
347
+ export interface CreateSlackChannelConfigurationRequest {
348
+ /**
349
+ * @public
350
+ * The ID of the Slack workspace authorized with AWS Chatbot.
351
+ */
352
+ SlackTeamId: string | undefined;
353
+ /**
354
+ * @public
355
+ * The ID of the Slack channel. To get the ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example, ABCBBLZZZ.
356
+ */
357
+ SlackChannelId: string | undefined;
358
+ /**
359
+ * @public
360
+ * The name of the Slack Channel.
361
+ */
362
+ SlackChannelName?: string;
363
+ /**
364
+ * @public
365
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
366
+ */
367
+ SnsTopicArns?: string[];
368
+ /**
369
+ * @public
370
+ * The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
371
+ */
372
+ IamRoleArn: string | undefined;
373
+ /**
374
+ * @public
375
+ * The name of the configuration.
376
+ */
377
+ ConfigurationName: string | undefined;
378
+ /**
379
+ * @public
380
+ * Logging levels include ERROR, INFO, or NONE.
381
+ */
382
+ LoggingLevel?: string;
383
+ /**
384
+ * @public
385
+ * The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
386
+ */
387
+ GuardrailPolicyArns?: string[];
388
+ /**
389
+ * @public
390
+ * Enables use of a user role requirement in your chat configuration.
391
+ */
392
+ UserAuthorizationRequired?: boolean;
393
+ }
394
+ /**
395
+ * @public
396
+ * An AWS Chatbot configuration for Slack.
397
+ */
398
+ export interface SlackChannelConfiguration {
399
+ /**
400
+ * @public
401
+ * Name of the Slack Workspace.
402
+ */
403
+ SlackTeamName: string | undefined;
404
+ /**
405
+ * @public
406
+ * The ID of the Slack workspace authorized with AWS Chatbot.
407
+ */
408
+ SlackTeamId: string | undefined;
409
+ /**
410
+ * @public
411
+ * The ID of the Slack channel. To get the ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example, ABCBBLZZZ.
412
+ */
413
+ SlackChannelId: string | undefined;
414
+ /**
415
+ * @public
416
+ * The name of the Slack Channel.
417
+ */
418
+ SlackChannelName: string | undefined;
419
+ /**
420
+ * @public
421
+ * The ARN of the SlackChannelConfiguration.
422
+ */
423
+ ChatConfigurationArn: string | undefined;
424
+ /**
425
+ * @public
426
+ * The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
427
+ */
428
+ IamRoleArn: string | undefined;
429
+ /**
430
+ * @public
431
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
432
+ */
433
+ SnsTopicArns: string[] | undefined;
434
+ /**
435
+ * @public
436
+ * The name of the configuration.
437
+ */
438
+ ConfigurationName?: string;
439
+ /**
440
+ * @public
441
+ * Logging levels include ERROR, INFO, or NONE.
442
+ */
443
+ LoggingLevel?: string;
444
+ /**
445
+ * @public
446
+ * The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
447
+ */
448
+ GuardrailPolicyArns?: string[];
449
+ /**
450
+ * @public
451
+ * Enables use of a user role requirement in your chat configuration.
452
+ */
453
+ UserAuthorizationRequired?: boolean;
454
+ }
455
+ /**
456
+ * @public
457
+ */
458
+ export interface CreateSlackChannelConfigurationResult {
459
+ /**
460
+ * @public
461
+ * The configuration for a Slack channel configured with AWS Chatbot.
462
+ */
463
+ ChannelConfiguration?: SlackChannelConfiguration;
464
+ }
465
+ /**
466
+ * @public
467
+ * We can’t process your request right now because of a server issue. Try again later.
468
+ */
469
+ export declare class DeleteChimeWebhookConfigurationException extends __BaseException {
470
+ readonly name: "DeleteChimeWebhookConfigurationException";
471
+ readonly $fault: "server";
472
+ Message?: string;
473
+ /**
474
+ * @internal
475
+ */
476
+ constructor(opts: __ExceptionOptionType<DeleteChimeWebhookConfigurationException, __BaseException>);
477
+ }
478
+ /**
479
+ * @public
480
+ */
481
+ export interface DeleteChimeWebhookConfigurationRequest {
482
+ /**
483
+ * @public
484
+ * The ARN of the ChimeWebhookConfiguration to delete.
485
+ */
486
+ ChatConfigurationArn: string | undefined;
487
+ }
488
+ /**
489
+ * @public
490
+ */
491
+ export interface DeleteChimeWebhookConfigurationResult {
492
+ }
493
+ /**
494
+ * @public
495
+ * We were not able to find the resource for your request.
496
+ */
497
+ export declare class ResourceNotFoundException extends __BaseException {
498
+ readonly name: "ResourceNotFoundException";
499
+ readonly $fault: "client";
500
+ Message?: string;
501
+ /**
502
+ * @internal
503
+ */
504
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
505
+ }
506
+ /**
507
+ * @public
508
+ * We can’t process your request right now because of a server issue. Try again later.
509
+ */
510
+ export declare class DeleteTeamsChannelConfigurationException extends __BaseException {
511
+ readonly name: "DeleteTeamsChannelConfigurationException";
512
+ readonly $fault: "server";
513
+ Message?: string;
514
+ /**
515
+ * @internal
516
+ */
517
+ constructor(opts: __ExceptionOptionType<DeleteTeamsChannelConfigurationException, __BaseException>);
518
+ }
519
+ /**
520
+ * @public
521
+ */
522
+ export interface DeleteTeamsChannelConfigurationRequest {
523
+ /**
524
+ * @public
525
+ * The ARN of the MicrosoftTeamsChannelConfiguration to delete.
526
+ */
527
+ ChatConfigurationArn: string | undefined;
528
+ }
529
+ /**
530
+ * @public
531
+ */
532
+ export interface DeleteTeamsChannelConfigurationResult {
533
+ }
534
+ /**
535
+ * @public
536
+ * We can’t process your request right now because of a server issue. Try again later.
537
+ */
538
+ export declare class DeleteTeamsConfiguredTeamException extends __BaseException {
539
+ readonly name: "DeleteTeamsConfiguredTeamException";
540
+ readonly $fault: "server";
541
+ Message?: string;
542
+ /**
543
+ * @internal
544
+ */
545
+ constructor(opts: __ExceptionOptionType<DeleteTeamsConfiguredTeamException, __BaseException>);
546
+ }
547
+ /**
548
+ * @public
549
+ */
550
+ export interface DeleteTeamsConfiguredTeamRequest {
551
+ /**
552
+ * @public
553
+ * The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide.
554
+ */
555
+ TeamId: string | undefined;
556
+ }
557
+ /**
558
+ * @public
559
+ */
560
+ export interface DeleteTeamsConfiguredTeamResult {
561
+ }
562
+ /**
563
+ * @public
564
+ * We can’t process your request right now because of a server issue. Try again later.
565
+ */
566
+ export declare class DeleteMicrosoftTeamsUserIdentityException extends __BaseException {
567
+ readonly name: "DeleteMicrosoftTeamsUserIdentityException";
568
+ readonly $fault: "server";
569
+ Message?: string;
570
+ /**
571
+ * @internal
572
+ */
573
+ constructor(opts: __ExceptionOptionType<DeleteMicrosoftTeamsUserIdentityException, __BaseException>);
574
+ }
575
+ /**
576
+ * @public
577
+ */
578
+ export interface DeleteMicrosoftTeamsUserIdentityRequest {
579
+ /**
580
+ * @public
581
+ * The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity to delete.
582
+ */
583
+ ChatConfigurationArn: string | undefined;
584
+ /**
585
+ * @public
586
+ * Id from Microsoft Teams for user.
587
+ */
588
+ UserId: string | undefined;
589
+ }
590
+ /**
591
+ * @public
592
+ */
593
+ export interface DeleteMicrosoftTeamsUserIdentityResult {
594
+ }
595
+ /**
596
+ * @public
597
+ * We can’t process your request right now because of a server issue. Try again later.
598
+ */
599
+ export declare class DeleteSlackChannelConfigurationException extends __BaseException {
600
+ readonly name: "DeleteSlackChannelConfigurationException";
601
+ readonly $fault: "server";
602
+ Message?: string;
603
+ /**
604
+ * @internal
605
+ */
606
+ constructor(opts: __ExceptionOptionType<DeleteSlackChannelConfigurationException, __BaseException>);
607
+ }
608
+ /**
609
+ * @public
610
+ */
611
+ export interface DeleteSlackChannelConfigurationRequest {
612
+ /**
613
+ * @public
614
+ * The ARN of the SlackChannelConfiguration to delete.
615
+ */
616
+ ChatConfigurationArn: string | undefined;
617
+ }
618
+ /**
619
+ * @public
620
+ */
621
+ export interface DeleteSlackChannelConfigurationResult {
622
+ }
623
+ /**
624
+ * @public
625
+ * We can’t process your request right now because of a server issue. Try again later.
626
+ */
627
+ export declare class DeleteSlackUserIdentityException extends __BaseException {
628
+ readonly name: "DeleteSlackUserIdentityException";
629
+ readonly $fault: "server";
630
+ Message?: string;
631
+ /**
632
+ * @internal
633
+ */
634
+ constructor(opts: __ExceptionOptionType<DeleteSlackUserIdentityException, __BaseException>);
635
+ }
636
+ /**
637
+ * @public
638
+ */
639
+ export interface DeleteSlackUserIdentityRequest {
640
+ /**
641
+ * @public
642
+ * The ARN of the SlackChannelConfiguration associated with the user identity to delete.
643
+ */
644
+ ChatConfigurationArn: string | undefined;
645
+ /**
646
+ * @public
647
+ * The ID of the Slack workspace authorized with AWS Chatbot.
648
+ */
649
+ SlackTeamId: string | undefined;
650
+ /**
651
+ * @public
652
+ * The ID of the user in Slack.
653
+ */
654
+ SlackUserId: string | undefined;
655
+ }
656
+ /**
657
+ * @public
658
+ */
659
+ export interface DeleteSlackUserIdentityResult {
660
+ }
661
+ /**
662
+ * @public
663
+ * There was an issue deleting your Slack workspace.
664
+ */
665
+ export declare class DeleteSlackWorkspaceAuthorizationFault extends __BaseException {
666
+ readonly name: "DeleteSlackWorkspaceAuthorizationFault";
667
+ readonly $fault: "server";
668
+ Message?: string;
669
+ /**
670
+ * @internal
671
+ */
672
+ constructor(opts: __ExceptionOptionType<DeleteSlackWorkspaceAuthorizationFault, __BaseException>);
673
+ }
674
+ /**
675
+ * @public
676
+ */
677
+ export interface DeleteSlackWorkspaceAuthorizationRequest {
678
+ /**
679
+ * @public
680
+ * The ID of the Slack workspace authorized with AWS Chatbot.
681
+ */
682
+ SlackTeamId: string | undefined;
683
+ }
684
+ /**
685
+ * @public
686
+ */
687
+ export interface DeleteSlackWorkspaceAuthorizationResult {
688
+ }
689
+ /**
690
+ * @public
691
+ * We can’t process your request right now because of a server issue. Try again later.
692
+ */
693
+ export declare class DescribeChimeWebhookConfigurationsException extends __BaseException {
694
+ readonly name: "DescribeChimeWebhookConfigurationsException";
695
+ readonly $fault: "server";
696
+ Message?: string;
697
+ /**
698
+ * @internal
699
+ */
700
+ constructor(opts: __ExceptionOptionType<DescribeChimeWebhookConfigurationsException, __BaseException>);
701
+ }
702
+ /**
703
+ * @public
704
+ */
705
+ export interface DescribeChimeWebhookConfigurationsRequest {
706
+ /**
707
+ * @public
708
+ * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
709
+ */
710
+ MaxResults?: number;
711
+ /**
712
+ * @public
713
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
714
+ */
715
+ NextToken?: string;
716
+ /**
717
+ * @public
718
+ * An optional ARN of a ChimeWebhookConfiguration to describe.
719
+ */
720
+ ChatConfigurationArn?: string;
721
+ }
722
+ /**
723
+ * @public
724
+ */
725
+ export interface DescribeChimeWebhookConfigurationsResult {
726
+ /**
727
+ * @public
728
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
729
+ */
730
+ NextToken?: string;
731
+ /**
732
+ * @public
733
+ * A list of Chime webhooks associated with the account.
734
+ */
735
+ WebhookConfigurations?: ChimeWebhookConfiguration[];
736
+ }
737
+ /**
738
+ * @public
739
+ * We can’t process your request right now because of a server issue. Try again later.
740
+ */
741
+ export declare class DescribeSlackChannelConfigurationsException extends __BaseException {
742
+ readonly name: "DescribeSlackChannelConfigurationsException";
743
+ readonly $fault: "server";
744
+ Message?: string;
745
+ /**
746
+ * @internal
747
+ */
748
+ constructor(opts: __ExceptionOptionType<DescribeSlackChannelConfigurationsException, __BaseException>);
749
+ }
750
+ /**
751
+ * @public
752
+ */
753
+ export interface DescribeSlackChannelConfigurationsRequest {
754
+ /**
755
+ * @public
756
+ * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
757
+ */
758
+ MaxResults?: number;
759
+ /**
760
+ * @public
761
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
762
+ */
763
+ NextToken?: string;
764
+ /**
765
+ * @public
766
+ * An optional ARN of a SlackChannelConfiguration to describe.
767
+ */
768
+ ChatConfigurationArn?: string;
769
+ }
770
+ /**
771
+ * @public
772
+ */
773
+ export interface DescribeSlackChannelConfigurationsResult {
774
+ /**
775
+ * @public
776
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
777
+ */
778
+ NextToken?: string;
779
+ /**
780
+ * @public
781
+ * A list of Slack channel configurations.
782
+ */
783
+ SlackChannelConfigurations?: SlackChannelConfiguration[];
784
+ }
785
+ /**
786
+ * @public
787
+ * We can’t process your request right now because of a server issue. Try again later.
788
+ */
789
+ export declare class DescribeSlackUserIdentitiesException extends __BaseException {
790
+ readonly name: "DescribeSlackUserIdentitiesException";
791
+ readonly $fault: "server";
792
+ Message?: string;
793
+ /**
794
+ * @internal
795
+ */
796
+ constructor(opts: __ExceptionOptionType<DescribeSlackUserIdentitiesException, __BaseException>);
797
+ }
798
+ /**
799
+ * @public
800
+ */
801
+ export interface DescribeSlackUserIdentitiesRequest {
802
+ /**
803
+ * @public
804
+ * The ARN of the SlackChannelConfiguration associated with the user identities to describe.
805
+ */
806
+ ChatConfigurationArn?: string;
807
+ /**
808
+ * @public
809
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
810
+ */
811
+ NextToken?: string;
812
+ /**
813
+ * @public
814
+ * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
815
+ */
816
+ MaxResults?: number;
817
+ }
818
+ /**
819
+ * @public
820
+ * Identifes a User level permission for a channel configuration.
821
+ */
822
+ export interface SlackUserIdentity {
823
+ /**
824
+ * @public
825
+ * The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
826
+ */
827
+ IamRoleArn: string | undefined;
828
+ /**
829
+ * @public
830
+ * The ARN of the SlackChannelConfiguration associated with the user identity.
831
+ */
832
+ ChatConfigurationArn: string | undefined;
833
+ /**
834
+ * @public
835
+ * The ID of the Slack workspace authorized with AWS Chatbot.
836
+ */
837
+ SlackTeamId: string | undefined;
838
+ /**
839
+ * @public
840
+ * The ID of the user in Slack.
841
+ */
842
+ SlackUserId: string | undefined;
843
+ /**
844
+ * @public
845
+ * The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.
846
+ */
847
+ AwsUserIdentity?: string;
848
+ }
849
+ /**
850
+ * @public
851
+ */
852
+ export interface DescribeSlackUserIdentitiesResult {
853
+ /**
854
+ * @public
855
+ * A list of Slack User Identities.
856
+ */
857
+ SlackUserIdentities?: SlackUserIdentity[];
858
+ /**
859
+ * @public
860
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
861
+ */
862
+ NextToken?: string;
863
+ }
864
+ /**
865
+ * @public
866
+ * We can’t process your request right now because of a server issue. Try again later.
867
+ */
868
+ export declare class DescribeSlackWorkspacesException extends __BaseException {
869
+ readonly name: "DescribeSlackWorkspacesException";
870
+ readonly $fault: "server";
871
+ Message?: string;
872
+ /**
873
+ * @internal
874
+ */
875
+ constructor(opts: __ExceptionOptionType<DescribeSlackWorkspacesException, __BaseException>);
876
+ }
877
+ /**
878
+ * @public
879
+ */
880
+ export interface DescribeSlackWorkspacesRequest {
881
+ /**
882
+ * @public
883
+ * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
884
+ */
885
+ MaxResults?: number;
886
+ /**
887
+ * @public
888
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
889
+ */
890
+ NextToken?: string;
891
+ }
892
+ /**
893
+ * @public
894
+ * A Slack Workspace.
895
+ */
896
+ export interface SlackWorkspace {
897
+ /**
898
+ * @public
899
+ * The ID of the Slack workspace authorized with AWS Chatbot.
900
+ */
901
+ SlackTeamId: string | undefined;
902
+ /**
903
+ * @public
904
+ * Name of the Slack Workspace.
905
+ */
906
+ SlackTeamName: string | undefined;
907
+ }
908
+ /**
909
+ * @public
910
+ */
911
+ export interface DescribeSlackWorkspacesResult {
912
+ /**
913
+ * @public
914
+ * A list of Slack Workspaces registered with AWS Chatbot.
915
+ */
916
+ SlackWorkspaces?: SlackWorkspace[];
917
+ /**
918
+ * @public
919
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
920
+ */
921
+ NextToken?: string;
922
+ }
923
+ /**
924
+ * @public
925
+ * We can’t process your request right now because of a server issue. Try again later.
926
+ */
927
+ export declare class GetAccountPreferencesException extends __BaseException {
928
+ readonly name: "GetAccountPreferencesException";
929
+ readonly $fault: "server";
930
+ Message?: string;
931
+ /**
932
+ * @internal
933
+ */
934
+ constructor(opts: __ExceptionOptionType<GetAccountPreferencesException, __BaseException>);
935
+ }
936
+ /**
937
+ * @public
938
+ */
939
+ export interface GetAccountPreferencesRequest {
940
+ }
941
+ /**
942
+ * @public
943
+ */
944
+ export interface GetAccountPreferencesResult {
945
+ /**
946
+ * @public
947
+ * Preferences which apply for AWS Chatbot usage in the calling AWS account.
948
+ */
949
+ AccountPreferences?: AccountPreferences;
950
+ }
951
+ /**
952
+ * @public
953
+ * We can’t process your request right now because of a server issue. Try again later.
954
+ */
955
+ export declare class GetTeamsChannelConfigurationException extends __BaseException {
956
+ readonly name: "GetTeamsChannelConfigurationException";
957
+ readonly $fault: "server";
958
+ Message?: string;
959
+ /**
960
+ * @internal
961
+ */
962
+ constructor(opts: __ExceptionOptionType<GetTeamsChannelConfigurationException, __BaseException>);
963
+ }
964
+ /**
965
+ * @public
966
+ */
967
+ export interface GetTeamsChannelConfigurationRequest {
968
+ /**
969
+ * @public
970
+ * The ARN of the MicrosoftTeamsChannelConfiguration to retrieve.
971
+ */
972
+ ChatConfigurationArn: string | undefined;
973
+ }
974
+ /**
975
+ * @public
976
+ */
977
+ export interface GetTeamsChannelConfigurationResult {
978
+ /**
979
+ * @public
980
+ * The configuration for a Microsoft Teams channel configured with AWS Chatbot.
981
+ */
982
+ ChannelConfiguration?: TeamsChannelConfiguration;
983
+ }
984
+ /**
985
+ * @public
986
+ * We can’t process your request right now because of a server issue. Try again later.
987
+ */
988
+ export declare class ListTeamsChannelConfigurationsException extends __BaseException {
989
+ readonly name: "ListTeamsChannelConfigurationsException";
990
+ readonly $fault: "server";
991
+ Message?: string;
992
+ /**
993
+ * @internal
994
+ */
995
+ constructor(opts: __ExceptionOptionType<ListTeamsChannelConfigurationsException, __BaseException>);
996
+ }
997
+ /**
998
+ * @public
999
+ */
1000
+ export interface ListTeamsChannelConfigurationsRequest {
1001
+ /**
1002
+ * @public
1003
+ * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
1004
+ */
1005
+ MaxResults?: number;
1006
+ /**
1007
+ * @public
1008
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
1009
+ */
1010
+ NextToken?: string;
1011
+ /**
1012
+ * @public
1013
+ * The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide.
1014
+ */
1015
+ TeamId?: string;
1016
+ }
1017
+ /**
1018
+ * @public
1019
+ */
1020
+ export interface ListTeamsChannelConfigurationsResult {
1021
+ /**
1022
+ * @public
1023
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
1024
+ */
1025
+ NextToken?: string;
1026
+ /**
1027
+ * @public
1028
+ * A list of AWS Chatbot channel configurations for Microsoft Teams.
1029
+ */
1030
+ TeamChannelConfigurations?: TeamsChannelConfiguration[];
1031
+ }
1032
+ /**
1033
+ * @public
1034
+ * We can’t process your request right now because of a server issue. Try again later.
1035
+ */
1036
+ export declare class ListMicrosoftTeamsConfiguredTeamsException extends __BaseException {
1037
+ readonly name: "ListMicrosoftTeamsConfiguredTeamsException";
1038
+ readonly $fault: "server";
1039
+ Message?: string;
1040
+ /**
1041
+ * @internal
1042
+ */
1043
+ constructor(opts: __ExceptionOptionType<ListMicrosoftTeamsConfiguredTeamsException, __BaseException>);
1044
+ }
1045
+ /**
1046
+ * @public
1047
+ */
1048
+ export interface ListMicrosoftTeamsConfiguredTeamsRequest {
1049
+ /**
1050
+ * @public
1051
+ * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
1052
+ */
1053
+ MaxResults?: number;
1054
+ /**
1055
+ * @public
1056
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
1057
+ */
1058
+ NextToken?: string;
1059
+ }
1060
+ /**
1061
+ * @public
1062
+ */
1063
+ export interface ListMicrosoftTeamsConfiguredTeamsResult {
1064
+ /**
1065
+ * @public
1066
+ * A list of teams in Microsoft Teams that have been configured with AWS Chatbot.
1067
+ */
1068
+ ConfiguredTeams?: ConfiguredTeam[];
1069
+ /**
1070
+ * @public
1071
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
1072
+ */
1073
+ NextToken?: string;
1074
+ }
1075
+ /**
1076
+ * @public
1077
+ * We can’t process your request right now because of a server issue. Try again later.
1078
+ */
1079
+ export declare class ListMicrosoftTeamsUserIdentitiesException extends __BaseException {
1080
+ readonly name: "ListMicrosoftTeamsUserIdentitiesException";
1081
+ readonly $fault: "server";
1082
+ Message?: string;
1083
+ /**
1084
+ * @internal
1085
+ */
1086
+ constructor(opts: __ExceptionOptionType<ListMicrosoftTeamsUserIdentitiesException, __BaseException>);
1087
+ }
1088
+ /**
1089
+ * @public
1090
+ */
1091
+ export interface ListMicrosoftTeamsUserIdentitiesRequest {
1092
+ /**
1093
+ * @public
1094
+ * The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identities to list.
1095
+ */
1096
+ ChatConfigurationArn?: string;
1097
+ /**
1098
+ * @public
1099
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
1100
+ */
1101
+ NextToken?: string;
1102
+ /**
1103
+ * @public
1104
+ * The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
1105
+ */
1106
+ MaxResults?: number;
1107
+ }
1108
+ /**
1109
+ * @public
1110
+ * Identifes a user level permission for a channel configuration.
1111
+ */
1112
+ export interface TeamsUserIdentity {
1113
+ /**
1114
+ * @public
1115
+ * The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
1116
+ */
1117
+ IamRoleArn: string | undefined;
1118
+ /**
1119
+ * @public
1120
+ * The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.
1121
+ */
1122
+ ChatConfigurationArn: string | undefined;
1123
+ /**
1124
+ * @public
1125
+ * The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide.
1126
+ */
1127
+ TeamId: string | undefined;
1128
+ /**
1129
+ * @public
1130
+ * Id from Microsoft Teams for user.
1131
+ */
1132
+ UserId?: string;
1133
+ /**
1134
+ * @public
1135
+ * The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.
1136
+ */
1137
+ AwsUserIdentity?: string;
1138
+ /**
1139
+ * @public
1140
+ * The ID of the Microsoft Teams channel.
1141
+ */
1142
+ TeamsChannelId?: string;
1143
+ /**
1144
+ * @public
1145
+ * The ID of the Microsoft Teams tenant.
1146
+ */
1147
+ TeamsTenantId?: string;
1148
+ }
1149
+ /**
1150
+ * @public
1151
+ */
1152
+ export interface ListMicrosoftTeamsUserIdentitiesResult {
1153
+ /**
1154
+ * @public
1155
+ * User level permissions associated to a channel configuration.
1156
+ */
1157
+ TeamsUserIdentities?: TeamsUserIdentity[];
1158
+ /**
1159
+ * @public
1160
+ * An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
1161
+ */
1162
+ NextToken?: string;
1163
+ }
1164
+ /**
1165
+ * @public
1166
+ * We can’t process your request right now because of a server issue. Try again later.
1167
+ */
1168
+ export declare class UpdateAccountPreferencesException extends __BaseException {
1169
+ readonly name: "UpdateAccountPreferencesException";
1170
+ readonly $fault: "server";
1171
+ Message?: string;
1172
+ /**
1173
+ * @internal
1174
+ */
1175
+ constructor(opts: __ExceptionOptionType<UpdateAccountPreferencesException, __BaseException>);
1176
+ }
1177
+ /**
1178
+ * @public
1179
+ */
1180
+ export interface UpdateAccountPreferencesRequest {
1181
+ /**
1182
+ * @public
1183
+ * Enables use of a user role requirement in your chat configuration.
1184
+ */
1185
+ UserAuthorizationRequired?: boolean;
1186
+ /**
1187
+ * @public
1188
+ * Turns on training data collection. This helps improve the AWS Chatbot experience by allowing AWS Chatbot to store and use your customer information, such as AWS Chatbot configurations, notifications, user inputs, AWS Chatbot generated responses, and interaction data. This data helps us to continuously improve and develop Artificial Intelligence (AI) technologies. Your data is not shared with any third parties and is protected using sophisticated controls to prevent unauthorized access and misuse. AWS Chatbot does not store or use interactions in chat channels with Amazon Q for training AWS Chatbot’s AI technologies.
1189
+ */
1190
+ TrainingDataCollectionEnabled?: boolean;
1191
+ }
1192
+ /**
1193
+ * @public
1194
+ */
1195
+ export interface UpdateAccountPreferencesResult {
1196
+ /**
1197
+ * @public
1198
+ * Preferences which apply for AWS Chatbot usage in the calling AWS account.
1199
+ */
1200
+ AccountPreferences?: AccountPreferences;
1201
+ }
1202
+ /**
1203
+ * @public
1204
+ * We can’t process your request right now because of a server issue. Try again later.
1205
+ */
1206
+ export declare class UpdateChimeWebhookConfigurationException extends __BaseException {
1207
+ readonly name: "UpdateChimeWebhookConfigurationException";
1208
+ readonly $fault: "server";
1209
+ Message?: string;
1210
+ /**
1211
+ * @internal
1212
+ */
1213
+ constructor(opts: __ExceptionOptionType<UpdateChimeWebhookConfigurationException, __BaseException>);
1214
+ }
1215
+ /**
1216
+ * @public
1217
+ */
1218
+ export interface UpdateChimeWebhookConfigurationRequest {
1219
+ /**
1220
+ * @public
1221
+ * The ARN of the ChimeWebhookConfiguration to update.
1222
+ */
1223
+ ChatConfigurationArn: string | undefined;
1224
+ /**
1225
+ * @public
1226
+ * Description of the webhook. Recommend using the convention `RoomName/WebhookName`. See Chime setup tutorial for more details: https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html.
1227
+ */
1228
+ WebhookDescription?: string;
1229
+ /**
1230
+ * @public
1231
+ * URL for the Chime webhook.
1232
+ */
1233
+ WebhookUrl?: string;
1234
+ /**
1235
+ * @public
1236
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
1237
+ */
1238
+ SnsTopicArns?: string[];
1239
+ /**
1240
+ * @public
1241
+ * The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
1242
+ */
1243
+ IamRoleArn?: string;
1244
+ /**
1245
+ * @public
1246
+ * Logging levels include ERROR, INFO, or NONE.
1247
+ */
1248
+ LoggingLevel?: string;
1249
+ }
1250
+ /**
1251
+ * @public
1252
+ */
1253
+ export interface UpdateChimeWebhookConfigurationResult {
1254
+ /**
1255
+ * @public
1256
+ * Chime webhook configuration.
1257
+ */
1258
+ WebhookConfiguration?: ChimeWebhookConfiguration;
1259
+ }
1260
+ /**
1261
+ * @public
1262
+ * We can’t process your request right now because of a server issue. Try again later.
1263
+ */
1264
+ export declare class UpdateTeamsChannelConfigurationException extends __BaseException {
1265
+ readonly name: "UpdateTeamsChannelConfigurationException";
1266
+ readonly $fault: "server";
1267
+ Message?: string;
1268
+ /**
1269
+ * @internal
1270
+ */
1271
+ constructor(opts: __ExceptionOptionType<UpdateTeamsChannelConfigurationException, __BaseException>);
1272
+ }
1273
+ /**
1274
+ * @public
1275
+ */
1276
+ export interface UpdateTeamsChannelConfigurationRequest {
1277
+ /**
1278
+ * @public
1279
+ * The ARN of the MicrosoftTeamsChannelConfiguration to update.
1280
+ */
1281
+ ChatConfigurationArn: string | undefined;
1282
+ /**
1283
+ * @public
1284
+ * The ID of the Microsoft Teams channel.
1285
+ */
1286
+ ChannelId: string | undefined;
1287
+ /**
1288
+ * @public
1289
+ * The name of the Microsoft Teams channel.
1290
+ */
1291
+ ChannelName?: string;
1292
+ /**
1293
+ * @public
1294
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
1295
+ */
1296
+ SnsTopicArns?: string[];
1297
+ /**
1298
+ * @public
1299
+ * The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
1300
+ */
1301
+ IamRoleArn?: string;
1302
+ /**
1303
+ * @public
1304
+ * Logging levels include ERROR, INFO, or NONE.
1305
+ */
1306
+ LoggingLevel?: string;
1307
+ /**
1308
+ * @public
1309
+ * The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
1310
+ */
1311
+ GuardrailPolicyArns?: string[];
1312
+ /**
1313
+ * @public
1314
+ * Enables use of a user role requirement in your chat configuration.
1315
+ */
1316
+ UserAuthorizationRequired?: boolean;
1317
+ }
1318
+ /**
1319
+ * @public
1320
+ */
1321
+ export interface UpdateTeamsChannelConfigurationResult {
1322
+ /**
1323
+ * @public
1324
+ * The configuration for a Microsoft Teams channel configured with AWS Chatbot.
1325
+ */
1326
+ ChannelConfiguration?: TeamsChannelConfiguration;
1327
+ }
1328
+ /**
1329
+ * @public
1330
+ * We can’t process your request right now because of a server issue. Try again later.
1331
+ */
1332
+ export declare class UpdateSlackChannelConfigurationException extends __BaseException {
1333
+ readonly name: "UpdateSlackChannelConfigurationException";
1334
+ readonly $fault: "server";
1335
+ Message?: string;
1336
+ /**
1337
+ * @internal
1338
+ */
1339
+ constructor(opts: __ExceptionOptionType<UpdateSlackChannelConfigurationException, __BaseException>);
1340
+ }
1341
+ /**
1342
+ * @public
1343
+ */
1344
+ export interface UpdateSlackChannelConfigurationRequest {
1345
+ /**
1346
+ * @public
1347
+ * The ARN of the SlackChannelConfiguration to update.
1348
+ */
1349
+ ChatConfigurationArn: string | undefined;
1350
+ /**
1351
+ * @public
1352
+ * The ID of the Slack channel. To get the ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example, ABCBBLZZZ.
1353
+ */
1354
+ SlackChannelId: string | undefined;
1355
+ /**
1356
+ * @public
1357
+ * The name of the Slack Channel.
1358
+ */
1359
+ SlackChannelName?: string;
1360
+ /**
1361
+ * @public
1362
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
1363
+ */
1364
+ SnsTopicArns?: string[];
1365
+ /**
1366
+ * @public
1367
+ * The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
1368
+ */
1369
+ IamRoleArn?: string;
1370
+ /**
1371
+ * @public
1372
+ * Logging levels include ERROR, INFO, or NONE.
1373
+ */
1374
+ LoggingLevel?: string;
1375
+ /**
1376
+ * @public
1377
+ * The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
1378
+ */
1379
+ GuardrailPolicyArns?: string[];
1380
+ /**
1381
+ * @public
1382
+ * Enables use of a user role requirement in your chat configuration.
1383
+ */
1384
+ UserAuthorizationRequired?: boolean;
1385
+ }
1386
+ /**
1387
+ * @public
1388
+ */
1389
+ export interface UpdateSlackChannelConfigurationResult {
1390
+ /**
1391
+ * @public
1392
+ * The configuration for a Slack channel configured with AWS Chatbot.
1393
+ */
1394
+ ChannelConfiguration?: SlackChannelConfiguration;
1395
+ }