@aws-sdk/client-lex-model-building-service 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/LexModelBuildingServiceServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +111 -3
- package/dist-cjs/protocols/Aws_restJson1.js +465 -1641
- package/dist-es/index.js +1 -0
- package/dist-es/models/LexModelBuildingServiceServiceException.js +12 -0
- package/dist-es/models/models_0.js +101 -1
- package/dist-es/protocols/Aws_restJson1.js +975 -1818
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/LexModelBuildingServiceServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -32
- package/dist-types/ts3.4/LexModelBuildingService.d.ts +215 -0
- package/dist-types/ts3.4/LexModelBuildingServiceClient.d.ts +115 -0
- package/dist-types/ts3.4/commands/CreateBotVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateIntentVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSlotTypeVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBotAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBotChannelAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBotVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIntentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIntentVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSlotTypeVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUtterancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotAliasesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotChannelAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotChannelAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBotsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBuiltinIntentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBuiltinIntentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBuiltinSlotTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetImportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntentVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMigrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMigrationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSlotTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSlotTypeVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSlotTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUtterancesViewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBotAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutIntentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutSlotTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +42 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/LexModelBuildingServiceServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1862 -0
- package/dist-types/ts3.4/pagination/GetBotAliasesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetBotChannelAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetBotVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetBotsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetBuiltinIntentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetBuiltinSlotTypesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetIntentVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetIntentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetMigrationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetSlotTypeVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetSlotTypesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/index.d.ts +12 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +128 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-lex-model-building-service
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-lex-model-building-service
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-lex-model-building-service
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexModelBuildingServiceServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./LexModelBuildingService"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./LexModelBuildingServiceClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var LexModelBuildingServiceServiceException_1 = require("./models/LexModelBuildingServiceServiceException");
|
|
11
|
+
Object.defineProperty(exports, "LexModelBuildingServiceServiceException", { enumerable: true, get: function () { return LexModelBuildingServiceServiceException_1.LexModelBuildingServiceServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexModelBuildingServiceServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class LexModelBuildingServiceServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, LexModelBuildingServiceServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.LexModelBuildingServiceServiceException = LexModelBuildingServiceServiceException;
|
|
@@ -1,9 +1,49 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartMigrationResponse = exports.StartMigrationRequest = exports.StartImportResponse = exports.StartImportRequest = exports.PutSlotTypeResponse = exports.PutSlotTypeRequest = exports.PutIntentResponse = exports.PutIntentRequest = exports.PutBotAliasResponse = exports.PutBotAliasRequest = exports.ConversationLogsRequest = exports.LogSettingsRequest = exports.PutBotResponse = exports.PutBotRequest = exports.ProcessBehavior = exports.ListTagsForResourceResponse = exports.Tag = exports.ListTagsForResourceRequest = exports.GetUtterancesViewResponse = exports.UtteranceList = exports.UtteranceData = exports.GetUtterancesViewRequest = exports.StatusType = exports.GetSlotTypeVersionsResponse = exports.GetSlotTypeVersionsRequest = exports.GetSlotTypesResponse = exports.SlotTypeMetadata = exports.GetSlotTypesRequest = exports.GetSlotTypeResponse = void 0;
|
|
3
|
+
exports.GetBotResponse = exports.GetBotRequest = exports.DeleteUtterancesRequest = exports.DeleteSlotTypeVersionRequest = exports.DeleteSlotTypeRequest = exports.DeleteIntentVersionRequest = exports.DeleteIntentRequest = exports.DeleteBotVersionRequest = exports.DeleteBotChannelAssociationRequest = exports.DeleteBotAliasRequest = exports.ResourceInUseException = exports.ReferenceType = exports.ResourceReference = exports.DeleteBotRequest = exports.CreateSlotTypeVersionResponse = exports.SlotValueSelectionStrategy = exports.SlotTypeConfiguration = exports.SlotTypeRegexConfiguration = exports.EnumerationValue = exports.CreateSlotTypeVersionRequest = exports.CreateIntentVersionResponse = exports.Slot = exports.SlotConstraint = exports.ObfuscationSetting = exports.SlotDefaultValueSpec = exports.SlotDefaultValue = exports.OutputContext = exports.KendraConfiguration = exports.InputContext = exports.FulfillmentActivity = exports.FulfillmentActivityType = exports.FollowUpPrompt = exports.CodeHook = exports.CreateIntentVersionRequest = exports.PreconditionFailedException = exports.NotFoundException = exports.LimitExceededException = exports.InternalFailureException = exports.CreateBotVersionResponse = exports.Status = exports.Locale = exports.Intent = exports.Prompt = exports.Statement = exports.Message = exports.ContentType = exports.CreateBotVersionRequest = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.MigrationStatus = exports.MigrationAlert = exports.MigrationAlertType = exports.GetMigrationRequest = exports.GetIntentVersionsResponse = exports.GetIntentVersionsRequest = exports.GetIntentsResponse = exports.IntentMetadata = exports.GetIntentsRequest = exports.GetIntentResponse = exports.GetIntentRequest = exports.GetImportResponse = exports.MergeStrategy = exports.ImportStatus = exports.GetImportRequest = exports.GetExportResponse = exports.ExportStatus = exports.GetExportRequest = exports.ResourceType = exports.ExportType = exports.GetBuiltinSlotTypesResponse = exports.BuiltinSlotTypeMetadata = exports.GetBuiltinSlotTypesRequest = exports.GetBuiltinIntentsResponse = exports.BuiltinIntentMetadata = exports.GetBuiltinIntentsRequest = exports.GetBuiltinIntentResponse = exports.BuiltinIntentSlot = exports.GetBuiltinIntentRequest = exports.GetBotVersionsResponse = exports.GetBotVersionsRequest = exports.GetBotsResponse = exports.BotMetadata = exports.GetBotsRequest = exports.GetBotChannelAssociationsResponse = exports.BotChannelAssociation = exports.GetBotChannelAssociationsRequest = exports.GetBotChannelAssociationResponse = exports.ChannelType = exports.ChannelStatus = exports.GetBotChannelAssociationRequest = exports.GetBotAliasesResponse = exports.BotAliasMetadata = exports.GetBotAliasesRequest = exports.GetBotAliasResponse = exports.ConversationLogsResponse = exports.LogSettingsResponse = exports.LogType = exports.Destination = exports.GetBotAliasRequest = void 0;
|
|
5
|
+
exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartMigrationResponse = exports.StartMigrationRequest = exports.StartImportResponse = exports.StartImportRequest = exports.PutSlotTypeResponse = exports.PutSlotTypeRequest = exports.PutIntentResponse = exports.PutIntentRequest = exports.PutBotAliasResponse = exports.PutBotAliasRequest = exports.ConversationLogsRequest = exports.LogSettingsRequest = exports.PutBotResponse = exports.PutBotRequest = exports.ProcessBehavior = exports.ListTagsForResourceResponse = exports.Tag = exports.ListTagsForResourceRequest = exports.GetUtterancesViewResponse = exports.UtteranceList = exports.UtteranceData = exports.GetUtterancesViewRequest = exports.StatusType = exports.GetSlotTypeVersionsResponse = exports.GetSlotTypeVersionsRequest = exports.GetSlotTypesResponse = exports.SlotTypeMetadata = exports.GetSlotTypesRequest = exports.GetSlotTypeResponse = exports.GetSlotTypeRequest = exports.GetMigrationsResponse = exports.MigrationSummary = exports.GetMigrationsRequest = exports.SortOrder = exports.MigrationSortAttribute = exports.GetMigrationResponse = exports.MigrationStrategy = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const LexModelBuildingServiceServiceException_1 = require("./LexModelBuildingServiceServiceException");
|
|
8
|
+
class AccessDeniedException extends LexModelBuildingServiceServiceException_1.LexModelBuildingServiceServiceException {
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
this.name = "AccessDeniedException";
|
|
16
|
+
this.$fault = "client";
|
|
17
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
21
|
+
class BadRequestException extends LexModelBuildingServiceServiceException_1.LexModelBuildingServiceServiceException {
|
|
22
|
+
constructor(opts) {
|
|
23
|
+
super({
|
|
24
|
+
name: "BadRequestException",
|
|
25
|
+
$fault: "client",
|
|
26
|
+
...opts,
|
|
27
|
+
});
|
|
28
|
+
this.name = "BadRequestException";
|
|
29
|
+
this.$fault = "client";
|
|
30
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.BadRequestException = BadRequestException;
|
|
34
|
+
class ConflictException extends LexModelBuildingServiceServiceException_1.LexModelBuildingServiceServiceException {
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "ConflictException",
|
|
38
|
+
$fault: "client",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
this.name = "ConflictException";
|
|
42
|
+
this.$fault = "client";
|
|
43
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ConflictException = ConflictException;
|
|
7
47
|
var CreateBotVersionRequest;
|
|
8
48
|
(function (CreateBotVersionRequest) {
|
|
9
49
|
CreateBotVersionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -70,6 +110,59 @@ var CreateBotVersionResponse;
|
|
|
70
110
|
...obj,
|
|
71
111
|
});
|
|
72
112
|
})(CreateBotVersionResponse = exports.CreateBotVersionResponse || (exports.CreateBotVersionResponse = {}));
|
|
113
|
+
class InternalFailureException extends LexModelBuildingServiceServiceException_1.LexModelBuildingServiceServiceException {
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "InternalFailureException",
|
|
117
|
+
$fault: "server",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
this.name = "InternalFailureException";
|
|
121
|
+
this.$fault = "server";
|
|
122
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.InternalFailureException = InternalFailureException;
|
|
126
|
+
class LimitExceededException extends LexModelBuildingServiceServiceException_1.LexModelBuildingServiceServiceException {
|
|
127
|
+
constructor(opts) {
|
|
128
|
+
super({
|
|
129
|
+
name: "LimitExceededException",
|
|
130
|
+
$fault: "client",
|
|
131
|
+
...opts,
|
|
132
|
+
});
|
|
133
|
+
this.name = "LimitExceededException";
|
|
134
|
+
this.$fault = "client";
|
|
135
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
136
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
exports.LimitExceededException = LimitExceededException;
|
|
140
|
+
class NotFoundException extends LexModelBuildingServiceServiceException_1.LexModelBuildingServiceServiceException {
|
|
141
|
+
constructor(opts) {
|
|
142
|
+
super({
|
|
143
|
+
name: "NotFoundException",
|
|
144
|
+
$fault: "client",
|
|
145
|
+
...opts,
|
|
146
|
+
});
|
|
147
|
+
this.name = "NotFoundException";
|
|
148
|
+
this.$fault = "client";
|
|
149
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
exports.NotFoundException = NotFoundException;
|
|
153
|
+
class PreconditionFailedException extends LexModelBuildingServiceServiceException_1.LexModelBuildingServiceServiceException {
|
|
154
|
+
constructor(opts) {
|
|
155
|
+
super({
|
|
156
|
+
name: "PreconditionFailedException",
|
|
157
|
+
$fault: "client",
|
|
158
|
+
...opts,
|
|
159
|
+
});
|
|
160
|
+
this.name = "PreconditionFailedException";
|
|
161
|
+
this.$fault = "client";
|
|
162
|
+
Object.setPrototypeOf(this, PreconditionFailedException.prototype);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
exports.PreconditionFailedException = PreconditionFailedException;
|
|
73
166
|
var CreateIntentVersionRequest;
|
|
74
167
|
(function (CreateIntentVersionRequest) {
|
|
75
168
|
CreateIntentVersionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -205,6 +298,21 @@ var ReferenceType;
|
|
|
205
298
|
ReferenceType["BOTCHANNEL"] = "BotChannel";
|
|
206
299
|
ReferenceType["INTENT"] = "Intent";
|
|
207
300
|
})(ReferenceType = exports.ReferenceType || (exports.ReferenceType = {}));
|
|
301
|
+
class ResourceInUseException extends LexModelBuildingServiceServiceException_1.LexModelBuildingServiceServiceException {
|
|
302
|
+
constructor(opts) {
|
|
303
|
+
super({
|
|
304
|
+
name: "ResourceInUseException",
|
|
305
|
+
$fault: "client",
|
|
306
|
+
...opts,
|
|
307
|
+
});
|
|
308
|
+
this.name = "ResourceInUseException";
|
|
309
|
+
this.$fault = "client";
|
|
310
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
311
|
+
this.referenceType = opts.referenceType;
|
|
312
|
+
this.exampleReference = opts.exampleReference;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
208
316
|
var DeleteBotAliasRequest;
|
|
209
317
|
(function (DeleteBotAliasRequest) {
|
|
210
318
|
DeleteBotAliasRequest.filterSensitiveLog = (obj) => ({
|