@aws-sdk/client-appflow 3.478.0 → 3.484.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 +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_CreateFlowCommand, se_CreateFlowCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateFlowCommand 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, CreateFlowCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "CreateFlowCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "CreateFlow",
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_CreateFlowCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateFlowCommand(output, context);
46
- }
7
+ export class CreateFlowCommand 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", "CreateFlow", {})
19
+ .n("AppflowClient", "CreateFlowCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateFlowCommand)
22
+ .de(de_CreateFlowCommand)
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_DeleteConnectorProfileCommand, se_DeleteConnectorProfileCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteConnectorProfileCommand 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, DeleteConnectorProfileCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "DeleteConnectorProfileCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "DeleteConnectorProfile",
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_DeleteConnectorProfileCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteConnectorProfileCommand(output, context);
46
- }
7
+ export class DeleteConnectorProfileCommand 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", "DeleteConnectorProfile", {})
19
+ .n("AppflowClient", "DeleteConnectorProfileCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteConnectorProfileCommand)
22
+ .de(de_DeleteConnectorProfileCommand)
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_DeleteFlowCommand, se_DeleteFlowCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteFlowCommand 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, DeleteFlowCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "DeleteFlowCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "DeleteFlow",
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_DeleteFlowCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteFlowCommand(output, context);
46
- }
7
+ export class DeleteFlowCommand 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", "DeleteFlow", {})
19
+ .n("AppflowClient", "DeleteFlowCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteFlowCommand)
22
+ .de(de_DeleteFlowCommand)
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_DescribeConnectorCommand, se_DescribeConnectorCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeConnectorCommand 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, DescribeConnectorCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "DescribeConnectorCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "DescribeConnector",
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_DescribeConnectorCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeConnectorCommand(output, context);
46
- }
7
+ export class DescribeConnectorCommand 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", "DescribeConnector", {})
19
+ .n("AppflowClient", "DescribeConnectorCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeConnectorCommand)
22
+ .de(de_DescribeConnectorCommand)
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_DescribeConnectorEntityCommand, se_DescribeConnectorEntityCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeConnectorEntityCommand 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, DescribeConnectorEntityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "DescribeConnectorEntityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "DescribeConnectorEntity",
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_DescribeConnectorEntityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeConnectorEntityCommand(output, context);
46
- }
7
+ export class DescribeConnectorEntityCommand 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", "DescribeConnectorEntity", {})
19
+ .n("AppflowClient", "DescribeConnectorEntityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeConnectorEntityCommand)
22
+ .de(de_DescribeConnectorEntityCommand)
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_DescribeConnectorProfilesCommand, se_DescribeConnectorProfilesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeConnectorProfilesCommand 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, DescribeConnectorProfilesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "DescribeConnectorProfilesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "DescribeConnectorProfiles",
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_DescribeConnectorProfilesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeConnectorProfilesCommand(output, context);
46
- }
7
+ export class DescribeConnectorProfilesCommand 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", "DescribeConnectorProfiles", {})
19
+ .n("AppflowClient", "DescribeConnectorProfilesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeConnectorProfilesCommand)
22
+ .de(de_DescribeConnectorProfilesCommand)
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_DescribeConnectorsCommand, se_DescribeConnectorsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeConnectorsCommand 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, DescribeConnectorsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "DescribeConnectorsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "DescribeConnectors",
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_DescribeConnectorsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeConnectorsCommand(output, context);
46
- }
7
+ export class DescribeConnectorsCommand 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", "DescribeConnectors", {})
19
+ .n("AppflowClient", "DescribeConnectorsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeConnectorsCommand)
22
+ .de(de_DescribeConnectorsCommand)
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_DescribeFlowCommand, se_DescribeFlowCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeFlowCommand 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, DescribeFlowCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "DescribeFlowCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "DescribeFlow",
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_DescribeFlowCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeFlowCommand(output, context);
46
- }
7
+ export class DescribeFlowCommand 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", "DescribeFlow", {})
19
+ .n("AppflowClient", "DescribeFlowCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeFlowCommand)
22
+ .de(de_DescribeFlowCommand)
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_DescribeFlowExecutionRecordsCommand, se_DescribeFlowExecutionRecordsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeFlowExecutionRecordsCommand 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, DescribeFlowExecutionRecordsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppflowClient";
26
- const commandName = "DescribeFlowExecutionRecordsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SandstoneConfigurationServiceLambda",
35
- operation: "DescribeFlowExecutionRecords",
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_DescribeFlowExecutionRecordsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeFlowExecutionRecordsCommand(output, context);
46
- }
7
+ export class DescribeFlowExecutionRecordsCommand 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", "DescribeFlowExecutionRecords", {})
19
+ .n("AppflowClient", "DescribeFlowExecutionRecordsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeFlowExecutionRecordsCommand)
22
+ .de(de_DescribeFlowExecutionRecordsCommand)
23
+ .build() {
47
24
  }