@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Amazon Elastic  Inference
@version 2017-07-25
@auth AWS SigV4
@endpoints 6
@toc describe-accelerator-offerings(1), describe-accelerator-types(1), describe-accelerators(1), tags(3)

@group describe-accelerator-offerings
@endpoint POST /describe-accelerator-offerings
@required {locationType: str}
@optional {acceleratorTypes: [str]}
@returns(200) {acceleratorTypeOfferings: [AcceleratorTypeOffering]?}

@endgroup

@group describe-accelerator-types
@endpoint GET /describe-accelerator-types
@returns(200) {acceleratorTypes: [AcceleratorType]?}

@endgroup

@group describe-accelerators
@endpoint POST /describe-accelerators
@optional {acceleratorIds: [str], filters: [Filter], maxResults: int, nextToken: str}
@returns(200) {acceleratorSet: [ElasticInferenceAccelerator]?, nextToken: str?}

@endgroup

@group tags
@endpoint GET /tags/{resourceArn}
@required {resourceArn: str}
@returns(200) {tags: map<str,str>?}

@endpoint POST /tags/{resourceArn}
@required {resourceArn: str, tags: map<str,str>}

@endpoint DELETE /tags/{resourceArn}
@required {resourceArn: str, tagKeys: [str]}

@endgroup

@end
