cdk-lambda-subminute 2.0.380 → 2.0.381

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 (46) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/available-typed-arrays/CHANGELOG.md +6 -0
  4. package/node_modules/available-typed-arrays/README.md +16 -13
  5. package/node_modules/available-typed-arrays/index.d.ts +6 -15
  6. package/node_modules/available-typed-arrays/index.js +1 -13
  7. package/node_modules/available-typed-arrays/package.json +4 -1
  8. package/node_modules/aws-sdk/README.md +1 -1
  9. package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +49 -21
  10. package/node_modules/aws-sdk/apis/chatbot-2017-10-11.examples.json +5 -0
  11. package/node_modules/aws-sdk/apis/chatbot-2017-10-11.min.json +781 -0
  12. package/node_modules/aws-sdk/apis/chatbot-2017-10-11.paginators.json +39 -0
  13. package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json +3 -0
  14. package/node_modules/aws-sdk/apis/metadata.json +3 -0
  15. package/node_modules/aws-sdk/clients/all.d.ts +1 -0
  16. package/node_modules/aws-sdk/clients/all.js +2 -1
  17. package/node_modules/aws-sdk/clients/amplify.d.ts +56 -13
  18. package/node_modules/aws-sdk/clients/chatbot.d.ts +958 -0
  19. package/node_modules/aws-sdk/clients/chatbot.js +18 -0
  20. package/node_modules/aws-sdk/clients/configservice.d.ts +12 -12
  21. package/node_modules/aws-sdk/clients/ivs.d.ts +4 -4
  22. package/node_modules/aws-sdk/clients/keyspaces.d.ts +2 -2
  23. package/node_modules/aws-sdk/clients/mediatailor.d.ts +1 -1
  24. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  25. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +43 -6
  26. package/node_modules/aws-sdk/dist/aws-sdk.js +6 -3
  27. package/node_modules/aws-sdk/dist/aws-sdk.min.js +3 -3
  28. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
  29. package/node_modules/aws-sdk/lib/core.js +1 -1
  30. package/node_modules/aws-sdk/package.json +1 -1
  31. package/node_modules/has-proto/CHANGELOG.md +15 -0
  32. package/node_modules/has-proto/index.d.ts +3 -0
  33. package/node_modules/has-proto/index.js +5 -1
  34. package/node_modules/has-proto/package.json +9 -5
  35. package/node_modules/has-proto/tsconfig.json +49 -0
  36. package/node_modules/possible-typed-array-names/.eslintrc +5 -0
  37. package/node_modules/possible-typed-array-names/.github/FUNDING.yml +12 -0
  38. package/node_modules/possible-typed-array-names/CHANGELOG.md +15 -0
  39. package/node_modules/possible-typed-array-names/LICENSE +21 -0
  40. package/node_modules/possible-typed-array-names/README.md +48 -0
  41. package/node_modules/possible-typed-array-names/index.d.ts +15 -0
  42. package/node_modules/possible-typed-array-names/index.js +16 -0
  43. package/node_modules/possible-typed-array-names/package.json +83 -0
  44. package/node_modules/possible-typed-array-names/test/index.js +16 -0
  45. package/node_modules/possible-typed-array-names/tsconfig.json +49 -0
  46. package/package.json +4 -4
@@ -0,0 +1,958 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
+ interface Blob {}
8
+ declare class Chatbot extends Service {
9
+ /**
10
+ * Constructs a service object. This object has one method for each API operation.
11
+ */
12
+ constructor(options?: Chatbot.Types.ClientConfiguration)
13
+ config: Config & Chatbot.Types.ClientConfiguration;
14
+ /**
15
+ * Creates Chime Webhook Configuration
16
+ */
17
+ createChimeWebhookConfiguration(params: Chatbot.Types.CreateChimeWebhookConfigurationRequest, callback?: (err: AWSError, data: Chatbot.Types.CreateChimeWebhookConfigurationResult) => void): Request<Chatbot.Types.CreateChimeWebhookConfigurationResult, AWSError>;
18
+ /**
19
+ * Creates Chime Webhook Configuration
20
+ */
21
+ createChimeWebhookConfiguration(callback?: (err: AWSError, data: Chatbot.Types.CreateChimeWebhookConfigurationResult) => void): Request<Chatbot.Types.CreateChimeWebhookConfigurationResult, AWSError>;
22
+ /**
23
+ * Creates MS Teams Channel Configuration
24
+ */
25
+ createMicrosoftTeamsChannelConfiguration(params: Chatbot.Types.CreateTeamsChannelConfigurationRequest, callback?: (err: AWSError, data: Chatbot.Types.CreateTeamsChannelConfigurationResult) => void): Request<Chatbot.Types.CreateTeamsChannelConfigurationResult, AWSError>;
26
+ /**
27
+ * Creates MS Teams Channel Configuration
28
+ */
29
+ createMicrosoftTeamsChannelConfiguration(callback?: (err: AWSError, data: Chatbot.Types.CreateTeamsChannelConfigurationResult) => void): Request<Chatbot.Types.CreateTeamsChannelConfigurationResult, AWSError>;
30
+ /**
31
+ * Creates Slack Channel Configuration
32
+ */
33
+ createSlackChannelConfiguration(params: Chatbot.Types.CreateSlackChannelConfigurationRequest, callback?: (err: AWSError, data: Chatbot.Types.CreateSlackChannelConfigurationResult) => void): Request<Chatbot.Types.CreateSlackChannelConfigurationResult, AWSError>;
34
+ /**
35
+ * Creates Slack Channel Configuration
36
+ */
37
+ createSlackChannelConfiguration(callback?: (err: AWSError, data: Chatbot.Types.CreateSlackChannelConfigurationResult) => void): Request<Chatbot.Types.CreateSlackChannelConfigurationResult, AWSError>;
38
+ /**
39
+ * Deletes a Chime Webhook Configuration
40
+ */
41
+ deleteChimeWebhookConfiguration(params: Chatbot.Types.DeleteChimeWebhookConfigurationRequest, callback?: (err: AWSError, data: Chatbot.Types.DeleteChimeWebhookConfigurationResult) => void): Request<Chatbot.Types.DeleteChimeWebhookConfigurationResult, AWSError>;
42
+ /**
43
+ * Deletes a Chime Webhook Configuration
44
+ */
45
+ deleteChimeWebhookConfiguration(callback?: (err: AWSError, data: Chatbot.Types.DeleteChimeWebhookConfigurationResult) => void): Request<Chatbot.Types.DeleteChimeWebhookConfigurationResult, AWSError>;
46
+ /**
47
+ * Deletes MS Teams Channel Configuration
48
+ */
49
+ deleteMicrosoftTeamsChannelConfiguration(params: Chatbot.Types.DeleteTeamsChannelConfigurationRequest, callback?: (err: AWSError, data: Chatbot.Types.DeleteTeamsChannelConfigurationResult) => void): Request<Chatbot.Types.DeleteTeamsChannelConfigurationResult, AWSError>;
50
+ /**
51
+ * Deletes MS Teams Channel Configuration
52
+ */
53
+ deleteMicrosoftTeamsChannelConfiguration(callback?: (err: AWSError, data: Chatbot.Types.DeleteTeamsChannelConfigurationResult) => void): Request<Chatbot.Types.DeleteTeamsChannelConfigurationResult, AWSError>;
54
+ /**
55
+ * Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team. Note that the Microsoft Teams team must have no channels configured to remove it.
56
+ */
57
+ deleteMicrosoftTeamsConfiguredTeam(params: Chatbot.Types.DeleteTeamsConfiguredTeamRequest, callback?: (err: AWSError, data: Chatbot.Types.DeleteTeamsConfiguredTeamResult) => void): Request<Chatbot.Types.DeleteTeamsConfiguredTeamResult, AWSError>;
58
+ /**
59
+ * Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team. Note that the Microsoft Teams team must have no channels configured to remove it.
60
+ */
61
+ deleteMicrosoftTeamsConfiguredTeam(callback?: (err: AWSError, data: Chatbot.Types.DeleteTeamsConfiguredTeamResult) => void): Request<Chatbot.Types.DeleteTeamsConfiguredTeamResult, AWSError>;
62
+ /**
63
+ * Deletes a Teams user identity
64
+ */
65
+ deleteMicrosoftTeamsUserIdentity(params: Chatbot.Types.DeleteMicrosoftTeamsUserIdentityRequest, callback?: (err: AWSError, data: Chatbot.Types.DeleteMicrosoftTeamsUserIdentityResult) => void): Request<Chatbot.Types.DeleteMicrosoftTeamsUserIdentityResult, AWSError>;
66
+ /**
67
+ * Deletes a Teams user identity
68
+ */
69
+ deleteMicrosoftTeamsUserIdentity(callback?: (err: AWSError, data: Chatbot.Types.DeleteMicrosoftTeamsUserIdentityResult) => void): Request<Chatbot.Types.DeleteMicrosoftTeamsUserIdentityResult, AWSError>;
70
+ /**
71
+ * Deletes Slack Channel Configuration
72
+ */
73
+ deleteSlackChannelConfiguration(params: Chatbot.Types.DeleteSlackChannelConfigurationRequest, callback?: (err: AWSError, data: Chatbot.Types.DeleteSlackChannelConfigurationResult) => void): Request<Chatbot.Types.DeleteSlackChannelConfigurationResult, AWSError>;
74
+ /**
75
+ * Deletes Slack Channel Configuration
76
+ */
77
+ deleteSlackChannelConfiguration(callback?: (err: AWSError, data: Chatbot.Types.DeleteSlackChannelConfigurationResult) => void): Request<Chatbot.Types.DeleteSlackChannelConfigurationResult, AWSError>;
78
+ /**
79
+ * Deletes a Slack user identity
80
+ */
81
+ deleteSlackUserIdentity(params: Chatbot.Types.DeleteSlackUserIdentityRequest, callback?: (err: AWSError, data: Chatbot.Types.DeleteSlackUserIdentityResult) => void): Request<Chatbot.Types.DeleteSlackUserIdentityResult, AWSError>;
82
+ /**
83
+ * Deletes a Slack user identity
84
+ */
85
+ deleteSlackUserIdentity(callback?: (err: AWSError, data: Chatbot.Types.DeleteSlackUserIdentityResult) => void): Request<Chatbot.Types.DeleteSlackUserIdentityResult, AWSError>;
86
+ /**
87
+ * Deletes the Slack workspace authorization that allows channels to be configured in that workspace. This requires all configured channels in the workspace to be deleted.
88
+ */
89
+ deleteSlackWorkspaceAuthorization(params: Chatbot.Types.DeleteSlackWorkspaceAuthorizationRequest, callback?: (err: AWSError, data: Chatbot.Types.DeleteSlackWorkspaceAuthorizationResult) => void): Request<Chatbot.Types.DeleteSlackWorkspaceAuthorizationResult, AWSError>;
90
+ /**
91
+ * Deletes the Slack workspace authorization that allows channels to be configured in that workspace. This requires all configured channels in the workspace to be deleted.
92
+ */
93
+ deleteSlackWorkspaceAuthorization(callback?: (err: AWSError, data: Chatbot.Types.DeleteSlackWorkspaceAuthorizationResult) => void): Request<Chatbot.Types.DeleteSlackWorkspaceAuthorizationResult, AWSError>;
94
+ /**
95
+ * Lists Chime Webhook Configurations optionally filtered by ChatConfigurationArn
96
+ */
97
+ describeChimeWebhookConfigurations(params: Chatbot.Types.DescribeChimeWebhookConfigurationsRequest, callback?: (err: AWSError, data: Chatbot.Types.DescribeChimeWebhookConfigurationsResult) => void): Request<Chatbot.Types.DescribeChimeWebhookConfigurationsResult, AWSError>;
98
+ /**
99
+ * Lists Chime Webhook Configurations optionally filtered by ChatConfigurationArn
100
+ */
101
+ describeChimeWebhookConfigurations(callback?: (err: AWSError, data: Chatbot.Types.DescribeChimeWebhookConfigurationsResult) => void): Request<Chatbot.Types.DescribeChimeWebhookConfigurationsResult, AWSError>;
102
+ /**
103
+ * Lists Slack Channel Configurations optionally filtered by ChatConfigurationArn
104
+ */
105
+ describeSlackChannelConfigurations(params: Chatbot.Types.DescribeSlackChannelConfigurationsRequest, callback?: (err: AWSError, data: Chatbot.Types.DescribeSlackChannelConfigurationsResult) => void): Request<Chatbot.Types.DescribeSlackChannelConfigurationsResult, AWSError>;
106
+ /**
107
+ * Lists Slack Channel Configurations optionally filtered by ChatConfigurationArn
108
+ */
109
+ describeSlackChannelConfigurations(callback?: (err: AWSError, data: Chatbot.Types.DescribeSlackChannelConfigurationsResult) => void): Request<Chatbot.Types.DescribeSlackChannelConfigurationsResult, AWSError>;
110
+ /**
111
+ * Lists all Slack user identities with a mapped role.
112
+ */
113
+ describeSlackUserIdentities(params: Chatbot.Types.DescribeSlackUserIdentitiesRequest, callback?: (err: AWSError, data: Chatbot.Types.DescribeSlackUserIdentitiesResult) => void): Request<Chatbot.Types.DescribeSlackUserIdentitiesResult, AWSError>;
114
+ /**
115
+ * Lists all Slack user identities with a mapped role.
116
+ */
117
+ describeSlackUserIdentities(callback?: (err: AWSError, data: Chatbot.Types.DescribeSlackUserIdentitiesResult) => void): Request<Chatbot.Types.DescribeSlackUserIdentitiesResult, AWSError>;
118
+ /**
119
+ * Lists all authorized Slack Workspaces for AWS Account
120
+ */
121
+ describeSlackWorkspaces(params: Chatbot.Types.DescribeSlackWorkspacesRequest, callback?: (err: AWSError, data: Chatbot.Types.DescribeSlackWorkspacesResult) => void): Request<Chatbot.Types.DescribeSlackWorkspacesResult, AWSError>;
122
+ /**
123
+ * Lists all authorized Slack Workspaces for AWS Account
124
+ */
125
+ describeSlackWorkspaces(callback?: (err: AWSError, data: Chatbot.Types.DescribeSlackWorkspacesResult) => void): Request<Chatbot.Types.DescribeSlackWorkspacesResult, AWSError>;
126
+ /**
127
+ * Get Chatbot account level preferences
128
+ */
129
+ getAccountPreferences(params: Chatbot.Types.GetAccountPreferencesRequest, callback?: (err: AWSError, data: Chatbot.Types.GetAccountPreferencesResult) => void): Request<Chatbot.Types.GetAccountPreferencesResult, AWSError>;
130
+ /**
131
+ * Get Chatbot account level preferences
132
+ */
133
+ getAccountPreferences(callback?: (err: AWSError, data: Chatbot.Types.GetAccountPreferencesResult) => void): Request<Chatbot.Types.GetAccountPreferencesResult, AWSError>;
134
+ /**
135
+ * Get a single MS Teams Channel Configurations
136
+ */
137
+ getMicrosoftTeamsChannelConfiguration(params: Chatbot.Types.GetTeamsChannelConfigurationRequest, callback?: (err: AWSError, data: Chatbot.Types.GetTeamsChannelConfigurationResult) => void): Request<Chatbot.Types.GetTeamsChannelConfigurationResult, AWSError>;
138
+ /**
139
+ * Get a single MS Teams Channel Configurations
140
+ */
141
+ getMicrosoftTeamsChannelConfiguration(callback?: (err: AWSError, data: Chatbot.Types.GetTeamsChannelConfigurationResult) => void): Request<Chatbot.Types.GetTeamsChannelConfigurationResult, AWSError>;
142
+ /**
143
+ * Lists MS Teams Channel Configurations optionally filtered by TeamId
144
+ */
145
+ listMicrosoftTeamsChannelConfigurations(params: Chatbot.Types.ListTeamsChannelConfigurationsRequest, callback?: (err: AWSError, data: Chatbot.Types.ListTeamsChannelConfigurationsResult) => void): Request<Chatbot.Types.ListTeamsChannelConfigurationsResult, AWSError>;
146
+ /**
147
+ * Lists MS Teams Channel Configurations optionally filtered by TeamId
148
+ */
149
+ listMicrosoftTeamsChannelConfigurations(callback?: (err: AWSError, data: Chatbot.Types.ListTeamsChannelConfigurationsResult) => void): Request<Chatbot.Types.ListTeamsChannelConfigurationsResult, AWSError>;
150
+ /**
151
+ * Lists all authorized MS teams for AWS Account
152
+ */
153
+ listMicrosoftTeamsConfiguredTeams(params: Chatbot.Types.ListMicrosoftTeamsConfiguredTeamsRequest, callback?: (err: AWSError, data: Chatbot.Types.ListMicrosoftTeamsConfiguredTeamsResult) => void): Request<Chatbot.Types.ListMicrosoftTeamsConfiguredTeamsResult, AWSError>;
154
+ /**
155
+ * Lists all authorized MS teams for AWS Account
156
+ */
157
+ listMicrosoftTeamsConfiguredTeams(callback?: (err: AWSError, data: Chatbot.Types.ListMicrosoftTeamsConfiguredTeamsResult) => void): Request<Chatbot.Types.ListMicrosoftTeamsConfiguredTeamsResult, AWSError>;
158
+ /**
159
+ * Lists all Microsoft Teams user identities with a mapped role.
160
+ */
161
+ listMicrosoftTeamsUserIdentities(params: Chatbot.Types.ListMicrosoftTeamsUserIdentitiesRequest, callback?: (err: AWSError, data: Chatbot.Types.ListMicrosoftTeamsUserIdentitiesResult) => void): Request<Chatbot.Types.ListMicrosoftTeamsUserIdentitiesResult, AWSError>;
162
+ /**
163
+ * Lists all Microsoft Teams user identities with a mapped role.
164
+ */
165
+ listMicrosoftTeamsUserIdentities(callback?: (err: AWSError, data: Chatbot.Types.ListMicrosoftTeamsUserIdentitiesResult) => void): Request<Chatbot.Types.ListMicrosoftTeamsUserIdentitiesResult, AWSError>;
166
+ /**
167
+ * Update Chatbot account level preferences
168
+ */
169
+ updateAccountPreferences(params: Chatbot.Types.UpdateAccountPreferencesRequest, callback?: (err: AWSError, data: Chatbot.Types.UpdateAccountPreferencesResult) => void): Request<Chatbot.Types.UpdateAccountPreferencesResult, AWSError>;
170
+ /**
171
+ * Update Chatbot account level preferences
172
+ */
173
+ updateAccountPreferences(callback?: (err: AWSError, data: Chatbot.Types.UpdateAccountPreferencesResult) => void): Request<Chatbot.Types.UpdateAccountPreferencesResult, AWSError>;
174
+ /**
175
+ * Updates a Chime Webhook Configuration
176
+ */
177
+ updateChimeWebhookConfiguration(params: Chatbot.Types.UpdateChimeWebhookConfigurationRequest, callback?: (err: AWSError, data: Chatbot.Types.UpdateChimeWebhookConfigurationResult) => void): Request<Chatbot.Types.UpdateChimeWebhookConfigurationResult, AWSError>;
178
+ /**
179
+ * Updates a Chime Webhook Configuration
180
+ */
181
+ updateChimeWebhookConfiguration(callback?: (err: AWSError, data: Chatbot.Types.UpdateChimeWebhookConfigurationResult) => void): Request<Chatbot.Types.UpdateChimeWebhookConfigurationResult, AWSError>;
182
+ /**
183
+ * Updates MS Teams Channel Configuration
184
+ */
185
+ updateMicrosoftTeamsChannelConfiguration(params: Chatbot.Types.UpdateTeamsChannelConfigurationRequest, callback?: (err: AWSError, data: Chatbot.Types.UpdateTeamsChannelConfigurationResult) => void): Request<Chatbot.Types.UpdateTeamsChannelConfigurationResult, AWSError>;
186
+ /**
187
+ * Updates MS Teams Channel Configuration
188
+ */
189
+ updateMicrosoftTeamsChannelConfiguration(callback?: (err: AWSError, data: Chatbot.Types.UpdateTeamsChannelConfigurationResult) => void): Request<Chatbot.Types.UpdateTeamsChannelConfigurationResult, AWSError>;
190
+ /**
191
+ * Updates Slack Channel Configuration
192
+ */
193
+ updateSlackChannelConfiguration(params: Chatbot.Types.UpdateSlackChannelConfigurationRequest, callback?: (err: AWSError, data: Chatbot.Types.UpdateSlackChannelConfigurationResult) => void): Request<Chatbot.Types.UpdateSlackChannelConfigurationResult, AWSError>;
194
+ /**
195
+ * Updates Slack Channel Configuration
196
+ */
197
+ updateSlackChannelConfiguration(callback?: (err: AWSError, data: Chatbot.Types.UpdateSlackChannelConfigurationResult) => void): Request<Chatbot.Types.UpdateSlackChannelConfigurationResult, AWSError>;
198
+ }
199
+ declare namespace Chatbot {
200
+ export interface AccountPreferences {
201
+ /**
202
+ * Enables use of a user role requirement in your chat configuration.
203
+ */
204
+ UserAuthorizationRequired?: BooleanAccountPreference;
205
+ /**
206
+ * 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.
207
+ */
208
+ TrainingDataCollectionEnabled?: BooleanAccountPreference;
209
+ }
210
+ export type Arn = string;
211
+ export type AwsUserIdentity = string;
212
+ export type BooleanAccountPreference = boolean;
213
+ export type ChatConfigurationArn = string;
214
+ export interface ChimeWebhookConfiguration {
215
+ /**
216
+ * 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.
217
+ */
218
+ WebhookDescription: ChimeWebhookDescription;
219
+ /**
220
+ * The ARN of the ChimeWebhookConfiguration.
221
+ */
222
+ ChatConfigurationArn: ChatConfigurationArn;
223
+ /**
224
+ * 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.
225
+ */
226
+ IamRoleArn: Arn;
227
+ /**
228
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
229
+ */
230
+ SnsTopicArns: SnsTopicArnList;
231
+ /**
232
+ * The name of the configuration.
233
+ */
234
+ ConfigurationName?: ConfigurationName;
235
+ /**
236
+ * 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.
237
+ */
238
+ LoggingLevel?: CustomerCwLogLevel;
239
+ }
240
+ export type ChimeWebhookConfigurationList = ChimeWebhookConfiguration[];
241
+ export type ChimeWebhookDescription = string;
242
+ export type ChimeWebhookUrl = string;
243
+ export type ConfigurationName = string;
244
+ export interface ConfiguredTeam {
245
+ /**
246
+ * The ID of the Microsoft Teams tenant.
247
+ */
248
+ TenantId: UUID;
249
+ /**
250
+ * 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.
251
+ */
252
+ TeamId: UUID;
253
+ /**
254
+ * The name of the Microsoft Teams Team.
255
+ */
256
+ TeamName?: UUID;
257
+ }
258
+ export type ConfiguredTeamsList = ConfiguredTeam[];
259
+ export interface CreateChimeWebhookConfigurationRequest {
260
+ /**
261
+ * 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.
262
+ */
263
+ WebhookDescription: ChimeWebhookDescription;
264
+ /**
265
+ * URL for the Chime webhook.
266
+ */
267
+ WebhookUrl: ChimeWebhookUrl;
268
+ /**
269
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
270
+ */
271
+ SnsTopicArns: SnsTopicArnList;
272
+ /**
273
+ * 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.
274
+ */
275
+ IamRoleArn: Arn;
276
+ /**
277
+ * The name of the configuration.
278
+ */
279
+ ConfigurationName: ConfigurationName;
280
+ /**
281
+ * Logging levels include ERROR, INFO, or NONE.
282
+ */
283
+ LoggingLevel?: CustomerCwLogLevel;
284
+ }
285
+ export interface CreateChimeWebhookConfigurationResult {
286
+ /**
287
+ * Chime webhook configuration.
288
+ */
289
+ WebhookConfiguration?: ChimeWebhookConfiguration;
290
+ }
291
+ export interface CreateSlackChannelConfigurationRequest {
292
+ /**
293
+ * The ID of the Slack workspace authorized with AWS Chatbot.
294
+ */
295
+ SlackTeamId: SlackTeamId;
296
+ /**
297
+ * 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.
298
+ */
299
+ SlackChannelId: SlackChannelId;
300
+ /**
301
+ * The name of the Slack Channel.
302
+ */
303
+ SlackChannelName?: SlackChannelDisplayName;
304
+ /**
305
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
306
+ */
307
+ SnsTopicArns?: SnsTopicArnList;
308
+ /**
309
+ * 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.
310
+ */
311
+ IamRoleArn: Arn;
312
+ /**
313
+ * The name of the configuration.
314
+ */
315
+ ConfigurationName: ConfigurationName;
316
+ /**
317
+ * Logging levels include ERROR, INFO, or NONE.
318
+ */
319
+ LoggingLevel?: CustomerCwLogLevel;
320
+ /**
321
+ * 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.
322
+ */
323
+ GuardrailPolicyArns?: GuardrailPolicyArnList;
324
+ /**
325
+ * Enables use of a user role requirement in your chat configuration.
326
+ */
327
+ UserAuthorizationRequired?: BooleanAccountPreference;
328
+ }
329
+ export interface CreateSlackChannelConfigurationResult {
330
+ /**
331
+ * The configuration for a Slack channel configured with AWS Chatbot.
332
+ */
333
+ ChannelConfiguration?: SlackChannelConfiguration;
334
+ }
335
+ export interface CreateTeamsChannelConfigurationRequest {
336
+ /**
337
+ * The ID of the Microsoft Teams channel.
338
+ */
339
+ ChannelId: TeamsChannelId;
340
+ /**
341
+ * The name of the Microsoft Teams channel.
342
+ */
343
+ ChannelName?: TeamsChannelName;
344
+ /**
345
+ * 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.
346
+ */
347
+ TeamId: UUID;
348
+ /**
349
+ * The name of the Microsoft Teams Team.
350
+ */
351
+ TeamName?: TeamName;
352
+ /**
353
+ * The ID of the Microsoft Teams tenant.
354
+ */
355
+ TenantId: UUID;
356
+ /**
357
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
358
+ */
359
+ SnsTopicArns?: SnsTopicArnList;
360
+ /**
361
+ * 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.
362
+ */
363
+ IamRoleArn: Arn;
364
+ /**
365
+ * The name of the configuration.
366
+ */
367
+ ConfigurationName: ConfigurationName;
368
+ /**
369
+ * Logging levels include ERROR, INFO, or NONE.
370
+ */
371
+ LoggingLevel?: CustomerCwLogLevel;
372
+ /**
373
+ * 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.
374
+ */
375
+ GuardrailPolicyArns?: GuardrailPolicyArnList;
376
+ /**
377
+ * Enables use of a user role requirement in your chat configuration.
378
+ */
379
+ UserAuthorizationRequired?: BooleanAccountPreference;
380
+ }
381
+ export interface CreateTeamsChannelConfigurationResult {
382
+ /**
383
+ * The configuration for a Microsoft Teams channel configured with AWS Chatbot.
384
+ */
385
+ ChannelConfiguration?: TeamsChannelConfiguration;
386
+ }
387
+ export type CustomerCwLogLevel = string;
388
+ export interface DeleteChimeWebhookConfigurationRequest {
389
+ /**
390
+ * The ARN of the ChimeWebhookConfiguration to delete.
391
+ */
392
+ ChatConfigurationArn: ChatConfigurationArn;
393
+ }
394
+ export interface DeleteChimeWebhookConfigurationResult {
395
+ }
396
+ export interface DeleteMicrosoftTeamsUserIdentityRequest {
397
+ /**
398
+ * The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity to delete.
399
+ */
400
+ ChatConfigurationArn: ChatConfigurationArn;
401
+ /**
402
+ * Id from Microsoft Teams for user.
403
+ */
404
+ UserId: UUID;
405
+ }
406
+ export interface DeleteMicrosoftTeamsUserIdentityResult {
407
+ }
408
+ export interface DeleteSlackChannelConfigurationRequest {
409
+ /**
410
+ * The ARN of the SlackChannelConfiguration to delete.
411
+ */
412
+ ChatConfigurationArn: ChatConfigurationArn;
413
+ }
414
+ export interface DeleteSlackChannelConfigurationResult {
415
+ }
416
+ export interface DeleteSlackUserIdentityRequest {
417
+ /**
418
+ * The ARN of the SlackChannelConfiguration associated with the user identity to delete.
419
+ */
420
+ ChatConfigurationArn: ChatConfigurationArn;
421
+ /**
422
+ * The ID of the Slack workspace authorized with AWS Chatbot.
423
+ */
424
+ SlackTeamId: SlackTeamId;
425
+ /**
426
+ * The ID of the user in Slack.
427
+ */
428
+ SlackUserId: SlackUserId;
429
+ }
430
+ export interface DeleteSlackUserIdentityResult {
431
+ }
432
+ export interface DeleteSlackWorkspaceAuthorizationRequest {
433
+ /**
434
+ * The ID of the Slack workspace authorized with AWS Chatbot.
435
+ */
436
+ SlackTeamId: SlackTeamId;
437
+ }
438
+ export interface DeleteSlackWorkspaceAuthorizationResult {
439
+ }
440
+ export interface DeleteTeamsChannelConfigurationRequest {
441
+ /**
442
+ * The ARN of the MicrosoftTeamsChannelConfiguration to delete.
443
+ */
444
+ ChatConfigurationArn: ChatConfigurationArn;
445
+ }
446
+ export interface DeleteTeamsChannelConfigurationResult {
447
+ }
448
+ export interface DeleteTeamsConfiguredTeamRequest {
449
+ /**
450
+ * 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.
451
+ */
452
+ TeamId: UUID;
453
+ }
454
+ export interface DeleteTeamsConfiguredTeamResult {
455
+ }
456
+ export interface DescribeChimeWebhookConfigurationsRequest {
457
+ /**
458
+ * 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.
459
+ */
460
+ MaxResults?: MaxResults;
461
+ /**
462
+ * 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.
463
+ */
464
+ NextToken?: PaginationToken;
465
+ /**
466
+ * An optional ARN of a ChimeWebhookConfiguration to describe.
467
+ */
468
+ ChatConfigurationArn?: ChatConfigurationArn;
469
+ }
470
+ export interface DescribeChimeWebhookConfigurationsResult {
471
+ /**
472
+ * 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.
473
+ */
474
+ NextToken?: PaginationToken;
475
+ /**
476
+ * A list of Chime webhooks associated with the account.
477
+ */
478
+ WebhookConfigurations?: ChimeWebhookConfigurationList;
479
+ }
480
+ export interface DescribeSlackChannelConfigurationsRequest {
481
+ /**
482
+ * 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.
483
+ */
484
+ MaxResults?: MaxResults;
485
+ /**
486
+ * 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.
487
+ */
488
+ NextToken?: PaginationToken;
489
+ /**
490
+ * An optional ARN of a SlackChannelConfiguration to describe.
491
+ */
492
+ ChatConfigurationArn?: ChatConfigurationArn;
493
+ }
494
+ export interface DescribeSlackChannelConfigurationsResult {
495
+ /**
496
+ * 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.
497
+ */
498
+ NextToken?: PaginationToken;
499
+ /**
500
+ * A list of Slack channel configurations.
501
+ */
502
+ SlackChannelConfigurations?: SlackChannelConfigurationList;
503
+ }
504
+ export interface DescribeSlackUserIdentitiesRequest {
505
+ /**
506
+ * The ARN of the SlackChannelConfiguration associated with the user identities to describe.
507
+ */
508
+ ChatConfigurationArn?: ChatConfigurationArn;
509
+ /**
510
+ * 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.
511
+ */
512
+ NextToken?: PaginationToken;
513
+ /**
514
+ * 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.
515
+ */
516
+ MaxResults?: MaxResults;
517
+ }
518
+ export interface DescribeSlackUserIdentitiesResult {
519
+ /**
520
+ * A list of Slack User Identities.
521
+ */
522
+ SlackUserIdentities?: SlackUserIdentitiesList;
523
+ /**
524
+ * 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.
525
+ */
526
+ NextToken?: PaginationToken;
527
+ }
528
+ export interface DescribeSlackWorkspacesRequest {
529
+ /**
530
+ * 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.
531
+ */
532
+ MaxResults?: MaxResults;
533
+ /**
534
+ * 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.
535
+ */
536
+ NextToken?: PaginationToken;
537
+ }
538
+ export interface DescribeSlackWorkspacesResult {
539
+ /**
540
+ * A list of Slack Workspaces registered with AWS Chatbot.
541
+ */
542
+ SlackWorkspaces?: SlackWorkspacesList;
543
+ /**
544
+ * 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.
545
+ */
546
+ NextToken?: PaginationToken;
547
+ }
548
+ export interface GetAccountPreferencesRequest {
549
+ }
550
+ export interface GetAccountPreferencesResult {
551
+ /**
552
+ * Preferences which apply for AWS Chatbot usage in the calling AWS account.
553
+ */
554
+ AccountPreferences?: AccountPreferences;
555
+ }
556
+ export interface GetTeamsChannelConfigurationRequest {
557
+ /**
558
+ * The ARN of the MicrosoftTeamsChannelConfiguration to retrieve.
559
+ */
560
+ ChatConfigurationArn: ChatConfigurationArn;
561
+ }
562
+ export interface GetTeamsChannelConfigurationResult {
563
+ /**
564
+ * The configuration for a Microsoft Teams channel configured with AWS Chatbot.
565
+ */
566
+ ChannelConfiguration?: TeamsChannelConfiguration;
567
+ }
568
+ export type GuardrailPolicyArn = string;
569
+ export type GuardrailPolicyArnList = GuardrailPolicyArn[];
570
+ export interface ListMicrosoftTeamsConfiguredTeamsRequest {
571
+ /**
572
+ * 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.
573
+ */
574
+ MaxResults?: MaxResults;
575
+ /**
576
+ * 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.
577
+ */
578
+ NextToken?: PaginationToken;
579
+ }
580
+ export interface ListMicrosoftTeamsConfiguredTeamsResult {
581
+ /**
582
+ * A list of teams in Microsoft Teams that have been configured with AWS Chatbot.
583
+ */
584
+ ConfiguredTeams?: ConfiguredTeamsList;
585
+ /**
586
+ * 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.
587
+ */
588
+ NextToken?: PaginationToken;
589
+ }
590
+ export interface ListMicrosoftTeamsUserIdentitiesRequest {
591
+ /**
592
+ * The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identities to list.
593
+ */
594
+ ChatConfigurationArn?: ChatConfigurationArn;
595
+ /**
596
+ * 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.
597
+ */
598
+ NextToken?: PaginationToken;
599
+ /**
600
+ * 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.
601
+ */
602
+ MaxResults?: MaxResults;
603
+ }
604
+ export interface ListMicrosoftTeamsUserIdentitiesResult {
605
+ /**
606
+ * User level permissions associated to a channel configuration.
607
+ */
608
+ TeamsUserIdentities?: TeamsUserIdentitiesList;
609
+ /**
610
+ * 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.
611
+ */
612
+ NextToken?: PaginationToken;
613
+ }
614
+ export interface ListTeamsChannelConfigurationsRequest {
615
+ /**
616
+ * 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.
617
+ */
618
+ MaxResults?: MaxResults;
619
+ /**
620
+ * 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.
621
+ */
622
+ NextToken?: PaginationToken;
623
+ /**
624
+ * 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.
625
+ */
626
+ TeamId?: UUID;
627
+ }
628
+ export interface ListTeamsChannelConfigurationsResult {
629
+ /**
630
+ * 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.
631
+ */
632
+ NextToken?: PaginationToken;
633
+ /**
634
+ * A list of AWS Chatbot channel configurations for Microsoft Teams.
635
+ */
636
+ TeamChannelConfigurations?: TeamChannelConfigurationsList;
637
+ }
638
+ export type MaxResults = number;
639
+ export type PaginationToken = string;
640
+ export interface SlackChannelConfiguration {
641
+ /**
642
+ * Name of the Slack Workspace.
643
+ */
644
+ SlackTeamName: SlackTeamName;
645
+ /**
646
+ * The ID of the Slack workspace authorized with AWS Chatbot.
647
+ */
648
+ SlackTeamId: SlackTeamId;
649
+ /**
650
+ * 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.
651
+ */
652
+ SlackChannelId: SlackChannelId;
653
+ /**
654
+ * The name of the Slack Channel.
655
+ */
656
+ SlackChannelName: SlackChannelDisplayName;
657
+ /**
658
+ * The ARN of the SlackChannelConfiguration.
659
+ */
660
+ ChatConfigurationArn: ChatConfigurationArn;
661
+ /**
662
+ * 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.
663
+ */
664
+ IamRoleArn: Arn;
665
+ /**
666
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
667
+ */
668
+ SnsTopicArns: SnsTopicArnList;
669
+ /**
670
+ * The name of the configuration.
671
+ */
672
+ ConfigurationName?: ConfigurationName;
673
+ /**
674
+ * Logging levels include ERROR, INFO, or NONE.
675
+ */
676
+ LoggingLevel?: CustomerCwLogLevel;
677
+ /**
678
+ * 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.
679
+ */
680
+ GuardrailPolicyArns?: GuardrailPolicyArnList;
681
+ /**
682
+ * Enables use of a user role requirement in your chat configuration.
683
+ */
684
+ UserAuthorizationRequired?: BooleanAccountPreference;
685
+ }
686
+ export type SlackChannelConfigurationList = SlackChannelConfiguration[];
687
+ export type SlackChannelDisplayName = string;
688
+ export type SlackChannelId = string;
689
+ export type SlackTeamId = string;
690
+ export type SlackTeamName = string;
691
+ export type SlackUserId = string;
692
+ export type SlackUserIdentitiesList = SlackUserIdentity[];
693
+ export interface SlackUserIdentity {
694
+ /**
695
+ * 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.
696
+ */
697
+ IamRoleArn: Arn;
698
+ /**
699
+ * The ARN of the SlackChannelConfiguration associated with the user identity.
700
+ */
701
+ ChatConfigurationArn: ChatConfigurationArn;
702
+ /**
703
+ * The ID of the Slack workspace authorized with AWS Chatbot.
704
+ */
705
+ SlackTeamId: SlackTeamId;
706
+ /**
707
+ * The ID of the user in Slack.
708
+ */
709
+ SlackUserId: SlackUserId;
710
+ /**
711
+ * The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.
712
+ */
713
+ AwsUserIdentity?: AwsUserIdentity;
714
+ }
715
+ export interface SlackWorkspace {
716
+ /**
717
+ * The ID of the Slack workspace authorized with AWS Chatbot.
718
+ */
719
+ SlackTeamId: SlackTeamId;
720
+ /**
721
+ * Name of the Slack Workspace.
722
+ */
723
+ SlackTeamName: SlackTeamName;
724
+ }
725
+ export type SlackWorkspacesList = SlackWorkspace[];
726
+ export type SnsTopicArnList = Arn[];
727
+ export type String = string;
728
+ export type TeamChannelConfigurationsList = TeamsChannelConfiguration[];
729
+ export type TeamName = string;
730
+ export interface TeamsChannelConfiguration {
731
+ /**
732
+ * The ID of the Microsoft Teams channel.
733
+ */
734
+ ChannelId: TeamsChannelId;
735
+ /**
736
+ * The name of the Microsoft Teams channel.
737
+ */
738
+ ChannelName?: TeamsChannelName;
739
+ /**
740
+ * 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.
741
+ */
742
+ TeamId: UUID;
743
+ /**
744
+ * The name of the Microsoft Teams Team.
745
+ */
746
+ TeamName?: String;
747
+ /**
748
+ * The ID of the Microsoft Teams tenant.
749
+ */
750
+ TenantId: UUID;
751
+ /**
752
+ * The ARN of the MicrosoftTeamsChannelConfiguration.
753
+ */
754
+ ChatConfigurationArn: ChatConfigurationArn;
755
+ /**
756
+ * 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.
757
+ */
758
+ IamRoleArn: Arn;
759
+ /**
760
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
761
+ */
762
+ SnsTopicArns: SnsTopicArnList;
763
+ /**
764
+ * The name of the configuration.
765
+ */
766
+ ConfigurationName?: ConfigurationName;
767
+ /**
768
+ * Logging levels include ERROR, INFO, or NONE.
769
+ */
770
+ LoggingLevel?: CustomerCwLogLevel;
771
+ /**
772
+ * 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.
773
+ */
774
+ GuardrailPolicyArns?: GuardrailPolicyArnList;
775
+ /**
776
+ * Enables use of a user role requirement in your chat configuration.
777
+ */
778
+ UserAuthorizationRequired?: BooleanAccountPreference;
779
+ }
780
+ export type TeamsChannelId = string;
781
+ export type TeamsChannelName = string;
782
+ export type TeamsUserIdentitiesList = TeamsUserIdentity[];
783
+ export interface TeamsUserIdentity {
784
+ /**
785
+ * 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.
786
+ */
787
+ IamRoleArn: Arn;
788
+ /**
789
+ * The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.
790
+ */
791
+ ChatConfigurationArn: ChatConfigurationArn;
792
+ /**
793
+ * 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.
794
+ */
795
+ TeamId: UUID;
796
+ /**
797
+ * Id from Microsoft Teams for user.
798
+ */
799
+ UserId?: UUID;
800
+ /**
801
+ * The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.
802
+ */
803
+ AwsUserIdentity?: AwsUserIdentity;
804
+ /**
805
+ * The ID of the Microsoft Teams channel.
806
+ */
807
+ TeamsChannelId?: TeamsChannelId;
808
+ /**
809
+ * The ID of the Microsoft Teams tenant.
810
+ */
811
+ TeamsTenantId?: UUID;
812
+ }
813
+ export type UUID = string;
814
+ export interface UpdateAccountPreferencesRequest {
815
+ /**
816
+ * Enables use of a user role requirement in your chat configuration.
817
+ */
818
+ UserAuthorizationRequired?: BooleanAccountPreference;
819
+ /**
820
+ * 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.
821
+ */
822
+ TrainingDataCollectionEnabled?: BooleanAccountPreference;
823
+ }
824
+ export interface UpdateAccountPreferencesResult {
825
+ /**
826
+ * Preferences which apply for AWS Chatbot usage in the calling AWS account.
827
+ */
828
+ AccountPreferences?: AccountPreferences;
829
+ }
830
+ export interface UpdateChimeWebhookConfigurationRequest {
831
+ /**
832
+ * The ARN of the ChimeWebhookConfiguration to update.
833
+ */
834
+ ChatConfigurationArn: ChatConfigurationArn;
835
+ /**
836
+ * 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.
837
+ */
838
+ WebhookDescription?: ChimeWebhookDescription;
839
+ /**
840
+ * URL for the Chime webhook.
841
+ */
842
+ WebhookUrl?: ChimeWebhookUrl;
843
+ /**
844
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
845
+ */
846
+ SnsTopicArns?: SnsTopicArnList;
847
+ /**
848
+ * 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.
849
+ */
850
+ IamRoleArn?: Arn;
851
+ /**
852
+ * Logging levels include ERROR, INFO, or NONE.
853
+ */
854
+ LoggingLevel?: CustomerCwLogLevel;
855
+ }
856
+ export interface UpdateChimeWebhookConfigurationResult {
857
+ /**
858
+ * Chime webhook configuration.
859
+ */
860
+ WebhookConfiguration?: ChimeWebhookConfiguration;
861
+ }
862
+ export interface UpdateSlackChannelConfigurationRequest {
863
+ /**
864
+ * The ARN of the SlackChannelConfiguration to update.
865
+ */
866
+ ChatConfigurationArn: ChatConfigurationArn;
867
+ /**
868
+ * 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.
869
+ */
870
+ SlackChannelId: SlackChannelId;
871
+ /**
872
+ * The name of the Slack Channel.
873
+ */
874
+ SlackChannelName?: SlackChannelDisplayName;
875
+ /**
876
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
877
+ */
878
+ SnsTopicArns?: SnsTopicArnList;
879
+ /**
880
+ * 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.
881
+ */
882
+ IamRoleArn?: Arn;
883
+ /**
884
+ * Logging levels include ERROR, INFO, or NONE.
885
+ */
886
+ LoggingLevel?: CustomerCwLogLevel;
887
+ /**
888
+ * 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.
889
+ */
890
+ GuardrailPolicyArns?: GuardrailPolicyArnList;
891
+ /**
892
+ * Enables use of a user role requirement in your chat configuration.
893
+ */
894
+ UserAuthorizationRequired?: BooleanAccountPreference;
895
+ }
896
+ export interface UpdateSlackChannelConfigurationResult {
897
+ /**
898
+ * The configuration for a Slack channel configured with AWS Chatbot.
899
+ */
900
+ ChannelConfiguration?: SlackChannelConfiguration;
901
+ }
902
+ export interface UpdateTeamsChannelConfigurationRequest {
903
+ /**
904
+ * The ARN of the MicrosoftTeamsChannelConfiguration to update.
905
+ */
906
+ ChatConfigurationArn: ChatConfigurationArn;
907
+ /**
908
+ * The ID of the Microsoft Teams channel.
909
+ */
910
+ ChannelId: TeamsChannelId;
911
+ /**
912
+ * The name of the Microsoft Teams channel.
913
+ */
914
+ ChannelName?: TeamsChannelName;
915
+ /**
916
+ * The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
917
+ */
918
+ SnsTopicArns?: SnsTopicArnList;
919
+ /**
920
+ * 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.
921
+ */
922
+ IamRoleArn?: Arn;
923
+ /**
924
+ * Logging levels include ERROR, INFO, or NONE.
925
+ */
926
+ LoggingLevel?: CustomerCwLogLevel;
927
+ /**
928
+ * 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.
929
+ */
930
+ GuardrailPolicyArns?: GuardrailPolicyArnList;
931
+ /**
932
+ * Enables use of a user role requirement in your chat configuration.
933
+ */
934
+ UserAuthorizationRequired?: BooleanAccountPreference;
935
+ }
936
+ export interface UpdateTeamsChannelConfigurationResult {
937
+ /**
938
+ * The configuration for a Microsoft Teams channel configured with AWS Chatbot.
939
+ */
940
+ ChannelConfiguration?: TeamsChannelConfiguration;
941
+ }
942
+ /**
943
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
944
+ */
945
+ export type apiVersion = "2017-10-11"|"latest"|string;
946
+ export interface ClientApiVersions {
947
+ /**
948
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
949
+ */
950
+ apiVersion?: apiVersion;
951
+ }
952
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
953
+ /**
954
+ * Contains interfaces for use with the Chatbot client.
955
+ */
956
+ export import Types = Chatbot;
957
+ }
958
+ export = Chatbot;