@aws-sdk/client-lex-runtime-service
Advanced tools
Comparing version 3.418.0 to 3.421.0
{ | ||
"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.418.0", | ||
"version": "3.421.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.418.0", | ||
"@aws-sdk/credential-provider-node": "3.418.0", | ||
"@aws-sdk/client-sts": "3.421.0", | ||
"@aws-sdk/credential-provider-node": "3.421.0", | ||
"@aws-sdk/middleware-host-header": "3.418.0", | ||
@@ -30,0 +30,0 @@ "@aws-sdk/middleware-logger": "3.418.0", |
@@ -37,7 +37,7 @@ <!-- generated file, do not edit directly --> | ||
To send a request, you only need to import the `LexRuntimeServiceClient` and | ||
the commands you need, for example `DeleteSessionCommand`: | ||
the commands you need, for example `GetSessionCommand`: | ||
```js | ||
// ES5 example | ||
const { LexRuntimeServiceClient, DeleteSessionCommand } = require("@aws-sdk/client-lex-runtime-service"); | ||
const { LexRuntimeServiceClient, GetSessionCommand } = require("@aws-sdk/client-lex-runtime-service"); | ||
``` | ||
@@ -47,3 +47,3 @@ | ||
// ES6+ example | ||
import { LexRuntimeServiceClient, DeleteSessionCommand } from "@aws-sdk/client-lex-runtime-service"; | ||
import { LexRuntimeServiceClient, GetSessionCommand } from "@aws-sdk/client-lex-runtime-service"; | ||
``` | ||
@@ -67,3 +67,3 @@ | ||
}; | ||
const command = new DeleteSessionCommand(params); | ||
const command = new GetSessionCommand(params); | ||
``` | ||
@@ -147,3 +147,3 @@ | ||
try { | ||
const data = await client.deleteSession(params); | ||
const data = await client.getSession(params); | ||
// process data. | ||
@@ -156,3 +156,3 @@ } catch (error) { | ||
client | ||
.deleteSession(params) | ||
.getSession(params) | ||
.then((data) => { | ||
@@ -166,3 +166,3 @@ // process data. | ||
// callbacks. | ||
client.deleteSession(params, (err, data) => { | ||
client.getSession(params, (err, data) => { | ||
// process err and data. | ||
@@ -169,0 +169,0 @@ }); |
348043
+ Added@aws-sdk/client-sso@3.421.0(transitive)
+ Added@aws-sdk/client-sts@3.421.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.421.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.421.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.421.0(transitive)
- Removed@aws-sdk/client-sso@3.418.0(transitive)
- Removed@aws-sdk/client-sts@3.418.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.418.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.418.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.418.0(transitive)
Updated@aws-sdk/client-sts@3.421.0