cdk-lambda-subminute 2.0.442 → 2.0.444
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +96 -7
- package/README.md +4 -4
- package/lib/cdk-lambda-subminute.js +5 -5
- package/lib/demo/typescript/typescript-stack.js +2 -2
- package/lib/index.js +7 -3
- package/lib/resources/iterator/iterator_agent.js +3 -2
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.examples.json +196 -0
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +254 -111
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/account-2021-02-01.min.json +101 -19
- package/node_modules/aws-sdk/apis/acm-2015-12-08.min.json +7 -1
- package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.min.json +20 -13
- package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.paginators.json +4 -4
- package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.waiters2.json +62 -59
- package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +3 -0
- package/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json +7 -1
- package/node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json +7 -1
- package/node_modules/aws-sdk/apis/application-signals-2024-04-15.min.json +975 -0
- package/node_modules/aws-sdk/apis/application-signals-2024-04-15.paginators.json +34 -0
- package/node_modules/aws-sdk/apis/apptest-2022-12-06.min.json +1917 -0
- package/node_modules/aws-sdk/apis/apptest-2022-12-06.paginators.json +40 -0
- package/node_modules/aws-sdk/apis/apptest-2022-12-06.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +62 -10
- package/node_modules/aws-sdk/apis/artifact-2018-05-10.examples.json +113 -0
- package/node_modules/aws-sdk/apis/artifact-2018-05-10.min.json +47 -41
- package/node_modules/aws-sdk/apis/artifact-2018-05-10.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +7 -1
- package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +57 -38
- package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/b2bi-2022-06-23.min.json +8 -1
- package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +115 -60
- package/node_modules/aws-sdk/apis/bedrock-2023-04-20.min.json +140 -86
- package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.min.json +2122 -231
- package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.paginators.json +24 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +809 -190
- package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.min.json +898 -44
- package/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json +102 -21
- package/node_modules/aws-sdk/apis/chatbot-2017-10-11.min.json +138 -24
- package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.min.json +10 -1
- package/node_modules/aws-sdk/apis/chime-sdk-voice-2022-08-03.min.json +6 -2
- package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +48 -43
- package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +7 -1
- package/node_modules/aws-sdk/apis/cloudhsmv2-2017-04-28.min.json +79 -20
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +44 -24
- package/node_modules/aws-sdk/apis/codeartifact-2018-09-22.min.json +7 -1
- package/node_modules/aws-sdk/apis/codebuild-2016-10-06.min.json +80 -38
- package/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json +7 -1
- package/node_modules/aws-sdk/apis/codeguru-security-2018-05-10.min.json +6 -0
- package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +4 -1
- package/node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json +23 -5
- package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +111 -27
- package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +447 -134
- package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +7 -1
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +1266 -499
- package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +24 -0
- package/node_modules/aws-sdk/apis/connectcases-2022-10-03.min.json +205 -63
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +150 -5
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.min.json +310 -262
- package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/cur-2017-01-06.min.json +7 -1
- package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +52 -25
- package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +3 -0
- package/node_modules/aws-sdk/apis/datazone-2018-05-10.min.json +1064 -444
- package/node_modules/aws-sdk/apis/datazone-2018-05-10.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json +7 -1
- package/node_modules/aws-sdk/apis/directconnect-2012-10-25.min.json +7 -1
- package/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json +3 -0
- package/node_modules/aws-sdk/apis/dms-2016-01-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/docdb-2014-10-31.min.json +7 -1
- package/node_modules/aws-sdk/apis/ds-2015-04-16.min.json +7 -1
- package/node_modules/aws-sdk/apis/dynamodb-2011-12-05.min.json +7 -1
- package/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json +256 -181
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +397 -283
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +7 -1
- package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +290 -256
- package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +151 -84
- package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +7 -1
- package/node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +3 -0
- package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +15 -3
- package/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.min.json +7 -1
- package/node_modules/aws-sdk/apis/email-2010-12-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/emr-serverless-2021-07-13.min.json +172 -14
- package/node_modules/aws-sdk/apis/emr-serverless-2021-07-13.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/es-2015-01-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/eventbridge-2015-10-07.min.json +87 -28
- package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +209 -160
- package/node_modules/aws-sdk/apis/fms-2018-01-01.min.json +63 -59
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +206 -164
- package/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/globalaccelerator-2018-08-08.min.json +13 -1
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +886 -574
- package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +22 -8
- package/node_modules/aws-sdk/apis/grafana-2020-08-18.min.json +317 -15
- package/node_modules/aws-sdk/apis/grafana-2020-08-18.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/greengrassv2-2020-11-30.min.json +17 -3
- package/node_modules/aws-sdk/apis/groundstation-2019-05-23.min.json +7 -1
- package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +429 -124
- package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +3 -0
- package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +122 -96
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +18 -10
- package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +3 -1
- package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +7 -1
- package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.min.json +396 -242
- package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +36 -6
- package/node_modules/aws-sdk/apis/kinesisanalyticsv2-2018-05-23.min.json +266 -110
- package/node_modules/aws-sdk/apis/kinesisanalyticsv2-2018-05-23.paginators.json +24 -0
- package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +31 -0
- package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +79 -23
- package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +43 -25
- package/node_modules/aws-sdk/apis/launch-wizard-2018-05-10.min.json +159 -0
- package/node_modules/aws-sdk/apis/license-manager-linux-subscriptions-2018-05-10.min.json +236 -16
- package/node_modules/aws-sdk/apis/license-manager-linux-subscriptions-2018-05-10.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +11 -2
- package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +1036 -754
- package/node_modules/aws-sdk/apis/location-2020-11-19.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +254 -143
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/mailmanager-2023-10-17.min.json +1836 -0
- package/node_modules/aws-sdk/apis/mailmanager-2023-10-17.paginators.json +58 -0
- package/node_modules/aws-sdk/apis/managedblockchain-2018-09-24.min.json +3 -0
- package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +106 -94
- package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +208 -131
- package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +367 -364
- package/node_modules/aws-sdk/apis/mediapackagev2-2022-12-25.examples.json +1271 -0
- package/node_modules/aws-sdk/apis/mediapackagev2-2022-12-25.min.json +108 -71
- package/node_modules/aws-sdk/apis/medical-imaging-2023-07-19.min.json +8 -5
- package/node_modules/aws-sdk/apis/metadata.json +20 -9
- package/node_modules/aws-sdk/apis/mq-2017-11-27.min.json +4 -4
- package/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json +178 -158
- package/node_modules/aws-sdk/apis/networkmanager-2019-07-05.min.json +320 -176
- package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +36 -22
- package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +190 -115
- package/node_modules/aws-sdk/apis/opsworks-2013-02-18.min.json +3 -0
- package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +7 -1
- package/node_modules/aws-sdk/apis/osis-2022-01-01.min.json +77 -28
- package/node_modules/aws-sdk/apis/payment-cryptography-2021-09-14.min.json +10 -1
- package/node_modules/aws-sdk/apis/payment-cryptography-data-2022-02-03.min.json +544 -383
- package/node_modules/aws-sdk/apis/payment-cryptography-data-2022-02-03.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.min.json +456 -0
- package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.paginators.json +16 -0
- package/node_modules/aws-sdk/apis/pca-connector-scep-2018-05-10.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +153 -44
- package/node_modules/aws-sdk/apis/personalize-runtime-2018-05-22.min.json +9 -1
- package/node_modules/aws-sdk/apis/pi-2018-02-27.min.json +28 -18
- package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +403 -378
- package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.min.json +521 -99
- package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/pipes-2015-10-07.min.json +632 -555
- package/node_modules/aws-sdk/apis/pipes-2015-10-07.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/polly-2016-06-10.min.json +7 -1
- package/node_modules/aws-sdk/apis/qapps-2023-11-27.examples.json +583 -0
- package/node_modules/aws-sdk/apis/qapps-2023-11-27.min.json +1312 -0
- package/node_modules/aws-sdk/apis/qapps-2023-11-27.paginators.json +16 -0
- package/node_modules/aws-sdk/apis/qapps-2023-11-27.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.examples.json +2 -3
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.min.json +813 -689
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.paginators.json +1 -1
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/qconnect-2020-10-19.min.json +335 -108
- package/node_modules/aws-sdk/apis/qconnect-2020-10-19.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +2113 -1354
- package/node_modules/aws-sdk/apis/rds-2013-01-10.min.json +4 -1
- package/node_modules/aws-sdk/apis/rds-2013-02-12.min.json +4 -1
- package/node_modules/aws-sdk/apis/rds-2013-09-09.min.json +4 -1
- package/node_modules/aws-sdk/apis/rds-2014-09-01.min.json +4 -1
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +25 -10
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +7 -1
- package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +15 -3
- package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +63 -14
- package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json +7 -1
- package/node_modules/aws-sdk/apis/route53profiles-2018-05-10.min.json +3 -0
- package/node_modules/aws-sdk/apis/route53resolver-2018-04-01.min.json +62 -53
- package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +76 -76
- package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +46 -5
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1958 -1211
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +11 -1
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +7 -1
- package/node_modules/aws-sdk/apis/securitylake-2018-05-10.min.json +7 -1
- package/node_modules/aws-sdk/apis/sesv2-2019-09-27.min.json +148 -136
- package/node_modules/aws-sdk/apis/shield-2016-06-02.min.json +7 -1
- package/node_modules/aws-sdk/apis/signer-2017-08-25.min.json +3 -0
- package/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json +7 -1
- package/node_modules/aws-sdk/apis/sns-2010-03-31.min.json +7 -1
- package/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json +24 -14
- package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +14 -3
- package/node_modules/aws-sdk/apis/ssm-sap-2018-05-10.min.json +95 -0
- package/node_modules/aws-sdk/apis/ssm-sap-2018-05-10.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.examples.json +9 -0
- package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.min.json +32 -9
- package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +4 -1
- package/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json +30 -14
- package/node_modules/aws-sdk/apis/swf-2012-01-25.min.json +104 -68
- package/node_modules/aws-sdk/apis/taxsettings-2018-05-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/taxsettings-2018-05-10.min.json +658 -0
- package/node_modules/aws-sdk/apis/taxsettings-2018-05-10.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/timestream-query-2018-11-01.min.json +71 -23
- package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +101 -76
- package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +19 -8
- package/node_modules/aws-sdk/apis/trustedadvisor-2022-09-15.min.json +107 -46
- package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.min.json +345 -83
- package/node_modules/aws-sdk/apis/waf-2015-08-24.min.json +7 -1
- package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +46 -33
- package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +513 -76
- package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.min.json +30 -13
- package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.min.json +8 -1
- package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +162 -3
- package/node_modules/aws-sdk/clients/account.d.ts +84 -9
- package/node_modules/aws-sdk/clients/acm.d.ts +8 -8
- package/node_modules/aws-sdk/clients/acmpca.d.ts +40 -40
- package/node_modules/aws-sdk/clients/all.d.ts +6 -3
- package/node_modules/aws-sdk/clients/all.js +7 -4
- package/node_modules/aws-sdk/clients/amplify.d.ts +15 -14
- package/node_modules/aws-sdk/clients/applicationautoscaling.d.ts +43 -43
- package/node_modules/aws-sdk/clients/applicationsignals.d.ts +955 -0
- package/node_modules/aws-sdk/clients/applicationsignals.js +18 -0
- package/node_modules/aws-sdk/clients/apptest.d.ts +2019 -0
- package/node_modules/aws-sdk/clients/apptest.js +19 -0
- package/node_modules/aws-sdk/clients/arczonalshift.d.ts +66 -29
- package/node_modules/aws-sdk/clients/artifact.d.ts +68 -64
- package/node_modules/aws-sdk/clients/artifact.js +1 -0
- package/node_modules/aws-sdk/clients/athena.d.ts +5 -5
- package/node_modules/aws-sdk/clients/auditmanager.d.ts +45 -33
- package/node_modules/aws-sdk/clients/autoscaling.d.ts +67 -67
- package/node_modules/aws-sdk/clients/b2bi.d.ts +8 -8
- package/node_modules/aws-sdk/clients/batch.d.ts +54 -1
- package/node_modules/aws-sdk/clients/bedrock.d.ts +63 -14
- package/node_modules/aws-sdk/clients/bedrockagent.d.ts +2327 -211
- package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +666 -28
- package/node_modules/aws-sdk/clients/bedrockruntime.d.ts +849 -4
- package/node_modules/aws-sdk/clients/budgets.d.ts +84 -1
- package/node_modules/aws-sdk/clients/chatbot.d.ts +100 -0
- package/node_modules/aws-sdk/clients/chimesdkmediapipelines.d.ts +19 -15
- package/node_modules/aws-sdk/clients/chimesdkvoice.d.ts +9 -9
- package/node_modules/aws-sdk/clients/cloudformation.d.ts +11 -2
- package/node_modules/aws-sdk/clients/cloudfront.d.ts +7 -7
- package/node_modules/aws-sdk/clients/cloudhsmv2.d.ts +134 -34
- package/node_modules/aws-sdk/clients/cloudtrail.d.ts +29 -12
- package/node_modules/aws-sdk/clients/codeartifact.d.ts +28 -28
- package/node_modules/aws-sdk/clients/codebuild.d.ts +71 -24
- package/node_modules/aws-sdk/clients/codegurusecurity.d.ts +60 -55
- package/node_modules/aws-sdk/clients/codepipeline.d.ts +4 -4
- package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +1 -1
- package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +449 -47
- package/node_modules/aws-sdk/clients/connect.d.ts +935 -35
- package/node_modules/aws-sdk/clients/connectcases.d.ts +124 -1
- package/node_modules/aws-sdk/clients/controltower.d.ts +244 -44
- package/node_modules/aws-sdk/clients/costoptimizationhub.d.ts +380 -328
- package/node_modules/aws-sdk/clients/costoptimizationhub.js +1 -0
- package/node_modules/aws-sdk/clients/customerprofiles.d.ts +35 -5
- package/node_modules/aws-sdk/clients/datasync.d.ts +7 -7
- package/node_modules/aws-sdk/clients/datazone.d.ts +667 -5
- package/node_modules/aws-sdk/clients/directconnect.d.ts +40 -25
- package/node_modules/aws-sdk/clients/dynamodb.d.ts +114 -45
- package/node_modules/aws-sdk/clients/ec2.d.ts +423 -284
- package/node_modules/aws-sdk/clients/ecr.d.ts +2 -2
- package/node_modules/aws-sdk/clients/ecs.d.ts +47 -5
- package/node_modules/aws-sdk/clients/eks.d.ts +100 -20
- package/node_modules/aws-sdk/clients/elasticache.d.ts +6 -6
- package/node_modules/aws-sdk/clients/elbv2.d.ts +6 -6
- package/node_modules/aws-sdk/clients/emr.d.ts +12 -4
- package/node_modules/aws-sdk/clients/emrserverless.d.ts +191 -0
- package/node_modules/aws-sdk/clients/eventbridge.d.ts +111 -20
- package/node_modules/aws-sdk/clients/firehose.d.ts +73 -10
- package/node_modules/aws-sdk/clients/fms.d.ts +12 -7
- package/node_modules/aws-sdk/clients/fsx.d.ts +84 -36
- package/node_modules/aws-sdk/clients/globalaccelerator.d.ts +8 -0
- package/node_modules/aws-sdk/clients/glue.d.ts +504 -23
- package/node_modules/aws-sdk/clients/grafana.d.ts +297 -11
- package/node_modules/aws-sdk/clients/greengrassv2.d.ts +15 -5
- package/node_modules/aws-sdk/clients/guardduty.d.ts +277 -5
- package/node_modules/aws-sdk/clients/inspector2.d.ts +49 -3
- package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +11 -1
- package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +1 -1
- package/node_modules/aws-sdk/clients/iotwireless.d.ts +2 -2
- package/node_modules/aws-sdk/clients/ivsrealtime.d.ts +433 -235
- package/node_modules/aws-sdk/clients/ivsrealtime.js +1 -0
- package/node_modules/aws-sdk/clients/kafka.d.ts +35 -0
- package/node_modules/aws-sdk/clients/kinesisanalyticsv2.d.ts +147 -3
- package/node_modules/aws-sdk/clients/kms.d.ts +78 -12
- package/node_modules/aws-sdk/clients/lakeformation.d.ts +17 -0
- package/node_modules/aws-sdk/clients/launchwizard.d.ts +181 -8
- package/node_modules/aws-sdk/clients/licensemanagerlinuxsubscriptions.d.ts +249 -10
- package/node_modules/aws-sdk/clients/lightsail.d.ts +29 -25
- package/node_modules/aws-sdk/clients/location.d.ts +981 -677
- package/node_modules/aws-sdk/clients/macie2.d.ts +149 -44
- package/node_modules/aws-sdk/clients/mailmanager.d.ts +2320 -0
- package/node_modules/aws-sdk/clients/mailmanager.js +18 -0
- package/node_modules/aws-sdk/clients/managedblockchain.d.ts +4 -4
- package/node_modules/aws-sdk/clients/mediaconnect.d.ts +13 -0
- package/node_modules/aws-sdk/clients/mediaconvert.d.ts +77 -6
- package/node_modules/aws-sdk/clients/medialive.d.ts +8 -0
- package/node_modules/aws-sdk/clients/mediapackagev2.d.ts +57 -4
- package/node_modules/aws-sdk/clients/medicalimaging.d.ts +7 -2
- package/node_modules/aws-sdk/clients/mq.d.ts +15 -15
- package/node_modules/aws-sdk/clients/mwaa.d.ts +215 -189
- package/node_modules/aws-sdk/clients/networkmanager.d.ts +237 -11
- package/node_modules/aws-sdk/clients/omics.d.ts +89 -53
- package/node_modules/aws-sdk/clients/opensearch.d.ts +120 -3
- package/node_modules/aws-sdk/clients/opsworks.d.ts +117 -117
- package/node_modules/aws-sdk/clients/organizations.d.ts +2 -2
- package/node_modules/aws-sdk/clients/osis.d.ts +89 -5
- package/node_modules/aws-sdk/clients/paymentcryptography.d.ts +3 -3
- package/node_modules/aws-sdk/clients/paymentcryptographydata.d.ts +358 -311
- package/node_modules/aws-sdk/clients/paymentcryptographydata.js +1 -0
- package/node_modules/aws-sdk/clients/pcaconnectorscep.d.ts +486 -0
- package/node_modules/aws-sdk/clients/pcaconnectorscep.js +19 -0
- package/node_modules/aws-sdk/clients/personalize.d.ts +160 -1
- package/node_modules/aws-sdk/clients/personalizeruntime.d.ts +6 -0
- package/node_modules/aws-sdk/clients/pi.d.ts +17 -10
- package/node_modules/aws-sdk/clients/pinpoint.d.ts +27 -0
- package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +514 -8
- package/node_modules/aws-sdk/clients/pipes.d.ts +455 -348
- package/node_modules/aws-sdk/clients/pipes.js +1 -0
- package/node_modules/aws-sdk/clients/polly.d.ts +9 -9
- package/node_modules/aws-sdk/clients/qapps.d.ts +1442 -0
- package/node_modules/aws-sdk/clients/qapps.js +19 -0
- package/node_modules/aws-sdk/clients/qbusiness.d.ts +855 -699
- package/node_modules/aws-sdk/clients/qbusiness.js +1 -0
- package/node_modules/aws-sdk/clients/qconnect.d.ts +219 -1
- package/node_modules/aws-sdk/clients/quicksight.d.ts +901 -14
- package/node_modules/aws-sdk/clients/rds.d.ts +67 -19
- package/node_modules/aws-sdk/clients/redshift.d.ts +16 -16
- package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +17 -7
- package/node_modules/aws-sdk/clients/rekognition.d.ts +11 -3
- package/node_modules/aws-sdk/clients/resiliencehub.d.ts +80 -15
- package/node_modules/aws-sdk/clients/route53profiles.d.ts +4 -4
- package/node_modules/aws-sdk/clients/route53resolver.d.ts +18 -5
- package/node_modules/aws-sdk/clients/s3.d.ts +34 -10
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +1065 -59
- package/node_modules/aws-sdk/clients/secretsmanager.d.ts +20 -15
- package/node_modules/aws-sdk/clients/securityhub.d.ts +71 -71
- package/node_modules/aws-sdk/clients/securitylake.d.ts +3 -3
- package/node_modules/aws-sdk/clients/sesv2.d.ts +28 -10
- package/node_modules/aws-sdk/clients/signer.d.ts +3 -3
- package/node_modules/aws-sdk/clients/sns.d.ts +7 -7
- package/node_modules/aws-sdk/clients/sqs.d.ts +24 -19
- package/node_modules/aws-sdk/clients/ssmsap.d.ts +121 -1
- package/node_modules/aws-sdk/clients/ssooidc.d.ts +32 -4
- package/node_modules/aws-sdk/clients/storagegateway.d.ts +37 -22
- package/node_modules/aws-sdk/clients/swf.d.ts +38 -2
- package/node_modules/aws-sdk/clients/taxsettings.d.ts +809 -0
- package/node_modules/aws-sdk/clients/taxsettings.js +18 -0
- package/node_modules/aws-sdk/clients/timestreamquery.d.ts +54 -0
- package/node_modules/aws-sdk/clients/transcribeservice.d.ts +32 -0
- package/node_modules/aws-sdk/clients/transfer.d.ts +5 -5
- package/node_modules/aws-sdk/clients/trustedadvisor.d.ts +66 -2
- package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +300 -14
- package/node_modules/aws-sdk/clients/vpclattice.d.ts +81 -81
- package/node_modules/aws-sdk/clients/wafv2.d.ts +35 -5
- package/node_modules/aws-sdk/clients/workspaces.d.ts +598 -6
- package/node_modules/aws-sdk/clients/workspacesthinclient.d.ts +15 -0
- package/node_modules/aws-sdk/clients/workspacesweb.d.ts +21 -1
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +9 -5
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +2141 -1908
- package/node_modules/aws-sdk/dist/aws-sdk.js +4544 -2431
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +107 -106
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +12 -6
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/credentials/cognito_identity_credentials.js +9 -0
- package/node_modules/aws-sdk/lib/credentials/sso_credentials.js +1 -1
- package/node_modules/aws-sdk/lib/credentials/token_file_web_identity_credentials.d.ts +2 -2
- package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +86 -17
- package/node_modules/aws-sdk/lib/metadata_service.d.ts +4 -0
- package/node_modules/aws-sdk/lib/metadata_service.js +1 -2
- package/node_modules/aws-sdk/lib/protocol/rest_json.js +2 -1
- package/node_modules/aws-sdk/lib/query/query_param_serializer.js +3 -1
- package/node_modules/aws-sdk/lib/region_config.js +2 -1
- package/node_modules/aws-sdk/lib/services/s3.js +51 -6
- package/node_modules/aws-sdk/lib/shared-ini/ini-loader.d.ts +24 -1
- package/node_modules/aws-sdk/lib/shared-ini/ini-loader.js +0 -6
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/aws-sdk/scripts/region-checker/allowlist.js +10 -10
- package/node_modules/xml2js/node_modules/sax/LICENSE +2 -2
- package/node_modules/xml2js/node_modules/sax/README.md +3 -0
- package/node_modules/xml2js/node_modules/sax/lib/sax.js +33 -10
- package/node_modules/xml2js/node_modules/sax/package.json +1 -1
- package/package.json +17 -15
- package/node_modules/aws-sdk/apis/alexaforbusiness-2017-11-09.min.json +0 -2905
- package/node_modules/aws-sdk/apis/alexaforbusiness-2017-11-09.paginators.json +0 -94
- package/node_modules/aws-sdk/apis/backupstorage-2018-04-10.min.json +0 -522
- package/node_modules/aws-sdk/apis/backupstorage-2018-04-10.paginators.json +0 -14
- package/node_modules/aws-sdk/apis/honeycode-2020-03-01.min.json +0 -962
- package/node_modules/aws-sdk/apis/honeycode-2020-03-01.paginators.json +0 -27
- package/node_modules/aws-sdk/clients/alexaforbusiness.d.ts +0 -3862
- package/node_modules/aws-sdk/clients/alexaforbusiness.js +0 -18
- package/node_modules/aws-sdk/clients/backupstorage.d.ts +0 -469
- package/node_modules/aws-sdk/clients/backupstorage.js +0 -18
- package/node_modules/aws-sdk/clients/honeycode.d.ts +0 -910
- package/node_modules/aws-sdk/clients/honeycode.js +0 -18
- /package/node_modules/aws-sdk/apis/{alexaforbusiness-2017-11-09.examples.json → application-signals-2024-04-15.examples.json} +0 -0
- /package/node_modules/aws-sdk/apis/{backupstorage-2018-04-10.examples.json → apptest-2022-12-06.examples.json} +0 -0
- /package/node_modules/aws-sdk/apis/{honeycode-2020-03-01.examples.json → mailmanager-2023-10-17.examples.json} +0 -0
@@ -13,13 +13,37 @@ declare class BedrockAgentRuntime extends Service {
|
|
13
13
|
constructor(options?: BedrockAgentRuntime.Types.ClientConfiguration)
|
14
14
|
config: Config & BedrockAgentRuntime.Types.ClientConfiguration;
|
15
15
|
/**
|
16
|
-
*
|
16
|
+
* Deletes memory from the specified memory identifier.
|
17
|
+
*/
|
18
|
+
deleteAgentMemory(params: BedrockAgentRuntime.Types.DeleteAgentMemoryRequest, callback?: (err: AWSError, data: BedrockAgentRuntime.Types.DeleteAgentMemoryResponse) => void): Request<BedrockAgentRuntime.Types.DeleteAgentMemoryResponse, AWSError>;
|
19
|
+
/**
|
20
|
+
* Deletes memory from the specified memory identifier.
|
21
|
+
*/
|
22
|
+
deleteAgentMemory(callback?: (err: AWSError, data: BedrockAgentRuntime.Types.DeleteAgentMemoryResponse) => void): Request<BedrockAgentRuntime.Types.DeleteAgentMemoryResponse, AWSError>;
|
23
|
+
/**
|
24
|
+
* Gets the sessions stored in the memory of the agent.
|
25
|
+
*/
|
26
|
+
getAgentMemory(params: BedrockAgentRuntime.Types.GetAgentMemoryRequest, callback?: (err: AWSError, data: BedrockAgentRuntime.Types.GetAgentMemoryResponse) => void): Request<BedrockAgentRuntime.Types.GetAgentMemoryResponse, AWSError>;
|
27
|
+
/**
|
28
|
+
* Gets the sessions stored in the memory of the agent.
|
29
|
+
*/
|
30
|
+
getAgentMemory(callback?: (err: AWSError, data: BedrockAgentRuntime.Types.GetAgentMemoryResponse) => void): Request<BedrockAgentRuntime.Types.GetAgentMemoryResponse, AWSError>;
|
31
|
+
/**
|
32
|
+
* The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeAgent. Sends a prompt for the agent to process and respond to. Note the following fields for the request: To continue the same conversation with an agent, use the same sessionId value in the request. To activate trace enablement, turn enableTrace to true. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see Trace enablement. End a conversation by setting endSession to true. In the sessionState object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group. The response is returned in the bytes field of the chunk object. The attribution object contains citations for parts of the response. If you set enableTrace to true in the request, you can trace the agent's steps and reasoning process that led it to the response. If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the returnControl field. Errors are also surfaced in the response.
|
17
33
|
*/
|
18
34
|
invokeAgent(params: BedrockAgentRuntime.Types.InvokeAgentRequest, callback?: (err: AWSError, data: BedrockAgentRuntime.Types.InvokeAgentResponse) => void): Request<BedrockAgentRuntime.Types.InvokeAgentResponse, AWSError>;
|
19
35
|
/**
|
20
|
-
* Sends a prompt for the agent to process and respond to.
|
36
|
+
* The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeAgent. Sends a prompt for the agent to process and respond to. Note the following fields for the request: To continue the same conversation with an agent, use the same sessionId value in the request. To activate trace enablement, turn enableTrace to true. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see Trace enablement. End a conversation by setting endSession to true. In the sessionState object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group. The response is returned in the bytes field of the chunk object. The attribution object contains citations for parts of the response. If you set enableTrace to true in the request, you can trace the agent's steps and reasoning process that led it to the response. If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the returnControl field. Errors are also surfaced in the response.
|
21
37
|
*/
|
22
38
|
invokeAgent(callback?: (err: AWSError, data: BedrockAgentRuntime.Types.InvokeAgentResponse) => void): Request<BedrockAgentRuntime.Types.InvokeAgentResponse, AWSError>;
|
39
|
+
/**
|
40
|
+
* Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
|
41
|
+
*/
|
42
|
+
invokeFlow(params: BedrockAgentRuntime.Types.InvokeFlowRequest, callback?: (err: AWSError, data: BedrockAgentRuntime.Types.InvokeFlowResponse) => void): Request<BedrockAgentRuntime.Types.InvokeFlowResponse, AWSError>;
|
43
|
+
/**
|
44
|
+
* Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
|
45
|
+
*/
|
46
|
+
invokeFlow(callback?: (err: AWSError, data: BedrockAgentRuntime.Types.InvokeFlowResponse) => void): Request<BedrockAgentRuntime.Types.InvokeFlowResponse, AWSError>;
|
23
47
|
/**
|
24
48
|
* Queries a knowledge base and retrieves information from it.
|
25
49
|
*/
|
@@ -50,10 +74,18 @@ declare namespace BedrockAgentRuntime {
|
|
50
74
|
* The path to the API to call, based off the action group.
|
51
75
|
*/
|
52
76
|
apiPath?: ApiPath;
|
77
|
+
/**
|
78
|
+
* How fulfillment of the action is handled. For more information, see Handling fulfillment of the action.
|
79
|
+
*/
|
80
|
+
executionType?: ExecutionType;
|
53
81
|
/**
|
54
82
|
* The function in the action group to call.
|
55
83
|
*/
|
56
84
|
function?: Function;
|
85
|
+
/**
|
86
|
+
* The unique identifier of the invocation. Only returned if the executionType is RETURN_CONTROL.
|
87
|
+
*/
|
88
|
+
invocationId?: String;
|
57
89
|
/**
|
58
90
|
* The parameters in the Lambda input event.
|
59
91
|
*/
|
@@ -75,6 +107,10 @@ declare namespace BedrockAgentRuntime {
|
|
75
107
|
}
|
76
108
|
export type ActionGroupName = string;
|
77
109
|
export type ActionGroupOutputString = string;
|
110
|
+
export type AdditionalModelRequestFields = {[key: string]: AdditionalModelRequestFieldsValue};
|
111
|
+
export type AdditionalModelRequestFieldsKey = string;
|
112
|
+
export interface AdditionalModelRequestFieldsValue {
|
113
|
+
}
|
78
114
|
export type AgentAliasId = string;
|
79
115
|
export type AgentId = string;
|
80
116
|
export type AgentVersion = string;
|
@@ -141,7 +177,7 @@ declare namespace BedrockAgentRuntime {
|
|
141
177
|
*/
|
142
178
|
httpStatusCode?: Integer;
|
143
179
|
/**
|
144
|
-
* The response body from the API operation. The key of the object is the content type. The response may be returned directly or from the Lambda function.
|
180
|
+
* The response body from the API operation. The key of the object is the content type (currently, only TEXT is supported). The response may be returned directly or from the Lambda function.
|
145
181
|
*/
|
146
182
|
responseBody?: ResponseBody;
|
147
183
|
/**
|
@@ -179,6 +215,16 @@ declare namespace BedrockAgentRuntime {
|
|
179
215
|
*/
|
180
216
|
identifier: Identifier;
|
181
217
|
}
|
218
|
+
export interface ByteContentFile {
|
219
|
+
/**
|
220
|
+
* The byte value of the file to attach, encoded as Base-64 string. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files.
|
221
|
+
*/
|
222
|
+
data: ByteContentBlob;
|
223
|
+
/**
|
224
|
+
* The MIME type of data contained in the file used for chat.
|
225
|
+
*/
|
226
|
+
mediaType: MimeType;
|
227
|
+
}
|
182
228
|
export interface Citation {
|
183
229
|
/**
|
184
230
|
* Contains the generated response and metadata
|
@@ -190,6 +236,34 @@ declare namespace BedrockAgentRuntime {
|
|
190
236
|
retrievedReferences?: RetrievedReferences;
|
191
237
|
}
|
192
238
|
export type Citations = Citation[];
|
239
|
+
export interface CodeInterpreterInvocationInput {
|
240
|
+
/**
|
241
|
+
* The code for the code interpreter to use.
|
242
|
+
*/
|
243
|
+
code?: String;
|
244
|
+
/**
|
245
|
+
* Files that are uploaded for code interpreter to use.
|
246
|
+
*/
|
247
|
+
files?: Files;
|
248
|
+
}
|
249
|
+
export interface CodeInterpreterInvocationOutput {
|
250
|
+
/**
|
251
|
+
* Contains the error returned from code execution.
|
252
|
+
*/
|
253
|
+
executionError?: String;
|
254
|
+
/**
|
255
|
+
* Contains the successful output returned from code execution
|
256
|
+
*/
|
257
|
+
executionOutput?: String;
|
258
|
+
/**
|
259
|
+
* Indicates if the execution of the code timed out.
|
260
|
+
*/
|
261
|
+
executionTimeout?: Boolean;
|
262
|
+
/**
|
263
|
+
* Contains output files, if generated by code execution.
|
264
|
+
*/
|
265
|
+
files?: Files;
|
266
|
+
}
|
193
267
|
export interface ConflictException {
|
194
268
|
message?: NonBlankString;
|
195
269
|
}
|
@@ -202,6 +276,23 @@ declare namespace BedrockAgentRuntime {
|
|
202
276
|
export type ContentMap = {[key: string]: Parameters};
|
203
277
|
export type ContentType = string;
|
204
278
|
export type CreationMode = "DEFAULT"|"OVERRIDDEN"|string;
|
279
|
+
export type DateTimestamp = Date;
|
280
|
+
export interface DeleteAgentMemoryRequest {
|
281
|
+
/**
|
282
|
+
* The unique identifier of an alias of an agent.
|
283
|
+
*/
|
284
|
+
agentAliasId: AgentAliasId;
|
285
|
+
/**
|
286
|
+
* The unique identifier of the agent to which the alias belongs.
|
287
|
+
*/
|
288
|
+
agentId: AgentId;
|
289
|
+
/**
|
290
|
+
* The unique identifier of the memory.
|
291
|
+
*/
|
292
|
+
memoryId?: MemoryId;
|
293
|
+
}
|
294
|
+
export interface DeleteAgentMemoryResponse {
|
295
|
+
}
|
205
296
|
export interface DependencyFailedException {
|
206
297
|
message?: NonBlankString;
|
207
298
|
/**
|
@@ -209,7 +300,10 @@ declare namespace BedrockAgentRuntime {
|
|
209
300
|
*/
|
210
301
|
resourceName?: NonBlankString;
|
211
302
|
}
|
303
|
+
export interface Document {
|
304
|
+
}
|
212
305
|
export type Double = number;
|
306
|
+
export type ExecutionType = "LAMBDA"|"RETURN_CONTROL"|string;
|
213
307
|
export interface ExternalSource {
|
214
308
|
/**
|
215
309
|
* The identifier, contentType, and data of the external source wrapper object.
|
@@ -227,6 +321,18 @@ declare namespace BedrockAgentRuntime {
|
|
227
321
|
export type ExternalSourceType = "S3"|"BYTE_CONTENT"|string;
|
228
322
|
export type ExternalSources = ExternalSource[];
|
229
323
|
export interface ExternalSourcesGenerationConfiguration {
|
324
|
+
/**
|
325
|
+
* Additional model parameters and their corresponding values not included in the textInferenceConfig structure for an external source. Takes in custom model parameters specific to the language model being used.
|
326
|
+
*/
|
327
|
+
additionalModelRequestFields?: AdditionalModelRequestFields;
|
328
|
+
/**
|
329
|
+
* The configuration details for the guardrail.
|
330
|
+
*/
|
331
|
+
guardrailConfiguration?: GuardrailConfiguration;
|
332
|
+
/**
|
333
|
+
* Configuration settings for inference when using RetrieveAndGenerate to generate responses while using an external source.
|
334
|
+
*/
|
335
|
+
inferenceConfig?: InferenceConfig;
|
230
336
|
/**
|
231
337
|
* Contain the textPromptTemplate string for the external source wrapper object.
|
232
338
|
*/
|
@@ -257,6 +363,30 @@ declare namespace BedrockAgentRuntime {
|
|
257
363
|
*/
|
258
364
|
traceId?: TraceId;
|
259
365
|
}
|
366
|
+
export type FileBody = Buffer|Uint8Array|Blob|string;
|
367
|
+
export interface FilePart {
|
368
|
+
/**
|
369
|
+
* Files containing intermediate response for the user.
|
370
|
+
*/
|
371
|
+
files?: OutputFiles;
|
372
|
+
}
|
373
|
+
export interface FileSource {
|
374
|
+
/**
|
375
|
+
* The data and the text of the attached files.
|
376
|
+
*/
|
377
|
+
byteContent?: ByteContentFile;
|
378
|
+
/**
|
379
|
+
* The s3 location of the files to attach.
|
380
|
+
*/
|
381
|
+
s3Location?: S3ObjectFile;
|
382
|
+
/**
|
383
|
+
* The source type of the files to attach.
|
384
|
+
*/
|
385
|
+
sourceType: FileSourceType;
|
386
|
+
}
|
387
|
+
export type FileSourceType = "S3"|"BYTE_CONTENT"|string;
|
388
|
+
export type FileUseCase = "CODE_INTERPRETER"|"CHAT"|string;
|
389
|
+
export type Files = String[];
|
260
390
|
export interface FilterAttribute {
|
261
391
|
/**
|
262
392
|
* The name that the metadata attribute must match.
|
@@ -277,6 +407,57 @@ declare namespace BedrockAgentRuntime {
|
|
277
407
|
text?: FinalResponseString;
|
278
408
|
}
|
279
409
|
export type FinalResponseString = string;
|
410
|
+
export type FlowAliasIdentifier = string;
|
411
|
+
export interface FlowCompletionEvent {
|
412
|
+
/**
|
413
|
+
* The reason that the flow completed.
|
414
|
+
*/
|
415
|
+
completionReason: FlowCompletionReason;
|
416
|
+
}
|
417
|
+
export type FlowCompletionReason = "SUCCESS"|string;
|
418
|
+
export type FlowIdentifier = string;
|
419
|
+
export interface FlowInput {
|
420
|
+
/**
|
421
|
+
* Contains information about an input into the flow.
|
422
|
+
*/
|
423
|
+
content: FlowInputContent;
|
424
|
+
/**
|
425
|
+
* A name for the input of the flow input node.
|
426
|
+
*/
|
427
|
+
nodeName: NodeName;
|
428
|
+
/**
|
429
|
+
* A name for the output of the flow input node.
|
430
|
+
*/
|
431
|
+
nodeOutputName: NodeOutputName;
|
432
|
+
}
|
433
|
+
export interface FlowInputContent {
|
434
|
+
/**
|
435
|
+
* The input for the flow input node.
|
436
|
+
*/
|
437
|
+
document?: Document;
|
438
|
+
}
|
439
|
+
export type FlowInputs = FlowInput[];
|
440
|
+
export interface FlowOutputContent {
|
441
|
+
/**
|
442
|
+
* A name for the output of the flow.
|
443
|
+
*/
|
444
|
+
document?: Document;
|
445
|
+
}
|
446
|
+
export interface FlowOutputEvent {
|
447
|
+
/**
|
448
|
+
* The output of the node.
|
449
|
+
*/
|
450
|
+
content: FlowOutputContent;
|
451
|
+
/**
|
452
|
+
* The name of the node to which input was provided.
|
453
|
+
*/
|
454
|
+
nodeName: NodeName;
|
455
|
+
/**
|
456
|
+
* The type of node to which input was provided.
|
457
|
+
*/
|
458
|
+
nodeType: NodeType;
|
459
|
+
}
|
460
|
+
export type FlowResponseStream = EventStream<{accessDeniedException?:AccessDeniedException,badGatewayException?:BadGatewayException,conflictException?:ConflictException,dependencyFailedException?:DependencyFailedException,flowCompletionEvent?:FlowCompletionEvent,flowOutputEvent?:FlowOutputEvent,internalServerException?:InternalServerException,resourceNotFoundException?:ResourceNotFoundException,serviceQuotaExceededException?:ServiceQuotaExceededException,throttlingException?:ThrottlingException,validationException?:ValidationException}>;
|
280
461
|
export type Function = string;
|
281
462
|
export interface FunctionInvocationInput {
|
282
463
|
/**
|
@@ -317,7 +498,7 @@ declare namespace BedrockAgentRuntime {
|
|
317
498
|
*/
|
318
499
|
function?: String;
|
319
500
|
/**
|
320
|
-
* The response from the function call using the parameters. The response may be returned directly or from the Lambda function.
|
501
|
+
* The response from the function call using the parameters. The key of the object is the content type (currently, only TEXT is supported). The response may be returned directly or from the Lambda function.
|
321
502
|
*/
|
322
503
|
responseBody?: ResponseBody;
|
323
504
|
/**
|
@@ -332,12 +513,248 @@ declare namespace BedrockAgentRuntime {
|
|
332
513
|
textResponsePart?: TextResponsePart;
|
333
514
|
}
|
334
515
|
export interface GenerationConfiguration {
|
516
|
+
/**
|
517
|
+
* Additional model parameters and corresponding values not included in the textInferenceConfig structure for a knowledge base. This allows users to provide custom model parameters specific to the language model being used.
|
518
|
+
*/
|
519
|
+
additionalModelRequestFields?: AdditionalModelRequestFields;
|
520
|
+
/**
|
521
|
+
* The configuration details for the guardrail.
|
522
|
+
*/
|
523
|
+
guardrailConfiguration?: GuardrailConfiguration;
|
524
|
+
/**
|
525
|
+
* Configuration settings for inference when using RetrieveAndGenerate to generate responses while using a knowledge base as a source.
|
526
|
+
*/
|
527
|
+
inferenceConfig?: InferenceConfig;
|
335
528
|
/**
|
336
529
|
* Contains the template for the prompt that's sent to the model for response generation.
|
337
530
|
*/
|
338
531
|
promptTemplate?: PromptTemplate;
|
339
532
|
}
|
533
|
+
export interface GetAgentMemoryRequest {
|
534
|
+
/**
|
535
|
+
* The unique identifier of an alias of an agent.
|
536
|
+
*/
|
537
|
+
agentAliasId: AgentAliasId;
|
538
|
+
/**
|
539
|
+
* The unique identifier of the agent to which the alias belongs.
|
540
|
+
*/
|
541
|
+
agentId: AgentId;
|
542
|
+
/**
|
543
|
+
* The maximum number of items 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.
|
544
|
+
*/
|
545
|
+
maxItems?: MaxResults;
|
546
|
+
/**
|
547
|
+
* The unique identifier of the memory.
|
548
|
+
*/
|
549
|
+
memoryId: MemoryId;
|
550
|
+
/**
|
551
|
+
* The type of memory.
|
552
|
+
*/
|
553
|
+
memoryType: MemoryType;
|
554
|
+
/**
|
555
|
+
* If the total number of results is greater than the maxItems 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.
|
556
|
+
*/
|
557
|
+
nextToken?: NextToken;
|
558
|
+
}
|
559
|
+
export interface GetAgentMemoryResponse {
|
560
|
+
/**
|
561
|
+
* Contains details of the sessions stored in the memory
|
562
|
+
*/
|
563
|
+
memoryContents?: Memories;
|
564
|
+
/**
|
565
|
+
* If the total number of results is greater than the maxItems value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
|
566
|
+
*/
|
567
|
+
nextToken?: NextToken;
|
568
|
+
}
|
569
|
+
export type GuadrailAction = "INTERVENED"|"NONE"|string;
|
570
|
+
export type GuardrailAction = "INTERVENED"|"NONE"|string;
|
571
|
+
export interface GuardrailAssessment {
|
572
|
+
/**
|
573
|
+
* Content policy details of the Guardrail.
|
574
|
+
*/
|
575
|
+
contentPolicy?: GuardrailContentPolicyAssessment;
|
576
|
+
/**
|
577
|
+
* Sensitive Information policy details of Guardrail.
|
578
|
+
*/
|
579
|
+
sensitiveInformationPolicy?: GuardrailSensitiveInformationPolicyAssessment;
|
580
|
+
/**
|
581
|
+
* Topic policy details of the Guardrail.
|
582
|
+
*/
|
583
|
+
topicPolicy?: GuardrailTopicPolicyAssessment;
|
584
|
+
/**
|
585
|
+
* Word policy details of the Guardrail.
|
586
|
+
*/
|
587
|
+
wordPolicy?: GuardrailWordPolicyAssessment;
|
588
|
+
}
|
589
|
+
export type GuardrailAssessmentList = GuardrailAssessment[];
|
590
|
+
export interface GuardrailConfiguration {
|
591
|
+
/**
|
592
|
+
* The unique identifier for the guardrail.
|
593
|
+
*/
|
594
|
+
guardrailId: GuardrailConfigurationGuardrailIdString;
|
595
|
+
/**
|
596
|
+
* The version of the guardrail.
|
597
|
+
*/
|
598
|
+
guardrailVersion: GuardrailConfigurationGuardrailVersionString;
|
599
|
+
}
|
600
|
+
export type GuardrailConfigurationGuardrailIdString = string;
|
601
|
+
export type GuardrailConfigurationGuardrailVersionString = string;
|
602
|
+
export interface GuardrailContentFilter {
|
603
|
+
/**
|
604
|
+
* The action placed on the content by the Guardrail filter.
|
605
|
+
*/
|
606
|
+
action?: GuardrailContentPolicyAction;
|
607
|
+
/**
|
608
|
+
* The confidence level regarding the content detected in the filter by the Guardrail.
|
609
|
+
*/
|
610
|
+
confidence?: GuardrailContentFilterConfidence;
|
611
|
+
/**
|
612
|
+
* The type of content detected in the filter by the Guardrail.
|
613
|
+
*/
|
614
|
+
type?: GuardrailContentFilterType;
|
615
|
+
}
|
616
|
+
export type GuardrailContentFilterConfidence = "NONE"|"LOW"|"MEDIUM"|"HIGH"|string;
|
617
|
+
export type GuardrailContentFilterList = GuardrailContentFilter[];
|
618
|
+
export type GuardrailContentFilterType = "INSULTS"|"HATE"|"SEXUAL"|"VIOLENCE"|"MISCONDUCT"|"PROMPT_ATTACK"|string;
|
619
|
+
export type GuardrailContentPolicyAction = "BLOCKED"|string;
|
620
|
+
export interface GuardrailContentPolicyAssessment {
|
621
|
+
/**
|
622
|
+
* The filter details of the policy assessment used in the Guardrails filter.
|
623
|
+
*/
|
624
|
+
filters?: GuardrailContentFilterList;
|
625
|
+
}
|
626
|
+
export interface GuardrailCustomWord {
|
627
|
+
/**
|
628
|
+
* The action details for the custom word filter in the Guardrail.
|
629
|
+
*/
|
630
|
+
action?: GuardrailWordPolicyAction;
|
631
|
+
/**
|
632
|
+
* The match details for the custom word filter in the Guardrail.
|
633
|
+
*/
|
634
|
+
match?: String;
|
635
|
+
}
|
636
|
+
export type GuardrailCustomWordList = GuardrailCustomWord[];
|
637
|
+
export interface GuardrailManagedWord {
|
638
|
+
/**
|
639
|
+
* The action details for the managed word filter in the Guardrail.
|
640
|
+
*/
|
641
|
+
action?: GuardrailWordPolicyAction;
|
642
|
+
/**
|
643
|
+
* The match details for the managed word filter in the Guardrail.
|
644
|
+
*/
|
645
|
+
match?: String;
|
646
|
+
/**
|
647
|
+
* The type details for the managed word filter in the Guardrail.
|
648
|
+
*/
|
649
|
+
type?: GuardrailManagedWordType;
|
650
|
+
}
|
651
|
+
export type GuardrailManagedWordList = GuardrailManagedWord[];
|
652
|
+
export type GuardrailManagedWordType = "PROFANITY"|string;
|
653
|
+
export interface GuardrailPiiEntityFilter {
|
654
|
+
/**
|
655
|
+
* The action of the Guardrail filter to identify and remove PII.
|
656
|
+
*/
|
657
|
+
action?: GuardrailSensitiveInformationPolicyAction;
|
658
|
+
/**
|
659
|
+
* The match to settings in the Guardrail filter to identify and remove PII.
|
660
|
+
*/
|
661
|
+
match?: String;
|
662
|
+
/**
|
663
|
+
* The type of PII the Guardrail filter has identified and removed.
|
664
|
+
*/
|
665
|
+
type?: GuardrailPiiEntityType;
|
666
|
+
}
|
667
|
+
export type GuardrailPiiEntityFilterList = GuardrailPiiEntityFilter[];
|
668
|
+
export type GuardrailPiiEntityType = "ADDRESS"|"AGE"|"AWS_ACCESS_KEY"|"AWS_SECRET_KEY"|"CA_HEALTH_NUMBER"|"CA_SOCIAL_INSURANCE_NUMBER"|"CREDIT_DEBIT_CARD_CVV"|"CREDIT_DEBIT_CARD_EXPIRY"|"CREDIT_DEBIT_CARD_NUMBER"|"DRIVER_ID"|"EMAIL"|"INTERNATIONAL_BANK_ACCOUNT_NUMBER"|"IP_ADDRESS"|"LICENSE_PLATE"|"MAC_ADDRESS"|"NAME"|"PASSWORD"|"PHONE"|"PIN"|"SWIFT_CODE"|"UK_NATIONAL_HEALTH_SERVICE_NUMBER"|"UK_NATIONAL_INSURANCE_NUMBER"|"UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER"|"URL"|"USERNAME"|"US_BANK_ACCOUNT_NUMBER"|"US_BANK_ROUTING_NUMBER"|"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER"|"US_PASSPORT_NUMBER"|"US_SOCIAL_SECURITY_NUMBER"|"VEHICLE_IDENTIFICATION_NUMBER"|string;
|
669
|
+
export interface GuardrailRegexFilter {
|
670
|
+
/**
|
671
|
+
* The action details for the regex filter used in the Guardrail.
|
672
|
+
*/
|
673
|
+
action?: GuardrailSensitiveInformationPolicyAction;
|
674
|
+
/**
|
675
|
+
* The match details for the regex filter used in the Guardrail.
|
676
|
+
*/
|
677
|
+
match?: String;
|
678
|
+
/**
|
679
|
+
* The name details for the regex filter used in the Guardrail.
|
680
|
+
*/
|
681
|
+
name?: String;
|
682
|
+
/**
|
683
|
+
* The regex details for the regex filter used in the Guardrail.
|
684
|
+
*/
|
685
|
+
regex?: String;
|
686
|
+
}
|
687
|
+
export type GuardrailRegexFilterList = GuardrailRegexFilter[];
|
688
|
+
export type GuardrailSensitiveInformationPolicyAction = "BLOCKED"|"ANONYMIZED"|string;
|
689
|
+
export interface GuardrailSensitiveInformationPolicyAssessment {
|
690
|
+
/**
|
691
|
+
* The details of the PII entities used in the sensitive policy assessment for the Guardrail.
|
692
|
+
*/
|
693
|
+
piiEntities?: GuardrailPiiEntityFilterList;
|
694
|
+
/**
|
695
|
+
* The details of the regexes used in the sensitive policy assessment for the Guardrail.
|
696
|
+
*/
|
697
|
+
regexes?: GuardrailRegexFilterList;
|
698
|
+
}
|
699
|
+
export interface GuardrailTopic {
|
700
|
+
/**
|
701
|
+
* The action details on a specific topic in the Guardrail.
|
702
|
+
*/
|
703
|
+
action?: GuardrailTopicPolicyAction;
|
704
|
+
/**
|
705
|
+
* The name details on a specific topic in the Guardrail.
|
706
|
+
*/
|
707
|
+
name?: String;
|
708
|
+
/**
|
709
|
+
* The type details on a specific topic in the Guardrail.
|
710
|
+
*/
|
711
|
+
type?: GuardrailTopicType;
|
712
|
+
}
|
713
|
+
export type GuardrailTopicList = GuardrailTopic[];
|
714
|
+
export type GuardrailTopicPolicyAction = "BLOCKED"|string;
|
715
|
+
export interface GuardrailTopicPolicyAssessment {
|
716
|
+
/**
|
717
|
+
* The topic details of the policy assessment used in the Guardrail.
|
718
|
+
*/
|
719
|
+
topics?: GuardrailTopicList;
|
720
|
+
}
|
721
|
+
export type GuardrailTopicType = "DENY"|string;
|
722
|
+
export interface GuardrailTrace {
|
723
|
+
/**
|
724
|
+
* The trace action details used with the Guardrail.
|
725
|
+
*/
|
726
|
+
action?: GuardrailAction;
|
727
|
+
/**
|
728
|
+
* The details of the input assessments used in the Guardrail Trace.
|
729
|
+
*/
|
730
|
+
inputAssessments?: GuardrailAssessmentList;
|
731
|
+
/**
|
732
|
+
* The details of the output assessments used in the Guardrail Trace.
|
733
|
+
*/
|
734
|
+
outputAssessments?: GuardrailAssessmentList;
|
735
|
+
/**
|
736
|
+
* The details of the trace Id used in the Guardrail Trace.
|
737
|
+
*/
|
738
|
+
traceId?: TraceId;
|
739
|
+
}
|
740
|
+
export type GuardrailWordPolicyAction = "BLOCKED"|string;
|
741
|
+
export interface GuardrailWordPolicyAssessment {
|
742
|
+
/**
|
743
|
+
* The custom word details for words defined in the Guardrail filter.
|
744
|
+
*/
|
745
|
+
customWords?: GuardrailCustomWordList;
|
746
|
+
/**
|
747
|
+
* The managed word lists for words defined in the Guardrail filter.
|
748
|
+
*/
|
749
|
+
managedWordLists?: GuardrailManagedWordList;
|
750
|
+
}
|
340
751
|
export type Identifier = string;
|
752
|
+
export interface InferenceConfig {
|
753
|
+
/**
|
754
|
+
* Configuration settings specific to text generation while generating responses using RetrieveAndGenerate.
|
755
|
+
*/
|
756
|
+
textInferenceConfig?: TextInferenceConfig;
|
757
|
+
}
|
341
758
|
export interface InferenceConfiguration {
|
342
759
|
/**
|
343
760
|
* The maximum number of tokens allowed in the generated response.
|
@@ -360,6 +777,21 @@ declare namespace BedrockAgentRuntime {
|
|
360
777
|
*/
|
361
778
|
topP?: TopP;
|
362
779
|
}
|
780
|
+
export interface InputFile {
|
781
|
+
/**
|
782
|
+
* The name of the source file.
|
783
|
+
*/
|
784
|
+
name: String;
|
785
|
+
/**
|
786
|
+
* Specifies where the files are located.
|
787
|
+
*/
|
788
|
+
source: FileSource;
|
789
|
+
/**
|
790
|
+
* Specifies how the source files will be used by the code interpreter.
|
791
|
+
*/
|
792
|
+
useCase: FileUseCase;
|
793
|
+
}
|
794
|
+
export type InputFiles = InputFile[];
|
363
795
|
export type InputText = string;
|
364
796
|
export type Integer = number;
|
365
797
|
export interface InternalServerException {
|
@@ -370,6 +802,10 @@ declare namespace BedrockAgentRuntime {
|
|
370
802
|
* Contains information about the action group to be invoked.
|
371
803
|
*/
|
372
804
|
actionGroupInvocationInput?: ActionGroupInvocationInput;
|
805
|
+
/**
|
806
|
+
* Contains information about the code interpreter to be invoked.
|
807
|
+
*/
|
808
|
+
codeInterpreterInvocationInput?: CodeInterpreterInvocationInput;
|
373
809
|
/**
|
374
810
|
* Specifies whether the agent is invoking an action group or a knowledge base.
|
375
811
|
*/
|
@@ -404,7 +840,7 @@ declare namespace BedrockAgentRuntime {
|
|
404
840
|
*/
|
405
841
|
functionResult?: FunctionResult;
|
406
842
|
}
|
407
|
-
export type InvocationType = "ACTION_GROUP"|"KNOWLEDGE_BASE"|"FINISH"|string;
|
843
|
+
export type InvocationType = "ACTION_GROUP"|"KNOWLEDGE_BASE"|"FINISH"|"ACTION_GROUP_CODE_INTERPRETER"|string;
|
408
844
|
export interface InvokeAgentRequest {
|
409
845
|
/**
|
410
846
|
* The alias of the agent to use.
|
@@ -423,15 +859,19 @@ declare namespace BedrockAgentRuntime {
|
|
423
859
|
*/
|
424
860
|
endSession?: Boolean;
|
425
861
|
/**
|
426
|
-
* The prompt text to send the agent.
|
862
|
+
* The prompt text to send the agent. If you include returnControlInvocationResults in the sessionState field, the inputText field will be ignored.
|
427
863
|
*/
|
428
864
|
inputText?: InputText;
|
865
|
+
/**
|
866
|
+
* The unique identifier of the agent memory.
|
867
|
+
*/
|
868
|
+
memoryId?: MemoryId;
|
429
869
|
/**
|
430
870
|
* The unique identifier of the session. Use the same value across requests to continue the same conversation.
|
431
871
|
*/
|
432
872
|
sessionId: SessionId;
|
433
873
|
/**
|
434
|
-
* Contains parameters that specify various attributes of the session. For more information, see Control session context.
|
874
|
+
* Contains parameters that specify various attributes of the session. For more information, see Control session context. If you include returnControlInvocationResults in the sessionState field, the inputText field will be ignored.
|
435
875
|
*/
|
436
876
|
sessionState?: SessionState;
|
437
877
|
}
|
@@ -444,12 +884,47 @@ declare namespace BedrockAgentRuntime {
|
|
444
884
|
* The MIME type of the input data in the request. The default value is application/json.
|
445
885
|
*/
|
446
886
|
contentType: MimeType;
|
887
|
+
/**
|
888
|
+
* The unique identifier of the agent memory.
|
889
|
+
*/
|
890
|
+
memoryId?: MemoryId;
|
447
891
|
/**
|
448
892
|
* The unique identifier of the session with the agent.
|
449
893
|
*/
|
450
894
|
sessionId: SessionId;
|
451
895
|
}
|
896
|
+
export interface InvokeFlowRequest {
|
897
|
+
/**
|
898
|
+
* The unique identifier of the flow alias.
|
899
|
+
*/
|
900
|
+
flowAliasIdentifier: FlowAliasIdentifier;
|
901
|
+
/**
|
902
|
+
* The unique identifier of the flow.
|
903
|
+
*/
|
904
|
+
flowIdentifier: FlowIdentifier;
|
905
|
+
/**
|
906
|
+
* A list of objects, each containing information about an input into the flow.
|
907
|
+
*/
|
908
|
+
inputs: FlowInputs;
|
909
|
+
}
|
910
|
+
export interface InvokeFlowResponse {
|
911
|
+
/**
|
912
|
+
* The output of the flow, returned as a stream. If there's an error, the error is returned.
|
913
|
+
*/
|
914
|
+
responseStream: FlowResponseStream;
|
915
|
+
}
|
452
916
|
export type KmsKeyArn = string;
|
917
|
+
export interface KnowledgeBaseConfiguration {
|
918
|
+
/**
|
919
|
+
* The unique identifier for a knowledge base attached to the agent.
|
920
|
+
*/
|
921
|
+
knowledgeBaseId: KnowledgeBaseId;
|
922
|
+
/**
|
923
|
+
* The configurations to apply to the knowledge base during query. For more information, see Query configurations.
|
924
|
+
*/
|
925
|
+
retrievalConfiguration: KnowledgeBaseRetrievalConfiguration;
|
926
|
+
}
|
927
|
+
export type KnowledgeBaseConfigurations = KnowledgeBaseConfiguration[];
|
453
928
|
export type KnowledgeBaseId = string;
|
454
929
|
export interface KnowledgeBaseLookupInput {
|
455
930
|
/**
|
@@ -502,7 +977,7 @@ declare namespace BedrockAgentRuntime {
|
|
502
977
|
export type KnowledgeBaseRetrievalResults = KnowledgeBaseRetrievalResult[];
|
503
978
|
export interface KnowledgeBaseRetrieveAndGenerateConfiguration {
|
504
979
|
/**
|
505
|
-
* Contains configurations for response generation based on the
|
980
|
+
* Contains configurations for response generation based on the knowledge base query results.
|
506
981
|
*/
|
507
982
|
generationConfiguration?: GenerationConfiguration;
|
508
983
|
/**
|
@@ -513,6 +988,10 @@ declare namespace BedrockAgentRuntime {
|
|
513
988
|
* The ARN of the foundation model used to generate a response.
|
514
989
|
*/
|
515
990
|
modelArn: BedrockModelArn;
|
991
|
+
/**
|
992
|
+
* Settings for how the model processes the prompt prior to retrieval and generation.
|
993
|
+
*/
|
994
|
+
orchestrationConfiguration?: OrchestrationConfiguration;
|
516
995
|
/**
|
517
996
|
* Contains configurations for how to retrieve and return the knowledge base query.
|
518
997
|
*/
|
@@ -534,7 +1013,40 @@ declare namespace BedrockAgentRuntime {
|
|
534
1013
|
}
|
535
1014
|
export type KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = number;
|
536
1015
|
export type LambdaArn = string;
|
1016
|
+
export type MaxResults = number;
|
1017
|
+
export type MaxTokens = number;
|
537
1018
|
export type MaximumLength = number;
|
1019
|
+
export type Memories = Memory[];
|
1020
|
+
export interface Memory {
|
1021
|
+
/**
|
1022
|
+
* Contains summary of a session.
|
1023
|
+
*/
|
1024
|
+
sessionSummary?: MemorySessionSummary;
|
1025
|
+
}
|
1026
|
+
export type MemoryId = string;
|
1027
|
+
export interface MemorySessionSummary {
|
1028
|
+
/**
|
1029
|
+
* The unique identifier of the memory where the session summary is stored.
|
1030
|
+
*/
|
1031
|
+
memoryId?: MemoryId;
|
1032
|
+
/**
|
1033
|
+
* The time when the memory duration for the session is set to end.
|
1034
|
+
*/
|
1035
|
+
sessionExpiryTime?: DateTimestamp;
|
1036
|
+
/**
|
1037
|
+
* The identifier for this session.
|
1038
|
+
*/
|
1039
|
+
sessionId?: SessionId;
|
1040
|
+
/**
|
1041
|
+
* The start time for this session.
|
1042
|
+
*/
|
1043
|
+
sessionStartTime?: DateTimestamp;
|
1044
|
+
/**
|
1045
|
+
* The summarized text for this session.
|
1046
|
+
*/
|
1047
|
+
summaryText?: SummaryText;
|
1048
|
+
}
|
1049
|
+
export type MemoryType = "SESSION_SUMMARY"|string;
|
538
1050
|
export type MimeType = string;
|
539
1051
|
export interface ModelInvocationInput {
|
540
1052
|
/**
|
@@ -567,12 +1079,19 @@ declare namespace BedrockAgentRuntime {
|
|
567
1079
|
type?: PromptType;
|
568
1080
|
}
|
569
1081
|
export type NextToken = string;
|
1082
|
+
export type NodeName = string;
|
1083
|
+
export type NodeOutputName = string;
|
1084
|
+
export type NodeType = "FlowInputNode"|"FlowOutputNode"|"LambdaFunctionNode"|"KnowledgeBaseNode"|"PromptNode"|"ConditionNode"|"LexNode"|string;
|
570
1085
|
export type NonBlankString = string;
|
571
1086
|
export interface Observation {
|
572
1087
|
/**
|
573
1088
|
* Contains the JSON-formatted string returned by the API invoked by the action group.
|
574
1089
|
*/
|
575
1090
|
actionGroupInvocationOutput?: ActionGroupInvocationOutput;
|
1091
|
+
/**
|
1092
|
+
* Contains the JSON-formatted string returned by the API invoked by the code interpreter.
|
1093
|
+
*/
|
1094
|
+
codeInterpreterInvocationOutput?: CodeInterpreterInvocationOutput;
|
576
1095
|
/**
|
577
1096
|
* Contains details about the response to the user.
|
578
1097
|
*/
|
@@ -594,6 +1113,12 @@ declare namespace BedrockAgentRuntime {
|
|
594
1113
|
*/
|
595
1114
|
type?: Type;
|
596
1115
|
}
|
1116
|
+
export interface OrchestrationConfiguration {
|
1117
|
+
/**
|
1118
|
+
* To split up the prompt and retrieve multiple sources, set the transformation type to QUERY_DECOMPOSITION.
|
1119
|
+
*/
|
1120
|
+
queryTransformationConfiguration: QueryTransformationConfiguration;
|
1121
|
+
}
|
597
1122
|
export interface OrchestrationTrace {
|
598
1123
|
/**
|
599
1124
|
* Contains information pertaining to the action group or knowledge base that is being invoked.
|
@@ -612,6 +1137,21 @@ declare namespace BedrockAgentRuntime {
|
|
612
1137
|
*/
|
613
1138
|
rationale?: Rationale;
|
614
1139
|
}
|
1140
|
+
export interface OutputFile {
|
1141
|
+
/**
|
1142
|
+
* The byte count of files that contains response from code interpreter.
|
1143
|
+
*/
|
1144
|
+
bytes?: FileBody;
|
1145
|
+
/**
|
1146
|
+
* The name of the file containing response from code interpreter.
|
1147
|
+
*/
|
1148
|
+
name?: String;
|
1149
|
+
/**
|
1150
|
+
* The type of file that contains response from the code interpreter.
|
1151
|
+
*/
|
1152
|
+
type?: MimeType;
|
1153
|
+
}
|
1154
|
+
export type OutputFiles = OutputFile[];
|
615
1155
|
export type OutputString = string;
|
616
1156
|
export interface Parameter {
|
617
1157
|
/**
|
@@ -711,6 +1251,15 @@ declare namespace BedrockAgentRuntime {
|
|
711
1251
|
*/
|
712
1252
|
properties?: ParameterList;
|
713
1253
|
}
|
1254
|
+
export interface QueryTransformationConfiguration {
|
1255
|
+
/**
|
1256
|
+
* The type of transformation to apply to the prompt.
|
1257
|
+
*/
|
1258
|
+
type: QueryTransformationType;
|
1259
|
+
}
|
1260
|
+
export type QueryTransformationType = "QUERY_DECOMPOSITION"|string;
|
1261
|
+
export type RAGStopSequences = RAGStopSequencesMemberString[];
|
1262
|
+
export type RAGStopSequencesMemberString = string;
|
714
1263
|
export interface Rationale {
|
715
1264
|
/**
|
716
1265
|
* The reasoning or thought process of the agent, based on the input.
|
@@ -743,54 +1292,68 @@ declare namespace BedrockAgentRuntime {
|
|
743
1292
|
}
|
744
1293
|
export type ResponseBody = {[key: string]: ContentBody};
|
745
1294
|
export type ResponseState = "FAILURE"|"REPROMPT"|string;
|
746
|
-
export type ResponseStream = EventStream<{accessDeniedException?:AccessDeniedException,badGatewayException?:BadGatewayException,chunk?:PayloadPart,conflictException?:ConflictException,dependencyFailedException?:DependencyFailedException,internalServerException?:InternalServerException,resourceNotFoundException?:ResourceNotFoundException,returnControl?:ReturnControlPayload,serviceQuotaExceededException?:ServiceQuotaExceededException,throttlingException?:ThrottlingException,trace?:TracePart,validationException?:ValidationException}>;
|
1295
|
+
export type ResponseStream = EventStream<{accessDeniedException?:AccessDeniedException,badGatewayException?:BadGatewayException,chunk?:PayloadPart,conflictException?:ConflictException,dependencyFailedException?:DependencyFailedException,files?:FilePart,internalServerException?:InternalServerException,resourceNotFoundException?:ResourceNotFoundException,returnControl?:ReturnControlPayload,serviceQuotaExceededException?:ServiceQuotaExceededException,throttlingException?:ThrottlingException,trace?:TracePart,validationException?:ValidationException}>;
|
747
1296
|
export interface RetrievalFilter {
|
748
1297
|
/**
|
749
|
-
* Knowledge base data sources
|
1298
|
+
* Knowledge base data sources are returned if their metadata attributes fulfill all the filter conditions inside this list.
|
750
1299
|
*/
|
751
1300
|
andAll?: RetrievalFilterList;
|
752
1301
|
/**
|
753
|
-
* Knowledge base data sources
|
1302
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value matches the value in this object. The following example would return data sources with an animal attribute whose value is cat: "equals": { "key": "animal", "value": "cat" }
|
754
1303
|
*/
|
755
1304
|
equals?: FilterAttribute;
|
756
1305
|
/**
|
757
|
-
* Knowledge base data sources
|
1306
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is greater than the value in this object. The following example would return data sources with an year attribute whose value is greater than 1989: "greaterThan": { "key": "year", "value": 1989 }
|
758
1307
|
*/
|
759
1308
|
greaterThan?: FilterAttribute;
|
760
1309
|
/**
|
761
|
-
* Knowledge base data sources
|
1310
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is greater than or equal to the value in this object. The following example would return data sources with an year attribute whose value is greater than or equal to 1989: "greaterThanOrEquals": { "key": "year", "value": 1989 }
|
762
1311
|
*/
|
763
1312
|
greaterThanOrEquals?: FilterAttribute;
|
764
1313
|
/**
|
765
|
-
* Knowledge base data sources
|
1314
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is in the list specified in the value in this object. The following example would return data sources with an animal attribute that is either cat or dog: "in": { "key": "animal", "value": ["cat", "dog"] }
|
766
1315
|
*/
|
767
1316
|
in?: FilterAttribute;
|
768
1317
|
/**
|
769
|
-
* Knowledge base data sources
|
1318
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is less than the value in this object. The following example would return data sources with an year attribute whose value is less than to 1989. "lessThan": { "key": "year", "value": 1989 }
|
770
1319
|
*/
|
771
1320
|
lessThan?: FilterAttribute;
|
772
1321
|
/**
|
773
|
-
* Knowledge base data sources
|
1322
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is less than or equal to the value in this object. The following example would return data sources with an year attribute whose value is less than or equal to 1989. "lessThanOrEquals": { "key": "year", "value": 1989 }
|
774
1323
|
*/
|
775
1324
|
lessThanOrEquals?: FilterAttribute;
|
776
1325
|
/**
|
777
|
-
* Knowledge base data sources
|
1326
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is a list that contains the value as one of its members. The following example would return data sources with an animals attribute that is a list containing a cat member (for example ["dog", "cat"]). "listContains": { "key": "animals", "value": "cat" }
|
1327
|
+
*/
|
1328
|
+
listContains?: FilterAttribute;
|
1329
|
+
/**
|
1330
|
+
* Knowledge base data sources that contain a metadata attribute whose name matches the key and whose value doesn't match the value in this object are returned. The following example would return data sources that don't contain an animal attribute whose value is cat. "notEquals": { "key": "animal", "value": "cat" }
|
778
1331
|
*/
|
779
1332
|
notEquals?: FilterAttribute;
|
780
1333
|
/**
|
781
|
-
* Knowledge base data sources
|
1334
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value isn't in the list specified in the value in this object. The following example would return data sources whose animal attribute is neither cat nor dog. "notIn": { "key": "animal", "value": ["cat", "dog"] }
|
782
1335
|
*/
|
783
1336
|
notIn?: FilterAttribute;
|
784
1337
|
/**
|
785
|
-
* Knowledge base data sources
|
1338
|
+
* Knowledge base data sources are returned if their metadata attributes fulfill at least one of the filter conditions inside this list.
|
786
1339
|
*/
|
787
1340
|
orAll?: RetrievalFilterList;
|
788
1341
|
/**
|
789
|
-
* Knowledge base data sources
|
1342
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value starts with the value in this object. This filter is currently only supported for Amazon OpenSearch Serverless vector stores. The following example would return data sources with an animal attribute starts with ca (for example, cat or camel). "startsWith": { "key": "animal", "value": "ca" }
|
790
1343
|
*/
|
791
1344
|
startsWith?: FilterAttribute;
|
1345
|
+
/**
|
1346
|
+
* Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is one of the following: A string that contains the value as a substring. The following example would return data sources with an animal attribute that contains the substring at (for example cat). "stringContains": { "key": "animal", "value": "at" } A list with a member that contains the value as a substring. The following example would return data sources with an animals attribute that is a list containing a member that contains the substring at (for example ["dog", "cat"]). "stringContains": { "key": "animals", "value": "at" }
|
1347
|
+
*/
|
1348
|
+
stringContains?: FilterAttribute;
|
792
1349
|
}
|
793
1350
|
export type RetrievalFilterList = RetrievalFilter[];
|
1351
|
+
export interface RetrievalResultConfluenceLocation {
|
1352
|
+
/**
|
1353
|
+
* The Confluence host URL for the data source location.
|
1354
|
+
*/
|
1355
|
+
url?: String;
|
1356
|
+
}
|
794
1357
|
export interface RetrievalResultContent {
|
795
1358
|
/**
|
796
1359
|
* The cited text from the data source.
|
@@ -799,25 +1362,59 @@ declare namespace BedrockAgentRuntime {
|
|
799
1362
|
}
|
800
1363
|
export interface RetrievalResultLocation {
|
801
1364
|
/**
|
802
|
-
*
|
1365
|
+
* The Confluence data source location.
|
1366
|
+
*/
|
1367
|
+
confluenceLocation?: RetrievalResultConfluenceLocation;
|
1368
|
+
/**
|
1369
|
+
* The S3 data source location.
|
803
1370
|
*/
|
804
1371
|
s3Location?: RetrievalResultS3Location;
|
805
1372
|
/**
|
806
|
-
* The
|
1373
|
+
* The Salesforce data source location.
|
1374
|
+
*/
|
1375
|
+
salesforceLocation?: RetrievalResultSalesforceLocation;
|
1376
|
+
/**
|
1377
|
+
* The SharePoint data source location.
|
1378
|
+
*/
|
1379
|
+
sharePointLocation?: RetrievalResultSharePointLocation;
|
1380
|
+
/**
|
1381
|
+
* The type of data source location.
|
807
1382
|
*/
|
808
1383
|
type: RetrievalResultLocationType;
|
1384
|
+
/**
|
1385
|
+
* The web URL/URLs data source location.
|
1386
|
+
*/
|
1387
|
+
webLocation?: RetrievalResultWebLocation;
|
809
1388
|
}
|
810
|
-
export type RetrievalResultLocationType = "S3"|string;
|
1389
|
+
export type RetrievalResultLocationType = "S3"|"WEB"|"CONFLUENCE"|"SALESFORCE"|"SHAREPOINT"|string;
|
811
1390
|
export type RetrievalResultMetadata = {[key: string]: RetrievalResultMetadataValue};
|
812
1391
|
export type RetrievalResultMetadataKey = string;
|
813
1392
|
export interface RetrievalResultMetadataValue {
|
814
1393
|
}
|
815
1394
|
export interface RetrievalResultS3Location {
|
816
1395
|
/**
|
817
|
-
* The S3 URI
|
1396
|
+
* The S3 URI for the data source location.
|
818
1397
|
*/
|
819
1398
|
uri?: String;
|
820
1399
|
}
|
1400
|
+
export interface RetrievalResultSalesforceLocation {
|
1401
|
+
/**
|
1402
|
+
* The Salesforce host URL for the data source location.
|
1403
|
+
*/
|
1404
|
+
url?: String;
|
1405
|
+
}
|
1406
|
+
export interface RetrievalResultSharePointLocation {
|
1407
|
+
/**
|
1408
|
+
* The SharePoint site URL for the data source location.
|
1409
|
+
*/
|
1410
|
+
url?: String;
|
1411
|
+
}
|
1412
|
+
export interface RetrievalResultWebLocation {
|
1413
|
+
/**
|
1414
|
+
* The web URL/URLs for the data source location.
|
1415
|
+
*/
|
1416
|
+
url?: String;
|
1417
|
+
}
|
821
1418
|
export interface RetrieveAndGenerateConfiguration {
|
822
1419
|
/**
|
823
1420
|
* The configuration used with the external source wrapper object in the retrieveAndGenerate function.
|
@@ -859,7 +1456,7 @@ declare namespace BedrockAgentRuntime {
|
|
859
1456
|
*/
|
860
1457
|
sessionConfiguration?: RetrieveAndGenerateSessionConfiguration;
|
861
1458
|
/**
|
862
|
-
* The unique identifier of the session.
|
1459
|
+
* The unique identifier of the session. When you first make a RetrieveAndGenerate request, Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous interactions. You can't explicitly set the sessionId yourself.
|
863
1460
|
*/
|
864
1461
|
sessionId?: SessionId;
|
865
1462
|
}
|
@@ -868,12 +1465,16 @@ declare namespace BedrockAgentRuntime {
|
|
868
1465
|
* A list of segments of the generated response that are based on sources in the knowledge base, alongside information about the sources.
|
869
1466
|
*/
|
870
1467
|
citations?: Citations;
|
1468
|
+
/**
|
1469
|
+
* Specifies if there is a guardrail intervention in the response.
|
1470
|
+
*/
|
1471
|
+
guardrailAction?: GuadrailAction;
|
871
1472
|
/**
|
872
1473
|
* Contains the response generated from querying the knowledge base.
|
873
1474
|
*/
|
874
1475
|
output: RetrieveAndGenerateOutput;
|
875
1476
|
/**
|
876
|
-
* The unique identifier of the session.
|
1477
|
+
* The unique identifier of the session. When you first make a RetrieveAndGenerate request, Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous interactions. You can't explicitly set the sessionId yourself.
|
877
1478
|
*/
|
878
1479
|
sessionId: SessionId;
|
879
1480
|
}
|
@@ -944,6 +1545,12 @@ declare namespace BedrockAgentRuntime {
|
|
944
1545
|
*/
|
945
1546
|
uri: S3Uri;
|
946
1547
|
}
|
1548
|
+
export interface S3ObjectFile {
|
1549
|
+
/**
|
1550
|
+
* The uri of the s3 object.
|
1551
|
+
*/
|
1552
|
+
uri: S3Uri;
|
1553
|
+
}
|
947
1554
|
export type S3Uri = string;
|
948
1555
|
export type SearchType = "HYBRID"|"SEMANTIC"|string;
|
949
1556
|
export interface ServiceQuotaExceededException {
|
@@ -953,15 +1560,23 @@ declare namespace BedrockAgentRuntime {
|
|
953
1560
|
export type SessionId = string;
|
954
1561
|
export interface SessionState {
|
955
1562
|
/**
|
956
|
-
*
|
1563
|
+
* Contains information about the files used by code interpreter.
|
1564
|
+
*/
|
1565
|
+
files?: InputFiles;
|
1566
|
+
/**
|
1567
|
+
* The identifier of the invocation of an action. This value must match the invocationId returned in the InvokeAgent response for the action whose results are provided in the returnControlInvocationResults field. For more information, see Return control to the agent developer and Control session context.
|
957
1568
|
*/
|
958
1569
|
invocationId?: String;
|
1570
|
+
/**
|
1571
|
+
* An array of configurations, each of which applies to a knowledge base attached to the agent.
|
1572
|
+
*/
|
1573
|
+
knowledgeBaseConfigurations?: KnowledgeBaseConfigurations;
|
959
1574
|
/**
|
960
1575
|
* Contains attributes that persist across a prompt and the values of those attributes. These attributes replace the $prompt_session_attributes$ placeholder variable in the orchestration prompt template. For more information, see Prompt template placeholder variables.
|
961
1576
|
*/
|
962
1577
|
promptSessionAttributes?: PromptSessionAttributesMap;
|
963
1578
|
/**
|
964
|
-
* Contains information about the results from the action group invocation.
|
1579
|
+
* Contains information about the results from the action group invocation. For more information, see Return control to the agent developer and Control session context. If you include this field, the inputText field will be ignored.
|
965
1580
|
*/
|
966
1581
|
returnControlInvocationResults?: ReturnControlInvocationResults;
|
967
1582
|
/**
|
@@ -984,7 +1599,26 @@ declare namespace BedrockAgentRuntime {
|
|
984
1599
|
export type SpanStartInteger = number;
|
985
1600
|
export type StopSequences = String[];
|
986
1601
|
export type String = string;
|
1602
|
+
export type SummaryText = string;
|
987
1603
|
export type Temperature = number;
|
1604
|
+
export interface TextInferenceConfig {
|
1605
|
+
/**
|
1606
|
+
* The maximum number of tokens to generate in the output text. Do not use the minimum of 0 or the maximum of 65536. The limit values described here are arbitary values, for actual values consult the limits defined by your specific model.
|
1607
|
+
*/
|
1608
|
+
maxTokens?: MaxTokens;
|
1609
|
+
/**
|
1610
|
+
* A list of sequences of characters that, if generated, will cause the model to stop generating further tokens. Do not use a minimum length of 1 or a maximum length of 1000. The limit values described here are arbitary values, for actual values consult the limits defined by your specific model.
|
1611
|
+
*/
|
1612
|
+
stopSequences?: RAGStopSequences;
|
1613
|
+
/**
|
1614
|
+
* Controls the random-ness of text generated by the language model, influencing how much the model sticks to the most predictable next words versus exploring more surprising options. A lower temperature value (e.g. 0.2 or 0.3) makes model outputs more deterministic or predictable, while a higher temperature (e.g. 0.8 or 0.9) makes the outputs more creative or unpredictable.
|
1615
|
+
*/
|
1616
|
+
temperature?: Temperature;
|
1617
|
+
/**
|
1618
|
+
* A probability distribution threshold which controls what the model considers for the set of possible next tokens. The model will only consider the top p% of the probability distribution when generating the next token.
|
1619
|
+
*/
|
1620
|
+
topP?: TopP;
|
1621
|
+
}
|
988
1622
|
export type TextPromptTemplate = string;
|
989
1623
|
export interface TextResponsePart {
|
990
1624
|
/**
|
@@ -1006,6 +1640,10 @@ declare namespace BedrockAgentRuntime {
|
|
1006
1640
|
* Contains information about the failure of the interaction.
|
1007
1641
|
*/
|
1008
1642
|
failureTrace?: FailureTrace;
|
1643
|
+
/**
|
1644
|
+
* The trace details for a trace defined in the Guardrail filter.
|
1645
|
+
*/
|
1646
|
+
guardrailTrace?: GuardrailTrace;
|
1009
1647
|
/**
|
1010
1648
|
* Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.
|
1011
1649
|
*/
|