@aws-sdk/client-groundstation 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 (165) hide show
  1. package/dist-cjs/commands/CancelContactCommand.js +18 -41
  2. package/dist-cjs/commands/CreateConfigCommand.js +18 -41
  3. package/dist-cjs/commands/CreateDataflowEndpointGroupCommand.js +18 -41
  4. package/dist-cjs/commands/CreateEphemerisCommand.js +18 -41
  5. package/dist-cjs/commands/CreateMissionProfileCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteConfigCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteDataflowEndpointGroupCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteEphemerisCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteMissionProfileCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeContactCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeEphemerisCommand.js +18 -41
  12. package/dist-cjs/commands/GetAgentConfigurationCommand.js +18 -41
  13. package/dist-cjs/commands/GetConfigCommand.js +18 -41
  14. package/dist-cjs/commands/GetDataflowEndpointGroupCommand.js +18 -41
  15. package/dist-cjs/commands/GetMinuteUsageCommand.js +18 -41
  16. package/dist-cjs/commands/GetMissionProfileCommand.js +18 -41
  17. package/dist-cjs/commands/GetSatelliteCommand.js +18 -41
  18. package/dist-cjs/commands/ListConfigsCommand.js +18 -41
  19. package/dist-cjs/commands/ListContactsCommand.js +18 -41
  20. package/dist-cjs/commands/ListDataflowEndpointGroupsCommand.js +18 -41
  21. package/dist-cjs/commands/ListEphemeridesCommand.js +18 -41
  22. package/dist-cjs/commands/ListGroundStationsCommand.js +18 -41
  23. package/dist-cjs/commands/ListMissionProfilesCommand.js +18 -41
  24. package/dist-cjs/commands/ListSatellitesCommand.js +18 -41
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  26. package/dist-cjs/commands/RegisterAgentCommand.js +18 -41
  27. package/dist-cjs/commands/ReserveContactCommand.js +18 -41
  28. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  29. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  30. package/dist-cjs/commands/UpdateAgentStatusCommand.js +18 -41
  31. package/dist-cjs/commands/UpdateConfigCommand.js +18 -41
  32. package/dist-cjs/commands/UpdateEphemerisCommand.js +18 -41
  33. package/dist-cjs/commands/UpdateMissionProfileCommand.js +18 -41
  34. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  35. package/dist-cjs/pagination/ListConfigsPaginator.js +2 -24
  36. package/dist-cjs/pagination/ListContactsPaginator.js +2 -24
  37. package/dist-cjs/pagination/ListDataflowEndpointGroupsPaginator.js +2 -24
  38. package/dist-cjs/pagination/ListEphemeridesPaginator.js +2 -24
  39. package/dist-cjs/pagination/ListGroundStationsPaginator.js +2 -24
  40. package/dist-cjs/pagination/ListMissionProfilesPaginator.js +2 -24
  41. package/dist-cjs/pagination/ListSatellitesPaginator.js +2 -24
  42. package/dist-es/commands/CancelContactCommand.js +18 -41
  43. package/dist-es/commands/CreateConfigCommand.js +18 -41
  44. package/dist-es/commands/CreateDataflowEndpointGroupCommand.js +18 -41
  45. package/dist-es/commands/CreateEphemerisCommand.js +18 -41
  46. package/dist-es/commands/CreateMissionProfileCommand.js +18 -41
  47. package/dist-es/commands/DeleteConfigCommand.js +18 -41
  48. package/dist-es/commands/DeleteDataflowEndpointGroupCommand.js +18 -41
  49. package/dist-es/commands/DeleteEphemerisCommand.js +18 -41
  50. package/dist-es/commands/DeleteMissionProfileCommand.js +18 -41
  51. package/dist-es/commands/DescribeContactCommand.js +18 -41
  52. package/dist-es/commands/DescribeEphemerisCommand.js +18 -41
  53. package/dist-es/commands/GetAgentConfigurationCommand.js +18 -41
  54. package/dist-es/commands/GetConfigCommand.js +18 -41
  55. package/dist-es/commands/GetDataflowEndpointGroupCommand.js +18 -41
  56. package/dist-es/commands/GetMinuteUsageCommand.js +18 -41
  57. package/dist-es/commands/GetMissionProfileCommand.js +18 -41
  58. package/dist-es/commands/GetSatelliteCommand.js +18 -41
  59. package/dist-es/commands/ListConfigsCommand.js +18 -41
  60. package/dist-es/commands/ListContactsCommand.js +18 -41
  61. package/dist-es/commands/ListDataflowEndpointGroupsCommand.js +18 -41
  62. package/dist-es/commands/ListEphemeridesCommand.js +18 -41
  63. package/dist-es/commands/ListGroundStationsCommand.js +18 -41
  64. package/dist-es/commands/ListMissionProfilesCommand.js +18 -41
  65. package/dist-es/commands/ListSatellitesCommand.js +18 -41
  66. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  67. package/dist-es/commands/RegisterAgentCommand.js +18 -41
  68. package/dist-es/commands/ReserveContactCommand.js +18 -41
  69. package/dist-es/commands/TagResourceCommand.js +18 -41
  70. package/dist-es/commands/UntagResourceCommand.js +18 -41
  71. package/dist-es/commands/UpdateAgentStatusCommand.js +18 -41
  72. package/dist-es/commands/UpdateConfigCommand.js +18 -41
  73. package/dist-es/commands/UpdateEphemerisCommand.js +18 -41
  74. package/dist-es/commands/UpdateMissionProfileCommand.js +18 -41
  75. package/dist-es/endpoint/EndpointParameters.js +6 -0
  76. package/dist-es/pagination/ListConfigsPaginator.js +2 -23
  77. package/dist-es/pagination/ListContactsPaginator.js +2 -23
  78. package/dist-es/pagination/ListDataflowEndpointGroupsPaginator.js +2 -23
  79. package/dist-es/pagination/ListEphemeridesPaginator.js +2 -23
  80. package/dist-es/pagination/ListGroundStationsPaginator.js +2 -23
  81. package/dist-es/pagination/ListMissionProfilesPaginator.js +2 -23
  82. package/dist-es/pagination/ListSatellitesPaginator.js +2 -23
  83. package/dist-types/commands/CancelContactCommand.d.ts +6 -21
  84. package/dist-types/commands/CreateConfigCommand.d.ts +6 -21
  85. package/dist-types/commands/CreateDataflowEndpointGroupCommand.d.ts +6 -21
  86. package/dist-types/commands/CreateEphemerisCommand.d.ts +6 -21
  87. package/dist-types/commands/CreateMissionProfileCommand.d.ts +6 -21
  88. package/dist-types/commands/DeleteConfigCommand.d.ts +6 -21
  89. package/dist-types/commands/DeleteDataflowEndpointGroupCommand.d.ts +6 -21
  90. package/dist-types/commands/DeleteEphemerisCommand.d.ts +6 -21
  91. package/dist-types/commands/DeleteMissionProfileCommand.d.ts +6 -21
  92. package/dist-types/commands/DescribeContactCommand.d.ts +6 -21
  93. package/dist-types/commands/DescribeEphemerisCommand.d.ts +6 -21
  94. package/dist-types/commands/GetAgentConfigurationCommand.d.ts +6 -21
  95. package/dist-types/commands/GetConfigCommand.d.ts +6 -21
  96. package/dist-types/commands/GetDataflowEndpointGroupCommand.d.ts +6 -21
  97. package/dist-types/commands/GetMinuteUsageCommand.d.ts +6 -21
  98. package/dist-types/commands/GetMissionProfileCommand.d.ts +6 -21
  99. package/dist-types/commands/GetSatelliteCommand.d.ts +6 -21
  100. package/dist-types/commands/ListConfigsCommand.d.ts +6 -21
  101. package/dist-types/commands/ListContactsCommand.d.ts +6 -21
  102. package/dist-types/commands/ListDataflowEndpointGroupsCommand.d.ts +6 -21
  103. package/dist-types/commands/ListEphemeridesCommand.d.ts +6 -21
  104. package/dist-types/commands/ListGroundStationsCommand.d.ts +6 -21
  105. package/dist-types/commands/ListMissionProfilesCommand.d.ts +6 -21
  106. package/dist-types/commands/ListSatellitesCommand.d.ts +6 -21
  107. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  108. package/dist-types/commands/RegisterAgentCommand.d.ts +6 -21
  109. package/dist-types/commands/ReserveContactCommand.d.ts +6 -21
  110. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  111. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  112. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +6 -21
  113. package/dist-types/commands/UpdateConfigCommand.d.ts +6 -21
  114. package/dist-types/commands/UpdateEphemerisCommand.d.ts +6 -21
  115. package/dist-types/commands/UpdateMissionProfileCommand.d.ts +6 -21
  116. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  117. package/dist-types/pagination/ListConfigsPaginator.d.ts +1 -1
  118. package/dist-types/pagination/ListContactsPaginator.d.ts +1 -1
  119. package/dist-types/pagination/ListDataflowEndpointGroupsPaginator.d.ts +1 -1
  120. package/dist-types/pagination/ListEphemeridesPaginator.d.ts +1 -1
  121. package/dist-types/pagination/ListGroundStationsPaginator.d.ts +1 -1
  122. package/dist-types/pagination/ListMissionProfilesPaginator.d.ts +1 -1
  123. package/dist-types/pagination/ListSatellitesPaginator.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/CancelContactCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/commands/CreateConfigCommand.d.ts +14 -23
  126. package/dist-types/ts3.4/commands/CreateDataflowEndpointGroupCommand.d.ts +12 -24
  127. package/dist-types/ts3.4/commands/CreateEphemerisCommand.d.ts +14 -23
  128. package/dist-types/ts3.4/commands/CreateMissionProfileCommand.d.ts +12 -24
  129. package/dist-types/ts3.4/commands/DeleteConfigCommand.d.ts +14 -23
  130. package/dist-types/ts3.4/commands/DeleteDataflowEndpointGroupCommand.d.ts +12 -24
  131. package/dist-types/ts3.4/commands/DeleteEphemerisCommand.d.ts +14 -23
  132. package/dist-types/ts3.4/commands/DeleteMissionProfileCommand.d.ts +12 -24
  133. package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +14 -23
  134. package/dist-types/ts3.4/commands/DescribeEphemerisCommand.d.ts +14 -23
  135. package/dist-types/ts3.4/commands/GetAgentConfigurationCommand.d.ts +12 -24
  136. package/dist-types/ts3.4/commands/GetConfigCommand.d.ts +14 -23
  137. package/dist-types/ts3.4/commands/GetDataflowEndpointGroupCommand.d.ts +12 -24
  138. package/dist-types/ts3.4/commands/GetMinuteUsageCommand.d.ts +14 -23
  139. package/dist-types/ts3.4/commands/GetMissionProfileCommand.d.ts +14 -23
  140. package/dist-types/ts3.4/commands/GetSatelliteCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/ListConfigsCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/ListContactsCommand.d.ts +14 -23
  143. package/dist-types/ts3.4/commands/ListDataflowEndpointGroupsCommand.d.ts +12 -24
  144. package/dist-types/ts3.4/commands/ListEphemeridesCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/ListGroundStationsCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/ListMissionProfilesCommand.d.ts +14 -23
  147. package/dist-types/ts3.4/commands/ListSatellitesCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  149. package/dist-types/ts3.4/commands/RegisterAgentCommand.d.ts +14 -23
  150. package/dist-types/ts3.4/commands/ReserveContactCommand.d.ts +14 -23
  151. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  152. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  153. package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +14 -23
  154. package/dist-types/ts3.4/commands/UpdateConfigCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/UpdateEphemerisCommand.d.ts +14 -23
  156. package/dist-types/ts3.4/commands/UpdateMissionProfileCommand.d.ts +12 -24
  157. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  158. package/dist-types/ts3.4/pagination/ListConfigsPaginator.d.ts +3 -3
  159. package/dist-types/ts3.4/pagination/ListContactsPaginator.d.ts +3 -3
  160. package/dist-types/ts3.4/pagination/ListDataflowEndpointGroupsPaginator.d.ts +3 -3
  161. package/dist-types/ts3.4/pagination/ListEphemeridesPaginator.d.ts +3 -3
  162. package/dist-types/ts3.4/pagination/ListGroundStationsPaginator.d.ts +3 -3
  163. package/dist-types/ts3.4/pagination/ListMissionProfilesPaginator.d.ts +3 -3
  164. package/dist-types/ts3.4/pagination/ListSatellitesPaginator.d.ts +3 -3
  165. package/package.json +11 -11
@@ -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_restJson1";
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 = "GroundStationClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GroundStation",
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("GroundStation", "TagResource", {})
19
+ .n("GroundStationClient", "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_restJson1";
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 = "GroundStationClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GroundStation",
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("GroundStation", "UntagResource", {})
19
+ .n("GroundStationClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
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_UpdateAgentStatusCommand, se_UpdateAgentStatusCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateAgentStatusCommand 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, UpdateAgentStatusCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GroundStationClient";
26
- const commandName = "UpdateAgentStatusCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GroundStation",
35
- operation: "UpdateAgentStatus",
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_UpdateAgentStatusCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateAgentStatusCommand(output, context);
46
- }
7
+ export class UpdateAgentStatusCommand 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("GroundStation", "UpdateAgentStatus", {})
19
+ .n("GroundStationClient", "UpdateAgentStatusCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateAgentStatusCommand)
22
+ .de(de_UpdateAgentStatusCommand)
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_UpdateConfigCommand, se_UpdateConfigCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateConfigCommand 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, UpdateConfigCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GroundStationClient";
26
- const commandName = "UpdateConfigCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GroundStation",
35
- operation: "UpdateConfig",
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_UpdateConfigCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateConfigCommand(output, context);
46
- }
7
+ export class UpdateConfigCommand 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("GroundStation", "UpdateConfig", {})
19
+ .n("GroundStationClient", "UpdateConfigCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateConfigCommand)
22
+ .de(de_UpdateConfigCommand)
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_UpdateEphemerisCommand, se_UpdateEphemerisCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateEphemerisCommand 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, UpdateEphemerisCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GroundStationClient";
26
- const commandName = "UpdateEphemerisCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GroundStation",
35
- operation: "UpdateEphemeris",
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_UpdateEphemerisCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateEphemerisCommand(output, context);
46
- }
7
+ export class UpdateEphemerisCommand 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("GroundStation", "UpdateEphemeris", {})
19
+ .n("GroundStationClient", "UpdateEphemerisCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateEphemerisCommand)
22
+ .de(de_UpdateEphemerisCommand)
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_UpdateMissionProfileCommand, se_UpdateMissionProfileCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateMissionProfileCommand 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, UpdateMissionProfileCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GroundStationClient";
26
- const commandName = "UpdateMissionProfileCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GroundStation",
35
- operation: "UpdateMissionProfile",
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_UpdateMissionProfileCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateMissionProfileCommand(output, context);
46
- }
7
+ export class UpdateMissionProfileCommand 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("GroundStation", "UpdateMissionProfile", {})
19
+ .n("GroundStationClient", "UpdateMissionProfileCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateMissionProfileCommand)
22
+ .de(de_UpdateMissionProfileCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "groundstation",
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 { ListConfigsCommand } from "../commands/ListConfigsCommand";
2
3
  import { GroundStationClient } from "../GroundStationClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListConfigsCommand(input), ...args);
5
- };
6
- export async function* paginateListConfigs(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 GroundStationClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected GroundStation | GroundStationClient");
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 paginateListConfigs = createPaginator(GroundStationClient, ListConfigsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListContactsCommand, } from "../commands/ListContactsCommand";
2
3
  import { GroundStationClient } from "../GroundStationClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListContactsCommand(input), ...args);
5
- };
6
- export async function* paginateListContacts(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 GroundStationClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected GroundStation | GroundStationClient");
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 paginateListContacts = createPaginator(GroundStationClient, ListContactsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListDataflowEndpointGroupsCommand, } from "../commands/ListDataflowEndpointGroupsCommand";
2
3
  import { GroundStationClient } from "../GroundStationClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListDataflowEndpointGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateListDataflowEndpointGroups(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 GroundStationClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected GroundStation | GroundStationClient");
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 paginateListDataflowEndpointGroups = createPaginator(GroundStationClient, ListDataflowEndpointGroupsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListEphemeridesCommand, } from "../commands/ListEphemeridesCommand";
2
3
  import { GroundStationClient } from "../GroundStationClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListEphemeridesCommand(input), ...args);
5
- };
6
- export async function* paginateListEphemerides(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 GroundStationClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected GroundStation | GroundStationClient");
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 paginateListEphemerides = createPaginator(GroundStationClient, ListEphemeridesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListGroundStationsCommand, } from "../commands/ListGroundStationsCommand";
2
3
  import { GroundStationClient } from "../GroundStationClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListGroundStationsCommand(input), ...args);
5
- };
6
- export async function* paginateListGroundStations(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 GroundStationClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected GroundStation | GroundStationClient");
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 paginateListGroundStations = createPaginator(GroundStationClient, ListGroundStationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListMissionProfilesCommand, } from "../commands/ListMissionProfilesCommand";
2
3
  import { GroundStationClient } from "../GroundStationClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListMissionProfilesCommand(input), ...args);
5
- };
6
- export async function* paginateListMissionProfiles(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 GroundStationClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected GroundStation | GroundStationClient");
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 paginateListMissionProfiles = createPaginator(GroundStationClient, ListMissionProfilesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSatellitesCommand, } from "../commands/ListSatellitesCommand";
2
3
  import { GroundStationClient } from "../GroundStationClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSatellitesCommand(input), ...args);
5
- };
6
- export async function* paginateListSatellites(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 GroundStationClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected GroundStation | GroundStationClient");
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 paginateListSatellites = createPaginator(GroundStationClient, ListSatellitesCommand, "nextToken", "nextToken", "maxResults");