@aws-sdk/client-chatbot 3.576.0 → 3.582.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -7
- package/dist-cjs/Chatbot.js +6 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
- package/dist-cjs/commands/TagResourceCommand.js +28 -0
- package/dist-cjs/commands/UntagResourceCommand.js +28 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +41 -1
- package/dist-cjs/protocols/Aws_restJson1.js +134 -1
- package/dist-es/Chatbot.js +6 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +37 -0
- package/dist-es/protocols/Aws_restJson1.js +127 -1
- package/dist-types/Chatbot.d.ts +21 -0
- package/dist-types/ChatbotClient.d.ts +5 -2
- package/dist-types/commands/CreateChimeWebhookConfigurationCommand.d.ts +12 -0
- package/dist-types/commands/CreateMicrosoftTeamsChannelConfigurationCommand.d.ts +12 -0
- package/dist-types/commands/CreateSlackChannelConfigurationCommand.d.ts +12 -0
- package/dist-types/commands/DescribeChimeWebhookConfigurationsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeSlackChannelConfigurationsCommand.d.ts +6 -0
- package/dist-types/commands/GetMicrosoftTeamsChannelConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/ListMicrosoftTeamsChannelConfigurationsCommand.d.ts +6 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +74 -0
- package/dist-types/commands/TagResourceCommand.d.ts +76 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +70 -0
- package/dist-types/commands/UpdateChimeWebhookConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/UpdateSlackChannelConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +144 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Chatbot.d.ts +51 -0
- package/dist-types/ts3.4/ChatbotClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +48 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +20 -20
|
@@ -17,6 +17,9 @@ export * from "./GetMicrosoftTeamsChannelConfigurationCommand";
|
|
|
17
17
|
export * from "./ListMicrosoftTeamsChannelConfigurationsCommand";
|
|
18
18
|
export * from "./ListMicrosoftTeamsConfiguredTeamsCommand";
|
|
19
19
|
export * from "./ListMicrosoftTeamsUserIdentitiesCommand";
|
|
20
|
+
export * from "./ListTagsForResourceCommand";
|
|
21
|
+
export * from "./TagResourceCommand";
|
|
22
|
+
export * from "./UntagResourceCommand";
|
|
20
23
|
export * from "./UpdateAccountPreferencesCommand";
|
|
21
24
|
export * from "./UpdateChimeWebhookConfigurationCommand";
|
|
22
25
|
export * from "./UpdateMicrosoftTeamsChannelConfigurationCommand";
|
|
@@ -16,6 +16,22 @@ export interface AccountPreferences {
|
|
|
16
16
|
*/
|
|
17
17
|
TrainingDataCollectionEnabled?: boolean;
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* A tag applied to the configuration.
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface Tag {
|
|
24
|
+
/**
|
|
25
|
+
* The tag key.
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
TagKey: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The tag value.
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
TagValue: string | undefined;
|
|
34
|
+
}
|
|
19
35
|
/**
|
|
20
36
|
* An AWS Chatbot configuration for Amazon Chime.
|
|
21
37
|
* @public
|
|
@@ -51,6 +67,11 @@ export interface ChimeWebhookConfiguration {
|
|
|
51
67
|
* @public
|
|
52
68
|
*/
|
|
53
69
|
LoggingLevel?: string;
|
|
70
|
+
/**
|
|
71
|
+
* A list of tags applied to the configuration.
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
Tags?: Tag[];
|
|
54
75
|
}
|
|
55
76
|
/**
|
|
56
77
|
* A Microsoft Teams team that has been authorized with AWS Chatbot.
|
|
@@ -132,6 +153,11 @@ export interface CreateChimeWebhookConfigurationRequest {
|
|
|
132
153
|
* @public
|
|
133
154
|
*/
|
|
134
155
|
LoggingLevel?: string;
|
|
156
|
+
/**
|
|
157
|
+
* A list of tags to apply to the configuration.
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
Tags?: Tag[];
|
|
135
161
|
}
|
|
136
162
|
/**
|
|
137
163
|
* @public
|
|
@@ -251,6 +277,11 @@ export interface CreateTeamsChannelConfigurationRequest {
|
|
|
251
277
|
* @public
|
|
252
278
|
*/
|
|
253
279
|
UserAuthorizationRequired?: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* A list of tags to apply to the configuration.
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
Tags?: Tag[];
|
|
254
285
|
}
|
|
255
286
|
/**
|
|
256
287
|
* An AWS Chatbot configuration for Microsoft Teams.
|
|
@@ -317,6 +348,11 @@ export interface TeamsChannelConfiguration {
|
|
|
317
348
|
* @public
|
|
318
349
|
*/
|
|
319
350
|
UserAuthorizationRequired?: boolean;
|
|
351
|
+
/**
|
|
352
|
+
* A list of tags applied to the configuration.
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
Tags?: Tag[];
|
|
320
356
|
}
|
|
321
357
|
/**
|
|
322
358
|
* @public
|
|
@@ -390,6 +426,11 @@ export interface CreateSlackChannelConfigurationRequest {
|
|
|
390
426
|
* @public
|
|
391
427
|
*/
|
|
392
428
|
UserAuthorizationRequired?: boolean;
|
|
429
|
+
/**
|
|
430
|
+
* A list of tags to apply to the configuration.
|
|
431
|
+
* @public
|
|
432
|
+
*/
|
|
433
|
+
Tags?: Tag[];
|
|
393
434
|
}
|
|
394
435
|
/**
|
|
395
436
|
* An AWS Chatbot configuration for Slack.
|
|
@@ -451,6 +492,11 @@ export interface SlackChannelConfiguration {
|
|
|
451
492
|
* @public
|
|
452
493
|
*/
|
|
453
494
|
UserAuthorizationRequired?: boolean;
|
|
495
|
+
/**
|
|
496
|
+
* A list of tags applied to the configuration.
|
|
497
|
+
* @public
|
|
498
|
+
*/
|
|
499
|
+
Tags?: Tag[];
|
|
454
500
|
}
|
|
455
501
|
/**
|
|
456
502
|
* @public
|
|
@@ -981,6 +1027,20 @@ export interface GetTeamsChannelConfigurationResult {
|
|
|
981
1027
|
*/
|
|
982
1028
|
ChannelConfiguration?: TeamsChannelConfiguration;
|
|
983
1029
|
}
|
|
1030
|
+
/**
|
|
1031
|
+
* Customer/consumer-facing internal service exception.
|
|
1032
|
+
* https://w.amazon.com/index.php/AWS/API_Standards/Exceptions#InternalServiceError
|
|
1033
|
+
* @public
|
|
1034
|
+
*/
|
|
1035
|
+
export declare class InternalServiceError extends __BaseException {
|
|
1036
|
+
readonly name: "InternalServiceError";
|
|
1037
|
+
readonly $fault: "server";
|
|
1038
|
+
Message?: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* @internal
|
|
1041
|
+
*/
|
|
1042
|
+
constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
|
|
1043
|
+
}
|
|
984
1044
|
/**
|
|
985
1045
|
* We can’t process your request right now because of a server issue. Try again later.
|
|
986
1046
|
* @public
|
|
@@ -1161,6 +1221,90 @@ export interface ListMicrosoftTeamsUserIdentitiesResult {
|
|
|
1161
1221
|
*/
|
|
1162
1222
|
NextToken?: string;
|
|
1163
1223
|
}
|
|
1224
|
+
/**
|
|
1225
|
+
* @public
|
|
1226
|
+
*/
|
|
1227
|
+
export interface ListTagsForResourceRequest {
|
|
1228
|
+
/**
|
|
1229
|
+
* The ARN of the configuration.
|
|
1230
|
+
* @public
|
|
1231
|
+
*/
|
|
1232
|
+
ResourceARN: string | undefined;
|
|
1233
|
+
}
|
|
1234
|
+
/**
|
|
1235
|
+
* @public
|
|
1236
|
+
*/
|
|
1237
|
+
export interface ListTagsForResourceResponse {
|
|
1238
|
+
/**
|
|
1239
|
+
* A list of tags applied to the configuration.
|
|
1240
|
+
* @public
|
|
1241
|
+
*/
|
|
1242
|
+
Tags?: Tag[];
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
1246
|
+
* @public
|
|
1247
|
+
*/
|
|
1248
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
1249
|
+
readonly name: "ServiceUnavailableException";
|
|
1250
|
+
readonly $fault: "client";
|
|
1251
|
+
/**
|
|
1252
|
+
* @internal
|
|
1253
|
+
*/
|
|
1254
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
1255
|
+
}
|
|
1256
|
+
/**
|
|
1257
|
+
* @public
|
|
1258
|
+
*/
|
|
1259
|
+
export interface TagResourceRequest {
|
|
1260
|
+
/**
|
|
1261
|
+
* The ARN of the configuration.
|
|
1262
|
+
* @public
|
|
1263
|
+
*/
|
|
1264
|
+
ResourceARN: string | undefined;
|
|
1265
|
+
/**
|
|
1266
|
+
* A list of tags to apply to the configuration.
|
|
1267
|
+
* @public
|
|
1268
|
+
*/
|
|
1269
|
+
Tags: Tag[] | undefined;
|
|
1270
|
+
}
|
|
1271
|
+
/**
|
|
1272
|
+
* @public
|
|
1273
|
+
*/
|
|
1274
|
+
export interface TagResourceResponse {
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
* The supplied list of tags contains too many tags.
|
|
1278
|
+
* @public
|
|
1279
|
+
*/
|
|
1280
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
1281
|
+
readonly name: "TooManyTagsException";
|
|
1282
|
+
readonly $fault: "client";
|
|
1283
|
+
/**
|
|
1284
|
+
* @internal
|
|
1285
|
+
*/
|
|
1286
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
1287
|
+
}
|
|
1288
|
+
/**
|
|
1289
|
+
* @public
|
|
1290
|
+
*/
|
|
1291
|
+
export interface UntagResourceRequest {
|
|
1292
|
+
/**
|
|
1293
|
+
* The ARN of the configuration.
|
|
1294
|
+
* @public
|
|
1295
|
+
*/
|
|
1296
|
+
ResourceARN: string | undefined;
|
|
1297
|
+
/**
|
|
1298
|
+
* A list of tag keys to remove from the configuration.
|
|
1299
|
+
* @public
|
|
1300
|
+
*/
|
|
1301
|
+
TagKeys: string[] | undefined;
|
|
1302
|
+
}
|
|
1303
|
+
/**
|
|
1304
|
+
* @public
|
|
1305
|
+
*/
|
|
1306
|
+
export interface UntagResourceResponse {
|
|
1307
|
+
}
|
|
1164
1308
|
/**
|
|
1165
1309
|
* We can’t process your request right now because of a server issue. Try again later.
|
|
1166
1310
|
* @public
|
|
@@ -19,6 +19,9 @@ import { GetMicrosoftTeamsChannelConfigurationCommandInput, GetMicrosoftTeamsCha
|
|
|
19
19
|
import { ListMicrosoftTeamsChannelConfigurationsCommandInput, ListMicrosoftTeamsChannelConfigurationsCommandOutput } from "../commands/ListMicrosoftTeamsChannelConfigurationsCommand";
|
|
20
20
|
import { ListMicrosoftTeamsConfiguredTeamsCommandInput, ListMicrosoftTeamsConfiguredTeamsCommandOutput } from "../commands/ListMicrosoftTeamsConfiguredTeamsCommand";
|
|
21
21
|
import { ListMicrosoftTeamsUserIdentitiesCommandInput, ListMicrosoftTeamsUserIdentitiesCommandOutput } from "../commands/ListMicrosoftTeamsUserIdentitiesCommand";
|
|
22
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
23
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
24
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
22
25
|
import { UpdateAccountPreferencesCommandInput, UpdateAccountPreferencesCommandOutput } from "../commands/UpdateAccountPreferencesCommand";
|
|
23
26
|
import { UpdateChimeWebhookConfigurationCommandInput, UpdateChimeWebhookConfigurationCommandOutput } from "../commands/UpdateChimeWebhookConfigurationCommand";
|
|
24
27
|
import { UpdateMicrosoftTeamsChannelConfigurationCommandInput, UpdateMicrosoftTeamsChannelConfigurationCommandOutput } from "../commands/UpdateMicrosoftTeamsChannelConfigurationCommand";
|
|
@@ -99,6 +102,18 @@ export declare const se_ListMicrosoftTeamsConfiguredTeamsCommand: (input: ListMi
|
|
|
99
102
|
* serializeAws_restJson1ListMicrosoftTeamsUserIdentitiesCommand
|
|
100
103
|
*/
|
|
101
104
|
export declare const se_ListMicrosoftTeamsUserIdentitiesCommand: (input: ListMicrosoftTeamsUserIdentitiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
105
|
+
/**
|
|
106
|
+
* serializeAws_restJson1ListTagsForResourceCommand
|
|
107
|
+
*/
|
|
108
|
+
export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
109
|
+
/**
|
|
110
|
+
* serializeAws_restJson1TagResourceCommand
|
|
111
|
+
*/
|
|
112
|
+
export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
113
|
+
/**
|
|
114
|
+
* serializeAws_restJson1UntagResourceCommand
|
|
115
|
+
*/
|
|
116
|
+
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
102
117
|
/**
|
|
103
118
|
* serializeAws_restJson1UpdateAccountPreferencesCommand
|
|
104
119
|
*/
|
|
@@ -191,6 +206,18 @@ export declare const de_ListMicrosoftTeamsConfiguredTeamsCommand: (output: __Htt
|
|
|
191
206
|
* deserializeAws_restJson1ListMicrosoftTeamsUserIdentitiesCommand
|
|
192
207
|
*/
|
|
193
208
|
export declare const de_ListMicrosoftTeamsUserIdentitiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMicrosoftTeamsUserIdentitiesCommandOutput>;
|
|
209
|
+
/**
|
|
210
|
+
* deserializeAws_restJson1ListTagsForResourceCommand
|
|
211
|
+
*/
|
|
212
|
+
export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
213
|
+
/**
|
|
214
|
+
* deserializeAws_restJson1TagResourceCommand
|
|
215
|
+
*/
|
|
216
|
+
export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
217
|
+
/**
|
|
218
|
+
* deserializeAws_restJson1UntagResourceCommand
|
|
219
|
+
*/
|
|
220
|
+
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
194
221
|
/**
|
|
195
222
|
* deserializeAws_restJson1UpdateAccountPreferencesCommand
|
|
196
223
|
*/
|
|
@@ -76,6 +76,18 @@ import {
|
|
|
76
76
|
ListMicrosoftTeamsUserIdentitiesCommandInput,
|
|
77
77
|
ListMicrosoftTeamsUserIdentitiesCommandOutput,
|
|
78
78
|
} from "./commands/ListMicrosoftTeamsUserIdentitiesCommand";
|
|
79
|
+
import {
|
|
80
|
+
ListTagsForResourceCommandInput,
|
|
81
|
+
ListTagsForResourceCommandOutput,
|
|
82
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
83
|
+
import {
|
|
84
|
+
TagResourceCommandInput,
|
|
85
|
+
TagResourceCommandOutput,
|
|
86
|
+
} from "./commands/TagResourceCommand";
|
|
87
|
+
import {
|
|
88
|
+
UntagResourceCommandInput,
|
|
89
|
+
UntagResourceCommandOutput,
|
|
90
|
+
} from "./commands/UntagResourceCommand";
|
|
79
91
|
import {
|
|
80
92
|
UpdateAccountPreferencesCommandInput,
|
|
81
93
|
UpdateAccountPreferencesCommandOutput,
|
|
@@ -402,6 +414,45 @@ export interface Chatbot {
|
|
|
402
414
|
options: __HttpHandlerOptions,
|
|
403
415
|
cb: (err: any, data?: ListMicrosoftTeamsUserIdentitiesCommandOutput) => void
|
|
404
416
|
): void;
|
|
417
|
+
listTagsForResource(
|
|
418
|
+
args: ListTagsForResourceCommandInput,
|
|
419
|
+
options?: __HttpHandlerOptions
|
|
420
|
+
): Promise<ListTagsForResourceCommandOutput>;
|
|
421
|
+
listTagsForResource(
|
|
422
|
+
args: ListTagsForResourceCommandInput,
|
|
423
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
424
|
+
): void;
|
|
425
|
+
listTagsForResource(
|
|
426
|
+
args: ListTagsForResourceCommandInput,
|
|
427
|
+
options: __HttpHandlerOptions,
|
|
428
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
429
|
+
): void;
|
|
430
|
+
tagResource(
|
|
431
|
+
args: TagResourceCommandInput,
|
|
432
|
+
options?: __HttpHandlerOptions
|
|
433
|
+
): Promise<TagResourceCommandOutput>;
|
|
434
|
+
tagResource(
|
|
435
|
+
args: TagResourceCommandInput,
|
|
436
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
437
|
+
): void;
|
|
438
|
+
tagResource(
|
|
439
|
+
args: TagResourceCommandInput,
|
|
440
|
+
options: __HttpHandlerOptions,
|
|
441
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
442
|
+
): void;
|
|
443
|
+
untagResource(
|
|
444
|
+
args: UntagResourceCommandInput,
|
|
445
|
+
options?: __HttpHandlerOptions
|
|
446
|
+
): Promise<UntagResourceCommandOutput>;
|
|
447
|
+
untagResource(
|
|
448
|
+
args: UntagResourceCommandInput,
|
|
449
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
450
|
+
): void;
|
|
451
|
+
untagResource(
|
|
452
|
+
args: UntagResourceCommandInput,
|
|
453
|
+
options: __HttpHandlerOptions,
|
|
454
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
455
|
+
): void;
|
|
405
456
|
updateAccountPreferences(): Promise<UpdateAccountPreferencesCommandOutput>;
|
|
406
457
|
updateAccountPreferences(
|
|
407
458
|
args: UpdateAccountPreferencesCommandInput,
|
|
@@ -121,6 +121,18 @@ import {
|
|
|
121
121
|
ListMicrosoftTeamsUserIdentitiesCommandInput,
|
|
122
122
|
ListMicrosoftTeamsUserIdentitiesCommandOutput,
|
|
123
123
|
} from "./commands/ListMicrosoftTeamsUserIdentitiesCommand";
|
|
124
|
+
import {
|
|
125
|
+
ListTagsForResourceCommandInput,
|
|
126
|
+
ListTagsForResourceCommandOutput,
|
|
127
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
128
|
+
import {
|
|
129
|
+
TagResourceCommandInput,
|
|
130
|
+
TagResourceCommandOutput,
|
|
131
|
+
} from "./commands/TagResourceCommand";
|
|
132
|
+
import {
|
|
133
|
+
UntagResourceCommandInput,
|
|
134
|
+
UntagResourceCommandOutput,
|
|
135
|
+
} from "./commands/UntagResourceCommand";
|
|
124
136
|
import {
|
|
125
137
|
UpdateAccountPreferencesCommandInput,
|
|
126
138
|
UpdateAccountPreferencesCommandOutput,
|
|
@@ -164,6 +176,9 @@ export type ServiceInputTypes =
|
|
|
164
176
|
| ListMicrosoftTeamsChannelConfigurationsCommandInput
|
|
165
177
|
| ListMicrosoftTeamsConfiguredTeamsCommandInput
|
|
166
178
|
| ListMicrosoftTeamsUserIdentitiesCommandInput
|
|
179
|
+
| ListTagsForResourceCommandInput
|
|
180
|
+
| TagResourceCommandInput
|
|
181
|
+
| UntagResourceCommandInput
|
|
167
182
|
| UpdateAccountPreferencesCommandInput
|
|
168
183
|
| UpdateChimeWebhookConfigurationCommandInput
|
|
169
184
|
| UpdateMicrosoftTeamsChannelConfigurationCommandInput
|
|
@@ -188,6 +203,9 @@ export type ServiceOutputTypes =
|
|
|
188
203
|
| ListMicrosoftTeamsChannelConfigurationsCommandOutput
|
|
189
204
|
| ListMicrosoftTeamsConfiguredTeamsCommandOutput
|
|
190
205
|
| ListMicrosoftTeamsUserIdentitiesCommandOutput
|
|
206
|
+
| ListTagsForResourceCommandOutput
|
|
207
|
+
| TagResourceCommandOutput
|
|
208
|
+
| UntagResourceCommandOutput
|
|
191
209
|
| UpdateAccountPreferencesCommandOutput
|
|
192
210
|
| UpdateChimeWebhookConfigurationCommandOutput
|
|
193
211
|
| UpdateMicrosoftTeamsChannelConfigurationCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ChatbotClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ChatbotClient";
|
|
8
|
+
import {
|
|
9
|
+
ListTagsForResourceRequest,
|
|
10
|
+
ListTagsForResourceResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface ListTagsForResourceCommandInput
|
|
14
|
+
extends ListTagsForResourceRequest {}
|
|
15
|
+
export interface ListTagsForResourceCommandOutput
|
|
16
|
+
extends ListTagsForResourceResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListTagsForResourceCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListTagsForResourceCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListTagsForResourceCommandInput,
|
|
23
|
+
ListTagsForResourceCommandOutput,
|
|
24
|
+
ChatbotClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: ListTagsForResourceCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListTagsForResourceCommandInput,
|
|
32
|
+
ListTagsForResourceCommandOutput,
|
|
33
|
+
ChatbotClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ChatbotClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ChatbotClient";
|
|
8
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
11
|
+
export interface TagResourceCommandOutput
|
|
12
|
+
extends TagResourceResponse,
|
|
13
|
+
__MetadataBearer {}
|
|
14
|
+
declare const TagResourceCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: TagResourceCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
TagResourceCommandInput,
|
|
19
|
+
TagResourceCommandOutput,
|
|
20
|
+
ChatbotClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
new (
|
|
25
|
+
__0_0: TagResourceCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
TagResourceCommandInput,
|
|
28
|
+
TagResourceCommandOutput,
|
|
29
|
+
ChatbotClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
33
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
34
|
+
};
|
|
35
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ChatbotClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ChatbotClient";
|
|
8
|
+
import {
|
|
9
|
+
UntagResourceRequest,
|
|
10
|
+
UntagResourceResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
14
|
+
export interface UntagResourceCommandOutput
|
|
15
|
+
extends UntagResourceResponse,
|
|
16
|
+
__MetadataBearer {}
|
|
17
|
+
declare const UntagResourceCommand_base: {
|
|
18
|
+
new (
|
|
19
|
+
input: UntagResourceCommandInput
|
|
20
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
21
|
+
UntagResourceCommandInput,
|
|
22
|
+
UntagResourceCommandOutput,
|
|
23
|
+
ChatbotClientResolvedConfig,
|
|
24
|
+
ServiceInputTypes,
|
|
25
|
+
ServiceOutputTypes
|
|
26
|
+
>;
|
|
27
|
+
new (
|
|
28
|
+
__0_0: UntagResourceCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
UntagResourceCommandInput,
|
|
31
|
+
UntagResourceCommandOutput,
|
|
32
|
+
ChatbotClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
36
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
37
|
+
};
|
|
38
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {}
|
|
@@ -17,6 +17,9 @@ export * from "./GetMicrosoftTeamsChannelConfigurationCommand";
|
|
|
17
17
|
export * from "./ListMicrosoftTeamsChannelConfigurationsCommand";
|
|
18
18
|
export * from "./ListMicrosoftTeamsConfiguredTeamsCommand";
|
|
19
19
|
export * from "./ListMicrosoftTeamsUserIdentitiesCommand";
|
|
20
|
+
export * from "./ListTagsForResourceCommand";
|
|
21
|
+
export * from "./TagResourceCommand";
|
|
22
|
+
export * from "./UntagResourceCommand";
|
|
20
23
|
export * from "./UpdateAccountPreferencesCommand";
|
|
21
24
|
export * from "./UpdateChimeWebhookConfigurationCommand";
|
|
22
25
|
export * from "./UpdateMicrosoftTeamsChannelConfigurationCommand";
|
|
@@ -4,6 +4,10 @@ export interface AccountPreferences {
|
|
|
4
4
|
UserAuthorizationRequired?: boolean;
|
|
5
5
|
TrainingDataCollectionEnabled?: boolean;
|
|
6
6
|
}
|
|
7
|
+
export interface Tag {
|
|
8
|
+
TagKey: string | undefined;
|
|
9
|
+
TagValue: string | undefined;
|
|
10
|
+
}
|
|
7
11
|
export interface ChimeWebhookConfiguration {
|
|
8
12
|
WebhookDescription: string | undefined;
|
|
9
13
|
ChatConfigurationArn: string | undefined;
|
|
@@ -11,6 +15,7 @@ export interface ChimeWebhookConfiguration {
|
|
|
11
15
|
SnsTopicArns: string[] | undefined;
|
|
12
16
|
ConfigurationName?: string;
|
|
13
17
|
LoggingLevel?: string;
|
|
18
|
+
Tags?: Tag[];
|
|
14
19
|
}
|
|
15
20
|
export interface ConfiguredTeam {
|
|
16
21
|
TenantId: string | undefined;
|
|
@@ -40,6 +45,7 @@ export interface CreateChimeWebhookConfigurationRequest {
|
|
|
40
45
|
IamRoleArn: string | undefined;
|
|
41
46
|
ConfigurationName: string | undefined;
|
|
42
47
|
LoggingLevel?: string;
|
|
48
|
+
Tags?: Tag[];
|
|
43
49
|
}
|
|
44
50
|
export interface CreateChimeWebhookConfigurationResult {
|
|
45
51
|
WebhookConfiguration?: ChimeWebhookConfiguration;
|
|
@@ -88,6 +94,7 @@ export interface CreateTeamsChannelConfigurationRequest {
|
|
|
88
94
|
LoggingLevel?: string;
|
|
89
95
|
GuardrailPolicyArns?: string[];
|
|
90
96
|
UserAuthorizationRequired?: boolean;
|
|
97
|
+
Tags?: Tag[];
|
|
91
98
|
}
|
|
92
99
|
export interface TeamsChannelConfiguration {
|
|
93
100
|
ChannelId: string | undefined;
|
|
@@ -102,6 +109,7 @@ export interface TeamsChannelConfiguration {
|
|
|
102
109
|
LoggingLevel?: string;
|
|
103
110
|
GuardrailPolicyArns?: string[];
|
|
104
111
|
UserAuthorizationRequired?: boolean;
|
|
112
|
+
Tags?: Tag[];
|
|
105
113
|
}
|
|
106
114
|
export interface CreateTeamsChannelConfigurationResult {
|
|
107
115
|
ChannelConfiguration?: TeamsChannelConfiguration;
|
|
@@ -127,6 +135,7 @@ export interface CreateSlackChannelConfigurationRequest {
|
|
|
127
135
|
LoggingLevel?: string;
|
|
128
136
|
GuardrailPolicyArns?: string[];
|
|
129
137
|
UserAuthorizationRequired?: boolean;
|
|
138
|
+
Tags?: Tag[];
|
|
130
139
|
}
|
|
131
140
|
export interface SlackChannelConfiguration {
|
|
132
141
|
SlackTeamName: string | undefined;
|
|
@@ -140,6 +149,7 @@ export interface SlackChannelConfiguration {
|
|
|
140
149
|
LoggingLevel?: string;
|
|
141
150
|
GuardrailPolicyArns?: string[];
|
|
142
151
|
UserAuthorizationRequired?: boolean;
|
|
152
|
+
Tags?: Tag[];
|
|
143
153
|
}
|
|
144
154
|
export interface CreateSlackChannelConfigurationResult {
|
|
145
155
|
ChannelConfiguration?: SlackChannelConfiguration;
|
|
@@ -379,6 +389,14 @@ export interface GetTeamsChannelConfigurationRequest {
|
|
|
379
389
|
export interface GetTeamsChannelConfigurationResult {
|
|
380
390
|
ChannelConfiguration?: TeamsChannelConfiguration;
|
|
381
391
|
}
|
|
392
|
+
export declare class InternalServiceError extends __BaseException {
|
|
393
|
+
readonly name: "InternalServiceError";
|
|
394
|
+
readonly $fault: "server";
|
|
395
|
+
Message?: string;
|
|
396
|
+
constructor(
|
|
397
|
+
opts: __ExceptionOptionType<InternalServiceError, __BaseException>
|
|
398
|
+
);
|
|
399
|
+
}
|
|
382
400
|
export declare class ListTeamsChannelConfigurationsException extends __BaseException {
|
|
383
401
|
readonly name: "ListTeamsChannelConfigurationsException";
|
|
384
402
|
readonly $fault: "server";
|
|
@@ -447,6 +465,36 @@ export interface ListMicrosoftTeamsUserIdentitiesResult {
|
|
|
447
465
|
TeamsUserIdentities?: TeamsUserIdentity[];
|
|
448
466
|
NextToken?: string;
|
|
449
467
|
}
|
|
468
|
+
export interface ListTagsForResourceRequest {
|
|
469
|
+
ResourceARN: string | undefined;
|
|
470
|
+
}
|
|
471
|
+
export interface ListTagsForResourceResponse {
|
|
472
|
+
Tags?: Tag[];
|
|
473
|
+
}
|
|
474
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
475
|
+
readonly name: "ServiceUnavailableException";
|
|
476
|
+
readonly $fault: "client";
|
|
477
|
+
constructor(
|
|
478
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
479
|
+
);
|
|
480
|
+
}
|
|
481
|
+
export interface TagResourceRequest {
|
|
482
|
+
ResourceARN: string | undefined;
|
|
483
|
+
Tags: Tag[] | undefined;
|
|
484
|
+
}
|
|
485
|
+
export interface TagResourceResponse {}
|
|
486
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
487
|
+
readonly name: "TooManyTagsException";
|
|
488
|
+
readonly $fault: "client";
|
|
489
|
+
constructor(
|
|
490
|
+
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
491
|
+
);
|
|
492
|
+
}
|
|
493
|
+
export interface UntagResourceRequest {
|
|
494
|
+
ResourceARN: string | undefined;
|
|
495
|
+
TagKeys: string[] | undefined;
|
|
496
|
+
}
|
|
497
|
+
export interface UntagResourceResponse {}
|
|
450
498
|
export declare class UpdateAccountPreferencesException extends __BaseException {
|
|
451
499
|
readonly name: "UpdateAccountPreferencesException";
|
|
452
500
|
readonly $fault: "server";
|
|
@@ -79,6 +79,18 @@ import {
|
|
|
79
79
|
ListMicrosoftTeamsUserIdentitiesCommandInput,
|
|
80
80
|
ListMicrosoftTeamsUserIdentitiesCommandOutput,
|
|
81
81
|
} from "../commands/ListMicrosoftTeamsUserIdentitiesCommand";
|
|
82
|
+
import {
|
|
83
|
+
ListTagsForResourceCommandInput,
|
|
84
|
+
ListTagsForResourceCommandOutput,
|
|
85
|
+
} from "../commands/ListTagsForResourceCommand";
|
|
86
|
+
import {
|
|
87
|
+
TagResourceCommandInput,
|
|
88
|
+
TagResourceCommandOutput,
|
|
89
|
+
} from "../commands/TagResourceCommand";
|
|
90
|
+
import {
|
|
91
|
+
UntagResourceCommandInput,
|
|
92
|
+
UntagResourceCommandOutput,
|
|
93
|
+
} from "../commands/UntagResourceCommand";
|
|
82
94
|
import {
|
|
83
95
|
UpdateAccountPreferencesCommandInput,
|
|
84
96
|
UpdateAccountPreferencesCommandOutput,
|
|
@@ -171,6 +183,18 @@ export declare const se_ListMicrosoftTeamsUserIdentitiesCommand: (
|
|
|
171
183
|
input: ListMicrosoftTeamsUserIdentitiesCommandInput,
|
|
172
184
|
context: __SerdeContext
|
|
173
185
|
) => Promise<__HttpRequest>;
|
|
186
|
+
export declare const se_ListTagsForResourceCommand: (
|
|
187
|
+
input: ListTagsForResourceCommandInput,
|
|
188
|
+
context: __SerdeContext
|
|
189
|
+
) => Promise<__HttpRequest>;
|
|
190
|
+
export declare const se_TagResourceCommand: (
|
|
191
|
+
input: TagResourceCommandInput,
|
|
192
|
+
context: __SerdeContext
|
|
193
|
+
) => Promise<__HttpRequest>;
|
|
194
|
+
export declare const se_UntagResourceCommand: (
|
|
195
|
+
input: UntagResourceCommandInput,
|
|
196
|
+
context: __SerdeContext
|
|
197
|
+
) => Promise<__HttpRequest>;
|
|
174
198
|
export declare const se_UpdateAccountPreferencesCommand: (
|
|
175
199
|
input: UpdateAccountPreferencesCommandInput,
|
|
176
200
|
context: __SerdeContext
|
|
@@ -263,6 +287,18 @@ export declare const de_ListMicrosoftTeamsUserIdentitiesCommand: (
|
|
|
263
287
|
output: __HttpResponse,
|
|
264
288
|
context: __SerdeContext
|
|
265
289
|
) => Promise<ListMicrosoftTeamsUserIdentitiesCommandOutput>;
|
|
290
|
+
export declare const de_ListTagsForResourceCommand: (
|
|
291
|
+
output: __HttpResponse,
|
|
292
|
+
context: __SerdeContext
|
|
293
|
+
) => Promise<ListTagsForResourceCommandOutput>;
|
|
294
|
+
export declare const de_TagResourceCommand: (
|
|
295
|
+
output: __HttpResponse,
|
|
296
|
+
context: __SerdeContext
|
|
297
|
+
) => Promise<TagResourceCommandOutput>;
|
|
298
|
+
export declare const de_UntagResourceCommand: (
|
|
299
|
+
output: __HttpResponse,
|
|
300
|
+
context: __SerdeContext
|
|
301
|
+
) => Promise<UntagResourceCommandOutput>;
|
|
266
302
|
export declare const de_UpdateAccountPreferencesCommand: (
|
|
267
303
|
output: __HttpResponse,
|
|
268
304
|
context: __SerdeContext
|