Skip to content

Commit ca757b7

Browse files
Private Certificate Authority service now supports P521 and RSA3072 key algorithms.
1 parent 04a568e commit ca757b7

File tree

10 files changed

+42
-0
lines changed

10 files changed

+42
-0
lines changed

generator/ServiceModels/acm-pca/acm-pca-2017-08-22.api.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@
274274
"errors":[
275275
{"shape":"ResourceNotFoundException"},
276276
{"shape":"InvalidArnException"},
277+
{"shape":"RequestFailedException"},
277278
{"shape":"InvalidStateException"}
278279
]
279280
},
@@ -1049,9 +1050,11 @@
10491050
"type":"string",
10501051
"enum":[
10511052
"RSA_2048",
1053+
"RSA_3072",
10521054
"RSA_4096",
10531055
"EC_prime256v1",
10541056
"EC_secp384r1",
1057+
"EC_secp521r1",
10551058
"SM2"
10561059
]
10571060
},

generator/ServiceModels/acm-pca/acm-pca-2017-08-22.normal.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@
290290
"errors":[
291291
{"shape":"ResourceNotFoundException"},
292292
{"shape":"InvalidArnException"},
293+
{"shape":"RequestFailedException"},
293294
{"shape":"InvalidStateException"}
294295
],
295296
"documentation":"<p>Lists the tags, if any, that are associated with your private CA or one that has been shared with you. Tags are labels that you can use to identify and organize your CAs. Each tag consists of a key and an optional value. Call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_TagCertificateAuthority.html\">TagCertificateAuthority</a> action to add one or more tags to your CA. Call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_UntagCertificateAuthority.html\">UntagCertificateAuthority</a> action to remove tags. </p>"
@@ -1462,9 +1463,11 @@
14621463
"type":"string",
14631464
"enum":[
14641465
"RSA_2048",
1466+
"RSA_3072",
14651467
"RSA_4096",
14661468
"EC_prime256v1",
14671469
"EC_secp384r1",
1470+
"EC_secp521r1",
14681471
"SM2"
14691472
]
14701473
},

sdk/src/Services/ACMPCA/Generated/Model/Internal/MarshallTransformations/ListTagsResponseUnmarshaller.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ public override AmazonServiceException UnmarshallException(JsonUnmarshallerConte
9595
{
9696
return InvalidStateExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
9797
}
98+
if (errorResponse.Code != null && errorResponse.Code.Equals("RequestFailedException"))
99+
{
100+
return RequestFailedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
101+
}
98102
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
99103
{
100104
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);

sdk/src/Services/ACMPCA/Generated/ServiceEnumerations.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,10 +603,18 @@ public class KeyAlgorithm : ConstantClass
603603
/// </summary>
604604
public static readonly KeyAlgorithm EC_secp384r1 = new KeyAlgorithm("EC_secp384r1");
605605
/// <summary>
606+
/// Constant EC_secp521r1 for KeyAlgorithm
607+
/// </summary>
608+
public static readonly KeyAlgorithm EC_secp521r1 = new KeyAlgorithm("EC_secp521r1");
609+
/// <summary>
606610
/// Constant RSA_2048 for KeyAlgorithm
607611
/// </summary>
608612
public static readonly KeyAlgorithm RSA_2048 = new KeyAlgorithm("RSA_2048");
609613
/// <summary>
614+
/// Constant RSA_3072 for KeyAlgorithm
615+
/// </summary>
616+
public static readonly KeyAlgorithm RSA_3072 = new KeyAlgorithm("RSA_3072");
617+
/// <summary>
610618
/// Constant RSA_4096 for KeyAlgorithm
611619
/// </summary>
612620
public static readonly KeyAlgorithm RSA_4096 = new KeyAlgorithm("RSA_4096");

sdk/src/Services/ACMPCA/Generated/_bcl35/AmazonACMPCAClient.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1927,6 +1927,9 @@ public virtual ListPermissionsResponse EndListPermissions(IAsyncResult asyncResu
19271927
/// <exception cref="Amazon.ACMPCA.Model.InvalidStateException">
19281928
/// The state of the private CA does not allow this action to occur.
19291929
/// </exception>
1930+
/// <exception cref="Amazon.ACMPCA.Model.RequestFailedException">
1931+
/// The request has failed for an unspecified reason.
1932+
/// </exception>
19301933
/// <exception cref="Amazon.ACMPCA.Model.ResourceNotFoundException">
19311934
/// A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot
19321935
/// be found.

sdk/src/Services/ACMPCA/Generated/_bcl35/IAmazonACMPCA.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,6 +1485,9 @@ public partial interface IAmazonACMPCA : IAmazonService, IDisposable
14851485
/// <exception cref="Amazon.ACMPCA.Model.InvalidStateException">
14861486
/// The state of the private CA does not allow this action to occur.
14871487
/// </exception>
1488+
/// <exception cref="Amazon.ACMPCA.Model.RequestFailedException">
1489+
/// The request has failed for an unspecified reason.
1490+
/// </exception>
14881491
/// <exception cref="Amazon.ACMPCA.Model.ResourceNotFoundException">
14891492
/// A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot
14901493
/// be found.

sdk/src/Services/ACMPCA/Generated/_bcl45/AmazonACMPCAClient.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2473,6 +2473,9 @@ public virtual ListPermissionsResponse ListPermissions(ListPermissionsRequest re
24732473
/// <exception cref="Amazon.ACMPCA.Model.InvalidStateException">
24742474
/// The state of the private CA does not allow this action to occur.
24752475
/// </exception>
2476+
/// <exception cref="Amazon.ACMPCA.Model.RequestFailedException">
2477+
/// The request has failed for an unspecified reason.
2478+
/// </exception>
24762479
/// <exception cref="Amazon.ACMPCA.Model.ResourceNotFoundException">
24772480
/// A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot
24782481
/// be found.
@@ -2507,6 +2510,9 @@ public virtual ListTagsResponse ListTags(ListTagsRequest request)
25072510
/// <exception cref="Amazon.ACMPCA.Model.InvalidStateException">
25082511
/// The state of the private CA does not allow this action to occur.
25092512
/// </exception>
2513+
/// <exception cref="Amazon.ACMPCA.Model.RequestFailedException">
2514+
/// The request has failed for an unspecified reason.
2515+
/// </exception>
25102516
/// <exception cref="Amazon.ACMPCA.Model.ResourceNotFoundException">
25112517
/// A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot
25122518
/// be found.

sdk/src/Services/ACMPCA/Generated/_bcl45/IAmazonACMPCA.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,6 +2044,9 @@ public partial interface IAmazonACMPCA : IAmazonService, IDisposable
20442044
/// <exception cref="Amazon.ACMPCA.Model.InvalidStateException">
20452045
/// The state of the private CA does not allow this action to occur.
20462046
/// </exception>
2047+
/// <exception cref="Amazon.ACMPCA.Model.RequestFailedException">
2048+
/// The request has failed for an unspecified reason.
2049+
/// </exception>
20472050
/// <exception cref="Amazon.ACMPCA.Model.ResourceNotFoundException">
20482051
/// A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot
20492052
/// be found.
@@ -2072,6 +2075,9 @@ public partial interface IAmazonACMPCA : IAmazonService, IDisposable
20722075
/// <exception cref="Amazon.ACMPCA.Model.InvalidStateException">
20732076
/// The state of the private CA does not allow this action to occur.
20742077
/// </exception>
2078+
/// <exception cref="Amazon.ACMPCA.Model.RequestFailedException">
2079+
/// The request has failed for an unspecified reason.
2080+
/// </exception>
20752081
/// <exception cref="Amazon.ACMPCA.Model.ResourceNotFoundException">
20762082
/// A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot
20772083
/// be found.

sdk/src/Services/ACMPCA/Generated/_netstandard/AmazonACMPCAClient.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,6 +1625,9 @@ internal virtual ListTagsResponse ListTags(ListTagsRequest request)
16251625
/// <exception cref="Amazon.ACMPCA.Model.InvalidStateException">
16261626
/// The state of the private CA does not allow this action to occur.
16271627
/// </exception>
1628+
/// <exception cref="Amazon.ACMPCA.Model.RequestFailedException">
1629+
/// The request has failed for an unspecified reason.
1630+
/// </exception>
16281631
/// <exception cref="Amazon.ACMPCA.Model.ResourceNotFoundException">
16291632
/// A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot
16301633
/// be found.

sdk/src/Services/ACMPCA/Generated/_netstandard/IAmazonACMPCA.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,6 +1135,9 @@ public partial interface IAmazonACMPCA : IAmazonService, IDisposable
11351135
/// <exception cref="Amazon.ACMPCA.Model.InvalidStateException">
11361136
/// The state of the private CA does not allow this action to occur.
11371137
/// </exception>
1138+
/// <exception cref="Amazon.ACMPCA.Model.RequestFailedException">
1139+
/// The request has failed for an unspecified reason.
1140+
/// </exception>
11381141
/// <exception cref="Amazon.ACMPCA.Model.ResourceNotFoundException">
11391142
/// A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot
11401143
/// be found.

0 commit comments

Comments
 (0)