cdk-lambda-subminute 2.0.442 → 2.0.444

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (404) hide show
  1. package/.jsii +96 -7
  2. package/README.md +4 -4
  3. package/lib/cdk-lambda-subminute.js +5 -5
  4. package/lib/demo/typescript/typescript-stack.js +2 -2
  5. package/lib/index.js +7 -3
  6. package/lib/resources/iterator/iterator_agent.js +3 -2
  7. package/node_modules/aws-sdk/README.md +1 -1
  8. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.examples.json +196 -0
  9. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +254 -111
  10. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.paginators.json +6 -0
  11. package/node_modules/aws-sdk/apis/account-2021-02-01.min.json +101 -19
  12. package/node_modules/aws-sdk/apis/acm-2015-12-08.min.json +7 -1
  13. package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.min.json +20 -13
  14. package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.paginators.json +4 -4
  15. package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.waiters2.json +62 -59
  16. package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +3 -0
  17. package/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json +7 -1
  18. package/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json +7 -1
  19. package/node_modules/aws-sdk/apis/application-signals-2024-04-15.min.json +975 -0
  20. package/node_modules/aws-sdk/apis/application-signals-2024-04-15.paginators.json +34 -0
  21. package/node_modules/aws-sdk/apis/apptest-2022-12-06.min.json +1917 -0
  22. package/node_modules/aws-sdk/apis/apptest-2022-12-06.paginators.json +40 -0
  23. package/node_modules/aws-sdk/apis/apptest-2022-12-06.waiters2.json +5 -0
  24. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +62 -10
  25. package/node_modules/aws-sdk/apis/artifact-2018-05-10.examples.json +113 -0
  26. package/node_modules/aws-sdk/apis/artifact-2018-05-10.min.json +47 -41
  27. package/node_modules/aws-sdk/apis/artifact-2018-05-10.waiters2.json +5 -0
  28. package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +7 -1
  29. package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +57 -38
  30. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +7 -1
  31. package/node_modules/aws-sdk/apis/b2bi-2022-06-23.min.json +8 -1
  32. package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +115 -60
  33. package/node_modules/aws-sdk/apis/bedrock-2023-04-20.min.json +140 -86
  34. package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.min.json +2122 -231
  35. package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.paginators.json +24 -0
  36. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +809 -190
  37. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.paginators.json +6 -0
  38. package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.min.json +898 -44
  39. package/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json +102 -21
  40. package/node_modules/aws-sdk/apis/chatbot-2017-10-11.min.json +138 -24
  41. package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.min.json +10 -1
  42. package/node_modules/aws-sdk/apis/chime-sdk-voice-2022-08-03.min.json +6 -2
  43. package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +48 -43
  44. package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +7 -1
  45. package/node_modules/aws-sdk/apis/cloudhsmv2-2017-04-28.min.json +79 -20
  46. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +44 -24
  47. package/node_modules/aws-sdk/apis/codeartifact-2018-09-22.min.json +7 -1
  48. package/node_modules/aws-sdk/apis/codebuild-2016-10-06.min.json +80 -38
  49. package/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json +7 -1
  50. package/node_modules/aws-sdk/apis/codeguru-security-2018-05-10.min.json +6 -0
  51. package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +4 -1
  52. package/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json +23 -5
  53. package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +111 -27
  54. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +447 -134
  55. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +7 -1
  56. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +1266 -499
  57. package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +24 -0
  58. package/node_modules/aws-sdk/apis/connectcases-2022-10-03.min.json +205 -63
  59. package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +150 -5
  60. package/node_modules/aws-sdk/apis/controltower-2018-05-10.paginators.json +12 -0
  61. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.min.json +310 -262
  62. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.waiters2.json +5 -0
  63. package/node_modules/aws-sdk/apis/cur-2017-01-06.min.json +7 -1
  64. package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +52 -25
  65. package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +3 -0
  66. package/node_modules/aws-sdk/apis/datazone-2018-05-10.min.json +1064 -444
  67. package/node_modules/aws-sdk/apis/datazone-2018-05-10.paginators.json +12 -0
  68. package/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json +7 -1
  69. package/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json +7 -1
  70. package/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json +3 -0
  71. package/node_modules/aws-sdk/apis/dms-2016-01-01.min.json +7 -1
  72. package/node_modules/aws-sdk/apis/docdb-2014-10-31.min.json +7 -1
  73. package/node_modules/aws-sdk/apis/ds-2015-04-16.min.json +7 -1
  74. package/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json +7 -1
  75. package/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json +256 -181
  76. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +397 -283
  77. package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +7 -1
  78. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +290 -256
  79. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +151 -84
  80. package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +7 -1
  81. package/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json +7 -1
  82. package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +7 -1
  83. package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +3 -0
  84. package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +15 -3
  85. package/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json +7 -1
  86. package/node_modules/aws-sdk/apis/email-2010-12-01.min.json +7 -1
  87. package/node_modules/aws-sdk/apis/emr-serverless-2021-07-13.min.json +172 -14
  88. package/node_modules/aws-sdk/apis/emr-serverless-2021-07-13.paginators.json +6 -0
  89. package/node_modules/aws-sdk/apis/es-2015-01-01.min.json +7 -1
  90. package/node_modules/aws-sdk/apis/eventbridge-2015-10-07.min.json +87 -28
  91. package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +209 -160
  92. package/node_modules/aws-sdk/apis/fms-2018-01-01.min.json +63 -59
  93. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +206 -164
  94. package/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json +7 -1
  95. package/node_modules/aws-sdk/apis/globalaccelerator-2018-08-08.min.json +13 -1
  96. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +886 -574
  97. package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +22 -8
  98. package/node_modules/aws-sdk/apis/grafana-2020-08-18.min.json +317 -15
  99. package/node_modules/aws-sdk/apis/grafana-2020-08-18.paginators.json +12 -0
  100. package/node_modules/aws-sdk/apis/greengrassv2-2020-11-30.min.json +17 -3
  101. package/node_modules/aws-sdk/apis/groundstation-2019-05-23.min.json +7 -1
  102. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +429 -124
  103. package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +3 -0
  104. package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +122 -96
  105. package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +18 -10
  106. package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +3 -1
  107. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +7 -1
  108. package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.min.json +396 -242
  109. package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.paginators.json +6 -0
  110. package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.waiters2.json +5 -0
  111. package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +36 -6
  112. package/node_modules/aws-sdk/apis/kinesisanalyticsv2-2018-05-23.min.json +266 -110
  113. package/node_modules/aws-sdk/apis/kinesisanalyticsv2-2018-05-23.paginators.json +24 -0
  114. package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +31 -0
  115. package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +79 -23
  116. package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +43 -25
  117. package/node_modules/aws-sdk/apis/launch-wizard-2018-05-10.min.json +159 -0
  118. package/node_modules/aws-sdk/apis/license-manager-linux-subscriptions-2018-05-10.min.json +236 -16
  119. package/node_modules/aws-sdk/apis/license-manager-linux-subscriptions-2018-05-10.paginators.json +6 -0
  120. package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +11 -2
  121. package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +1036 -754
  122. package/node_modules/aws-sdk/apis/location-2020-11-19.paginators.json +6 -0
  123. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +254 -143
  124. package/node_modules/aws-sdk/apis/macie2-2020-01-01.paginators.json +6 -0
  125. package/node_modules/aws-sdk/apis/mailmanager-2023-10-17.min.json +1836 -0
  126. package/node_modules/aws-sdk/apis/mailmanager-2023-10-17.paginators.json +58 -0
  127. package/node_modules/aws-sdk/apis/managedblockchain-2018-09-24.min.json +3 -0
  128. package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +106 -94
  129. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +208 -131
  130. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.paginators.json +6 -0
  131. package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +367 -364
  132. package/node_modules/aws-sdk/apis/mediapackagev2-2022-12-25.examples.json +1271 -0
  133. package/node_modules/aws-sdk/apis/mediapackagev2-2022-12-25.min.json +108 -71
  134. package/node_modules/aws-sdk/apis/medical-imaging-2023-07-19.min.json +8 -5
  135. package/node_modules/aws-sdk/apis/metadata.json +20 -9
  136. package/node_modules/aws-sdk/apis/mq-2017-11-27.min.json +4 -4
  137. package/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json +178 -158
  138. package/node_modules/aws-sdk/apis/networkmanager-2019-07-05.min.json +320 -176
  139. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +36 -22
  140. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +190 -115
  141. package/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json +3 -0
  142. package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +7 -1
  143. package/node_modules/aws-sdk/apis/osis-2022-01-01.min.json +77 -28
  144. package/node_modules/aws-sdk/apis/payment-cryptography-2021-09-14.min.json +10 -1
  145. package/node_modules/aws-sdk/apis/payment-cryptography-data-2022-02-03.min.json +544 -383
  146. package/node_modules/aws-sdk/apis/payment-cryptography-data-2022-02-03.waiters2.json +5 -0
  147. package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.examples.json +5 -0
  148. package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.min.json +456 -0
  149. package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.paginators.json +16 -0
  150. package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.waiters2.json +5 -0
  151. package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +153 -44
  152. package/node_modules/aws-sdk/apis/personalize-runtime-2018-05-22.min.json +9 -1
  153. package/node_modules/aws-sdk/apis/pi-2018-02-27.min.json +28 -18
  154. package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +403 -378
  155. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.min.json +521 -99
  156. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.paginators.json +6 -0
  157. package/node_modules/aws-sdk/apis/pipes-2015-10-07.min.json +632 -555
  158. package/node_modules/aws-sdk/apis/pipes-2015-10-07.waiters2.json +5 -0
  159. package/node_modules/aws-sdk/apis/polly-2016-06-10.min.json +7 -1
  160. package/node_modules/aws-sdk/apis/qapps-2023-11-27.examples.json +583 -0
  161. package/node_modules/aws-sdk/apis/qapps-2023-11-27.min.json +1312 -0
  162. package/node_modules/aws-sdk/apis/qapps-2023-11-27.paginators.json +16 -0
  163. package/node_modules/aws-sdk/apis/qapps-2023-11-27.waiters2.json +5 -0
  164. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.examples.json +2 -3
  165. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.min.json +813 -689
  166. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.paginators.json +1 -1
  167. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.waiters2.json +5 -0
  168. package/node_modules/aws-sdk/apis/qconnect-2020-10-19.min.json +335 -108
  169. package/node_modules/aws-sdk/apis/qconnect-2020-10-19.paginators.json +6 -0
  170. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +2113 -1354
  171. package/node_modules/aws-sdk/apis/rds-2013-01-10.min.json +4 -1
  172. package/node_modules/aws-sdk/apis/rds-2013-02-12.min.json +4 -1
  173. package/node_modules/aws-sdk/apis/rds-2013-09-09.min.json +4 -1
  174. package/node_modules/aws-sdk/apis/rds-2014-09-01.min.json +4 -1
  175. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +25 -10
  176. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +7 -1
  177. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +7 -1
  178. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +15 -3
  179. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +63 -14
  180. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.paginators.json +6 -0
  181. package/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json +7 -1
  182. package/node_modules/aws-sdk/apis/route53profiles-2018-05-10.min.json +3 -0
  183. package/node_modules/aws-sdk/apis/route53resolver-2018-04-01.min.json +62 -53
  184. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +76 -76
  185. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +46 -5
  186. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1958 -1211
  187. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.paginators.json +12 -0
  188. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +11 -1
  189. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +7 -1
  190. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.min.json +7 -1
  191. package/node_modules/aws-sdk/apis/sesv2-2019-09-27.min.json +148 -136
  192. package/node_modules/aws-sdk/apis/shield-2016-06-02.min.json +7 -1
  193. package/node_modules/aws-sdk/apis/signer-2017-08-25.min.json +3 -0
  194. package/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json +7 -1
  195. package/node_modules/aws-sdk/apis/sns-2010-03-31.min.json +7 -1
  196. package/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json +24 -14
  197. package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +14 -3
  198. package/node_modules/aws-sdk/apis/ssm-sap-2018-05-10.min.json +95 -0
  199. package/node_modules/aws-sdk/apis/ssm-sap-2018-05-10.paginators.json +6 -0
  200. package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.examples.json +9 -0
  201. package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.min.json +32 -9
  202. package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +4 -1
  203. package/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json +30 -14
  204. package/node_modules/aws-sdk/apis/swf-2012-01-25.min.json +104 -68
  205. package/node_modules/aws-sdk/apis/taxsettings-2018-05-10.examples.json +5 -0
  206. package/node_modules/aws-sdk/apis/taxsettings-2018-05-10.min.json +658 -0
  207. package/node_modules/aws-sdk/apis/taxsettings-2018-05-10.paginators.json +10 -0
  208. package/node_modules/aws-sdk/apis/timestream-query-2018-11-01.min.json +71 -23
  209. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +101 -76
  210. package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +19 -8
  211. package/node_modules/aws-sdk/apis/trustedadvisor-2022-09-15.min.json +107 -46
  212. package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.min.json +345 -83
  213. package/node_modules/aws-sdk/apis/waf-2015-08-24.min.json +7 -1
  214. package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +46 -33
  215. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +513 -76
  216. package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.min.json +30 -13
  217. package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.min.json +8 -1
  218. package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +162 -3
  219. package/node_modules/aws-sdk/clients/account.d.ts +84 -9
  220. package/node_modules/aws-sdk/clients/acm.d.ts +8 -8
  221. package/node_modules/aws-sdk/clients/acmpca.d.ts +40 -40
  222. package/node_modules/aws-sdk/clients/all.d.ts +6 -3
  223. package/node_modules/aws-sdk/clients/all.js +7 -4
  224. package/node_modules/aws-sdk/clients/amplify.d.ts +15 -14
  225. package/node_modules/aws-sdk/clients/applicationautoscaling.d.ts +43 -43
  226. package/node_modules/aws-sdk/clients/applicationsignals.d.ts +955 -0
  227. package/node_modules/aws-sdk/clients/applicationsignals.js +18 -0
  228. package/node_modules/aws-sdk/clients/apptest.d.ts +2019 -0
  229. package/node_modules/aws-sdk/clients/apptest.js +19 -0
  230. package/node_modules/aws-sdk/clients/arczonalshift.d.ts +66 -29
  231. package/node_modules/aws-sdk/clients/artifact.d.ts +68 -64
  232. package/node_modules/aws-sdk/clients/artifact.js +1 -0
  233. package/node_modules/aws-sdk/clients/athena.d.ts +5 -5
  234. package/node_modules/aws-sdk/clients/auditmanager.d.ts +45 -33
  235. package/node_modules/aws-sdk/clients/autoscaling.d.ts +67 -67
  236. package/node_modules/aws-sdk/clients/b2bi.d.ts +8 -8
  237. package/node_modules/aws-sdk/clients/batch.d.ts +54 -1
  238. package/node_modules/aws-sdk/clients/bedrock.d.ts +63 -14
  239. package/node_modules/aws-sdk/clients/bedrockagent.d.ts +2327 -211
  240. package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +666 -28
  241. package/node_modules/aws-sdk/clients/bedrockruntime.d.ts +849 -4
  242. package/node_modules/aws-sdk/clients/budgets.d.ts +84 -1
  243. package/node_modules/aws-sdk/clients/chatbot.d.ts +100 -0
  244. package/node_modules/aws-sdk/clients/chimesdkmediapipelines.d.ts +19 -15
  245. package/node_modules/aws-sdk/clients/chimesdkvoice.d.ts +9 -9
  246. package/node_modules/aws-sdk/clients/cloudformation.d.ts +11 -2
  247. package/node_modules/aws-sdk/clients/cloudfront.d.ts +7 -7
  248. package/node_modules/aws-sdk/clients/cloudhsmv2.d.ts +134 -34
  249. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +29 -12
  250. package/node_modules/aws-sdk/clients/codeartifact.d.ts +28 -28
  251. package/node_modules/aws-sdk/clients/codebuild.d.ts +71 -24
  252. package/node_modules/aws-sdk/clients/codegurusecurity.d.ts +60 -55
  253. package/node_modules/aws-sdk/clients/codepipeline.d.ts +4 -4
  254. package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +1 -1
  255. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +449 -47
  256. package/node_modules/aws-sdk/clients/connect.d.ts +935 -35
  257. package/node_modules/aws-sdk/clients/connectcases.d.ts +124 -1
  258. package/node_modules/aws-sdk/clients/controltower.d.ts +244 -44
  259. package/node_modules/aws-sdk/clients/costoptimizationhub.d.ts +380 -328
  260. package/node_modules/aws-sdk/clients/costoptimizationhub.js +1 -0
  261. package/node_modules/aws-sdk/clients/customerprofiles.d.ts +35 -5
  262. package/node_modules/aws-sdk/clients/datasync.d.ts +7 -7
  263. package/node_modules/aws-sdk/clients/datazone.d.ts +667 -5
  264. package/node_modules/aws-sdk/clients/directconnect.d.ts +40 -25
  265. package/node_modules/aws-sdk/clients/dynamodb.d.ts +114 -45
  266. package/node_modules/aws-sdk/clients/ec2.d.ts +423 -284
  267. package/node_modules/aws-sdk/clients/ecr.d.ts +2 -2
  268. package/node_modules/aws-sdk/clients/ecs.d.ts +47 -5
  269. package/node_modules/aws-sdk/clients/eks.d.ts +100 -20
  270. package/node_modules/aws-sdk/clients/elasticache.d.ts +6 -6
  271. package/node_modules/aws-sdk/clients/elbv2.d.ts +6 -6
  272. package/node_modules/aws-sdk/clients/emr.d.ts +12 -4
  273. package/node_modules/aws-sdk/clients/emrserverless.d.ts +191 -0
  274. package/node_modules/aws-sdk/clients/eventbridge.d.ts +111 -20
  275. package/node_modules/aws-sdk/clients/firehose.d.ts +73 -10
  276. package/node_modules/aws-sdk/clients/fms.d.ts +12 -7
  277. package/node_modules/aws-sdk/clients/fsx.d.ts +84 -36
  278. package/node_modules/aws-sdk/clients/globalaccelerator.d.ts +8 -0
  279. package/node_modules/aws-sdk/clients/glue.d.ts +504 -23
  280. package/node_modules/aws-sdk/clients/grafana.d.ts +297 -11
  281. package/node_modules/aws-sdk/clients/greengrassv2.d.ts +15 -5
  282. package/node_modules/aws-sdk/clients/guardduty.d.ts +277 -5
  283. package/node_modules/aws-sdk/clients/inspector2.d.ts +49 -3
  284. package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +11 -1
  285. package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +1 -1
  286. package/node_modules/aws-sdk/clients/iotwireless.d.ts +2 -2
  287. package/node_modules/aws-sdk/clients/ivsrealtime.d.ts +433 -235
  288. package/node_modules/aws-sdk/clients/ivsrealtime.js +1 -0
  289. package/node_modules/aws-sdk/clients/kafka.d.ts +35 -0
  290. package/node_modules/aws-sdk/clients/kinesisanalyticsv2.d.ts +147 -3
  291. package/node_modules/aws-sdk/clients/kms.d.ts +78 -12
  292. package/node_modules/aws-sdk/clients/lakeformation.d.ts +17 -0
  293. package/node_modules/aws-sdk/clients/launchwizard.d.ts +181 -8
  294. package/node_modules/aws-sdk/clients/licensemanagerlinuxsubscriptions.d.ts +249 -10
  295. package/node_modules/aws-sdk/clients/lightsail.d.ts +29 -25
  296. package/node_modules/aws-sdk/clients/location.d.ts +981 -677
  297. package/node_modules/aws-sdk/clients/macie2.d.ts +149 -44
  298. package/node_modules/aws-sdk/clients/mailmanager.d.ts +2320 -0
  299. package/node_modules/aws-sdk/clients/mailmanager.js +18 -0
  300. package/node_modules/aws-sdk/clients/managedblockchain.d.ts +4 -4
  301. package/node_modules/aws-sdk/clients/mediaconnect.d.ts +13 -0
  302. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +77 -6
  303. package/node_modules/aws-sdk/clients/medialive.d.ts +8 -0
  304. package/node_modules/aws-sdk/clients/mediapackagev2.d.ts +57 -4
  305. package/node_modules/aws-sdk/clients/medicalimaging.d.ts +7 -2
  306. package/node_modules/aws-sdk/clients/mq.d.ts +15 -15
  307. package/node_modules/aws-sdk/clients/mwaa.d.ts +215 -189
  308. package/node_modules/aws-sdk/clients/networkmanager.d.ts +237 -11
  309. package/node_modules/aws-sdk/clients/omics.d.ts +89 -53
  310. package/node_modules/aws-sdk/clients/opensearch.d.ts +120 -3
  311. package/node_modules/aws-sdk/clients/opsworks.d.ts +117 -117
  312. package/node_modules/aws-sdk/clients/organizations.d.ts +2 -2
  313. package/node_modules/aws-sdk/clients/osis.d.ts +89 -5
  314. package/node_modules/aws-sdk/clients/paymentcryptography.d.ts +3 -3
  315. package/node_modules/aws-sdk/clients/paymentcryptographydata.d.ts +358 -311
  316. package/node_modules/aws-sdk/clients/paymentcryptographydata.js +1 -0
  317. package/node_modules/aws-sdk/clients/pcaconnectorscep.d.ts +486 -0
  318. package/node_modules/aws-sdk/clients/pcaconnectorscep.js +19 -0
  319. package/node_modules/aws-sdk/clients/personalize.d.ts +160 -1
  320. package/node_modules/aws-sdk/clients/personalizeruntime.d.ts +6 -0
  321. package/node_modules/aws-sdk/clients/pi.d.ts +17 -10
  322. package/node_modules/aws-sdk/clients/pinpoint.d.ts +27 -0
  323. package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +514 -8
  324. package/node_modules/aws-sdk/clients/pipes.d.ts +455 -348
  325. package/node_modules/aws-sdk/clients/pipes.js +1 -0
  326. package/node_modules/aws-sdk/clients/polly.d.ts +9 -9
  327. package/node_modules/aws-sdk/clients/qapps.d.ts +1442 -0
  328. package/node_modules/aws-sdk/clients/qapps.js +19 -0
  329. package/node_modules/aws-sdk/clients/qbusiness.d.ts +855 -699
  330. package/node_modules/aws-sdk/clients/qbusiness.js +1 -0
  331. package/node_modules/aws-sdk/clients/qconnect.d.ts +219 -1
  332. package/node_modules/aws-sdk/clients/quicksight.d.ts +901 -14
  333. package/node_modules/aws-sdk/clients/rds.d.ts +67 -19
  334. package/node_modules/aws-sdk/clients/redshift.d.ts +16 -16
  335. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +17 -7
  336. package/node_modules/aws-sdk/clients/rekognition.d.ts +11 -3
  337. package/node_modules/aws-sdk/clients/resiliencehub.d.ts +80 -15
  338. package/node_modules/aws-sdk/clients/route53profiles.d.ts +4 -4
  339. package/node_modules/aws-sdk/clients/route53resolver.d.ts +18 -5
  340. package/node_modules/aws-sdk/clients/s3.d.ts +34 -10
  341. package/node_modules/aws-sdk/clients/sagemaker.d.ts +1065 -59
  342. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +20 -15
  343. package/node_modules/aws-sdk/clients/securityhub.d.ts +71 -71
  344. package/node_modules/aws-sdk/clients/securitylake.d.ts +3 -3
  345. package/node_modules/aws-sdk/clients/sesv2.d.ts +28 -10
  346. package/node_modules/aws-sdk/clients/signer.d.ts +3 -3
  347. package/node_modules/aws-sdk/clients/sns.d.ts +7 -7
  348. package/node_modules/aws-sdk/clients/sqs.d.ts +24 -19
  349. package/node_modules/aws-sdk/clients/ssmsap.d.ts +121 -1
  350. package/node_modules/aws-sdk/clients/ssooidc.d.ts +32 -4
  351. package/node_modules/aws-sdk/clients/storagegateway.d.ts +37 -22
  352. package/node_modules/aws-sdk/clients/swf.d.ts +38 -2
  353. package/node_modules/aws-sdk/clients/taxsettings.d.ts +809 -0
  354. package/node_modules/aws-sdk/clients/taxsettings.js +18 -0
  355. package/node_modules/aws-sdk/clients/timestreamquery.d.ts +54 -0
  356. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +32 -0
  357. package/node_modules/aws-sdk/clients/transfer.d.ts +5 -5
  358. package/node_modules/aws-sdk/clients/trustedadvisor.d.ts +66 -2
  359. package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +300 -14
  360. package/node_modules/aws-sdk/clients/vpclattice.d.ts +81 -81
  361. package/node_modules/aws-sdk/clients/wafv2.d.ts +35 -5
  362. package/node_modules/aws-sdk/clients/workspaces.d.ts +598 -6
  363. package/node_modules/aws-sdk/clients/workspacesthinclient.d.ts +15 -0
  364. package/node_modules/aws-sdk/clients/workspacesweb.d.ts +21 -1
  365. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +9 -5
  366. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +2141 -1908
  367. package/node_modules/aws-sdk/dist/aws-sdk.js +4544 -2431
  368. package/node_modules/aws-sdk/dist/aws-sdk.min.js +107 -106
  369. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +12 -6
  370. package/node_modules/aws-sdk/lib/core.js +1 -1
  371. package/node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.js +9 -0
  372. package/node_modules/aws-sdk/lib/credentials/sso_credentials.js +1 -1
  373. package/node_modules/aws-sdk/lib/credentials/token_file_web_identity_credentials.d.ts +2 -2
  374. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +86 -17
  375. package/node_modules/aws-sdk/lib/metadata_service.d.ts +4 -0
  376. package/node_modules/aws-sdk/lib/metadata_service.js +1 -2
  377. package/node_modules/aws-sdk/lib/protocol/rest_json.js +2 -1
  378. package/node_modules/aws-sdk/lib/query/query_param_serializer.js +3 -1
  379. package/node_modules/aws-sdk/lib/region_config.js +2 -1
  380. package/node_modules/aws-sdk/lib/services/s3.js +51 -6
  381. package/node_modules/aws-sdk/lib/shared-ini/ini-loader.d.ts +24 -1
  382. package/node_modules/aws-sdk/lib/shared-ini/ini-loader.js +0 -6
  383. package/node_modules/aws-sdk/package.json +1 -1
  384. package/node_modules/aws-sdk/scripts/region-checker/allowlist.js +10 -10
  385. package/node_modules/xml2js/node_modules/sax/LICENSE +2 -2
  386. package/node_modules/xml2js/node_modules/sax/README.md +3 -0
  387. package/node_modules/xml2js/node_modules/sax/lib/sax.js +33 -10
  388. package/node_modules/xml2js/node_modules/sax/package.json +1 -1
  389. package/package.json +17 -15
  390. package/node_modules/aws-sdk/apis/alexaforbusiness-2017-11-09.min.json +0 -2905
  391. package/node_modules/aws-sdk/apis/alexaforbusiness-2017-11-09.paginators.json +0 -94
  392. package/node_modules/aws-sdk/apis/backupstorage-2018-04-10.min.json +0 -522
  393. package/node_modules/aws-sdk/apis/backupstorage-2018-04-10.paginators.json +0 -14
  394. package/node_modules/aws-sdk/apis/honeycode-2020-03-01.min.json +0 -962
  395. package/node_modules/aws-sdk/apis/honeycode-2020-03-01.paginators.json +0 -27
  396. package/node_modules/aws-sdk/clients/alexaforbusiness.d.ts +0 -3862
  397. package/node_modules/aws-sdk/clients/alexaforbusiness.js +0 -18
  398. package/node_modules/aws-sdk/clients/backupstorage.d.ts +0 -469
  399. package/node_modules/aws-sdk/clients/backupstorage.js +0 -18
  400. package/node_modules/aws-sdk/clients/honeycode.d.ts +0 -910
  401. package/node_modules/aws-sdk/clients/honeycode.js +0 -18
  402. /package/node_modules/aws-sdk/apis/{alexaforbusiness-2017-11-09.examples.json → application-signals-2024-04-15.examples.json} +0 -0
  403. /package/node_modules/aws-sdk/apis/{backupstorage-2018-04-10.examples.json → apptest-2022-12-06.examples.json} +0 -0
  404. /package/node_modules/aws-sdk/apis/{honeycode-2020-03-01.examples.json → mailmanager-2023-10-17.examples.json} +0 -0
@@ -52,11 +52,11 @@ declare class PaymentCryptographyData extends Service {
52
52
  */
53
53
  generatePinData(callback?: (err: AWSError, data: PaymentCryptographyData.Types.GeneratePinDataOutput) => void): Request<PaymentCryptographyData.Types.GeneratePinDataOutput, AWSError>;
54
54
  /**
55
- * Re-encrypt ciphertext using DUKPT, Symmetric and Asymmetric Data Encryption Keys. You can either generate an encryption key within Amazon Web Services Payment Cryptography by calling CreateKey or import your own encryption key by calling ImportKey. The KeyArn for use with this operation must be in a compatible key state with KeyModesOfUse set to Encrypt. In asymmetric encryption, ciphertext is encrypted using public component (imported by calling ImportKey) of the asymmetric key pair created outside of Amazon Web Services Payment Cryptography. For symmetric and DUKPT encryption, Amazon Web Services Payment Cryptography supports TDES and AES algorithms. For asymmetric encryption, Amazon Web Services Payment Cryptography supports RSA. To encrypt using DUKPT, a DUKPT key must already exist within your account with KeyModesOfUse set to DeriveKey or a new DUKPT can be generated by calling CreateKey. For information about valid keys for this operation, see Understanding key attributes and Key types for specific data operations in the Amazon Web Services Payment Cryptography User Guide. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: DecryptData EncryptData GetPublicCertificate ImportKey
55
+ * Re-encrypt ciphertext using DUKPT or Symmetric data encryption keys. You can either generate an encryption key within Amazon Web Services Payment Cryptography by calling CreateKey or import your own encryption key by calling ImportKey. The KeyArn for use with this operation must be in a compatible key state with KeyModesOfUse set to Encrypt. For symmetric and DUKPT encryption, Amazon Web Services Payment Cryptography supports TDES and AES algorithms. To encrypt using DUKPT, a DUKPT key must already exist within your account with KeyModesOfUse set to DeriveKey or a new DUKPT can be generated by calling CreateKey. For information about valid keys for this operation, see Understanding key attributes and Key types for specific data operations in the Amazon Web Services Payment Cryptography User Guide. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: DecryptData EncryptData GetPublicCertificate ImportKey
56
56
  */
57
57
  reEncryptData(params: PaymentCryptographyData.Types.ReEncryptDataInput, callback?: (err: AWSError, data: PaymentCryptographyData.Types.ReEncryptDataOutput) => void): Request<PaymentCryptographyData.Types.ReEncryptDataOutput, AWSError>;
58
58
  /**
59
- * Re-encrypt ciphertext using DUKPT, Symmetric and Asymmetric Data Encryption Keys. You can either generate an encryption key within Amazon Web Services Payment Cryptography by calling CreateKey or import your own encryption key by calling ImportKey. The KeyArn for use with this operation must be in a compatible key state with KeyModesOfUse set to Encrypt. In asymmetric encryption, ciphertext is encrypted using public component (imported by calling ImportKey) of the asymmetric key pair created outside of Amazon Web Services Payment Cryptography. For symmetric and DUKPT encryption, Amazon Web Services Payment Cryptography supports TDES and AES algorithms. For asymmetric encryption, Amazon Web Services Payment Cryptography supports RSA. To encrypt using DUKPT, a DUKPT key must already exist within your account with KeyModesOfUse set to DeriveKey or a new DUKPT can be generated by calling CreateKey. For information about valid keys for this operation, see Understanding key attributes and Key types for specific data operations in the Amazon Web Services Payment Cryptography User Guide. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: DecryptData EncryptData GetPublicCertificate ImportKey
59
+ * Re-encrypt ciphertext using DUKPT or Symmetric data encryption keys. You can either generate an encryption key within Amazon Web Services Payment Cryptography by calling CreateKey or import your own encryption key by calling ImportKey. The KeyArn for use with this operation must be in a compatible key state with KeyModesOfUse set to Encrypt. For symmetric and DUKPT encryption, Amazon Web Services Payment Cryptography supports TDES and AES algorithms. To encrypt using DUKPT, a DUKPT key must already exist within your account with KeyModesOfUse set to DeriveKey or a new DUKPT can be generated by calling CreateKey. For information about valid keys for this operation, see Understanding key attributes and Key types for specific data operations in the Amazon Web Services Payment Cryptography User Guide. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: DecryptData EncryptData GetPublicCertificate ImportKey
60
60
  */
61
61
  reEncryptData(callback?: (err: AWSError, data: PaymentCryptographyData.Types.ReEncryptDataOutput) => void): Request<PaymentCryptographyData.Types.ReEncryptDataOutput, AWSError>;
62
62
  /**
@@ -105,34 +105,34 @@ declare namespace PaymentCryptographyData {
105
105
  /**
106
106
  * The expiry date of a payment card.
107
107
  */
108
- CardExpiryDate: NumberLengthEquals4;
108
+ CardExpiryDate: CardExpiryDateType;
109
109
  }
110
110
  export interface AmexCardSecurityCodeVersion2 {
111
111
  /**
112
112
  * The expiry date of a payment card.
113
113
  */
114
- CardExpiryDate: NumberLengthEquals4;
114
+ CardExpiryDate: CardExpiryDateType;
115
115
  /**
116
116
  * The service code of the AMEX payment card. This is different from the Card Security Code (CSC).
117
117
  */
118
- ServiceCode: NumberLengthEquals3;
118
+ ServiceCode: ServiceCodeType;
119
119
  }
120
+ export type ApplicationCryptogramType = string;
120
121
  export interface AsymmetricEncryptionAttributes {
121
122
  /**
122
123
  * The padding to be included with the data.
123
124
  */
124
125
  PaddingType?: PaddingType;
125
126
  }
127
+ export type AuthRequestCryptogramType = string;
128
+ export type AuthResponseValueType = string;
129
+ export type CardExpiryDateType = string;
126
130
  export interface CardGenerationAttributes {
127
131
  AmexCardSecurityCodeVersion1?: AmexCardSecurityCodeVersion1;
128
132
  /**
129
133
  * Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.
130
134
  */
131
135
  AmexCardSecurityCodeVersion2?: AmexCardSecurityCodeVersion2;
132
- /**
133
- * Card data parameters that are required to generate a cardholder verification value for the payment card.
134
- */
135
- CardHolderVerificationValue?: CardHolderVerificationValue;
136
136
  /**
137
137
  * Card data parameters that are required to generate Card Verification Value (CVV) for the payment card.
138
138
  */
@@ -141,6 +141,10 @@ declare namespace PaymentCryptographyData {
141
141
  * Card data parameters that are required to generate Card Verification Value (CVV2) for the payment card.
142
142
  */
143
143
  CardVerificationValue2?: CardVerificationValue2;
144
+ /**
145
+ * Card data parameters that are required to generate a cardholder verification value for the payment card.
146
+ */
147
+ CardHolderVerificationValue?: CardHolderVerificationValue;
144
148
  /**
145
149
  * Card data parameters that are required to generate CDynamic Card Verification Code (dCVC) for the payment card.
146
150
  */
@@ -152,17 +156,17 @@ declare namespace PaymentCryptographyData {
152
156
  }
153
157
  export interface CardHolderVerificationValue {
154
158
  /**
155
- * The transaction counter value that comes from a point of sale terminal.
159
+ * A random number generated by the issuer.
156
160
  */
157
- ApplicationTransactionCounter: HexLengthBetween2And4;
161
+ UnpredictableNumber: HexLengthBetween2And8;
158
162
  /**
159
163
  * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
160
164
  */
161
- PanSequenceNumber: HexLengthEquals2;
165
+ PanSequenceNumber: NumberLengthEquals2;
162
166
  /**
163
- * A random number generated by the issuer.
167
+ * The transaction counter value that comes from a point of sale terminal.
164
168
  */
165
- UnpredictableNumber: HexLengthBetween2And8;
169
+ ApplicationTransactionCounter: HexLengthBetween2And4;
166
170
  }
167
171
  export interface CardVerificationAttributes {
168
172
  AmexCardSecurityCodeVersion1?: AmexCardSecurityCodeVersion1;
@@ -170,10 +174,6 @@ declare namespace PaymentCryptographyData {
170
174
  * Card data parameters that are required to verify a Card Security Code (CSC2) for an AMEX payment card.
171
175
  */
172
176
  AmexCardSecurityCodeVersion2?: AmexCardSecurityCodeVersion2;
173
- /**
174
- * Card data parameters that are required to verify a cardholder verification value for the payment card.
175
- */
176
- CardHolderVerificationValue?: CardHolderVerificationValue;
177
177
  /**
178
178
  * Card data parameters that are required to verify Card Verification Value (CVV) for the payment card.
179
179
  */
@@ -183,9 +183,9 @@ declare namespace PaymentCryptographyData {
183
183
  */
184
184
  CardVerificationValue2?: CardVerificationValue2;
185
185
  /**
186
- * Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
186
+ * Card data parameters that are required to verify a cardholder verification value for the payment card.
187
187
  */
188
- DiscoverDynamicCardVerificationCode?: DiscoverDynamicCardVerificationCode;
188
+ CardHolderVerificationValue?: CardHolderVerificationValue;
189
189
  /**
190
190
  * Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
191
191
  */
@@ -194,23 +194,28 @@ declare namespace PaymentCryptographyData {
194
194
  * Card data parameters that are required to verify CDynamic Card Verification Value (dCVV) for the payment card.
195
195
  */
196
196
  DynamicCardVerificationValue?: DynamicCardVerificationValue;
197
+ /**
198
+ * Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
199
+ */
200
+ DiscoverDynamicCardVerificationCode?: DiscoverDynamicCardVerificationCode;
197
201
  }
198
202
  export interface CardVerificationValue1 {
199
203
  /**
200
204
  * The expiry date of a payment card.
201
205
  */
202
- CardExpiryDate: NumberLengthEquals4;
206
+ CardExpiryDate: CardExpiryDateType;
203
207
  /**
204
208
  * The service code of the payment card. This is different from Card Security Code (CSC).
205
209
  */
206
- ServiceCode: NumberLengthEquals3;
210
+ ServiceCode: ServiceCodeType;
207
211
  }
208
212
  export interface CardVerificationValue2 {
209
213
  /**
210
214
  * The expiry date of a payment card.
211
215
  */
212
- CardExpiryDate: NumberLengthEquals4;
216
+ CardExpiryDate: CardExpiryDateType;
213
217
  }
218
+ export type CipherTextType = string;
214
219
  export interface CryptogramAuthResponse {
215
220
  /**
216
221
  * Parameters that are required for ARPC response generation using method1 after ARQC verification is successful.
@@ -235,21 +240,26 @@ declare namespace PaymentCryptographyData {
235
240
  /**
236
241
  * The proprietary authentication data used by issuer for communication during online transaction using an EMV chip card.
237
242
  */
238
- ProprietaryAuthenticationData?: HexLengthBetween1And16;
243
+ ProprietaryAuthenticationData?: ProprietaryAuthenticationDataType;
239
244
  }
245
+ export type DecimalizationTableType = string;
240
246
  export interface DecryptDataInput {
247
+ /**
248
+ * The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption. When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.
249
+ */
250
+ KeyIdentifier: KeyArnOrKeyAliasType;
241
251
  /**
242
252
  * The ciphertext to decrypt.
243
253
  */
244
- CipherText: HexEvenLengthBetween16And4096;
254
+ CipherText: CipherTextType;
245
255
  /**
246
256
  * The encryption key type and attributes for ciphertext decryption.
247
257
  */
248
258
  DecryptionAttributes: EncryptionDecryptionAttributes;
249
259
  /**
250
- * The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.
260
+ * The WrappedKeyBlock containing the encryption key for ciphertext decryption.
251
261
  */
252
- KeyIdentifier: KeyArnOrKeyAliasType;
262
+ WrappedKey?: WrappedKey;
253
263
  }
254
264
  export interface DecryptDataOutput {
255
265
  /**
@@ -263,33 +273,37 @@ declare namespace PaymentCryptographyData {
263
273
  /**
264
274
  * The decrypted plaintext data in hexBinary format.
265
275
  */
266
- PlainText: HexEvenLengthBetween16And4096;
276
+ PlainText: PlainTextOutputType;
267
277
  }
268
278
  export interface DiscoverDynamicCardVerificationCode {
269
- /**
270
- * The transaction counter value that comes from the terminal.
271
- */
272
- ApplicationTransactionCounter: HexLengthBetween2And4;
273
279
  /**
274
280
  * The expiry date of a payment card.
275
281
  */
276
- CardExpiryDate: NumberLengthEquals4;
282
+ CardExpiryDate: CardExpiryDateType;
277
283
  /**
278
284
  * A random number that is generated by the issuer.
279
285
  */
280
286
  UnpredictableNumber: HexLengthBetween2And8;
287
+ /**
288
+ * The transaction counter value that comes from the terminal.
289
+ */
290
+ ApplicationTransactionCounter: HexLengthBetween2And4;
281
291
  }
282
292
  export interface DukptAttributes {
293
+ /**
294
+ * The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
295
+ */
296
+ KeySerialNumber: HexLengthBetween10And24;
283
297
  /**
284
298
  * The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY.
285
299
  */
286
300
  DukptDerivationType: DukptDerivationType;
301
+ }
302
+ export interface DukptDerivationAttributes {
287
303
  /**
288
304
  * The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
289
305
  */
290
306
  KeySerialNumber: HexLengthBetween10And24;
291
- }
292
- export interface DukptDerivationAttributes {
293
307
  /**
294
308
  * The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY
295
309
  */
@@ -298,13 +312,17 @@ declare namespace PaymentCryptographyData {
298
312
  * The type of use of DUKPT, which can be for incoming data decryption, outgoing data encryption, or both.
299
313
  */
300
314
  DukptKeyVariant?: DukptKeyVariant;
315
+ }
316
+ export type DukptDerivationType = "TDES_2KEY"|"TDES_3KEY"|"AES_128"|"AES_192"|"AES_256"|string;
317
+ export interface DukptEncryptionAttributes {
301
318
  /**
302
319
  * The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
303
320
  */
304
321
  KeySerialNumber: HexLengthBetween10And24;
305
- }
306
- export type DukptDerivationType = "TDES_2KEY"|"TDES_3KEY"|"AES_128"|"AES_192"|"AES_256"|string;
307
- export interface DukptEncryptionAttributes {
322
+ /**
323
+ * The block cipher method to use for encryption. The default is CBC.
324
+ */
325
+ Mode?: DukptEncryptionMode;
308
326
  /**
309
327
  * The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY
310
328
  */
@@ -316,101 +334,93 @@ declare namespace PaymentCryptographyData {
316
334
  /**
317
335
  * An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
318
336
  */
319
- InitializationVector?: HexLength16Or32;
320
- /**
321
- * The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
322
- */
323
- KeySerialNumber: HexLengthBetween10And24;
324
- /**
325
- * The block cipher method to use for encryption. The default is CBC.
326
- */
327
- Mode?: DukptEncryptionMode;
337
+ InitializationVector?: InitializationVectorType;
328
338
  }
329
339
  export type DukptEncryptionMode = "ECB"|"CBC"|string;
330
340
  export type DukptKeyVariant = "BIDIRECTIONAL"|"REQUEST"|"RESPONSE"|string;
331
341
  export interface DynamicCardVerificationCode {
332
342
  /**
333
- * The transaction counter value that comes from the terminal.
343
+ * A random number generated by the issuer.
334
344
  */
335
- ApplicationTransactionCounter: HexLengthBetween2And4;
345
+ UnpredictableNumber: HexLengthBetween2And8;
336
346
  /**
337
347
  * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
338
348
  */
339
- PanSequenceNumber: HexLengthEquals2;
349
+ PanSequenceNumber: NumberLengthEquals2;
340
350
  /**
341
- * 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.
351
+ * The transaction counter value that comes from the terminal.
342
352
  */
343
- TrackData: HexLengthBetween2And160;
353
+ ApplicationTransactionCounter: HexLengthBetween2And4;
344
354
  /**
345
- * A random number generated by the issuer.
355
+ * 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.
346
356
  */
347
- UnpredictableNumber: HexLengthBetween2And8;
357
+ TrackData: TrackDataType;
348
358
  }
349
359
  export interface DynamicCardVerificationValue {
350
360
  /**
351
- * The transaction counter value that comes from the terminal.
361
+ * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
352
362
  */
353
- ApplicationTransactionCounter: HexLengthBetween2And4;
363
+ PanSequenceNumber: NumberLengthEquals2;
354
364
  /**
355
365
  * The expiry date of a payment card.
356
366
  */
357
- CardExpiryDate: NumberLengthEquals4;
367
+ CardExpiryDate: CardExpiryDateType;
358
368
  /**
359
- * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
369
+ * The service code of the payment card. This is different from Card Security Code (CSC).
360
370
  */
361
- PanSequenceNumber: HexLengthEquals2;
371
+ ServiceCode: ServiceCodeType;
362
372
  /**
363
- * The service code of the payment card. This is different from Card Security Code (CSC).
373
+ * The transaction counter value that comes from the terminal.
364
374
  */
365
- ServiceCode: NumberLengthEquals3;
375
+ ApplicationTransactionCounter: HexLengthBetween2And4;
366
376
  }
367
377
  export interface EmvEncryptionAttributes {
368
- /**
369
- * An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
370
- */
371
- InitializationVector?: HexLength16Or32;
372
378
  /**
373
379
  * The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
374
380
  */
375
381
  MajorKeyDerivationMode: EmvMajorKeyDerivationMode;
376
382
  /**
377
- * The block cipher method to use for encryption.
383
+ * The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
378
384
  */
379
- Mode?: EmvEncryptionMode;
385
+ PrimaryAccountNumber: PrimaryAccountNumberType;
380
386
  /**
381
387
  * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
382
388
  */
383
- PanSequenceNumber: HexLengthEquals2;
389
+ PanSequenceNumber: NumberLengthEquals2;
384
390
  /**
385
- * The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
391
+ * 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.
386
392
  */
387
- PrimaryAccountNumber: NumberLengthBetween12And19;
393
+ SessionDerivationData: SessionDerivationDataType;
388
394
  /**
389
- * 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.
395
+ * The block cipher method to use for encryption.
390
396
  */
391
- SessionDerivationData: HexLengthEquals16;
397
+ Mode?: EmvEncryptionMode;
398
+ /**
399
+ * An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
400
+ */
401
+ InitializationVector?: InitializationVectorType;
392
402
  }
393
403
  export type EmvEncryptionMode = "ECB"|"CBC"|string;
394
404
  export type EmvMajorKeyDerivationMode = "EMV_OPTION_A"|"EMV_OPTION_B"|string;
395
405
  export interface EncryptDataInput {
396
406
  /**
397
- * The encryption key type and attributes for plaintext encryption.
398
- */
399
- EncryptionAttributes: EncryptionDecryptionAttributes;
400
- /**
401
- * The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
407
+ * The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption. When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.
402
408
  */
403
409
  KeyIdentifier: KeyArnOrKeyAliasType;
404
410
  /**
405
411
  * The plaintext to be encrypted. 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.
406
412
  */
407
- PlainText: HexEvenLengthBetween16And4064;
408
- }
409
- export interface EncryptDataOutput {
413
+ PlainText: PlainTextType;
410
414
  /**
411
- * The encrypted ciphertext.
415
+ * The encryption key type and attributes for plaintext encryption.
416
+ */
417
+ EncryptionAttributes: EncryptionDecryptionAttributes;
418
+ /**
419
+ * The WrappedKeyBlock containing the encryption key for plaintext encryption.
412
420
  */
413
- CipherText: HexEvenLengthBetween16And4096;
421
+ WrappedKey?: WrappedKey;
422
+ }
423
+ export interface EncryptDataOutput {
414
424
  /**
415
425
  * The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
416
426
  */
@@ -419,25 +429,26 @@ declare namespace PaymentCryptographyData {
419
429
  * The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
420
430
  */
421
431
  KeyCheckValue?: KeyCheckValue;
432
+ /**
433
+ * The encrypted ciphertext.
434
+ */
435
+ CipherText: CipherTextType;
422
436
  }
437
+ export type EncryptedPinBlockType = string;
423
438
  export interface EncryptionDecryptionAttributes {
439
+ /**
440
+ * Parameters that are required to perform encryption and decryption using symmetric keys.
441
+ */
442
+ Symmetric?: SymmetricEncryptionAttributes;
424
443
  Asymmetric?: AsymmetricEncryptionAttributes;
425
444
  Dukpt?: DukptEncryptionAttributes;
426
445
  /**
427
446
  * Parameters for plaintext encryption using EMV keys.
428
447
  */
429
448
  Emv?: EmvEncryptionAttributes;
430
- /**
431
- * Parameters that are required to perform encryption and decryption using symmetric keys.
432
- */
433
- Symmetric?: SymmetricEncryptionAttributes;
434
449
  }
435
450
  export type EncryptionMode = "ECB"|"CBC"|"CFB"|"CFB1"|"CFB8"|"CFB64"|"CFB128"|"OFB"|string;
436
451
  export interface GenerateCardValidationDataInput {
437
- /**
438
- * The algorithm for generating CVV or CSC values for the card within Amazon Web Services Payment Cryptography.
439
- */
440
- GenerationAttributes: CardGenerationAttributes;
441
452
  /**
442
453
  * The keyARN of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate card data.
443
454
  */
@@ -445,7 +456,11 @@ declare namespace PaymentCryptographyData {
445
456
  /**
446
457
  * The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
447
458
  */
448
- PrimaryAccountNumber: NumberLengthBetween12And19;
459
+ PrimaryAccountNumber: PrimaryAccountNumberType;
460
+ /**
461
+ * The algorithm for generating CVV or CSC values for the card within Amazon Web Services Payment Cryptography.
462
+ */
463
+ GenerationAttributes: CardGenerationAttributes;
449
464
  /**
450
465
  * The length of the CVV or CSC to be generated. The default value is 3.
451
466
  */
@@ -463,25 +478,25 @@ declare namespace PaymentCryptographyData {
463
478
  /**
464
479
  * The CVV or CSC value that Amazon Web Services Payment Cryptography generates for the card.
465
480
  */
466
- ValidationData: NumberLengthBetween3And5;
481
+ ValidationData: ValidationDataType;
467
482
  }
468
483
  export interface GenerateMacInput {
469
- /**
470
- * The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.
471
- */
472
- GenerationAttributes: MacAttributes;
473
484
  /**
474
485
  * The keyARN of the MAC generation encryption key.
475
486
  */
476
487
  KeyIdentifier: KeyArnOrKeyAliasType;
477
488
  /**
478
- * The length of a MAC under generation.
489
+ * The data for which a MAC is under generation. This value must be hexBinary.
479
490
  */
480
- MacLength?: IntegerRangeBetween4And16;
491
+ MessageData: MessageDataType;
481
492
  /**
482
- * The data for which a MAC is under generation. This value must be hexBinary.
493
+ * The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.
494
+ */
495
+ GenerationAttributes: MacAttributes;
496
+ /**
497
+ * The length of a MAC under generation.
483
498
  */
484
- MessageData: HexEvenLengthBetween2And4096;
499
+ MacLength?: IntegerRangeBetween4And16;
485
500
  }
486
501
  export interface GenerateMacOutput {
487
502
  /**
@@ -495,9 +510,13 @@ declare namespace PaymentCryptographyData {
495
510
  /**
496
511
  * The MAC cryptogram generated within Amazon Web Services Payment Cryptography.
497
512
  */
498
- Mac: HexLengthBetween4And128;
513
+ Mac: MacOutputType;
499
514
  }
500
515
  export interface GeneratePinDataInput {
516
+ /**
517
+ * The keyARN of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.
518
+ */
519
+ GenerationKeyIdentifier: KeyArnOrKeyAliasType;
501
520
  /**
502
521
  * The keyARN of the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block.
503
522
  */
@@ -506,14 +525,6 @@ declare namespace PaymentCryptographyData {
506
525
  * The attributes and values to use for PIN, PVV, or PIN Offset generation.
507
526
  */
508
527
  GenerationAttributes: PinGenerationAttributes;
509
- /**
510
- * The keyARN of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.
511
- */
512
- GenerationKeyIdentifier: KeyArnOrKeyAliasType;
513
- /**
514
- * The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0 and ISO_Format_3. The ISO_Format_0 PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length. The ISO_Format_3 PIN block format is the same as ISO_Format_0 except that the fill digits are random values from 10 to 15.
515
- */
516
- PinBlockFormat: PinBlockFormatForPinData;
517
528
  /**
518
529
  * The length of PIN under generation.
519
530
  */
@@ -521,13 +532,21 @@ declare namespace PaymentCryptographyData {
521
532
  /**
522
533
  * The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
523
534
  */
524
- PrimaryAccountNumber: NumberLengthBetween12And19;
535
+ PrimaryAccountNumber: PrimaryAccountNumberType;
536
+ /**
537
+ * The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0 and ISO_Format_3. The ISO_Format_0 PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length. The ISO_Format_3 PIN block format is the same as ISO_Format_0 except that the fill digits are random values from 10 to 15.
538
+ */
539
+ PinBlockFormat: PinBlockFormatForPinData;
525
540
  }
526
541
  export interface GeneratePinDataOutput {
527
542
  /**
528
- * 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.
543
+ * The keyARN of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.
544
+ */
545
+ GenerationKeyArn: KeyArn;
546
+ /**
547
+ * The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
529
548
  */
530
- EncryptedPinBlock: HexLengthBetween16And32;
549
+ GenerationKeyCheckValue: KeyCheckValue;
531
550
  /**
532
551
  * The keyARN of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.
533
552
  */
@@ -537,140 +556,126 @@ declare namespace PaymentCryptographyData {
537
556
  */
538
557
  EncryptionKeyCheckValue: KeyCheckValue;
539
558
  /**
540
- * The keyARN of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.
541
- */
542
- GenerationKeyArn: KeyArn;
543
- /**
544
- * The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
559
+ * 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.
545
560
  */
546
- GenerationKeyCheckValue: KeyCheckValue;
561
+ EncryptedPinBlock: EncryptedPinBlockType;
547
562
  /**
548
563
  * The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.
549
564
  */
550
565
  PinData: PinData;
551
566
  }
552
567
  export type HexEvenLengthBetween16And32 = string;
553
- export type HexEvenLengthBetween16And4064 = string;
554
- export type HexEvenLengthBetween16And4096 = string;
555
- export type HexEvenLengthBetween2And4096 = string;
556
- export type HexEvenLengthBetween4And128 = string;
557
- export type HexLength16Or32 = string;
558
568
  export type HexLengthBetween10And24 = string;
559
- export type HexLengthBetween16And32 = string;
560
- export type HexLengthBetween1And16 = string;
561
- export type HexLengthBetween2And1024 = string;
562
- export type HexLengthBetween2And160 = string;
563
569
  export type HexLengthBetween2And4 = string;
564
570
  export type HexLengthBetween2And8 = string;
565
- export type HexLengthBetween4And128 = string;
566
571
  export type HexLengthEquals1 = string;
567
- export type HexLengthEquals16 = string;
568
- export type HexLengthEquals2 = string;
569
572
  export type HexLengthEquals4 = string;
570
573
  export type HexLengthEquals8 = string;
571
574
  export interface Ibm3624NaturalPin {
572
575
  /**
573
576
  * 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.
574
577
  */
575
- DecimalizationTable: NumberLengthEquals16;
576
- /**
577
- * The unique data for cardholder identification.
578
- */
579
- PinValidationData: NumberLengthBetween4And16;
578
+ DecimalizationTable: DecimalizationTableType;
580
579
  /**
581
580
  * The padding character for validation data.
582
581
  */
583
582
  PinValidationDataPadCharacter: HexLengthEquals1;
583
+ /**
584
+ * The unique data for cardholder identification.
585
+ */
586
+ PinValidationData: PinValidationDataType;
584
587
  }
585
588
  export interface Ibm3624PinFromOffset {
586
589
  /**
587
590
  * 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.
588
591
  */
589
- DecimalizationTable: NumberLengthEquals16;
592
+ DecimalizationTable: DecimalizationTableType;
590
593
  /**
591
- * The PIN offset value.
594
+ * The padding character for validation data.
592
595
  */
593
- PinOffset: NumberLengthBetween4And12;
596
+ PinValidationDataPadCharacter: HexLengthEquals1;
594
597
  /**
595
598
  * The unique data for cardholder identification.
596
599
  */
597
- PinValidationData: NumberLengthBetween4And16;
600
+ PinValidationData: PinValidationDataType;
598
601
  /**
599
- * The padding character for validation data.
602
+ * The PIN offset value.
600
603
  */
601
- PinValidationDataPadCharacter: HexLengthEquals1;
604
+ PinOffset: PinOffsetType;
602
605
  }
603
606
  export interface Ibm3624PinOffset {
604
- /**
605
- * 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.
606
- */
607
- DecimalizationTable: NumberLengthEquals16;
608
607
  /**
609
608
  * 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).
610
609
  */
611
- EncryptedPinBlock: HexLengthBetween16And32;
610
+ EncryptedPinBlock: EncryptedPinBlockType;
612
611
  /**
613
- * The unique data for cardholder identification.
612
+ * 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.
614
613
  */
615
- PinValidationData: NumberLengthBetween4And16;
614
+ DecimalizationTable: DecimalizationTableType;
616
615
  /**
617
616
  * The padding character for validation data.
618
617
  */
619
618
  PinValidationDataPadCharacter: HexLengthEquals1;
619
+ /**
620
+ * The unique data for cardholder identification.
621
+ */
622
+ PinValidationData: PinValidationDataType;
620
623
  }
621
624
  export interface Ibm3624PinVerification {
622
625
  /**
623
626
  * 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.
624
627
  */
625
- DecimalizationTable: NumberLengthEquals16;
628
+ DecimalizationTable: DecimalizationTableType;
626
629
  /**
627
- * The PIN offset value.
630
+ * The padding character for validation data.
628
631
  */
629
- PinOffset: NumberLengthBetween4And12;
632
+ PinValidationDataPadCharacter: HexLengthEquals1;
630
633
  /**
631
634
  * The unique data for cardholder identification.
632
635
  */
633
- PinValidationData: NumberLengthBetween4And16;
636
+ PinValidationData: PinValidationDataType;
634
637
  /**
635
- * The padding character for validation data.
638
+ * The PIN offset value.
636
639
  */
637
- PinValidationDataPadCharacter: HexLengthEquals1;
640
+ PinOffset: PinOffsetType;
638
641
  }
639
642
  export interface Ibm3624RandomPin {
640
643
  /**
641
644
  * 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.
642
645
  */
643
- DecimalizationTable: NumberLengthEquals16;
644
- /**
645
- * The unique data for cardholder identification.
646
- */
647
- PinValidationData: NumberLengthBetween4And16;
646
+ DecimalizationTable: DecimalizationTableType;
648
647
  /**
649
648
  * The padding character for validation data.
650
649
  */
651
650
  PinValidationDataPadCharacter: HexLengthEquals1;
651
+ /**
652
+ * The unique data for cardholder identification.
653
+ */
654
+ PinValidationData: PinValidationDataType;
652
655
  }
653
- export type IntegerRangeBetween0And9 = number;
656
+ export type InitializationVectorType = string;
657
+ export type IntegerRangeBetween0And6 = number;
654
658
  export type IntegerRangeBetween3And5Type = number;
655
659
  export type IntegerRangeBetween4And12 = number;
656
660
  export type IntegerRangeBetween4And16 = number;
657
661
  export type KeyArn = string;
658
662
  export type KeyArnOrKeyAliasType = string;
659
663
  export type KeyCheckValue = string;
664
+ export type KeyCheckValueAlgorithm = "CMAC"|"ANSI_X9_24"|string;
660
665
  export type MacAlgorithm = "ISO9797_ALGORITHM1"|"ISO9797_ALGORITHM3"|"CMAC"|"HMAC_SHA224"|"HMAC_SHA256"|"HMAC_SHA384"|"HMAC_SHA512"|string;
661
666
  export interface MacAlgorithmDukpt {
662
667
  /**
663
- * The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY.
668
+ * The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
664
669
  */
665
- DukptDerivationType?: DukptDerivationType;
670
+ KeySerialNumber: HexLengthBetween10And24;
666
671
  /**
667
672
  * The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
668
673
  */
669
674
  DukptKeyVariant: DukptKeyVariant;
670
675
  /**
671
- * The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
676
+ * The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY.
672
677
  */
673
- KeySerialNumber: HexLengthBetween10And24;
678
+ DukptDerivationType?: DukptDerivationType;
674
679
  }
675
680
  export interface MacAlgorithmEmv {
676
681
  /**
@@ -678,13 +683,13 @@ declare namespace PaymentCryptographyData {
678
683
  */
679
684
  MajorKeyDerivationMode: MajorKeyDerivationMode;
680
685
  /**
681
- * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
686
+ * The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
682
687
  */
683
- PanSequenceNumber: HexLengthEquals2;
688
+ PrimaryAccountNumber: PrimaryAccountNumberType;
684
689
  /**
685
- * The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
690
+ * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
686
691
  */
687
- PrimaryAccountNumber: NumberLengthBetween12And19;
692
+ PanSequenceNumber: NumberLengthEquals2;
688
693
  /**
689
694
  * The method of deriving a session key for EMV MAC generation or verification.
690
695
  */
@@ -700,9 +705,9 @@ declare namespace PaymentCryptographyData {
700
705
  */
701
706
  Algorithm?: MacAlgorithm;
702
707
  /**
703
- * Parameters that are required for MAC generation or verification using DUKPT CMAC algorithm.
708
+ * Parameters that are required for MAC generation or verification using EMV MAC algorithm.
704
709
  */
705
- DukptCmac?: MacAlgorithmDukpt;
710
+ EmvMac?: MacAlgorithmEmv;
706
711
  /**
707
712
  * Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm1.
708
713
  */
@@ -712,93 +717,100 @@ declare namespace PaymentCryptographyData {
712
717
  */
713
718
  DukptIso9797Algorithm3?: MacAlgorithmDukpt;
714
719
  /**
715
- * Parameters that are required for MAC generation or verification using EMV MAC algorithm.
720
+ * Parameters that are required for MAC generation or verification using DUKPT CMAC algorithm.
716
721
  */
717
- EmvMac?: MacAlgorithmEmv;
722
+ DukptCmac?: MacAlgorithmDukpt;
718
723
  }
724
+ export type MacOutputType = string;
725
+ export type MacType = string;
719
726
  export type MajorKeyDerivationMode = "EMV_OPTION_A"|"EMV_OPTION_B"|string;
720
- export type NumberLengthBetween12And19 = string;
721
- export type NumberLengthBetween3And5 = string;
722
- export type NumberLengthBetween4And12 = string;
723
- export type NumberLengthBetween4And16 = string;
724
- export type NumberLengthEquals16 = string;
725
- export type NumberLengthEquals3 = string;
726
- export type NumberLengthEquals4 = string;
727
+ export type MessageDataType = string;
728
+ export type NumberLengthEquals2 = string;
727
729
  export type PaddingType = "PKCS1"|"OAEP_SHA1"|"OAEP_SHA256"|"OAEP_SHA512"|string;
728
730
  export type PinBlockFormatForPinData = "ISO_FORMAT_0"|"ISO_FORMAT_3"|string;
729
731
  export interface PinData {
730
732
  /**
731
733
  * The PIN offset value.
732
734
  */
733
- PinOffset?: NumberLengthBetween4And12;
735
+ PinOffset?: PinOffsetType;
734
736
  /**
735
737
  * 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.
736
738
  */
737
- VerificationValue?: NumberLengthBetween4And12;
739
+ VerificationValue?: VerificationValueType;
738
740
  }
739
741
  export interface PinGenerationAttributes {
740
742
  /**
741
- * Parameters that are required to generate or verify Ibm3624 natural PIN.
743
+ * Parameters that are required to generate or verify Visa PIN.
742
744
  */
743
- Ibm3624NaturalPin?: Ibm3624NaturalPin;
745
+ VisaPin?: VisaPin;
744
746
  /**
745
- * Parameters that are required to generate or verify Ibm3624 PIN from offset PIN.
747
+ * Parameters that are required to generate or verify Visa PIN Verification Value (PVV).
746
748
  */
747
- Ibm3624PinFromOffset?: Ibm3624PinFromOffset;
749
+ VisaPinVerificationValue?: VisaPinVerificationValue;
748
750
  /**
749
751
  * Parameters that are required to generate or verify Ibm3624 PIN offset PIN.
750
752
  */
751
753
  Ibm3624PinOffset?: Ibm3624PinOffset;
752
754
  /**
753
- * Parameters that are required to generate or verify Ibm3624 random PIN.
755
+ * Parameters that are required to generate or verify Ibm3624 natural PIN.
754
756
  */
755
- Ibm3624RandomPin?: Ibm3624RandomPin;
757
+ Ibm3624NaturalPin?: Ibm3624NaturalPin;
756
758
  /**
757
- * Parameters that are required to generate or verify Visa PIN.
759
+ * Parameters that are required to generate or verify Ibm3624 random PIN.
758
760
  */
759
- VisaPin?: VisaPin;
761
+ Ibm3624RandomPin?: Ibm3624RandomPin;
760
762
  /**
761
- * Parameters that are required to generate or verify Visa PIN Verification Value (PVV).
763
+ * Parameters that are required to generate or verify Ibm3624 PIN from offset PIN.
762
764
  */
763
- VisaPinVerificationValue?: VisaPinVerificationValue;
765
+ Ibm3624PinFromOffset?: Ibm3624PinFromOffset;
764
766
  }
767
+ export type PinOffsetType = string;
768
+ export type PinValidationDataType = string;
765
769
  export interface PinVerificationAttributes {
766
- /**
767
- * Parameters that are required to generate or verify Ibm3624 PIN.
768
- */
769
- Ibm3624Pin?: Ibm3624PinVerification;
770
770
  /**
771
771
  * Parameters that are required to generate or verify Visa PIN.
772
772
  */
773
773
  VisaPin?: VisaPinVerification;
774
+ /**
775
+ * Parameters that are required to generate or verify Ibm3624 PIN.
776
+ */
777
+ Ibm3624Pin?: Ibm3624PinVerification;
774
778
  }
779
+ export type PlainTextOutputType = string;
780
+ export type PlainTextType = string;
781
+ export type PrimaryAccountNumberType = string;
782
+ export type ProprietaryAuthenticationDataType = string;
775
783
  export interface ReEncryptDataInput {
784
+ /**
785
+ * The keyARN of the encryption key of incoming ciphertext data. When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.
786
+ */
787
+ IncomingKeyIdentifier: KeyArnOrKeyAliasType;
788
+ /**
789
+ * The keyARN of the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
790
+ */
791
+ OutgoingKeyIdentifier: KeyArnOrKeyAliasType;
776
792
  /**
777
793
  * Ciphertext to be encrypted. The minimum allowed length is 16 bytes and maximum allowed length is 4096 bytes.
778
794
  */
779
- CipherText: HexEvenLengthBetween16And4096;
795
+ CipherText: CipherTextType;
780
796
  /**
781
797
  * The attributes and values for incoming ciphertext.
782
798
  */
783
799
  IncomingEncryptionAttributes: ReEncryptionAttributes;
784
- /**
785
- * The keyARN of the encryption key of incoming ciphertext data.
786
- */
787
- IncomingKeyIdentifier: KeyArnOrKeyAliasType;
788
800
  /**
789
801
  * The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
790
802
  */
791
803
  OutgoingEncryptionAttributes: ReEncryptionAttributes;
792
804
  /**
793
- * The keyARN of the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
805
+ * The WrappedKeyBlock containing the encryption key of incoming ciphertext data.
794
806
  */
795
- OutgoingKeyIdentifier: KeyArnOrKeyAliasType;
796
- }
797
- export interface ReEncryptDataOutput {
807
+ IncomingWrappedKey?: WrappedKey;
798
808
  /**
799
- * The encrypted ciphertext.
809
+ * The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
800
810
  */
801
- CipherText: HexEvenLengthBetween16And4096;
811
+ OutgoingWrappedKey?: WrappedKey;
812
+ }
813
+ export interface ReEncryptDataOutput {
802
814
  /**
803
815
  * The keyARN (Amazon Resource Name) of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
804
816
  */
@@ -807,33 +819,31 @@ declare namespace PaymentCryptographyData {
807
819
  * The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
808
820
  */
809
821
  KeyCheckValue: KeyCheckValue;
822
+ /**
823
+ * The encrypted ciphertext.
824
+ */
825
+ CipherText: CipherTextType;
810
826
  }
811
827
  export interface ReEncryptionAttributes {
812
- Dukpt?: DukptEncryptionAttributes;
813
828
  /**
814
829
  * Parameters that are required to encrypt data using symmetric keys.
815
830
  */
816
831
  Symmetric?: SymmetricEncryptionAttributes;
832
+ Dukpt?: DukptEncryptionAttributes;
817
833
  }
834
+ export type ServiceCodeType = string;
835
+ export type SessionDerivationDataType = string;
818
836
  export interface SessionKeyAmex {
819
837
  /**
820
- * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
838
+ * 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.
821
839
  */
822
- PanSequenceNumber: HexLengthEquals2;
840
+ PrimaryAccountNumber: PrimaryAccountNumberType;
823
841
  /**
824
- * 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.
842
+ * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
825
843
  */
826
- PrimaryAccountNumber: NumberLengthBetween12And19;
844
+ PanSequenceNumber: NumberLengthEquals2;
827
845
  }
828
846
  export interface SessionKeyDerivation {
829
- /**
830
- * Parameters to derive session key for an Amex payment card for ARQC verification.
831
- */
832
- Amex?: SessionKeyAmex;
833
- /**
834
- * Parameters to derive session key for an Emv2000 payment card for ARQC verification.
835
- */
836
- Emv2000?: SessionKeyEmv2000;
837
847
  /**
838
848
  * Parameters to derive session key for an Emv common payment card for ARQC verification.
839
849
  */
@@ -842,6 +852,14 @@ declare namespace PaymentCryptographyData {
842
852
  * Parameters to derive session key for a Mastercard payment card for ARQC verification.
843
853
  */
844
854
  Mastercard?: SessionKeyMastercard;
855
+ /**
856
+ * Parameters to derive session key for an Emv2000 payment card for ARQC verification.
857
+ */
858
+ Emv2000?: SessionKeyEmv2000;
859
+ /**
860
+ * Parameters to derive session key for an Amex payment card for ARQC verification.
861
+ */
862
+ Amex?: SessionKeyAmex;
845
863
  /**
846
864
  * Parameters to derive session key for a Visa payment cardfor ARQC verification.
847
865
  */
@@ -852,7 +870,7 @@ declare namespace PaymentCryptographyData {
852
870
  /**
853
871
  * The cryptogram provided by the terminal during transaction processing.
854
872
  */
855
- ApplicationCryptogram?: HexLengthEquals16;
873
+ ApplicationCryptogram?: ApplicationCryptogramType;
856
874
  /**
857
875
  * The transaction counter that is provided by the terminal during transaction processing.
858
876
  */
@@ -860,45 +878,45 @@ declare namespace PaymentCryptographyData {
860
878
  }
861
879
  export interface SessionKeyEmv2000 {
862
880
  /**
863
- * The transaction counter that is provided by the terminal during transaction processing.
881
+ * 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.
864
882
  */
865
- ApplicationTransactionCounter: HexLengthBetween2And4;
883
+ PrimaryAccountNumber: PrimaryAccountNumberType;
866
884
  /**
867
885
  * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
868
886
  */
869
- PanSequenceNumber: HexLengthEquals2;
887
+ PanSequenceNumber: NumberLengthEquals2;
870
888
  /**
871
- * 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.
889
+ * The transaction counter that is provided by the terminal during transaction processing.
872
890
  */
873
- PrimaryAccountNumber: NumberLengthBetween12And19;
891
+ ApplicationTransactionCounter: HexLengthBetween2And4;
874
892
  }
875
893
  export interface SessionKeyEmvCommon {
876
894
  /**
877
- * The transaction counter that is provided by the terminal during transaction processing.
895
+ * 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.
878
896
  */
879
- ApplicationTransactionCounter: HexLengthBetween2And4;
897
+ PrimaryAccountNumber: PrimaryAccountNumberType;
880
898
  /**
881
899
  * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
882
900
  */
883
- PanSequenceNumber: HexLengthEquals2;
901
+ PanSequenceNumber: NumberLengthEquals2;
884
902
  /**
885
- * 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.
903
+ * The transaction counter that is provided by the terminal during transaction processing.
886
904
  */
887
- PrimaryAccountNumber: NumberLengthBetween12And19;
905
+ ApplicationTransactionCounter: HexLengthBetween2And4;
888
906
  }
889
907
  export interface SessionKeyMastercard {
890
908
  /**
891
- * The transaction counter that is provided by the terminal during transaction processing.
909
+ * 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.
892
910
  */
893
- ApplicationTransactionCounter: HexLengthBetween2And4;
911
+ PrimaryAccountNumber: PrimaryAccountNumberType;
894
912
  /**
895
913
  * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
896
914
  */
897
- PanSequenceNumber: HexLengthEquals2;
915
+ PanSequenceNumber: NumberLengthEquals2;
898
916
  /**
899
- * 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.
917
+ * The transaction counter that is provided by the terminal during transaction processing.
900
918
  */
901
- PrimaryAccountNumber: NumberLengthBetween12And19;
919
+ ApplicationTransactionCounter: HexLengthBetween2And4;
902
920
  /**
903
921
  * A random number generated by the issuer.
904
922
  */
@@ -906,59 +924,74 @@ declare namespace PaymentCryptographyData {
906
924
  }
907
925
  export interface SessionKeyVisa {
908
926
  /**
909
- * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
927
+ * 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.
910
928
  */
911
- PanSequenceNumber: HexLengthEquals2;
929
+ PrimaryAccountNumber: PrimaryAccountNumberType;
912
930
  /**
913
- * 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.
931
+ * A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
914
932
  */
915
- PrimaryAccountNumber: NumberLengthBetween12And19;
933
+ PanSequenceNumber: NumberLengthEquals2;
916
934
  }
917
935
  export interface SymmetricEncryptionAttributes {
918
- /**
919
- * An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
920
- */
921
- InitializationVector?: HexLength16Or32;
922
936
  /**
923
937
  * The block cipher method to use for encryption.
924
938
  */
925
939
  Mode: EncryptionMode;
940
+ /**
941
+ * An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
942
+ */
943
+ InitializationVector?: InitializationVectorType;
926
944
  /**
927
945
  * The padding to be included with the data.
928
946
  */
929
947
  PaddingType?: PaddingType;
930
948
  }
949
+ export type Tr31WrappedKeyBlock = string;
950
+ export type TrackDataType = string;
951
+ export type TransactionDataType = string;
931
952
  export interface TranslatePinDataInput {
932
953
  /**
933
- * The encrypted PIN block data that Amazon Web Services Payment Cryptography translates.
934
- */
935
- EncryptedPinBlock: HexEvenLengthBetween16And32;
936
- /**
937
- * The attributes and values to use for incoming DUKPT encryption key for PIN block translation.
954
+ * The keyARN of the encryption key under which incoming PIN block data is encrypted. This key type can be PEK or BDK. When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key for PIN block. Otherwise, it is the key identifier used to perform the operation.
938
955
  */
939
- IncomingDukptAttributes?: DukptDerivationAttributes;
956
+ IncomingKeyIdentifier: KeyArnOrKeyAliasType;
940
957
  /**
941
- * The keyARN of the encryption key under which incoming PIN block data is encrypted. This key type can be PEK or BDK.
958
+ * The keyARN of the encryption key for encrypting outgoing PIN block data. This key type can be PEK or BDK.
942
959
  */
943
- IncomingKeyIdentifier: KeyArnOrKeyAliasType;
960
+ OutgoingKeyIdentifier: KeyArnOrKeyAliasType;
944
961
  /**
945
962
  * The format of the incoming PIN block data for translation within Amazon Web Services Payment Cryptography.
946
963
  */
947
964
  IncomingTranslationAttributes: TranslationIsoFormats;
965
+ /**
966
+ * The format of the outgoing PIN block data after translation by Amazon Web Services Payment Cryptography.
967
+ */
968
+ OutgoingTranslationAttributes: TranslationIsoFormats;
969
+ /**
970
+ * The encrypted PIN block data that Amazon Web Services Payment Cryptography translates.
971
+ */
972
+ EncryptedPinBlock: HexEvenLengthBetween16And32;
973
+ /**
974
+ * The attributes and values to use for incoming DUKPT encryption key for PIN block translation.
975
+ */
976
+ IncomingDukptAttributes?: DukptDerivationAttributes;
948
977
  /**
949
978
  * The attributes and values to use for outgoing DUKPT encryption key after PIN block translation.
950
979
  */
951
980
  OutgoingDukptAttributes?: DukptDerivationAttributes;
952
981
  /**
953
- * The keyARN of the encryption key for encrypting outgoing PIN block data. This key type can be PEK or BDK.
982
+ * The WrappedKeyBlock containing the encryption key under which incoming PIN block data is encrypted.
954
983
  */
955
- OutgoingKeyIdentifier: KeyArnOrKeyAliasType;
984
+ IncomingWrappedKey?: WrappedKey;
956
985
  /**
957
- * The format of the outgoing PIN block data after translation by Amazon Web Services Payment Cryptography.
986
+ * The WrappedKeyBlock containing the encryption key for encrypting outgoing PIN block data.
958
987
  */
959
- OutgoingTranslationAttributes: TranslationIsoFormats;
988
+ OutgoingWrappedKey?: WrappedKey;
960
989
  }
961
990
  export interface TranslatePinDataOutput {
991
+ /**
992
+ * The outgoing encrypted PIN block data after translation.
993
+ */
994
+ PinBlock: EncryptedPinBlockType;
962
995
  /**
963
996
  * The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses to encrypt outgoing PIN block data after translation.
964
997
  */
@@ -967,10 +1000,6 @@ declare namespace PaymentCryptographyData {
967
1000
  * The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
968
1001
  */
969
1002
  KeyCheckValue: KeyCheckValue;
970
- /**
971
- * The outgoing encrypted PIN block data after translation.
972
- */
973
- PinBlock: HexLengthBetween16And32;
974
1003
  }
975
1004
  export interface TranslationIsoFormats {
976
1005
  /**
@@ -994,23 +1023,25 @@ declare namespace PaymentCryptographyData {
994
1023
  /**
995
1024
  * 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.
996
1025
  */
997
- PrimaryAccountNumber: NumberLengthBetween12And19;
1026
+ PrimaryAccountNumber: PrimaryAccountNumberType;
998
1027
  }
999
1028
  export interface TranslationPinDataIsoFormat1 {
1000
1029
  }
1030
+ export type ValidationDataType = string;
1031
+ export type VerificationValueType = string;
1001
1032
  export interface VerifyAuthRequestCryptogramInput {
1002
1033
  /**
1003
- * The auth request cryptogram imported into Amazon Web Services Payment Cryptography for ARQC verification using a major encryption key and transaction data.
1034
+ * The keyARN of the major encryption key that Amazon Web Services Payment Cryptography uses for ARQC verification.
1004
1035
  */
1005
- AuthRequestCryptogram: HexLengthEquals16;
1036
+ KeyIdentifier: KeyArnOrKeyAliasType;
1006
1037
  /**
1007
- * The attributes and values for auth request cryptogram verification. These parameters are required in case using ARPC Method 1 or Method 2 for ARQC verification.
1038
+ * 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.
1008
1039
  */
1009
- AuthResponseAttributes?: CryptogramAuthResponse;
1040
+ TransactionData: TransactionDataType;
1010
1041
  /**
1011
- * The keyARN of the major encryption key that Amazon Web Services Payment Cryptography uses for ARQC verification.
1042
+ * The auth request cryptogram imported into Amazon Web Services Payment Cryptography for ARQC verification using a major encryption key and transaction data.
1012
1043
  */
1013
- KeyIdentifier: KeyArnOrKeyAliasType;
1044
+ AuthRequestCryptogram: AuthRequestCryptogramType;
1014
1045
  /**
1015
1046
  * The method to use when deriving the major encryption key for ARQC verification within Amazon Web Services Payment Cryptography. The same key derivation mode was used for ARQC generation outside of Amazon Web Services Payment Cryptography.
1016
1047
  */
@@ -1020,15 +1051,11 @@ declare namespace PaymentCryptographyData {
1020
1051
  */
1021
1052
  SessionKeyDerivationAttributes: SessionKeyDerivation;
1022
1053
  /**
1023
- * 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.
1054
+ * The attributes and values for auth request cryptogram verification. These parameters are required in case using ARPC Method 1 or Method 2 for ARQC verification.
1024
1055
  */
1025
- TransactionData: HexLengthBetween2And1024;
1056
+ AuthResponseAttributes?: CryptogramAuthResponse;
1026
1057
  }
1027
1058
  export interface VerifyAuthRequestCryptogramOutput {
1028
- /**
1029
- * The result for ARQC verification or ARPC generation within Amazon Web Services Payment Cryptography.
1030
- */
1031
- AuthResponseValue?: HexLengthBetween1And16;
1032
1059
  /**
1033
1060
  * The keyARN of the major encryption key that Amazon Web Services Payment Cryptography uses for ARQC verification.
1034
1061
  */
@@ -1037,6 +1064,10 @@ declare namespace PaymentCryptographyData {
1037
1064
  * The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
1038
1065
  */
1039
1066
  KeyCheckValue: KeyCheckValue;
1067
+ /**
1068
+ * The result for ARQC verification or ARPC generation within Amazon Web Services Payment Cryptography.
1069
+ */
1070
+ AuthResponseValue?: AuthResponseValueType;
1040
1071
  }
1041
1072
  export interface VerifyCardValidationDataInput {
1042
1073
  /**
@@ -1046,15 +1077,15 @@ declare namespace PaymentCryptographyData {
1046
1077
  /**
1047
1078
  * The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
1048
1079
  */
1049
- PrimaryAccountNumber: NumberLengthBetween12And19;
1050
- /**
1051
- * The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.
1052
- */
1053
- ValidationData: NumberLengthBetween3And5;
1080
+ PrimaryAccountNumber: PrimaryAccountNumberType;
1054
1081
  /**
1055
1082
  * The algorithm to use for verification of card data within Amazon Web Services Payment Cryptography.
1056
1083
  */
1057
1084
  VerificationAttributes: CardVerificationAttributes;
1085
+ /**
1086
+ * The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.
1087
+ */
1088
+ ValidationData: ValidationDataType;
1058
1089
  }
1059
1090
  export interface VerifyCardValidationDataOutput {
1060
1091
  /**
@@ -1072,21 +1103,21 @@ declare namespace PaymentCryptographyData {
1072
1103
  */
1073
1104
  KeyIdentifier: KeyArnOrKeyAliasType;
1074
1105
  /**
1075
- * The MAC being verified.
1076
- */
1077
- Mac: HexEvenLengthBetween4And128;
1078
- /**
1079
- * The length of the MAC.
1106
+ * The data on for which MAC is under verification. This value must be hexBinary.
1080
1107
  */
1081
- MacLength?: IntegerRangeBetween4And16;
1108
+ MessageData: MessageDataType;
1082
1109
  /**
1083
- * The data on for which MAC is under verification. This value must be hexBinary.
1110
+ * The MAC being verified.
1084
1111
  */
1085
- MessageData: HexEvenLengthBetween2And4096;
1112
+ Mac: MacType;
1086
1113
  /**
1087
1114
  * The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.
1088
1115
  */
1089
1116
  VerificationAttributes: MacAttributes;
1117
+ /**
1118
+ * The length of the MAC.
1119
+ */
1120
+ MacLength?: IntegerRangeBetween4And16;
1090
1121
  }
1091
1122
  export interface VerifyMacOutput {
1092
1123
  /**
@@ -1100,81 +1131,97 @@ declare namespace PaymentCryptographyData {
1100
1131
  }
1101
1132
  export interface VerifyPinDataInput {
1102
1133
  /**
1103
- * The attributes and values for the DUKPT encrypted PIN block data.
1104
- */
1105
- DukptAttributes?: DukptAttributes;
1106
- /**
1107
- * The encrypted PIN block data that Amazon Web Services Payment Cryptography verifies.
1134
+ * The keyARN of the PIN verification key.
1108
1135
  */
1109
- EncryptedPinBlock: HexLengthBetween16And32;
1136
+ VerificationKeyIdentifier: KeyArnOrKeyAliasType;
1110
1137
  /**
1111
1138
  * The keyARN of the encryption key under which the PIN block data is encrypted. This key type can be PEK or BDK.
1112
1139
  */
1113
1140
  EncryptionKeyIdentifier: KeyArnOrKeyAliasType;
1114
1141
  /**
1115
- * The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0 and ISO_Format_3. The ISO_Format_0 PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length. The ISO_Format_3 PIN block format is the same as ISO_Format_0 except that the fill digits are random values from 10 to 15.
1142
+ * The attributes and values for PIN data verification.
1116
1143
  */
1117
- PinBlockFormat: PinBlockFormatForPinData;
1144
+ VerificationAttributes: PinVerificationAttributes;
1118
1145
  /**
1119
- * The length of PIN being verified.
1146
+ * The encrypted PIN block data that Amazon Web Services Payment Cryptography verifies.
1120
1147
  */
1121
- PinDataLength?: IntegerRangeBetween4And12;
1148
+ EncryptedPinBlock: EncryptedPinBlockType;
1122
1149
  /**
1123
1150
  * The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
1124
1151
  */
1125
- PrimaryAccountNumber: NumberLengthBetween12And19;
1152
+ PrimaryAccountNumber: PrimaryAccountNumberType;
1126
1153
  /**
1127
- * The attributes and values for PIN data verification.
1154
+ * The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0 and ISO_Format_3. The ISO_Format_0 PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length. The ISO_Format_3 PIN block format is the same as ISO_Format_0 except that the fill digits are random values from 10 to 15.
1128
1155
  */
1129
- VerificationAttributes: PinVerificationAttributes;
1156
+ PinBlockFormat: PinBlockFormatForPinData;
1130
1157
  /**
1131
- * The keyARN of the PIN verification key.
1158
+ * The length of PIN being verified.
1132
1159
  */
1133
- VerificationKeyIdentifier: KeyArnOrKeyAliasType;
1160
+ PinDataLength?: IntegerRangeBetween4And12;
1161
+ /**
1162
+ * The attributes and values for the DUKPT encrypted PIN block data.
1163
+ */
1164
+ DukptAttributes?: DukptAttributes;
1134
1165
  }
1135
1166
  export interface VerifyPinDataOutput {
1136
1167
  /**
1137
- * The keyARN of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.
1168
+ * The keyARN of the PIN encryption key that Amazon Web Services Payment Cryptography uses for PIN or PIN Offset verification.
1138
1169
  */
1139
- EncryptionKeyArn: KeyArn;
1170
+ VerificationKeyArn: KeyArn;
1140
1171
  /**
1141
1172
  * The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
1142
1173
  */
1143
- EncryptionKeyCheckValue: KeyCheckValue;
1174
+ VerificationKeyCheckValue: KeyCheckValue;
1144
1175
  /**
1145
- * The keyARN of the PIN encryption key that Amazon Web Services Payment Cryptography uses for PIN or PIN Offset verification.
1176
+ * The keyARN of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.
1146
1177
  */
1147
- VerificationKeyArn: KeyArn;
1178
+ EncryptionKeyArn: KeyArn;
1148
1179
  /**
1149
1180
  * The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
1150
1181
  */
1151
- VerificationKeyCheckValue: KeyCheckValue;
1182
+ EncryptionKeyCheckValue: KeyCheckValue;
1152
1183
  }
1153
1184
  export interface VisaPin {
1154
1185
  /**
1155
1186
  * The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).
1156
1187
  */
1157
- PinVerificationKeyIndex: IntegerRangeBetween0And9;
1188
+ PinVerificationKeyIndex: IntegerRangeBetween0And6;
1158
1189
  }
1159
1190
  export interface VisaPinVerification {
1160
1191
  /**
1161
1192
  * The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).
1162
1193
  */
1163
- PinVerificationKeyIndex: IntegerRangeBetween0And9;
1194
+ PinVerificationKeyIndex: IntegerRangeBetween0And6;
1164
1195
  /**
1165
1196
  * Parameters that are required to generate or verify Visa PVV (PIN Verification Value).
1166
1197
  */
1167
- VerificationValue: NumberLengthBetween4And12;
1198
+ VerificationValue: VerificationValueType;
1168
1199
  }
1169
1200
  export interface VisaPinVerificationValue {
1170
1201
  /**
1171
1202
  * The encrypted PIN block data to verify.
1172
1203
  */
1173
- EncryptedPinBlock: HexLengthBetween16And32;
1204
+ EncryptedPinBlock: EncryptedPinBlockType;
1174
1205
  /**
1175
1206
  * The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).
1176
1207
  */
1177
- PinVerificationKeyIndex: IntegerRangeBetween0And9;
1208
+ PinVerificationKeyIndex: IntegerRangeBetween0And6;
1209
+ }
1210
+ export interface WrappedKey {
1211
+ /**
1212
+ * Parameter information of a WrappedKeyBlock for encryption key exchange.
1213
+ */
1214
+ WrappedKeyMaterial: WrappedKeyMaterial;
1215
+ /**
1216
+ * The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
1217
+ */
1218
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
1219
+ }
1220
+ export interface WrappedKeyMaterial {
1221
+ /**
1222
+ * The TR-31 wrapped key block.
1223
+ */
1224
+ Tr31KeyBlock?: Tr31WrappedKeyBlock;
1178
1225
  }
1179
1226
  /**
1180
1227
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.