@aws-sdk/client-acm 3.202.0 → 3.206.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImportCertificateRequestFilterSensitiveLog = exports.GetCertificateResponseFilterSensitiveLog = exports.GetCertificateRequestFilterSensitiveLog = exports.GetAccountConfigurationResponseFilterSensitiveLog = exports.ExpiryEventsConfigurationFilterSensitiveLog = exports.ExportCertificateResponseFilterSensitiveLog = exports.ExportCertificateRequestFilterSensitiveLog = exports.DescribeCertificateResponseFilterSensitiveLog = exports.DescribeCertificateRequestFilterSensitiveLog = exports.DeleteCertificateRequestFilterSensitiveLog = exports.CertificateDetailFilterSensitiveLog = exports.RenewalSummaryFilterSensitiveLog = exports.CertificateOptionsFilterSensitiveLog = exports.KeyUsageFilterSensitiveLog = exports.ExtendedKeyUsageFilterSensitiveLog = exports.DomainValidationFilterSensitiveLog = exports.ResourceRecordFilterSensitiveLog = exports.AddTagsToCertificateRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.InvalidStateException = exports.InvalidDomainValidationOptionsException = exports.ValidationException = exports.ConflictException = exports.SortOrder = exports.SortBy = exports.InvalidArgsException = exports.LimitExceededException = exports.RequestInProgressException = exports.ResourceInUseException = exports.CertificateType = exports.CertificateStatus = exports.RevocationReason = exports.RenewalStatus = exports.RenewalEligibility = exports.CertificateTransparencyLoggingPreference = exports.KeyUsageName = exports.KeyAlgorithm = exports.FailureReason = exports.ExtendedKeyUsageName = exports.DomainStatus = exports.ValidationMethod = exports.RecordType = exports.TooManyTagsException = exports.ThrottlingException = exports.TagPolicyException = exports.ResourceNotFoundException = exports.InvalidTagException = exports.InvalidParameterException = exports.InvalidArnException = exports.AccessDeniedException = void 0;
3
+ exports.ImportCertificateRequestFilterSensitiveLog = exports.GetCertificateResponseFilterSensitiveLog = exports.GetCertificateRequestFilterSensitiveLog = exports.GetAccountConfigurationResponseFilterSensitiveLog = exports.ExpiryEventsConfigurationFilterSensitiveLog = exports.ExportCertificateResponseFilterSensitiveLog = exports.ExportCertificateRequestFilterSensitiveLog = exports.DescribeCertificateResponseFilterSensitiveLog = exports.DescribeCertificateRequestFilterSensitiveLog = exports.DeleteCertificateRequestFilterSensitiveLog = exports.CertificateDetailFilterSensitiveLog = exports.RenewalSummaryFilterSensitiveLog = exports.CertificateOptionsFilterSensitiveLog = exports.KeyUsageFilterSensitiveLog = exports.ExtendedKeyUsageFilterSensitiveLog = exports.DomainValidationFilterSensitiveLog = exports.ResourceRecordFilterSensitiveLog = exports.AddTagsToCertificateRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.InvalidStateException = exports.InvalidDomainValidationOptionsException = exports.ValidationException = exports.SortOrder = exports.SortBy = exports.InvalidArgsException = exports.LimitExceededException = exports.RequestInProgressException = exports.ResourceInUseException = exports.ConflictException = exports.CertificateType = exports.CertificateStatus = exports.RevocationReason = exports.RenewalStatus = exports.RenewalEligibility = exports.CertificateTransparencyLoggingPreference = exports.KeyUsageName = exports.KeyAlgorithm = exports.FailureReason = exports.ExtendedKeyUsageName = exports.DomainStatus = exports.ValidationMethod = exports.RecordType = exports.TooManyTagsException = exports.ThrottlingException = exports.TagPolicyException = exports.ResourceNotFoundException = exports.InvalidTagException = exports.InvalidParameterException = exports.InvalidArnException = exports.AccessDeniedException = void 0;
4
4
  exports.UpdateCertificateOptionsRequestFilterSensitiveLog = exports.ResendValidationEmailRequestFilterSensitiveLog = exports.RequestCertificateResponseFilterSensitiveLog = exports.RequestCertificateRequestFilterSensitiveLog = exports.DomainValidationOptionFilterSensitiveLog = exports.RenewCertificateRequestFilterSensitiveLog = exports.RemoveTagsFromCertificateRequestFilterSensitiveLog = exports.PutAccountConfigurationRequestFilterSensitiveLog = exports.ListTagsForCertificateResponseFilterSensitiveLog = exports.ListTagsForCertificateRequestFilterSensitiveLog = exports.ListCertificatesResponseFilterSensitiveLog = exports.CertificateSummaryFilterSensitiveLog = exports.ListCertificatesRequestFilterSensitiveLog = exports.FiltersFilterSensitiveLog = exports.ImportCertificateResponseFilterSensitiveLog = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const ACMServiceException_1 = require("./ACMServiceException");
@@ -229,6 +229,19 @@ var CertificateType;
229
229
  CertificateType["IMPORTED"] = "IMPORTED";
230
230
  CertificateType["PRIVATE"] = "PRIVATE";
231
231
  })(CertificateType = exports.CertificateType || (exports.CertificateType = {}));
232
+ class ConflictException extends ACMServiceException_1.ACMServiceException {
233
+ constructor(opts) {
234
+ super({
235
+ name: "ConflictException",
236
+ $fault: "client",
237
+ ...opts,
238
+ });
239
+ this.name = "ConflictException";
240
+ this.$fault = "client";
241
+ Object.setPrototypeOf(this, ConflictException.prototype);
242
+ }
243
+ }
244
+ exports.ConflictException = ConflictException;
232
245
  class ResourceInUseException extends ACMServiceException_1.ACMServiceException {
233
246
  constructor(opts) {
234
247
  super({
@@ -290,19 +303,6 @@ var SortOrder;
290
303
  SortOrder["ASCENDING"] = "ASCENDING";
291
304
  SortOrder["DESCENDING"] = "DESCENDING";
292
305
  })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
293
- class ConflictException extends ACMServiceException_1.ACMServiceException {
294
- constructor(opts) {
295
- super({
296
- name: "ConflictException",
297
- $fault: "client",
298
- ...opts,
299
- });
300
- this.name = "ConflictException";
301
- this.$fault = "client";
302
- Object.setPrototypeOf(this, ConflictException.prototype);
303
- }
304
- }
305
- exports.ConflictException = ConflictException;
306
306
  class ValidationException extends ACMServiceException_1.ACMServiceException {
307
307
  constructor(opts) {
308
308
  super({
@@ -221,6 +221,12 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async (output, conte
221
221
  };
222
222
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
223
223
  switch (errorCode) {
224
+ case "AccessDeniedException":
225
+ case "com.amazonaws.acm#AccessDeniedException":
226
+ throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
227
+ case "ConflictException":
228
+ case "com.amazonaws.acm#ConflictException":
229
+ throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
224
230
  case "InvalidArnException":
225
231
  case "com.amazonaws.acm#InvalidArnException":
226
232
  throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
@@ -230,6 +236,9 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async (output, conte
230
236
  case "ResourceNotFoundException":
231
237
  case "com.amazonaws.acm#ResourceNotFoundException":
232
238
  throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
239
+ case "ThrottlingException":
240
+ case "com.amazonaws.acm#ThrottlingException":
241
+ throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
233
242
  default:
234
243
  const parsedBody = parsedOutput.body;
235
244
  (0, smithy_client_1.throwDefaultError)({
@@ -470,6 +479,9 @@ const deserializeAws_json1_1ListCertificatesCommandError = async (output, contex
470
479
  case "InvalidArgsException":
471
480
  case "com.amazonaws.acm#InvalidArgsException":
472
481
  throw await deserializeAws_json1_1InvalidArgsExceptionResponse(parsedOutput, context);
482
+ case "ValidationException":
483
+ case "com.amazonaws.acm#ValidationException":
484
+ throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
473
485
  default:
474
486
  const parsedBody = parsedOutput.body;
475
487
  (0, smithy_client_1.throwDefaultError)({
@@ -1062,6 +1074,7 @@ const serializeAws_json1_1RequestCertificateRequest = (input, context) => {
1062
1074
  DomainValidationOptions: serializeAws_json1_1DomainValidationOptionList(input.DomainValidationOptions, context),
1063
1075
  }),
1064
1076
  ...(input.IdempotencyToken != null && { IdempotencyToken: input.IdempotencyToken }),
1077
+ ...(input.KeyAlgorithm != null && { KeyAlgorithm: input.KeyAlgorithm }),
1065
1078
  ...(input.Options != null && { Options: serializeAws_json1_1CertificateOptions(input.Options, context) }),
1066
1079
  ...(input.SubjectAlternativeNames != null && {
1067
1080
  SubjectAlternativeNames: serializeAws_json1_1DomainList(input.SubjectAlternativeNames, context),
@@ -8,7 +8,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
10
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
- const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
12
11
  const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
@@ -24,8 +23,6 @@ const getRuntimeConfig = (config) => {
24
23
  ...config,
25
24
  runtime: "browser",
26
25
  defaultsMode,
27
- base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
28
- base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
29
26
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
30
27
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
31
28
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
@@ -10,7 +10,6 @@ const hash_node_1 = require("@aws-sdk/hash-node");
10
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const node_config_provider_1 = require("@aws-sdk/node-config-provider");
12
12
  const node_http_handler_1 = require("@aws-sdk/node-http-handler");
13
- const util_base64_node_1 = require("@aws-sdk/util-base64-node");
14
13
  const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
14
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
15
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
@@ -28,8 +27,6 @@ const getRuntimeConfig = (config) => {
28
27
  ...config,
29
28
  runtime: "node",
30
29
  defaultsMode,
31
- base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
32
- base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
33
30
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
34
31
  credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
35
32
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
@@ -2,9 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const util_base64_1 = require("@aws-sdk/util-base64");
5
6
  const endpointResolver_1 = require("./endpoint/endpointResolver");
6
7
  const getRuntimeConfig = (config) => ({
7
8
  apiVersion: "2015-12-08",
9
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
10
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
8
11
  disableHostPrefix: config?.disableHostPrefix ?? false,
9
12
  endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
10
13
  logger: config?.logger ?? {},
@@ -217,6 +217,18 @@ export var CertificateType;
217
217
  CertificateType["IMPORTED"] = "IMPORTED";
218
218
  CertificateType["PRIVATE"] = "PRIVATE";
219
219
  })(CertificateType || (CertificateType = {}));
220
+ export class ConflictException extends __BaseException {
221
+ constructor(opts) {
222
+ super({
223
+ name: "ConflictException",
224
+ $fault: "client",
225
+ ...opts,
226
+ });
227
+ this.name = "ConflictException";
228
+ this.$fault = "client";
229
+ Object.setPrototypeOf(this, ConflictException.prototype);
230
+ }
231
+ }
220
232
  export class ResourceInUseException extends __BaseException {
221
233
  constructor(opts) {
222
234
  super({
@@ -274,18 +286,6 @@ export var SortOrder;
274
286
  SortOrder["ASCENDING"] = "ASCENDING";
275
287
  SortOrder["DESCENDING"] = "DESCENDING";
276
288
  })(SortOrder || (SortOrder = {}));
277
- export class ConflictException extends __BaseException {
278
- constructor(opts) {
279
- super({
280
- name: "ConflictException",
281
- $fault: "client",
282
- ...opts,
283
- });
284
- this.name = "ConflictException";
285
- this.$fault = "client";
286
- Object.setPrototypeOf(this, ConflictException.prototype);
287
- }
288
- }
289
289
  export class ValidationException extends __BaseException {
290
290
  constructor(opts) {
291
291
  super({
@@ -201,6 +201,12 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async (output, conte
201
201
  };
202
202
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
203
203
  switch (errorCode) {
204
+ case "AccessDeniedException":
205
+ case "com.amazonaws.acm#AccessDeniedException":
206
+ throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
207
+ case "ConflictException":
208
+ case "com.amazonaws.acm#ConflictException":
209
+ throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
204
210
  case "InvalidArnException":
205
211
  case "com.amazonaws.acm#InvalidArnException":
206
212
  throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
@@ -210,6 +216,9 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async (output, conte
210
216
  case "ResourceNotFoundException":
211
217
  case "com.amazonaws.acm#ResourceNotFoundException":
212
218
  throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
219
+ case "ThrottlingException":
220
+ case "com.amazonaws.acm#ThrottlingException":
221
+ throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
213
222
  default:
214
223
  const parsedBody = parsedOutput.body;
215
224
  throwDefaultError({
@@ -444,6 +453,9 @@ const deserializeAws_json1_1ListCertificatesCommandError = async (output, contex
444
453
  case "InvalidArgsException":
445
454
  case "com.amazonaws.acm#InvalidArgsException":
446
455
  throw await deserializeAws_json1_1InvalidArgsExceptionResponse(parsedOutput, context);
456
+ case "ValidationException":
457
+ case "com.amazonaws.acm#ValidationException":
458
+ throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
447
459
  default:
448
460
  const parsedBody = parsedOutput.body;
449
461
  throwDefaultError({
@@ -1029,6 +1041,7 @@ const serializeAws_json1_1RequestCertificateRequest = (input, context) => {
1029
1041
  DomainValidationOptions: serializeAws_json1_1DomainValidationOptionList(input.DomainValidationOptions, context),
1030
1042
  }),
1031
1043
  ...(input.IdempotencyToken != null && { IdempotencyToken: input.IdempotencyToken }),
1044
+ ...(input.KeyAlgorithm != null && { KeyAlgorithm: input.KeyAlgorithm }),
1032
1045
  ...(input.Options != null && { Options: serializeAws_json1_1CertificateOptions(input.Options, context) }),
1033
1046
  ...(input.SubjectAlternativeNames != null && {
1034
1047
  SubjectAlternativeNames: serializeAws_json1_1DomainList(input.SubjectAlternativeNames, context),
@@ -4,7 +4,6 @@ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-
4
4
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
6
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
7
- import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
8
7
  import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
9
8
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
9
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
@@ -20,8 +19,6 @@ export const getRuntimeConfig = (config) => {
20
19
  ...config,
21
20
  runtime: "browser",
22
21
  defaultsMode,
23
- base64Decoder: config?.base64Decoder ?? fromBase64,
24
- base64Encoder: config?.base64Encoder ?? toBase64,
25
22
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
26
23
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
24
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
@@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node";
6
6
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
7
7
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
8
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
- import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
10
9
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
11
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
12
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
@@ -24,8 +23,6 @@ export const getRuntimeConfig = (config) => {
24
23
  ...config,
25
24
  runtime: "node",
26
25
  defaultsMode,
27
- base64Decoder: config?.base64Decoder ?? fromBase64,
28
- base64Encoder: config?.base64Encoder ?? toBase64,
29
26
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
30
27
  credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
31
28
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
@@ -1,7 +1,10 @@
1
1
  import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
2
3
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
3
4
  export const getRuntimeConfig = (config) => ({
4
5
  apiVersion: "2015-12-08",
6
+ base64Decoder: config?.base64Decoder ?? fromBase64,
7
+ base64Encoder: config?.base64Encoder ?? toBase64,
5
8
  disableHostPrefix: config?.disableHostPrefix ?? false,
6
9
  endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
7
10
  logger: config?.logger ?? {},
@@ -202,8 +202,8 @@ export declare class ACM extends ACMClient {
202
202
  removeTagsFromCertificate(args: RemoveTagsFromCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsFromCertificateCommandOutput) => void): void;
203
203
  /**
204
204
  * <p>Renews an eligible ACM certificate. At this time, only exported private certificates can
205
- * be renewed with this operation. In order to renew your ACM Private CA certificates with ACM, you
206
- * must first <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaPermissions.html">grant the ACM
205
+ * be renewed with this operation. In order to renew your Amazon Web Services Private CA certificates with ACM, you
206
+ * must first <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaPermissions.html">grant the ACM
207
207
  * service principal permission to do so</a>. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/manual-renewal.html">Testing Managed Renewal</a>
208
208
  * in the ACM User Guide.</p>
209
209
  */
@@ -9,8 +9,8 @@ export interface RenewCertificateCommandOutput extends __MetadataBearer {
9
9
  }
10
10
  /**
11
11
  * <p>Renews an eligible ACM certificate. At this time, only exported private certificates can
12
- * be renewed with this operation. In order to renew your ACM Private CA certificates with ACM, you
13
- * must first <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaPermissions.html">grant the ACM
12
+ * be renewed with this operation. In order to renew your Amazon Web Services Private CA certificates with ACM, you
13
+ * must first <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaPermissions.html">grant the ACM
14
14
  * service principal permission to do so</a>. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/manual-renewal.html">Testing Managed Renewal</a>
15
15
  * in the ACM User Guide.</p>
16
16
  * @example
@@ -563,6 +563,18 @@ export interface CertificateDetail {
563
563
  */
564
564
  Options?: CertificateOptions;
565
565
  }
566
+ /**
567
+ * <p>You are trying to update a resource or configuration that is already being created or
568
+ * updated. Wait for the previous operation to finish and try again.</p>
569
+ */
570
+ export declare class ConflictException extends __BaseException {
571
+ readonly name: "ConflictException";
572
+ readonly $fault: "client";
573
+ /**
574
+ * @internal
575
+ */
576
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
577
+ }
566
578
  export interface DeleteCertificateRequest {
567
579
  /**
568
580
  * <p>String that contains the ARN of the ACM certificate to be deleted. This must be of the
@@ -936,6 +948,17 @@ export interface ListCertificatesResponse {
936
948
  */
937
949
  CertificateSummaryList?: CertificateSummary[];
938
950
  }
951
+ /**
952
+ * <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
953
+ */
954
+ export declare class ValidationException extends __BaseException {
955
+ readonly name: "ValidationException";
956
+ readonly $fault: "client";
957
+ /**
958
+ * @internal
959
+ */
960
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
961
+ }
939
962
  export interface ListTagsForCertificateRequest {
940
963
  /**
941
964
  * <p>String that contains the ARN of the ACM certificate for which you want to list the tags.
@@ -953,18 +976,6 @@ export interface ListTagsForCertificateResponse {
953
976
  */
954
977
  Tags?: Tag[];
955
978
  }
956
- /**
957
- * <p>You are trying to update a resource or configuration that is already being created or
958
- * updated. Wait for the previous operation to finish and try again.</p>
959
- */
960
- export declare class ConflictException extends __BaseException {
961
- readonly name: "ConflictException";
962
- readonly $fault: "client";
963
- /**
964
- * @internal
965
- */
966
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
967
- }
968
979
  export interface PutAccountConfigurationRequest {
969
980
  /**
970
981
  * <p>Specifies expiration events associated with an account.</p>
@@ -979,17 +990,6 @@ export interface PutAccountConfigurationRequest {
979
990
  */
980
991
  IdempotencyToken: string | undefined;
981
992
  }
982
- /**
983
- * <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
984
- */
985
- export declare class ValidationException extends __BaseException {
986
- readonly name: "ValidationException";
987
- readonly $fault: "client";
988
- /**
989
- * @internal
990
- */
991
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
992
- }
993
993
  export interface RemoveTagsFromCertificateRequest {
994
994
  /**
995
995
  * <p>String that contains the ARN of the ACM Certificate with one or more tags that you want
@@ -1137,7 +1137,7 @@ export interface RequestCertificateRequest {
1137
1137
  * <p>The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used
1138
1138
  * to issue the certificate. If you do not provide an ARN and you are trying to request a private
1139
1139
  * certificate, ACM will attempt to issue a public certificate. For more information about
1140
- * private CAs, see the <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaWelcome.html">Certificate Manager Private Certificate Authority</a> user guide. The ARN must have the following form: </p>
1140
+ * private CAs, see the <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaWelcome.html">Amazon Web Services Private Certificate Authority</a> user guide. The ARN must have the following form: </p>
1141
1141
  * <p>
1142
1142
  * <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
1143
1143
  * </p>
@@ -1147,6 +1147,17 @@ export interface RequestCertificateRequest {
1147
1147
  * <p>One or more resource tags to associate with the certificate.</p>
1148
1148
  */
1149
1149
  Tags?: Tag[];
1150
+ /**
1151
+ * <p>Specifies the algorithm of the public and private key pair that your certificate uses to
1152
+ * encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital
1153
+ * Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but
1154
+ * with greater computing efficiency. However, ECDSA is not supported by all network clients.
1155
+ * Some AWS services may require RSA keys, or only support ECDSA keys of a particular size, while
1156
+ * others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken.
1157
+ * Check the requirements for the AWS service where you plan to deploy your certificate.</p>
1158
+ * <p>Default: RSA_2048</p>
1159
+ */
1160
+ KeyAlgorithm?: KeyAlgorithm | string;
1150
1161
  }
1151
1162
  export interface RequestCertificateResponse {
1152
1163
  /**
@@ -6,8 +6,6 @@ import { ACMClientConfig } from "./ACMClient";
6
6
  export declare const getRuntimeConfig: (config: ACMClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
- base64Decoder: import("@aws-sdk/types").Decoder;
10
- base64Encoder: import("@aws-sdk/types").Encoder;
11
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
@@ -23,6 +21,8 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
23
21
  utf8Encoder: import("@aws-sdk/types").Encoder;
24
22
  apiVersion: string;
25
23
  urlParser: import("@aws-sdk/types").UrlParser;
24
+ base64Decoder: import("@aws-sdk/types").Decoder;
25
+ base64Encoder: import("@aws-sdk/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
@@ -6,8 +6,6 @@ import { ACMClientConfig } from "./ACMClient";
6
6
  export declare const getRuntimeConfig: (config: ACMClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
- base64Decoder: import("@aws-sdk/types").Decoder;
10
- base64Encoder: import("@aws-sdk/types").Encoder;
11
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
@@ -23,6 +21,8 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
23
21
  utf8Encoder: import("@aws-sdk/types").Encoder;
24
22
  apiVersion: string;
25
23
  urlParser: import("@aws-sdk/types").UrlParser;
24
+ base64Decoder: import("@aws-sdk/types").Decoder;
25
+ base64Encoder: import("@aws-sdk/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
@@ -5,6 +5,8 @@ import { ACMClientConfig } from "./ACMClient";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: ACMClientConfig) => {
7
7
  apiVersion: string;
8
+ base64Decoder: import("@aws-sdk/types").Decoder;
9
+ base64Encoder: import("@aws-sdk/types").Encoder;
8
10
  disableHostPrefix: boolean;
9
11
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
10
12
  logger?: __Logger | undefined;
@@ -229,6 +229,11 @@ export interface CertificateDetail {
229
229
  RenewalEligibility?: RenewalEligibility | string;
230
230
  Options?: CertificateOptions;
231
231
  }
232
+ export declare class ConflictException extends __BaseException {
233
+ readonly name: "ConflictException";
234
+ readonly $fault: "client";
235
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
236
+ }
232
237
  export interface DeleteCertificateRequest {
233
238
  CertificateArn: string | undefined;
234
239
  }
@@ -342,28 +347,23 @@ export interface ListCertificatesResponse {
342
347
  NextToken?: string;
343
348
  CertificateSummaryList?: CertificateSummary[];
344
349
  }
350
+ export declare class ValidationException extends __BaseException {
351
+ readonly name: "ValidationException";
352
+ readonly $fault: "client";
353
+ constructor(
354
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
355
+ );
356
+ }
345
357
  export interface ListTagsForCertificateRequest {
346
358
  CertificateArn: string | undefined;
347
359
  }
348
360
  export interface ListTagsForCertificateResponse {
349
361
  Tags?: Tag[];
350
362
  }
351
- export declare class ConflictException extends __BaseException {
352
- readonly name: "ConflictException";
353
- readonly $fault: "client";
354
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
355
- }
356
363
  export interface PutAccountConfigurationRequest {
357
364
  ExpiryEvents?: ExpiryEventsConfiguration;
358
365
  IdempotencyToken: string | undefined;
359
366
  }
360
- export declare class ValidationException extends __BaseException {
361
- readonly name: "ValidationException";
362
- readonly $fault: "client";
363
- constructor(
364
- opts: __ExceptionOptionType<ValidationException, __BaseException>
365
- );
366
- }
367
367
  export interface RemoveTagsFromCertificateRequest {
368
368
  CertificateArn: string | undefined;
369
369
  Tags: Tag[] | undefined;
@@ -394,6 +394,7 @@ export interface RequestCertificateRequest {
394
394
  Options?: CertificateOptions;
395
395
  CertificateAuthorityArn?: string;
396
396
  Tags?: Tag[];
397
+ KeyAlgorithm?: KeyAlgorithm | string;
397
398
  }
398
399
  export interface RequestCertificateResponse {
399
400
  CertificateArn?: string;
@@ -5,8 +5,6 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
5
5
  defaultsMode: import("@aws-sdk/types").Provider<
6
6
  import("@aws-sdk/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
- base64Decoder: import("@aws-sdk/types").Decoder;
9
- base64Encoder: import("@aws-sdk/types").Encoder;
10
8
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider: (
12
10
  input: any
@@ -33,6 +31,8 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
33
31
  utf8Encoder: import("@aws-sdk/types").Encoder;
34
32
  apiVersion: string;
35
33
  urlParser: import("@aws-sdk/types").UrlParser;
34
+ base64Decoder: import("@aws-sdk/types").Decoder;
35
+ base64Encoder: import("@aws-sdk/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
@@ -5,8 +5,6 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
5
5
  defaultsMode: import("@aws-sdk/types").Provider<
6
6
  import("@aws-sdk/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
- base64Decoder: import("@aws-sdk/types").Decoder;
9
- base64Encoder: import("@aws-sdk/types").Encoder;
10
8
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider: (
12
10
  input: any
@@ -33,6 +31,8 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
33
31
  utf8Encoder: import("@aws-sdk/types").Encoder;
34
32
  apiVersion: string;
35
33
  urlParser: import("@aws-sdk/types").UrlParser;
34
+ base64Decoder: import("@aws-sdk/types").Decoder;
35
+ base64Encoder: import("@aws-sdk/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
@@ -2,6 +2,8 @@ import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { ACMClientConfig } from "./ACMClient";
3
3
  export declare const getRuntimeConfig: (config: ACMClientConfig) => {
4
4
  apiVersion: string;
5
+ base64Decoder: import("@aws-sdk/types").Decoder;
6
+ base64Encoder: import("@aws-sdk/types").Encoder;
5
7
  disableHostPrefix: boolean;
6
8
  endpointProvider: (
7
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
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.202.0",
4
+ "version": "3.206.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",
@@ -19,10 +19,10 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.202.0",
22
+ "@aws-sdk/client-sts": "3.204.0",
23
23
  "@aws-sdk/config-resolver": "3.201.0",
24
- "@aws-sdk/credential-provider-node": "3.202.0",
25
- "@aws-sdk/fetch-http-handler": "3.201.0",
24
+ "@aws-sdk/credential-provider-node": "3.204.0",
25
+ "@aws-sdk/fetch-http-handler": "3.204.0",
26
26
  "@aws-sdk/hash-node": "3.201.0",
27
27
  "@aws-sdk/invalid-dependency": "3.201.0",
28
28
  "@aws-sdk/middleware-content-length": "3.201.0",
@@ -41,6 +41,7 @@
41
41
  "@aws-sdk/smithy-client": "3.201.0",
42
42
  "@aws-sdk/types": "3.201.0",
43
43
  "@aws-sdk/url-parser": "3.201.0",
44
+ "@aws-sdk/util-base64": "3.202.0",
44
45
  "@aws-sdk/util-base64-browser": "3.188.0",
45
46
  "@aws-sdk/util-base64-node": "3.201.0",
46
47
  "@aws-sdk/util-body-length-browser": "3.188.0",