From e4119ab14f52e6cd715363fae3cc24d61bd60a91 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 23 Oct 2024 19:52:03 +0000 Subject: [PATCH] feat(client-payment-cryptography): Add support for ECC P-256 and P-384 Keys. --- clients/client-payment-cryptography/README.md | 2 +- .../client-payment-cryptography/src/models/models_0.ts | 2 ++ codegen/sdk-codegen/aws-models/payment-cryptography.json | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/clients/client-payment-cryptography/README.md b/clients/client-payment-cryptography/README.md index 3af0ebeaf7f9..e71fc15308d6 100644 --- a/clients/client-payment-cryptography/README.md +++ b/clients/client-payment-cryptography/README.md @@ -14,7 +14,7 @@ AWS SDK for JavaScript PaymentCryptography Client for Node.js, Browser and React ## Installing -To install the this package, simply type add or install @aws-sdk/client-payment-cryptography +To install this package, simply type add or install @aws-sdk/client-payment-cryptography using your favorite package manager: - `npm install @aws-sdk/client-payment-cryptography` diff --git a/clients/client-payment-cryptography/src/models/models_0.ts b/clients/client-payment-cryptography/src/models/models_0.ts index 7fd5ddfa8ea2..27de6e4159a6 100644 --- a/clients/client-payment-cryptography/src/models/models_0.ts +++ b/clients/client-payment-cryptography/src/models/models_0.ts @@ -344,6 +344,8 @@ export const KeyAlgorithm = { AES_128: "AES_128", AES_192: "AES_192", AES_256: "AES_256", + ECC_NIST_P256: "ECC_NIST_P256", + ECC_NIST_P384: "ECC_NIST_P384", RSA_2048: "RSA_2048", RSA_3072: "RSA_3072", RSA_4096: "RSA_4096", diff --git a/codegen/sdk-codegen/aws-models/payment-cryptography.json b/codegen/sdk-codegen/aws-models/payment-cryptography.json index 8c31e8b5112a..18399edbfb09 100644 --- a/codegen/sdk-codegen/aws-models/payment-cryptography.json +++ b/codegen/sdk-codegen/aws-models/payment-cryptography.json @@ -1518,6 +1518,14 @@ { "value": "RSA_4096", "name": "RSA_4096" + }, + { + "value": "ECC_NIST_P256", + "name": "ECC_NIST_P256" + }, + { + "value": "ECC_NIST_P384", + "name": "ECC_NIST_P384" } ] }