@aws-sdk/client-service-quotas 3.300.0 → 3.303.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -156,36 +156,32 @@ class ServiceQuotaTemplateNotInUseException extends ServiceQuotasServiceExceptio
156
156
  }
157
157
  }
158
158
  exports.ServiceQuotaTemplateNotInUseException = ServiceQuotaTemplateNotInUseException;
159
- var ErrorCode;
160
- (function (ErrorCode) {
161
- ErrorCode["DEPENDENCY_ACCESS_DENIED_ERROR"] = "DEPENDENCY_ACCESS_DENIED_ERROR";
162
- ErrorCode["DEPENDENCY_SERVICE_ERROR"] = "DEPENDENCY_SERVICE_ERROR";
163
- ErrorCode["DEPENDENCY_THROTTLING_ERROR"] = "DEPENDENCY_THROTTLING_ERROR";
164
- ErrorCode["SERVICE_QUOTA_NOT_AVAILABLE_ERROR"] = "SERVICE_QUOTA_NOT_AVAILABLE_ERROR";
165
- })(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
166
- var ServiceQuotaTemplateAssociationStatus;
167
- (function (ServiceQuotaTemplateAssociationStatus) {
168
- ServiceQuotaTemplateAssociationStatus["ASSOCIATED"] = "ASSOCIATED";
169
- ServiceQuotaTemplateAssociationStatus["DISASSOCIATED"] = "DISASSOCIATED";
170
- })(ServiceQuotaTemplateAssociationStatus = exports.ServiceQuotaTemplateAssociationStatus || (exports.ServiceQuotaTemplateAssociationStatus = {}));
171
- var PeriodUnit;
172
- (function (PeriodUnit) {
173
- PeriodUnit["DAY"] = "DAY";
174
- PeriodUnit["HOUR"] = "HOUR";
175
- PeriodUnit["MICROSECOND"] = "MICROSECOND";
176
- PeriodUnit["MILLISECOND"] = "MILLISECOND";
177
- PeriodUnit["MINUTE"] = "MINUTE";
178
- PeriodUnit["SECOND"] = "SECOND";
179
- PeriodUnit["WEEK"] = "WEEK";
180
- })(PeriodUnit = exports.PeriodUnit || (exports.PeriodUnit = {}));
181
- var RequestStatus;
182
- (function (RequestStatus) {
183
- RequestStatus["APPROVED"] = "APPROVED";
184
- RequestStatus["CASE_CLOSED"] = "CASE_CLOSED";
185
- RequestStatus["CASE_OPENED"] = "CASE_OPENED";
186
- RequestStatus["DENIED"] = "DENIED";
187
- RequestStatus["PENDING"] = "PENDING";
188
- })(RequestStatus = exports.RequestStatus || (exports.RequestStatus = {}));
159
+ exports.ErrorCode = {
160
+ DEPENDENCY_ACCESS_DENIED_ERROR: "DEPENDENCY_ACCESS_DENIED_ERROR",
161
+ DEPENDENCY_SERVICE_ERROR: "DEPENDENCY_SERVICE_ERROR",
162
+ DEPENDENCY_THROTTLING_ERROR: "DEPENDENCY_THROTTLING_ERROR",
163
+ SERVICE_QUOTA_NOT_AVAILABLE_ERROR: "SERVICE_QUOTA_NOT_AVAILABLE_ERROR",
164
+ };
165
+ exports.ServiceQuotaTemplateAssociationStatus = {
166
+ ASSOCIATED: "ASSOCIATED",
167
+ DISASSOCIATED: "DISASSOCIATED",
168
+ };
169
+ exports.PeriodUnit = {
170
+ DAY: "DAY",
171
+ HOUR: "HOUR",
172
+ MICROSECOND: "MICROSECOND",
173
+ MILLISECOND: "MILLISECOND",
174
+ MINUTE: "MINUTE",
175
+ SECOND: "SECOND",
176
+ WEEK: "WEEK",
177
+ };
178
+ exports.RequestStatus = {
179
+ APPROVED: "APPROVED",
180
+ CASE_CLOSED: "CASE_CLOSED",
181
+ CASE_OPENED: "CASE_OPENED",
182
+ DENIED: "DENIED",
183
+ PENDING: "PENDING",
184
+ };
189
185
  class InvalidPaginationTokenException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
190
186
  constructor(opts) {
191
187
  super({
@@ -142,36 +142,32 @@ export class ServiceQuotaTemplateNotInUseException extends __BaseException {
142
142
  this.Message = opts.Message;
143
143
  }
144
144
  }
145
- export var ErrorCode;
146
- (function (ErrorCode) {
147
- ErrorCode["DEPENDENCY_ACCESS_DENIED_ERROR"] = "DEPENDENCY_ACCESS_DENIED_ERROR";
148
- ErrorCode["DEPENDENCY_SERVICE_ERROR"] = "DEPENDENCY_SERVICE_ERROR";
149
- ErrorCode["DEPENDENCY_THROTTLING_ERROR"] = "DEPENDENCY_THROTTLING_ERROR";
150
- ErrorCode["SERVICE_QUOTA_NOT_AVAILABLE_ERROR"] = "SERVICE_QUOTA_NOT_AVAILABLE_ERROR";
151
- })(ErrorCode || (ErrorCode = {}));
152
- export var ServiceQuotaTemplateAssociationStatus;
153
- (function (ServiceQuotaTemplateAssociationStatus) {
154
- ServiceQuotaTemplateAssociationStatus["ASSOCIATED"] = "ASSOCIATED";
155
- ServiceQuotaTemplateAssociationStatus["DISASSOCIATED"] = "DISASSOCIATED";
156
- })(ServiceQuotaTemplateAssociationStatus || (ServiceQuotaTemplateAssociationStatus = {}));
157
- export var PeriodUnit;
158
- (function (PeriodUnit) {
159
- PeriodUnit["DAY"] = "DAY";
160
- PeriodUnit["HOUR"] = "HOUR";
161
- PeriodUnit["MICROSECOND"] = "MICROSECOND";
162
- PeriodUnit["MILLISECOND"] = "MILLISECOND";
163
- PeriodUnit["MINUTE"] = "MINUTE";
164
- PeriodUnit["SECOND"] = "SECOND";
165
- PeriodUnit["WEEK"] = "WEEK";
166
- })(PeriodUnit || (PeriodUnit = {}));
167
- export var RequestStatus;
168
- (function (RequestStatus) {
169
- RequestStatus["APPROVED"] = "APPROVED";
170
- RequestStatus["CASE_CLOSED"] = "CASE_CLOSED";
171
- RequestStatus["CASE_OPENED"] = "CASE_OPENED";
172
- RequestStatus["DENIED"] = "DENIED";
173
- RequestStatus["PENDING"] = "PENDING";
174
- })(RequestStatus || (RequestStatus = {}));
145
+ export const ErrorCode = {
146
+ DEPENDENCY_ACCESS_DENIED_ERROR: "DEPENDENCY_ACCESS_DENIED_ERROR",
147
+ DEPENDENCY_SERVICE_ERROR: "DEPENDENCY_SERVICE_ERROR",
148
+ DEPENDENCY_THROTTLING_ERROR: "DEPENDENCY_THROTTLING_ERROR",
149
+ SERVICE_QUOTA_NOT_AVAILABLE_ERROR: "SERVICE_QUOTA_NOT_AVAILABLE_ERROR",
150
+ };
151
+ export const ServiceQuotaTemplateAssociationStatus = {
152
+ ASSOCIATED: "ASSOCIATED",
153
+ DISASSOCIATED: "DISASSOCIATED",
154
+ };
155
+ export const PeriodUnit = {
156
+ DAY: "DAY",
157
+ HOUR: "HOUR",
158
+ MICROSECOND: "MICROSECOND",
159
+ MILLISECOND: "MILLISECOND",
160
+ MINUTE: "MINUTE",
161
+ SECOND: "SECOND",
162
+ WEEK: "WEEK",
163
+ };
164
+ export const RequestStatus = {
165
+ APPROVED: "APPROVED",
166
+ CASE_CLOSED: "CASE_CLOSED",
167
+ CASE_OPENED: "CASE_OPENED",
168
+ DENIED: "DENIED",
169
+ PENDING: "PENDING",
170
+ };
175
171
  export class InvalidPaginationTokenException extends __BaseException {
176
172
  constructor(opts) {
177
173
  super({
@@ -27,7 +27,7 @@ export interface DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput exte
27
27
  * import { ServiceQuotasClient, DeleteServiceQuotaIncreaseRequestFromTemplateCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
28
28
  * // const { ServiceQuotasClient, DeleteServiceQuotaIncreaseRequestFromTemplateCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
29
29
  * const client = new ServiceQuotasClient(config);
30
- * const input = {
30
+ * const input = { // DeleteServiceQuotaIncreaseRequestFromTemplateRequest
31
31
  * ServiceCode: "STRING_VALUE", // required
32
32
  * QuotaCode: "STRING_VALUE", // required
33
33
  * AwsRegion: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ export interface GetAWSDefaultServiceQuotaCommandOutput extends GetAWSDefaultSer
27
27
  * import { ServiceQuotasClient, GetAWSDefaultServiceQuotaCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
28
28
  * // const { ServiceQuotasClient, GetAWSDefaultServiceQuotaCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
29
29
  * const client = new ServiceQuotasClient(config);
30
- * const input = {
30
+ * const input = { // GetAWSDefaultServiceQuotaRequest
31
31
  * ServiceCode: "STRING_VALUE", // required
32
32
  * QuotaCode: "STRING_VALUE", // required
33
33
  * };
@@ -26,7 +26,7 @@ export interface GetRequestedServiceQuotaChangeCommandOutput extends GetRequeste
26
26
  * import { ServiceQuotasClient, GetRequestedServiceQuotaChangeCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
27
27
  * // const { ServiceQuotasClient, GetRequestedServiceQuotaChangeCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
28
28
  * const client = new ServiceQuotasClient(config);
29
- * const input = {
29
+ * const input = { // GetRequestedServiceQuotaChangeRequest
30
30
  * RequestId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetRequestedServiceQuotaChangeCommand(input);
@@ -28,7 +28,7 @@ export interface GetServiceQuotaCommandOutput extends GetServiceQuotaResponse, _
28
28
  * import { ServiceQuotasClient, GetServiceQuotaCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
29
29
  * // const { ServiceQuotasClient, GetServiceQuotaCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
30
30
  * const client = new ServiceQuotasClient(config);
31
- * const input = {
31
+ * const input = { // GetServiceQuotaRequest
32
32
  * ServiceCode: "STRING_VALUE", // required
33
33
  * QuotaCode: "STRING_VALUE", // required
34
34
  * };
@@ -27,7 +27,7 @@ export interface GetServiceQuotaIncreaseRequestFromTemplateCommandOutput extends
27
27
  * import { ServiceQuotasClient, GetServiceQuotaIncreaseRequestFromTemplateCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
28
28
  * // const { ServiceQuotasClient, GetServiceQuotaIncreaseRequestFromTemplateCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
29
29
  * const client = new ServiceQuotasClient(config);
30
- * const input = {
30
+ * const input = { // GetServiceQuotaIncreaseRequestFromTemplateRequest
31
31
  * ServiceCode: "STRING_VALUE", // required
32
32
  * QuotaCode: "STRING_VALUE", // required
33
33
  * AwsRegion: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ export interface ListAWSDefaultServiceQuotasCommandOutput extends ListAWSDefault
27
27
  * import { ServiceQuotasClient, ListAWSDefaultServiceQuotasCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
28
28
  * // const { ServiceQuotasClient, ListAWSDefaultServiceQuotasCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
29
29
  * const client = new ServiceQuotasClient(config);
30
- * const input = {
30
+ * const input = { // ListAWSDefaultServiceQuotasRequest
31
31
  * ServiceCode: "STRING_VALUE", // required
32
32
  * NextToken: "STRING_VALUE",
33
33
  * MaxResults: Number("int"),
@@ -26,7 +26,7 @@ export interface ListRequestedServiceQuotaChangeHistoryByQuotaCommandOutput exte
26
26
  * import { ServiceQuotasClient, ListRequestedServiceQuotaChangeHistoryByQuotaCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
27
27
  * // const { ServiceQuotasClient, ListRequestedServiceQuotaChangeHistoryByQuotaCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
28
28
  * const client = new ServiceQuotasClient(config);
29
- * const input = {
29
+ * const input = { // ListRequestedServiceQuotaChangeHistoryByQuotaRequest
30
30
  * ServiceCode: "STRING_VALUE", // required
31
31
  * QuotaCode: "STRING_VALUE", // required
32
32
  * Status: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListRequestedServiceQuotaChangeHistoryCommandOutput extends Lis
26
26
  * import { ServiceQuotasClient, ListRequestedServiceQuotaChangeHistoryCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
27
27
  * // const { ServiceQuotasClient, ListRequestedServiceQuotaChangeHistoryCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
28
28
  * const client = new ServiceQuotasClient(config);
29
- * const input = {
29
+ * const input = { // ListRequestedServiceQuotaChangeHistoryRequest
30
30
  * ServiceCode: "STRING_VALUE",
31
31
  * Status: "STRING_VALUE",
32
32
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListServiceQuotaIncreaseRequestsInTemplateCommandOutput extends
26
26
  * import { ServiceQuotasClient, ListServiceQuotaIncreaseRequestsInTemplateCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
27
27
  * // const { ServiceQuotasClient, ListServiceQuotaIncreaseRequestsInTemplateCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
28
28
  * const client = new ServiceQuotasClient(config);
29
- * const input = {
29
+ * const input = { // ListServiceQuotaIncreaseRequestsInTemplateRequest
30
30
  * ServiceCode: "STRING_VALUE",
31
31
  * AwsRegion: "STRING_VALUE",
32
32
  * NextToken: "STRING_VALUE",
@@ -28,7 +28,7 @@ export interface ListServiceQuotasCommandOutput extends ListServiceQuotasRespons
28
28
  * import { ServiceQuotasClient, ListServiceQuotasCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
29
29
  * // const { ServiceQuotasClient, ListServiceQuotasCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
30
30
  * const client = new ServiceQuotasClient(config);
31
- * const input = {
31
+ * const input = { // ListServiceQuotasRequest
32
32
  * ServiceCode: "STRING_VALUE", // required
33
33
  * NextToken: "STRING_VALUE",
34
34
  * MaxResults: Number("int"),
@@ -26,7 +26,7 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad
26
26
  * import { ServiceQuotasClient, ListServicesCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
27
27
  * // const { ServiceQuotasClient, ListServicesCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
28
28
  * const client = new ServiceQuotasClient(config);
29
- * const input = {
29
+ * const input = { // ListServicesRequest
30
30
  * NextToken: "STRING_VALUE",
31
31
  * MaxResults: Number("int"),
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { ServiceQuotasClient, ListTagsForResourceCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
27
27
  * // const { ServiceQuotasClient, ListTagsForResourceCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
28
28
  * const client = new ServiceQuotasClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -26,7 +26,7 @@ export interface PutServiceQuotaIncreaseRequestIntoTemplateCommandOutput extends
26
26
  * import { ServiceQuotasClient, PutServiceQuotaIncreaseRequestIntoTemplateCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
27
27
  * // const { ServiceQuotasClient, PutServiceQuotaIncreaseRequestIntoTemplateCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
28
28
  * const client = new ServiceQuotasClient(config);
29
- * const input = {
29
+ * const input = { // PutServiceQuotaIncreaseRequestIntoTemplateRequest
30
30
  * QuotaCode: "STRING_VALUE", // required
31
31
  * ServiceCode: "STRING_VALUE", // required
32
32
  * AwsRegion: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface RequestServiceQuotaIncreaseCommandOutput extends RequestService
26
26
  * import { ServiceQuotasClient, RequestServiceQuotaIncreaseCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
27
27
  * // const { ServiceQuotasClient, RequestServiceQuotaIncreaseCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
28
28
  * const client = new ServiceQuotasClient(config);
29
- * const input = {
29
+ * const input = { // RequestServiceQuotaIncreaseRequest
30
30
  * ServiceCode: "STRING_VALUE", // required
31
31
  * QuotaCode: "STRING_VALUE", // required
32
32
  * DesiredValue: Number("double"), // required
@@ -27,10 +27,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
27
27
  * import { ServiceQuotasClient, TagResourceCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
28
28
  * // const { ServiceQuotasClient, TagResourceCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
29
29
  * const client = new ServiceQuotasClient(config);
30
- * const input = {
30
+ * const input = { // TagResourceRequest
31
31
  * ResourceARN: "STRING_VALUE", // required
32
- * Tags: [ // required
33
- * {
32
+ * Tags: [ // InputTags // required
33
+ * { // Tag
34
34
  * Key: "STRING_VALUE", // required
35
35
  * Value: "STRING_VALUE", // required
36
36
  * },
@@ -27,9 +27,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
27
27
  * import { ServiceQuotasClient, UntagResourceCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
28
28
  * // const { ServiceQuotasClient, UntagResourceCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
29
29
  * const client = new ServiceQuotasClient(config);
30
- * const input = {
30
+ * const input = { // UntagResourceRequest
31
31
  * ResourceARN: "STRING_VALUE", // required
32
- * TagKeys: [ // required
32
+ * TagKeys: [ // InputTagKeys // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * };
@@ -189,13 +189,18 @@ export declare class ServiceQuotaTemplateNotInUseException extends __BaseExcepti
189
189
  }
190
190
  /**
191
191
  * @public
192
+ * @enum
192
193
  */
193
- export declare enum ErrorCode {
194
- DEPENDENCY_ACCESS_DENIED_ERROR = "DEPENDENCY_ACCESS_DENIED_ERROR",
195
- DEPENDENCY_SERVICE_ERROR = "DEPENDENCY_SERVICE_ERROR",
196
- DEPENDENCY_THROTTLING_ERROR = "DEPENDENCY_THROTTLING_ERROR",
197
- SERVICE_QUOTA_NOT_AVAILABLE_ERROR = "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"
198
- }
194
+ export declare const ErrorCode: {
195
+ readonly DEPENDENCY_ACCESS_DENIED_ERROR: "DEPENDENCY_ACCESS_DENIED_ERROR";
196
+ readonly DEPENDENCY_SERVICE_ERROR: "DEPENDENCY_SERVICE_ERROR";
197
+ readonly DEPENDENCY_THROTTLING_ERROR: "DEPENDENCY_THROTTLING_ERROR";
198
+ readonly SERVICE_QUOTA_NOT_AVAILABLE_ERROR: "SERVICE_QUOTA_NOT_AVAILABLE_ERROR";
199
+ };
200
+ /**
201
+ * @public
202
+ */
203
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
199
204
  /**
200
205
  * @public
201
206
  * <p>An error that explains why an action did not succeed.</p>
@@ -239,11 +244,16 @@ export interface GetAssociationForServiceQuotaTemplateRequest {
239
244
  }
240
245
  /**
241
246
  * @public
247
+ * @enum
242
248
  */
243
- export declare enum ServiceQuotaTemplateAssociationStatus {
244
- ASSOCIATED = "ASSOCIATED",
245
- DISASSOCIATED = "DISASSOCIATED"
246
- }
249
+ export declare const ServiceQuotaTemplateAssociationStatus: {
250
+ readonly ASSOCIATED: "ASSOCIATED";
251
+ readonly DISASSOCIATED: "DISASSOCIATED";
252
+ };
253
+ /**
254
+ * @public
255
+ */
256
+ export type ServiceQuotaTemplateAssociationStatus = (typeof ServiceQuotaTemplateAssociationStatus)[keyof typeof ServiceQuotaTemplateAssociationStatus];
247
257
  /**
248
258
  * @public
249
259
  */
@@ -270,16 +280,21 @@ export interface GetAWSDefaultServiceQuotaRequest {
270
280
  }
271
281
  /**
272
282
  * @public
283
+ * @enum
273
284
  */
274
- export declare enum PeriodUnit {
275
- DAY = "DAY",
276
- HOUR = "HOUR",
277
- MICROSECOND = "MICROSECOND",
278
- MILLISECOND = "MILLISECOND",
279
- MINUTE = "MINUTE",
280
- SECOND = "SECOND",
281
- WEEK = "WEEK"
282
- }
285
+ export declare const PeriodUnit: {
286
+ readonly DAY: "DAY";
287
+ readonly HOUR: "HOUR";
288
+ readonly MICROSECOND: "MICROSECOND";
289
+ readonly MILLISECOND: "MILLISECOND";
290
+ readonly MINUTE: "MINUTE";
291
+ readonly SECOND: "SECOND";
292
+ readonly WEEK: "WEEK";
293
+ };
294
+ /**
295
+ * @public
296
+ */
297
+ export type PeriodUnit = (typeof PeriodUnit)[keyof typeof PeriodUnit];
283
298
  /**
284
299
  * @public
285
300
  * <p>Information about the quota period.</p>
@@ -391,14 +406,19 @@ export interface GetRequestedServiceQuotaChangeRequest {
391
406
  }
392
407
  /**
393
408
  * @public
409
+ * @enum
394
410
  */
395
- export declare enum RequestStatus {
396
- APPROVED = "APPROVED",
397
- CASE_CLOSED = "CASE_CLOSED",
398
- CASE_OPENED = "CASE_OPENED",
399
- DENIED = "DENIED",
400
- PENDING = "PENDING"
401
- }
411
+ export declare const RequestStatus: {
412
+ readonly APPROVED: "APPROVED";
413
+ readonly CASE_CLOSED: "CASE_CLOSED";
414
+ readonly CASE_OPENED: "CASE_OPENED";
415
+ readonly DENIED: "DENIED";
416
+ readonly PENDING: "PENDING";
417
+ };
418
+ /**
419
+ * @public
420
+ */
421
+ export type RequestStatus = (typeof RequestStatus)[keyof typeof RequestStatus];
402
422
  /**
403
423
  * @public
404
424
  * <p>Information about a quota increase request.</p>
@@ -114,21 +114,24 @@ export declare class ServiceQuotaTemplateNotInUseException extends __BaseExcepti
114
114
  >
115
115
  );
116
116
  }
117
- export declare enum ErrorCode {
118
- DEPENDENCY_ACCESS_DENIED_ERROR = "DEPENDENCY_ACCESS_DENIED_ERROR",
119
- DEPENDENCY_SERVICE_ERROR = "DEPENDENCY_SERVICE_ERROR",
120
- DEPENDENCY_THROTTLING_ERROR = "DEPENDENCY_THROTTLING_ERROR",
121
- SERVICE_QUOTA_NOT_AVAILABLE_ERROR = "SERVICE_QUOTA_NOT_AVAILABLE_ERROR",
122
- }
117
+ export declare const ErrorCode: {
118
+ readonly DEPENDENCY_ACCESS_DENIED_ERROR: "DEPENDENCY_ACCESS_DENIED_ERROR";
119
+ readonly DEPENDENCY_SERVICE_ERROR: "DEPENDENCY_SERVICE_ERROR";
120
+ readonly DEPENDENCY_THROTTLING_ERROR: "DEPENDENCY_THROTTLING_ERROR";
121
+ readonly SERVICE_QUOTA_NOT_AVAILABLE_ERROR: "SERVICE_QUOTA_NOT_AVAILABLE_ERROR";
122
+ };
123
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
123
124
  export interface ErrorReason {
124
125
  ErrorCode?: ErrorCode | string;
125
126
  ErrorMessage?: string;
126
127
  }
127
128
  export interface GetAssociationForServiceQuotaTemplateRequest {}
128
- export declare enum ServiceQuotaTemplateAssociationStatus {
129
- ASSOCIATED = "ASSOCIATED",
130
- DISASSOCIATED = "DISASSOCIATED",
131
- }
129
+ export declare const ServiceQuotaTemplateAssociationStatus: {
130
+ readonly ASSOCIATED: "ASSOCIATED";
131
+ readonly DISASSOCIATED: "DISASSOCIATED";
132
+ };
133
+ export type ServiceQuotaTemplateAssociationStatus =
134
+ (typeof ServiceQuotaTemplateAssociationStatus)[keyof typeof ServiceQuotaTemplateAssociationStatus];
132
135
  export interface GetAssociationForServiceQuotaTemplateResponse {
133
136
  ServiceQuotaTemplateAssociationStatus?:
134
137
  | ServiceQuotaTemplateAssociationStatus
@@ -138,15 +141,16 @@ export interface GetAWSDefaultServiceQuotaRequest {
138
141
  ServiceCode: string | undefined;
139
142
  QuotaCode: string | undefined;
140
143
  }
141
- export declare enum PeriodUnit {
142
- DAY = "DAY",
143
- HOUR = "HOUR",
144
- MICROSECOND = "MICROSECOND",
145
- MILLISECOND = "MILLISECOND",
146
- MINUTE = "MINUTE",
147
- SECOND = "SECOND",
148
- WEEK = "WEEK",
149
- }
144
+ export declare const PeriodUnit: {
145
+ readonly DAY: "DAY";
146
+ readonly HOUR: "HOUR";
147
+ readonly MICROSECOND: "MICROSECOND";
148
+ readonly MILLISECOND: "MILLISECOND";
149
+ readonly MINUTE: "MINUTE";
150
+ readonly SECOND: "SECOND";
151
+ readonly WEEK: "WEEK";
152
+ };
153
+ export type PeriodUnit = (typeof PeriodUnit)[keyof typeof PeriodUnit];
150
154
  export interface QuotaPeriod {
151
155
  PeriodValue?: number;
152
156
  PeriodUnit?: PeriodUnit | string;
@@ -177,13 +181,14 @@ export interface GetAWSDefaultServiceQuotaResponse {
177
181
  export interface GetRequestedServiceQuotaChangeRequest {
178
182
  RequestId: string | undefined;
179
183
  }
180
- export declare enum RequestStatus {
181
- APPROVED = "APPROVED",
182
- CASE_CLOSED = "CASE_CLOSED",
183
- CASE_OPENED = "CASE_OPENED",
184
- DENIED = "DENIED",
185
- PENDING = "PENDING",
186
- }
184
+ export declare const RequestStatus: {
185
+ readonly APPROVED: "APPROVED";
186
+ readonly CASE_CLOSED: "CASE_CLOSED";
187
+ readonly CASE_OPENED: "CASE_OPENED";
188
+ readonly DENIED: "DENIED";
189
+ readonly PENDING: "PENDING";
190
+ };
191
+ export type RequestStatus = (typeof RequestStatus)[keyof typeof RequestStatus];
187
192
  export interface RequestedServiceQuotaChange {
188
193
  Id?: string;
189
194
  CaseId?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-quotas",
3
3
  "description": "AWS SDK for JavaScript Service Quotas Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",