Skip to content

Commit

Permalink
feat(client-glue): Adding new supported permission type flags to get-…
Browse files Browse the repository at this point in the history
…unfiltered endpoints that callers may pass to indicate support for enforcing Lake Formation fine-grained access control on nested column attributes.
  • Loading branch information
awstools committed Jul 17, 2023
1 parent 7850f23 commit 5e3726d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface GetUnfilteredPartitionMetadataCommandOutput
* AllColumnsRequested: true || false,
* },
* SupportedPermissionTypes: [ // PermissionTypeList // required
* "COLUMN_PERMISSION" || "CELL_FILTER_PERMISSION",
* "COLUMN_PERMISSION" || "CELL_FILTER_PERMISSION" || "NESTED_PERMISSION" || "NESTED_CELL_PERMISSION",
* ],
* };
* const command = new GetUnfilteredPartitionMetadataCommand(input);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export interface GetUnfilteredPartitionsMetadataCommandOutput
* AllColumnsRequested: true || false,
* },
* SupportedPermissionTypes: [ // PermissionTypeList // required
* "COLUMN_PERMISSION" || "CELL_FILTER_PERMISSION",
* "COLUMN_PERMISSION" || "CELL_FILTER_PERMISSION" || "NESTED_PERMISSION" || "NESTED_CELL_PERMISSION",
* ],
* NextToken: "STRING_VALUE",
* Segment: { // Segment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface GetUnfilteredTableMetadataCommandOutput extends GetUnfilteredTa
* AllColumnsRequested: true || false,
* },
* SupportedPermissionTypes: [ // PermissionTypeList // required
* "COLUMN_PERMISSION" || "CELL_FILTER_PERMISSION",
* "COLUMN_PERMISSION" || "CELL_FILTER_PERMISSION" || "NESTED_PERMISSION" || "NESTED_CELL_PERMISSION",
* ],
* };
* const command = new GetUnfilteredTableMetadataCommand(input);
Expand Down
2 changes: 2 additions & 0 deletions clients/client-glue/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6908,6 +6908,8 @@ export interface GetTriggersResponse {
export const PermissionType = {
CELL_FILTER_PERMISSION: "CELL_FILTER_PERMISSION",
COLUMN_PERMISSION: "COLUMN_PERMISSION",
NESTED_CELL_PERMISSION: "NESTED_CELL_PERMISSION",
NESTED_PERMISSION: "NESTED_PERMISSION",
} as const;

/**
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 @@ -25132,6 +25132,18 @@
"traits": {
"smithy.api#enumValue": "CELL_FILTER_PERMISSION"
}
},
"NESTED_PERMISSION": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "NESTED_PERMISSION"
}
},
"NESTED_CELL_PERMISSION": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "NESTED_CELL_PERMISSION"
}
}
}
},
Expand Down

0 comments on commit 5e3726d

Please sign in to comment.