@aws-sdk/client-apprunner 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 (189) hide show
  1. package/dist-cjs/commands/AssociateCustomDomainCommand.js +18 -41
  2. package/dist-cjs/commands/CreateAutoScalingConfigurationCommand.js +18 -41
  3. package/dist-cjs/commands/CreateConnectionCommand.js +18 -41
  4. package/dist-cjs/commands/CreateObservabilityConfigurationCommand.js +18 -41
  5. package/dist-cjs/commands/CreateServiceCommand.js +18 -41
  6. package/dist-cjs/commands/CreateVpcConnectorCommand.js +18 -41
  7. package/dist-cjs/commands/CreateVpcIngressConnectionCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteAutoScalingConfigurationCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteConnectionCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteObservabilityConfigurationCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteServiceCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteVpcConnectorCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteVpcIngressConnectionCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeAutoScalingConfigurationCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeCustomDomainsCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeObservabilityConfigurationCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeServiceCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeVpcConnectorCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeVpcIngressConnectionCommand.js +18 -41
  20. package/dist-cjs/commands/DisassociateCustomDomainCommand.js +18 -41
  21. package/dist-cjs/commands/ListAutoScalingConfigurationsCommand.js +18 -41
  22. package/dist-cjs/commands/ListConnectionsCommand.js +18 -41
  23. package/dist-cjs/commands/ListObservabilityConfigurationsCommand.js +18 -41
  24. package/dist-cjs/commands/ListOperationsCommand.js +18 -41
  25. package/dist-cjs/commands/ListServicesCommand.js +18 -41
  26. package/dist-cjs/commands/ListServicesForAutoScalingConfigurationCommand.js +18 -41
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  28. package/dist-cjs/commands/ListVpcConnectorsCommand.js +18 -41
  29. package/dist-cjs/commands/ListVpcIngressConnectionsCommand.js +18 -41
  30. package/dist-cjs/commands/PauseServiceCommand.js +18 -41
  31. package/dist-cjs/commands/ResumeServiceCommand.js +18 -41
  32. package/dist-cjs/commands/StartDeploymentCommand.js +18 -41
  33. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  34. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  35. package/dist-cjs/commands/UpdateDefaultAutoScalingConfigurationCommand.js +18 -41
  36. package/dist-cjs/commands/UpdateServiceCommand.js +18 -41
  37. package/dist-cjs/commands/UpdateVpcIngressConnectionCommand.js +18 -41
  38. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  39. package/dist-cjs/pagination/DescribeCustomDomainsPaginator.js +2 -24
  40. package/dist-cjs/pagination/ListAutoScalingConfigurationsPaginator.js +2 -24
  41. package/dist-cjs/pagination/ListConnectionsPaginator.js +2 -24
  42. package/dist-cjs/pagination/ListObservabilityConfigurationsPaginator.js +2 -24
  43. package/dist-cjs/pagination/ListOperationsPaginator.js +2 -24
  44. package/dist-cjs/pagination/ListServicesForAutoScalingConfigurationPaginator.js +2 -24
  45. package/dist-cjs/pagination/ListServicesPaginator.js +2 -24
  46. package/dist-cjs/pagination/ListVpcConnectorsPaginator.js +2 -24
  47. package/dist-cjs/pagination/ListVpcIngressConnectionsPaginator.js +2 -24
  48. package/dist-es/commands/AssociateCustomDomainCommand.js +18 -41
  49. package/dist-es/commands/CreateAutoScalingConfigurationCommand.js +18 -41
  50. package/dist-es/commands/CreateConnectionCommand.js +18 -41
  51. package/dist-es/commands/CreateObservabilityConfigurationCommand.js +18 -41
  52. package/dist-es/commands/CreateServiceCommand.js +18 -41
  53. package/dist-es/commands/CreateVpcConnectorCommand.js +18 -41
  54. package/dist-es/commands/CreateVpcIngressConnectionCommand.js +18 -41
  55. package/dist-es/commands/DeleteAutoScalingConfigurationCommand.js +18 -41
  56. package/dist-es/commands/DeleteConnectionCommand.js +18 -41
  57. package/dist-es/commands/DeleteObservabilityConfigurationCommand.js +18 -41
  58. package/dist-es/commands/DeleteServiceCommand.js +18 -41
  59. package/dist-es/commands/DeleteVpcConnectorCommand.js +18 -41
  60. package/dist-es/commands/DeleteVpcIngressConnectionCommand.js +18 -41
  61. package/dist-es/commands/DescribeAutoScalingConfigurationCommand.js +18 -41
  62. package/dist-es/commands/DescribeCustomDomainsCommand.js +18 -41
  63. package/dist-es/commands/DescribeObservabilityConfigurationCommand.js +18 -41
  64. package/dist-es/commands/DescribeServiceCommand.js +18 -41
  65. package/dist-es/commands/DescribeVpcConnectorCommand.js +18 -41
  66. package/dist-es/commands/DescribeVpcIngressConnectionCommand.js +18 -41
  67. package/dist-es/commands/DisassociateCustomDomainCommand.js +18 -41
  68. package/dist-es/commands/ListAutoScalingConfigurationsCommand.js +18 -41
  69. package/dist-es/commands/ListConnectionsCommand.js +18 -41
  70. package/dist-es/commands/ListObservabilityConfigurationsCommand.js +18 -41
  71. package/dist-es/commands/ListOperationsCommand.js +18 -41
  72. package/dist-es/commands/ListServicesCommand.js +18 -41
  73. package/dist-es/commands/ListServicesForAutoScalingConfigurationCommand.js +18 -41
  74. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  75. package/dist-es/commands/ListVpcConnectorsCommand.js +18 -41
  76. package/dist-es/commands/ListVpcIngressConnectionsCommand.js +18 -41
  77. package/dist-es/commands/PauseServiceCommand.js +18 -41
  78. package/dist-es/commands/ResumeServiceCommand.js +18 -41
  79. package/dist-es/commands/StartDeploymentCommand.js +18 -41
  80. package/dist-es/commands/TagResourceCommand.js +18 -41
  81. package/dist-es/commands/UntagResourceCommand.js +18 -41
  82. package/dist-es/commands/UpdateDefaultAutoScalingConfigurationCommand.js +18 -41
  83. package/dist-es/commands/UpdateServiceCommand.js +18 -41
  84. package/dist-es/commands/UpdateVpcIngressConnectionCommand.js +18 -41
  85. package/dist-es/endpoint/EndpointParameters.js +6 -0
  86. package/dist-es/pagination/DescribeCustomDomainsPaginator.js +2 -23
  87. package/dist-es/pagination/ListAutoScalingConfigurationsPaginator.js +2 -23
  88. package/dist-es/pagination/ListConnectionsPaginator.js +2 -23
  89. package/dist-es/pagination/ListObservabilityConfigurationsPaginator.js +2 -23
  90. package/dist-es/pagination/ListOperationsPaginator.js +2 -23
  91. package/dist-es/pagination/ListServicesForAutoScalingConfigurationPaginator.js +2 -23
  92. package/dist-es/pagination/ListServicesPaginator.js +2 -23
  93. package/dist-es/pagination/ListVpcConnectorsPaginator.js +2 -23
  94. package/dist-es/pagination/ListVpcIngressConnectionsPaginator.js +2 -23
  95. package/dist-types/commands/AssociateCustomDomainCommand.d.ts +6 -21
  96. package/dist-types/commands/CreateAutoScalingConfigurationCommand.d.ts +6 -21
  97. package/dist-types/commands/CreateConnectionCommand.d.ts +6 -21
  98. package/dist-types/commands/CreateObservabilityConfigurationCommand.d.ts +6 -21
  99. package/dist-types/commands/CreateServiceCommand.d.ts +6 -21
  100. package/dist-types/commands/CreateVpcConnectorCommand.d.ts +6 -21
  101. package/dist-types/commands/CreateVpcIngressConnectionCommand.d.ts +6 -21
  102. package/dist-types/commands/DeleteAutoScalingConfigurationCommand.d.ts +6 -21
  103. package/dist-types/commands/DeleteConnectionCommand.d.ts +6 -21
  104. package/dist-types/commands/DeleteObservabilityConfigurationCommand.d.ts +6 -21
  105. package/dist-types/commands/DeleteServiceCommand.d.ts +6 -21
  106. package/dist-types/commands/DeleteVpcConnectorCommand.d.ts +6 -21
  107. package/dist-types/commands/DeleteVpcIngressConnectionCommand.d.ts +6 -21
  108. package/dist-types/commands/DescribeAutoScalingConfigurationCommand.d.ts +6 -21
  109. package/dist-types/commands/DescribeCustomDomainsCommand.d.ts +6 -21
  110. package/dist-types/commands/DescribeObservabilityConfigurationCommand.d.ts +6 -21
  111. package/dist-types/commands/DescribeServiceCommand.d.ts +6 -21
  112. package/dist-types/commands/DescribeVpcConnectorCommand.d.ts +6 -21
  113. package/dist-types/commands/DescribeVpcIngressConnectionCommand.d.ts +6 -21
  114. package/dist-types/commands/DisassociateCustomDomainCommand.d.ts +6 -21
  115. package/dist-types/commands/ListAutoScalingConfigurationsCommand.d.ts +6 -21
  116. package/dist-types/commands/ListConnectionsCommand.d.ts +6 -21
  117. package/dist-types/commands/ListObservabilityConfigurationsCommand.d.ts +6 -21
  118. package/dist-types/commands/ListOperationsCommand.d.ts +6 -21
  119. package/dist-types/commands/ListServicesCommand.d.ts +6 -21
  120. package/dist-types/commands/ListServicesForAutoScalingConfigurationCommand.d.ts +6 -21
  121. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  122. package/dist-types/commands/ListVpcConnectorsCommand.d.ts +6 -21
  123. package/dist-types/commands/ListVpcIngressConnectionsCommand.d.ts +6 -21
  124. package/dist-types/commands/PauseServiceCommand.d.ts +6 -21
  125. package/dist-types/commands/ResumeServiceCommand.d.ts +6 -21
  126. package/dist-types/commands/StartDeploymentCommand.d.ts +6 -21
  127. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  128. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  129. package/dist-types/commands/UpdateDefaultAutoScalingConfigurationCommand.d.ts +6 -21
  130. package/dist-types/commands/UpdateServiceCommand.d.ts +6 -21
  131. package/dist-types/commands/UpdateVpcIngressConnectionCommand.d.ts +6 -21
  132. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  133. package/dist-types/pagination/DescribeCustomDomainsPaginator.d.ts +1 -1
  134. package/dist-types/pagination/ListAutoScalingConfigurationsPaginator.d.ts +1 -1
  135. package/dist-types/pagination/ListConnectionsPaginator.d.ts +1 -1
  136. package/dist-types/pagination/ListObservabilityConfigurationsPaginator.d.ts +1 -1
  137. package/dist-types/pagination/ListOperationsPaginator.d.ts +1 -1
  138. package/dist-types/pagination/ListServicesForAutoScalingConfigurationPaginator.d.ts +1 -1
  139. package/dist-types/pagination/ListServicesPaginator.d.ts +1 -1
  140. package/dist-types/pagination/ListVpcConnectorsPaginator.d.ts +1 -1
  141. package/dist-types/pagination/ListVpcIngressConnectionsPaginator.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/AssociateCustomDomainCommand.d.ts +12 -24
  143. package/dist-types/ts3.4/commands/CreateAutoScalingConfigurationCommand.d.ts +12 -24
  144. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/CreateObservabilityConfigurationCommand.d.ts +12 -24
  146. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +14 -23
  147. package/dist-types/ts3.4/commands/CreateVpcConnectorCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/commands/CreateVpcIngressConnectionCommand.d.ts +12 -24
  149. package/dist-types/ts3.4/commands/DeleteAutoScalingConfigurationCommand.d.ts +12 -24
  150. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +14 -23
  151. package/dist-types/ts3.4/commands/DeleteObservabilityConfigurationCommand.d.ts +12 -24
  152. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +14 -23
  153. package/dist-types/ts3.4/commands/DeleteVpcConnectorCommand.d.ts +14 -23
  154. package/dist-types/ts3.4/commands/DeleteVpcIngressConnectionCommand.d.ts +12 -24
  155. package/dist-types/ts3.4/commands/DescribeAutoScalingConfigurationCommand.d.ts +12 -24
  156. package/dist-types/ts3.4/commands/DescribeCustomDomainsCommand.d.ts +12 -24
  157. package/dist-types/ts3.4/commands/DescribeObservabilityConfigurationCommand.d.ts +12 -24
  158. package/dist-types/ts3.4/commands/DescribeServiceCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/DescribeVpcConnectorCommand.d.ts +12 -24
  160. package/dist-types/ts3.4/commands/DescribeVpcIngressConnectionCommand.d.ts +12 -24
  161. package/dist-types/ts3.4/commands/DisassociateCustomDomainCommand.d.ts +12 -24
  162. package/dist-types/ts3.4/commands/ListAutoScalingConfigurationsCommand.d.ts +12 -24
  163. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +14 -23
  164. package/dist-types/ts3.4/commands/ListObservabilityConfigurationsCommand.d.ts +12 -24
  165. package/dist-types/ts3.4/commands/ListOperationsCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/ListServicesForAutoScalingConfigurationCommand.d.ts +12 -24
  168. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/ListVpcConnectorsCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/ListVpcIngressConnectionsCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/PauseServiceCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/ResumeServiceCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/StartDeploymentCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/UpdateDefaultAutoScalingConfigurationCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/UpdateVpcIngressConnectionCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  180. package/dist-types/ts3.4/pagination/DescribeCustomDomainsPaginator.d.ts +3 -3
  181. package/dist-types/ts3.4/pagination/ListAutoScalingConfigurationsPaginator.d.ts +3 -3
  182. package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +3 -3
  183. package/dist-types/ts3.4/pagination/ListObservabilityConfigurationsPaginator.d.ts +3 -3
  184. package/dist-types/ts3.4/pagination/ListOperationsPaginator.d.ts +3 -3
  185. package/dist-types/ts3.4/pagination/ListServicesForAutoScalingConfigurationPaginator.d.ts +3 -3
  186. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +3 -3
  187. package/dist-types/ts3.4/pagination/ListVpcConnectorsPaginator.d.ts +3 -3
  188. package/dist-types/ts3.4/pagination/ListVpcIngressConnectionsPaginator.d.ts +3 -3
  189. package/package.json +11 -10
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class UpdateVpcIngressConnectionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateVpcIngressConnectionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "AppRunnerClient";
29
- const commandName = "UpdateVpcIngressConnectionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AppRunner",
38
- operation: "UpdateVpcIngressConnection",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_UpdateVpcIngressConnectionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_UpdateVpcIngressConnectionCommand)(output, context);
49
- }
10
+ class UpdateVpcIngressConnectionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AppRunner", "UpdateVpcIngressConnection", {})
22
+ .n("AppRunnerClient", "UpdateVpcIngressConnectionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_UpdateVpcIngressConnectionCommand)
25
+ .de(Aws_json1_0_1.de_UpdateVpcIngressConnectionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateVpcIngressConnectionCommand = UpdateVpcIngressConnectionCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeCustomDomains = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const AppRunnerClient_1 = require("../AppRunnerClient");
5
6
  const DescribeCustomDomainsCommand_1 = require("../commands/DescribeCustomDomainsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeCustomDomainsCommand_1.DescribeCustomDomainsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeCustomDomains(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof AppRunnerClient_1.AppRunnerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeCustomDomains = paginateDescribeCustomDomains;
7
+ exports.paginateDescribeCustomDomains = (0, core_1.createPaginator)(AppRunnerClient_1.AppRunnerClient, DescribeCustomDomainsCommand_1.DescribeCustomDomainsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAutoScalingConfigurations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const AppRunnerClient_1 = require("../AppRunnerClient");
5
6
  const ListAutoScalingConfigurationsCommand_1 = require("../commands/ListAutoScalingConfigurationsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAutoScalingConfigurationsCommand_1.ListAutoScalingConfigurationsCommand(input), ...args);
8
- };
9
- async function* paginateListAutoScalingConfigurations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof AppRunnerClient_1.AppRunnerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAutoScalingConfigurations = paginateListAutoScalingConfigurations;
7
+ exports.paginateListAutoScalingConfigurations = (0, core_1.createPaginator)(AppRunnerClient_1.AppRunnerClient, ListAutoScalingConfigurationsCommand_1.ListAutoScalingConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListConnections = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const AppRunnerClient_1 = require("../AppRunnerClient");
5
6
  const ListConnectionsCommand_1 = require("../commands/ListConnectionsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListConnectionsCommand_1.ListConnectionsCommand(input), ...args);
8
- };
9
- async function* paginateListConnections(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof AppRunnerClient_1.AppRunnerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListConnections = paginateListConnections;
7
+ exports.paginateListConnections = (0, core_1.createPaginator)(AppRunnerClient_1.AppRunnerClient, ListConnectionsCommand_1.ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListObservabilityConfigurations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const AppRunnerClient_1 = require("../AppRunnerClient");
5
6
  const ListObservabilityConfigurationsCommand_1 = require("../commands/ListObservabilityConfigurationsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListObservabilityConfigurationsCommand_1.ListObservabilityConfigurationsCommand(input), ...args);
8
- };
9
- async function* paginateListObservabilityConfigurations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof AppRunnerClient_1.AppRunnerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListObservabilityConfigurations = paginateListObservabilityConfigurations;
7
+ exports.paginateListObservabilityConfigurations = (0, core_1.createPaginator)(AppRunnerClient_1.AppRunnerClient, ListObservabilityConfigurationsCommand_1.ListObservabilityConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListOperations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const AppRunnerClient_1 = require("../AppRunnerClient");
5
6
  const ListOperationsCommand_1 = require("../commands/ListOperationsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListOperationsCommand_1.ListOperationsCommand(input), ...args);
8
- };
9
- async function* paginateListOperations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof AppRunnerClient_1.AppRunnerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListOperations = paginateListOperations;
7
+ exports.paginateListOperations = (0, core_1.createPaginator)(AppRunnerClient_1.AppRunnerClient, ListOperationsCommand_1.ListOperationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListServicesForAutoScalingConfiguration = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const AppRunnerClient_1 = require("../AppRunnerClient");
5
6
  const ListServicesForAutoScalingConfigurationCommand_1 = require("../commands/ListServicesForAutoScalingConfigurationCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListServicesForAutoScalingConfigurationCommand_1.ListServicesForAutoScalingConfigurationCommand(input), ...args);
8
- };
9
- async function* paginateListServicesForAutoScalingConfiguration(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof AppRunnerClient_1.AppRunnerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListServicesForAutoScalingConfiguration = paginateListServicesForAutoScalingConfiguration;
7
+ exports.paginateListServicesForAutoScalingConfiguration = (0, core_1.createPaginator)(AppRunnerClient_1.AppRunnerClient, ListServicesForAutoScalingConfigurationCommand_1.ListServicesForAutoScalingConfigurationCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListServices = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const AppRunnerClient_1 = require("../AppRunnerClient");
5
6
  const ListServicesCommand_1 = require("../commands/ListServicesCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListServicesCommand_1.ListServicesCommand(input), ...args);
8
- };
9
- async function* paginateListServices(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof AppRunnerClient_1.AppRunnerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListServices = paginateListServices;
7
+ exports.paginateListServices = (0, core_1.createPaginator)(AppRunnerClient_1.AppRunnerClient, ListServicesCommand_1.ListServicesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListVpcConnectors = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const AppRunnerClient_1 = require("../AppRunnerClient");
5
6
  const ListVpcConnectorsCommand_1 = require("../commands/ListVpcConnectorsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListVpcConnectorsCommand_1.ListVpcConnectorsCommand(input), ...args);
8
- };
9
- async function* paginateListVpcConnectors(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof AppRunnerClient_1.AppRunnerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListVpcConnectors = paginateListVpcConnectors;
7
+ exports.paginateListVpcConnectors = (0, core_1.createPaginator)(AppRunnerClient_1.AppRunnerClient, ListVpcConnectorsCommand_1.ListVpcConnectorsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListVpcIngressConnections = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const AppRunnerClient_1 = require("../AppRunnerClient");
5
6
  const ListVpcIngressConnectionsCommand_1 = require("../commands/ListVpcIngressConnectionsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListVpcIngressConnectionsCommand_1.ListVpcIngressConnectionsCommand(input), ...args);
8
- };
9
- async function* paginateListVpcIngressConnections(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof AppRunnerClient_1.AppRunnerClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListVpcIngressConnections = paginateListVpcIngressConnections;
7
+ exports.paginateListVpcIngressConnections = (0, core_1.createPaginator)(AppRunnerClient_1.AppRunnerClient, ListVpcIngressConnectionsCommand_1.ListVpcIngressConnectionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -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_AssociateCustomDomainCommand, se_AssociateCustomDomainCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class AssociateCustomDomainCommand 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, AssociateCustomDomainCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppRunnerClient";
26
- const commandName = "AssociateCustomDomainCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AppRunner",
35
- operation: "AssociateCustomDomain",
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_AssociateCustomDomainCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AssociateCustomDomainCommand(output, context);
46
- }
7
+ export class AssociateCustomDomainCommand 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("AppRunner", "AssociateCustomDomain", {})
19
+ .n("AppRunnerClient", "AssociateCustomDomainCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AssociateCustomDomainCommand)
22
+ .de(de_AssociateCustomDomainCommand)
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_CreateAutoScalingConfigurationCommand, se_CreateAutoScalingConfigurationCommand, } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class CreateAutoScalingConfigurationCommand 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, CreateAutoScalingConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppRunnerClient";
26
- const commandName = "CreateAutoScalingConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AppRunner",
35
- operation: "CreateAutoScalingConfiguration",
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_CreateAutoScalingConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateAutoScalingConfigurationCommand(output, context);
46
- }
7
+ export class CreateAutoScalingConfigurationCommand 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("AppRunner", "CreateAutoScalingConfiguration", {})
19
+ .n("AppRunnerClient", "CreateAutoScalingConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateAutoScalingConfigurationCommand)
22
+ .de(de_CreateAutoScalingConfigurationCommand)
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_CreateConnectionCommand, se_CreateConnectionCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class CreateConnectionCommand 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, CreateConnectionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppRunnerClient";
26
- const commandName = "CreateConnectionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AppRunner",
35
- operation: "CreateConnection",
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_CreateConnectionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateConnectionCommand(output, context);
46
- }
7
+ export class CreateConnectionCommand 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("AppRunner", "CreateConnection", {})
19
+ .n("AppRunnerClient", "CreateConnectionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateConnectionCommand)
22
+ .de(de_CreateConnectionCommand)
23
+ .build() {
47
24
  }