@aws-sdk/client-acm 3.830.0 → 3.835.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.
Files changed (37) hide show
  1. package/README.md +9 -4
  2. package/dist-cjs/index.js +44 -0
  3. package/dist-es/ACM.js +2 -0
  4. package/dist-es/commands/RevokeCertificateCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_0.js +4 -0
  7. package/dist-es/protocols/Aws_json1_1.js +20 -0
  8. package/dist-types/ACM.d.ts +8 -3
  9. package/dist-types/ACMClient.d.ts +4 -5
  10. package/dist-types/commands/AddTagsToCertificateCommand.d.ts +3 -18
  11. package/dist-types/commands/DeleteCertificateCommand.d.ts +4 -14
  12. package/dist-types/commands/DescribeCertificateCommand.d.ts +3 -5
  13. package/dist-types/commands/ExportCertificateCommand.d.ts +3 -11
  14. package/dist-types/commands/GetCertificateCommand.d.ts +3 -10
  15. package/dist-types/commands/ImportCertificateCommand.d.ts +3 -64
  16. package/dist-types/commands/ListCertificatesCommand.d.ts +4 -5
  17. package/dist-types/commands/ListTagsForCertificateCommand.d.ts +2 -5
  18. package/dist-types/commands/PutAccountConfigurationCommand.d.ts +2 -8
  19. package/dist-types/commands/RemoveTagsFromCertificateCommand.d.ts +3 -10
  20. package/dist-types/commands/RenewCertificateCommand.d.ts +3 -9
  21. package/dist-types/commands/RequestCertificateCommand.d.ts +4 -20
  22. package/dist-types/commands/ResendValidationEmailCommand.d.ts +3 -13
  23. package/dist-types/commands/RevokeCertificateCommand.d.ts +91 -0
  24. package/dist-types/commands/UpdateCertificateOptionsCommand.d.ts +3 -6
  25. package/dist-types/commands/index.d.ts +1 -0
  26. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  27. package/dist-types/index.d.ts +1 -3
  28. package/dist-types/models/models_0.d.ts +148 -492
  29. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  30. package/dist-types/ts3.4/ACM.d.ts +17 -0
  31. package/dist-types/ts3.4/ACMClient.d.ts +6 -0
  32. package/dist-types/ts3.4/commands/RevokeCertificateCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  34. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  35. package/dist-types/ts3.4/models/models_0.d.ts +16 -0
  36. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  37. package/package.json +11 -11
package/README.md CHANGED
@@ -6,10 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript ACM Client for Node.js, Browser and React Native.
8
8
 
9
- <fullname>Certificate Manager</fullname>
10
-
11
- <p>You can use Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites
12
- 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>
9
+ <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>
13
10
 
14
11
  ## Installing
15
12
 
@@ -317,6 +314,14 @@ ResendValidationEmail
317
314
 
318
315
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/acm/command/ResendValidationEmailCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-acm/Interface/ResendValidationEmailCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-acm/Interface/ResendValidationEmailCommandOutput/)
319
316
 
317
+ </details>
318
+ <details>
319
+ <summary>
320
+ RevokeCertificate
321
+ </summary>
322
+
323
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/acm/command/RevokeCertificateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-acm/Interface/RevokeCertificateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-acm/Interface/RevokeCertificateCommandOutput/)
324
+
320
325
  </details>
321
326
  <details>
322
327
  <summary>
package/dist-cjs/index.js CHANGED
@@ -26,6 +26,7 @@ __export(index_exports, {
26
26
  ACMServiceException: () => ACMServiceException,
27
27
  AccessDeniedException: () => AccessDeniedException,
28
28
  AddTagsToCertificateCommand: () => AddTagsToCertificateCommand,
29
+ CertificateExport: () => CertificateExport,
29
30
  CertificateManagedBy: () => CertificateManagedBy,
30
31
  CertificateStatus: () => CertificateStatus,
31
32
  CertificateTransparencyLoggingPreference: () => CertificateTransparencyLoggingPreference,
@@ -66,6 +67,7 @@ __export(index_exports, {
66
67
  ResourceInUseException: () => ResourceInUseException,
67
68
  ResourceNotFoundException: () => ResourceNotFoundException,
68
69
  RevocationReason: () => RevocationReason,
70
+ RevokeCertificateCommand: () => RevokeCertificateCommand,
69
71
  SortBy: () => SortBy,
70
72
  SortOrder: () => SortOrder,
71
73
  TagPolicyException: () => TagPolicyException,
@@ -473,6 +475,10 @@ var CertificateTransparencyLoggingPreference = {
473
475
  DISABLED: "DISABLED",
474
476
  ENABLED: "ENABLED"
475
477
  };
478
+ var CertificateExport = {
479
+ DISABLED: "DISABLED",
480
+ ENABLED: "ENABLED"
481
+ };
476
482
  var RenewalEligibility = {
477
483
  ELIGIBLE: "ELIGIBLE",
478
484
  INELIGIBLE: "INELIGIBLE"
@@ -758,6 +764,12 @@ var se_ResendValidationEmailCommand = /* @__PURE__ */ __name(async (input, conte
758
764
  body = JSON.stringify((0, import_smithy_client._json)(input));
759
765
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
760
766
  }, "se_ResendValidationEmailCommand");
767
+ var se_RevokeCertificateCommand = /* @__PURE__ */ __name(async (input, context) => {
768
+ const headers = sharedHeaders("RevokeCertificate");
769
+ let body;
770
+ body = JSON.stringify((0, import_smithy_client._json)(input));
771
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
772
+ }, "se_RevokeCertificateCommand");
761
773
  var se_UpdateCertificateOptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
762
774
  const headers = sharedHeaders("UpdateCertificateOptions");
763
775
  let body;
@@ -928,6 +940,19 @@ var de_ResendValidationEmailCommand = /* @__PURE__ */ __name(async (output, cont
928
940
  };
929
941
  return response;
930
942
  }, "de_ResendValidationEmailCommand");
943
+ var de_RevokeCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
944
+ if (output.statusCode >= 300) {
945
+ return de_CommandError(output, context);
946
+ }
947
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
948
+ let contents = {};
949
+ contents = (0, import_smithy_client._json)(data);
950
+ const response = {
951
+ $metadata: deserializeMetadata(output),
952
+ ...contents
953
+ };
954
+ return response;
955
+ }, "de_RevokeCertificateCommand");
931
956
  var de_UpdateCertificateOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
932
957
  if (output.statusCode >= 300) {
933
958
  return de_CommandError(output, context);
@@ -1197,6 +1222,7 @@ var de_CertificateSummary = /* @__PURE__ */ __name((output, context) => {
1197
1222
  CertificateArn: import_smithy_client.expectString,
1198
1223
  CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1199
1224
  DomainName: import_smithy_client.expectString,
1225
+ ExportOption: import_smithy_client.expectString,
1200
1226
  Exported: import_smithy_client.expectBoolean,
1201
1227
  ExtendedKeyUsages: import_smithy_client._json,
1202
1228
  HasAdditionalSubjectAlternativeNames: import_smithy_client.expectBoolean,
@@ -1480,6 +1506,21 @@ var ResendValidationEmailCommand = class extends import_smithy_client.Command.cl
1480
1506
  }
1481
1507
  };
1482
1508
 
1509
+ // src/commands/RevokeCertificateCommand.ts
1510
+
1511
+
1512
+
1513
+ var RevokeCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1514
+ return [
1515
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1516
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1517
+ ];
1518
+ }).s("CertificateManager", "RevokeCertificate", {}).n("ACMClient", "RevokeCertificateCommand").f(void 0, void 0).ser(se_RevokeCertificateCommand).de(de_RevokeCertificateCommand).build() {
1519
+ static {
1520
+ __name(this, "RevokeCertificateCommand");
1521
+ }
1522
+ };
1523
+
1483
1524
  // src/commands/UpdateCertificateOptionsCommand.ts
1484
1525
 
1485
1526
 
@@ -1511,6 +1552,7 @@ var commands = {
1511
1552
  RenewCertificateCommand,
1512
1553
  RequestCertificateCommand,
1513
1554
  ResendValidationEmailCommand,
1555
+ RevokeCertificateCommand,
1514
1556
  UpdateCertificateOptionsCommand
1515
1557
  };
1516
1558
  var ACM = class extends ACMClient {
@@ -1611,6 +1653,7 @@ var waitUntilCertificateValidated = /* @__PURE__ */ __name(async (params, input)
1611
1653
  RenewCertificateCommand,
1612
1654
  RequestCertificateCommand,
1613
1655
  ResendValidationEmailCommand,
1656
+ RevokeCertificateCommand,
1614
1657
  UpdateCertificateOptionsCommand,
1615
1658
  paginateListCertificates,
1616
1659
  waitForCertificateValidated,
@@ -1632,6 +1675,7 @@ var waitUntilCertificateValidated = /* @__PURE__ */ __name(async (params, input)
1632
1675
  KeyUsageName,
1633
1676
  CertificateManagedBy,
1634
1677
  CertificateTransparencyLoggingPreference,
1678
+ CertificateExport,
1635
1679
  RenewalEligibility,
1636
1680
  RenewalStatus,
1637
1681
  RevocationReason,
package/dist-es/ACM.js CHANGED
@@ -14,6 +14,7 @@ import { RemoveTagsFromCertificateCommand, } from "./commands/RemoveTagsFromCert
14
14
  import { RenewCertificateCommand, } from "./commands/RenewCertificateCommand";
15
15
  import { RequestCertificateCommand, } from "./commands/RequestCertificateCommand";
16
16
  import { ResendValidationEmailCommand, } from "./commands/ResendValidationEmailCommand";
17
+ import { RevokeCertificateCommand, } from "./commands/RevokeCertificateCommand";
17
18
  import { UpdateCertificateOptionsCommand, } from "./commands/UpdateCertificateOptionsCommand";
18
19
  const commands = {
19
20
  AddTagsToCertificateCommand,
@@ -30,6 +31,7 @@ const commands = {
30
31
  RenewCertificateCommand,
31
32
  RequestCertificateCommand,
32
33
  ResendValidationEmailCommand,
34
+ RevokeCertificateCommand,
33
35
  UpdateCertificateOptionsCommand,
34
36
  };
35
37
  export class ACM extends ACMClient {
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_RevokeCertificateCommand, se_RevokeCertificateCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class RevokeCertificateCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("CertificateManager", "RevokeCertificate", {})
17
+ .n("ACMClient", "RevokeCertificateCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_RevokeCertificateCommand)
20
+ .de(de_RevokeCertificateCommand)
21
+ .build() {
22
+ }
@@ -12,4 +12,5 @@ export * from "./RemoveTagsFromCertificateCommand";
12
12
  export * from "./RenewCertificateCommand";
13
13
  export * from "./RequestCertificateCommand";
14
14
  export * from "./ResendValidationEmailCommand";
15
+ export * from "./RevokeCertificateCommand";
15
16
  export * from "./UpdateCertificateOptionsCommand";
@@ -173,6 +173,10 @@ export const CertificateTransparencyLoggingPreference = {
173
173
  DISABLED: "DISABLED",
174
174
  ENABLED: "ENABLED",
175
175
  };
176
+ export const CertificateExport = {
177
+ DISABLED: "DISABLED",
178
+ ENABLED: "ENABLED",
179
+ };
176
180
  export const RenewalEligibility = {
177
181
  ELIGIBLE: "ELIGIBLE",
178
182
  INELIGIBLE: "INELIGIBLE",
@@ -86,6 +86,12 @@ export const se_ResendValidationEmailCommand = async (input, context) => {
86
86
  body = JSON.stringify(_json(input));
87
87
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
88
88
  };
89
+ export const se_RevokeCertificateCommand = async (input, context) => {
90
+ const headers = sharedHeaders("RevokeCertificate");
91
+ let body;
92
+ body = JSON.stringify(_json(input));
93
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
94
+ };
89
95
  export const se_UpdateCertificateOptionsCommand = async (input, context) => {
90
96
  const headers = sharedHeaders("UpdateCertificateOptions");
91
97
  let body;
@@ -256,6 +262,19 @@ export const de_ResendValidationEmailCommand = async (output, context) => {
256
262
  };
257
263
  return response;
258
264
  };
265
+ export const de_RevokeCertificateCommand = async (output, context) => {
266
+ if (output.statusCode >= 300) {
267
+ return de_CommandError(output, context);
268
+ }
269
+ const data = await parseBody(output.body, context);
270
+ let contents = {};
271
+ contents = _json(data);
272
+ const response = {
273
+ $metadata: deserializeMetadata(output),
274
+ ...contents,
275
+ };
276
+ return response;
277
+ };
259
278
  export const de_UpdateCertificateOptionsCommand = async (output, context) => {
260
279
  if (output.statusCode >= 300) {
261
280
  return de_CommandError(output, context);
@@ -525,6 +544,7 @@ const de_CertificateSummary = (output, context) => {
525
544
  CertificateArn: __expectString,
526
545
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
527
546
  DomainName: __expectString,
547
+ ExportOption: __expectString,
528
548
  Exported: __expectBoolean,
529
549
  ExtendedKeyUsages: _json,
530
550
  HasAdditionalSubjectAlternativeNames: __expectBoolean,
@@ -14,6 +14,7 @@ import { RemoveTagsFromCertificateCommandInput, RemoveTagsFromCertificateCommand
14
14
  import { RenewCertificateCommandInput, RenewCertificateCommandOutput } from "./commands/RenewCertificateCommand";
15
15
  import { RequestCertificateCommandInput, RequestCertificateCommandOutput } from "./commands/RequestCertificateCommand";
16
16
  import { ResendValidationEmailCommandInput, ResendValidationEmailCommandOutput } from "./commands/ResendValidationEmailCommand";
17
+ import { RevokeCertificateCommandInput, RevokeCertificateCommandOutput } from "./commands/RevokeCertificateCommand";
17
18
  import { UpdateCertificateOptionsCommandInput, UpdateCertificateOptionsCommandOutput } from "./commands/UpdateCertificateOptionsCommand";
18
19
  export interface ACM {
19
20
  /**
@@ -102,6 +103,12 @@ export interface ACM {
102
103
  resendValidationEmail(args: ResendValidationEmailCommandInput, options?: __HttpHandlerOptions): Promise<ResendValidationEmailCommandOutput>;
103
104
  resendValidationEmail(args: ResendValidationEmailCommandInput, cb: (err: any, data?: ResendValidationEmailCommandOutput) => void): void;
104
105
  resendValidationEmail(args: ResendValidationEmailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResendValidationEmailCommandOutput) => void): void;
106
+ /**
107
+ * @see {@link RevokeCertificateCommand}
108
+ */
109
+ revokeCertificate(args: RevokeCertificateCommandInput, options?: __HttpHandlerOptions): Promise<RevokeCertificateCommandOutput>;
110
+ revokeCertificate(args: RevokeCertificateCommandInput, cb: (err: any, data?: RevokeCertificateCommandOutput) => void): void;
111
+ revokeCertificate(args: RevokeCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RevokeCertificateCommandOutput) => void): void;
105
112
  /**
106
113
  * @see {@link UpdateCertificateOptionsCommand}
107
114
  */
@@ -110,9 +117,7 @@ export interface ACM {
110
117
  updateCertificateOptions(args: UpdateCertificateOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCertificateOptionsCommandOutput) => void): void;
111
118
  }
112
119
  /**
113
- * <fullname>Certificate Manager</fullname>
114
- * <p>You can use Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites
115
- * 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>
120
+ * <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>
116
121
  * @public
117
122
  */
118
123
  export declare class ACM extends ACMClient implements ACM {
@@ -21,6 +21,7 @@ import { RemoveTagsFromCertificateCommandInput, RemoveTagsFromCertificateCommand
21
21
  import { RenewCertificateCommandInput, RenewCertificateCommandOutput } from "./commands/RenewCertificateCommand";
22
22
  import { RequestCertificateCommandInput, RequestCertificateCommandOutput } from "./commands/RequestCertificateCommand";
23
23
  import { ResendValidationEmailCommandInput, ResendValidationEmailCommandOutput } from "./commands/ResendValidationEmailCommand";
24
+ import { RevokeCertificateCommandInput, RevokeCertificateCommandOutput } from "./commands/RevokeCertificateCommand";
24
25
  import { UpdateCertificateOptionsCommandInput, UpdateCertificateOptionsCommandOutput } from "./commands/UpdateCertificateOptionsCommand";
25
26
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
26
27
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
@@ -28,11 +29,11 @@ export { __Client };
28
29
  /**
29
30
  * @public
30
31
  */
31
- export type ServiceInputTypes = AddTagsToCertificateCommandInput | DeleteCertificateCommandInput | DescribeCertificateCommandInput | ExportCertificateCommandInput | GetAccountConfigurationCommandInput | GetCertificateCommandInput | ImportCertificateCommandInput | ListCertificatesCommandInput | ListTagsForCertificateCommandInput | PutAccountConfigurationCommandInput | RemoveTagsFromCertificateCommandInput | RenewCertificateCommandInput | RequestCertificateCommandInput | ResendValidationEmailCommandInput | UpdateCertificateOptionsCommandInput;
32
+ export type ServiceInputTypes = AddTagsToCertificateCommandInput | DeleteCertificateCommandInput | DescribeCertificateCommandInput | ExportCertificateCommandInput | GetAccountConfigurationCommandInput | GetCertificateCommandInput | ImportCertificateCommandInput | ListCertificatesCommandInput | ListTagsForCertificateCommandInput | PutAccountConfigurationCommandInput | RemoveTagsFromCertificateCommandInput | RenewCertificateCommandInput | RequestCertificateCommandInput | ResendValidationEmailCommandInput | RevokeCertificateCommandInput | UpdateCertificateOptionsCommandInput;
32
33
  /**
33
34
  * @public
34
35
  */
35
- export type ServiceOutputTypes = AddTagsToCertificateCommandOutput | DeleteCertificateCommandOutput | DescribeCertificateCommandOutput | ExportCertificateCommandOutput | GetAccountConfigurationCommandOutput | GetCertificateCommandOutput | ImportCertificateCommandOutput | ListCertificatesCommandOutput | ListTagsForCertificateCommandOutput | PutAccountConfigurationCommandOutput | RemoveTagsFromCertificateCommandOutput | RenewCertificateCommandOutput | RequestCertificateCommandOutput | ResendValidationEmailCommandOutput | UpdateCertificateOptionsCommandOutput;
36
+ export type ServiceOutputTypes = AddTagsToCertificateCommandOutput | DeleteCertificateCommandOutput | DescribeCertificateCommandOutput | ExportCertificateCommandOutput | GetAccountConfigurationCommandOutput | GetCertificateCommandOutput | ImportCertificateCommandOutput | ListCertificatesCommandOutput | ListTagsForCertificateCommandOutput | PutAccountConfigurationCommandOutput | RemoveTagsFromCertificateCommandOutput | RenewCertificateCommandOutput | RequestCertificateCommandOutput | ResendValidationEmailCommandOutput | RevokeCertificateCommandOutput | UpdateCertificateOptionsCommandOutput;
36
37
  /**
37
38
  * @public
38
39
  */
@@ -184,9 +185,7 @@ export type ACMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHa
184
185
  export interface ACMClientResolvedConfig extends ACMClientResolvedConfigType {
185
186
  }
186
187
  /**
187
- * <fullname>Certificate Manager</fullname>
188
- * <p>You can use Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites
189
- * 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>
188
+ * <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>
190
189
  * @public
191
190
  */
192
191
  export declare class ACMClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ACMClientResolvedConfig> {
@@ -27,20 +27,7 @@ declare const AddTagsToCertificateCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Adds one or more tags to an ACM certificate. Tags are labels that you can use to
31
- * identify and organize your Amazon Web Services resources. Each tag consists of a <code>key</code> and an
32
- * optional <code>value</code>. You specify the certificate on input by its Amazon Resource Name
33
- * (ARN). You specify the tag by using a key-value pair. </p>
34
- * <p>You can apply a tag to just one certificate if you want to identify a specific
35
- * characteristic of that certificate, or you can apply the same tag to multiple certificates if
36
- * you want to filter for a common relationship among those certificates. Similarly, you can
37
- * apply the same tag to multiple resources if you want to specify a relationship among those
38
- * resources. For example, you can add the same tag to an ACM certificate and an Elastic Load
39
- * Balancing load balancer to indicate that they are both used by the same website. For more
40
- * information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/tags.html">Tagging ACM
41
- * certificates</a>. </p>
42
- * <p>To remove one or more tags, use the <a>RemoveTagsFromCertificate</a> action. To
43
- * view all of the tags that have been applied to the certificate, use the <a>ListTagsForCertificate</a> action. </p>
30
+ * <p>Adds one or more tags to an ACM certificate. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a <code>key</code> and an optional <code>value</code>. You specify the certificate on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair. </p> <p>You can apply a tag to just one certificate if you want to identify a specific characteristic of that certificate, or you can apply the same tag to multiple certificates if you want to filter for a common relationship among those certificates. Similarly, you can apply the same tag to multiple resources if you want to specify a relationship among those resources. For example, you can add the same tag to an ACM certificate and an Elastic Load Balancing load balancer to indicate that they are both used by the same website. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/tags.html">Tagging ACM certificates</a>. </p> <p>To remove one or more tags, use the <a>RemoveTagsFromCertificate</a> action. To view all of the tags that have been applied to the certificate, use the <a>ListTagsForCertificate</a> action. </p>
44
31
  * @example
45
32
  * Use a bare-bones client and the command you need to make an API call.
46
33
  * ```javascript
@@ -75,12 +62,10 @@ declare const AddTagsToCertificateCommand_base: {
75
62
  * <p>An input parameter was invalid.</p>
76
63
  *
77
64
  * @throws {@link InvalidTagException} (client fault)
78
- * <p>One or both of the values that make up the key-value pair is not valid. For example, you
79
- * cannot specify a tag value that begins with <code>aws:</code>.</p>
65
+ * <p>One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with <code>aws:</code>.</p>
80
66
  *
81
67
  * @throws {@link ResourceNotFoundException} (client fault)
82
- * <p>The specified certificate cannot be found in the caller's account or the caller's account
83
- * cannot be found.</p>
68
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
84
69
  *
85
70
  * @throws {@link TagPolicyException} (client fault)
86
71
  * <p>A specified tag did not comply with an existing tag policy and was rejected.</p>
@@ -27,14 +27,7 @@ declare const DeleteCertificateCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes a certificate and its associated private key. If this action succeeds, the
31
- * certificate no longer appears in the list that can be displayed by calling the <a>ListCertificates</a> action or be retrieved by calling the <a>GetCertificate</a> action. The certificate will not be available for use by Amazon Web Services
32
- * services integrated with ACM. </p>
33
- * <note>
34
- * <p>You cannot delete an ACM certificate that is being used by another Amazon Web Services service. To
35
- * delete a certificate that is in use, the certificate association must first be
36
- * removed.</p>
37
- * </note>
30
+ * <p>Deletes a certificate and its associated private key. If this action succeeds, the certificate no longer appears in the list that can be displayed by calling the <a>ListCertificates</a> action or be retrieved by calling the <a>GetCertificate</a> action. The certificate will not be available for use by Amazon Web Services services integrated with ACM. </p> <note> <p>You cannot delete an ACM certificate that is being used by another Amazon Web Services service. To delete a certificate that is in use, the certificate association must first be removed.</p> </note>
38
31
  * @example
39
32
  * Use a bare-bones client and the command you need to make an API call.
40
33
  * ```javascript
@@ -60,19 +53,16 @@ declare const DeleteCertificateCommand_base: {
60
53
  * <p>You do not have access required to perform this action.</p>
61
54
  *
62
55
  * @throws {@link ConflictException} (client fault)
63
- * <p>You are trying to update a resource or configuration that is already being created or
64
- * updated. Wait for the previous operation to finish and try again.</p>
56
+ * <p>You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.</p>
65
57
  *
66
58
  * @throws {@link InvalidArnException} (client fault)
67
59
  * <p>The requested Amazon Resource Name (ARN) does not refer to an existing resource.</p>
68
60
  *
69
61
  * @throws {@link ResourceInUseException} (client fault)
70
- * <p>The certificate is in use by another Amazon Web Services service in the caller's account. Remove the
71
- * association and try again.</p>
62
+ * <p>The certificate is in use by another Amazon Web Services service in the caller's account. Remove the association and try again.</p>
72
63
  *
73
64
  * @throws {@link ResourceNotFoundException} (client fault)
74
- * <p>The specified certificate cannot be found in the caller's account or the caller's account
75
- * cannot be found.</p>
65
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
76
66
  *
77
67
  * @throws {@link ThrottlingException} (client fault)
78
68
  * <p>The request was denied because it exceeded a quota.</p>
@@ -27,9 +27,7 @@ declare const DescribeCertificateCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns detailed metadata about the specified ACM certificate.</p>
31
- * <p>If you have just created a certificate using the <code>RequestCertificate</code> action,
32
- * there is a delay of several seconds before you can retrieve information about it.</p>
30
+ * <p>Returns detailed metadata about the specified ACM certificate.</p> <p>If you have just created a certificate using the <code>RequestCertificate</code> action, there is a delay of several seconds before you can retrieve information about it.</p>
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -127,6 +125,7 @@ declare const DescribeCertificateCommand_base: {
127
125
  * // RenewalEligibility: "ELIGIBLE" || "INELIGIBLE",
128
126
  * // Options: { // CertificateOptions
129
127
  * // CertificateTransparencyLoggingPreference: "ENABLED" || "DISABLED",
128
+ * // Export: "ENABLED" || "DISABLED",
130
129
  * // },
131
130
  * // },
132
131
  * // };
@@ -143,8 +142,7 @@ declare const DescribeCertificateCommand_base: {
143
142
  * <p>The requested Amazon Resource Name (ARN) does not refer to an existing resource.</p>
144
143
  *
145
144
  * @throws {@link ResourceNotFoundException} (client fault)
146
- * <p>The specified certificate cannot be found in the caller's account or the caller's account
147
- * cannot be found.</p>
145
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
148
146
  *
149
147
  * @throws {@link ACMServiceException}
150
148
  * <p>Base exception class for all service exceptions from ACM service.</p>
@@ -27,13 +27,7 @@ declare const ExportCertificateCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Exports a private certificate issued by a private certificate authority (CA) for use
31
- * anywhere. The exported file contains the certificate, the certificate chain, and the encrypted
32
- * private 2048-bit RSA key associated with the public key that is embedded in the certificate.
33
- * For security, you must assign a passphrase for the private key when exporting it. </p>
34
- * <p>For information about exporting and formatting a certificate using the ACM console or
35
- * CLI, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-export-private.html">Export a
36
- * Private Certificate</a>.</p>
30
+ * <p>Exports a private certificate issued by a private certificate authority (CA) or public certificate for use anywhere. The exported file contains the certificate, the certificate chain, and the encrypted private key associated with the public key that is embedded in the certificate. For security, you must assign a passphrase for the private key when exporting it. </p> <p>For information about exporting and formatting a certificate using the ACM console or CLI, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/export-private.html">Export a private certificate</a> and <a href="https://docs.aws.amazon.com/acm/latest/userguide/export-public-certificate">Export a public certificate</a>.</p>
37
31
  * @example
38
32
  * Use a bare-bones client and the command you need to make an API call.
39
33
  * ```javascript
@@ -64,12 +58,10 @@ declare const ExportCertificateCommand_base: {
64
58
  * <p>The requested Amazon Resource Name (ARN) does not refer to an existing resource.</p>
65
59
  *
66
60
  * @throws {@link RequestInProgressException} (client fault)
67
- * <p>The certificate request is in process and the certificate in your account has not yet been
68
- * issued.</p>
61
+ * <p>The certificate request is in process and the certificate in your account has not yet been issued.</p>
69
62
  *
70
63
  * @throws {@link ResourceNotFoundException} (client fault)
71
- * <p>The specified certificate cannot be found in the caller's account or the caller's account
72
- * cannot be found.</p>
64
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
73
65
  *
74
66
  * @throws {@link ACMServiceException}
75
67
  * <p>Base exception class for all service exceptions from ACM service.</p>
@@ -27,12 +27,7 @@ declare const GetCertificateCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves a certificate and its certificate chain. The certificate may be either a public
31
- * or private certificate issued using the ACM <code>RequestCertificate</code> action, or a
32
- * certificate imported into ACM using the <code>ImportCertificate</code> action. The chain
33
- * consists of the certificate of the issuing CA and the intermediate certificates of any other
34
- * subordinate CAs. All of the certificates are base64 encoded. You can use <a href="https://wiki.openssl.org/index.php/Command_Line_Utilities">OpenSSL</a> to decode
35
- * the certificates and inspect individual fields.</p>
30
+ * <p>Retrieves a certificate and its certificate chain. The certificate may be either a public or private certificate issued using the ACM <code>RequestCertificate</code> action, or a certificate imported into ACM using the <code>ImportCertificate</code> action. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use <a href="https://wiki.openssl.org/index.php/Command_Line_Utilities">OpenSSL</a> to decode the certificates and inspect individual fields.</p>
36
31
  * @example
37
32
  * Use a bare-bones client and the command you need to make an API call.
38
33
  * ```javascript
@@ -61,12 +56,10 @@ declare const GetCertificateCommand_base: {
61
56
  * <p>The requested Amazon Resource Name (ARN) does not refer to an existing resource.</p>
62
57
  *
63
58
  * @throws {@link RequestInProgressException} (client fault)
64
- * <p>The certificate request is in process and the certificate in your account has not yet been
65
- * issued.</p>
59
+ * <p>The certificate request is in process and the certificate in your account has not yet been issued.</p>
66
60
  *
67
61
  * @throws {@link ResourceNotFoundException} (client fault)
68
- * <p>The specified certificate cannot be found in the caller's account or the caller's account
69
- * cannot be found.</p>
62
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
70
63
  *
71
64
  * @throws {@link ACMServiceException}
72
65
  * <p>Base exception class for all service exceptions from ACM service.</p>
@@ -27,66 +27,7 @@ declare const ImportCertificateCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with
31
- * ACM. Note that <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html">integrated
32
- * services</a> allow only certificate types and keys they support to be associated with
33
- * their resources. Further, their support differs depending on whether the certificate is
34
- * imported into IAM or into ACM. For more information, see the documentation for each
35
- * service. For more information about importing certificates into ACM, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing
36
- * Certificates</a> in the <i>Certificate Manager User Guide</i>. </p>
37
- * <note>
38
- * <p>ACM does not provide <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed renewal</a> for certificates that you import.</p>
39
- * </note>
40
- * <p>Note the following guidelines when importing third party certificates:</p>
41
- * <ul>
42
- * <li>
43
- * <p>You must enter the private key that matches the certificate you are importing.</p>
44
- * </li>
45
- * <li>
46
- * <p>The private key must be unencrypted. You cannot import a private key that is protected
47
- * by a password or a passphrase.</p>
48
- * </li>
49
- * <li>
50
- * <p>The private key must be no larger than 5 KB (5,120 bytes).</p>
51
- * </li>
52
- * <li>
53
- * <p>The certificate, private key, and certificate chain must be PEM-encoded.</p>
54
- * </li>
55
- * <li>
56
- * <p>The current time must be between the <code>Not Before</code> and <code>Not
57
- * After</code> certificate fields.</p>
58
- * </li>
59
- * <li>
60
- * <p>The <code>Issuer</code> field must not be empty.</p>
61
- * </li>
62
- * <li>
63
- * <p>The OCSP authority URL, if present, must not exceed 1000 characters.</p>
64
- * </li>
65
- * <li>
66
- * <p>To import a new certificate, omit the <code>CertificateArn</code> argument. Include
67
- * this argument only when you want to replace a previously imported certificate.</p>
68
- * </li>
69
- * <li>
70
- * <p>When you import a certificate by using the CLI, you must specify the certificate, the
71
- * certificate chain, and the private key by their file names preceded by
72
- * <code>fileb://</code>. For example, you can specify a certificate saved in the
73
- * <code>C:\temp</code> folder as <code>fileb://C:\temp\certificate_to_import.pem</code>.
74
- * If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs.
75
- * </p>
76
- * </li>
77
- * <li>
78
- * <p>When you import a certificate by using an SDK, you must specify the certificate, the
79
- * certificate chain, and the private key files in the manner required by the programming
80
- * language you're using. </p>
81
- * </li>
82
- * <li>
83
- * <p>The cryptographic algorithm of an imported certificate must match the algorithm of the
84
- * signing CA. For example, if the signing CA key type is RSA, then the certificate key type
85
- * must also be RSA.</p>
86
- * </li>
87
- * </ul>
88
- * <p>This operation returns the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
89
- * Resource Name (ARN)</a> of the imported certificate.</p>
30
+ * <p>Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with ACM. Note that <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html">integrated services</a> allow only certificate types and keys they support to be associated with their resources. Further, their support differs depending on whether the certificate is imported into IAM or into ACM. For more information, see the documentation for each service. For more information about importing certificates into ACM, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing Certificates</a> in the <i>Certificate Manager User Guide</i>. </p> <note> <p>ACM does not provide <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed renewal</a> for certificates that you import.</p> </note> <p>Note the following guidelines when importing third party certificates:</p> <ul> <li> <p>You must enter the private key that matches the certificate you are importing.</p> </li> <li> <p>The private key must be unencrypted. You cannot import a private key that is protected by a password or a passphrase.</p> </li> <li> <p>The private key must be no larger than 5 KB (5,120 bytes).</p> </li> <li> <p>The certificate, private key, and certificate chain must be PEM-encoded.</p> </li> <li> <p>The current time must be between the <code>Not Before</code> and <code>Not After</code> certificate fields.</p> </li> <li> <p>The <code>Issuer</code> field must not be empty.</p> </li> <li> <p>The OCSP authority URL, if present, must not exceed 1000 characters.</p> </li> <li> <p>To import a new certificate, omit the <code>CertificateArn</code> argument. Include this argument only when you want to replace a previously imported certificate.</p> </li> <li> <p>When you import a certificate by using the CLI, you must specify the certificate, the certificate chain, and the private key by their file names preceded by <code>fileb://</code>. For example, you can specify a certificate saved in the <code>C:\temp</code> folder as <code>fileb://C:\temp\certificate_to_import.pem</code>. If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs. </p> </li> <li> <p>When you import a certificate by using an SDK, you must specify the certificate, the certificate chain, and the private key files in the manner required by the programming language you're using. </p> </li> <li> <p>The cryptographic algorithm of an imported certificate must match the algorithm of the signing CA. For example, if the signing CA key type is RSA, then the certificate key type must also be RSA.</p> </li> </ul> <p>This operation returns the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the imported certificate.</p>
90
31
  * @example
91
32
  * Use a bare-bones client and the command you need to make an API call.
92
33
  * ```javascript
@@ -126,15 +67,13 @@ declare const ImportCertificateCommand_base: {
126
67
  * <p>An input parameter was invalid.</p>
127
68
  *
128
69
  * @throws {@link InvalidTagException} (client fault)
129
- * <p>One or both of the values that make up the key-value pair is not valid. For example, you
130
- * cannot specify a tag value that begins with <code>aws:</code>.</p>
70
+ * <p>One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with <code>aws:</code>.</p>
131
71
  *
132
72
  * @throws {@link LimitExceededException} (client fault)
133
73
  * <p>An ACM quota has been exceeded.</p>
134
74
  *
135
75
  * @throws {@link ResourceNotFoundException} (client fault)
136
- * <p>The specified certificate cannot be found in the caller's account or the caller's account
137
- * cannot be found.</p>
76
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
138
77
  *
139
78
  * @throws {@link TagPolicyException} (client fault)
140
79
  * <p>A specified tag did not comply with an existing tag policy and was rejected.</p>
@@ -27,10 +27,7 @@ declare const ListCertificatesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves a list of certificate ARNs and domain names. You can request that only
31
- * certificates that match a specific status be listed. You can also filter by specific
32
- * attributes of the certificate. Default filtering returns only <code>RSA_2048</code>
33
- * certificates. For more information, see <a>Filters</a>.</p>
30
+ * <p>Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate. Default filtering returns only <code>RSA_2048</code> certificates. For more information, see <a>Filters</a>.</p>
34
31
  * @example
35
32
  * Use a bare-bones client and the command you need to make an API call.
36
33
  * ```javascript
@@ -51,6 +48,7 @@ declare const ListCertificatesCommand_base: {
51
48
  * keyTypes: [ // KeyAlgorithmList
52
49
  * "RSA_1024" || "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1",
53
50
  * ],
51
+ * exportOption: "ENABLED" || "DISABLED",
54
52
  * managedBy: "CLOUDFRONT",
55
53
  * },
56
54
  * NextToken: "STRING_VALUE",
@@ -79,6 +77,7 @@ declare const ListCertificatesCommand_base: {
79
77
  * // ExtendedKeyUsages: [ // ExtendedKeyUsageNames
80
78
  * // "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",
81
79
  * // ],
80
+ * // ExportOption: "ENABLED" || "DISABLED",
82
81
  * // InUse: true || false,
83
82
  * // Exported: true || false,
84
83
  * // RenewalEligibility: "ELIGIBLE" || "INELIGIBLE",
@@ -102,7 +101,7 @@ declare const ListCertificatesCommand_base: {
102
101
  * @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
103
102
  *
104
103
  * @throws {@link InvalidArgsException} (client fault)
105
- * <p>One or more of of request parameters specified is not valid.</p>
104
+ * <p>One or more of request parameters specified is not valid.</p>
106
105
  *
107
106
  * @throws {@link ValidationException} (client fault)
108
107
  * <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
@@ -27,9 +27,7 @@ declare const ListTagsForCertificateCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists the tags that have been applied to the ACM certificate. Use the certificate's
31
- * Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate,
32
- * use the <a>AddTagsToCertificate</a> action. To delete a tag, use the <a>RemoveTagsFromCertificate</a> action. </p>
30
+ * <p>Lists the tags that have been applied to the ACM certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate, use the <a>AddTagsToCertificate</a> action. To delete a tag, use the <a>RemoveTagsFromCertificate</a> action. </p>
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -62,8 +60,7 @@ declare const ListTagsForCertificateCommand_base: {
62
60
  * <p>The requested Amazon Resource Name (ARN) does not refer to an existing resource.</p>
63
61
  *
64
62
  * @throws {@link ResourceNotFoundException} (client fault)
65
- * <p>The specified certificate cannot be found in the caller's account or the caller's account
66
- * cannot be found.</p>
63
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
67
64
  *
68
65
  * @throws {@link ACMServiceException}
69
66
  * <p>Base exception class for all service exceptions from ACM service.</p>