@aws-sdk/client-healthlake 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
@@ -793,10 +793,10 @@ const paginateListFHIRImportJobs = core.createPaginator(HealthLakeClient, ListFH
793
793
  const checkState$3 = async (client, input) => {
794
794
  let reason;
795
795
  try {
796
- const result = await client.send(new DescribeFHIRDatastoreCommand(input));
796
+ let result = await client.send(new DescribeFHIRDatastoreCommand(input));
797
797
  reason = result;
798
798
  try {
799
- let returnComparator = () => {
799
+ const returnComparator = () => {
800
800
  return result.DatastoreProperties.DatastoreStatus;
801
801
  };
802
802
  if (returnComparator() === "ACTIVE") {
@@ -805,7 +805,7 @@ const checkState$3 = async (client, input) => {
805
805
  }
806
806
  catch (e) { }
807
807
  try {
808
- let returnComparator = () => {
808
+ const returnComparator = () => {
809
809
  return result.DatastoreProperties.DatastoreStatus;
810
810
  };
811
811
  if (returnComparator() === "CREATE_FAILED") {
@@ -814,7 +814,7 @@ const checkState$3 = async (client, input) => {
814
814
  }
815
815
  catch (e) { }
816
816
  try {
817
- let returnComparator = () => {
817
+ const returnComparator = () => {
818
818
  return result.DatastoreProperties.DatastoreStatus;
819
819
  };
820
820
  if (returnComparator() === "DELETED") {
@@ -841,10 +841,10 @@ const waitUntilFHIRDatastoreActive = async (params, input) => {
841
841
  const checkState$2 = async (client, input) => {
842
842
  let reason;
843
843
  try {
844
- const result = await client.send(new DescribeFHIRDatastoreCommand(input));
844
+ let result = await client.send(new DescribeFHIRDatastoreCommand(input));
845
845
  reason = result;
846
846
  try {
847
- let returnComparator = () => {
847
+ const returnComparator = () => {
848
848
  return result.DatastoreProperties.DatastoreStatus;
849
849
  };
850
850
  if (returnComparator() === "DELETED") {
@@ -871,10 +871,10 @@ const waitUntilFHIRDatastoreDeleted = async (params, input) => {
871
871
  const checkState$1 = async (client, input) => {
872
872
  let reason;
873
873
  try {
874
- const result = await client.send(new DescribeFHIRExportJobCommand(input));
874
+ let result = await client.send(new DescribeFHIRExportJobCommand(input));
875
875
  reason = result;
876
876
  try {
877
- let returnComparator = () => {
877
+ const returnComparator = () => {
878
878
  return result.ExportJobProperties.JobStatus;
879
879
  };
880
880
  if (returnComparator() === "COMPLETED") {
@@ -883,7 +883,7 @@ const checkState$1 = async (client, input) => {
883
883
  }
884
884
  catch (e) { }
885
885
  try {
886
- let returnComparator = () => {
886
+ const returnComparator = () => {
887
887
  return result.ExportJobProperties.JobStatus;
888
888
  };
889
889
  if (returnComparator() === "COMPLETED_WITH_ERRORS") {
@@ -892,7 +892,7 @@ const checkState$1 = async (client, input) => {
892
892
  }
893
893
  catch (e) { }
894
894
  try {
895
- let returnComparator = () => {
895
+ const returnComparator = () => {
896
896
  return result.ExportJobProperties.JobStatus;
897
897
  };
898
898
  if (returnComparator() === "CANCEL_COMPLETED") {
@@ -901,7 +901,7 @@ const checkState$1 = async (client, input) => {
901
901
  }
902
902
  catch (e) { }
903
903
  try {
904
- let returnComparator = () => {
904
+ const returnComparator = () => {
905
905
  return result.ExportJobProperties.JobStatus;
906
906
  };
907
907
  if (returnComparator() === "FAILED") {
@@ -910,7 +910,7 @@ const checkState$1 = async (client, input) => {
910
910
  }
911
911
  catch (e) { }
912
912
  try {
913
- let returnComparator = () => {
913
+ const returnComparator = () => {
914
914
  return result.ExportJobProperties.JobStatus;
915
915
  };
916
916
  if (returnComparator() === "CANCEL_FAILED") {
@@ -937,10 +937,10 @@ const waitUntilFHIRExportJobCompleted = async (params, input) => {
937
937
  const checkState = async (client, input) => {
938
938
  let reason;
939
939
  try {
940
- const result = await client.send(new DescribeFHIRImportJobCommand(input));
940
+ let result = await client.send(new DescribeFHIRImportJobCommand(input));
941
941
  reason = result;
942
942
  try {
943
- let returnComparator = () => {
943
+ const returnComparator = () => {
944
944
  return result.ImportJobProperties.JobStatus;
945
945
  };
946
946
  if (returnComparator() === "COMPLETED") {
@@ -949,7 +949,7 @@ const checkState = async (client, input) => {
949
949
  }
950
950
  catch (e) { }
951
951
  try {
952
- let returnComparator = () => {
952
+ const returnComparator = () => {
953
953
  return result.ImportJobProperties.JobStatus;
954
954
  };
955
955
  if (returnComparator() === "COMPLETED_WITH_ERRORS") {
@@ -958,7 +958,7 @@ const checkState = async (client, input) => {
958
958
  }
959
959
  catch (e) { }
960
960
  try {
961
- let returnComparator = () => {
961
+ const returnComparator = () => {
962
962
  return result.ImportJobProperties.JobStatus;
963
963
  };
964
964
  if (returnComparator() === "FAILED") {
@@ -3,10 +3,10 @@ import { DescribeFHIRDatastoreCommand, } from "../commands/DescribeFHIRDatastore
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeFHIRDatastoreCommand(input));
6
+ let result = await client.send(new DescribeFHIRDatastoreCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.DatastoreProperties.DatastoreStatus;
11
11
  };
12
12
  if (returnComparator() === "ACTIVE") {
@@ -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.DatastoreProperties.DatastoreStatus;
20
20
  };
21
21
  if (returnComparator() === "CREATE_FAILED") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.DatastoreProperties.DatastoreStatus;
29
29
  };
30
30
  if (returnComparator() === "DELETED") {
@@ -3,10 +3,10 @@ import { DescribeFHIRDatastoreCommand, } from "../commands/DescribeFHIRDatastore
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeFHIRDatastoreCommand(input));
6
+ let result = await client.send(new DescribeFHIRDatastoreCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.DatastoreProperties.DatastoreStatus;
11
11
  };
12
12
  if (returnComparator() === "DELETED") {
@@ -3,10 +3,10 @@ import { DescribeFHIRExportJobCommand, } from "../commands/DescribeFHIRExportJob
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeFHIRExportJobCommand(input));
6
+ let result = await client.send(new DescribeFHIRExportJobCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.ExportJobProperties.JobStatus;
11
11
  };
12
12
  if (returnComparator() === "COMPLETED") {
@@ -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.ExportJobProperties.JobStatus;
20
20
  };
21
21
  if (returnComparator() === "COMPLETED_WITH_ERRORS") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.ExportJobProperties.JobStatus;
29
29
  };
30
30
  if (returnComparator() === "CANCEL_COMPLETED") {
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
33
33
  }
34
34
  catch (e) { }
35
35
  try {
36
- let returnComparator = () => {
36
+ const returnComparator = () => {
37
37
  return result.ExportJobProperties.JobStatus;
38
38
  };
39
39
  if (returnComparator() === "FAILED") {
@@ -42,7 +42,7 @@ const checkState = async (client, input) => {
42
42
  }
43
43
  catch (e) { }
44
44
  try {
45
- let returnComparator = () => {
45
+ const returnComparator = () => {
46
46
  return result.ExportJobProperties.JobStatus;
47
47
  };
48
48
  if (returnComparator() === "CANCEL_FAILED") {
@@ -3,10 +3,10 @@ import { DescribeFHIRImportJobCommand, } from "../commands/DescribeFHIRImportJob
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeFHIRImportJobCommand(input));
6
+ let result = await client.send(new DescribeFHIRImportJobCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.ImportJobProperties.JobStatus;
11
11
  };
12
12
  if (returnComparator() === "COMPLETED") {
@@ -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.ImportJobProperties.JobStatus;
20
20
  };
21
21
  if (returnComparator() === "COMPLETED_WITH_ERRORS") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.ImportJobProperties.JobStatus;
29
29
  };
30
30
  if (returnComparator() === "FAILED") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-healthlake",
3
3
  "description": "AWS SDK for JavaScript Healthlake 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-healthlake",
@@ -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",