Files
reflector/aws/lambda-nodejs18.x/UpdateZulipStreams/node_modules/aws-sdk/apis/payment-cryptography-data-2022-02-03.min.json
2023-11-20 21:39:33 +07:00

1031 lines
26 KiB
JSON

{
"version": "2.0",
"metadata": {
"apiVersion": "2022-02-03",
"endpointPrefix": "dataplane.payment-cryptography",
"jsonVersion": "1.1",
"protocol": "rest-json",
"serviceFullName": "Payment Cryptography Data Plane",
"serviceId": "Payment Cryptography Data",
"signatureVersion": "v4",
"signingName": "payment-cryptography",
"uid": "payment-cryptography-data-2022-02-03"
},
"operations": {
"DecryptData": {
"http": {
"requestUri": "/keys/{KeyIdentifier}/decrypt",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"CipherText",
"DecryptionAttributes",
"KeyIdentifier"
],
"members": {
"CipherText": {
"shape": "S2"
},
"DecryptionAttributes": {
"shape": "S3"
},
"KeyIdentifier": {
"location": "uri",
"locationName": "KeyIdentifier"
}
}
},
"output": {
"type": "structure",
"required": [
"KeyArn",
"KeyCheckValue",
"PlainText"
],
"members": {
"KeyArn": {},
"KeyCheckValue": {},
"PlainText": {
"shape": "S2"
}
}
}
},
"EncryptData": {
"http": {
"requestUri": "/keys/{KeyIdentifier}/encrypt",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"EncryptionAttributes",
"KeyIdentifier",
"PlainText"
],
"members": {
"EncryptionAttributes": {
"shape": "S3"
},
"KeyIdentifier": {
"location": "uri",
"locationName": "KeyIdentifier"
},
"PlainText": {
"type": "string",
"sensitive": true
}
}
},
"output": {
"type": "structure",
"required": [
"CipherText",
"KeyArn"
],
"members": {
"CipherText": {
"shape": "S2"
},
"KeyArn": {},
"KeyCheckValue": {}
}
}
},
"GenerateCardValidationData": {
"http": {
"requestUri": "/cardvalidationdata/generate",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"GenerationAttributes",
"KeyIdentifier",
"PrimaryAccountNumber"
],
"members": {
"GenerationAttributes": {
"type": "structure",
"members": {
"AmexCardSecurityCodeVersion1": {
"shape": "Sn"
},
"AmexCardSecurityCodeVersion2": {
"shape": "Sp"
},
"CardHolderVerificationValue": {
"shape": "Sr"
},
"CardVerificationValue1": {
"shape": "Sv"
},
"CardVerificationValue2": {
"shape": "Sw"
},
"DynamicCardVerificationCode": {
"shape": "Sx"
},
"DynamicCardVerificationValue": {
"shape": "Sz"
}
},
"union": true
},
"KeyIdentifier": {},
"PrimaryAccountNumber": {
"shape": "S10"
},
"ValidationDataLength": {
"type": "integer"
}
}
},
"output": {
"type": "structure",
"required": [
"KeyArn",
"KeyCheckValue",
"ValidationData"
],
"members": {
"KeyArn": {},
"KeyCheckValue": {},
"ValidationData": {}
}
}
},
"GenerateMac": {
"http": {
"requestUri": "/mac/generate",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"GenerationAttributes",
"KeyIdentifier",
"MessageData"
],
"members": {
"GenerationAttributes": {
"shape": "S15"
},
"KeyIdentifier": {},
"MacLength": {
"type": "integer"
},
"MessageData": {
"shape": "S1e"
}
}
},
"output": {
"type": "structure",
"required": [
"KeyArn",
"KeyCheckValue",
"Mac"
],
"members": {
"KeyArn": {},
"KeyCheckValue": {},
"Mac": {}
}
}
},
"GeneratePinData": {
"http": {
"requestUri": "/pindata/generate",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"EncryptionKeyIdentifier",
"GenerationAttributes",
"GenerationKeyIdentifier",
"PinBlockFormat",
"PrimaryAccountNumber"
],
"members": {
"EncryptionKeyIdentifier": {},
"GenerationAttributes": {
"type": "structure",
"members": {
"Ibm3624NaturalPin": {
"type": "structure",
"required": [
"DecimalizationTable",
"PinValidationData",
"PinValidationDataPadCharacter"
],
"members": {
"DecimalizationTable": {},
"PinValidationData": {},
"PinValidationDataPadCharacter": {}
}
},
"Ibm3624PinFromOffset": {
"type": "structure",
"required": [
"DecimalizationTable",
"PinOffset",
"PinValidationData",
"PinValidationDataPadCharacter"
],
"members": {
"DecimalizationTable": {},
"PinOffset": {},
"PinValidationData": {},
"PinValidationDataPadCharacter": {}
}
},
"Ibm3624PinOffset": {
"type": "structure",
"required": [
"DecimalizationTable",
"EncryptedPinBlock",
"PinValidationData",
"PinValidationDataPadCharacter"
],
"members": {
"DecimalizationTable": {},
"EncryptedPinBlock": {},
"PinValidationData": {},
"PinValidationDataPadCharacter": {}
}
},
"Ibm3624RandomPin": {
"type": "structure",
"required": [
"DecimalizationTable",
"PinValidationData",
"PinValidationDataPadCharacter"
],
"members": {
"DecimalizationTable": {},
"PinValidationData": {},
"PinValidationDataPadCharacter": {}
}
},
"VisaPin": {
"type": "structure",
"required": [
"PinVerificationKeyIndex"
],
"members": {
"PinVerificationKeyIndex": {
"type": "integer"
}
}
},
"VisaPinVerificationValue": {
"type": "structure",
"required": [
"EncryptedPinBlock",
"PinVerificationKeyIndex"
],
"members": {
"EncryptedPinBlock": {},
"PinVerificationKeyIndex": {
"type": "integer"
}
}
}
},
"union": true
},
"GenerationKeyIdentifier": {},
"PinBlockFormat": {},
"PinDataLength": {
"type": "integer"
},
"PrimaryAccountNumber": {
"shape": "S10"
}
}
},
"output": {
"type": "structure",
"required": [
"EncryptedPinBlock",
"EncryptionKeyArn",
"EncryptionKeyCheckValue",
"GenerationKeyArn",
"GenerationKeyCheckValue",
"PinData"
],
"members": {
"EncryptedPinBlock": {},
"EncryptionKeyArn": {},
"EncryptionKeyCheckValue": {},
"GenerationKeyArn": {},
"GenerationKeyCheckValue": {},
"PinData": {
"type": "structure",
"members": {
"PinOffset": {},
"VerificationValue": {}
},
"union": true
}
}
}
},
"ReEncryptData": {
"http": {
"requestUri": "/keys/{IncomingKeyIdentifier}/reencrypt",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"CipherText",
"IncomingEncryptionAttributes",
"IncomingKeyIdentifier",
"OutgoingEncryptionAttributes",
"OutgoingKeyIdentifier"
],
"members": {
"CipherText": {
"shape": "S2"
},
"IncomingEncryptionAttributes": {
"shape": "S20"
},
"IncomingKeyIdentifier": {
"location": "uri",
"locationName": "IncomingKeyIdentifier"
},
"OutgoingEncryptionAttributes": {
"shape": "S20"
},
"OutgoingKeyIdentifier": {}
}
},
"output": {
"type": "structure",
"required": [
"CipherText",
"KeyArn",
"KeyCheckValue"
],
"members": {
"CipherText": {
"shape": "S2"
},
"KeyArn": {},
"KeyCheckValue": {}
}
}
},
"TranslatePinData": {
"http": {
"requestUri": "/pindata/translate",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"EncryptedPinBlock",
"IncomingKeyIdentifier",
"IncomingTranslationAttributes",
"OutgoingKeyIdentifier",
"OutgoingTranslationAttributes"
],
"members": {
"EncryptedPinBlock": {
"type": "string",
"sensitive": true
},
"IncomingDukptAttributes": {
"shape": "S24"
},
"IncomingKeyIdentifier": {},
"IncomingTranslationAttributes": {
"shape": "S25"
},
"OutgoingDukptAttributes": {
"shape": "S24"
},
"OutgoingKeyIdentifier": {},
"OutgoingTranslationAttributes": {
"shape": "S25"
}
}
},
"output": {
"type": "structure",
"required": [
"KeyArn",
"KeyCheckValue",
"PinBlock"
],
"members": {
"KeyArn": {},
"KeyCheckValue": {},
"PinBlock": {}
}
}
},
"VerifyAuthRequestCryptogram": {
"http": {
"requestUri": "/cryptogram/verify",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"AuthRequestCryptogram",
"KeyIdentifier",
"MajorKeyDerivationMode",
"SessionKeyDerivationAttributes",
"TransactionData"
],
"members": {
"AuthRequestCryptogram": {},
"AuthResponseAttributes": {
"type": "structure",
"members": {
"ArpcMethod1": {
"type": "structure",
"required": [
"AuthResponseCode"
],
"members": {
"AuthResponseCode": {}
}
},
"ArpcMethod2": {
"type": "structure",
"required": [
"CardStatusUpdate"
],
"members": {
"CardStatusUpdate": {},
"ProprietaryAuthenticationData": {}
}
}
},
"union": true
},
"KeyIdentifier": {},
"MajorKeyDerivationMode": {},
"SessionKeyDerivationAttributes": {
"type": "structure",
"members": {
"Amex": {
"type": "structure",
"required": [
"PanSequenceNumber",
"PrimaryAccountNumber"
],
"members": {
"PanSequenceNumber": {},
"PrimaryAccountNumber": {
"shape": "S10"
}
}
},
"Emv2000": {
"type": "structure",
"required": [
"ApplicationTransactionCounter",
"PanSequenceNumber",
"PrimaryAccountNumber"
],
"members": {
"ApplicationTransactionCounter": {},
"PanSequenceNumber": {},
"PrimaryAccountNumber": {
"shape": "S10"
}
}
},
"EmvCommon": {
"type": "structure",
"required": [
"ApplicationTransactionCounter",
"PanSequenceNumber",
"PrimaryAccountNumber"
],
"members": {
"ApplicationTransactionCounter": {},
"PanSequenceNumber": {},
"PrimaryAccountNumber": {
"shape": "S10"
}
}
},
"Mastercard": {
"type": "structure",
"required": [
"ApplicationTransactionCounter",
"PanSequenceNumber",
"PrimaryAccountNumber",
"UnpredictableNumber"
],
"members": {
"ApplicationTransactionCounter": {},
"PanSequenceNumber": {},
"PrimaryAccountNumber": {
"shape": "S10"
},
"UnpredictableNumber": {}
}
},
"Visa": {
"type": "structure",
"required": [
"PanSequenceNumber",
"PrimaryAccountNumber"
],
"members": {
"PanSequenceNumber": {},
"PrimaryAccountNumber": {
"shape": "S10"
}
}
}
},
"union": true
},
"TransactionData": {}
}
},
"output": {
"type": "structure",
"required": [
"KeyArn",
"KeyCheckValue"
],
"members": {
"AuthResponseValue": {},
"KeyArn": {},
"KeyCheckValue": {}
}
}
},
"VerifyCardValidationData": {
"http": {
"requestUri": "/cardvalidationdata/verify",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"KeyIdentifier",
"PrimaryAccountNumber",
"ValidationData",
"VerificationAttributes"
],
"members": {
"KeyIdentifier": {},
"PrimaryAccountNumber": {
"shape": "S10"
},
"ValidationData": {},
"VerificationAttributes": {
"type": "structure",
"members": {
"AmexCardSecurityCodeVersion1": {
"shape": "Sn"
},
"AmexCardSecurityCodeVersion2": {
"shape": "Sp"
},
"CardHolderVerificationValue": {
"shape": "Sr"
},
"CardVerificationValue1": {
"shape": "Sv"
},
"CardVerificationValue2": {
"shape": "Sw"
},
"DiscoverDynamicCardVerificationCode": {
"type": "structure",
"required": [
"ApplicationTransactionCounter",
"CardExpiryDate",
"UnpredictableNumber"
],
"members": {
"ApplicationTransactionCounter": {},
"CardExpiryDate": {},
"UnpredictableNumber": {}
}
},
"DynamicCardVerificationCode": {
"shape": "Sx"
},
"DynamicCardVerificationValue": {
"shape": "Sz"
}
},
"union": true
}
}
},
"output": {
"type": "structure",
"required": [
"KeyArn",
"KeyCheckValue"
],
"members": {
"KeyArn": {},
"KeyCheckValue": {}
}
}
},
"VerifyMac": {
"http": {
"requestUri": "/mac/verify",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"KeyIdentifier",
"Mac",
"MessageData",
"VerificationAttributes"
],
"members": {
"KeyIdentifier": {},
"Mac": {
"type": "string",
"sensitive": true
},
"MacLength": {
"type": "integer"
},
"MessageData": {
"shape": "S1e"
},
"VerificationAttributes": {
"shape": "S15"
}
}
},
"output": {
"type": "structure",
"required": [
"KeyArn",
"KeyCheckValue"
],
"members": {
"KeyArn": {},
"KeyCheckValue": {}
}
}
},
"VerifyPinData": {
"http": {
"requestUri": "/pindata/verify",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"EncryptedPinBlock",
"EncryptionKeyIdentifier",
"PinBlockFormat",
"PrimaryAccountNumber",
"VerificationAttributes",
"VerificationKeyIdentifier"
],
"members": {
"DukptAttributes": {
"type": "structure",
"required": [
"DukptDerivationType",
"KeySerialNumber"
],
"members": {
"DukptDerivationType": {},
"KeySerialNumber": {}
}
},
"EncryptedPinBlock": {},
"EncryptionKeyIdentifier": {},
"PinBlockFormat": {},
"PinDataLength": {
"type": "integer"
},
"PrimaryAccountNumber": {
"shape": "S10"
},
"VerificationAttributes": {
"type": "structure",
"members": {
"Ibm3624Pin": {
"type": "structure",
"required": [
"DecimalizationTable",
"PinOffset",
"PinValidationData",
"PinValidationDataPadCharacter"
],
"members": {
"DecimalizationTable": {},
"PinOffset": {},
"PinValidationData": {},
"PinValidationDataPadCharacter": {}
}
},
"VisaPin": {
"type": "structure",
"required": [
"PinVerificationKeyIndex",
"VerificationValue"
],
"members": {
"PinVerificationKeyIndex": {
"type": "integer"
},
"VerificationValue": {}
}
}
},
"union": true
},
"VerificationKeyIdentifier": {}
}
},
"output": {
"type": "structure",
"required": [
"EncryptionKeyArn",
"EncryptionKeyCheckValue",
"VerificationKeyArn",
"VerificationKeyCheckValue"
],
"members": {
"EncryptionKeyArn": {},
"EncryptionKeyCheckValue": {},
"VerificationKeyArn": {},
"VerificationKeyCheckValue": {}
}
}
}
},
"shapes": {
"S2": {
"type": "string",
"sensitive": true
},
"S3": {
"type": "structure",
"members": {
"Asymmetric": {
"type": "structure",
"members": {
"PaddingType": {}
}
},
"Dukpt": {
"shape": "S6"
},
"Symmetric": {
"shape": "Sc"
}
},
"union": true
},
"S6": {
"type": "structure",
"required": [
"KeySerialNumber"
],
"members": {
"DukptKeyDerivationType": {},
"DukptKeyVariant": {},
"InitializationVector": {
"shape": "S9"
},
"KeySerialNumber": {},
"Mode": {}
}
},
"S9": {
"type": "string",
"sensitive": true
},
"Sc": {
"type": "structure",
"required": [
"Mode"
],
"members": {
"InitializationVector": {
"shape": "S9"
},
"Mode": {},
"PaddingType": {}
}
},
"Sn": {
"type": "structure",
"required": [
"CardExpiryDate"
],
"members": {
"CardExpiryDate": {}
}
},
"Sp": {
"type": "structure",
"required": [
"CardExpiryDate",
"ServiceCode"
],
"members": {
"CardExpiryDate": {},
"ServiceCode": {}
}
},
"Sr": {
"type": "structure",
"required": [
"ApplicationTransactionCounter",
"PanSequenceNumber",
"UnpredictableNumber"
],
"members": {
"ApplicationTransactionCounter": {},
"PanSequenceNumber": {},
"UnpredictableNumber": {}
}
},
"Sv": {
"type": "structure",
"required": [
"CardExpiryDate",
"ServiceCode"
],
"members": {
"CardExpiryDate": {},
"ServiceCode": {}
}
},
"Sw": {
"type": "structure",
"required": [
"CardExpiryDate"
],
"members": {
"CardExpiryDate": {}
}
},
"Sx": {
"type": "structure",
"required": [
"ApplicationTransactionCounter",
"PanSequenceNumber",
"TrackData",
"UnpredictableNumber"
],
"members": {
"ApplicationTransactionCounter": {},
"PanSequenceNumber": {},
"TrackData": {},
"UnpredictableNumber": {}
}
},
"Sz": {
"type": "structure",
"required": [
"ApplicationTransactionCounter",
"CardExpiryDate",
"PanSequenceNumber",
"ServiceCode"
],
"members": {
"ApplicationTransactionCounter": {},
"CardExpiryDate": {},
"PanSequenceNumber": {},
"ServiceCode": {}
}
},
"S10": {
"type": "string",
"sensitive": true
},
"S15": {
"type": "structure",
"members": {
"Algorithm": {},
"DukptCmac": {
"shape": "S17"
},
"DukptIso9797Algorithm1": {
"shape": "S17"
},
"DukptIso9797Algorithm3": {
"shape": "S17"
},
"EmvMac": {
"type": "structure",
"required": [
"MajorKeyDerivationMode",
"PanSequenceNumber",
"PrimaryAccountNumber",
"SessionKeyDerivationMode",
"SessionKeyDerivationValue"
],
"members": {
"MajorKeyDerivationMode": {},
"PanSequenceNumber": {},
"PrimaryAccountNumber": {
"shape": "S10"
},
"SessionKeyDerivationMode": {},
"SessionKeyDerivationValue": {
"type": "structure",
"members": {
"ApplicationCryptogram": {},
"ApplicationTransactionCounter": {}
},
"union": true
}
}
}
},
"union": true
},
"S17": {
"type": "structure",
"required": [
"DukptKeyVariant",
"KeySerialNumber"
],
"members": {
"DukptDerivationType": {},
"DukptKeyVariant": {},
"KeySerialNumber": {}
}
},
"S1e": {
"type": "string",
"sensitive": true
},
"S20": {
"type": "structure",
"members": {
"Dukpt": {
"shape": "S6"
},
"Symmetric": {
"shape": "Sc"
}
},
"union": true
},
"S24": {
"type": "structure",
"required": [
"KeySerialNumber"
],
"members": {
"DukptKeyDerivationType": {},
"DukptKeyVariant": {},
"KeySerialNumber": {}
}
},
"S25": {
"type": "structure",
"members": {
"IsoFormat0": {
"shape": "S26"
},
"IsoFormat1": {
"type": "structure",
"members": {}
},
"IsoFormat3": {
"shape": "S26"
},
"IsoFormat4": {
"shape": "S26"
}
},
"union": true
},
"S26": {
"type": "structure",
"required": [
"PrimaryAccountNumber"
],
"members": {
"PrimaryAccountNumber": {
"shape": "S10"
}
}
}
}
}