@aws-sdk/client-lex-models-v2 3.52.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 +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/LexModelsV2ServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +98 -5
- package/dist-cjs/protocols/Aws_restJson1.js +708 -2758
- package/dist-es/index.js +1 -0
- package/dist-es/models/LexModelsV2ServiceException.js +12 -0
- package/dist-es/models/models_0.js +87 -1
- package/dist-es/protocols/Aws_restJson1.js +1559 -3030
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/LexModelsV2ServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -29
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/LexModelsV2ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -29
- package/package.json +26 -26
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from LexModelsV2 service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class LexModelsV2ServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { LexModelsV2ServiceException as __BaseException } from "./LexModelsV2ServiceException";
|
|
2
3
|
export declare enum AudioRecognitionStrategy {
|
|
3
4
|
UseSlotValuesAsCustomVocabulary = "UseSlotValuesAsCustomVocabulary"
|
|
4
5
|
}
|
|
@@ -1102,56 +1103,74 @@ export declare namespace BuildBotLocaleResponse {
|
|
|
1102
1103
|
* the resource is in a conflicting state. For example, deleting a bot
|
|
1103
1104
|
* that is in the CREATING state. Try your request again. </p>
|
|
1104
1105
|
*/
|
|
1105
|
-
export
|
|
1106
|
-
name: "ConflictException";
|
|
1107
|
-
$fault: "client";
|
|
1108
|
-
|
|
1106
|
+
export declare class ConflictException extends __BaseException {
|
|
1107
|
+
readonly name: "ConflictException";
|
|
1108
|
+
readonly $fault: "client";
|
|
1109
|
+
/**
|
|
1110
|
+
* @internal
|
|
1111
|
+
*/
|
|
1112
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
1109
1113
|
}
|
|
1110
1114
|
/**
|
|
1111
1115
|
* <p>The service encountered an unexpected condition. Try your request
|
|
1112
1116
|
* again.</p>
|
|
1113
1117
|
*/
|
|
1114
|
-
export
|
|
1115
|
-
name: "InternalServerException";
|
|
1116
|
-
$fault: "server";
|
|
1117
|
-
|
|
1118
|
+
export declare class InternalServerException extends __BaseException {
|
|
1119
|
+
readonly name: "InternalServerException";
|
|
1120
|
+
readonly $fault: "server";
|
|
1121
|
+
/**
|
|
1122
|
+
* @internal
|
|
1123
|
+
*/
|
|
1124
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
1118
1125
|
}
|
|
1119
1126
|
/**
|
|
1120
1127
|
* <p>Your request couldn't be completed because one or more request
|
|
1121
1128
|
* fields aren't valid. Check the fields in your request and try
|
|
1122
1129
|
* again.</p>
|
|
1123
1130
|
*/
|
|
1124
|
-
export
|
|
1125
|
-
name: "PreconditionFailedException";
|
|
1126
|
-
$fault: "client";
|
|
1127
|
-
|
|
1131
|
+
export declare class PreconditionFailedException extends __BaseException {
|
|
1132
|
+
readonly name: "PreconditionFailedException";
|
|
1133
|
+
readonly $fault: "client";
|
|
1134
|
+
/**
|
|
1135
|
+
* @internal
|
|
1136
|
+
*/
|
|
1137
|
+
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
|
1128
1138
|
}
|
|
1129
1139
|
/**
|
|
1130
1140
|
* <p>You have reached a quota for your bot. </p>
|
|
1131
1141
|
*/
|
|
1132
|
-
export
|
|
1133
|
-
name: "ServiceQuotaExceededException";
|
|
1134
|
-
$fault: "client";
|
|
1135
|
-
|
|
1142
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
1143
|
+
readonly name: "ServiceQuotaExceededException";
|
|
1144
|
+
readonly $fault: "client";
|
|
1145
|
+
/**
|
|
1146
|
+
* @internal
|
|
1147
|
+
*/
|
|
1148
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
1136
1149
|
}
|
|
1137
1150
|
/**
|
|
1138
1151
|
* <p>Your request rate is too high. Reduce the frequency of
|
|
1139
1152
|
* requests.</p>
|
|
1140
1153
|
*/
|
|
1141
|
-
export
|
|
1142
|
-
name: "ThrottlingException";
|
|
1143
|
-
$fault: "client";
|
|
1154
|
+
export declare class ThrottlingException extends __BaseException {
|
|
1155
|
+
readonly name: "ThrottlingException";
|
|
1156
|
+
readonly $fault: "client";
|
|
1144
1157
|
retryAfterSeconds?: number;
|
|
1145
|
-
|
|
1158
|
+
/**
|
|
1159
|
+
* @internal
|
|
1160
|
+
*/
|
|
1161
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
1146
1162
|
}
|
|
1147
1163
|
/**
|
|
1148
1164
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
1149
1165
|
* parameters and try your request again.</p>
|
|
1150
1166
|
*/
|
|
1151
|
-
export
|
|
1152
|
-
name: "ValidationException";
|
|
1153
|
-
$fault: "client";
|
|
1154
|
-
|
|
1167
|
+
export declare class ValidationException extends __BaseException {
|
|
1168
|
+
readonly name: "ValidationException";
|
|
1169
|
+
readonly $fault: "client";
|
|
1170
|
+
/**
|
|
1171
|
+
* @internal
|
|
1172
|
+
*/
|
|
1173
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
1155
1174
|
}
|
|
1156
1175
|
export declare enum BuiltInIntentSortAttribute {
|
|
1157
1176
|
IntentSignature = "IntentSignature"
|
|
@@ -1894,10 +1913,13 @@ export declare namespace CreateExportResponse {
|
|
|
1894
1913
|
* <p>You asked to describe a resource that doesn't exist. Check the
|
|
1895
1914
|
* resource that you are requesting and try again.</p>
|
|
1896
1915
|
*/
|
|
1897
|
-
export
|
|
1898
|
-
name: "ResourceNotFoundException";
|
|
1899
|
-
$fault: "client";
|
|
1900
|
-
|
|
1916
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
1917
|
+
readonly name: "ResourceNotFoundException";
|
|
1918
|
+
readonly $fault: "client";
|
|
1919
|
+
/**
|
|
1920
|
+
* @internal
|
|
1921
|
+
*/
|
|
1922
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1901
1923
|
}
|
|
1902
1924
|
/**
|
|
1903
1925
|
* <p>Settings that determine the Lambda function that Amazon Lex uses for
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class LexModelsV2ServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { LexModelsV2ServiceException as __BaseException } from "./LexModelsV2ServiceException";
|
|
2
3
|
export declare enum AudioRecognitionStrategy {
|
|
3
4
|
UseSlotValuesAsCustomVocabulary = "UseSlotValuesAsCustomVocabulary"
|
|
4
5
|
}
|
|
@@ -557,41 +558,47 @@ export declare namespace BuildBotLocaleResponse {
|
|
|
557
558
|
const filterSensitiveLog: (obj: BuildBotLocaleResponse) => any;
|
|
558
559
|
}
|
|
559
560
|
|
|
560
|
-
export
|
|
561
|
-
name: "ConflictException";
|
|
562
|
-
$fault: "client";
|
|
563
|
-
|
|
561
|
+
export declare class ConflictException extends __BaseException {
|
|
562
|
+
readonly name: "ConflictException";
|
|
563
|
+
readonly $fault: "client";
|
|
564
|
+
|
|
565
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
564
566
|
}
|
|
565
567
|
|
|
566
|
-
export
|
|
567
|
-
name: "InternalServerException";
|
|
568
|
-
$fault: "server";
|
|
569
|
-
|
|
568
|
+
export declare class InternalServerException extends __BaseException {
|
|
569
|
+
readonly name: "InternalServerException";
|
|
570
|
+
readonly $fault: "server";
|
|
571
|
+
|
|
572
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
570
573
|
}
|
|
571
574
|
|
|
572
|
-
export
|
|
573
|
-
name: "PreconditionFailedException";
|
|
574
|
-
$fault: "client";
|
|
575
|
-
|
|
575
|
+
export declare class PreconditionFailedException extends __BaseException {
|
|
576
|
+
readonly name: "PreconditionFailedException";
|
|
577
|
+
readonly $fault: "client";
|
|
578
|
+
|
|
579
|
+
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
|
576
580
|
}
|
|
577
581
|
|
|
578
|
-
export
|
|
579
|
-
name: "ServiceQuotaExceededException";
|
|
580
|
-
$fault: "client";
|
|
581
|
-
|
|
582
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
583
|
+
readonly name: "ServiceQuotaExceededException";
|
|
584
|
+
readonly $fault: "client";
|
|
585
|
+
|
|
586
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
582
587
|
}
|
|
583
588
|
|
|
584
|
-
export
|
|
585
|
-
name: "ThrottlingException";
|
|
586
|
-
$fault: "client";
|
|
589
|
+
export declare class ThrottlingException extends __BaseException {
|
|
590
|
+
readonly name: "ThrottlingException";
|
|
591
|
+
readonly $fault: "client";
|
|
587
592
|
retryAfterSeconds?: number;
|
|
588
|
-
|
|
593
|
+
|
|
594
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
589
595
|
}
|
|
590
596
|
|
|
591
|
-
export
|
|
592
|
-
name: "ValidationException";
|
|
593
|
-
$fault: "client";
|
|
594
|
-
|
|
597
|
+
export declare class ValidationException extends __BaseException {
|
|
598
|
+
readonly name: "ValidationException";
|
|
599
|
+
readonly $fault: "client";
|
|
600
|
+
|
|
601
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
595
602
|
}
|
|
596
603
|
export declare enum BuiltInIntentSortAttribute {
|
|
597
604
|
IntentSignature = "IntentSignature"
|
|
@@ -958,10 +965,11 @@ export declare namespace CreateExportResponse {
|
|
|
958
965
|
const filterSensitiveLog: (obj: CreateExportResponse) => any;
|
|
959
966
|
}
|
|
960
967
|
|
|
961
|
-
export
|
|
962
|
-
name: "ResourceNotFoundException";
|
|
963
|
-
$fault: "client";
|
|
964
|
-
|
|
968
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
969
|
+
readonly name: "ResourceNotFoundException";
|
|
970
|
+
readonly $fault: "client";
|
|
971
|
+
|
|
972
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
965
973
|
}
|
|
966
974
|
|
|
967
975
|
export interface DialogCodeHookSettings {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-models-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,37 +18,37 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
|
-
"@aws-sdk/util-waiter": "3.
|
|
51
|
+
"@aws-sdk/util-waiter": "3.53.0",
|
|
52
52
|
"tslib": "^2.3.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|