@aws-sdk/client-acm 3.490.0 → 3.495.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/ACM.js +1 -41
- package/dist-cjs/ACMClient.js +1 -43
- package/dist-cjs/commands/AddTagsToCertificateCommand.js +1 -28
- package/dist-cjs/commands/DeleteCertificateCommand.js +1 -28
- package/dist-cjs/commands/DescribeCertificateCommand.js +1 -28
- package/dist-cjs/commands/ExportCertificateCommand.js +1 -29
- package/dist-cjs/commands/GetAccountConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetCertificateCommand.js +1 -28
- package/dist-cjs/commands/ImportCertificateCommand.js +1 -29
- package/dist-cjs/commands/ListCertificatesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForCertificateCommand.js +1 -28
- package/dist-cjs/commands/PutAccountConfigurationCommand.js +1 -28
- package/dist-cjs/commands/RemoveTagsFromCertificateCommand.js +1 -28
- package/dist-cjs/commands/RenewCertificateCommand.js +1 -28
- package/dist-cjs/commands/RequestCertificateCommand.js +1 -28
- package/dist-cjs/commands/ResendValidationEmailCommand.js +1 -28
- package/dist-cjs/commands/UpdateCertificateOptionsCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -18
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1998 -12
- package/dist-cjs/models/ACMServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -343
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListCertificatesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -5
- package/dist-cjs/protocols/Aws_json1_1.js +1 -1033
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-cjs/waiters/index.js +1 -4
- package/dist-cjs/waiters/waitForCertificateValidated.js +1 -71
- package/package.json +41 -41
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
5
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const asPartial = (t) => t;
|
|
8
|
-
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
9
|
-
const extensionConfiguration = {
|
|
10
|
-
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
11
|
-
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
12
|
-
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
13
|
-
};
|
|
14
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
15
|
-
return {
|
|
16
|
-
...runtimeConfig,
|
|
17
|
-
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
18
|
-
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
19
|
-
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -1,71 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilCertificateValidated = exports.waitForCertificateValidated = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribeCertificateCommand_1 = require("../commands/DescribeCertificateCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribeCertificateCommand_1.DescribeCertificateCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
try {
|
|
12
|
-
const returnComparator = () => {
|
|
13
|
-
const flat_1 = [].concat(...result.Certificate.DomainValidationOptions);
|
|
14
|
-
const projection_3 = flat_1.map((element_2) => {
|
|
15
|
-
return element_2.ValidationStatus;
|
|
16
|
-
});
|
|
17
|
-
return projection_3;
|
|
18
|
-
};
|
|
19
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
20
|
-
for (const element_4 of returnComparator()) {
|
|
21
|
-
allStringEq_5 = allStringEq_5 && element_4 == "SUCCESS";
|
|
22
|
-
}
|
|
23
|
-
if (allStringEq_5) {
|
|
24
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
catch (e) { }
|
|
28
|
-
try {
|
|
29
|
-
const returnComparator = () => {
|
|
30
|
-
const flat_1 = [].concat(...result.Certificate.DomainValidationOptions);
|
|
31
|
-
const projection_3 = flat_1.map((element_2) => {
|
|
32
|
-
return element_2.ValidationStatus;
|
|
33
|
-
});
|
|
34
|
-
return projection_3;
|
|
35
|
-
};
|
|
36
|
-
for (const anyStringEq_4 of returnComparator()) {
|
|
37
|
-
if (anyStringEq_4 == "PENDING_VALIDATION") {
|
|
38
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
catch (e) { }
|
|
43
|
-
try {
|
|
44
|
-
const returnComparator = () => {
|
|
45
|
-
return result.Certificate.Status;
|
|
46
|
-
};
|
|
47
|
-
if (returnComparator() === "FAILED") {
|
|
48
|
-
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
catch (e) { }
|
|
52
|
-
}
|
|
53
|
-
catch (exception) {
|
|
54
|
-
reason = exception;
|
|
55
|
-
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
56
|
-
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
60
|
-
};
|
|
61
|
-
const waitForCertificateValidated = async (params, input) => {
|
|
62
|
-
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
63
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
64
|
-
};
|
|
65
|
-
exports.waitForCertificateValidated = waitForCertificateValidated;
|
|
66
|
-
const waitUntilCertificateValidated = async (params, input) => {
|
|
67
|
-
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
68
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
69
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
70
|
-
};
|
|
71
|
-
exports.waitUntilCertificateValidated = waitUntilCertificateValidated;
|
|
1
|
+
module.exports = require("../index.js");
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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.495.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-acm",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -20,48 +20,48 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0
|
|
37
|
-
"@smithy/core": "^1.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.
|
|
39
|
-
"@smithy/hash-node": "^2.0
|
|
40
|
-
"@smithy/invalid-dependency": "^2.0
|
|
41
|
-
"@smithy/middleware-content-length": "^2.0
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.
|
|
43
|
-
"@smithy/middleware-retry": "^2.0
|
|
44
|
-
"@smithy/middleware-serde": "^2.0
|
|
45
|
-
"@smithy/middleware-stack": "^2.0
|
|
46
|
-
"@smithy/node-config-provider": "^2.
|
|
47
|
-
"@smithy/node-http-handler": "^2.
|
|
48
|
-
"@smithy/protocol-http": "^3.0
|
|
49
|
-
"@smithy/smithy-client": "^2.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.0
|
|
52
|
-
"@smithy/util-base64": "^2.0
|
|
53
|
-
"@smithy/util-body-length-browser": "^2.0
|
|
54
|
-
"@smithy/util-body-length-node": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0
|
|
57
|
-
"@smithy/util-endpoints": "^1.0
|
|
58
|
-
"@smithy/util-retry": "^2.0
|
|
59
|
-
"@smithy/util-utf8": "^2.0
|
|
60
|
-
"@smithy/util-waiter": "^2.0
|
|
23
|
+
"@aws-sdk/client-sts": "3.495.0",
|
|
24
|
+
"@aws-sdk/core": "3.495.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.495.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.495.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.495.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.495.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.495.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.495.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.495.0",
|
|
32
|
+
"@aws-sdk/types": "3.495.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.495.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.495.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.495.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.1.0",
|
|
37
|
+
"@smithy/core": "^1.3.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.4.0",
|
|
39
|
+
"@smithy/hash-node": "^2.1.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.1.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.1.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.4.0",
|
|
43
|
+
"@smithy/middleware-retry": "^2.1.0",
|
|
44
|
+
"@smithy/middleware-serde": "^2.1.0",
|
|
45
|
+
"@smithy/middleware-stack": "^2.1.0",
|
|
46
|
+
"@smithy/node-config-provider": "^2.2.0",
|
|
47
|
+
"@smithy/node-http-handler": "^2.3.0",
|
|
48
|
+
"@smithy/protocol-http": "^3.1.0",
|
|
49
|
+
"@smithy/smithy-client": "^2.3.0",
|
|
50
|
+
"@smithy/types": "^2.9.0",
|
|
51
|
+
"@smithy/url-parser": "^2.1.0",
|
|
52
|
+
"@smithy/util-base64": "^2.1.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^2.1.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.1.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.1.0",
|
|
57
|
+
"@smithy/util-endpoints": "^1.1.0",
|
|
58
|
+
"@smithy/util-retry": "^2.1.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.1.0",
|
|
60
|
+
"@smithy/util-waiter": "^2.1.0",
|
|
61
61
|
"tslib": "^2.5.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
64
|
+
"@smithy/service-client-documentation-generator": "^2.1.0",
|
|
65
65
|
"@tsconfig/node14": "1.0.3",
|
|
66
66
|
"@types/node": "^14.14.31",
|
|
67
67
|
"concurrently": "7.0.0",
|