Skip to content

Commit 0309a7e

Browse files
author
awstools
committed
docs(client-acm-pca): Doc-only update to add more information to GetCertificate action.
1 parent b25304f commit 0309a7e

29 files changed

+406
-1695
lines changed

clients/client-acm-pca/README.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,7 @@
66

77
AWS SDK for JavaScript ACMPCA Client for Node.js, Browser and React Native.
88

9-
<p>This is the <i>Amazon Web Services Private Certificate Authority API Reference</i>. It provides descriptions,
10-
syntax, and usage examples for each of the actions and data types involved in creating
11-
and managing a private certificate authority (CA) for your organization.</p>
12-
<p>The documentation for each action shows the API request parameters and the JSON
13-
response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is
14-
tailored to the programming language or platform that you prefer. For more information,
15-
see <a href="https://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
16-
<p>Each Amazon Web Services Private CA API operation has a quota that determines the number of times the
17-
operation can be called per second. Amazon Web Services Private CA throttles API requests at different rates
18-
depending on the operation. Throttling means that Amazon Web Services Private CA rejects an otherwise valid
19-
request because the request exceeds the operation's quota for the number of requests per
20-
second. When a request is throttled, Amazon Web Services Private CA returns a <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. Amazon Web Services Private CA does not guarantee a minimum request
21-
rate for APIs. </p>
22-
<p>To see an up-to-date list of your Amazon Web Services Private CA quotas, or to request a quota increase,
23-
log into your Amazon Web Services account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a>
24-
console.</p>
9+
<p>This is the <i>Amazon Web Services Private Certificate Authority API Reference</i>. It provides descriptions, syntax, and usage examples for each of the actions and data types involved in creating and managing a private certificate authority (CA) for your organization.</p> <p>The documentation for each action shows the API request parameters and the JSON response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you prefer. For more information, see <a href="https://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p> <p>Each Amazon Web Services Private CA API operation has a quota that determines the number of times the operation can be called per second. Amazon Web Services Private CA throttles API requests at different rates depending on the operation. Throttling means that Amazon Web Services Private CA rejects an otherwise valid request because the request exceeds the operation's quota for the number of requests per second. When a request is throttled, Amazon Web Services Private CA returns a <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. Amazon Web Services Private CA does not guarantee a minimum request rate for APIs. </p> <p>To see an up-to-date list of your Amazon Web Services Private CA quotas, or to request a quota increase, log into your Amazon Web Services account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a> console.</p>
2510

2611
## Installing
2712

clients/client-acm-pca/src/ACMPCA.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -498,22 +498,7 @@ export interface ACMPCA {
498498
}
499499

500500
/**
501-
* <p>This is the <i>Amazon Web Services Private Certificate Authority API Reference</i>. It provides descriptions,
502-
* syntax, and usage examples for each of the actions and data types involved in creating
503-
* and managing a private certificate authority (CA) for your organization.</p>
504-
* <p>The documentation for each action shows the API request parameters and the JSON
505-
* response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is
506-
* tailored to the programming language or platform that you prefer. For more information,
507-
* see <a href="https://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
508-
* <p>Each Amazon Web Services Private CA API operation has a quota that determines the number of times the
509-
* operation can be called per second. Amazon Web Services Private CA throttles API requests at different rates
510-
* depending on the operation. Throttling means that Amazon Web Services Private CA rejects an otherwise valid
511-
* request because the request exceeds the operation's quota for the number of requests per
512-
* second. When a request is throttled, Amazon Web Services Private CA returns a <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. Amazon Web Services Private CA does not guarantee a minimum request
513-
* rate for APIs. </p>
514-
* <p>To see an up-to-date list of your Amazon Web Services Private CA quotas, or to request a quota increase,
515-
* log into your Amazon Web Services account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a>
516-
* console.</p>
501+
* <p>This is the <i>Amazon Web Services Private Certificate Authority API Reference</i>. It provides descriptions, syntax, and usage examples for each of the actions and data types involved in creating and managing a private certificate authority (CA) for your organization.</p> <p>The documentation for each action shows the API request parameters and the JSON response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you prefer. For more information, see <a href="https://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p> <p>Each Amazon Web Services Private CA API operation has a quota that determines the number of times the operation can be called per second. Amazon Web Services Private CA throttles API requests at different rates depending on the operation. Throttling means that Amazon Web Services Private CA rejects an otherwise valid request because the request exceeds the operation's quota for the number of requests per second. When a request is throttled, Amazon Web Services Private CA returns a <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. Amazon Web Services Private CA does not guarantee a minimum request rate for APIs. </p> <p>To see an up-to-date list of your Amazon Web Services Private CA quotas, or to request a quota increase, log into your Amazon Web Services account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a> console.</p>
517502
* @public
518503
*/
519504
export class ACMPCA extends ACMPCAClient implements ACMPCA {}

clients/client-acm-pca/src/ACMPCAClient.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -373,22 +373,7 @@ export type ACMPCAClientResolvedConfigType = __SmithyResolvedConfiguration<__Htt
373373
export interface ACMPCAClientResolvedConfig extends ACMPCAClientResolvedConfigType {}
374374

375375
/**
376-
* <p>This is the <i>Amazon Web Services Private Certificate Authority API Reference</i>. It provides descriptions,
377-
* syntax, and usage examples for each of the actions and data types involved in creating
378-
* and managing a private certificate authority (CA) for your organization.</p>
379-
* <p>The documentation for each action shows the API request parameters and the JSON
380-
* response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is
381-
* tailored to the programming language or platform that you prefer. For more information,
382-
* see <a href="https://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
383-
* <p>Each Amazon Web Services Private CA API operation has a quota that determines the number of times the
384-
* operation can be called per second. Amazon Web Services Private CA throttles API requests at different rates
385-
* depending on the operation. Throttling means that Amazon Web Services Private CA rejects an otherwise valid
386-
* request because the request exceeds the operation's quota for the number of requests per
387-
* second. When a request is throttled, Amazon Web Services Private CA returns a <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. Amazon Web Services Private CA does not guarantee a minimum request
388-
* rate for APIs. </p>
389-
* <p>To see an up-to-date list of your Amazon Web Services Private CA quotas, or to request a quota increase,
390-
* log into your Amazon Web Services account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a>
391-
* console.</p>
376+
* <p>This is the <i>Amazon Web Services Private Certificate Authority API Reference</i>. It provides descriptions, syntax, and usage examples for each of the actions and data types involved in creating and managing a private certificate authority (CA) for your organization.</p> <p>The documentation for each action shows the API request parameters and the JSON response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you prefer. For more information, see <a href="https://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p> <p>Each Amazon Web Services Private CA API operation has a quota that determines the number of times the operation can be called per second. Amazon Web Services Private CA throttles API requests at different rates depending on the operation. Throttling means that Amazon Web Services Private CA rejects an otherwise valid request because the request exceeds the operation's quota for the number of requests per second. When a request is throttled, Amazon Web Services Private CA returns a <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/CommonErrors.html">ThrottlingException</a> error. Amazon Web Services Private CA does not guarantee a minimum request rate for APIs. </p> <p>To see an up-to-date list of your Amazon Web Services Private CA quotas, or to request a quota increase, log into your Amazon Web Services account and visit the <a href="https://console.aws.amazon.com/servicequotas/">Service Quotas</a> console.</p>
392377
* @public
393378
*/
394379
export class ACMPCAClient extends __Client<

clients/client-acm-pca/src/commands/CreateCertificateAuthorityAuditReportCommand.ts

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,7 @@ export interface CreateCertificateAuthorityAuditReportCommandOutput
3737
__MetadataBearer {}
3838

3939
/**
40-
* <p>Creates an audit report that lists every time that your CA private key is used to issue a certificate. The <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> and <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_RevokeCertificate.html">RevokeCertificate</a> actions use
41-
* the private key.</p>
42-
* <p>To save the audit report to your designated Amazon S3 bucket, you must create a bucket policy that grants Amazon Web Services Private CA permission to access and write to it. For an example policy, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaAuditReport.html#s3-access">Prepare an Amazon S3 bucket for audit reports</a>.</p>
43-
* <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption.
44-
* For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaAuditReport.html#audit-report-encryption">Encrypting Your Audit
45-
* Reports</a>.</p>
46-
* <note>
47-
* <p>You can generate a maximum of one report every 30 minutes.</p>
48-
* </note>
40+
* <p>Creates an audit report that lists every time that your CA private key is used to issue a certificate. The <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_IssueCertificate.html">IssueCertificate</a> and <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_RevokeCertificate.html">RevokeCertificate</a> actions use the private key.</p> <p>To save the audit report to your designated Amazon S3 bucket, you must create a bucket policy that grants Amazon Web Services Private CA permission to access and write to it. For an example policy, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaAuditReport.html#s3-access">Prepare an Amazon S3 bucket for audit reports</a>.</p> <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaAuditReport.html#audit-report-encryption">Encrypting Your Audit Reports</a>.</p> <note> <p>You can generate a maximum of one report every 30 minutes.</p> </note>
4941
* @example
5042
* Use a bare-bones client and the command you need to make an API call.
5143
* ```javascript
@@ -76,8 +68,7 @@ export interface CreateCertificateAuthorityAuditReportCommandOutput
7668
* <p>One or more of the specified arguments was not valid.</p>
7769
*
7870
* @throws {@link InvalidArnException} (client fault)
79-
* <p>The requested Amazon Resource Name (ARN) does not refer to an existing
80-
* resource.</p>
71+
* <p>The requested Amazon Resource Name (ARN) does not refer to an existing resource.</p>
8172
*
8273
* @throws {@link InvalidStateException} (client fault)
8374
* <p>The state of the private CA does not allow this action to occur.</p>
@@ -89,8 +80,7 @@ export interface CreateCertificateAuthorityAuditReportCommandOutput
8980
* <p>Your request is already in progress.</p>
9081
*
9182
* @throws {@link ResourceNotFoundException} (client fault)
92-
* <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
93-
* cannot be found.</p>
83+
* <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot be found.</p>
9484
*
9585
* @throws {@link ACMPCAServiceException}
9686
* <p>Base exception class for all service exceptions from ACMPCA service.</p>

clients/client-acm-pca/src/commands/CreateCertificateAuthorityCommand.ts

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,7 @@ export interface CreateCertificateAuthorityCommandInput extends CreateCertificat
2828
export interface CreateCertificateAuthorityCommandOutput extends CreateCertificateAuthorityResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Creates a root or subordinate private certificate authority (CA). You must specify the
32-
* CA configuration, an optional configuration for Online Certificate Status Protocol
33-
* (OCSP) and/or a certificate revocation list (CRL), the CA type, and an optional
34-
* idempotency token to avoid accidental creation of multiple CAs. The CA configuration
35-
* specifies the name of the algorithm and key size to be used to create the CA private
36-
* key, the type of signing algorithm that the CA uses, and X.500 subject information. The
37-
* OCSP configuration can optionally specify a custom URL for the OCSP responder. The CRL
38-
* configuration specifies the CRL expiration period in days (the validity period of the
39-
* CRL), the Amazon S3 bucket that will contain the CRL, and a CNAME alias for the S3
40-
* bucket that is included in certificates issued by the CA. If successful, this action
41-
* returns the Amazon Resource Name (ARN) of the CA.</p>
42-
* <note>
43-
* <p>Both Amazon Web Services Private CA and the IAM principal must have permission to write to
44-
* the S3 bucket that you specify. If the IAM principal making the call
45-
* does not have permission to write to the bucket, then an exception is
46-
* thrown. For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#s3-policies">Access
47-
* policies for CRLs in Amazon S3</a>.</p>
48-
* </note>
49-
* <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption.
50-
* For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#crl-encryption">Encrypting Your
51-
* CRLs</a>.</p>
31+
* <p>Creates a root or subordinate private certificate authority (CA). You must specify the CA configuration, an optional configuration for Online Certificate Status Protocol (OCSP) and/or a certificate revocation list (CRL), the CA type, and an optional idempotency token to avoid accidental creation of multiple CAs. The CA configuration specifies the name of the algorithm and key size to be used to create the CA private key, the type of signing algorithm that the CA uses, and X.500 subject information. The OCSP configuration can optionally specify a custom URL for the OCSP responder. The CRL configuration specifies the CRL expiration period in days (the validity period of the CRL), the Amazon S3 bucket that will contain the CRL, and a CNAME alias for the S3 bucket that is included in certificates issued by the CA. If successful, this action returns the Amazon Resource Name (ARN) of the CA.</p> <note> <p>Both Amazon Web Services Private CA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#s3-policies">Access policies for CRLs in Amazon S3</a>.</p> </note> <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#crl-encryption">Encrypting Your CRLs</a>.</p>
5232
* @example
5333
* Use a bare-bones client and the command you need to make an API call.
5434
* ```javascript
@@ -187,16 +167,13 @@ export interface CreateCertificateAuthorityCommandOutput extends CreateCertifica
187167
* <p>One or more of the specified arguments was not valid.</p>
188168
*
189169
* @throws {@link InvalidPolicyException} (client fault)
190-
* <p>The resource policy is invalid or is missing a required statement. For general
191-
* information about IAM policy and statement structure, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json">Overview of JSON Policies</a>.</p>
170+
* <p>The resource policy is invalid or is missing a required statement. For general information about IAM policy and statement structure, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json">Overview of JSON Policies</a>.</p>
192171
*
193172
* @throws {@link InvalidTagException} (client fault)
194-
* <p>The tag associated with the CA is not valid. The invalid argument is contained in the
195-
* message field.</p>
173+
* <p>The tag associated with the CA is not valid. The invalid argument is contained in the message field.</p>
196174
*
197175
* @throws {@link LimitExceededException} (client fault)
198-
* <p>An Amazon Web Services Private CA quota has been exceeded. See the exception message returned to determine
199-
* the quota that was exceeded.</p>
176+
* <p>An Amazon Web Services Private CA quota has been exceeded. See the exception message returned to determine the quota that was exceeded.</p>
200177
*
201178
* @throws {@link ACMPCAServiceException}
202179
* <p>Base exception class for all service exceptions from ACMPCA service.</p>

0 commit comments

Comments
 (0)