@aws-sdk/client-lex-models-v2 3.826.0 → 3.830.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.
@@ -61,6 +61,9 @@ declare const CreateBotLocaleCommand_base: {
61
61
  * customPrompt: "STRING_VALUE",
62
62
  * },
63
63
  * },
64
+ * nluImprovement: { // NluImprovementSpecification
65
+ * enabled: true || false, // required
66
+ * },
64
67
  * },
65
68
  * buildtimeSettings: { // BuildtimeSettings
66
69
  * descriptiveBotBuilder: { // DescriptiveBotBuilderSpecification
@@ -119,6 +122,9 @@ declare const CreateBotLocaleCommand_base: {
119
122
  * // customPrompt: "STRING_VALUE",
120
123
  * // },
121
124
  * // },
125
+ * // nluImprovement: { // NluImprovementSpecification
126
+ * // enabled: true || false, // required
127
+ * // },
122
128
  * // },
123
129
  * // buildtimeSettings: { // BuildtimeSettings
124
130
  * // descriptiveBotBuilder: { // DescriptiveBotBuilderSpecification
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
4
- import { DescribeBotAliasRequest } from "../models/models_0";
5
- import { DescribeBotAliasResponse } from "../models/models_1";
4
+ import { DescribeBotAliasRequest, DescribeBotAliasResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -84,6 +84,9 @@ declare const DescribeBotLocaleCommand_base: {
84
84
  * // customPrompt: "STRING_VALUE",
85
85
  * // },
86
86
  * // },
87
+ * // nluImprovement: { // NluImprovementSpecification
88
+ * // enabled: true || false, // required
89
+ * // },
87
90
  * // },
88
91
  * // buildtimeSettings: { // BuildtimeSettings
89
92
  * // descriptiveBotBuilder: { // DescriptiveBotBuilderSpecification
@@ -58,6 +58,9 @@ declare const UpdateBotLocaleCommand_base: {
58
58
  * customPrompt: "STRING_VALUE",
59
59
  * },
60
60
  * },
61
+ * nluImprovement: { // NluImprovementSpecification
62
+ * enabled: true || false, // required
63
+ * },
61
64
  * },
62
65
  * buildtimeSettings: { // BuildtimeSettings
63
66
  * descriptiveBotBuilder: { // DescriptiveBotBuilderSpecification
@@ -123,6 +126,9 @@ declare const UpdateBotLocaleCommand_base: {
123
126
  * // customPrompt: "STRING_VALUE",
124
127
  * // },
125
128
  * // },
129
+ * // nluImprovement: { // NluImprovementSpecification
130
+ * // enabled: true || false, // required
131
+ * // },
126
132
  * // },
127
133
  * // buildtimeSettings: { // BuildtimeSettings
128
134
  * // descriptiveBotBuilder: { // DescriptiveBotBuilderSpecification
@@ -3,9 +3,9 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
- useDualstackEndpoint?: boolean | Provider<boolean>;
8
- useFipsEndpoint?: boolean | Provider<boolean>;
6
+ region?: string | undefined | Provider<string | undefined>;
7
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
8
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
11
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
@@ -31,8 +31,8 @@ export declare const commonParams: {
31
31
  };
32
32
  };
33
33
  export interface EndpointParameters extends __EndpointParameters {
34
- Region?: string;
35
- UseDualStack?: boolean;
36
- UseFIPS?: boolean;
37
- Endpoint?: string;
34
+ Region?: string | undefined;
35
+ UseDualStack?: boolean | undefined;
36
+ UseFIPS?: boolean | undefined;
37
+ Endpoint?: string | undefined;
38
38
  }
@@ -4925,6 +4925,17 @@ export interface CreateBotAliasResponse {
4925
4925
  */
4926
4926
  tags?: Record<string, string> | undefined;
4927
4927
  }
4928
+ /**
4929
+ * <p>Specifies whether the assisted nlu feature is turned on or off.</p>
4930
+ * @public
4931
+ */
4932
+ export interface NluImprovementSpecification {
4933
+ /**
4934
+ * <p>Specifies whether the assisted nlu feature is enabled.</p>
4935
+ * @public
4936
+ */
4937
+ enabled: boolean | undefined;
4938
+ }
4928
4939
  /**
4929
4940
  * <p>Contains specifications for the assisted slot resolution feature.</p>
4930
4941
  * @public
@@ -4951,6 +4962,11 @@ export interface RuntimeSettings {
4951
4962
  * @public
4952
4963
  */
4953
4964
  slotResolutionImprovement?: SlotResolutionImprovementSpecification | undefined;
4965
+ /**
4966
+ * <p>An object containing specifications for the assisted nlu feature.</p>
4967
+ * @public
4968
+ */
4969
+ nluImprovement?: NluImprovementSpecification | undefined;
4954
4970
  }
4955
4971
  /**
4956
4972
  * <p>Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>
@@ -7291,22 +7307,6 @@ export interface DescribeBotResponse {
7291
7307
  */
7292
7308
  errorLogSettings?: ErrorLogSettings | undefined;
7293
7309
  }
7294
- /**
7295
- * @public
7296
- */
7297
- export interface DescribeBotAliasRequest {
7298
- /**
7299
- * <p>The identifier of the bot alias to describe.</p>
7300
- * @public
7301
- */
7302
- botAliasId: string | undefined;
7303
- /**
7304
- * <p>The identifier of the bot associated with the bot alias to
7305
- * describe.</p>
7306
- * @public
7307
- */
7308
- botId: string | undefined;
7309
- }
7310
7310
  /**
7311
7311
  * @internal
7312
7312
  */
@@ -1,4 +1,20 @@
1
1
  import { ActiveContext, AgentTurnResult, AgentTurnSpecification, AggregatedUtterancesFilter, AggregatedUtterancesSortBy, AggregatedUtterancesSummary, AnalyticsBinBySpecification, AnalyticsIntentFilter, AnalyticsIntentGroupBySpecification, AnalyticsIntentMetric, AnalyticsIntentNodeSummary, AnalyticsIntentResult, AnalyticsIntentStageFilter, AnalyticsIntentStageGroupBySpecification, AnalyticsIntentStageMetric, AnalyticsIntentStageResult, AnalyticsModality, AnalyticsPathFilter, AnalyticsSessionFilter, AnalyticsSessionGroupBySpecification, AnalyticsSessionMetric, AnalyticsSessionResult, AnalyticsSessionSortByName, AnalyticsSortOrder, AnalyticsUtteranceAttribute, AnalyticsUtteranceFilter, AnalyticsUtteranceGroupBySpecification, AnalyticsUtteranceMetric, AnalyticsUtteranceResult, AnalyticsUtteranceSortByName, AssociatedTranscript, AssociatedTranscriptFilter, BotAliasHistoryEvent, BotAliasLocaleSettings, BotAliasReplicaSummary, BotAliasStatus, BotAliasSummary, BotAliasTestExecutionTarget, BotFilter, BotImportSpecification, BotLocaleFilter, BotLocaleHistoryEvent, BotLocaleImportSpecification, BotLocaleSortBy, BotLocaleStatus, BotLocaleSummary, BotMember, BotRecommendationResults, BotRecommendationStatus, BotRecommendationSummary, BotReplicaStatus, BotReplicaSummary, BotSortBy, BotStatus, BotSummary, BotType, BotVersionReplicaSortBy, BotVersionReplicaSummary, BotVersionSortBy, BotVersionSummary, BuiltInIntentSortBy, BuiltInIntentSummary, BuiltInSlotTypeSortBy, BuiltInSlotTypeSummary, CompositeSlotTypeSetting, Condition, ConversationEndState, ConversationLevelResultDetail, ConversationLevelTestResults, ConversationLevelTestResultsFilterBy, ConversationLogsDataSource, ConversationLogSettings, CustomVocabularyImportSpecification, CustomVocabularyItem, CustomVocabularyStatus, DataPrivacy, DateRangeFilter, DialogAction, DialogCodeHookSettings, ElicitationCodeHookInvocationSetting, ErrorLogSettings, ExecutionErrorDetails, ExportResourceSpecification, ExportStatus, ExternalSourceSetting, FulfillmentUpdatesSpecification, GenerativeAISettings, ImageResponseCard, ImportExportFileFormat, ImportStatus, InputContext, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, QInConnectIntentConfiguration, QnAIntentConfiguration, ResponseSpecification, SampleUtterance, SentimentAnalysisSettings, SlotConstraint, SlotDefaultValueSpecification, SlotResolutionSetting, SlotShape, SlotTypeValue, SlotValue, SlotValueSelectionSetting, SortOrder, SubSlotSetting, TestResultMatchStatus, TestSetDiscrepancyReportResourceTarget, VoiceSettings, WaitAndContinueSpecification } from "./models_0";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface DescribeBotAliasRequest {
6
+ /**
7
+ * <p>The identifier of the bot alias to describe.</p>
8
+ * @public
9
+ */
10
+ botAliasId: string | undefined;
11
+ /**
12
+ * <p>The identifier of the bot associated with the bot alias to
13
+ * describe.</p>
14
+ * @public
15
+ */
16
+ botId: string | undefined;
17
+ }
2
18
  /**
3
19
  * <p>A network of bots.</p>
4
20
  * @public
@@ -15,8 +15,8 @@ export declare const getRuntimeConfig: (config: LexModelsV2ClientConfig) => {
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
18
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
20
  apiVersion: string;
21
21
  cacheMiddleware?: boolean | undefined;
22
22
  urlParser: import("@smithy/types").UrlParser;
@@ -17,8 +17,8 @@ export declare const getRuntimeConfig: (config: LexModelsV2ClientConfig) => {
17
17
  utf8Encoder: (input: Uint8Array | string) => string;
18
18
  disableHostPrefix: boolean;
19
19
  serviceId: string;
20
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../LexModelsV2Client";
8
- import { DescribeBotAliasRequest } from "../models/models_0";
9
- import { DescribeBotAliasResponse } from "../models/models_1";
8
+ import {
9
+ DescribeBotAliasRequest,
10
+ DescribeBotAliasResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DescribeBotAliasCommandInput extends DescribeBotAliasRequest {}
@@ -5,9 +5,9 @@ import {
5
5
  Provider,
6
6
  } from "@smithy/types";
7
7
  export interface ClientInputEndpointParameters {
8
- region?: string | Provider<string>;
9
- useDualstackEndpoint?: boolean | Provider<boolean>;
10
- useFipsEndpoint?: boolean | Provider<boolean>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
10
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
11
11
  endpoint?:
12
12
  | string
13
13
  | Provider<string>
@@ -41,8 +41,8 @@ export declare const commonParams: {
41
41
  };
42
42
  };
43
43
  export interface EndpointParameters extends __EndpointParameters {
44
- Region?: string;
45
- UseDualStack?: boolean;
46
- UseFIPS?: boolean;
47
- Endpoint?: string;
44
+ Region?: string | undefined;
45
+ UseDualStack?: boolean | undefined;
46
+ UseFIPS?: boolean | undefined;
47
+ Endpoint?: string | undefined;
48
48
  }
@@ -1115,6 +1115,9 @@ export interface CreateBotAliasResponse {
1115
1115
  creationDateTime?: Date | undefined;
1116
1116
  tags?: Record<string, string> | undefined;
1117
1117
  }
1118
+ export interface NluImprovementSpecification {
1119
+ enabled: boolean | undefined;
1120
+ }
1118
1121
  export interface SlotResolutionImprovementSpecification {
1119
1122
  enabled: boolean | undefined;
1120
1123
  bedrockModelSpecification?: BedrockModelSpecification | undefined;
@@ -1123,6 +1126,7 @@ export interface RuntimeSettings {
1123
1126
  slotResolutionImprovement?:
1124
1127
  | SlotResolutionImprovementSpecification
1125
1128
  | undefined;
1129
+ nluImprovement?: NluImprovementSpecification | undefined;
1126
1130
  }
1127
1131
  export interface GenerativeAISettings {
1128
1132
  runtimeSettings?: RuntimeSettings | undefined;
@@ -1660,10 +1664,6 @@ export interface DescribeBotResponse {
1660
1664
  failureReasons?: string[] | undefined;
1661
1665
  errorLogSettings?: ErrorLogSettings | undefined;
1662
1666
  }
1663
- export interface DescribeBotAliasRequest {
1664
- botAliasId: string | undefined;
1665
- botId: string | undefined;
1666
- }
1667
1667
  export declare const CreateExportRequestFilterSensitiveLog: (
1668
1668
  obj: CreateExportRequest
1669
1669
  ) => any;
@@ -114,6 +114,10 @@ import {
114
114
  VoiceSettings,
115
115
  WaitAndContinueSpecification,
116
116
  } from "./models_0";
117
+ export interface DescribeBotAliasRequest {
118
+ botAliasId: string | undefined;
119
+ botId: string | undefined;
120
+ }
117
121
  export interface ParentBotNetwork {
118
122
  botId: string | undefined;
119
123
  botVersion: string | undefined;
@@ -22,8 +22,10 @@ export declare const getRuntimeConfig: (config: LexModelsV2ClientConfig) => {
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
23
  sha256: import("@smithy/types").HashConstructor;
24
24
  streamCollector: import("@smithy/types").StreamCollector;
25
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
29
  apiVersion: string;
28
30
  cacheMiddleware?: boolean | undefined;
29
31
  urlParser: import("@smithy/types").UrlParser;
@@ -19,8 +19,10 @@ export declare const getRuntimeConfig: (config: LexModelsV2ClientConfig) => {
19
19
  utf8Encoder: (input: Uint8Array | string) => string;
20
20
  disableHostPrefix: boolean;
21
21
  serviceId: string;
22
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
23
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
25
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
26
  region: string | import("@smithy/types").Provider<any>;
25
27
  profile?: string;
26
28
  defaultUserAgentProvider: (
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.826.0",
4
+ "version": "3.830.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lex-models-v2",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.826.0",
24
- "@aws-sdk/credential-provider-node": "3.826.0",
24
+ "@aws-sdk/credential-provider-node": "3.830.0",
25
25
  "@aws-sdk/middleware-host-header": "3.821.0",
26
26
  "@aws-sdk/middleware-logger": "3.821.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
- "@aws-sdk/middleware-user-agent": "3.826.0",
28
+ "@aws-sdk/middleware-user-agent": "3.828.0",
29
29
  "@aws-sdk/region-config-resolver": "3.821.0",
30
30
  "@aws-sdk/types": "3.821.0",
31
- "@aws-sdk/util-endpoints": "3.821.0",
31
+ "@aws-sdk/util-endpoints": "3.828.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.821.0",
33
- "@aws-sdk/util-user-agent-node": "3.826.0",
33
+ "@aws-sdk/util-user-agent-node": "3.828.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.5.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.4",