cdk-docker-image-deployment 0.0.577 → 0.0.579
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 +5 -5
- package/lib/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/@types/aws-lambda/README.md +2 -2
- package/node_modules/@types/aws-lambda/index.d.ts +1 -0
- package/node_modules/@types/aws-lambda/package.json +8 -3
- package/node_modules/@types/aws-lambda/trigger/api-gateway-authorizer.d.ts +3 -1
- package/node_modules/@types/aws-lambda/trigger/appsync-resolver.d.ts +5 -0
- package/node_modules/@types/aws-lambda/trigger/cdk-custom-resource.d.ts +133 -42
- package/node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.ts +196 -30
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.ts +1 -1
- package/node_modules/@types/aws-lambda/trigger/transfer-family-authorizer.d.ts +2 -1
- 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 +15 -0
- package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +79 -55
- package/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json +7 -1
- package/node_modules/aws-sdk/apis/appintegrations-2020-07-29.min.json +121 -11
- 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 +990 -0
- package/node_modules/aws-sdk/apis/application-signals-2024-04-15.paginators.json +34 -0
- package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +188 -45
- package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +4 -1
- package/node_modules/aws-sdk/apis/appsync-2017-07-25.paginators.json +60 -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 +40 -34
- 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 +326 -88
- package/node_modules/aws-sdk/apis/bedrock-2023-04-20.paginators.json +6 -0
- 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 +894 -243
- 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 +921 -45
- 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/cleanrooms-2022-02-17.min.json +1329 -202
- package/node_modules/aws-sdk/apis/cleanrooms-2022-02-17.paginators.json +18 -0
- package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.min.json +305 -287
- package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.waiters2.json +5 -0
- 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/codecommit-2015-04-13.min.json +7 -1
- 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 +446 -95
- package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.paginators.json +6 -0
- 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 +292 -187
- 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 +1537 -546
- package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +42 -0
- package/node_modules/aws-sdk/apis/connect-contact-lens-2020-08-21.min.json +18 -1
- package/node_modules/aws-sdk/apis/connectcases-2022-10-03.min.json +205 -63
- package/node_modules/aws-sdk/apis/controlcatalog-2018-05-10.min.json +134 -40
- package/node_modules/aws-sdk/apis/controlcatalog-2018-05-10.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/controlcatalog-2018-05-10.waiters2.json +5 -0
- 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 +320 -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 +2116 -480
- package/node_modules/aws-sdk/apis/datazone-2018-05-10.paginators.json +24 -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 +1675 -1320
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.examples.json +186 -0
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +222 -21
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.paginators.json +9 -0
- 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 +169 -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/elasticloadbalancing-2012-06-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.examples.json +33 -0
- package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +116 -73
- 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/entityresolution-2018-05-10.min.json +162 -94
- 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 +91 -29
- package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +361 -167
- package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +19 -5
- 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 +1227 -583
- 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/iam-2010-05-08.min.json +7 -1
- 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/iotsitewise-2019-12-02.min.json +113 -98
- 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-2020-07-14.min.json +159 -154
- 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/ivschat-2020-07-14.min.json +144 -139
- package/node_modules/aws-sdk/apis/ivschat-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/kinesis-2013-12-02.min.json +7 -1
- package/node_modules/aws-sdk/apis/kinesis-video-webrtc-storage-2018-05-10.min.json +17 -0
- 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/logs-2014-03-28.min.json +7 -1
- 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 +488 -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 +105 -71
- package/node_modules/aws-sdk/apis/medical-imaging-2023-07-19.min.json +80 -37
- package/node_modules/aws-sdk/apis/memorydb-2021-01-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/metadata.json +24 -12
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +374 -346
- package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +7 -1
- 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/network-firewall-2020-11-12.min.json +7 -1
- 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/outposts-2019-12-03.min.json +11 -2
- 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.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 +527 -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/{mobile-2017-07-01.paginators.json → qapps-2023-11-27.paginators.json} +6 -4
- 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 +34 -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 +32 -22
- 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 +473 -144
- package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/rolesanywhere-2018-05-10.min.json +16 -1
- package/node_modules/aws-sdk/apis/route53-2013-04-01.min.json +7 -1
- 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 +1993 -1207
- 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-quicksetup-2018-05-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/ssm-quicksetup-2018-05-10.min.json +454 -0
- package/node_modules/aws-sdk/apis/ssm-quicksetup-2018-05-10.paginators.json +10 -0
- 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 +167 -129
- package/node_modules/aws-sdk/apis/storagegateway-2013-06-30.min.json +30 -14
- package/node_modules/aws-sdk/apis/support-2013-04-15.min.json +4 -1
- 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 +661 -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 +75 -24
- package/node_modules/aws-sdk/apis/tnb-2008-10-21.min.json +90 -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/waf-regional-2016-11-28.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 +33 -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 +28 -28
- package/node_modules/aws-sdk/clients/all.d.ts +7 -4
- package/node_modules/aws-sdk/clients/all.js +8 -5
- package/node_modules/aws-sdk/clients/amplify.d.ts +35 -15
- package/node_modules/aws-sdk/clients/appintegrations.d.ts +122 -13
- package/node_modules/aws-sdk/clients/applicationautoscaling.d.ts +43 -43
- package/node_modules/aws-sdk/clients/applicationsignals.d.ts +964 -0
- package/node_modules/aws-sdk/clients/applicationsignals.js +18 -0
- package/node_modules/aws-sdk/clients/appstream.d.ts +208 -9
- 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 +71 -70
- 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 +289 -26
- package/node_modules/aws-sdk/clients/bedrockagent.d.ts +2327 -211
- package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +707 -29
- package/node_modules/aws-sdk/clients/bedrockruntime.d.ts +855 -7
- 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/cleanrooms.d.ts +1079 -16
- package/node_modules/aws-sdk/clients/cleanroomsml.d.ts +284 -257
- package/node_modules/aws-sdk/clients/cleanroomsml.js +1 -0
- 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 +79 -32
- package/node_modules/aws-sdk/clients/codegurusecurity.d.ts +60 -55
- package/node_modules/aws-sdk/clients/codepipeline.d.ts +485 -5
- package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +92 -55
- package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +451 -49
- package/node_modules/aws-sdk/clients/connect.d.ts +1213 -69
- package/node_modules/aws-sdk/clients/connectcases.d.ts +124 -1
- package/node_modules/aws-sdk/clients/connectcontactlens.d.ts +24 -3
- package/node_modules/aws-sdk/clients/controlcatalog.d.ts +116 -24
- package/node_modules/aws-sdk/clients/controlcatalog.js +1 -0
- package/node_modules/aws-sdk/clients/controltower.d.ts +244 -44
- package/node_modules/aws-sdk/clients/costoptimizationhub.d.ts +398 -330
- 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 +1917 -100
- package/node_modules/aws-sdk/clients/directconnect.d.ts +40 -25
- package/node_modules/aws-sdk/clients/dynamodb.d.ts +116 -47
- package/node_modules/aws-sdk/clients/ec2.d.ts +729 -308
- package/node_modules/aws-sdk/clients/ecr.d.ts +296 -8
- package/node_modules/aws-sdk/clients/ecs.d.ts +47 -5
- package/node_modules/aws-sdk/clients/eks.d.ts +127 -22
- package/node_modules/aws-sdk/clients/elasticache.d.ts +198 -198
- package/node_modules/aws-sdk/clients/elbv2.d.ts +59 -13
- 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/entityresolution.d.ts +105 -22
- package/node_modules/aws-sdk/clients/eventbridge.d.ts +111 -20
- package/node_modules/aws-sdk/clients/firehose.d.ts +214 -10
- package/node_modules/aws-sdk/clients/fis.d.ts +21 -0
- 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 +981 -24
- 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/iotsitewise.d.ts +37 -25
- 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/ivs.d.ts +229 -229
- package/node_modules/aws-sdk/clients/ivschat.d.ts +166 -166
- package/node_modules/aws-sdk/clients/ivschat.js +1 -0
- 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/kinesisvideowebrtcstorage.d.ts +21 -2
- 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/lexmodelsv2.d.ts +45 -5
- 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 +114 -4
- package/node_modules/aws-sdk/clients/mediapackagev2.d.ts +58 -5
- package/node_modules/aws-sdk/clients/medicalimaging.d.ts +45 -2
- package/node_modules/aws-sdk/clients/memorydb.d.ts +9 -9
- 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/networkfirewall.d.ts +7 -7
- 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/outposts.d.ts +5 -0
- 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 +18 -11
- package/node_modules/aws-sdk/clients/pinpoint.d.ts +27 -0
- package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +567 -61
- 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 +90 -30
- package/node_modules/aws-sdk/clients/redshift.d.ts +16 -16
- package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +37 -10
- package/node_modules/aws-sdk/clients/rekognition.d.ts +11 -3
- package/node_modules/aws-sdk/clients/resiliencehub.d.ts +385 -29
- package/node_modules/aws-sdk/clients/rolesanywhere.d.ts +12 -0
- 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 +1123 -67
- package/node_modules/aws-sdk/clients/secretsmanager.d.ts +23 -18
- 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/ssm.d.ts +16 -16
- package/node_modules/aws-sdk/clients/ssmquicksetup.d.ts +495 -0
- package/node_modules/aws-sdk/clients/ssmquicksetup.js +18 -0
- 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/stepfunctions.d.ts +67 -9
- package/node_modules/aws-sdk/clients/storagegateway.d.ts +37 -22
- package/node_modules/aws-sdk/clients/support.d.ts +1 -1
- 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/tnb.d.ts +95 -18
- 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 +603 -11
- 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 +2357 -2099
- package/node_modules/aws-sdk/dist/aws-sdk.js +7454 -4038
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +108 -106
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +14 -8
- 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 +56 -7
- 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 +11 -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 -11
- 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/apis/mobile-2017-07-01.min.json +0 -341
- 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/clients/mobile.d.ts +0 -333
- package/node_modules/aws-sdk/clients/mobile.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
- /package/node_modules/aws-sdk/apis/{mobile-2017-07-01.examples.json → pca-connector-scep-2018-05-10.examples.json} +0 -0
|
@@ -12,19 +12,19 @@ declare class Bedrock extends Service {
|
|
|
12
12
|
constructor(options?: Bedrock.Types.ClientConfiguration)
|
|
13
13
|
config: Config & Bedrock.Types.ClientConfiguration;
|
|
14
14
|
/**
|
|
15
|
-
* API operation for creating and managing Amazon Bedrock automatic model evaluation jobs and model evaluation jobs that use human workers. To learn more about the requirements for creating a model evaluation job see, Model
|
|
15
|
+
* API operation for creating and managing Amazon Bedrock automatic model evaluation jobs and model evaluation jobs that use human workers. To learn more about the requirements for creating a model evaluation job see, Model evaluation.
|
|
16
16
|
*/
|
|
17
17
|
createEvaluationJob(params: Bedrock.Types.CreateEvaluationJobRequest, callback?: (err: AWSError, data: Bedrock.Types.CreateEvaluationJobResponse) => void): Request<Bedrock.Types.CreateEvaluationJobResponse, AWSError>;
|
|
18
18
|
/**
|
|
19
|
-
* API operation for creating and managing Amazon Bedrock automatic model evaluation jobs and model evaluation jobs that use human workers. To learn more about the requirements for creating a model evaluation job see, Model
|
|
19
|
+
* API operation for creating and managing Amazon Bedrock automatic model evaluation jobs and model evaluation jobs that use human workers. To learn more about the requirements for creating a model evaluation job see, Model evaluation.
|
|
20
20
|
*/
|
|
21
21
|
createEvaluationJob(callback?: (err: AWSError, data: Bedrock.Types.CreateEvaluationJobResponse) => void): Request<Bedrock.Types.CreateEvaluationJobResponse, AWSError>;
|
|
22
22
|
/**
|
|
23
|
-
* Creates a guardrail to block topics and to
|
|
23
|
+
* Creates a guardrail to block topics and to implement safeguards for your generative AI applications. You can configure the following policies in a guardrail to avoid undesirable and harmful content, filter out denied topics and words, and remove sensitive information for privacy protection. Content filters - Adjust filter strengths to block input prompts or model responses containing harmful content. Denied topics - Define a set of topics that are undesirable in the context of your application. These topics will be blocked if detected in user queries or model responses. Word filters - Configure filters to block undesirable words, phrases, and profanity. Such words can include offensive terms, competitor names etc. Sensitive information filters - Block or mask sensitive information such as personally identifiable information (PII) or custom regex in user inputs and model responses. In addition to the above policies, you can also configure the messages to be returned to the user if a user input or model response is in violation of the policies defined in the guardrail. For more information, see Guardrails for Amazon Bedrock in the Amazon Bedrock User Guide.
|
|
24
24
|
*/
|
|
25
25
|
createGuardrail(params: Bedrock.Types.CreateGuardrailRequest, callback?: (err: AWSError, data: Bedrock.Types.CreateGuardrailResponse) => void): Request<Bedrock.Types.CreateGuardrailResponse, AWSError>;
|
|
26
26
|
/**
|
|
27
|
-
* Creates a guardrail to block topics and to
|
|
27
|
+
* Creates a guardrail to block topics and to implement safeguards for your generative AI applications. You can configure the following policies in a guardrail to avoid undesirable and harmful content, filter out denied topics and words, and remove sensitive information for privacy protection. Content filters - Adjust filter strengths to block input prompts or model responses containing harmful content. Denied topics - Define a set of topics that are undesirable in the context of your application. These topics will be blocked if detected in user queries or model responses. Word filters - Configure filters to block undesirable words, phrases, and profanity. Such words can include offensive terms, competitor names etc. Sensitive information filters - Block or mask sensitive information such as personally identifiable information (PII) or custom regex in user inputs and model responses. In addition to the above policies, you can also configure the messages to be returned to the user if a user input or model response is in violation of the policies defined in the guardrail. For more information, see Guardrails for Amazon Bedrock in the Amazon Bedrock User Guide.
|
|
28
28
|
*/
|
|
29
29
|
createGuardrail(callback?: (err: AWSError, data: Bedrock.Types.CreateGuardrailResponse) => void): Request<Bedrock.Types.CreateGuardrailResponse, AWSError>;
|
|
30
30
|
/**
|
|
@@ -35,6 +35,14 @@ declare class Bedrock extends Service {
|
|
|
35
35
|
* Creates a version of the guardrail. Use this API to create a snapshot of the guardrail when you are satisfied with a configuration, or to compare the configuration with another version.
|
|
36
36
|
*/
|
|
37
37
|
createGuardrailVersion(callback?: (err: AWSError, data: Bedrock.Types.CreateGuardrailVersionResponse) => void): Request<Bedrock.Types.CreateGuardrailVersionResponse, AWSError>;
|
|
38
|
+
/**
|
|
39
|
+
* Copies a model to another region so that it can be used there. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
|
|
40
|
+
*/
|
|
41
|
+
createModelCopyJob(params: Bedrock.Types.CreateModelCopyJobRequest, callback?: (err: AWSError, data: Bedrock.Types.CreateModelCopyJobResponse) => void): Request<Bedrock.Types.CreateModelCopyJobResponse, AWSError>;
|
|
42
|
+
/**
|
|
43
|
+
* Copies a model to another region so that it can be used there. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
|
|
44
|
+
*/
|
|
45
|
+
createModelCopyJob(callback?: (err: AWSError, data: Bedrock.Types.CreateModelCopyJobResponse) => void): Request<Bedrock.Types.CreateModelCopyJobResponse, AWSError>;
|
|
38
46
|
/**
|
|
39
47
|
* Creates a fine-tuning job to customize a base model. You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Amazon Bedrock returns validation loss metrics and output generations after the job completes. For information on the format of training and validation data, see Prepare the datasets. Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the GetModelCustomizationJob operation to retrieve the job status. For more information, see Custom models in the Amazon Bedrock User Guide.
|
|
40
48
|
*/
|
|
@@ -92,11 +100,11 @@ declare class Bedrock extends Service {
|
|
|
92
100
|
*/
|
|
93
101
|
getCustomModel(callback?: (err: AWSError, data: Bedrock.Types.GetCustomModelResponse) => void): Request<Bedrock.Types.GetCustomModelResponse, AWSError>;
|
|
94
102
|
/**
|
|
95
|
-
* Retrieves the properties associated with a model evaluation job, including the status of the job. For more information, see Model
|
|
103
|
+
* Retrieves the properties associated with a model evaluation job, including the status of the job. For more information, see Model evaluation.
|
|
96
104
|
*/
|
|
97
105
|
getEvaluationJob(params: Bedrock.Types.GetEvaluationJobRequest, callback?: (err: AWSError, data: Bedrock.Types.GetEvaluationJobResponse) => void): Request<Bedrock.Types.GetEvaluationJobResponse, AWSError>;
|
|
98
106
|
/**
|
|
99
|
-
* Retrieves the properties associated with a model evaluation job, including the status of the job. For more information, see Model
|
|
107
|
+
* Retrieves the properties associated with a model evaluation job, including the status of the job. For more information, see Model evaluation.
|
|
100
108
|
*/
|
|
101
109
|
getEvaluationJob(callback?: (err: AWSError, data: Bedrock.Types.GetEvaluationJobResponse) => void): Request<Bedrock.Types.GetEvaluationJobResponse, AWSError>;
|
|
102
110
|
/**
|
|
@@ -115,6 +123,14 @@ declare class Bedrock extends Service {
|
|
|
115
123
|
* Gets details about a guardrail. If you don't specify a version, the response returns details for the DRAFT version.
|
|
116
124
|
*/
|
|
117
125
|
getGuardrail(callback?: (err: AWSError, data: Bedrock.Types.GetGuardrailResponse) => void): Request<Bedrock.Types.GetGuardrailResponse, AWSError>;
|
|
126
|
+
/**
|
|
127
|
+
* Retrieves information about a model copy job. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
|
|
128
|
+
*/
|
|
129
|
+
getModelCopyJob(params: Bedrock.Types.GetModelCopyJobRequest, callback?: (err: AWSError, data: Bedrock.Types.GetModelCopyJobResponse) => void): Request<Bedrock.Types.GetModelCopyJobResponse, AWSError>;
|
|
130
|
+
/**
|
|
131
|
+
* Retrieves information about a model copy job. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
|
|
132
|
+
*/
|
|
133
|
+
getModelCopyJob(callback?: (err: AWSError, data: Bedrock.Types.GetModelCopyJobResponse) => void): Request<Bedrock.Types.GetModelCopyJobResponse, AWSError>;
|
|
118
134
|
/**
|
|
119
135
|
* Retrieves the properties associated with a model-customization job, including the status of the job. For more information, see Custom models in the Amazon Bedrock User Guide.
|
|
120
136
|
*/
|
|
@@ -171,6 +187,14 @@ declare class Bedrock extends Service {
|
|
|
171
187
|
* Lists details about all the guardrails in an account. To list the DRAFT version of all your guardrails, don't specify the guardrailIdentifier field. To list all versions of a guardrail, specify the ARN of the guardrail in the guardrailIdentifier field. You can set the maximum number of results to return in a response in the maxResults field. If there are more results than the number you set, the response returns a nextToken that you can send in another ListGuardrails request to see the next batch of results.
|
|
172
188
|
*/
|
|
173
189
|
listGuardrails(callback?: (err: AWSError, data: Bedrock.Types.ListGuardrailsResponse) => void): Request<Bedrock.Types.ListGuardrailsResponse, AWSError>;
|
|
190
|
+
/**
|
|
191
|
+
* Returns a list of model copy jobs that you have submitted. You can filter the jobs to return based on one or more criteria. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
|
|
192
|
+
*/
|
|
193
|
+
listModelCopyJobs(params: Bedrock.Types.ListModelCopyJobsRequest, callback?: (err: AWSError, data: Bedrock.Types.ListModelCopyJobsResponse) => void): Request<Bedrock.Types.ListModelCopyJobsResponse, AWSError>;
|
|
194
|
+
/**
|
|
195
|
+
* Returns a list of model copy jobs that you have submitted. You can filter the jobs to return based on one or more criteria. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
|
|
196
|
+
*/
|
|
197
|
+
listModelCopyJobs(callback?: (err: AWSError, data: Bedrock.Types.ListModelCopyJobsResponse) => void): Request<Bedrock.Types.ListModelCopyJobsResponse, AWSError>;
|
|
174
198
|
/**
|
|
175
199
|
* Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria. For more information, see Custom models in the Amazon Bedrock User Guide.
|
|
176
200
|
*/
|
|
@@ -236,11 +260,11 @@ declare class Bedrock extends Service {
|
|
|
236
260
|
*/
|
|
237
261
|
untagResource(callback?: (err: AWSError, data: Bedrock.Types.UntagResourceResponse) => void): Request<Bedrock.Types.UntagResourceResponse, AWSError>;
|
|
238
262
|
/**
|
|
239
|
-
* Updates a guardrail with the values you specify. Specify a name and optional description. Specify messages for when the guardrail successfully blocks a prompt or a model response in the blockedInputMessaging and blockedOutputsMessaging fields. Specify topics for the guardrail to deny in the topicPolicyConfig object. Each GuardrailTopicConfig object in the topicsConfig list pertains to one topic. Give a name and description so that the guardrail can properly identify the topic. Specify DENY in the type field. (Optional) Provide up to five prompts that you would categorize as belonging to the topic in the examples list. Specify filter strengths for the harmful categories defined in Amazon Bedrock in the contentPolicyConfig object. Each GuardrailContentFilterConfig object in the filtersConfig list pertains to a harmful category. For more information, see Content filters. For more information about the fields in a content filter, see GuardrailContentFilterConfig. Specify the category in the type field. Specify the strength of the filter for prompts in the inputStrength field and for model responses in the strength field of the GuardrailContentFilterConfig. (Optional) For security, include the ARN of a KMS key in the kmsKeyId field.
|
|
263
|
+
* Updates a guardrail with the values you specify. Specify a name and optional description. Specify messages for when the guardrail successfully blocks a prompt or a model response in the blockedInputMessaging and blockedOutputsMessaging fields. Specify topics for the guardrail to deny in the topicPolicyConfig object. Each GuardrailTopicConfig object in the topicsConfig list pertains to one topic. Give a name and description so that the guardrail can properly identify the topic. Specify DENY in the type field. (Optional) Provide up to five prompts that you would categorize as belonging to the topic in the examples list. Specify filter strengths for the harmful categories defined in Amazon Bedrock in the contentPolicyConfig object. Each GuardrailContentFilterConfig object in the filtersConfig list pertains to a harmful category. For more information, see Content filters. For more information about the fields in a content filter, see GuardrailContentFilterConfig. Specify the category in the type field. Specify the strength of the filter for prompts in the inputStrength field and for model responses in the strength field of the GuardrailContentFilterConfig. (Optional) For security, include the ARN of a KMS key in the kmsKeyId field.
|
|
240
264
|
*/
|
|
241
265
|
updateGuardrail(params: Bedrock.Types.UpdateGuardrailRequest, callback?: (err: AWSError, data: Bedrock.Types.UpdateGuardrailResponse) => void): Request<Bedrock.Types.UpdateGuardrailResponse, AWSError>;
|
|
242
266
|
/**
|
|
243
|
-
* Updates a guardrail with the values you specify. Specify a name and optional description. Specify messages for when the guardrail successfully blocks a prompt or a model response in the blockedInputMessaging and blockedOutputsMessaging fields. Specify topics for the guardrail to deny in the topicPolicyConfig object. Each GuardrailTopicConfig object in the topicsConfig list pertains to one topic. Give a name and description so that the guardrail can properly identify the topic. Specify DENY in the type field. (Optional) Provide up to five prompts that you would categorize as belonging to the topic in the examples list. Specify filter strengths for the harmful categories defined in Amazon Bedrock in the contentPolicyConfig object. Each GuardrailContentFilterConfig object in the filtersConfig list pertains to a harmful category. For more information, see Content filters. For more information about the fields in a content filter, see GuardrailContentFilterConfig. Specify the category in the type field. Specify the strength of the filter for prompts in the inputStrength field and for model responses in the strength field of the GuardrailContentFilterConfig. (Optional) For security, include the ARN of a KMS key in the kmsKeyId field.
|
|
267
|
+
* Updates a guardrail with the values you specify. Specify a name and optional description. Specify messages for when the guardrail successfully blocks a prompt or a model response in the blockedInputMessaging and blockedOutputsMessaging fields. Specify topics for the guardrail to deny in the topicPolicyConfig object. Each GuardrailTopicConfig object in the topicsConfig list pertains to one topic. Give a name and description so that the guardrail can properly identify the topic. Specify DENY in the type field. (Optional) Provide up to five prompts that you would categorize as belonging to the topic in the examples list. Specify filter strengths for the harmful categories defined in Amazon Bedrock in the contentPolicyConfig object. Each GuardrailContentFilterConfig object in the filtersConfig list pertains to a harmful category. For more information, see Content filters. For more information about the fields in a content filter, see GuardrailContentFilterConfig. Specify the category in the type field. Specify the strength of the filter for prompts in the inputStrength field and for model responses in the strength field of the GuardrailContentFilterConfig. (Optional) For security, include the ARN of a KMS key in the kmsKeyId field.
|
|
244
268
|
*/
|
|
245
269
|
updateGuardrail(callback?: (err: AWSError, data: Bedrock.Types.UpdateGuardrailResponse) => void): Request<Bedrock.Types.UpdateGuardrailResponse, AWSError>;
|
|
246
270
|
/**
|
|
@@ -253,6 +277,7 @@ declare class Bedrock extends Service {
|
|
|
253
277
|
updateProvisionedModelThroughput(callback?: (err: AWSError, data: Bedrock.Types.UpdateProvisionedModelThroughputResponse) => void): Request<Bedrock.Types.UpdateProvisionedModelThroughputResponse, AWSError>;
|
|
254
278
|
}
|
|
255
279
|
declare namespace Bedrock {
|
|
280
|
+
export type AccountId = string;
|
|
256
281
|
export interface AutomatedEvaluationConfig {
|
|
257
282
|
/**
|
|
258
283
|
* Specifies the required elements for an automatic model evaluation job.
|
|
@@ -348,6 +373,10 @@ declare namespace Bedrock {
|
|
|
348
373
|
* The sensitive information policy to configure for the guardrail.
|
|
349
374
|
*/
|
|
350
375
|
sensitiveInformationPolicyConfig?: GuardrailSensitiveInformationPolicyConfig;
|
|
376
|
+
/**
|
|
377
|
+
* The contextual grounding policy configuration used to create a guardrail.
|
|
378
|
+
*/
|
|
379
|
+
contextualGroundingPolicyConfig?: GuardrailContextualGroundingPolicyConfig;
|
|
351
380
|
/**
|
|
352
381
|
* The message to return when the guardrail blocks a prompt.
|
|
353
382
|
*/
|
|
@@ -375,11 +404,11 @@ declare namespace Bedrock {
|
|
|
375
404
|
*/
|
|
376
405
|
guardrailId: GuardrailId;
|
|
377
406
|
/**
|
|
378
|
-
* The ARN of the guardrail
|
|
407
|
+
* The ARN of the guardrail.
|
|
379
408
|
*/
|
|
380
409
|
guardrailArn: GuardrailArn;
|
|
381
410
|
/**
|
|
382
|
-
* The version of the guardrail that was created. This value
|
|
411
|
+
* The version of the guardrail that was created. This value will always be DRAFT.
|
|
383
412
|
*/
|
|
384
413
|
version: GuardrailDraftVersion;
|
|
385
414
|
/**
|
|
@@ -389,7 +418,7 @@ declare namespace Bedrock {
|
|
|
389
418
|
}
|
|
390
419
|
export interface CreateGuardrailVersionRequest {
|
|
391
420
|
/**
|
|
392
|
-
* The unique identifier of the guardrail.
|
|
421
|
+
* The unique identifier of the guardrail. This can be an ID or the ARN.
|
|
393
422
|
*/
|
|
394
423
|
guardrailIdentifier: GuardrailIdentifier;
|
|
395
424
|
/**
|
|
@@ -411,6 +440,34 @@ declare namespace Bedrock {
|
|
|
411
440
|
*/
|
|
412
441
|
version: GuardrailNumericalVersion;
|
|
413
442
|
}
|
|
443
|
+
export interface CreateModelCopyJobRequest {
|
|
444
|
+
/**
|
|
445
|
+
* The Amazon Resource Name (ARN) of the model to be copied.
|
|
446
|
+
*/
|
|
447
|
+
sourceModelArn: ModelArn;
|
|
448
|
+
/**
|
|
449
|
+
* A name for the copied model.
|
|
450
|
+
*/
|
|
451
|
+
targetModelName: CustomModelName;
|
|
452
|
+
/**
|
|
453
|
+
* The ARN of the KMS key that you use to encrypt the model copy.
|
|
454
|
+
*/
|
|
455
|
+
modelKmsKeyId?: KmsKeyId;
|
|
456
|
+
/**
|
|
457
|
+
* Tags to associate with the target model. For more information, see Tag resources in the Amazon Bedrock User Guide.
|
|
458
|
+
*/
|
|
459
|
+
targetModelTags?: TagList;
|
|
460
|
+
/**
|
|
461
|
+
* 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.
|
|
462
|
+
*/
|
|
463
|
+
clientRequestToken?: IdempotencyToken;
|
|
464
|
+
}
|
|
465
|
+
export interface CreateModelCopyJobResponse {
|
|
466
|
+
/**
|
|
467
|
+
* The Amazon Resource Name (ARN) of the model copy job.
|
|
468
|
+
*/
|
|
469
|
+
jobArn: ModelCopyJobArn;
|
|
470
|
+
}
|
|
414
471
|
export interface CreateModelCustomizationJobRequest {
|
|
415
472
|
/**
|
|
416
473
|
* A name for the fine-tuning job.
|
|
@@ -493,7 +550,7 @@ declare namespace Bedrock {
|
|
|
493
550
|
*/
|
|
494
551
|
modelId: ModelIdentifier;
|
|
495
552
|
/**
|
|
496
|
-
* The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field. Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide
|
|
553
|
+
* The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field. Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide
|
|
497
554
|
*/
|
|
498
555
|
commitmentDuration?: CommitmentDuration;
|
|
499
556
|
/**
|
|
@@ -534,6 +591,10 @@ declare namespace Bedrock {
|
|
|
534
591
|
* Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.
|
|
535
592
|
*/
|
|
536
593
|
customizationType?: CustomizationType;
|
|
594
|
+
/**
|
|
595
|
+
* The unique identifier of the account that owns the model.
|
|
596
|
+
*/
|
|
597
|
+
ownerAccountId?: AccountId;
|
|
537
598
|
}
|
|
538
599
|
export type CustomModelSummaryList = CustomModelSummary[];
|
|
539
600
|
export type CustomizationType = "FINE_TUNING"|"CONTINUED_PRE_TRAINING"|string;
|
|
@@ -547,7 +608,7 @@ declare namespace Bedrock {
|
|
|
547
608
|
}
|
|
548
609
|
export interface DeleteGuardrailRequest {
|
|
549
610
|
/**
|
|
550
|
-
* The unique identifier of the guardrail.
|
|
611
|
+
* The unique identifier of the guardrail. This can be an ID or the ARN.
|
|
551
612
|
*/
|
|
552
613
|
guardrailIdentifier: GuardrailIdentifier;
|
|
553
614
|
/**
|
|
@@ -920,7 +981,7 @@ declare namespace Bedrock {
|
|
|
920
981
|
}
|
|
921
982
|
export interface GetGuardrailRequest {
|
|
922
983
|
/**
|
|
923
|
-
* The unique identifier of the guardrail for which to get details.
|
|
984
|
+
* The unique identifier of the guardrail for which to get details. This can be an ID or the ARN.
|
|
924
985
|
*/
|
|
925
986
|
guardrailIdentifier: GuardrailIdentifier;
|
|
926
987
|
/**
|
|
@@ -942,7 +1003,7 @@ declare namespace Bedrock {
|
|
|
942
1003
|
*/
|
|
943
1004
|
guardrailId: GuardrailId;
|
|
944
1005
|
/**
|
|
945
|
-
* The ARN of the guardrail
|
|
1006
|
+
* The ARN of the guardrail.
|
|
946
1007
|
*/
|
|
947
1008
|
guardrailArn: GuardrailArn;
|
|
948
1009
|
/**
|
|
@@ -969,6 +1030,10 @@ declare namespace Bedrock {
|
|
|
969
1030
|
* The sensitive information policy that was configured for the guardrail.
|
|
970
1031
|
*/
|
|
971
1032
|
sensitiveInformationPolicy?: GuardrailSensitiveInformationPolicy;
|
|
1033
|
+
/**
|
|
1034
|
+
* The contextual grounding policy used in the guardrail.
|
|
1035
|
+
*/
|
|
1036
|
+
contextualGroundingPolicy?: GuardrailContextualGroundingPolicy;
|
|
972
1037
|
/**
|
|
973
1038
|
* The date and time at which the guardrail was created.
|
|
974
1039
|
*/
|
|
@@ -998,6 +1063,58 @@ declare namespace Bedrock {
|
|
|
998
1063
|
*/
|
|
999
1064
|
kmsKeyArn?: KmsKeyArn;
|
|
1000
1065
|
}
|
|
1066
|
+
export interface GetModelCopyJobRequest {
|
|
1067
|
+
/**
|
|
1068
|
+
* The Amazon Resource Name (ARN) of the model copy job.
|
|
1069
|
+
*/
|
|
1070
|
+
jobArn: ModelCopyJobArn;
|
|
1071
|
+
}
|
|
1072
|
+
export interface GetModelCopyJobResponse {
|
|
1073
|
+
/**
|
|
1074
|
+
* The Amazon Resource Name (ARN) of the model copy job.
|
|
1075
|
+
*/
|
|
1076
|
+
jobArn: ModelCopyJobArn;
|
|
1077
|
+
/**
|
|
1078
|
+
* The status of the model copy job.
|
|
1079
|
+
*/
|
|
1080
|
+
status: ModelCopyJobStatus;
|
|
1081
|
+
/**
|
|
1082
|
+
* The time at which the model copy job was created.
|
|
1083
|
+
*/
|
|
1084
|
+
creationTime: Timestamp;
|
|
1085
|
+
/**
|
|
1086
|
+
* The Amazon Resource Name (ARN) of the copied model.
|
|
1087
|
+
*/
|
|
1088
|
+
targetModelArn: CustomModelArn;
|
|
1089
|
+
/**
|
|
1090
|
+
* The name of the copied model.
|
|
1091
|
+
*/
|
|
1092
|
+
targetModelName?: CustomModelName;
|
|
1093
|
+
/**
|
|
1094
|
+
* The unique identifier of the account that the model being copied originated from.
|
|
1095
|
+
*/
|
|
1096
|
+
sourceAccountId: AccountId;
|
|
1097
|
+
/**
|
|
1098
|
+
* The Amazon Resource Name (ARN) of the original model being copied.
|
|
1099
|
+
*/
|
|
1100
|
+
sourceModelArn: ModelArn;
|
|
1101
|
+
/**
|
|
1102
|
+
* The Amazon Resource Name (ARN) of the KMS key encrypting the copied model.
|
|
1103
|
+
*/
|
|
1104
|
+
targetModelKmsKeyArn?: KmsKeyArn;
|
|
1105
|
+
/**
|
|
1106
|
+
* The tags associated with the copied model.
|
|
1107
|
+
*/
|
|
1108
|
+
targetModelTags?: TagList;
|
|
1109
|
+
/**
|
|
1110
|
+
* An error message for why the model copy job failed.
|
|
1111
|
+
*/
|
|
1112
|
+
failureMessage?: ErrorMessage;
|
|
1113
|
+
/**
|
|
1114
|
+
* The name of the original model being copied.
|
|
1115
|
+
*/
|
|
1116
|
+
sourceModelName?: CustomModelName;
|
|
1117
|
+
}
|
|
1001
1118
|
export interface GetModelCustomizationJobRequest {
|
|
1002
1119
|
/**
|
|
1003
1120
|
* Identifier for the customization job.
|
|
@@ -1203,6 +1320,43 @@ declare namespace Bedrock {
|
|
|
1203
1320
|
*/
|
|
1204
1321
|
filtersConfig: GuardrailContentFiltersConfig;
|
|
1205
1322
|
}
|
|
1323
|
+
export interface GuardrailContextualGroundingFilter {
|
|
1324
|
+
/**
|
|
1325
|
+
* The filter type details for the guardrails contextual grounding filter.
|
|
1326
|
+
*/
|
|
1327
|
+
type: GuardrailContextualGroundingFilterType;
|
|
1328
|
+
/**
|
|
1329
|
+
* The threshold details for the guardrails contextual grounding filter.
|
|
1330
|
+
*/
|
|
1331
|
+
threshold: GuardrailContextualGroundingFilterThresholdDouble;
|
|
1332
|
+
}
|
|
1333
|
+
export interface GuardrailContextualGroundingFilterConfig {
|
|
1334
|
+
/**
|
|
1335
|
+
* The filter details for the guardrails contextual grounding filter.
|
|
1336
|
+
*/
|
|
1337
|
+
type: GuardrailContextualGroundingFilterType;
|
|
1338
|
+
/**
|
|
1339
|
+
* The threshold details for the guardrails contextual grounding filter.
|
|
1340
|
+
*/
|
|
1341
|
+
threshold: GuardrailContextualGroundingFilterConfigThresholdDouble;
|
|
1342
|
+
}
|
|
1343
|
+
export type GuardrailContextualGroundingFilterConfigThresholdDouble = number;
|
|
1344
|
+
export type GuardrailContextualGroundingFilterThresholdDouble = number;
|
|
1345
|
+
export type GuardrailContextualGroundingFilterType = "GROUNDING"|"RELEVANCE"|string;
|
|
1346
|
+
export type GuardrailContextualGroundingFilters = GuardrailContextualGroundingFilter[];
|
|
1347
|
+
export type GuardrailContextualGroundingFiltersConfig = GuardrailContextualGroundingFilterConfig[];
|
|
1348
|
+
export interface GuardrailContextualGroundingPolicy {
|
|
1349
|
+
/**
|
|
1350
|
+
* The filter details for the guardrails contextual grounding policy.
|
|
1351
|
+
*/
|
|
1352
|
+
filters: GuardrailContextualGroundingFilters;
|
|
1353
|
+
}
|
|
1354
|
+
export interface GuardrailContextualGroundingPolicyConfig {
|
|
1355
|
+
/**
|
|
1356
|
+
* The filter configuration details for the guardrails contextual grounding policy.
|
|
1357
|
+
*/
|
|
1358
|
+
filtersConfig: GuardrailContextualGroundingFiltersConfig;
|
|
1359
|
+
}
|
|
1206
1360
|
export type GuardrailDescription = string;
|
|
1207
1361
|
export type GuardrailDraftVersion = string;
|
|
1208
1362
|
export type GuardrailFailureRecommendation = string;
|
|
@@ -1231,7 +1385,7 @@ declare namespace Bedrock {
|
|
|
1231
1385
|
export type GuardrailPiiEntitiesConfig = GuardrailPiiEntityConfig[];
|
|
1232
1386
|
export interface GuardrailPiiEntity {
|
|
1233
1387
|
/**
|
|
1234
|
-
* The type of PII entity. For
|
|
1388
|
+
* The type of PII entity. For exampvle, Social Security Number.
|
|
1235
1389
|
*/
|
|
1236
1390
|
type: GuardrailPiiEntityType;
|
|
1237
1391
|
/**
|
|
@@ -1241,7 +1395,7 @@ declare namespace Bedrock {
|
|
|
1241
1395
|
}
|
|
1242
1396
|
export interface GuardrailPiiEntityConfig {
|
|
1243
1397
|
/**
|
|
1244
|
-
* Configure guardrail type when the PII entity is detected.
|
|
1398
|
+
* Configure guardrail type when the PII entity is detected. The following PIIs are used to block or mask sensitive information: General ADDRESS A physical address, such as "100 Main Street, Anytown, USA" or "Suite #12, Building 123". An address can include information such as the street, building, location, city, state, country, county, zip code, precinct, and neighborhood. AGE An individual's age, including the quantity and unit of time. For example, in the phrase "I am 40 years old," Guarrails recognizes "40 years" as an age. NAME An individual's name. This entity type does not include titles, such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this entity type to names that are part of organizations or addresses. For example, guardrails recognizes the "John Doe Organization" as an organization, and it recognizes "Jane Doe Street" as an address. EMAIL An email address, such as marymajor@email.com. PHONE A phone number. This entity type also includes fax and pager numbers. USERNAME A user name that identifies an account, such as a login name, screen name, nick name, or handle. PASSWORD An alphanumeric string that is used as a password, such as "*very20special#pass*". DRIVER_ID The number assigned to a driver's license, which is an official document permitting an individual to operate one or more motorized vehicles on a public road. A driver's license number consists of alphanumeric characters. LICENSE_PLATE A license plate for a vehicle is issued by the state or country where the vehicle is registered. The format for passenger vehicles is typically five to eight digits, consisting of upper-case letters and numbers. The format varies depending on the location of the issuing state or country. VEHICLE_IDENTIFICATION_NUMBER A Vehicle Identification Number (VIN) uniquely identifies a vehicle. VIN content and format are defined in the ISO 3779 specification. Each country has specific codes and formats for VINs. Finance REDIT_DEBIT_CARD_CVV A three-digit card verification code (CVV) that is present on VISA, MasterCard, and Discover credit and debit cards. For American Express credit or debit cards, the CVV is a four-digit numeric code. CREDIT_DEBIT_CARD_EXPIRY The expiration date for a credit or debit card. This number is usually four digits long and is often formatted as month/year or MM/YY. Guardrails recognizes expiration dates such as 01/21, 01/2021, and Jan 2021. CREDIT_DEBIT_CARD_NUMBER The number for a credit or debit card. These numbers can vary from 13 to 16 digits in length. However, Amazon Comprehend also recognizes credit or debit card numbers when only the last four digits are present. PIN A four-digit personal identification number (PIN) with which you can access your bank account. INTERNATIONAL_BANK_ACCOUNT_NUMBER An International Bank Account Number has specific formats in each country. For more information, see www.iban.com/structure. SWIFT_CODE A SWIFT code is a standard format of Bank Identifier Code (BIC) used to specify a particular bank or branch. Banks use these codes for money transfers such as international wire transfers. SWIFT codes consist of eight or 11 characters. The 11-digit codes refer to specific branches, while eight-digit codes (or 11-digit codes ending in 'XXX') refer to the head or primary office. IT IP_ADDRESS An IPv4 address, such as 198.51.100.0. MAC_ADDRESS A media access control (MAC) address is a unique identifier assigned to a network interface controller (NIC). URL A web address, such as www.example.com. AWS_ACCESS_KEY A unique identifier that's associated with a secret access key; you use the access key ID and secret access key to sign programmatic Amazon Web Services requests cryptographically. AWS_SECRET_KEY A unique identifier that's associated with an access key. You use the access key ID and secret access key to sign programmatic Amazon Web Services requests cryptographically. USA specific US_BANK_ACCOUNT_NUMBER A US bank account number, which is typically 10 to 12 digits long. US_BANK_ROUTING_NUMBER A US bank account routing number. These are typically nine digits long, US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER A US Individual Taxpayer Identification Number (ITIN) is a nine-digit number that starts with a "9" and contain a "7" or "8" as the fourth digit. An ITIN can be formatted with a space or a dash after the third and forth digits. US_PASSPORT_NUMBER A US passport number. Passport numbers range from six to nine alphanumeric characters. US_SOCIAL_SECURITY_NUMBER A US Social Security Number (SSN) is a nine-digit number that is issued to US citizens, permanent residents, and temporary working residents. Canada specific CA_HEALTH_NUMBER A Canadian Health Service Number is a 10-digit unique identifier, required for individuals to access healthcare benefits. CA_SOCIAL_INSURANCE_NUMBER A Canadian Social Insurance Number (SIN) is a nine-digit unique identifier, required for individuals to access government programs and benefits. The SIN is formatted as three groups of three digits, such as 123-456-789. A SIN can be validated through a simple check-digit process called the Luhn algorithm. UK Specific UK_NATIONAL_HEALTH_SERVICE_NUMBER A UK National Health Service Number is a 10-17 digit number, such as 485 777 3456. The current system formats the 10-digit number with spaces after the third and sixth digits. The final digit is an error-detecting checksum. UK_NATIONAL_INSURANCE_NUMBER A UK National Insurance Number (NINO) provides individuals with access to National Insurance (social security) benefits. It is also used for some purposes in the UK tax system. The number is nine digits long and starts with two letters, followed by six numbers and one letter. A NINO can be formatted with a space or a dash after the two letters and after the second, forth, and sixth digits. UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER A UK Unique Taxpayer Reference (UTR) is a 10-digit number that identifies a taxpayer or a business. Custom Regex filter - You can use a regular expressions to define patterns for a guardrail to recognize and act upon such as serial number, booking ID etc..
|
|
1245
1399
|
*/
|
|
1246
1400
|
type: GuardrailPiiEntityType;
|
|
1247
1401
|
/**
|
|
@@ -1514,11 +1668,11 @@ declare namespace Bedrock {
|
|
|
1514
1668
|
*/
|
|
1515
1669
|
foundationModelArnEquals?: FoundationModelArn;
|
|
1516
1670
|
/**
|
|
1517
|
-
*
|
|
1671
|
+
* 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.
|
|
1518
1672
|
*/
|
|
1519
1673
|
maxResults?: MaxResults;
|
|
1520
1674
|
/**
|
|
1521
|
-
*
|
|
1675
|
+
* 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.
|
|
1522
1676
|
*/
|
|
1523
1677
|
nextToken?: PaginationToken;
|
|
1524
1678
|
/**
|
|
@@ -1529,10 +1683,14 @@ declare namespace Bedrock {
|
|
|
1529
1683
|
* The sort order of the results.
|
|
1530
1684
|
*/
|
|
1531
1685
|
sortOrder?: SortOrder;
|
|
1686
|
+
/**
|
|
1687
|
+
* Return custom models depending on if the current account owns them (true) or if they were shared with the current account (false).
|
|
1688
|
+
*/
|
|
1689
|
+
isOwned?: Boolean;
|
|
1532
1690
|
}
|
|
1533
1691
|
export interface ListCustomModelsResponse {
|
|
1534
1692
|
/**
|
|
1535
|
-
*
|
|
1693
|
+
* 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.
|
|
1536
1694
|
*/
|
|
1537
1695
|
nextToken?: PaginationToken;
|
|
1538
1696
|
/**
|
|
@@ -1610,7 +1768,7 @@ declare namespace Bedrock {
|
|
|
1610
1768
|
}
|
|
1611
1769
|
export interface ListGuardrailsRequest {
|
|
1612
1770
|
/**
|
|
1613
|
-
* The unique identifier of the guardrail.
|
|
1771
|
+
* The unique identifier of the guardrail. This can be an ID or the ARN.
|
|
1614
1772
|
*/
|
|
1615
1773
|
guardrailIdentifier?: GuardrailIdentifier;
|
|
1616
1774
|
/**
|
|
@@ -1632,6 +1790,58 @@ declare namespace Bedrock {
|
|
|
1632
1790
|
*/
|
|
1633
1791
|
nextToken?: PaginationToken;
|
|
1634
1792
|
}
|
|
1793
|
+
export interface ListModelCopyJobsRequest {
|
|
1794
|
+
/**
|
|
1795
|
+
* Filters for model copy jobs created after the specified time.
|
|
1796
|
+
*/
|
|
1797
|
+
creationTimeAfter?: Timestamp;
|
|
1798
|
+
/**
|
|
1799
|
+
* Filters for model copy jobs created before the specified time.
|
|
1800
|
+
*/
|
|
1801
|
+
creationTimeBefore?: Timestamp;
|
|
1802
|
+
/**
|
|
1803
|
+
* Filters for model copy jobs whose status matches the value that you specify.
|
|
1804
|
+
*/
|
|
1805
|
+
statusEquals?: ModelCopyJobStatus;
|
|
1806
|
+
/**
|
|
1807
|
+
* Filters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify.
|
|
1808
|
+
*/
|
|
1809
|
+
sourceAccountEquals?: AccountId;
|
|
1810
|
+
/**
|
|
1811
|
+
* Filters for model copy jobs in which the Amazon Resource Name (ARN) of the source model to is equal to the value that you specify.
|
|
1812
|
+
*/
|
|
1813
|
+
sourceModelArnEquals?: ModelArn;
|
|
1814
|
+
/**
|
|
1815
|
+
* Filters for model copy jobs in which the name of the copied model contains the string that you specify.
|
|
1816
|
+
*/
|
|
1817
|
+
targetModelNameContains?: CustomModelName;
|
|
1818
|
+
/**
|
|
1819
|
+
* 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.
|
|
1820
|
+
*/
|
|
1821
|
+
maxResults?: MaxResults;
|
|
1822
|
+
/**
|
|
1823
|
+
* 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.
|
|
1824
|
+
*/
|
|
1825
|
+
nextToken?: PaginationToken;
|
|
1826
|
+
/**
|
|
1827
|
+
* The field to sort by in the returned list of model copy jobs.
|
|
1828
|
+
*/
|
|
1829
|
+
sortBy?: SortJobsBy;
|
|
1830
|
+
/**
|
|
1831
|
+
* Specifies whether to sort the results in ascending or descending order.
|
|
1832
|
+
*/
|
|
1833
|
+
sortOrder?: SortOrder;
|
|
1834
|
+
}
|
|
1835
|
+
export interface ListModelCopyJobsResponse {
|
|
1836
|
+
/**
|
|
1837
|
+
* 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.
|
|
1838
|
+
*/
|
|
1839
|
+
nextToken?: PaginationToken;
|
|
1840
|
+
/**
|
|
1841
|
+
* A list of information about each model copy job.
|
|
1842
|
+
*/
|
|
1843
|
+
modelCopyJobSummaries?: ModelCopyJobSummaries;
|
|
1844
|
+
}
|
|
1635
1845
|
export interface ListModelCustomizationJobsRequest {
|
|
1636
1846
|
/**
|
|
1637
1847
|
* Return customization jobs created after the specified time.
|
|
@@ -1650,11 +1860,11 @@ declare namespace Bedrock {
|
|
|
1650
1860
|
*/
|
|
1651
1861
|
nameContains?: JobName;
|
|
1652
1862
|
/**
|
|
1653
|
-
*
|
|
1863
|
+
* 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.
|
|
1654
1864
|
*/
|
|
1655
1865
|
maxResults?: MaxResults;
|
|
1656
1866
|
/**
|
|
1657
|
-
*
|
|
1867
|
+
* 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.
|
|
1658
1868
|
*/
|
|
1659
1869
|
nextToken?: PaginationToken;
|
|
1660
1870
|
/**
|
|
@@ -1668,7 +1878,7 @@ declare namespace Bedrock {
|
|
|
1668
1878
|
}
|
|
1669
1879
|
export interface ListModelCustomizationJobsResponse {
|
|
1670
1880
|
/**
|
|
1671
|
-
*
|
|
1881
|
+
* 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.
|
|
1672
1882
|
*/
|
|
1673
1883
|
nextToken?: PaginationToken;
|
|
1674
1884
|
/**
|
|
@@ -1762,6 +1972,55 @@ declare namespace Bedrock {
|
|
|
1762
1972
|
export type MaxResults = number;
|
|
1763
1973
|
export type MetricFloat = number;
|
|
1764
1974
|
export type ModelArn = string;
|
|
1975
|
+
export type ModelCopyJobArn = string;
|
|
1976
|
+
export type ModelCopyJobStatus = "InProgress"|"Completed"|"Failed"|string;
|
|
1977
|
+
export type ModelCopyJobSummaries = ModelCopyJobSummary[];
|
|
1978
|
+
export interface ModelCopyJobSummary {
|
|
1979
|
+
/**
|
|
1980
|
+
* The Amazon Resoource Name (ARN) of the model copy job.
|
|
1981
|
+
*/
|
|
1982
|
+
jobArn: ModelCopyJobArn;
|
|
1983
|
+
/**
|
|
1984
|
+
* The status of the model copy job.
|
|
1985
|
+
*/
|
|
1986
|
+
status: ModelCopyJobStatus;
|
|
1987
|
+
/**
|
|
1988
|
+
* The time that the model copy job was created.
|
|
1989
|
+
*/
|
|
1990
|
+
creationTime: Timestamp;
|
|
1991
|
+
/**
|
|
1992
|
+
* The Amazon Resource Name (ARN) of the copied model.
|
|
1993
|
+
*/
|
|
1994
|
+
targetModelArn: CustomModelArn;
|
|
1995
|
+
/**
|
|
1996
|
+
* The name of the copied model.
|
|
1997
|
+
*/
|
|
1998
|
+
targetModelName?: CustomModelName;
|
|
1999
|
+
/**
|
|
2000
|
+
* The unique identifier of the account that the model being copied originated from.
|
|
2001
|
+
*/
|
|
2002
|
+
sourceAccountId: AccountId;
|
|
2003
|
+
/**
|
|
2004
|
+
* The Amazon Resource Name (ARN) of the original model being copied.
|
|
2005
|
+
*/
|
|
2006
|
+
sourceModelArn: ModelArn;
|
|
2007
|
+
/**
|
|
2008
|
+
* The Amazon Resource Name (ARN) of the KMS key used to encrypt the copied model.
|
|
2009
|
+
*/
|
|
2010
|
+
targetModelKmsKeyArn?: KmsKeyArn;
|
|
2011
|
+
/**
|
|
2012
|
+
* Tags associated with the copied model.
|
|
2013
|
+
*/
|
|
2014
|
+
targetModelTags?: TagList;
|
|
2015
|
+
/**
|
|
2016
|
+
* If a model fails to be copied, a message describing why the job failed is included here.
|
|
2017
|
+
*/
|
|
2018
|
+
failureMessage?: ErrorMessage;
|
|
2019
|
+
/**
|
|
2020
|
+
* The name of the original model being copied.
|
|
2021
|
+
*/
|
|
2022
|
+
sourceModelName?: CustomModelName;
|
|
2023
|
+
}
|
|
1765
2024
|
export type ModelCustomization = "FINE_TUNING"|"CONTINUED_PRE_TRAINING"|string;
|
|
1766
2025
|
export type ModelCustomizationHyperParameters = {[key: string]: String};
|
|
1767
2026
|
export type ModelCustomizationJobArn = string;
|
|
@@ -1979,7 +2238,7 @@ declare namespace Bedrock {
|
|
|
1979
2238
|
}
|
|
1980
2239
|
export interface UpdateGuardrailRequest {
|
|
1981
2240
|
/**
|
|
1982
|
-
* The unique identifier of the guardrail
|
|
2241
|
+
* The unique identifier of the guardrail. This can be an ID or the ARN.
|
|
1983
2242
|
*/
|
|
1984
2243
|
guardrailIdentifier: GuardrailIdentifier;
|
|
1985
2244
|
/**
|
|
@@ -2006,6 +2265,10 @@ declare namespace Bedrock {
|
|
|
2006
2265
|
* The sensitive information policy to configure for the guardrail.
|
|
2007
2266
|
*/
|
|
2008
2267
|
sensitiveInformationPolicyConfig?: GuardrailSensitiveInformationPolicyConfig;
|
|
2268
|
+
/**
|
|
2269
|
+
* The contextual grounding policy configuration used to update a guardrail.
|
|
2270
|
+
*/
|
|
2271
|
+
contextualGroundingPolicyConfig?: GuardrailContextualGroundingPolicyConfig;
|
|
2009
2272
|
/**
|
|
2010
2273
|
* The message to return when the guardrail blocks a prompt.
|
|
2011
2274
|
*/
|
|
@@ -2025,7 +2288,7 @@ declare namespace Bedrock {
|
|
|
2025
2288
|
*/
|
|
2026
2289
|
guardrailId: GuardrailId;
|
|
2027
2290
|
/**
|
|
2028
|
-
* The ARN of the guardrail
|
|
2291
|
+
* The ARN of the guardrail.
|
|
2029
2292
|
*/
|
|
2030
2293
|
guardrailArn: GuardrailArn;
|
|
2031
2294
|
/**
|