@aws-sdk/client-service-quotas 3.901.0 → 3.906.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 (36) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/endpoint/ruleset.js +1 -1
  3. package/dist-cjs/index.js +1704 -1740
  4. package/dist-es/ServiceQuotas.js +8 -0
  5. package/dist-es/commands/GetAutoManagementConfigurationCommand.js +22 -0
  6. package/dist-es/commands/StartAutoManagementCommand.js +22 -0
  7. package/dist-es/commands/StopAutoManagementCommand.js +22 -0
  8. package/dist-es/commands/UpdateAutoManagementCommand.js +22 -0
  9. package/dist-es/commands/index.js +4 -0
  10. package/dist-es/endpoint/ruleset.js +1 -1
  11. package/dist-es/models/models_0.js +11 -0
  12. package/dist-es/protocols/Aws_json1_1.js +76 -0
  13. package/dist-types/ServiceQuotas.d.ts +31 -0
  14. package/dist-types/ServiceQuotasClient.d.ts +6 -2
  15. package/dist-types/commands/GetAutoManagementConfigurationCommand.d.ts +100 -0
  16. package/dist-types/commands/GetServiceQuotaCommand.d.ts +3 -3
  17. package/dist-types/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.d.ts +2 -2
  18. package/dist-types/commands/ListRequestedServiceQuotaChangeHistoryCommand.d.ts +3 -2
  19. package/dist-types/commands/ListServiceQuotasCommand.d.ts +2 -2
  20. package/dist-types/commands/RequestServiceQuotaIncreaseCommand.d.ts +2 -1
  21. package/dist-types/commands/StartAutoManagementCommand.d.ts +97 -0
  22. package/dist-types/commands/StopAutoManagementCommand.d.ts +88 -0
  23. package/dist-types/commands/UpdateAutoManagementCommand.d.ts +96 -0
  24. package/dist-types/commands/index.d.ts +4 -0
  25. package/dist-types/models/models_0.d.ts +167 -1
  26. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  27. package/dist-types/ts3.4/ServiceQuotas.d.ts +71 -0
  28. package/dist-types/ts3.4/ServiceQuotasClient.d.ts +26 -2
  29. package/dist-types/ts3.4/commands/GetAutoManagementConfigurationCommand.d.ts +51 -0
  30. package/dist-types/ts3.4/commands/StartAutoManagementCommand.d.ts +51 -0
  31. package/dist-types/ts3.4/commands/StopAutoManagementCommand.d.ts +51 -0
  32. package/dist-types/ts3.4/commands/UpdateAutoManagementCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +41 -0
  35. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  36. package/package.json +5 -5
@@ -4,6 +4,7 @@ import { CreateSupportCaseCommand, } from "./commands/CreateSupportCaseCommand";
4
4
  import { DeleteServiceQuotaIncreaseRequestFromTemplateCommand, } from "./commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
5
5
  import { DisassociateServiceQuotaTemplateCommand, } from "./commands/DisassociateServiceQuotaTemplateCommand";
6
6
  import { GetAssociationForServiceQuotaTemplateCommand, } from "./commands/GetAssociationForServiceQuotaTemplateCommand";
7
+ import { GetAutoManagementConfigurationCommand, } from "./commands/GetAutoManagementConfigurationCommand";
7
8
  import { GetAWSDefaultServiceQuotaCommand, } from "./commands/GetAWSDefaultServiceQuotaCommand";
8
9
  import { GetRequestedServiceQuotaChangeCommand, } from "./commands/GetRequestedServiceQuotaChangeCommand";
9
10
  import { GetServiceQuotaCommand, } from "./commands/GetServiceQuotaCommand";
@@ -17,8 +18,11 @@ import { ListServicesCommand, } from "./commands/ListServicesCommand";
17
18
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
18
19
  import { PutServiceQuotaIncreaseRequestIntoTemplateCommand, } from "./commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand";
19
20
  import { RequestServiceQuotaIncreaseCommand, } from "./commands/RequestServiceQuotaIncreaseCommand";
21
+ import { StartAutoManagementCommand, } from "./commands/StartAutoManagementCommand";
22
+ import { StopAutoManagementCommand, } from "./commands/StopAutoManagementCommand";
20
23
  import { TagResourceCommand } from "./commands/TagResourceCommand";
21
24
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
25
+ import { UpdateAutoManagementCommand, } from "./commands/UpdateAutoManagementCommand";
22
26
  import { ServiceQuotasClient } from "./ServiceQuotasClient";
23
27
  const commands = {
24
28
  AssociateServiceQuotaTemplateCommand,
@@ -26,6 +30,7 @@ const commands = {
26
30
  DeleteServiceQuotaIncreaseRequestFromTemplateCommand,
27
31
  DisassociateServiceQuotaTemplateCommand,
28
32
  GetAssociationForServiceQuotaTemplateCommand,
33
+ GetAutoManagementConfigurationCommand,
29
34
  GetAWSDefaultServiceQuotaCommand,
30
35
  GetRequestedServiceQuotaChangeCommand,
31
36
  GetServiceQuotaCommand,
@@ -39,8 +44,11 @@ const commands = {
39
44
  ListTagsForResourceCommand,
40
45
  PutServiceQuotaIncreaseRequestIntoTemplateCommand,
41
46
  RequestServiceQuotaIncreaseCommand,
47
+ StartAutoManagementCommand,
48
+ StopAutoManagementCommand,
42
49
  TagResourceCommand,
43
50
  UntagResourceCommand,
51
+ UpdateAutoManagementCommand,
44
52
  };
45
53
  export class ServiceQuotas extends ServiceQuotasClient {
46
54
  }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetAutoManagementConfigurationCommand, se_GetAutoManagementConfigurationCommand, } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class GetAutoManagementConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ServiceQuotasV20190624", "GetAutoManagementConfiguration", {})
17
+ .n("ServiceQuotasClient", "GetAutoManagementConfigurationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetAutoManagementConfigurationCommand)
20
+ .de(de_GetAutoManagementConfigurationCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StartAutoManagementCommand, se_StartAutoManagementCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class StartAutoManagementCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ServiceQuotasV20190624", "StartAutoManagement", {})
17
+ .n("ServiceQuotasClient", "StartAutoManagementCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StartAutoManagementCommand)
20
+ .de(de_StartAutoManagementCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StopAutoManagementCommand, se_StopAutoManagementCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class StopAutoManagementCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ServiceQuotasV20190624", "StopAutoManagement", {})
17
+ .n("ServiceQuotasClient", "StopAutoManagementCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StopAutoManagementCommand)
20
+ .de(de_StopAutoManagementCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateAutoManagementCommand, se_UpdateAutoManagementCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class UpdateAutoManagementCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ServiceQuotasV20190624", "UpdateAutoManagement", {})
17
+ .n("ServiceQuotasClient", "UpdateAutoManagementCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateAutoManagementCommand)
20
+ .de(de_UpdateAutoManagementCommand)
21
+ .build() {
22
+ }
@@ -4,6 +4,7 @@ export * from "./DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
4
4
  export * from "./DisassociateServiceQuotaTemplateCommand";
5
5
  export * from "./GetAWSDefaultServiceQuotaCommand";
6
6
  export * from "./GetAssociationForServiceQuotaTemplateCommand";
7
+ export * from "./GetAutoManagementConfigurationCommand";
7
8
  export * from "./GetRequestedServiceQuotaChangeCommand";
8
9
  export * from "./GetServiceQuotaCommand";
9
10
  export * from "./GetServiceQuotaIncreaseRequestFromTemplateCommand";
@@ -16,5 +17,8 @@ export * from "./ListServicesCommand";
16
17
  export * from "./ListTagsForResourceCommand";
17
18
  export * from "./PutServiceQuotaIncreaseRequestIntoTemplateCommand";
18
19
  export * from "./RequestServiceQuotaIncreaseCommand";
20
+ export * from "./StartAutoManagementCommand";
21
+ export * from "./StopAutoManagementCommand";
19
22
  export * from "./TagResourceCommand";
20
23
  export * from "./UntagResourceCommand";
24
+ export * from "./UpdateAutoManagementCommand";
@@ -1,4 +1,4 @@
1
1
  const u = "required", v = "fn", w = "argv", x = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
3
3
  const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://servicequotas-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://servicequotas.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://servicequotas-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://servicequotas.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://servicequotas.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
4
4
  export const ruleSet = _data;
@@ -196,6 +196,17 @@ export const ServiceQuotaTemplateAssociationStatus = {
196
196
  ASSOCIATED: "ASSOCIATED",
197
197
  DISASSOCIATED: "DISASSOCIATED",
198
198
  };
199
+ export const OptInLevel = {
200
+ ACCOUNT: "ACCOUNT",
201
+ };
202
+ export const OptInStatus = {
203
+ DISABLED: "DISABLED",
204
+ ENABLED: "ENABLED",
205
+ };
206
+ export const OptInType = {
207
+ NotifyAndAdjust: "NotifyAndAdjust",
208
+ NotifyOnly: "NotifyOnly",
209
+ };
199
210
  export const PeriodUnit = {
200
211
  DAY: "DAY",
201
212
  HOUR: "HOUR",
@@ -33,6 +33,12 @@ export const se_GetAssociationForServiceQuotaTemplateCommand = async (input, con
33
33
  body = JSON.stringify(_json(input));
34
34
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
35
35
  };
36
+ export const se_GetAutoManagementConfigurationCommand = async (input, context) => {
37
+ const headers = sharedHeaders("GetAutoManagementConfiguration");
38
+ let body;
39
+ body = JSON.stringify(_json(input));
40
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
41
+ };
36
42
  export const se_GetAWSDefaultServiceQuotaCommand = async (input, context) => {
37
43
  const headers = sharedHeaders("GetAWSDefaultServiceQuota");
38
44
  let body;
@@ -111,6 +117,18 @@ export const se_RequestServiceQuotaIncreaseCommand = async (input, context) => {
111
117
  body = JSON.stringify(se_RequestServiceQuotaIncreaseRequest(input, context));
112
118
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
113
119
  };
120
+ export const se_StartAutoManagementCommand = async (input, context) => {
121
+ const headers = sharedHeaders("StartAutoManagement");
122
+ let body;
123
+ body = JSON.stringify(_json(input));
124
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
125
+ };
126
+ export const se_StopAutoManagementCommand = async (input, context) => {
127
+ const headers = sharedHeaders("StopAutoManagement");
128
+ let body;
129
+ body = JSON.stringify(_json(input));
130
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
131
+ };
114
132
  export const se_TagResourceCommand = async (input, context) => {
115
133
  const headers = sharedHeaders("TagResource");
116
134
  let body;
@@ -123,6 +141,12 @@ export const se_UntagResourceCommand = async (input, context) => {
123
141
  body = JSON.stringify(_json(input));
124
142
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
125
143
  };
144
+ export const se_UpdateAutoManagementCommand = async (input, context) => {
145
+ const headers = sharedHeaders("UpdateAutoManagement");
146
+ let body;
147
+ body = JSON.stringify(_json(input));
148
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
149
+ };
126
150
  export const de_AssociateServiceQuotaTemplateCommand = async (output, context) => {
127
151
  if (output.statusCode >= 300) {
128
152
  return de_CommandError(output, context);
@@ -188,6 +212,19 @@ export const de_GetAssociationForServiceQuotaTemplateCommand = async (output, co
188
212
  };
189
213
  return response;
190
214
  };
215
+ export const de_GetAutoManagementConfigurationCommand = async (output, context) => {
216
+ if (output.statusCode >= 300) {
217
+ return de_CommandError(output, context);
218
+ }
219
+ const data = await parseBody(output.body, context);
220
+ let contents = {};
221
+ contents = _json(data);
222
+ const response = {
223
+ $metadata: deserializeMetadata(output),
224
+ ...contents,
225
+ };
226
+ return response;
227
+ };
191
228
  export const de_GetAWSDefaultServiceQuotaCommand = async (output, context) => {
192
229
  if (output.statusCode >= 300) {
193
230
  return de_CommandError(output, context);
@@ -357,6 +394,32 @@ export const de_RequestServiceQuotaIncreaseCommand = async (output, context) =>
357
394
  };
358
395
  return response;
359
396
  };
397
+ export const de_StartAutoManagementCommand = async (output, context) => {
398
+ if (output.statusCode >= 300) {
399
+ return de_CommandError(output, context);
400
+ }
401
+ const data = await parseBody(output.body, context);
402
+ let contents = {};
403
+ contents = _json(data);
404
+ const response = {
405
+ $metadata: deserializeMetadata(output),
406
+ ...contents,
407
+ };
408
+ return response;
409
+ };
410
+ export const de_StopAutoManagementCommand = async (output, context) => {
411
+ if (output.statusCode >= 300) {
412
+ return de_CommandError(output, context);
413
+ }
414
+ const data = await parseBody(output.body, context);
415
+ let contents = {};
416
+ contents = _json(data);
417
+ const response = {
418
+ $metadata: deserializeMetadata(output),
419
+ ...contents,
420
+ };
421
+ return response;
422
+ };
360
423
  export const de_TagResourceCommand = async (output, context) => {
361
424
  if (output.statusCode >= 300) {
362
425
  return de_CommandError(output, context);
@@ -383,6 +446,19 @@ export const de_UntagResourceCommand = async (output, context) => {
383
446
  };
384
447
  return response;
385
448
  };
449
+ export const de_UpdateAutoManagementCommand = async (output, context) => {
450
+ if (output.statusCode >= 300) {
451
+ return de_CommandError(output, context);
452
+ }
453
+ const data = await parseBody(output.body, context);
454
+ let contents = {};
455
+ contents = _json(data);
456
+ const response = {
457
+ $metadata: deserializeMetadata(output),
458
+ ...contents,
459
+ };
460
+ return response;
461
+ };
386
462
  const de_CommandError = async (output, context) => {
387
463
  const parsedOutput = {
388
464
  ...output,
@@ -4,6 +4,7 @@ import { CreateSupportCaseCommandInput, CreateSupportCaseCommandOutput } from ".
4
4
  import { DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput } from "./commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
5
5
  import { DisassociateServiceQuotaTemplateCommandInput, DisassociateServiceQuotaTemplateCommandOutput } from "./commands/DisassociateServiceQuotaTemplateCommand";
6
6
  import { GetAssociationForServiceQuotaTemplateCommandInput, GetAssociationForServiceQuotaTemplateCommandOutput } from "./commands/GetAssociationForServiceQuotaTemplateCommand";
7
+ import { GetAutoManagementConfigurationCommandInput, GetAutoManagementConfigurationCommandOutput } from "./commands/GetAutoManagementConfigurationCommand";
7
8
  import { GetAWSDefaultServiceQuotaCommandInput, GetAWSDefaultServiceQuotaCommandOutput } from "./commands/GetAWSDefaultServiceQuotaCommand";
8
9
  import { GetRequestedServiceQuotaChangeCommandInput, GetRequestedServiceQuotaChangeCommandOutput } from "./commands/GetRequestedServiceQuotaChangeCommand";
9
10
  import { GetServiceQuotaCommandInput, GetServiceQuotaCommandOutput } from "./commands/GetServiceQuotaCommand";
@@ -17,8 +18,11 @@ import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/
17
18
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
18
19
  import { PutServiceQuotaIncreaseRequestIntoTemplateCommandInput, PutServiceQuotaIncreaseRequestIntoTemplateCommandOutput } from "./commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand";
19
20
  import { RequestServiceQuotaIncreaseCommandInput, RequestServiceQuotaIncreaseCommandOutput } from "./commands/RequestServiceQuotaIncreaseCommand";
21
+ import { StartAutoManagementCommandInput, StartAutoManagementCommandOutput } from "./commands/StartAutoManagementCommand";
22
+ import { StopAutoManagementCommandInput, StopAutoManagementCommandOutput } from "./commands/StopAutoManagementCommand";
20
23
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
21
24
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
25
+ import { UpdateAutoManagementCommandInput, UpdateAutoManagementCommandOutput } from "./commands/UpdateAutoManagementCommand";
22
26
  import { ServiceQuotasClient } from "./ServiceQuotasClient";
23
27
  export interface ServiceQuotas {
24
28
  /**
@@ -54,6 +58,13 @@ export interface ServiceQuotas {
54
58
  getAssociationForServiceQuotaTemplate(args: GetAssociationForServiceQuotaTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetAssociationForServiceQuotaTemplateCommandOutput>;
55
59
  getAssociationForServiceQuotaTemplate(args: GetAssociationForServiceQuotaTemplateCommandInput, cb: (err: any, data?: GetAssociationForServiceQuotaTemplateCommandOutput) => void): void;
56
60
  getAssociationForServiceQuotaTemplate(args: GetAssociationForServiceQuotaTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssociationForServiceQuotaTemplateCommandOutput) => void): void;
61
+ /**
62
+ * @see {@link GetAutoManagementConfigurationCommand}
63
+ */
64
+ getAutoManagementConfiguration(): Promise<GetAutoManagementConfigurationCommandOutput>;
65
+ getAutoManagementConfiguration(args: GetAutoManagementConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetAutoManagementConfigurationCommandOutput>;
66
+ getAutoManagementConfiguration(args: GetAutoManagementConfigurationCommandInput, cb: (err: any, data?: GetAutoManagementConfigurationCommandOutput) => void): void;
67
+ getAutoManagementConfiguration(args: GetAutoManagementConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAutoManagementConfigurationCommandOutput) => void): void;
57
68
  /**
58
69
  * @see {@link GetAWSDefaultServiceQuotaCommand}
59
70
  */
@@ -135,6 +146,19 @@ export interface ServiceQuotas {
135
146
  requestServiceQuotaIncrease(args: RequestServiceQuotaIncreaseCommandInput, options?: __HttpHandlerOptions): Promise<RequestServiceQuotaIncreaseCommandOutput>;
136
147
  requestServiceQuotaIncrease(args: RequestServiceQuotaIncreaseCommandInput, cb: (err: any, data?: RequestServiceQuotaIncreaseCommandOutput) => void): void;
137
148
  requestServiceQuotaIncrease(args: RequestServiceQuotaIncreaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RequestServiceQuotaIncreaseCommandOutput) => void): void;
149
+ /**
150
+ * @see {@link StartAutoManagementCommand}
151
+ */
152
+ startAutoManagement(args: StartAutoManagementCommandInput, options?: __HttpHandlerOptions): Promise<StartAutoManagementCommandOutput>;
153
+ startAutoManagement(args: StartAutoManagementCommandInput, cb: (err: any, data?: StartAutoManagementCommandOutput) => void): void;
154
+ startAutoManagement(args: StartAutoManagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAutoManagementCommandOutput) => void): void;
155
+ /**
156
+ * @see {@link StopAutoManagementCommand}
157
+ */
158
+ stopAutoManagement(): Promise<StopAutoManagementCommandOutput>;
159
+ stopAutoManagement(args: StopAutoManagementCommandInput, options?: __HttpHandlerOptions): Promise<StopAutoManagementCommandOutput>;
160
+ stopAutoManagement(args: StopAutoManagementCommandInput, cb: (err: any, data?: StopAutoManagementCommandOutput) => void): void;
161
+ stopAutoManagement(args: StopAutoManagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAutoManagementCommandOutput) => void): void;
138
162
  /**
139
163
  * @see {@link TagResourceCommand}
140
164
  */
@@ -147,6 +171,13 @@ export interface ServiceQuotas {
147
171
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
148
172
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
149
173
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
174
+ /**
175
+ * @see {@link UpdateAutoManagementCommand}
176
+ */
177
+ updateAutoManagement(): Promise<UpdateAutoManagementCommandOutput>;
178
+ updateAutoManagement(args: UpdateAutoManagementCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAutoManagementCommandOutput>;
179
+ updateAutoManagement(args: UpdateAutoManagementCommandInput, cb: (err: any, data?: UpdateAutoManagementCommandOutput) => void): void;
180
+ updateAutoManagement(args: UpdateAutoManagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAutoManagementCommandOutput) => void): void;
150
181
  }
151
182
  /**
152
183
  * <p>With Service Quotas, you can view and manage your quotas easily as your Amazon Web Services workloads grow.
@@ -12,6 +12,7 @@ import { CreateSupportCaseCommandInput, CreateSupportCaseCommandOutput } from ".
12
12
  import { DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput } from "./commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
13
13
  import { DisassociateServiceQuotaTemplateCommandInput, DisassociateServiceQuotaTemplateCommandOutput } from "./commands/DisassociateServiceQuotaTemplateCommand";
14
14
  import { GetAssociationForServiceQuotaTemplateCommandInput, GetAssociationForServiceQuotaTemplateCommandOutput } from "./commands/GetAssociationForServiceQuotaTemplateCommand";
15
+ import { GetAutoManagementConfigurationCommandInput, GetAutoManagementConfigurationCommandOutput } from "./commands/GetAutoManagementConfigurationCommand";
15
16
  import { GetAWSDefaultServiceQuotaCommandInput, GetAWSDefaultServiceQuotaCommandOutput } from "./commands/GetAWSDefaultServiceQuotaCommand";
16
17
  import { GetRequestedServiceQuotaChangeCommandInput, GetRequestedServiceQuotaChangeCommandOutput } from "./commands/GetRequestedServiceQuotaChangeCommand";
17
18
  import { GetServiceQuotaCommandInput, GetServiceQuotaCommandOutput } from "./commands/GetServiceQuotaCommand";
@@ -25,19 +26,22 @@ import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/
25
26
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
26
27
  import { PutServiceQuotaIncreaseRequestIntoTemplateCommandInput, PutServiceQuotaIncreaseRequestIntoTemplateCommandOutput } from "./commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand";
27
28
  import { RequestServiceQuotaIncreaseCommandInput, RequestServiceQuotaIncreaseCommandOutput } from "./commands/RequestServiceQuotaIncreaseCommand";
29
+ import { StartAutoManagementCommandInput, StartAutoManagementCommandOutput } from "./commands/StartAutoManagementCommand";
30
+ import { StopAutoManagementCommandInput, StopAutoManagementCommandOutput } from "./commands/StopAutoManagementCommand";
28
31
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
29
32
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
33
+ import { UpdateAutoManagementCommandInput, UpdateAutoManagementCommandOutput } from "./commands/UpdateAutoManagementCommand";
30
34
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
31
35
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
32
36
  export { __Client };
33
37
  /**
34
38
  * @public
35
39
  */
36
- export type ServiceInputTypes = AssociateServiceQuotaTemplateCommandInput | CreateSupportCaseCommandInput | DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput | DisassociateServiceQuotaTemplateCommandInput | GetAWSDefaultServiceQuotaCommandInput | GetAssociationForServiceQuotaTemplateCommandInput | GetRequestedServiceQuotaChangeCommandInput | GetServiceQuotaCommandInput | GetServiceQuotaIncreaseRequestFromTemplateCommandInput | ListAWSDefaultServiceQuotasCommandInput | ListRequestedServiceQuotaChangeHistoryByQuotaCommandInput | ListRequestedServiceQuotaChangeHistoryCommandInput | ListServiceQuotaIncreaseRequestsInTemplateCommandInput | ListServiceQuotasCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | PutServiceQuotaIncreaseRequestIntoTemplateCommandInput | RequestServiceQuotaIncreaseCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
40
+ export type ServiceInputTypes = AssociateServiceQuotaTemplateCommandInput | CreateSupportCaseCommandInput | DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput | DisassociateServiceQuotaTemplateCommandInput | GetAWSDefaultServiceQuotaCommandInput | GetAssociationForServiceQuotaTemplateCommandInput | GetAutoManagementConfigurationCommandInput | GetRequestedServiceQuotaChangeCommandInput | GetServiceQuotaCommandInput | GetServiceQuotaIncreaseRequestFromTemplateCommandInput | ListAWSDefaultServiceQuotasCommandInput | ListRequestedServiceQuotaChangeHistoryByQuotaCommandInput | ListRequestedServiceQuotaChangeHistoryCommandInput | ListServiceQuotaIncreaseRequestsInTemplateCommandInput | ListServiceQuotasCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | PutServiceQuotaIncreaseRequestIntoTemplateCommandInput | RequestServiceQuotaIncreaseCommandInput | StartAutoManagementCommandInput | StopAutoManagementCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAutoManagementCommandInput;
37
41
  /**
38
42
  * @public
39
43
  */
40
- export type ServiceOutputTypes = AssociateServiceQuotaTemplateCommandOutput | CreateSupportCaseCommandOutput | DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput | DisassociateServiceQuotaTemplateCommandOutput | GetAWSDefaultServiceQuotaCommandOutput | GetAssociationForServiceQuotaTemplateCommandOutput | GetRequestedServiceQuotaChangeCommandOutput | GetServiceQuotaCommandOutput | GetServiceQuotaIncreaseRequestFromTemplateCommandOutput | ListAWSDefaultServiceQuotasCommandOutput | ListRequestedServiceQuotaChangeHistoryByQuotaCommandOutput | ListRequestedServiceQuotaChangeHistoryCommandOutput | ListServiceQuotaIncreaseRequestsInTemplateCommandOutput | ListServiceQuotasCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | PutServiceQuotaIncreaseRequestIntoTemplateCommandOutput | RequestServiceQuotaIncreaseCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
44
+ export type ServiceOutputTypes = AssociateServiceQuotaTemplateCommandOutput | CreateSupportCaseCommandOutput | DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput | DisassociateServiceQuotaTemplateCommandOutput | GetAWSDefaultServiceQuotaCommandOutput | GetAssociationForServiceQuotaTemplateCommandOutput | GetAutoManagementConfigurationCommandOutput | GetRequestedServiceQuotaChangeCommandOutput | GetServiceQuotaCommandOutput | GetServiceQuotaIncreaseRequestFromTemplateCommandOutput | ListAWSDefaultServiceQuotasCommandOutput | ListRequestedServiceQuotaChangeHistoryByQuotaCommandOutput | ListRequestedServiceQuotaChangeHistoryCommandOutput | ListServiceQuotaIncreaseRequestsInTemplateCommandOutput | ListServiceQuotasCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | PutServiceQuotaIncreaseRequestIntoTemplateCommandOutput | RequestServiceQuotaIncreaseCommandOutput | StartAutoManagementCommandOutput | StopAutoManagementCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAutoManagementCommandOutput;
41
45
  /**
42
46
  * @public
43
47
  */
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetAutoManagementConfigurationRequest, GetAutoManagementConfigurationResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, ServiceQuotasClientResolvedConfig } from "../ServiceQuotasClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetAutoManagementConfigurationCommand}.
14
+ */
15
+ export interface GetAutoManagementConfigurationCommandInput extends GetAutoManagementConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetAutoManagementConfigurationCommand}.
21
+ */
22
+ export interface GetAutoManagementConfigurationCommandOutput extends GetAutoManagementConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const GetAutoManagementConfigurationCommand_base: {
25
+ new (input: GetAutoManagementConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetAutoManagementConfigurationCommandInput, GetAutoManagementConfigurationCommandOutput, ServiceQuotasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetAutoManagementConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<GetAutoManagementConfigurationCommandInput, GetAutoManagementConfigurationCommandOutput, ServiceQuotasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about your <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/automatic-management.html">Service Quotas Automatic Management</a> configuration. Automatic Management monitors your Service Quotas utilization and notifies you before you
31
+ * run out of your allocated quotas.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { ServiceQuotasClient, GetAutoManagementConfigurationCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
36
+ * // const { ServiceQuotasClient, GetAutoManagementConfigurationCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
37
+ * // import type { ServiceQuotasClientConfig } from "@aws-sdk/client-service-quotas";
38
+ * const config = {}; // type is ServiceQuotasClientConfig
39
+ * const client = new ServiceQuotasClient(config);
40
+ * const input = {};
41
+ * const command = new GetAutoManagementConfigurationCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetAutoManagementConfigurationResponse
44
+ * // OptInLevel: "ACCOUNT",
45
+ * // OptInType: "NotifyOnly" || "NotifyAndAdjust",
46
+ * // NotificationArn: "STRING_VALUE",
47
+ * // OptInStatus: "ENABLED" || "DISABLED",
48
+ * // ExclusionList: { // ExclusionQuotaList
49
+ * // "<keys>": [ // QuotaInfoList
50
+ * // { // QuotaInfo
51
+ * // QuotaCode: "STRING_VALUE",
52
+ * // QuotaName: "STRING_VALUE",
53
+ * // },
54
+ * // ],
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param GetAutoManagementConfigurationCommandInput - {@link GetAutoManagementConfigurationCommandInput}
61
+ * @returns {@link GetAutoManagementConfigurationCommandOutput}
62
+ * @see {@link GetAutoManagementConfigurationCommandInput} for command's `input` shape.
63
+ * @see {@link GetAutoManagementConfigurationCommandOutput} for command's `response` shape.
64
+ * @see {@link ServiceQuotasClientResolvedConfig | config} for ServiceQuotasClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You do not have sufficient permission to perform this action.</p>
68
+ *
69
+ * @throws {@link IllegalArgumentException} (client fault)
70
+ * <p>Invalid input was provided.</p>
71
+ *
72
+ * @throws {@link NoSuchResourceException} (client fault)
73
+ * <p>The specified resource does not exist.</p>
74
+ *
75
+ * @throws {@link ServiceException} (server fault)
76
+ * <p>Something went wrong.</p>
77
+ *
78
+ * @throws {@link TooManyRequestsException} (client fault)
79
+ * <p>Due to throttling, the request was denied. Slow down the rate of request calls, or
80
+ * request an increase for this quota.</p>
81
+ *
82
+ * @throws {@link ServiceQuotasServiceException}
83
+ * <p>Base exception class for all service exceptions from ServiceQuotas service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class GetAutoManagementConfigurationCommand extends GetAutoManagementConfigurationCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: {};
93
+ output: GetAutoManagementConfigurationResponse;
94
+ };
95
+ sdk: {
96
+ input: GetAutoManagementConfigurationCommandInput;
97
+ output: GetAutoManagementConfigurationCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -27,9 +27,9 @@ declare const GetServiceQuotaCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the applied quota value for the specified account-level or resource-level quota. For some quotas, only the
31
- * default values are available. If the applied quota value is not available for a quota,
32
- * the quota is not retrieved.</p>
30
+ * <p>Retrieves the applied quota value for the specified account-level or resource-level
31
+ * quota. For some quotas, only the default values are available. If the applied quota
32
+ * value is not available for a quota, the quota is not retrieved.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -27,8 +27,8 @@ declare const ListRequestedServiceQuotaChangeHistoryByQuotaCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the quota increase requests for the specified quota. Filter responses to return quota requests at either the
31
- * account level, resource level, or all levels.</p>
30
+ * <p>Retrieves the quota increase requests for the specified quota. Filter responses to
31
+ * return quota requests at either the account level, resource level, or all levels.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
@@ -27,8 +27,9 @@ declare const ListRequestedServiceQuotaChangeHistoryCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the quota increase requests for the specified Amazon Web Services service. Filter responses to return quota requests at
31
- * either the account level, resource level, or all levels. Responses include any open or closed requests within 90 days.</p>
30
+ * <p>Retrieves the quota increase requests for the specified Amazon Web Services service. Filter
31
+ * responses to return quota requests at either the account level, resource level, or all
32
+ * levels. Responses include any open or closed requests within 90 days.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -29,8 +29,8 @@ declare const ListServiceQuotasCommand_base: {
29
29
  /**
30
30
  * <p>Lists the applied quota values for the specified Amazon Web Services service. For some quotas, only
31
31
  * the default values are available. If the applied quota value is not available for a
32
- * quota, the quota is not retrieved. Filter responses to return applied quota values at either the account level,
33
- * resource level, or all levels.</p>
32
+ * quota, the quota is not retrieved. Filter responses to return applied quota values at
33
+ * either the account level, resource level, or all levels.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
@@ -27,7 +27,8 @@ declare const RequestServiceQuotaIncreaseCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Submits a quota increase request for the specified quota at the account or resource level.</p>
30
+ * <p>Submits a quota increase request for the specified quota at the account or resource
31
+ * level.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript