@aws-sdk/client-acm 3.958.0 → 3.964.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
@@ -1037,10 +1037,10 @@ const paginateListCertificates = core.createPaginator(ACMClient, ListCertificate
1037
1037
  const checkState = async (client, input) => {
1038
1038
  let reason;
1039
1039
  try {
1040
- const result = await client.send(new DescribeCertificateCommand(input));
1040
+ let result = await client.send(new DescribeCertificateCommand(input));
1041
1041
  reason = result;
1042
1042
  try {
1043
- let returnComparator = () => {
1043
+ const returnComparator = () => {
1044
1044
  let flat_1 = [].concat(...result.Certificate.DomainValidationOptions);
1045
1045
  let projection_3 = flat_1.map((element_2) => {
1046
1046
  return element_2.ValidationStatus;
@@ -1057,7 +1057,7 @@ const checkState = async (client, input) => {
1057
1057
  }
1058
1058
  catch (e) { }
1059
1059
  try {
1060
- let returnComparator = () => {
1060
+ const returnComparator = () => {
1061
1061
  let flat_1 = [].concat(...result.Certificate.DomainValidationOptions);
1062
1062
  let projection_3 = flat_1.map((element_2) => {
1063
1063
  return element_2.ValidationStatus;
@@ -1072,7 +1072,7 @@ const checkState = async (client, input) => {
1072
1072
  }
1073
1073
  catch (e) { }
1074
1074
  try {
1075
- let returnComparator = () => {
1075
+ const returnComparator = () => {
1076
1076
  return result.Certificate.Status;
1077
1077
  };
1078
1078
  if (returnComparator() === "FAILED") {
@@ -3,10 +3,10 @@ import { DescribeCertificateCommand } from "../commands/DescribeCertificateComma
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeCertificateCommand(input));
6
+ let result = await client.send(new DescribeCertificateCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.Certificate.DomainValidationOptions);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.ValidationStatus;
@@ -23,7 +23,7 @@ const checkState = async (client, input) => {
23
23
  }
24
24
  catch (e) { }
25
25
  try {
26
- let returnComparator = () => {
26
+ const returnComparator = () => {
27
27
  let flat_1 = [].concat(...result.Certificate.DomainValidationOptions);
28
28
  let projection_3 = flat_1.map((element_2) => {
29
29
  return element_2.ValidationStatus;
@@ -38,7 +38,7 @@ const checkState = async (client, input) => {
38
38
  }
39
39
  catch (e) { }
40
40
  try {
41
- let returnComparator = () => {
41
+ const returnComparator = () => {
42
42
  return result.Certificate.Status;
43
43
  };
44
44
  if (returnComparator() === "FAILED") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-acm",
3
3
  "description": "AWS SDK for JavaScript Acm Client for Node.js, Browser and React Native",
4
- "version": "3.958.0",
4
+ "version": "3.964.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-acm",
@@ -23,17 +23,17 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "3.957.0",
27
- "@aws-sdk/credential-provider-node": "3.958.0",
26
+ "@aws-sdk/core": "3.964.0",
27
+ "@aws-sdk/credential-provider-node": "3.964.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",
31
- "@aws-sdk/middleware-user-agent": "3.957.0",
31
+ "@aws-sdk/middleware-user-agent": "3.964.0",
32
32
  "@aws-sdk/region-config-resolver": "3.957.0",
33
33
  "@aws-sdk/types": "3.957.0",
34
34
  "@aws-sdk/util-endpoints": "3.957.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.957.0",
36
- "@aws-sdk/util-user-agent-node": "3.957.0",
36
+ "@aws-sdk/util-user-agent-node": "3.964.0",
37
37
  "@smithy/config-resolver": "^4.4.5",
38
38
  "@smithy/core": "^3.20.0",
39
39
  "@smithy/fetch-http-handler": "^5.3.8",