Type definitions#
Auto-generated documentation for Health type annotations stubs module mypy-boto3-health.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
AccountEntityAggregateTypeDef#
# AccountEntityAggregateTypeDef definition
class AccountEntityAggregateTypeDef(TypedDict):
accountId: NotRequired[str],
count: NotRequired[int],
statuses: NotRequired[dict[EntityStatusCodeType, int]], # (1)
AffectedEntityTypeDef#
# AffectedEntityTypeDef definition
class AffectedEntityTypeDef(TypedDict):
entityArn: NotRequired[str],
eventArn: NotRequired[str],
entityValue: NotRequired[str],
entityUrl: NotRequired[str],
awsAccountId: NotRequired[str],
lastUpdatedTime: NotRequired[datetime],
statusCode: NotRequired[EntityStatusCodeType], # (1)
tags: NotRequired[dict[str, str]],
entityMetadata: NotRequired[dict[str, str]],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
DescribeAffectedAccountsForOrganizationRequestRequestTypeDef#
# DescribeAffectedAccountsForOrganizationRequestRequestTypeDef definition
class DescribeAffectedAccountsForOrganizationRequestRequestTypeDef(TypedDict):
eventArn: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
EntityAccountFilterTypeDef#
# EntityAccountFilterTypeDef definition
class EntityAccountFilterTypeDef(TypedDict):
eventArn: str,
awsAccountId: NotRequired[str],
statusCodes: NotRequired[Sequence[EntityStatusCodeType]], # (1)
EventAccountFilterTypeDef#
# EventAccountFilterTypeDef definition
class EventAccountFilterTypeDef(TypedDict):
eventArn: str,
awsAccountId: NotRequired[str],
OrganizationAffectedEntitiesErrorItemTypeDef#
# OrganizationAffectedEntitiesErrorItemTypeDef definition
class OrganizationAffectedEntitiesErrorItemTypeDef(TypedDict):
awsAccountId: NotRequired[str],
eventArn: NotRequired[str],
errorName: NotRequired[str],
errorMessage: NotRequired[str],
DescribeEntityAggregatesForOrganizationRequestRequestTypeDef#
# DescribeEntityAggregatesForOrganizationRequestRequestTypeDef definition
class DescribeEntityAggregatesForOrganizationRequestRequestTypeDef(TypedDict):
eventArns: Sequence[str],
awsAccountIds: NotRequired[Sequence[str]],
DescribeEntityAggregatesRequestRequestTypeDef#
# DescribeEntityAggregatesRequestRequestTypeDef definition
class DescribeEntityAggregatesRequestRequestTypeDef(TypedDict):
eventArns: NotRequired[Sequence[str]],
EntityAggregateTypeDef#
# EntityAggregateTypeDef definition
class EntityAggregateTypeDef(TypedDict):
eventArn: NotRequired[str],
count: NotRequired[int],
statuses: NotRequired[dict[EntityStatusCodeType, int]], # (1)
EventAggregateTypeDef#
# EventAggregateTypeDef definition
class EventAggregateTypeDef(TypedDict):
aggregateValue: NotRequired[str],
count: NotRequired[int],
OrganizationEventDetailsErrorItemTypeDef#
# OrganizationEventDetailsErrorItemTypeDef definition
class OrganizationEventDetailsErrorItemTypeDef(TypedDict):
awsAccountId: NotRequired[str],
eventArn: NotRequired[str],
errorName: NotRequired[str],
errorMessage: NotRequired[str],
DescribeEventDetailsRequestRequestTypeDef#
# DescribeEventDetailsRequestRequestTypeDef definition
class DescribeEventDetailsRequestRequestTypeDef(TypedDict):
eventArns: Sequence[str],
locale: NotRequired[str],
EventDetailsErrorItemTypeDef#
# EventDetailsErrorItemTypeDef definition
class EventDetailsErrorItemTypeDef(TypedDict):
eventArn: NotRequired[str],
errorName: NotRequired[str],
errorMessage: NotRequired[str],
EventTypeFilterTypeDef#
# EventTypeFilterTypeDef definition
class EventTypeFilterTypeDef(TypedDict):
eventTypeCodes: NotRequired[Sequence[str]],
services: NotRequired[Sequence[str]],
eventTypeCategories: NotRequired[Sequence[EventTypeCategoryType]], # (1)
EventTypeTypeDef#
# EventTypeTypeDef definition
class EventTypeTypeDef(TypedDict):
service: NotRequired[str],
code: NotRequired[str],
category: NotRequired[EventTypeCategoryType], # (1)
OrganizationEventTypeDef#
# OrganizationEventTypeDef definition
class OrganizationEventTypeDef(TypedDict):
arn: NotRequired[str],
service: NotRequired[str],
eventTypeCode: NotRequired[str],
eventTypeCategory: NotRequired[EventTypeCategoryType], # (1)
eventScopeCode: NotRequired[EventScopeCodeType], # (2)
region: NotRequired[str],
startTime: NotRequired[datetime],
endTime: NotRequired[datetime],
lastUpdatedTime: NotRequired[datetime],
statusCode: NotRequired[EventStatusCodeType], # (3)
EventTypeDef#
# EventTypeDef definition
class EventTypeDef(TypedDict):
arn: NotRequired[str],
service: NotRequired[str],
eventTypeCode: NotRequired[str],
eventTypeCategory: NotRequired[EventTypeCategoryType], # (1)
region: NotRequired[str],
availabilityZone: NotRequired[str],
startTime: NotRequired[datetime],
endTime: NotRequired[datetime],
lastUpdatedTime: NotRequired[datetime],
statusCode: NotRequired[EventStatusCodeType], # (2)
eventScopeCode: NotRequired[EventScopeCodeType], # (3)
EventDescriptionTypeDef#
# EventDescriptionTypeDef definition
class EventDescriptionTypeDef(TypedDict):
latestDescription: NotRequired[str],
OrganizationEntityAggregateTypeDef#
# OrganizationEntityAggregateTypeDef definition
class OrganizationEntityAggregateTypeDef(TypedDict):
eventArn: NotRequired[str],
count: NotRequired[int],
statuses: NotRequired[dict[EntityStatusCodeType, int]], # (1)
accounts: NotRequired[list[AccountEntityAggregateTypeDef]], # (2)
DateTimeRangeTypeDef#
# DateTimeRangeTypeDef definition
class DateTimeRangeTypeDef(TypedDict):
from: NotRequired[TimestampTypeDef],
to: NotRequired[TimestampTypeDef],
DescribeAffectedAccountsForOrganizationRequestPaginateTypeDef#
# DescribeAffectedAccountsForOrganizationRequestPaginateTypeDef definition
class DescribeAffectedAccountsForOrganizationRequestPaginateTypeDef(TypedDict):
eventArn: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeAffectedAccountsForOrganizationResponseTypeDef#
# DescribeAffectedAccountsForOrganizationResponseTypeDef definition
class DescribeAffectedAccountsForOrganizationResponseTypeDef(TypedDict):
affectedAccounts: list[str],
eventScopeCode: EventScopeCodeType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
DescribeAffectedEntitiesResponseTypeDef#
# DescribeAffectedEntitiesResponseTypeDef definition
class DescribeAffectedEntitiesResponseTypeDef(TypedDict):
entities: list[AffectedEntityTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
DescribeHealthServiceStatusForOrganizationResponseTypeDef#
# DescribeHealthServiceStatusForOrganizationResponseTypeDef definition
class DescribeHealthServiceStatusForOrganizationResponseTypeDef(TypedDict):
healthServiceAccessStatusForOrganization: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeAffectedEntitiesForOrganizationRequestPaginateTypeDef#
# DescribeAffectedEntitiesForOrganizationRequestPaginateTypeDef definition
class DescribeAffectedEntitiesForOrganizationRequestPaginateTypeDef(TypedDict):
organizationEntityFilters: NotRequired[Sequence[EventAccountFilterTypeDef]], # (1)
locale: NotRequired[str],
organizationEntityAccountFilters: NotRequired[Sequence[EntityAccountFilterTypeDef]], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
DescribeAffectedEntitiesForOrganizationRequestRequestTypeDef#
# DescribeAffectedEntitiesForOrganizationRequestRequestTypeDef definition
class DescribeAffectedEntitiesForOrganizationRequestRequestTypeDef(TypedDict):
organizationEntityFilters: NotRequired[Sequence[EventAccountFilterTypeDef]], # (1)
locale: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
organizationEntityAccountFilters: NotRequired[Sequence[EntityAccountFilterTypeDef]], # (2)
DescribeEventDetailsForOrganizationRequestRequestTypeDef#
# DescribeEventDetailsForOrganizationRequestRequestTypeDef definition
class DescribeEventDetailsForOrganizationRequestRequestTypeDef(TypedDict):
organizationEventDetailFilters: Sequence[EventAccountFilterTypeDef], # (1)
locale: NotRequired[str],
DescribeAffectedEntitiesForOrganizationResponseTypeDef#
# DescribeAffectedEntitiesForOrganizationResponseTypeDef definition
class DescribeAffectedEntitiesForOrganizationResponseTypeDef(TypedDict):
entities: list[AffectedEntityTypeDef], # (1)
failedSet: list[OrganizationAffectedEntitiesErrorItemTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
nextToken: NotRequired[str],
- See AffectedEntityTypeDef
- See OrganizationAffectedEntitiesErrorItemTypeDef
- See ResponseMetadataTypeDef
DescribeEntityAggregatesResponseTypeDef#
# DescribeEntityAggregatesResponseTypeDef definition
class DescribeEntityAggregatesResponseTypeDef(TypedDict):
entityAggregates: list[EntityAggregateTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeEventAggregatesResponseTypeDef#
# DescribeEventAggregatesResponseTypeDef definition
class DescribeEventAggregatesResponseTypeDef(TypedDict):
eventAggregates: list[EventAggregateTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
DescribeEventTypesRequestPaginateTypeDef#
# DescribeEventTypesRequestPaginateTypeDef definition
class DescribeEventTypesRequestPaginateTypeDef(TypedDict):
filter: NotRequired[EventTypeFilterTypeDef], # (1)
locale: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribeEventTypesRequestRequestTypeDef#
# DescribeEventTypesRequestRequestTypeDef definition
class DescribeEventTypesRequestRequestTypeDef(TypedDict):
filter: NotRequired[EventTypeFilterTypeDef], # (1)
locale: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
DescribeEventTypesResponseTypeDef#
# DescribeEventTypesResponseTypeDef definition
class DescribeEventTypesResponseTypeDef(TypedDict):
eventTypes: list[EventTypeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
DescribeEventsForOrganizationResponseTypeDef#
# DescribeEventsForOrganizationResponseTypeDef definition
class DescribeEventsForOrganizationResponseTypeDef(TypedDict):
events: list[OrganizationEventTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
DescribeEventsResponseTypeDef#
# DescribeEventsResponseTypeDef definition
class DescribeEventsResponseTypeDef(TypedDict):
events: list[EventTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
- See EventTypeDef
- See ResponseMetadataTypeDef
EventDetailsTypeDef#
# EventDetailsTypeDef definition
class EventDetailsTypeDef(TypedDict):
event: NotRequired[EventTypeDef], # (1)
eventDescription: NotRequired[EventDescriptionTypeDef], # (2)
eventMetadata: NotRequired[dict[str, str]],
- See EventTypeDef
- See EventDescriptionTypeDef
OrganizationEventDetailsTypeDef#
# OrganizationEventDetailsTypeDef definition
class OrganizationEventDetailsTypeDef(TypedDict):
awsAccountId: NotRequired[str],
event: NotRequired[EventTypeDef], # (1)
eventDescription: NotRequired[EventDescriptionTypeDef], # (2)
eventMetadata: NotRequired[dict[str, str]],
- See EventTypeDef
- See EventDescriptionTypeDef
DescribeEntityAggregatesForOrganizationResponseTypeDef#
# DescribeEntityAggregatesForOrganizationResponseTypeDef definition
class DescribeEntityAggregatesForOrganizationResponseTypeDef(TypedDict):
organizationEntityAggregates: list[OrganizationEntityAggregateTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
EntityFilterTypeDef#
# EntityFilterTypeDef definition
class EntityFilterTypeDef(TypedDict):
eventArns: Sequence[str],
entityArns: NotRequired[Sequence[str]],
entityValues: NotRequired[Sequence[str]],
lastUpdatedTimes: NotRequired[Sequence[DateTimeRangeTypeDef]], # (1)
tags: NotRequired[Sequence[Mapping[str, str]]],
statusCodes: NotRequired[Sequence[EntityStatusCodeType]], # (2)
EventFilterTypeDef#
# EventFilterTypeDef definition
class EventFilterTypeDef(TypedDict):
eventArns: NotRequired[Sequence[str]],
eventTypeCodes: NotRequired[Sequence[str]],
services: NotRequired[Sequence[str]],
regions: NotRequired[Sequence[str]],
availabilityZones: NotRequired[Sequence[str]],
startTimes: NotRequired[Sequence[DateTimeRangeTypeDef]], # (1)
endTimes: NotRequired[Sequence[DateTimeRangeTypeDef]], # (1)
lastUpdatedTimes: NotRequired[Sequence[DateTimeRangeTypeDef]], # (1)
entityArns: NotRequired[Sequence[str]],
entityValues: NotRequired[Sequence[str]],
eventTypeCategories: NotRequired[Sequence[EventTypeCategoryType]], # (4)
tags: NotRequired[Sequence[Mapping[str, str]]],
eventStatusCodes: NotRequired[Sequence[EventStatusCodeType]], # (5)
- See DateTimeRangeTypeDef
- See DateTimeRangeTypeDef
- See DateTimeRangeTypeDef
- See EventTypeCategoryType
- See EventStatusCodeType
OrganizationEventFilterTypeDef#
# OrganizationEventFilterTypeDef definition
class OrganizationEventFilterTypeDef(TypedDict):
eventTypeCodes: NotRequired[Sequence[str]],
awsAccountIds: NotRequired[Sequence[str]],
services: NotRequired[Sequence[str]],
regions: NotRequired[Sequence[str]],
startTime: NotRequired[DateTimeRangeTypeDef], # (1)
endTime: NotRequired[DateTimeRangeTypeDef], # (1)
lastUpdatedTime: NotRequired[DateTimeRangeTypeDef], # (1)
entityArns: NotRequired[Sequence[str]],
entityValues: NotRequired[Sequence[str]],
eventTypeCategories: NotRequired[Sequence[EventTypeCategoryType]], # (4)
eventStatusCodes: NotRequired[Sequence[EventStatusCodeType]], # (5)
- See DateTimeRangeTypeDef
- See DateTimeRangeTypeDef
- See DateTimeRangeTypeDef
- See EventTypeCategoryType
- See EventStatusCodeType
DescribeEventDetailsResponseTypeDef#
# DescribeEventDetailsResponseTypeDef definition
class DescribeEventDetailsResponseTypeDef(TypedDict):
successfulSet: list[EventDetailsTypeDef], # (1)
failedSet: list[EventDetailsErrorItemTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DescribeEventDetailsForOrganizationResponseTypeDef#
# DescribeEventDetailsForOrganizationResponseTypeDef definition
class DescribeEventDetailsForOrganizationResponseTypeDef(TypedDict):
successfulSet: list[OrganizationEventDetailsTypeDef], # (1)
failedSet: list[OrganizationEventDetailsErrorItemTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See OrganizationEventDetailsTypeDef
- See OrganizationEventDetailsErrorItemTypeDef
- See ResponseMetadataTypeDef
DescribeAffectedEntitiesRequestPaginateTypeDef#
# DescribeAffectedEntitiesRequestPaginateTypeDef definition
class DescribeAffectedEntitiesRequestPaginateTypeDef(TypedDict):
filter: EntityFilterTypeDef, # (1)
locale: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribeAffectedEntitiesRequestRequestTypeDef#
# DescribeAffectedEntitiesRequestRequestTypeDef definition
class DescribeAffectedEntitiesRequestRequestTypeDef(TypedDict):
filter: EntityFilterTypeDef, # (1)
locale: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
DescribeEventAggregatesRequestPaginateTypeDef#
# DescribeEventAggregatesRequestPaginateTypeDef definition
class DescribeEventAggregatesRequestPaginateTypeDef(TypedDict):
aggregateField: EventAggregateFieldType, # (1)
filter: NotRequired[EventFilterTypeDef], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
DescribeEventAggregatesRequestRequestTypeDef#
# DescribeEventAggregatesRequestRequestTypeDef definition
class DescribeEventAggregatesRequestRequestTypeDef(TypedDict):
aggregateField: EventAggregateFieldType, # (1)
filter: NotRequired[EventFilterTypeDef], # (2)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
DescribeEventsRequestPaginateTypeDef#
# DescribeEventsRequestPaginateTypeDef definition
class DescribeEventsRequestPaginateTypeDef(TypedDict):
filter: NotRequired[EventFilterTypeDef], # (1)
locale: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribeEventsRequestRequestTypeDef#
# DescribeEventsRequestRequestTypeDef definition
class DescribeEventsRequestRequestTypeDef(TypedDict):
filter: NotRequired[EventFilterTypeDef], # (1)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
locale: NotRequired[str],
DescribeEventsForOrganizationRequestPaginateTypeDef#
# DescribeEventsForOrganizationRequestPaginateTypeDef definition
class DescribeEventsForOrganizationRequestPaginateTypeDef(TypedDict):
filter: NotRequired[OrganizationEventFilterTypeDef], # (1)
locale: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribeEventsForOrganizationRequestRequestTypeDef#
# DescribeEventsForOrganizationRequestRequestTypeDef definition
class DescribeEventsForOrganizationRequestRequestTypeDef(TypedDict):
filter: NotRequired[OrganizationEventFilterTypeDef], # (1)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
locale: NotRequired[str],