@aws-sdk/client-lex-runtime-service 3.408.0 → 3.410.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const s = "required", t = "fn", u = "argv", v = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "stringEquals", f = { [s]: false, "type": "String" }, g = { [s]: true, "default": false, "type": "Boolean" }, h = { [v]: "Endpoint" }, i = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, k = {}, l = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: a }, "supportsFIPS"] }] }, m = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: a }, "supportsDualStack"] }] }, n = { [t]: "getAttr", [u]: [{ [v]: a }, "name"] }, o = { "url": "https://runtime-fips.lex.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, p = [h], q = [i], r = [j];
6
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [t]: "aws.partition", [u]: [{ [v]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [t]: "isSet", [u]: p }, { [t]: "parseURL", [u]: p, assign: "url" }], type: b, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://runtime.lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: e, [u]: ["aws", n] }], endpoint: o, type: d }, { conditions: [{ [t]: e, [u]: ["aws-us-gov", n] }], endpoint: o, type: d }, { endpoint: { url: "https://runtime.lex-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://runtime.lex.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://runtime.lex.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] };
4
+ const u = "required", v = "fn", w = "argv", x = "ref", y = "properties", z = "headers";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [u]: false, "type": "String" }, g = { [u]: true, "default": false, "type": "Boolean" }, h = { [x]: "Endpoint" }, i = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, j = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, k = {}, l = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsFIPS"] }] }, m = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsDualStack"] }] }, n = { "url": "https://runtime-fips.lex.{Region}.amazonaws.com", [y]: {}, [z]: {} }, o = { "url": "https://runtime.lex.{Region}.amazonaws.com", [y]: {}, [z]: {} }, p = [i], q = [j], r = [{ [x]: "Region" }], s = [{ [v]: "stringEquals", [w]: ["aws", { [v]: "getAttr", [w]: [{ [x]: e }, "name"] }] }], t = [{ [v]: "stringEquals", [w]: ["aws-us-gov", { [v]: "getAttr", [w]: [{ [x]: e }, "name"] }] }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [v]: a, [w]: [h] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, [y]: k, [z]: k }, type: d }] }, { conditions: [{ [v]: a, [w]: r }], type: b, rules: [{ conditions: [{ [v]: "aws.partition", [w]: r, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://runtime.lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [y]: k, [z]: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [l], type: b, rules: [{ conditions: s, endpoint: n, type: d }, { conditions: t, endpoint: n, type: d }, { endpoint: { url: "https://runtime.lex-fips.{Region}.{PartitionResult#dnsSuffix}", [y]: k, [z]: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://runtime.lex.{Region}.{PartitionResult#dualStackDnsSuffix}", [y]: k, [z]: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { conditions: s, endpoint: o, type: d }, { conditions: t, endpoint: o, type: d }, { endpoint: { url: "https://runtime.lex.{Region}.{PartitionResult#dnsSuffix}", [y]: k, [z]: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,16 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
+ const protocol_http_1 = require("@smithy/protocol-http");
4
5
  const smithy_client_1 = require("@smithy/smithy-client");
5
6
  const asPartial = (t) => t;
6
7
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
8
  const extensionConfiguration = {
8
9
  ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
10
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
9
11
  };
10
12
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
13
  return {
12
14
  ...runtimeConfig,
13
15
  ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
16
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
14
17
  };
15
18
  };
16
19
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -1,4 +1,4 @@
1
- const s = "required", t = "fn", u = "argv", v = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "stringEquals", f = { [s]: false, "type": "String" }, g = { [s]: true, "default": false, "type": "Boolean" }, h = { [v]: "Endpoint" }, i = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, k = {}, l = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: a }, "supportsFIPS"] }] }, m = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: a }, "supportsDualStack"] }] }, n = { [t]: "getAttr", [u]: [{ [v]: a }, "name"] }, o = { "url": "https://runtime-fips.lex.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, p = [h], q = [i], r = [j];
3
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [t]: "aws.partition", [u]: [{ [v]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [t]: "isSet", [u]: p }, { [t]: "parseURL", [u]: p, assign: "url" }], type: b, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://runtime.lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: e, [u]: ["aws", n] }], endpoint: o, type: d }, { conditions: [{ [t]: e, [u]: ["aws-us-gov", n] }], endpoint: o, type: d }, { endpoint: { url: "https://runtime.lex-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://runtime.lex.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://runtime.lex.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] };
1
+ const u = "required", v = "fn", w = "argv", x = "ref", y = "properties", z = "headers";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [u]: false, "type": "String" }, g = { [u]: true, "default": false, "type": "Boolean" }, h = { [x]: "Endpoint" }, i = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, j = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, k = {}, l = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsFIPS"] }] }, m = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsDualStack"] }] }, n = { "url": "https://runtime-fips.lex.{Region}.amazonaws.com", [y]: {}, [z]: {} }, o = { "url": "https://runtime.lex.{Region}.amazonaws.com", [y]: {}, [z]: {} }, p = [i], q = [j], r = [{ [x]: "Region" }], s = [{ [v]: "stringEquals", [w]: ["aws", { [v]: "getAttr", [w]: [{ [x]: e }, "name"] }] }], t = [{ [v]: "stringEquals", [w]: ["aws-us-gov", { [v]: "getAttr", [w]: [{ [x]: e }, "name"] }] }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [v]: a, [w]: [h] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, [y]: k, [z]: k }, type: d }] }, { conditions: [{ [v]: a, [w]: r }], type: b, rules: [{ conditions: [{ [v]: "aws.partition", [w]: r, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://runtime.lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [y]: k, [z]: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [l], type: b, rules: [{ conditions: s, endpoint: n, type: d }, { conditions: t, endpoint: n, type: d }, { endpoint: { url: "https://runtime.lex-fips.{Region}.{PartitionResult#dnsSuffix}", [y]: k, [z]: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://runtime.lex.{Region}.{PartitionResult#dualStackDnsSuffix}", [y]: k, [z]: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { conditions: s, endpoint: o, type: d }, { conditions: t, endpoint: o, type: d }, { endpoint: { url: "https://runtime.lex.{Region}.{PartitionResult#dnsSuffix}", [y]: k, [z]: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -1,12 +1,15 @@
1
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
1
2
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
3
  const asPartial = (t) => t;
3
4
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
4
5
  const extensionConfiguration = {
5
6
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
+ ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
6
8
  };
7
9
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
10
  return {
9
11
  ...runtimeConfig,
10
12
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
+ ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
11
14
  };
12
15
  };
@@ -47,9 +47,9 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
47
47
  * // slots: { // StringMap
48
48
  * // "<keys>": "STRING_VALUE",
49
49
  * // },
50
- * // confirmationStatus: "STRING_VALUE",
51
- * // dialogActionType: "STRING_VALUE", // required
52
- * // fulfillmentState: "STRING_VALUE",
50
+ * // confirmationStatus: "None" || "Confirmed" || "Denied",
51
+ * // dialogActionType: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Close" || "Delegate", // required
52
+ * // fulfillmentState: "Fulfilled" || "Failed" || "ReadyForFulfillment",
53
53
  * // slotToElicit: "STRING_VALUE",
54
54
  * // },
55
55
  * // ],
@@ -58,13 +58,13 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
58
58
  * // },
59
59
  * // sessionId: "STRING_VALUE",
60
60
  * // dialogAction: { // DialogAction
61
- * // type: "STRING_VALUE", // required
61
+ * // type: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Close" || "Delegate", // required
62
62
  * // intentName: "STRING_VALUE",
63
63
  * // slots: "<StringMap>",
64
64
  * // slotToElicit: "STRING_VALUE",
65
- * // fulfillmentState: "STRING_VALUE",
65
+ * // fulfillmentState: "Fulfilled" || "Failed" || "ReadyForFulfillment",
66
66
  * // message: "STRING_VALUE",
67
- * // messageFormat: "STRING_VALUE",
67
+ * // messageFormat: "PlainText" || "CustomPayload" || "SSML" || "Composite",
68
68
  * // },
69
69
  * // activeContexts: [ // ActiveContextsList
70
70
  * // { // ActiveContext
@@ -131,8 +131,8 @@ export interface PostContentCommandOutput extends Omit<PostContentResponse, "aud
131
131
  * // sentimentResponse: "STRING_VALUE",
132
132
  * // message: "STRING_VALUE",
133
133
  * // encodedMessage: "STRING_VALUE",
134
- * // messageFormat: "STRING_VALUE",
135
- * // dialogState: "STRING_VALUE",
134
+ * // messageFormat: "PlainText" || "CustomPayload" || "SSML" || "Composite",
135
+ * // dialogState: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Fulfilled" || "ReadyForFulfillment" || "Failed",
136
136
  * // slotToElicit: "STRING_VALUE",
137
137
  * // inputTranscript: "STRING_VALUE",
138
138
  * // encodedInputTranscript: "STRING_VALUE",
@@ -158,12 +158,12 @@ export interface PostTextCommandOutput extends PostTextResponse, __MetadataBeare
158
158
  * // sentimentLabel: "STRING_VALUE",
159
159
  * // sentimentScore: "STRING_VALUE",
160
160
  * // },
161
- * // messageFormat: "STRING_VALUE",
162
- * // dialogState: "STRING_VALUE",
161
+ * // messageFormat: "PlainText" || "CustomPayload" || "SSML" || "Composite",
162
+ * // dialogState: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Fulfilled" || "ReadyForFulfillment" || "Failed",
163
163
  * // slotToElicit: "STRING_VALUE",
164
164
  * // responseCard: { // ResponseCard
165
165
  * // version: "STRING_VALUE",
166
- * // contentType: "STRING_VALUE",
166
+ * // contentType: "application/vnd.amazonaws.card.generic",
167
167
  * // genericAttachments: [ // genericAttachmentList
168
168
  * // { // GenericAttachment
169
169
  * // title: "STRING_VALUE",
@@ -43,24 +43,24 @@ export interface PutSessionCommandOutput extends Omit<PutSessionResponse, "audio
43
43
  * "<keys>": "STRING_VALUE",
44
44
  * },
45
45
  * dialogAction: { // DialogAction
46
- * type: "STRING_VALUE", // required
46
+ * type: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Close" || "Delegate", // required
47
47
  * intentName: "STRING_VALUE",
48
48
  * slots: {
49
49
  * "<keys>": "STRING_VALUE",
50
50
  * },
51
51
  * slotToElicit: "STRING_VALUE",
52
- * fulfillmentState: "STRING_VALUE",
52
+ * fulfillmentState: "Fulfilled" || "Failed" || "ReadyForFulfillment",
53
53
  * message: "STRING_VALUE",
54
- * messageFormat: "STRING_VALUE",
54
+ * messageFormat: "PlainText" || "CustomPayload" || "SSML" || "Composite",
55
55
  * },
56
56
  * recentIntentSummaryView: [ // IntentSummaryList
57
57
  * { // IntentSummary
58
58
  * intentName: "STRING_VALUE",
59
59
  * checkpointLabel: "STRING_VALUE",
60
60
  * slots: "<StringMap>",
61
- * confirmationStatus: "STRING_VALUE",
62
- * dialogActionType: "STRING_VALUE", // required
63
- * fulfillmentState: "STRING_VALUE",
61
+ * confirmationStatus: "None" || "Confirmed" || "Denied",
62
+ * dialogActionType: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Close" || "Delegate", // required
63
+ * fulfillmentState: "Fulfilled" || "Failed" || "ReadyForFulfillment",
64
64
  * slotToElicit: "STRING_VALUE",
65
65
  * },
66
66
  * ],
@@ -87,8 +87,8 @@ export interface PutSessionCommandOutput extends Omit<PutSessionResponse, "audio
87
87
  * // sessionAttributes: "STRING_VALUE",
88
88
  * // message: "STRING_VALUE",
89
89
  * // encodedMessage: "STRING_VALUE",
90
- * // messageFormat: "STRING_VALUE",
91
- * // dialogState: "STRING_VALUE",
90
+ * // messageFormat: "PlainText" || "CustomPayload" || "SSML" || "Composite",
91
+ * // dialogState: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Fulfilled" || "ReadyForFulfillment" || "Failed",
92
92
  * // slotToElicit: "STRING_VALUE",
93
93
  * // audioStream: "STREAMING_BLOB_VALUE",
94
94
  * // sessionId: "STRING_VALUE",
@@ -1,6 +1,7 @@
1
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
1
2
  import { DefaultExtensionConfiguration } from "@smithy/types";
2
3
  /**
3
4
  * @internal
4
5
  */
5
- export interface LexRuntimeServiceExtensionConfiguration extends DefaultExtensionConfiguration {
6
+ export interface LexRuntimeServiceExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
6
7
  }
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
15
18
  retryMode: string | import("@smithy/types").Provider<string>;
16
19
  sha256: import("@smithy/types").HashConstructor;
17
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
15
18
  retryMode: string | import("@smithy/types").Provider<string>;
16
19
  sha256: import("@smithy/types").HashConstructor;
17
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,7 +5,10 @@ import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
5
5
  export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
+ updateHttpClientConfig(key: never, value: never): void;
10
+ httpHandlerConfigs(): {};
11
+ }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
12
  apiVersion: string;
10
13
  urlParser: import("@smithy/types").UrlParser;
11
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -3,7 +3,7 @@ import { LexRuntimeServiceExtensionConfiguration } from "./extensionConfiguratio
3
3
  * @public
4
4
  */
5
5
  export interface RuntimeExtension {
6
- configure(clientConfiguration: LexRuntimeServiceExtensionConfiguration): void;
6
+ configure(extensionConfiguration: LexRuntimeServiceExtensionConfiguration): void;
7
7
  }
8
8
  /**
9
9
  * @public
@@ -1,3 +1,5 @@
1
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
1
2
  import { DefaultExtensionConfiguration } from "@smithy/types";
2
3
  export interface LexRuntimeServiceExtensionConfiguration
3
- extends DefaultExtensionConfiguration {}
4
+ extends HttpHandlerExtensionConfiguration,
5
+ DefaultExtensionConfiguration {}
@@ -22,7 +22,14 @@ export declare const getRuntimeConfig: (
22
22
  any,
23
23
  import("@smithy/types").HttpHandlerOptions
24
24
  > &
25
- import("@smithy/protocol-http").HttpHandler)
25
+ import("@smithy/types").RequestHandler<
26
+ import("@smithy/protocol-http").HttpRequest,
27
+ import("@smithy/protocol-http").HttpResponse,
28
+ import("@smithy/types").HttpHandlerOptions
29
+ > & {
30
+ updateHttpClientConfig(key: never, value: never): void;
31
+ httpHandlerConfigs(): {};
32
+ })
26
33
  | RequestHandler;
27
34
  retryMode: string | import("@smithy/types").Provider<string>;
28
35
  sha256: import("@smithy/types").HashConstructor;
@@ -22,7 +22,14 @@ export declare const getRuntimeConfig: (
22
22
  any,
23
23
  import("@smithy/types").HttpHandlerOptions
24
24
  > &
25
- import("@smithy/protocol-http").HttpHandler)
25
+ import("@smithy/types").RequestHandler<
26
+ import("@smithy/protocol-http").HttpRequest,
27
+ import("@smithy/protocol-http").HttpResponse,
28
+ import("@smithy/types").HttpHandlerOptions
29
+ > & {
30
+ updateHttpClientConfig(key: never, value: never): void;
31
+ httpHandlerConfigs(): {};
32
+ })
26
33
  | RequestHandler;
27
34
  retryMode: string | import("@smithy/types").Provider<string>;
28
35
  sha256: import("@smithy/types").HashConstructor;
@@ -10,7 +10,14 @@ export declare const getRuntimeConfig: (
10
10
  any,
11
11
  import("@smithy/types").HttpHandlerOptions
12
12
  > &
13
- import("@smithy/protocol-http").HttpHandler)
13
+ import("@smithy/types").RequestHandler<
14
+ import("@smithy/protocol-http").HttpRequest,
15
+ import("@smithy/protocol-http").HttpResponse,
16
+ import("@smithy/types").HttpHandlerOptions
17
+ > & {
18
+ updateHttpClientConfig(key: never, value: never): void;
19
+ httpHandlerConfigs(): {};
20
+ })
14
21
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
15
22
  apiVersion: string;
16
23
  urlParser: import("@smithy/types").UrlParser;
@@ -1,6 +1,8 @@
1
1
  import { LexRuntimeServiceExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(clientConfiguration: LexRuntimeServiceExtensionConfiguration): void;
3
+ configure(
4
+ extensionConfiguration: LexRuntimeServiceExtensionConfiguration
5
+ ): void;
4
6
  }
5
7
  export interface RuntimeExtensionsConfig {
6
8
  extensions: RuntimeExtension[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-runtime-service",
3
3
  "description": "AWS SDK for JavaScript Lex Runtime Service Client for Node.js, Browser and React Native",
4
- "version": "3.408.0",
4
+ "version": "3.410.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",
@@ -23,39 +23,39 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "3.0.0",
25
25
  "@aws-crypto/sha256-js": "3.0.0",
26
- "@aws-sdk/client-sts": "3.408.0",
27
- "@aws-sdk/credential-provider-node": "3.408.0",
28
- "@aws-sdk/middleware-host-header": "3.408.0",
29
- "@aws-sdk/middleware-logger": "3.408.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.408.0",
31
- "@aws-sdk/middleware-signing": "3.408.0",
32
- "@aws-sdk/middleware-user-agent": "3.408.0",
33
- "@aws-sdk/types": "3.408.0",
34
- "@aws-sdk/util-endpoints": "3.408.0",
35
- "@aws-sdk/util-user-agent-browser": "3.408.0",
36
- "@aws-sdk/util-user-agent-node": "3.408.0",
37
- "@smithy/config-resolver": "^2.0.5",
38
- "@smithy/fetch-http-handler": "^2.0.5",
39
- "@smithy/hash-node": "^2.0.5",
40
- "@smithy/invalid-dependency": "^2.0.5",
41
- "@smithy/middleware-content-length": "^2.0.5",
42
- "@smithy/middleware-endpoint": "^2.0.5",
43
- "@smithy/middleware-retry": "^2.0.5",
44
- "@smithy/middleware-serde": "^2.0.5",
26
+ "@aws-sdk/client-sts": "3.410.0",
27
+ "@aws-sdk/credential-provider-node": "3.410.0",
28
+ "@aws-sdk/middleware-host-header": "3.410.0",
29
+ "@aws-sdk/middleware-logger": "3.410.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.410.0",
31
+ "@aws-sdk/middleware-signing": "3.410.0",
32
+ "@aws-sdk/middleware-user-agent": "3.410.0",
33
+ "@aws-sdk/types": "3.410.0",
34
+ "@aws-sdk/util-endpoints": "3.410.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.410.0",
36
+ "@aws-sdk/util-user-agent-node": "3.410.0",
37
+ "@smithy/config-resolver": "^2.0.7",
38
+ "@smithy/fetch-http-handler": "^2.1.2",
39
+ "@smithy/hash-node": "^2.0.6",
40
+ "@smithy/invalid-dependency": "^2.0.6",
41
+ "@smithy/middleware-content-length": "^2.0.8",
42
+ "@smithy/middleware-endpoint": "^2.0.6",
43
+ "@smithy/middleware-retry": "^2.0.9",
44
+ "@smithy/middleware-serde": "^2.0.6",
45
45
  "@smithy/middleware-stack": "^2.0.0",
46
- "@smithy/node-config-provider": "^2.0.6",
47
- "@smithy/node-http-handler": "^2.0.5",
48
- "@smithy/protocol-http": "^2.0.5",
49
- "@smithy/smithy-client": "^2.0.5",
50
- "@smithy/types": "^2.2.2",
51
- "@smithy/url-parser": "^2.0.5",
46
+ "@smithy/node-config-provider": "^2.0.9",
47
+ "@smithy/node-http-handler": "^2.1.2",
48
+ "@smithy/protocol-http": "^3.0.2",
49
+ "@smithy/smithy-client": "^2.1.3",
50
+ "@smithy/types": "^2.3.0",
51
+ "@smithy/url-parser": "^2.0.6",
52
52
  "@smithy/util-base64": "^2.0.0",
53
53
  "@smithy/util-body-length-browser": "^2.0.0",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.6",
56
- "@smithy/util-defaults-mode-node": "^2.0.6",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.7",
56
+ "@smithy/util-defaults-mode-node": "^2.0.9",
57
57
  "@smithy/util-retry": "^2.0.0",
58
- "@smithy/util-stream": "^2.0.5",
58
+ "@smithy/util-stream": "^2.0.9",
59
59
  "@smithy/util-utf8": "^2.0.0",
60
60
  "tslib": "^2.5.0"
61
61
  },