@aws-sdk/client-acm 3.1037.0 → 3.1039.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 +1 -1
- package/dist-es/waiters/waitForCertificateValidated.js +1 -1
- package/dist-types/ACM.d.ts +1 -1
- package/dist-types/ts3.4/ACM.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForCertificateValidated.d.ts +9 -3
- package/dist-types/waiters/waitForCertificateValidated.d.ts +4 -3
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -371,7 +371,7 @@ const checkState = async (client, input) => {
|
|
|
371
371
|
}
|
|
372
372
|
catch (exception) {
|
|
373
373
|
reason = exception;
|
|
374
|
-
if (exception.name
|
|
374
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
375
375
|
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
376
376
|
}
|
|
377
377
|
}
|
|
@@ -49,7 +49,7 @@ const checkState = async (client, input) => {
|
|
|
49
49
|
}
|
|
50
50
|
catch (exception) {
|
|
51
51
|
reason = exception;
|
|
52
|
-
if (exception.name
|
|
52
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
53
53
|
return { state: WaiterState.FAILURE, reason };
|
|
54
54
|
}
|
|
55
55
|
}
|
package/dist-types/ACM.d.ts
CHANGED
|
@@ -143,7 +143,7 @@ export interface ACM {
|
|
|
143
143
|
* @param args - command input.
|
|
144
144
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
145
145
|
*/
|
|
146
|
-
waitUntilCertificateValidated(args: DescribeCertificateCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ACM>, "client">): Promise<WaiterResult
|
|
146
|
+
waitUntilCertificateValidated(args: DescribeCertificateCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ACM>, "client">): Promise<WaiterResult<DescribeCertificateCommandOutput>>;
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
149
|
* <fullname>Certificate Manager</fullname> <p>You can use Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites and applications. For more information about using ACM, see the <a href="https://docs.aws.amazon.com/acm/latest/userguide/">Certificate Manager User Guide</a>.</p>
|
|
@@ -321,6 +321,6 @@ export interface ACM {
|
|
|
321
321
|
WaiterConfiguration<ACM>,
|
|
322
322
|
Exclude<keyof WaiterConfiguration<ACM>, "client">
|
|
323
323
|
>
|
|
324
|
-
): Promise<WaiterResult
|
|
324
|
+
): Promise<WaiterResult<DescribeCertificateCommandOutput>>;
|
|
325
325
|
}
|
|
326
326
|
export declare class ACM extends ACMClient implements ACM {}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { ACMClient } from "../ACMClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
DescribeCertificateCommandInput,
|
|
5
|
+
DescribeCertificateCommandOutput,
|
|
6
|
+
} from "../commands/DescribeCertificateCommand";
|
|
7
|
+
import { ACMServiceException } from "../models/ACMServiceException";
|
|
4
8
|
export declare const waitForCertificateValidated: (
|
|
5
9
|
params: WaiterConfiguration<ACMClient>,
|
|
6
10
|
input: DescribeCertificateCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeCertificateCommandOutput | ACMServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilCertificateValidated: (
|
|
9
15
|
params: WaiterConfiguration<ACMClient>,
|
|
10
16
|
input: DescribeCertificateCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeCertificateCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { ACMClient } from "../ACMClient";
|
|
3
|
-
import { type DescribeCertificateCommandInput } from "../commands/DescribeCertificateCommand";
|
|
3
|
+
import { type DescribeCertificateCommandInput, type DescribeCertificateCommandOutput } from "../commands/DescribeCertificateCommand";
|
|
4
|
+
import type { ACMServiceException } from "../models/ACMServiceException";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilCertificateValidated instead. waitForCertificateValidated does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForCertificateValidated: (params: WaiterConfiguration<ACMClient>, input: DescribeCertificateCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForCertificateValidated: (params: WaiterConfiguration<ACMClient>, input: DescribeCertificateCommandInput) => Promise<WaiterResult<DescribeCertificateCommandOutput | ACMServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeCertificateCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilCertificateValidated: (params: WaiterConfiguration<ACMClient>, input: DescribeCertificateCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilCertificateValidated: (params: WaiterConfiguration<ACMClient>, input: DescribeCertificateCommandInput) => Promise<WaiterResult<DescribeCertificateCommandOutput>>;
|
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.
|
|
4
|
+
"version": "3.1039.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.974.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.974.7",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.38",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
29
29
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.37",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
33
33
|
"@aws-sdk/types": "^3.973.8",
|
|
34
34
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.973.23",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.17",
|
|
38
38
|
"@smithy/core": "^3.23.17",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
43
43
|
"@smithy/middleware-endpoint": "^4.4.32",
|
|
44
|
-
"@smithy/middleware-retry": "^4.5.
|
|
44
|
+
"@smithy/middleware-retry": "^4.5.7",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.20",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.14",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.14",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
58
58
|
"@smithy/util-endpoints": "^3.4.2",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.14",
|
|
60
|
-
"@smithy/util-retry": "^4.3.
|
|
60
|
+
"@smithy/util-retry": "^4.3.6",
|
|
61
61
|
"@smithy/util-utf8": "^4.2.2",
|
|
62
|
-
"@smithy/util-waiter": "^4.
|
|
62
|
+
"@smithy/util-waiter": "^4.3.0",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|