@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Service Quotas
@version 2019-06-24
@auth AWS SigV4
@endpoints 19
@toc root(19)

@endpoint POST /

@endpoint POST /
@required {ServiceCode: str, QuotaCode: str, AwsRegion: str}

@endpoint POST /

@endpoint POST /
@required {ServiceCode: str, QuotaCode: str}
@returns(200) {Quota: ServiceQuota?{ServiceCode: str?, ServiceName: str?, QuotaArn: str?, QuotaCode: str?, QuotaName: str?, Value: num(f64)?, Unit: str?, Adjustable: bool?, GlobalQuota: bool?, UsageMetric: MetricInfo?{MetricNamespace: str?, MetricName: str?, MetricDimensions: map<str,str>?, MetricStatisticRecommendation: str?}, Period: QuotaPeriod?{PeriodValue: int?, PeriodUnit: str?}, ErrorReason: ErrorReason?{ErrorCode: str?, ErrorMessage: str?}, QuotaAppliedAtLevel: str?, QuotaContext: QuotaContextInfo?{ContextScope: str?, ContextScopeType: str?, ContextId: str?}}}

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

@endpoint POST /
@required {RequestId: str}
@returns(200) {RequestedQuota: RequestedServiceQuotaChange?{Id: str?, CaseId: str?, ServiceCode: str?, ServiceName: str?, QuotaCode: str?, QuotaName: str?, DesiredValue: num(f64)?, Status: str?, Created: str(timestamp)?, LastUpdated: str(timestamp)?, Requester: str?, QuotaArn: str?, GlobalQuota: bool?, Unit: str?, QuotaRequestedAtLevel: str?, QuotaContext: QuotaContextInfo?{ContextScope: str?, ContextScopeType: str?, ContextId: str?}}}

@endpoint POST /
@required {ServiceCode: str, QuotaCode: str}
@optional {ContextId: str}
@returns(200) {Quota: ServiceQuota?{ServiceCode: str?, ServiceName: str?, QuotaArn: str?, QuotaCode: str?, QuotaName: str?, Value: num(f64)?, Unit: str?, Adjustable: bool?, GlobalQuota: bool?, UsageMetric: MetricInfo?{MetricNamespace: str?, MetricName: str?, MetricDimensions: map<str,str>?, MetricStatisticRecommendation: str?}, Period: QuotaPeriod?{PeriodValue: int?, PeriodUnit: str?}, ErrorReason: ErrorReason?{ErrorCode: str?, ErrorMessage: str?}, QuotaAppliedAtLevel: str?, QuotaContext: QuotaContextInfo?{ContextScope: str?, ContextScopeType: str?, ContextId: str?}}}

@endpoint POST /
@required {ServiceCode: str, QuotaCode: str, AwsRegion: str}
@returns(200) {ServiceQuotaIncreaseRequestInTemplate: ServiceQuotaIncreaseRequestInTemplate?{ServiceCode: str?, ServiceName: str?, QuotaCode: str?, QuotaName: str?, DesiredValue: num(f64)?, AwsRegion: str?, Unit: str?, GlobalQuota: bool?}}

@endpoint POST /
@required {ServiceCode: str}
@optional {NextToken: str, MaxResults: int}
@returns(200) {NextToken: str?, Quotas: [ServiceQuota]?}

@endpoint POST /
@optional {ServiceCode: str, Status: str, NextToken: str, MaxResults: int, QuotaRequestedAtLevel: str}
@returns(200) {NextToken: str?, RequestedQuotas: [RequestedServiceQuotaChange]?}

@endpoint POST /
@required {ServiceCode: str, QuotaCode: str}
@optional {Status: str, NextToken: str, MaxResults: int, QuotaRequestedAtLevel: str}
@returns(200) {NextToken: str?, RequestedQuotas: [RequestedServiceQuotaChange]?}

@endpoint POST /
@optional {ServiceCode: str, AwsRegion: str, NextToken: str, MaxResults: int}
@returns(200) {ServiceQuotaIncreaseRequestInTemplateList: [ServiceQuotaIncreaseRequestInTemplate]?, NextToken: str?}

@endpoint POST /
@required {ServiceCode: str}
@optional {NextToken: str, MaxResults: int, QuotaCode: str, QuotaAppliedAtLevel: str}
@returns(200) {NextToken: str?, Quotas: [ServiceQuota]?}

@endpoint POST /
@optional {NextToken: str, MaxResults: int}
@returns(200) {NextToken: str?, Services: [ServiceInfo]?}

@endpoint POST /
@required {ResourceARN: str}
@returns(200) {Tags: [Tag]?}

@endpoint POST /
@required {QuotaCode: str, ServiceCode: str, AwsRegion: str, DesiredValue: num(f64)}
@returns(200) {ServiceQuotaIncreaseRequestInTemplate: ServiceQuotaIncreaseRequestInTemplate?{ServiceCode: str?, ServiceName: str?, QuotaCode: str?, QuotaName: str?, DesiredValue: num(f64)?, AwsRegion: str?, Unit: str?, GlobalQuota: bool?}}

@endpoint POST /
@required {ServiceCode: str, QuotaCode: str, DesiredValue: num(f64)}
@optional {ContextId: str}
@returns(200) {RequestedQuota: RequestedServiceQuotaChange?{Id: str?, CaseId: str?, ServiceCode: str?, ServiceName: str?, QuotaCode: str?, QuotaName: str?, DesiredValue: num(f64)?, Status: str?, Created: str(timestamp)?, LastUpdated: str(timestamp)?, Requester: str?, QuotaArn: str?, GlobalQuota: bool?, Unit: str?, QuotaRequestedAtLevel: str?, QuotaContext: QuotaContextInfo?{ContextScope: str?, ContextScopeType: str?, ContextId: str?}}}

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

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

@end
