@aws-sdk/client-appflow 3.478.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/CancelFlowExecutionsCommand.js +18 -41
  2. package/dist-cjs/commands/CreateConnectorProfileCommand.js +18 -41
  3. package/dist-cjs/commands/CreateFlowCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteConnectorProfileCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteFlowCommand.js +18 -41
  6. package/dist-cjs/commands/DescribeConnectorCommand.js +18 -41
  7. package/dist-cjs/commands/DescribeConnectorEntityCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeConnectorProfilesCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeConnectorsCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeFlowCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeFlowExecutionRecordsCommand.js +18 -41
  12. package/dist-cjs/commands/ListConnectorEntitiesCommand.js +18 -41
  13. package/dist-cjs/commands/ListConnectorsCommand.js +18 -41
  14. package/dist-cjs/commands/ListFlowsCommand.js +18 -41
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  16. package/dist-cjs/commands/RegisterConnectorCommand.js +18 -41
  17. package/dist-cjs/commands/ResetConnectorMetadataCacheCommand.js +18 -41
  18. package/dist-cjs/commands/StartFlowCommand.js +18 -41
  19. package/dist-cjs/commands/StopFlowCommand.js +18 -41
  20. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  21. package/dist-cjs/commands/UnregisterConnectorCommand.js +18 -41
  22. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  23. package/dist-cjs/commands/UpdateConnectorProfileCommand.js +18 -41
  24. package/dist-cjs/commands/UpdateConnectorRegistrationCommand.js +18 -41
  25. package/dist-cjs/commands/UpdateFlowCommand.js +18 -41
  26. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  27. package/dist-es/commands/CancelFlowExecutionsCommand.js +18 -41
  28. package/dist-es/commands/CreateConnectorProfileCommand.js +18 -41
  29. package/dist-es/commands/CreateFlowCommand.js +18 -41
  30. package/dist-es/commands/DeleteConnectorProfileCommand.js +18 -41
  31. package/dist-es/commands/DeleteFlowCommand.js +18 -41
  32. package/dist-es/commands/DescribeConnectorCommand.js +18 -41
  33. package/dist-es/commands/DescribeConnectorEntityCommand.js +18 -41
  34. package/dist-es/commands/DescribeConnectorProfilesCommand.js +18 -41
  35. package/dist-es/commands/DescribeConnectorsCommand.js +18 -41
  36. package/dist-es/commands/DescribeFlowCommand.js +18 -41
  37. package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js +18 -41
  38. package/dist-es/commands/ListConnectorEntitiesCommand.js +18 -41
  39. package/dist-es/commands/ListConnectorsCommand.js +18 -41
  40. package/dist-es/commands/ListFlowsCommand.js +18 -41
  41. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  42. package/dist-es/commands/RegisterConnectorCommand.js +18 -41
  43. package/dist-es/commands/ResetConnectorMetadataCacheCommand.js +18 -41
  44. package/dist-es/commands/StartFlowCommand.js +18 -41
  45. package/dist-es/commands/StopFlowCommand.js +18 -41
  46. package/dist-es/commands/TagResourceCommand.js +18 -41
  47. package/dist-es/commands/UnregisterConnectorCommand.js +18 -41
  48. package/dist-es/commands/UntagResourceCommand.js +18 -41
  49. package/dist-es/commands/UpdateConnectorProfileCommand.js +18 -41
  50. package/dist-es/commands/UpdateConnectorRegistrationCommand.js +18 -41
  51. package/dist-es/commands/UpdateFlowCommand.js +18 -41
  52. package/dist-es/endpoint/EndpointParameters.js +6 -0
  53. package/dist-types/commands/CancelFlowExecutionsCommand.d.ts +6 -21
  54. package/dist-types/commands/CreateConnectorProfileCommand.d.ts +6 -21
  55. package/dist-types/commands/CreateFlowCommand.d.ts +6 -21
  56. package/dist-types/commands/DeleteConnectorProfileCommand.d.ts +6 -21
  57. package/dist-types/commands/DeleteFlowCommand.d.ts +6 -21
  58. package/dist-types/commands/DescribeConnectorCommand.d.ts +6 -21
  59. package/dist-types/commands/DescribeConnectorEntityCommand.d.ts +6 -21
  60. package/dist-types/commands/DescribeConnectorProfilesCommand.d.ts +6 -21
  61. package/dist-types/commands/DescribeConnectorsCommand.d.ts +6 -21
  62. package/dist-types/commands/DescribeFlowCommand.d.ts +6 -21
  63. package/dist-types/commands/DescribeFlowExecutionRecordsCommand.d.ts +6 -21
  64. package/dist-types/commands/ListConnectorEntitiesCommand.d.ts +6 -21
  65. package/dist-types/commands/ListConnectorsCommand.d.ts +6 -21
  66. package/dist-types/commands/ListFlowsCommand.d.ts +6 -21
  67. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  68. package/dist-types/commands/RegisterConnectorCommand.d.ts +6 -21
  69. package/dist-types/commands/ResetConnectorMetadataCacheCommand.d.ts +6 -21
  70. package/dist-types/commands/StartFlowCommand.d.ts +6 -21
  71. package/dist-types/commands/StopFlowCommand.d.ts +6 -21
  72. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  73. package/dist-types/commands/UnregisterConnectorCommand.d.ts +6 -21
  74. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  75. package/dist-types/commands/UpdateConnectorProfileCommand.d.ts +6 -21
  76. package/dist-types/commands/UpdateConnectorRegistrationCommand.d.ts +6 -21
  77. package/dist-types/commands/UpdateFlowCommand.d.ts +6 -21
  78. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  79. package/dist-types/ts3.4/commands/CancelFlowExecutionsCommand.d.ts +12 -24
  80. package/dist-types/ts3.4/commands/CreateConnectorProfileCommand.d.ts +12 -24
  81. package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/DeleteConnectorProfileCommand.d.ts +12 -24
  83. package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/DescribeConnectorCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/DescribeConnectorEntityCommand.d.ts +12 -24
  86. package/dist-types/ts3.4/commands/DescribeConnectorProfilesCommand.d.ts +12 -24
  87. package/dist-types/ts3.4/commands/DescribeConnectorsCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/DescribeFlowCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/DescribeFlowExecutionRecordsCommand.d.ts +12 -24
  90. package/dist-types/ts3.4/commands/ListConnectorEntitiesCommand.d.ts +12 -24
  91. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/RegisterConnectorCommand.d.ts +14 -23
  95. package/dist-types/ts3.4/commands/ResetConnectorMetadataCacheCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/StartFlowCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/StopFlowCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/UnregisterConnectorCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/UpdateConnectorProfileCommand.d.ts +12 -24
  102. package/dist-types/ts3.4/commands/UpdateConnectorRegistrationCommand.d.ts +12 -24
  103. package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  105. package/package.json +9 -9
@@ -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_ListConnectorEntitiesCommand, se_ListConnectorEntitiesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListConnectorEntitiesCommand 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, ListConnectorEntitiesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "ListConnectorEntitiesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "ListConnectorEntities",
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_ListConnectorEntitiesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListConnectorEntitiesCommand(output, context);
46
- }
7
+ export class ListConnectorEntitiesCommand 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("SandstoneConfigurationServiceLambda", "ListConnectorEntities", {})
19
+ .n("AppflowClient", "ListConnectorEntitiesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListConnectorEntitiesCommand)
22
+ .de(de_ListConnectorEntitiesCommand)
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_ListConnectorsCommand, se_ListConnectorsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListConnectorsCommand 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, ListConnectorsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "ListConnectorsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "ListConnectors",
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_ListConnectorsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListConnectorsCommand(output, context);
46
- }
7
+ export class ListConnectorsCommand 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("SandstoneConfigurationServiceLambda", "ListConnectors", {})
19
+ .n("AppflowClient", "ListConnectorsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListConnectorsCommand)
22
+ .de(de_ListConnectorsCommand)
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_ListFlowsCommand, se_ListFlowsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListFlowsCommand 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, ListFlowsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "ListFlowsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "ListFlows",
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_ListFlowsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListFlowsCommand(output, context);
46
- }
7
+ export class ListFlowsCommand 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("SandstoneConfigurationServiceLambda", "ListFlows", {})
19
+ .n("AppflowClient", "ListFlowsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListFlowsCommand)
22
+ .de(de_ListFlowsCommand)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
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 = "AppflowClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
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("SandstoneConfigurationServiceLambda", "ListTagsForResource", {})
19
+ .n("AppflowClient", "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_RegisterConnectorCommand, se_RegisterConnectorCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class RegisterConnectorCommand 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, RegisterConnectorCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "RegisterConnectorCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "RegisterConnector",
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_RegisterConnectorCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RegisterConnectorCommand(output, context);
46
- }
7
+ export class RegisterConnectorCommand 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("SandstoneConfigurationServiceLambda", "RegisterConnector", {})
19
+ .n("AppflowClient", "RegisterConnectorCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RegisterConnectorCommand)
22
+ .de(de_RegisterConnectorCommand)
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_ResetConnectorMetadataCacheCommand, se_ResetConnectorMetadataCacheCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ResetConnectorMetadataCacheCommand 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, ResetConnectorMetadataCacheCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "ResetConnectorMetadataCacheCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "ResetConnectorMetadataCache",
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_ResetConnectorMetadataCacheCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ResetConnectorMetadataCacheCommand(output, context);
46
- }
7
+ export class ResetConnectorMetadataCacheCommand 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("SandstoneConfigurationServiceLambda", "ResetConnectorMetadataCache", {})
19
+ .n("AppflowClient", "ResetConnectorMetadataCacheCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ResetConnectorMetadataCacheCommand)
22
+ .de(de_ResetConnectorMetadataCacheCommand)
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_StartFlowCommand, se_StartFlowCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StartFlowCommand 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, StartFlowCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "StartFlowCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "StartFlow",
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_StartFlowCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartFlowCommand(output, context);
46
- }
7
+ export class StartFlowCommand 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("SandstoneConfigurationServiceLambda", "StartFlow", {})
19
+ .n("AppflowClient", "StartFlowCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartFlowCommand)
22
+ .de(de_StartFlowCommand)
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_StopFlowCommand, se_StopFlowCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StopFlowCommand 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, StopFlowCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "StopFlowCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "StopFlow",
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_StopFlowCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopFlowCommand(output, context);
46
- }
7
+ export class StopFlowCommand 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("SandstoneConfigurationServiceLambda", "StopFlow", {})
19
+ .n("AppflowClient", "StopFlowCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopFlowCommand)
22
+ .de(de_StopFlowCommand)
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_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 = "AppflowClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
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("SandstoneConfigurationServiceLambda", "TagResource", {})
19
+ .n("AppflowClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }