Skip to content

Typed dictionaries

Index > LakeFormation > Typed dictionaries

Auto-generated documentation for LakeFormation type annotations stubs module mypy-boto3-lakeformation.

LFTagPairTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import LFTagPairTypeDef

def get_value() -> LFTagPairTypeDef:
    return {
        "TagKey": ...,
        "TagValues": ...,
    }
Definition
class LFTagPairTypeDef(TypedDict):
    TagKey: str,
    TagValues: Sequence[str],
    CatalogId: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

AddObjectInputTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import AddObjectInputTypeDef

def get_value() -> AddObjectInputTypeDef:
    return {
        "Uri": ...,
        "ETag": ...,
        "Size": ...,
    }
Definition
class AddObjectInputTypeDef(TypedDict):
    Uri: str,
    ETag: str,
    Size: int,
    PartitionValues: NotRequired[Sequence[str]],

AssumeDecoratedRoleWithSAMLRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import AssumeDecoratedRoleWithSAMLRequestRequestTypeDef

def get_value() -> AssumeDecoratedRoleWithSAMLRequestRequestTypeDef:
    return {
        "SAMLAssertion": ...,
        "RoleArn": ...,
        "PrincipalArn": ...,
    }
Definition
class AssumeDecoratedRoleWithSAMLRequestRequestTypeDef(TypedDict):
    SAMLAssertion: str,
    RoleArn: str,
    PrincipalArn: str,
    DurationSeconds: NotRequired[int],

AuditContextTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import AuditContextTypeDef

def get_value() -> AuditContextTypeDef:
    return {
        "AdditionalAuditContext": ...,
    }
Definition
class AuditContextTypeDef(TypedDict):
    AdditionalAuditContext: NotRequired[str],

ErrorDetailTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ErrorDetailTypeDef

def get_value() -> ErrorDetailTypeDef:
    return {
        "ErrorCode": ...,
    }
Definition
class ErrorDetailTypeDef(TypedDict):
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],

DataLakePrincipalTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DataLakePrincipalTypeDef

def get_value() -> DataLakePrincipalTypeDef:
    return {
        "DataLakePrincipalIdentifier": ...,
    }
Definition
class DataLakePrincipalTypeDef(TypedDict):
    DataLakePrincipalIdentifier: NotRequired[str],

CancelTransactionRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import CancelTransactionRequestRequestTypeDef

def get_value() -> CancelTransactionRequestRequestTypeDef:
    return {
        "TransactionId": ...,
    }
Definition
class CancelTransactionRequestRequestTypeDef(TypedDict):
    TransactionId: str,

ColumnWildcardTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ColumnWildcardTypeDef

def get_value() -> ColumnWildcardTypeDef:
    return {
        "ExcludedColumnNames": ...,
    }
Definition
class ColumnWildcardTypeDef(TypedDict):
    ExcludedColumnNames: NotRequired[Sequence[str]],

CommitTransactionRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import CommitTransactionRequestRequestTypeDef

def get_value() -> CommitTransactionRequestRequestTypeDef:
    return {
        "TransactionId": ...,
    }
Definition
class CommitTransactionRequestRequestTypeDef(TypedDict):
    TransactionId: str,

CreateLFTagRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import CreateLFTagRequestRequestTypeDef

def get_value() -> CreateLFTagRequestRequestTypeDef:
    return {
        "TagKey": ...,
        "TagValues": ...,
    }
Definition
class CreateLFTagRequestRequestTypeDef(TypedDict):
    TagKey: str,
    TagValues: Sequence[str],
    CatalogId: NotRequired[str],

DataCellsFilterResourceTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DataCellsFilterResourceTypeDef

def get_value() -> DataCellsFilterResourceTypeDef:
    return {
        "TableCatalogId": ...,
    }
Definition
class DataCellsFilterResourceTypeDef(TypedDict):
    TableCatalogId: NotRequired[str],
    DatabaseName: NotRequired[str],
    TableName: NotRequired[str],
    Name: NotRequired[str],

RowFilterTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import RowFilterTypeDef

def get_value() -> RowFilterTypeDef:
    return {
        "FilterExpression": ...,
    }
Definition
class RowFilterTypeDef(TypedDict):
    FilterExpression: NotRequired[str],
    AllRowsWildcard: NotRequired[Mapping[str, Any]],

DataLocationResourceTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DataLocationResourceTypeDef

def get_value() -> DataLocationResourceTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class DataLocationResourceTypeDef(TypedDict):
    ResourceArn: str,
    CatalogId: NotRequired[str],

DatabaseResourceTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DatabaseResourceTypeDef

def get_value() -> DatabaseResourceTypeDef:
    return {
        "Name": ...,
    }
Definition
class DatabaseResourceTypeDef(TypedDict):
    Name: str,
    CatalogId: NotRequired[str],

DeleteDataCellsFilterRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DeleteDataCellsFilterRequestRequestTypeDef

def get_value() -> DeleteDataCellsFilterRequestRequestTypeDef:
    return {
        "TableCatalogId": ...,
    }
Definition
class DeleteDataCellsFilterRequestRequestTypeDef(TypedDict):
    TableCatalogId: NotRequired[str],
    DatabaseName: NotRequired[str],
    TableName: NotRequired[str],
    Name: NotRequired[str],

DeleteLFTagRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DeleteLFTagRequestRequestTypeDef

def get_value() -> DeleteLFTagRequestRequestTypeDef:
    return {
        "TagKey": ...,
    }
Definition
class DeleteLFTagRequestRequestTypeDef(TypedDict):
    TagKey: str,
    CatalogId: NotRequired[str],

DeleteObjectInputTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DeleteObjectInputTypeDef

def get_value() -> DeleteObjectInputTypeDef:
    return {
        "Uri": ...,
    }
Definition
class DeleteObjectInputTypeDef(TypedDict):
    Uri: str,
    ETag: NotRequired[str],
    PartitionValues: NotRequired[Sequence[str]],

VirtualObjectTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import VirtualObjectTypeDef

def get_value() -> VirtualObjectTypeDef:
    return {
        "Uri": ...,
    }
Definition
class VirtualObjectTypeDef(TypedDict):
    Uri: str,
    ETag: NotRequired[str],

DeregisterResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DeregisterResourceRequestRequestTypeDef

def get_value() -> DeregisterResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class DeregisterResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DescribeResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DescribeResourceRequestRequestTypeDef

def get_value() -> DescribeResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class DescribeResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

ResourceInfoTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ResourceInfoTypeDef

def get_value() -> ResourceInfoTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class ResourceInfoTypeDef(TypedDict):
    ResourceArn: NotRequired[str],
    RoleArn: NotRequired[str],
    LastModified: NotRequired[datetime],

DescribeTransactionRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DescribeTransactionRequestRequestTypeDef

def get_value() -> DescribeTransactionRequestRequestTypeDef:
    return {
        "TransactionId": ...,
    }
Definition
class DescribeTransactionRequestRequestTypeDef(TypedDict):
    TransactionId: str,

TransactionDescriptionTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import TransactionDescriptionTypeDef

def get_value() -> TransactionDescriptionTypeDef:
    return {
        "TransactionId": ...,
    }
Definition
class TransactionDescriptionTypeDef(TypedDict):
    TransactionId: NotRequired[str],
    TransactionStatus: NotRequired[TransactionStatusType],  # (1)
    TransactionStartTime: NotRequired[datetime],
    TransactionEndTime: NotRequired[datetime],
  1. See TransactionStatusType

DetailsMapTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DetailsMapTypeDef

def get_value() -> DetailsMapTypeDef:
    return {
        "ResourceShare": ...,
    }
Definition
class DetailsMapTypeDef(TypedDict):
    ResourceShare: NotRequired[List[str]],

ExecutionStatisticsTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ExecutionStatisticsTypeDef

def get_value() -> ExecutionStatisticsTypeDef:
    return {
        "AverageExecutionTimeMillis": ...,
    }
Definition
class ExecutionStatisticsTypeDef(TypedDict):
    AverageExecutionTimeMillis: NotRequired[int],
    DataScannedBytes: NotRequired[int],
    WorkUnitsExecutedCount: NotRequired[int],

ExtendTransactionRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ExtendTransactionRequestRequestTypeDef

def get_value() -> ExtendTransactionRequestRequestTypeDef:
    return {
        "TransactionId": ...,
    }
Definition
class ExtendTransactionRequestRequestTypeDef(TypedDict):
    TransactionId: NotRequired[str],

FilterConditionTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import FilterConditionTypeDef

def get_value() -> FilterConditionTypeDef:
    return {
        "Field": ...,
    }
Definition
class FilterConditionTypeDef(TypedDict):
    Field: NotRequired[FieldNameStringType],  # (1)
    ComparisonOperator: NotRequired[ComparisonOperatorType],  # (2)
    StringValueList: NotRequired[Sequence[str]],
  1. See FieldNameStringType
  2. See ComparisonOperatorType

GetDataLakeSettingsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetDataLakeSettingsRequestRequestTypeDef

def get_value() -> GetDataLakeSettingsRequestRequestTypeDef:
    return {
        "CatalogId": ...,
    }
Definition
class GetDataLakeSettingsRequestRequestTypeDef(TypedDict):
    CatalogId: NotRequired[str],

GetEffectivePermissionsForPathRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetEffectivePermissionsForPathRequestRequestTypeDef

def get_value() -> GetEffectivePermissionsForPathRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class GetEffectivePermissionsForPathRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    CatalogId: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

GetLFTagRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetLFTagRequestRequestTypeDef

def get_value() -> GetLFTagRequestRequestTypeDef:
    return {
        "TagKey": ...,
    }
Definition
class GetLFTagRequestRequestTypeDef(TypedDict):
    TagKey: str,
    CatalogId: NotRequired[str],

GetQueryStateRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetQueryStateRequestRequestTypeDef

def get_value() -> GetQueryStateRequestRequestTypeDef:
    return {
        "QueryId": ...,
    }
Definition
class GetQueryStateRequestRequestTypeDef(TypedDict):
    QueryId: str,

GetQueryStatisticsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetQueryStatisticsRequestRequestTypeDef

def get_value() -> GetQueryStatisticsRequestRequestTypeDef:
    return {
        "QueryId": ...,
    }
Definition
class GetQueryStatisticsRequestRequestTypeDef(TypedDict):
    QueryId: str,

PlanningStatisticsTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import PlanningStatisticsTypeDef

def get_value() -> PlanningStatisticsTypeDef:
    return {
        "EstimatedDataToScanBytes": ...,
    }
Definition
class PlanningStatisticsTypeDef(TypedDict):
    EstimatedDataToScanBytes: NotRequired[int],
    PlanningTimeMillis: NotRequired[int],
    QueueTimeMillis: NotRequired[int],
    WorkUnitsGeneratedCount: NotRequired[int],

GetTableObjectsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetTableObjectsRequestRequestTypeDef

def get_value() -> GetTableObjectsRequestRequestTypeDef:
    return {
        "DatabaseName": ...,
        "TableName": ...,
    }
Definition
class GetTableObjectsRequestRequestTypeDef(TypedDict):
    DatabaseName: str,
    TableName: str,
    CatalogId: NotRequired[str],
    TransactionId: NotRequired[str],
    QueryAsOfTime: NotRequired[Union[datetime, str]],
    PartitionPredicate: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

PartitionValueListTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import PartitionValueListTypeDef

def get_value() -> PartitionValueListTypeDef:
    return {
        "Values": ...,
    }
Definition
class PartitionValueListTypeDef(TypedDict):
    Values: Sequence[str],

GetWorkUnitResultsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetWorkUnitResultsRequestRequestTypeDef

def get_value() -> GetWorkUnitResultsRequestRequestTypeDef:
    return {
        "QueryId": ...,
        "WorkUnitId": ...,
        "WorkUnitToken": ...,
    }
Definition
class GetWorkUnitResultsRequestRequestTypeDef(TypedDict):
    QueryId: str,
    WorkUnitId: int,
    WorkUnitToken: str,

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

GetWorkUnitsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetWorkUnitsRequestRequestTypeDef

def get_value() -> GetWorkUnitsRequestRequestTypeDef:
    return {
        "QueryId": ...,
    }
Definition
class GetWorkUnitsRequestRequestTypeDef(TypedDict):
    QueryId: str,
    NextToken: NotRequired[str],
    PageSize: NotRequired[int],

WorkUnitRangeTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import WorkUnitRangeTypeDef

def get_value() -> WorkUnitRangeTypeDef:
    return {
        "WorkUnitIdMax": ...,
        "WorkUnitIdMin": ...,
        "WorkUnitToken": ...,
    }
Definition
class WorkUnitRangeTypeDef(TypedDict):
    WorkUnitIdMax: int,
    WorkUnitIdMin: int,
    WorkUnitToken: str,

LFTagKeyResourceTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import LFTagKeyResourceTypeDef

def get_value() -> LFTagKeyResourceTypeDef:
    return {
        "TagKey": ...,
        "TagValues": ...,
    }
Definition
class LFTagKeyResourceTypeDef(TypedDict):
    TagKey: str,
    TagValues: Sequence[str],
    CatalogId: NotRequired[str],

LFTagTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import LFTagTypeDef

def get_value() -> LFTagTypeDef:
    return {
        "TagKey": ...,
        "TagValues": ...,
    }
Definition
class LFTagTypeDef(TypedDict):
    TagKey: str,
    TagValues: Sequence[str],

TableResourceTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import TableResourceTypeDef

def get_value() -> TableResourceTypeDef:
    return {
        "DatabaseName": ...,
    }
Definition
class TableResourceTypeDef(TypedDict):
    DatabaseName: str,
    CatalogId: NotRequired[str],
    Name: NotRequired[str],
    TableWildcard: NotRequired[Mapping[str, Any]],

ListLFTagsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListLFTagsRequestRequestTypeDef

def get_value() -> ListLFTagsRequestRequestTypeDef:
    return {
        "CatalogId": ...,
    }
Definition
class ListLFTagsRequestRequestTypeDef(TypedDict):
    CatalogId: NotRequired[str],
    ResourceShareType: NotRequired[ResourceShareTypeType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See ResourceShareTypeType

ListTableStorageOptimizersRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListTableStorageOptimizersRequestRequestTypeDef

def get_value() -> ListTableStorageOptimizersRequestRequestTypeDef:
    return {
        "DatabaseName": ...,
        "TableName": ...,
    }
Definition
class ListTableStorageOptimizersRequestRequestTypeDef(TypedDict):
    DatabaseName: str,
    TableName: str,
    CatalogId: NotRequired[str],
    StorageOptimizerType: NotRequired[OptimizerTypeType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See OptimizerTypeType

StorageOptimizerTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import StorageOptimizerTypeDef

def get_value() -> StorageOptimizerTypeDef:
    return {
        "StorageOptimizerType": ...,
    }
Definition
class StorageOptimizerTypeDef(TypedDict):
    StorageOptimizerType: NotRequired[OptimizerTypeType],  # (1)
    Config: NotRequired[Dict[str, str]],
    ErrorMessage: NotRequired[str],
    Warnings: NotRequired[str],
    LastRunDetails: NotRequired[str],
  1. See OptimizerTypeType

ListTransactionsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListTransactionsRequestRequestTypeDef

def get_value() -> ListTransactionsRequestRequestTypeDef:
    return {
        "CatalogId": ...,
    }
Definition
class ListTransactionsRequestRequestTypeDef(TypedDict):
    CatalogId: NotRequired[str],
    StatusFilter: NotRequired[TransactionStatusFilterType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See TransactionStatusFilterType

TableObjectTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import TableObjectTypeDef

def get_value() -> TableObjectTypeDef:
    return {
        "Uri": ...,
    }
Definition
class TableObjectTypeDef(TypedDict):
    Uri: NotRequired[str],
    ETag: NotRequired[str],
    Size: NotRequired[int],

QueryPlanningContextTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import QueryPlanningContextTypeDef

def get_value() -> QueryPlanningContextTypeDef:
    return {
        "DatabaseName": ...,
    }
Definition
class QueryPlanningContextTypeDef(TypedDict):
    DatabaseName: str,
    CatalogId: NotRequired[str],
    QueryAsOfTime: NotRequired[Union[datetime, str]],
    QueryParameters: NotRequired[Mapping[str, str]],
    TransactionId: NotRequired[str],

RegisterResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import RegisterResourceRequestRequestTypeDef

def get_value() -> RegisterResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class RegisterResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    UseServiceLinkedRole: NotRequired[bool],
    RoleArn: NotRequired[str],

StartTransactionRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import StartTransactionRequestRequestTypeDef

def get_value() -> StartTransactionRequestRequestTypeDef:
    return {
        "TransactionType": ...,
    }
Definition
class StartTransactionRequestRequestTypeDef(TypedDict):
    TransactionType: NotRequired[TransactionTypeType],  # (1)
  1. See TransactionTypeType

UpdateLFTagRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import UpdateLFTagRequestRequestTypeDef

def get_value() -> UpdateLFTagRequestRequestTypeDef:
    return {
        "TagKey": ...,
    }
Definition
class UpdateLFTagRequestRequestTypeDef(TypedDict):
    TagKey: str,
    CatalogId: NotRequired[str],
    TagValuesToDelete: NotRequired[Sequence[str]],
    TagValuesToAdd: NotRequired[Sequence[str]],

UpdateResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import UpdateResourceRequestRequestTypeDef

def get_value() -> UpdateResourceRequestRequestTypeDef:
    return {
        "RoleArn": ...,
        "ResourceArn": ...,
    }
Definition
class UpdateResourceRequestRequestTypeDef(TypedDict):
    RoleArn: str,
    ResourceArn: str,

UpdateTableStorageOptimizerRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import UpdateTableStorageOptimizerRequestRequestTypeDef

def get_value() -> UpdateTableStorageOptimizerRequestRequestTypeDef:
    return {
        "DatabaseName": ...,
        "TableName": ...,
        "StorageOptimizerConfig": ...,
    }
Definition
class UpdateTableStorageOptimizerRequestRequestTypeDef(TypedDict):
    DatabaseName: str,
    TableName: str,
    StorageOptimizerConfig: Mapping[OptimizerTypeType, Mapping[str, str]],  # (1)
    CatalogId: NotRequired[str],
  1. See OptimizerTypeType

ColumnLFTagTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ColumnLFTagTypeDef

def get_value() -> ColumnLFTagTypeDef:
    return {
        "Name": ...,
    }
Definition
class ColumnLFTagTypeDef(TypedDict):
    Name: NotRequired[str],
    LFTags: NotRequired[List[LFTagPairTypeDef]],  # (1)
  1. See LFTagPairTypeDef

AssumeDecoratedRoleWithSAMLResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import AssumeDecoratedRoleWithSAMLResponseTypeDef

def get_value() -> AssumeDecoratedRoleWithSAMLResponseTypeDef:
    return {
        "AccessKeyId": ...,
        "SecretAccessKey": ...,
        "SessionToken": ...,
        "Expiration": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssumeDecoratedRoleWithSAMLResponseTypeDef(TypedDict):
    AccessKeyId: str,
    SecretAccessKey: str,
    SessionToken: str,
    Expiration: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CommitTransactionResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import CommitTransactionResponseTypeDef

def get_value() -> CommitTransactionResponseTypeDef:
    return {
        "TransactionStatus": ...,
        "ResponseMetadata": ...,
    }
Definition
class CommitTransactionResponseTypeDef(TypedDict):
    TransactionStatus: TransactionStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransactionStatusType
  2. See ResponseMetadataTypeDef

GetLFTagResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetLFTagResponseTypeDef

def get_value() -> GetLFTagResponseTypeDef:
    return {
        "CatalogId": ...,
        "TagKey": ...,
        "TagValues": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetLFTagResponseTypeDef(TypedDict):
    CatalogId: str,
    TagKey: str,
    TagValues: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetQueryStateResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetQueryStateResponseTypeDef

def get_value() -> GetQueryStateResponseTypeDef:
    return {
        "Error": ...,
        "State": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetQueryStateResponseTypeDef(TypedDict):
    Error: str,
    State: QueryStateStringType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See QueryStateStringType
  2. See ResponseMetadataTypeDef

GetTemporaryGluePartitionCredentialsResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetTemporaryGluePartitionCredentialsResponseTypeDef

def get_value() -> GetTemporaryGluePartitionCredentialsResponseTypeDef:
    return {
        "AccessKeyId": ...,
        "SecretAccessKey": ...,
        "SessionToken": ...,
        "Expiration": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTemporaryGluePartitionCredentialsResponseTypeDef(TypedDict):
    AccessKeyId: str,
    SecretAccessKey: str,
    SessionToken: str,
    Expiration: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetTemporaryGlueTableCredentialsResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetTemporaryGlueTableCredentialsResponseTypeDef

def get_value() -> GetTemporaryGlueTableCredentialsResponseTypeDef:
    return {
        "AccessKeyId": ...,
        "SecretAccessKey": ...,
        "SessionToken": ...,
        "Expiration": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTemporaryGlueTableCredentialsResponseTypeDef(TypedDict):
    AccessKeyId: str,
    SecretAccessKey: str,
    SessionToken: str,
    Expiration: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetWorkUnitResultsResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetWorkUnitResultsResponseTypeDef

def get_value() -> GetWorkUnitResultsResponseTypeDef:
    return {
        "ResultStream": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetWorkUnitResultsResponseTypeDef(TypedDict):
    ResultStream: StreamingBody,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListLFTagsResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListLFTagsResponseTypeDef

def get_value() -> ListLFTagsResponseTypeDef:
    return {
        "LFTags": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListLFTagsResponseTypeDef(TypedDict):
    LFTags: List[LFTagPairTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LFTagPairTypeDef
  2. See ResponseMetadataTypeDef

StartQueryPlanningResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import StartQueryPlanningResponseTypeDef

def get_value() -> StartQueryPlanningResponseTypeDef:
    return {
        "QueryId": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartQueryPlanningResponseTypeDef(TypedDict):
    QueryId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartTransactionResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import StartTransactionResponseTypeDef

def get_value() -> StartTransactionResponseTypeDef:
    return {
        "TransactionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartTransactionResponseTypeDef(TypedDict):
    TransactionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateTableStorageOptimizerResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import UpdateTableStorageOptimizerResponseTypeDef

def get_value() -> UpdateTableStorageOptimizerResponseTypeDef:
    return {
        "Result": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateTableStorageOptimizerResponseTypeDef(TypedDict):
    Result: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetTemporaryGlueTableCredentialsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetTemporaryGlueTableCredentialsRequestRequestTypeDef

def get_value() -> GetTemporaryGlueTableCredentialsRequestRequestTypeDef:
    return {
        "TableArn": ...,
        "SupportedPermissionTypes": ...,
    }
Definition
class GetTemporaryGlueTableCredentialsRequestRequestTypeDef(TypedDict):
    TableArn: str,
    SupportedPermissionTypes: Sequence[PermissionTypeType],  # (1)
    Permissions: NotRequired[Sequence[PermissionType]],  # (2)
    DurationSeconds: NotRequired[int],
    AuditContext: NotRequired[AuditContextTypeDef],  # (3)
  1. See PermissionTypeType
  2. See PermissionType
  3. See AuditContextTypeDef

LFTagErrorTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import LFTagErrorTypeDef

def get_value() -> LFTagErrorTypeDef:
    return {
        "LFTag": ...,
    }
Definition
class LFTagErrorTypeDef(TypedDict):
    LFTag: NotRequired[LFTagPairTypeDef],  # (1)
    Error: NotRequired[ErrorDetailTypeDef],  # (2)
  1. See LFTagPairTypeDef
  2. See ErrorDetailTypeDef

PrincipalPermissionsTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import PrincipalPermissionsTypeDef

def get_value() -> PrincipalPermissionsTypeDef:
    return {
        "Principal": ...,
    }
Definition
class PrincipalPermissionsTypeDef(TypedDict):
    Principal: NotRequired[DataLakePrincipalTypeDef],  # (1)
    Permissions: NotRequired[List[PermissionType]],  # (2)
  1. See DataLakePrincipalTypeDef
  2. See PermissionType

TableWithColumnsResourceTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import TableWithColumnsResourceTypeDef

def get_value() -> TableWithColumnsResourceTypeDef:
    return {
        "DatabaseName": ...,
        "Name": ...,
    }
Definition
class TableWithColumnsResourceTypeDef(TypedDict):
    DatabaseName: str,
    Name: str,
    CatalogId: NotRequired[str],
    ColumnNames: NotRequired[Sequence[str]],
    ColumnWildcard: NotRequired[ColumnWildcardTypeDef],  # (1)
  1. See ColumnWildcardTypeDef

DataCellsFilterTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DataCellsFilterTypeDef

def get_value() -> DataCellsFilterTypeDef:
    return {
        "TableCatalogId": ...,
        "DatabaseName": ...,
        "TableName": ...,
        "Name": ...,
    }
Definition
class DataCellsFilterTypeDef(TypedDict):
    TableCatalogId: str,
    DatabaseName: str,
    TableName: str,
    Name: str,
    RowFilter: NotRequired[RowFilterTypeDef],  # (1)
    ColumnNames: NotRequired[Sequence[str]],
    ColumnWildcard: NotRequired[ColumnWildcardTypeDef],  # (2)
  1. See RowFilterTypeDef
  2. See ColumnWildcardTypeDef

TaggedDatabaseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import TaggedDatabaseTypeDef

def get_value() -> TaggedDatabaseTypeDef:
    return {
        "Database": ...,
    }
Definition
class TaggedDatabaseTypeDef(TypedDict):
    Database: NotRequired[DatabaseResourceTypeDef],  # (1)
    LFTags: NotRequired[List[LFTagPairTypeDef]],  # (2)
  1. See DatabaseResourceTypeDef
  2. See LFTagPairTypeDef

WriteOperationTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import WriteOperationTypeDef

def get_value() -> WriteOperationTypeDef:
    return {
        "AddObject": ...,
    }
Definition
class WriteOperationTypeDef(TypedDict):
    AddObject: NotRequired[AddObjectInputTypeDef],  # (1)
    DeleteObject: NotRequired[DeleteObjectInputTypeDef],  # (2)
  1. See AddObjectInputTypeDef
  2. See DeleteObjectInputTypeDef

DeleteObjectsOnCancelRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DeleteObjectsOnCancelRequestRequestTypeDef

def get_value() -> DeleteObjectsOnCancelRequestRequestTypeDef:
    return {
        "DatabaseName": ...,
        "TableName": ...,
        "TransactionId": ...,
        "Objects": ...,
    }
Definition
class DeleteObjectsOnCancelRequestRequestTypeDef(TypedDict):
    DatabaseName: str,
    TableName: str,
    TransactionId: str,
    Objects: Sequence[VirtualObjectTypeDef],  # (1)
    CatalogId: NotRequired[str],
  1. See VirtualObjectTypeDef

DescribeResourceResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DescribeResourceResponseTypeDef

def get_value() -> DescribeResourceResponseTypeDef:
    return {
        "ResourceInfo": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeResourceResponseTypeDef(TypedDict):
    ResourceInfo: ResourceInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourceInfoTypeDef
  2. See ResponseMetadataTypeDef

ListResourcesResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListResourcesResponseTypeDef

def get_value() -> ListResourcesResponseTypeDef:
    return {
        "ResourceInfoList": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListResourcesResponseTypeDef(TypedDict):
    ResourceInfoList: List[ResourceInfoTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourceInfoTypeDef
  2. See ResponseMetadataTypeDef

DescribeTransactionResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DescribeTransactionResponseTypeDef

def get_value() -> DescribeTransactionResponseTypeDef:
    return {
        "TransactionDescription": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTransactionResponseTypeDef(TypedDict):
    TransactionDescription: TransactionDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransactionDescriptionTypeDef
  2. See ResponseMetadataTypeDef

ListTransactionsResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListTransactionsResponseTypeDef

def get_value() -> ListTransactionsResponseTypeDef:
    return {
        "Transactions": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTransactionsResponseTypeDef(TypedDict):
    Transactions: List[TransactionDescriptionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransactionDescriptionTypeDef
  2. See ResponseMetadataTypeDef

ListResourcesRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListResourcesRequestRequestTypeDef

def get_value() -> ListResourcesRequestRequestTypeDef:
    return {
        "FilterConditionList": ...,
    }
Definition
class ListResourcesRequestRequestTypeDef(TypedDict):
    FilterConditionList: NotRequired[Sequence[FilterConditionTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterConditionTypeDef

GetQueryStatisticsResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetQueryStatisticsResponseTypeDef

def get_value() -> GetQueryStatisticsResponseTypeDef:
    return {
        "ExecutionStatistics": ...,
        "PlanningStatistics": ...,
        "QuerySubmissionTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetQueryStatisticsResponseTypeDef(TypedDict):
    ExecutionStatistics: ExecutionStatisticsTypeDef,  # (1)
    PlanningStatistics: PlanningStatisticsTypeDef,  # (2)
    QuerySubmissionTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ExecutionStatisticsTypeDef
  2. See PlanningStatisticsTypeDef
  3. See ResponseMetadataTypeDef

GetTemporaryGluePartitionCredentialsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetTemporaryGluePartitionCredentialsRequestRequestTypeDef

def get_value() -> GetTemporaryGluePartitionCredentialsRequestRequestTypeDef:
    return {
        "TableArn": ...,
        "Partition": ...,
        "SupportedPermissionTypes": ...,
    }
Definition
class GetTemporaryGluePartitionCredentialsRequestRequestTypeDef(TypedDict):
    TableArn: str,
    Partition: PartitionValueListTypeDef,  # (1)
    SupportedPermissionTypes: Sequence[PermissionTypeType],  # (2)
    Permissions: NotRequired[Sequence[PermissionType]],  # (3)
    DurationSeconds: NotRequired[int],
    AuditContext: NotRequired[AuditContextTypeDef],  # (4)
  1. See PartitionValueListTypeDef
  2. See PermissionTypeType
  3. See PermissionType
  4. See AuditContextTypeDef

GetWorkUnitsRequestGetWorkUnitsPaginateTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetWorkUnitsRequestGetWorkUnitsPaginateTypeDef

def get_value() -> GetWorkUnitsRequestGetWorkUnitsPaginateTypeDef:
    return {
        "QueryId": ...,
    }
Definition
class GetWorkUnitsRequestGetWorkUnitsPaginateTypeDef(TypedDict):
    QueryId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListLFTagsRequestListLFTagsPaginateTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListLFTagsRequestListLFTagsPaginateTypeDef

def get_value() -> ListLFTagsRequestListLFTagsPaginateTypeDef:
    return {
        "CatalogId": ...,
    }
Definition
class ListLFTagsRequestListLFTagsPaginateTypeDef(TypedDict):
    CatalogId: NotRequired[str],
    ResourceShareType: NotRequired[ResourceShareTypeType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ResourceShareTypeType
  2. See PaginatorConfigTypeDef

GetWorkUnitsResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetWorkUnitsResponseTypeDef

def get_value() -> GetWorkUnitsResponseTypeDef:
    return {
        "NextToken": ...,
        "QueryId": ...,
        "WorkUnitRanges": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetWorkUnitsResponseTypeDef(TypedDict):
    NextToken: str,
    QueryId: str,
    WorkUnitRanges: List[WorkUnitRangeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkUnitRangeTypeDef
  2. See ResponseMetadataTypeDef

LFTagPolicyResourceTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import LFTagPolicyResourceTypeDef

def get_value() -> LFTagPolicyResourceTypeDef:
    return {
        "ResourceType": ...,
        "Expression": ...,
    }
Definition
class LFTagPolicyResourceTypeDef(TypedDict):
    ResourceType: ResourceTypeType,  # (1)
    Expression: Sequence[LFTagTypeDef],  # (2)
    CatalogId: NotRequired[str],
  1. See ResourceTypeType
  2. See LFTagTypeDef

SearchDatabasesByLFTagsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import SearchDatabasesByLFTagsRequestRequestTypeDef

def get_value() -> SearchDatabasesByLFTagsRequestRequestTypeDef:
    return {
        "Expression": ...,
    }
Definition
class SearchDatabasesByLFTagsRequestRequestTypeDef(TypedDict):
    Expression: Sequence[LFTagTypeDef],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    CatalogId: NotRequired[str],
  1. See LFTagTypeDef

SearchDatabasesByLFTagsRequestSearchDatabasesByLFTagsPaginateTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import SearchDatabasesByLFTagsRequestSearchDatabasesByLFTagsPaginateTypeDef

def get_value() -> SearchDatabasesByLFTagsRequestSearchDatabasesByLFTagsPaginateTypeDef:
    return {
        "Expression": ...,
    }
Definition
class SearchDatabasesByLFTagsRequestSearchDatabasesByLFTagsPaginateTypeDef(TypedDict):
    Expression: Sequence[LFTagTypeDef],  # (1)
    CatalogId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See LFTagTypeDef
  2. See PaginatorConfigTypeDef

SearchTablesByLFTagsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import SearchTablesByLFTagsRequestRequestTypeDef

def get_value() -> SearchTablesByLFTagsRequestRequestTypeDef:
    return {
        "Expression": ...,
    }
Definition
class SearchTablesByLFTagsRequestRequestTypeDef(TypedDict):
    Expression: Sequence[LFTagTypeDef],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    CatalogId: NotRequired[str],
  1. See LFTagTypeDef

SearchTablesByLFTagsRequestSearchTablesByLFTagsPaginateTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import SearchTablesByLFTagsRequestSearchTablesByLFTagsPaginateTypeDef

def get_value() -> SearchTablesByLFTagsRequestSearchTablesByLFTagsPaginateTypeDef:
    return {
        "Expression": ...,
    }
Definition
class SearchTablesByLFTagsRequestSearchTablesByLFTagsPaginateTypeDef(TypedDict):
    Expression: Sequence[LFTagTypeDef],  # (1)
    CatalogId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See LFTagTypeDef
  2. See PaginatorConfigTypeDef

ListDataCellsFilterRequestListDataCellsFilterPaginateTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListDataCellsFilterRequestListDataCellsFilterPaginateTypeDef

def get_value() -> ListDataCellsFilterRequestListDataCellsFilterPaginateTypeDef:
    return {
        "Table": ...,
    }
Definition
class ListDataCellsFilterRequestListDataCellsFilterPaginateTypeDef(TypedDict):
    Table: NotRequired[TableResourceTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TableResourceTypeDef
  2. See PaginatorConfigTypeDef

ListDataCellsFilterRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListDataCellsFilterRequestRequestTypeDef

def get_value() -> ListDataCellsFilterRequestRequestTypeDef:
    return {
        "Table": ...,
    }
Definition
class ListDataCellsFilterRequestRequestTypeDef(TypedDict):
    Table: NotRequired[TableResourceTypeDef],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See TableResourceTypeDef

ListTableStorageOptimizersResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListTableStorageOptimizersResponseTypeDef

def get_value() -> ListTableStorageOptimizersResponseTypeDef:
    return {
        "StorageOptimizerList": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTableStorageOptimizersResponseTypeDef(TypedDict):
    StorageOptimizerList: List[StorageOptimizerTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StorageOptimizerTypeDef
  2. See ResponseMetadataTypeDef

PartitionObjectsTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import PartitionObjectsTypeDef

def get_value() -> PartitionObjectsTypeDef:
    return {
        "PartitionValues": ...,
    }
Definition
class PartitionObjectsTypeDef(TypedDict):
    PartitionValues: NotRequired[List[str]],
    Objects: NotRequired[List[TableObjectTypeDef]],  # (1)
  1. See TableObjectTypeDef

StartQueryPlanningRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import StartQueryPlanningRequestRequestTypeDef

def get_value() -> StartQueryPlanningRequestRequestTypeDef:
    return {
        "QueryPlanningContext": ...,
        "QueryString": ...,
    }
Definition
class StartQueryPlanningRequestRequestTypeDef(TypedDict):
    QueryPlanningContext: QueryPlanningContextTypeDef,  # (1)
    QueryString: str,
  1. See QueryPlanningContextTypeDef

GetResourceLFTagsResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetResourceLFTagsResponseTypeDef

def get_value() -> GetResourceLFTagsResponseTypeDef:
    return {
        "LFTagOnDatabase": ...,
        "LFTagsOnTable": ...,
        "LFTagsOnColumns": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetResourceLFTagsResponseTypeDef(TypedDict):
    LFTagOnDatabase: List[LFTagPairTypeDef],  # (1)
    LFTagsOnTable: List[LFTagPairTypeDef],  # (1)
    LFTagsOnColumns: List[ColumnLFTagTypeDef],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See LFTagPairTypeDef
  2. See LFTagPairTypeDef
  3. See ColumnLFTagTypeDef
  4. See ResponseMetadataTypeDef

TaggedTableTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import TaggedTableTypeDef

def get_value() -> TaggedTableTypeDef:
    return {
        "Table": ...,
    }
Definition
class TaggedTableTypeDef(TypedDict):
    Table: NotRequired[TableResourceTypeDef],  # (1)
    LFTagOnDatabase: NotRequired[List[LFTagPairTypeDef]],  # (2)
    LFTagsOnTable: NotRequired[List[LFTagPairTypeDef]],  # (2)
    LFTagsOnColumns: NotRequired[List[ColumnLFTagTypeDef]],  # (4)
  1. See TableResourceTypeDef
  2. See LFTagPairTypeDef
  3. See LFTagPairTypeDef
  4. See ColumnLFTagTypeDef

AddLFTagsToResourceResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import AddLFTagsToResourceResponseTypeDef

def get_value() -> AddLFTagsToResourceResponseTypeDef:
    return {
        "Failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class AddLFTagsToResourceResponseTypeDef(TypedDict):
    Failures: List[LFTagErrorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LFTagErrorTypeDef
  2. See ResponseMetadataTypeDef

RemoveLFTagsFromResourceResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import RemoveLFTagsFromResourceResponseTypeDef

def get_value() -> RemoveLFTagsFromResourceResponseTypeDef:
    return {
        "Failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class RemoveLFTagsFromResourceResponseTypeDef(TypedDict):
    Failures: List[LFTagErrorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LFTagErrorTypeDef
  2. See ResponseMetadataTypeDef

DataLakeSettingsTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import DataLakeSettingsTypeDef

def get_value() -> DataLakeSettingsTypeDef:
    return {
        "DataLakeAdmins": ...,
    }
Definition
class DataLakeSettingsTypeDef(TypedDict):
    DataLakeAdmins: NotRequired[List[DataLakePrincipalTypeDef]],  # (1)
    CreateDatabaseDefaultPermissions: NotRequired[List[PrincipalPermissionsTypeDef]],  # (2)
    CreateTableDefaultPermissions: NotRequired[List[PrincipalPermissionsTypeDef]],  # (2)
    TrustedResourceOwners: NotRequired[List[str]],
    AllowExternalDataFiltering: NotRequired[bool],
    ExternalDataFilteringAllowList: NotRequired[List[DataLakePrincipalTypeDef]],  # (1)
    AuthorizedSessionTagValueList: NotRequired[List[str]],
  1. See DataLakePrincipalTypeDef
  2. See PrincipalPermissionsTypeDef
  3. See PrincipalPermissionsTypeDef
  4. See DataLakePrincipalTypeDef

CreateDataCellsFilterRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import CreateDataCellsFilterRequestRequestTypeDef

def get_value() -> CreateDataCellsFilterRequestRequestTypeDef:
    return {
        "TableData": ...,
    }
Definition
class CreateDataCellsFilterRequestRequestTypeDef(TypedDict):
    TableData: DataCellsFilterTypeDef,  # (1)
  1. See DataCellsFilterTypeDef

ListDataCellsFilterResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListDataCellsFilterResponseTypeDef

def get_value() -> ListDataCellsFilterResponseTypeDef:
    return {
        "DataCellsFilters": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDataCellsFilterResponseTypeDef(TypedDict):
    DataCellsFilters: List[DataCellsFilterTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DataCellsFilterTypeDef
  2. See ResponseMetadataTypeDef

SearchDatabasesByLFTagsResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import SearchDatabasesByLFTagsResponseTypeDef

def get_value() -> SearchDatabasesByLFTagsResponseTypeDef:
    return {
        "NextToken": ...,
        "DatabaseList": ...,
        "ResponseMetadata": ...,
    }
Definition
class SearchDatabasesByLFTagsResponseTypeDef(TypedDict):
    NextToken: str,
    DatabaseList: List[TaggedDatabaseTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaggedDatabaseTypeDef
  2. See ResponseMetadataTypeDef

UpdateTableObjectsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import UpdateTableObjectsRequestRequestTypeDef

def get_value() -> UpdateTableObjectsRequestRequestTypeDef:
    return {
        "DatabaseName": ...,
        "TableName": ...,
        "WriteOperations": ...,
    }
Definition
class UpdateTableObjectsRequestRequestTypeDef(TypedDict):
    DatabaseName: str,
    TableName: str,
    WriteOperations: Sequence[WriteOperationTypeDef],  # (1)
    CatalogId: NotRequired[str],
    TransactionId: NotRequired[str],
  1. See WriteOperationTypeDef

ResourceTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ResourceTypeDef

def get_value() -> ResourceTypeDef:
    return {
        "Catalog": ...,
    }
Definition
class ResourceTypeDef(TypedDict):
    Catalog: NotRequired[Mapping[str, Any]],
    Database: NotRequired[DatabaseResourceTypeDef],  # (1)
    Table: NotRequired[TableResourceTypeDef],  # (2)
    TableWithColumns: NotRequired[TableWithColumnsResourceTypeDef],  # (3)
    DataLocation: NotRequired[DataLocationResourceTypeDef],  # (4)
    DataCellsFilter: NotRequired[DataCellsFilterResourceTypeDef],  # (5)
    LFTag: NotRequired[LFTagKeyResourceTypeDef],  # (6)
    LFTagPolicy: NotRequired[LFTagPolicyResourceTypeDef],  # (7)
  1. See DatabaseResourceTypeDef
  2. See TableResourceTypeDef
  3. See TableWithColumnsResourceTypeDef
  4. See DataLocationResourceTypeDef
  5. See DataCellsFilterResourceTypeDef
  6. See LFTagKeyResourceTypeDef
  7. See LFTagPolicyResourceTypeDef

GetTableObjectsResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetTableObjectsResponseTypeDef

def get_value() -> GetTableObjectsResponseTypeDef:
    return {
        "Objects": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTableObjectsResponseTypeDef(TypedDict):
    Objects: List[PartitionObjectsTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PartitionObjectsTypeDef
  2. See ResponseMetadataTypeDef

SearchTablesByLFTagsResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import SearchTablesByLFTagsResponseTypeDef

def get_value() -> SearchTablesByLFTagsResponseTypeDef:
    return {
        "NextToken": ...,
        "TableList": ...,
        "ResponseMetadata": ...,
    }
Definition
class SearchTablesByLFTagsResponseTypeDef(TypedDict):
    NextToken: str,
    TableList: List[TaggedTableTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaggedTableTypeDef
  2. See ResponseMetadataTypeDef

GetDataLakeSettingsResponseTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetDataLakeSettingsResponseTypeDef

def get_value() -> GetDataLakeSettingsResponseTypeDef:
    return {
        "DataLakeSettings": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetDataLakeSettingsResponseTypeDef(TypedDict):
    DataLakeSettings: DataLakeSettingsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DataLakeSettingsTypeDef
  2. See ResponseMetadataTypeDef

PutDataLakeSettingsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import PutDataLakeSettingsRequestRequestTypeDef

def get_value() -> PutDataLakeSettingsRequestRequestTypeDef:
    return {
        "DataLakeSettings": ...,
    }
Definition
class PutDataLakeSettingsRequestRequestTypeDef(TypedDict):
    DataLakeSettings: DataLakeSettingsTypeDef,  # (1)
    CatalogId: NotRequired[str],
  1. See DataLakeSettingsTypeDef

AddLFTagsToResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import AddLFTagsToResourceRequestRequestTypeDef

def get_value() -> AddLFTagsToResourceRequestRequestTypeDef:
    return {
        "Resource": ...,
        "LFTags": ...,
    }
Definition
class AddLFTagsToResourceRequestRequestTypeDef(TypedDict):
    Resource: ResourceTypeDef,  # (1)
    LFTags: Sequence[LFTagPairTypeDef],  # (2)
    CatalogId: NotRequired[str],
  1. See ResourceTypeDef
  2. See LFTagPairTypeDef

BatchPermissionsRequestEntryTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import BatchPermissionsRequestEntryTypeDef

def get_value() -> BatchPermissionsRequestEntryTypeDef:
    return {
        "Id": ...,
    }
Definition
class BatchPermissionsRequestEntryTypeDef(TypedDict):
    Id: str,
    Principal: NotRequired[DataLakePrincipalTypeDef],  # (1)
    Resource: NotRequired[ResourceTypeDef],  # (2)
    Permissions: NotRequired[Sequence[PermissionType]],  # (3)
    PermissionsWithGrantOption: NotRequired[Sequence[PermissionType]],  # (3)
  1. See DataLakePrincipalTypeDef
  2. See ResourceTypeDef
  3. See PermissionType
  4. See PermissionType

GetResourceLFTagsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GetResourceLFTagsRequestRequestTypeDef

def get_value() -> GetResourceLFTagsRequestRequestTypeDef:
    return {
        "Resource": ...,
    }
Definition
class GetResourceLFTagsRequestRequestTypeDef(TypedDict):
    Resource: ResourceTypeDef,  # (1)
    CatalogId: NotRequired[str],
    ShowAssignedLFTags: NotRequired[bool],
  1. See ResourceTypeDef

GrantPermissionsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import GrantPermissionsRequestRequestTypeDef

def get_value() -> GrantPermissionsRequestRequestTypeDef:
    return {
        "Principal": ...,
        "Resource": ...,
        "Permissions": ...,
    }
Definition
class GrantPermissionsRequestRequestTypeDef(TypedDict):
    Principal: DataLakePrincipalTypeDef,  # (1)
    Resource: ResourceTypeDef,  # (2)
    Permissions: Sequence[PermissionType],  # (3)
    CatalogId: NotRequired[str],
    PermissionsWithGrantOption: NotRequired[Sequence[PermissionType]],  # (3)
  1. See DataLakePrincipalTypeDef
  2. See ResourceTypeDef
  3. See PermissionType
  4. See PermissionType

ListPermissionsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import ListPermissionsRequestRequestTypeDef

def get_value() -> ListPermissionsRequestRequestTypeDef:
    return {
        "CatalogId": ...,
    }
Definition
class ListPermissionsRequestRequestTypeDef(TypedDict):
    CatalogId: NotRequired[str],
    Principal: NotRequired[DataLakePrincipalTypeDef],  # (1)
    ResourceType: NotRequired[DataLakeResourceTypeType],  # (2)
    Resource: NotRequired[ResourceTypeDef],  # (3)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    IncludeRelated: NotRequired[str],
  1. See DataLakePrincipalTypeDef
  2. See DataLakeResourceTypeType
  3. See ResourceTypeDef

PrincipalResourcePermissionsTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import PrincipalResourcePermissionsTypeDef

def get_value() -> PrincipalResourcePermissionsTypeDef:
    return {
        "Principal": ...,
    }
Definition
class PrincipalResourcePermissionsTypeDef(TypedDict):
    Principal: NotRequired[DataLakePrincipalTypeDef],  # (1)
    Resource: NotRequired[ResourceTypeDef],  # (2)
    Permissions: NotRequired[List[PermissionType]],  # (3)
    PermissionsWithGrantOption: NotRequired[List[PermissionType]],  # (3)
    AdditionalDetails: NotRequired[DetailsMapTypeDef],  # (5)
  1. See DataLakePrincipalTypeDef
  2. See ResourceTypeDef
  3. See PermissionType
  4. See PermissionType
  5. See DetailsMapTypeDef

RemoveLFTagsFromResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import RemoveLFTagsFromResourceRequestRequestTypeDef

def get_value() -> RemoveLFTagsFromResourceRequestRequestTypeDef:
    return {
        "Resource": ...,
        "LFTags": ...,
    }
Definition
class RemoveLFTagsFromResourceRequestRequestTypeDef(TypedDict):
    Resource: ResourceTypeDef,  # (1)
    LFTags: Sequence[LFTagPairTypeDef],  # (2)
    CatalogId: NotRequired[str],
  1. See ResourceTypeDef
  2. See LFTagPairTypeDef

RevokePermissionsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import RevokePermissionsRequestRequestTypeDef

def get_value() -> RevokePermissionsRequestRequestTypeDef:
    return {
        "Principal": ...,
        "Resource": ...,
        "Permissions": ...,
    }
Definition
class RevokePermissionsRequestRequestTypeDef(TypedDict):
    Principal: DataLakePrincipalTypeDef,  # (1)
    Resource: ResourceTypeDef,  # (2)
    Permissions: Sequence[PermissionType],  # (3)
    CatalogId: NotRequired[str],
    PermissionsWithGrantOption: NotRequired[Sequence[PermissionType]],  # (3)
  1. See DataLakePrincipalTypeDef
  2. See ResourceTypeDef
  3. See PermissionType
  4. See PermissionType

BatchGrantPermissionsRequestRequestTypeDef

Usage Example
from mypy_boto3_lakeformation.type_defs import BatchGrantPermissionsRequestRequestTypeDef

def get_value() -> BatchGrantPermissionsRequestRequestTypeDef:
    return {
        "Entries": ...,
    }
Definition