Skip to content

Type definitions#

Index > SecurityLake > Type definitions

Auto-generated documentation for SecurityLake type annotations stubs module mypy-boto3-securitylake.

DataLakeAutoEnableNewAccountConfigurationUnionTypeDef#

# DataLakeAutoEnableNewAccountConfigurationUnionTypeDef definition

DataLakeAutoEnableNewAccountConfigurationUnionTypeDef = Union[
    DataLakeAutoEnableNewAccountConfigurationTypeDef,  # (1)
    DataLakeAutoEnableNewAccountConfigurationOutputTypeDef,  # (2)
]
  1. See DataLakeAutoEnableNewAccountConfigurationTypeDef
  2. See DataLakeAutoEnableNewAccountConfigurationOutputTypeDef

AwsIdentityTypeDef#

# AwsIdentityTypeDef definition

class AwsIdentityTypeDef(TypedDict):
    externalId: str,
    principal: str,

AwsLogSourceConfigurationTypeDef#

# AwsLogSourceConfigurationTypeDef definition

class AwsLogSourceConfigurationTypeDef(TypedDict):
    regions: Sequence[str],
    sourceName: AwsLogSourceNameType,  # (1)
    accounts: NotRequired[Sequence[str]],
    sourceVersion: NotRequired[str],
  1. See AwsLogSourceNameType

AwsLogSourceResourceTypeDef#

# AwsLogSourceResourceTypeDef definition

class AwsLogSourceResourceTypeDef(TypedDict):
    sourceName: NotRequired[AwsLogSourceNameType],  # (1)
    sourceVersion: NotRequired[str],
  1. See AwsLogSourceNameType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

CreateDataLakeExceptionSubscriptionRequestRequestTypeDef#

# CreateDataLakeExceptionSubscriptionRequestRequestTypeDef definition

class CreateDataLakeExceptionSubscriptionRequestRequestTypeDef(TypedDict):
    notificationEndpoint: str,
    subscriptionProtocol: str,
    exceptionTimeToLive: NotRequired[int],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    key: str,
    value: str,

CustomLogSourceAttributesTypeDef#

# CustomLogSourceAttributesTypeDef definition

class CustomLogSourceAttributesTypeDef(TypedDict):
    crawlerArn: NotRequired[str],
    databaseArn: NotRequired[str],
    tableArn: NotRequired[str],

CustomLogSourceCrawlerConfigurationTypeDef#

# CustomLogSourceCrawlerConfigurationTypeDef definition

class CustomLogSourceCrawlerConfigurationTypeDef(TypedDict):
    roleArn: str,

CustomLogSourceProviderTypeDef#

# CustomLogSourceProviderTypeDef definition

class CustomLogSourceProviderTypeDef(TypedDict):
    location: NotRequired[str],
    roleArn: NotRequired[str],

DataLakeEncryptionConfigurationTypeDef#

# DataLakeEncryptionConfigurationTypeDef definition

class DataLakeEncryptionConfigurationTypeDef(TypedDict):
    kmsKeyId: NotRequired[str],

DataLakeReplicationConfigurationTypeDef#

# DataLakeReplicationConfigurationTypeDef definition

class DataLakeReplicationConfigurationTypeDef(TypedDict):
    regions: NotRequired[Sequence[str]],
    roleArn: NotRequired[str],

DataLakeExceptionTypeDef#

# DataLakeExceptionTypeDef definition

class DataLakeExceptionTypeDef(TypedDict):
    exception: NotRequired[str],
    region: NotRequired[str],
    remediation: NotRequired[str],
    timestamp: NotRequired[datetime],

DataLakeLifecycleExpirationTypeDef#

# DataLakeLifecycleExpirationTypeDef definition

class DataLakeLifecycleExpirationTypeDef(TypedDict):
    days: NotRequired[int],

DataLakeLifecycleTransitionTypeDef#

# DataLakeLifecycleTransitionTypeDef definition

class DataLakeLifecycleTransitionTypeDef(TypedDict):
    days: NotRequired[int],
    storageClass: NotRequired[str],

DataLakeReplicationConfigurationOutputTypeDef#

# DataLakeReplicationConfigurationOutputTypeDef definition

class DataLakeReplicationConfigurationOutputTypeDef(TypedDict):
    regions: NotRequired[List[str]],
    roleArn: NotRequired[str],

DataLakeSourceStatusTypeDef#

# DataLakeSourceStatusTypeDef definition

class DataLakeSourceStatusTypeDef(TypedDict):
    resource: NotRequired[str],
    status: NotRequired[SourceCollectionStatusType],  # (1)
  1. See SourceCollectionStatusType

DataLakeUpdateExceptionTypeDef#

# DataLakeUpdateExceptionTypeDef definition

class DataLakeUpdateExceptionTypeDef(TypedDict):
    code: NotRequired[str],
    reason: NotRequired[str],

DeleteCustomLogSourceRequestRequestTypeDef#

# DeleteCustomLogSourceRequestRequestTypeDef definition

class DeleteCustomLogSourceRequestRequestTypeDef(TypedDict):
    sourceName: str,
    sourceVersion: NotRequired[str],

DeleteDataLakeRequestRequestTypeDef#

# DeleteDataLakeRequestRequestTypeDef definition

class DeleteDataLakeRequestRequestTypeDef(TypedDict):
    regions: Sequence[str],

DeleteSubscriberNotificationRequestRequestTypeDef#

# DeleteSubscriberNotificationRequestRequestTypeDef definition

class DeleteSubscriberNotificationRequestRequestTypeDef(TypedDict):
    subscriberId: str,

DeleteSubscriberRequestRequestTypeDef