Skip to content

Commit 23c595d

Browse files
author
AWS
committed
AWS Glue Update: This release adds APIs to create, read, delete, list, and batch read of Glue custom entity types
1 parent dcf3f98 commit 23c595d

File tree

3 files changed

+191
-0
lines changed

3 files changed

+191
-0
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": "AWS Glue",
4+
"contributor": "",
5+
"description": "This release adds APIs to create, read, delete, list, and batch read of Glue custom entity types"
6+
}

services/glue/src/main/resources/codegen-resources/paginators-1.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@
117117
"limit_key": "MaxResults",
118118
"output_token": "NextToken"
119119
},
120+
"ListCustomEntityTypes": {
121+
"input_token": "NextToken",
122+
"limit_key": "MaxResults",
123+
"output_token": "NextToken"
124+
},
120125
"ListDevEndpoints": {
121126
"input_token": "NextToken",
122127
"limit_key": "MaxResults",

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

Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,20 @@
124124
],
125125
"documentation":"<p>Returns a list of resource metadata for a given list of crawler names. After calling the <code>ListCrawlers</code> operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags.</p>"
126126
},
127+
"BatchGetCustomEntityTypes":{
128+
"name":"BatchGetCustomEntityTypes",
129+
"http":{
130+
"method":"POST",
131+
"requestUri":"/"
132+
},
133+
"input":{"shape":"BatchGetCustomEntityTypesRequest"},
134+
"output":{"shape":"BatchGetCustomEntityTypesResponse"},
135+
"errors":[
136+
{"shape":"InvalidInputException"},
137+
{"shape":"InternalServiceException"},
138+
{"shape":"OperationTimeoutException"}
139+
]
140+
},
127141
"BatchGetDevEndpoints":{
128142
"name":"BatchGetDevEndpoints",
129143
"http":{
@@ -349,6 +363,24 @@
349363
],
350364
"documentation":"<p>Creates a new crawler with specified targets, role, configuration, and optional schedule. At least one crawl target must be specified, in the <code>s3Targets</code> field, the <code>jdbcTargets</code> field, or the <code>DynamoDBTargets</code> field.</p>"
351365
},
366+
"CreateCustomEntityType":{
367+
"name":"CreateCustomEntityType",
368+
"http":{
369+
"method":"POST",
370+
"requestUri":"/"
371+
},
372+
"input":{"shape":"CreateCustomEntityTypeRequest"},
373+
"output":{"shape":"CreateCustomEntityTypeResponse"},
374+
"errors":[
375+
{"shape":"AccessDeniedException"},
376+
{"shape":"AlreadyExistsException"},
377+
{"shape":"IdempotentParameterMismatchException"},
378+
{"shape":"InternalServiceException"},
379+
{"shape":"InvalidInputException"},
380+
{"shape":"OperationTimeoutException"},
381+
{"shape":"ResourceNumberLimitExceededException"}
382+
]
383+
},
352384
"CreateDatabase":{
353385
"name":"CreateDatabase",
354386
"http":{
@@ -724,6 +756,22 @@
724756
],
725757
"documentation":"<p>Removes a specified crawler from the Glue Data Catalog, unless the crawler state is <code>RUNNING</code>.</p>"
726758
},
759+
"DeleteCustomEntityType":{
760+
"name":"DeleteCustomEntityType",
761+
"http":{
762+
"method":"POST",
763+
"requestUri":"/"
764+
},
765+
"input":{"shape":"DeleteCustomEntityTypeRequest"},
766+
"output":{"shape":"DeleteCustomEntityTypeResponse"},
767+
"errors":[
768+
{"shape":"EntityNotFoundException"},
769+
{"shape":"AccessDeniedException"},
770+
{"shape":"InternalServiceException"},
771+
{"shape":"InvalidInputException"},
772+
{"shape":"OperationTimeoutException"}
773+
]
774+
},
727775
"DeleteDatabase":{
728776
"name":"DeleteDatabase",
729777
"http":{
@@ -1197,6 +1245,22 @@
11971245
],
11981246
"documentation":"<p>Retrieves metadata for all crawlers defined in the customer account.</p>"
11991247
},
1248+
"GetCustomEntityType":{
1249+
"name":"GetCustomEntityType",
1250+
"http":{
1251+
"method":"POST",
1252+
"requestUri":"/"
1253+
},
1254+
"input":{"shape":"GetCustomEntityTypeRequest"},
1255+
"output":{"shape":"GetCustomEntityTypeResponse"},
1256+
"errors":[
1257+
{"shape":"EntityNotFoundException"},
1258+
{"shape":"AccessDeniedException"},
1259+
{"shape":"InternalServiceException"},
1260+
{"shape":"InvalidInputException"},
1261+
{"shape":"OperationTimeoutException"}
1262+
]
1263+
},
12001264
"GetDataCatalogEncryptionSettings":{
12011265
"name":"GetDataCatalogEncryptionSettings",
12021266
"http":{
@@ -2008,6 +2072,20 @@
20082072
],
20092073
"documentation":"<p>Retrieves the names of all crawler resources in this Amazon Web Services account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names.</p> <p>This operation takes the optional <code>Tags</code> field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved.</p>"
20102074
},
2075+
"ListCustomEntityTypes":{
2076+
"name":"ListCustomEntityTypes",
2077+
"http":{
2078+
"method":"POST",
2079+
"requestUri":"/"
2080+
},
2081+
"input":{"shape":"ListCustomEntityTypesRequest"},
2082+
"output":{"shape":"ListCustomEntityTypesResponse"},
2083+
"errors":[
2084+
{"shape":"InvalidInputException"},
2085+
{"shape":"OperationTimeoutException"},
2086+
{"shape":"InternalServiceException"}
2087+
]
2088+
},
20112089
"ListDevEndpoints":{
20122090
"name":"ListDevEndpoints",
20132091
"http":{
@@ -3323,6 +3401,20 @@
33233401
}
33243402
}
33253403
},
3404+
"BatchGetCustomEntityTypesRequest":{
3405+
"type":"structure",
3406+
"required":["Names"],
3407+
"members":{
3408+
"Names":{"shape":"CustomEntityTypeNames"}
3409+
}
3410+
},
3411+
"BatchGetCustomEntityTypesResponse":{
3412+
"type":"structure",
3413+
"members":{
3414+
"CustomEntityTypes":{"shape":"CustomEntityTypes"},
3415+
"CustomEntityTypesNotFound":{"shape":"CustomEntityTypeNames"}
3416+
}
3417+
},
33263418
"BatchGetDevEndpointsRequest":{
33273419
"type":"structure",
33283420
"required":["DevEndpointNames"],
@@ -4628,6 +4720,12 @@
46284720
},
46294721
"documentation":"<p>Specifies the connections used by a job.</p>"
46304722
},
4723+
"ContextWords":{
4724+
"type":"list",
4725+
"member":{"shape":"NameString"},
4726+
"max":20,
4727+
"min":1
4728+
},
46314729
"Crawl":{
46324730
"type":"structure",
46334731
"members":{
@@ -5091,6 +5189,24 @@
50915189
},
50925190
"documentation":"<p>Specifies a custom CSV classifier for <code>CreateClassifier</code> to create.</p>"
50935191
},
5192+
"CreateCustomEntityTypeRequest":{
5193+
"type":"structure",
5194+
"required":[
5195+
"Name",
5196+
"RegexString"
5197+
],
5198+
"members":{
5199+
"Name":{"shape":"NameString"},
5200+
"RegexString":{"shape":"NameString"},
5201+
"ContextWords":{"shape":"ContextWords"}
5202+
}
5203+
},
5204+
"CreateCustomEntityTypeResponse":{
5205+
"type":"structure",
5206+
"members":{
5207+
"Name":{"shape":"NameString"}
5208+
}
5209+
},
50945210
"CreateDatabaseRequest":{
50955211
"type":"structure",
50965212
"required":["DatabaseInput"],
@@ -6062,6 +6178,28 @@
60626178
"min":1,
60636179
"pattern":"[^\\r\\n]"
60646180
},
6181+
"CustomEntityType":{
6182+
"type":"structure",
6183+
"required":[
6184+
"Name",
6185+
"RegexString"
6186+
],
6187+
"members":{
6188+
"Name":{"shape":"NameString"},
6189+
"RegexString":{"shape":"NameString"},
6190+
"ContextWords":{"shape":"ContextWords"}
6191+
}
6192+
},
6193+
"CustomEntityTypeNames":{
6194+
"type":"list",
6195+
"member":{"shape":"NameString"},
6196+
"max":50,
6197+
"min":1
6198+
},
6199+
"CustomEntityTypes":{
6200+
"type":"list",
6201+
"member":{"shape":"CustomEntityType"}
6202+
},
60656203
"CustomPatterns":{
60666204
"type":"string",
60676205
"max":16000,
@@ -6421,6 +6559,19 @@
64216559
"members":{
64226560
}
64236561
},
6562+
"DeleteCustomEntityTypeRequest":{
6563+
"type":"structure",
6564+
"required":["Name"],
6565+
"members":{
6566+
"Name":{"shape":"NameString"}
6567+
}
6568+
},
6569+
"DeleteCustomEntityTypeResponse":{
6570+
"type":"structure",
6571+
"members":{
6572+
"Name":{"shape":"NameString"}
6573+
}
6574+
},
64246575
"DeleteDatabaseRequest":{
64256576
"type":"structure",
64266577
"required":["Name"],
@@ -7688,6 +7839,21 @@
76887839
}
76897840
}
76907841
},
7842+
"GetCustomEntityTypeRequest":{
7843+
"type":"structure",
7844+
"required":["Name"],
7845+
"members":{
7846+
"Name":{"shape":"NameString"}
7847+
}
7848+
},
7849+
"GetCustomEntityTypeResponse":{
7850+
"type":"structure",
7851+
"members":{
7852+
"Name":{"shape":"NameString"},
7853+
"RegexString":{"shape":"NameString"},
7854+
"ContextWords":{"shape":"ContextWords"}
7855+
}
7856+
},
76917857
"GetDataCatalogEncryptionSettingsRequest":{
76927858
"type":"structure",
76937859
"members":{
@@ -10150,6 +10316,20 @@
1015010316
}
1015110317
}
1015210318
},
10319+
"ListCustomEntityTypesRequest":{
10320+
"type":"structure",
10321+
"members":{
10322+
"NextToken":{"shape":"PaginationToken"},
10323+
"MaxResults":{"shape":"PageSize"}
10324+
}
10325+
},
10326+
"ListCustomEntityTypesResponse":{
10327+
"type":"structure",
10328+
"members":{
10329+
"CustomEntityTypes":{"shape":"CustomEntityTypes"},
10330+
"NextToken":{"shape":"PaginationToken"}
10331+
}
10332+
},
1015310333
"ListDevEndpointsRequest":{
1015410334
"type":"structure",
1015510335
"members":{

0 commit comments

Comments
 (0)