@aws-sdk/client-kinesis 3.958.0 → 3.962.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.
package/dist-cjs/index.js CHANGED
@@ -1868,10 +1868,10 @@ const paginateListStreams = core.createPaginator(KinesisClient, ListStreamsComma
1868
1868
  const checkState$1 = async (client, input) => {
1869
1869
  let reason;
1870
1870
  try {
1871
- const result = await client.send(new DescribeStreamCommand(input));
1871
+ let result = await client.send(new DescribeStreamCommand(input));
1872
1872
  reason = result;
1873
1873
  try {
1874
- let returnComparator = () => {
1874
+ const returnComparator = () => {
1875
1875
  return result.StreamDescription.StreamStatus;
1876
1876
  };
1877
1877
  if (returnComparator() === "ACTIVE") {
@@ -1898,7 +1898,7 @@ const waitUntilStreamExists = async (params, input) => {
1898
1898
  const checkState = async (client, input) => {
1899
1899
  let reason;
1900
1900
  try {
1901
- const result = await client.send(new DescribeStreamCommand(input));
1901
+ let result = await client.send(new DescribeStreamCommand(input));
1902
1902
  reason = result;
1903
1903
  }
1904
1904
  catch (exception) {
@@ -3,10 +3,10 @@ import { DescribeStreamCommand } from "../commands/DescribeStreamCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeStreamCommand(input));
6
+ let result = await client.send(new DescribeStreamCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.StreamDescription.StreamStatus;
11
11
  };
12
12
  if (returnComparator() === "ACTIVE") {
@@ -3,7 +3,7 @@ import { DescribeStreamCommand } from "../commands/DescribeStreamCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeStreamCommand(input));
6
+ let result = await client.send(new DescribeStreamCommand(input));
7
7
  reason = result;
8
8
  }
9
9
  catch (exception) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis",
3
3
  "description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
4
- "version": "3.958.0",
4
+ "version": "3.962.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-kinesis",
@@ -24,7 +24,7 @@
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
26
  "@aws-sdk/core": "3.957.0",
27
- "@aws-sdk/credential-provider-node": "3.958.0",
27
+ "@aws-sdk/credential-provider-node": "3.962.0",
28
28
  "@aws-sdk/middleware-host-header": "3.957.0",
29
29
  "@aws-sdk/middleware-logger": "3.957.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.957.0",