📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP →

@aws-sdk/client-lex-runtime-service

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-lex-runtime-service - npm Package Compare versions

Comparing version

to
3.409.0

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ruleSet = void 0;
const s = "required", t = "fn", u = "argv", v = "ref";
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];
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 }] }] };
const u = "required", v = "fn", w = "argv", x = "ref", y = "properties", z = "headers";
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"] }] }];
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 }] };
exports.ruleSet = _data;

@@ -1,4 +0,4 @@

const s = "required", t = "fn", u = "argv", v = "ref";
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];
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 }] }] };
const u = "required", v = "fn", w = "argv", x = "ref", y = "properties", z = "headers";
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"] }] }];
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 }] };
export const ruleSet = _data;

@@ -50,5 +50,5 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";

* // },
* // confirmationStatus: "STRING_VALUE",
* // dialogActionType: "STRING_VALUE", // required
* // fulfillmentState: "STRING_VALUE",
* // confirmationStatus: "None" || "Confirmed" || "Denied",
* // dialogActionType: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Close" || "Delegate", // required
* // fulfillmentState: "Fulfilled" || "Failed" || "ReadyForFulfillment",
* // slotToElicit: "STRING_VALUE",

@@ -62,9 +62,9 @@ * // },

* // dialogAction: { // DialogAction
* // type: "STRING_VALUE", // required
* // type: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Close" || "Delegate", // required
* // intentName: "STRING_VALUE",
* // slots: "<StringMap>",
* // slotToElicit: "STRING_VALUE",
* // fulfillmentState: "STRING_VALUE",
* // fulfillmentState: "Fulfilled" || "Failed" || "ReadyForFulfillment",
* // message: "STRING_VALUE",
* // messageFormat: "STRING_VALUE",
* // messageFormat: "PlainText" || "CustomPayload" || "SSML" || "Composite",
* // },

@@ -71,0 +71,0 @@ * // activeContexts: [ // ActiveContextsList

@@ -134,4 +134,4 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";

* // encodedMessage: "STRING_VALUE",
* // messageFormat: "STRING_VALUE",
* // dialogState: "STRING_VALUE",
* // messageFormat: "PlainText" || "CustomPayload" || "SSML" || "Composite",
* // dialogState: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Fulfilled" || "ReadyForFulfillment" || "Failed",
* // slotToElicit: "STRING_VALUE",

@@ -138,0 +138,0 @@ * // inputTranscript: "STRING_VALUE",

@@ -161,8 +161,8 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";

* // },
* // messageFormat: "STRING_VALUE",
* // dialogState: "STRING_VALUE",
* // messageFormat: "PlainText" || "CustomPayload" || "SSML" || "Composite",
* // dialogState: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Fulfilled" || "ReadyForFulfillment" || "Failed",
* // slotToElicit: "STRING_VALUE",
* // responseCard: { // ResponseCard
* // version: "STRING_VALUE",
* // contentType: "STRING_VALUE",
* // contentType: "application/vnd.amazonaws.card.generic",
* // genericAttachments: [ // genericAttachmentList

@@ -169,0 +169,0 @@ * // { // GenericAttachment

@@ -46,3 +46,3 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";

* dialogAction: { // DialogAction
* type: "STRING_VALUE", // required
* type: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Close" || "Delegate", // required
* intentName: "STRING_VALUE",

@@ -53,5 +53,5 @@ * slots: {

* slotToElicit: "STRING_VALUE",
* fulfillmentState: "STRING_VALUE",
* fulfillmentState: "Fulfilled" || "Failed" || "ReadyForFulfillment",
* message: "STRING_VALUE",
* messageFormat: "STRING_VALUE",
* messageFormat: "PlainText" || "CustomPayload" || "SSML" || "Composite",
* },

@@ -63,5 +63,5 @@ * recentIntentSummaryView: [ // IntentSummaryList

* slots: "<StringMap>",
* confirmationStatus: "STRING_VALUE",
* dialogActionType: "STRING_VALUE", // required
* fulfillmentState: "STRING_VALUE",
* confirmationStatus: "None" || "Confirmed" || "Denied",
* dialogActionType: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Close" || "Delegate", // required
* fulfillmentState: "Fulfilled" || "Failed" || "ReadyForFulfillment",
* slotToElicit: "STRING_VALUE",

@@ -93,4 +93,4 @@ * },

* // encodedMessage: "STRING_VALUE",
* // messageFormat: "STRING_VALUE",
* // dialogState: "STRING_VALUE",
* // messageFormat: "PlainText" || "CustomPayload" || "SSML" || "Composite",
* // dialogState: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Fulfilled" || "ReadyForFulfillment" || "Failed",
* // slotToElicit: "STRING_VALUE",

@@ -97,0 +97,0 @@ * // audioStream: "STREAMING_BLOB_VALUE",

{
"name": "@aws-sdk/client-lex-runtime-service",
"description": "AWS SDK for JavaScript Lex Runtime Service Client for Node.js, Browser and React Native",
"version": "3.408.0",
"version": "3.409.0",
"scripts": {

@@ -26,4 +26,4 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "3.408.0",
"@aws-sdk/credential-provider-node": "3.408.0",
"@aws-sdk/client-sts": "3.409.0",
"@aws-sdk/credential-provider-node": "3.409.0",
"@aws-sdk/middleware-host-header": "3.408.0",

@@ -30,0 +30,0 @@ "@aws-sdk/middleware-logger": "3.408.0",