@aws-sdk/client-acm-pca 3.128.0 → 3.134.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.134.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.133.0...v3.134.0) (2022-07-20)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-acm-pca
9
+
10
+
11
+
12
+
13
+
14
+ # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-acm-pca
17
+
18
+
19
+
20
+
21
+
22
+ # [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-acm-pca
package/README.md CHANGED
@@ -22,7 +22,6 @@ depending on the operation. Throttling means that ACM Private CA rejects an othe
22
22
  request because the request exceeds the operation's quota for the number of requests per
23
23
  second. When a request is throttled, ACM Private CA returns a <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. ACM Private CA does not guarantee a minimum request
24
24
  rate for APIs. </p>
25
-
26
25
  <p>To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,
27
26
  log into your Amazon Web Services account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a>
28
27
  console.</p>
@@ -2368,6 +2368,9 @@ const loadRestJsonErrorCode = (output, data) => {
2368
2368
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
2369
2369
  const sanitizeErrorCode = (rawValue) => {
2370
2370
  let cleanValue = rawValue;
2371
+ if (typeof cleanValue === "number") {
2372
+ cleanValue = cleanValue.toString();
2373
+ }
2371
2374
  if (cleanValue.indexOf(":") >= 0) {
2372
2375
  cleanValue = cleanValue.split(":")[0];
2373
2376
  }
@@ -2660,6 +2660,9 @@ var loadRestJsonErrorCode = function (output, data) {
2660
2660
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
2661
2661
  var sanitizeErrorCode = function (rawValue) {
2662
2662
  var cleanValue = rawValue;
2663
+ if (typeof cleanValue === "number") {
2664
+ cleanValue = cleanValue.toString();
2665
+ }
2663
2666
  if (cleanValue.indexOf(":") >= 0) {
2664
2667
  cleanValue = cleanValue.split(":")[0];
2665
2668
  }
@@ -37,7 +37,6 @@ import { UpdateCertificateAuthorityCommandInput, UpdateCertificateAuthorityComma
37
37
  * request because the request exceeds the operation's quota for the number of requests per
38
38
  * second. When a request is throttled, ACM Private CA returns a <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. ACM Private CA does not guarantee a minimum request
39
39
  * rate for APIs. </p>
40
- *
41
40
  * <p>To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,
42
41
  * log into your Amazon Web Services account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a>
43
42
  * console.</p>
@@ -162,7 +162,6 @@ export interface ACMPCAClientResolvedConfig extends ACMPCAClientResolvedConfigTy
162
162
  * request because the request exceeds the operation's quota for the number of requests per
163
163
  * second. When a request is throttled, ACM Private CA returns a <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. ACM Private CA does not guarantee a minimum request
164
164
  * rate for APIs. </p>
165
- *
166
165
  * <p>To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,
167
166
  * log into your Amazon Web Services account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a>
168
167
  * console.</p>
@@ -5,16 +5,13 @@ import { ACMPCAServiceException as __BaseException } from "./ACMPCAServiceExcept
5
5
  */
6
6
  export interface CustomAttribute {
7
7
  /**
8
- * <p>Specifies the object identifier (OID) of the attribute type of
9
- * the
10
- * relative distinguished name
11
- * (RDN).</p>
8
+ * <p>Specifies the object identifier (OID) of the attribute type of the relative
9
+ * distinguished name (RDN).</p>
12
10
  */
13
11
  ObjectIdentifier: string | undefined;
14
12
  /**
15
13
  * <p></p>
16
- * <p>Specifies the attribute value of relative distinguished name
17
- * (RDN).</p>
14
+ * <p>Specifies the attribute value of relative distinguished name (RDN).</p>
18
15
  */
19
16
  Value: string | undefined;
20
17
  }
@@ -103,16 +100,9 @@ export interface ASN1Subject {
103
100
  GenerationQualifier?: string;
104
101
  /**
105
102
  * <p></p>
106
- * <p>Contains a sequence of one or more X.500 relative distinguished
107
- * names
108
- * (RDNs),
109
- * each of which consists of an object identifier (OID) and
110
- * a
111
- * value. For more information, see NIST’s definition of
112
- * <a href="https://csrc.nist.gov/glossary/term/Object_Identifier">Object
113
- * Identifier
114
- * (OID)</a>.</p>
115
- *
103
+ * <p>Contains a sequence of one or more X.500 relative distinguished names (RDNs), each of
104
+ * which consists of an object identifier (OID) and a value. For more information, see
105
+ * NIST’s definition of <a href="https://csrc.nist.gov/glossary/term/Object_Identifier">Object Identifier (OID)</a>.</p>
116
106
  * <note>
117
107
  * <p>Custom attributes cannot be used in combination with standard attributes.</p>
118
108
  * </note>
@@ -417,11 +407,9 @@ export declare enum S3ObjectAcl {
417
407
  * certificate's expiration date or when a certificate is revoked. When a certificate is
418
408
  * revoked, it appears in the CRL until the certificate expires, and then in one additional
419
409
  * CRL after expiration, and it always appears in the audit report.</p>
420
- *
421
410
  * <p>A CRL is typically updated approximately 30 minutes after a certificate
422
411
  * is revoked. If for any reason a CRL update fails, ACM Private CA makes further attempts
423
412
  * every 15 minutes.</p>
424
- *
425
413
  * <p>CRLs contain the following fields:</p>
426
414
  * <ul>
427
415
  * <li>
@@ -678,11 +666,22 @@ export interface CreateCertificateAuthorityRequest {
678
666
  */
679
667
  IdempotencyToken?: string;
680
668
  /**
681
- * <p>Specifies a
682
- * cryptographic key management compliance standard used for handling CA keys.</p>
669
+ * <p>Specifies a cryptographic key management compliance standard used for handling CA
670
+ * keys.</p>
683
671
  * <p>Default: FIPS_140_2_LEVEL_3_OR_HIGHER</p>
684
- * <p>Note: <code>FIPS_140_2_LEVEL_3_OR_HIGHER</code> is not supported in Region
685
- * ap-northeast-3. When creating a CA in the ap-northeast-3, you must provide
672
+ * <p>
673
+ * <i>Note:</i>
674
+ * <code>FIPS_140_2_LEVEL_3_OR_HIGHER</code> is not supported in the following
675
+ * Regions:</p>
676
+ * <ul>
677
+ * <li>
678
+ * <p>ap-northeast-3</p>
679
+ * </li>
680
+ * <li>
681
+ * <p>ap-southeast-3</p>
682
+ * </li>
683
+ * </ul>
684
+ * <p>When creating a CA in these Regions, you must provide
686
685
  * <code>FIPS_140_2_LEVEL_2_OR_HIGHER</code> as the argument for
687
686
  * <code>KeyStorageSecurityStandard</code>. Failure to do this results in an
688
687
  * <code>InvalidArgsException</code> with the message, "A certificate authority cannot
@@ -1445,8 +1444,7 @@ export declare namespace PolicyInformation {
1445
1444
  }
1446
1445
  /**
1447
1446
  * <p></p>
1448
- * <p>Specifies the X.509 extension information for a
1449
- * certificate.</p>
1447
+ * <p>Specifies the X.509 extension information for a certificate.</p>
1450
1448
  * <p>Extensions present in <code>CustomExtensions</code> follow the
1451
1449
  * <code>ApiPassthrough</code>
1452
1450
  * <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/UsingTemplates.html#template-order-of-operations">template
@@ -1455,25 +1453,19 @@ export declare namespace PolicyInformation {
1455
1453
  export interface CustomExtension {
1456
1454
  /**
1457
1455
  * <p></p>
1458
- * <p>Specifies the object identifier (OID) of the X.509 extension. For more information,
1459
- * see the
1460
- * <a href="https://oidref.com/2.5.29">Global OID reference
1461
- * database.</a>
1456
+ * <p>Specifies the object identifier (OID) of the X.509 extension. For more information, see the
1457
+ * <a href="https://oidref.com/2.5.29">Global OID reference database.</a>
1462
1458
  * </p>
1463
1459
  */
1464
1460
  ObjectIdentifier: string | undefined;
1465
1461
  /**
1466
1462
  * <p></p>
1467
- * <p>Specifies the base64-encoded value of the X.509
1468
- * extension.</p>
1463
+ * <p>Specifies the base64-encoded value of the X.509 extension.</p>
1469
1464
  */
1470
1465
  Value: string | undefined;
1471
1466
  /**
1472
1467
  * <p></p>
1473
- * <p>Specifies the critical flag of
1474
- * the
1475
- * X.509
1476
- * extension.</p>
1468
+ * <p>Specifies the critical flag of the X.509 extension.</p>
1477
1469
  */
1478
1470
  Critical?: boolean;
1479
1471
  }
@@ -1550,19 +1542,10 @@ export interface Extensions {
1550
1542
  /**
1551
1543
  * <p></p>
1552
1544
  * <p>Contains a sequence of one or more X.509 extensions, each of which consists of an
1553
- * object identifier (OID), a base64-encoded
1554
- * value,
1555
- * and the
1556
- * critical flag.
1557
- * For
1558
- * more information, see the <a href="https://oidref.com/2.5.29">Global OID reference
1545
+ * object identifier (OID), a base64-encoded value, and the critical flag. For more
1546
+ * information, see the <a href="https://oidref.com/2.5.29">Global OID reference
1559
1547
  * database.</a>
1560
1548
  * </p>
1561
- *
1562
- * <note>
1563
- * <p>The OID value of a <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CustomExtension.html">CustomExtension</a> must not
1564
- * match the OID of a predefined extension.</p>
1565
- * </note>
1566
1549
  */
1567
1550
  CustomExtensions?: CustomExtension[];
1568
1551
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-acm-pca",
3
3
  "description": "AWS SDK for JavaScript Acm Pca Client for Node.js, Browser and React Native",
4
- "version": "3.128.0",
4
+ "version": "3.134.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",
@@ -18,10 +18,10 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.128.0",
22
- "@aws-sdk/config-resolver": "3.128.0",
23
- "@aws-sdk/credential-provider-node": "3.128.0",
24
- "@aws-sdk/fetch-http-handler": "3.127.0",
21
+ "@aws-sdk/client-sts": "3.131.0",
22
+ "@aws-sdk/config-resolver": "3.130.0",
23
+ "@aws-sdk/credential-provider-node": "3.131.0",
24
+ "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
27
27
  "@aws-sdk/middleware-content-length": "3.127.0",
@@ -30,7 +30,7 @@
30
30
  "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
31
  "@aws-sdk/middleware-retry": "3.127.0",
32
32
  "@aws-sdk/middleware-serde": "3.127.0",
33
- "@aws-sdk/middleware-signing": "3.128.0",
33
+ "@aws-sdk/middleware-signing": "3.130.0",
34
34
  "@aws-sdk/middleware-stack": "3.127.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.127.0",
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
@@ -44,7 +44,7 @@
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.128.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.130.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",