Skip to content

Type definitions#

Index > CloudTrail > Type definitions

Auto-generated documentation for CloudTrail type annotations stubs module mypy-boto3-cloudtrail.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AdvancedFieldSelectorUnionTypeDef#

# AdvancedFieldSelectorUnionTypeDef definition

AdvancedFieldSelectorUnionTypeDef = Union[
    AdvancedFieldSelectorTypeDef,  # (1)
    AdvancedFieldSelectorOutputTypeDef,  # (2)
]
  1. See AdvancedFieldSelectorTypeDef
  2. See AdvancedFieldSelectorOutputTypeDef

DataResourceUnionTypeDef#

# DataResourceUnionTypeDef definition

DataResourceUnionTypeDef = Union[
    DataResourceTypeDef,  # (1)
    DataResourceOutputTypeDef,  # (2)
]
  1. See DataResourceTypeDef
  2. See DataResourceOutputTypeDef

AdvancedEventSelectorUnionTypeDef#

# AdvancedEventSelectorUnionTypeDef definition

AdvancedEventSelectorUnionTypeDef = Union[
    AdvancedEventSelectorTypeDef,  # (1)
    AdvancedEventSelectorOutputTypeDef,  # (2)
]
  1. See AdvancedEventSelectorTypeDef
  2. See AdvancedEventSelectorOutputTypeDef

EventSelectorUnionTypeDef#

# EventSelectorUnionTypeDef definition

EventSelectorUnionTypeDef = Union[
    EventSelectorTypeDef,  # (1)
    EventSelectorOutputTypeDef,  # (2)
]
  1. See EventSelectorTypeDef
  2. See EventSelectorOutputTypeDef

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: NotRequired[str],

AdvancedFieldSelectorOutputTypeDef#

# AdvancedFieldSelectorOutputTypeDef definition

class AdvancedFieldSelectorOutputTypeDef(TypedDict):
    Field: str,
    Equals: NotRequired[list[str]],
    StartsWith: NotRequired[list[str]],
    EndsWith: NotRequired[list[str]],
    NotEquals: NotRequired[list[str]],
    NotStartsWith: NotRequired[list[str]],
    NotEndsWith: NotRequired[list[str]],

AdvancedFieldSelectorTypeDef#

# AdvancedFieldSelectorTypeDef definition

class AdvancedFieldSelectorTypeDef(TypedDict):
    Field: str,
    Equals: NotRequired[Sequence[str]],
    StartsWith: NotRequired[Sequence[str]],
    EndsWith: NotRequired[Sequence[str]],
    NotEquals: NotRequired[Sequence[str]],
    NotStartsWith: NotRequired[Sequence[str]],
    NotEndsWith: NotRequired[Sequence[str]],

CancelQueryRequestRequestTypeDef#

# CancelQueryRequestRequestTypeDef definition

class CancelQueryRequestRequestTypeDef(TypedDict):
    QueryId: str,
    EventDataStore: NotRequired[str],
    EventDataStoreOwnerAccountId: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

ChannelTypeDef#

# ChannelTypeDef definition

class ChannelTypeDef(TypedDict):
    ChannelArn: NotRequired[str],
    Name: NotRequired[str],

DestinationTypeDef#

# DestinationTypeDef definition

class DestinationTypeDef(TypedDict):
    Type: DestinationTypeType,  # (1)
    Location: str,
  1. See DestinationTypeType

RequestWidgetTypeDef#

# RequestWidgetTypeDef definition

class RequestWidgetTypeDef(TypedDict):
    QueryStatement: str,
    ViewProperties: Mapping[str, str],
    QueryParameters: NotRequired[Sequence[str]],

WidgetTypeDef#

# WidgetTypeDef definition

class WidgetTypeDef(TypedDict):
    QueryAlias: NotRequired[str],
    QueryStatement: NotRequired[str],
    QueryParameters: NotRequired[list[str]],
    ViewProperties: NotRequired[dict[str, str]],

DashboardDetailTypeDef#

# DashboardDetailTypeDef definition

class DashboardDetailTypeDef(TypedDict):
    DashboardArn: NotRequired[str],
    Type: NotRequired[DashboardTypeType],  # (1)
  1. See DashboardTypeType

DataResourceOutputTypeDef#

# DataResourceOutputTypeDef definition

class DataResourceOutputTypeDef(TypedDict):
    Type: NotRequired[str],
    Values: NotRequired[list[str]],

DataResourceTypeDef#

# DataResourceTypeDef definition

class DataResourceTypeDef(TypedDict):
    Type: NotRequired[str],
    Values: NotRequired[Sequence[str]],

DeleteChannelRequestRequestTypeDef#

# DeleteChannelRequestRequestTypeDef definition

class DeleteChannelRequestRequestTypeDef(TypedDict):
    Channel: str,

DeleteDashboardRequestRequestTypeDef#

# DeleteDashboardRequestRequestTypeDef definition

class DeleteDashboardRequestRequestTypeDef(TypedDict):
    DashboardId: str,

DeleteEventDataStoreRequestRequestTypeDef#

# DeleteEventDataStoreRequestRequestTypeDef definition

class DeleteEventDataStoreRequestRequestTypeDef(TypedDict):
    EventDataStore: str,

DeleteResourcePolicyRequestRequestTypeDef#

# DeleteResourcePolicyRequestRequestTypeDef definition

class DeleteResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DeleteTrailRequestRequestTypeDef#

# DeleteTrailRequestRequestTypeDef definition

class DeleteTrailRequestRequestTypeDef(TypedDict):
    Name: str,

DeregisterOrganizationDelegatedAdminRequestRequestTypeDef#

# DeregisterOrganizationDelegatedAdminRequestRequestTypeDef definition

class DeregisterOrganizationDelegatedAdminRequestRequestTypeDef(TypedDict):
    DelegatedAdminAccountId: str,

DescribeQueryRequestRequestTypeDef#

# DescribeQueryRequestRequestTypeDef definition

class DescribeQueryRequestRequestTypeDef(TypedDict):
    EventDataStore: NotRequired[str],
    QueryId: NotRequired[str],
    QueryAlias: NotRequired[str],
    RefreshId: NotRequired[str],
    EventDataStoreOwnerAccountId: NotRequired[str],

QueryStatisticsForDescribeQueryTypeDef#

# QueryStatisticsForDescribeQueryTypeDef definition

class QueryStatisticsForDescribeQueryTypeDef(TypedDict):
    EventsMatched: NotRequired[int],
    EventsScanned: NotRequired[int],
    BytesScanned: NotRequired[int],
    ExecutionTimeInMillis: NotRequired[int],
    CreationTime: NotRequired[datetime],

DescribeTrailsRequestRequestTypeDef#

# DescribeTrailsRequestRequestTypeDef definition

class DescribeTrailsRequestRequestTypeDef(TypedDict):
    trailNameList: NotRequired[Sequence[str]],
    includeShadowTrails: NotRequired[bool],

TrailTypeDef#

# TrailTypeDef definition

class TrailTypeDef(TypedDict):
    Name: NotRequired[str],
    S3BucketName: NotRequired[str],
    S3KeyPrefix: NotRequired[str],
    SnsTopicName: NotRequired[str],
    SnsTopicARN: NotRequired[str],
    IncludeGlobalServiceEvents: NotRequired[bool],
    IsMultiRegionTrail: NotRequired[bool],
    HomeRegion: NotRequired[str],
    TrailARN: NotRequired[str],
    LogFileValidationEnabled: NotRequired[bool],
    CloudWatchLogsLogGroupArn: NotRequired[str],
    CloudWatchLogsRoleArn: NotRequired[str],
    KmsKeyId: NotRequired[str],
    HasCustomEventSelectors: NotRequired[bool],
    HasInsightSelectors: NotRequired[bool],
    IsOrganizationTrail: NotRequired[bool],

DisableFederationRequestRequestTypeDef#

# DisableFederationRequestRequestTypeDef definition

class DisableFederationRequestRequestTypeDef(TypedDict):
    EventDataStore: str,

EnableFederationRequestRequestTypeDef#

# EnableFederationRequestRequestTypeDef definition

class EnableFederationRequestRequestTypeDef(TypedDict):
    EventDataStore: str,
    FederationRoleArn: str,

ResourceTypeDef#

# ResourceTypeDef definition

class ResourceTypeDef(TypedDict):
    ResourceType: NotRequired[str],
    ResourceName: NotRequired[str],

GenerateQueryRequestRequestTypeDef#

# GenerateQueryRequestRequestTypeDef definition

class GenerateQueryRequestRequestTypeDef(TypedDict):
    EventDataStores: Sequence[str],
    Prompt: str,

GetChannelRequestRequestTypeDef#

# GetChannelRequestRequestTypeDef definition

class GetChannelRequestRequestTypeDef(TypedDict):
    Channel: str,

IngestionStatusTypeDef#

# IngestionStatusTypeDef definition

class IngestionStatusTypeDef(TypedDict):
    LatestIngestionSuccessTime: NotRequired[datetime],
    LatestIngestionSuccessEventID: NotRequired[str],
    LatestIngestionErrorCode: NotRequired[str],
    LatestIngestionAttemptTime: NotRequired[datetime],
    LatestIngestionAttemptEventID: NotRequired[str],

GetDashboardRequestRequestTypeDef#

# GetDashboardRequestRequestTypeDef definition

class GetDashboardRequestRequestTypeDef(TypedDict):
    DashboardId: str,

GetEventDataStoreRequestRequestTypeDef#

# GetEventDataStoreRequestRequestTypeDef definition

class GetEventDataStoreRequestRequestTypeDef(TypedDict):
    EventDataStore: str,

PartitionKeyTypeDef#

# PartitionKeyTypeDef definition

class PartitionKeyTypeDef(TypedDict):
    Name: str,
    Type: str,

GetEventSelectorsRequestRequestTypeDef#

# GetEventSelectorsRequestRequestTypeDef definition

class GetEventSelectorsRequestRequestTypeDef(TypedDict):
    TrailName: str,

GetImportRequestRequestTypeDef#

# GetImportRequestRequestTypeDef definition

class GetImportRequestRequestTypeDef(TypedDict):
    ImportId: str,

ImportStatisticsTypeDef#

# ImportStatisticsTypeDef definition

class ImportStatisticsTypeDef(TypedDict):
    PrefixesFound: NotRequired[int],
    PrefixesCompleted: NotRequired[int],
    FilesCompleted: NotRequired[int],
    EventsCompleted: NotRequired[int],
    FailedEntries: NotRequired[int],

GetInsightSelectorsRequestRequestTypeDef#

# GetInsightSelectorsRequestRequestTypeDef definition

class GetInsightSelectorsRequestRequestTypeDef(TypedDict):
    TrailName: NotRequired[str],
    EventDataStore: NotRequired[str],

InsightSelectorTypeDef#

# InsightSelectorTypeDef definition

class InsightSelectorTypeDef(TypedDict):
    InsightType: NotRequired[InsightTypeType],  # (1)
  1. See InsightTypeType

GetQueryResultsRequestRequestTypeDef#

# GetQueryResultsRequestRequestTypeDef definition

class GetQueryResultsRequestRequestTypeDef(TypedDict):
    QueryId: str,
    EventDataStore: NotRequired[str],
    NextToken: NotRequired[str],
    MaxQueryResults: NotRequired[int],
    EventDataStoreOwnerAccountId: NotRequired[str],

QueryStatisticsTypeDef#

# QueryStatisticsTypeDef definition

class QueryStatisticsTypeDef(TypedDict):
    ResultsCount: NotRequired[int],
    TotalResultsCount: NotRequired[int],
    BytesScanned: NotRequired[int],

GetResourcePolicyRequestRequestTypeDef#

# GetResourcePolicyRequestRequestTypeDef definition

class GetResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

GetTrailRequestRequestTypeDef#

# GetTrailRequestRequestTypeDef definition

class GetTrailRequestRequestTypeDef(TypedDict):
    Name: str,

GetTrailStatusRequestRequestTypeDef#

# GetTrailStatusRequestRequestTypeDef definition

class GetTrailStatusRequestRequestTypeDef(TypedDict):
    Name: str,

ImportFailureListItemTypeDef#

# ImportFailureListItemTypeDef definition

class ImportFailureListItemTypeDef(TypedDict):
    Location: NotRequired[str],
    Status: NotRequired[ImportFailureStatusType],  # (1)
    ErrorType: NotRequired[str],
    ErrorMessage: NotRequired[str],
    LastUpdatedTime: NotRequired[datetime],
  1. See ImportFailureStatusType

S3ImportSourceTypeDef#

# S3ImportSourceTypeDef definition

class S3ImportSourceTypeDef(TypedDict):
    S3LocationUri: str,
    S3BucketRegion: str,
    S3BucketAccessRoleArn: str,

ImportsListItemTypeDef#

# ImportsListItemTypeDef definition

class ImportsListItemTypeDef(TypedDict):
    ImportId: NotRequired[str],
    ImportStatus: NotRequired[ImportStatusType],  # (1)
    Destinations: NotRequired[list[str]],
    CreatedTimestamp: NotRequired[datetime],
    UpdatedTimestamp: NotRequired[datetime],
  1. See ImportStatusType

ListChannelsRequestRequestTypeDef#

# ListChannelsRequestRequestTypeDef definition

class ListChannelsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListDashboardsRequestRequestTypeDef#

# ListDashboardsRequestRequestTypeDef definition

class ListDashboardsRequestRequestTypeDef(TypedDict):
    NamePrefix: NotRequired[str],
    Type: NotRequired[DashboardTypeType],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See DashboardTypeType

ListEventDataStoresRequestRequestTypeDef#

# ListEventDataStoresRequestRequestTypeDef definition

class ListEventDataStoresRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListImportFailuresRequestRequestTypeDef#

# ListImportFailuresRequestRequestTypeDef definition

class ListImportFailuresRequestRequestTypeDef(TypedDict):
    ImportId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListImportsRequestRequestTypeDef#

# ListImportsRequestRequestTypeDef definition

class ListImportsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    Destination: NotRequired[str],
    ImportStatus: NotRequired[ImportStatusType],  # (1)
    NextToken: NotRequired[str],
  1. See ImportStatusType

PublicKeyTypeDef#

# PublicKeyTypeDef definition

class PublicKeyTypeDef(TypedDict):
    Value: NotRequired[bytes],
    ValidityStartTime: NotRequired[datetime],
    ValidityEndTime: NotRequired[datetime],
    Fingerprint: NotRequired[str],

QueryTypeDef#

# QueryTypeDef definition

class QueryTypeDef(TypedDict):
    QueryId: NotRequired[str],
    QueryStatus: NotRequired[QueryStatusType],  # (1)
    CreationTime: NotRequired[datetime],
  1. See QueryStatusType

ListTagsRequestRequestTypeDef#

# ListTagsRequestRequestTypeDef definition

class ListTagsRequestRequestTypeDef(TypedDict):
    ResourceIdList: Sequence[str],
    NextToken: NotRequired[str],

ListTrailsRequestRequestTypeDef#

# ListTrailsRequestRequestTypeDef definition

class ListTrailsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],

TrailInfoTypeDef#

# TrailInfoTypeDef definition

class TrailInfoTypeDef(TypedDict):
    TrailARN: NotRequired[str],
    Name: NotRequired[str],
    HomeRegion: NotRequired[str],

LookupAttributeTypeDef#

# LookupAttributeTypeDef definition

class LookupAttributeTypeDef(TypedDict):
    AttributeKey: LookupAttributeKeyType,  # (1)
    AttributeValue: str,
  1. See LookupAttributeKeyType

PutResourcePolicyRequestRequestTypeDef#

# PutResourcePolicyRequestRequestTypeDef definition

class PutResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    ResourcePolicy: str,

RefreshScheduleFrequencyTypeDef#

# RefreshScheduleFrequencyTypeDef definition

class RefreshScheduleFrequencyTypeDef(TypedDict):
    Unit: NotRequired[RefreshScheduleFrequencyUnitType],  # (1)
    Value: NotRequired[int],
  1. See RefreshScheduleFrequencyUnitType

RegisterOrganizationDelegatedAdminRequestRequestTypeDef#

# RegisterOrganizationDelegatedAdminRequestRequestTypeDef definition

class RegisterOrganizationDelegatedAdminRequestRequestTypeDef(TypedDict):
    MemberAccountId: str,

RestoreEventDataStoreRequestRequestTypeDef#

# RestoreEventDataStoreRequestRequestTypeDef definition

class RestoreEventDataStoreRequestRequestTypeDef(TypedDict):
    EventDataStore: str,

StartDashboardRefreshRequestRequestTypeDef#

# StartDashboardRefreshRequestRequestTypeDef definition

class StartDashboardRefreshRequestRequestTypeDef(TypedDict):
    DashboardId: str,
    QueryParameterValues: NotRequired[Mapping[str, str]],

StartEventDataStoreIngestionRequestRequestTypeDef#

# StartEventDataStoreIngestionRequestRequestTypeDef definition

class StartEventDataStoreIngestionRequestRequestTypeDef(TypedDict):
    EventDataStore: str,

StartLoggingRequestRequestTypeDef#

# StartLoggingRequestRequestTypeDef definition

class StartLoggingRequestRequestTypeDef(TypedDict):
    Name: str,

StartQueryRequestRequestTypeDef#

# StartQueryRequestRequestTypeDef definition

class StartQueryRequestRequestTypeDef(TypedDict):
    QueryStatement: NotRequired[str],
    DeliveryS3Uri: NotRequired[str],
    QueryAlias: NotRequired[str],
    QueryParameters: NotRequired[Sequence[str]],
    EventDataStoreOwnerAccountId: NotRequired[str],

StopEventDataStoreIngestionRequestRequestTypeDef#

# StopEventDataStoreIngestionRequestRequestTypeDef definition

class StopEventDataStoreIngestionRequestRequestTypeDef(TypedDict):
    EventDataStore: str,

StopImportRequestRequestTypeDef#

# StopImportRequestRequestTypeDef definition

class StopImportRequestRequestTypeDef(TypedDict):
    ImportId: str,

StopLoggingRequestRequestTypeDef#

# StopLoggingRequestRequestTypeDef definition

class StopLoggingRequestRequestTypeDef(TypedDict):
    Name: str,

UpdateTrailRequestRequestTypeDef#

# UpdateTrailRequestRequestTypeDef definition

class UpdateTrailRequestRequestTypeDef(TypedDict):
    Name: str,
    S3BucketName: NotRequired[str],
    S3KeyPrefix: NotRequired[str],
    SnsTopicName: NotRequired[str],
    IncludeGlobalServiceEvents: NotRequired[bool],
    IsMultiRegionTrail: NotRequired[bool],
    EnableLogFileValidation: NotRequired[bool],
    CloudWatchLogsLogGroupArn: NotRequired[str],
    CloudWatchLogsRoleArn: NotRequired[str],
    KmsKeyId: NotRequired[str],
    IsOrganizationTrail: NotRequired[bool],

AddTagsRequestRequestTypeDef#

# AddTagsRequestRequestTypeDef definition

class AddTagsRequestRequestTypeDef(TypedDict):
    ResourceId: str,
    TagsList: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateTrailRequestRequestTypeDef#

# CreateTrailRequestRequestTypeDef definition

class CreateTrailRequestRequestTypeDef(TypedDict):
    Name: str,
    S3BucketName: str,
    S3KeyPrefix: NotRequired[str],
    SnsTopicName: NotRequired[str],
    IncludeGlobalServiceEvents: NotRequired[bool],
    IsMultiRegionTrail: NotRequired[bool],
    EnableLogFileValidation: NotRequired[bool],
    CloudWatchLogsLogGroupArn: NotRequired[str],
    CloudWatchLogsRoleArn: NotRequired[str],
    KmsKeyId: NotRequired[str],
    IsOrganizationTrail: NotRequired[bool],
    TagsList: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

RemoveTagsRequestRequestTypeDef#

# RemoveTagsRequestRequestTypeDef definition

class RemoveTagsRequestRequestTypeDef(TypedDict):
    ResourceId: str,
    TagsList: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

ResourceTagTypeDef#

# ResourceTagTypeDef definition

class ResourceTagTypeDef(TypedDict):
    ResourceId: NotRequired[str],
    TagsList: NotRequired[list[TagTypeDef]],  # (1)
  1. See TagTypeDef

AdvancedEventSelectorOutputTypeDef#

# AdvancedEventSelectorOutputTypeDef definition

class AdvancedEventSelectorOutputTypeDef(TypedDict):
    FieldSelectors: list[AdvancedFieldSelectorOutputTypeDef],  # (1)
    Name: NotRequired[str],
  1. See AdvancedFieldSelectorOutputTypeDef

CancelQueryResponseTypeDef#

# CancelQueryResponseTypeDef definition

class CancelQueryResponseTypeDef(TypedDict):
    QueryId: str,
    QueryStatus: QueryStatusType,  # (1)
    EventDataStoreOwnerAccountId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See QueryStatusType
  2. See ResponseMetadataTypeDef

CreateTrailResponseTypeDef#

# CreateTrailResponseTypeDef definition

class CreateTrailResponseTypeDef(TypedDict):
    Name: str,
    S3BucketName: str,
    S3KeyPrefix: str,
    SnsTopicName: str,
    SnsTopicARN: str,
    IncludeGlobalServiceEvents: bool,
    IsMultiRegionTrail: bool,
    TrailARN: str,
    LogFileValidationEnabled: bool,
    CloudWatchLogsLogGroupArn: str,
    CloudWatchLogsRoleArn: str,
    KmsKeyId: str,
    IsOrganizationTrail: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DisableFederationResponseTypeDef#

# DisableFederationResponseTypeDef definition

class DisableFederationResponseTypeDef(TypedDict):
    EventDataStoreArn: str,
    FederationStatus: FederationStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FederationStatusType
  2. See ResponseMetadataTypeDef

EnableFederationResponseTypeDef#

# EnableFederationResponseTypeDef definition

class EnableFederationResponseTypeDef(TypedDict):
    EventDataStoreArn: str,
    FederationStatus: FederationStatusType,  # (1)
    FederationRoleArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FederationStatusType
  2. See ResponseMetadataTypeDef

GenerateQueryResponseTypeDef#

# GenerateQueryResponseTypeDef definition

class GenerateQueryResponseTypeDef(TypedDict):
    QueryStatement: str,
    QueryAlias: str,
    EventDataStoreOwnerAccountId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetResourcePolicyResponseTypeDef#

# GetResourcePolicyResponseTypeDef definition

class GetResourcePolicyResponseTypeDef(TypedDict):
    ResourceArn: str,
    ResourcePolicy: str,
    DelegatedAdminResourcePolicy: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetTrailStatusResponseTypeDef#

# GetTrailStatusResponseTypeDef definition

class GetTrailStatusResponseTypeDef(TypedDict):
    IsLogging: bool,
    LatestDeliveryError: str,
    LatestNotificationError: str,
    LatestDeliveryTime: datetime,
    LatestNotificationTime: datetime,
    StartLoggingTime: datetime,
    StopLoggingTime: datetime,
    LatestCloudWatchLogsDeliveryError: str,
    LatestCloudWatchLogsDeliveryTime: datetime,
    LatestDigestDeliveryTime: datetime,
    LatestDigestDeliveryError: str,
    LatestDeliveryAttemptTime: str,
    LatestNotificationAttemptTime: str,
    LatestNotificationAttemptSucceeded: str,
    LatestDeliveryAttemptSucceeded: str,
    TimeLoggingStarted: str,
    TimeLoggingStopped: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListInsightsMetricDataResponseTypeDef#

# ListInsightsMetricDataResponseTypeDef definition

class ListInsightsMetricDataResponseTypeDef(TypedDict):
    EventSource: str,
    EventName: str,
    InsightType: InsightTypeType,  # (1)
    ErrorCode: str,
    Timestamps: list[datetime],
    Values: list[float],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See InsightTypeType
  2. See ResponseMetadataTypeDef

PutResourcePolicyResponseTypeDef#

# PutResourcePolicyResponseTypeDef definition

class PutResourcePolicyResponseTypeDef(TypedDict):
    ResourceArn: str,
    ResourcePolicy: str,
    DelegatedAdminResourcePolicy: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartDashboardRefreshResponseTypeDef#

# StartDashboardRefreshResponseTypeDef definition

class StartDashboardRefreshResponseTypeDef(TypedDict):
    RefreshId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartQueryResponseTypeDef#

# StartQueryResponseTypeDef definition

class StartQueryResponseTypeDef(TypedDict):
    QueryId: str,
    EventDataStoreOwnerAccountId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateTrailResponseTypeDef#

# UpdateTrailResponseTypeDef definition

class UpdateTrailResponseTypeDef(TypedDict):
    Name: str,
    S3BucketName: str,
    S3KeyPrefix: str,
    SnsTopicName: str,
    SnsTopicARN: str,
    IncludeGlobalServiceEvents: bool,
    IsMultiRegionTrail: bool,
    TrailARN: str,
    LogFileValidationEnabled: bool,
    CloudWatchLogsLogGroupArn: str,
    CloudWatchLogsRoleArn: str,
    KmsKeyId: str,
    IsOrganizationTrail: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListChannelsResponseTypeDef#

# ListChannelsResponseTypeDef definition

class ListChannelsResponseTypeDef(TypedDict):
    Channels: list[ChannelTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ChannelTypeDef
  2. See ResponseMetadataTypeDef

CreateChannelRequestRequestTypeDef#

# CreateChannelRequestRequestTypeDef definition

class CreateChannelRequestRequestTypeDef(TypedDict):
    Name: str,
    Source: str,
    Destinations: Sequence[DestinationTypeDef],  # (1)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See DestinationTypeDef
  2. See TagTypeDef

CreateChannelResponseTypeDef#

# CreateChannelResponseTypeDef definition

class CreateChannelResponseTypeDef(TypedDict):
    ChannelArn: str,
    Name: str,
    Source: str,
    Destinations: list[DestinationTypeDef],  # (1)
    Tags: list[TagTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See DestinationTypeDef
  2. See TagTypeDef
  3. See ResponseMetadataTypeDef

UpdateChannelRequestRequestTypeDef#

# UpdateChannelRequestRequestTypeDef definition

class UpdateChannelRequestRequestTypeDef(TypedDict):
    Channel: str,
    Destinations: NotRequired[Sequence[DestinationTypeDef]],  # (1)
    Name: NotRequired[str],
  1. See DestinationTypeDef

UpdateChannelResponseTypeDef#

# UpdateChannelResponseTypeDef definition

class UpdateChannelResponseTypeDef(TypedDict):
    ChannelArn: str,
    Name: str,
    Source: str,
    Destinations: list[DestinationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DestinationTypeDef
  2. See ResponseMetadataTypeDef

ListDashboardsResponseTypeDef#

# ListDashboardsResponseTypeDef definition

class ListDashboardsResponseTypeDef(TypedDict):
    Dashboards: list[DashboardDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See DashboardDetailTypeDef
  2. See ResponseMetadataTypeDef

EventSelectorOutputTypeDef#

# EventSelectorOutputTypeDef definition

class EventSelectorOutputTypeDef(TypedDict):
    ReadWriteType: NotRequired[ReadWriteTypeType],  # (1)
    IncludeManagementEvents: NotRequired[bool],
    DataResources: NotRequired[list[DataResourceOutputTypeDef]],  # (2)
    ExcludeManagementEventSources: NotRequired[list[str]],
  1. See ReadWriteTypeType
  2. See DataResourceOutputTypeDef

DescribeQueryResponseTypeDef#

# DescribeQueryResponseTypeDef definition

class DescribeQueryResponseTypeDef(TypedDict):
    QueryId: str,
    QueryString: str,
    QueryStatus: QueryStatusType,  # (1)
    QueryStatistics: QueryStatisticsForDescribeQueryTypeDef,  # (2)
    ErrorMessage: str,
    DeliveryS3Uri: str,
    DeliveryStatus: DeliveryStatusType,  # (3)
    Prompt: str,
    EventDataStoreOwnerAccountId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See QueryStatusType
  2. See QueryStatisticsForDescribeQueryTypeDef
  3. See DeliveryStatusType
  4. See ResponseMetadataTypeDef

DescribeTrailsResponseTypeDef#

# DescribeTrailsResponseTypeDef definition

class DescribeTrailsResponseTypeDef(TypedDict):
    trailList: list[TrailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrailTypeDef
  2. See ResponseMetadataTypeDef

GetTrailResponseTypeDef#

# GetTrailResponseTypeDef definition

class GetTrailResponseTypeDef(TypedDict):
    Trail: TrailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrailTypeDef
  2. See ResponseMetadataTypeDef

EventTypeDef#

# EventTypeDef definition

class EventTypeDef(TypedDict):
    EventId: NotRequired[str],
    EventName: NotRequired[str],
    ReadOnly: NotRequired[str],
    AccessKeyId: NotRequired[str],
    EventTime: NotRequired[datetime],
    EventSource: NotRequired[str],
    Username: NotRequired[str],
    Resources: NotRequired[list[ResourceTypeDef]],  # (1)
    CloudTrailEvent: NotRequired[str],
  1. See ResourceTypeDef

GetInsightSelectorsResponseTypeDef#

# GetInsightSelectorsResponseTypeDef definition

class GetInsightSelectorsResponseTypeDef(TypedDict):
    TrailARN: str,
    InsightSelectors: list[InsightSelectorTypeDef],  # (1)
    EventDataStoreArn: str,
    InsightsDestination: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InsightSelectorTypeDef
  2. See ResponseMetadataTypeDef

PutInsightSelectorsRequestRequestTypeDef#

# PutInsightSelectorsRequestRequestTypeDef definition

class PutInsightSelectorsRequestRequestTypeDef(TypedDict):
    InsightSelectors: Sequence[InsightSelectorTypeDef],  # (1)
    TrailName: NotRequired[str],
    EventDataStore: NotRequired[str],
    InsightsDestination: NotRequired[str],
  1. See InsightSelectorTypeDef

PutInsightSelectorsResponseTypeDef#

# PutInsightSelectorsResponseTypeDef definition

class PutInsightSelectorsResponseTypeDef(TypedDict):
    TrailARN: str,
    InsightSelectors: list[InsightSelectorTypeDef],  # (1)
    EventDataStoreArn: str,
    InsightsDestination: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InsightSelectorTypeDef
  2. See ResponseMetadataTypeDef

GetQueryResultsResponseTypeDef#

# GetQueryResultsResponseTypeDef definition

class GetQueryResultsResponseTypeDef(TypedDict):
    QueryStatus: QueryStatusType,  # (1)
    QueryStatistics: QueryStatisticsTypeDef,  # (2)
    QueryResultRows: list[list[dict[str, str]]],
    ErrorMessage: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
    NextToken: NotRequired[str],
  1. See QueryStatusType
  2. See QueryStatisticsTypeDef
  3. See ResponseMetadataTypeDef

ListImportFailuresResponseTypeDef#

# ListImportFailuresResponseTypeDef definition

class ListImportFailuresResponseTypeDef(TypedDict):
    Failures: list[ImportFailureListItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ImportFailureListItemTypeDef
  2. See ResponseMetadataTypeDef

ImportSourceTypeDef#

# ImportSourceTypeDef definition

class ImportSourceTypeDef(TypedDict):
    S3: S3ImportSourceTypeDef,  # (1)
  1. See S3ImportSourceTypeDef

ListImportsResponseTypeDef#

# ListImportsResponseTypeDef definition

class ListImportsResponseTypeDef(TypedDict):
    Imports: list[ImportsListItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ImportsListItemTypeDef
  2. See ResponseMetadataTypeDef

ListImportFailuresRequestPaginateTypeDef#

# ListImportFailuresRequestPaginateTypeDef definition

class ListImportFailuresRequestPaginateTypeDef(TypedDict):
    ImportId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListImportsRequestPaginateTypeDef#

# ListImportsRequestPaginateTypeDef definition

class ListImportsRequestPaginateTypeDef(TypedDict):
    Destination: NotRequired[str],
    ImportStatus: NotRequired[ImportStatusType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ImportStatusType
  2. See PaginatorConfigTypeDef

ListTagsRequestPaginateTypeDef#

# ListTagsRequestPaginateTypeDef definition

class ListTagsRequestPaginateTypeDef(TypedDict):
    ResourceIdList: Sequence[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTrailsRequestPaginateTypeDef#

# ListTrailsRequestPaginateTypeDef definition

class ListTrailsRequestPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListInsightsMetricDataRequestRequestTypeDef#

# ListInsightsMetricDataRequestRequestTypeDef definition

class ListInsightsMetricDataRequestRequestTypeDef(TypedDict):
    EventSource: str,
    EventName: str,
    InsightType: InsightTypeType,  # (1)
    ErrorCode: NotRequired[str],
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    Period: NotRequired[int],
    DataType: NotRequired[InsightsMetricDataTypeType],  # (2)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See InsightTypeType
  2. See InsightsMetricDataTypeType

ListPublicKeysRequestPaginateTypeDef#

# ListPublicKeysRequestPaginateTypeDef definition

class ListPublicKeysRequestPaginateTypeDef(TypedDict):
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPublicKeysRequestRequestTypeDef#

# ListPublicKeysRequestRequestTypeDef definition

class ListPublicKeysRequestRequestTypeDef(TypedDict):
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    NextToken: NotRequired[str],

ListQueriesRequestRequestTypeDef#

# ListQueriesRequestRequestTypeDef definition

class ListQueriesRequestRequestTypeDef(TypedDict):
    EventDataStore: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    QueryStatus: NotRequired[QueryStatusType],  # (1)
  1. See QueryStatusType

ListPublicKeysResponseTypeDef#

# ListPublicKeysResponseTypeDef definition

class ListPublicKeysResponseTypeDef(TypedDict):
    PublicKeyList: list[PublicKeyTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See PublicKeyTypeDef
  2. See ResponseMetadataTypeDef

ListQueriesResponseTypeDef#

# ListQueriesResponseTypeDef definition

class ListQueriesResponseTypeDef(TypedDict):
    Queries: list[QueryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See QueryTypeDef
  2. See ResponseMetadataTypeDef

ListTrailsResponseTypeDef#

# ListTrailsResponseTypeDef definition

class ListTrailsResponseTypeDef(TypedDict):
    Trails: list[TrailInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See TrailInfoTypeDef
  2. See ResponseMetadataTypeDef

LookupEventsRequestPaginateTypeDef#

# LookupEventsRequestPaginateTypeDef definition

class LookupEventsRequestPaginateTypeDef(TypedDict):
    LookupAttributes: NotRequired[Sequence[LookupAttributeTypeDef]],  # (1)
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    EventCategory: NotRequired[EventCategoryType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See LookupAttributeTypeDef
  2. See EventCategoryType
  3. See PaginatorConfigTypeDef

LookupEventsRequestRequestTypeDef#

# LookupEventsRequestRequestTypeDef definition

class LookupEventsRequestRequestTypeDef(TypedDict):
    LookupAttributes: NotRequired[Sequence[LookupAttributeTypeDef]],  # (1)
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    EventCategory: NotRequired[EventCategoryType],  # (2)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See LookupAttributeTypeDef
  2. See EventCategoryType

RefreshScheduleTypeDef#

# RefreshScheduleTypeDef definition

class RefreshScheduleTypeDef(TypedDict):
    Frequency: NotRequired[RefreshScheduleFrequencyTypeDef],  # (1)
    Status: NotRequired[RefreshScheduleStatusType],  # (2)
    TimeOfDay: NotRequired[str],
  1. See RefreshScheduleFrequencyTypeDef
  2. See RefreshScheduleStatusType

ListTagsResponseTypeDef#

# ListTagsResponseTypeDef definition

class ListTagsResponseTypeDef(TypedDict):
    ResourceTagList: list[ResourceTagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ResourceTagTypeDef
  2. See ResponseMetadataTypeDef

CreateEventDataStoreResponseTypeDef#

# CreateEventDataStoreResponseTypeDef definition

class CreateEventDataStoreResponseTypeDef(TypedDict):
    EventDataStoreArn: str,
    Name: str,
    Status: EventDataStoreStatusType,  # (1)
    AdvancedEventSelectors: list[AdvancedEventSelectorOutputTypeDef],  # (2)
    MultiRegionEnabled: bool,
    OrganizationEnabled: bool,
    RetentionPeriod: int,
    TerminationProtectionEnabled: bool,
    TagsList: list[TagTypeDef],  # (3)
    CreatedTimestamp: datetime,
    UpdatedTimestamp: datetime,
    KmsKeyId: str,
    BillingMode: BillingModeType,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See EventDataStoreStatusType
  2. See AdvancedEventSelectorOutputTypeDef
  3. See TagTypeDef
  4. See BillingModeType
  5. See ResponseMetadataTypeDef

EventDataStoreTypeDef#

# EventDataStoreTypeDef definition

class EventDataStoreTypeDef(TypedDict):
    EventDataStoreArn: NotRequired[str],
    Name: NotRequired[str],
    TerminationProtectionEnabled: NotRequired[bool],
    Status: NotRequired[EventDataStoreStatusType],  # (1)
    AdvancedEventSelectors: NotRequired[list[AdvancedEventSelectorOutputTypeDef]],  # (2)
    MultiRegionEnabled: NotRequired[bool],
    OrganizationEnabled: NotRequired[bool],
    RetentionPeriod: NotRequired[int],
    CreatedTimestamp: NotRequired[datetime],
    UpdatedTimestamp: NotRequired[datetime],
  1. See EventDataStoreStatusType
  2. See AdvancedEventSelectorOutputTypeDef

GetEventDataStoreResponseTypeDef#

# GetEventDataStoreResponseTypeDef definition

class GetEventDataStoreResponseTypeDef(TypedDict):
    EventDataStoreArn: str,
    Name: str,
    Status: EventDataStoreStatusType,  # (1)
    AdvancedEventSelectors: list[AdvancedEventSelectorOutputTypeDef],  # (2)
    MultiRegionEnabled: bool,
    OrganizationEnabled: bool,
    RetentionPeriod: int,
    TerminationProtectionEnabled: bool,
    CreatedTimestamp: datetime,
    UpdatedTimestamp: datetime,
    KmsKeyId: str,
    BillingMode: BillingModeType,  # (3)
    FederationStatus: FederationStatusType,  # (4)
    FederationRoleArn: str,
    PartitionKeys: list[PartitionKeyTypeDef],  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See EventDataStoreStatusType
  2. See AdvancedEventSelectorOutputTypeDef
  3. See BillingModeType
  4. See FederationStatusType
  5. See PartitionKeyTypeDef
  6. See ResponseMetadataTypeDef

RestoreEventDataStoreResponseTypeDef#

# RestoreEventDataStoreResponseTypeDef definition

class RestoreEventDataStoreResponseTypeDef(TypedDict):
    EventDataStoreArn: str,
    Name: str,
    Status: EventDataStoreStatusType,  # (1)
    AdvancedEventSelectors: list[AdvancedEventSelectorOutputTypeDef],  # (2)
    MultiRegionEnabled: bool,
    OrganizationEnabled: bool,
    RetentionPeriod: int,
    TerminationProtectionEnabled: bool,
    CreatedTimestamp: datetime,
    UpdatedTimestamp: datetime,
    KmsKeyId: str,
    BillingMode: BillingModeType,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See EventDataStoreStatusType
  2. See AdvancedEventSelectorOutputTypeDef
  3. See BillingModeType
  4. See ResponseMetadataTypeDef

SourceConfigTypeDef#

# SourceConfigTypeDef definition

class SourceConfigTypeDef(TypedDict):
    ApplyToAllRegions: NotRequired[bool],
    AdvancedEventSelectors: NotRequired[list[AdvancedEventSelectorOutputTypeDef]],  # (1)
  1. See AdvancedEventSelectorOutputTypeDef

UpdateEventDataStoreResponseTypeDef#

# UpdateEventDataStoreResponseTypeDef definition

class UpdateEventDataStoreResponseTypeDef(TypedDict):
    EventDataStoreArn: str,
    Name: str,
    Status: EventDataStoreStatusType,  # (1)
    AdvancedEventSelectors: list[AdvancedEventSelectorOutputTypeDef],  # (2)
    MultiRegionEnabled: bool,
    OrganizationEnabled: bool,
    RetentionPeriod: int,
    TerminationProtectionEnabled: bool,
    CreatedTimestamp: datetime,
    UpdatedTimestamp: datetime,
    KmsKeyId: str,
    BillingMode: BillingModeType,  # (3)
    FederationStatus: FederationStatusType,  # (4)
    FederationRoleArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See EventDataStoreStatusType
  2. See AdvancedEventSelectorOutputTypeDef
  3. See BillingModeType
  4. See FederationStatusType
  5. See ResponseMetadataTypeDef

AdvancedEventSelectorTypeDef#

# AdvancedEventSelectorTypeDef definition

class AdvancedEventSelectorTypeDef(TypedDict):
    FieldSelectors: Sequence[AdvancedFieldSelectorUnionTypeDef],  # (1)
    Name: NotRequired[str],
  1. See AdvancedFieldSelectorTypeDef AdvancedFieldSelectorOutputTypeDef

GetEventSelectorsResponseTypeDef#

# GetEventSelectorsResponseTypeDef definition

class GetEventSelectorsResponseTypeDef(TypedDict):
    TrailARN: str,
    EventSelectors: list[EventSelectorOutputTypeDef],  # (1)
    AdvancedEventSelectors: list[AdvancedEventSelectorOutputTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See EventSelectorOutputTypeDef
  2. See AdvancedEventSelectorOutputTypeDef
  3. See ResponseMetadataTypeDef

PutEventSelectorsResponseTypeDef#

# PutEventSelectorsResponseTypeDef definition

class PutEventSelectorsResponseTypeDef(TypedDict):
    TrailARN: str,
    EventSelectors: list[EventSelectorOutputTypeDef],  # (1)
    AdvancedEventSelectors: list[AdvancedEventSelectorOutputTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See EventSelectorOutputTypeDef
  2. See AdvancedEventSelectorOutputTypeDef
  3. See ResponseMetadataTypeDef

EventSelectorTypeDef#

# EventSelectorTypeDef definition

class EventSelectorTypeDef(TypedDict):
    ReadWriteType: NotRequired[ReadWriteTypeType],  # (1)
    IncludeManagementEvents: NotRequired[bool],
    DataResources: NotRequired[Sequence[DataResourceUnionTypeDef]],  # (2)
    ExcludeManagementEventSources: NotRequired[Sequence[str]],
  1. See ReadWriteTypeType
  2. See DataResourceTypeDef DataResourceOutputTypeDef

LookupEventsResponseTypeDef#

# LookupEventsResponseTypeDef definition

class LookupEventsResponseTypeDef(TypedDict):
    Events: list[EventTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See EventTypeDef
  2. See ResponseMetadataTypeDef

GetImportResponseTypeDef#

# GetImportResponseTypeDef definition

class GetImportResponseTypeDef(TypedDict):
    ImportId: str,
    Destinations: list[str],
    ImportSource: ImportSourceTypeDef,  # (1)
    StartEventTime: datetime,
    EndEventTime: datetime,
    ImportStatus: ImportStatusType,  # (2)
    CreatedTimestamp: datetime,
    UpdatedTimestamp: datetime,
    ImportStatistics: ImportStatisticsTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See ImportSourceTypeDef
  2. See ImportStatusType
  3. See ImportStatisticsTypeDef
  4. See ResponseMetadataTypeDef

StartImportRequestRequestTypeDef#

# StartImportRequestRequestTypeDef definition

class StartImportRequestRequestTypeDef(TypedDict):
    Destinations: NotRequired[Sequence[str]],
    ImportSource: NotRequired[ImportSourceTypeDef],  # (1)
    StartEventTime: NotRequired[TimestampTypeDef],
    EndEventTime: NotRequired[TimestampTypeDef],
    ImportId: NotRequired[str],
  1. See ImportSourceTypeDef

StartImportResponseTypeDef#

# StartImportResponseTypeDef definition

class StartImportResponseTypeDef(TypedDict):
    ImportId: str,
    Destinations: list[str],
    ImportSource: ImportSourceTypeDef,  # (1)
    StartEventTime: datetime,
    EndEventTime: datetime,
    ImportStatus: ImportStatusType,  # (2)
    CreatedTimestamp: datetime,
    UpdatedTimestamp: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ImportSourceTypeDef
  2. See ImportStatusType
  3. See ResponseMetadataTypeDef

StopImportResponseTypeDef#

# StopImportResponseTypeDef definition

class StopImportResponseTypeDef(TypedDict):
    ImportId: str,
    ImportSource: ImportSourceTypeDef,  # (1)
    Destinations: list[str],
    ImportStatus: ImportStatusType,  # (2)
    CreatedTimestamp: datetime,
    UpdatedTimestamp: datetime,
    StartEventTime: datetime,
    EndEventTime: datetime,
    ImportStatistics: ImportStatisticsTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See ImportSourceTypeDef
  2. See ImportStatusType
  3. See ImportStatisticsTypeDef
  4. See ResponseMetadataTypeDef

CreateDashboardRequestRequestTypeDef#

# CreateDashboardRequestRequestTypeDef definition

class CreateDashboardRequestRequestTypeDef(TypedDict):
    Name: str,
    RefreshSchedule: NotRequired[RefreshScheduleTypeDef],  # (1)
    TagsList: NotRequired[Sequence[TagTypeDef]],  # (2)
    TerminationProtectionEnabled: NotRequired[bool],
    Widgets: NotRequired[Sequence[RequestWidgetTypeDef]],  # (3)
  1. See RefreshScheduleTypeDef
  2. See TagTypeDef
  3. See RequestWidgetTypeDef

CreateDashboardResponseTypeDef#

# CreateDashboardResponseTypeDef definition

class CreateDashboardResponseTypeDef(TypedDict):
    DashboardArn: str,
    Name: str,
    Type: DashboardTypeType,  # (1)
    Widgets: list[WidgetTypeDef],  # (2)
    TagsList: list[TagTypeDef],  # (3)
    RefreshSchedule: RefreshScheduleTypeDef,  # (4)
    TerminationProtectionEnabled: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See DashboardTypeType
  2. See WidgetTypeDef
  3. See TagTypeDef
  4. See RefreshScheduleTypeDef
  5. See ResponseMetadataTypeDef

GetDashboardResponseTypeDef#

# GetDashboardResponseTypeDef definition

class GetDashboardResponseTypeDef(TypedDict):
    DashboardArn: str,
    Type: DashboardTypeType,  # (1)
    Status: DashboardStatusType,  # (2)
    Widgets: list[WidgetTypeDef],  # (3)
    RefreshSchedule: RefreshScheduleTypeDef,  # (4)
    CreatedTimestamp: datetime,
    UpdatedTimestamp: datetime,
    LastRefreshId: str,
    LastRefreshFailureReason: str,
    TerminationProtectionEnabled: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See DashboardTypeType
  2. See DashboardStatusType
  3. See WidgetTypeDef
  4. See RefreshScheduleTypeDef
  5. See ResponseMetadataTypeDef

UpdateDashboardRequestRequestTypeDef#

# UpdateDashboardRequestRequestTypeDef definition

class UpdateDashboardRequestRequestTypeDef(TypedDict):
    DashboardId: str,
    Widgets: NotRequired[Sequence[RequestWidgetTypeDef]],  # (1)
    RefreshSchedule: NotRequired[RefreshScheduleTypeDef],  # (2)
    TerminationProtectionEnabled: NotRequired[bool],
  1. See RequestWidgetTypeDef
  2. See RefreshScheduleTypeDef

UpdateDashboardResponseTypeDef#

# UpdateDashboardResponseTypeDef definition

class UpdateDashboardResponseTypeDef(TypedDict):
    DashboardArn: str,
    Name: str,
    Type: DashboardTypeType,  # (1)
    Widgets: list[WidgetTypeDef],  # (2)
    RefreshSchedule: RefreshScheduleTypeDef,  # (3)
    TerminationProtectionEnabled: bool,
    CreatedTimestamp: datetime,
    UpdatedTimestamp: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See DashboardTypeType
  2. See WidgetTypeDef
  3. See RefreshScheduleTypeDef
  4. See ResponseMetadataTypeDef

ListEventDataStoresResponseTypeDef#

# ListEventDataStoresResponseTypeDef definition

class ListEventDataStoresResponseTypeDef(TypedDict):
    EventDataStores: list[EventDataStoreTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See EventDataStoreTypeDef
  2. See ResponseMetadataTypeDef

GetChannelResponseTypeDef#

# GetChannelResponseTypeDef definition

class GetChannelResponseTypeDef(TypedDict):
    ChannelArn: str,
    Name: str,
    Source: str,
    SourceConfig: SourceConfigTypeDef,  # (1)
    Destinations: list[DestinationTypeDef],  # (2)
    IngestionStatus: IngestionStatusTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See SourceConfigTypeDef
  2. See DestinationTypeDef
  3. See IngestionStatusTypeDef
  4. See ResponseMetadataTypeDef

UpdateEventDataStoreRequestRequestTypeDef#

# UpdateEventDataStoreRequestRequestTypeDef definition

class UpdateEventDataStoreRequestRequestTypeDef(TypedDict):
    EventDataStore: str,
    Name: NotRequired[str],
    AdvancedEventSelectors: NotRequired[Sequence[AdvancedEventSelectorTypeDef]],  # (1)
    MultiRegionEnabled: NotRequired[bool],
    OrganizationEnabled: NotRequired[bool],
    RetentionPeriod: NotRequired[int],
    TerminationProtectionEnabled: NotRequired[bool],
    KmsKeyId: NotRequired[str],
    BillingMode: NotRequired[BillingModeType],  # (2)
  1. See AdvancedEventSelectorTypeDef
  2. See BillingModeType

CreateEventDataStoreRequestRequestTypeDef#

# CreateEventDataStoreRequestRequestTypeDef definition

class CreateEventDataStoreRequestRequestTypeDef(TypedDict):
    Name: str,
    AdvancedEventSelectors: NotRequired[Sequence[AdvancedEventSelectorUnionTypeDef]],  # (1)
    MultiRegionEnabled: NotRequired[bool],
    OrganizationEnabled: NotRequired[bool],
    RetentionPeriod: NotRequired[int],
    TerminationProtectionEnabled: NotRequired[bool],
    TagsList: NotRequired[Sequence[TagTypeDef]],  # (2)
    KmsKeyId: NotRequired[str],
    StartIngestion: NotRequired[bool],
    BillingMode: NotRequired[BillingModeType],  # (3)
  1. See AdvancedEventSelectorTypeDef AdvancedEventSelectorOutputTypeDef
  2. See TagTypeDef
  3. See BillingModeType

PutEventSelectorsRequestRequestTypeDef#

# PutEventSelectorsRequestRequestTypeDef definition

class PutEventSelectorsRequestRequestTypeDef(TypedDict):
    TrailName: str,
    EventSelectors: NotRequired[Sequence[EventSelectorUnionTypeDef]],  # (1)
    AdvancedEventSelectors: NotRequired[Sequence[AdvancedEventSelectorTypeDef]],  # (2)
  1. See EventSelectorTypeDef EventSelectorOutputTypeDef
  2. See AdvancedEventSelectorTypeDef