Skip to content

Commit

Permalink
feat(client-glue): This release adds support for creating cross regio…
Browse files Browse the repository at this point in the history
…n table/database resource links
  • Loading branch information
awstools committed Jun 19, 2023
1 parent 3bad043 commit 30be6be
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions clients/client-glue/src/commands/CreateDatabaseCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export interface CreateDatabaseCommandOutput extends CreateDatabaseResponse, __M
* TargetDatabase: { // DatabaseIdentifier
* CatalogId: "STRING_VALUE",
* DatabaseName: "STRING_VALUE",
* Region: "STRING_VALUE",
* },
* FederatedDatabase: { // FederatedDatabase
* Identifier: "STRING_VALUE",
Expand Down
1 change: 1 addition & 0 deletions clients/client-glue/src/commands/CreateTableCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export interface CreateTableCommandOutput extends CreateTableResponse, __Metadat
* CatalogId: "STRING_VALUE",
* DatabaseName: "STRING_VALUE",
* Name: "STRING_VALUE",
* Region: "STRING_VALUE",
* },
* },
* PartitionIndexes: [ // PartitionIndexList
Expand Down
1 change: 1 addition & 0 deletions clients/client-glue/src/commands/GetDatabaseCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export interface GetDatabaseCommandOutput extends GetDatabaseResponse, __Metadat
* // TargetDatabase: { // DatabaseIdentifier
* // CatalogId: "STRING_VALUE",
* // DatabaseName: "STRING_VALUE",
* // Region: "STRING_VALUE",
* // },
* // CatalogId: "STRING_VALUE",
* // FederatedDatabase: { // FederatedDatabase
Expand Down
1 change: 1 addition & 0 deletions clients/client-glue/src/commands/GetDatabasesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export interface GetDatabasesCommandOutput extends GetDatabasesResponse, __Metad
* // TargetDatabase: { // DatabaseIdentifier
* // CatalogId: "STRING_VALUE",
* // DatabaseName: "STRING_VALUE",
* // Region: "STRING_VALUE",
* // },
* // CatalogId: "STRING_VALUE",
* // FederatedDatabase: { // FederatedDatabase
Expand Down
1 change: 1 addition & 0 deletions clients/client-glue/src/commands/GetTableCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export interface GetTableCommandOutput extends GetTableResponse, __MetadataBeare
* // CatalogId: "STRING_VALUE",
* // DatabaseName: "STRING_VALUE",
* // Name: "STRING_VALUE",
* // Region: "STRING_VALUE",
* // },
* // CatalogId: "STRING_VALUE",
* // VersionId: "STRING_VALUE",
Expand Down
1 change: 1 addition & 0 deletions clients/client-glue/src/commands/GetTableVersionCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export interface GetTableVersionCommandOutput extends GetTableVersionResponse, _
* // CatalogId: "STRING_VALUE",
* // DatabaseName: "STRING_VALUE",
* // Name: "STRING_VALUE",
* // Region: "STRING_VALUE",
* // },
* // CatalogId: "STRING_VALUE",
* // VersionId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ export interface GetTableVersionsCommandOutput extends GetTableVersionsResponse,
* // CatalogId: "STRING_VALUE",
* // DatabaseName: "STRING_VALUE",
* // Name: "STRING_VALUE",
* // Region: "STRING_VALUE",
* // },
* // CatalogId: "STRING_VALUE",
* // VersionId: "STRING_VALUE",
Expand Down
1 change: 1 addition & 0 deletions clients/client-glue/src/commands/GetTablesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export interface GetTablesCommandOutput extends GetTablesResponse, __MetadataBea
* // CatalogId: "STRING_VALUE",
* // DatabaseName: "STRING_VALUE",
* // Name: "STRING_VALUE",
* // Region: "STRING_VALUE",
* // },
* // CatalogId: "STRING_VALUE",
* // VersionId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export interface GetUnfilteredTableMetadataCommandOutput extends GetUnfilteredTa
* // CatalogId: "STRING_VALUE",
* // DatabaseName: "STRING_VALUE",
* // Name: "STRING_VALUE",
* // Region: "STRING_VALUE",
* // },
* // CatalogId: "STRING_VALUE",
* // VersionId: "STRING_VALUE",
Expand Down
1 change: 1 addition & 0 deletions clients/client-glue/src/commands/SearchTablesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export interface SearchTablesCommandOutput extends SearchTablesResponse, __Metad
* // CatalogId: "STRING_VALUE",
* // DatabaseName: "STRING_VALUE",
* // Name: "STRING_VALUE",
* // Region: "STRING_VALUE",
* // },
* // CatalogId: "STRING_VALUE",
* // VersionId: "STRING_VALUE",
Expand Down
1 change: 1 addition & 0 deletions clients/client-glue/src/commands/UpdateDatabaseCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export interface UpdateDatabaseCommandOutput extends UpdateDatabaseResponse, __M
* TargetDatabase: { // DatabaseIdentifier
* CatalogId: "STRING_VALUE",
* DatabaseName: "STRING_VALUE",
* Region: "STRING_VALUE",
* },
* FederatedDatabase: { // FederatedDatabase
* Identifier: "STRING_VALUE",
Expand Down
1 change: 1 addition & 0 deletions clients/client-glue/src/commands/UpdateTableCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export interface UpdateTableCommandOutput extends UpdateTableResponse, __Metadat
* CatalogId: "STRING_VALUE",
* DatabaseName: "STRING_VALUE",
* Name: "STRING_VALUE",
* Region: "STRING_VALUE",
* },
* },
* SkipArchive: true || false,
Expand Down
5 changes: 5 additions & 0 deletions clients/client-glue/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7636,6 +7636,11 @@ export interface DatabaseIdentifier {
* <p>The name of the catalog database.</p>
*/
DatabaseName?: string;

/**
* <p>Region of the target database.</p>
*/
Region?: string;
}

/**
Expand Down
5 changes: 5 additions & 0 deletions clients/client-glue/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,11 @@ export interface TableIdentifier {
* <p>The name of the target table.</p>
*/
Name?: string;

/**
* <p>Region of the target table.</p>
*/
Region?: string;
}

/**
Expand Down
12 changes: 12 additions & 0 deletions codegen/sdk-codegen/aws-models/glue.json
Original file line number Diff line number Diff line change
Expand Up @@ -10514,6 +10514,12 @@
"traits": {
"smithy.api#documentation": "<p>The name of the catalog database.</p>"
}
},
"Region": {
"target": "com.amazonaws.glue#NameString",
"traits": {
"smithy.api#documentation": "<p>Region of the target database.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -30742,6 +30748,12 @@
"traits": {
"smithy.api#documentation": "<p>The name of the target table.</p>"
}
},
"Region": {
"target": "com.amazonaws.glue#NameString",
"traits": {
"smithy.api#documentation": "<p>Region of the target table.</p>"
}
}
},
"traits": {
Expand Down

0 comments on commit 30be6be

Please sign in to comment.