@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AWS Marketplace Commerce Analytics
@version 2015-07-01
@auth AWS SigV4
@endpoints 2
@toc root(2)

@endpoint POST /
@required {dataSetType: str, dataSetPublicationDate: str(timestamp), roleNameArn: str, destinationS3BucketName: str, snsTopicArn: str}
@optional {destinationS3Prefix: str, customerDefinedValues: map<str,str>}
@returns(200) {dataSetRequestId: str?}

@endpoint POST /
@required {dataSetType: str, fromDate: str(timestamp), roleNameArn: str, destinationS3BucketName: str, snsTopicArn: str}
@optional {destinationS3Prefix: str, customerDefinedValues: map<str,str>}
@returns(200) {dataSetRequestId: str?}

@end
