@aws-sdk/client-service-quotas 3.947.0 → 3.952.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.
Files changed (29) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +96 -5
  3. package/dist-es/ServiceQuotas.js +4 -0
  4. package/dist-es/commands/GetQuotaUtilizationReportCommand.js +16 -0
  5. package/dist-es/commands/StartQuotaUtilizationReportCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +9 -0
  8. package/dist-es/schemas/schemas_0.js +57 -5
  9. package/dist-types/ServiceQuotas.d.ts +15 -0
  10. package/dist-types/ServiceQuotasClient.d.ts +4 -2
  11. package/dist-types/commands/GetQuotaUtilizationReportCommand.d.ts +120 -0
  12. package/dist-types/commands/GetRequestedServiceQuotaChangeCommand.d.ts +1 -0
  13. package/dist-types/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.d.ts +1 -0
  14. package/dist-types/commands/ListRequestedServiceQuotaChangeHistoryCommand.d.ts +1 -0
  15. package/dist-types/commands/RequestServiceQuotaIncreaseCommand.d.ts +1 -0
  16. package/dist-types/commands/StartQuotaUtilizationReportCommand.d.ts +98 -0
  17. package/dist-types/commands/index.d.ts +2 -0
  18. package/dist-types/models/enums.d.ts +25 -0
  19. package/dist-types/models/models_0.d.ts +194 -1
  20. package/dist-types/schemas/schemas_0.d.ts +8 -0
  21. package/dist-types/ts3.4/ServiceQuotas.d.ts +35 -0
  22. package/dist-types/ts3.4/ServiceQuotasClient.d.ts +12 -0
  23. package/dist-types/ts3.4/commands/GetQuotaUtilizationReportCommand.d.ts +51 -0
  24. package/dist-types/ts3.4/commands/StartQuotaUtilizationReportCommand.d.ts +51 -0
  25. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  26. package/dist-types/ts3.4/models/enums.d.ts +11 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +35 -0
  28. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  29. package/package.json +3 -3
@@ -27,6 +27,10 @@ import {
27
27
  GetAWSDefaultServiceQuotaCommandInput,
28
28
  GetAWSDefaultServiceQuotaCommandOutput,
29
29
  } from "./commands/GetAWSDefaultServiceQuotaCommand";
30
+ import {
31
+ GetQuotaUtilizationReportCommandInput,
32
+ GetQuotaUtilizationReportCommandOutput,
33
+ } from "./commands/GetQuotaUtilizationReportCommand";
30
34
  import {
31
35
  GetRequestedServiceQuotaChangeCommandInput,
32
36
  GetRequestedServiceQuotaChangeCommandOutput,
@@ -79,6 +83,10 @@ import {
79
83
  StartAutoManagementCommandInput,
80
84
  StartAutoManagementCommandOutput,
81
85
  } from "./commands/StartAutoManagementCommand";
86
+ import {
87
+ StartQuotaUtilizationReportCommandInput,
88
+ StartQuotaUtilizationReportCommandOutput,
89
+ } from "./commands/StartQuotaUtilizationReportCommand";
82
90
  import {
83
91
  StopAutoManagementCommandInput,
84
92
  StopAutoManagementCommandOutput,
@@ -204,6 +212,19 @@ export interface ServiceQuotas {
204
212
  options: __HttpHandlerOptions,
205
213
  cb: (err: any, data?: GetAWSDefaultServiceQuotaCommandOutput) => void
206
214
  ): void;
215
+ getQuotaUtilizationReport(
216
+ args: GetQuotaUtilizationReportCommandInput,
217
+ options?: __HttpHandlerOptions
218
+ ): Promise<GetQuotaUtilizationReportCommandOutput>;
219
+ getQuotaUtilizationReport(
220
+ args: GetQuotaUtilizationReportCommandInput,
221
+ cb: (err: any, data?: GetQuotaUtilizationReportCommandOutput) => void
222
+ ): void;
223
+ getQuotaUtilizationReport(
224
+ args: GetQuotaUtilizationReportCommandInput,
225
+ options: __HttpHandlerOptions,
226
+ cb: (err: any, data?: GetQuotaUtilizationReportCommandOutput) => void
227
+ ): void;
207
228
  getRequestedServiceQuotaChange(
208
229
  args: GetRequestedServiceQuotaChangeCommandInput,
209
230
  options?: __HttpHandlerOptions
@@ -406,6 +427,20 @@ export interface ServiceQuotas {
406
427
  options: __HttpHandlerOptions,
407
428
  cb: (err: any, data?: StartAutoManagementCommandOutput) => void
408
429
  ): void;
430
+ startQuotaUtilizationReport(): Promise<StartQuotaUtilizationReportCommandOutput>;
431
+ startQuotaUtilizationReport(
432
+ args: StartQuotaUtilizationReportCommandInput,
433
+ options?: __HttpHandlerOptions
434
+ ): Promise<StartQuotaUtilizationReportCommandOutput>;
435
+ startQuotaUtilizationReport(
436
+ args: StartQuotaUtilizationReportCommandInput,
437
+ cb: (err: any, data?: StartQuotaUtilizationReportCommandOutput) => void
438
+ ): void;
439
+ startQuotaUtilizationReport(
440
+ args: StartQuotaUtilizationReportCommandInput,
441
+ options: __HttpHandlerOptions,
442
+ cb: (err: any, data?: StartQuotaUtilizationReportCommandOutput) => void
443
+ ): void;
409
444
  stopAutoManagement(): Promise<StopAutoManagementCommandOutput>;
410
445
  stopAutoManagement(
411
446
  args: StopAutoManagementCommandInput,
@@ -76,6 +76,10 @@ import {
76
76
  GetAWSDefaultServiceQuotaCommandInput,
77
77
  GetAWSDefaultServiceQuotaCommandOutput,
78
78
  } from "./commands/GetAWSDefaultServiceQuotaCommand";
79
+ import {
80
+ GetQuotaUtilizationReportCommandInput,
81
+ GetQuotaUtilizationReportCommandOutput,
82
+ } from "./commands/GetQuotaUtilizationReportCommand";
79
83
  import {
80
84
  GetRequestedServiceQuotaChangeCommandInput,
81
85
  GetRequestedServiceQuotaChangeCommandOutput,
@@ -128,6 +132,10 @@ import {
128
132
  StartAutoManagementCommandInput,
129
133
  StartAutoManagementCommandOutput,
130
134
  } from "./commands/StartAutoManagementCommand";
135
+ import {
136
+ StartQuotaUtilizationReportCommandInput,
137
+ StartQuotaUtilizationReportCommandOutput,
138
+ } from "./commands/StartQuotaUtilizationReportCommand";
131
139
  import {
132
140
  StopAutoManagementCommandInput,
133
141
  StopAutoManagementCommandOutput,
@@ -159,6 +167,7 @@ export type ServiceInputTypes =
159
167
  | GetAWSDefaultServiceQuotaCommandInput
160
168
  | GetAssociationForServiceQuotaTemplateCommandInput
161
169
  | GetAutoManagementConfigurationCommandInput
170
+ | GetQuotaUtilizationReportCommandInput
162
171
  | GetRequestedServiceQuotaChangeCommandInput
163
172
  | GetServiceQuotaCommandInput
164
173
  | GetServiceQuotaIncreaseRequestFromTemplateCommandInput
@@ -172,6 +181,7 @@ export type ServiceInputTypes =
172
181
  | PutServiceQuotaIncreaseRequestIntoTemplateCommandInput
173
182
  | RequestServiceQuotaIncreaseCommandInput
174
183
  | StartAutoManagementCommandInput
184
+ | StartQuotaUtilizationReportCommandInput
175
185
  | StopAutoManagementCommandInput
176
186
  | TagResourceCommandInput
177
187
  | UntagResourceCommandInput
@@ -184,6 +194,7 @@ export type ServiceOutputTypes =
184
194
  | GetAWSDefaultServiceQuotaCommandOutput
185
195
  | GetAssociationForServiceQuotaTemplateCommandOutput
186
196
  | GetAutoManagementConfigurationCommandOutput
197
+ | GetQuotaUtilizationReportCommandOutput
187
198
  | GetRequestedServiceQuotaChangeCommandOutput
188
199
  | GetServiceQuotaCommandOutput
189
200
  | GetServiceQuotaIncreaseRequestFromTemplateCommandOutput
@@ -197,6 +208,7 @@ export type ServiceOutputTypes =
197
208
  | PutServiceQuotaIncreaseRequestIntoTemplateCommandOutput
198
209
  | RequestServiceQuotaIncreaseCommandOutput
199
210
  | StartAutoManagementCommandOutput
211
+ | StartQuotaUtilizationReportCommandOutput
200
212
  | StopAutoManagementCommandOutput
201
213
  | TagResourceCommandOutput
202
214
  | UntagResourceCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetQuotaUtilizationReportRequest,
5
+ GetQuotaUtilizationReportResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ ServiceQuotasClientResolvedConfig,
11
+ } from "../ServiceQuotasClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetQuotaUtilizationReportCommandInput
15
+ extends GetQuotaUtilizationReportRequest {}
16
+ export interface GetQuotaUtilizationReportCommandOutput
17
+ extends GetQuotaUtilizationReportResponse,
18
+ __MetadataBearer {}
19
+ declare const GetQuotaUtilizationReportCommand_base: {
20
+ new (
21
+ input: GetQuotaUtilizationReportCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetQuotaUtilizationReportCommandInput,
24
+ GetQuotaUtilizationReportCommandOutput,
25
+ ServiceQuotasClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetQuotaUtilizationReportCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetQuotaUtilizationReportCommandInput,
33
+ GetQuotaUtilizationReportCommandOutput,
34
+ ServiceQuotasClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetQuotaUtilizationReportCommand extends GetQuotaUtilizationReportCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetQuotaUtilizationReportRequest;
44
+ output: GetQuotaUtilizationReportResponse;
45
+ };
46
+ sdk: {
47
+ input: GetQuotaUtilizationReportCommandInput;
48
+ output: GetQuotaUtilizationReportCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ StartQuotaUtilizationReportRequest,
5
+ StartQuotaUtilizationReportResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ ServiceQuotasClientResolvedConfig,
11
+ } from "../ServiceQuotasClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StartQuotaUtilizationReportCommandInput
15
+ extends StartQuotaUtilizationReportRequest {}
16
+ export interface StartQuotaUtilizationReportCommandOutput
17
+ extends StartQuotaUtilizationReportResponse,
18
+ __MetadataBearer {}
19
+ declare const StartQuotaUtilizationReportCommand_base: {
20
+ new (
21
+ input: StartQuotaUtilizationReportCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StartQuotaUtilizationReportCommandInput,
24
+ StartQuotaUtilizationReportCommandOutput,
25
+ ServiceQuotasClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [StartQuotaUtilizationReportCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StartQuotaUtilizationReportCommandInput,
33
+ StartQuotaUtilizationReportCommandOutput,
34
+ ServiceQuotasClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StartQuotaUtilizationReportCommand extends StartQuotaUtilizationReportCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: {};
44
+ output: StartQuotaUtilizationReportResponse;
45
+ };
46
+ sdk: {
47
+ input: StartQuotaUtilizationReportCommandInput;
48
+ output: StartQuotaUtilizationReportCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,6 +5,7 @@ export * from "./DisassociateServiceQuotaTemplateCommand";
5
5
  export * from "./GetAWSDefaultServiceQuotaCommand";
6
6
  export * from "./GetAssociationForServiceQuotaTemplateCommand";
7
7
  export * from "./GetAutoManagementConfigurationCommand";
8
+ export * from "./GetQuotaUtilizationReportCommand";
8
9
  export * from "./GetRequestedServiceQuotaChangeCommand";
9
10
  export * from "./GetServiceQuotaCommand";
10
11
  export * from "./GetServiceQuotaIncreaseRequestFromTemplateCommand";
@@ -18,6 +19,7 @@ export * from "./ListTagsForResourceCommand";
18
19
  export * from "./PutServiceQuotaIncreaseRequestIntoTemplateCommand";
19
20
  export * from "./RequestServiceQuotaIncreaseCommand";
20
21
  export * from "./StartAutoManagementCommand";
22
+ export * from "./StartQuotaUtilizationReportCommand";
21
23
  export * from "./StopAutoManagementCommand";
22
24
  export * from "./TagResourceCommand";
23
25
  export * from "./UntagResourceCommand";
@@ -48,6 +48,17 @@ export declare const QuotaContextScope: {
48
48
  };
49
49
  export type QuotaContextScope =
50
50
  (typeof QuotaContextScope)[keyof typeof QuotaContextScope];
51
+ export declare const ReportStatus: {
52
+ readonly COMPLETED: "COMPLETED";
53
+ readonly FAILED: "FAILED";
54
+ readonly IN_PROGRESS: "IN_PROGRESS";
55
+ readonly PENDING: "PENDING";
56
+ };
57
+ export type ReportStatus = (typeof ReportStatus)[keyof typeof ReportStatus];
58
+ export declare const RequestType: {
59
+ readonly AutomaticManagement: "AutomaticManagement";
60
+ };
61
+ export type RequestType = (typeof RequestType)[keyof typeof RequestType];
51
62
  export declare const RequestStatus: {
52
63
  readonly APPROVED: "APPROVED";
53
64
  readonly CASE_CLOSED: "CASE_CLOSED";
@@ -6,7 +6,9 @@ import {
6
6
  OptInType,
7
7
  PeriodUnit,
8
8
  QuotaContextScope,
9
+ ReportStatus,
9
10
  RequestStatus,
11
+ RequestType,
10
12
  ServiceQuotaTemplateAssociationStatus,
11
13
  } from "./enums";
12
14
  export interface AssociateServiceQuotaTemplateRequest {}
@@ -84,11 +86,38 @@ export interface ServiceQuota {
84
86
  export interface GetAWSDefaultServiceQuotaResponse {
85
87
  Quota?: ServiceQuota | undefined;
86
88
  }
89
+ export interface GetQuotaUtilizationReportRequest {
90
+ ReportId: string | undefined;
91
+ NextToken?: string | undefined;
92
+ MaxResults?: number | undefined;
93
+ }
94
+ export interface QuotaUtilizationInfo {
95
+ QuotaCode?: string | undefined;
96
+ ServiceCode?: string | undefined;
97
+ QuotaName?: string | undefined;
98
+ Namespace?: string | undefined;
99
+ Utilization?: number | undefined;
100
+ DefaultValue?: number | undefined;
101
+ AppliedValue?: number | undefined;
102
+ ServiceName?: string | undefined;
103
+ Adjustable?: boolean | undefined;
104
+ }
105
+ export interface GetQuotaUtilizationReportResponse {
106
+ ReportId?: string | undefined;
107
+ Status?: ReportStatus | undefined;
108
+ GeneratedAt?: Date | undefined;
109
+ TotalCount?: number | undefined;
110
+ Quotas?: QuotaUtilizationInfo[] | undefined;
111
+ NextToken?: string | undefined;
112
+ ErrorCode?: string | undefined;
113
+ ErrorMessage?: string | undefined;
114
+ }
87
115
  export interface GetRequestedServiceQuotaChangeRequest {
88
116
  RequestId: string | undefined;
89
117
  }
90
118
  export interface RequestedServiceQuotaChange {
91
119
  Id?: string | undefined;
120
+ RequestType?: RequestType | undefined;
92
121
  CaseId?: string | undefined;
93
122
  ServiceCode?: string | undefined;
94
123
  ServiceName?: string | undefined;
@@ -241,6 +270,12 @@ export interface StartAutoManagementRequest {
241
270
  ExclusionList?: Record<string, string[]> | undefined;
242
271
  }
243
272
  export interface StartAutoManagementResponse {}
273
+ export interface StartQuotaUtilizationReportRequest {}
274
+ export interface StartQuotaUtilizationReportResponse {
275
+ ReportId?: string | undefined;
276
+ Status?: ReportStatus | undefined;
277
+ Message?: string | undefined;
278
+ }
244
279
  export interface StopAutoManagementRequest {}
245
280
  export interface StopAutoManagementResponse {}
246
281
  export interface TagResourceRequest {
@@ -23,6 +23,8 @@ export declare var GetAutoManagementConfigurationRequest: StaticStructureSchema;
23
23
  export declare var GetAutoManagementConfigurationResponse: StaticStructureSchema;
24
24
  export declare var GetAWSDefaultServiceQuotaRequest: StaticStructureSchema;
25
25
  export declare var GetAWSDefaultServiceQuotaResponse: StaticStructureSchema;
26
+ export declare var GetQuotaUtilizationReportRequest: StaticStructureSchema;
27
+ export declare var GetQuotaUtilizationReportResponse: StaticStructureSchema;
26
28
  export declare var GetRequestedServiceQuotaChangeRequest: StaticStructureSchema;
27
29
  export declare var GetRequestedServiceQuotaChangeResponse: StaticStructureSchema;
28
30
  export declare var GetServiceQuotaIncreaseRequestFromTemplateRequest: StaticStructureSchema;
@@ -56,6 +58,7 @@ export declare var QuotaContextInfo: StaticStructureSchema;
56
58
  export declare var QuotaExceededException: StaticErrorSchema;
57
59
  export declare var QuotaInfo: StaticStructureSchema;
58
60
  export declare var QuotaPeriod: StaticStructureSchema;
61
+ export declare var QuotaUtilizationInfo: StaticStructureSchema;
59
62
  export declare var RequestedServiceQuotaChange: StaticStructureSchema;
60
63
  export declare var RequestServiceQuotaIncreaseRequest: StaticStructureSchema;
61
64
  export declare var RequestServiceQuotaIncreaseResponse: StaticStructureSchema;
@@ -67,6 +70,8 @@ export declare var ServiceQuotaIncreaseRequestInTemplate: StaticStructureSchema;
67
70
  export declare var ServiceQuotaTemplateNotInUseException: StaticErrorSchema;
68
71
  export declare var StartAutoManagementRequest: StaticStructureSchema;
69
72
  export declare var StartAutoManagementResponse: StaticStructureSchema;
73
+ export declare var StartQuotaUtilizationReportRequest: StaticStructureSchema;
74
+ export declare var StartQuotaUtilizationReportResponse: StaticStructureSchema;
70
75
  export declare var StopAutoManagementRequest: StaticStructureSchema;
71
76
  export declare var StopAutoManagementResponse: StaticStructureSchema;
72
77
  export declare var Tag: StaticStructureSchema;
@@ -86,6 +91,7 @@ export declare var InputTagKeys: number;
86
91
  export declare var InputTags: StaticListSchema;
87
92
  export declare var OutputTags: StaticListSchema;
88
93
  export declare var QuotaInfoList: StaticListSchema;
94
+ export declare var QuotaUtilizationInfoList: StaticListSchema;
89
95
  export declare var RequestedServiceQuotaChangeHistoryListDefinition: StaticListSchema;
90
96
  export declare var ServiceInfoListDefinition: StaticListSchema;
91
97
  export declare var ServiceQuotaIncreaseRequestInTemplateList: StaticListSchema;
@@ -100,6 +106,7 @@ export declare var DisassociateServiceQuotaTemplate: StaticOperationSchema;
100
106
  export declare var GetAssociationForServiceQuotaTemplate: StaticOperationSchema;
101
107
  export declare var GetAutoManagementConfiguration: StaticOperationSchema;
102
108
  export declare var GetAWSDefaultServiceQuota: StaticOperationSchema;
109
+ export declare var GetQuotaUtilizationReport: StaticOperationSchema;
103
110
  export declare var GetRequestedServiceQuotaChange: StaticOperationSchema;
104
111
  export declare var GetServiceQuota: StaticOperationSchema;
105
112
  export declare var GetServiceQuotaIncreaseRequestFromTemplate: StaticOperationSchema;
@@ -113,6 +120,7 @@ export declare var ListTagsForResource: StaticOperationSchema;
113
120
  export declare var PutServiceQuotaIncreaseRequestIntoTemplate: StaticOperationSchema;
114
121
  export declare var RequestServiceQuotaIncrease: StaticOperationSchema;
115
122
  export declare var StartAutoManagement: StaticOperationSchema;
123
+ export declare var StartQuotaUtilizationReport: StaticOperationSchema;
116
124
  export declare var StopAutoManagement: StaticOperationSchema;
117
125
  export declare var TagResource: StaticOperationSchema;
118
126
  export declare var UntagResource: StaticOperationSchema;
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.947.0",
4
+ "version": "3.952.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-service-quotas",
@@ -22,10 +22,10 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.947.0",
25
- "@aws-sdk/credential-provider-node": "3.947.0",
25
+ "@aws-sdk/credential-provider-node": "3.952.0",
26
26
  "@aws-sdk/middleware-host-header": "3.936.0",
27
27
  "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
29
  "@aws-sdk/middleware-user-agent": "3.947.0",
30
30
  "@aws-sdk/region-config-resolver": "3.936.0",
31
31
  "@aws-sdk/types": "3.936.0",