@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
|
@@ -2,7 +2,7 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
|
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { ChatbotServiceException as __BaseException } from "../models/ChatbotServiceException";
|
|
5
|
-
import { ConflictException, CreateChimeWebhookConfigurationException, CreateSlackChannelConfigurationException, CreateTeamsChannelConfigurationException, DeleteChimeWebhookConfigurationException, DeleteMicrosoftTeamsUserIdentityException, DeleteSlackChannelConfigurationException, DeleteSlackUserIdentityException, DeleteSlackWorkspaceAuthorizationFault, DeleteTeamsChannelConfigurationException, DeleteTeamsConfiguredTeamException, DescribeChimeWebhookConfigurationsException, DescribeSlackChannelConfigurationsException, DescribeSlackUserIdentitiesException, DescribeSlackWorkspacesException, GetAccountPreferencesException, GetTeamsChannelConfigurationException, InvalidParameterException, InvalidRequestException, LimitExceededException, ListMicrosoftTeamsConfiguredTeamsException, ListMicrosoftTeamsUserIdentitiesException, ListTeamsChannelConfigurationsException, ResourceNotFoundException, UpdateAccountPreferencesException, UpdateChimeWebhookConfigurationException, UpdateSlackChannelConfigurationException, UpdateTeamsChannelConfigurationException, } from "../models/models_0";
|
|
5
|
+
import { ConflictException, CreateChimeWebhookConfigurationException, CreateSlackChannelConfigurationException, CreateTeamsChannelConfigurationException, DeleteChimeWebhookConfigurationException, DeleteMicrosoftTeamsUserIdentityException, DeleteSlackChannelConfigurationException, DeleteSlackUserIdentityException, DeleteSlackWorkspaceAuthorizationFault, DeleteTeamsChannelConfigurationException, DeleteTeamsConfiguredTeamException, DescribeChimeWebhookConfigurationsException, DescribeSlackChannelConfigurationsException, DescribeSlackUserIdentitiesException, DescribeSlackWorkspacesException, GetAccountPreferencesException, GetTeamsChannelConfigurationException, InternalServiceError, InvalidParameterException, InvalidRequestException, LimitExceededException, ListMicrosoftTeamsConfiguredTeamsException, ListMicrosoftTeamsUserIdentitiesException, ListTeamsChannelConfigurationsException, ResourceNotFoundException, ServiceUnavailableException, TooManyTagsException, UpdateAccountPreferencesException, UpdateChimeWebhookConfigurationException, UpdateSlackChannelConfigurationException, UpdateTeamsChannelConfigurationException, } from "../models/models_0";
|
|
6
6
|
export const se_CreateChimeWebhookConfigurationCommand = async (input, context) => {
|
|
7
7
|
const b = rb(input, context);
|
|
8
8
|
const headers = {
|
|
@@ -15,6 +15,7 @@ export const se_CreateChimeWebhookConfigurationCommand = async (input, context)
|
|
|
15
15
|
IamRoleArn: [],
|
|
16
16
|
LoggingLevel: [],
|
|
17
17
|
SnsTopicArns: (_) => _json(_),
|
|
18
|
+
Tags: (_) => _json(_),
|
|
18
19
|
WebhookDescription: [],
|
|
19
20
|
WebhookUrl: [],
|
|
20
21
|
}));
|
|
@@ -36,6 +37,7 @@ export const se_CreateMicrosoftTeamsChannelConfigurationCommand = async (input,
|
|
|
36
37
|
IamRoleArn: [],
|
|
37
38
|
LoggingLevel: [],
|
|
38
39
|
SnsTopicArns: (_) => _json(_),
|
|
40
|
+
Tags: (_) => _json(_),
|
|
39
41
|
TeamId: [],
|
|
40
42
|
TeamName: [],
|
|
41
43
|
TenantId: [],
|
|
@@ -60,6 +62,7 @@ export const se_CreateSlackChannelConfigurationCommand = async (input, context)
|
|
|
60
62
|
SlackChannelName: [],
|
|
61
63
|
SlackTeamId: [],
|
|
62
64
|
SnsTopicArns: (_) => _json(_),
|
|
65
|
+
Tags: (_) => _json(_),
|
|
63
66
|
UserAuthorizationRequired: [],
|
|
64
67
|
}));
|
|
65
68
|
b.m("POST").h(headers).b(body);
|
|
@@ -286,6 +289,47 @@ export const se_ListMicrosoftTeamsUserIdentitiesCommand = async (input, context)
|
|
|
286
289
|
b.m("POST").h(headers).b(body);
|
|
287
290
|
return b.build();
|
|
288
291
|
};
|
|
292
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
293
|
+
const b = rb(input, context);
|
|
294
|
+
const headers = {
|
|
295
|
+
"content-type": "application/json",
|
|
296
|
+
};
|
|
297
|
+
b.bp("/list-tags-for-resource");
|
|
298
|
+
let body;
|
|
299
|
+
body = JSON.stringify(take(input, {
|
|
300
|
+
ResourceARN: [],
|
|
301
|
+
}));
|
|
302
|
+
b.m("POST").h(headers).b(body);
|
|
303
|
+
return b.build();
|
|
304
|
+
};
|
|
305
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
306
|
+
const b = rb(input, context);
|
|
307
|
+
const headers = {
|
|
308
|
+
"content-type": "application/json",
|
|
309
|
+
};
|
|
310
|
+
b.bp("/tag-resource");
|
|
311
|
+
let body;
|
|
312
|
+
body = JSON.stringify(take(input, {
|
|
313
|
+
ResourceARN: [],
|
|
314
|
+
Tags: (_) => _json(_),
|
|
315
|
+
}));
|
|
316
|
+
b.m("POST").h(headers).b(body);
|
|
317
|
+
return b.build();
|
|
318
|
+
};
|
|
319
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
320
|
+
const b = rb(input, context);
|
|
321
|
+
const headers = {
|
|
322
|
+
"content-type": "application/json",
|
|
323
|
+
};
|
|
324
|
+
b.bp("/untag-resource");
|
|
325
|
+
let body;
|
|
326
|
+
body = JSON.stringify(take(input, {
|
|
327
|
+
ResourceARN: [],
|
|
328
|
+
TagKeys: (_) => _json(_),
|
|
329
|
+
}));
|
|
330
|
+
b.m("POST").h(headers).b(body);
|
|
331
|
+
return b.build();
|
|
332
|
+
};
|
|
289
333
|
export const se_UpdateAccountPreferencesCommand = async (input, context) => {
|
|
290
334
|
const b = rb(input, context);
|
|
291
335
|
const headers = {
|
|
@@ -603,6 +647,40 @@ export const de_ListMicrosoftTeamsUserIdentitiesCommand = async (output, context
|
|
|
603
647
|
Object.assign(contents, doc);
|
|
604
648
|
return contents;
|
|
605
649
|
};
|
|
650
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
651
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
652
|
+
return de_CommandError(output, context);
|
|
653
|
+
}
|
|
654
|
+
const contents = map({
|
|
655
|
+
$metadata: deserializeMetadata(output),
|
|
656
|
+
});
|
|
657
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
658
|
+
const doc = take(data, {
|
|
659
|
+
Tags: _json,
|
|
660
|
+
});
|
|
661
|
+
Object.assign(contents, doc);
|
|
662
|
+
return contents;
|
|
663
|
+
};
|
|
664
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
665
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
666
|
+
return de_CommandError(output, context);
|
|
667
|
+
}
|
|
668
|
+
const contents = map({
|
|
669
|
+
$metadata: deserializeMetadata(output),
|
|
670
|
+
});
|
|
671
|
+
await collectBody(output.body, context);
|
|
672
|
+
return contents;
|
|
673
|
+
};
|
|
674
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
675
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
676
|
+
return de_CommandError(output, context);
|
|
677
|
+
}
|
|
678
|
+
const contents = map({
|
|
679
|
+
$metadata: deserializeMetadata(output),
|
|
680
|
+
});
|
|
681
|
+
await collectBody(output.body, context);
|
|
682
|
+
return contents;
|
|
683
|
+
};
|
|
606
684
|
export const de_UpdateAccountPreferencesCommand = async (output, context) => {
|
|
607
685
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
608
686
|
return de_CommandError(output, context);
|
|
@@ -738,6 +816,15 @@ const de_CommandError = async (output, context) => {
|
|
|
738
816
|
case "ListMicrosoftTeamsUserIdentitiesException":
|
|
739
817
|
case "com.amazonaws.chatbot#ListMicrosoftTeamsUserIdentitiesException":
|
|
740
818
|
throw await de_ListMicrosoftTeamsUserIdentitiesExceptionRes(parsedOutput, context);
|
|
819
|
+
case "InternalServiceError":
|
|
820
|
+
case "com.amazonaws.chatbot#InternalServiceError":
|
|
821
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
822
|
+
case "ServiceUnavailableException":
|
|
823
|
+
case "com.amazonaws.chatbot#ServiceUnavailableException":
|
|
824
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
825
|
+
case "TooManyTagsException":
|
|
826
|
+
case "com.amazonaws.chatbot#TooManyTagsException":
|
|
827
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
741
828
|
case "UpdateAccountPreferencesException":
|
|
742
829
|
case "com.amazonaws.chatbot#UpdateAccountPreferencesException":
|
|
743
830
|
throw await de_UpdateAccountPreferencesExceptionRes(parsedOutput, context);
|
|
@@ -981,6 +1068,19 @@ const de_GetTeamsChannelConfigurationExceptionRes = async (parsedOutput, context
|
|
|
981
1068
|
});
|
|
982
1069
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
983
1070
|
};
|
|
1071
|
+
const de_InternalServiceErrorRes = async (parsedOutput, context) => {
|
|
1072
|
+
const contents = map({});
|
|
1073
|
+
const data = parsedOutput.body;
|
|
1074
|
+
const doc = take(data, {
|
|
1075
|
+
Message: __expectString,
|
|
1076
|
+
});
|
|
1077
|
+
Object.assign(contents, doc);
|
|
1078
|
+
const exception = new InternalServiceError({
|
|
1079
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1080
|
+
...contents,
|
|
1081
|
+
});
|
|
1082
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1083
|
+
};
|
|
984
1084
|
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
985
1085
|
const contents = map({});
|
|
986
1086
|
const data = parsedOutput.body;
|
|
@@ -1072,6 +1172,32 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1072
1172
|
});
|
|
1073
1173
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1074
1174
|
};
|
|
1175
|
+
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1176
|
+
const contents = map({});
|
|
1177
|
+
const data = parsedOutput.body;
|
|
1178
|
+
const doc = take(data, {
|
|
1179
|
+
message: __expectString,
|
|
1180
|
+
});
|
|
1181
|
+
Object.assign(contents, doc);
|
|
1182
|
+
const exception = new ServiceUnavailableException({
|
|
1183
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1184
|
+
...contents,
|
|
1185
|
+
});
|
|
1186
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1187
|
+
};
|
|
1188
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1189
|
+
const contents = map({});
|
|
1190
|
+
const data = parsedOutput.body;
|
|
1191
|
+
const doc = take(data, {
|
|
1192
|
+
message: __expectString,
|
|
1193
|
+
});
|
|
1194
|
+
Object.assign(contents, doc);
|
|
1195
|
+
const exception = new TooManyTagsException({
|
|
1196
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1197
|
+
...contents,
|
|
1198
|
+
});
|
|
1199
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1200
|
+
};
|
|
1075
1201
|
const de_UpdateAccountPreferencesExceptionRes = async (parsedOutput, context) => {
|
|
1076
1202
|
const contents = map({});
|
|
1077
1203
|
const data = parsedOutput.body;
|
package/dist-types/Chatbot.d.ts
CHANGED
|
@@ -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";
|
|
@@ -146,6 +149,24 @@ export interface Chatbot {
|
|
|
146
149
|
listMicrosoftTeamsUserIdentities(args: ListMicrosoftTeamsUserIdentitiesCommandInput, options?: __HttpHandlerOptions): Promise<ListMicrosoftTeamsUserIdentitiesCommandOutput>;
|
|
147
150
|
listMicrosoftTeamsUserIdentities(args: ListMicrosoftTeamsUserIdentitiesCommandInput, cb: (err: any, data?: ListMicrosoftTeamsUserIdentitiesCommandOutput) => void): void;
|
|
148
151
|
listMicrosoftTeamsUserIdentities(args: ListMicrosoftTeamsUserIdentitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMicrosoftTeamsUserIdentitiesCommandOutput) => void): void;
|
|
152
|
+
/**
|
|
153
|
+
* @see {@link ListTagsForResourceCommand}
|
|
154
|
+
*/
|
|
155
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
156
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
157
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
158
|
+
/**
|
|
159
|
+
* @see {@link TagResourceCommand}
|
|
160
|
+
*/
|
|
161
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
162
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
163
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
164
|
+
/**
|
|
165
|
+
* @see {@link UntagResourceCommand}
|
|
166
|
+
*/
|
|
167
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
168
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
169
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
149
170
|
/**
|
|
150
171
|
* @see {@link UpdateAccountPreferencesCommand}
|
|
151
172
|
*/
|
|
@@ -26,6 +26,9 @@ import { GetMicrosoftTeamsChannelConfigurationCommandInput, GetMicrosoftTeamsCha
|
|
|
26
26
|
import { ListMicrosoftTeamsChannelConfigurationsCommandInput, ListMicrosoftTeamsChannelConfigurationsCommandOutput } from "./commands/ListMicrosoftTeamsChannelConfigurationsCommand";
|
|
27
27
|
import { ListMicrosoftTeamsConfiguredTeamsCommandInput, ListMicrosoftTeamsConfiguredTeamsCommandOutput } from "./commands/ListMicrosoftTeamsConfiguredTeamsCommand";
|
|
28
28
|
import { ListMicrosoftTeamsUserIdentitiesCommandInput, ListMicrosoftTeamsUserIdentitiesCommandOutput } from "./commands/ListMicrosoftTeamsUserIdentitiesCommand";
|
|
29
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
30
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
31
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
29
32
|
import { UpdateAccountPreferencesCommandInput, UpdateAccountPreferencesCommandOutput } from "./commands/UpdateAccountPreferencesCommand";
|
|
30
33
|
import { UpdateChimeWebhookConfigurationCommandInput, UpdateChimeWebhookConfigurationCommandOutput } from "./commands/UpdateChimeWebhookConfigurationCommand";
|
|
31
34
|
import { UpdateMicrosoftTeamsChannelConfigurationCommandInput, UpdateMicrosoftTeamsChannelConfigurationCommandOutput } from "./commands/UpdateMicrosoftTeamsChannelConfigurationCommand";
|
|
@@ -36,11 +39,11 @@ export { __Client };
|
|
|
36
39
|
/**
|
|
37
40
|
* @public
|
|
38
41
|
*/
|
|
39
|
-
export type ServiceInputTypes = CreateChimeWebhookConfigurationCommandInput | CreateMicrosoftTeamsChannelConfigurationCommandInput | CreateSlackChannelConfigurationCommandInput | DeleteChimeWebhookConfigurationCommandInput | DeleteMicrosoftTeamsChannelConfigurationCommandInput | DeleteMicrosoftTeamsConfiguredTeamCommandInput | DeleteMicrosoftTeamsUserIdentityCommandInput | DeleteSlackChannelConfigurationCommandInput | DeleteSlackUserIdentityCommandInput | DeleteSlackWorkspaceAuthorizationCommandInput | DescribeChimeWebhookConfigurationsCommandInput | DescribeSlackChannelConfigurationsCommandInput | DescribeSlackUserIdentitiesCommandInput | DescribeSlackWorkspacesCommandInput | GetAccountPreferencesCommandInput | GetMicrosoftTeamsChannelConfigurationCommandInput | ListMicrosoftTeamsChannelConfigurationsCommandInput | ListMicrosoftTeamsConfiguredTeamsCommandInput | ListMicrosoftTeamsUserIdentitiesCommandInput | UpdateAccountPreferencesCommandInput | UpdateChimeWebhookConfigurationCommandInput | UpdateMicrosoftTeamsChannelConfigurationCommandInput | UpdateSlackChannelConfigurationCommandInput;
|
|
42
|
+
export type ServiceInputTypes = CreateChimeWebhookConfigurationCommandInput | CreateMicrosoftTeamsChannelConfigurationCommandInput | CreateSlackChannelConfigurationCommandInput | DeleteChimeWebhookConfigurationCommandInput | DeleteMicrosoftTeamsChannelConfigurationCommandInput | DeleteMicrosoftTeamsConfiguredTeamCommandInput | DeleteMicrosoftTeamsUserIdentityCommandInput | DeleteSlackChannelConfigurationCommandInput | DeleteSlackUserIdentityCommandInput | DeleteSlackWorkspaceAuthorizationCommandInput | DescribeChimeWebhookConfigurationsCommandInput | DescribeSlackChannelConfigurationsCommandInput | DescribeSlackUserIdentitiesCommandInput | DescribeSlackWorkspacesCommandInput | GetAccountPreferencesCommandInput | GetMicrosoftTeamsChannelConfigurationCommandInput | ListMicrosoftTeamsChannelConfigurationsCommandInput | ListMicrosoftTeamsConfiguredTeamsCommandInput | ListMicrosoftTeamsUserIdentitiesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountPreferencesCommandInput | UpdateChimeWebhookConfigurationCommandInput | UpdateMicrosoftTeamsChannelConfigurationCommandInput | UpdateSlackChannelConfigurationCommandInput;
|
|
40
43
|
/**
|
|
41
44
|
* @public
|
|
42
45
|
*/
|
|
43
|
-
export type ServiceOutputTypes = CreateChimeWebhookConfigurationCommandOutput | CreateMicrosoftTeamsChannelConfigurationCommandOutput | CreateSlackChannelConfigurationCommandOutput | DeleteChimeWebhookConfigurationCommandOutput | DeleteMicrosoftTeamsChannelConfigurationCommandOutput | DeleteMicrosoftTeamsConfiguredTeamCommandOutput | DeleteMicrosoftTeamsUserIdentityCommandOutput | DeleteSlackChannelConfigurationCommandOutput | DeleteSlackUserIdentityCommandOutput | DeleteSlackWorkspaceAuthorizationCommandOutput | DescribeChimeWebhookConfigurationsCommandOutput | DescribeSlackChannelConfigurationsCommandOutput | DescribeSlackUserIdentitiesCommandOutput | DescribeSlackWorkspacesCommandOutput | GetAccountPreferencesCommandOutput | GetMicrosoftTeamsChannelConfigurationCommandOutput | ListMicrosoftTeamsChannelConfigurationsCommandOutput | ListMicrosoftTeamsConfiguredTeamsCommandOutput | ListMicrosoftTeamsUserIdentitiesCommandOutput | UpdateAccountPreferencesCommandOutput | UpdateChimeWebhookConfigurationCommandOutput | UpdateMicrosoftTeamsChannelConfigurationCommandOutput | UpdateSlackChannelConfigurationCommandOutput;
|
|
46
|
+
export type ServiceOutputTypes = CreateChimeWebhookConfigurationCommandOutput | CreateMicrosoftTeamsChannelConfigurationCommandOutput | CreateSlackChannelConfigurationCommandOutput | DeleteChimeWebhookConfigurationCommandOutput | DeleteMicrosoftTeamsChannelConfigurationCommandOutput | DeleteMicrosoftTeamsConfiguredTeamCommandOutput | DeleteMicrosoftTeamsUserIdentityCommandOutput | DeleteSlackChannelConfigurationCommandOutput | DeleteSlackUserIdentityCommandOutput | DeleteSlackWorkspaceAuthorizationCommandOutput | DescribeChimeWebhookConfigurationsCommandOutput | DescribeSlackChannelConfigurationsCommandOutput | DescribeSlackUserIdentitiesCommandOutput | DescribeSlackWorkspacesCommandOutput | GetAccountPreferencesCommandOutput | GetMicrosoftTeamsChannelConfigurationCommandOutput | ListMicrosoftTeamsChannelConfigurationsCommandOutput | ListMicrosoftTeamsConfiguredTeamsCommandOutput | ListMicrosoftTeamsUserIdentitiesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountPreferencesCommandOutput | UpdateChimeWebhookConfigurationCommandOutput | UpdateMicrosoftTeamsChannelConfigurationCommandOutput | UpdateSlackChannelConfigurationCommandOutput;
|
|
44
47
|
/**
|
|
45
48
|
* @public
|
|
46
49
|
*/
|
|
@@ -42,6 +42,12 @@ declare const CreateChimeWebhookConfigurationCommand_base: {
|
|
|
42
42
|
* IamRoleArn: "STRING_VALUE", // required
|
|
43
43
|
* ConfigurationName: "STRING_VALUE", // required
|
|
44
44
|
* LoggingLevel: "STRING_VALUE",
|
|
45
|
+
* Tags: [ // Tags
|
|
46
|
+
* { // Tag
|
|
47
|
+
* TagKey: "STRING_VALUE", // required
|
|
48
|
+
* TagValue: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
45
51
|
* };
|
|
46
52
|
* const command = new CreateChimeWebhookConfigurationCommand(input);
|
|
47
53
|
* const response = await client.send(command);
|
|
@@ -55,6 +61,12 @@ declare const CreateChimeWebhookConfigurationCommand_base: {
|
|
|
55
61
|
* // ],
|
|
56
62
|
* // ConfigurationName: "STRING_VALUE",
|
|
57
63
|
* // LoggingLevel: "STRING_VALUE",
|
|
64
|
+
* // Tags: [ // Tags
|
|
65
|
+
* // { // Tag
|
|
66
|
+
* // TagKey: "STRING_VALUE", // required
|
|
67
|
+
* // TagValue: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
58
70
|
* // },
|
|
59
71
|
* // };
|
|
60
72
|
*
|
|
@@ -49,6 +49,12 @@ declare const CreateMicrosoftTeamsChannelConfigurationCommand_base: {
|
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
51
|
* UserAuthorizationRequired: true || false,
|
|
52
|
+
* Tags: [ // Tags
|
|
53
|
+
* { // Tag
|
|
54
|
+
* TagKey: "STRING_VALUE", // required
|
|
55
|
+
* TagValue: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
52
58
|
* };
|
|
53
59
|
* const command = new CreateMicrosoftTeamsChannelConfigurationCommand(input);
|
|
54
60
|
* const response = await client.send(command);
|
|
@@ -70,6 +76,12 @@ declare const CreateMicrosoftTeamsChannelConfigurationCommand_base: {
|
|
|
70
76
|
* // "STRING_VALUE",
|
|
71
77
|
* // ],
|
|
72
78
|
* // UserAuthorizationRequired: true || false,
|
|
79
|
+
* // Tags: [ // Tags
|
|
80
|
+
* // { // Tag
|
|
81
|
+
* // TagKey: "STRING_VALUE", // required
|
|
82
|
+
* // TagValue: "STRING_VALUE", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
73
85
|
* // },
|
|
74
86
|
* // };
|
|
75
87
|
*
|
|
@@ -47,6 +47,12 @@ declare const CreateSlackChannelConfigurationCommand_base: {
|
|
|
47
47
|
* "STRING_VALUE",
|
|
48
48
|
* ],
|
|
49
49
|
* UserAuthorizationRequired: true || false,
|
|
50
|
+
* Tags: [ // Tags
|
|
51
|
+
* { // Tag
|
|
52
|
+
* TagKey: "STRING_VALUE", // required
|
|
53
|
+
* TagValue: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
50
56
|
* };
|
|
51
57
|
* const command = new CreateSlackChannelConfigurationCommand(input);
|
|
52
58
|
* const response = await client.send(command);
|
|
@@ -67,6 +73,12 @@ declare const CreateSlackChannelConfigurationCommand_base: {
|
|
|
67
73
|
* // "STRING_VALUE",
|
|
68
74
|
* // ],
|
|
69
75
|
* // UserAuthorizationRequired: true || false,
|
|
76
|
+
* // Tags: [ // Tags
|
|
77
|
+
* // { // Tag
|
|
78
|
+
* // TagKey: "STRING_VALUE", // required
|
|
79
|
+
* // TagValue: "STRING_VALUE", // required
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
70
82
|
* // },
|
|
71
83
|
* // };
|
|
72
84
|
*
|
|
@@ -52,6 +52,12 @@ declare const DescribeChimeWebhookConfigurationsCommand_base: {
|
|
|
52
52
|
* // ],
|
|
53
53
|
* // ConfigurationName: "STRING_VALUE",
|
|
54
54
|
* // LoggingLevel: "STRING_VALUE",
|
|
55
|
+
* // Tags: [ // Tags
|
|
56
|
+
* // { // Tag
|
|
57
|
+
* // TagKey: "STRING_VALUE", // required
|
|
58
|
+
* // TagValue: "STRING_VALUE", // required
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
55
61
|
* // },
|
|
56
62
|
* // ],
|
|
57
63
|
* // };
|
|
@@ -59,6 +59,12 @@ declare const DescribeSlackChannelConfigurationsCommand_base: {
|
|
|
59
59
|
* // "STRING_VALUE",
|
|
60
60
|
* // ],
|
|
61
61
|
* // UserAuthorizationRequired: true || false,
|
|
62
|
+
* // Tags: [ // Tags
|
|
63
|
+
* // { // Tag
|
|
64
|
+
* // TagKey: "STRING_VALUE", // required
|
|
65
|
+
* // TagValue: "STRING_VALUE", // required
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
62
68
|
* // },
|
|
63
69
|
* // ],
|
|
64
70
|
* // };
|
|
@@ -56,6 +56,12 @@ declare const GetMicrosoftTeamsChannelConfigurationCommand_base: {
|
|
|
56
56
|
* // "STRING_VALUE",
|
|
57
57
|
* // ],
|
|
58
58
|
* // UserAuthorizationRequired: true || false,
|
|
59
|
+
* // Tags: [ // Tags
|
|
60
|
+
* // { // Tag
|
|
61
|
+
* // TagKey: "STRING_VALUE", // required
|
|
62
|
+
* // TagValue: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
59
65
|
* // },
|
|
60
66
|
* // };
|
|
61
67
|
*
|
|
@@ -60,6 +60,12 @@ declare const ListMicrosoftTeamsChannelConfigurationsCommand_base: {
|
|
|
60
60
|
* // "STRING_VALUE",
|
|
61
61
|
* // ],
|
|
62
62
|
* // UserAuthorizationRequired: true || false,
|
|
63
|
+
* // Tags: [ // Tags
|
|
64
|
+
* // { // Tag
|
|
65
|
+
* // TagKey: "STRING_VALUE", // required
|
|
66
|
+
* // TagValue: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
63
69
|
* // },
|
|
64
70
|
* // ],
|
|
65
71
|
* // };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChatbotClient";
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListTagsForResourceCommand_base: {
|
|
24
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Retrieves the list of tags applied to a configuration.
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, ListTagsForResourceCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, ListTagsForResourceCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // ListTagsForResourceRequest
|
|
37
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // ListTagsForResourceResponse
|
|
42
|
+
* // Tags: [ // TagList
|
|
43
|
+
* // { // Tag
|
|
44
|
+
* // TagKey: "STRING_VALUE", // required
|
|
45
|
+
* // TagValue: "STRING_VALUE", // required
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
53
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
54
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
59
|
+
* Customer/consumer-facing internal service exception.
|
|
60
|
+
* https://w.amazon.com/index.php/AWS/API_Standards/Exceptions#InternalServiceError
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* We were not able to find the resource for your request.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ServiceUnavailableException} (client fault)
|
|
66
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ChatbotServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
74
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChatbotClient";
|
|
4
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link TagResourceCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link TagResourceCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const TagResourceCommand_base: {
|
|
24
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Applies the supplied tags to a configuration.
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, TagResourceCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, TagResourceCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // TagResourceRequest
|
|
37
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
38
|
+
* Tags: [ // TagList // required
|
|
39
|
+
* { // Tag
|
|
40
|
+
* TagKey: "STRING_VALUE", // required
|
|
41
|
+
* TagValue: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new TagResourceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
52
|
+
* @returns {@link TagResourceCommandOutput}
|
|
53
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
58
|
+
* Customer/consumer-facing internal service exception.
|
|
59
|
+
* https://w.amazon.com/index.php/AWS/API_Standards/Exceptions#InternalServiceError
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* We were not able to find the resource for your request.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ServiceUnavailableException} (client fault)
|
|
65
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link TooManyTagsException} (client fault)
|
|
68
|
+
* The supplied list of tags contains too many tags.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ChatbotServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
76
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChatbotClient";
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UntagResourceCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UntagResourceCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UntagResourceCommand_base: {
|
|
24
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ChatbotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Removes the supplied tags from a configuration
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ChatbotClient, UntagResourceCommand } from "@aws-sdk/client-chatbot"; // ES Modules import
|
|
34
|
+
* // const { ChatbotClient, UntagResourceCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import
|
|
35
|
+
* const client = new ChatbotClient(config);
|
|
36
|
+
* const input = { // UntagResourceRequest
|
|
37
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
38
|
+
* TagKeys: [ // TagKeyList // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UntagResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
49
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
50
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
55
|
+
* Customer/consumer-facing internal service exception.
|
|
56
|
+
* https://w.amazon.com/index.php/AWS/API_Standards/Exceptions#InternalServiceError
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* We were not able to find the resource for your request.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ServiceUnavailableException} (client fault)
|
|
62
|
+
* We can’t process your request right now because of a server issue. Try again later.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ChatbotServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Chatbot service.</p>
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
70
|
+
}
|
|
@@ -55,6 +55,12 @@ declare const UpdateChimeWebhookConfigurationCommand_base: {
|
|
|
55
55
|
* // ],
|
|
56
56
|
* // ConfigurationName: "STRING_VALUE",
|
|
57
57
|
* // LoggingLevel: "STRING_VALUE",
|
|
58
|
+
* // Tags: [ // Tags
|
|
59
|
+
* // { // Tag
|
|
60
|
+
* // TagKey: "STRING_VALUE", // required
|
|
61
|
+
* // TagValue: "STRING_VALUE", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
58
64
|
* // },
|
|
59
65
|
* // };
|
|
60
66
|
*
|
|
@@ -67,6 +67,12 @@ declare const UpdateMicrosoftTeamsChannelConfigurationCommand_base: {
|
|
|
67
67
|
* // "STRING_VALUE",
|
|
68
68
|
* // ],
|
|
69
69
|
* // UserAuthorizationRequired: true || false,
|
|
70
|
+
* // Tags: [ // Tags
|
|
71
|
+
* // { // Tag
|
|
72
|
+
* // TagKey: "STRING_VALUE", // required
|
|
73
|
+
* // TagValue: "STRING_VALUE", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
70
76
|
* // },
|
|
71
77
|
* // };
|
|
72
78
|
*
|
|
@@ -66,6 +66,12 @@ declare const UpdateSlackChannelConfigurationCommand_base: {
|
|
|
66
66
|
* // "STRING_VALUE",
|
|
67
67
|
* // ],
|
|
68
68
|
* // UserAuthorizationRequired: true || false,
|
|
69
|
+
* // Tags: [ // Tags
|
|
70
|
+
* // { // Tag
|
|
71
|
+
* // TagKey: "STRING_VALUE", // required
|
|
72
|
+
* // TagValue: "STRING_VALUE", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
69
75
|
* // },
|
|
70
76
|
* // };
|
|
71
77
|
*
|