|
165 | 165 | "target": "com.amazonaws.paymentcryptography#Alias" |
166 | 166 | } |
167 | 167 | }, |
| 168 | + "com.amazonaws.paymentcryptography#CertificateSigningRequestType": { |
| 169 | + "type": "string", |
| 170 | + "traits": { |
| 171 | + "smithy.api#length": { |
| 172 | + "min": 1, |
| 173 | + "max": 32768 |
| 174 | + }, |
| 175 | + "smithy.api#pattern": "^[^\\[;\\]<>]+$", |
| 176 | + "smithy.api#sensitive": {} |
| 177 | + } |
| 178 | + }, |
| 179 | + "com.amazonaws.paymentcryptography#CertificateSubjectType": { |
| 180 | + "type": "structure", |
| 181 | + "members": { |
| 182 | + "CommonName": { |
| 183 | + "target": "smithy.api#String", |
| 184 | + "traits": { |
| 185 | + "smithy.api#documentation": "Common Name to be used in the certificate signing request", |
| 186 | + "smithy.api#length": { |
| 187 | + "min": 1, |
| 188 | + "max": 64 |
| 189 | + }, |
| 190 | + "smithy.api#pattern": "^[A-Za-z]+$", |
| 191 | + "smithy.api#required": {} |
| 192 | + } |
| 193 | + }, |
| 194 | + "OrganizationUnit": { |
| 195 | + "target": "smithy.api#String", |
| 196 | + "traits": { |
| 197 | + "smithy.api#documentation": "Organization Unit to be used in the certificate signing request", |
| 198 | + "smithy.api#length": { |
| 199 | + "min": 1, |
| 200 | + "max": 64 |
| 201 | + }, |
| 202 | + "smithy.api#pattern": "^[A-Za-z]+$" |
| 203 | + } |
| 204 | + }, |
| 205 | + "Organization": { |
| 206 | + "target": "smithy.api#String", |
| 207 | + "traits": { |
| 208 | + "smithy.api#documentation": "Organization to be used in the certificate signing request", |
| 209 | + "smithy.api#length": { |
| 210 | + "min": 1, |
| 211 | + "max": 64 |
| 212 | + }, |
| 213 | + "smithy.api#pattern": "^[A-Za-z]+$" |
| 214 | + } |
| 215 | + }, |
| 216 | + "City": { |
| 217 | + "target": "smithy.api#String", |
| 218 | + "traits": { |
| 219 | + "smithy.api#documentation": "City to be used in the certificate signing request", |
| 220 | + "smithy.api#length": { |
| 221 | + "min": 1, |
| 222 | + "max": 128 |
| 223 | + }, |
| 224 | + "smithy.api#pattern": "^[A-Za-z]+$" |
| 225 | + } |
| 226 | + }, |
| 227 | + "Country": { |
| 228 | + "target": "smithy.api#String", |
| 229 | + "traits": { |
| 230 | + "smithy.api#documentation": "Country to be used in the certificate signing request", |
| 231 | + "smithy.api#length": { |
| 232 | + "min": 2, |
| 233 | + "max": 2 |
| 234 | + }, |
| 235 | + "smithy.api#pattern": "^[A-Za-z]+$" |
| 236 | + } |
| 237 | + }, |
| 238 | + "StateOrProvince": { |
| 239 | + "target": "smithy.api#String", |
| 240 | + "traits": { |
| 241 | + "smithy.api#documentation": "State Or Province to be used in the certificate signing request", |
| 242 | + "smithy.api#length": { |
| 243 | + "min": 1, |
| 244 | + "max": 128 |
| 245 | + }, |
| 246 | + "smithy.api#pattern": "^[A-Za-z]+$" |
| 247 | + } |
| 248 | + }, |
| 249 | + "EmailAddress": { |
| 250 | + "target": "smithy.api#String", |
| 251 | + "traits": { |
| 252 | + "smithy.api#documentation": "Email to be used in the certificate signing request", |
| 253 | + "smithy.api#length": { |
| 254 | + "min": 1, |
| 255 | + "max": 128 |
| 256 | + }, |
| 257 | + "smithy.api#pattern": "^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$" |
| 258 | + } |
| 259 | + } |
| 260 | + }, |
| 261 | + "traits": { |
| 262 | + "smithy.api#documentation": "Metadata used in generating the CSR" |
| 263 | + } |
| 264 | + }, |
168 | 265 | "com.amazonaws.paymentcryptography#CertificateType": { |
169 | 266 | "type": "string", |
170 | 267 | "traits": { |
|
1076 | 1173 | "ExportToken": { |
1077 | 1174 | "target": "com.amazonaws.paymentcryptography#ExportTokenId", |
1078 | 1175 | "traits": { |
1079 | | - "smithy.api#documentation": "<p>The export token to initiate key export from Amazon Web Services Payment Cryptography. It also contains the signing key certificate that will sign the wrapped key during TR-34 key block generation. Call <a href=\"https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetParametersForExport.html\">GetParametersForExport</a> to receive an export token. It expires after 30 days. You can use the same export token to export multiple keys from the same service account.</p>", |
1080 | | - "smithy.api#required": {} |
| 1176 | + "smithy.api#addedDefault": {}, |
| 1177 | + "smithy.api#default": "", |
| 1178 | + "smithy.api#documentation": "<p>The export token to initiate key export from Amazon Web Services Payment Cryptography. It also contains the signing key certificate that will sign the wrapped key during TR-34 key block generation. Call <a href=\"https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetParametersForExport.html\">GetParametersForExport</a> to receive an export token. It expires after 30 days. You can use the same export token to export multiple keys from the same service account.</p>" |
| 1179 | + } |
| 1180 | + }, |
| 1181 | + "SigningKeyIdentifier": { |
| 1182 | + "target": "com.amazonaws.paymentcryptography#KeyArnOrKeyAliasType", |
| 1183 | + "traits": { |
| 1184 | + "smithy.api#documentation": "Key Identifier used for signing the export key" |
| 1185 | + } |
| 1186 | + }, |
| 1187 | + "SigningKeyCertificate": { |
| 1188 | + "target": "com.amazonaws.paymentcryptography#CertificateType", |
| 1189 | + "traits": { |
| 1190 | + "smithy.api#documentation": "Certificate used for signing the export key" |
1081 | 1191 | } |
1082 | 1192 | }, |
1083 | 1193 | "KeyBlockFormat": { |
|
1172 | 1282 | "smithy.api#output": {} |
1173 | 1283 | } |
1174 | 1284 | }, |
| 1285 | + "com.amazonaws.paymentcryptography#GetCertificateSigningRequest": { |
| 1286 | + "type": "operation", |
| 1287 | + "input": { |
| 1288 | + "target": "com.amazonaws.paymentcryptography#GetCertificateSigningRequestInput" |
| 1289 | + }, |
| 1290 | + "output": { |
| 1291 | + "target": "com.amazonaws.paymentcryptography#GetCertificateSigningRequestOutput" |
| 1292 | + }, |
| 1293 | + "errors": [ |
| 1294 | + { |
| 1295 | + "target": "com.amazonaws.paymentcryptography#AccessDeniedException" |
| 1296 | + }, |
| 1297 | + { |
| 1298 | + "target": "com.amazonaws.paymentcryptography#InternalServerException" |
| 1299 | + }, |
| 1300 | + { |
| 1301 | + "target": "com.amazonaws.paymentcryptography#ResourceNotFoundException" |
| 1302 | + }, |
| 1303 | + { |
| 1304 | + "target": "com.amazonaws.paymentcryptography#ServiceUnavailableException" |
| 1305 | + }, |
| 1306 | + { |
| 1307 | + "target": "com.amazonaws.paymentcryptography#ThrottlingException" |
| 1308 | + }, |
| 1309 | + { |
| 1310 | + "target": "com.amazonaws.paymentcryptography#ValidationException" |
| 1311 | + } |
| 1312 | + ], |
| 1313 | + "traits": { |
| 1314 | + "aws.api#controlPlane": {}, |
| 1315 | + "smithy.api#documentation": "Used to retrieve the public key for a keypair." |
| 1316 | + } |
| 1317 | + }, |
| 1318 | + "com.amazonaws.paymentcryptography#GetCertificateSigningRequestInput": { |
| 1319 | + "type": "structure", |
| 1320 | + "members": { |
| 1321 | + "KeyIdentifier": { |
| 1322 | + "target": "com.amazonaws.paymentcryptography#KeyArnOrKeyAliasType", |
| 1323 | + "traits": { |
| 1324 | + "smithy.api#documentation": "Asymmetric key used for generating the certificate signing request", |
| 1325 | + "smithy.api#required": {} |
| 1326 | + } |
| 1327 | + }, |
| 1328 | + "SigningAlgorithm": { |
| 1329 | + "target": "com.amazonaws.paymentcryptography#SigningAlgorithmType", |
| 1330 | + "traits": { |
| 1331 | + "smithy.api#documentation": "Algorithm used to generate the certificate signing request", |
| 1332 | + "smithy.api#required": {} |
| 1333 | + } |
| 1334 | + }, |
| 1335 | + "CertificateSubject": { |
| 1336 | + "target": "com.amazonaws.paymentcryptography#CertificateSubjectType", |
| 1337 | + "traits": { |
| 1338 | + "smithy.api#documentation": "Certificate subject data", |
| 1339 | + "smithy.api#required": {} |
| 1340 | + } |
| 1341 | + } |
| 1342 | + }, |
| 1343 | + "traits": { |
| 1344 | + "smithy.api#input": {} |
| 1345 | + } |
| 1346 | + }, |
| 1347 | + "com.amazonaws.paymentcryptography#GetCertificateSigningRequestOutput": { |
| 1348 | + "type": "structure", |
| 1349 | + "members": { |
| 1350 | + "CertificateSigningRequest": { |
| 1351 | + "target": "com.amazonaws.paymentcryptography#CertificateSigningRequestType", |
| 1352 | + "traits": { |
| 1353 | + "smithy.api#documentation": "Certificate signing request", |
| 1354 | + "smithy.api#required": {} |
| 1355 | + } |
| 1356 | + } |
| 1357 | + }, |
| 1358 | + "traits": { |
| 1359 | + "smithy.api#output": {} |
| 1360 | + } |
| 1361 | + }, |
1175 | 1362 | "com.amazonaws.paymentcryptography#GetDefaultKeyReplicationRegions": { |
1176 | 1363 | "type": "operation", |
1177 | 1364 | "input": { |
|
1876 | 2063 | "ImportToken": { |
1877 | 2064 | "target": "com.amazonaws.paymentcryptography#ImportTokenId", |
1878 | 2065 | "traits": { |
1879 | | - "smithy.api#documentation": "<p>The import token that initiates key import using the asymmetric TR-34 key exchange method into Amazon Web Services Payment Cryptography. It expires after 30 days. You can use the same import token to import multiple keys to the same service account.</p>", |
1880 | | - "smithy.api#required": {} |
| 2066 | + "smithy.api#addedDefault": {}, |
| 2067 | + "smithy.api#default": "", |
| 2068 | + "smithy.api#documentation": "<p>The import token that initiates key import using the asymmetric TR-34 key exchange method into Amazon Web Services Payment Cryptography. It expires after 30 days. You can use the same import token to import multiple keys to the same service account.</p>" |
| 2069 | + } |
| 2070 | + }, |
| 2071 | + "WrappingKeyIdentifier": { |
| 2072 | + "target": "com.amazonaws.paymentcryptography#KeyArnOrKeyAliasType", |
| 2073 | + "traits": { |
| 2074 | + "smithy.api#documentation": "Key Identifier used for unwrapping the import key" |
| 2075 | + } |
| 2076 | + }, |
| 2077 | + "WrappingKeyCertificate": { |
| 2078 | + "target": "com.amazonaws.paymentcryptography#CertificateType", |
| 2079 | + "traits": { |
| 2080 | + "smithy.api#documentation": "Key Identifier used for unwrapping the import key" |
1881 | 2081 | } |
1882 | 2082 | }, |
1883 | 2083 | "WrappedKeyBlock": { |
|
2641 | 2841 | } |
2642 | 2842 | }, |
2643 | 2843 | "MultiRegionKeyType": { |
2644 | | - "target": "com.amazonaws.paymentcryptography#MultiRegionKeyType" |
| 2844 | + "target": "com.amazonaws.paymentcryptography#MultiRegionKeyType", |
| 2845 | + "traits": { |
| 2846 | + "smithy.api#documentation": "<p>Indicates whether this key is a multi-region key and its role in the multi-region key hierarchy.</p> <p>Multi-region keys allow the same key material to be used across multiple Amazon Web Services Regions. This field specifies whether the key is a primary key (which can be replicated to other regions) or a replica key (which is a copy of a primary key in another region).</p>" |
| 2847 | + } |
2645 | 2848 | }, |
2646 | 2849 | "PrimaryRegion": { |
2647 | 2850 | "target": "com.amazonaws.paymentcryptography#Region" |
|
3114 | 3317 | { |
3115 | 3318 | "target": "com.amazonaws.paymentcryptography#ExportKey" |
3116 | 3319 | }, |
| 3320 | + { |
| 3321 | + "target": "com.amazonaws.paymentcryptography#GetCertificateSigningRequest" |
| 3322 | + }, |
3117 | 3323 | { |
3118 | 3324 | "target": "com.amazonaws.paymentcryptography#GetDefaultKeyReplicationRegions" |
3119 | 3325 | }, |
|
3893 | 4099 | "Status": { |
3894 | 4100 | "target": "com.amazonaws.paymentcryptography#KeyReplicationState", |
3895 | 4101 | "traits": { |
| 4102 | + "smithy.api#documentation": "<p>The current status of key replication in this region.</p> <p>This field indicates whether the key replication is in progress, completed successfully, or has encountered an error. Possible values include states such as SYNCRHONIZED, IN_PROGRESS, DELETE_IN_PROGRESS, or FAILED. This provides visibility into the replication process for monitoring and troubleshooting purposes.</p>", |
3896 | 4103 | "smithy.api#required": {} |
3897 | 4104 | } |
3898 | 4105 | }, |
|
4064 | 4271 | "smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$" |
4065 | 4272 | } |
4066 | 4273 | }, |
| 4274 | + "com.amazonaws.paymentcryptography#SigningAlgorithmType": { |
| 4275 | + "type": "string", |
| 4276 | + "traits": { |
| 4277 | + "smithy.api#documentation": "Defines the Algorithm used to generate the certificate signing request", |
| 4278 | + "smithy.api#enum": [ |
| 4279 | + { |
| 4280 | + "value": "SHA224", |
| 4281 | + "name": "SHA224" |
| 4282 | + }, |
| 4283 | + { |
| 4284 | + "value": "SHA256", |
| 4285 | + "name": "SHA256" |
| 4286 | + }, |
| 4287 | + { |
| 4288 | + "value": "SHA384", |
| 4289 | + "name": "SHA384" |
| 4290 | + }, |
| 4291 | + { |
| 4292 | + "value": "SHA512", |
| 4293 | + "name": "SHA512" |
| 4294 | + } |
| 4295 | + ] |
| 4296 | + } |
| 4297 | + }, |
4067 | 4298 | "com.amazonaws.paymentcryptography#StartKeyUsage": { |
4068 | 4299 | "type": "operation", |
4069 | 4300 | "input": { |
|
0 commit comments