@aws-sdk/client-lex-runtime-service 3.33.0 → 3.34.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/package.json +39 -39
  3. package/dist/es/LexRuntimeService.js +1 -15
  4. package/dist/es/LexRuntimeService.js.map +1 -1
  5. package/dist/es/LexRuntimeService.spec.js +2 -4
  6. package/dist/es/LexRuntimeService.spec.js.map +1 -1
  7. package/dist/es/LexRuntimeServiceClient.js +1 -20
  8. package/dist/es/LexRuntimeServiceClient.js.map +1 -1
  9. package/dist/es/commands/DeleteSessionCommand.js +2 -28
  10. package/dist/es/commands/DeleteSessionCommand.js.map +1 -1
  11. package/dist/es/commands/GetSessionCommand.js +2 -28
  12. package/dist/es/commands/GetSessionCommand.js.map +1 -1
  13. package/dist/es/commands/PostContentCommand.js +2 -103
  14. package/dist/es/commands/PostContentCommand.js.map +1 -1
  15. package/dist/es/commands/PostTextCommand.js +2 -102
  16. package/dist/es/commands/PostTextCommand.js.map +1 -1
  17. package/dist/es/commands/PutSessionCommand.js +2 -31
  18. package/dist/es/commands/PutSessionCommand.js.map +1 -1
  19. package/dist/es/endpoints.js +1 -1
  20. package/dist/es/endpoints.js.map +1 -1
  21. package/dist/es/models/models_0.js +0 -93
  22. package/dist/es/models/models_0.js.map +1 -1
  23. package/dist/es/package.json +39 -39
  24. package/dist/es/protocols/Aws_restJson1.js +193 -198
  25. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  26. package/dist/es/runtimeConfig.browser.js +0 -3
  27. package/dist/es/runtimeConfig.browser.js.map +1 -1
  28. package/dist/es/runtimeConfig.js +0 -3
  29. package/dist/es/runtimeConfig.js.map +1 -1
  30. package/dist/es/runtimeConfig.native.js +0 -3
  31. package/dist/es/runtimeConfig.native.js.map +1 -1
  32. package/dist/es/runtimeConfig.shared.js +0 -3
  33. package/dist/es/runtimeConfig.shared.js.map +1 -1
  34. package/package.json +39 -39
  35. package/tsconfig.es.json +0 -2
  36. package/tsconfig.json +3 -4
  37. package/tsconfig.types.json +8 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-lex-runtime-service
@@ -1,19 +1,19 @@
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.33.0",
4
+ "version": "3.34.0",
5
5
  "scripts": {
6
- "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
- "build-documentation": "yarn remove-documentation && typedoc ./",
8
- "remove-definitions": "rimraf ./types",
9
- "remove-dist": "rimraf ./dist",
10
- "remove-documentation": "rimraf ./docs",
11
- "test:unit": "mocha **/cjs/**/*.spec.js",
12
- "test": "yarn test:unit",
6
+ "build": "yarn build:cjs && yarn build:es && yarn build:types",
13
7
  "build:cjs": "tsc -p tsconfig.json",
8
+ "build:docs": "yarn clean:docs && typedoc ./",
14
9
  "build:es": "tsc -p tsconfig.es.json",
15
- "build": "yarn build:cjs && yarn build:es",
16
- "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "clean": "yarn clean:dist && yarn clean:docs",
12
+ "clean:dist": "rimraf ./dist",
13
+ "clean:docs": "rimraf ./docs",
14
+ "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
15
+ "test": "yarn test:unit",
16
+ "test:unit": "mocha **/cjs/**/*.spec.js"
17
17
  },
18
18
  "main": "./dist/cjs/index.js",
19
19
  "types": "./dist/types/index.d.ts",
@@ -28,38 +28,38 @@
28
28
  "dependencies": {
29
29
  "@aws-crypto/sha256-browser": "^1.0.0",
30
30
  "@aws-crypto/sha256-js": "^1.0.0",
31
- "@aws-sdk/client-sts": "3.33.0",
32
- "@aws-sdk/config-resolver": "3.33.0",
33
- "@aws-sdk/credential-provider-node": "3.33.0",
34
- "@aws-sdk/fetch-http-handler": "3.32.0",
35
- "@aws-sdk/hash-node": "3.32.0",
36
- "@aws-sdk/invalid-dependency": "3.32.0",
37
- "@aws-sdk/middleware-content-length": "3.32.0",
38
- "@aws-sdk/middleware-host-header": "3.32.0",
39
- "@aws-sdk/middleware-logger": "3.32.0",
40
- "@aws-sdk/middleware-retry": "3.32.0",
41
- "@aws-sdk/middleware-serde": "3.32.0",
42
- "@aws-sdk/middleware-signing": "3.33.0",
43
- "@aws-sdk/middleware-stack": "3.32.0",
44
- "@aws-sdk/middleware-user-agent": "3.32.0",
45
- "@aws-sdk/node-config-provider": "3.32.0",
46
- "@aws-sdk/node-http-handler": "3.32.0",
47
- "@aws-sdk/protocol-http": "3.32.0",
48
- "@aws-sdk/smithy-client": "3.32.0",
49
- "@aws-sdk/types": "3.32.0",
50
- "@aws-sdk/url-parser": "3.32.0",
51
- "@aws-sdk/util-base64-browser": "3.32.0",
52
- "@aws-sdk/util-base64-node": "3.32.0",
53
- "@aws-sdk/util-body-length-browser": "3.32.0",
54
- "@aws-sdk/util-body-length-node": "3.32.0",
55
- "@aws-sdk/util-user-agent-browser": "3.32.0",
56
- "@aws-sdk/util-user-agent-node": "3.33.0",
57
- "@aws-sdk/util-utf8-browser": "3.32.0",
58
- "@aws-sdk/util-utf8-node": "3.32.0",
31
+ "@aws-sdk/client-sts": "3.34.0",
32
+ "@aws-sdk/config-resolver": "3.34.0",
33
+ "@aws-sdk/credential-provider-node": "3.34.0",
34
+ "@aws-sdk/fetch-http-handler": "3.34.0",
35
+ "@aws-sdk/hash-node": "3.34.0",
36
+ "@aws-sdk/invalid-dependency": "3.34.0",
37
+ "@aws-sdk/middleware-content-length": "3.34.0",
38
+ "@aws-sdk/middleware-host-header": "3.34.0",
39
+ "@aws-sdk/middleware-logger": "3.34.0",
40
+ "@aws-sdk/middleware-retry": "3.34.0",
41
+ "@aws-sdk/middleware-serde": "3.34.0",
42
+ "@aws-sdk/middleware-signing": "3.34.0",
43
+ "@aws-sdk/middleware-stack": "3.34.0",
44
+ "@aws-sdk/middleware-user-agent": "3.34.0",
45
+ "@aws-sdk/node-config-provider": "3.34.0",
46
+ "@aws-sdk/node-http-handler": "3.34.0",
47
+ "@aws-sdk/protocol-http": "3.34.0",
48
+ "@aws-sdk/smithy-client": "3.34.0",
49
+ "@aws-sdk/types": "3.34.0",
50
+ "@aws-sdk/url-parser": "3.34.0",
51
+ "@aws-sdk/util-base64-browser": "3.34.0",
52
+ "@aws-sdk/util-base64-node": "3.34.0",
53
+ "@aws-sdk/util-body-length-browser": "3.34.0",
54
+ "@aws-sdk/util-body-length-node": "3.34.0",
55
+ "@aws-sdk/util-user-agent-browser": "3.34.0",
56
+ "@aws-sdk/util-user-agent-node": "3.34.0",
57
+ "@aws-sdk/util-utf8-browser": "3.34.0",
58
+ "@aws-sdk/util-utf8-node": "3.34.0",
59
59
  "tslib": "^2.3.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.32.0",
62
+ "@aws-sdk/client-documentation-generator": "3.34.0",
63
63
  "@types/chai": "^4.2.11",
64
64
  "@types/mocha": "^8.0.4",
65
65
  "@types/node": "^12.7.5",
@@ -5,21 +5,7 @@ import { GetSessionCommand } from "./commands/GetSessionCommand";
5
5
  import { PostContentCommand } from "./commands/PostContentCommand";
6
6
  import { PostTextCommand } from "./commands/PostTextCommand";
7
7
  import { PutSessionCommand } from "./commands/PutSessionCommand";
8
- /**
9
- * <p>Amazon Lex provides both build and runtime endpoints. Each endpoint
10
- * provides a set of operations (API). Your conversational bot uses the
11
- * runtime API to understand user utterances (user input text or voice). For
12
- * example, suppose a user says "I want pizza", your bot sends this input to
13
- * Amazon Lex using the runtime API. Amazon Lex recognizes that the user
14
- * request is for the OrderPizza intent (one of the intents defined in the
15
- * bot). Then Amazon Lex engages in user conversation on behalf of the bot to
16
- * elicit required information (slot values, such as pizza size and crust
17
- * type), and then performs fulfillment activity (that you configured when
18
- * you created the bot). You use the build-time API to create and manage your
19
- * Amazon Lex bot. For a list of build-time operations, see the build-time
20
- * API, . </p>
21
- */
22
- var LexRuntimeService = /** @class */ (function (_super) {
8
+ var LexRuntimeService = (function (_super) {
23
9
  __extends(LexRuntimeService, _super);
24
10
  function LexRuntimeService() {
25
11
  return _super !== null && _super.apply(this, arguments) || this;
@@ -1 +1 @@
1
- {"version":3,"file":"LexRuntimeService.js","sourceRoot":"","sources":["../../LexRuntimeService.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EACL,oBAAoB,GAGrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAmD,MAAM,8BAA8B,CAAC;AAClH,OAAO,EAAE,kBAAkB,EAAqD,MAAM,+BAA+B,CAAC;AACtH,OAAO,EAAE,eAAe,EAA+C,MAAM,4BAA4B,CAAC;AAC1G,OAAO,EAAE,iBAAiB,EAAmD,MAAM,8BAA8B,CAAC;AAGlH;;;;;;;;;;;;;GAaG;AACH;IAAuC,qCAAuB;IAA9D;;IAqSA,CAAC;IAnRQ,yCAAa,GAApB,UACE,IAA+B,EAC/B,WAA4F,EAC5F,EAA0D;QAE1D,IAAM,OAAO,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC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,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC;QAC1C,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,iCAA+B,OAAO,WAAa,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;IAgBM,sCAAU,GAAjB,UACE,IAA4B,EAC5B,WAAyF,EACzF,EAAuD;QAEvD,IAAM,OAAO,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;QAC5C,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,iCAA+B,OAAO,WAAa,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;IACH,wBAAC;AAAD,CAAC,AArSD,CAAuC,uBAAuB,GAqS7D"}
@@ -1,5 +1,4 @@
1
1
  import { __awaiter, __generator } from "tslib";
2
- /// <reference types="mocha" />
3
2
  import { expect } from "chai";
4
3
  import { LexRuntimeService } from "./LexRuntimeService";
5
4
  describe("@aws-sdk/client-lex-runtime-service", function () {
@@ -10,7 +9,6 @@ describe("@aws-sdk/client-lex-runtime-service", function () {
10
9
  switch (_a.label) {
11
10
  case 0:
12
11
  validator = function (next) { return function (args) {
13
- // middleware intercept the request and return it early
14
12
  var request = args.request;
15
13
  expect(request.headers).to.have.property("x-amz-content-sha256", "UNSIGNED-PAYLOAD");
16
14
  return Promise.resolve({ output: {}, response: {} });
@@ -23,14 +21,14 @@ describe("@aws-sdk/client-lex-runtime-service", function () {
23
21
  name: "endpointValidator",
24
22
  priority: "low",
25
23
  });
26
- return [4 /*yield*/, client.postContent({
24
+ return [4, client.postContent({
27
25
  botAlias: "alias",
28
26
  botName: "bot",
29
27
  userId: "user",
30
28
  contentType: "text/plain; charset=utf-8",
31
29
  inputStream: "hello world!",
32
30
  })];
33
- case 1: return [2 /*return*/, _a.sent()];
31
+ case 1: return [2, _a.sent()];
34
32
  }
35
33
  });
36
34
  }); });
@@ -1 +1 @@
1
- {"version":3,"file":"LexRuntimeService.spec.js","sourceRoot":"","sources":["../../LexRuntimeService.spec.ts"],"names":[],"mappings":";AAAA,+BAA+B;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAIxD,QAAQ,CAAC,qCAAqC,EAAE;IAC9C,QAAQ,CAAC,aAAa,EAAE;QACtB,EAAE,CAAC,oDAAoD,EAAE;;;;;wBACjD,SAAS,GAAkC,UAAC,IAAI,IAAK,OAAA,UAAC,IAAI;4BAC9D,uDAAuD;4BACvD,IAAM,OAAO,GAAG,IAAI,CAAC,OAAsB,CAAC;4BAC5C,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAAC;4BACrF,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,EAAS,EAAE,QAAQ,EAAE,EAAS,EAAE,CAAC,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IAAI,iBAAiB,CAAC;4BACnC,MAAM,EAAE,WAAW;yBACpB,CAAC,CAAC;wBACH,MAAM,CAAC,eAAe,CAAC,GAAG,CAAC,SAAS,EAAE;4BACpC,IAAI,EAAE,WAAW;4BACjB,IAAI,EAAE,mBAAmB;4BACzB,QAAQ,EAAE,KAAK;yBAChB,CAAC,CAAC;wBACI,WAAM,MAAM,CAAC,WAAW,CAAC;gCAC9B,QAAQ,EAAE,OAAO;gCACjB,OAAO,EAAE,KAAK;gCACd,MAAM,EAAE,MAAM;gCACd,WAAW,EAAE,2BAA2B;gCACxC,WAAW,EAAE,cAAc;6BAC5B,CAAC,EAAA;4BANF,WAAO,SAML,EAAC;;;aACJ,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -8,21 +8,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <p>Amazon Lex provides both build and runtime endpoints. Each endpoint
13
- * provides a set of operations (API). Your conversational bot uses the
14
- * runtime API to understand user utterances (user input text or voice). For
15
- * example, suppose a user says "I want pizza", your bot sends this input to
16
- * Amazon Lex using the runtime API. Amazon Lex recognizes that the user
17
- * request is for the OrderPizza intent (one of the intents defined in the
18
- * bot). Then Amazon Lex engages in user conversation on behalf of the bot to
19
- * elicit required information (slot values, such as pizza size and crust
20
- * type), and then performs fulfillment activity (that you configured when
21
- * you created the bot). You use the build-time API to create and manage your
22
- * Amazon Lex bot. For a list of build-time operations, see the build-time
23
- * API, . </p>
24
- */
25
- var LexRuntimeServiceClient = /** @class */ (function (_super) {
11
+ var LexRuntimeServiceClient = (function (_super) {
26
12
  __extends(LexRuntimeServiceClient, _super);
27
13
  function LexRuntimeServiceClient(configuration) {
28
14
  var _this = this;
@@ -43,11 +29,6 @@ var LexRuntimeServiceClient = /** @class */ (function (_super) {
43
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
44
30
  return _this;
45
31
  }
46
- /**
47
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
48
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
49
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
50
- */
51
32
  LexRuntimeServiceClient.prototype.destroy = function () {
52
33
  _super.prototype.destroy.call(this);
53
34
  };
@@ -1 +1 @@
1
- {"version":3,"file":"LexRuntimeServiceClient.js","sourceRoot":"","sources":["../../LexRuntimeServiceClient.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,gBAAgB,IAAI,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAKL,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAGL,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAyC,cAAc,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACtH,OAAO,EAGL,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,MAAM,IAAI,QAAQ,GAGnB,MAAM,wBAAwB,CAAC;AAyKhC;;;;;;;;;;;;;GAaG;AACH;IAA6C,2CAK5C;IAMC,iCAAY,aAA4C;QAAxD,iBAgBC;QAfC,IAAI,SAAS,GAAG,kBAAkB,CAAC,aAAa,CAAC,CAAC;QAClD,IAAI,SAAS,GAAG,mBAAmB,CAAC,SAAS,CAAC,CAAC;QAC/C,IAAI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AG,CAAC,mBAAmB,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3D,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,eAAe,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACvD,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,gBAAgB,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACxD,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,kBAAkB,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;;IAC5D,CAAC;IAOD,yCAAO,GAAP;QACE,iBAAM,OAAO,WAAE,CAAC;IAClB,CAAC;IACH,8BAAC;AAAD,CAAC,AArCD,CAA6C,QAAQ,GAqCpD"}
@@ -3,39 +3,13 @@ import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0"
3
3
  import { deserializeAws_restJson1DeleteSessionCommand, serializeAws_restJson1DeleteSessionCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Removes session information for a specified bot, alias, and user ID.
8
- * </p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { LexRuntimeServiceClient, DeleteSessionCommand } from "@aws-sdk/client-lex-runtime-service"; // ES Modules import
13
- * // const { LexRuntimeServiceClient, DeleteSessionCommand } = require("@aws-sdk/client-lex-runtime-service"); // CommonJS import
14
- * const client = new LexRuntimeServiceClient(config);
15
- * const command = new DeleteSessionCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link DeleteSessionCommandInput} for command's `input` shape.
20
- * @see {@link DeleteSessionCommandOutput} for command's `response` shape.
21
- * @see {@link LexRuntimeServiceClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var DeleteSessionCommand = /** @class */ (function (_super) {
6
+ var DeleteSessionCommand = (function (_super) {
25
7
  __extends(DeleteSessionCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function DeleteSessionCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  DeleteSessionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteSessionCommand.js","sourceRoot":"","sources":["../../../commands/DeleteSessionCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;GAiBG;AACH;IAA0C,wCAIzC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,8BAAqB,KAAgC;QAArD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2B;;QAGnD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,gDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAm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AC;IAKD,gDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,oBAAoB,CAAC,kBAAkB;YAChE,wBAAwB,EAAE,qBAAqB,CAAC,kBAAkB;SACnE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,wCAAS,GAAjB,UAAkB,KAAgC,EAAE,OAAuB;QACzE,OAAO,0CAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,0CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}
@@ -3,39 +3,13 @@ import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
3
3
  import { deserializeAws_restJson1GetSessionCommand, serializeAws_restJson1GetSessionCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Returns session information for a specified bot, alias, and user
8
- * ID.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { LexRuntimeServiceClient, GetSessionCommand } from "@aws-sdk/client-lex-runtime-service"; // ES Modules import
13
- * // const { LexRuntimeServiceClient, GetSessionCommand } = require("@aws-sdk/client-lex-runtime-service"); // CommonJS import
14
- * const client = new LexRuntimeServiceClient(config);
15
- * const command = new GetSessionCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link GetSessionCommandInput} for command's `input` shape.
20
- * @see {@link GetSessionCommandOutput} for command's `response` shape.
21
- * @see {@link LexRuntimeServiceClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var GetSessionCommand = /** @class */ (function (_super) {
6
+ var GetSessionCommand = (function (_super) {
25
7
  __extends(GetSessionCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function GetSessionCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  GetSessionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"GetSessionCommand.js","sourceRoot":"","sources":["../../../commands/GetSessionCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;A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,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qCAAS,GAAjB,UAAkB,KAA6B,EAAE,OAAuB;QACtE,OAAO,uCAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,uCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,wBAAC;AAAD,CAAC,AAtDD,CAAuC,QAAQ,GAsD9C"}
@@ -3,114 +3,13 @@ import { PostContentRequest, PostContentResponse } from "../models/models_0";
3
3
  import { deserializeAws_restJson1PostContentCommand, serializeAws_restJson1PostContentCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p> Sends user input (text or speech) to Amazon Lex. Clients use this API to
8
- * send text and audio requests to Amazon Lex at runtime. Amazon Lex interprets the
9
- * user input using the machine learning model that it built for the bot. </p>
10
- * <p>The <code>PostContent</code> operation supports audio input at 8kHz
11
- * and 16kHz. You can use 8kHz audio to achieve higher speech recognition
12
- * accuracy in telephone audio applications. </p>
13
- * <p> In response, Amazon Lex returns the next message to convey to the user.
14
- * Consider the following example messages: </p>
15
- * <ul>
16
- * <li>
17
- * <p> For a user input "I would like a pizza," Amazon Lex might return a
18
- * response with a message eliciting slot data (for example,
19
- * <code>PizzaSize</code>): "What size pizza would you like?". </p>
20
- * </li>
21
- * <li>
22
- * <p> After the user provides all of the pizza order information, Amazon Lex
23
- * might return a response with a message to get user confirmation:
24
- * "Order the pizza?". </p>
25
- * </li>
26
- * <li>
27
- * <p> After the user replies "Yes" to the confirmation prompt, Amazon Lex
28
- * might return a conclusion statement: "Thank you, your cheese pizza has
29
- * been ordered.". </p>
30
- * </li>
31
- * </ul>
32
- * <p> Not all Amazon Lex messages require a response from the user. For example,
33
- * conclusion statements do not require a response. Some messages require
34
- * only a yes or no response. In addition to the <code>message</code>, Amazon Lex
35
- * provides additional context about the message in the response that you can
36
- * use to enhance client behavior, such as displaying the appropriate client
37
- * user interface. Consider the following examples: </p>
38
- * <ul>
39
- * <li>
40
- * <p> If the message is to elicit slot data, Amazon Lex returns the
41
- * following context information: </p>
42
- * <ul>
43
- * <li>
44
- * <p>
45
- * <code>x-amz-lex-dialog-state</code> header set to
46
- * <code>ElicitSlot</code>
47
- * </p>
48
- * </li>
49
- * <li>
50
- * <p>
51
- * <code>x-amz-lex-intent-name</code> header set to the intent name
52
- * in the current context </p>
53
- * </li>
54
- * <li>
55
- * <p>
56
- * <code>x-amz-lex-slot-to-elicit</code> header set to the slot name
57
- * for which the <code>message</code> is eliciting information
58
- * </p>
59
- * </li>
60
- * <li>
61
- * <p>
62
- * <code>x-amz-lex-slots</code> header set to a map of slots
63
- * configured for the intent with their current values </p>
64
- * </li>
65
- * </ul>
66
- * </li>
67
- * <li>
68
- * <p> If the message is a confirmation prompt, the
69
- * <code>x-amz-lex-dialog-state</code> header is set to
70
- * <code>Confirmation</code> and the
71
- * <code>x-amz-lex-slot-to-elicit</code> header is omitted. </p>
72
- * </li>
73
- * <li>
74
- * <p> If the message is a clarification prompt configured for the
75
- * intent, indicating that the user intent is not understood, the
76
- * <code>x-amz-dialog-state</code> header is set to
77
- * <code>ElicitIntent</code> and the <code>x-amz-slot-to-elicit</code>
78
- * header is omitted. </p>
79
- * </li>
80
- * </ul>
81
- * <p> In addition, Amazon Lex also returns your application-specific
82
- * <code>sessionAttributes</code>. For more information, see <a href="https://docs.aws.amazon.com/lex/latest/dg/context-mgmt.html">Managing
83
- * Conversation Context</a>. </p>
84
- * @example
85
- * Use a bare-bones client and the command you need to make an API call.
86
- * ```javascript
87
- * import { LexRuntimeServiceClient, PostContentCommand } from "@aws-sdk/client-lex-runtime-service"; // ES Modules import
88
- * // const { LexRuntimeServiceClient, PostContentCommand } = require("@aws-sdk/client-lex-runtime-service"); // CommonJS import
89
- * const client = new LexRuntimeServiceClient(config);
90
- * const command = new PostContentCommand(input);
91
- * const response = await client.send(command);
92
- * ```
93
- *
94
- * @see {@link PostContentCommandInput} for command's `input` shape.
95
- * @see {@link PostContentCommandOutput} for command's `response` shape.
96
- * @see {@link LexRuntimeServiceClientResolvedConfig | config} for command's `input` shape.
97
- *
98
- */
99
- var PostContentCommand = /** @class */ (function (_super) {
6
+ var PostContentCommand = (function (_super) {
100
7
  __extends(PostContentCommand, _super);
101
- // Start section: command_properties
102
- // End section: command_properties
103
8
  function PostContentCommand(input) {
104
- var _this =
105
- // Start section: command_constructor
106
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
107
10
  _this.input = input;
108
11
  return _this;
109
- // End section: command_constructor
110
12
  }
111
- /**
112
- * @internal
113
- */
114
13
  PostContentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
115
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
116
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"PostContentCommand.js","sourceRoot":"","sources":["../../../commands/PostContentCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAuB7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4FG;AACH;IAAwC,sCAIvC;IACC,oCAA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,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,wCAAwC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,0CAA0C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
@@ -3,113 +3,13 @@ import { PostTextRequest, PostTextResponse } from "../models/models_0";
3
3
  import { deserializeAws_restJson1PostTextCommand, serializeAws_restJson1PostTextCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Sends user input to Amazon Lex. Client applications can use this API to
8
- * send requests to Amazon Lex at runtime. Amazon Lex then interprets the user input
9
- * using the machine learning model it built for the bot. </p>
10
- * <p> In response, Amazon Lex returns the next <code>message</code> to convey to
11
- * the user an optional <code>responseCard</code> to display. Consider the
12
- * following example messages: </p>
13
- * <ul>
14
- * <li>
15
- * <p> For a user input "I would like a pizza", Amazon Lex might return a
16
- * response with a message eliciting slot data (for example, PizzaSize):
17
- * "What size pizza would you like?" </p>
18
- * </li>
19
- * <li>
20
- * <p> After the user provides all of the pizza order information,
21
- * Amazon Lex might return a response with a message to obtain user
22
- * confirmation "Proceed with the pizza order?". </p>
23
- * </li>
24
- * <li>
25
- * <p> After the user replies to a confirmation prompt with a "yes",
26
- * Amazon Lex might return a conclusion statement: "Thank you, your cheese
27
- * pizza has been ordered.". </p>
28
- * </li>
29
- * </ul>
30
- *
31
- * <p> Not all Amazon Lex messages require a user response. For example, a
32
- * conclusion statement does not require a response. Some messages require
33
- * only a "yes" or "no" user response. In addition to the
34
- * <code>message</code>, Amazon Lex provides additional context about the
35
- * message in the response that you might use to enhance client behavior, for
36
- * example, to display the appropriate client user interface. These are the
37
- * <code>slotToElicit</code>, <code>dialogState</code>,
38
- * <code>intentName</code>, and <code>slots</code> fields in the response.
39
- * Consider the following examples: </p>
40
- *
41
- * <ul>
42
- * <li>
43
- * <p>If the message is to elicit slot data, Amazon Lex returns the
44
- * following context information:</p>
45
- * <ul>
46
- * <li>
47
- * <p>
48
- * <code>dialogState</code> set to ElicitSlot </p>
49
- * </li>
50
- * <li>
51
- * <p>
52
- * <code>intentName</code> set to the intent name in the current
53
- * context </p>
54
- * </li>
55
- * <li>
56
- * <p>
57
- * <code>slotToElicit</code> set to the slot name for which the
58
- * <code>message</code> is eliciting information </p>
59
- * </li>
60
- * <li>
61
- * <p>
62
- * <code>slots</code> set to a map of slots, configured for the
63
- * intent, with currently known values </p>
64
- * </li>
65
- * </ul>
66
- * </li>
67
- * <li>
68
- * <p> If the message is a confirmation prompt, the
69
- * <code>dialogState</code> is set to ConfirmIntent and
70
- * <code>SlotToElicit</code> is set to null. </p>
71
- * </li>
72
- * <li>
73
- * <p>If the message is a clarification prompt (configured for the
74
- * intent) that indicates that user intent is not understood, the
75
- * <code>dialogState</code> is set to ElicitIntent and
76
- * <code>slotToElicit</code> is set to null. </p>
77
- * </li>
78
- * </ul>
79
- *
80
- * <p> In addition, Amazon Lex also returns your application-specific
81
- * <code>sessionAttributes</code>. For more information, see <a href="https://docs.aws.amazon.com/lex/latest/dg/context-mgmt.html">Managing
82
- * Conversation Context</a>. </p>
83
- * @example
84
- * Use a bare-bones client and the command you need to make an API call.
85
- * ```javascript
86
- * import { LexRuntimeServiceClient, PostTextCommand } from "@aws-sdk/client-lex-runtime-service"; // ES Modules import
87
- * // const { LexRuntimeServiceClient, PostTextCommand } = require("@aws-sdk/client-lex-runtime-service"); // CommonJS import
88
- * const client = new LexRuntimeServiceClient(config);
89
- * const command = new PostTextCommand(input);
90
- * const response = await client.send(command);
91
- * ```
92
- *
93
- * @see {@link PostTextCommandInput} for command's `input` shape.
94
- * @see {@link PostTextCommandOutput} for command's `response` shape.
95
- * @see {@link LexRuntimeServiceClientResolvedConfig | config} for command's `input` shape.
96
- *
97
- */
98
- var PostTextCommand = /** @class */ (function (_super) {
6
+ var PostTextCommand = (function (_super) {
99
7
  __extends(PostTextCommand, _super);
100
- // Start section: command_properties
101
- // End section: command_properties
102
8
  function PostTextCommand(input) {
103
- var _this =
104
- // Start section: command_constructor
105
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
106
10
  _this.input = input;
107
11
  return _this;
108
- // End section: command_constructor
109
12
  }
110
- /**
111
- * @internal
112
- */
113
13
  PostTextCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
114
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
115
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"PostTextCommand.js","sourceRoot":"","sources":["../../../commands/PostTextCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AACH;IAAqC,mCAIpC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,yBAAqB,KAA2B;QAAhD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAsB;;QAG9C,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,2CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CA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