mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 05:09:05 +00:00
770 lines
17 KiB
JSON
770 lines
17 KiB
JSON
{
|
|
"version": "2.0",
|
|
"metadata": {
|
|
"apiVersion": "2021-09-14",
|
|
"endpointPrefix": "controlplane.payment-cryptography",
|
|
"jsonVersion": "1.0",
|
|
"protocol": "json",
|
|
"serviceFullName": "Payment Cryptography Control Plane",
|
|
"serviceId": "Payment Cryptography",
|
|
"signatureVersion": "v4",
|
|
"signingName": "payment-cryptography",
|
|
"targetPrefix": "PaymentCryptographyControlPlane",
|
|
"uid": "payment-cryptography-2021-09-14"
|
|
},
|
|
"operations": {
|
|
"CreateAlias": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AliasName"
|
|
],
|
|
"members": {
|
|
"AliasName": {},
|
|
"KeyArn": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Alias"
|
|
],
|
|
"members": {
|
|
"Alias": {
|
|
"shape": "S5"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"CreateKey": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Exportable",
|
|
"KeyAttributes"
|
|
],
|
|
"members": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"Exportable": {
|
|
"type": "boolean"
|
|
},
|
|
"KeyAttributes": {
|
|
"shape": "S8"
|
|
},
|
|
"KeyCheckValueAlgorithm": {},
|
|
"Tags": {
|
|
"shape": "Sf"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Key"
|
|
],
|
|
"members": {
|
|
"Key": {
|
|
"shape": "Sk"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DeleteAlias": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AliasName"
|
|
],
|
|
"members": {
|
|
"AliasName": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
},
|
|
"DeleteKey": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyIdentifier"
|
|
],
|
|
"members": {
|
|
"DeleteKeyInDays": {
|
|
"type": "integer"
|
|
},
|
|
"KeyIdentifier": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Key"
|
|
],
|
|
"members": {
|
|
"Key": {
|
|
"shape": "Sk"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ExportKey": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ExportKeyIdentifier",
|
|
"KeyMaterial"
|
|
],
|
|
"members": {
|
|
"ExportKeyIdentifier": {},
|
|
"KeyMaterial": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Tr31KeyBlock": {
|
|
"type": "structure",
|
|
"required": [
|
|
"WrappingKeyIdentifier"
|
|
],
|
|
"members": {
|
|
"WrappingKeyIdentifier": {}
|
|
}
|
|
},
|
|
"Tr34KeyBlock": {
|
|
"type": "structure",
|
|
"required": [
|
|
"CertificateAuthorityPublicKeyIdentifier",
|
|
"ExportToken",
|
|
"KeyBlockFormat",
|
|
"WrappingKeyCertificate"
|
|
],
|
|
"members": {
|
|
"CertificateAuthorityPublicKeyIdentifier": {},
|
|
"ExportToken": {},
|
|
"KeyBlockFormat": {},
|
|
"RandomNonce": {},
|
|
"WrappingKeyCertificate": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"union": true
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"WrappedKey": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyMaterial",
|
|
"WrappedKeyMaterialFormat",
|
|
"WrappingKeyArn"
|
|
],
|
|
"members": {
|
|
"KeyMaterial": {
|
|
"type": "string",
|
|
"sensitive": true
|
|
},
|
|
"WrappedKeyMaterialFormat": {},
|
|
"WrappingKeyArn": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetAlias": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AliasName"
|
|
],
|
|
"members": {
|
|
"AliasName": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Alias"
|
|
],
|
|
"members": {
|
|
"Alias": {
|
|
"shape": "S5"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetKey": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyIdentifier"
|
|
],
|
|
"members": {
|
|
"KeyIdentifier": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Key"
|
|
],
|
|
"members": {
|
|
"Key": {
|
|
"shape": "Sk"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetParametersForExport": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyMaterialType",
|
|
"SigningKeyAlgorithm"
|
|
],
|
|
"members": {
|
|
"KeyMaterialType": {},
|
|
"SigningKeyAlgorithm": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ExportToken",
|
|
"ParametersValidUntilTimestamp",
|
|
"SigningKeyAlgorithm",
|
|
"SigningKeyCertificate",
|
|
"SigningKeyCertificateChain"
|
|
],
|
|
"members": {
|
|
"ExportToken": {},
|
|
"ParametersValidUntilTimestamp": {
|
|
"type": "timestamp"
|
|
},
|
|
"SigningKeyAlgorithm": {},
|
|
"SigningKeyCertificate": {
|
|
"shape": "S12"
|
|
},
|
|
"SigningKeyCertificateChain": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetParametersForImport": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyMaterialType",
|
|
"WrappingKeyAlgorithm"
|
|
],
|
|
"members": {
|
|
"KeyMaterialType": {},
|
|
"WrappingKeyAlgorithm": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ImportToken",
|
|
"ParametersValidUntilTimestamp",
|
|
"WrappingKeyAlgorithm",
|
|
"WrappingKeyCertificate",
|
|
"WrappingKeyCertificateChain"
|
|
],
|
|
"members": {
|
|
"ImportToken": {},
|
|
"ParametersValidUntilTimestamp": {
|
|
"type": "timestamp"
|
|
},
|
|
"WrappingKeyAlgorithm": {},
|
|
"WrappingKeyCertificate": {
|
|
"shape": "S12"
|
|
},
|
|
"WrappingKeyCertificateChain": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetPublicKeyCertificate": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyIdentifier"
|
|
],
|
|
"members": {
|
|
"KeyIdentifier": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyCertificate",
|
|
"KeyCertificateChain"
|
|
],
|
|
"members": {
|
|
"KeyCertificate": {
|
|
"shape": "S12"
|
|
},
|
|
"KeyCertificateChain": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ImportKey": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyMaterial"
|
|
],
|
|
"members": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"KeyCheckValueAlgorithm": {},
|
|
"KeyMaterial": {
|
|
"type": "structure",
|
|
"members": {
|
|
"RootCertificatePublicKey": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyAttributes",
|
|
"PublicKeyCertificate"
|
|
],
|
|
"members": {
|
|
"KeyAttributes": {
|
|
"shape": "S8"
|
|
},
|
|
"PublicKeyCertificate": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
},
|
|
"Tr31KeyBlock": {
|
|
"type": "structure",
|
|
"required": [
|
|
"WrappedKeyBlock",
|
|
"WrappingKeyIdentifier"
|
|
],
|
|
"members": {
|
|
"WrappedKeyBlock": {},
|
|
"WrappingKeyIdentifier": {}
|
|
}
|
|
},
|
|
"Tr34KeyBlock": {
|
|
"type": "structure",
|
|
"required": [
|
|
"CertificateAuthorityPublicKeyIdentifier",
|
|
"ImportToken",
|
|
"KeyBlockFormat",
|
|
"SigningKeyCertificate",
|
|
"WrappedKeyBlock"
|
|
],
|
|
"members": {
|
|
"CertificateAuthorityPublicKeyIdentifier": {},
|
|
"ImportToken": {},
|
|
"KeyBlockFormat": {},
|
|
"RandomNonce": {},
|
|
"SigningKeyCertificate": {
|
|
"shape": "S12"
|
|
},
|
|
"WrappedKeyBlock": {}
|
|
}
|
|
},
|
|
"TrustedCertificatePublicKey": {
|
|
"type": "structure",
|
|
"required": [
|
|
"CertificateAuthorityPublicKeyIdentifier",
|
|
"KeyAttributes",
|
|
"PublicKeyCertificate"
|
|
],
|
|
"members": {
|
|
"CertificateAuthorityPublicKeyIdentifier": {},
|
|
"KeyAttributes": {
|
|
"shape": "S8"
|
|
},
|
|
"PublicKeyCertificate": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"union": true
|
|
},
|
|
"Tags": {
|
|
"shape": "Sf"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Key"
|
|
],
|
|
"members": {
|
|
"Key": {
|
|
"shape": "Sk"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ListAliases": {
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxResults": {
|
|
"type": "integer"
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Aliases"
|
|
],
|
|
"members": {
|
|
"Aliases": {
|
|
"type": "list",
|
|
"member": {
|
|
"shape": "S5"
|
|
}
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListKeys": {
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"KeyState": {},
|
|
"MaxResults": {
|
|
"type": "integer"
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Keys"
|
|
],
|
|
"members": {
|
|
"Keys": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Enabled",
|
|
"Exportable",
|
|
"KeyArn",
|
|
"KeyAttributes",
|
|
"KeyCheckValue",
|
|
"KeyState"
|
|
],
|
|
"members": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"Exportable": {
|
|
"type": "boolean"
|
|
},
|
|
"KeyArn": {},
|
|
"KeyAttributes": {
|
|
"shape": "S8"
|
|
},
|
|
"KeyCheckValue": {},
|
|
"KeyState": {}
|
|
}
|
|
}
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListTagsForResource": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ResourceArn"
|
|
],
|
|
"members": {
|
|
"MaxResults": {
|
|
"type": "integer"
|
|
},
|
|
"NextToken": {},
|
|
"ResourceArn": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Tags"
|
|
],
|
|
"members": {
|
|
"NextToken": {},
|
|
"Tags": {
|
|
"shape": "Sf"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"RestoreKey": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyIdentifier"
|
|
],
|
|
"members": {
|
|
"KeyIdentifier": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Key"
|
|
],
|
|
"members": {
|
|
"Key": {
|
|
"shape": "Sk"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"StartKeyUsage": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyIdentifier"
|
|
],
|
|
"members": {
|
|
"KeyIdentifier": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Key"
|
|
],
|
|
"members": {
|
|
"Key": {
|
|
"shape": "Sk"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"StopKeyUsage": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyIdentifier"
|
|
],
|
|
"members": {
|
|
"KeyIdentifier": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Key"
|
|
],
|
|
"members": {
|
|
"Key": {
|
|
"shape": "Sk"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"TagResource": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ResourceArn",
|
|
"Tags"
|
|
],
|
|
"members": {
|
|
"ResourceArn": {},
|
|
"Tags": {
|
|
"shape": "Sf"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
},
|
|
"UntagResource": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ResourceArn",
|
|
"TagKeys"
|
|
],
|
|
"members": {
|
|
"ResourceArn": {},
|
|
"TagKeys": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
},
|
|
"UpdateAlias": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AliasName"
|
|
],
|
|
"members": {
|
|
"AliasName": {},
|
|
"KeyArn": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Alias"
|
|
],
|
|
"members": {
|
|
"Alias": {
|
|
"shape": "S5"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"shapes": {
|
|
"S5": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AliasName"
|
|
],
|
|
"members": {
|
|
"AliasName": {},
|
|
"KeyArn": {}
|
|
}
|
|
},
|
|
"S8": {
|
|
"type": "structure",
|
|
"required": [
|
|
"KeyAlgorithm",
|
|
"KeyClass",
|
|
"KeyModesOfUse",
|
|
"KeyUsage"
|
|
],
|
|
"members": {
|
|
"KeyAlgorithm": {},
|
|
"KeyClass": {},
|
|
"KeyModesOfUse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Decrypt": {
|
|
"type": "boolean"
|
|
},
|
|
"DeriveKey": {
|
|
"type": "boolean"
|
|
},
|
|
"Encrypt": {
|
|
"type": "boolean"
|
|
},
|
|
"Generate": {
|
|
"type": "boolean"
|
|
},
|
|
"NoRestrictions": {
|
|
"type": "boolean"
|
|
},
|
|
"Sign": {
|
|
"type": "boolean"
|
|
},
|
|
"Unwrap": {
|
|
"type": "boolean"
|
|
},
|
|
"Verify": {
|
|
"type": "boolean"
|
|
},
|
|
"Wrap": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"KeyUsage": {}
|
|
}
|
|
},
|
|
"Sf": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Key"
|
|
],
|
|
"members": {
|
|
"Key": {},
|
|
"Value": {}
|
|
}
|
|
}
|
|
},
|
|
"Sk": {
|
|
"type": "structure",
|
|
"required": [
|
|
"CreateTimestamp",
|
|
"Enabled",
|
|
"Exportable",
|
|
"KeyArn",
|
|
"KeyAttributes",
|
|
"KeyCheckValue",
|
|
"KeyCheckValueAlgorithm",
|
|
"KeyOrigin",
|
|
"KeyState"
|
|
],
|
|
"members": {
|
|
"CreateTimestamp": {
|
|
"type": "timestamp"
|
|
},
|
|
"DeletePendingTimestamp": {
|
|
"type": "timestamp"
|
|
},
|
|
"DeleteTimestamp": {
|
|
"type": "timestamp"
|
|
},
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"Exportable": {
|
|
"type": "boolean"
|
|
},
|
|
"KeyArn": {},
|
|
"KeyAttributes": {
|
|
"shape": "S8"
|
|
},
|
|
"KeyCheckValue": {},
|
|
"KeyCheckValueAlgorithm": {},
|
|
"KeyOrigin": {},
|
|
"KeyState": {},
|
|
"UsageStartTimestamp": {
|
|
"type": "timestamp"
|
|
},
|
|
"UsageStopTimestamp": {
|
|
"type": "timestamp"
|
|
}
|
|
}
|
|
},
|
|
"S12": {
|
|
"type": "string",
|
|
"sensitive": true
|
|
}
|
|
}
|
|
} |