@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Application Auto Scaling
@version 2016-02-06
@auth AWS SigV4
@endpoints 13
@toc root(13)

@endpoint POST /
@required {PolicyName: str, ServiceNamespace: str, ResourceId: str, ScalableDimension: str}

@endpoint POST /
@required {ServiceNamespace: str, ScheduledActionName: str, ResourceId: str, ScalableDimension: str}

@endpoint POST /
@required {ServiceNamespace: str, ResourceId: str, ScalableDimension: str}

@endpoint POST /
@required {ServiceNamespace: str}
@optional {ResourceIds: [str], ScalableDimension: str, MaxResults: int, NextToken: str}
@returns(200) {ScalableTargets: [ScalableTarget]?, NextToken: str?}

@endpoint POST /
@required {ServiceNamespace: str}
@optional {ResourceId: str, ScalableDimension: str, MaxResults: int, NextToken: str, IncludeNotScaledActivities: bool}
@returns(200) {ScalingActivities: [ScalingActivity]?, NextToken: str?}

@endpoint POST /
@required {ServiceNamespace: str}
@optional {PolicyNames: [str], ResourceId: str, ScalableDimension: str, MaxResults: int, NextToken: str}
@returns(200) {ScalingPolicies: [ScalingPolicy]?, NextToken: str?}

@endpoint POST /
@required {ServiceNamespace: str}
@optional {ScheduledActionNames: [str], ResourceId: str, ScalableDimension: str, MaxResults: int, NextToken: str}
@returns(200) {ScheduledActions: [ScheduledAction]?, NextToken: str?}

@endpoint POST /
@required {ResourceARN: str}
@returns(200) {Tags: map<str,str>?}

@endpoint POST /
@required {PolicyName: str, ServiceNamespace: str, ResourceId: str, ScalableDimension: str}
@optional {PolicyType: str, StepScalingPolicyConfiguration: StepScalingPolicyConfiguration, TargetTrackingScalingPolicyConfiguration: TargetTrackingScalingPolicyConfiguration}
@returns(200) {PolicyARN: str, Alarms: [Alarm]?}

@endpoint POST /
@required {ServiceNamespace: str, ScheduledActionName: str, ResourceId: str, ScalableDimension: str}
@optional {Schedule: str, Timezone: str, StartTime: str(timestamp), EndTime: str(timestamp), ScalableTargetAction: ScalableTargetAction}

@endpoint POST /
@required {ServiceNamespace: str, ResourceId: str, ScalableDimension: str}
@optional {MinCapacity: int, MaxCapacity: int, RoleARN: str, SuspendedState: SuspendedState, Tags: map<str,str>}
@returns(200) {ScalableTargetARN: str?}

@endpoint POST /
@required {ResourceARN: str, Tags: map<str,str>}

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

@end
