@aws-sdk/client-service-quotas 3.477.0 → 3.481.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 (105) hide show
  1. package/dist-cjs/commands/AssociateServiceQuotaTemplateCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.js +18 -41
  3. package/dist-cjs/commands/DisassociateServiceQuotaTemplateCommand.js +18 -41
  4. package/dist-cjs/commands/GetAWSDefaultServiceQuotaCommand.js +18 -41
  5. package/dist-cjs/commands/GetAssociationForServiceQuotaTemplateCommand.js +18 -41
  6. package/dist-cjs/commands/GetRequestedServiceQuotaChangeCommand.js +18 -41
  7. package/dist-cjs/commands/GetServiceQuotaCommand.js +18 -41
  8. package/dist-cjs/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.js +18 -41
  9. package/dist-cjs/commands/ListAWSDefaultServiceQuotasCommand.js +18 -41
  10. package/dist-cjs/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.js +18 -41
  11. package/dist-cjs/commands/ListRequestedServiceQuotaChangeHistoryCommand.js +18 -41
  12. package/dist-cjs/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.js +18 -41
  13. package/dist-cjs/commands/ListServiceQuotasCommand.js +18 -41
  14. package/dist-cjs/commands/ListServicesCommand.js +18 -41
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  16. package/dist-cjs/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.js +18 -41
  17. package/dist-cjs/commands/RequestServiceQuotaIncreaseCommand.js +18 -41
  18. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  19. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  20. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  21. package/dist-cjs/pagination/ListAWSDefaultServiceQuotasPaginator.js +2 -24
  22. package/dist-cjs/pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.js +2 -24
  23. package/dist-cjs/pagination/ListRequestedServiceQuotaChangeHistoryPaginator.js +2 -24
  24. package/dist-cjs/pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator.js +2 -24
  25. package/dist-cjs/pagination/ListServiceQuotasPaginator.js +2 -24
  26. package/dist-cjs/pagination/ListServicesPaginator.js +2 -24
  27. package/dist-es/commands/AssociateServiceQuotaTemplateCommand.js +18 -41
  28. package/dist-es/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.js +18 -41
  29. package/dist-es/commands/DisassociateServiceQuotaTemplateCommand.js +18 -41
  30. package/dist-es/commands/GetAWSDefaultServiceQuotaCommand.js +18 -41
  31. package/dist-es/commands/GetAssociationForServiceQuotaTemplateCommand.js +18 -41
  32. package/dist-es/commands/GetRequestedServiceQuotaChangeCommand.js +18 -41
  33. package/dist-es/commands/GetServiceQuotaCommand.js +18 -41
  34. package/dist-es/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.js +18 -41
  35. package/dist-es/commands/ListAWSDefaultServiceQuotasCommand.js +18 -41
  36. package/dist-es/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.js +18 -41
  37. package/dist-es/commands/ListRequestedServiceQuotaChangeHistoryCommand.js +18 -41
  38. package/dist-es/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.js +18 -41
  39. package/dist-es/commands/ListServiceQuotasCommand.js +18 -41
  40. package/dist-es/commands/ListServicesCommand.js +18 -41
  41. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  42. package/dist-es/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.js +18 -41
  43. package/dist-es/commands/RequestServiceQuotaIncreaseCommand.js +18 -41
  44. package/dist-es/commands/TagResourceCommand.js +18 -41
  45. package/dist-es/commands/UntagResourceCommand.js +18 -41
  46. package/dist-es/endpoint/EndpointParameters.js +6 -0
  47. package/dist-es/pagination/ListAWSDefaultServiceQuotasPaginator.js +2 -23
  48. package/dist-es/pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.js +2 -23
  49. package/dist-es/pagination/ListRequestedServiceQuotaChangeHistoryPaginator.js +2 -23
  50. package/dist-es/pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator.js +2 -23
  51. package/dist-es/pagination/ListServiceQuotasPaginator.js +2 -23
  52. package/dist-es/pagination/ListServicesPaginator.js +2 -23
  53. package/dist-types/commands/AssociateServiceQuotaTemplateCommand.d.ts +6 -21
  54. package/dist-types/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.d.ts +6 -21
  55. package/dist-types/commands/DisassociateServiceQuotaTemplateCommand.d.ts +6 -21
  56. package/dist-types/commands/GetAWSDefaultServiceQuotaCommand.d.ts +6 -21
  57. package/dist-types/commands/GetAssociationForServiceQuotaTemplateCommand.d.ts +6 -21
  58. package/dist-types/commands/GetRequestedServiceQuotaChangeCommand.d.ts +6 -21
  59. package/dist-types/commands/GetServiceQuotaCommand.d.ts +6 -21
  60. package/dist-types/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.d.ts +6 -21
  61. package/dist-types/commands/ListAWSDefaultServiceQuotasCommand.d.ts +6 -21
  62. package/dist-types/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.d.ts +6 -21
  63. package/dist-types/commands/ListRequestedServiceQuotaChangeHistoryCommand.d.ts +6 -21
  64. package/dist-types/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.d.ts +6 -21
  65. package/dist-types/commands/ListServiceQuotasCommand.d.ts +6 -21
  66. package/dist-types/commands/ListServicesCommand.d.ts +6 -21
  67. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  68. package/dist-types/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.d.ts +6 -21
  69. package/dist-types/commands/RequestServiceQuotaIncreaseCommand.d.ts +6 -21
  70. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  71. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  72. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  73. package/dist-types/pagination/ListAWSDefaultServiceQuotasPaginator.d.ts +1 -1
  74. package/dist-types/pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.d.ts +1 -1
  75. package/dist-types/pagination/ListRequestedServiceQuotaChangeHistoryPaginator.d.ts +1 -1
  76. package/dist-types/pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator.d.ts +1 -1
  77. package/dist-types/pagination/ListServiceQuotasPaginator.d.ts +1 -1
  78. package/dist-types/pagination/ListServicesPaginator.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/AssociateServiceQuotaTemplateCommand.d.ts +12 -24
  80. package/dist-types/ts3.4/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.d.ts +12 -24
  81. package/dist-types/ts3.4/commands/DisassociateServiceQuotaTemplateCommand.d.ts +12 -24
  82. package/dist-types/ts3.4/commands/GetAWSDefaultServiceQuotaCommand.d.ts +12 -24
  83. package/dist-types/ts3.4/commands/GetAssociationForServiceQuotaTemplateCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/commands/GetRequestedServiceQuotaChangeCommand.d.ts +12 -24
  85. package/dist-types/ts3.4/commands/GetServiceQuotaCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.d.ts +12 -24
  87. package/dist-types/ts3.4/commands/ListAWSDefaultServiceQuotasCommand.d.ts +12 -24
  88. package/dist-types/ts3.4/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.d.ts +12 -24
  89. package/dist-types/ts3.4/commands/ListRequestedServiceQuotaChangeHistoryCommand.d.ts +12 -24
  90. package/dist-types/ts3.4/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.d.ts +12 -24
  91. package/dist-types/ts3.4/commands/ListServiceQuotasCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.d.ts +12 -24
  95. package/dist-types/ts3.4/commands/RequestServiceQuotaIncreaseCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  99. package/dist-types/ts3.4/pagination/ListAWSDefaultServiceQuotasPaginator.d.ts +3 -3
  100. package/dist-types/ts3.4/pagination/ListRequestedServiceQuotaChangeHistoryByQuotaPaginator.d.ts +3 -3
  101. package/dist-types/ts3.4/pagination/ListRequestedServiceQuotaChangeHistoryPaginator.d.ts +3 -3
  102. package/dist-types/ts3.4/pagination/ListServiceQuotaIncreaseRequestsInTemplatePaginator.d.ts +3 -3
  103. package/dist-types/ts3.4/pagination/ListServiceQuotasPaginator.d.ts +3 -3
  104. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +3 -3
  105. package/package.json +11 -10
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ServiceQuotasClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ServiceQuotasV20190624",
35
- operation: "ListTagsForResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ServiceQuotasV20190624", "ListTagsForResource", {})
19
+ .n("ServiceQuotasClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_PutServiceQuotaIncreaseRequestIntoTemplateCommand, se_PutServiceQuotaIncreaseRequestIntoTemplateCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PutServiceQuotaIncreaseRequestIntoTemplateCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, PutServiceQuotaIncreaseRequestIntoTemplateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ServiceQuotasClient";
26
- const commandName = "PutServiceQuotaIncreaseRequestIntoTemplateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ServiceQuotasV20190624",
35
- operation: "PutServiceQuotaIncreaseRequestIntoTemplate",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_PutServiceQuotaIncreaseRequestIntoTemplateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutServiceQuotaIncreaseRequestIntoTemplateCommand(output, context);
46
- }
7
+ export class PutServiceQuotaIncreaseRequestIntoTemplateCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ServiceQuotasV20190624", "PutServiceQuotaIncreaseRequestIntoTemplate", {})
19
+ .n("ServiceQuotasClient", "PutServiceQuotaIncreaseRequestIntoTemplateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutServiceQuotaIncreaseRequestIntoTemplateCommand)
22
+ .de(de_PutServiceQuotaIncreaseRequestIntoTemplateCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_RequestServiceQuotaIncreaseCommand, se_RequestServiceQuotaIncreaseCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RequestServiceQuotaIncreaseCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, RequestServiceQuotaIncreaseCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ServiceQuotasClient";
26
- const commandName = "RequestServiceQuotaIncreaseCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ServiceQuotasV20190624",
35
- operation: "RequestServiceQuotaIncrease",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_RequestServiceQuotaIncreaseCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RequestServiceQuotaIncreaseCommand(output, context);
46
- }
7
+ export class RequestServiceQuotaIncreaseCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ServiceQuotasV20190624", "RequestServiceQuotaIncrease", {})
19
+ .n("ServiceQuotasClient", "RequestServiceQuotaIncreaseCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RequestServiceQuotaIncreaseCommand)
22
+ .de(de_RequestServiceQuotaIncreaseCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ServiceQuotasClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ServiceQuotasV20190624",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ServiceQuotasV20190624", "TagResource", {})
19
+ .n("ServiceQuotasClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ServiceQuotasClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ServiceQuotasV20190624",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ServiceQuotasV20190624", "UntagResource", {})
19
+ .n("ServiceQuotasClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "servicequotas",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAWSDefaultServiceQuotasCommand, } from "../commands/ListAWSDefaultServiceQuotasCommand";
2
3
  import { ServiceQuotasClient } from "../ServiceQuotasClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAWSDefaultServiceQuotasCommand(input), ...args);
5
- };
6
- export async function* paginateListAWSDefaultServiceQuotas(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ServiceQuotasClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ServiceQuotas | ServiceQuotasClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAWSDefaultServiceQuotas = createPaginator(ServiceQuotasClient, ListAWSDefaultServiceQuotasCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListRequestedServiceQuotaChangeHistoryByQuotaCommand, } from "../commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand";
2
3
  import { ServiceQuotasClient } from "../ServiceQuotasClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListRequestedServiceQuotaChangeHistoryByQuotaCommand(input), ...args);
5
- };
6
- export async function* paginateListRequestedServiceQuotaChangeHistoryByQuota(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ServiceQuotasClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ServiceQuotas | ServiceQuotasClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListRequestedServiceQuotaChangeHistoryByQuota = createPaginator(ServiceQuotasClient, ListRequestedServiceQuotaChangeHistoryByQuotaCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListRequestedServiceQuotaChangeHistoryCommand, } from "../commands/ListRequestedServiceQuotaChangeHistoryCommand";
2
3
  import { ServiceQuotasClient } from "../ServiceQuotasClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListRequestedServiceQuotaChangeHistoryCommand(input), ...args);
5
- };
6
- export async function* paginateListRequestedServiceQuotaChangeHistory(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ServiceQuotasClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ServiceQuotas | ServiceQuotasClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListRequestedServiceQuotaChangeHistory = createPaginator(ServiceQuotasClient, ListRequestedServiceQuotaChangeHistoryCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListServiceQuotaIncreaseRequestsInTemplateCommand, } from "../commands/ListServiceQuotaIncreaseRequestsInTemplateCommand";
2
3
  import { ServiceQuotasClient } from "../ServiceQuotasClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListServiceQuotaIncreaseRequestsInTemplateCommand(input), ...args);
5
- };
6
- export async function* paginateListServiceQuotaIncreaseRequestsInTemplate(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ServiceQuotasClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ServiceQuotas | ServiceQuotasClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListServiceQuotaIncreaseRequestsInTemplate = createPaginator(ServiceQuotasClient, ListServiceQuotaIncreaseRequestsInTemplateCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListServiceQuotasCommand, } from "../commands/ListServiceQuotasCommand";
2
3
  import { ServiceQuotasClient } from "../ServiceQuotasClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListServiceQuotasCommand(input), ...args);
5
- };
6
- export async function* paginateListServiceQuotas(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ServiceQuotasClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ServiceQuotas | ServiceQuotasClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListServiceQuotas = createPaginator(ServiceQuotasClient, ListServiceQuotasCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListServicesCommand, } from "../commands/ListServicesCommand";
2
3
  import { ServiceQuotasClient } from "../ServiceQuotasClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListServicesCommand(input), ...args);
5
- };
6
- export async function* paginateListServices(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ServiceQuotasClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ServiceQuotas | ServiceQuotasClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListServices = createPaginator(ServiceQuotasClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AssociateServiceQuotaTemplateRequest, AssociateServiceQuotaTemplateResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, ServiceQuotasClientResolvedConfig } from "../ServiceQuotasClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateServiceQuotaTemplateCommandInput extends AssociateServ
21
20
  */
22
21
  export interface AssociateServiceQuotaTemplateCommandOutput extends AssociateServiceQuotaTemplateResponse, __MetadataBearer {
23
22
  }
23
+ declare const AssociateServiceQuotaTemplateCommand_base: {
24
+ new (input: AssociateServiceQuotaTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateServiceQuotaTemplateCommandInput, AssociateServiceQuotaTemplateCommandOutput, ServiceQuotasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates your quota request template with your organization. When a new
@@ -77,23 +80,5 @@ export interface AssociateServiceQuotaTemplateCommandOutput extends AssociateSer
77
80
  * <p>Base exception class for all service exceptions from ServiceQuotas service.</p>
78
81
  *
79
82
  */
80
- export declare class AssociateServiceQuotaTemplateCommand extends $Command<AssociateServiceQuotaTemplateCommandInput, AssociateServiceQuotaTemplateCommandOutput, ServiceQuotasClientResolvedConfig> {
81
- readonly input: AssociateServiceQuotaTemplateCommandInput;
82
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
- /**
84
- * @public
85
- */
86
- constructor(input: AssociateServiceQuotaTemplateCommandInput);
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateServiceQuotaTemplateCommandInput, AssociateServiceQuotaTemplateCommandOutput>;
91
- /**
92
- * @internal
93
- */
94
- private serialize;
95
- /**
96
- * @internal
97
- */
98
- private deserialize;
83
+ export declare class AssociateServiceQuotaTemplateCommand extends AssociateServiceQuotaTemplateCommand_base {
99
84
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteServiceQuotaIncreaseRequestFromTemplateRequest, DeleteServiceQuotaIncreaseRequestFromTemplateResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, ServiceQuotasClientResolvedConfig } from "../ServiceQuotasClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput exten
21
20
  */
22
21
  export interface DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput extends DeleteServiceQuotaIncreaseRequestFromTemplateResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteServiceQuotaIncreaseRequestFromTemplateCommand_base: {
24
+ new (input: DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput, ServiceQuotasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the quota increase request for the specified quota from your quota request
@@ -81,23 +84,5 @@ export interface DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput exte
81
84
  * <p>Base exception class for all service exceptions from ServiceQuotas service.</p>
82
85
  *
83
86
  */
84
- export declare class DeleteServiceQuotaIncreaseRequestFromTemplateCommand extends $Command<DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput, ServiceQuotasClientResolvedConfig> {
85
- readonly input: DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput;
86
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
- /**
88
- * @public
89
- */
90
- constructor(input: DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput);
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput>;
95
- /**
96
- * @internal
97
- */
98
- private serialize;
99
- /**
100
- * @internal
101
- */
102
- private deserialize;
87
+ export declare class DeleteServiceQuotaIncreaseRequestFromTemplateCommand extends DeleteServiceQuotaIncreaseRequestFromTemplateCommand_base {
103
88
  }