@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AWS Health APIs and Notifications
@version 2016-08-04
@auth AWS SigV4
@endpoints 14
@toc root(14)

@endpoint POST /
@required {eventArn: str}
@optional {nextToken: str, maxResults: int}
@returns(200) {affectedAccounts: [str]?, eventScopeCode: str?, nextToken: str?}

@endpoint POST /
@required {filter: EntityFilter}
@optional {locale: str, nextToken: str, maxResults: int}
@returns(200) {entities: [AffectedEntity]?, nextToken: str?}

@endpoint POST /
@optional {organizationEntityFilters: [EventAccountFilter], locale: str, nextToken: str, maxResults: int, organizationEntityAccountFilters: [EntityAccountFilter]}
@returns(200) {entities: [AffectedEntity]?, failedSet: [OrganizationAffectedEntitiesErrorItem]?, nextToken: str?}

@endpoint POST /
@optional {eventArns: [str]}
@returns(200) {entityAggregates: [EntityAggregate]?}

@endpoint POST /
@required {eventArns: [str]}
@optional {awsAccountIds: [str]}
@returns(200) {organizationEntityAggregates: [OrganizationEntityAggregate]?}

@endpoint POST /
@required {aggregateField: str}
@optional {filter: EventFilter, maxResults: int, nextToken: str}
@returns(200) {eventAggregates: [EventAggregate]?, nextToken: str?}

@endpoint POST /
@required {eventArns: [str]}
@optional {locale: str}
@returns(200) {successfulSet: [EventDetails]?, failedSet: [EventDetailsErrorItem]?}

@endpoint POST /
@required {organizationEventDetailFilters: [EventAccountFilter]}
@optional {locale: str}
@returns(200) {successfulSet: [OrganizationEventDetails]?, failedSet: [OrganizationEventDetailsErrorItem]?}

@endpoint POST /
@optional {filter: EventTypeFilter, locale: str, nextToken: str, maxResults: int}
@returns(200) {eventTypes: [EventType]?, nextToken: str?}

@endpoint POST /
@optional {filter: EventFilter, nextToken: str, maxResults: int, locale: str}
@returns(200) {events: [Event]?, nextToken: str?}

@endpoint POST /
@optional {filter: OrganizationEventFilter, nextToken: str, maxResults: int, locale: str}
@returns(200) {events: [OrganizationEvent]?, nextToken: str?}

@endpoint POST /
@returns(200) {healthServiceAccessStatusForOrganization: str?}

@endpoint POST /

@endpoint POST /

@end
