Lake Formation

Implementation details for API lakeformation

Coverage Overview

Lake Formation is supported by LocalStack only in the pro image.

AvailabilityTesting*
OperationImplementedImageInternal Test SuiteExternal Test SuiteTerraform ValidatedAWS ValidatedSnapshot TestedDetails
AddLFTagsToResource
AssumeDecoratedRoleWithSAML
BatchGrantPermissions
BatchRevokePermissions
CancelTransaction
CommitTransaction
CreateDataCellsFilter
CreateLFTag
CreateLakeFormationIdentityCenterConfiguration
CreateLakeFormationOptIn
DeleteDataCellsFilter
DeleteLFTag
DeleteLakeFormationIdentityCenterConfiguration
DeleteLakeFormationOptIn
DeleteObjectsOnCancel
DeregisterResource✔️pro✔️✔️
DescribeLakeFormationIdentityCenterConfiguration
DescribeResource✔️pro✔️✔️
DescribeTransaction
ExtendTransaction
GetDataCellsFilter
GetDataLakeSettings✔️pro✔️✔️
GetEffectivePermissionsForPath
GetLFTag
GetQueryState
GetQueryStatistics
GetResourceLFTags
GetTableObjects
GetTemporaryGluePartitionCredentials
GetTemporaryGlueTableCredentials
GetWorkUnitResults
GetWorkUnits
GrantPermissions✔️pro✔️✔️✔️Show Tests
ListDataCellsFilter
ListLFTags
ListLakeFormationOptIns
ListPermissions✔️pro✔️✔️✔️Show Tests
ListResources✔️pro✔️
ListTableStorageOptimizers
ListTransactions
PutDataLakeSettings✔️pro✔️✔️
RegisterResource✔️pro✔️✔️
RemoveLFTagsFromResource
RevokePermissions✔️pro✔️✔️
SearchDatabasesByLFTags
SearchTablesByLFTags
StartQueryPlanning
StartTransaction
UpdateDataCellsFilter
UpdateLFTag
UpdateLakeFormationIdentityCenterConfiguration
UpdateResource
UpdateTableObjects
UpdateTableStorageOptimizer

Terminology

  • Internal Test Suite: tested by LocalStack's internal integration test suite
  • External Test Suite: covered by an external integration test suite, that runs against LocalStack
  • Terraform Validated: operation tested with Terraform
  • AWS Validated: the integration test that includes this operation call was validated against AWS
  • Snapshot Tested: the operation is part of a snapshot parity test, which verifies the responses by LocalStack and AWS are the same

Testing Details

This section gives an overview about the internal integration test suite and the specific test cases that recorded the API call.

How to read the test details?

For each operation we put up a list of the related integration test cases.
Those operation calls have been recorded during the exeuction of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.

  • Parameters: The tests are ordered by the parameters used, which are highlighted in bold.
  • Test Details: LocalStack Community or LocalStack Pro indicates where the test originates. For each test you see:
    • test name
    • status code returned (which is the expected one for the test case)
    • information about validation:
      • AWS validated the test is validated against AWS, meaning it run successfully against real AWS as well
      • Snapshot Tested this is a snapshot parity test, meaning the responses are validated against AWS


GrantPermissions

Parameters: Permissions, Principal, Resource
  • LocalStack Pro
    • test_manage_permissions LocalStack Pro: tests/aws/services/lakeformation/test_lakeformation.py::TestLakeFormation::test_manage_permissions HTTP Status Code: 200

ListPermissions

Parameters: Principal, Resource
  • LocalStack Pro
    • test_manage_permissions LocalStack Pro: tests/aws/services/lakeformation/test_lakeformation.py::TestLakeFormation::test_manage_permissions HTTP Status Code: 200


Last modified March 20, 2023: improve Coverage Docs (#505) (46f2fb0c0)