diff --git a/CHANGELOG.md b/CHANGELOG.md index b52e1383347..089f9cc4a8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [1.2.47] - 07/05/2024 + +### Features +* (**ecr**) This release for Amazon ECR makes change to bring the SDK into sync with the API. +* (**paymentcryptographydata**) Added further restrictions on logging of potentially sensitive inputs and outputs. +* (**qbusiness**) Add personalization to Q Applications. Customers can enable or disable personalization when creating or updating a Q application with the personalization configuration. + +### Documentation +* (**acm**) Documentation updates, including fixes for xml formatting, broken links, and ListCertificates description. + ## [1.2.46] - 07/03/2024 ### Features diff --git a/codegen/aws-sdk-codegen/src/main/resources/aws/sdk/kotlin/codegen/endpoints.json b/codegen/aws-sdk-codegen/src/main/resources/aws/sdk/kotlin/codegen/endpoints.json index 91c22a854b0..e271448f8cb 100644 --- a/codegen/aws-sdk-codegen/src/main/resources/aws/sdk/kotlin/codegen/endpoints.json +++ b/codegen/aws-sdk-codegen/src/main/resources/aws/sdk/kotlin/codegen/endpoints.json @@ -3923,6 +3923,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -3992,6 +3993,7 @@ "cognito-idp" : { "endpoints" : { "af-south-1" : { }, + "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, "ap-northeast-3" : { }, @@ -4002,6 +4004,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -17739,6 +17742,7 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, diff --git a/codegen/sdk/aws-models/acm.json b/codegen/sdk/aws-models/acm.json index b81b1ddf411..ea4c1443a63 100644 --- a/codegen/sdk/aws-models/acm.json +++ b/codegen/sdk/aws-models/acm.json @@ -1473,13 +1473,13 @@ "SubjectAlternativeNameSummaries": { "target": "com.amazonaws.acm#DomainList", "traits": { - "smithy.api#documentation": "

One or more domain names (subject alternative names) \n included in the certificate. This\n list contains the domain names that are bound to the public key that is contained in the\n certificate. The subject alternative names include the canonical domain name (CN) of the\n certificate and additional domain names that can be used to connect to the website.

\n

When called by ListCertificates, this parameter will only return the first 100 subject alternative\n names included in the certificate. To display the full list of subject alternative names, use\n DescribeCertificate.

" + "smithy.api#documentation": "

One or more domain names (subject alternative names) \n included in the certificate. This\n list contains the domain names that are bound to the public key that is contained in the\n certificate. The subject alternative names include the canonical domain name (CN) of the\n certificate and additional domain names that can be used to connect to the website.

\n

When called by ListCertificates, this parameter will only return the first 100 subject alternative\n names included in the certificate. To display the full list of subject alternative names, use\n DescribeCertificate.

" } }, "HasAdditionalSubjectAlternativeNames": { "target": "com.amazonaws.acm#NullableBoolean", "traits": { - "smithy.api#documentation": "

When called by ListCertificates, indicates whether the full list of subject alternative names has\n been included in the response. If false, the response includes all of the subject alternative\n names included in the certificate. If true, the response only includes the first 100 subject\n alternative names included in the certificate. To display the full list of subject alternative\n names, use DescribeCertificate.

" + "smithy.api#documentation": "

When called by ListCertificates, indicates whether the full list of subject alternative names has\n been included in the response. If false, the response includes all of the subject alternative\n names included in the certificate. If true, the response only includes the first 100 subject\n alternative names included in the certificate. To display the full list of subject alternative\n names, use DescribeCertificate.

" } }, "Status": { @@ -1838,7 +1838,7 @@ "ValidationStatus": { "target": "com.amazonaws.acm#DomainStatus", "traits": { - "smithy.api#documentation": "

The validation status of the domain name. This can be one of the following values:

\n " + "smithy.api#documentation": "

The validation status of the domain name. This can be one of the following values:

\n " } }, "ResourceRecord": { @@ -2291,7 +2291,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of\n the certificate of the issuing CA and the intermediate certificates of any other subordinate\n CAs. All of the certificates are base64 encoded. You can use OpenSSL to decode\n the certificates and inspect individual fields.

", + "smithy.api#documentation": "

Retrieves a certificate and its certificate chain. The certificate may be either a public\n or private certificate issued using the ACM RequestCertificate action, or a\n certificate imported into ACM using the ImportCertificate action. The chain\n consists of the certificate of the issuing CA and the intermediate certificates of any other\n subordinate CAs. All of the certificates are base64 encoded. You can use OpenSSL to decode\n the certificates and inspect individual fields.

", "smithy.test#smokeTests": [ { "id": "GetCertificateFailure", @@ -2386,7 +2386,7 @@ } ], "traits": { - "smithy.api#documentation": "

Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with\n ACM. Note that integrated\n services allow only certificate types and keys they support to be associated with\n their resources. Further, their support differs depending on whether the certificate is\n imported into IAM or into ACM. For more information, see the documentation for each\n service. For more information about importing certificates into ACM, see Importing\n Certificates in the Certificate Manager User Guide.

\n \n

ACM does not provide managed renewal for certificates that you import.

\n
\n

Note the following guidelines when importing third party certificates:

\n \n

This operation returns the Amazon\n Resource Name (ARN) of the imported certificate.

" + "smithy.api#documentation": "

Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with\n ACM. Note that integrated\n services allow only certificate types and keys they support to be associated with\n their resources. Further, their support differs depending on whether the certificate is\n imported into IAM or into ACM. For more information, see the documentation for each\n service. For more information about importing certificates into ACM, see Importing\n Certificates in the Certificate Manager User Guide.

\n \n

ACM does not provide managed renewal for certificates that you import.

\n
\n

Note the following guidelines when importing third party certificates:

\n \n

This operation returns the Amazon\n Resource Name (ARN) of the imported certificate.

" } }, "com.amazonaws.acm#ImportCertificateRequest": { @@ -2706,7 +2706,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves a list of certificate ARNs and domain names. You can request that only\n certificates that match a specific status be listed. You can also filter by specific\n attributes of the certificate. Default filtering returns only RSA_2048\n certificates. For more information, see Filters.

", + "smithy.api#documentation": "

Retrieves a list of certificate ARNs and domain names. By default, the API returns RSA_2048 certificates. To return all certificates in the account, include the keyType filter with the values [RSA_1024, RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1].

\n

In addition to keyType, you can also filter by the CertificateStatuses, keyUsage, and extendedKeyUsage attributes on the certificate. For more information, see Filters.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -3230,7 +3230,7 @@ "KeyAlgorithm": { "target": "com.amazonaws.acm#KeyAlgorithm", "traits": { - "smithy.api#documentation": "

Specifies the algorithm of the public and private key pair that your certificate uses to\n encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital\n Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but\n with greater computing efficiency. However, ECDSA is not supported by all network clients.\n Some AWS services may require RSA keys, or only support ECDSA keys of a particular size, while\n others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken.\n Check the requirements for the AWS service where you plan to deploy your certificate.

\n

Default: RSA_2048

" + "smithy.api#documentation": "

Specifies the algorithm of the public and private key pair that your certificate uses to\n encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital\n Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but\n with greater computing efficiency. However, ECDSA is not supported by all network clients.\n Some Amazon Web Services services may require RSA keys, or only support ECDSA keys of a particular size,\n while others allow the use of either RSA and ECDSA keys to ensure that compatibility is not\n broken. Check the requirements for the Amazon Web Services service where you plan to deploy your\n certificate. For more information about selecting an algorithm, see Key\n algorithms.

\n \n

Algorithms supported for an ACM certificate request include:

\n \n

Other listed algorithms are for imported certificates only.

\n
\n \n

When you request a private PKI certificate signed by a CA from Amazon Web Services Private CA, the\n specified signing algorithm family (RSA or ECDSA) must match the algorithm family of\n the CA's secret key.

\n
\n

Default: RSA_2048

" } } }, diff --git a/codegen/sdk/aws-models/ecr.json b/codegen/sdk/aws-models/ecr.json index 7f10c77ad43..7cacc1c713c 100644 --- a/codegen/sdk/aws-models/ecr.json +++ b/codegen/sdk/aws-models/ecr.json @@ -6226,7 +6226,7 @@ "traits": { "smithy.api#length": { "min": 0, - "max": 25 + "max": 100 } } }, diff --git a/codegen/sdk/aws-models/payment-cryptography-data.json b/codegen/sdk/aws-models/payment-cryptography-data.json index cb412cc47a4..e551c23b9c6 100644 --- a/codegen/sdk/aws-models/payment-cryptography-data.json +++ b/codegen/sdk/aws-models/payment-cryptography-data.json @@ -18,7 +18,7 @@ "type": "structure", "members": { "CardExpiryDate": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals4", + "target": "com.amazonaws.paymentcryptographydata#CardExpiryDateType", "traits": { "smithy.api#documentation": "

The expiry date of a payment card.

", "smithy.api#required": {} @@ -33,14 +33,14 @@ "type": "structure", "members": { "CardExpiryDate": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals4", + "target": "com.amazonaws.paymentcryptographydata#CardExpiryDateType", "traits": { "smithy.api#documentation": "

The expiry date of a payment card.

", "smithy.api#required": {} } }, "ServiceCode": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals3", + "target": "com.amazonaws.paymentcryptographydata#ServiceCodeType", "traits": { "smithy.api#documentation": "

The service code of the AMEX payment card. This is different from the Card Security Code (CSC).

", "smithy.api#required": {} @@ -51,6 +51,17 @@ "smithy.api#documentation": "

Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.

" } }, + "com.amazonaws.paymentcryptographydata#ApplicationCryptogramType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 16, + "max": 16 + }, + "smithy.api#pattern": "^[0-9a-fA-F]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#AsymmetricEncryptionAttributes": { "type": "structure", "members": { @@ -65,6 +76,39 @@ "smithy.api#documentation": "

Parameters for plaintext encryption using asymmetric keys.

" } }, + "com.amazonaws.paymentcryptographydata#AuthRequestCryptogramType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 16, + "max": 16 + }, + "smithy.api#pattern": "^[0-9a-fA-F]+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.paymentcryptographydata#AuthResponseValueType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 16 + }, + "smithy.api#pattern": "^[0-9a-fA-F]+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.paymentcryptographydata#CardExpiryDateType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 4, + "max": 4 + }, + "smithy.api#pattern": "^[0-9]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#CardGenerationAttributes": { "type": "union", "members": { @@ -198,14 +242,14 @@ "type": "structure", "members": { "CardExpiryDate": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals4", + "target": "com.amazonaws.paymentcryptographydata#CardExpiryDateType", "traits": { "smithy.api#documentation": "

The expiry date of a payment card.

", "smithy.api#required": {} } }, "ServiceCode": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals3", + "target": "com.amazonaws.paymentcryptographydata#ServiceCodeType", "traits": { "smithy.api#documentation": "

The service code of the payment card. This is different from Card Security Code (CSC).

", "smithy.api#required": {} @@ -220,7 +264,7 @@ "type": "structure", "members": { "CardExpiryDate": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals4", + "target": "com.amazonaws.paymentcryptographydata#CardExpiryDateType", "traits": { "smithy.api#documentation": "

The expiry date of a payment card.

", "smithy.api#required": {} @@ -231,6 +275,17 @@ "smithy.api#documentation": "

Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card.

" } }, + "com.amazonaws.paymentcryptographydata#CipherTextType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 16, + "max": 4096 + }, + "smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#CryptogramAuthResponse": { "type": "union", "members": { @@ -277,7 +332,7 @@ } }, "ProprietaryAuthenticationData": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthBetween1And16", + "target": "com.amazonaws.paymentcryptographydata#ProprietaryAuthenticationDataType", "traits": { "smithy.api#documentation": "

The proprietary authentication data used by issuer for communication during online transaction using an EMV chip card.

" } @@ -287,6 +342,17 @@ "smithy.api#documentation": "

Parameters that are required for ARPC response generation using method2 after ARQC verification is successful.

" } }, + "com.amazonaws.paymentcryptographydata#DecimalizationTableType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 16, + "max": 16 + }, + "smithy.api#pattern": "^[0-9]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#DecryptData": { "type": "operation", "input": { @@ -333,7 +399,7 @@ } }, "CipherText": { - "target": "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween16And4096", + "target": "com.amazonaws.paymentcryptographydata#CipherTextType", "traits": { "smithy.api#documentation": "

The ciphertext to decrypt.

", "smithy.api#required": {} @@ -375,7 +441,7 @@ } }, "PlainText": { - "target": "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween16And4096", + "target": "com.amazonaws.paymentcryptographydata#PlainTextOutputType", "traits": { "smithy.api#documentation": "

The decrypted plaintext data in hexBinary format.

", "smithy.api#required": {} @@ -390,7 +456,7 @@ "type": "structure", "members": { "CardExpiryDate": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals4", + "target": "com.amazonaws.paymentcryptographydata#CardExpiryDateType", "traits": { "smithy.api#documentation": "

The expiry date of a payment card.

", "smithy.api#required": {} @@ -520,7 +586,7 @@ } }, "InitializationVector": { - "target": "com.amazonaws.paymentcryptographydata#HexLength16Or32", + "target": "com.amazonaws.paymentcryptographydata#InitializationVectorType", "traits": { "smithy.api#documentation": "

An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.

" } @@ -589,7 +655,7 @@ } }, "TrackData": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthBetween2And160", + "target": "com.amazonaws.paymentcryptographydata#TrackDataType", "traits": { "smithy.api#documentation": "

The data on the two tracks of magnetic cards used for financial transactions. This includes the cardholder name, PAN, expiration date, bank ID (BIN) and several other numbers the issuing bank uses to validate the data received.

", "smithy.api#required": {} @@ -611,14 +677,14 @@ } }, "CardExpiryDate": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals4", + "target": "com.amazonaws.paymentcryptographydata#CardExpiryDateType", "traits": { "smithy.api#documentation": "

The expiry date of a payment card.

", "smithy.api#required": {} } }, "ServiceCode": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals3", + "target": "com.amazonaws.paymentcryptographydata#ServiceCodeType", "traits": { "smithy.api#documentation": "

The service code of the payment card. This is different from Card Security Code (CSC).

", "smithy.api#required": {} @@ -647,7 +713,7 @@ } }, "PrimaryAccountNumber": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19", + "target": "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType", "traits": { "smithy.api#documentation": "

The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.

", "smithy.api#required": {} @@ -661,7 +727,7 @@ } }, "SessionDerivationData": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals16", + "target": "com.amazonaws.paymentcryptographydata#SessionDerivationDataType", "traits": { "smithy.api#documentation": "

The derivation value used to derive the ICC session key. It is typically the application transaction counter value padded with zeros or previous ARQC value padded with zeros as per EMV version 4.3 book 2.

", "smithy.api#required": {} @@ -674,7 +740,7 @@ } }, "InitializationVector": { - "target": "com.amazonaws.paymentcryptographydata#HexLength16Or32", + "target": "com.amazonaws.paymentcryptographydata#InitializationVectorType", "traits": { "smithy.api#documentation": "

An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.

" } @@ -760,7 +826,7 @@ } }, "PlainText": { - "target": "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween16And4064", + "target": "com.amazonaws.paymentcryptographydata#PlainTextType", "traits": { "smithy.api#documentation": "

The plaintext to be encrypted.

\n \n

For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength that you define in KeyAlgorithm and padding type that you define in AsymmetricEncryptionAttributes. For more information, see Encrypt data in the Amazon Web Services Payment Cryptography User Guide.

\n
", "smithy.api#required": {} @@ -801,7 +867,7 @@ } }, "CipherText": { - "target": "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween16And4096", + "target": "com.amazonaws.paymentcryptographydata#CipherTextType", "traits": { "smithy.api#documentation": "

The encrypted ciphertext.

", "smithy.api#required": {} @@ -812,6 +878,17 @@ "smithy.api#output": {} } }, + "com.amazonaws.paymentcryptographydata#EncryptedPinBlockType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 16, + "max": 32 + }, + "smithy.api#pattern": "^[0-9a-fA-F]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#EncryptionDecryptionAttributes": { "type": "union", "members": { @@ -922,7 +999,7 @@ } }, "PrimaryAccountNumber": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19", + "target": "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType", "traits": { "smithy.api#documentation": "

The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.

", "smithy.api#required": {} @@ -964,7 +1041,7 @@ } }, "ValidationData": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween3And5", + "target": "com.amazonaws.paymentcryptographydata#ValidationDataType", "traits": { "smithy.api#documentation": "

The CVV or CSC value that Amazon Web Services Payment Cryptography generates for the card.

", "smithy.api#required": {} @@ -1020,7 +1097,7 @@ } }, "MessageData": { - "target": "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween2And4096", + "target": "com.amazonaws.paymentcryptographydata#MessageDataType", "traits": { "smithy.api#documentation": "

The data for which a MAC is under generation. This value must be hexBinary.

", "smithy.api#required": {} @@ -1062,7 +1139,7 @@ } }, "Mac": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthBetween4And128", + "target": "com.amazonaws.paymentcryptographydata#MacOutputType", "traits": { "smithy.api#documentation": "

The MAC cryptogram generated within Amazon Web Services Payment Cryptography.

", "smithy.api#required": {} @@ -1139,7 +1216,7 @@ } }, "PrimaryAccountNumber": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19", + "target": "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType", "traits": { "smithy.api#documentation": "

The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.

", "smithy.api#required": {} @@ -1189,7 +1266,7 @@ } }, "EncryptedPinBlock": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthBetween16And32", + "target": "com.amazonaws.paymentcryptographydata#EncryptedPinBlockType", "traits": { "smithy.api#documentation": "

The PIN block encrypted under PEK from Amazon Web Services Payment Cryptography. The encrypted PIN block is a composite of PAN (Primary Account Number) and PIN (Personal Identification Number), generated in accordance with ISO 9564 standard.

", "smithy.api#required": {} @@ -1218,61 +1295,6 @@ "smithy.api#sensitive": {} } }, - "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween16And4064": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 16, - "max": 4064 - }, - "smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween16And4096": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 16, - "max": 4096 - }, - "smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween2And4096": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 2, - "max": 4096 - }, - "smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween4And128": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 4, - "max": 128 - }, - "smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.paymentcryptographydata#HexLength16Or32": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 16, - "max": 32 - }, - "smithy.api#pattern": "^(?:[0-9a-fA-F]{16}|[0-9a-fA-F]{32})$", - "smithy.api#sensitive": {} - } - }, "com.amazonaws.paymentcryptographydata#HexLengthBetween10And24": { "type": "string", "traits": { @@ -1283,46 +1305,6 @@ "smithy.api#pattern": "^[0-9a-fA-F]+$" } }, - "com.amazonaws.paymentcryptographydata#HexLengthBetween16And32": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 16, - "max": 32 - }, - "smithy.api#pattern": "^[0-9a-fA-F]+$" - } - }, - "com.amazonaws.paymentcryptographydata#HexLengthBetween1And16": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 16 - }, - "smithy.api#pattern": "^[0-9a-fA-F]+$" - } - }, - "com.amazonaws.paymentcryptographydata#HexLengthBetween2And1024": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 2, - "max": 1024 - }, - "smithy.api#pattern": "^[0-9a-fA-F]+$" - } - }, - "com.amazonaws.paymentcryptographydata#HexLengthBetween2And160": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 2, - "max": 160 - }, - "smithy.api#pattern": "^[0-9a-fA-F]+$" - } - }, "com.amazonaws.paymentcryptographydata#HexLengthBetween2And4": { "type": "string", "traits": { @@ -1343,16 +1325,6 @@ "smithy.api#pattern": "^[0-9a-fA-F]+$" } }, - "com.amazonaws.paymentcryptographydata#HexLengthBetween4And128": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 4, - "max": 128 - }, - "smithy.api#pattern": "^[0-9a-fA-F]+$" - } - }, "com.amazonaws.paymentcryptographydata#HexLengthEquals1": { "type": "string", "traits": { @@ -1363,16 +1335,6 @@ "smithy.api#pattern": "^[0-9A-F]+$" } }, - "com.amazonaws.paymentcryptographydata#HexLengthEquals16": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 16, - "max": 16 - }, - "smithy.api#pattern": "^[0-9a-fA-F]+$" - } - }, "com.amazonaws.paymentcryptographydata#HexLengthEquals4": { "type": "string", "traits": { @@ -1397,7 +1359,7 @@ "type": "structure", "members": { "DecimalizationTable": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals16", + "target": "com.amazonaws.paymentcryptographydata#DecimalizationTableType", "traits": { "smithy.api#documentation": "

The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.

", "smithy.api#required": {} @@ -1411,7 +1373,7 @@ } }, "PinValidationData": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween4And16", + "target": "com.amazonaws.paymentcryptographydata#PinValidationDataType", "traits": { "smithy.api#documentation": "

The unique data for cardholder identification.

", "smithy.api#required": {} @@ -1426,7 +1388,7 @@ "type": "structure", "members": { "DecimalizationTable": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals16", + "target": "com.amazonaws.paymentcryptographydata#DecimalizationTableType", "traits": { "smithy.api#documentation": "

The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.

", "smithy.api#required": {} @@ -1440,14 +1402,14 @@ } }, "PinValidationData": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween4And16", + "target": "com.amazonaws.paymentcryptographydata#PinValidationDataType", "traits": { "smithy.api#documentation": "

The unique data for cardholder identification.

", "smithy.api#required": {} } }, "PinOffset": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween4And12", + "target": "com.amazonaws.paymentcryptographydata#PinOffsetType", "traits": { "smithy.api#documentation": "

The PIN offset value.

", "smithy.api#required": {} @@ -1462,14 +1424,14 @@ "type": "structure", "members": { "EncryptedPinBlock": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthBetween16And32", + "target": "com.amazonaws.paymentcryptographydata#EncryptedPinBlockType", "traits": { "smithy.api#documentation": "

The encrypted PIN block data. According to ISO 9564 standard, a PIN Block is an encoded representation of a payment card Personal Account Number (PAN) and the cardholder Personal Identification Number (PIN).

", "smithy.api#required": {} } }, "DecimalizationTable": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals16", + "target": "com.amazonaws.paymentcryptographydata#DecimalizationTableType", "traits": { "smithy.api#documentation": "

The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.

", "smithy.api#required": {} @@ -1483,7 +1445,7 @@ } }, "PinValidationData": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween4And16", + "target": "com.amazonaws.paymentcryptographydata#PinValidationDataType", "traits": { "smithy.api#documentation": "

The unique data for cardholder identification.

", "smithy.api#required": {} @@ -1498,7 +1460,7 @@ "type": "structure", "members": { "DecimalizationTable": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals16", + "target": "com.amazonaws.paymentcryptographydata#DecimalizationTableType", "traits": { "smithy.api#documentation": "

The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.

", "smithy.api#required": {} @@ -1512,14 +1474,14 @@ } }, "PinValidationData": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween4And16", + "target": "com.amazonaws.paymentcryptographydata#PinValidationDataType", "traits": { "smithy.api#documentation": "

The unique data for cardholder identification.

", "smithy.api#required": {} } }, "PinOffset": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween4And12", + "target": "com.amazonaws.paymentcryptographydata#PinOffsetType", "traits": { "smithy.api#documentation": "

The PIN offset value.

", "smithy.api#required": {} @@ -1534,7 +1496,7 @@ "type": "structure", "members": { "DecimalizationTable": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals16", + "target": "com.amazonaws.paymentcryptographydata#DecimalizationTableType", "traits": { "smithy.api#documentation": "

The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.

", "smithy.api#required": {} @@ -1548,7 +1510,7 @@ } }, "PinValidationData": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween4And16", + "target": "com.amazonaws.paymentcryptographydata#PinValidationDataType", "traits": { "smithy.api#documentation": "

The unique data for cardholder identification.

", "smithy.api#required": {} @@ -1559,6 +1521,17 @@ "smithy.api#documentation": "

Parameters that are required to generate or verify Ibm3624 random PIN.

" } }, + "com.amazonaws.paymentcryptographydata#InitializationVectorType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 16, + "max": 32 + }, + "smithy.api#pattern": "^(?:[0-9a-fA-F]{16}|[0-9a-fA-F]{32})$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#IntegerRangeBetween0And6": { "type": "integer", "traits": { @@ -1727,7 +1700,7 @@ } }, "PrimaryAccountNumber": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19", + "target": "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType", "traits": { "smithy.api#documentation": "

The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.

", "smithy.api#required": {} @@ -1797,70 +1770,52 @@ "smithy.api#documentation": "

Parameters that are required for DUKPT, HMAC, or EMV MAC generation or verification.

" } }, - "com.amazonaws.paymentcryptographydata#MajorKeyDerivationMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EMV_OPTION_A", - "name": "EMV_OPTION_A" - }, - { - "value": "EMV_OPTION_B", - "name": "EMV_OPTION_B" - } - ] - } - }, - "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19": { + "com.amazonaws.paymentcryptographydata#MacOutputType": { "type": "string", "traits": { "smithy.api#length": { - "min": 12, - "max": 19 + "min": 4, + "max": 128 }, - "smithy.api#pattern": "^[0-9]+$", + "smithy.api#pattern": "^[0-9a-fA-F]+$", "smithy.api#sensitive": {} } }, - "com.amazonaws.paymentcryptographydata#NumberLengthBetween3And5": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 3, - "max": 5 - }, - "smithy.api#pattern": "^[0-9]+$" - } - }, - "com.amazonaws.paymentcryptographydata#NumberLengthBetween4And12": { + "com.amazonaws.paymentcryptographydata#MacType": { "type": "string", "traits": { "smithy.api#length": { "min": 4, - "max": 12 + "max": 128 }, - "smithy.api#pattern": "^[0-9]+$" + "smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", + "smithy.api#sensitive": {} } }, - "com.amazonaws.paymentcryptographydata#NumberLengthBetween4And16": { + "com.amazonaws.paymentcryptographydata#MajorKeyDerivationMode": { "type": "string", "traits": { - "smithy.api#length": { - "min": 4, - "max": 16 - }, - "smithy.api#pattern": "^[0-9]+$" + "smithy.api#enum": [ + { + "value": "EMV_OPTION_A", + "name": "EMV_OPTION_A" + }, + { + "value": "EMV_OPTION_B", + "name": "EMV_OPTION_B" + } + ] } }, - "com.amazonaws.paymentcryptographydata#NumberLengthEquals16": { + "com.amazonaws.paymentcryptographydata#MessageDataType": { "type": "string", "traits": { "smithy.api#length": { - "min": 16, - "max": 16 + "min": 2, + "max": 4096 }, - "smithy.api#pattern": "^[0-9]+$" + "smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", + "smithy.api#sensitive": {} } }, "com.amazonaws.paymentcryptographydata#NumberLengthEquals2": { @@ -1873,26 +1828,6 @@ "smithy.api#pattern": "^[0-9]+$" } }, - "com.amazonaws.paymentcryptographydata#NumberLengthEquals3": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 3, - "max": 3 - }, - "smithy.api#pattern": "^[0-9]+$" - } - }, - "com.amazonaws.paymentcryptographydata#NumberLengthEquals4": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 4, - "max": 4 - }, - "smithy.api#pattern": "^[0-9]+$" - } - }, "com.amazonaws.paymentcryptographydata#PaddingType": { "type": "string", "traits": { @@ -2652,13 +2587,13 @@ "type": "union", "members": { "PinOffset": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween4And12", + "target": "com.amazonaws.paymentcryptographydata#PinOffsetType", "traits": { "smithy.api#documentation": "

The PIN offset value.

" } }, "VerificationValue": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween4And12", + "target": "com.amazonaws.paymentcryptographydata#VerificationValueType", "traits": { "smithy.api#documentation": "

The unique data to identify a cardholder. In most cases, this is the same as cardholder's Primary Account Number (PAN). If a value is not provided, it defaults to PAN.

" } @@ -2712,6 +2647,28 @@ "smithy.api#documentation": "

Parameters that are required for PIN data generation.

" } }, + "com.amazonaws.paymentcryptographydata#PinOffsetType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 4, + "max": 12 + }, + "smithy.api#pattern": "^[0-9]+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.paymentcryptographydata#PinValidationDataType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 4, + "max": 16 + }, + "smithy.api#pattern": "^[0-9]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#PinVerificationAttributes": { "type": "union", "members": { @@ -2732,6 +2689,50 @@ "smithy.api#documentation": "

Parameters that are required for PIN data verification.

" } }, + "com.amazonaws.paymentcryptographydata#PlainTextOutputType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 16, + "max": 4096 + }, + "smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.paymentcryptographydata#PlainTextType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 16, + "max": 4064 + }, + "smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 12, + "max": 19 + }, + "smithy.api#pattern": "^[0-9]+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.paymentcryptographydata#ProprietaryAuthenticationDataType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 16 + }, + "smithy.api#pattern": "^[0-9a-fA-F]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#ReEncryptData": { "type": "operation", "input": { @@ -2785,7 +2786,7 @@ } }, "CipherText": { - "target": "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween16And4096", + "target": "com.amazonaws.paymentcryptographydata#CipherTextType", "traits": { "smithy.api#documentation": "

Ciphertext to be encrypted. The minimum allowed length is 16 bytes and maximum allowed length is 4096 bytes.

", "smithy.api#required": {} @@ -2840,7 +2841,7 @@ } }, "CipherText": { - "target": "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween16And4096", + "target": "com.amazonaws.paymentcryptographydata#CipherTextType", "traits": { "smithy.api#documentation": "

The encrypted ciphertext.

", "smithy.api#required": {} @@ -2884,11 +2885,33 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.paymentcryptographydata#ServiceCodeType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 3 + }, + "smithy.api#pattern": "^[0-9]+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.paymentcryptographydata#SessionDerivationDataType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 16, + "max": 16 + }, + "smithy.api#pattern": "^[0-9a-fA-F]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#SessionKeyAmex": { "type": "structure", "members": { "PrimaryAccountNumber": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19", + "target": "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType", "traits": { "smithy.api#documentation": "

The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.

", "smithy.api#required": {} @@ -2975,7 +2998,7 @@ "type": "union", "members": { "ApplicationCryptogram": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals16", + "target": "com.amazonaws.paymentcryptographydata#ApplicationCryptogramType", "traits": { "smithy.api#documentation": "

The cryptogram provided by the terminal during transaction processing.

" } @@ -2995,7 +3018,7 @@ "type": "structure", "members": { "PrimaryAccountNumber": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19", + "target": "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType", "traits": { "smithy.api#documentation": "

The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.

", "smithy.api#required": {} @@ -3024,7 +3047,7 @@ "type": "structure", "members": { "PrimaryAccountNumber": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19", + "target": "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType", "traits": { "smithy.api#documentation": "

The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.

", "smithy.api#required": {} @@ -3053,7 +3076,7 @@ "type": "structure", "members": { "PrimaryAccountNumber": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19", + "target": "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType", "traits": { "smithy.api#documentation": "

The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.

", "smithy.api#required": {} @@ -3089,7 +3112,7 @@ "type": "structure", "members": { "PrimaryAccountNumber": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19", + "target": "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType", "traits": { "smithy.api#documentation": "

The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.

", "smithy.api#required": {} @@ -3118,7 +3141,7 @@ } }, "InitializationVector": { - "target": "com.amazonaws.paymentcryptographydata#HexLength16Or32", + "target": "com.amazonaws.paymentcryptographydata#InitializationVectorType", "traits": { "smithy.api#documentation": "

An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.

" } @@ -3158,6 +3181,28 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.paymentcryptographydata#TrackDataType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 2, + "max": 160 + }, + "smithy.api#pattern": "^[0-9a-fA-F]+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.paymentcryptographydata#TransactionDataType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 2, + "max": 1024 + }, + "smithy.api#pattern": "^[0-9a-fA-F]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#TranslatePinData": { "type": "operation", "input": { @@ -3263,7 +3308,7 @@ "type": "structure", "members": { "PinBlock": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthBetween16And32", + "target": "com.amazonaws.paymentcryptographydata#EncryptedPinBlockType", "traits": { "smithy.api#documentation": "

The outgoing encrypted PIN block data after translation.

", "smithy.api#required": {} @@ -3324,7 +3369,7 @@ "type": "structure", "members": { "PrimaryAccountNumber": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19", + "target": "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType", "traits": { "smithy.api#documentation": "

The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.

", "smithy.api#required": {} @@ -3342,6 +3387,17 @@ "smithy.api#documentation": "

Parameters that are required for ISO9564 PIN format 1 tranlation.

" } }, + "com.amazonaws.paymentcryptographydata#ValidationDataType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 5 + }, + "smithy.api#pattern": "^[0-9]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#ValidationException": { "type": "structure", "members": { @@ -3437,6 +3493,17 @@ ] } }, + "com.amazonaws.paymentcryptographydata#VerificationValueType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 4, + "max": 12 + }, + "smithy.api#pattern": "^[0-9]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#VerifyAuthRequestCryptogram": { "type": "operation", "input": { @@ -3485,14 +3552,14 @@ } }, "TransactionData": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthBetween2And1024", + "target": "com.amazonaws.paymentcryptographydata#TransactionDataType", "traits": { "smithy.api#documentation": "

The transaction data that Amazon Web Services Payment Cryptography uses for ARQC verification. The same transaction is used for ARQC generation outside of Amazon Web Services Payment Cryptography.

", "smithy.api#required": {} } }, "AuthRequestCryptogram": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals16", + "target": "com.amazonaws.paymentcryptographydata#AuthRequestCryptogramType", "traits": { "smithy.api#documentation": "

The auth request cryptogram imported into Amazon Web Services Payment Cryptography for ARQC verification using a major encryption key and transaction data.

", "smithy.api#required": {} @@ -3541,7 +3608,7 @@ } }, "AuthResponseValue": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthBetween1And16", + "target": "com.amazonaws.paymentcryptographydata#AuthResponseValueType", "traits": { "smithy.api#documentation": "

The result for ARQC verification or ARPC generation within Amazon Web Services Payment Cryptography.

" } @@ -3599,7 +3666,7 @@ } }, "PrimaryAccountNumber": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19", + "target": "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType", "traits": { "smithy.api#documentation": "

The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.

", "smithy.api#required": {} @@ -3613,7 +3680,7 @@ } }, "ValidationData": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween3And5", + "target": "com.amazonaws.paymentcryptographydata#ValidationDataType", "traits": { "smithy.api#documentation": "

The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.

", "smithy.api#required": {} @@ -3694,14 +3761,14 @@ } }, "MessageData": { - "target": "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween2And4096", + "target": "com.amazonaws.paymentcryptographydata#MessageDataType", "traits": { "smithy.api#documentation": "

The data on for which MAC is under verification. This value must be hexBinary.

", "smithy.api#required": {} } }, "Mac": { - "target": "com.amazonaws.paymentcryptographydata#HexEvenLengthBetween4And128", + "target": "com.amazonaws.paymentcryptographydata#MacType", "traits": { "smithy.api#documentation": "

The MAC being verified.

", "smithy.api#required": {} @@ -3809,14 +3876,14 @@ } }, "EncryptedPinBlock": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthBetween16And32", + "target": "com.amazonaws.paymentcryptographydata#EncryptedPinBlockType", "traits": { "smithy.api#documentation": "

The encrypted PIN block data that Amazon Web Services Payment Cryptography verifies.

", "smithy.api#required": {} } }, "PrimaryAccountNumber": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween12And19", + "target": "com.amazonaws.paymentcryptographydata#PrimaryAccountNumberType", "traits": { "smithy.api#documentation": "

The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.

", "smithy.api#required": {} @@ -3909,7 +3976,7 @@ } }, "VerificationValue": { - "target": "com.amazonaws.paymentcryptographydata#NumberLengthBetween4And12", + "target": "com.amazonaws.paymentcryptographydata#VerificationValueType", "traits": { "smithy.api#documentation": "

Parameters that are required to generate or verify Visa PVV (PIN Verification Value).

", "smithy.api#required": {} @@ -3924,7 +3991,7 @@ "type": "structure", "members": { "EncryptedPinBlock": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthBetween16And32", + "target": "com.amazonaws.paymentcryptographydata#EncryptedPinBlockType", "traits": { "smithy.api#documentation": "

The encrypted PIN block data to verify.

", "smithy.api#required": {} diff --git a/codegen/sdk/aws-models/qbusiness.json b/codegen/sdk/aws-models/qbusiness.json index f8eab988932..95590147dd8 100644 --- a/codegen/sdk/aws-models/qbusiness.json +++ b/codegen/sdk/aws-models/qbusiness.json @@ -1878,7 +1878,7 @@ "kms:DescribeKey", "kms:CreateGrant" ], - "smithy.api#documentation": "

Creates an Amazon Q Business application.

\n \n

There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are \n also available in Amazon Q Business Lite. For information on what's included in \n Amazon Q Business Lite and what's included in \n Amazon Q Business Pro, see Amazon Q Business tiers. \n You must use the Amazon Q Business console to assign subscription tiers to users.

\n
", + "smithy.api#documentation": "

Creates an Amazon Q Business application.

\n \n

There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are\n also available in Amazon Q Business Lite. For information on what's included in\n Amazon Q Business Lite and what's included in Amazon Q Business Pro, see Amazon Q Business tiers. You must use the Amazon Q Business console to assign\n subscription tiers to users.

\n
", "smithy.api#http": { "uri": "/applications", "method": "POST" @@ -1944,7 +1944,13 @@ "qAppsConfiguration": { "target": "com.amazonaws.qbusiness#QAppsConfiguration", "traits": { - "smithy.api#documentation": "

An option to allow end users to create and use Amazon Q Apps in the web experience.

" + "smithy.api#documentation": "

An option to allow end users to create and use Amazon Q Apps in the web\n experience.

" + } + }, + "personalizationConfiguration": { + "target": "com.amazonaws.qbusiness#PersonalizationConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration information about chat response personalization. For more information,\n see Personalizing chat responses\n

" } } }, @@ -4691,7 +4697,7 @@ "h2" ] }, - "smithy.api#documentation": "

This is the Amazon Q Business API Reference. Amazon Q Business is a fully\n managed, generative-AI powered enterprise chat assistant that you can deploy within your\n organization. Amazon Q Business enhances employee productivity by supporting key tasks such\n as question-answering, knowledge discovery, writing email messages, summarizing text,\n drafting document outlines, and brainstorming ideas. Users ask questions of\n Amazon Q Business and get answers that are presented in a conversational manner. For an\n introduction to the service, see the \n Amazon Q Business User Guide\n .

\n

For an overview of the Amazon Q Business APIs, see Overview of Amazon Q Business API operations.

\n

For information about the IAM access control permissions you need to\n use this API, see IAM roles for Amazon Q Business in the\n Amazon Q Business User Guide.

\n

You can use the following AWS SDKs to access Amazon Q Business APIs:

\n \n

The following resources provide additional information about using the Amazon Q Business\n API:

\n ", + "smithy.api#documentation": "

This is the Amazon Q Business API Reference. Amazon Q Business is a fully\n managed, generative-AI powered enterprise chat assistant that you can deploy within your\n organization. Amazon Q Business enhances employee productivity by supporting key tasks such\n as question-answering, knowledge discovery, writing email messages, summarizing text,\n drafting document outlines, and brainstorming ideas. Users ask questions of\n Amazon Q Business and get answers that are presented in a conversational manner. For an\n introduction to the service, see the \n Amazon Q Business User Guide\n .

\n

For an overview of the Amazon Q Business APIs, see Overview of Amazon Q Business API operations.

\n

For information about the IAM access control permissions you need to\n use this API, see IAM roles for Amazon Q Business in the\n Amazon Q Business User Guide.

\n

The following resources provide additional information about using the Amazon Q Business\n API:

\n ", "smithy.api#title": "QBusiness", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -5256,7 +5262,13 @@ "qAppsConfiguration": { "target": "com.amazonaws.qbusiness#QAppsConfiguration", "traits": { - "smithy.api#documentation": "

Settings for whether end users can create and use Amazon Q Apps in the web experience.

" + "smithy.api#documentation": "

Settings for whether end users can create and use Amazon Q Apps in the web\n experience.

" + } + }, + "personalizationConfiguration": { + "target": "com.amazonaws.qbusiness#PersonalizationConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration information about chat response personalization. For more information,\n see Personalizing chat responses.

" } } }, @@ -8525,6 +8537,38 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.qbusiness#PersonalizationConfiguration": { + "type": "structure", + "members": { + "personalizationControlMode": { + "target": "com.amazonaws.qbusiness#PersonalizationControlMode", + "traits": { + "smithy.api#documentation": "

An option to allow Amazon Q Business to customize chat responses using user\n specific metadata—specifically, location and job information—in your\n IAM Identity Center instance.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Configuration information about chat response personalization. For more information,\n see Personalizing chat responses.

" + } + }, + "com.amazonaws.qbusiness#PersonalizationControlMode": { + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } + } + }, "com.amazonaws.qbusiness#Plugin": { "type": "structure", "members": { @@ -10419,7 +10463,13 @@ "qAppsConfiguration": { "target": "com.amazonaws.qbusiness#QAppsConfiguration", "traits": { - "smithy.api#documentation": "

An option to allow end users to create and use Amazon Q Apps in the web experience.

" + "smithy.api#documentation": "

An option to allow end users to create and use Amazon Q Apps in the web\n experience.

" + } + }, + "personalizationConfiguration": { + "target": "com.amazonaws.qbusiness#PersonalizationConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration information about chat response personalization. For more information,\n see Personalizing chat responses.

" } } }, diff --git a/gradle.properties b/gradle.properties index a99a3d6aa6d..64bbdaf45bf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ kotlin.native.ignoreDisabledTargets=true org.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=2G # sdk -sdkVersion=1.2.47-SNAPSHOT +sdkVersion=1.2.48-SNAPSHOT # dokka config (values specified at build-time as needed) smithyKotlinDocBaseUrl=https://sdk.amazonaws.com/kotlin/api/smithy-kotlin/api/$smithyKotlinRuntimeVersion/