@aws-sdk/client-chatbot 3.577.0 → 3.583.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 +13 -13
package/README.md
CHANGED
|
@@ -23,16 +23,16 @@ using your favorite package manager:
|
|
|
23
23
|
|
|
24
24
|
The AWS SDK is modulized by clients and commands.
|
|
25
25
|
To send a request, you only need to import the `ChatbotClient` and
|
|
26
|
-
the commands you need, for example `
|
|
26
|
+
the commands you need, for example `ListTagsForResourceCommand`:
|
|
27
27
|
|
|
28
28
|
```js
|
|
29
29
|
// ES5 example
|
|
30
|
-
const { ChatbotClient,
|
|
30
|
+
const { ChatbotClient, ListTagsForResourceCommand } = require("@aws-sdk/client-chatbot");
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
```ts
|
|
34
34
|
// ES6+ example
|
|
35
|
-
import { ChatbotClient,
|
|
35
|
+
import { ChatbotClient, ListTagsForResourceCommand } from "@aws-sdk/client-chatbot";
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
### Usage
|
|
@@ -51,7 +51,7 @@ const client = new ChatbotClient({ region: "REGION" });
|
|
|
51
51
|
const params = {
|
|
52
52
|
/** input parameters */
|
|
53
53
|
};
|
|
54
|
-
const command = new
|
|
54
|
+
const command = new ListTagsForResourceCommand(params);
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
#### Async/await
|
|
@@ -130,7 +130,7 @@ const client = new AWS.Chatbot({ region: "REGION" });
|
|
|
130
130
|
|
|
131
131
|
// async/await.
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.listTagsForResource(params);
|
|
134
134
|
// process data.
|
|
135
135
|
} catch (error) {
|
|
136
136
|
// error handling.
|
|
@@ -138,7 +138,7 @@ try {
|
|
|
138
138
|
|
|
139
139
|
// Promises.
|
|
140
140
|
client
|
|
141
|
-
.
|
|
141
|
+
.listTagsForResource(params)
|
|
142
142
|
.then((data) => {
|
|
143
143
|
// process data.
|
|
144
144
|
})
|
|
@@ -147,7 +147,7 @@ client
|
|
|
147
147
|
});
|
|
148
148
|
|
|
149
149
|
// callbacks.
|
|
150
|
-
client.
|
|
150
|
+
client.listTagsForResource(params, (err, data) => {
|
|
151
151
|
// process err and data.
|
|
152
152
|
});
|
|
153
153
|
```
|
|
@@ -354,6 +354,30 @@ ListMicrosoftTeamsUserIdentities
|
|
|
354
354
|
|
|
355
355
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/ListMicrosoftTeamsUserIdentitiesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/ListMicrosoftTeamsUserIdentitiesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/ListMicrosoftTeamsUserIdentitiesCommandOutput/)
|
|
356
356
|
|
|
357
|
+
</details>
|
|
358
|
+
<details>
|
|
359
|
+
<summary>
|
|
360
|
+
ListTagsForResource
|
|
361
|
+
</summary>
|
|
362
|
+
|
|
363
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/ListTagsForResourceCommandOutput/)
|
|
364
|
+
|
|
365
|
+
</details>
|
|
366
|
+
<details>
|
|
367
|
+
<summary>
|
|
368
|
+
TagResource
|
|
369
|
+
</summary>
|
|
370
|
+
|
|
371
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/TagResourceCommandOutput/)
|
|
372
|
+
|
|
373
|
+
</details>
|
|
374
|
+
<details>
|
|
375
|
+
<summary>
|
|
376
|
+
UntagResource
|
|
377
|
+
</summary>
|
|
378
|
+
|
|
379
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/chatbot/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-chatbot/Interface/UntagResourceCommandOutput/)
|
|
380
|
+
|
|
357
381
|
</details>
|
|
358
382
|
<details>
|
|
359
383
|
<summary>
|
package/dist-cjs/Chatbot.js
CHANGED
|
@@ -22,6 +22,9 @@ const GetMicrosoftTeamsChannelConfigurationCommand_1 = require("./commands/GetMi
|
|
|
22
22
|
const ListMicrosoftTeamsChannelConfigurationsCommand_1 = require("./commands/ListMicrosoftTeamsChannelConfigurationsCommand");
|
|
23
23
|
const ListMicrosoftTeamsConfiguredTeamsCommand_1 = require("./commands/ListMicrosoftTeamsConfiguredTeamsCommand");
|
|
24
24
|
const ListMicrosoftTeamsUserIdentitiesCommand_1 = require("./commands/ListMicrosoftTeamsUserIdentitiesCommand");
|
|
25
|
+
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
26
|
+
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
27
|
+
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
25
28
|
const UpdateAccountPreferencesCommand_1 = require("./commands/UpdateAccountPreferencesCommand");
|
|
26
29
|
const UpdateChimeWebhookConfigurationCommand_1 = require("./commands/UpdateChimeWebhookConfigurationCommand");
|
|
27
30
|
const UpdateMicrosoftTeamsChannelConfigurationCommand_1 = require("./commands/UpdateMicrosoftTeamsChannelConfigurationCommand");
|
|
@@ -46,6 +49,9 @@ const commands = {
|
|
|
46
49
|
ListMicrosoftTeamsChannelConfigurationsCommand: ListMicrosoftTeamsChannelConfigurationsCommand_1.ListMicrosoftTeamsChannelConfigurationsCommand,
|
|
47
50
|
ListMicrosoftTeamsConfiguredTeamsCommand: ListMicrosoftTeamsConfiguredTeamsCommand_1.ListMicrosoftTeamsConfiguredTeamsCommand,
|
|
48
51
|
ListMicrosoftTeamsUserIdentitiesCommand: ListMicrosoftTeamsUserIdentitiesCommand_1.ListMicrosoftTeamsUserIdentitiesCommand,
|
|
52
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
53
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
54
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
49
55
|
UpdateAccountPreferencesCommand: UpdateAccountPreferencesCommand_1.UpdateAccountPreferencesCommand,
|
|
50
56
|
UpdateChimeWebhookConfigurationCommand: UpdateChimeWebhookConfigurationCommand_1.UpdateChimeWebhookConfigurationCommand,
|
|
51
57
|
UpdateMicrosoftTeamsChannelConfigurationCommand: UpdateMicrosoftTeamsChannelConfigurationCommand_1.UpdateMicrosoftTeamsChannelConfigurationCommand,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListTagsForResourceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListTagsForResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("WheatleyOrchestration_20171011", "ListTagsForResource", {})
|
|
22
|
+
.n("ChatbotClient", "ListTagsForResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ListTagsForResourceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ListTagsForResourceCommand)
|
|
26
|
+
.build() {
|
|
27
|
+
}
|
|
28
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TagResourceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("WheatleyOrchestration_20171011", "TagResource", {})
|
|
22
|
+
.n("ChatbotClient", "TagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_TagResourceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_TagResourceCommand)
|
|
26
|
+
.build() {
|
|
27
|
+
}
|
|
28
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UntagResourceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("WheatleyOrchestration_20171011", "UntagResource", {})
|
|
22
|
+
.n("ChatbotClient", "UntagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UntagResourceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UntagResourceCommand)
|
|
26
|
+
.build() {
|
|
27
|
+
}
|
|
28
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -20,6 +20,9 @@ tslib_1.__exportStar(require("./GetMicrosoftTeamsChannelConfigurationCommand"),
|
|
|
20
20
|
tslib_1.__exportStar(require("./ListMicrosoftTeamsChannelConfigurationsCommand"), exports);
|
|
21
21
|
tslib_1.__exportStar(require("./ListMicrosoftTeamsConfiguredTeamsCommand"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./ListMicrosoftTeamsUserIdentitiesCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
23
26
|
tslib_1.__exportStar(require("./UpdateAccountPreferencesCommand"), exports);
|
|
24
27
|
tslib_1.__exportStar(require("./UpdateChimeWebhookConfigurationCommand"), exports);
|
|
25
28
|
tslib_1.__exportStar(require("./UpdateMicrosoftTeamsChannelConfigurationCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateSlackChannelConfigurationException = exports.UpdateTeamsChannelConfigurationException = exports.UpdateChimeWebhookConfigurationException = exports.UpdateAccountPreferencesException = exports.ListMicrosoftTeamsUserIdentitiesException = exports.ListMicrosoftTeamsConfiguredTeamsException = exports.ListTeamsChannelConfigurationsException = exports.GetTeamsChannelConfigurationException = exports.GetAccountPreferencesException = exports.DescribeSlackWorkspacesException = exports.DescribeSlackUserIdentitiesException = exports.DescribeSlackChannelConfigurationsException = exports.DescribeChimeWebhookConfigurationsException = exports.DeleteSlackWorkspaceAuthorizationFault = exports.DeleteSlackUserIdentityException = exports.DeleteSlackChannelConfigurationException = exports.DeleteMicrosoftTeamsUserIdentityException = exports.DeleteTeamsConfiguredTeamException = exports.DeleteTeamsChannelConfigurationException = exports.ResourceNotFoundException = exports.DeleteChimeWebhookConfigurationException = exports.CreateSlackChannelConfigurationException = exports.CreateTeamsChannelConfigurationException = exports.LimitExceededException = exports.InvalidRequestException = exports.InvalidParameterException = exports.CreateChimeWebhookConfigurationException = exports.ConflictException = void 0;
|
|
3
|
+
exports.UpdateSlackChannelConfigurationException = exports.UpdateTeamsChannelConfigurationException = exports.UpdateChimeWebhookConfigurationException = exports.UpdateAccountPreferencesException = exports.TooManyTagsException = exports.ServiceUnavailableException = exports.ListMicrosoftTeamsUserIdentitiesException = exports.ListMicrosoftTeamsConfiguredTeamsException = exports.ListTeamsChannelConfigurationsException = exports.InternalServiceError = exports.GetTeamsChannelConfigurationException = exports.GetAccountPreferencesException = exports.DescribeSlackWorkspacesException = exports.DescribeSlackUserIdentitiesException = exports.DescribeSlackChannelConfigurationsException = exports.DescribeChimeWebhookConfigurationsException = exports.DeleteSlackWorkspaceAuthorizationFault = exports.DeleteSlackUserIdentityException = exports.DeleteSlackChannelConfigurationException = exports.DeleteMicrosoftTeamsUserIdentityException = exports.DeleteTeamsConfiguredTeamException = exports.DeleteTeamsChannelConfigurationException = exports.ResourceNotFoundException = exports.DeleteChimeWebhookConfigurationException = exports.CreateSlackChannelConfigurationException = exports.CreateTeamsChannelConfigurationException = exports.LimitExceededException = exports.InvalidRequestException = exports.InvalidParameterException = exports.CreateChimeWebhookConfigurationException = exports.ConflictException = void 0;
|
|
4
4
|
const ChatbotServiceException_1 = require("./ChatbotServiceException");
|
|
5
5
|
class ConflictException extends ChatbotServiceException_1.ChatbotServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -292,6 +292,20 @@ class GetTeamsChannelConfigurationException extends ChatbotServiceException_1.Ch
|
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
exports.GetTeamsChannelConfigurationException = GetTeamsChannelConfigurationException;
|
|
295
|
+
class InternalServiceError extends ChatbotServiceException_1.ChatbotServiceException {
|
|
296
|
+
constructor(opts) {
|
|
297
|
+
super({
|
|
298
|
+
name: "InternalServiceError",
|
|
299
|
+
$fault: "server",
|
|
300
|
+
...opts,
|
|
301
|
+
});
|
|
302
|
+
this.name = "InternalServiceError";
|
|
303
|
+
this.$fault = "server";
|
|
304
|
+
Object.setPrototypeOf(this, InternalServiceError.prototype);
|
|
305
|
+
this.Message = opts.Message;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
exports.InternalServiceError = InternalServiceError;
|
|
295
309
|
class ListTeamsChannelConfigurationsException extends ChatbotServiceException_1.ChatbotServiceException {
|
|
296
310
|
constructor(opts) {
|
|
297
311
|
super({
|
|
@@ -334,6 +348,32 @@ class ListMicrosoftTeamsUserIdentitiesException extends ChatbotServiceException_
|
|
|
334
348
|
}
|
|
335
349
|
}
|
|
336
350
|
exports.ListMicrosoftTeamsUserIdentitiesException = ListMicrosoftTeamsUserIdentitiesException;
|
|
351
|
+
class ServiceUnavailableException extends ChatbotServiceException_1.ChatbotServiceException {
|
|
352
|
+
constructor(opts) {
|
|
353
|
+
super({
|
|
354
|
+
name: "ServiceUnavailableException",
|
|
355
|
+
$fault: "client",
|
|
356
|
+
...opts,
|
|
357
|
+
});
|
|
358
|
+
this.name = "ServiceUnavailableException";
|
|
359
|
+
this.$fault = "client";
|
|
360
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
364
|
+
class TooManyTagsException extends ChatbotServiceException_1.ChatbotServiceException {
|
|
365
|
+
constructor(opts) {
|
|
366
|
+
super({
|
|
367
|
+
name: "TooManyTagsException",
|
|
368
|
+
$fault: "client",
|
|
369
|
+
...opts,
|
|
370
|
+
});
|
|
371
|
+
this.name = "TooManyTagsException";
|
|
372
|
+
this.$fault = "client";
|
|
373
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
337
377
|
class UpdateAccountPreferencesException extends ChatbotServiceException_1.ChatbotServiceException {
|
|
338
378
|
constructor(opts) {
|
|
339
379
|
super({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_UpdateChimeWebhookConfigurationCommand = exports.de_UpdateAccountPreferencesCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListMicrosoftTeamsUserIdentitiesCommand = exports.de_ListMicrosoftTeamsConfiguredTeamsCommand = exports.de_ListMicrosoftTeamsChannelConfigurationsCommand = exports.de_GetMicrosoftTeamsChannelConfigurationCommand = exports.de_GetAccountPreferencesCommand = exports.de_DescribeSlackWorkspacesCommand = exports.de_DescribeSlackUserIdentitiesCommand = exports.de_DescribeSlackChannelConfigurationsCommand = exports.de_DescribeChimeWebhookConfigurationsCommand = exports.de_DeleteSlackWorkspaceAuthorizationCommand = exports.de_DeleteSlackUserIdentityCommand = exports.de_DeleteSlackChannelConfigurationCommand = exports.de_DeleteMicrosoftTeamsUserIdentityCommand = exports.de_DeleteMicrosoftTeamsConfiguredTeamCommand = exports.de_DeleteMicrosoftTeamsChannelConfigurationCommand = exports.de_DeleteChimeWebhookConfigurationCommand = exports.de_CreateSlackChannelConfigurationCommand = exports.de_CreateMicrosoftTeamsChannelConfigurationCommand = exports.de_CreateChimeWebhookConfigurationCommand = exports.se_UpdateSlackChannelConfigurationCommand = exports.se_UpdateMicrosoftTeamsChannelConfigurationCommand = exports.se_UpdateChimeWebhookConfigurationCommand = exports.se_UpdateAccountPreferencesCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListMicrosoftTeamsUserIdentitiesCommand = exports.se_ListMicrosoftTeamsConfiguredTeamsCommand = exports.se_ListMicrosoftTeamsChannelConfigurationsCommand = exports.se_GetMicrosoftTeamsChannelConfigurationCommand = exports.se_GetAccountPreferencesCommand = exports.se_DescribeSlackWorkspacesCommand = exports.se_DescribeSlackUserIdentitiesCommand = exports.se_DescribeSlackChannelConfigurationsCommand = exports.se_DescribeChimeWebhookConfigurationsCommand = exports.se_DeleteSlackWorkspaceAuthorizationCommand = exports.se_DeleteSlackUserIdentityCommand = exports.se_DeleteSlackChannelConfigurationCommand = exports.se_DeleteMicrosoftTeamsUserIdentityCommand = exports.se_DeleteMicrosoftTeamsConfiguredTeamCommand = exports.se_DeleteMicrosoftTeamsChannelConfigurationCommand = exports.se_DeleteChimeWebhookConfigurationCommand = exports.se_CreateSlackChannelConfigurationCommand = exports.se_CreateMicrosoftTeamsChannelConfigurationCommand = exports.se_CreateChimeWebhookConfigurationCommand = void 0;
|
|
4
|
+
exports.de_UpdateSlackChannelConfigurationCommand = exports.de_UpdateMicrosoftTeamsChannelConfigurationCommand = void 0;
|
|
4
5
|
const core_1 = require("@aws-sdk/core");
|
|
5
6
|
const core_2 = require("@smithy/core");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -18,6 +19,7 @@ const se_CreateChimeWebhookConfigurationCommand = async (input, context) => {
|
|
|
18
19
|
IamRoleArn: [],
|
|
19
20
|
LoggingLevel: [],
|
|
20
21
|
SnsTopicArns: (_) => (0, smithy_client_1._json)(_),
|
|
22
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
21
23
|
WebhookDescription: [],
|
|
22
24
|
WebhookUrl: [],
|
|
23
25
|
}));
|
|
@@ -40,6 +42,7 @@ const se_CreateMicrosoftTeamsChannelConfigurationCommand = async (input, context
|
|
|
40
42
|
IamRoleArn: [],
|
|
41
43
|
LoggingLevel: [],
|
|
42
44
|
SnsTopicArns: (_) => (0, smithy_client_1._json)(_),
|
|
45
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
43
46
|
TeamId: [],
|
|
44
47
|
TeamName: [],
|
|
45
48
|
TenantId: [],
|
|
@@ -65,6 +68,7 @@ const se_CreateSlackChannelConfigurationCommand = async (input, context) => {
|
|
|
65
68
|
SlackChannelName: [],
|
|
66
69
|
SlackTeamId: [],
|
|
67
70
|
SnsTopicArns: (_) => (0, smithy_client_1._json)(_),
|
|
71
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
68
72
|
UserAuthorizationRequired: [],
|
|
69
73
|
}));
|
|
70
74
|
b.m("POST").h(headers).b(body);
|
|
@@ -308,6 +312,50 @@ const se_ListMicrosoftTeamsUserIdentitiesCommand = async (input, context) => {
|
|
|
308
312
|
return b.build();
|
|
309
313
|
};
|
|
310
314
|
exports.se_ListMicrosoftTeamsUserIdentitiesCommand = se_ListMicrosoftTeamsUserIdentitiesCommand;
|
|
315
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
316
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
317
|
+
const headers = {
|
|
318
|
+
"content-type": "application/json",
|
|
319
|
+
};
|
|
320
|
+
b.bp("/list-tags-for-resource");
|
|
321
|
+
let body;
|
|
322
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
323
|
+
ResourceARN: [],
|
|
324
|
+
}));
|
|
325
|
+
b.m("POST").h(headers).b(body);
|
|
326
|
+
return b.build();
|
|
327
|
+
};
|
|
328
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
329
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
330
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
331
|
+
const headers = {
|
|
332
|
+
"content-type": "application/json",
|
|
333
|
+
};
|
|
334
|
+
b.bp("/tag-resource");
|
|
335
|
+
let body;
|
|
336
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
337
|
+
ResourceARN: [],
|
|
338
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
339
|
+
}));
|
|
340
|
+
b.m("POST").h(headers).b(body);
|
|
341
|
+
return b.build();
|
|
342
|
+
};
|
|
343
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
344
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
345
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
346
|
+
const headers = {
|
|
347
|
+
"content-type": "application/json",
|
|
348
|
+
};
|
|
349
|
+
b.bp("/untag-resource");
|
|
350
|
+
let body;
|
|
351
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
352
|
+
ResourceARN: [],
|
|
353
|
+
TagKeys: (_) => (0, smithy_client_1._json)(_),
|
|
354
|
+
}));
|
|
355
|
+
b.m("POST").h(headers).b(body);
|
|
356
|
+
return b.build();
|
|
357
|
+
};
|
|
358
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
311
359
|
const se_UpdateAccountPreferencesCommand = async (input, context) => {
|
|
312
360
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
313
361
|
const headers = {
|
|
@@ -648,6 +696,43 @@ const de_ListMicrosoftTeamsUserIdentitiesCommand = async (output, context) => {
|
|
|
648
696
|
return contents;
|
|
649
697
|
};
|
|
650
698
|
exports.de_ListMicrosoftTeamsUserIdentitiesCommand = de_ListMicrosoftTeamsUserIdentitiesCommand;
|
|
699
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
700
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
701
|
+
return de_CommandError(output, context);
|
|
702
|
+
}
|
|
703
|
+
const contents = (0, smithy_client_1.map)({
|
|
704
|
+
$metadata: deserializeMetadata(output),
|
|
705
|
+
});
|
|
706
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
707
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
708
|
+
Tags: smithy_client_1._json,
|
|
709
|
+
});
|
|
710
|
+
Object.assign(contents, doc);
|
|
711
|
+
return contents;
|
|
712
|
+
};
|
|
713
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
714
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
715
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
716
|
+
return de_CommandError(output, context);
|
|
717
|
+
}
|
|
718
|
+
const contents = (0, smithy_client_1.map)({
|
|
719
|
+
$metadata: deserializeMetadata(output),
|
|
720
|
+
});
|
|
721
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
722
|
+
return contents;
|
|
723
|
+
};
|
|
724
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
725
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
726
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
727
|
+
return de_CommandError(output, context);
|
|
728
|
+
}
|
|
729
|
+
const contents = (0, smithy_client_1.map)({
|
|
730
|
+
$metadata: deserializeMetadata(output),
|
|
731
|
+
});
|
|
732
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
733
|
+
return contents;
|
|
734
|
+
};
|
|
735
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
651
736
|
const de_UpdateAccountPreferencesCommand = async (output, context) => {
|
|
652
737
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
653
738
|
return de_CommandError(output, context);
|
|
@@ -787,6 +872,15 @@ const de_CommandError = async (output, context) => {
|
|
|
787
872
|
case "ListMicrosoftTeamsUserIdentitiesException":
|
|
788
873
|
case "com.amazonaws.chatbot#ListMicrosoftTeamsUserIdentitiesException":
|
|
789
874
|
throw await de_ListMicrosoftTeamsUserIdentitiesExceptionRes(parsedOutput, context);
|
|
875
|
+
case "InternalServiceError":
|
|
876
|
+
case "com.amazonaws.chatbot#InternalServiceError":
|
|
877
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
878
|
+
case "ServiceUnavailableException":
|
|
879
|
+
case "com.amazonaws.chatbot#ServiceUnavailableException":
|
|
880
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
881
|
+
case "TooManyTagsException":
|
|
882
|
+
case "com.amazonaws.chatbot#TooManyTagsException":
|
|
883
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
790
884
|
case "UpdateAccountPreferencesException":
|
|
791
885
|
case "com.amazonaws.chatbot#UpdateAccountPreferencesException":
|
|
792
886
|
throw await de_UpdateAccountPreferencesExceptionRes(parsedOutput, context);
|
|
@@ -1030,6 +1124,19 @@ const de_GetTeamsChannelConfigurationExceptionRes = async (parsedOutput, context
|
|
|
1030
1124
|
});
|
|
1031
1125
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1032
1126
|
};
|
|
1127
|
+
const de_InternalServiceErrorRes = async (parsedOutput, context) => {
|
|
1128
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1129
|
+
const data = parsedOutput.body;
|
|
1130
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1131
|
+
Message: smithy_client_1.expectString,
|
|
1132
|
+
});
|
|
1133
|
+
Object.assign(contents, doc);
|
|
1134
|
+
const exception = new models_0_1.InternalServiceError({
|
|
1135
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1136
|
+
...contents,
|
|
1137
|
+
});
|
|
1138
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1139
|
+
};
|
|
1033
1140
|
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1034
1141
|
const contents = (0, smithy_client_1.map)({});
|
|
1035
1142
|
const data = parsedOutput.body;
|
|
@@ -1121,6 +1228,32 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1121
1228
|
});
|
|
1122
1229
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1123
1230
|
};
|
|
1231
|
+
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1232
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1233
|
+
const data = parsedOutput.body;
|
|
1234
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1235
|
+
message: smithy_client_1.expectString,
|
|
1236
|
+
});
|
|
1237
|
+
Object.assign(contents, doc);
|
|
1238
|
+
const exception = new models_0_1.ServiceUnavailableException({
|
|
1239
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1240
|
+
...contents,
|
|
1241
|
+
});
|
|
1242
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1243
|
+
};
|
|
1244
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1245
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1246
|
+
const data = parsedOutput.body;
|
|
1247
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1248
|
+
message: smithy_client_1.expectString,
|
|
1249
|
+
});
|
|
1250
|
+
Object.assign(contents, doc);
|
|
1251
|
+
const exception = new models_0_1.TooManyTagsException({
|
|
1252
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1253
|
+
...contents,
|
|
1254
|
+
});
|
|
1255
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1256
|
+
};
|
|
1124
1257
|
const de_UpdateAccountPreferencesExceptionRes = async (parsedOutput, context) => {
|
|
1125
1258
|
const contents = (0, smithy_client_1.map)({});
|
|
1126
1259
|
const data = parsedOutput.body;
|
package/dist-es/Chatbot.js
CHANGED
|
@@ -19,6 +19,9 @@ import { GetMicrosoftTeamsChannelConfigurationCommand, } from "./commands/GetMic
|
|
|
19
19
|
import { ListMicrosoftTeamsChannelConfigurationsCommand, } from "./commands/ListMicrosoftTeamsChannelConfigurationsCommand";
|
|
20
20
|
import { ListMicrosoftTeamsConfiguredTeamsCommand, } from "./commands/ListMicrosoftTeamsConfiguredTeamsCommand";
|
|
21
21
|
import { ListMicrosoftTeamsUserIdentitiesCommand, } from "./commands/ListMicrosoftTeamsUserIdentitiesCommand";
|
|
22
|
+
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
23
|
+
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
24
|
+
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
22
25
|
import { UpdateAccountPreferencesCommand, } from "./commands/UpdateAccountPreferencesCommand";
|
|
23
26
|
import { UpdateChimeWebhookConfigurationCommand, } from "./commands/UpdateChimeWebhookConfigurationCommand";
|
|
24
27
|
import { UpdateMicrosoftTeamsChannelConfigurationCommand, } from "./commands/UpdateMicrosoftTeamsChannelConfigurationCommand";
|
|
@@ -43,6 +46,9 @@ const commands = {
|
|
|
43
46
|
ListMicrosoftTeamsChannelConfigurationsCommand,
|
|
44
47
|
ListMicrosoftTeamsConfiguredTeamsCommand,
|
|
45
48
|
ListMicrosoftTeamsUserIdentitiesCommand,
|
|
49
|
+
ListTagsForResourceCommand,
|
|
50
|
+
TagResourceCommand,
|
|
51
|
+
UntagResourceCommand,
|
|
46
52
|
UpdateAccountPreferencesCommand,
|
|
47
53
|
UpdateChimeWebhookConfigurationCommand,
|
|
48
54
|
UpdateMicrosoftTeamsChannelConfigurationCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListTagsForResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "ListTagsForResource", {})
|
|
19
|
+
.n("ChatbotClient", "ListTagsForResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListTagsForResourceCommand)
|
|
22
|
+
.de(de_ListTagsForResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "TagResource", {})
|
|
19
|
+
.n("ChatbotClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WheatleyOrchestration_20171011", "UntagResource", {})
|
|
19
|
+
.n("ChatbotClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -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";
|
|
@@ -268,6 +268,19 @@ export class GetTeamsChannelConfigurationException extends __BaseException {
|
|
|
268
268
|
this.Message = opts.Message;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
+
export class InternalServiceError extends __BaseException {
|
|
272
|
+
constructor(opts) {
|
|
273
|
+
super({
|
|
274
|
+
name: "InternalServiceError",
|
|
275
|
+
$fault: "server",
|
|
276
|
+
...opts,
|
|
277
|
+
});
|
|
278
|
+
this.name = "InternalServiceError";
|
|
279
|
+
this.$fault = "server";
|
|
280
|
+
Object.setPrototypeOf(this, InternalServiceError.prototype);
|
|
281
|
+
this.Message = opts.Message;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
271
284
|
export class ListTeamsChannelConfigurationsException extends __BaseException {
|
|
272
285
|
constructor(opts) {
|
|
273
286
|
super({
|
|
@@ -307,6 +320,30 @@ export class ListMicrosoftTeamsUserIdentitiesException extends __BaseException {
|
|
|
307
320
|
this.Message = opts.Message;
|
|
308
321
|
}
|
|
309
322
|
}
|
|
323
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
324
|
+
constructor(opts) {
|
|
325
|
+
super({
|
|
326
|
+
name: "ServiceUnavailableException",
|
|
327
|
+
$fault: "client",
|
|
328
|
+
...opts,
|
|
329
|
+
});
|
|
330
|
+
this.name = "ServiceUnavailableException";
|
|
331
|
+
this.$fault = "client";
|
|
332
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
export class TooManyTagsException extends __BaseException {
|
|
336
|
+
constructor(opts) {
|
|
337
|
+
super({
|
|
338
|
+
name: "TooManyTagsException",
|
|
339
|
+
$fault: "client",
|
|
340
|
+
...opts,
|
|
341
|
+
});
|
|
342
|
+
this.name = "TooManyTagsException";
|
|
343
|
+
this.$fault = "client";
|
|
344
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
310
347
|
export class UpdateAccountPreferencesException extends __BaseException {
|
|
311
348
|
constructor(opts) {
|
|
312
349
|
super({
|