@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AWS Auto Scaling Plans
@version 2018-01-06
@auth AWS SigV4
@endpoints 6
@toc root(6)

@endpoint POST /
@required {ScalingPlanName: str, ApplicationSource: ApplicationSource, ScalingInstructions: [ScalingInstruction]}
@returns(200) {ScalingPlanVersion: int(i64)}

@endpoint POST /
@required {ScalingPlanName: str, ScalingPlanVersion: int(i64)}

@endpoint POST /
@required {ScalingPlanName: str, ScalingPlanVersion: int(i64)}
@optional {MaxResults: int, NextToken: str}
@returns(200) {ScalingPlanResources: [ScalingPlanResource]?, NextToken: str?}

@endpoint POST /
@optional {ScalingPlanNames: [str], ScalingPlanVersion: int(i64), ApplicationSources: [ApplicationSource], MaxResults: int, NextToken: str}
@returns(200) {ScalingPlans: [ScalingPlan]?, NextToken: str?}

@endpoint POST /
@required {ScalingPlanName: str, ScalingPlanVersion: int(i64), ServiceNamespace: str, ResourceId: str, ScalableDimension: str, ForecastDataType: str, StartTime: str(timestamp), EndTime: str(timestamp)}
@returns(200) {Datapoints: [Datapoint]}

@endpoint POST /
@required {ScalingPlanName: str, ScalingPlanVersion: int(i64)}
@optional {ApplicationSource: ApplicationSource, ScalingInstructions: [ScalingInstruction]}

@end
