Skip to content

Commit 615a9d9

Browse files
author
awstools
committed
feat(client-acm-pca): Private Certificate Authority service now supports P521 and RSA3072 key algorithms.
1 parent d682df7 commit 615a9d9

File tree

6 files changed

+23
-3
lines changed

6 files changed

+23
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface CreateCertificateAuthorityCommandOutput extends CreateCertifica
5757
* const client = new ACMPCAClient(config);
5858
* const input = { // CreateCertificateAuthorityRequest
5959
* CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
60-
* KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "SM2", // required
60+
* KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "SM2", // required
6161
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
6262
* Subject: { // ASN1Subject
6363
* Country: "STRING_VALUE",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export interface DescribeCertificateAuthorityCommandOutput
9898
* // NotAfter: new Date("TIMESTAMP"),
9999
* // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER",
100100
* // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
101-
* // KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "SM2", // required
101+
* // KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "SM2", // required
102102
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
103103
* // Subject: { // ASN1Subject
104104
* // Country: "STRING_VALUE",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface ListCertificateAuthoritiesCommandOutput extends ListCertificate
5757
* // NotAfter: new Date("TIMESTAMP"),
5858
* // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER",
5959
* // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
60-
* // KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "SM2", // required
60+
* // KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "SM2", // required
6161
* // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2", // required
6262
* // Subject: { // ASN1Subject
6363
* // Country: "STRING_VALUE",

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
7070
* @throws {@link InvalidStateException} (client fault)
7171
* <p>The state of the private CA does not allow this action to occur.</p>
7272
*
73+
* @throws {@link RequestFailedException} (client fault)
74+
* <p>The request has failed for an unspecified reason.</p>
75+
*
7376
* @throws {@link ResourceNotFoundException} (client fault)
7477
* <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
7578
* cannot be found.</p>

clients/client-acm-pca/src/models/models_0.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,9 @@ export interface CsrExtensions {
391391
export const KeyAlgorithm = {
392392
EC_prime256v1: "EC_prime256v1",
393393
EC_secp384r1: "EC_secp384r1",
394+
EC_secp521r1: "EC_secp521r1",
394395
RSA_2048: "RSA_2048",
396+
RSA_3072: "RSA_3072",
395397
RSA_4096: "RSA_4096",
396398
SM2: "SM2",
397399
} as const;

codegen/sdk-codegen/aws-models/acm-pca.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3313,6 +3313,12 @@
33133313
"smithy.api#enumValue": "RSA_2048"
33143314
}
33153315
},
3316+
"RSA_3072": {
3317+
"target": "smithy.api#Unit",
3318+
"traits": {
3319+
"smithy.api#enumValue": "RSA_3072"
3320+
}
3321+
},
33163322
"RSA_4096": {
33173323
"target": "smithy.api#Unit",
33183324
"traits": {
@@ -3331,6 +3337,12 @@
33313337
"smithy.api#enumValue": "EC_secp384r1"
33323338
}
33333339
},
3340+
"EC_secp521r1": {
3341+
"target": "smithy.api#Unit",
3342+
"traits": {
3343+
"smithy.api#enumValue": "EC_secp521r1"
3344+
}
3345+
},
33343346
"SM2": {
33353347
"target": "smithy.api#Unit",
33363348
"traits": {
@@ -3611,6 +3623,9 @@
36113623
{
36123624
"target": "com.amazonaws.acmpca#InvalidStateException"
36133625
},
3626+
{
3627+
"target": "com.amazonaws.acmpca#RequestFailedException"
3628+
},
36143629
{
36153630
"target": "com.amazonaws.acmpca#ResourceNotFoundException"
36163631
}

0 commit comments

Comments
 (0)