cdk-lambda-subminute 2.0.441 → 2.0.443

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
@@ -20,19 +20,19 @@ declare class BedrockAgent extends Service {
20
20
  */
21
21
  associateAgentKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.AssociateAgentKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.AssociateAgentKnowledgeBaseResponse, AWSError>;
22
22
  /**
23
- * Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers. Specify the following fields for security purposes. agentResourceRoleArn – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent. (Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent. (Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent request begins a new session. To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. For more information, see Advanced prompts. If you agent fails to be created, the response returns a list of failureReasons alongside a list of recommendedActions for you to troubleshoot.
23
+ * Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers. Specify the following fields for security purposes. agentResourceRoleArn – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent. (Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent. (Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent request begins a new session. To enable your agent to retain conversational context across multiple sessions, include a memoryConfiguration object. For more information, see Configure memory. To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. For more information, see Advanced prompts. If you agent fails to be created, the response returns a list of failureReasons alongside a list of recommendedActions for you to troubleshoot.
24
24
  */
25
25
  createAgent(params: BedrockAgent.Types.CreateAgentRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentResponse) => void): Request<BedrockAgent.Types.CreateAgentResponse, AWSError>;
26
26
  /**
27
- * Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers. Specify the following fields for security purposes. agentResourceRoleArn – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent. (Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent. (Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent request begins a new session. To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. For more information, see Advanced prompts. If you agent fails to be created, the response returns a list of failureReasons alongside a list of recommendedActions for you to troubleshoot.
27
+ * Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers. Specify the following fields for security purposes. agentResourceRoleArn – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent. (Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent. (Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent request begins a new session. To enable your agent to retain conversational context across multiple sessions, include a memoryConfiguration object. For more information, see Configure memory. To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. For more information, see Advanced prompts. If you agent fails to be created, the response returns a list of failureReasons alongside a list of recommendedActions for you to troubleshoot.
28
28
  */
29
29
  createAgent(callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentResponse) => void): Request<BedrockAgent.Types.CreateAgentResponse, AWSError>;
30
30
  /**
31
- * Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them. To allow your agent to request the user for additional information when trying to complete a task, add an action group with the parentActionGroupSignature field set to AMAZON.UserInput. You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
31
+ * Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them. To allow your agent to request the user for additional information when trying to complete a task, add an action group with the parentActionGroupSignature field set to AMAZON.UserInput. To allow your agent to generate, run, and troubleshoot code when trying to complete a task, add an action group with the parentActionGroupSignature field set to AMAZON.CodeInterpreter. You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
32
32
  */
33
33
  createAgentActionGroup(params: BedrockAgent.Types.CreateAgentActionGroupRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentActionGroupResponse) => void): Request<BedrockAgent.Types.CreateAgentActionGroupResponse, AWSError>;
34
34
  /**
35
- * Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them. To allow your agent to request the user for additional information when trying to complete a task, add an action group with the parentActionGroupSignature field set to AMAZON.UserInput. You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
35
+ * Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them. To allow your agent to request the user for additional information when trying to complete a task, add an action group with the parentActionGroupSignature field set to AMAZON.UserInput. To allow your agent to generate, run, and troubleshoot code when trying to complete a task, add an action group with the parentActionGroupSignature field set to AMAZON.CodeInterpreter. You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
36
36
  */
37
37
  createAgentActionGroup(callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentActionGroupResponse) => void): Request<BedrockAgent.Types.CreateAgentActionGroupResponse, AWSError>;
38
38
  /**
@@ -44,13 +44,37 @@ declare class BedrockAgent extends Service {
44
44
  */
45
45
  createAgentAlias(callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentAliasResponse) => void): Request<BedrockAgent.Types.CreateAgentAliasResponse, AWSError>;
46
46
  /**
47
- * Sets up a data source to be added to a knowledge base. You can't change the chunkingConfiguration after you create the data source.
47
+ * Creates a data source connector for a knowledge base. You can't change the chunkingConfiguration after you create the data source connector.
48
48
  */
49
49
  createDataSource(params: BedrockAgent.Types.CreateDataSourceRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreateDataSourceResponse) => void): Request<BedrockAgent.Types.CreateDataSourceResponse, AWSError>;
50
50
  /**
51
- * Sets up a data source to be added to a knowledge base. You can't change the chunkingConfiguration after you create the data source.
51
+ * Creates a data source connector for a knowledge base. You can't change the chunkingConfiguration after you create the data source connector.
52
52
  */
53
53
  createDataSource(callback?: (err: AWSError, data: BedrockAgent.Types.CreateDataSourceResponse) => void): Request<BedrockAgent.Types.CreateDataSourceResponse, AWSError>;
54
+ /**
55
+ * Creates a prompt flow that you can use to send an input through various steps to yield an output. Configure nodes, each of which corresponds to a step of the flow, and create connections between the nodes to create paths to different outputs. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
56
+ */
57
+ createFlow(params: BedrockAgent.Types.CreateFlowRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreateFlowResponse) => void): Request<BedrockAgent.Types.CreateFlowResponse, AWSError>;
58
+ /**
59
+ * Creates a prompt flow that you can use to send an input through various steps to yield an output. Configure nodes, each of which corresponds to a step of the flow, and create connections between the nodes to create paths to different outputs. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
60
+ */
61
+ createFlow(callback?: (err: AWSError, data: BedrockAgent.Types.CreateFlowResponse) => void): Request<BedrockAgent.Types.CreateFlowResponse, AWSError>;
62
+ /**
63
+ * Creates an alias of a flow for deployment. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
64
+ */
65
+ createFlowAlias(params: BedrockAgent.Types.CreateFlowAliasRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreateFlowAliasResponse) => void): Request<BedrockAgent.Types.CreateFlowAliasResponse, AWSError>;
66
+ /**
67
+ * Creates an alias of a flow for deployment. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
68
+ */
69
+ createFlowAlias(callback?: (err: AWSError, data: BedrockAgent.Types.CreateFlowAliasResponse) => void): Request<BedrockAgent.Types.CreateFlowAliasResponse, AWSError>;
70
+ /**
71
+ * Creates a version of the flow that you can deploy. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
72
+ */
73
+ createFlowVersion(params: BedrockAgent.Types.CreateFlowVersionRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreateFlowVersionResponse) => void): Request<BedrockAgent.Types.CreateFlowVersionResponse, AWSError>;
74
+ /**
75
+ * Creates a version of the flow that you can deploy. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
76
+ */
77
+ createFlowVersion(callback?: (err: AWSError, data: BedrockAgent.Types.CreateFlowVersionResponse) => void): Request<BedrockAgent.Types.CreateFlowVersionResponse, AWSError>;
54
78
  /**
55
79
  * Creates a knowledge base that contains data sources from which information can be queried and used by LLMs. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see Set up your data for ingestion. If you prefer to let Amazon Bedrock create and manage a vector store for you in Amazon OpenSearch Service, use the console. For more information, see Create a knowledge base. Provide the name and an optional description. Provide the Amazon Resource Name (ARN) with permissions to create a knowledge base in the roleArn field. Provide the embedding model to use in the embeddingModelArn field in the knowledgeBaseConfiguration object. Provide the configuration for your vector store in the storageConfiguration object. For an Amazon OpenSearch Service database, use the opensearchServerlessConfiguration object. For more information, see Create a vector store in Amazon OpenSearch Service. For an Amazon Aurora database, use the RdsConfiguration object. For more information, see Create a vector store in Amazon Aurora. For a Pinecone database, use the pineconeConfiguration object. For more information, see Create a vector store in Pinecone. For a Redis Enterprise Cloud database, use the redisEnterpriseCloudConfiguration object. For more information, see Create a vector store in Redis Enterprise Cloud.
56
80
  */
@@ -59,6 +83,22 @@ declare class BedrockAgent extends Service {
59
83
  * Creates a knowledge base that contains data sources from which information can be queried and used by LLMs. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see Set up your data for ingestion. If you prefer to let Amazon Bedrock create and manage a vector store for you in Amazon OpenSearch Service, use the console. For more information, see Create a knowledge base. Provide the name and an optional description. Provide the Amazon Resource Name (ARN) with permissions to create a knowledge base in the roleArn field. Provide the embedding model to use in the embeddingModelArn field in the knowledgeBaseConfiguration object. Provide the configuration for your vector store in the storageConfiguration object. For an Amazon OpenSearch Service database, use the opensearchServerlessConfiguration object. For more information, see Create a vector store in Amazon OpenSearch Service. For an Amazon Aurora database, use the RdsConfiguration object. For more information, see Create a vector store in Amazon Aurora. For a Pinecone database, use the pineconeConfiguration object. For more information, see Create a vector store in Pinecone. For a Redis Enterprise Cloud database, use the redisEnterpriseCloudConfiguration object. For more information, see Create a vector store in Redis Enterprise Cloud.
60
84
  */
61
85
  createKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.CreateKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.CreateKnowledgeBaseResponse, AWSError>;
86
+ /**
87
+ * Creates a prompt in your prompt library that you can add to a flow. For more information, see Prompt management in Amazon Bedrock, Create a prompt using Prompt management and Prompt flows in Amazon Bedrock in the Amazon Bedrock User Guide.
88
+ */
89
+ createPrompt(params: BedrockAgent.Types.CreatePromptRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreatePromptResponse) => void): Request<BedrockAgent.Types.CreatePromptResponse, AWSError>;
90
+ /**
91
+ * Creates a prompt in your prompt library that you can add to a flow. For more information, see Prompt management in Amazon Bedrock, Create a prompt using Prompt management and Prompt flows in Amazon Bedrock in the Amazon Bedrock User Guide.
92
+ */
93
+ createPrompt(callback?: (err: AWSError, data: BedrockAgent.Types.CreatePromptResponse) => void): Request<BedrockAgent.Types.CreatePromptResponse, AWSError>;
94
+ /**
95
+ * Creates a static snapshot of your prompt that can be deployed to production. For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.
96
+ */
97
+ createPromptVersion(params: BedrockAgent.Types.CreatePromptVersionRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreatePromptVersionResponse) => void): Request<BedrockAgent.Types.CreatePromptVersionResponse, AWSError>;
98
+ /**
99
+ * Creates a static snapshot of your prompt that can be deployed to production. For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.
100
+ */
101
+ createPromptVersion(callback?: (err: AWSError, data: BedrockAgent.Types.CreatePromptVersionResponse) => void): Request<BedrockAgent.Types.CreatePromptVersionResponse, AWSError>;
62
102
  /**
63
103
  * Deletes an agent.
64
104
  */
@@ -99,6 +139,30 @@ declare class BedrockAgent extends Service {
99
139
  * Deletes a data source from a knowledge base.
100
140
  */
101
141
  deleteDataSource(callback?: (err: AWSError, data: BedrockAgent.Types.DeleteDataSourceResponse) => void): Request<BedrockAgent.Types.DeleteDataSourceResponse, AWSError>;
142
+ /**
143
+ * Deletes a flow.
144
+ */
145
+ deleteFlow(params: BedrockAgent.Types.DeleteFlowRequest, callback?: (err: AWSError, data: BedrockAgent.Types.DeleteFlowResponse) => void): Request<BedrockAgent.Types.DeleteFlowResponse, AWSError>;
146
+ /**
147
+ * Deletes a flow.
148
+ */
149
+ deleteFlow(callback?: (err: AWSError, data: BedrockAgent.Types.DeleteFlowResponse) => void): Request<BedrockAgent.Types.DeleteFlowResponse, AWSError>;
150
+ /**
151
+ * Deletes an alias of a flow.
152
+ */
153
+ deleteFlowAlias(params: BedrockAgent.Types.DeleteFlowAliasRequest, callback?: (err: AWSError, data: BedrockAgent.Types.DeleteFlowAliasResponse) => void): Request<BedrockAgent.Types.DeleteFlowAliasResponse, AWSError>;
154
+ /**
155
+ * Deletes an alias of a flow.
156
+ */
157
+ deleteFlowAlias(callback?: (err: AWSError, data: BedrockAgent.Types.DeleteFlowAliasResponse) => void): Request<BedrockAgent.Types.DeleteFlowAliasResponse, AWSError>;
158
+ /**
159
+ * Deletes a version of a flow.
160
+ */
161
+ deleteFlowVersion(params: BedrockAgent.Types.DeleteFlowVersionRequest, callback?: (err: AWSError, data: BedrockAgent.Types.DeleteFlowVersionResponse) => void): Request<BedrockAgent.Types.DeleteFlowVersionResponse, AWSError>;
162
+ /**
163
+ * Deletes a version of a flow.
164
+ */
165
+ deleteFlowVersion(callback?: (err: AWSError, data: BedrockAgent.Types.DeleteFlowVersionResponse) => void): Request<BedrockAgent.Types.DeleteFlowVersionResponse, AWSError>;
102
166
  /**
103
167
  * Deletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a DisassociateAgentKnowledgeBase request.
104
168
  */
@@ -107,6 +171,14 @@ declare class BedrockAgent extends Service {
107
171
  * Deletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a DisassociateAgentKnowledgeBase request.
108
172
  */
109
173
  deleteKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.DeleteKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.DeleteKnowledgeBaseResponse, AWSError>;
174
+ /**
175
+ * Deletes a prompt or a prompt version from the Prompt management tool. For more information, see Delete prompts from the Prompt management tool and Delete a version of a prompt from the Prompt management tool in the Amazon Bedrock User Guide.
176
+ */
177
+ deletePrompt(params: BedrockAgent.Types.DeletePromptRequest, callback?: (err: AWSError, data: BedrockAgent.Types.DeletePromptResponse) => void): Request<BedrockAgent.Types.DeletePromptResponse, AWSError>;
178
+ /**
179
+ * Deletes a prompt or a prompt version from the Prompt management tool. For more information, see Delete prompts from the Prompt management tool and Delete a version of a prompt from the Prompt management tool in the Amazon Bedrock User Guide.
180
+ */
181
+ deletePrompt(callback?: (err: AWSError, data: BedrockAgent.Types.DeletePromptResponse) => void): Request<BedrockAgent.Types.DeletePromptResponse, AWSError>;
110
182
  /**
111
183
  * Disassociates a knowledge base from an agent.
112
184
  */
@@ -163,6 +235,30 @@ declare class BedrockAgent extends Service {
163
235
  * Gets information about a data source.
164
236
  */
165
237
  getDataSource(callback?: (err: AWSError, data: BedrockAgent.Types.GetDataSourceResponse) => void): Request<BedrockAgent.Types.GetDataSourceResponse, AWSError>;
238
+ /**
239
+ * Retrieves information about a flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
240
+ */
241
+ getFlow(params: BedrockAgent.Types.GetFlowRequest, callback?: (err: AWSError, data: BedrockAgent.Types.GetFlowResponse) => void): Request<BedrockAgent.Types.GetFlowResponse, AWSError>;
242
+ /**
243
+ * Retrieves information about a flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
244
+ */
245
+ getFlow(callback?: (err: AWSError, data: BedrockAgent.Types.GetFlowResponse) => void): Request<BedrockAgent.Types.GetFlowResponse, AWSError>;
246
+ /**
247
+ * Retrieves information about a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
248
+ */
249
+ getFlowAlias(params: BedrockAgent.Types.GetFlowAliasRequest, callback?: (err: AWSError, data: BedrockAgent.Types.GetFlowAliasResponse) => void): Request<BedrockAgent.Types.GetFlowAliasResponse, AWSError>;
250
+ /**
251
+ * Retrieves information about a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
252
+ */
253
+ getFlowAlias(callback?: (err: AWSError, data: BedrockAgent.Types.GetFlowAliasResponse) => void): Request<BedrockAgent.Types.GetFlowAliasResponse, AWSError>;
254
+ /**
255
+ * Retrieves information about a version of a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
256
+ */
257
+ getFlowVersion(params: BedrockAgent.Types.GetFlowVersionRequest, callback?: (err: AWSError, data: BedrockAgent.Types.GetFlowVersionResponse) => void): Request<BedrockAgent.Types.GetFlowVersionResponse, AWSError>;
258
+ /**
259
+ * Retrieves information about a version of a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
260
+ */
261
+ getFlowVersion(callback?: (err: AWSError, data: BedrockAgent.Types.GetFlowVersionResponse) => void): Request<BedrockAgent.Types.GetFlowVersionResponse, AWSError>;
166
262
  /**
167
263
  * Gets information about a ingestion job, in which a data source is added to a knowledge base.
168
264
  */
@@ -179,6 +275,14 @@ declare class BedrockAgent extends Service {
179
275
  * Gets information about a knoweldge base.
180
276
  */
181
277
  getKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.GetKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.GetKnowledgeBaseResponse, AWSError>;
278
+ /**
279
+ * Retrieves information about a prompt or a version of it. For more information, see View information about prompts using Prompt management and View information about a version of your prompt in the Amazon Bedrock User Guide.
280
+ */
281
+ getPrompt(params: BedrockAgent.Types.GetPromptRequest, callback?: (err: AWSError, data: BedrockAgent.Types.GetPromptResponse) => void): Request<BedrockAgent.Types.GetPromptResponse, AWSError>;
282
+ /**
283
+ * Retrieves information about a prompt or a version of it. For more information, see View information about prompts using Prompt management and View information about a version of your prompt in the Amazon Bedrock User Guide.
284
+ */
285
+ getPrompt(callback?: (err: AWSError, data: BedrockAgent.Types.GetPromptResponse) => void): Request<BedrockAgent.Types.GetPromptResponse, AWSError>;
182
286
  /**
183
287
  * Lists the action groups for an agent and information about each one.
184
288
  */
@@ -227,6 +331,30 @@ declare class BedrockAgent extends Service {
227
331
  * Lists the data sources in a knowledge base and information about each one.
228
332
  */
229
333
  listDataSources(callback?: (err: AWSError, data: BedrockAgent.Types.ListDataSourcesResponse) => void): Request<BedrockAgent.Types.ListDataSourcesResponse, AWSError>;
334
+ /**
335
+ * Returns a list of aliases for a flow.
336
+ */
337
+ listFlowAliases(params: BedrockAgent.Types.ListFlowAliasesRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListFlowAliasesResponse) => void): Request<BedrockAgent.Types.ListFlowAliasesResponse, AWSError>;
338
+ /**
339
+ * Returns a list of aliases for a flow.
340
+ */
341
+ listFlowAliases(callback?: (err: AWSError, data: BedrockAgent.Types.ListFlowAliasesResponse) => void): Request<BedrockAgent.Types.ListFlowAliasesResponse, AWSError>;
342
+ /**
343
+ * Returns a list of information about each flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
344
+ */
345
+ listFlowVersions(params: BedrockAgent.Types.ListFlowVersionsRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListFlowVersionsResponse) => void): Request<BedrockAgent.Types.ListFlowVersionsResponse, AWSError>;
346
+ /**
347
+ * Returns a list of information about each flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
348
+ */
349
+ listFlowVersions(callback?: (err: AWSError, data: BedrockAgent.Types.ListFlowVersionsResponse) => void): Request<BedrockAgent.Types.ListFlowVersionsResponse, AWSError>;
350
+ /**
351
+ * Returns a list of flows and information about each flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
352
+ */
353
+ listFlows(params: BedrockAgent.Types.ListFlowsRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListFlowsResponse) => void): Request<BedrockAgent.Types.ListFlowsResponse, AWSError>;
354
+ /**
355
+ * Returns a list of flows and information about each flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
356
+ */
357
+ listFlows(callback?: (err: AWSError, data: BedrockAgent.Types.ListFlowsResponse) => void): Request<BedrockAgent.Types.ListFlowsResponse, AWSError>;
230
358
  /**
231
359
  * Lists the ingestion jobs for a data source and information about each of them.
232
360
  */
@@ -243,6 +371,14 @@ declare class BedrockAgent extends Service {
243
371
  * Lists the knowledge bases in an account and information about each of them.
244
372
  */
245
373
  listKnowledgeBases(callback?: (err: AWSError, data: BedrockAgent.Types.ListKnowledgeBasesResponse) => void): Request<BedrockAgent.Types.ListKnowledgeBasesResponse, AWSError>;
374
+ /**
375
+ * Returns a list of prompts from the Prompt management tool and information about each prompt. For more information, see View information about prompts using Prompt management in the Amazon Bedrock User Guide.
376
+ */
377
+ listPrompts(params: BedrockAgent.Types.ListPromptsRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListPromptsResponse) => void): Request<BedrockAgent.Types.ListPromptsResponse, AWSError>;
378
+ /**
379
+ * Returns a list of prompts from the Prompt management tool and information about each prompt. For more information, see View information about prompts using Prompt management in the Amazon Bedrock User Guide.
380
+ */
381
+ listPrompts(callback?: (err: AWSError, data: BedrockAgent.Types.ListPromptsResponse) => void): Request<BedrockAgent.Types.ListPromptsResponse, AWSError>;
246
382
  /**
247
383
  * List all the tags for the resource you specify.
248
384
  */
@@ -259,6 +395,14 @@ declare class BedrockAgent extends Service {
259
395
  * Creates a DRAFT version of the agent that can be used for internal testing.
260
396
  */
261
397
  prepareAgent(callback?: (err: AWSError, data: BedrockAgent.Types.PrepareAgentResponse) => void): Request<BedrockAgent.Types.PrepareAgentResponse, AWSError>;
398
+ /**
399
+ * Prepares the DRAFT version of a flow so that it can be invoked. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
400
+ */
401
+ prepareFlow(params: BedrockAgent.Types.PrepareFlowRequest, callback?: (err: AWSError, data: BedrockAgent.Types.PrepareFlowResponse) => void): Request<BedrockAgent.Types.PrepareFlowResponse, AWSError>;
402
+ /**
403
+ * Prepares the DRAFT version of a flow so that it can be invoked. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
404
+ */
405
+ prepareFlow(callback?: (err: AWSError, data: BedrockAgent.Types.PrepareFlowResponse) => void): Request<BedrockAgent.Types.PrepareFlowResponse, AWSError>;
262
406
  /**
263
407
  * Begins an ingestion job, in which a data source is added to a knowledge base.
264
408
  */
@@ -316,13 +460,29 @@ declare class BedrockAgent extends Service {
316
460
  */
317
461
  updateAgentKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.UpdateAgentKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.UpdateAgentKnowledgeBaseResponse, AWSError>;
318
462
  /**
319
- * Updates configurations for a data source. You can't change the chunkingConfiguration after you create the data source. Specify the existing chunkingConfiguration.
463
+ * Updates the configurations for a data source connector. You can't change the chunkingConfiguration after you create the data source connector. Specify the existing chunkingConfiguration.
320
464
  */
321
465
  updateDataSource(params: BedrockAgent.Types.UpdateDataSourceRequest, callback?: (err: AWSError, data: BedrockAgent.Types.UpdateDataSourceResponse) => void): Request<BedrockAgent.Types.UpdateDataSourceResponse, AWSError>;
322
466
  /**
323
- * Updates configurations for a data source. You can't change the chunkingConfiguration after you create the data source. Specify the existing chunkingConfiguration.
467
+ * Updates the configurations for a data source connector. You can't change the chunkingConfiguration after you create the data source connector. Specify the existing chunkingConfiguration.
324
468
  */
325
469
  updateDataSource(callback?: (err: AWSError, data: BedrockAgent.Types.UpdateDataSourceResponse) => void): Request<BedrockAgent.Types.UpdateDataSourceResponse, AWSError>;
470
+ /**
471
+ * Modifies a flow. Include both fields that you want to keep and fields that you want to change. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
472
+ */
473
+ updateFlow(params: BedrockAgent.Types.UpdateFlowRequest, callback?: (err: AWSError, data: BedrockAgent.Types.UpdateFlowResponse) => void): Request<BedrockAgent.Types.UpdateFlowResponse, AWSError>;
474
+ /**
475
+ * Modifies a flow. Include both fields that you want to keep and fields that you want to change. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
476
+ */
477
+ updateFlow(callback?: (err: AWSError, data: BedrockAgent.Types.UpdateFlowResponse) => void): Request<BedrockAgent.Types.UpdateFlowResponse, AWSError>;
478
+ /**
479
+ * Modifies the alias of a flow. Include both fields that you want to keep and ones that you want to change. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
480
+ */
481
+ updateFlowAlias(params: BedrockAgent.Types.UpdateFlowAliasRequest, callback?: (err: AWSError, data: BedrockAgent.Types.UpdateFlowAliasResponse) => void): Request<BedrockAgent.Types.UpdateFlowAliasResponse, AWSError>;
482
+ /**
483
+ * Modifies the alias of a flow. Include both fields that you want to keep and ones that you want to change. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
484
+ */
485
+ updateFlowAlias(callback?: (err: AWSError, data: BedrockAgent.Types.UpdateFlowAliasResponse) => void): Request<BedrockAgent.Types.UpdateFlowAliasResponse, AWSError>;
326
486
  /**
327
487
  * Updates the configuration of a knowledge base with the fields that you specify. Because all fields will be overwritten, you must include the same values for fields that you want to keep the same. You can change the following fields: name description roleArn You can't change the knowledgeBaseConfiguration or storageConfiguration fields, so you must specify the same configurations as when you created the knowledge base. You can send a GetKnowledgeBase request and copy the same configurations.
328
488
  */
@@ -331,6 +491,14 @@ declare class BedrockAgent extends Service {
331
491
  * Updates the configuration of a knowledge base with the fields that you specify. Because all fields will be overwritten, you must include the same values for fields that you want to keep the same. You can change the following fields: name description roleArn You can't change the knowledgeBaseConfiguration or storageConfiguration fields, so you must specify the same configurations as when you created the knowledge base. You can send a GetKnowledgeBase request and copy the same configurations.
332
492
  */
333
493
  updateKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.UpdateKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.UpdateKnowledgeBaseResponse, AWSError>;
494
+ /**
495
+ * Modifies a prompt in your prompt library. Include both fields that you want to keep and fields that you want to replace. For more information, see Prompt management in Amazon Bedrock and Edit prompts in your prompt library in the Amazon Bedrock User Guide.
496
+ */
497
+ updatePrompt(params: BedrockAgent.Types.UpdatePromptRequest, callback?: (err: AWSError, data: BedrockAgent.Types.UpdatePromptResponse) => void): Request<BedrockAgent.Types.UpdatePromptResponse, AWSError>;
498
+ /**
499
+ * Modifies a prompt in your prompt library. Include both fields that you want to keep and fields that you want to replace. For more information, see Prompt management in Amazon Bedrock and Edit prompts in your prompt library in the Amazon Bedrock User Guide.
500
+ */
501
+ updatePrompt(callback?: (err: AWSError, data: BedrockAgent.Types.UpdatePromptResponse) => void): Request<BedrockAgent.Types.UpdatePromptResponse, AWSError>;
334
502
  }
335
503
  declare namespace BedrockAgent {
336
504
  export interface APISchema {
@@ -353,7 +521,7 @@ declare namespace BedrockAgent {
353
521
  */
354
522
  lambda?: LambdaArn;
355
523
  }
356
- export type ActionGroupSignature = "AMAZON.UserInput"|string;
524
+ export type ActionGroupSignature = "AMAZON.UserInput"|"AMAZON.CodeInterpreter"|string;
357
525
  export type ActionGroupState = "ENABLED"|"DISABLED"|string;
358
526
  export type ActionGroupSummaries = ActionGroupSummary[];
359
527
  export interface ActionGroupSummary {
@@ -427,6 +595,10 @@ declare namespace BedrockAgent {
427
595
  * The foundation model used for orchestration by the agent.
428
596
  */
429
597
  foundationModel?: ModelIdentifier;
598
+ /**
599
+ * Details about the guardrail associated with the agent.
600
+ */
601
+ guardrailConfiguration?: GuardrailConfiguration;
430
602
  /**
431
603
  * The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
432
604
  */
@@ -435,6 +607,10 @@ declare namespace BedrockAgent {
435
607
  * Instructions that tell the agent what it should do and how it should interact with users.
436
608
  */
437
609
  instruction?: Instruction;
610
+ /**
611
+ * Contains memory configuration for the agent.
612
+ */
613
+ memoryConfiguration?: MemoryConfiguration;
438
614
  /**
439
615
  * The time at which the agent was last prepared.
440
616
  */
@@ -454,7 +630,7 @@ declare namespace BedrockAgent {
454
630
  }
455
631
  export interface AgentActionGroup {
456
632
  /**
457
- * The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
633
+ * The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
458
634
  */
459
635
  actionGroupExecutor?: ActionGroupExecutor;
460
636
  /**
@@ -543,6 +719,10 @@ declare namespace BedrockAgent {
543
719
  * The description of the alias of the agent.
544
720
  */
545
721
  description?: Description;
722
+ /**
723
+ * Information on the failure of Provisioned Throughput assigned to an agent alias.
724
+ */
725
+ failureReasons?: FailureReasons;
546
726
  /**
547
727
  * Contains details about the routing configuration of the alias.
548
728
  */
@@ -574,7 +754,11 @@ declare namespace BedrockAgent {
574
754
  /**
575
755
  * The version of the agent with which the alias is associated.
576
756
  */
577
- agentVersion: Version;
757
+ agentVersion?: Version;
758
+ /**
759
+ * Information on the Provisioned Throughput assigned to an agent alias.
760
+ */
761
+ provisionedThroughput?: ProvisionedModelIdentifier;
578
762
  }
579
763
  export type AgentAliasStatus = "CREATING"|"PREPARED"|"FAILED"|"UPDATING"|"DELETING"|string;
580
764
  export type AgentAliasSummaries = AgentAliasSummary[];
@@ -609,6 +793,12 @@ declare namespace BedrockAgent {
609
793
  updatedAt: DateTimestamp;
610
794
  }
611
795
  export type AgentArn = string;
796
+ export interface AgentFlowNodeConfiguration {
797
+ /**
798
+ * The Amazon Resource Name (ARN) of the alias of the agent to invoke.
799
+ */
800
+ agentAliasArn: AgentAliasArn;
801
+ }
612
802
  export interface AgentKnowledgeBase {
613
803
  /**
614
804
  * The unique identifier of the agent with which the knowledge base is associated.
@@ -678,6 +868,10 @@ declare namespace BedrockAgent {
678
868
  * The description of the agent.
679
869
  */
680
870
  description?: Description;
871
+ /**
872
+ * Details about the guardrail associated with the agent.
873
+ */
874
+ guardrailConfiguration?: GuardrailConfiguration;
681
875
  /**
682
876
  * The latest version of the agent.
683
877
  */
@@ -728,6 +922,10 @@ declare namespace BedrockAgent {
728
922
  * The foundation model that the version invokes.
729
923
  */
730
924
  foundationModel?: ModelIdentifier;
925
+ /**
926
+ * Details about the guardrail associated with the agent.
927
+ */
928
+ guardrailConfiguration?: GuardrailConfiguration;
731
929
  /**
732
930
  * The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
733
931
  */
@@ -736,6 +934,10 @@ declare namespace BedrockAgent {
736
934
  * The instructions provided to the agent.
737
935
  */
738
936
  instruction?: Instruction;
937
+ /**
938
+ * Contains details of the memory configuration on the version of the agent.
939
+ */
940
+ memoryConfiguration?: MemoryConfiguration;
739
941
  /**
740
942
  * Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see Advanced prompts.
741
943
  */
@@ -775,6 +977,10 @@ declare namespace BedrockAgent {
775
977
  * The description of the version of the agent.
776
978
  */
777
979
  description?: Description;
980
+ /**
981
+ * Details about the guardrail associated with the agent.
982
+ */
983
+ guardrailConfiguration?: GuardrailConfiguration;
778
984
  /**
779
985
  * The time at which the version was last updated.
780
986
  */
@@ -810,24 +1016,104 @@ declare namespace BedrockAgent {
810
1016
  }
811
1017
  export type BasePromptTemplate = string;
812
1018
  export type BedrockEmbeddingModelArn = string;
1019
+ export interface BedrockEmbeddingModelConfiguration {
1020
+ /**
1021
+ * The dimensions details for the vector configuration used on the Bedrock embeddings model.
1022
+ */
1023
+ dimensions?: Dimensions;
1024
+ }
1025
+ export interface BedrockFoundationModelConfiguration {
1026
+ /**
1027
+ * The model's ARN.
1028
+ */
1029
+ modelArn: BedrockModelArn;
1030
+ /**
1031
+ * Instructions for interpreting the contents of a document.
1032
+ */
1033
+ parsingPrompt?: ParsingPrompt;
1034
+ }
1035
+ export type BedrockModelArn = string;
813
1036
  export type Boolean = boolean;
814
1037
  export type BucketOwnerAccountId = string;
815
1038
  export interface ChunkingConfiguration {
816
1039
  /**
817
- * Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk. FIXED_SIZE – Amazon Bedrock splits your source data into chunks of the approximate size that you set in the fixedSizeChunkingConfiguration. NONE – Amazon Bedrock treats each file as one chunk. If you choose this option, you may want to pre-process your documents by splitting them into separate files.
1040
+ * Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk. FIXED_SIZE – Amazon Bedrock splits your source data into chunks of the approximate size that you set in the fixedSizeChunkingConfiguration. HIERARCHICAL – Split documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer. SEMANTIC – Split documents into chunks based on groups of similar content derived with natural language processing. NONE – Amazon Bedrock treats each file as one chunk. If you choose this option, you may want to pre-process your documents by splitting them into separate files.
818
1041
  */
819
1042
  chunkingStrategy: ChunkingStrategy;
820
1043
  /**
821
1044
  * Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field.
822
1045
  */
823
1046
  fixedSizeChunkingConfiguration?: FixedSizeChunkingConfiguration;
1047
+ /**
1048
+ * Settings for hierarchical document chunking for a data source. Hierarchical chunking splits documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer.
1049
+ */
1050
+ hierarchicalChunkingConfiguration?: HierarchicalChunkingConfiguration;
1051
+ /**
1052
+ * Settings for semantic document chunking for a data source. Semantic chunking splits a document into into smaller documents based on groups of similar content derived from the text with natural language processing.
1053
+ */
1054
+ semanticChunkingConfiguration?: SemanticChunkingConfiguration;
824
1055
  }
825
- export type ChunkingStrategy = "FIXED_SIZE"|"NONE"|string;
1056
+ export type ChunkingStrategy = "FIXED_SIZE"|"NONE"|"HIERARCHICAL"|"SEMANTIC"|string;
826
1057
  export type ClientToken = string;
1058
+ export interface CollectorFlowNodeConfiguration {
1059
+ }
827
1060
  export type ColumnName = string;
1061
+ export interface ConditionFlowNodeConfiguration {
1062
+ /**
1063
+ * An array of conditions. Each member contains the name of a condition and an expression that defines the condition.
1064
+ */
1065
+ conditions: FlowConditions;
1066
+ }
1067
+ export type ConfluenceAuthType = "BASIC"|"OAUTH2_CLIENT_CREDENTIALS"|string;
1068
+ export interface ConfluenceCrawlerConfiguration {
1069
+ /**
1070
+ * The configuration of filtering the Confluence content. For example, configuring regular expression patterns to include or exclude certain content.
1071
+ */
1072
+ filterConfiguration?: CrawlFilterConfiguration;
1073
+ }
1074
+ export interface ConfluenceDataSourceConfiguration {
1075
+ /**
1076
+ * The configuration of the Confluence content. For example, configuring specific types of Confluence content.
1077
+ */
1078
+ crawlerConfiguration?: ConfluenceCrawlerConfiguration;
1079
+ /**
1080
+ * The endpoint information to connect to your Confluence data source.
1081
+ */
1082
+ sourceConfiguration: ConfluenceSourceConfiguration;
1083
+ }
1084
+ export type ConfluenceHostType = "SAAS"|string;
1085
+ export interface ConfluenceSourceConfiguration {
1086
+ /**
1087
+ * The supported authentication type to authenticate and connect to your Confluence instance.
1088
+ */
1089
+ authType: ConfluenceAuthType;
1090
+ /**
1091
+ * The Amazon Resource Name of an Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Confluence connection configuration.
1092
+ */
1093
+ credentialsSecretArn: SecretArn;
1094
+ /**
1095
+ * The supported host type, whether online/cloud or server/on-premises.
1096
+ */
1097
+ hostType: ConfluenceHostType;
1098
+ /**
1099
+ * The Confluence host URL or instance URL.
1100
+ */
1101
+ hostUrl: HttpsUrl;
1102
+ }
1103
+ export interface CrawlFilterConfiguration {
1104
+ /**
1105
+ * The configuration of filtering certain objects or content types of the data source.
1106
+ */
1107
+ patternObjectFilter?: PatternObjectFilterConfiguration;
1108
+ /**
1109
+ * The type of filtering that you want to apply to certain objects or content of the data source. For example, the PATTERN type is regular expression patterns you can apply to filter your content.
1110
+ */
1111
+ type: CrawlFilterConfigurationType;
1112
+ }
1113
+ export type CrawlFilterConfigurationType = "PATTERN"|string;
828
1114
  export interface CreateAgentActionGroupRequest {
829
1115
  /**
830
- * The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
1116
+ * The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
831
1117
  */
832
1118
  actionGroupExecutor?: ActionGroupExecutor;
833
1119
  /**
@@ -863,7 +1149,7 @@ declare namespace BedrockAgent {
863
1149
  */
864
1150
  functionSchema?: FunctionSchema;
865
1151
  /**
866
- * To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput. You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
1152
+ * To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput. You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to AMAZON.CodeInterpreter. You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
867
1153
  */
868
1154
  parentActionGroupSignature?: ActionGroupSignature;
869
1155
  }
@@ -930,6 +1216,10 @@ declare namespace BedrockAgent {
930
1216
  * The foundation model to be used for orchestration by the agent you create.
931
1217
  */
932
1218
  foundationModel?: ModelIdentifier;
1219
+ /**
1220
+ * The unique Guardrail configuration assigned to the agent when it is created.
1221
+ */
1222
+ guardrailConfiguration?: GuardrailConfiguration;
933
1223
  /**
934
1224
  * The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
935
1225
  */
@@ -938,6 +1228,10 @@ declare namespace BedrockAgent {
938
1228
  * Instructions that tell the agent what it should do and how it should interact with users.
939
1229
  */
940
1230
  instruction?: Instruction;
1231
+ /**
1232
+ * Contains the details of the memory configured for the agent.
1233
+ */
1234
+ memoryConfiguration?: MemoryConfiguration;
941
1235
  /**
942
1236
  * Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.
943
1237
  */
@@ -959,11 +1253,11 @@ declare namespace BedrockAgent {
959
1253
  */
960
1254
  clientToken?: ClientToken;
961
1255
  /**
962
- * The deletion policy for the requested data source
1256
+ * The data deletion policy for the data source. You can set the data deletion policy to: DELETE: Deletes all underlying data belonging to the data source from the vector store upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the underlying data. This flag is ignored if an Amazon Web Services account is deleted. RETAIN: Retains all underlying data in your vector store upon deletion of a knowledge base or data source resource.
963
1257
  */
964
1258
  dataDeletionPolicy?: DataDeletionPolicy;
965
1259
  /**
966
- * Contains metadata about where the data source is stored.
1260
+ * The connection configuration for the data source.
967
1261
  */
968
1262
  dataSourceConfiguration: DataSourceConfiguration;
969
1263
  /**
@@ -993,300 +1287,1042 @@ declare namespace BedrockAgent {
993
1287
  */
994
1288
  dataSource: DataSource;
995
1289
  }
996
- export interface CreateKnowledgeBaseRequest {
1290
+ export interface CreateFlowAliasRequest {
997
1291
  /**
998
1292
  * A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
999
1293
  */
1000
1294
  clientToken?: ClientToken;
1001
1295
  /**
1002
- * A description of the knowledge base.
1296
+ * A description for the alias.
1003
1297
  */
1004
1298
  description?: Description;
1005
1299
  /**
1006
- * Contains details about the embeddings model used for the knowledge base.
1300
+ * The unique identifier of the flow for which to create an alias.
1007
1301
  */
1008
- knowledgeBaseConfiguration: KnowledgeBaseConfiguration;
1302
+ flowIdentifier: FlowIdentifier;
1009
1303
  /**
1010
- * A name for the knowledge base.
1304
+ * A name for the alias.
1011
1305
  */
1012
1306
  name: Name;
1013
1307
  /**
1014
- * The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
1015
- */
1016
- roleArn: KnowledgeBaseRoleArn;
1017
- /**
1018
- * Contains details about the configuration of the vector database used for the knowledge base.
1308
+ * Contains information about the version to which to map the alias.
1019
1309
  */
1020
- storageConfiguration: StorageConfiguration;
1310
+ routingConfiguration: FlowAliasRoutingConfiguration;
1021
1311
  /**
1022
- * Specify the key-value pairs for the tags that you want to attach to your knowledge base in this object.
1312
+ * Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon Bedrock.
1023
1313
  */
1024
1314
  tags?: TagsMap;
1025
1315
  }
1026
- export interface CreateKnowledgeBaseResponse {
1316
+ export interface CreateFlowAliasResponse {
1027
1317
  /**
1028
- * Contains details about the knowledge base.
1318
+ * The Amazon Resource Name (ARN) of the alias.
1029
1319
  */
1030
- knowledgeBase: KnowledgeBase;
1031
- }
1032
- export type CreationMode = "DEFAULT"|"OVERRIDDEN"|string;
1033
- export type CustomControlMethod = "RETURN_CONTROL"|string;
1034
- export type DataDeletionPolicy = "RETAIN"|"DELETE"|string;
1035
- export interface DataSource {
1320
+ arn: FlowAliasArn;
1036
1321
  /**
1037
- * The time at which the data source was created.
1322
+ * The time at which the alias was created.
1038
1323
  */
1039
1324
  createdAt: DateTimestamp;
1040
1325
  /**
1041
- * The deletion policy for the data source.
1326
+ * The description of the alias.
1042
1327
  */
1043
- dataDeletionPolicy?: DataDeletionPolicy;
1328
+ description?: Description;
1044
1329
  /**
1045
- * Contains details about how the data source is stored.
1330
+ * The unique identifier of the flow that the alias belongs to.
1046
1331
  */
1047
- dataSourceConfiguration: DataSourceConfiguration;
1332
+ flowId: FlowId;
1048
1333
  /**
1049
- * The unique identifier of the data source.
1334
+ * The unique identifier of the alias.
1050
1335
  */
1051
- dataSourceId: Id;
1336
+ id: FlowAliasId;
1052
1337
  /**
1053
- * The description of the data source.
1338
+ * The name of the alias.
1054
1339
  */
1055
- description?: Description;
1340
+ name: Name;
1056
1341
  /**
1057
- * The details of the failure reasons related to the data source.
1342
+ * Contains information about the version that the alias is mapped to.
1058
1343
  */
1059
- failureReasons?: FailureReasons;
1344
+ routingConfiguration: FlowAliasRoutingConfiguration;
1060
1345
  /**
1061
- * The unique identifier of the knowledge base to which the data source belongs.
1346
+ * The time at which the alias of the flow was last updated.
1062
1347
  */
1063
- knowledgeBaseId: Id;
1348
+ updatedAt: DateTimestamp;
1349
+ }
1350
+ export interface CreateFlowRequest {
1064
1351
  /**
1065
- * The name of the data source.
1352
+ * A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
1066
1353
  */
1067
- name: Name;
1354
+ clientToken?: ClientToken;
1068
1355
  /**
1069
- * Contains details about the configuration of the server-side encryption.
1356
+ * The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
1070
1357
  */
1071
- serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
1358
+ customerEncryptionKeyArn?: KmsKeyArn;
1072
1359
  /**
1073
- * The status of the data source. The following statuses are possible: Available – The data source has been created and is ready for ingestion into the knowledge base. Deleting – The data source is being deleted.
1360
+ * A definition of the nodes and connections between nodes in the flow.
1074
1361
  */
1075
- status: DataSourceStatus;
1362
+ definition?: FlowDefinition;
1076
1363
  /**
1077
- * The time at which the data source was last updated.
1364
+ * A description for the flow.
1078
1365
  */
1079
- updatedAt: DateTimestamp;
1366
+ description?: FlowDescription;
1080
1367
  /**
1081
- * Contains details about how to ingest the documents in the data source.
1368
+ * The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
1082
1369
  */
1083
- vectorIngestionConfiguration?: VectorIngestionConfiguration;
1084
- }
1085
- export interface DataSourceConfiguration {
1370
+ executionRoleArn: FlowExecutionRoleArn;
1086
1371
  /**
1087
- * Contains details about the configuration of the S3 object containing the data source.
1372
+ * A name for the flow.
1088
1373
  */
1089
- s3Configuration?: S3DataSourceConfiguration;
1374
+ name: FlowName;
1090
1375
  /**
1091
- * The type of storage for the data source.
1376
+ * Any tags that you want to attach to the flow. For more information, see Tagging resources in Amazon Bedrock.
1092
1377
  */
1093
- type: DataSourceType;
1378
+ tags?: TagsMap;
1094
1379
  }
1095
- export type DataSourceStatus = "AVAILABLE"|"DELETING"|"DELETE_UNSUCCESSFUL"|string;
1096
- export type DataSourceSummaries = DataSourceSummary[];
1097
- export interface DataSourceSummary {
1380
+ export interface CreateFlowResponse {
1098
1381
  /**
1099
- * The unique identifier of the data source.
1382
+ * The Amazon Resource Name (ARN) of the flow.
1100
1383
  */
1101
- dataSourceId: Id;
1384
+ arn: FlowArn;
1102
1385
  /**
1103
- * The description of the data source.
1386
+ * The time at which the flow was created.
1104
1387
  */
1105
- description?: Description;
1388
+ createdAt: DateTimestamp;
1106
1389
  /**
1107
- * The unique identifier of the knowledge base to which the data source belongs.
1390
+ * The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.
1108
1391
  */
1109
- knowledgeBaseId: Id;
1392
+ customerEncryptionKeyArn?: KmsKeyArn;
1110
1393
  /**
1111
- * The name of the data source.
1394
+ * A definition of the nodes and connections between nodes in the flow.
1112
1395
  */
1113
- name: Name;
1396
+ definition?: FlowDefinition;
1114
1397
  /**
1115
- * The status of the data source.
1398
+ * The description of the flow.
1116
1399
  */
1117
- status: DataSourceStatus;
1400
+ description?: FlowDescription;
1118
1401
  /**
1119
- * The time at which the data source was last updated.
1402
+ * The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
1120
1403
  */
1121
- updatedAt: DateTimestamp;
1122
- }
1123
- export type DataSourceType = "S3"|string;
1124
- export type DateTimestamp = Date;
1125
- export interface DeleteAgentActionGroupRequest {
1404
+ executionRoleArn: FlowExecutionRoleArn;
1126
1405
  /**
1127
- * The unique identifier of the action group to delete.
1406
+ * The unique identifier of the flow.
1128
1407
  */
1129
- actionGroupId: Id;
1408
+ id: FlowId;
1130
1409
  /**
1131
- * The unique identifier of the agent that the action group belongs to.
1410
+ * The name of the flow.
1132
1411
  */
1133
- agentId: Id;
1412
+ name: FlowName;
1134
1413
  /**
1135
- * The version of the agent that the action group belongs to.
1414
+ * The status of the flow. When you submit this request, the status will be NotPrepared. If creation fails, the status becomes Failed.
1136
1415
  */
1137
- agentVersion: DraftVersion;
1416
+ status: FlowStatus;
1138
1417
  /**
1139
- * By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
1418
+ * The time at which the flow was last updated.
1140
1419
  */
1141
- skipResourceInUseCheck?: Boolean;
1142
- }
1143
- export interface DeleteAgentActionGroupResponse {
1420
+ updatedAt: DateTimestamp;
1421
+ /**
1422
+ * The version of the flow. When you create a flow, the version created is the DRAFT version.
1423
+ */
1424
+ version: DraftVersion;
1144
1425
  }
1145
- export interface DeleteAgentAliasRequest {
1426
+ export interface CreateFlowVersionRequest {
1146
1427
  /**
1147
- * The unique identifier of the alias to delete.
1428
+ * A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
1148
1429
  */
1149
- agentAliasId: AgentAliasId;
1430
+ clientToken?: ClientToken;
1150
1431
  /**
1151
- * The unique identifier of the agent that the alias belongs to.
1432
+ * A description of the version of the flow.
1152
1433
  */
1153
- agentId: Id;
1434
+ description?: FlowDescription;
1435
+ /**
1436
+ * The unique identifier of the flow that you want to create a version of.
1437
+ */
1438
+ flowIdentifier: FlowIdentifier;
1154
1439
  }
1155
- export interface DeleteAgentAliasResponse {
1440
+ export interface CreateFlowVersionResponse {
1156
1441
  /**
1157
- * The unique identifier of the alias that was deleted.
1442
+ * The Amazon Resource Name (ARN) of the flow.
1158
1443
  */
1159
- agentAliasId: AgentAliasId;
1444
+ arn: FlowArn;
1160
1445
  /**
1161
- * The status of the alias.
1446
+ * The time at which the flow was created.
1162
1447
  */
1163
- agentAliasStatus: AgentAliasStatus;
1448
+ createdAt: DateTimestamp;
1164
1449
  /**
1165
- * The unique identifier of the agent that the alias belongs to.
1450
+ * The KMS key that the flow is encrypted with.
1451
+ */
1452
+ customerEncryptionKeyArn?: KmsKeyArn;
1453
+ /**
1454
+ * A definition of the nodes and connections in the flow.
1455
+ */
1456
+ definition?: FlowDefinition;
1457
+ /**
1458
+ * The description of the flow version.
1459
+ */
1460
+ description?: FlowDescription;
1461
+ /**
1462
+ * The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
1463
+ */
1464
+ executionRoleArn: FlowExecutionRoleArn;
1465
+ /**
1466
+ * The unique identifier of the flow.
1467
+ */
1468
+ id: FlowId;
1469
+ /**
1470
+ * The name of the flow version.
1471
+ */
1472
+ name: FlowName;
1473
+ /**
1474
+ * The status of the flow.
1475
+ */
1476
+ status: FlowStatus;
1477
+ /**
1478
+ * The version of the flow that was created. Versions are numbered incrementally, starting from 1.
1479
+ */
1480
+ version: NumericalVersion;
1481
+ }
1482
+ export interface CreateKnowledgeBaseRequest {
1483
+ /**
1484
+ * A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
1485
+ */
1486
+ clientToken?: ClientToken;
1487
+ /**
1488
+ * A description of the knowledge base.
1489
+ */
1490
+ description?: Description;
1491
+ /**
1492
+ * Contains details about the embeddings model used for the knowledge base.
1493
+ */
1494
+ knowledgeBaseConfiguration: KnowledgeBaseConfiguration;
1495
+ /**
1496
+ * A name for the knowledge base.
1497
+ */
1498
+ name: Name;
1499
+ /**
1500
+ * The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
1501
+ */
1502
+ roleArn: KnowledgeBaseRoleArn;
1503
+ /**
1504
+ * Contains details about the configuration of the vector database used for the knowledge base.
1505
+ */
1506
+ storageConfiguration: StorageConfiguration;
1507
+ /**
1508
+ * Specify the key-value pairs for the tags that you want to attach to your knowledge base in this object.
1509
+ */
1510
+ tags?: TagsMap;
1511
+ }
1512
+ export interface CreateKnowledgeBaseResponse {
1513
+ /**
1514
+ * Contains details about the knowledge base.
1515
+ */
1516
+ knowledgeBase: KnowledgeBase;
1517
+ }
1518
+ export interface CreatePromptRequest {
1519
+ /**
1520
+ * A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
1521
+ */
1522
+ clientToken?: ClientToken;
1523
+ /**
1524
+ * The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
1525
+ */
1526
+ customerEncryptionKeyArn?: KmsKeyArn;
1527
+ /**
1528
+ * The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
1529
+ */
1530
+ defaultVariant?: PromptVariantName;
1531
+ /**
1532
+ * A description for the prompt.
1533
+ */
1534
+ description?: PromptDescription;
1535
+ /**
1536
+ * A name for the prompt.
1537
+ */
1538
+ name: PromptName;
1539
+ /**
1540
+ * Any tags that you want to attach to the prompt. For more information, see Tagging resources in Amazon Bedrock.
1541
+ */
1542
+ tags?: TagsMap;
1543
+ /**
1544
+ * A list of objects, each containing details about a variant of the prompt.
1545
+ */
1546
+ variants?: PromptVariantList;
1547
+ }
1548
+ export interface CreatePromptResponse {
1549
+ /**
1550
+ * The Amazon Resource Name (ARN) of the prompt.
1551
+ */
1552
+ arn: PromptArn;
1553
+ /**
1554
+ * The time at which the prompt was created.
1555
+ */
1556
+ createdAt: DateTimestamp;
1557
+ /**
1558
+ * The Amazon Resource Name (ARN) of the KMS key that you encrypted the prompt with.
1559
+ */
1560
+ customerEncryptionKeyArn?: KmsKeyArn;
1561
+ /**
1562
+ * The name of the default variant for your prompt.
1563
+ */
1564
+ defaultVariant?: PromptVariantName;
1565
+ /**
1566
+ * The description of the prompt.
1567
+ */
1568
+ description?: PromptDescription;
1569
+ /**
1570
+ * The unique identifier of the prompt.
1571
+ */
1572
+ id: PromptId;
1573
+ /**
1574
+ * The name of the prompt.
1575
+ */
1576
+ name: PromptName;
1577
+ /**
1578
+ * The time at which the prompt was last updated.
1579
+ */
1580
+ updatedAt: DateTimestamp;
1581
+ /**
1582
+ * A list of objects, each containing details about a variant of the prompt.
1583
+ */
1584
+ variants?: PromptVariantList;
1585
+ /**
1586
+ * The version of the prompt. When you create a prompt, the version created is the DRAFT version.
1587
+ */
1588
+ version: Version;
1589
+ }
1590
+ export interface CreatePromptVersionRequest {
1591
+ /**
1592
+ * A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
1593
+ */
1594
+ clientToken?: ClientToken;
1595
+ /**
1596
+ * A description for the version of the prompt.
1597
+ */
1598
+ description?: PromptDescription;
1599
+ /**
1600
+ * The unique identifier of the prompt that you want to create a version of.
1601
+ */
1602
+ promptIdentifier: PromptIdentifier;
1603
+ /**
1604
+ * Any tags that you want to attach to the version of the prompt. For more information, see Tagging resources in Amazon Bedrock.
1605
+ */
1606
+ tags?: TagsMap;
1607
+ }
1608
+ export interface CreatePromptVersionResponse {
1609
+ /**
1610
+ * The Amazon Resource Name (ARN) of the version of the prompt.
1611
+ */
1612
+ arn: PromptArn;
1613
+ /**
1614
+ * The time at which the prompt was created.
1615
+ */
1616
+ createdAt: DateTimestamp;
1617
+ /**
1618
+ * The Amazon Resource Name (ARN) of the KMS key to encrypt the version of the prompt.
1619
+ */
1620
+ customerEncryptionKeyArn?: KmsKeyArn;
1621
+ /**
1622
+ * The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
1623
+ */
1624
+ defaultVariant?: PromptVariantName;
1625
+ /**
1626
+ * A description for the prompt version.
1627
+ */
1628
+ description?: PromptDescription;
1629
+ /**
1630
+ * The unique identifier of the prompt.
1631
+ */
1632
+ id: PromptId;
1633
+ /**
1634
+ * The name of the prompt version.
1635
+ */
1636
+ name: PromptName;
1637
+ /**
1638
+ * The time at which the prompt was last updated.
1639
+ */
1640
+ updatedAt: DateTimestamp;
1641
+ /**
1642
+ * A list of objects, each containing details about a variant of the prompt.
1643
+ */
1644
+ variants?: PromptVariantList;
1645
+ /**
1646
+ * The version of the prompt that was created. Versions are numbered incrementally, starting from 1.
1647
+ */
1648
+ version: Version;
1649
+ }
1650
+ export type CreationMode = "DEFAULT"|"OVERRIDDEN"|string;
1651
+ export type CustomControlMethod = "RETURN_CONTROL"|string;
1652
+ export interface CustomTransformationConfiguration {
1653
+ /**
1654
+ * An S3 bucket path for input and output objects.
1655
+ */
1656
+ intermediateStorage: IntermediateStorage;
1657
+ /**
1658
+ * A Lambda function that processes documents.
1659
+ */
1660
+ transformations: Transformations;
1661
+ }
1662
+ export type DataDeletionPolicy = "RETAIN"|"DELETE"|string;
1663
+ export interface DataSource {
1664
+ /**
1665
+ * The time at which the data source was created.
1666
+ */
1667
+ createdAt: DateTimestamp;
1668
+ /**
1669
+ * The data deletion policy for the data source.
1670
+ */
1671
+ dataDeletionPolicy?: DataDeletionPolicy;
1672
+ /**
1673
+ * The connection configuration for the data source.
1674
+ */
1675
+ dataSourceConfiguration: DataSourceConfiguration;
1676
+ /**
1677
+ * The unique identifier of the data source.
1678
+ */
1679
+ dataSourceId: Id;
1680
+ /**
1681
+ * The description of the data source.
1682
+ */
1683
+ description?: Description;
1684
+ /**
1685
+ * The detailed reasons on the failure to delete a data source.
1686
+ */
1687
+ failureReasons?: FailureReasons;
1688
+ /**
1689
+ * The unique identifier of the knowledge base to which the data source belongs.
1690
+ */
1691
+ knowledgeBaseId: Id;
1692
+ /**
1693
+ * The name of the data source.
1694
+ */
1695
+ name: Name;
1696
+ /**
1697
+ * Contains details about the configuration of the server-side encryption.
1698
+ */
1699
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
1700
+ /**
1701
+ * The status of the data source. The following statuses are possible: Available – The data source has been created and is ready for ingestion into the knowledge base. Deleting – The data source is being deleted.
1702
+ */
1703
+ status: DataSourceStatus;
1704
+ /**
1705
+ * The time at which the data source was last updated.
1706
+ */
1707
+ updatedAt: DateTimestamp;
1708
+ /**
1709
+ * Contains details about how to ingest the documents in the data source.
1710
+ */
1711
+ vectorIngestionConfiguration?: VectorIngestionConfiguration;
1712
+ }
1713
+ export interface DataSourceConfiguration {
1714
+ /**
1715
+ * The configuration information to connect to Confluence as your data source. Confluence data source connector is in preview release and is subject to change.
1716
+ */
1717
+ confluenceConfiguration?: ConfluenceDataSourceConfiguration;
1718
+ /**
1719
+ * The configuration information to connect to Amazon S3 as your data source.
1720
+ */
1721
+ s3Configuration?: S3DataSourceConfiguration;
1722
+ /**
1723
+ * The configuration information to connect to Salesforce as your data source. Salesforce data source connector is in preview release and is subject to change.
1724
+ */
1725
+ salesforceConfiguration?: SalesforceDataSourceConfiguration;
1726
+ /**
1727
+ * The configuration information to connect to SharePoint as your data source. SharePoint data source connector is in preview release and is subject to change.
1728
+ */
1729
+ sharePointConfiguration?: SharePointDataSourceConfiguration;
1730
+ /**
1731
+ * The type of data source.
1732
+ */
1733
+ type: DataSourceType;
1734
+ /**
1735
+ * The configuration of web URLs to crawl for your data source. You should be authorized to crawl the URLs. Crawling web URLs as your data source is in preview release and is subject to change.
1736
+ */
1737
+ webConfiguration?: WebDataSourceConfiguration;
1738
+ }
1739
+ export type DataSourceStatus = "AVAILABLE"|"DELETING"|"DELETE_UNSUCCESSFUL"|string;
1740
+ export type DataSourceSummaries = DataSourceSummary[];
1741
+ export interface DataSourceSummary {
1742
+ /**
1743
+ * The unique identifier of the data source.
1744
+ */
1745
+ dataSourceId: Id;
1746
+ /**
1747
+ * The description of the data source.
1748
+ */
1749
+ description?: Description;
1750
+ /**
1751
+ * The unique identifier of the knowledge base to which the data source belongs.
1752
+ */
1753
+ knowledgeBaseId: Id;
1754
+ /**
1755
+ * The name of the data source.
1756
+ */
1757
+ name: Name;
1758
+ /**
1759
+ * The status of the data source.
1760
+ */
1761
+ status: DataSourceStatus;
1762
+ /**
1763
+ * The time at which the data source was last updated.
1764
+ */
1765
+ updatedAt: DateTimestamp;
1766
+ }
1767
+ export type DataSourceType = "S3"|"WEB"|"CONFLUENCE"|"SALESFORCE"|"SHAREPOINT"|string;
1768
+ export type DateTimestamp = Date;
1769
+ export interface DeleteAgentActionGroupRequest {
1770
+ /**
1771
+ * The unique identifier of the action group to delete.
1772
+ */
1773
+ actionGroupId: Id;
1774
+ /**
1775
+ * The unique identifier of the agent that the action group belongs to.
1776
+ */
1777
+ agentId: Id;
1778
+ /**
1779
+ * The version of the agent that the action group belongs to.
1780
+ */
1781
+ agentVersion: DraftVersion;
1782
+ /**
1783
+ * By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
1784
+ */
1785
+ skipResourceInUseCheck?: Boolean;
1786
+ }
1787
+ export interface DeleteAgentActionGroupResponse {
1788
+ }
1789
+ export interface DeleteAgentAliasRequest {
1790
+ /**
1791
+ * The unique identifier of the alias to delete.
1792
+ */
1793
+ agentAliasId: AgentAliasId;
1794
+ /**
1795
+ * The unique identifier of the agent that the alias belongs to.
1796
+ */
1797
+ agentId: Id;
1798
+ }
1799
+ export interface DeleteAgentAliasResponse {
1800
+ /**
1801
+ * The unique identifier of the alias that was deleted.
1802
+ */
1803
+ agentAliasId: AgentAliasId;
1804
+ /**
1805
+ * The status of the alias.
1806
+ */
1807
+ agentAliasStatus: AgentAliasStatus;
1808
+ /**
1809
+ * The unique identifier of the agent that the alias belongs to.
1166
1810
  */
1167
1811
  agentId: Id;
1168
1812
  }
1169
1813
  export interface DeleteAgentRequest {
1170
1814
  /**
1171
- * The unique identifier of the agent to delete.
1815
+ * The unique identifier of the agent to delete.
1816
+ */
1817
+ agentId: Id;
1818
+ /**
1819
+ * By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
1820
+ */
1821
+ skipResourceInUseCheck?: Boolean;
1822
+ }
1823
+ export interface DeleteAgentResponse {
1824
+ /**
1825
+ * The unique identifier of the agent that was deleted.
1826
+ */
1827
+ agentId: Id;
1828
+ /**
1829
+ * The status of the agent.
1830
+ */
1831
+ agentStatus: AgentStatus;
1832
+ }
1833
+ export interface DeleteAgentVersionRequest {
1834
+ /**
1835
+ * The unique identifier of the agent that the version belongs to.
1836
+ */
1837
+ agentId: Id;
1838
+ /**
1839
+ * The version of the agent to delete.
1840
+ */
1841
+ agentVersion: NumericalVersion;
1842
+ /**
1843
+ * By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
1844
+ */
1845
+ skipResourceInUseCheck?: Boolean;
1846
+ }
1847
+ export interface DeleteAgentVersionResponse {
1848
+ /**
1849
+ * The unique identifier of the agent that the version belongs to.
1850
+ */
1851
+ agentId: Id;
1852
+ /**
1853
+ * The status of the agent version.
1854
+ */
1855
+ agentStatus: AgentStatus;
1856
+ /**
1857
+ * The version that was deleted.
1858
+ */
1859
+ agentVersion: NumericalVersion;
1860
+ }
1861
+ export interface DeleteDataSourceRequest {
1862
+ /**
1863
+ * The unique identifier of the data source to delete.
1864
+ */
1865
+ dataSourceId: Id;
1866
+ /**
1867
+ * The unique identifier of the knowledge base from which to delete the data source.
1868
+ */
1869
+ knowledgeBaseId: Id;
1870
+ }
1871
+ export interface DeleteDataSourceResponse {
1872
+ /**
1873
+ * The unique identifier of the data source that was deleted.
1874
+ */
1875
+ dataSourceId: Id;
1876
+ /**
1877
+ * The unique identifier of the knowledge base to which the data source that was deleted belonged.
1878
+ */
1879
+ knowledgeBaseId: Id;
1880
+ /**
1881
+ * The status of the data source.
1882
+ */
1883
+ status: DataSourceStatus;
1884
+ }
1885
+ export interface DeleteFlowAliasRequest {
1886
+ /**
1887
+ * The unique identifier of the alias to be deleted.
1888
+ */
1889
+ aliasIdentifier: FlowAliasIdentifier;
1890
+ /**
1891
+ * The unique identifier of the flow that the alias belongs to.
1892
+ */
1893
+ flowIdentifier: FlowIdentifier;
1894
+ }
1895
+ export interface DeleteFlowAliasResponse {
1896
+ /**
1897
+ * The unique identifier of the flow that the alias belongs to.
1898
+ */
1899
+ flowId: FlowId;
1900
+ /**
1901
+ * The unique identifier of the flow.
1902
+ */
1903
+ id: FlowAliasId;
1904
+ }
1905
+ export interface DeleteFlowRequest {
1906
+ /**
1907
+ * The unique identifier of the flow.
1908
+ */
1909
+ flowIdentifier: FlowIdentifier;
1910
+ /**
1911
+ * By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
1912
+ */
1913
+ skipResourceInUseCheck?: Boolean;
1914
+ }
1915
+ export interface DeleteFlowResponse {
1916
+ /**
1917
+ * The unique identifier of the flow.
1918
+ */
1919
+ id: FlowId;
1920
+ }
1921
+ export interface DeleteFlowVersionRequest {
1922
+ /**
1923
+ * The unique identifier of the flow whose version that you want to delete
1924
+ */
1925
+ flowIdentifier: FlowIdentifier;
1926
+ /**
1927
+ * The version of the flow that you want to delete.
1928
+ */
1929
+ flowVersion: NumericalVersion;
1930
+ /**
1931
+ * By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
1932
+ */
1933
+ skipResourceInUseCheck?: Boolean;
1934
+ }
1935
+ export interface DeleteFlowVersionResponse {
1936
+ /**
1937
+ * The unique identifier of the flow.
1938
+ */
1939
+ id: Id;
1940
+ /**
1941
+ * The version of the flow being deleted.
1942
+ */
1943
+ version: NumericalVersion;
1944
+ }
1945
+ export interface DeleteKnowledgeBaseRequest {
1946
+ /**
1947
+ * The unique identifier of the knowledge base to delete.
1948
+ */
1949
+ knowledgeBaseId: Id;
1950
+ }
1951
+ export interface DeleteKnowledgeBaseResponse {
1952
+ /**
1953
+ * The unique identifier of the knowledge base that was deleted.
1954
+ */
1955
+ knowledgeBaseId: Id;
1956
+ /**
1957
+ * The status of the knowledge base and whether it has been successfully deleted.
1958
+ */
1959
+ status: KnowledgeBaseStatus;
1960
+ }
1961
+ export interface DeletePromptRequest {
1962
+ /**
1963
+ * The unique identifier of the prompt.
1964
+ */
1965
+ promptIdentifier: PromptIdentifier;
1966
+ /**
1967
+ * The version of the prompt to delete.
1968
+ */
1969
+ promptVersion?: NumericalVersion;
1970
+ }
1971
+ export interface DeletePromptResponse {
1972
+ /**
1973
+ * The unique identifier of the prompt that was deleted.
1974
+ */
1975
+ id: PromptId;
1976
+ /**
1977
+ * The version of the prompt that was deleted.
1978
+ */
1979
+ version?: NumericalVersion;
1980
+ }
1981
+ export type Description = string;
1982
+ export type Dimensions = number;
1983
+ export interface DisassociateAgentKnowledgeBaseRequest {
1984
+ /**
1985
+ * The unique identifier of the agent from which to disassociate the knowledge base.
1986
+ */
1987
+ agentId: Id;
1988
+ /**
1989
+ * The version of the agent from which to disassociate the knowledge base.
1990
+ */
1991
+ agentVersion: DraftVersion;
1992
+ /**
1993
+ * The unique identifier of the knowledge base to disassociate.
1994
+ */
1995
+ knowledgeBaseId: Id;
1996
+ }
1997
+ export interface DisassociateAgentKnowledgeBaseResponse {
1998
+ }
1999
+ export type DraftVersion = string;
2000
+ export interface EmbeddingModelConfiguration {
2001
+ /**
2002
+ * The vector configuration details on the Bedrock embeddings model.
2003
+ */
2004
+ bedrockEmbeddingModelConfiguration?: BedrockEmbeddingModelConfiguration;
2005
+ }
2006
+ export type EnabledMemoryTypes = MemoryType[];
2007
+ export type FailureReason = string;
2008
+ export type FailureReasons = FailureReason[];
2009
+ export type FieldName = string;
2010
+ export type FilterList = FilterPattern[];
2011
+ export type FilterPattern = string;
2012
+ export type FilteredObjectType = string;
2013
+ export interface FixedSizeChunkingConfiguration {
2014
+ /**
2015
+ * The maximum number of tokens to include in a chunk.
2016
+ */
2017
+ maxTokens: FixedSizeChunkingConfigurationMaxTokensInteger;
2018
+ /**
2019
+ * The percentage of overlap between adjacent chunks of a data source.
2020
+ */
2021
+ overlapPercentage: FixedSizeChunkingConfigurationOverlapPercentageInteger;
2022
+ }
2023
+ export type FixedSizeChunkingConfigurationMaxTokensInteger = number;
2024
+ export type FixedSizeChunkingConfigurationOverlapPercentageInteger = number;
2025
+ export type FlowAliasArn = string;
2026
+ export type FlowAliasId = string;
2027
+ export type FlowAliasIdentifier = string;
2028
+ export type FlowAliasRoutingConfiguration = FlowAliasRoutingConfigurationListItem[];
2029
+ export interface FlowAliasRoutingConfigurationListItem {
2030
+ /**
2031
+ * The version that the alias maps to.
2032
+ */
2033
+ flowVersion?: Version;
2034
+ }
2035
+ export type FlowAliasSummaries = FlowAliasSummary[];
2036
+ export interface FlowAliasSummary {
2037
+ /**
2038
+ * The Amazon Resource Name (ARN) of the flow alias.
2039
+ */
2040
+ arn: FlowAliasArn;
2041
+ /**
2042
+ * The time at which the alias was created.
2043
+ */
2044
+ createdAt: DateTimestamp;
2045
+ /**
2046
+ * A description of the alias.
2047
+ */
2048
+ description?: Description;
2049
+ /**
2050
+ * The unique identifier of the flow.
2051
+ */
2052
+ flowId: FlowId;
2053
+ /**
2054
+ * The unique identifier of the alias of the flow.
2055
+ */
2056
+ id: FlowAliasId;
2057
+ /**
2058
+ * The name of the alias.
2059
+ */
2060
+ name: Name;
2061
+ /**
2062
+ * A list of configurations about the versions that the alias maps to. Currently, you can only specify one.
2063
+ */
2064
+ routingConfiguration: FlowAliasRoutingConfiguration;
2065
+ /**
2066
+ * The time at which the alias was last updated.
2067
+ */
2068
+ updatedAt: DateTimestamp;
2069
+ }
2070
+ export type FlowArn = string;
2071
+ export interface FlowCondition {
2072
+ /**
2073
+ * Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in Node types in prompt flows.
2074
+ */
2075
+ expression?: FlowConditionExpression;
2076
+ /**
2077
+ * A name for the condition that you can reference.
2078
+ */
2079
+ name: FlowConditionName;
2080
+ }
2081
+ export type FlowConditionExpression = string;
2082
+ export type FlowConditionName = string;
2083
+ export interface FlowConditionalConnectionConfiguration {
2084
+ /**
2085
+ * The condition that triggers this connection. For more information about how to write conditions, see the Condition node type in the Node types topic in the Amazon Bedrock User Guide.
2086
+ */
2087
+ condition: FlowConditionName;
2088
+ }
2089
+ export type FlowConditions = FlowCondition[];
2090
+ export interface FlowConnection {
2091
+ /**
2092
+ * The configuration of the connection.
1172
2093
  */
1173
- agentId: Id;
2094
+ configuration?: FlowConnectionConfiguration;
1174
2095
  /**
1175
- * By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
2096
+ * A name for the connection that you can reference.
1176
2097
  */
1177
- skipResourceInUseCheck?: Boolean;
2098
+ name: FlowConnectionName;
2099
+ /**
2100
+ * The node that the connection starts at.
2101
+ */
2102
+ source: FlowNodeName;
2103
+ /**
2104
+ * The node that the connection ends at.
2105
+ */
2106
+ target: FlowNodeName;
2107
+ /**
2108
+ * Whether the source node that the connection begins from is a condition node (Conditional) or not (Data).
2109
+ */
2110
+ type: FlowConnectionType;
1178
2111
  }
1179
- export interface DeleteAgentResponse {
2112
+ export interface FlowConnectionConfiguration {
1180
2113
  /**
1181
- * The unique identifier of the agent that was deleted.
2114
+ * The configuration of a connection originating from a Condition node.
1182
2115
  */
1183
- agentId: Id;
2116
+ conditional?: FlowConditionalConnectionConfiguration;
1184
2117
  /**
1185
- * The status of the agent.
2118
+ * The configuration of a connection originating from a node that isn't a Condition node.
1186
2119
  */
1187
- agentStatus: AgentStatus;
2120
+ data?: FlowDataConnectionConfiguration;
1188
2121
  }
1189
- export interface DeleteAgentVersionRequest {
2122
+ export type FlowConnectionName = string;
2123
+ export type FlowConnectionType = "Data"|"Conditional"|string;
2124
+ export type FlowConnections = FlowConnection[];
2125
+ export interface FlowDataConnectionConfiguration {
1190
2126
  /**
1191
- * The unique identifier of the agent that the version belongs to.
2127
+ * The name of the output in the source node that the connection begins from.
1192
2128
  */
1193
- agentId: Id;
2129
+ sourceOutput: FlowNodeOutputName;
1194
2130
  /**
1195
- * The version of the agent to delete.
2131
+ * The name of the input in the target node that the connection ends at.
1196
2132
  */
1197
- agentVersion: NumericalVersion;
2133
+ targetInput: FlowNodeInputName;
2134
+ }
2135
+ export interface FlowDefinition {
1198
2136
  /**
1199
- * By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
2137
+ * An array of connection definitions in the flow.
1200
2138
  */
1201
- skipResourceInUseCheck?: Boolean;
2139
+ connections?: FlowConnections;
2140
+ /**
2141
+ * An array of node definitions in the flow.
2142
+ */
2143
+ nodes?: FlowNodes;
1202
2144
  }
1203
- export interface DeleteAgentVersionResponse {
2145
+ export type FlowDescription = string;
2146
+ export type FlowExecutionRoleArn = string;
2147
+ export type FlowId = string;
2148
+ export type FlowIdentifier = string;
2149
+ export type FlowName = string;
2150
+ export interface FlowNode {
1204
2151
  /**
1205
- * The unique identifier of the agent that the version belongs to.
2152
+ * Contains configurations for the node.
1206
2153
  */
1207
- agentId: Id;
2154
+ configuration?: FlowNodeConfiguration;
1208
2155
  /**
1209
- * The status of the agent version.
2156
+ * An array of objects, each of which contains information about an input into the node.
1210
2157
  */
1211
- agentStatus: AgentStatus;
2158
+ inputs?: FlowNodeInputs;
1212
2159
  /**
1213
- * The version that was deleted.
2160
+ * A name for the node.
1214
2161
  */
1215
- agentVersion: NumericalVersion;
1216
- }
1217
- export interface DeleteDataSourceRequest {
2162
+ name: FlowNodeName;
1218
2163
  /**
1219
- * The unique identifier of the data source to delete.
2164
+ * A list of objects, each of which contains information about an output from the node.
1220
2165
  */
1221
- dataSourceId: Id;
2166
+ outputs?: FlowNodeOutputs;
1222
2167
  /**
1223
- * The unique identifier of the knowledge base from which to delete the data source.
2168
+ * The type of node. This value must match the name of the key that you provide in the configuration you provide in the FlowNodeConfiguration field.
1224
2169
  */
1225
- knowledgeBaseId: Id;
2170
+ type: FlowNodeType;
1226
2171
  }
1227
- export interface DeleteDataSourceResponse {
2172
+ export interface FlowNodeConfiguration {
1228
2173
  /**
1229
- * The unique identifier of the data source that was deleted.
2174
+ * Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response.
1230
2175
  */
1231
- dataSourceId: Id;
2176
+ agent?: AgentFlowNodeConfiguration;
1232
2177
  /**
1233
- * The unique identifier of the knowledge base to which the data source that was deleted belonged.
2178
+ * Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs.
1234
2179
  */
1235
- knowledgeBaseId: Id;
2180
+ collector?: CollectorFlowNodeConfiguration;
1236
2181
  /**
1237
- * The status of the data source.
2182
+ * Contains configurations for a Condition node in your flow. Defines conditions that lead to different branches of the flow.
1238
2183
  */
1239
- status: DataSourceStatus;
2184
+ condition?: ConditionFlowNodeConfiguration;
2185
+ /**
2186
+ * Contains configurations for an input flow node in your flow. The first node in the flow. inputs can't be specified for this node.
2187
+ */
2188
+ input?: InputFlowNodeConfiguration;
2189
+ /**
2190
+ * Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.
2191
+ */
2192
+ iterator?: IteratorFlowNodeConfiguration;
2193
+ /**
2194
+ * Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response.
2195
+ */
2196
+ knowledgeBase?: KnowledgeBaseFlowNodeConfiguration;
2197
+ /**
2198
+ * Contains configurations for a Lambda function node in your flow. Invokes an Lambda function.
2199
+ */
2200
+ lambdaFunction?: LambdaFunctionFlowNodeConfiguration;
2201
+ /**
2202
+ * Contains configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output.
2203
+ */
2204
+ lex?: LexFlowNodeConfiguration;
2205
+ /**
2206
+ * Contains configurations for an output flow node in your flow. The last node in the flow. outputs can't be specified for this node.
2207
+ */
2208
+ output?: OutputFlowNodeConfiguration;
2209
+ /**
2210
+ * Contains configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node.
2211
+ */
2212
+ prompt?: PromptFlowNodeConfiguration;
2213
+ /**
2214
+ * Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output.
2215
+ */
2216
+ retrieval?: RetrievalFlowNodeConfiguration;
2217
+ /**
2218
+ * Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location.
2219
+ */
2220
+ storage?: StorageFlowNodeConfiguration;
1240
2221
  }
1241
- export interface DeleteKnowledgeBaseRequest {
2222
+ export type FlowNodeIODataType = "String"|"Number"|"Boolean"|"Object"|"Array"|string;
2223
+ export interface FlowNodeInput {
1242
2224
  /**
1243
- * The unique identifier of the knowledge base to delete.
2225
+ * An expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
1244
2226
  */
1245
- knowledgeBaseId: Id;
2227
+ expression: FlowNodeInputExpression;
2228
+ /**
2229
+ * A name for the input that you can reference.
2230
+ */
2231
+ name: FlowNodeInputName;
2232
+ /**
2233
+ * The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
2234
+ */
2235
+ type: FlowNodeIODataType;
1246
2236
  }
1247
- export interface DeleteKnowledgeBaseResponse {
2237
+ export type FlowNodeInputExpression = string;
2238
+ export type FlowNodeInputName = string;
2239
+ export type FlowNodeInputs = FlowNodeInput[];
2240
+ export type FlowNodeName = string;
2241
+ export interface FlowNodeOutput {
1248
2242
  /**
1249
- * The unique identifier of the knowledge base that was deleted.
2243
+ * A name for the output that you can reference.
1250
2244
  */
1251
- knowledgeBaseId: Id;
2245
+ name: FlowNodeOutputName;
1252
2246
  /**
1253
- * The status of the knowledge base and whether it has been successfully deleted.
2247
+ * The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown.
1254
2248
  */
1255
- status: KnowledgeBaseStatus;
2249
+ type: FlowNodeIODataType;
1256
2250
  }
1257
- export type Description = string;
1258
- export interface DisassociateAgentKnowledgeBaseRequest {
2251
+ export type FlowNodeOutputName = string;
2252
+ export type FlowNodeOutputs = FlowNodeOutput[];
2253
+ export type FlowNodeType = "Input"|"Output"|"KnowledgeBase"|"Condition"|"Lex"|"Prompt"|"LambdaFunction"|"Storage"|"Agent"|"Retrieval"|"Iterator"|"Collector"|string;
2254
+ export type FlowNodes = FlowNode[];
2255
+ export type FlowStatus = "Failed"|"Prepared"|"Preparing"|"NotPrepared"|string;
2256
+ export type FlowSummaries = FlowSummary[];
2257
+ export interface FlowSummary {
1259
2258
  /**
1260
- * The unique identifier of the agent from which to disassociate the knowledge base.
2259
+ * The Amazon Resource Name (ARN) of the flow.
1261
2260
  */
1262
- agentId: Id;
2261
+ arn: FlowArn;
1263
2262
  /**
1264
- * The version of the agent from which to disassociate the knowledge base.
2263
+ * The time at which the flow was created.
1265
2264
  */
1266
- agentVersion: DraftVersion;
2265
+ createdAt: DateTimestamp;
1267
2266
  /**
1268
- * The unique identifier of the knowledge base to disassociate.
2267
+ * A description of the flow.
1269
2268
  */
1270
- knowledgeBaseId: Id;
2269
+ description?: FlowDescription;
2270
+ /**
2271
+ * The unique identifier of the flow.
2272
+ */
2273
+ id: FlowId;
2274
+ /**
2275
+ * The name of the flow.
2276
+ */
2277
+ name: FlowName;
2278
+ /**
2279
+ * The status of the flow. The following statuses are possible: NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT version won't contain the latest changes for testing. Send a PrepareFlow request to package the latest changes into the DRAFT version. Preparing – The flow is being prepared so that the DRAFT version contains the latest changes for testing. Prepared – The flow is prepared and the DRAFT version contains the latest changes for testing. Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and check the error message in the validations field.
2280
+ */
2281
+ status: FlowStatus;
2282
+ /**
2283
+ * The time at which the flow was last updated.
2284
+ */
2285
+ updatedAt: DateTimestamp;
2286
+ /**
2287
+ * The latest version of the flow.
2288
+ */
2289
+ version: DraftVersion;
1271
2290
  }
1272
- export interface DisassociateAgentKnowledgeBaseResponse {
2291
+ export interface FlowValidation {
2292
+ /**
2293
+ * A message describing the validation error.
2294
+ */
2295
+ message: NonBlankString;
2296
+ /**
2297
+ * The severity of the issue described in the message.
2298
+ */
2299
+ severity: FlowValidationSeverity;
1273
2300
  }
1274
- export type DraftVersion = string;
1275
- export type FailureReason = string;
1276
- export type FailureReasons = FailureReason[];
1277
- export type FieldName = string;
1278
- export interface FixedSizeChunkingConfiguration {
2301
+ export type FlowValidationSeverity = "Warning"|"Error"|string;
2302
+ export type FlowValidations = FlowValidation[];
2303
+ export type FlowVersionSummaries = FlowVersionSummary[];
2304
+ export interface FlowVersionSummary {
1279
2305
  /**
1280
- * The maximum number of tokens to include in a chunk.
2306
+ * The Amazon Resource Name (ARN) of the flow that the version belongs to.
1281
2307
  */
1282
- maxTokens: FixedSizeChunkingConfigurationMaxTokensInteger;
2308
+ arn: FlowArn;
1283
2309
  /**
1284
- * The percentage of overlap between adjacent chunks of a data source.
2310
+ * The time at the flow version was created.
1285
2311
  */
1286
- overlapPercentage: FixedSizeChunkingConfigurationOverlapPercentageInteger;
2312
+ createdAt: DateTimestamp;
2313
+ /**
2314
+ * The unique identifier of the flow.
2315
+ */
2316
+ id: FlowId;
2317
+ /**
2318
+ * The status of the flow.
2319
+ */
2320
+ status: FlowStatus;
2321
+ /**
2322
+ * The version of the flow.
2323
+ */
2324
+ version: NumericalVersion;
1287
2325
  }
1288
- export type FixedSizeChunkingConfigurationMaxTokensInteger = number;
1289
- export type FixedSizeChunkingConfigurationOverlapPercentageInteger = number;
1290
2326
  export interface Function {
1291
2327
  /**
1292
2328
  * A description of the function and its purpose.
@@ -1409,38 +2445,274 @@ declare namespace BedrockAgent {
1409
2445
  */
1410
2446
  dataSource: DataSource;
1411
2447
  }
2448
+ export interface GetFlowAliasRequest {
2449
+ /**
2450
+ * The unique identifier of the alias for which to retrieve information.
2451
+ */
2452
+ aliasIdentifier: FlowAliasIdentifier;
2453
+ /**
2454
+ * The unique identifier of the flow that the alias belongs to.
2455
+ */
2456
+ flowIdentifier: FlowIdentifier;
2457
+ }
2458
+ export interface GetFlowAliasResponse {
2459
+ /**
2460
+ * The Amazon Resource Name (ARN) of the flow.
2461
+ */
2462
+ arn: FlowAliasArn;
2463
+ /**
2464
+ * The time at which the flow was created.
2465
+ */
2466
+ createdAt: DateTimestamp;
2467
+ /**
2468
+ * The description of the flow.
2469
+ */
2470
+ description?: Description;
2471
+ /**
2472
+ * The unique identifier of the flow that the alias belongs to.
2473
+ */
2474
+ flowId: FlowId;
2475
+ /**
2476
+ * The unique identifier of the alias of the flow.
2477
+ */
2478
+ id: FlowAliasId;
2479
+ /**
2480
+ * The name of the flow alias.
2481
+ */
2482
+ name: Name;
2483
+ /**
2484
+ * Contains information about the version that the alias is mapped to.
2485
+ */
2486
+ routingConfiguration: FlowAliasRoutingConfiguration;
2487
+ /**
2488
+ * The time at which the flow alias was last updated.
2489
+ */
2490
+ updatedAt: DateTimestamp;
2491
+ }
2492
+ export interface GetFlowRequest {
2493
+ /**
2494
+ * The unique identifier of the flow.
2495
+ */
2496
+ flowIdentifier: FlowIdentifier;
2497
+ }
2498
+ export interface GetFlowResponse {
2499
+ /**
2500
+ * The Amazon Resource Name (ARN) of the flow.
2501
+ */
2502
+ arn: FlowArn;
2503
+ /**
2504
+ * The time at which the flow was created.
2505
+ */
2506
+ createdAt: DateTimestamp;
2507
+ /**
2508
+ * The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted with.
2509
+ */
2510
+ customerEncryptionKeyArn?: KmsKeyArn;
2511
+ /**
2512
+ * The definition of the nodes and connections between the nodes in the flow.
2513
+ */
2514
+ definition?: FlowDefinition;
2515
+ /**
2516
+ * The description of the flow.
2517
+ */
2518
+ description?: FlowDescription;
2519
+ /**
2520
+ * The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service row for flows in the Amazon Bedrock User Guide.
2521
+ */
2522
+ executionRoleArn: FlowExecutionRoleArn;
2523
+ /**
2524
+ * The unique identifier of the flow.
2525
+ */
2526
+ id: FlowId;
2527
+ /**
2528
+ * The name of the flow.
2529
+ */
2530
+ name: FlowName;
2531
+ /**
2532
+ * The status of the flow. The following statuses are possible: NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT version won't contain the latest changes for testing. Send a PrepareFlow request to package the latest changes into the DRAFT version. Preparing – The flow is being prepared so that the DRAFT version contains the latest changes for testing. Prepared – The flow is prepared and the DRAFT version contains the latest changes for testing. Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and check the error message in the validations field.
2533
+ */
2534
+ status: FlowStatus;
2535
+ /**
2536
+ * The time at which the flow was last updated.
2537
+ */
2538
+ updatedAt: DateTimestamp;
2539
+ /**
2540
+ * A list of validation error messages related to the last failed operation on the flow.
2541
+ */
2542
+ validations?: FlowValidations;
2543
+ /**
2544
+ * The version of the flow for which information was retrieved.
2545
+ */
2546
+ version: DraftVersion;
2547
+ }
2548
+ export interface GetFlowVersionRequest {
2549
+ /**
2550
+ * The unique identifier of the flow for which to get information.
2551
+ */
2552
+ flowIdentifier: FlowIdentifier;
2553
+ /**
2554
+ * The version of the flow for which to get information.
2555
+ */
2556
+ flowVersion: NumericalVersion;
2557
+ }
2558
+ export interface GetFlowVersionResponse {
2559
+ /**
2560
+ * The Amazon Resource Name (ARN) of the flow.
2561
+ */
2562
+ arn: FlowArn;
2563
+ /**
2564
+ * The time at which the flow was created.
2565
+ */
2566
+ createdAt: DateTimestamp;
2567
+ /**
2568
+ * The Amazon Resource Name (ARN) of the KMS key that the version of the flow is encrypted with.
2569
+ */
2570
+ customerEncryptionKeyArn?: KmsKeyArn;
2571
+ /**
2572
+ * The definition of the nodes and connections between nodes in the flow.
2573
+ */
2574
+ definition?: FlowDefinition;
2575
+ /**
2576
+ * The description of the flow.
2577
+ */
2578
+ description?: FlowDescription;
2579
+ /**
2580
+ * The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
2581
+ */
2582
+ executionRoleArn: FlowExecutionRoleArn;
2583
+ /**
2584
+ * The unique identifier of the flow.
2585
+ */
2586
+ id: FlowId;
2587
+ /**
2588
+ * The name of the flow version.
2589
+ */
2590
+ name: FlowName;
2591
+ /**
2592
+ * The status of the flow.
2593
+ */
2594
+ status: FlowStatus;
2595
+ /**
2596
+ * The version of the flow for which information was retrieved.
2597
+ */
2598
+ version: NumericalVersion;
2599
+ }
1412
2600
  export interface GetIngestionJobRequest {
1413
2601
  /**
1414
2602
  * The unique identifier of the data source in the ingestion job.
1415
2603
  */
1416
- dataSourceId: Id;
2604
+ dataSourceId: Id;
2605
+ /**
2606
+ * The unique identifier of the ingestion job.
2607
+ */
2608
+ ingestionJobId: Id;
2609
+ /**
2610
+ * The unique identifier of the knowledge base for which the ingestion job applies.
2611
+ */
2612
+ knowledgeBaseId: Id;
2613
+ }
2614
+ export interface GetIngestionJobResponse {
2615
+ /**
2616
+ * Contains details about the ingestion job.
2617
+ */
2618
+ ingestionJob: IngestionJob;
2619
+ }
2620
+ export interface GetKnowledgeBaseRequest {
2621
+ /**
2622
+ * The unique identifier of the knowledge base for which to get information.
2623
+ */
2624
+ knowledgeBaseId: Id;
2625
+ }
2626
+ export interface GetKnowledgeBaseResponse {
2627
+ /**
2628
+ * Contains details about the knowledge base.
2629
+ */
2630
+ knowledgeBase: KnowledgeBase;
2631
+ }
2632
+ export interface GetPromptRequest {
2633
+ /**
2634
+ * The unique identifier of the prompt.
2635
+ */
2636
+ promptIdentifier: PromptIdentifier;
2637
+ /**
2638
+ * The version of the prompt about which you want to retrieve information.
2639
+ */
2640
+ promptVersion?: Version;
2641
+ }
2642
+ export interface GetPromptResponse {
2643
+ /**
2644
+ * The Amazon Resource Name (ARN) of the prompt.
2645
+ */
2646
+ arn: PromptArn;
2647
+ /**
2648
+ * The time at which the prompt was created.
2649
+ */
2650
+ createdAt: DateTimestamp;
2651
+ /**
2652
+ * The Amazon Resource Name (ARN) of the KMS key that the prompt is encrypted with.
2653
+ */
2654
+ customerEncryptionKeyArn?: KmsKeyArn;
2655
+ /**
2656
+ * The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
2657
+ */
2658
+ defaultVariant?: PromptVariantName;
2659
+ /**
2660
+ * The descriptino of the prompt.
2661
+ */
2662
+ description?: PromptDescription;
2663
+ /**
2664
+ * The unique identifier of the prompt.
2665
+ */
2666
+ id: PromptId;
2667
+ /**
2668
+ * The name of the prompt.
2669
+ */
2670
+ name: PromptName;
2671
+ /**
2672
+ * The time at which the prompt was last updated.
2673
+ */
2674
+ updatedAt: DateTimestamp;
1417
2675
  /**
1418
- * The unique identifier of the ingestion job.
2676
+ * A list of objects, each containing details about a variant of the prompt.
1419
2677
  */
1420
- ingestionJobId: Id;
2678
+ variants?: PromptVariantList;
1421
2679
  /**
1422
- * The unique identifier of the knowledge base for which the ingestion job applies.
2680
+ * The version of the prompt.
1423
2681
  */
1424
- knowledgeBaseId: Id;
2682
+ version: Version;
1425
2683
  }
1426
- export interface GetIngestionJobResponse {
2684
+ export interface GuardrailConfiguration {
1427
2685
  /**
1428
- * Contains details about the ingestion job.
2686
+ * The unique identifier of the guardrail.
1429
2687
  */
1430
- ingestionJob: IngestionJob;
2688
+ guardrailIdentifier?: GuardrailIdentifier;
2689
+ /**
2690
+ * The version of the guardrail.
2691
+ */
2692
+ guardrailVersion?: GuardrailVersion;
1431
2693
  }
1432
- export interface GetKnowledgeBaseRequest {
2694
+ export type GuardrailIdentifier = string;
2695
+ export type GuardrailVersion = string;
2696
+ export interface HierarchicalChunkingConfiguration {
1433
2697
  /**
1434
- * The unique identifier of the knowledge base for which to get information.
2698
+ * Token settings for each layer.
1435
2699
  */
1436
- knowledgeBaseId: Id;
2700
+ levelConfigurations: HierarchicalChunkingLevelConfigurations;
2701
+ /**
2702
+ * The number of tokens to repeat across chunks in the same layer.
2703
+ */
2704
+ overlapTokens: HierarchicalChunkingConfigurationOverlapTokensInteger;
1437
2705
  }
1438
- export interface GetKnowledgeBaseResponse {
2706
+ export type HierarchicalChunkingConfigurationOverlapTokensInteger = number;
2707
+ export interface HierarchicalChunkingLevelConfiguration {
1439
2708
  /**
1440
- * Contains details about the knowledge base.
2709
+ * The maximum number of tokens that a chunk can contain in this layer.
1441
2710
  */
1442
- knowledgeBase: KnowledgeBase;
2711
+ maxTokens: HierarchicalChunkingLevelConfigurationMaxTokensInteger;
1443
2712
  }
2713
+ export type HierarchicalChunkingLevelConfigurationMaxTokensInteger = number;
2714
+ export type HierarchicalChunkingLevelConfigurations = HierarchicalChunkingLevelConfiguration[];
2715
+ export type HttpsUrl = string;
1444
2716
  export type Id = string;
1445
2717
  export interface InferenceConfiguration {
1446
2718
  /**
@@ -1598,7 +2870,17 @@ declare namespace BedrockAgent {
1598
2870
  */
1599
2871
  updatedAt: DateTimestamp;
1600
2872
  }
2873
+ export interface InputFlowNodeConfiguration {
2874
+ }
1601
2875
  export type Instruction = string;
2876
+ export interface IntermediateStorage {
2877
+ /**
2878
+ * An S3 bucket path.
2879
+ */
2880
+ s3Location: S3Location;
2881
+ }
2882
+ export interface IteratorFlowNodeConfiguration {
2883
+ }
1602
2884
  export type KmsKeyArn = string;
1603
2885
  export interface KnowledgeBase {
1604
2886
  /**
@@ -1657,10 +2939,21 @@ declare namespace BedrockAgent {
1657
2939
  */
1658
2940
  vectorKnowledgeBaseConfiguration?: VectorKnowledgeBaseConfiguration;
1659
2941
  }
2942
+ export interface KnowledgeBaseFlowNodeConfiguration {
2943
+ /**
2944
+ * The unique identifier of the knowledge base to query.
2945
+ */
2946
+ knowledgeBaseId: KnowledgeBaseId;
2947
+ /**
2948
+ * The unique identifier of the model to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
2949
+ */
2950
+ modelId?: ModelIdentifier;
2951
+ }
2952
+ export type KnowledgeBaseId = string;
1660
2953
  export type KnowledgeBaseRoleArn = string;
1661
2954
  export type KnowledgeBaseState = "ENABLED"|"DISABLED"|string;
1662
2955
  export type KnowledgeBaseStatus = "CREATING"|"ACTIVE"|"DELETING"|"UPDATING"|"FAILED"|"DELETE_UNSUCCESSFUL"|string;
1663
- export type KnowledgeBaseStorageType = "OPENSEARCH_SERVERLESS"|"PINECONE"|"REDIS_ENTERPRISE_CLOUD"|"RDS"|string;
2956
+ export type KnowledgeBaseStorageType = "OPENSEARCH_SERVERLESS"|"PINECONE"|"REDIS_ENTERPRISE_CLOUD"|"RDS"|"MONGO_DB_ATLAS"|string;
1664
2957
  export type KnowledgeBaseSummaries = KnowledgeBaseSummary[];
1665
2958
  export interface KnowledgeBaseSummary {
1666
2959
  /**
@@ -1686,6 +2979,24 @@ declare namespace BedrockAgent {
1686
2979
  }
1687
2980
  export type KnowledgeBaseType = "VECTOR"|string;
1688
2981
  export type LambdaArn = string;
2982
+ export interface LambdaFunctionFlowNodeConfiguration {
2983
+ /**
2984
+ * The Amazon Resource Name (ARN) of the Lambda function to invoke.
2985
+ */
2986
+ lambdaArn: LambdaArn;
2987
+ }
2988
+ export type LexBotAliasArn = string;
2989
+ export type LexBotLocaleId = string;
2990
+ export interface LexFlowNodeConfiguration {
2991
+ /**
2992
+ * The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
2993
+ */
2994
+ botAliasArn: LexBotAliasArn;
2995
+ /**
2996
+ * The Region to invoke the Amazon Lex bot in.
2997
+ */
2998
+ localeId: LexBotLocaleId;
2999
+ }
1689
3000
  export interface ListAgentActionGroupsRequest {
1690
3001
  /**
1691
3002
  * The unique identifier of the agent.
@@ -1834,6 +3145,74 @@ declare namespace BedrockAgent {
1834
3145
  */
1835
3146
  nextToken?: NextToken;
1836
3147
  }
3148
+ export interface ListFlowAliasesRequest {
3149
+ /**
3150
+ * The unique identifier of the flow for which aliases are being returned.
3151
+ */
3152
+ flowIdentifier: FlowIdentifier;
3153
+ /**
3154
+ * The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
3155
+ */
3156
+ maxResults?: MaxResults;
3157
+ /**
3158
+ * If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
3159
+ */
3160
+ nextToken?: NextToken;
3161
+ }
3162
+ export interface ListFlowAliasesResponse {
3163
+ /**
3164
+ * A list, each member of which contains information about a flow alias.
3165
+ */
3166
+ flowAliasSummaries: FlowAliasSummaries;
3167
+ /**
3168
+ * If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
3169
+ */
3170
+ nextToken?: NextToken;
3171
+ }
3172
+ export interface ListFlowVersionsRequest {
3173
+ /**
3174
+ * The unique identifier of the flow.
3175
+ */
3176
+ flowIdentifier: FlowIdentifier;
3177
+ /**
3178
+ * The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
3179
+ */
3180
+ maxResults?: MaxResults;
3181
+ /**
3182
+ * If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
3183
+ */
3184
+ nextToken?: NextToken;
3185
+ }
3186
+ export interface ListFlowVersionsResponse {
3187
+ /**
3188
+ * A list, each member of which contains information about a flow.
3189
+ */
3190
+ flowVersionSummaries: FlowVersionSummaries;
3191
+ /**
3192
+ * If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
3193
+ */
3194
+ nextToken?: NextToken;
3195
+ }
3196
+ export interface ListFlowsRequest {
3197
+ /**
3198
+ * The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
3199
+ */
3200
+ maxResults?: MaxResults;
3201
+ /**
3202
+ * If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
3203
+ */
3204
+ nextToken?: NextToken;
3205
+ }
3206
+ export interface ListFlowsResponse {
3207
+ /**
3208
+ * A list, each member of which contains information about a flow.
3209
+ */
3210
+ flowSummaries: FlowSummaries;
3211
+ /**
3212
+ * If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
3213
+ */
3214
+ nextToken?: NextToken;
3215
+ }
1837
3216
  export interface ListIngestionJobsRequest {
1838
3217
  /**
1839
3218
  * The unique identifier of the data source for which to return ingestion jobs.
@@ -1890,6 +3269,30 @@ declare namespace BedrockAgent {
1890
3269
  */
1891
3270
  nextToken?: NextToken;
1892
3271
  }
3272
+ export interface ListPromptsRequest {
3273
+ /**
3274
+ * The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
3275
+ */
3276
+ maxResults?: MaxResults;
3277
+ /**
3278
+ * If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
3279
+ */
3280
+ nextToken?: NextToken;
3281
+ /**
3282
+ * The unique identifier of the prompt.
3283
+ */
3284
+ promptIdentifier?: PromptIdentifier;
3285
+ }
3286
+ export interface ListPromptsResponse {
3287
+ /**
3288
+ * If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
3289
+ */
3290
+ nextToken?: NextToken;
3291
+ /**
3292
+ * A list, each member of which contains information about a prompt using Prompt management.
3293
+ */
3294
+ promptSummaries: PromptSummaries;
3295
+ }
1893
3296
  export interface ListTagsForResourceRequest {
1894
3297
  /**
1895
3298
  * The Amazon Resource Name (ARN) of the resource for which to list tags.
@@ -1904,9 +3307,71 @@ declare namespace BedrockAgent {
1904
3307
  }
1905
3308
  export type MaxResults = number;
1906
3309
  export type MaximumLength = number;
3310
+ export interface MemoryConfiguration {
3311
+ /**
3312
+ * The type of memory that is stored.
3313
+ */
3314
+ enabledMemoryTypes: EnabledMemoryTypes;
3315
+ /**
3316
+ * The number of days the agent is configured to retain the conversational context.
3317
+ */
3318
+ storageDays?: StorageDays;
3319
+ }
3320
+ export type MemoryType = "SESSION_SUMMARY"|string;
3321
+ export type Microsoft365TenantId = string;
1907
3322
  export type ModelIdentifier = string;
3323
+ export type MongoDbAtlasCollectionName = string;
3324
+ export interface MongoDbAtlasConfiguration {
3325
+ /**
3326
+ * The collection name of the knowledge base in MongoDB Atlas.
3327
+ */
3328
+ collectionName: MongoDbAtlasCollectionName;
3329
+ /**
3330
+ * The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.
3331
+ */
3332
+ credentialsSecretArn: SecretArn;
3333
+ /**
3334
+ * The database name in your MongoDB Atlas cluster for your knowledge base.
3335
+ */
3336
+ databaseName: MongoDbAtlasDatabaseName;
3337
+ /**
3338
+ * The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
3339
+ */
3340
+ endpoint: MongoDbAtlasEndpoint;
3341
+ /**
3342
+ * The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
3343
+ */
3344
+ endpointServiceName?: MongoDbAtlasEndpointServiceName;
3345
+ /**
3346
+ * Contains the names of the fields to which to map information about the vector store.
3347
+ */
3348
+ fieldMapping: MongoDbAtlasFieldMapping;
3349
+ /**
3350
+ * The name of the MongoDB Atlas vector search index.
3351
+ */
3352
+ vectorIndexName: MongoDbAtlasIndexName;
3353
+ }
3354
+ export type MongoDbAtlasDatabaseName = string;
3355
+ export type MongoDbAtlasEndpoint = string;
3356
+ export type MongoDbAtlasEndpointServiceName = string;
3357
+ export interface MongoDbAtlasFieldMapping {
3358
+ /**
3359
+ * The name of the field in which Amazon Bedrock stores metadata about the vector store.
3360
+ */
3361
+ metadataField: FieldName;
3362
+ /**
3363
+ * The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
3364
+ */
3365
+ textField: FieldName;
3366
+ /**
3367
+ * The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
3368
+ */
3369
+ vectorField: FieldName;
3370
+ }
3371
+ export type MongoDbAtlasIndexName = string;
1908
3372
  export type Name = string;
1909
3373
  export type NextToken = string;
3374
+ export type NonBlankString = string;
1910
3375
  export type NumericalVersion = string;
1911
3376
  export type OpenSearchServerlessCollectionArn = string;
1912
3377
  export interface OpenSearchServerlessConfiguration {
@@ -1938,6 +3403,8 @@ declare namespace BedrockAgent {
1938
3403
  vectorField: FieldName;
1939
3404
  }
1940
3405
  export type OpenSearchServerlessIndexName = string;
3406
+ export interface OutputFlowNodeConfiguration {
3407
+ }
1941
3408
  export type ParameterDescription = string;
1942
3409
  export interface ParameterDetail {
1943
3410
  /**
@@ -1954,6 +3421,45 @@ declare namespace BedrockAgent {
1954
3421
  type: Type;
1955
3422
  }
1956
3423
  export type ParameterMap = {[key: string]: ParameterDetail};
3424
+ export interface ParsingConfiguration {
3425
+ /**
3426
+ * Settings for a foundation model used to parse documents for a data source.
3427
+ */
3428
+ bedrockFoundationModelConfiguration?: BedrockFoundationModelConfiguration;
3429
+ /**
3430
+ * The parsing strategy for the data source.
3431
+ */
3432
+ parsingStrategy: ParsingStrategy;
3433
+ }
3434
+ export interface ParsingPrompt {
3435
+ /**
3436
+ * Instructions for interpreting the contents of a document.
3437
+ */
3438
+ parsingPromptText: ParsingPromptText;
3439
+ }
3440
+ export type ParsingPromptText = string;
3441
+ export type ParsingStrategy = "BEDROCK_FOUNDATION_MODEL"|string;
3442
+ export interface PatternObjectFilter {
3443
+ /**
3444
+ * A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
3445
+ */
3446
+ exclusionFilters?: FilterList;
3447
+ /**
3448
+ * A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
3449
+ */
3450
+ inclusionFilters?: FilterList;
3451
+ /**
3452
+ * The supported object type or content type of the data source.
3453
+ */
3454
+ objectType: FilteredObjectType;
3455
+ }
3456
+ export interface PatternObjectFilterConfiguration {
3457
+ /**
3458
+ * The configuration of specific filters applied to your data source content. You can filter out or include certain content.
3459
+ */
3460
+ filters: PatternObjectFilterList;
3461
+ }
3462
+ export type PatternObjectFilterList = PatternObjectFilter[];
1957
3463
  export type Payload = string;
1958
3464
  export interface PineconeConfiguration {
1959
3465
  /**
@@ -2009,46 +3515,207 @@ declare namespace BedrockAgent {
2009
3515
  */
2010
3516
  preparedAt: DateTimestamp;
2011
3517
  }
3518
+ export interface PrepareFlowRequest {
3519
+ /**
3520
+ * The unique identifier of the flow.
3521
+ */
3522
+ flowIdentifier: FlowIdentifier;
3523
+ }
3524
+ export interface PrepareFlowResponse {
3525
+ /**
3526
+ * The unique identifier of the flow.
3527
+ */
3528
+ id: FlowId;
3529
+ /**
3530
+ * The status of the flow. When you submit this request, the status will be NotPrepared. If preparation succeeds, the status becomes Prepared. If it fails, the status becomes FAILED.
3531
+ */
3532
+ status: FlowStatus;
3533
+ }
2012
3534
  export type PrimitiveLong = number;
3535
+ export type PromptArn = string;
2013
3536
  export interface PromptConfiguration {
2014
3537
  /**
2015
- * Defines the prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see Prompt template placeholder variables.
3538
+ * Defines the prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see Prompt template placeholder variables. For more information, see Configure the prompt templates.
2016
3539
  */
2017
3540
  basePromptTemplate?: BasePromptTemplate;
2018
3541
  /**
2019
- * Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the promptType. For more information, see Inference parameters for foundation models.
3542
+ * Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the promptType. For more information, see Inference parameters for foundation models.
3543
+ */
3544
+ inferenceConfiguration?: InferenceConfiguration;
3545
+ /**
3546
+ * Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the promptType. If you set the field as OVERRIDEN, the overrideLambda field in the PromptOverrideConfiguration must be specified with the ARN of a Lambda function.
3547
+ */
3548
+ parserMode?: CreationMode;
3549
+ /**
3550
+ * Specifies whether to override the default prompt template for this promptType. Set this value to OVERRIDDEN to use the prompt that you provide in the basePromptTemplate. If you leave it as DEFAULT, the agent uses a default prompt template.
3551
+ */
3552
+ promptCreationMode?: CreationMode;
3553
+ /**
3554
+ * Specifies whether to allow the agent to carry out the step specified in the promptType. If you set this value to DISABLED, the agent skips that step. The default state for each promptType is as follows. PRE_PROCESSING – ENABLED ORCHESTRATION – ENABLED KNOWLEDGE_BASE_RESPONSE_GENERATION – ENABLED POST_PROCESSING – DISABLED
3555
+ */
3556
+ promptState?: PromptState;
3557
+ /**
3558
+ * The step in the agent sequence that this prompt configuration applies to.
3559
+ */
3560
+ promptType?: PromptType;
3561
+ }
3562
+ export type PromptConfigurations = PromptConfiguration[];
3563
+ export type PromptDescription = string;
3564
+ export interface PromptFlowNodeConfiguration {
3565
+ /**
3566
+ * Specifies whether the prompt is from Prompt management or defined inline.
3567
+ */
3568
+ sourceConfiguration: PromptFlowNodeSourceConfiguration;
3569
+ }
3570
+ export interface PromptFlowNodeInlineConfiguration {
3571
+ /**
3572
+ * Contains inference configurations for the prompt.
3573
+ */
3574
+ inferenceConfiguration?: PromptInferenceConfiguration;
3575
+ /**
3576
+ * The unique identifier of the model to run inference with.
3577
+ */
3578
+ modelId: PromptModelIdentifier;
3579
+ /**
3580
+ * Contains a prompt and variables in the prompt that can be replaced with values at runtime.
3581
+ */
3582
+ templateConfiguration: PromptTemplateConfiguration;
3583
+ /**
3584
+ * The type of prompt template.
3585
+ */
3586
+ templateType: PromptTemplateType;
3587
+ }
3588
+ export interface PromptFlowNodeResourceConfiguration {
3589
+ /**
3590
+ * The Amazon Resource Name (ARN) of the prompt from Prompt management.
3591
+ */
3592
+ promptArn: PromptArn;
3593
+ }
3594
+ export interface PromptFlowNodeSourceConfiguration {
3595
+ /**
3596
+ * Contains configurations for a prompt that is defined inline
3597
+ */
3598
+ inline?: PromptFlowNodeInlineConfiguration;
3599
+ /**
3600
+ * Contains configurations for a prompt from Prompt management.
3601
+ */
3602
+ resource?: PromptFlowNodeResourceConfiguration;
3603
+ }
3604
+ export type PromptId = string;
3605
+ export type PromptIdentifier = string;
3606
+ export interface PromptInferenceConfiguration {
3607
+ /**
3608
+ * Contains inference configurations for a text prompt.
3609
+ */
3610
+ text?: PromptModelInferenceConfiguration;
3611
+ }
3612
+ export interface PromptInputVariable {
3613
+ /**
3614
+ * The name of the variable.
3615
+ */
3616
+ name?: PromptInputVariableName;
3617
+ }
3618
+ export type PromptInputVariableName = string;
3619
+ export type PromptInputVariablesList = PromptInputVariable[];
3620
+ export type PromptModelIdentifier = string;
3621
+ export interface PromptModelInferenceConfiguration {
3622
+ /**
3623
+ * The maximum number of tokens to return in the response.
3624
+ */
3625
+ maxTokens?: MaximumLength;
3626
+ /**
3627
+ * A list of strings that define sequences after which the model will stop generating.
3628
+ */
3629
+ stopSequences?: StopSequences;
3630
+ /**
3631
+ * Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
3632
+ */
3633
+ temperature?: Temperature;
3634
+ /**
3635
+ * The number of most-likely candidates that the model considers for the next token during generation.
3636
+ */
3637
+ topK?: TopK;
3638
+ /**
3639
+ * The percentage of most-likely candidates that the model considers for the next token.
3640
+ */
3641
+ topP?: TopP;
3642
+ }
3643
+ export type PromptName = string;
3644
+ export interface PromptOverrideConfiguration {
3645
+ /**
3646
+ * The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the promptConfigurations must contain a parserMode value that is set to OVERRIDDEN. For more information, see Parser Lambda function in Agents for Amazon Bedrock.
3647
+ */
3648
+ overrideLambda?: LambdaArn;
3649
+ /**
3650
+ * Contains configurations to override a prompt template in one part of an agent sequence. For more information, see Advanced prompts.
3651
+ */
3652
+ promptConfigurations: PromptConfigurations;
3653
+ }
3654
+ export type PromptState = "ENABLED"|"DISABLED"|string;
3655
+ export type PromptSummaries = PromptSummary[];
3656
+ export interface PromptSummary {
3657
+ /**
3658
+ * The Amazon Resource Name (ARN) of the prompt.
3659
+ */
3660
+ arn: PromptArn;
3661
+ /**
3662
+ * The time at which the prompt was created.
3663
+ */
3664
+ createdAt: DateTimestamp;
3665
+ /**
3666
+ * The description of the prompt.
3667
+ */
3668
+ description?: PromptDescription;
3669
+ /**
3670
+ * The unique identifier of the prompt.
3671
+ */
3672
+ id: PromptId;
3673
+ /**
3674
+ * The name of the prompt.
3675
+ */
3676
+ name: PromptName;
3677
+ /**
3678
+ * The time at which the prompt was last updated.
3679
+ */
3680
+ updatedAt: DateTimestamp;
3681
+ /**
3682
+ * The version of the prompt that this summary applies to.
2020
3683
  */
2021
- inferenceConfiguration?: InferenceConfiguration;
3684
+ version: Version;
3685
+ }
3686
+ export interface PromptTemplateConfiguration {
2022
3687
  /**
2023
- * Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the promptType. If you set the field as OVERRIDEN, the overrideLambda field in the PromptOverrideConfiguration must be specified with the ARN of a Lambda function.
3688
+ * Contains configurations for the text in a message for a prompt.
2024
3689
  */
2025
- parserMode?: CreationMode;
3690
+ text?: TextPromptTemplateConfiguration;
3691
+ }
3692
+ export type PromptTemplateType = "TEXT"|string;
3693
+ export type PromptType = "PRE_PROCESSING"|"ORCHESTRATION"|"POST_PROCESSING"|"KNOWLEDGE_BASE_RESPONSE_GENERATION"|string;
3694
+ export interface PromptVariant {
2026
3695
  /**
2027
- * Specifies whether to override the default prompt template for this promptType. Set this value to OVERRIDDEN to use the prompt that you provide in the basePromptTemplate. If you leave it as DEFAULT, the agent uses a default prompt template.
3696
+ * Contains inference configurations for the prompt variant.
2028
3697
  */
2029
- promptCreationMode?: CreationMode;
3698
+ inferenceConfiguration?: PromptInferenceConfiguration;
2030
3699
  /**
2031
- * Specifies whether to allow the agent to carry out the step specified in the promptType. If you set this value to DISABLED, the agent skips that step. The default state for each promptType is as follows. PRE_PROCESSING – ENABLED ORCHESTRATION – ENABLED KNOWLEDGE_BASE_RESPONSE_GENERATION – ENABLED POST_PROCESSING – DISABLED
3700
+ * The unique identifier of the model with which to run inference on the prompt.
2032
3701
  */
2033
- promptState?: PromptState;
3702
+ modelId?: PromptModelIdentifier;
2034
3703
  /**
2035
- * The step in the agent sequence that this prompt configuration applies to.
3704
+ * The name of the prompt variant.
2036
3705
  */
2037
- promptType?: PromptType;
2038
- }
2039
- export type PromptConfigurations = PromptConfiguration[];
2040
- export interface PromptOverrideConfiguration {
3706
+ name: PromptVariantName;
2041
3707
  /**
2042
- * The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the promptConfigurations must contain a parserMode value that is set to OVERRIDDEN.
3708
+ * Contains configurations for the prompt template.
2043
3709
  */
2044
- overrideLambda?: LambdaArn;
3710
+ templateConfiguration?: PromptTemplateConfiguration;
2045
3711
  /**
2046
- * Contains configurations to override a prompt template in one part of an agent sequence. For more information, see Advanced prompts.
3712
+ * The type of prompt template to use.
2047
3713
  */
2048
- promptConfigurations: PromptConfigurations;
3714
+ templateType: PromptTemplateType;
2049
3715
  }
2050
- export type PromptState = "ENABLED"|"DISABLED"|string;
2051
- export type PromptType = "PRE_PROCESSING"|"ORCHESTRATION"|"POST_PROCESSING"|"KNOWLEDGE_BASE_RESPONSE_GENERATION"|string;
3716
+ export type PromptVariantList = PromptVariant[];
3717
+ export type PromptVariantName = string;
3718
+ export type ProvisionedModelIdentifier = string;
2052
3719
  export type RdsArn = string;
2053
3720
  export interface RdsConfiguration {
2054
3721
  /**
@@ -2128,11 +3795,30 @@ declare namespace BedrockAgent {
2128
3795
  vectorField: FieldName;
2129
3796
  }
2130
3797
  export type RedisEnterpriseCloudIndexName = string;
3798
+ export interface RetrievalFlowNodeConfiguration {
3799
+ /**
3800
+ * Contains configurations for the service to use for retrieving data to return as the output from the node.
3801
+ */
3802
+ serviceConfiguration: RetrievalFlowNodeServiceConfiguration;
3803
+ }
3804
+ export interface RetrievalFlowNodeS3Configuration {
3805
+ /**
3806
+ * The name of the Amazon S3 bucket from which to retrieve data.
3807
+ */
3808
+ bucketName: S3BucketName;
3809
+ }
3810
+ export interface RetrievalFlowNodeServiceConfiguration {
3811
+ /**
3812
+ * Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.
3813
+ */
3814
+ s3?: RetrievalFlowNodeS3Configuration;
3815
+ }
2131
3816
  export type S3BucketArn = string;
2132
3817
  export type S3BucketName = string;
3818
+ export type S3BucketUri = string;
2133
3819
  export interface S3DataSourceConfiguration {
2134
3820
  /**
2135
- * The Amazon Resource Name (ARN) of the bucket that contains the data source.
3821
+ * The Amazon Resource Name (ARN) of the S3 bucket that contains your data.
2136
3822
  */
2137
3823
  bucketArn: S3BucketArn;
2138
3824
  /**
@@ -2140,7 +3826,7 @@ declare namespace BedrockAgent {
2140
3826
  */
2141
3827
  bucketOwnerAccountId?: BucketOwnerAccountId;
2142
3828
  /**
2143
- * A list of S3 prefixes that define the object containing the data sources. For more information, see Organizing objects using prefixes.
3829
+ * A list of S3 prefixes to include certain files or content. For more information, see Organizing objects using prefixes.
2144
3830
  */
2145
3831
  inclusionPrefixes?: S3Prefixes;
2146
3832
  }
@@ -2150,14 +3836,75 @@ declare namespace BedrockAgent {
2150
3836
  */
2151
3837
  s3BucketName?: S3BucketName;
2152
3838
  /**
2153
- * The S3 object key containing the resource.
3839
+ * The S3 object key for the S3 resource.
2154
3840
  */
2155
3841
  s3ObjectKey?: S3ObjectKey;
2156
3842
  }
3843
+ export interface S3Location {
3844
+ /**
3845
+ * The location's URI. For example, s3://my-bucket/chunk-processor/.
3846
+ */
3847
+ uri: S3BucketUri;
3848
+ }
2157
3849
  export type S3ObjectKey = string;
2158
3850
  export type S3Prefix = string;
2159
3851
  export type S3Prefixes = S3Prefix[];
3852
+ export type SalesforceAuthType = "OAUTH2_CLIENT_CREDENTIALS"|string;
3853
+ export interface SalesforceCrawlerConfiguration {
3854
+ /**
3855
+ * The configuration of filtering the Salesforce content. For example, configuring regular expression patterns to include or exclude certain content.
3856
+ */
3857
+ filterConfiguration?: CrawlFilterConfiguration;
3858
+ }
3859
+ export interface SalesforceDataSourceConfiguration {
3860
+ /**
3861
+ * The configuration of the Salesforce content. For example, configuring specific types of Salesforce content.
3862
+ */
3863
+ crawlerConfiguration?: SalesforceCrawlerConfiguration;
3864
+ /**
3865
+ * The endpoint information to connect to your Salesforce data source.
3866
+ */
3867
+ sourceConfiguration: SalesforceSourceConfiguration;
3868
+ }
3869
+ export interface SalesforceSourceConfiguration {
3870
+ /**
3871
+ * The supported authentication type to authenticate and connect to your Salesforce instance.
3872
+ */
3873
+ authType: SalesforceAuthType;
3874
+ /**
3875
+ * The Amazon Resource Name of an Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Salesforce connection configuration.
3876
+ */
3877
+ credentialsSecretArn: SecretArn;
3878
+ /**
3879
+ * The Salesforce host URL or instance URL.
3880
+ */
3881
+ hostUrl: HttpsUrl;
3882
+ }
2160
3883
  export type SecretArn = string;
3884
+ export interface SeedUrl {
3885
+ /**
3886
+ * A seed or starting point URL.
3887
+ */
3888
+ url?: Url;
3889
+ }
3890
+ export type SeedUrls = SeedUrl[];
3891
+ export interface SemanticChunkingConfiguration {
3892
+ /**
3893
+ * The dissimilarity threshold for splitting chunks.
3894
+ */
3895
+ breakpointPercentileThreshold: SemanticChunkingConfigurationBreakpointPercentileThresholdInteger;
3896
+ /**
3897
+ * The buffer size.
3898
+ */
3899
+ bufferSize: SemanticChunkingConfigurationBufferSizeInteger;
3900
+ /**
3901
+ * The maximum number of tokens that a chunk can contain.
3902
+ */
3903
+ maxTokens: SemanticChunkingConfigurationMaxTokensInteger;
3904
+ }
3905
+ export type SemanticChunkingConfigurationBreakpointPercentileThresholdInteger = number;
3906
+ export type SemanticChunkingConfigurationBufferSizeInteger = number;
3907
+ export type SemanticChunkingConfigurationMaxTokensInteger = number;
2161
3908
  export interface ServerSideEncryptionConfiguration {
2162
3909
  /**
2163
3910
  * The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource.
@@ -2165,6 +3912,52 @@ declare namespace BedrockAgent {
2165
3912
  kmsKeyArn?: KmsKeyArn;
2166
3913
  }
2167
3914
  export type SessionTTL = number;
3915
+ export type SharePointAuthType = "OAUTH2_CLIENT_CREDENTIALS"|string;
3916
+ export interface SharePointCrawlerConfiguration {
3917
+ /**
3918
+ * The configuration of filtering the SharePoint content. For example, configuring regular expression patterns to include or exclude certain content.
3919
+ */
3920
+ filterConfiguration?: CrawlFilterConfiguration;
3921
+ }
3922
+ export interface SharePointDataSourceConfiguration {
3923
+ /**
3924
+ * The configuration of the SharePoint content. For example, configuring specific types of SharePoint content.
3925
+ */
3926
+ crawlerConfiguration?: SharePointCrawlerConfiguration;
3927
+ /**
3928
+ * The endpoint information to connect to your SharePoint data source.
3929
+ */
3930
+ sourceConfiguration: SharePointSourceConfiguration;
3931
+ }
3932
+ export type SharePointDomain = string;
3933
+ export type SharePointHostType = "ONLINE"|string;
3934
+ export type SharePointSiteUrls = HttpsUrl[];
3935
+ export interface SharePointSourceConfiguration {
3936
+ /**
3937
+ * The supported authentication type to authenticate and connect to your SharePoint site/sites.
3938
+ */
3939
+ authType: SharePointAuthType;
3940
+ /**
3941
+ * The Amazon Resource Name of an Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see SharePoint connection configuration.
3942
+ */
3943
+ credentialsSecretArn: SecretArn;
3944
+ /**
3945
+ * The domain of your SharePoint instance or site URL/URLs.
3946
+ */
3947
+ domain: SharePointDomain;
3948
+ /**
3949
+ * The supported host type, whether online/cloud or server/on-premises.
3950
+ */
3951
+ hostType: SharePointHostType;
3952
+ /**
3953
+ * A list of one or more SharePoint site URLs.
3954
+ */
3955
+ siteUrls: SharePointSiteUrls;
3956
+ /**
3957
+ * The identifier of your Microsoft 365 tenant.
3958
+ */
3959
+ tenantId?: Microsoft365TenantId;
3960
+ }
2168
3961
  export type SortOrder = "ASCENDING"|"DESCENDING"|string;
2169
3962
  export interface StartIngestionJobRequest {
2170
3963
  /**
@@ -2190,8 +3983,13 @@ declare namespace BedrockAgent {
2190
3983
  */
2191
3984
  ingestionJob: IngestionJob;
2192
3985
  }
3986
+ export type StepType = "POST_CHUNKING"|string;
2193
3987
  export type StopSequences = String[];
2194
3988
  export interface StorageConfiguration {
3989
+ /**
3990
+ * Contains the storage configuration of the knowledge base in MongoDB Atlas.
3991
+ */
3992
+ mongoDbAtlasConfiguration?: MongoDbAtlasConfiguration;
2195
3993
  /**
2196
3994
  * Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
2197
3995
  */
@@ -2213,6 +4011,25 @@ declare namespace BedrockAgent {
2213
4011
  */
2214
4012
  type: KnowledgeBaseStorageType;
2215
4013
  }
4014
+ export type StorageDays = number;
4015
+ export interface StorageFlowNodeConfiguration {
4016
+ /**
4017
+ * Contains configurations for the service to use for storing the input into the node.
4018
+ */
4019
+ serviceConfiguration: StorageFlowNodeServiceConfiguration;
4020
+ }
4021
+ export interface StorageFlowNodeS3Configuration {
4022
+ /**
4023
+ * The name of the Amazon S3 bucket in which to store the input into the node.
4024
+ */
4025
+ bucketName: S3BucketName;
4026
+ }
4027
+ export interface StorageFlowNodeServiceConfiguration {
4028
+ /**
4029
+ * Contains configurations for the Amazon S3 location in which to store the input into the node.
4030
+ */
4031
+ s3?: StorageFlowNodeS3Configuration;
4032
+ }
2216
4033
  export type String = string;
2217
4034
  export type TagKey = string;
2218
4035
  export type TagKeyList = TagKey[];
@@ -2232,8 +4049,42 @@ declare namespace BedrockAgent {
2232
4049
  export type TaggableResourcesArn = string;
2233
4050
  export type TagsMap = {[key: string]: TagValue};
2234
4051
  export type Temperature = number;
4052
+ export type TextPrompt = string;
4053
+ export interface TextPromptTemplateConfiguration {
4054
+ /**
4055
+ * An array of the variables in the prompt template.
4056
+ */
4057
+ inputVariables?: PromptInputVariablesList;
4058
+ /**
4059
+ * The message for the prompt.
4060
+ */
4061
+ text: TextPrompt;
4062
+ }
2235
4063
  export type TopK = number;
2236
4064
  export type TopP = number;
4065
+ export interface Transformation {
4066
+ /**
4067
+ * When the service applies the transformation.
4068
+ */
4069
+ stepToApply: StepType;
4070
+ /**
4071
+ * A Lambda function that processes documents.
4072
+ */
4073
+ transformationFunction: TransformationFunction;
4074
+ }
4075
+ export interface TransformationFunction {
4076
+ /**
4077
+ * The Lambda function.
4078
+ */
4079
+ transformationLambdaConfiguration: TransformationLambdaConfiguration;
4080
+ }
4081
+ export interface TransformationLambdaConfiguration {
4082
+ /**
4083
+ * The function's ARN identifier.
4084
+ */
4085
+ lambdaArn: LambdaArn;
4086
+ }
4087
+ export type Transformations = Transformation[];
2237
4088
  export type Type = "string"|"number"|"integer"|"boolean"|"array"|string;
2238
4089
  export interface UntagResourceRequest {
2239
4090
  /**
@@ -2376,6 +4227,10 @@ declare namespace BedrockAgent {
2376
4227
  * Specifies a new foundation model to be used for orchestration by the agent.
2377
4228
  */
2378
4229
  foundationModel: ModelIdentifier;
4230
+ /**
4231
+ * The unique Guardrail configuration assigned to the agent when it is updated.
4232
+ */
4233
+ guardrailConfiguration?: GuardrailConfiguration;
2379
4234
  /**
2380
4235
  * The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
2381
4236
  */
@@ -2384,6 +4239,10 @@ declare namespace BedrockAgent {
2384
4239
  * Specifies new instructions that tell the agent what it should do and how it should interact with users.
2385
4240
  */
2386
4241
  instruction?: Instruction;
4242
+ /**
4243
+ * Specifies the new memory configuration for the agent.
4244
+ */
4245
+ memoryConfiguration?: MemoryConfiguration;
2387
4246
  /**
2388
4247
  * Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.
2389
4248
  */
@@ -2397,11 +4256,11 @@ declare namespace BedrockAgent {
2397
4256
  }
2398
4257
  export interface UpdateDataSourceRequest {
2399
4258
  /**
2400
- * The data deletion policy of the updated data source.
4259
+ * The data deletion policy for the data source that you want to update.
2401
4260
  */
2402
4261
  dataDeletionPolicy?: DataDeletionPolicy;
2403
4262
  /**
2404
- * Contains details about the storage configuration of the data source.
4263
+ * The connection configuration for the data source that you want to update.
2405
4264
  */
2406
4265
  dataSourceConfiguration: DataSourceConfiguration;
2407
4266
  /**
@@ -2413,7 +4272,7 @@ declare namespace BedrockAgent {
2413
4272
  */
2414
4273
  description?: Description;
2415
4274
  /**
2416
- * The unique identifier of the knowledge base to which the data source belongs.
4275
+ * The unique identifier of the knowledge base for the data source.
2417
4276
  */
2418
4277
  knowledgeBaseId: Id;
2419
4278
  /**
@@ -2435,6 +4294,134 @@ declare namespace BedrockAgent {
2435
4294
  */
2436
4295
  dataSource: DataSource;
2437
4296
  }
4297
+ export interface UpdateFlowAliasRequest {
4298
+ /**
4299
+ * The unique identifier of the alias.
4300
+ */
4301
+ aliasIdentifier: FlowAliasIdentifier;
4302
+ /**
4303
+ * A description for the flow alias.
4304
+ */
4305
+ description?: Description;
4306
+ /**
4307
+ * The unique identifier of the flow.
4308
+ */
4309
+ flowIdentifier: FlowIdentifier;
4310
+ /**
4311
+ * The name of the flow alias.
4312
+ */
4313
+ name: Name;
4314
+ /**
4315
+ * Contains information about the version to which to map the alias.
4316
+ */
4317
+ routingConfiguration: FlowAliasRoutingConfiguration;
4318
+ }
4319
+ export interface UpdateFlowAliasResponse {
4320
+ /**
4321
+ * The Amazon Resource Name (ARN) of the flow.
4322
+ */
4323
+ arn: FlowAliasArn;
4324
+ /**
4325
+ * The time at which the flow was created.
4326
+ */
4327
+ createdAt: DateTimestamp;
4328
+ /**
4329
+ * The description of the flow.
4330
+ */
4331
+ description?: Description;
4332
+ /**
4333
+ * The unique identifier of the flow.
4334
+ */
4335
+ flowId: FlowId;
4336
+ /**
4337
+ * The unique identifier of the alias.
4338
+ */
4339
+ id: FlowAliasId;
4340
+ /**
4341
+ * The name of the flow alias.
4342
+ */
4343
+ name: Name;
4344
+ /**
4345
+ * Contains information about the version that the alias is mapped to.
4346
+ */
4347
+ routingConfiguration: FlowAliasRoutingConfiguration;
4348
+ /**
4349
+ * The time at which the flow alias was last updated.
4350
+ */
4351
+ updatedAt: DateTimestamp;
4352
+ }
4353
+ export interface UpdateFlowRequest {
4354
+ /**
4355
+ * The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
4356
+ */
4357
+ customerEncryptionKeyArn?: KmsKeyArn;
4358
+ /**
4359
+ * A definition of the nodes and the connections between the nodes in the flow.
4360
+ */
4361
+ definition?: FlowDefinition;
4362
+ /**
4363
+ * A description for the flow.
4364
+ */
4365
+ description?: FlowDescription;
4366
+ /**
4367
+ * The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
4368
+ */
4369
+ executionRoleArn: FlowExecutionRoleArn;
4370
+ /**
4371
+ * The unique identifier of the flow.
4372
+ */
4373
+ flowIdentifier: FlowIdentifier;
4374
+ /**
4375
+ * A name for the flow.
4376
+ */
4377
+ name: FlowName;
4378
+ }
4379
+ export interface UpdateFlowResponse {
4380
+ /**
4381
+ * The Amazon Resource Name (ARN) of the flow.
4382
+ */
4383
+ arn: FlowArn;
4384
+ /**
4385
+ * The time at which the flow was created.
4386
+ */
4387
+ createdAt: DateTimestamp;
4388
+ /**
4389
+ * The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.
4390
+ */
4391
+ customerEncryptionKeyArn?: KmsKeyArn;
4392
+ /**
4393
+ * A definition of the nodes and the connections between nodes in the flow.
4394
+ */
4395
+ definition?: FlowDefinition;
4396
+ /**
4397
+ * The description of the flow.
4398
+ */
4399
+ description?: FlowDescription;
4400
+ /**
4401
+ * The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
4402
+ */
4403
+ executionRoleArn: FlowExecutionRoleArn;
4404
+ /**
4405
+ * The unique identifier of the flow.
4406
+ */
4407
+ id: FlowId;
4408
+ /**
4409
+ * The name of the flow.
4410
+ */
4411
+ name: FlowName;
4412
+ /**
4413
+ * The status of the flow. When you submit this request, the status will be NotPrepared. If updating fails, the status becomes Failed.
4414
+ */
4415
+ status: FlowStatus;
4416
+ /**
4417
+ * The time at which the flow was last updated.
4418
+ */
4419
+ updatedAt: DateTimestamp;
4420
+ /**
4421
+ * The version of the flow. When you update a flow, the version updated is the DRAFT version.
4422
+ */
4423
+ version: DraftVersion;
4424
+ }
2438
4425
  export interface UpdateKnowledgeBaseRequest {
2439
4426
  /**
2440
4427
  * Specifies a new description for the knowledge base.
@@ -2467,19 +4454,148 @@ declare namespace BedrockAgent {
2467
4454
  */
2468
4455
  knowledgeBase: KnowledgeBase;
2469
4456
  }
4457
+ export interface UpdatePromptRequest {
4458
+ /**
4459
+ * The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
4460
+ */
4461
+ customerEncryptionKeyArn?: KmsKeyArn;
4462
+ /**
4463
+ * The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
4464
+ */
4465
+ defaultVariant?: PromptVariantName;
4466
+ /**
4467
+ * A description for the prompt.
4468
+ */
4469
+ description?: PromptDescription;
4470
+ /**
4471
+ * A name for the prompt.
4472
+ */
4473
+ name: PromptName;
4474
+ /**
4475
+ * The unique identifier of the prompt.
4476
+ */
4477
+ promptIdentifier: PromptIdentifier;
4478
+ /**
4479
+ * A list of objects, each containing details about a variant of the prompt.
4480
+ */
4481
+ variants?: PromptVariantList;
4482
+ }
4483
+ export interface UpdatePromptResponse {
4484
+ /**
4485
+ * The Amazon Resource Name (ARN) of the prompt.
4486
+ */
4487
+ arn: PromptArn;
4488
+ /**
4489
+ * The time at which the prompt was created.
4490
+ */
4491
+ createdAt: DateTimestamp;
4492
+ /**
4493
+ * The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
4494
+ */
4495
+ customerEncryptionKeyArn?: KmsKeyArn;
4496
+ /**
4497
+ * The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
4498
+ */
4499
+ defaultVariant?: PromptVariantName;
4500
+ /**
4501
+ * The description of the prompt.
4502
+ */
4503
+ description?: PromptDescription;
4504
+ /**
4505
+ * The unique identifier of the prompt.
4506
+ */
4507
+ id: PromptId;
4508
+ /**
4509
+ * The name of the prompt.
4510
+ */
4511
+ name: PromptName;
4512
+ /**
4513
+ * The time at which the prompt was last updated.
4514
+ */
4515
+ updatedAt: DateTimestamp;
4516
+ /**
4517
+ * A list of objects, each containing details about a variant of the prompt.
4518
+ */
4519
+ variants?: PromptVariantList;
4520
+ /**
4521
+ * The version of the prompt. When you update a prompt, the version updated is the DRAFT version.
4522
+ */
4523
+ version: Version;
4524
+ }
4525
+ export type Url = string;
4526
+ export interface UrlConfiguration {
4527
+ /**
4528
+ * One or more seed or starting point URLs.
4529
+ */
4530
+ seedUrls?: SeedUrls;
4531
+ }
2470
4532
  export interface VectorIngestionConfiguration {
2471
4533
  /**
2472
4534
  * Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
2473
4535
  */
2474
4536
  chunkingConfiguration?: ChunkingConfiguration;
4537
+ /**
4538
+ * A custom document transformer for parsed data source documents.
4539
+ */
4540
+ customTransformationConfiguration?: CustomTransformationConfiguration;
4541
+ /**
4542
+ * A custom parser for data source documents.
4543
+ */
4544
+ parsingConfiguration?: ParsingConfiguration;
2475
4545
  }
2476
4546
  export interface VectorKnowledgeBaseConfiguration {
2477
4547
  /**
2478
4548
  * The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.
2479
4549
  */
2480
4550
  embeddingModelArn: BedrockEmbeddingModelArn;
4551
+ /**
4552
+ * The embeddings model configuration details for the vector model used in Knowledge Base.
4553
+ */
4554
+ embeddingModelConfiguration?: EmbeddingModelConfiguration;
2481
4555
  }
2482
4556
  export type Version = string;
4557
+ export interface WebCrawlerConfiguration {
4558
+ /**
4559
+ * The configuration of crawl limits for the web URLs.
4560
+ */
4561
+ crawlerLimits?: WebCrawlerLimits;
4562
+ /**
4563
+ * A list of one or more exclusion regular expression patterns to exclude certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.
4564
+ */
4565
+ exclusionFilters?: FilterList;
4566
+ /**
4567
+ * A list of one or more inclusion regular expression patterns to include certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.
4568
+ */
4569
+ inclusionFilters?: FilterList;
4570
+ /**
4571
+ * The scope of what is crawled for your URLs. You can choose to crawl only web pages that belong to the same host or primary domain. For example, only web pages that contain the seed URL "https://docs.aws.amazon.com/bedrock/latest/userguide/" and no other domains. You can choose to include sub domains in addition to the host or primary domain. For example, web pages that contain "aws.amazon.com" can also include sub domain "docs.aws.amazon.com".
4572
+ */
4573
+ scope?: WebScopeType;
4574
+ }
4575
+ export interface WebCrawlerLimits {
4576
+ /**
4577
+ * The max rate at which pages are crawled, up to 300 per minute per host.
4578
+ */
4579
+ rateLimit?: WebCrawlerLimitsRateLimitInteger;
4580
+ }
4581
+ export type WebCrawlerLimitsRateLimitInteger = number;
4582
+ export interface WebDataSourceConfiguration {
4583
+ /**
4584
+ * The Web Crawler configuration details for the web data source.
4585
+ */
4586
+ crawlerConfiguration?: WebCrawlerConfiguration;
4587
+ /**
4588
+ * The source configuration details for the web data source.
4589
+ */
4590
+ sourceConfiguration: WebSourceConfiguration;
4591
+ }
4592
+ export type WebScopeType = "HOST_ONLY"|"SUBDOMAINS"|string;
4593
+ export interface WebSourceConfiguration {
4594
+ /**
4595
+ * The configuration of the URL/URLs.
4596
+ */
4597
+ urlConfiguration: UrlConfiguration;
4598
+ }
2483
4599
  /**
2484
4600
  * 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.
2485
4601
  */