@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Amazon CloudWatch Events
@version 2015-10-07
@auth AWS SigV4
@endpoints 51
@hint download_for_search
@toc root(51)

@endpoint POST /
@required {Name: str}

@endpoint POST /
@required {ReplayName: str}
@returns(200) {ReplayArn: str?, State: str?, StateReason: str?}

@endpoint POST /
@required {Name: str, ConnectionArn: str, InvocationEndpoint: str, HttpMethod: str}
@optional {Description: str, InvocationRateLimitPerSecond: int}
@returns(200) {ApiDestinationArn: str?, ApiDestinationState: str?, CreationTime: str(timestamp)?, LastModifiedTime: str(timestamp)?}

@endpoint POST /
@required {ArchiveName: str, EventSourceArn: str}
@optional {Description: str, EventPattern: str, RetentionDays: int}
@returns(200) {ArchiveArn: str?, State: str?, StateReason: str?, CreationTime: str(timestamp)?}

@endpoint POST /
@required {Name: str, AuthorizationType: str, AuthParameters: CreateConnectionAuthRequestParameters}
@optional {Description: str}
@returns(200) {ConnectionArn: str?, ConnectionState: str?, CreationTime: str(timestamp)?, LastModifiedTime: str(timestamp)?}

@endpoint POST /
@required {Name: str}
@optional {EventSourceName: str, Tags: [Tag]}
@returns(200) {EventBusArn: str?}

@endpoint POST /
@required {Name: str, Account: str}
@returns(200) {EventSourceArn: str?}

@endpoint POST /
@required {Name: str}

@endpoint POST /
@required {Name: str}
@returns(200) {ConnectionArn: str?, ConnectionState: str?, CreationTime: str(timestamp)?, LastModifiedTime: str(timestamp)?, LastAuthorizedTime: str(timestamp)?}

@endpoint POST /
@required {Name: str}

@endpoint POST /
@required {ArchiveName: str}

@endpoint POST /
@required {Name: str}
@returns(200) {ConnectionArn: str?, ConnectionState: str?, CreationTime: str(timestamp)?, LastModifiedTime: str(timestamp)?, LastAuthorizedTime: str(timestamp)?}

@endpoint POST /
@required {Name: str}

@endpoint POST /
@required {Name: str, Account: str}

@endpoint POST /
@required {Name: str}
@optional {EventBusName: str, Force: bool}

@endpoint POST /
@required {Name: str}
@returns(200) {ApiDestinationArn: str?, Name: str?, Description: str?, ApiDestinationState: str?, ConnectionArn: str?, InvocationEndpoint: str?, HttpMethod: str?, InvocationRateLimitPerSecond: int?, CreationTime: str(timestamp)?, LastModifiedTime: str(timestamp)?}

@endpoint POST /
@required {ArchiveName: str}
@returns(200) {ArchiveArn: str?, ArchiveName: str?, EventSourceArn: str?, Description: str?, EventPattern: str?, State: str?, StateReason: str?, RetentionDays: int?, SizeBytes: int(i64)?, EventCount: int(i64)?, CreationTime: str(timestamp)?}

@endpoint POST /
@required {Name: str}
@returns(200) {ConnectionArn: str?, Name: str?, Description: str?, ConnectionState: str?, StateReason: str?, AuthorizationType: str?, SecretArn: str?, AuthParameters: ConnectionAuthResponseParameters?{BasicAuthParameters: ConnectionBasicAuthResponseParameters?{Username: str?}, OAuthParameters: ConnectionOAuthResponseParameters?{ClientParameters: ConnectionOAuthClientResponseParameters?{ClientID: str?}, AuthorizationEndpoint: str?, HttpMethod: str?, OAuthHttpParameters: ConnectionHttpParameters?{HeaderParameters: [ConnectionHeaderParameter]?, QueryStringParameters: [ConnectionQueryStringParameter]?, BodyParameters: [ConnectionBodyParameter]?}}, ApiKeyAuthParameters: ConnectionApiKeyAuthResponseParameters?{ApiKeyName: str?}, InvocationHttpParameters: ConnectionHttpParameters?{HeaderParameters: [ConnectionHeaderParameter]?, QueryStringParameters: [ConnectionQueryStringParameter]?, BodyParameters: [ConnectionBodyParameter]?}}, CreationTime: str(timestamp)?, LastModifiedTime: str(timestamp)?, LastAuthorizedTime: str(timestamp)?}

@endpoint POST /
@optional {Name: str}
@returns(200) {Name: str?, Arn: str?, Policy: str?}

@endpoint POST /
@required {Name: str}
@returns(200) {Arn: str?, CreatedBy: str?, CreationTime: str(timestamp)?, ExpirationTime: str(timestamp)?, Name: str?, State: str?}

@endpoint POST /
@required {Name: str}
@returns(200) {Arn: str?, Name: str?}

@endpoint POST /
@required {ReplayName: str}
@returns(200) {ReplayName: str?, ReplayArn: str?, Description: str?, State: str?, StateReason: str?, EventSourceArn: str?, Destination: ReplayDestination?{Arn: str, FilterArns: [str]?}, EventStartTime: str(timestamp)?, EventEndTime: str(timestamp)?, EventLastReplayedTime: str(timestamp)?, ReplayStartTime: str(timestamp)?, ReplayEndTime: str(timestamp)?}

@endpoint POST /
@required {Name: str}
@optional {EventBusName: str}
@returns(200) {Name: str?, Arn: str?, EventPattern: str?, ScheduleExpression: str?, State: str?, Description: str?, RoleArn: str?, ManagedBy: str?, EventBusName: str?, CreatedBy: str?}

@endpoint POST /
@required {Name: str}
@optional {EventBusName: str}

@endpoint POST /
@required {Name: str}
@optional {EventBusName: str}

@endpoint POST /
@optional {NamePrefix: str, ConnectionArn: str, NextToken: str, Limit: int}
@returns(200) {ApiDestinations: [ApiDestination]?, NextToken: str?}

@endpoint POST /
@optional {NamePrefix: str, EventSourceArn: str, State: str, NextToken: str, Limit: int}
@returns(200) {Archives: [Archive]?, NextToken: str?}

@endpoint POST /
@optional {NamePrefix: str, ConnectionState: str, NextToken: str, Limit: int}
@returns(200) {Connections: [Connection]?, NextToken: str?}

@endpoint POST /
@optional {NamePrefix: str, NextToken: str, Limit: int}
@returns(200) {EventBuses: [EventBus]?, NextToken: str?}

@endpoint POST /
@optional {NamePrefix: str, NextToken: str, Limit: int}
@returns(200) {EventSources: [EventSource]?, NextToken: str?}

@endpoint POST /
@required {EventSourceName: str}
@optional {NextToken: str, Limit: int}
@returns(200) {PartnerEventSourceAccounts: [PartnerEventSourceAccount]?, NextToken: str?}

@endpoint POST /
@required {NamePrefix: str}
@optional {NextToken: str, Limit: int}
@returns(200) {PartnerEventSources: [PartnerEventSource]?, NextToken: str?}

@endpoint POST /
@optional {NamePrefix: str, State: str, EventSourceArn: str, NextToken: str, Limit: int}
@returns(200) {Replays: [Replay]?, NextToken: str?}

@endpoint POST /
@required {TargetArn: str}
@optional {EventBusName: str, NextToken: str, Limit: int}
@returns(200) {RuleNames: [str]?, NextToken: str?}

@endpoint POST /
@optional {NamePrefix: str, EventBusName: str, NextToken: str, Limit: int}
@returns(200) {Rules: [Rule]?, NextToken: str?}

@endpoint POST /
@required {ResourceARN: str}
@returns(200) {Tags: [Tag]?}

@endpoint POST /
@required {Rule: str}
@optional {EventBusName: str, NextToken: str, Limit: int}
@returns(200) {Targets: [Target]?, NextToken: str?}

@endpoint POST /
@required {Entries: [PutEventsRequestEntry]}
@returns(200) {FailedEntryCount: int?, Entries: [PutEventsResultEntry]?}

@endpoint POST /
@required {Entries: [PutPartnerEventsRequestEntry]}
@returns(200) {FailedEntryCount: int?, Entries: [PutPartnerEventsResultEntry]?}

@endpoint POST /
@optional {EventBusName: str, Action: str, Principal: str, StatementId: str, Condition: Condition, Policy: str}

@endpoint POST /
@required {Name: str}
@optional {ScheduleExpression: str, EventPattern: str, State: str, Description: str, RoleArn: str, Tags: [Tag], EventBusName: str}
@returns(200) {RuleArn: str?}

@endpoint POST /
@required {Rule: str, Targets: [Target]}
@optional {EventBusName: str}
@returns(200) {FailedEntryCount: int?, FailedEntries: [PutTargetsResultEntry]?}

@endpoint POST /
@optional {StatementId: str, RemoveAllPermissions: bool, EventBusName: str}

@endpoint POST /
@required {Rule: str, Ids: [str]}
@optional {EventBusName: str, Force: bool}
@returns(200) {FailedEntryCount: int?, FailedEntries: [RemoveTargetsResultEntry]?}

@endpoint POST /
@required {ReplayName: str, EventSourceArn: str, EventStartTime: str(timestamp), EventEndTime: str(timestamp), Destination: ReplayDestination}
@optional {Description: str}
@returns(200) {ReplayArn: str?, State: str?, StateReason: str?, ReplayStartTime: str(timestamp)?}

@endpoint POST /
@required {ResourceARN: str, Tags: [Tag]}

@endpoint POST /
@required {EventPattern: str, Event: str}
@returns(200) {Result: bool?}

@endpoint POST /
@required {ResourceARN: str, TagKeys: [str]}

@endpoint POST /
@required {Name: str}
@optional {Description: str, ConnectionArn: str, InvocationEndpoint: str, HttpMethod: str, InvocationRateLimitPerSecond: int}
@returns(200) {ApiDestinationArn: str?, ApiDestinationState: str?, CreationTime: str(timestamp)?, LastModifiedTime: str(timestamp)?}

@endpoint POST /
@required {ArchiveName: str}
@optional {Description: str, EventPattern: str, RetentionDays: int}
@returns(200) {ArchiveArn: str?, State: str?, StateReason: str?, CreationTime: str(timestamp)?}

@endpoint POST /
@required {Name: str}
@optional {Description: str, AuthorizationType: str, AuthParameters: UpdateConnectionAuthRequestParameters}
@returns(200) {ConnectionArn: str?, ConnectionState: str?, CreationTime: str(timestamp)?, LastModifiedTime: str(timestamp)?, LastAuthorizedTime: str(timestamp)?}

@end
