Skip to content

Type definitions#

Index > UserNotifications > Type definitions

Auto-generated documentation for UserNotifications type annotations stubs module mypy-boto3-notifications.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

SummarizationDimensionDetailTypeDef#

# SummarizationDimensionDetailTypeDef definition

class SummarizationDimensionDetailTypeDef(TypedDict):
    name: str,
    value: str,

AggregationKeyTypeDef#

# AggregationKeyTypeDef definition

class AggregationKeyTypeDef(TypedDict):
    name: str,
    value: str,

SummarizationDimensionOverviewTypeDef#

# SummarizationDimensionOverviewTypeDef definition

class SummarizationDimensionOverviewTypeDef(TypedDict):
    name: str,
    count: int,
    sampleValues: NotRequired[List[str]],

AssociateChannelRequestTypeDef#

# AssociateChannelRequestTypeDef definition

class AssociateChannelRequestTypeDef(TypedDict):
    arn: str,
    notificationConfigurationArn: str,

AssociateManagedNotificationAccountContactRequestTypeDef#

# AssociateManagedNotificationAccountContactRequestTypeDef definition

class AssociateManagedNotificationAccountContactRequestTypeDef(TypedDict):
    contactIdentifier: AccountContactTypeType,  # (1)
    managedNotificationConfigurationArn: str,
  1. See AccountContactTypeType

AssociateManagedNotificationAdditionalChannelRequestTypeDef#

# AssociateManagedNotificationAdditionalChannelRequestTypeDef definition

class AssociateManagedNotificationAdditionalChannelRequestTypeDef(TypedDict):
    channelArn: str,
    managedNotificationConfigurationArn: str,

CreateEventRuleRequestTypeDef#

# CreateEventRuleRequestTypeDef definition

class CreateEventRuleRequestTypeDef(TypedDict):
    notificationConfigurationArn: str,
    source: str,
    eventType: str,
    regions: Sequence[str],
    eventPattern: NotRequired[str],

EventRuleStatusSummaryTypeDef#

# EventRuleStatusSummaryTypeDef definition

class EventRuleStatusSummaryTypeDef(TypedDict):
    status: EventRuleStatusType,  # (1)
    reason: str,
  1. See EventRuleStatusType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

CreateNotificationConfigurationRequestTypeDef#

# CreateNotificationConfigurationRequestTypeDef definition

class CreateNotificationConfigurationRequestTypeDef(TypedDict):
    name: str,
    description: str,
    aggregationDuration: NotRequired[AggregationDurationType],  # (1)
    tags: NotRequired[Mapping[str, str]],
  1. See AggregationDurationType

DeleteEventRuleRequestTypeDef#

# DeleteEventRuleRequestTypeDef definition

class DeleteEventRuleRequestTypeDef(TypedDict):
    arn: str,

DeleteNotificationConfigurationRequestTypeDef#

# DeleteNotificationConfigurationRequestTypeDef definition

class DeleteNotificationConfigurationRequestTypeDef(TypedDict):
    arn: str,

DeregisterNotificationHubRequestTypeDef#

# DeregisterNotificationHubRequestTypeDef definition

class DeregisterNotificationHubRequestTypeDef(TypedDict):
    notificationHubRegion: str,

NotificationHubStatusSummaryTypeDef#

# NotificationHubStatusSummaryTypeDef definition

class NotificationHubStatusSummaryTypeDef(TypedDict):
    status: NotificationHubStatusType,  # (1)
    reason: str,
  1. See NotificationHubStatusType

DimensionTypeDef#

# DimensionTypeDef definition

class DimensionTypeDef(TypedDict):
    name: str,
    value: str,

DisassociateChannelRequestTypeDef#

# DisassociateChannelRequestTypeDef definition

class DisassociateChannelRequestTypeDef(TypedDict):
    arn: str,
    notificationConfigurationArn: str,

DisassociateManagedNotificationAccountContactRequestTypeDef#

# DisassociateManagedNotificationAccountContactRequestTypeDef definition

class DisassociateManagedNotificationAccountContactRequestTypeDef(TypedDict):
    contactIdentifier: AccountContactTypeType,  # (1)
    managedNotificationConfigurationArn: str,
  1. See AccountContactTypeType

DisassociateManagedNotificationAdditionalChannelRequestTypeDef#

# DisassociateManagedNotificationAdditionalChannelRequestTypeDef definition

class DisassociateManagedNotificationAdditionalChannelRequestTypeDef(TypedDict):
    channelArn: str,
    managedNotificationConfigurationArn: str,

GetEventRuleRequestTypeDef#

# GetEventRuleRequestTypeDef definition

class GetEventRuleRequestTypeDef(TypedDict):
    arn: str,

GetManagedNotificationChildEventRequestTypeDef#

# GetManagedNotificationChildEventRequestTypeDef definition

class GetManagedNotificationChildEventRequestTypeDef(TypedDict):
    arn: str,
    locale: NotRequired[LocaleCodeType],  # (1)
  1. See LocaleCodeType

GetManagedNotificationConfigurationRequestTypeDef#

# GetManagedNotificationConfigurationRequestTypeDef definition

class GetManagedNotificationConfigurationRequestTypeDef(TypedDict):
    arn: str,

GetManagedNotificationEventRequestTypeDef#

# GetManagedNotificationEventRequestTypeDef definition

class GetManagedNotificationEventRequestTypeDef(TypedDict):
    arn: str,
    locale: NotRequired[LocaleCodeType],  # (1)
  1. See LocaleCodeType

GetNotificationConfigurationRequestTypeDef#

# GetNotificationConfigurationRequestTypeDef definition

class GetNotificationConfigurationRequestTypeDef(TypedDict):
    arn: str,

GetNotificationEventRequestTypeDef#

# GetNotificationEventRequestTypeDef definition

class GetNotificationEventRequestTypeDef(TypedDict):
    arn: str,
    locale: NotRequired[LocaleCodeType],  # (1)
  1. See LocaleCodeType

NotificationsAccessForOrganizationTypeDef#

# NotificationsAccessForOrganizationTypeDef definition

class NotificationsAccessForOrganizationTypeDef(TypedDict):
    accessStatus: AccessStatusType,  # (1)
  1. See AccessStatusType

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListChannelsRequestTypeDef#

# ListChannelsRequestTypeDef definition

class ListChannelsRequestTypeDef(TypedDict):
    notificationConfigurationArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListEventRulesRequestTypeDef#

# ListEventRulesRequestTypeDef definition

class ListEventRulesRequestTypeDef(TypedDict):
    notificationConfigurationArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListManagedNotificationChannelAssociationsRequestTypeDef#

# ListManagedNotificationChannelAssociationsRequestTypeDef definition

class ListManagedNotificationChannelAssociationsRequestTypeDef(TypedDict):
    managedNotificationConfigurationArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ManagedNotificationChannelAssociationSummaryTypeDef#

# ManagedNotificationChannelAssociationSummaryTypeDef definition

class ManagedNotificationChannelAssociationSummaryTypeDef(TypedDict):
    channelIdentifier: str,
    channelType: ChannelTypeType,  # (1)
    overrideOption: NotRequired[ChannelAssociationOverrideOptionType],  # (2)
  1. See ChannelTypeType
  2. See ChannelAssociationOverrideOptionType

ListManagedNotificationConfigurationsRequestTypeDef#

# ListManagedNotificationConfigurationsRequestTypeDef definition

class ListManagedNotificationConfigurationsRequestTypeDef(TypedDict):
    channelIdentifier: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ManagedNotificationConfigurationStructureTypeDef#

# ManagedNotificationConfigurationStructureTypeDef definition

class ManagedNotificationConfigurationStructureTypeDef(TypedDict):
    arn: str,
    name: str,
    description: str,

ListNotificationConfigurationsRequestTypeDef#

# ListNotificationConfigurationsRequestTypeDef definition

class ListNotificationConfigurationsRequestTypeDef(TypedDict):
    eventRuleSource: NotRequired[str],
    channelArn: NotRequired[str],
    status: NotRequired[NotificationConfigurationStatusType],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See NotificationConfigurationStatusType

NotificationConfigurationStructureTypeDef#

# NotificationConfigurationStructureTypeDef definition

class NotificationConfigurationStructureTypeDef(TypedDict):
    arn: str,
    name: str,
    description: str,
    status: NotificationConfigurationStatusType,  # (1)
    creationTime: datetime,
    aggregationDuration: NotRequired[AggregationDurationType],  # (2)
  1. See NotificationConfigurationStatusType
  2. See AggregationDurationType

ListNotificationHubsRequestTypeDef#

# ListNotificationHubsRequestTypeDef definition

class ListNotificationHubsRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListTagsForResourceRequestTypeDef#

# ListTagsForResourceRequestTypeDef definition

class ListTagsForResourceRequestTypeDef(TypedDict):
    arn: str,

ManagedSourceEventMetadataSummaryTypeDef#

# ManagedSourceEventMetadataSummaryTypeDef definition

class ManagedSourceEventMetadataSummaryTypeDef(TypedDict):
    source: str,
    eventType: str,
    eventOriginRegion: NotRequired[str],

MessageComponentsSummaryTypeDef#

# MessageComponentsSummaryTypeDef definition

class MessageComponentsSummaryTypeDef(TypedDict):
    headline: str,

TextPartValueTypeDef#

# TextPartValueTypeDef definition

class TextPartValueTypeDef(TypedDict):
    type: TextPartTypeType,  # (1)
    displayText: NotRequired[str],
    textByLocale: NotRequired[Dict[LocaleCodeType, str]],  # (2)
    url: NotRequired[str],
  1. See TextPartTypeType
  2. See LocaleCodeType

MediaElementTypeDef#

# MediaElementTypeDef definition

class MediaElementTypeDef(TypedDict):
    mediaId: str,
    type: MediaElementTypeType,  # (1)
    url: str,
    caption: str,
  1. See MediaElementTypeType

SourceEventMetadataSummaryTypeDef#

# SourceEventMetadataSummaryTypeDef definition

class SourceEventMetadataSummaryTypeDef(TypedDict):
    source: str,
    eventType: str,
    eventOriginRegion: NotRequired[str],

RegisterNotificationHubRequestTypeDef#

# RegisterNotificationHubRequestTypeDef definition

class RegisterNotificationHubRequestTypeDef(TypedDict):
    notificationHubRegion: str,

ResourceTypeDef#

# ResourceTypeDef definition

class ResourceTypeDef(TypedDict):
    id: NotRequired[str],
    arn: NotRequired[str],
    detailUrl: NotRequired[str],
    tags: NotRequired[List[str]],

TagResourceRequestTypeDef#

# TagResourceRequestTypeDef definition

class TagResourceRequestTypeDef(TypedDict):
    arn: str,
    tags: Mapping[str, str],

UntagResourceRequestTypeDef#

# UntagResourceRequestTypeDef definition

class UntagResourceRequestTypeDef(TypedDict):
    arn: str,
    tagKeys: Sequence[str],

UpdateEventRuleRequestTypeDef#

# UpdateEventRuleRequestTypeDef definition

class UpdateEventRuleRequestTypeDef(TypedDict):
    arn: str,
    eventPattern: NotRequired[str],
    regions: NotRequired[Sequence[str]],

UpdateNotificationConfigurationRequestTypeDef#

# UpdateNotificationConfigurationRequestTypeDef definition

class UpdateNotificationConfigurationRequestTypeDef(TypedDict):
    arn: str,
    name: NotRequired[str],
    description: NotRequired[str],
    aggregationDuration: NotRequired[AggregationDurationType],  # (1)
  1. See AggregationDurationType

AggregationDetailTypeDef#

# AggregationDetailTypeDef definition

class AggregationDetailTypeDef(TypedDict):
    summarizationDimensions: NotRequired[List[SummarizationDimensionDetailTypeDef]],  # (1)
  1. See SummarizationDimensionDetailTypeDef

AggregationSummaryTypeDef#

# AggregationSummaryTypeDef definition

class AggregationSummaryTypeDef(TypedDict):
    eventCount: int,
    aggregatedBy: List[AggregationKeyTypeDef],  # (1)
    aggregatedAccounts: SummarizationDimensionOverviewTypeDef,  # (2)
    aggregatedRegions: SummarizationDimensionOverviewTypeDef,  # (2)
    aggregatedOrganizationalUnits: NotRequired[SummarizationDimensionOverviewTypeDef],  # (2)
    additionalSummarizationDimensions: NotRequired[List[SummarizationDimensionOverviewTypeDef]],  # (5)
  1. See AggregationKeyTypeDef
  2. See SummarizationDimensionOverviewTypeDef
  3. See SummarizationDimensionOverviewTypeDef
  4. See SummarizationDimensionOverviewTypeDef
  5. See SummarizationDimensionOverviewTypeDef

EventRuleStructureTypeDef#

# EventRuleStructureTypeDef definition

class EventRuleStructureTypeDef(TypedDict):
    arn: str,
    notificationConfigurationArn: str,
    creationTime: datetime,
    source: str,
    eventType: str,
    eventPattern: str,
    regions: List[str],
    managedRules: List[str],
    statusSummaryByRegion: Dict[str, EventRuleStatusSummaryTypeDef],  # (1)
  1. See EventRuleStatusSummaryTypeDef

CreateEventRuleResponseTypeDef#

# CreateEventRuleResponseTypeDef definition

class CreateEventRuleResponseTypeDef(TypedDict):
    arn: str,
    notificationConfigurationArn: str,
    statusSummaryByRegion: Dict[str, EventRuleStatusSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EventRuleStatusSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateNotificationConfigurationResponseTypeDef#

# CreateNotificationConfigurationResponseTypeDef definition

class CreateNotificationConfigurationResponseTypeDef(TypedDict):
    arn: str,
    status: NotificationConfigurationStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotificationConfigurationStatusType
  2. See ResponseMetadataTypeDef

GetEventRuleResponseTypeDef#

# GetEventRuleResponseTypeDef definition

class GetEventRuleResponseTypeDef(TypedDict):
    arn: str,
    notificationConfigurationArn: str,
    creationTime: datetime,
    source: str,
    eventType: str,
    eventPattern: str,
    regions: List[str],
    managedRules: List[str],
    statusSummaryByRegion: Dict[str, EventRuleStatusSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EventRuleStatusSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetManagedNotificationConfigurationResponseTypeDef#

# GetManagedNotificationConfigurationResponseTypeDef definition

class GetManagedNotificationConfigurationResponseTypeDef(TypedDict):
    arn: str,
    name: str,
    description: str,
    category: str,
    subCategory: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetNotificationConfigurationResponseTypeDef#

# GetNotificationConfigurationResponseTypeDef definition

class GetNotificationConfigurationResponseTypeDef(TypedDict):
    arn: str,
    name: str,
    description: str,
    status: NotificationConfigurationStatusType,  # (1)
    creationTime: datetime,
    aggregationDuration: AggregationDurationType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See NotificationConfigurationStatusType
  2. See AggregationDurationType
  3. See ResponseMetadataTypeDef

ListChannelsResponseTypeDef#

# ListChannelsResponseTypeDef definition

class ListChannelsResponseTypeDef(TypedDict):
    channels: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateEventRuleResponseTypeDef#

# UpdateEventRuleResponseTypeDef definition

class UpdateEventRuleResponseTypeDef(TypedDict):
    arn: str,
    notificationConfigurationArn: str,
    statusSummaryByRegion: Dict[str, EventRuleStatusSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EventRuleStatusSummaryTypeDef
  2. See ResponseMetadataTypeDef

UpdateNotificationConfigurationResponseTypeDef#

# UpdateNotificationConfigurationResponseTypeDef definition

class UpdateNotificationConfigurationResponseTypeDef(TypedDict):
    arn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeregisterNotificationHubResponseTypeDef#

# DeregisterNotificationHubResponseTypeDef definition

class DeregisterNotificationHubResponseTypeDef(TypedDict):
    notificationHubRegion: str,
    statusSummary: NotificationHubStatusSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotificationHubStatusSummaryTypeDef
  2. See ResponseMetadataTypeDef

NotificationHubOverviewTypeDef#

# NotificationHubOverviewTypeDef definition

class NotificationHubOverviewTypeDef(TypedDict):
    notificationHubRegion: str,
    statusSummary: NotificationHubStatusSummaryTypeDef,  # (1)
    creationTime: datetime,
    lastActivationTime: NotRequired[datetime],
  1. See NotificationHubStatusSummaryTypeDef

RegisterNotificationHubResponseTypeDef#

# RegisterNotificationHubResponseTypeDef definition

class RegisterNotificationHubResponseTypeDef(TypedDict):
    notificationHubRegion: str,
    statusSummary: NotificationHubStatusSummaryTypeDef,  # (1)
    creationTime: datetime,
    lastActivationTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotificationHubStatusSummaryTypeDef
  2. See ResponseMetadataTypeDef

MessageComponentsTypeDef#

# MessageComponentsTypeDef definition

class MessageComponentsTypeDef(TypedDict):
    headline: NotRequired[str],
    paragraphSummary: NotRequired[str],
    completeDescription: NotRequired[str],
    dimensions: NotRequired[List[DimensionTypeDef]],  # (1)
  1. See DimensionTypeDef

GetNotificationsAccessForOrganizationResponseTypeDef#

# GetNotificationsAccessForOrganizationResponseTypeDef definition

class GetNotificationsAccessForOrganizationResponseTypeDef(TypedDict):
    notificationsAccessForOrganization: NotificationsAccessForOrganizationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotificationsAccessForOrganizationTypeDef
  2. See ResponseMetadataTypeDef

ListChannelsRequestPaginateTypeDef#

# ListChannelsRequestPaginateTypeDef definition

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

ListEventRulesRequestPaginateTypeDef#

# ListEventRulesRequestPaginateTypeDef definition

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

ListManagedNotificationChannelAssociationsRequestPaginateTypeDef#

# ListManagedNotificationChannelAssociationsRequestPaginateTypeDef definition

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

ListManagedNotificationConfigurationsRequestPaginateTypeDef#

# ListManagedNotificationConfigurationsRequestPaginateTypeDef definition

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

ListNotificationConfigurationsRequestPaginateTypeDef#

# ListNotificationConfigurationsRequestPaginateTypeDef definition

class ListNotificationConfigurationsRequestPaginateTypeDef(TypedDict):
    eventRuleSource: NotRequired[str],
    channelArn: NotRequired[str],
    status: NotRequired[NotificationConfigurationStatusType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See NotificationConfigurationStatusType
  2. See PaginatorConfigTypeDef

ListNotificationHubsRequestPaginateTypeDef#

# ListNotificationHubsRequestPaginateTypeDef definition

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

ListManagedNotificationChannelAssociationsResponseTypeDef#

# ListManagedNotificationChannelAssociationsResponseTypeDef definition

class ListManagedNotificationChannelAssociationsResponseTypeDef(TypedDict):
    channelAssociations: List[ManagedNotificationChannelAssociationSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ManagedNotificationChannelAssociationSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListManagedNotificationChildEventsRequestPaginateTypeDef#

# ListManagedNotificationChildEventsRequestPaginateTypeDef definition

class ListManagedNotificationChildEventsRequestPaginateTypeDef(TypedDict):
    aggregateManagedNotificationEventArn: str,
    startTime: NotRequired[TimestampTypeDef],
    endTime: NotRequired[TimestampTypeDef],
    locale: NotRequired[LocaleCodeType],  # (1)
    relatedAccount: NotRequired[str],
    organizationalUnitId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See LocaleCodeType
  2. See PaginatorConfigTypeDef

ListManagedNotificationChildEventsRequestTypeDef#

# ListManagedNotificationChildEventsRequestTypeDef definition

class ListManagedNotificationChildEventsRequestTypeDef(TypedDict):
    aggregateManagedNotificationEventArn: str,
    startTime: NotRequired[TimestampTypeDef],
    endTime: NotRequired[TimestampTypeDef],
    locale: NotRequired[LocaleCodeType],  # (1)
    maxResults: NotRequired[int],
    relatedAccount: NotRequired[str],
    organizationalUnitId: NotRequired[str],
    nextToken: NotRequired[str],
  1. See LocaleCodeType

ListManagedNotificationEventsRequestPaginateTypeDef#

# ListManagedNotificationEventsRequestPaginateTypeDef definition

class ListManagedNotificationEventsRequestPaginateTypeDef(TypedDict):
    startTime: NotRequired[TimestampTypeDef],
    endTime: NotRequired[TimestampTypeDef],
    locale: NotRequired[LocaleCodeType],  # (1)
    source: NotRequired[str],
    organizationalUnitId: NotRequired[str],
    relatedAccount: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See LocaleCodeType
  2. See PaginatorConfigTypeDef

ListManagedNotificationEventsRequestTypeDef#

# ListManagedNotificationEventsRequestTypeDef definition

class ListManagedNotificationEventsRequestTypeDef(TypedDict):
    startTime: NotRequired[TimestampTypeDef],
    endTime: NotRequired[TimestampTypeDef],
    locale: NotRequired[LocaleCodeType],  # (1)
    source: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    organizationalUnitId: NotRequired[str],
    relatedAccount: NotRequired[str],
  1. See LocaleCodeType

ListNotificationEventsRequestPaginateTypeDef#

# ListNotificationEventsRequestPaginateTypeDef definition

class ListNotificationEventsRequestPaginateTypeDef(TypedDict):
    startTime: NotRequired[TimestampTypeDef],
    endTime: NotRequired[TimestampTypeDef],
    locale: NotRequired[LocaleCodeType],  # (1)
    source: NotRequired[str],
    includeChildEvents: NotRequired[bool],
    aggregateNotificationEventArn: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See LocaleCodeType
  2. See PaginatorConfigTypeDef

ListNotificationEventsRequestTypeDef#

# ListNotificationEventsRequestTypeDef definition

class ListNotificationEventsRequestTypeDef(TypedDict):
    startTime: NotRequired[TimestampTypeDef],
    endTime: NotRequired[TimestampTypeDef],
    locale: NotRequired[LocaleCodeType],  # (1)
    source: NotRequired[str],
    includeChildEvents: NotRequired[bool],
    aggregateNotificationEventArn: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See LocaleCodeType

ListManagedNotificationConfigurationsResponseTypeDef#

# ListManagedNotificationConfigurationsResponseTypeDef definition

class ListManagedNotificationConfigurationsResponseTypeDef(TypedDict):
    managedNotificationConfigurations: List[ManagedNotificationConfigurationStructureTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ManagedNotificationConfigurationStructureTypeDef
  2. See ResponseMetadataTypeDef

ListNotificationConfigurationsResponseTypeDef#

# ListNotificationConfigurationsResponseTypeDef definition

class ListNotificationConfigurationsResponseTypeDef(TypedDict):
    notificationConfigurations: List[NotificationConfigurationStructureTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See NotificationConfigurationStructureTypeDef
  2. See ResponseMetadataTypeDef

ManagedNotificationEventSummaryTypeDef#

# ManagedNotificationEventSummaryTypeDef definition

class ManagedNotificationEventSummaryTypeDef(TypedDict):
    schemaVersion: SchemaVersionType,  # (1)
    sourceEventMetadata: ManagedSourceEventMetadataSummaryTypeDef,  # (2)
    messageComponents: MessageComponentsSummaryTypeDef,  # (3)
    eventStatus: EventStatusType,  # (4)
    notificationType: NotificationTypeType,  # (5)
  1. See SchemaVersionType
  2. See ManagedSourceEventMetadataSummaryTypeDef
  3. See MessageComponentsSummaryTypeDef
  4. See EventStatusType
  5. See NotificationTypeType

NotificationEventSummaryTypeDef#

# NotificationEventSummaryTypeDef definition

class NotificationEventSummaryTypeDef(TypedDict):
    schemaVersion: SchemaVersionType,  # (1)
    sourceEventMetadata: SourceEventMetadataSummaryTypeDef,  # (2)
    messageComponents: MessageComponentsSummaryTypeDef,  # (3)
    eventStatus: EventStatusType,  # (4)
    notificationType: NotificationTypeType,  # (5)
  1. See SchemaVersionType
  2. See SourceEventMetadataSummaryTypeDef
  3. See MessageComponentsSummaryTypeDef
  4. See EventStatusType
  5. See NotificationTypeType

SourceEventMetadataTypeDef#

# SourceEventMetadataTypeDef definition

class SourceEventMetadataTypeDef(TypedDict):
    eventTypeVersion: str,
    sourceEventId: str,
    relatedAccount: str,
    source: str,
    eventOccurrenceTime: datetime,
    eventType: str,
    relatedResources: List[ResourceTypeDef],  # (1)
    eventOriginRegion: NotRequired[str],
  1. See ResourceTypeDef

ManagedNotificationChildEventSummaryTypeDef#

# ManagedNotificationChildEventSummaryTypeDef definition

class ManagedNotificationChildEventSummaryTypeDef(TypedDict):
    schemaVersion: SchemaVersionType,  # (1)
    sourceEventMetadata: ManagedSourceEventMetadataSummaryTypeDef,  # (2)
    messageComponents: MessageComponentsSummaryTypeDef,  # (3)
    aggregationDetail: AggregationDetailTypeDef,  # (4)
    eventStatus: EventStatusType,  # (5)
    notificationType: NotificationTypeType,  # (6)
  1. See SchemaVersionType
  2. See ManagedSourceEventMetadataSummaryTypeDef
  3. See MessageComponentsSummaryTypeDef
  4. See AggregationDetailTypeDef
  5. See EventStatusType
  6. See NotificationTypeType

ListEventRulesResponseTypeDef#

# ListEventRulesResponseTypeDef definition

class ListEventRulesResponseTypeDef(TypedDict):
    eventRules: List[EventRuleStructureTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See EventRuleStructureTypeDef
  2. See ResponseMetadataTypeDef

ListNotificationHubsResponseTypeDef#

# ListNotificationHubsResponseTypeDef definition

class ListNotificationHubsResponseTypeDef(TypedDict):
    notificationHubs: List[NotificationHubOverviewTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See NotificationHubOverviewTypeDef
  2. See ResponseMetadataTypeDef

ManagedNotificationChildEventTypeDef#

# ManagedNotificationChildEventTypeDef definition

class ManagedNotificationChildEventTypeDef(TypedDict):
    schemaVersion: SchemaVersionType,  # (1)
    id: str,
    messageComponents: MessageComponentsTypeDef,  # (2)
    notificationType: NotificationTypeType,  # (3)
    aggregateManagedNotificationEventArn: str,
    textParts: Dict[str, TextPartValueTypeDef],  # (5)
    sourceEventDetailUrl: NotRequired[str],
    sourceEventDetailUrlDisplayText: NotRequired[str],
    eventStatus: NotRequired[EventStatusType],  # (4)
    startTime: NotRequired[datetime],
    endTime: NotRequired[datetime],
    organizationalUnitId: NotRequired[str],
    aggregationDetail: NotRequired[AggregationDetailTypeDef],  # (6)
  1. See SchemaVersionType
  2. See MessageComponentsTypeDef
  3. See NotificationTypeType
  4. See EventStatusType
  5. See TextPartValueTypeDef
  6. See AggregationDetailTypeDef

ManagedNotificationEventTypeDef#

# ManagedNotificationEventTypeDef definition

class ManagedNotificationEventTypeDef(TypedDict):
    schemaVersion: SchemaVersionType,  # (1)
    id: str,
    messageComponents: MessageComponentsTypeDef,  # (2)
    notificationType: NotificationTypeType,  # (3)
    textParts: Dict[str, TextPartValueTypeDef],  # (7)
    sourceEventDetailUrl: NotRequired[str],
    sourceEventDetailUrlDisplayText: NotRequired[str],
    eventStatus: NotRequired[EventStatusType],  # (4)
    aggregationEventType: NotRequired[AggregationEventTypeType],  # (5)
    aggregationSummary: NotRequired[AggregationSummaryTypeDef],  # (6)
    startTime: NotRequired[datetime],
    endTime: NotRequired[datetime],
    organizationalUnitId: NotRequired[str],
  1. See SchemaVersionType
  2. See MessageComponentsTypeDef
  3. See NotificationTypeType
  4. See EventStatusType
  5. See AggregationEventTypeType
  6. See AggregationSummaryTypeDef
  7. See TextPartValueTypeDef

ManagedNotificationEventOverviewTypeDef#

# ManagedNotificationEventOverviewTypeDef definition

class ManagedNotificationEventOverviewTypeDef(TypedDict):
    arn: str,
    managedNotificationConfigurationArn: str,
    relatedAccount: str,
    creationTime: datetime,
    notificationEvent: ManagedNotificationEventSummaryTypeDef,  # (1)
    aggregationEventType: NotRequired[AggregationEventTypeType],  # (2)
    organizationalUnitId: NotRequired[str],
    aggregationSummary: NotRequired[AggregationSummaryTypeDef],  # (3)
    aggregatedNotificationRegions: NotRequired[List[str]],
  1. See ManagedNotificationEventSummaryTypeDef
  2. See AggregationEventTypeType
  3. See AggregationSummaryTypeDef

NotificationEventOverviewTypeDef#

# NotificationEventOverviewTypeDef definition

class NotificationEventOverviewTypeDef(TypedDict):
    arn: str,
    notificationConfigurationArn: str,
    relatedAccount: str,
    creationTime: datetime,
    notificationEvent: NotificationEventSummaryTypeDef,  # (1)
    aggregationEventType: NotRequired[AggregationEventTypeType],  # (2)
    aggregateNotificationEventArn: NotRequired[str],
    aggregationSummary: NotRequired[AggregationSummaryTypeDef],  # (3)
  1. See NotificationEventSummaryTypeDef
  2. See AggregationEventTypeType
  3. See AggregationSummaryTypeDef

NotificationEventTypeDef#

# NotificationEventTypeDef definition

class NotificationEventTypeDef(TypedDict):
    schemaVersion: SchemaVersionType,  # (1)
    id: str,
    sourceEventMetadata: SourceEventMetadataTypeDef,  # (2)
    messageComponents: MessageComponentsTypeDef,  # (3)
    notificationType: NotificationTypeType,  # (4)
    textParts: Dict[str, TextPartValueTypeDef],  # (8)
    media: List[MediaElementTypeDef],  # (9)
    sourceEventDetailUrl: NotRequired[str],
    sourceEventDetailUrlDisplayText: NotRequired[str],
    eventStatus: NotRequired[EventStatusType],  # (5)
    aggregationEventType: NotRequired[AggregationEventTypeType],  # (6)
    aggregateNotificationEventArn: NotRequired[str],
    aggregationSummary: NotRequired[AggregationSummaryTypeDef],  # (7)
    startTime: NotRequired[datetime],
    endTime: NotRequired[datetime],
  1. See SchemaVersionType
  2. See SourceEventMetadataTypeDef
  3. See MessageComponentsTypeDef
  4. See NotificationTypeType
  5. See EventStatusType
  6. See AggregationEventTypeType
  7. See AggregationSummaryTypeDef
  8. See TextPartValueTypeDef
  9. See MediaElementTypeDef

ManagedNotificationChildEventOverviewTypeDef#

# ManagedNotificationChildEventOverviewTypeDef definition

class ManagedNotificationChildEventOverviewTypeDef(TypedDict):
    arn: str,
    managedNotificationConfigurationArn: str,
    relatedAccount: str,
    creationTime: datetime,
    childEvent: ManagedNotificationChildEventSummaryTypeDef,  # (1)
    aggregateManagedNotificationEventArn: str,
    organizationalUnitId: NotRequired[str],
  1. See ManagedNotificationChildEventSummaryTypeDef

GetManagedNotificationChildEventResponseTypeDef#

# GetManagedNotificationChildEventResponseTypeDef definition

class GetManagedNotificationChildEventResponseTypeDef(TypedDict):
    arn: str,
    managedNotificationConfigurationArn: str,
    creationTime: datetime,
    content: ManagedNotificationChildEventTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedNotificationChildEventTypeDef
  2. See ResponseMetadataTypeDef

GetManagedNotificationEventResponseTypeDef#

# GetManagedNotificationEventResponseTypeDef definition

class GetManagedNotificationEventResponseTypeDef(TypedDict):
    arn: str,
    managedNotificationConfigurationArn: str,
    creationTime: datetime,
    content: ManagedNotificationEventTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedNotificationEventTypeDef
  2. See ResponseMetadataTypeDef

ListManagedNotificationEventsResponseTypeDef#

# ListManagedNotificationEventsResponseTypeDef definition

class ListManagedNotificationEventsResponseTypeDef(TypedDict):
    managedNotificationEvents: List[ManagedNotificationEventOverviewTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ManagedNotificationEventOverviewTypeDef
  2. See ResponseMetadataTypeDef

ListNotificationEventsResponseTypeDef#

# ListNotificationEventsResponseTypeDef definition

class ListNotificationEventsResponseTypeDef(TypedDict):
    notificationEvents: List[NotificationEventOverviewTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See NotificationEventOverviewTypeDef
  2. See ResponseMetadataTypeDef

GetNotificationEventResponseTypeDef#

# GetNotificationEventResponseTypeDef definition

class GetNotificationEventResponseTypeDef(TypedDict):
    arn: str,
    notificationConfigurationArn: str,
    creationTime: datetime,
    content: NotificationEventTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotificationEventTypeDef
  2. See ResponseMetadataTypeDef

ListManagedNotificationChildEventsResponseTypeDef#

# ListManagedNotificationChildEventsResponseTypeDef definition

class ListManagedNotificationChildEventsResponseTypeDef(TypedDict):
    managedNotificationChildEvents: List[ManagedNotificationChildEventOverviewTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ManagedNotificationChildEventOverviewTypeDef
  2. See ResponseMetadataTypeDef