UNPKG

41.4 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class ServiceQuotas extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: ServiceQuotas.Types.ClientConfiguration)
13 config: Config & ServiceQuotas.Types.ClientConfiguration;
14 /**
15 * Associates the Service Quotas template with your organization so that when new accounts are created in your organization, the template submits increase requests for the specified service quotas. Use the Service Quotas template to request an increase for any adjustable quota value. After you define the Service Quotas template, use this operation to associate, or enable, the template.
16 */
17 associateServiceQuotaTemplate(params: ServiceQuotas.Types.AssociateServiceQuotaTemplateRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.AssociateServiceQuotaTemplateResponse) => void): Request<ServiceQuotas.Types.AssociateServiceQuotaTemplateResponse, AWSError>;
18 /**
19 * Associates the Service Quotas template with your organization so that when new accounts are created in your organization, the template submits increase requests for the specified service quotas. Use the Service Quotas template to request an increase for any adjustable quota value. After you define the Service Quotas template, use this operation to associate, or enable, the template.
20 */
21 associateServiceQuotaTemplate(callback?: (err: AWSError, data: ServiceQuotas.Types.AssociateServiceQuotaTemplateResponse) => void): Request<ServiceQuotas.Types.AssociateServiceQuotaTemplateResponse, AWSError>;
22 /**
23 * Removes a service quota increase request from the Service Quotas template.
24 */
25 deleteServiceQuotaIncreaseRequestFromTemplate(params: ServiceQuotas.Types.DeleteServiceQuotaIncreaseRequestFromTemplateRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.DeleteServiceQuotaIncreaseRequestFromTemplateResponse) => void): Request<ServiceQuotas.Types.DeleteServiceQuotaIncreaseRequestFromTemplateResponse, AWSError>;
26 /**
27 * Removes a service quota increase request from the Service Quotas template.
28 */
29 deleteServiceQuotaIncreaseRequestFromTemplate(callback?: (err: AWSError, data: ServiceQuotas.Types.DeleteServiceQuotaIncreaseRequestFromTemplateResponse) => void): Request<ServiceQuotas.Types.DeleteServiceQuotaIncreaseRequestFromTemplateResponse, AWSError>;
30 /**
31 * Disables the Service Quotas template. Once the template is disabled, it does not request quota increases for new accounts in your organization. Disabling the quota template does not apply the quota increase requests from the template. Related operations To enable the quota template, call AssociateServiceQuotaTemplate. To delete a specific service quota from the template, use DeleteServiceQuotaIncreaseRequestFromTemplate.
32 */
33 disassociateServiceQuotaTemplate(params: ServiceQuotas.Types.DisassociateServiceQuotaTemplateRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.DisassociateServiceQuotaTemplateResponse) => void): Request<ServiceQuotas.Types.DisassociateServiceQuotaTemplateResponse, AWSError>;
34 /**
35 * Disables the Service Quotas template. Once the template is disabled, it does not request quota increases for new accounts in your organization. Disabling the quota template does not apply the quota increase requests from the template. Related operations To enable the quota template, call AssociateServiceQuotaTemplate. To delete a specific service quota from the template, use DeleteServiceQuotaIncreaseRequestFromTemplate.
36 */
37 disassociateServiceQuotaTemplate(callback?: (err: AWSError, data: ServiceQuotas.Types.DisassociateServiceQuotaTemplateResponse) => void): Request<ServiceQuotas.Types.DisassociateServiceQuotaTemplateResponse, AWSError>;
38 /**
39 * Retrieves the default service quotas values. The Value returned for each quota is the AWS default value, even if the quotas have been increased..
40 */
41 getAWSDefaultServiceQuota(params: ServiceQuotas.Types.GetAWSDefaultServiceQuotaRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.GetAWSDefaultServiceQuotaResponse) => void): Request<ServiceQuotas.Types.GetAWSDefaultServiceQuotaResponse, AWSError>;
42 /**
43 * Retrieves the default service quotas values. The Value returned for each quota is the AWS default value, even if the quotas have been increased..
44 */
45 getAWSDefaultServiceQuota(callback?: (err: AWSError, data: ServiceQuotas.Types.GetAWSDefaultServiceQuotaResponse) => void): Request<ServiceQuotas.Types.GetAWSDefaultServiceQuotaResponse, AWSError>;
46 /**
47 * Retrieves the ServiceQuotaTemplateAssociationStatus value from the service. Use this action to determine if the Service Quota template is associated, or enabled.
48 */
49 getAssociationForServiceQuotaTemplate(params: ServiceQuotas.Types.GetAssociationForServiceQuotaTemplateRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.GetAssociationForServiceQuotaTemplateResponse) => void): Request<ServiceQuotas.Types.GetAssociationForServiceQuotaTemplateResponse, AWSError>;
50 /**
51 * Retrieves the ServiceQuotaTemplateAssociationStatus value from the service. Use this action to determine if the Service Quota template is associated, or enabled.
52 */
53 getAssociationForServiceQuotaTemplate(callback?: (err: AWSError, data: ServiceQuotas.Types.GetAssociationForServiceQuotaTemplateResponse) => void): Request<ServiceQuotas.Types.GetAssociationForServiceQuotaTemplateResponse, AWSError>;
54 /**
55 * Retrieves the details for a particular increase request.
56 */
57 getRequestedServiceQuotaChange(params: ServiceQuotas.Types.GetRequestedServiceQuotaChangeRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.GetRequestedServiceQuotaChangeResponse) => void): Request<ServiceQuotas.Types.GetRequestedServiceQuotaChangeResponse, AWSError>;
58 /**
59 * Retrieves the details for a particular increase request.
60 */
61 getRequestedServiceQuotaChange(callback?: (err: AWSError, data: ServiceQuotas.Types.GetRequestedServiceQuotaChangeResponse) => void): Request<ServiceQuotas.Types.GetRequestedServiceQuotaChangeResponse, AWSError>;
62 /**
63 * Returns the details for the specified service quota. This operation provides a different Value than the GetAWSDefaultServiceQuota operation. This operation returns the applied value for each quota. GetAWSDefaultServiceQuota returns the default AWS value for each quota.
64 */
65 getServiceQuota(params: ServiceQuotas.Types.GetServiceQuotaRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.GetServiceQuotaResponse) => void): Request<ServiceQuotas.Types.GetServiceQuotaResponse, AWSError>;
66 /**
67 * Returns the details for the specified service quota. This operation provides a different Value than the GetAWSDefaultServiceQuota operation. This operation returns the applied value for each quota. GetAWSDefaultServiceQuota returns the default AWS value for each quota.
68 */
69 getServiceQuota(callback?: (err: AWSError, data: ServiceQuotas.Types.GetServiceQuotaResponse) => void): Request<ServiceQuotas.Types.GetServiceQuotaResponse, AWSError>;
70 /**
71 * Returns the details of the service quota increase request in your template.
72 */
73 getServiceQuotaIncreaseRequestFromTemplate(params: ServiceQuotas.Types.GetServiceQuotaIncreaseRequestFromTemplateRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.GetServiceQuotaIncreaseRequestFromTemplateResponse) => void): Request<ServiceQuotas.Types.GetServiceQuotaIncreaseRequestFromTemplateResponse, AWSError>;
74 /**
75 * Returns the details of the service quota increase request in your template.
76 */
77 getServiceQuotaIncreaseRequestFromTemplate(callback?: (err: AWSError, data: ServiceQuotas.Types.GetServiceQuotaIncreaseRequestFromTemplateResponse) => void): Request<ServiceQuotas.Types.GetServiceQuotaIncreaseRequestFromTemplateResponse, AWSError>;
78 /**
79 * Lists all default service quotas for the specified AWS service or all AWS services. ListAWSDefaultServiceQuotas is similar to ListServiceQuotas except for the Value object. The Value object returned by ListAWSDefaultServiceQuotas is the default value assigned by AWS. This request returns a list of all service quotas for the specified service. The listing of each you'll see the default values are the values that AWS provides for the quotas. Always check the NextToken response parameter when calling any of the List* operations. These operations can return an unexpected list of results, even when there are more results available. When this happens, the NextToken response parameter contains a value to pass the next call to the same API to request the next part of the list.
80 */
81 listAWSDefaultServiceQuotas(params: ServiceQuotas.Types.ListAWSDefaultServiceQuotasRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.ListAWSDefaultServiceQuotasResponse) => void): Request<ServiceQuotas.Types.ListAWSDefaultServiceQuotasResponse, AWSError>;
82 /**
83 * Lists all default service quotas for the specified AWS service or all AWS services. ListAWSDefaultServiceQuotas is similar to ListServiceQuotas except for the Value object. The Value object returned by ListAWSDefaultServiceQuotas is the default value assigned by AWS. This request returns a list of all service quotas for the specified service. The listing of each you'll see the default values are the values that AWS provides for the quotas. Always check the NextToken response parameter when calling any of the List* operations. These operations can return an unexpected list of results, even when there are more results available. When this happens, the NextToken response parameter contains a value to pass the next call to the same API to request the next part of the list.
84 */
85 listAWSDefaultServiceQuotas(callback?: (err: AWSError, data: ServiceQuotas.Types.ListAWSDefaultServiceQuotasResponse) => void): Request<ServiceQuotas.Types.ListAWSDefaultServiceQuotasResponse, AWSError>;
86 /**
87 * Requests a list of the changes to quotas for a service.
88 */
89 listRequestedServiceQuotaChangeHistory(params: ServiceQuotas.Types.ListRequestedServiceQuotaChangeHistoryRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.ListRequestedServiceQuotaChangeHistoryResponse) => void): Request<ServiceQuotas.Types.ListRequestedServiceQuotaChangeHistoryResponse, AWSError>;
90 /**
91 * Requests a list of the changes to quotas for a service.
92 */
93 listRequestedServiceQuotaChangeHistory(callback?: (err: AWSError, data: ServiceQuotas.Types.ListRequestedServiceQuotaChangeHistoryResponse) => void): Request<ServiceQuotas.Types.ListRequestedServiceQuotaChangeHistoryResponse, AWSError>;
94 /**
95 * Requests a list of the changes to specific service quotas. This command provides additional granularity over the ListRequestedServiceQuotaChangeHistory command. Once a quota change request has reached CASE_CLOSED, APPROVED, or DENIED, the history has been kept for 90 days.
96 */
97 listRequestedServiceQuotaChangeHistoryByQuota(params: ServiceQuotas.Types.ListRequestedServiceQuotaChangeHistoryByQuotaRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.ListRequestedServiceQuotaChangeHistoryByQuotaResponse) => void): Request<ServiceQuotas.Types.ListRequestedServiceQuotaChangeHistoryByQuotaResponse, AWSError>;
98 /**
99 * Requests a list of the changes to specific service quotas. This command provides additional granularity over the ListRequestedServiceQuotaChangeHistory command. Once a quota change request has reached CASE_CLOSED, APPROVED, or DENIED, the history has been kept for 90 days.
100 */
101 listRequestedServiceQuotaChangeHistoryByQuota(callback?: (err: AWSError, data: ServiceQuotas.Types.ListRequestedServiceQuotaChangeHistoryByQuotaResponse) => void): Request<ServiceQuotas.Types.ListRequestedServiceQuotaChangeHistoryByQuotaResponse, AWSError>;
102 /**
103 * Returns a list of the quota increase requests in the template.
104 */
105 listServiceQuotaIncreaseRequestsInTemplate(params: ServiceQuotas.Types.ListServiceQuotaIncreaseRequestsInTemplateRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.ListServiceQuotaIncreaseRequestsInTemplateResponse) => void): Request<ServiceQuotas.Types.ListServiceQuotaIncreaseRequestsInTemplateResponse, AWSError>;
106 /**
107 * Returns a list of the quota increase requests in the template.
108 */
109 listServiceQuotaIncreaseRequestsInTemplate(callback?: (err: AWSError, data: ServiceQuotas.Types.ListServiceQuotaIncreaseRequestsInTemplateResponse) => void): Request<ServiceQuotas.Types.ListServiceQuotaIncreaseRequestsInTemplateResponse, AWSError>;
110 /**
111 * Lists all service quotas for the specified AWS service. This request returns a list of the service quotas for the specified service. you'll see the default values are the values that AWS provides for the quotas. Always check the NextToken response parameter when calling any of the List* operations. These operations can return an unexpected list of results, even when there are more results available. When this happens, the NextToken response parameter contains a value to pass the next call to the same API to request the next part of the list.
112 */
113 listServiceQuotas(params: ServiceQuotas.Types.ListServiceQuotasRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.ListServiceQuotasResponse) => void): Request<ServiceQuotas.Types.ListServiceQuotasResponse, AWSError>;
114 /**
115 * Lists all service quotas for the specified AWS service. This request returns a list of the service quotas for the specified service. you'll see the default values are the values that AWS provides for the quotas. Always check the NextToken response parameter when calling any of the List* operations. These operations can return an unexpected list of results, even when there are more results available. When this happens, the NextToken response parameter contains a value to pass the next call to the same API to request the next part of the list.
116 */
117 listServiceQuotas(callback?: (err: AWSError, data: ServiceQuotas.Types.ListServiceQuotasResponse) => void): Request<ServiceQuotas.Types.ListServiceQuotasResponse, AWSError>;
118 /**
119 * Lists the AWS services available in Service Quotas. Not all AWS services are available in Service Quotas. To list the see the list of the service quotas for a specific service, use ListServiceQuotas.
120 */
121 listServices(params: ServiceQuotas.Types.ListServicesRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.ListServicesResponse) => void): Request<ServiceQuotas.Types.ListServicesResponse, AWSError>;
122 /**
123 * Lists the AWS services available in Service Quotas. Not all AWS services are available in Service Quotas. To list the see the list of the service quotas for a specific service, use ListServiceQuotas.
124 */
125 listServices(callback?: (err: AWSError, data: ServiceQuotas.Types.ListServicesResponse) => void): Request<ServiceQuotas.Types.ListServicesResponse, AWSError>;
126 /**
127 * Defines and adds a quota to the service quota template. To add a quota to the template, you must provide the ServiceCode, QuotaCode, AwsRegion, and DesiredValue. Once you add a quota to the template, use ListServiceQuotaIncreaseRequestsInTemplate to see the list of quotas in the template.
128 */
129 putServiceQuotaIncreaseRequestIntoTemplate(params: ServiceQuotas.Types.PutServiceQuotaIncreaseRequestIntoTemplateRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.PutServiceQuotaIncreaseRequestIntoTemplateResponse) => void): Request<ServiceQuotas.Types.PutServiceQuotaIncreaseRequestIntoTemplateResponse, AWSError>;
130 /**
131 * Defines and adds a quota to the service quota template. To add a quota to the template, you must provide the ServiceCode, QuotaCode, AwsRegion, and DesiredValue. Once you add a quota to the template, use ListServiceQuotaIncreaseRequestsInTemplate to see the list of quotas in the template.
132 */
133 putServiceQuotaIncreaseRequestIntoTemplate(callback?: (err: AWSError, data: ServiceQuotas.Types.PutServiceQuotaIncreaseRequestIntoTemplateResponse) => void): Request<ServiceQuotas.Types.PutServiceQuotaIncreaseRequestIntoTemplateResponse, AWSError>;
134 /**
135 * Retrieves the details of a service quota increase request. The response to this command provides the details in the RequestedServiceQuotaChange object.
136 */
137 requestServiceQuotaIncrease(params: ServiceQuotas.Types.RequestServiceQuotaIncreaseRequest, callback?: (err: AWSError, data: ServiceQuotas.Types.RequestServiceQuotaIncreaseResponse) => void): Request<ServiceQuotas.Types.RequestServiceQuotaIncreaseResponse, AWSError>;
138 /**
139 * Retrieves the details of a service quota increase request. The response to this command provides the details in the RequestedServiceQuotaChange object.
140 */
141 requestServiceQuotaIncrease(callback?: (err: AWSError, data: ServiceQuotas.Types.RequestServiceQuotaIncreaseResponse) => void): Request<ServiceQuotas.Types.RequestServiceQuotaIncreaseResponse, AWSError>;
142}
143declare namespace ServiceQuotas {
144 export interface AssociateServiceQuotaTemplateRequest {
145 }
146 export interface AssociateServiceQuotaTemplateResponse {
147 }
148 export type AwsRegion = string;
149 export type CustomerServiceEngagementId = string;
150 export type DateTime = Date;
151 export interface DeleteServiceQuotaIncreaseRequestFromTemplateRequest {
152 /**
153 * Specifies the code for the service that you want to delete.
154 */
155 ServiceCode: ServiceCode;
156 /**
157 * Specifies the code for the quota that you want to delete.
158 */
159 QuotaCode: QuotaCode;
160 /**
161 * Specifies the AWS Region for the quota that you want to delete.
162 */
163 AwsRegion: AwsRegion;
164 }
165 export interface DeleteServiceQuotaIncreaseRequestFromTemplateResponse {
166 }
167 export interface DisassociateServiceQuotaTemplateRequest {
168 }
169 export interface DisassociateServiceQuotaTemplateResponse {
170 }
171 export type ErrorCode = "DEPENDENCY_ACCESS_DENIED_ERROR"|"DEPENDENCY_THROTTLING_ERROR"|"DEPENDENCY_SERVICE_ERROR"|"SERVICE_QUOTA_NOT_AVAILABLE_ERROR"|string;
172 export type ErrorMessage = string;
173 export interface ErrorReason {
174 /**
175 * Service Quotas returns the following error values. DEPENDENCY_ACCESS_DENIED_ERROR is returned when the caller does not have permission to call the service or service quota. To resolve the error, you need permission to access the service or service quota. DEPENDENCY_THROTTLING_ERROR is returned when the service being called is throttling Service Quotas. DEPENDENCY_SERVICE_ERROR is returned when the service being called has availability issues. SERVICE_QUOTA_NOT_AVAILABLE_ERROR is returned when there was an error in Service Quotas.
176 */
177 ErrorCode?: ErrorCode;
178 /**
179 * The error message that provides more detail.
180 */
181 ErrorMessage?: ErrorMessage;
182 }
183 export interface GetAWSDefaultServiceQuotaRequest {
184 /**
185 * Specifies the service that you want to use.
186 */
187 ServiceCode: ServiceCode;
188 /**
189 * Identifies the service quota you want to select.
190 */
191 QuotaCode: QuotaCode;
192 }
193 export interface GetAWSDefaultServiceQuotaResponse {
194 /**
195 * Returns the ServiceQuota object which contains all values for a quota.
196 */
197 Quota?: ServiceQuota;
198 }
199 export interface GetAssociationForServiceQuotaTemplateRequest {
200 }
201 export interface GetAssociationForServiceQuotaTemplateResponse {
202 /**
203 * Specifies whether the template is ASSOCIATED or DISASSOCIATED. If the template is ASSOCIATED, then it requests service quota increases for all new accounts created in your organization.
204 */
205 ServiceQuotaTemplateAssociationStatus?: ServiceQuotaTemplateAssociationStatus;
206 }
207 export interface GetRequestedServiceQuotaChangeRequest {
208 /**
209 * Identifies the quota increase request.
210 */
211 RequestId: RequestId;
212 }
213 export interface GetRequestedServiceQuotaChangeResponse {
214 /**
215 * Returns the RequestedServiceQuotaChange object for the specific increase request.
216 */
217 RequestedQuota?: RequestedServiceQuotaChange;
218 }
219 export interface GetServiceQuotaIncreaseRequestFromTemplateRequest {
220 /**
221 * Specifies the service that you want to use.
222 */
223 ServiceCode: ServiceCode;
224 /**
225 * Specifies the quota you want.
226 */
227 QuotaCode: QuotaCode;
228 /**
229 * Specifies the AWS Region for the quota that you want to use.
230 */
231 AwsRegion: AwsRegion;
232 }
233 export interface GetServiceQuotaIncreaseRequestFromTemplateResponse {
234 /**
235 * This object contains the details about the quota increase request.
236 */
237 ServiceQuotaIncreaseRequestInTemplate?: ServiceQuotaIncreaseRequestInTemplate;
238 }
239 export interface GetServiceQuotaRequest {
240 /**
241 * Specifies the service that you want to use.
242 */
243 ServiceCode: ServiceCode;
244 /**
245 * Identifies the service quota you want to select.
246 */
247 QuotaCode: QuotaCode;
248 }
249 export interface GetServiceQuotaResponse {
250 /**
251 * Returns the ServiceQuota object which contains all values for a quota.
252 */
253 Quota?: ServiceQuota;
254 }
255 export type GlobalQuota = boolean;
256 export interface ListAWSDefaultServiceQuotasRequest {
257 /**
258 * Specifies the service that you want to use.
259 */
260 ServiceCode: ServiceCode;
261 /**
262 * (Optional) Use this parameter in a request if you receive a NextToken response in a previous request that indicates that there's more output available. In a subsequent call, set it to the value of the previous call's NextToken response to indicate where the output should continue from. If additional items exist beyond the specified maximum, the NextToken element is present and has a value (isn't null). Include that value as the NextToken request parameter in the call to the operation to get the next part of the results. You should check NextToken after every operation to ensure that you receive all of the results.
263 */
264 NextToken?: NextToken;
265 /**
266 * (Optional) Limits the number of results that you want to include in the response. If you don't include this parameter, the response defaults to a value that's specific to the operation. If additional items exist beyond the specified maximum, the NextToken element is present and has a value (isn't null). Include that value as the NextToken request parameter in the call to the operation to get the next part of the results. You should check NextToken after every operation to ensure that you receive all of the results.
267 */
268 MaxResults?: MaxResults;
269 }
270 export interface ListAWSDefaultServiceQuotasResponse {
271 /**
272 * (Optional) Use this parameter in a request if you receive a NextToken response in a previous request that indicates that there's more output available. In a subsequent call, set it to the value of the previous call's NextToken response to indicate where the output should continue from.
273 */
274 NextToken?: NextToken;
275 /**
276 * A list of the quotas in the account with the AWS default values.
277 */
278 Quotas?: ServiceQuotaListDefinition;
279 }
280 export interface ListRequestedServiceQuotaChangeHistoryByQuotaRequest {
281 /**
282 * Specifies the service that you want to use.
283 */
284 ServiceCode: ServiceCode;
285 /**
286 * Specifies the service quota that you want to use
287 */
288 QuotaCode: QuotaCode;
289 /**
290 * Specifies the status value of the quota increase request.
291 */
292 Status?: RequestStatus;
293 /**
294 * (Optional) Use this parameter in a request if you receive a NextToken response in a previous request that indicates that there's more output available. In a subsequent call, set it to the value of the previous call's NextToken response to indicate where the output should continue from.
295 */
296 NextToken?: NextToken;
297 /**
298 * (Optional) Limits the number of results that you want to include in the response. If you don't include this parameter, the response defaults to a value that's specific to the operation. If additional items exist beyond the specified maximum, the NextToken element is present and has a value (isn't null). Include that value as the NextToken request parameter in the call to the operation to get the next part of the results. You should check NextToken after every operation to ensure that you receive all of the results.
299 */
300 MaxResults?: MaxResults;
301 }
302 export interface ListRequestedServiceQuotaChangeHistoryByQuotaResponse {
303 /**
304 * If present in the response, this value indicates there's more output available that what's included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a very long list. Use this value in the NextToken request parameter in a subsequent call to the operation to continue processing and get the next part of the output. You should repeat this until the NextToken response element comes back empty (as null).
305 */
306 NextToken?: NextToken;
307 /**
308 * Returns a list of service quota requests.
309 */
310 RequestedQuotas?: RequestedServiceQuotaChangeHistoryListDefinition;
311 }
312 export interface ListRequestedServiceQuotaChangeHistoryRequest {
313 /**
314 * Specifies the service that you want to use.
315 */
316 ServiceCode?: ServiceCode;
317 /**
318 * Specifies the status value of the quota increase request.
319 */
320 Status?: RequestStatus;
321 /**
322 * (Optional) Use this parameter in a request if you receive a NextToken response in a previous request that indicates that there's more output available. In a subsequent call, set it to the value of the previous call's NextToken response to indicate where the output should continue from.
323 */
324 NextToken?: NextToken;
325 /**
326 * (Optional) Limits the number of results that you want to include in the response. If you don't include this parameter, the response defaults to a value that's specific to the operation. If additional items exist beyond the specified maximum, the NextToken element is present and has a value (isn't null). Include that value as the NextToken request parameter in the call to the operation to get the next part of the results. You should check NextToken after every operation to ensure that you receive all of the results.
327 */
328 MaxResults?: MaxResults;
329 }
330 export interface ListRequestedServiceQuotaChangeHistoryResponse {
331 /**
332 * If present in the response, this value indicates there's more output available that what's included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a very long list. Use this value in the NextToken request parameter in a subsequent call to the operation to continue processing and get the next part of the output. You should repeat this until the NextToken response element comes back empty (as null).
333 */
334 NextToken?: NextToken;
335 /**
336 * Returns a list of service quota requests.
337 */
338 RequestedQuotas?: RequestedServiceQuotaChangeHistoryListDefinition;
339 }
340 export interface ListServiceQuotaIncreaseRequestsInTemplateRequest {
341 /**
342 * The identifier for a service. When performing an operation, use the ServiceCode to specify a particular service.
343 */
344 ServiceCode?: ServiceCode;
345 /**
346 * Specifies the AWS Region for the quota that you want to use.
347 */
348 AwsRegion?: AwsRegion;
349 /**
350 * (Optional) Use this parameter in a request if you receive a NextToken response in a previous request that indicates that there's more output available. In a subsequent call, set it to the value of the previous call's NextToken response to indicate where the output should continue from.
351 */
352 NextToken?: NextToken;
353 /**
354 * (Optional) Limits the number of results that you want to include in the response. If you don't include this parameter, the response defaults to a value that's specific to the operation. If additional items exist beyond the specified maximum, the NextToken element is present and has a value (isn't null). Include that value as the NextToken request parameter in the call to the operation to get the next part of the results. You should check NextToken after every operation to ensure that you receive all of the results.
355 */
356 MaxResults?: MaxResults;
357 }
358 export interface ListServiceQuotaIncreaseRequestsInTemplateResponse {
359 /**
360 * Returns the list of values of the quota increase request in the template.
361 */
362 ServiceQuotaIncreaseRequestInTemplateList?: ServiceQuotaIncreaseRequestInTemplateList;
363 /**
364 * If present in the response, this value indicates there's more output available that what's included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a very long list. Use this value in the NextToken request parameter in a subsequent call to the operation to continue processing and get the next part of the output. You should repeat this until the NextToken response element comes back empty (as null).
365 */
366 NextToken?: NextToken;
367 }
368 export interface ListServiceQuotasRequest {
369 /**
370 * The identifier for a service. When performing an operation, use the ServiceCode to specify a particular service.
371 */
372 ServiceCode: ServiceCode;
373 /**
374 * (Optional) Use this parameter in a request if you receive a NextToken response in a previous request that indicates that there's more output available. In a subsequent call, set it to the value of the previous call's NextToken response to indicate where the output should continue from.
375 */
376 NextToken?: NextToken;
377 /**
378 * (Optional) Limits the number of results that you want to include in the response. If you don't include this parameter, the response defaults to a value that's specific to the operation. If additional items exist beyond the specified maximum, the NextToken element is present and has a value (isn't null). Include that value as the NextToken request parameter in the call to the operation to get the next part of the results. You should check NextToken after every operation to ensure that you receive all of the results.
379 */
380 MaxResults?: MaxResults;
381 }
382 export interface ListServiceQuotasResponse {
383 /**
384 * If present in the response, this value indicates there's more output available that what's included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a very long list. Use this value in the NextToken request parameter in a subsequent call to the operation to continue processing and get the next part of the output. You should repeat this until the NextToken response element comes back empty (as null).
385 */
386 NextToken?: NextToken;
387 /**
388 * The response information for a quota lists all attribute information for the quota.
389 */
390 Quotas?: ServiceQuotaListDefinition;
391 }
392 export interface ListServicesRequest {
393 /**
394 * (Optional) Use this parameter in a request if you receive a NextToken response in a previous request that indicates that there's more output available. In a subsequent call, set it to the value of the previous call's NextToken response to indicate where the output should continue from.
395 */
396 NextToken?: NextToken;
397 /**
398 * (Optional) Limits the number of results that you want to include in the response. If you don't include this parameter, the response defaults to a value that's specific to the operation. If additional items exist beyond the specified maximum, the NextToken element is present and has a value (isn't null). Include that value as the NextToken request parameter in the call to the operation to get the next part of the results. You should check NextToken after every operation to ensure that you receive all of the results.
399 */
400 MaxResults?: MaxResults;
401 }
402 export interface ListServicesResponse {
403 /**
404 * If present in the response, this value indicates there's more output available that what's included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a very long list. Use this value in the NextToken request parameter in a subsequent call to the operation to continue processing and get the next part of the output. You should repeat this until the NextToken response element comes back empty (as null).
405 */
406 NextToken?: NextToken;
407 /**
408 * Returns a list of services.
409 */
410 Services?: ServiceInfoListDefinition;
411 }
412 export type MaxResults = number;
413 export type MetricDimensionName = string;
414 export type MetricDimensionValue = string;
415 export type MetricDimensionsMapDefinition = {[key: string]: MetricDimensionValue};
416 export interface MetricInfo {
417 /**
418 * The namespace of the metric. The namespace is a container for CloudWatch metrics. You can specify a name for the namespace when you create a metric.
419 */
420 MetricNamespace?: QuotaMetricNamespace;
421 /**
422 * The name of the CloudWatch metric that measures usage of a service quota. This is a required field.
423 */
424 MetricName?: QuotaMetricName;
425 /**
426 * A dimension is a name/value pair that is part of the identity of a metric. Every metric has specific characteristics that describe it, and you can think of dimensions as categories for those characteristics. These dimensions are part of the CloudWatch Metric Identity that measures usage against a particular service quota.
427 */
428 MetricDimensions?: MetricDimensionsMapDefinition;
429 /**
430 * Statistics are metric data aggregations over specified periods of time. This is the recommended statistic to use when comparing usage in the CloudWatch Metric against your Service Quota.
431 */
432 MetricStatisticRecommendation?: Statistic;
433 }
434 export type NextToken = string;
435 export type PeriodUnit = "MICROSECOND"|"MILLISECOND"|"SECOND"|"MINUTE"|"HOUR"|"DAY"|"WEEK"|string;
436 export type PeriodValue = number;
437 export interface PutServiceQuotaIncreaseRequestIntoTemplateRequest {
438 /**
439 * Specifies the service quota that you want to use.
440 */
441 QuotaCode: QuotaCode;
442 /**
443 * Specifies the service that you want to use.
444 */
445 ServiceCode: ServiceCode;
446 /**
447 * Specifies the AWS Region for the quota.
448 */
449 AwsRegion: AwsRegion;
450 /**
451 * Specifies the new, increased value for the quota.
452 */
453 DesiredValue: QuotaValue;
454 }
455 export interface PutServiceQuotaIncreaseRequestIntoTemplateResponse {
456 /**
457 * A structure that contains information about one service quota increase request.
458 */
459 ServiceQuotaIncreaseRequestInTemplate?: ServiceQuotaIncreaseRequestInTemplate;
460 }
461 export type QuotaAdjustable = boolean;
462 export type QuotaArn = string;
463 export type QuotaCode = string;
464 export type QuotaMetricName = string;
465 export type QuotaMetricNamespace = string;
466 export type QuotaName = string;
467 export interface QuotaPeriod {
468 /**
469 * The value of a period.
470 */
471 PeriodValue?: PeriodValue;
472 /**
473 * The time unit of a period.
474 */
475 PeriodUnit?: PeriodUnit;
476 }
477 export type QuotaUnit = string;
478 export type QuotaValue = number;
479 export type RequestId = string;
480 export interface RequestServiceQuotaIncreaseRequest {
481 /**
482 * Specifies the service that you want to use.
483 */
484 ServiceCode: ServiceCode;
485 /**
486 * Specifies the service quota that you want to use.
487 */
488 QuotaCode: QuotaCode;
489 /**
490 * Specifies the value submitted in the service quota increase request.
491 */
492 DesiredValue: QuotaValue;
493 }
494 export interface RequestServiceQuotaIncreaseResponse {
495 /**
496 * Returns a list of service quota requests.
497 */
498 RequestedQuota?: RequestedServiceQuotaChange;
499 }
500 export type RequestStatus = "PENDING"|"CASE_OPENED"|"APPROVED"|"DENIED"|"CASE_CLOSED"|string;
501 export interface RequestedServiceQuotaChange {
502 /**
503 * The unique identifier of a requested service quota change.
504 */
505 Id?: RequestId;
506 /**
507 * The case Id for the service quota increase request.
508 */
509 CaseId?: CustomerServiceEngagementId;
510 /**
511 * Specifies the service that you want to use.
512 */
513 ServiceCode?: ServiceCode;
514 /**
515 * The name of the AWS service specified in the increase request.
516 */
517 ServiceName?: ServiceName;
518 /**
519 * Specifies the service quota that you want to use.
520 */
521 QuotaCode?: QuotaCode;
522 /**
523 * Name of the service quota.
524 */
525 QuotaName?: QuotaName;
526 /**
527 * New increased value for the service quota.
528 */
529 DesiredValue?: QuotaValue;
530 /**
531 * State of the service quota increase request.
532 */
533 Status?: RequestStatus;
534 /**
535 * The date and time when the service quota increase request was received and the case Id was created.
536 */
537 Created?: DateTime;
538 /**
539 * The date and time of the most recent change in the service quota increase request.
540 */
541 LastUpdated?: DateTime;
542 /**
543 * The IAM identity who submitted the service quota increase request.
544 */
545 Requester?: Requester;
546 /**
547 * The Amazon Resource Name (ARN) of the service quota.
548 */
549 QuotaArn?: QuotaArn;
550 /**
551 * Identifies if the quota is global.
552 */
553 GlobalQuota?: GlobalQuota;
554 /**
555 * Specifies the unit used for the quota.
556 */
557 Unit?: QuotaUnit;
558 }
559 export type RequestedServiceQuotaChangeHistoryListDefinition = RequestedServiceQuotaChange[];
560 export type Requester = string;
561 export type ServiceCode = string;
562 export interface ServiceInfo {
563 /**
564 * Specifies the service that you want to use.
565 */
566 ServiceCode?: ServiceCode;
567 /**
568 * The name of the AWS service specified in the increase request.
569 */
570 ServiceName?: ServiceName;
571 }
572 export type ServiceInfoListDefinition = ServiceInfo[];
573 export type ServiceName = string;
574 export interface ServiceQuota {
575 /**
576 * Specifies the service that you want to use.
577 */
578 ServiceCode?: ServiceCode;
579 /**
580 * The name of the AWS service specified in the increase request.
581 */
582 ServiceName?: ServiceName;
583 /**
584 * The Amazon Resource Name (ARN) of the service quota.
585 */
586 QuotaArn?: QuotaArn;
587 /**
588 * The code identifier for the service quota specified.
589 */
590 QuotaCode?: QuotaCode;
591 /**
592 * The name identifier of the service quota.
593 */
594 QuotaName?: QuotaName;
595 /**
596 * The value of service quota.
597 */
598 Value?: QuotaValue;
599 /**
600 * The unit of measurement for the value of the service quota.
601 */
602 Unit?: QuotaUnit;
603 /**
604 * Specifies if the quota value can be increased.
605 */
606 Adjustable?: QuotaAdjustable;
607 /**
608 * Specifies if the quota is global.
609 */
610 GlobalQuota?: GlobalQuota;
611 /**
612 * Specifies the details about the measurement.
613 */
614 UsageMetric?: MetricInfo;
615 /**
616 * Identifies the unit and value of how time is measured.
617 */
618 Period?: QuotaPeriod;
619 /**
620 * Specifies the ErrorCode and ErrorMessage when success isn't achieved.
621 */
622 ErrorReason?: ErrorReason;
623 }
624 export interface ServiceQuotaIncreaseRequestInTemplate {
625 /**
626 * The code identifier for the AWS service specified in the increase request.
627 */
628 ServiceCode?: ServiceCode;
629 /**
630 * The name of the AWS service specified in the increase request.
631 */
632 ServiceName?: ServiceName;
633 /**
634 * The code identifier for the service quota specified in the increase request.
635 */
636 QuotaCode?: QuotaCode;
637 /**
638 * The name of the service quota in the increase request.
639 */
640 QuotaName?: QuotaName;
641 /**
642 * Identifies the new, increased value of the service quota in the increase request.
643 */
644 DesiredValue?: QuotaValue;
645 /**
646 * The AWS Region where the increase request occurs.
647 */
648 AwsRegion?: AwsRegion;
649 /**
650 * The unit of measure for the increase request.
651 */
652 Unit?: QuotaUnit;
653 /**
654 * Specifies if the quota is a global quota.
655 */
656 GlobalQuota?: GlobalQuota;
657 }
658 export type ServiceQuotaIncreaseRequestInTemplateList = ServiceQuotaIncreaseRequestInTemplate[];
659 export type ServiceQuotaListDefinition = ServiceQuota[];
660 export type ServiceQuotaTemplateAssociationStatus = "ASSOCIATED"|"DISASSOCIATED"|string;
661 export type Statistic = string;
662 /**
663 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
664 */
665 export type apiVersion = "2019-06-24"|"latest"|string;
666 export interface ClientApiVersions {
667 /**
668 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
669 */
670 apiVersion?: apiVersion;
671 }
672 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
673 /**
674 * Contains interfaces for use with the ServiceQuotas client.
675 */
676 export import Types = ServiceQuotas;
677}
678export = ServiceQuotas;