Skip to content

Commit 61a70d7

Browse files
author
awstools
committed
feat(client-glue): Added support for S3 Event Notifications for Catalog Target Crawlers.
1 parent aa39d68 commit 61a70d7

File tree

3 files changed

+2750
-1905
lines changed

3 files changed

+2750
-1905
lines changed

clients/client-glue/src/models/models_0.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,16 @@ export interface CatalogTarget {
12101210
* <p>The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a <code>Catalog</code> connection type paired with a <code>NETWORK</code> Connection type.</p>
12111211
*/
12121212
ConnectionName?: string;
1213+
1214+
/**
1215+
* <p>A valid Amazon SQS ARN. For example, <code>arn:aws:sqs:region:account:sqs</code>.</p>
1216+
*/
1217+
EventQueueArn?: string;
1218+
1219+
/**
1220+
* <p>A valid Amazon dead-letter SQS ARN. For example, <code>arn:aws:sqs:region:account:deadLetterQueue</code>.</p>
1221+
*/
1222+
DlqEventQueueArn?: string;
12131223
}
12141224

12151225
/**
@@ -1545,7 +1555,12 @@ export interface BatchGetDevEndpointsRequest {
15451555
DevEndpointNames: string[] | undefined;
15461556
}
15471557

1548-
export type WorkerType = "G.025X" | "G.1X" | "G.2X" | "Standard";
1558+
export enum WorkerType {
1559+
G_025X = "G.025X",
1560+
G_1X = "G.1X",
1561+
G_2X = "G.2X",
1562+
Standard = "Standard",
1563+
}
15491564

15501565
/**
15511566
* <p>A development endpoint where a developer can remotely debug extract, transform, and load

clients/client-glue/src/protocols/Aws_json1_1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13756,6 +13756,8 @@ const serializeAws_json1_1CatalogTarget = (input: CatalogTarget, context: __Serd
1375613756
return {
1375713757
...(input.ConnectionName != null && { ConnectionName: input.ConnectionName }),
1375813758
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
13759+
...(input.DlqEventQueueArn != null && { DlqEventQueueArn: input.DlqEventQueueArn }),
13760+
...(input.EventQueueArn != null && { EventQueueArn: input.EventQueueArn }),
1375913761
...(input.Tables != null && { Tables: serializeAws_json1_1CatalogTablesList(input.Tables, context) }),
1376013762
};
1376113763
};
@@ -18607,6 +18609,8 @@ const deserializeAws_json1_1CatalogTarget = (output: any, context: __SerdeContex
1860718609
return {
1860818610
ConnectionName: __expectString(output.ConnectionName),
1860918611
DatabaseName: __expectString(output.DatabaseName),
18612+
DlqEventQueueArn: __expectString(output.DlqEventQueueArn),
18613+
EventQueueArn: __expectString(output.EventQueueArn),
1861018614
Tables: output.Tables != null ? deserializeAws_json1_1CatalogTablesList(output.Tables, context) : undefined,
1861118615
} as any;
1861218616
};

0 commit comments

Comments
 (0)