Closed HagunKim closed 4 months ago
According to the document [1], I tried to get list of LF-tag expression permissions.
let result = []; let params = { CatalogId: CatalogId, MaxResults: 1000, ResourceType: "LF_TAG_POLICY" }; do { let response = await lakeformation.listPermissions(params).promise(); result.push(...response.PrincipalResourcePermissions); } while (response.PrincipalResourcePermissions.length > 0 && response.NextToken !== null);
Expected : The result has whose resource type is both DATABASE and TABLE. Actual : The result only has values whose resource type is DATABASE.
aws-sdk js version : aws-sdk@2.1557.0
[1] https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/LakeFormation.html#listPermissions-property
The response has whose resource type is both DATABASE and TABLE.
The response only has values whose resource type is DATABASE.
No response
aws-sdk@2.1557.0
Ubuntu 20.04
Describe the bug
According to the document [1], I tried to get list of LF-tag expression permissions.
Expected : The result has whose resource type is both DATABASE and TABLE. Actual : The result only has values whose resource type is DATABASE.
aws-sdk js version : aws-sdk@2.1557.0
[1] https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/LakeFormation.html#listPermissions-property
Expected Behavior
The response has whose resource type is both DATABASE and TABLE.
Current Behavior
The response only has values whose resource type is DATABASE.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
SDK version used
aws-sdk@2.1557.0
Environment details (OS name and version, etc.)
Ubuntu 20.04