@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,537 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ChatbotServiceException as __BaseException } from "./ChatbotServiceException";
3
+ export interface AccountPreferences {
4
+ UserAuthorizationRequired?: boolean;
5
+ TrainingDataCollectionEnabled?: boolean;
6
+ }
7
+ export interface ChimeWebhookConfiguration {
8
+ WebhookDescription: string | undefined;
9
+ ChatConfigurationArn: string | undefined;
10
+ IamRoleArn: string | undefined;
11
+ SnsTopicArns: string[] | undefined;
12
+ ConfigurationName?: string;
13
+ LoggingLevel?: string;
14
+ }
15
+ export interface ConfiguredTeam {
16
+ TenantId: string | undefined;
17
+ TeamId: string | undefined;
18
+ TeamName?: string;
19
+ }
20
+ export declare class ConflictException extends __BaseException {
21
+ readonly name: "ConflictException";
22
+ readonly $fault: "client";
23
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
24
+ }
25
+ export declare class CreateChimeWebhookConfigurationException extends __BaseException {
26
+ readonly name: "CreateChimeWebhookConfigurationException";
27
+ readonly $fault: "server";
28
+ Message?: string;
29
+ constructor(
30
+ opts: __ExceptionOptionType<
31
+ CreateChimeWebhookConfigurationException,
32
+ __BaseException
33
+ >
34
+ );
35
+ }
36
+ export interface CreateChimeWebhookConfigurationRequest {
37
+ WebhookDescription: string | undefined;
38
+ WebhookUrl: string | undefined;
39
+ SnsTopicArns: string[] | undefined;
40
+ IamRoleArn: string | undefined;
41
+ ConfigurationName: string | undefined;
42
+ LoggingLevel?: string;
43
+ }
44
+ export interface CreateChimeWebhookConfigurationResult {
45
+ WebhookConfiguration?: ChimeWebhookConfiguration;
46
+ }
47
+ export declare class InvalidParameterException extends __BaseException {
48
+ readonly name: "InvalidParameterException";
49
+ readonly $fault: "client";
50
+ constructor(
51
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
52
+ );
53
+ }
54
+ export declare class InvalidRequestException extends __BaseException {
55
+ readonly name: "InvalidRequestException";
56
+ readonly $fault: "client";
57
+ constructor(
58
+ opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
59
+ );
60
+ }
61
+ export declare class LimitExceededException extends __BaseException {
62
+ readonly name: "LimitExceededException";
63
+ readonly $fault: "client";
64
+ constructor(
65
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
66
+ );
67
+ }
68
+ export declare class CreateTeamsChannelConfigurationException extends __BaseException {
69
+ readonly name: "CreateTeamsChannelConfigurationException";
70
+ readonly $fault: "server";
71
+ Message?: string;
72
+ constructor(
73
+ opts: __ExceptionOptionType<
74
+ CreateTeamsChannelConfigurationException,
75
+ __BaseException
76
+ >
77
+ );
78
+ }
79
+ export interface CreateTeamsChannelConfigurationRequest {
80
+ ChannelId: string | undefined;
81
+ ChannelName?: string;
82
+ TeamId: string | undefined;
83
+ TeamName?: string;
84
+ TenantId: string | undefined;
85
+ SnsTopicArns?: string[];
86
+ IamRoleArn: string | undefined;
87
+ ConfigurationName: string | undefined;
88
+ LoggingLevel?: string;
89
+ GuardrailPolicyArns?: string[];
90
+ UserAuthorizationRequired?: boolean;
91
+ }
92
+ export interface TeamsChannelConfiguration {
93
+ ChannelId: string | undefined;
94
+ ChannelName?: string;
95
+ TeamId: string | undefined;
96
+ TeamName?: string;
97
+ TenantId: string | undefined;
98
+ ChatConfigurationArn: string | undefined;
99
+ IamRoleArn: string | undefined;
100
+ SnsTopicArns: string[] | undefined;
101
+ ConfigurationName?: string;
102
+ LoggingLevel?: string;
103
+ GuardrailPolicyArns?: string[];
104
+ UserAuthorizationRequired?: boolean;
105
+ }
106
+ export interface CreateTeamsChannelConfigurationResult {
107
+ ChannelConfiguration?: TeamsChannelConfiguration;
108
+ }
109
+ export declare class CreateSlackChannelConfigurationException extends __BaseException {
110
+ readonly name: "CreateSlackChannelConfigurationException";
111
+ readonly $fault: "server";
112
+ Message?: string;
113
+ constructor(
114
+ opts: __ExceptionOptionType<
115
+ CreateSlackChannelConfigurationException,
116
+ __BaseException
117
+ >
118
+ );
119
+ }
120
+ export interface CreateSlackChannelConfigurationRequest {
121
+ SlackTeamId: string | undefined;
122
+ SlackChannelId: string | undefined;
123
+ SlackChannelName?: string;
124
+ SnsTopicArns?: string[];
125
+ IamRoleArn: string | undefined;
126
+ ConfigurationName: string | undefined;
127
+ LoggingLevel?: string;
128
+ GuardrailPolicyArns?: string[];
129
+ UserAuthorizationRequired?: boolean;
130
+ }
131
+ export interface SlackChannelConfiguration {
132
+ SlackTeamName: string | undefined;
133
+ SlackTeamId: string | undefined;
134
+ SlackChannelId: string | undefined;
135
+ SlackChannelName: string | undefined;
136
+ ChatConfigurationArn: string | undefined;
137
+ IamRoleArn: string | undefined;
138
+ SnsTopicArns: string[] | undefined;
139
+ ConfigurationName?: string;
140
+ LoggingLevel?: string;
141
+ GuardrailPolicyArns?: string[];
142
+ UserAuthorizationRequired?: boolean;
143
+ }
144
+ export interface CreateSlackChannelConfigurationResult {
145
+ ChannelConfiguration?: SlackChannelConfiguration;
146
+ }
147
+ export declare class DeleteChimeWebhookConfigurationException extends __BaseException {
148
+ readonly name: "DeleteChimeWebhookConfigurationException";
149
+ readonly $fault: "server";
150
+ Message?: string;
151
+ constructor(
152
+ opts: __ExceptionOptionType<
153
+ DeleteChimeWebhookConfigurationException,
154
+ __BaseException
155
+ >
156
+ );
157
+ }
158
+ export interface DeleteChimeWebhookConfigurationRequest {
159
+ ChatConfigurationArn: string | undefined;
160
+ }
161
+ export interface DeleteChimeWebhookConfigurationResult {}
162
+ export declare class ResourceNotFoundException extends __BaseException {
163
+ readonly name: "ResourceNotFoundException";
164
+ readonly $fault: "client";
165
+ Message?: string;
166
+ constructor(
167
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
168
+ );
169
+ }
170
+ export declare class DeleteTeamsChannelConfigurationException extends __BaseException {
171
+ readonly name: "DeleteTeamsChannelConfigurationException";
172
+ readonly $fault: "server";
173
+ Message?: string;
174
+ constructor(
175
+ opts: __ExceptionOptionType<
176
+ DeleteTeamsChannelConfigurationException,
177
+ __BaseException
178
+ >
179
+ );
180
+ }
181
+ export interface DeleteTeamsChannelConfigurationRequest {
182
+ ChatConfigurationArn: string | undefined;
183
+ }
184
+ export interface DeleteTeamsChannelConfigurationResult {}
185
+ export declare class DeleteTeamsConfiguredTeamException extends __BaseException {
186
+ readonly name: "DeleteTeamsConfiguredTeamException";
187
+ readonly $fault: "server";
188
+ Message?: string;
189
+ constructor(
190
+ opts: __ExceptionOptionType<
191
+ DeleteTeamsConfiguredTeamException,
192
+ __BaseException
193
+ >
194
+ );
195
+ }
196
+ export interface DeleteTeamsConfiguredTeamRequest {
197
+ TeamId: string | undefined;
198
+ }
199
+ export interface DeleteTeamsConfiguredTeamResult {}
200
+ export declare class DeleteMicrosoftTeamsUserIdentityException extends __BaseException {
201
+ readonly name: "DeleteMicrosoftTeamsUserIdentityException";
202
+ readonly $fault: "server";
203
+ Message?: string;
204
+ constructor(
205
+ opts: __ExceptionOptionType<
206
+ DeleteMicrosoftTeamsUserIdentityException,
207
+ __BaseException
208
+ >
209
+ );
210
+ }
211
+ export interface DeleteMicrosoftTeamsUserIdentityRequest {
212
+ ChatConfigurationArn: string | undefined;
213
+ UserId: string | undefined;
214
+ }
215
+ export interface DeleteMicrosoftTeamsUserIdentityResult {}
216
+ export declare class DeleteSlackChannelConfigurationException extends __BaseException {
217
+ readonly name: "DeleteSlackChannelConfigurationException";
218
+ readonly $fault: "server";
219
+ Message?: string;
220
+ constructor(
221
+ opts: __ExceptionOptionType<
222
+ DeleteSlackChannelConfigurationException,
223
+ __BaseException
224
+ >
225
+ );
226
+ }
227
+ export interface DeleteSlackChannelConfigurationRequest {
228
+ ChatConfigurationArn: string | undefined;
229
+ }
230
+ export interface DeleteSlackChannelConfigurationResult {}
231
+ export declare class DeleteSlackUserIdentityException extends __BaseException {
232
+ readonly name: "DeleteSlackUserIdentityException";
233
+ readonly $fault: "server";
234
+ Message?: string;
235
+ constructor(
236
+ opts: __ExceptionOptionType<
237
+ DeleteSlackUserIdentityException,
238
+ __BaseException
239
+ >
240
+ );
241
+ }
242
+ export interface DeleteSlackUserIdentityRequest {
243
+ ChatConfigurationArn: string | undefined;
244
+ SlackTeamId: string | undefined;
245
+ SlackUserId: string | undefined;
246
+ }
247
+ export interface DeleteSlackUserIdentityResult {}
248
+ export declare class DeleteSlackWorkspaceAuthorizationFault extends __BaseException {
249
+ readonly name: "DeleteSlackWorkspaceAuthorizationFault";
250
+ readonly $fault: "server";
251
+ Message?: string;
252
+ constructor(
253
+ opts: __ExceptionOptionType<
254
+ DeleteSlackWorkspaceAuthorizationFault,
255
+ __BaseException
256
+ >
257
+ );
258
+ }
259
+ export interface DeleteSlackWorkspaceAuthorizationRequest {
260
+ SlackTeamId: string | undefined;
261
+ }
262
+ export interface DeleteSlackWorkspaceAuthorizationResult {}
263
+ export declare class DescribeChimeWebhookConfigurationsException extends __BaseException {
264
+ readonly name: "DescribeChimeWebhookConfigurationsException";
265
+ readonly $fault: "server";
266
+ Message?: string;
267
+ constructor(
268
+ opts: __ExceptionOptionType<
269
+ DescribeChimeWebhookConfigurationsException,
270
+ __BaseException
271
+ >
272
+ );
273
+ }
274
+ export interface DescribeChimeWebhookConfigurationsRequest {
275
+ MaxResults?: number;
276
+ NextToken?: string;
277
+ ChatConfigurationArn?: string;
278
+ }
279
+ export interface DescribeChimeWebhookConfigurationsResult {
280
+ NextToken?: string;
281
+ WebhookConfigurations?: ChimeWebhookConfiguration[];
282
+ }
283
+ export declare class DescribeSlackChannelConfigurationsException extends __BaseException {
284
+ readonly name: "DescribeSlackChannelConfigurationsException";
285
+ readonly $fault: "server";
286
+ Message?: string;
287
+ constructor(
288
+ opts: __ExceptionOptionType<
289
+ DescribeSlackChannelConfigurationsException,
290
+ __BaseException
291
+ >
292
+ );
293
+ }
294
+ export interface DescribeSlackChannelConfigurationsRequest {
295
+ MaxResults?: number;
296
+ NextToken?: string;
297
+ ChatConfigurationArn?: string;
298
+ }
299
+ export interface DescribeSlackChannelConfigurationsResult {
300
+ NextToken?: string;
301
+ SlackChannelConfigurations?: SlackChannelConfiguration[];
302
+ }
303
+ export declare class DescribeSlackUserIdentitiesException extends __BaseException {
304
+ readonly name: "DescribeSlackUserIdentitiesException";
305
+ readonly $fault: "server";
306
+ Message?: string;
307
+ constructor(
308
+ opts: __ExceptionOptionType<
309
+ DescribeSlackUserIdentitiesException,
310
+ __BaseException
311
+ >
312
+ );
313
+ }
314
+ export interface DescribeSlackUserIdentitiesRequest {
315
+ ChatConfigurationArn?: string;
316
+ NextToken?: string;
317
+ MaxResults?: number;
318
+ }
319
+ export interface SlackUserIdentity {
320
+ IamRoleArn: string | undefined;
321
+ ChatConfigurationArn: string | undefined;
322
+ SlackTeamId: string | undefined;
323
+ SlackUserId: string | undefined;
324
+ AwsUserIdentity?: string;
325
+ }
326
+ export interface DescribeSlackUserIdentitiesResult {
327
+ SlackUserIdentities?: SlackUserIdentity[];
328
+ NextToken?: string;
329
+ }
330
+ export declare class DescribeSlackWorkspacesException extends __BaseException {
331
+ readonly name: "DescribeSlackWorkspacesException";
332
+ readonly $fault: "server";
333
+ Message?: string;
334
+ constructor(
335
+ opts: __ExceptionOptionType<
336
+ DescribeSlackWorkspacesException,
337
+ __BaseException
338
+ >
339
+ );
340
+ }
341
+ export interface DescribeSlackWorkspacesRequest {
342
+ MaxResults?: number;
343
+ NextToken?: string;
344
+ }
345
+ export interface SlackWorkspace {
346
+ SlackTeamId: string | undefined;
347
+ SlackTeamName: string | undefined;
348
+ }
349
+ export interface DescribeSlackWorkspacesResult {
350
+ SlackWorkspaces?: SlackWorkspace[];
351
+ NextToken?: string;
352
+ }
353
+ export declare class GetAccountPreferencesException extends __BaseException {
354
+ readonly name: "GetAccountPreferencesException";
355
+ readonly $fault: "server";
356
+ Message?: string;
357
+ constructor(
358
+ opts: __ExceptionOptionType<GetAccountPreferencesException, __BaseException>
359
+ );
360
+ }
361
+ export interface GetAccountPreferencesRequest {}
362
+ export interface GetAccountPreferencesResult {
363
+ AccountPreferences?: AccountPreferences;
364
+ }
365
+ export declare class GetTeamsChannelConfigurationException extends __BaseException {
366
+ readonly name: "GetTeamsChannelConfigurationException";
367
+ readonly $fault: "server";
368
+ Message?: string;
369
+ constructor(
370
+ opts: __ExceptionOptionType<
371
+ GetTeamsChannelConfigurationException,
372
+ __BaseException
373
+ >
374
+ );
375
+ }
376
+ export interface GetTeamsChannelConfigurationRequest {
377
+ ChatConfigurationArn: string | undefined;
378
+ }
379
+ export interface GetTeamsChannelConfigurationResult {
380
+ ChannelConfiguration?: TeamsChannelConfiguration;
381
+ }
382
+ export declare class ListTeamsChannelConfigurationsException extends __BaseException {
383
+ readonly name: "ListTeamsChannelConfigurationsException";
384
+ readonly $fault: "server";
385
+ Message?: string;
386
+ constructor(
387
+ opts: __ExceptionOptionType<
388
+ ListTeamsChannelConfigurationsException,
389
+ __BaseException
390
+ >
391
+ );
392
+ }
393
+ export interface ListTeamsChannelConfigurationsRequest {
394
+ MaxResults?: number;
395
+ NextToken?: string;
396
+ TeamId?: string;
397
+ }
398
+ export interface ListTeamsChannelConfigurationsResult {
399
+ NextToken?: string;
400
+ TeamChannelConfigurations?: TeamsChannelConfiguration[];
401
+ }
402
+ export declare class ListMicrosoftTeamsConfiguredTeamsException extends __BaseException {
403
+ readonly name: "ListMicrosoftTeamsConfiguredTeamsException";
404
+ readonly $fault: "server";
405
+ Message?: string;
406
+ constructor(
407
+ opts: __ExceptionOptionType<
408
+ ListMicrosoftTeamsConfiguredTeamsException,
409
+ __BaseException
410
+ >
411
+ );
412
+ }
413
+ export interface ListMicrosoftTeamsConfiguredTeamsRequest {
414
+ MaxResults?: number;
415
+ NextToken?: string;
416
+ }
417
+ export interface ListMicrosoftTeamsConfiguredTeamsResult {
418
+ ConfiguredTeams?: ConfiguredTeam[];
419
+ NextToken?: string;
420
+ }
421
+ export declare class ListMicrosoftTeamsUserIdentitiesException extends __BaseException {
422
+ readonly name: "ListMicrosoftTeamsUserIdentitiesException";
423
+ readonly $fault: "server";
424
+ Message?: string;
425
+ constructor(
426
+ opts: __ExceptionOptionType<
427
+ ListMicrosoftTeamsUserIdentitiesException,
428
+ __BaseException
429
+ >
430
+ );
431
+ }
432
+ export interface ListMicrosoftTeamsUserIdentitiesRequest {
433
+ ChatConfigurationArn?: string;
434
+ NextToken?: string;
435
+ MaxResults?: number;
436
+ }
437
+ export interface TeamsUserIdentity {
438
+ IamRoleArn: string | undefined;
439
+ ChatConfigurationArn: string | undefined;
440
+ TeamId: string | undefined;
441
+ UserId?: string;
442
+ AwsUserIdentity?: string;
443
+ TeamsChannelId?: string;
444
+ TeamsTenantId?: string;
445
+ }
446
+ export interface ListMicrosoftTeamsUserIdentitiesResult {
447
+ TeamsUserIdentities?: TeamsUserIdentity[];
448
+ NextToken?: string;
449
+ }
450
+ export declare class UpdateAccountPreferencesException extends __BaseException {
451
+ readonly name: "UpdateAccountPreferencesException";
452
+ readonly $fault: "server";
453
+ Message?: string;
454
+ constructor(
455
+ opts: __ExceptionOptionType<
456
+ UpdateAccountPreferencesException,
457
+ __BaseException
458
+ >
459
+ );
460
+ }
461
+ export interface UpdateAccountPreferencesRequest {
462
+ UserAuthorizationRequired?: boolean;
463
+ TrainingDataCollectionEnabled?: boolean;
464
+ }
465
+ export interface UpdateAccountPreferencesResult {
466
+ AccountPreferences?: AccountPreferences;
467
+ }
468
+ export declare class UpdateChimeWebhookConfigurationException extends __BaseException {
469
+ readonly name: "UpdateChimeWebhookConfigurationException";
470
+ readonly $fault: "server";
471
+ Message?: string;
472
+ constructor(
473
+ opts: __ExceptionOptionType<
474
+ UpdateChimeWebhookConfigurationException,
475
+ __BaseException
476
+ >
477
+ );
478
+ }
479
+ export interface UpdateChimeWebhookConfigurationRequest {
480
+ ChatConfigurationArn: string | undefined;
481
+ WebhookDescription?: string;
482
+ WebhookUrl?: string;
483
+ SnsTopicArns?: string[];
484
+ IamRoleArn?: string;
485
+ LoggingLevel?: string;
486
+ }
487
+ export interface UpdateChimeWebhookConfigurationResult {
488
+ WebhookConfiguration?: ChimeWebhookConfiguration;
489
+ }
490
+ export declare class UpdateTeamsChannelConfigurationException extends __BaseException {
491
+ readonly name: "UpdateTeamsChannelConfigurationException";
492
+ readonly $fault: "server";
493
+ Message?: string;
494
+ constructor(
495
+ opts: __ExceptionOptionType<
496
+ UpdateTeamsChannelConfigurationException,
497
+ __BaseException
498
+ >
499
+ );
500
+ }
501
+ export interface UpdateTeamsChannelConfigurationRequest {
502
+ ChatConfigurationArn: string | undefined;
503
+ ChannelId: string | undefined;
504
+ ChannelName?: string;
505
+ SnsTopicArns?: string[];
506
+ IamRoleArn?: string;
507
+ LoggingLevel?: string;
508
+ GuardrailPolicyArns?: string[];
509
+ UserAuthorizationRequired?: boolean;
510
+ }
511
+ export interface UpdateTeamsChannelConfigurationResult {
512
+ ChannelConfiguration?: TeamsChannelConfiguration;
513
+ }
514
+ export declare class UpdateSlackChannelConfigurationException extends __BaseException {
515
+ readonly name: "UpdateSlackChannelConfigurationException";
516
+ readonly $fault: "server";
517
+ Message?: string;
518
+ constructor(
519
+ opts: __ExceptionOptionType<
520
+ UpdateSlackChannelConfigurationException,
521
+ __BaseException
522
+ >
523
+ );
524
+ }
525
+ export interface UpdateSlackChannelConfigurationRequest {
526
+ ChatConfigurationArn: string | undefined;
527
+ SlackChannelId: string | undefined;
528
+ SlackChannelName?: string;
529
+ SnsTopicArns?: string[];
530
+ IamRoleArn?: string;
531
+ LoggingLevel?: string;
532
+ GuardrailPolicyArns?: string[];
533
+ UserAuthorizationRequired?: boolean;
534
+ }
535
+ export interface UpdateSlackChannelConfigurationResult {
536
+ ChannelConfiguration?: SlackChannelConfiguration;
537
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeChimeWebhookConfigurationsCommandInput,
4
+ DescribeChimeWebhookConfigurationsCommandOutput,
5
+ } from "../commands/DescribeChimeWebhookConfigurationsCommand";
6
+ import { ChatbotPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeChimeWebhookConfigurations: (
8
+ config: ChatbotPaginationConfiguration,
9
+ input: DescribeChimeWebhookConfigurationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeChimeWebhookConfigurationsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeSlackChannelConfigurationsCommandInput,
4
+ DescribeSlackChannelConfigurationsCommandOutput,
5
+ } from "../commands/DescribeSlackChannelConfigurationsCommand";
6
+ import { ChatbotPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeSlackChannelConfigurations: (
8
+ config: ChatbotPaginationConfiguration,
9
+ input: DescribeSlackChannelConfigurationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeSlackChannelConfigurationsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeSlackUserIdentitiesCommandInput,
4
+ DescribeSlackUserIdentitiesCommandOutput,
5
+ } from "../commands/DescribeSlackUserIdentitiesCommand";
6
+ import { ChatbotPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeSlackUserIdentities: (
8
+ config: ChatbotPaginationConfiguration,
9
+ input: DescribeSlackUserIdentitiesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeSlackUserIdentitiesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeSlackWorkspacesCommandInput,
4
+ DescribeSlackWorkspacesCommandOutput,
5
+ } from "../commands/DescribeSlackWorkspacesCommand";
6
+ import { ChatbotPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeSlackWorkspaces: (
8
+ config: ChatbotPaginationConfiguration,
9
+ input: DescribeSlackWorkspacesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeSlackWorkspacesCommandOutput>;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { ChatbotClient } from "../ChatbotClient";
3
+ export interface ChatbotPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: ChatbotClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListMicrosoftTeamsChannelConfigurationsCommandInput,
4
+ ListMicrosoftTeamsChannelConfigurationsCommandOutput,
5
+ } from "../commands/ListMicrosoftTeamsChannelConfigurationsCommand";
6
+ import { ChatbotPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListMicrosoftTeamsChannelConfigurations: (
8
+ config: ChatbotPaginationConfiguration,
9
+ input: ListMicrosoftTeamsChannelConfigurationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListMicrosoftTeamsChannelConfigurationsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListMicrosoftTeamsConfiguredTeamsCommandInput,
4
+ ListMicrosoftTeamsConfiguredTeamsCommandOutput,
5
+ } from "../commands/ListMicrosoftTeamsConfiguredTeamsCommand";
6
+ import { ChatbotPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListMicrosoftTeamsConfiguredTeams: (
8
+ config: ChatbotPaginationConfiguration,
9
+ input: ListMicrosoftTeamsConfiguredTeamsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListMicrosoftTeamsConfiguredTeamsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListMicrosoftTeamsUserIdentitiesCommandInput,
4
+ ListMicrosoftTeamsUserIdentitiesCommandOutput,
5
+ } from "../commands/ListMicrosoftTeamsUserIdentitiesCommand";
6
+ import { ChatbotPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListMicrosoftTeamsUserIdentities: (
8
+ config: ChatbotPaginationConfiguration,
9
+ input: ListMicrosoftTeamsUserIdentitiesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListMicrosoftTeamsUserIdentitiesCommandOutput>;
@@ -0,0 +1,8 @@
1
+ export * from "./DescribeChimeWebhookConfigurationsPaginator";
2
+ export * from "./DescribeSlackChannelConfigurationsPaginator";
3
+ export * from "./DescribeSlackUserIdentitiesPaginator";
4
+ export * from "./DescribeSlackWorkspacesPaginator";
5
+ export * from "./Interfaces";
6
+ export * from "./ListMicrosoftTeamsChannelConfigurationsPaginator";
7
+ export * from "./ListMicrosoftTeamsConfiguredTeamsPaginator";
8
+ export * from "./ListMicrosoftTeamsUserIdentitiesPaginator";