@aws-sdk/client-acm 3.299.0 → 3.301.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-types/commands/AddTagsToCertificateCommand.d.ts +9 -0
- package/dist-types/commands/DeleteCertificateCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCertificateCommand.d.ts +3 -0
- package/dist-types/commands/ExportCertificateCommand.d.ts +4 -0
- package/dist-types/commands/GetAccountConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetCertificateCommand.d.ts +3 -0
- package/dist-types/commands/ImportCertificateCommand.d.ts +12 -0
- package/dist-types/commands/ListCertificatesCommand.d.ts +20 -0
- package/dist-types/commands/ListTagsForCertificateCommand.d.ts +3 -0
- package/dist-types/commands/PutAccountConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/RemoveTagsFromCertificateCommand.d.ts +9 -0
- package/dist-types/commands/RenewCertificateCommand.d.ts +3 -0
- package/dist-types/commands/RequestCertificateCommand.d.ts +25 -0
- package/dist-types/commands/ResendValidationEmailCommand.d.ts +5 -0
- package/dist-types/commands/UpdateCertificateOptionsCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -39,6 +39,15 @@ export interface AddTagsToCertificateCommandOutput extends __MetadataBearer {
|
|
|
39
39
|
* import { ACMClient, AddTagsToCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
40
40
|
* // const { ACMClient, AddTagsToCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
41
41
|
* const client = new ACMClient(config);
|
|
42
|
+
* const input = { // AddTagsToCertificateRequest
|
|
43
|
+
* CertificateArn: "STRING_VALUE", // required
|
|
44
|
+
* Tags: [ // TagList // required
|
|
45
|
+
* { // Tag
|
|
46
|
+
* Key: "STRING_VALUE", // required
|
|
47
|
+
* Value: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* };
|
|
42
51
|
* const command = new AddTagsToCertificateCommand(input);
|
|
43
52
|
* const response = await client.send(command);
|
|
44
53
|
* ```
|
|
@@ -33,6 +33,9 @@ export interface DeleteCertificateCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* import { ACMClient, DeleteCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
34
34
|
* // const { ACMClient, DeleteCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
35
35
|
* const client = new ACMClient(config);
|
|
36
|
+
* const input = { // DeleteCertificateRequest
|
|
37
|
+
* CertificateArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
36
39
|
* const command = new DeleteCertificateCommand(input);
|
|
37
40
|
* const response = await client.send(command);
|
|
38
41
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DescribeCertificateCommandOutput extends DescribeCertificateRes
|
|
|
28
28
|
* import { ACMClient, DescribeCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
29
29
|
* // const { ACMClient, DescribeCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
30
30
|
* const client = new ACMClient(config);
|
|
31
|
+
* const input = { // DescribeCertificateRequest
|
|
32
|
+
* CertificateArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DescribeCertificateCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -32,6 +32,10 @@ export interface ExportCertificateCommandOutput extends ExportCertificateRespons
|
|
|
32
32
|
* import { ACMClient, ExportCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
33
33
|
* // const { ACMClient, ExportCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
34
34
|
* const client = new ACMClient(config);
|
|
35
|
+
* const input = { // ExportCertificateRequest
|
|
36
|
+
* CertificateArn: "STRING_VALUE", // required
|
|
37
|
+
* Passphrase: "BLOB_VALUE", // required
|
|
38
|
+
* };
|
|
35
39
|
* const command = new ExportCertificateCommand(input);
|
|
36
40
|
* const response = await client.send(command);
|
|
37
41
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface GetAccountConfigurationCommandOutput extends GetAccountConfigur
|
|
|
26
26
|
* import { ACMClient, GetAccountConfigurationCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
27
27
|
* // const { ACMClient, GetAccountConfigurationCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
28
28
|
* const client = new ACMClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new GetAccountConfigurationCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface GetCertificateCommandOutput extends GetCertificateResponse, __M
|
|
|
29
29
|
* import { ACMClient, GetCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
30
30
|
* // const { ACMClient, GetCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
31
31
|
* const client = new ACMClient(config);
|
|
32
|
+
* const input = { // GetCertificateRequest
|
|
33
|
+
* CertificateArn: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new GetCertificateCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -93,6 +93,18 @@ export interface ImportCertificateCommandOutput extends ImportCertificateRespons
|
|
|
93
93
|
* import { ACMClient, ImportCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
94
94
|
* // const { ACMClient, ImportCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
95
95
|
* const client = new ACMClient(config);
|
|
96
|
+
* const input = { // ImportCertificateRequest
|
|
97
|
+
* CertificateArn: "STRING_VALUE",
|
|
98
|
+
* Certificate: "BLOB_VALUE", // required
|
|
99
|
+
* PrivateKey: "BLOB_VALUE", // required
|
|
100
|
+
* CertificateChain: "BLOB_VALUE",
|
|
101
|
+
* Tags: [ // TagList
|
|
102
|
+
* { // Tag
|
|
103
|
+
* Key: "STRING_VALUE", // required
|
|
104
|
+
* Value: "STRING_VALUE",
|
|
105
|
+
* },
|
|
106
|
+
* ],
|
|
107
|
+
* };
|
|
96
108
|
* const command = new ImportCertificateCommand(input);
|
|
97
109
|
* const response = await client.send(command);
|
|
98
110
|
* ```
|
|
@@ -29,6 +29,26 @@ export interface ListCertificatesCommandOutput extends ListCertificatesResponse,
|
|
|
29
29
|
* import { ACMClient, ListCertificatesCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
30
30
|
* // const { ACMClient, ListCertificatesCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
31
31
|
* const client = new ACMClient(config);
|
|
32
|
+
* const input = { // ListCertificatesRequest
|
|
33
|
+
* CertificateStatuses: [ // CertificateStatuses
|
|
34
|
+
* "PENDING_VALIDATION" || "ISSUED" || "INACTIVE" || "EXPIRED" || "VALIDATION_TIMED_OUT" || "REVOKED" || "FAILED",
|
|
35
|
+
* ],
|
|
36
|
+
* Includes: { // Filters
|
|
37
|
+
* extendedKeyUsage: [ // ExtendedKeyUsageFilterList
|
|
38
|
+
* "TLS_WEB_SERVER_AUTHENTICATION" || "TLS_WEB_CLIENT_AUTHENTICATION" || "CODE_SIGNING" || "EMAIL_PROTECTION" || "TIME_STAMPING" || "OCSP_SIGNING" || "IPSEC_END_SYSTEM" || "IPSEC_TUNNEL" || "IPSEC_USER" || "ANY" || "NONE" || "CUSTOM",
|
|
39
|
+
* ],
|
|
40
|
+
* keyUsage: [ // KeyUsageFilterList
|
|
41
|
+
* "DIGITAL_SIGNATURE" || "NON_REPUDIATION" || "KEY_ENCIPHERMENT" || "DATA_ENCIPHERMENT" || "KEY_AGREEMENT" || "CERTIFICATE_SIGNING" || "CRL_SIGNING" || "ENCIPHER_ONLY" || "DECIPHER_ONLY" || "ANY" || "CUSTOM",
|
|
42
|
+
* ],
|
|
43
|
+
* keyTypes: [ // KeyAlgorithmList
|
|
44
|
+
* "RSA_1024" || "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* MaxItems: Number("int"),
|
|
49
|
+
* SortBy: "CREATED_AT",
|
|
50
|
+
* SortOrder: "ASCENDING" || "DESCENDING",
|
|
51
|
+
* };
|
|
32
52
|
* const command = new ListCertificatesCommand(input);
|
|
33
53
|
* const response = await client.send(command);
|
|
34
54
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface ListTagsForCertificateCommandOutput extends ListTagsForCertific
|
|
|
28
28
|
* import { ACMClient, ListTagsForCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
29
29
|
* // const { ACMClient, ListTagsForCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
30
30
|
* const client = new ACMClient(config);
|
|
31
|
+
* const input = { // ListTagsForCertificateRequest
|
|
32
|
+
* CertificateArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new ListTagsForCertificateCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -31,6 +31,12 @@ export interface PutAccountConfigurationCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { ACMClient, PutAccountConfigurationCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
32
32
|
* // const { ACMClient, PutAccountConfigurationCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
33
33
|
* const client = new ACMClient(config);
|
|
34
|
+
* const input = { // PutAccountConfigurationRequest
|
|
35
|
+
* ExpiryEvents: { // ExpiryEventsConfiguration
|
|
36
|
+
* DaysBeforeExpiry: Number("int"),
|
|
37
|
+
* },
|
|
38
|
+
* IdempotencyToken: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
34
40
|
* const command = new PutAccountConfigurationCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -31,6 +31,15 @@ export interface RemoveTagsFromCertificateCommandOutput extends __MetadataBearer
|
|
|
31
31
|
* import { ACMClient, RemoveTagsFromCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
32
32
|
* // const { ACMClient, RemoveTagsFromCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
33
33
|
* const client = new ACMClient(config);
|
|
34
|
+
* const input = { // RemoveTagsFromCertificateRequest
|
|
35
|
+
* CertificateArn: "STRING_VALUE", // required
|
|
36
|
+
* Tags: [ // TagList // required
|
|
37
|
+
* { // Tag
|
|
38
|
+
* Key: "STRING_VALUE", // required
|
|
39
|
+
* Value: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
34
43
|
* const command = new RemoveTagsFromCertificateCommand(input);
|
|
35
44
|
* const response = await client.send(command);
|
|
36
45
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface RenewCertificateCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* import { ACMClient, RenewCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
31
31
|
* // const { ACMClient, RenewCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
32
32
|
* const client = new ACMClient(config);
|
|
33
|
+
* const input = { // RenewCertificateRequest
|
|
34
|
+
* CertificateArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new RenewCertificateCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -41,6 +41,31 @@ export interface RequestCertificateCommandOutput extends RequestCertificateRespo
|
|
|
41
41
|
* import { ACMClient, RequestCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
42
42
|
* // const { ACMClient, RequestCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
43
43
|
* const client = new ACMClient(config);
|
|
44
|
+
* const input = { // RequestCertificateRequest
|
|
45
|
+
* DomainName: "STRING_VALUE", // required
|
|
46
|
+
* ValidationMethod: "EMAIL" || "DNS",
|
|
47
|
+
* SubjectAlternativeNames: [ // DomainList
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* IdempotencyToken: "STRING_VALUE",
|
|
51
|
+
* DomainValidationOptions: [ // DomainValidationOptionList
|
|
52
|
+
* { // DomainValidationOption
|
|
53
|
+
* DomainName: "STRING_VALUE", // required
|
|
54
|
+
* ValidationDomain: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* Options: { // CertificateOptions
|
|
58
|
+
* CertificateTransparencyLoggingPreference: "ENABLED" || "DISABLED",
|
|
59
|
+
* },
|
|
60
|
+
* CertificateAuthorityArn: "STRING_VALUE",
|
|
61
|
+
* Tags: [ // TagList
|
|
62
|
+
* { // Tag
|
|
63
|
+
* Key: "STRING_VALUE", // required
|
|
64
|
+
* Value: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* KeyAlgorithm: "RSA_1024" || "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1",
|
|
68
|
+
* };
|
|
44
69
|
* const command = new RequestCertificateCommand(input);
|
|
45
70
|
* const response = await client.send(command);
|
|
46
71
|
* ```
|
|
@@ -34,6 +34,11 @@ export interface ResendValidationEmailCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* import { ACMClient, ResendValidationEmailCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
35
35
|
* // const { ACMClient, ResendValidationEmailCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
36
36
|
* const client = new ACMClient(config);
|
|
37
|
+
* const input = { // ResendValidationEmailRequest
|
|
38
|
+
* CertificateArn: "STRING_VALUE", // required
|
|
39
|
+
* Domain: "STRING_VALUE", // required
|
|
40
|
+
* ValidationDomain: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
37
42
|
* const command = new ResendValidationEmailCommand(input);
|
|
38
43
|
* const response = await client.send(command);
|
|
39
44
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface UpdateCertificateOptionsCommandOutput extends __MetadataBearer
|
|
|
29
29
|
* import { ACMClient, UpdateCertificateOptionsCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
30
30
|
* // const { ACMClient, UpdateCertificateOptionsCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
31
31
|
* const client = new ACMClient(config);
|
|
32
|
+
* const input = { // UpdateCertificateOptionsRequest
|
|
33
|
+
* CertificateArn: "STRING_VALUE", // required
|
|
34
|
+
* Options: { // CertificateOptions
|
|
35
|
+
* CertificateTransparencyLoggingPreference: "ENABLED" || "DISABLED",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
32
38
|
* const command = new UpdateCertificateOptionsCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
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.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"@aws-sdk/util-waiter": "3.296.0",
|
|
57
57
|
"tslib": "^2.5.0"
|