@aws-sdk/client-groundstation 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
@@ -1945,10 +1945,10 @@ const paginateListSatellites = core.createPaginator(GroundStationClient, ListSat
1945
1945
  const checkState = async (client, input) => {
1946
1946
  let reason;
1947
1947
  try {
1948
- const result = await client.send(new DescribeContactCommand(input));
1948
+ let result = await client.send(new DescribeContactCommand(input));
1949
1949
  reason = result;
1950
1950
  try {
1951
- let returnComparator = () => {
1951
+ const returnComparator = () => {
1952
1952
  return result.contactStatus;
1953
1953
  };
1954
1954
  if (returnComparator() === "FAILED_TO_SCHEDULE") {
@@ -1957,7 +1957,7 @@ const checkState = async (client, input) => {
1957
1957
  }
1958
1958
  catch (e) { }
1959
1959
  try {
1960
- let returnComparator = () => {
1960
+ const returnComparator = () => {
1961
1961
  return result.contactStatus;
1962
1962
  };
1963
1963
  if (returnComparator() === "SCHEDULED") {
@@ -3,10 +3,10 @@ import { DescribeContactCommand } from "../commands/DescribeContactCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeContactCommand(input));
6
+ let result = await client.send(new DescribeContactCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.contactStatus;
11
11
  };
12
12
  if (returnComparator() === "FAILED_TO_SCHEDULE") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.contactStatus;
20
20
  };
21
21
  if (returnComparator() === "SCHEDULED") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-groundstation",
3
3
  "description": "AWS SDK for JavaScript Groundstation 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-groundstation",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.957.0",
25
- "@aws-sdk/credential-provider-node": "3.958.0",
25
+ "@aws-sdk/credential-provider-node": "3.962.0",
26
26
  "@aws-sdk/middleware-host-header": "3.957.0",
27
27
  "@aws-sdk/middleware-logger": "3.957.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.957.0",