@aws-sdk/client-acm-pca 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
@@ -1396,10 +1396,10 @@ const paginateListTags = core.createPaginator(ACMPCAClient, ListTagsCommand, "Ne
1396
1396
  const checkState$2 = async (client, input) => {
1397
1397
  let reason;
1398
1398
  try {
1399
- const result = await client.send(new DescribeCertificateAuthorityAuditReportCommand(input));
1399
+ let result = await client.send(new DescribeCertificateAuthorityAuditReportCommand(input));
1400
1400
  reason = result;
1401
1401
  try {
1402
- let returnComparator = () => {
1402
+ const returnComparator = () => {
1403
1403
  return result.AuditReportStatus;
1404
1404
  };
1405
1405
  if (returnComparator() === "SUCCESS") {
@@ -1408,7 +1408,7 @@ const checkState$2 = async (client, input) => {
1408
1408
  }
1409
1409
  catch (e) { }
1410
1410
  try {
1411
- let returnComparator = () => {
1411
+ const returnComparator = () => {
1412
1412
  return result.AuditReportStatus;
1413
1413
  };
1414
1414
  if (returnComparator() === "FAILED") {
@@ -1438,7 +1438,7 @@ const waitUntilAuditReportCreated = async (params, input) => {
1438
1438
  const checkState$1 = async (client, input) => {
1439
1439
  let reason;
1440
1440
  try {
1441
- const result = await client.send(new GetCertificateCommand(input));
1441
+ let result = await client.send(new GetCertificateCommand(input));
1442
1442
  reason = result;
1443
1443
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
1444
1444
  }
@@ -1466,7 +1466,7 @@ const waitUntilCertificateIssued = async (params, input) => {
1466
1466
  const checkState = async (client, input) => {
1467
1467
  let reason;
1468
1468
  try {
1469
- const result = await client.send(new GetCertificateAuthorityCsrCommand(input));
1469
+ let result = await client.send(new GetCertificateAuthorityCsrCommand(input));
1470
1470
  reason = result;
1471
1471
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
1472
1472
  }
@@ -3,10 +3,10 @@ import { DescribeCertificateAuthorityAuditReportCommand, } from "../commands/Des
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeCertificateAuthorityAuditReportCommand(input));
6
+ let result = await client.send(new DescribeCertificateAuthorityAuditReportCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.AuditReportStatus;
11
11
  };
12
12
  if (returnComparator() === "SUCCESS") {
@@ -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.AuditReportStatus;
20
20
  };
21
21
  if (returnComparator() === "FAILED") {
@@ -3,7 +3,7 @@ import { GetCertificateAuthorityCsrCommand, } from "../commands/GetCertificateAu
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetCertificateAuthorityCsrCommand(input));
6
+ let result = await client.send(new GetCertificateAuthorityCsrCommand(input));
7
7
  reason = result;
8
8
  return { state: WaiterState.SUCCESS, reason };
9
9
  }
@@ -3,7 +3,7 @@ import { GetCertificateCommand } from "../commands/GetCertificateCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetCertificateCommand(input));
6
+ let result = await client.send(new GetCertificateCommand(input));
7
7
  reason = result;
8
8
  return { state: WaiterState.SUCCESS, reason };
9
9
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-acm-pca",
3
3
  "description": "AWS SDK for JavaScript Acm Pca 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-acm-pca",
@@ -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",