Skip to content

Commit 7793507

Browse files
author
awstools
committed
feat(client-cleanrooms): Added support for reading data sources across regions, and results delivery to allowedlisted regions.
1 parent efdc709 commit 7793507

File tree

11 files changed

+661
-80
lines changed

11 files changed

+661
-80
lines changed

clients/client-cleanrooms/src/commands/CreateCollaborationCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ export interface CreateCollaborationCommandOutput extends CreateCollaborationOut
110110
* autoApprovedChangeRequestTypes: [ // AutoApprovedChangeTypeList
111111
* "ADD_MEMBER",
112112
* ],
113+
* allowedResultRegions: [ // AllowedResultRegions
114+
* "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-east-2" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1",
115+
* ],
113116
* };
114117
* const command = new CreateCollaborationCommand(input);
115118
* const response = await client.send(command);
@@ -138,6 +141,9 @@ export interface CreateCollaborationCommandOutput extends CreateCollaborationOut
138141
* // autoApprovedChangeTypes: [ // AutoApprovedChangeTypeList
139142
* // "ADD_MEMBER",
140143
* // ],
144+
* // allowedResultRegions: [ // AllowedResultRegions
145+
* // "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-east-2" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1",
146+
* // ],
141147
* // },
142148
* // };
143149
*

clients/client-cleanrooms/src/commands/CreateConfiguredTableCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export interface CreateConfiguredTableCommandOutput extends CreateConfiguredTabl
4242
* description: "STRING_VALUE",
4343
* tableReference: { // TableReference Union: only one key present
4444
* glue: { // GlueTableReference
45+
* region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
4546
* tableName: "STRING_VALUE", // required
4647
* databaseName: "STRING_VALUE", // required
4748
* },
@@ -61,6 +62,7 @@ export interface CreateConfiguredTableCommandOutput extends CreateConfiguredTabl
6162
* },
6263
* },
6364
* athena: { // AthenaTableReference
65+
* region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
6466
* workGroup: "STRING_VALUE", // required
6567
* outputLocation: "STRING_VALUE",
6668
* databaseName: "STRING_VALUE", // required
@@ -88,6 +90,7 @@ export interface CreateConfiguredTableCommandOutput extends CreateConfiguredTabl
8890
* // description: "STRING_VALUE",
8991
* // tableReference: { // TableReference Union: only one key present
9092
* // glue: { // GlueTableReference
93+
* // region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
9194
* // tableName: "STRING_VALUE", // required
9295
* // databaseName: "STRING_VALUE", // required
9396
* // },
@@ -107,6 +110,7 @@ export interface CreateConfiguredTableCommandOutput extends CreateConfiguredTabl
107110
* // },
108111
* // },
109112
* // athena: { // AthenaTableReference
113+
* // region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
110114
* // workGroup: "STRING_VALUE", // required
111115
* // outputLocation: "STRING_VALUE",
112116
* // databaseName: "STRING_VALUE", // required

clients/client-cleanrooms/src/commands/GetCollaborationCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ export interface GetCollaborationCommandOutput extends GetCollaborationOutput, _
6767
* // autoApprovedChangeTypes: [ // AutoApprovedChangeTypeList
6868
* // "ADD_MEMBER",
6969
* // ],
70+
* // allowedResultRegions: [ // AllowedResultRegions
71+
* // "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-east-2" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1",
72+
* // ],
7073
* // },
7174
* // };
7275
*

clients/client-cleanrooms/src/commands/GetConfiguredTableCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export interface GetConfiguredTableCommandOutput extends GetConfiguredTableOutpu
5050
* // description: "STRING_VALUE",
5151
* // tableReference: { // TableReference Union: only one key present
5252
* // glue: { // GlueTableReference
53+
* // region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
5354
* // tableName: "STRING_VALUE", // required
5455
* // databaseName: "STRING_VALUE", // required
5556
* // },
@@ -69,6 +70,7 @@ export interface GetConfiguredTableCommandOutput extends GetConfiguredTableOutpu
6970
* // },
7071
* // },
7172
* // athena: { // AthenaTableReference
73+
* // region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
7274
* // workGroup: "STRING_VALUE", // required
7375
* // outputLocation: "STRING_VALUE",
7476
* // databaseName: "STRING_VALUE", // required

clients/client-cleanrooms/src/commands/UpdateCollaborationCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ export interface UpdateCollaborationCommandOutput extends UpdateCollaborationOut
7070
* // autoApprovedChangeTypes: [ // AutoApprovedChangeTypeList
7171
* // "ADD_MEMBER",
7272
* // ],
73+
* // allowedResultRegions: [ // AllowedResultRegions
74+
* // "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-east-2" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1",
75+
* // ],
7376
* // },
7477
* // };
7578
*

clients/client-cleanrooms/src/commands/UpdateConfiguredTableCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export interface UpdateConfiguredTableCommandOutput extends UpdateConfiguredTabl
4343
* description: "STRING_VALUE",
4444
* tableReference: { // TableReference Union: only one key present
4545
* glue: { // GlueTableReference
46+
* region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
4647
* tableName: "STRING_VALUE", // required
4748
* databaseName: "STRING_VALUE", // required
4849
* },
@@ -62,6 +63,7 @@ export interface UpdateConfiguredTableCommandOutput extends UpdateConfiguredTabl
6263
* },
6364
* },
6465
* athena: { // AthenaTableReference
66+
* region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
6567
* workGroup: "STRING_VALUE", // required
6668
* outputLocation: "STRING_VALUE",
6769
* databaseName: "STRING_VALUE", // required
@@ -86,6 +88,7 @@ export interface UpdateConfiguredTableCommandOutput extends UpdateConfiguredTabl
8688
* // description: "STRING_VALUE",
8789
* // tableReference: { // TableReference Union: only one key present
8890
* // glue: { // GlueTableReference
91+
* // region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
8992
* // tableName: "STRING_VALUE", // required
9093
* // databaseName: "STRING_VALUE", // required
9194
* // },
@@ -105,6 +108,7 @@ export interface UpdateConfiguredTableCommandOutput extends UpdateConfiguredTabl
105108
* // },
106109
* // },
107110
* // athena: { // AthenaTableReference
111+
* // region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
108112
* // workGroup: "STRING_VALUE", // required
109113
* // outputLocation: "STRING_VALUE",
110114
* // databaseName: "STRING_VALUE", // required

clients/client-cleanrooms/src/endpoint/ruleset.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ d="error",
1717
e="endpoint",
1818
f="tree",
1919
g="PartitionResult",
20-
h={[s]:false,"type":"String"},
21-
i={[s]:true,"default":false,"type":"Boolean"},
20+
h={[s]:false,"type":"string"},
21+
i={[s]:true,"default":false,"type":"boolean"},
2222
j={[v]:"Endpoint"},
2323
k={[t]:c,[u]:[{[v]:"UseFIPS"},true]},
2424
l={[t]:c,[u]:[{[v]:"UseDualStack"},true]},

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

Lines changed: 114 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,51 @@ export interface AggregationConstraint {
301301
type: AggregationType | undefined;
302302
}
303303

304+
/**
305+
* @public
306+
* @enum
307+
*/
308+
export const SupportedS3Region = {
309+
AF_SOUTH_1: "af-south-1",
310+
AP_EAST_1: "ap-east-1",
311+
AP_EAST_2: "ap-east-2",
312+
AP_NORTHEAST_1: "ap-northeast-1",
313+
AP_NORTHEAST_2: "ap-northeast-2",
314+
AP_NORTHEAST_3: "ap-northeast-3",
315+
AP_SOUTHEAST_1: "ap-southeast-1",
316+
AP_SOUTHEAST_2: "ap-southeast-2",
317+
AP_SOUTHEAST_3: "ap-southeast-3",
318+
AP_SOUTHEAST_4: "ap-southeast-4",
319+
AP_SOUTHEAST_5: "ap-southeast-5",
320+
AP_SOUTHEAST_7: "ap-southeast-7",
321+
AP_SOUTH_1: "ap-south-1",
322+
AP_SOUTH_2: "ap-south-2",
323+
CA_CENTRAL_1: "ca-central-1",
324+
CA_WEST_1: "ca-west-1",
325+
EU_CENTRAL_1: "eu-central-1",
326+
EU_CENTRAL_2: "eu-central-2",
327+
EU_NORTH_1: "eu-north-1",
328+
EU_SOUTH_1: "eu-south-1",
329+
EU_SOUTH_2: "eu-south-2",
330+
EU_WEST_1: "eu-west-1",
331+
EU_WEST_2: "eu-west-2",
332+
EU_WEST_3: "eu-west-3",
333+
IL_CENTRAL_1: "il-central-1",
334+
ME_CENTRAL_1: "me-central-1",
335+
ME_SOUTH_1: "me-south-1",
336+
MX_CENTRAL_1: "mx-central-1",
337+
SA_EAST_1: "sa-east-1",
338+
US_EAST_1: "us-east-1",
339+
US_EAST_2: "us-east-2",
340+
US_WEST_1: "us-west-1",
341+
US_WEST_2: "us-west-2",
342+
} as const;
343+
344+
/**
345+
* @public
346+
*/
347+
export type SupportedS3Region = (typeof SupportedS3Region)[keyof typeof SupportedS3Region];
348+
304349
/**
305350
* @public
306351
* @enum
@@ -2227,11 +2272,62 @@ export const AnalyticsEngine = {
22272272
*/
22282273
export type AnalyticsEngine = (typeof AnalyticsEngine)[keyof typeof AnalyticsEngine];
22292274

2275+
/**
2276+
* @public
2277+
* @enum
2278+
*/
2279+
export const CommercialRegion = {
2280+
AF_SOUTH_1: "af-south-1",
2281+
AP_EAST_1: "ap-east-1",
2282+
AP_EAST_2: "ap-east-2",
2283+
AP_NORTHEAST_1: "ap-northeast-1",
2284+
AP_NORTHEAST_2: "ap-northeast-2",
2285+
AP_NORTHEAST_3: "ap-northeast-3",
2286+
AP_SOUTHEAST_1: "ap-southeast-1",
2287+
AP_SOUTHEAST_2: "ap-southeast-2",
2288+
AP_SOUTHEAST_3: "ap-southeast-3",
2289+
AP_SOUTHEAST_4: "ap-southeast-4",
2290+
AP_SOUTHEAST_5: "ap-southeast-5",
2291+
AP_SOUTHEAST_7: "ap-southeast-7",
2292+
AP_SOUTH_1: "ap-south-1",
2293+
AP_SOUTH_2: "ap-south-2",
2294+
CA_CENTRAL_1: "ca-central-1",
2295+
CA_WEST_1: "ca-west-1",
2296+
EU_CENTRAL_1: "eu-central-1",
2297+
EU_CENTRAL_2: "eu-central-2",
2298+
EU_NORTH_1: "eu-north-1",
2299+
EU_SOUTH_1: "eu-south-1",
2300+
EU_SOUTH_2: "eu-south-2",
2301+
EU_WEST_1: "eu-west-1",
2302+
EU_WEST_2: "eu-west-2",
2303+
EU_WEST_3: "eu-west-3",
2304+
IL_CENTRAL_1: "il-central-1",
2305+
ME_CENTRAL_1: "me-central-1",
2306+
ME_SOUTH_1: "me-south-1",
2307+
MX_CENTRAL_1: "mx-central-1",
2308+
SA_EAST_1: "sa-east-1",
2309+
US_EAST_1: "us-east-1",
2310+
US_EAST_2: "us-east-2",
2311+
US_WEST_1: "us-west-1",
2312+
US_WEST_2: "us-west-2",
2313+
} as const;
2314+
2315+
/**
2316+
* @public
2317+
*/
2318+
export type CommercialRegion = (typeof CommercialRegion)[keyof typeof CommercialRegion];
2319+
22302320
/**
22312321
* <p> A reference to a table within Athena.</p>
22322322
* @public
22332323
*/
22342324
export interface AthenaTableReference {
2325+
/**
2326+
* <p>The Amazon Web Services Region where the Athena table is located. This parameter is required to uniquely identify and access tables across different Regions.</p>
2327+
* @public
2328+
*/
2329+
region?: CommercialRegion | undefined;
2330+
22352331
/**
22362332
* <p> The workgroup of the Athena table reference.</p>
22372333
* @public
@@ -3211,6 +3307,12 @@ export interface CreateCollaborationInput {
32113307
* @public
32123308
*/
32133309
autoApprovedChangeRequestTypes?: AutoApprovedChangeType[] | undefined;
3310+
3311+
/**
3312+
* <p>The Amazon Web Services Regions where collaboration query results can be stored. When specified, results can only be written to these Regions. This parameter enables you to meet your compliance and data governance requirements, and implement regional data governance policies.</p>
3313+
* @public
3314+
*/
3315+
allowedResultRegions?: SupportedS3Region[] | undefined;
32143316
}
32153317

32163318
/**
@@ -3329,6 +3431,12 @@ export interface Collaboration {
33293431
* @public
33303432
*/
33313433
autoApprovedChangeTypes?: AutoApprovedChangeType[] | undefined;
3434+
3435+
/**
3436+
* <p>The Amazon Web Services Regions where collaboration query results can be stored. Returns the list of Region identifiers that were specified when the collaboration was created. This list is used to enforce regional storage policies and compliance requirements.</p>
3437+
* @public
3438+
*/
3439+
allowedResultRegions?: SupportedS3Region[] | undefined;
33323440
}
33333441

33343442
/**
@@ -6187,6 +6295,12 @@ export interface UpdateConfiguredTableAssociationAnalysisRuleOutput {
61876295
* @public
61886296
*/
61896297
export interface GlueTableReference {
6298+
/**
6299+
* <p>The Amazon Web Services Region where the Glue table is located. This parameter is required to uniquely identify and access tables across different Regions.</p>
6300+
* @public
6301+
*/
6302+
region?: CommercialRegion | undefined;
6303+
61906304
/**
61916305
* <p>The name of the Glue table.</p>
61926306
* @public
@@ -7853,76 +7967,6 @@ export const ResultFormat = {
78537967
*/
78547968
export type ResultFormat = (typeof ResultFormat)[keyof typeof ResultFormat];
78557969

7856-
/**
7857-
* <p>Contains the configuration to write the query results to S3.</p>
7858-
* @public
7859-
*/
7860-
export interface ProtectedQueryS3OutputConfiguration {
7861-
/**
7862-
* <p>Intended file format of the result.</p>
7863-
* @public
7864-
*/
7865-
resultFormat: ResultFormat | undefined;
7866-
7867-
/**
7868-
* <p>The S3 bucket to unload the protected query results.</p>
7869-
* @public
7870-
*/
7871-
bucket: string | undefined;
7872-
7873-
/**
7874-
* <p>The S3 prefix to unload the protected query results.</p>
7875-
* @public
7876-
*/
7877-
keyPrefix?: string | undefined;
7878-
7879-
/**
7880-
* <p>Indicates whether files should be output as a single file (<code>TRUE</code>) or output as multiple files (<code>FALSE</code>). This parameter is only supported for analyses with the Spark analytics engine.</p>
7881-
* @public
7882-
*/
7883-
singleFileOutput?: boolean | undefined;
7884-
}
7885-
7886-
/**
7887-
* <p>Contains configurations for protected query results.</p>
7888-
* @public
7889-
*/
7890-
export type MembershipProtectedQueryOutputConfiguration =
7891-
| MembershipProtectedQueryOutputConfiguration.S3Member
7892-
| MembershipProtectedQueryOutputConfiguration.$UnknownMember;
7893-
7894-
/**
7895-
* @public
7896-
*/
7897-
export namespace MembershipProtectedQueryOutputConfiguration {
7898-
/**
7899-
* <p>Contains the configuration to write the query results to S3.</p>
7900-
* @public
7901-
*/
7902-
export interface S3Member {
7903-
s3: ProtectedQueryS3OutputConfiguration;
7904-
$unknown?: never;
7905-
}
7906-
7907-
/**
7908-
* @public
7909-
*/
7910-
export interface $UnknownMember {
7911-
s3?: never;
7912-
$unknown: [string, any];
7913-
}
7914-
7915-
export interface Visitor<T> {
7916-
s3: (value: ProtectedQueryS3OutputConfiguration) => T;
7917-
_: (name: string, value: any) => T;
7918-
}
7919-
7920-
export const visit = <T>(value: MembershipProtectedQueryOutputConfiguration, visitor: Visitor<T>): T => {
7921-
if (value.s3 !== undefined) return visitor.s3(value.s3);
7922-
return visitor._(value.$unknown[0], value.$unknown[1]);
7923-
};
7924-
}
7925-
79267970
/**
79277971
* @internal
79287972
*/

0 commit comments

Comments
 (0)