Skip to content

Commit a3b823a

Browse files
author
AWS
committed
Data Automation for Amazon Bedrock Update: Added support for Synchronous project type and PII Detection and Redaction
1 parent 1a6cdbc commit a3b823a

File tree

2 files changed

+134
-4
lines changed

2 files changed

+134
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Data Automation for Amazon Bedrock",
4+
"contributor": "",
5+
"description": "Added support for Synchronous project type and PII Detection and Redaction"
6+
}

services/bedrockdataautomation/src/main/resources/codegen-resources/service-2.json

Lines changed: 128 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,8 @@
356356
"type":"structure",
357357
"members":{
358358
"modalityProcessing":{"shape":"ModalityProcessingConfiguration"},
359-
"languageConfiguration":{"shape":"AudioLanguageConfiguration"}
359+
"languageConfiguration":{"shape":"AudioLanguageConfiguration"},
360+
"sensitiveDataConfiguration":{"shape":"SensitiveDataConfiguration"}
360361
},
361362
"documentation":"<p>Override Configuration of Audio</p>"
362363
},
@@ -609,6 +610,7 @@
609610
"projectName":{"shape":"DataAutomationProjectName"},
610611
"projectDescription":{"shape":"DataAutomationProjectDescription"},
611612
"projectStage":{"shape":"DataAutomationProjectStage"},
613+
"projectType":{"shape":"DataAutomationProjectType"},
612614
"standardOutputConfiguration":{"shape":"StandardOutputConfiguration"},
613615
"customOutputConfiguration":{"shape":"CustomOutputConfiguration"},
614616
"overrideConfiguration":{"shape":"OverrideConfiguration"},
@@ -653,6 +655,7 @@
653655
"lastModifiedTime":{"shape":"DateTimestamp"},
654656
"projectName":{"shape":"DataAutomationProjectName"},
655657
"projectStage":{"shape":"DataAutomationProjectStage"},
658+
"projectType":{"shape":"DataAutomationProjectType"},
656659
"projectDescription":{"shape":"DataAutomationProjectDescription"},
657660
"standardOutputConfiguration":{"shape":"StandardOutputConfiguration"},
658661
"customOutputConfiguration":{"shape":"CustomOutputConfiguration"},
@@ -734,11 +737,20 @@
734737
"members":{
735738
"projectArn":{"shape":"DataAutomationProjectArn"},
736739
"projectStage":{"shape":"DataAutomationProjectStage"},
740+
"projectType":{"shape":"DataAutomationProjectType"},
737741
"projectName":{"shape":"DataAutomationProjectName"},
738742
"creationTime":{"shape":"DateTimestamp"}
739743
},
740744
"documentation":"<p>Summary of a DataAutomationProject</p>"
741745
},
746+
"DataAutomationProjectType":{
747+
"type":"string",
748+
"documentation":"<p>Type of the DataAutomationProject</p>",
749+
"enum":[
750+
"ASYNC",
751+
"SYNC"
752+
]
753+
},
742754
"DateTimestamp":{
743755
"type":"timestamp",
744756
"documentation":"<p>Time Stamp</p>",
@@ -875,7 +887,8 @@
875887
"type":"structure",
876888
"members":{
877889
"splitter":{"shape":"SplitterConfiguration"},
878-
"modalityProcessing":{"shape":"ModalityProcessingConfiguration"}
890+
"modalityProcessing":{"shape":"ModalityProcessingConfiguration"},
891+
"sensitiveDataConfiguration":{"shape":"SensitiveDataConfiguration"}
879892
},
880893
"documentation":"<p>Override Configuration of Document</p>"
881894
},
@@ -1018,7 +1031,8 @@
10181031
"ImageOverrideConfiguration":{
10191032
"type":"structure",
10201033
"members":{
1021-
"modalityProcessing":{"shape":"ModalityProcessingConfiguration"}
1034+
"modalityProcessing":{"shape":"ModalityProcessingConfiguration"},
1035+
"sensitiveDataConfiguration":{"shape":"SensitiveDataConfiguration"}
10221036
},
10231037
"documentation":"<p>Override Configuration of Image</p>"
10241038
},
@@ -1205,6 +1219,73 @@
12051219
},
12061220
"documentation":"<p>Override configuration</p>"
12071221
},
1222+
"PIIEntitiesConfiguration":{
1223+
"type":"structure",
1224+
"members":{
1225+
"piiEntityTypes":{
1226+
"shape":"PIIEntityTypes",
1227+
"documentation":"<p>Types of PII entities to detect</p>"
1228+
},
1229+
"redactionMaskMode":{
1230+
"shape":"PIIRedactionMaskMode",
1231+
"documentation":"<p>Mode for redacting detected PII</p>"
1232+
}
1233+
},
1234+
"documentation":"<p>Configuration for PII entities detection and redaction</p>"
1235+
},
1236+
"PIIEntityType":{
1237+
"type":"string",
1238+
"documentation":"<p>Types of PII entities that can be detected, we will support every types that Guardrails can support</p>",
1239+
"enum":[
1240+
"ALL",
1241+
"ADDRESS",
1242+
"AGE",
1243+
"NAME",
1244+
"EMAIL",
1245+
"PHONE",
1246+
"USERNAME",
1247+
"PASSWORD",
1248+
"DRIVER_ID",
1249+
"LICENSE_PLATE",
1250+
"VEHICLE_IDENTIFICATION_NUMBER",
1251+
"CREDIT_DEBIT_CARD_CVV",
1252+
"CREDIT_DEBIT_CARD_EXPIRY",
1253+
"CREDIT_DEBIT_CARD_NUMBER",
1254+
"PIN",
1255+
"INTERNATIONAL_BANK_ACCOUNT_NUMBER",
1256+
"SWIFT_CODE",
1257+
"IP_ADDRESS",
1258+
"MAC_ADDRESS",
1259+
"URL",
1260+
"AWS_ACCESS_KEY",
1261+
"AWS_SECRET_KEY",
1262+
"US_BANK_ACCOUNT_NUMBER",
1263+
"US_BANK_ROUTING_NUMBER",
1264+
"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
1265+
"US_PASSPORT_NUMBER",
1266+
"US_SOCIAL_SECURITY_NUMBER",
1267+
"CA_HEALTH_NUMBER",
1268+
"CA_SOCIAL_INSURANCE_NUMBER",
1269+
"UK_NATIONAL_HEALTH_SERVICE_NUMBER",
1270+
"UK_NATIONAL_INSURANCE_NUMBER",
1271+
"UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER"
1272+
]
1273+
},
1274+
"PIIEntityTypes":{
1275+
"type":"list",
1276+
"member":{"shape":"PIIEntityType"},
1277+
"documentation":"<p>List of PII entity types</p>",
1278+
"max":32,
1279+
"min":1
1280+
},
1281+
"PIIRedactionMaskMode":{
1282+
"type":"string",
1283+
"documentation":"<p>Mode for redacting detected PII</p>",
1284+
"enum":[
1285+
"PII",
1286+
"ENTITY_TYPE"
1287+
]
1288+
},
12081289
"ResourceNotFoundException":{
12091290
"type":"structure",
12101291
"members":{
@@ -1225,6 +1306,48 @@
12251306
"ACCOUNT"
12261307
]
12271308
},
1309+
"SensitiveDataConfiguration":{
1310+
"type":"structure",
1311+
"required":["detectionMode"],
1312+
"members":{
1313+
"detectionMode":{
1314+
"shape":"SensitiveDataDetectionMode",
1315+
"documentation":"<p>Mode for sensitive data detection</p>"
1316+
},
1317+
"detectionScope":{
1318+
"shape":"SensitiveDataDetectionScope",
1319+
"documentation":"<p>Scope of detection - what types of sensitive data to detect</p>"
1320+
},
1321+
"piiEntitiesConfiguration":{
1322+
"shape":"PIIEntitiesConfiguration",
1323+
"documentation":"<p>Configuration for PII entities detection and redaction</p>"
1324+
}
1325+
},
1326+
"documentation":"<p>Configuration for sensitive data detection and redaction</p>"
1327+
},
1328+
"SensitiveDataDetectionMode":{
1329+
"type":"string",
1330+
"documentation":"<p>Mode for sensitive data detection</p>",
1331+
"enum":[
1332+
"DETECTION",
1333+
"DETECTION_AND_REDACTION"
1334+
]
1335+
},
1336+
"SensitiveDataDetectionScope":{
1337+
"type":"list",
1338+
"member":{"shape":"SensitiveDataDetectionScopeType"},
1339+
"documentation":"<p>Scope of sensitive data detection</p>",
1340+
"max":2,
1341+
"min":1
1342+
},
1343+
"SensitiveDataDetectionScopeType":{
1344+
"type":"string",
1345+
"documentation":"<p>Types of sensitive data detection scope</p>",
1346+
"enum":[
1347+
"STANDARD",
1348+
"CUSTOM"
1349+
]
1350+
},
12281351
"ServiceQuotaExceededException":{
12291352
"type":"structure",
12301353
"members":{
@@ -1498,7 +1621,8 @@
14981621
"VideoOverrideConfiguration":{
14991622
"type":"structure",
15001623
"members":{
1501-
"modalityProcessing":{"shape":"ModalityProcessingConfiguration"}
1624+
"modalityProcessing":{"shape":"ModalityProcessingConfiguration"},
1625+
"sensitiveDataConfiguration":{"shape":"SensitiveDataConfiguration"}
15021626
},
15031627
"documentation":"<p>Override Configuration of Video</p>"
15041628
},

0 commit comments

Comments
 (0)