aws-sdk-core 2.11.587 → 2.11.592

Sign up to get free protection for your applications and to get access to all the features.
@@ -380,6 +380,7 @@
380
380
  "type":"string",
381
381
  "enum":[
382
382
  "Bitbucket",
383
+ "GitHub",
383
384
  "GitHubEnterpriseServer"
384
385
  ]
385
386
  },
@@ -319,6 +319,21 @@
319
319
  {"shape":"InternalServerException"}
320
320
  ]
321
321
  },
322
+ "DescribePiiEntitiesDetectionJob":{
323
+ "name":"DescribePiiEntitiesDetectionJob",
324
+ "http":{
325
+ "method":"POST",
326
+ "requestUri":"/"
327
+ },
328
+ "input":{"shape":"DescribePiiEntitiesDetectionJobRequest"},
329
+ "output":{"shape":"DescribePiiEntitiesDetectionJobResponse"},
330
+ "errors":[
331
+ {"shape":"InvalidRequestException"},
332
+ {"shape":"JobNotFoundException"},
333
+ {"shape":"TooManyRequestsException"},
334
+ {"shape":"InternalServerException"}
335
+ ]
336
+ },
322
337
  "DescribeSentimentDetectionJob":{
323
338
  "name":"DescribeSentimentDetectionJob",
324
339
  "http":{
@@ -394,6 +409,21 @@
394
409
  {"shape":"InternalServerException"}
395
410
  ]
396
411
  },
412
+ "DetectPiiEntities":{
413
+ "name":"DetectPiiEntities",
414
+ "http":{
415
+ "method":"POST",
416
+ "requestUri":"/"
417
+ },
418
+ "input":{"shape":"DetectPiiEntitiesRequest"},
419
+ "output":{"shape":"DetectPiiEntitiesResponse"},
420
+ "errors":[
421
+ {"shape":"InvalidRequestException"},
422
+ {"shape":"TextSizeLimitExceededException"},
423
+ {"shape":"UnsupportedLanguageException"},
424
+ {"shape":"InternalServerException"}
425
+ ]
426
+ },
397
427
  "DetectSentiment":{
398
428
  "name":"DetectSentiment",
399
429
  "http":{
@@ -528,6 +558,21 @@
528
558
  {"shape":"InternalServerException"}
529
559
  ]
530
560
  },
561
+ "ListPiiEntitiesDetectionJobs":{
562
+ "name":"ListPiiEntitiesDetectionJobs",
563
+ "http":{
564
+ "method":"POST",
565
+ "requestUri":"/"
566
+ },
567
+ "input":{"shape":"ListPiiEntitiesDetectionJobsRequest"},
568
+ "output":{"shape":"ListPiiEntitiesDetectionJobsResponse"},
569
+ "errors":[
570
+ {"shape":"InvalidRequestException"},
571
+ {"shape":"TooManyRequestsException"},
572
+ {"shape":"InvalidFilterException"},
573
+ {"shape":"InternalServerException"}
574
+ ]
575
+ },
531
576
  "ListSentimentDetectionJobs":{
532
577
  "name":"ListSentimentDetectionJobs",
533
578
  "http":{
@@ -636,6 +681,21 @@
636
681
  {"shape":"InternalServerException"}
637
682
  ]
638
683
  },
684
+ "StartPiiEntitiesDetectionJob":{
685
+ "name":"StartPiiEntitiesDetectionJob",
686
+ "http":{
687
+ "method":"POST",
688
+ "requestUri":"/"
689
+ },
690
+ "input":{"shape":"StartPiiEntitiesDetectionJobRequest"},
691
+ "output":{"shape":"StartPiiEntitiesDetectionJobResponse"},
692
+ "errors":[
693
+ {"shape":"InvalidRequestException"},
694
+ {"shape":"TooManyRequestsException"},
695
+ {"shape":"KmsKeyValidationException"},
696
+ {"shape":"InternalServerException"}
697
+ ]
698
+ },
639
699
  "StartSentimentDetectionJob":{
640
700
  "name":"StartSentimentDetectionJob",
641
701
  "http":{
@@ -708,6 +768,20 @@
708
768
  {"shape":"InternalServerException"}
709
769
  ]
710
770
  },
771
+ "StopPiiEntitiesDetectionJob":{
772
+ "name":"StopPiiEntitiesDetectionJob",
773
+ "http":{
774
+ "method":"POST",
775
+ "requestUri":"/"
776
+ },
777
+ "input":{"shape":"StopPiiEntitiesDetectionJobRequest"},
778
+ "output":{"shape":"StopPiiEntitiesDetectionJobResponse"},
779
+ "errors":[
780
+ {"shape":"InvalidRequestException"},
781
+ {"shape":"JobNotFoundException"},
782
+ {"shape":"InternalServerException"}
783
+ ]
784
+ },
711
785
  "StopSentimentDetectionJob":{
712
786
  "name":"StopSentimentDetectionJob",
713
787
  "http":{
@@ -805,6 +879,27 @@
805
879
  },
806
880
  "shapes":{
807
881
  "AnyLengthString":{"type":"string"},
882
+ "AttributeNamesList":{
883
+ "type":"list",
884
+ "member":{"shape":"AttributeNamesListItem"}
885
+ },
886
+ "AttributeNamesListItem":{
887
+ "type":"string",
888
+ "max":63,
889
+ "min":1,
890
+ "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*"
891
+ },
892
+ "AugmentedManifestsListItem":{
893
+ "type":"structure",
894
+ "required":[
895
+ "S3Uri",
896
+ "AttributeNames"
897
+ ],
898
+ "members":{
899
+ "S3Uri":{"shape":"S3Uri"},
900
+ "AttributeNames":{"shape":"AttributeNamesList"}
901
+ }
902
+ },
808
903
  "BatchDetectDominantLanguageItemResult":{
809
904
  "type":"structure",
810
905
  "members":{
@@ -1270,6 +1365,19 @@
1270
1365
  "KeyPhrasesDetectionJobProperties":{"shape":"KeyPhrasesDetectionJobProperties"}
1271
1366
  }
1272
1367
  },
1368
+ "DescribePiiEntitiesDetectionJobRequest":{
1369
+ "type":"structure",
1370
+ "required":["JobId"],
1371
+ "members":{
1372
+ "JobId":{"shape":"JobId"}
1373
+ }
1374
+ },
1375
+ "DescribePiiEntitiesDetectionJobResponse":{
1376
+ "type":"structure",
1377
+ "members":{
1378
+ "PiiEntitiesDetectionJobProperties":{"shape":"PiiEntitiesDetectionJobProperties"}
1379
+ }
1380
+ },
1273
1381
  "DescribeSentimentDetectionJobRequest":{
1274
1382
  "type":"structure",
1275
1383
  "required":["JobId"],
@@ -1344,6 +1452,23 @@
1344
1452
  },
1345
1453
  "sensitive":true
1346
1454
  },
1455
+ "DetectPiiEntitiesRequest":{
1456
+ "type":"structure",
1457
+ "required":[
1458
+ "Text",
1459
+ "LanguageCode"
1460
+ ],
1461
+ "members":{
1462
+ "Text":{"shape":"String"},
1463
+ "LanguageCode":{"shape":"LanguageCode"}
1464
+ }
1465
+ },
1466
+ "DetectPiiEntitiesResponse":{
1467
+ "type":"structure",
1468
+ "members":{
1469
+ "Entities":{"shape":"ListOfPiiEntities"}
1470
+ }
1471
+ },
1347
1472
  "DetectSentimentRequest":{
1348
1473
  "type":"structure",
1349
1474
  "required":[
@@ -1423,6 +1548,17 @@
1423
1548
  "max":256,
1424
1549
  "pattern":"arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:document-classifier/[a-zA-Z0-9](-*[a-zA-Z0-9])*"
1425
1550
  },
1551
+ "DocumentClassifierAugmentedManifestsList":{
1552
+ "type":"list",
1553
+ "member":{"shape":"AugmentedManifestsListItem"}
1554
+ },
1555
+ "DocumentClassifierDataFormat":{
1556
+ "type":"string",
1557
+ "enum":[
1558
+ "COMPREHEND_CSV",
1559
+ "AUGMENTED_MANIFEST"
1560
+ ]
1561
+ },
1426
1562
  "DocumentClassifierEndpointArn":{
1427
1563
  "type":"string",
1428
1564
  "max":256,
@@ -1438,10 +1574,11 @@
1438
1574
  },
1439
1575
  "DocumentClassifierInputDataConfig":{
1440
1576
  "type":"structure",
1441
- "required":["S3Uri"],
1442
1577
  "members":{
1578
+ "DataFormat":{"shape":"DocumentClassifierDataFormat"},
1443
1579
  "S3Uri":{"shape":"S3Uri"},
1444
- "LabelDelimiter":{"shape":"LabelDelimiter"}
1580
+ "LabelDelimiter":{"shape":"LabelDelimiter"},
1581
+ "AugmentedManifests":{"shape":"DocumentClassifierAugmentedManifestsList"}
1445
1582
  }
1446
1583
  },
1447
1584
  "DocumentClassifierMode":{
@@ -1615,6 +1752,17 @@
1615
1752
  "max":256,
1616
1753
  "pattern":"arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:entity-recognizer/[a-zA-Z0-9](-*[a-zA-Z0-9])*"
1617
1754
  },
1755
+ "EntityRecognizerAugmentedManifestsList":{
1756
+ "type":"list",
1757
+ "member":{"shape":"AugmentedManifestsListItem"}
1758
+ },
1759
+ "EntityRecognizerDataFormat":{
1760
+ "type":"string",
1761
+ "enum":[
1762
+ "COMPREHEND_CSV",
1763
+ "AUGMENTED_MANIFEST"
1764
+ ]
1765
+ },
1618
1766
  "EntityRecognizerDocuments":{
1619
1767
  "type":"structure",
1620
1768
  "required":["S3Uri"],
@@ -1652,15 +1800,14 @@
1652
1800
  },
1653
1801
  "EntityRecognizerInputDataConfig":{
1654
1802
  "type":"structure",
1655
- "required":[
1656
- "EntityTypes",
1657
- "Documents"
1658
- ],
1803
+ "required":["EntityTypes"],
1659
1804
  "members":{
1805
+ "DataFormat":{"shape":"EntityRecognizerDataFormat"},
1660
1806
  "EntityTypes":{"shape":"EntityTypesList"},
1661
1807
  "Documents":{"shape":"EntityRecognizerDocuments"},
1662
1808
  "Annotations":{"shape":"EntityRecognizerAnnotations"},
1663
- "EntityList":{"shape":"EntityRecognizerEntityList"}
1809
+ "EntityList":{"shape":"EntityRecognizerEntityList"},
1810
+ "AugmentedManifests":{"shape":"EntityRecognizerAugmentedManifestsList"}
1664
1811
  }
1665
1812
  },
1666
1813
  "EntityRecognizerMetadata":{
@@ -1724,7 +1871,7 @@
1724
1871
  "EntityTypeName":{
1725
1872
  "type":"string",
1726
1873
  "max":64,
1727
- "pattern":"[_A-Z0-9]+"
1874
+ "pattern":"^(?:(?!\\\\n+|\\\\t+|\\\\r+|[\\r\\t\\n\\s,]).)+$"
1728
1875
  },
1729
1876
  "EntityTypesEvaluationMetrics":{
1730
1877
  "type":"structure",
@@ -2042,10 +2189,33 @@
2042
2189
  "type":"list",
2043
2190
  "member":{"shape":"DocumentLabel"}
2044
2191
  },
2192
+ "ListOfPiiEntities":{
2193
+ "type":"list",
2194
+ "member":{"shape":"PiiEntity"}
2195
+ },
2196
+ "ListOfPiiEntityTypes":{
2197
+ "type":"list",
2198
+ "member":{"shape":"PiiEntityType"}
2199
+ },
2045
2200
  "ListOfSyntaxTokens":{
2046
2201
  "type":"list",
2047
2202
  "member":{"shape":"SyntaxToken"}
2048
2203
  },
2204
+ "ListPiiEntitiesDetectionJobsRequest":{
2205
+ "type":"structure",
2206
+ "members":{
2207
+ "Filter":{"shape":"PiiEntitiesDetectionJobFilter"},
2208
+ "NextToken":{"shape":"String"},
2209
+ "MaxResults":{"shape":"MaxResultsInteger"}
2210
+ }
2211
+ },
2212
+ "ListPiiEntitiesDetectionJobsResponse":{
2213
+ "type":"structure",
2214
+ "members":{
2215
+ "PiiEntitiesDetectionJobPropertiesList":{"shape":"PiiEntitiesDetectionJobPropertiesList"},
2216
+ "NextToken":{"shape":"String"}
2217
+ }
2218
+ },
2049
2219
  "ListSentimentDetectionJobsRequest":{
2050
2220
  "type":"structure",
2051
2221
  "members":{
@@ -2090,6 +2260,12 @@
2090
2260
  "NextToken":{"shape":"String"}
2091
2261
  }
2092
2262
  },
2263
+ "MaskCharacter":{
2264
+ "type":"string",
2265
+ "max":1,
2266
+ "min":1,
2267
+ "pattern":"[!@#$%&*]"
2268
+ },
2093
2269
  "MaxResultsInteger":{
2094
2270
  "type":"integer",
2095
2271
  "max":500,
@@ -2150,6 +2326,103 @@
2150
2326
  "VERB"
2151
2327
  ]
2152
2328
  },
2329
+ "PiiEntitiesDetectionJobFilter":{
2330
+ "type":"structure",
2331
+ "members":{
2332
+ "JobName":{"shape":"JobName"},
2333
+ "JobStatus":{"shape":"JobStatus"},
2334
+ "SubmitTimeBefore":{"shape":"Timestamp"},
2335
+ "SubmitTimeAfter":{"shape":"Timestamp"}
2336
+ }
2337
+ },
2338
+ "PiiEntitiesDetectionJobProperties":{
2339
+ "type":"structure",
2340
+ "members":{
2341
+ "JobId":{"shape":"JobId"},
2342
+ "JobName":{"shape":"JobName"},
2343
+ "JobStatus":{"shape":"JobStatus"},
2344
+ "Message":{"shape":"AnyLengthString"},
2345
+ "SubmitTime":{"shape":"Timestamp"},
2346
+ "EndTime":{"shape":"Timestamp"},
2347
+ "InputDataConfig":{"shape":"InputDataConfig"},
2348
+ "OutputDataConfig":{"shape":"PiiOutputDataConfig"},
2349
+ "RedactionConfig":{"shape":"RedactionConfig"},
2350
+ "LanguageCode":{"shape":"LanguageCode"},
2351
+ "DataAccessRoleArn":{"shape":"IamRoleArn"},
2352
+ "Mode":{"shape":"PiiEntitiesDetectionMode"}
2353
+ }
2354
+ },
2355
+ "PiiEntitiesDetectionJobPropertiesList":{
2356
+ "type":"list",
2357
+ "member":{"shape":"PiiEntitiesDetectionJobProperties"}
2358
+ },
2359
+ "PiiEntitiesDetectionMaskMode":{
2360
+ "type":"string",
2361
+ "enum":[
2362
+ "MASK",
2363
+ "REPLACE_WITH_PII_ENTITY_TYPE"
2364
+ ]
2365
+ },
2366
+ "PiiEntitiesDetectionMode":{
2367
+ "type":"string",
2368
+ "enum":[
2369
+ "ONLY_REDACTION",
2370
+ "ONLY_OFFSETS"
2371
+ ]
2372
+ },
2373
+ "PiiEntity":{
2374
+ "type":"structure",
2375
+ "members":{
2376
+ "Score":{"shape":"Float"},
2377
+ "Type":{"shape":"PiiEntityType"},
2378
+ "BeginOffset":{"shape":"Integer"},
2379
+ "EndOffset":{"shape":"Integer"}
2380
+ }
2381
+ },
2382
+ "PiiEntityType":{
2383
+ "type":"string",
2384
+ "enum":[
2385
+ "BANK_ACCOUNT_NUMBER",
2386
+ "BANK_ROUTING",
2387
+ "CREDIT_DEBIT_NUMBER",
2388
+ "CREDIT_DEBIT_CVV",
2389
+ "CREDIT_DEBIT_EXPIRY",
2390
+ "PIN",
2391
+ "EMAIL",
2392
+ "ADDRESS",
2393
+ "NAME",
2394
+ "PHONE",
2395
+ "SSN",
2396
+ "DATE_TIME",
2397
+ "PASSPORT_NUMBER",
2398
+ "DRIVER_ID",
2399
+ "URL",
2400
+ "AGE",
2401
+ "USERNAME",
2402
+ "PASSWORD",
2403
+ "AWS_ACCESS_KEY",
2404
+ "AWS_SECRET_KEY",
2405
+ "IP_ADDRESS",
2406
+ "MAC_ADDRESS",
2407
+ "ALL"
2408
+ ]
2409
+ },
2410
+ "PiiOutputDataConfig":{
2411
+ "type":"structure",
2412
+ "required":["S3Uri"],
2413
+ "members":{
2414
+ "S3Uri":{"shape":"S3Uri"},
2415
+ "KmsKeyId":{"shape":"KmsKeyId"}
2416
+ }
2417
+ },
2418
+ "RedactionConfig":{
2419
+ "type":"structure",
2420
+ "members":{
2421
+ "PiiEntityTypes":{"shape":"ListOfPiiEntityTypes"},
2422
+ "MaskMode":{"shape":"PiiEntitiesDetectionMaskMode"},
2423
+ "MaskCharacter":{"shape":"MaskCharacter"}
2424
+ }
2425
+ },
2153
2426
  "ResourceInUseException":{
2154
2427
  "type":"structure",
2155
2428
  "members":{
@@ -2358,6 +2631,36 @@
2358
2631
  "JobStatus":{"shape":"JobStatus"}
2359
2632
  }
2360
2633
  },
2634
+ "StartPiiEntitiesDetectionJobRequest":{
2635
+ "type":"structure",
2636
+ "required":[
2637
+ "InputDataConfig",
2638
+ "OutputDataConfig",
2639
+ "Mode",
2640
+ "DataAccessRoleArn",
2641
+ "LanguageCode"
2642
+ ],
2643
+ "members":{
2644
+ "InputDataConfig":{"shape":"InputDataConfig"},
2645
+ "OutputDataConfig":{"shape":"OutputDataConfig"},
2646
+ "Mode":{"shape":"PiiEntitiesDetectionMode"},
2647
+ "RedactionConfig":{"shape":"RedactionConfig"},
2648
+ "DataAccessRoleArn":{"shape":"IamRoleArn"},
2649
+ "JobName":{"shape":"JobName"},
2650
+ "LanguageCode":{"shape":"LanguageCode"},
2651
+ "ClientRequestToken":{
2652
+ "shape":"ClientRequestTokenString",
2653
+ "idempotencyToken":true
2654
+ }
2655
+ }
2656
+ },
2657
+ "StartPiiEntitiesDetectionJobResponse":{
2658
+ "type":"structure",
2659
+ "members":{
2660
+ "JobId":{"shape":"JobId"},
2661
+ "JobStatus":{"shape":"JobStatus"}
2662
+ }
2663
+ },
2361
2664
  "StartSentimentDetectionJobRequest":{
2362
2665
  "type":"structure",
2363
2666
  "required":[
@@ -2457,6 +2760,20 @@
2457
2760
  "JobStatus":{"shape":"JobStatus"}
2458
2761
  }
2459
2762
  },
2763
+ "StopPiiEntitiesDetectionJobRequest":{
2764
+ "type":"structure",
2765
+ "required":["JobId"],
2766
+ "members":{
2767
+ "JobId":{"shape":"JobId"}
2768
+ }
2769
+ },
2770
+ "StopPiiEntitiesDetectionJobResponse":{
2771
+ "type":"structure",
2772
+ "members":{
2773
+ "JobId":{"shape":"JobId"},
2774
+ "JobStatus":{"shape":"JobStatus"}
2775
+ }
2776
+ },
2460
2777
  "StopSentimentDetectionJobRequest":{
2461
2778
  "type":"structure",
2462
2779
  "required":["JobId"],