@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 /
@desc Associates your quota request template with your organization. When a new Amazon Web Services account is created in your organization, the quota increase requests in the template are automatically applied to the account. You can add a quota increase request for any adjustable quota to your template.

@endpoint POST /
@desc Deletes the quota increase request for the specified quota from your quota request template.
@required {ServiceCode: str, QuotaCode: str, AwsRegion: str}

@endpoint POST /
@desc Disables your quota request template. After a template is disabled, the quota increase requests in the template are not applied to new Amazon Web Services accounts in your organization. Disabling a quota request template does not apply its quota increase requests.

@endpoint POST /
@desc Retrieves the default value for the specified quota. The default value does not reflect any quota increases.
@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 /
@desc Retrieves the status of the association for the quota request template.
@returns(200) {ServiceQuotaTemplateAssociationStatus: str?}

@endpoint POST /
@desc Retrieves information about the specified quota increase request.
@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 /
@desc Retrieves the applied quota value for the specified quota. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved.
@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 /
@desc Retrieves information about the specified quota increase request in your quota request template.
@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 /
@desc Lists the default values for the quotas for the specified Amazon Web Service. A default value does not reflect any quota increases.
@required {ServiceCode: str}
@optional {NextToken: str, MaxResults: int}
@returns(200) {NextToken: str?, Quotas: [ServiceQuota]?}

@endpoint POST /
@desc Retrieves the quota increase requests for the specified Amazon Web Service.
@optional {ServiceCode: str, Status: str, NextToken: str, MaxResults: int, QuotaRequestedAtLevel: str}
@returns(200) {NextToken: str?, RequestedQuotas: [RequestedServiceQuotaChange]?}

@endpoint POST /
@desc Retrieves the quota increase requests for the specified quota.
@required {ServiceCode: str, QuotaCode: str}
@optional {Status: str, NextToken: str, MaxResults: int, QuotaRequestedAtLevel: str}
@returns(200) {NextToken: str?, RequestedQuotas: [RequestedServiceQuotaChange]?}

@endpoint POST /
@desc Lists the quota increase requests in the specified quota request template.
@optional {ServiceCode: str, AwsRegion: str, NextToken: str, MaxResults: int}
@returns(200) {ServiceQuotaIncreaseRequestInTemplateList: [ServiceQuotaIncreaseRequestInTemplate]?, NextToken: str?}

@endpoint POST /
@desc Lists the applied quota values for the specified Amazon Web Service. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved.
@required {ServiceCode: str}
@optional {NextToken: str, MaxResults: int, QuotaCode: str, QuotaAppliedAtLevel: str}
@returns(200) {NextToken: str?, Quotas: [ServiceQuota]?}

@endpoint POST /
@desc Lists the names and codes for the Amazon Web Services integrated with Service Quotas.
@optional {NextToken: str, MaxResults: int}
@returns(200) {NextToken: str?, Services: [ServiceInfo]?}

@endpoint POST /
@desc Returns a list of the tags assigned to the specified applied quota.
@required {ResourceARN: str}
@returns(200) {Tags: [Tag]?}

@endpoint POST /
@desc Adds a quota increase request to your quota request template.
@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 /
@desc Submits a quota increase request for the specified quota.
@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 /
@desc Adds tags to the specified applied quota. You can include one or more tags to add to the quota.
@required {ResourceARN: str, Tags: [Tag]}

@endpoint POST /
@desc Removes tags from the specified applied quota. You can specify one or more tags to remove.
@required {ResourceARN: str, TagKeys: [str]}

@end
