@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AWS Migration Hub Config
@version 2019-06-30
@auth AWS SigV4
@endpoints 4
@toc root(4)

@endpoint POST /
@required {HomeRegion: str, Target: Target}
@optional {DryRun: bool}
@returns(200) {HomeRegionControl: HomeRegionControl?{ControlId: str?, HomeRegion: str?, Target: Target?{Type: str, Id: str?}, RequestedTime: str(timestamp)?}}

@endpoint POST /
@required {ControlId: str}

@endpoint POST /
@optional {ControlId: str, HomeRegion: str, Target: Target, MaxResults: int, NextToken: str}
@returns(200) {HomeRegionControls: [HomeRegionControl]?, NextToken: str?}

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

@end
