@@ -35,6 +35,11 @@ import {
35
35
BatchGetCrawlersCommandInput ,
36
36
BatchGetCrawlersCommandOutput ,
37
37
} from "./commands/BatchGetCrawlersCommand" ;
38
+ import {
39
+ BatchGetCustomEntityTypesCommand ,
40
+ BatchGetCustomEntityTypesCommandInput ,
41
+ BatchGetCustomEntityTypesCommandOutput ,
42
+ } from "./commands/BatchGetCustomEntityTypesCommand" ;
38
43
import {
39
44
BatchGetDevEndpointsCommand ,
40
45
BatchGetDevEndpointsCommandInput ,
@@ -105,6 +110,11 @@ import {
105
110
CreateCrawlerCommandInput ,
106
111
CreateCrawlerCommandOutput ,
107
112
} from "./commands/CreateCrawlerCommand" ;
113
+ import {
114
+ CreateCustomEntityTypeCommand ,
115
+ CreateCustomEntityTypeCommandInput ,
116
+ CreateCustomEntityTypeCommandOutput ,
117
+ } from "./commands/CreateCustomEntityTypeCommand" ;
108
118
import {
109
119
CreateDatabaseCommand ,
110
120
CreateDatabaseCommandInput ,
@@ -202,6 +212,11 @@ import {
202
212
DeleteCrawlerCommandInput ,
203
213
DeleteCrawlerCommandOutput ,
204
214
} from "./commands/DeleteCrawlerCommand" ;
215
+ import {
216
+ DeleteCustomEntityTypeCommand ,
217
+ DeleteCustomEntityTypeCommandInput ,
218
+ DeleteCustomEntityTypeCommandOutput ,
219
+ } from "./commands/DeleteCustomEntityTypeCommand" ;
205
220
import {
206
221
DeleteDatabaseCommand ,
207
222
DeleteDatabaseCommandInput ,
@@ -336,6 +351,11 @@ import {
336
351
GetCrawlerMetricsCommandOutput ,
337
352
} from "./commands/GetCrawlerMetricsCommand" ;
338
353
import { GetCrawlersCommand , GetCrawlersCommandInput , GetCrawlersCommandOutput } from "./commands/GetCrawlersCommand" ;
354
+ import {
355
+ GetCustomEntityTypeCommand ,
356
+ GetCustomEntityTypeCommandInput ,
357
+ GetCustomEntityTypeCommandOutput ,
358
+ } from "./commands/GetCustomEntityTypeCommand" ;
339
359
import { GetDatabaseCommand , GetDatabaseCommandInput , GetDatabaseCommandOutput } from "./commands/GetDatabaseCommand" ;
340
360
import {
341
361
GetDatabasesCommand ,
@@ -522,6 +542,11 @@ import {
522
542
ListCrawlersCommandInput ,
523
543
ListCrawlersCommandOutput ,
524
544
} from "./commands/ListCrawlersCommand" ;
545
+ import {
546
+ ListCustomEntityTypesCommand ,
547
+ ListCustomEntityTypesCommandInput ,
548
+ ListCustomEntityTypesCommandOutput ,
549
+ } from "./commands/ListCustomEntityTypesCommand" ;
525
550
import {
526
551
ListDevEndpointsCommand ,
527
552
ListDevEndpointsCommandInput ,
@@ -1007,6 +1032,35 @@ export class Glue extends GlueClient {
1007
1032
}
1008
1033
}
1009
1034
1035
+ public batchGetCustomEntityTypes (
1036
+ args : BatchGetCustomEntityTypesCommandInput ,
1037
+ options ?: __HttpHandlerOptions
1038
+ ) : Promise < BatchGetCustomEntityTypesCommandOutput > ;
1039
+ public batchGetCustomEntityTypes (
1040
+ args : BatchGetCustomEntityTypesCommandInput ,
1041
+ cb : ( err : any , data ?: BatchGetCustomEntityTypesCommandOutput ) => void
1042
+ ) : void ;
1043
+ public batchGetCustomEntityTypes (
1044
+ args : BatchGetCustomEntityTypesCommandInput ,
1045
+ options : __HttpHandlerOptions ,
1046
+ cb : ( err : any , data ?: BatchGetCustomEntityTypesCommandOutput ) => void
1047
+ ) : void ;
1048
+ public batchGetCustomEntityTypes (
1049
+ args : BatchGetCustomEntityTypesCommandInput ,
1050
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: BatchGetCustomEntityTypesCommandOutput ) => void ) ,
1051
+ cb ?: ( err : any , data ?: BatchGetCustomEntityTypesCommandOutput ) => void
1052
+ ) : Promise < BatchGetCustomEntityTypesCommandOutput > | void {
1053
+ const command = new BatchGetCustomEntityTypesCommand ( args ) ;
1054
+ if ( typeof optionsOrCb === "function" ) {
1055
+ this . send ( command , optionsOrCb ) ;
1056
+ } else if ( typeof cb === "function" ) {
1057
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1058
+ this . send ( command , optionsOrCb || { } , cb ) ;
1059
+ } else {
1060
+ return this . send ( command , optionsOrCb ) ;
1061
+ }
1062
+ }
1063
+
1010
1064
/**
1011
1065
* <p>Returns a list of resource metadata for a given list of development endpoint names. After
1012
1066
* calling the <code>ListDevEndpoints</code> operation, you can call this operation to access the
@@ -1462,6 +1516,35 @@ export class Glue extends GlueClient {
1462
1516
}
1463
1517
}
1464
1518
1519
+ public createCustomEntityType (
1520
+ args : CreateCustomEntityTypeCommandInput ,
1521
+ options ?: __HttpHandlerOptions
1522
+ ) : Promise < CreateCustomEntityTypeCommandOutput > ;
1523
+ public createCustomEntityType (
1524
+ args : CreateCustomEntityTypeCommandInput ,
1525
+ cb : ( err : any , data ?: CreateCustomEntityTypeCommandOutput ) => void
1526
+ ) : void ;
1527
+ public createCustomEntityType (
1528
+ args : CreateCustomEntityTypeCommandInput ,
1529
+ options : __HttpHandlerOptions ,
1530
+ cb : ( err : any , data ?: CreateCustomEntityTypeCommandOutput ) => void
1531
+ ) : void ;
1532
+ public createCustomEntityType (
1533
+ args : CreateCustomEntityTypeCommandInput ,
1534
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: CreateCustomEntityTypeCommandOutput ) => void ) ,
1535
+ cb ?: ( err : any , data ?: CreateCustomEntityTypeCommandOutput ) => void
1536
+ ) : Promise < CreateCustomEntityTypeCommandOutput > | void {
1537
+ const command = new CreateCustomEntityTypeCommand ( args ) ;
1538
+ if ( typeof optionsOrCb === "function" ) {
1539
+ this . send ( command , optionsOrCb ) ;
1540
+ } else if ( typeof cb === "function" ) {
1541
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1542
+ this . send ( command , optionsOrCb || { } , cb ) ;
1543
+ } else {
1544
+ return this . send ( command , optionsOrCb ) ;
1545
+ }
1546
+ }
1547
+
1465
1548
/**
1466
1549
* <p>Creates a new database in a Data Catalog.</p>
1467
1550
*/
@@ -2135,6 +2218,35 @@ export class Glue extends GlueClient {
2135
2218
}
2136
2219
}
2137
2220
2221
+ public deleteCustomEntityType (
2222
+ args : DeleteCustomEntityTypeCommandInput ,
2223
+ options ?: __HttpHandlerOptions
2224
+ ) : Promise < DeleteCustomEntityTypeCommandOutput > ;
2225
+ public deleteCustomEntityType (
2226
+ args : DeleteCustomEntityTypeCommandInput ,
2227
+ cb : ( err : any , data ?: DeleteCustomEntityTypeCommandOutput ) => void
2228
+ ) : void ;
2229
+ public deleteCustomEntityType (
2230
+ args : DeleteCustomEntityTypeCommandInput ,
2231
+ options : __HttpHandlerOptions ,
2232
+ cb : ( err : any , data ?: DeleteCustomEntityTypeCommandOutput ) => void
2233
+ ) : void ;
2234
+ public deleteCustomEntityType (
2235
+ args : DeleteCustomEntityTypeCommandInput ,
2236
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: DeleteCustomEntityTypeCommandOutput ) => void ) ,
2237
+ cb ?: ( err : any , data ?: DeleteCustomEntityTypeCommandOutput ) => void
2238
+ ) : Promise < DeleteCustomEntityTypeCommandOutput > | void {
2239
+ const command = new DeleteCustomEntityTypeCommand ( args ) ;
2240
+ if ( typeof optionsOrCb === "function" ) {
2241
+ this . send ( command , optionsOrCb ) ;
2242
+ } else if ( typeof cb === "function" ) {
2243
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
2244
+ this . send ( command , optionsOrCb || { } , cb ) ;
2245
+ } else {
2246
+ return this . send ( command , optionsOrCb ) ;
2247
+ }
2248
+ }
2249
+
2138
2250
/**
2139
2251
* <p>Removes a specified database from a Data Catalog.</p>
2140
2252
* <note>
@@ -3102,6 +3214,35 @@ export class Glue extends GlueClient {
3102
3214
}
3103
3215
}
3104
3216
3217
+ public getCustomEntityType (
3218
+ args : GetCustomEntityTypeCommandInput ,
3219
+ options ?: __HttpHandlerOptions
3220
+ ) : Promise < GetCustomEntityTypeCommandOutput > ;
3221
+ public getCustomEntityType (
3222
+ args : GetCustomEntityTypeCommandInput ,
3223
+ cb : ( err : any , data ?: GetCustomEntityTypeCommandOutput ) => void
3224
+ ) : void ;
3225
+ public getCustomEntityType (
3226
+ args : GetCustomEntityTypeCommandInput ,
3227
+ options : __HttpHandlerOptions ,
3228
+ cb : ( err : any , data ?: GetCustomEntityTypeCommandOutput ) => void
3229
+ ) : void ;
3230
+ public getCustomEntityType (
3231
+ args : GetCustomEntityTypeCommandInput ,
3232
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: GetCustomEntityTypeCommandOutput ) => void ) ,
3233
+ cb ?: ( err : any , data ?: GetCustomEntityTypeCommandOutput ) => void
3234
+ ) : Promise < GetCustomEntityTypeCommandOutput > | void {
3235
+ const command = new GetCustomEntityTypeCommand ( args ) ;
3236
+ if ( typeof optionsOrCb === "function" ) {
3237
+ this . send ( command , optionsOrCb ) ;
3238
+ } else if ( typeof cb === "function" ) {
3239
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
3240
+ this . send ( command , optionsOrCb || { } , cb ) ;
3241
+ } else {
3242
+ return this . send ( command , optionsOrCb ) ;
3243
+ }
3244
+ }
3245
+
3105
3246
/**
3106
3247
* <p>Retrieves the definition of a specified database.</p>
3107
3248
*/
@@ -4625,6 +4766,35 @@ export class Glue extends GlueClient {
4625
4766
}
4626
4767
}
4627
4768
4769
+ public listCustomEntityTypes (
4770
+ args : ListCustomEntityTypesCommandInput ,
4771
+ options ?: __HttpHandlerOptions
4772
+ ) : Promise < ListCustomEntityTypesCommandOutput > ;
4773
+ public listCustomEntityTypes (
4774
+ args : ListCustomEntityTypesCommandInput ,
4775
+ cb : ( err : any , data ?: ListCustomEntityTypesCommandOutput ) => void
4776
+ ) : void ;
4777
+ public listCustomEntityTypes (
4778
+ args : ListCustomEntityTypesCommandInput ,
4779
+ options : __HttpHandlerOptions ,
4780
+ cb : ( err : any , data ?: ListCustomEntityTypesCommandOutput ) => void
4781
+ ) : void ;
4782
+ public listCustomEntityTypes (
4783
+ args : ListCustomEntityTypesCommandInput ,
4784
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: ListCustomEntityTypesCommandOutput ) => void ) ,
4785
+ cb ?: ( err : any , data ?: ListCustomEntityTypesCommandOutput ) => void
4786
+ ) : Promise < ListCustomEntityTypesCommandOutput > | void {
4787
+ const command = new ListCustomEntityTypesCommand ( args ) ;
4788
+ if ( typeof optionsOrCb === "function" ) {
4789
+ this . send ( command , optionsOrCb ) ;
4790
+ } else if ( typeof cb === "function" ) {
4791
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
4792
+ this . send ( command , optionsOrCb || { } , cb ) ;
4793
+ } else {
4794
+ return this . send ( command , optionsOrCb ) ;
4795
+ }
4796
+ }
4797
+
4628
4798
/**
4629
4799
* <p>Retrieves the names of all <code>DevEndpoint</code> resources in this Amazon Web Services account, or the
4630
4800
* resources with the specified tag. This operation allows you to see which resources are
0 commit comments