@aws-sdk/client-appflow 3.35.0 → 3.36.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 (176) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/Appflow.js +0 -1
  3. package/dist-cjs/AppflowClient.js +0 -1
  4. package/dist-cjs/commands/CreateConnectorProfileCommand.js +0 -1
  5. package/dist-cjs/commands/CreateFlowCommand.js +0 -1
  6. package/dist-cjs/commands/DeleteConnectorProfileCommand.js +0 -1
  7. package/dist-cjs/commands/DeleteFlowCommand.js +0 -1
  8. package/dist-cjs/commands/DescribeConnectorEntityCommand.js +0 -1
  9. package/dist-cjs/commands/DescribeConnectorProfilesCommand.js +0 -1
  10. package/dist-cjs/commands/DescribeConnectorsCommand.js +0 -1
  11. package/dist-cjs/commands/DescribeFlowCommand.js +0 -1
  12. package/dist-cjs/commands/DescribeFlowExecutionRecordsCommand.js +0 -1
  13. package/dist-cjs/commands/ListConnectorEntitiesCommand.js +0 -1
  14. package/dist-cjs/commands/ListFlowsCommand.js +0 -1
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  16. package/dist-cjs/commands/StartFlowCommand.js +0 -1
  17. package/dist-cjs/commands/StopFlowCommand.js +0 -1
  18. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  19. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  20. package/dist-cjs/commands/UpdateConnectorProfileCommand.js +0 -1
  21. package/dist-cjs/commands/UpdateFlowCommand.js +0 -1
  22. package/dist-cjs/endpoints.js +0 -1
  23. package/dist-cjs/index.js +0 -1
  24. package/dist-cjs/models/index.js +0 -1
  25. package/dist-cjs/models/models_0.js +0 -1
  26. package/dist-cjs/pagination/DescribeConnectorProfilesPaginator.js +0 -1
  27. package/dist-cjs/pagination/DescribeConnectorsPaginator.js +0 -1
  28. package/dist-cjs/pagination/DescribeFlowExecutionRecordsPaginator.js +0 -1
  29. package/dist-cjs/pagination/Interfaces.js +0 -1
  30. package/dist-cjs/pagination/ListFlowsPaginator.js +0 -1
  31. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  32. package/dist-cjs/runtimeConfig.browser.js +2 -3
  33. package/dist-cjs/runtimeConfig.js +3 -4
  34. package/dist-cjs/runtimeConfig.native.js +0 -1
  35. package/dist-cjs/runtimeConfig.shared.js +0 -1
  36. package/dist-es/Appflow.js +0 -1
  37. package/dist-es/AppflowClient.js +0 -1
  38. package/dist-es/commands/CreateConnectorProfileCommand.js +0 -1
  39. package/dist-es/commands/CreateFlowCommand.js +0 -1
  40. package/dist-es/commands/DeleteConnectorProfileCommand.js +0 -1
  41. package/dist-es/commands/DeleteFlowCommand.js +0 -1
  42. package/dist-es/commands/DescribeConnectorEntityCommand.js +0 -1
  43. package/dist-es/commands/DescribeConnectorProfilesCommand.js +0 -1
  44. package/dist-es/commands/DescribeConnectorsCommand.js +0 -1
  45. package/dist-es/commands/DescribeFlowCommand.js +0 -1
  46. package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js +0 -1
  47. package/dist-es/commands/ListConnectorEntitiesCommand.js +0 -1
  48. package/dist-es/commands/ListFlowsCommand.js +0 -1
  49. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  50. package/dist-es/commands/StartFlowCommand.js +0 -1
  51. package/dist-es/commands/StopFlowCommand.js +0 -1
  52. package/dist-es/commands/TagResourceCommand.js +0 -1
  53. package/dist-es/commands/UntagResourceCommand.js +0 -1
  54. package/dist-es/commands/UpdateConnectorProfileCommand.js +0 -1
  55. package/dist-es/commands/UpdateFlowCommand.js +0 -1
  56. package/dist-es/endpoints.js +0 -1
  57. package/dist-es/index.js +0 -1
  58. package/dist-es/models/index.js +0 -1
  59. package/dist-es/models/models_0.js +0 -1
  60. package/dist-es/pagination/DescribeConnectorProfilesPaginator.js +0 -1
  61. package/dist-es/pagination/DescribeConnectorsPaginator.js +0 -1
  62. package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js +0 -1
  63. package/dist-es/pagination/Interfaces.js +0 -1
  64. package/dist-es/pagination/ListFlowsPaginator.js +0 -1
  65. package/dist-es/protocols/Aws_restJson1.js +0 -1
  66. package/dist-es/runtimeConfig.browser.js +1 -2
  67. package/dist-es/runtimeConfig.js +2 -3
  68. package/dist-es/runtimeConfig.native.js +0 -1
  69. package/dist-es/runtimeConfig.shared.js +0 -1
  70. package/package.json +33 -30
  71. package/dist-cjs/Appflow.js.map +0 -1
  72. package/dist-cjs/AppflowClient.js.map +0 -1
  73. package/dist-cjs/commands/CreateConnectorProfileCommand.js.map +0 -1
  74. package/dist-cjs/commands/CreateFlowCommand.js.map +0 -1
  75. package/dist-cjs/commands/DeleteConnectorProfileCommand.js.map +0 -1
  76. package/dist-cjs/commands/DeleteFlowCommand.js.map +0 -1
  77. package/dist-cjs/commands/DescribeConnectorEntityCommand.js.map +0 -1
  78. package/dist-cjs/commands/DescribeConnectorProfilesCommand.js.map +0 -1
  79. package/dist-cjs/commands/DescribeConnectorsCommand.js.map +0 -1
  80. package/dist-cjs/commands/DescribeFlowCommand.js.map +0 -1
  81. package/dist-cjs/commands/DescribeFlowExecutionRecordsCommand.js.map +0 -1
  82. package/dist-cjs/commands/ListConnectorEntitiesCommand.js.map +0 -1
  83. package/dist-cjs/commands/ListFlowsCommand.js.map +0 -1
  84. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  85. package/dist-cjs/commands/StartFlowCommand.js.map +0 -1
  86. package/dist-cjs/commands/StopFlowCommand.js.map +0 -1
  87. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  88. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  89. package/dist-cjs/commands/UpdateConnectorProfileCommand.js.map +0 -1
  90. package/dist-cjs/commands/UpdateFlowCommand.js.map +0 -1
  91. package/dist-cjs/endpoints.js.map +0 -1
  92. package/dist-cjs/index.js.map +0 -1
  93. package/dist-cjs/models/index.js.map +0 -1
  94. package/dist-cjs/models/models_0.js.map +0 -1
  95. package/dist-cjs/pagination/DescribeConnectorProfilesPaginator.js.map +0 -1
  96. package/dist-cjs/pagination/DescribeConnectorsPaginator.js.map +0 -1
  97. package/dist-cjs/pagination/DescribeFlowExecutionRecordsPaginator.js.map +0 -1
  98. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  99. package/dist-cjs/pagination/ListFlowsPaginator.js.map +0 -1
  100. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  101. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  102. package/dist-cjs/runtimeConfig.js.map +0 -1
  103. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  104. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  105. package/dist-es/Appflow.js.map +0 -1
  106. package/dist-es/AppflowClient.js.map +0 -1
  107. package/dist-es/commands/CreateConnectorProfileCommand.js.map +0 -1
  108. package/dist-es/commands/CreateFlowCommand.js.map +0 -1
  109. package/dist-es/commands/DeleteConnectorProfileCommand.js.map +0 -1
  110. package/dist-es/commands/DeleteFlowCommand.js.map +0 -1
  111. package/dist-es/commands/DescribeConnectorEntityCommand.js.map +0 -1
  112. package/dist-es/commands/DescribeConnectorProfilesCommand.js.map +0 -1
  113. package/dist-es/commands/DescribeConnectorsCommand.js.map +0 -1
  114. package/dist-es/commands/DescribeFlowCommand.js.map +0 -1
  115. package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js.map +0 -1
  116. package/dist-es/commands/ListConnectorEntitiesCommand.js.map +0 -1
  117. package/dist-es/commands/ListFlowsCommand.js.map +0 -1
  118. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  119. package/dist-es/commands/StartFlowCommand.js.map +0 -1
  120. package/dist-es/commands/StopFlowCommand.js.map +0 -1
  121. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  122. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  123. package/dist-es/commands/UpdateConnectorProfileCommand.js.map +0 -1
  124. package/dist-es/commands/UpdateFlowCommand.js.map +0 -1
  125. package/dist-es/endpoints.js.map +0 -1
  126. package/dist-es/index.js.map +0 -1
  127. package/dist-es/models/index.js.map +0 -1
  128. package/dist-es/models/models_0.js.map +0 -1
  129. package/dist-es/pagination/DescribeConnectorProfilesPaginator.js.map +0 -1
  130. package/dist-es/pagination/DescribeConnectorsPaginator.js.map +0 -1
  131. package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js.map +0 -1
  132. package/dist-es/pagination/Interfaces.js.map +0 -1
  133. package/dist-es/pagination/ListFlowsPaginator.js.map +0 -1
  134. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  135. package/dist-es/runtimeConfig.browser.js.map +0 -1
  136. package/dist-es/runtimeConfig.js.map +0 -1
  137. package/dist-es/runtimeConfig.native.js.map +0 -1
  138. package/dist-es/runtimeConfig.shared.js.map +0 -1
  139. package/jest.config.js +0 -4
  140. package/src/Appflow.ts +0 -664
  141. package/src/AppflowClient.ts +0 -354
  142. package/src/commands/CreateConnectorProfileCommand.ts +0 -98
  143. package/src/commands/CreateFlowCommand.ts +0 -98
  144. package/src/commands/DeleteConnectorProfileCommand.ts +0 -95
  145. package/src/commands/DeleteFlowCommand.ts +0 -97
  146. package/src/commands/DescribeConnectorEntityCommand.ts +0 -96
  147. package/src/commands/DescribeConnectorProfilesCommand.ts +0 -102
  148. package/src/commands/DescribeConnectorsCommand.ts +0 -99
  149. package/src/commands/DescribeFlowCommand.ts +0 -95
  150. package/src/commands/DescribeFlowExecutionRecordsCommand.ts +0 -100
  151. package/src/commands/ListConnectorEntitiesCommand.ts +0 -98
  152. package/src/commands/ListFlowsCommand.ts +0 -95
  153. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  154. package/src/commands/StartFlowCommand.ts +0 -96
  155. package/src/commands/StopFlowCommand.ts +0 -97
  156. package/src/commands/TagResourceCommand.ts +0 -95
  157. package/src/commands/UntagResourceCommand.ts +0 -95
  158. package/src/commands/UpdateConnectorProfileCommand.ts +0 -95
  159. package/src/commands/UpdateFlowCommand.ts +0 -95
  160. package/src/endpoints.ts +0 -57
  161. package/src/index.ts +0 -26
  162. package/src/models/index.ts +0 -1
  163. package/src/models/models_0.ts +0 -5012
  164. package/src/pagination/DescribeConnectorProfilesPaginator.ts +0 -59
  165. package/src/pagination/DescribeConnectorsPaginator.ts +0 -58
  166. package/src/pagination/DescribeFlowExecutionRecordsPaginator.ts +0 -59
  167. package/src/pagination/Interfaces.ts +0 -8
  168. package/src/pagination/ListFlowsPaginator.ts +0 -55
  169. package/src/protocols/Aws_restJson1.ts +0 -5153
  170. package/src/runtimeConfig.browser.ts +0 -41
  171. package/src/runtimeConfig.native.ts +0 -17
  172. package/src/runtimeConfig.shared.ts +0 -17
  173. package/src/runtimeConfig.ts +0 -46
  174. package/tsconfig.es.json +0 -10
  175. package/tsconfig.json +0 -33
  176. package/tsconfig.types.json +0 -9
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
15
- import { DeleteFlowRequest, DeleteFlowResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeleteFlowCommand,
18
- serializeAws_restJson1DeleteFlowCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeleteFlowCommandInput extends DeleteFlowRequest {}
22
- export interface DeleteFlowCommandOutput extends DeleteFlowResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p> Enables your application to delete an existing flow. Before deleting the flow, Amazon
26
- * AppFlow validates the request by checking the flow configuration and status. You can delete
27
- * flows one at a time. </p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { AppflowClient, DeleteFlowCommand } from "@aws-sdk/client-appflow"; // ES Modules import
32
- * // const { AppflowClient, DeleteFlowCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
33
- * const client = new AppflowClient(config);
34
- * const command = new DeleteFlowCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DeleteFlowCommandInput} for command's `input` shape.
39
- * @see {@link DeleteFlowCommandOutput} for command's `response` shape.
40
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DeleteFlowCommand extends $Command<
44
- DeleteFlowCommandInput,
45
- DeleteFlowCommandOutput,
46
- AppflowClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DeleteFlowCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: AppflowClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DeleteFlowCommandInput, DeleteFlowCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "AppflowClient";
71
- const commandName = "DeleteFlowCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DeleteFlowRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DeleteFlowResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DeleteFlowCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DeleteFlowCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteFlowCommandOutput> {
92
- return deserializeAws_restJson1DeleteFlowCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
15
- import { DescribeConnectorEntityRequest, DescribeConnectorEntityResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribeConnectorEntityCommand,
18
- serializeAws_restJson1DescribeConnectorEntityCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribeConnectorEntityCommandInput extends DescribeConnectorEntityRequest {}
22
- export interface DescribeConnectorEntityCommandOutput extends DescribeConnectorEntityResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p> Provides details regarding the entity used with the connector, with a description of the
26
- * data model for each entity. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { AppflowClient, DescribeConnectorEntityCommand } from "@aws-sdk/client-appflow"; // ES Modules import
31
- * // const { AppflowClient, DescribeConnectorEntityCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
32
- * const client = new AppflowClient(config);
33
- * const command = new DescribeConnectorEntityCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeConnectorEntityCommandInput} for command's `input` shape.
38
- * @see {@link DescribeConnectorEntityCommandOutput} for command's `response` shape.
39
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeConnectorEntityCommand extends $Command<
43
- DescribeConnectorEntityCommandInput,
44
- DescribeConnectorEntityCommandOutput,
45
- AppflowClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeConnectorEntityCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: AppflowClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DescribeConnectorEntityCommandInput, DescribeConnectorEntityCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "AppflowClient";
70
- const commandName = "DescribeConnectorEntityCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DescribeConnectorEntityRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DescribeConnectorEntityResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DescribeConnectorEntityCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1DescribeConnectorEntityCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeConnectorEntityCommandOutput> {
91
- return deserializeAws_restJson1DescribeConnectorEntityCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,102 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
15
- import { DescribeConnectorProfilesRequest, DescribeConnectorProfilesResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribeConnectorProfilesCommand,
18
- serializeAws_restJson1DescribeConnectorProfilesCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribeConnectorProfilesCommandInput extends DescribeConnectorProfilesRequest {}
22
- export interface DescribeConnectorProfilesCommandOutput extends DescribeConnectorProfilesResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p> Returns a list of <code>connector-profile</code> details matching the provided
26
- * <code>connector-profile</code> names and <code>connector-types</code>. Both input lists are
27
- * optional, and you can use them to filter the result. </p>
28
- * <p>If no names or <code>connector-types</code> are provided, returns all connector profiles
29
- * in a paginated form. If there is no match, this operation returns an empty list.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { AppflowClient, DescribeConnectorProfilesCommand } from "@aws-sdk/client-appflow"; // ES Modules import
34
- * // const { AppflowClient, DescribeConnectorProfilesCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
35
- * const client = new AppflowClient(config);
36
- * const command = new DescribeConnectorProfilesCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DescribeConnectorProfilesCommandInput} for command's `input` shape.
41
- * @see {@link DescribeConnectorProfilesCommandOutput} for command's `response` shape.
42
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class DescribeConnectorProfilesCommand extends $Command<
46
- DescribeConnectorProfilesCommandInput,
47
- DescribeConnectorProfilesCommandOutput,
48
- AppflowClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: DescribeConnectorProfilesCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: AppflowClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<DescribeConnectorProfilesCommandInput, DescribeConnectorProfilesCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "AppflowClient";
73
- const commandName = "DescribeConnectorProfilesCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: DescribeConnectorProfilesRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: DescribeConnectorProfilesResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: DescribeConnectorProfilesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1DescribeConnectorProfilesCommand(input, context);
91
- }
92
-
93
- private deserialize(
94
- output: __HttpResponse,
95
- context: __SerdeContext
96
- ): Promise<DescribeConnectorProfilesCommandOutput> {
97
- return deserializeAws_restJson1DescribeConnectorProfilesCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
15
- import { DescribeConnectorsRequest, DescribeConnectorsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribeConnectorsCommand,
18
- serializeAws_restJson1DescribeConnectorsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribeConnectorsCommandInput extends DescribeConnectorsRequest {}
22
- export interface DescribeConnectorsCommandOutput extends DescribeConnectorsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p> Describes the connectors vended by Amazon AppFlow for specified connector types. If you
26
- * don't specify a connector type, this operation describes all connectors vended by Amazon
27
- * AppFlow. If there are more connectors than can be returned in one page, the response contains
28
- * a <code>nextToken</code> object, which can be be passed in to the next call to the
29
- * <code>DescribeConnectors</code> API operation to retrieve the next page. </p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { AppflowClient, DescribeConnectorsCommand } from "@aws-sdk/client-appflow"; // ES Modules import
34
- * // const { AppflowClient, DescribeConnectorsCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
35
- * const client = new AppflowClient(config);
36
- * const command = new DescribeConnectorsCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DescribeConnectorsCommandInput} for command's `input` shape.
41
- * @see {@link DescribeConnectorsCommandOutput} for command's `response` shape.
42
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class DescribeConnectorsCommand extends $Command<
46
- DescribeConnectorsCommandInput,
47
- DescribeConnectorsCommandOutput,
48
- AppflowClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: DescribeConnectorsCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: AppflowClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<DescribeConnectorsCommandInput, DescribeConnectorsCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "AppflowClient";
73
- const commandName = "DescribeConnectorsCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: DescribeConnectorsRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: DescribeConnectorsResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: DescribeConnectorsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1DescribeConnectorsCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeConnectorsCommandOutput> {
94
- return deserializeAws_restJson1DescribeConnectorsCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
15
- import { DescribeFlowRequest, DescribeFlowResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribeFlowCommand,
18
- serializeAws_restJson1DescribeFlowCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribeFlowCommandInput extends DescribeFlowRequest {}
22
- export interface DescribeFlowCommandOutput extends DescribeFlowResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p> Provides a description of the specified flow. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppflowClient, DescribeFlowCommand } from "@aws-sdk/client-appflow"; // ES Modules import
30
- * // const { AppflowClient, DescribeFlowCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
31
- * const client = new AppflowClient(config);
32
- * const command = new DescribeFlowCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeFlowCommandInput} for command's `input` shape.
37
- * @see {@link DescribeFlowCommandOutput} for command's `response` shape.
38
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeFlowCommand extends $Command<
42
- DescribeFlowCommandInput,
43
- DescribeFlowCommandOutput,
44
- AppflowClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeFlowCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppflowClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeFlowCommandInput, DescribeFlowCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppflowClient";
69
- const commandName = "DescribeFlowCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeFlowRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeFlowResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeFlowCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DescribeFlowCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeFlowCommandOutput> {
90
- return deserializeAws_restJson1DescribeFlowCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,100 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
15
- import { DescribeFlowExecutionRecordsRequest, DescribeFlowExecutionRecordsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DescribeFlowExecutionRecordsCommand,
18
- serializeAws_restJson1DescribeFlowExecutionRecordsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DescribeFlowExecutionRecordsCommandInput extends DescribeFlowExecutionRecordsRequest {}
22
- export interface DescribeFlowExecutionRecordsCommandOutput
23
- extends DescribeFlowExecutionRecordsResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p> Fetches the execution history of the flow. </p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { AppflowClient, DescribeFlowExecutionRecordsCommand } from "@aws-sdk/client-appflow"; // ES Modules import
32
- * // const { AppflowClient, DescribeFlowExecutionRecordsCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
33
- * const client = new AppflowClient(config);
34
- * const command = new DescribeFlowExecutionRecordsCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribeFlowExecutionRecordsCommandInput} for command's `input` shape.
39
- * @see {@link DescribeFlowExecutionRecordsCommandOutput} for command's `response` shape.
40
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DescribeFlowExecutionRecordsCommand extends $Command<
44
- DescribeFlowExecutionRecordsCommandInput,
45
- DescribeFlowExecutionRecordsCommandOutput,
46
- AppflowClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DescribeFlowExecutionRecordsCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: AppflowClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DescribeFlowExecutionRecordsCommandInput, DescribeFlowExecutionRecordsCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "AppflowClient";
71
- const commandName = "DescribeFlowExecutionRecordsCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DescribeFlowExecutionRecordsRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DescribeFlowExecutionRecordsResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DescribeFlowExecutionRecordsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DescribeFlowExecutionRecordsCommand(input, context);
89
- }
90
-
91
- private deserialize(
92
- output: __HttpResponse,
93
- context: __SerdeContext
94
- ): Promise<DescribeFlowExecutionRecordsCommandOutput> {
95
- return deserializeAws_restJson1DescribeFlowExecutionRecordsCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }