import { EntityStatusCode, EventActionability, EventAggregateField, EventPersona, EventScopeCode, EventStatusCode, EventTypeActionability, EventTypeCategory, EventTypePersona, } from "./enums"; export interface AccountEntityAggregate { accountId?: string | undefined; count?: number | undefined; statuses?: Partial> | undefined; } export interface AffectedEntity { entityArn?: string | undefined; eventArn?: string | undefined; entityValue?: string | undefined; entityUrl?: string | undefined; awsAccountId?: string | undefined; lastUpdatedTime?: Date | undefined; statusCode?: EntityStatusCode | undefined; tags?: Record | undefined; entityMetadata?: Record | undefined; } export interface DescribeAffectedAccountsForOrganizationRequest { eventArn: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; } export interface DescribeAffectedAccountsForOrganizationResponse { affectedAccounts?: string[] | undefined; eventScopeCode?: EventScopeCode | undefined; nextToken?: string | undefined; } export interface DateTimeRange { from?: Date | undefined; to?: Date | undefined; } export interface EntityFilter { eventArns: string[] | undefined; entityArns?: string[] | undefined; entityValues?: string[] | undefined; lastUpdatedTimes?: DateTimeRange[] | undefined; tags?: Record[] | undefined; statusCodes?: EntityStatusCode[] | undefined; } export interface DescribeAffectedEntitiesRequest { filter: EntityFilter | undefined; locale?: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; } export interface DescribeAffectedEntitiesResponse { entities?: AffectedEntity[] | undefined; nextToken?: string | undefined; } export interface EntityAccountFilter { eventArn: string | undefined; awsAccountId?: string | undefined; statusCodes?: EntityStatusCode[] | undefined; } export interface EventAccountFilter { eventArn: string | undefined; awsAccountId?: string | undefined; } export interface DescribeAffectedEntitiesForOrganizationRequest { organizationEntityFilters?: EventAccountFilter[] | undefined; locale?: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; organizationEntityAccountFilters?: EntityAccountFilter[] | undefined; } export interface OrganizationAffectedEntitiesErrorItem { awsAccountId?: string | undefined; eventArn?: string | undefined; errorName?: string | undefined; errorMessage?: string | undefined; } export interface DescribeAffectedEntitiesForOrganizationResponse { entities?: AffectedEntity[] | undefined; failedSet?: OrganizationAffectedEntitiesErrorItem[] | undefined; nextToken?: string | undefined; } export interface DescribeEntityAggregatesRequest { eventArns?: string[] | undefined; } export interface EntityAggregate { eventArn?: string | undefined; count?: number | undefined; statuses?: Partial> | undefined; } export interface DescribeEntityAggregatesResponse { entityAggregates?: EntityAggregate[] | undefined; } export interface DescribeEntityAggregatesForOrganizationRequest { eventArns: string[] | undefined; awsAccountIds?: string[] | undefined; } export interface OrganizationEntityAggregate { eventArn?: string | undefined; count?: number | undefined; statuses?: Partial> | undefined; accounts?: AccountEntityAggregate[] | undefined; } export interface DescribeEntityAggregatesForOrganizationResponse { organizationEntityAggregates?: OrganizationEntityAggregate[] | undefined; } export interface EventFilter { actionabilities?: EventActionability[] | undefined; eventArns?: string[] | undefined; eventTypeCodes?: string[] | undefined; services?: string[] | undefined; regions?: string[] | undefined; availabilityZones?: string[] | undefined; startTimes?: DateTimeRange[] | undefined; endTimes?: DateTimeRange[] | undefined; lastUpdatedTimes?: DateTimeRange[] | undefined; entityArns?: string[] | undefined; entityValues?: string[] | undefined; eventTypeCategories?: EventTypeCategory[] | undefined; tags?: Record[] | undefined; eventStatusCodes?: EventStatusCode[] | undefined; personas?: EventPersona[] | undefined; } export interface DescribeEventAggregatesRequest { filter?: EventFilter | undefined; aggregateField: EventAggregateField | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface EventAggregate { aggregateValue?: string | undefined; count?: number | undefined; } export interface DescribeEventAggregatesResponse { eventAggregates?: EventAggregate[] | undefined; nextToken?: string | undefined; } export interface DescribeEventDetailsRequest { eventArns: string[] | undefined; locale?: string | undefined; } export interface EventDetailsErrorItem { eventArn?: string | undefined; errorName?: string | undefined; errorMessage?: string | undefined; } export interface Event { arn?: string | undefined; service?: string | undefined; eventTypeCode?: string | undefined; eventTypeCategory?: EventTypeCategory | undefined; region?: string | undefined; availabilityZone?: string | undefined; startTime?: Date | undefined; endTime?: Date | undefined; lastUpdatedTime?: Date | undefined; statusCode?: EventStatusCode | undefined; eventScopeCode?: EventScopeCode | undefined; actionability?: EventActionability | undefined; personas?: EventPersona[] | undefined; } export interface EventDescription { latestDescription?: string | undefined; } export interface EventDetails { event?: Event | undefined; eventDescription?: EventDescription | undefined; eventMetadata?: Record | undefined; } export interface DescribeEventDetailsResponse { successfulSet?: EventDetails[] | undefined; failedSet?: EventDetailsErrorItem[] | undefined; } export interface DescribeEventDetailsForOrganizationRequest { organizationEventDetailFilters: EventAccountFilter[] | undefined; locale?: string | undefined; } export interface OrganizationEventDetailsErrorItem { awsAccountId?: string | undefined; eventArn?: string | undefined; errorName?: string | undefined; errorMessage?: string | undefined; } export interface OrganizationEventDetails { awsAccountId?: string | undefined; event?: Event | undefined; eventDescription?: EventDescription | undefined; eventMetadata?: Record | undefined; } export interface DescribeEventDetailsForOrganizationResponse { successfulSet?: OrganizationEventDetails[] | undefined; failedSet?: OrganizationEventDetailsErrorItem[] | undefined; } export interface DescribeEventsRequest { filter?: EventFilter | undefined; nextToken?: string | undefined; maxResults?: number | undefined; locale?: string | undefined; } export interface DescribeEventsResponse { events?: Event[] | undefined; nextToken?: string | undefined; } export interface OrganizationEventFilter { actionabilities?: EventActionability[] | undefined; eventTypeCodes?: string[] | undefined; awsAccountIds?: string[] | undefined; services?: string[] | undefined; regions?: string[] | undefined; startTime?: DateTimeRange | undefined; endTime?: DateTimeRange | undefined; lastUpdatedTime?: DateTimeRange | undefined; entityArns?: string[] | undefined; entityValues?: string[] | undefined; eventTypeCategories?: EventTypeCategory[] | undefined; eventStatusCodes?: EventStatusCode[] | undefined; personas?: EventPersona[] | undefined; } export interface DescribeEventsForOrganizationRequest { filter?: OrganizationEventFilter | undefined; nextToken?: string | undefined; maxResults?: number | undefined; locale?: string | undefined; } export interface OrganizationEvent { arn?: string | undefined; service?: string | undefined; eventTypeCode?: string | undefined; eventTypeCategory?: EventTypeCategory | undefined; eventScopeCode?: EventScopeCode | undefined; region?: string | undefined; startTime?: Date | undefined; endTime?: Date | undefined; lastUpdatedTime?: Date | undefined; statusCode?: EventStatusCode | undefined; actionability?: EventActionability | undefined; personas?: EventPersona[] | undefined; } export interface DescribeEventsForOrganizationResponse { events?: OrganizationEvent[] | undefined; nextToken?: string | undefined; } export interface EventTypeFilter { eventTypeCodes?: string[] | undefined; services?: string[] | undefined; eventTypeCategories?: EventTypeCategory[] | undefined; actionabilities?: EventTypeActionability[] | undefined; personas?: EventTypePersona[] | undefined; } export interface DescribeEventTypesRequest { filter?: EventTypeFilter | undefined; locale?: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; } export interface EventType { service?: string | undefined; code?: string | undefined; category?: EventTypeCategory | undefined; actionability?: EventTypeActionability | undefined; personas?: EventTypePersona[] | undefined; } export interface DescribeEventTypesResponse { eventTypes?: EventType[] | undefined; nextToken?: string | undefined; } export interface DescribeHealthServiceStatusForOrganizationResponse { healthServiceAccessStatusForOrganization?: string | undefined; }