@aws-sdk/client-data-pipeline 3.35.0 → 3.38.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 (212) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/DataPipeline.js +0 -20
  3. package/dist-cjs/DataPipelineClient.js +0 -25
  4. package/dist-cjs/commands/ActivatePipelineCommand.js +0 -55
  5. package/dist-cjs/commands/AddTagsCommand.js +0 -25
  6. package/dist-cjs/commands/CreatePipelineCommand.js +0 -55
  7. package/dist-cjs/commands/DeactivatePipelineCommand.js +0 -28
  8. package/dist-cjs/commands/DeletePipelineCommand.js +0 -56
  9. package/dist-cjs/commands/DescribeObjectsCommand.js +0 -83
  10. package/dist-cjs/commands/DescribePipelinesCommand.js +0 -86
  11. package/dist-cjs/commands/EvaluateExpressionCommand.js +0 -55
  12. package/dist-cjs/commands/GetPipelineDefinitionCommand.js +0 -89
  13. package/dist-cjs/commands/ListPipelinesCommand.js +0 -56
  14. package/dist-cjs/commands/PollForTaskCommand.js +0 -103
  15. package/dist-cjs/commands/PutPipelineDefinitionCommand.js +0 -184
  16. package/dist-cjs/commands/QueryObjectsCommand.js +0 -63
  17. package/dist-cjs/commands/RemoveTagsCommand.js +0 -25
  18. package/dist-cjs/commands/ReportTaskProgressCommand.js +0 -62
  19. package/dist-cjs/commands/ReportTaskRunnerHeartbeatCommand.js +0 -57
  20. package/dist-cjs/commands/SetStatusCommand.js +0 -57
  21. package/dist-cjs/commands/SetTaskStatusCommand.js +0 -55
  22. package/dist-cjs/commands/ValidatePipelineDefinitionCommand.js +0 -176
  23. package/dist-cjs/commands/index.js +22 -0
  24. package/dist-cjs/endpoints.js +1 -2
  25. package/dist-cjs/index.js +4 -26
  26. package/dist-cjs/models/index.js +0 -1
  27. package/dist-cjs/models/models_0.js +0 -169
  28. package/dist-cjs/pagination/DescribeObjectsPaginator.js +0 -11
  29. package/dist-cjs/pagination/Interfaces.js +0 -1
  30. package/dist-cjs/pagination/ListPipelinesPaginator.js +0 -11
  31. package/dist-cjs/pagination/QueryObjectsPaginator.js +0 -11
  32. package/dist-cjs/pagination/index.js +7 -0
  33. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  34. package/dist-cjs/runtimeConfig.browser.js +1 -6
  35. package/dist-cjs/runtimeConfig.js +2 -7
  36. package/dist-cjs/runtimeConfig.native.js +0 -4
  37. package/dist-cjs/runtimeConfig.shared.js +0 -4
  38. package/dist-es/DataPipeline.js +0 -1
  39. package/dist-es/DataPipelineClient.js +0 -1
  40. package/dist-es/commands/ActivatePipelineCommand.js +0 -1
  41. package/dist-es/commands/AddTagsCommand.js +0 -1
  42. package/dist-es/commands/CreatePipelineCommand.js +0 -1
  43. package/dist-es/commands/DeactivatePipelineCommand.js +0 -1
  44. package/dist-es/commands/DeletePipelineCommand.js +0 -1
  45. package/dist-es/commands/DescribeObjectsCommand.js +0 -1
  46. package/dist-es/commands/DescribePipelinesCommand.js +0 -1
  47. package/dist-es/commands/EvaluateExpressionCommand.js +0 -1
  48. package/dist-es/commands/GetPipelineDefinitionCommand.js +0 -1
  49. package/dist-es/commands/ListPipelinesCommand.js +0 -1
  50. package/dist-es/commands/PollForTaskCommand.js +0 -1
  51. package/dist-es/commands/PutPipelineDefinitionCommand.js +0 -1
  52. package/dist-es/commands/QueryObjectsCommand.js +0 -1
  53. package/dist-es/commands/RemoveTagsCommand.js +0 -1
  54. package/dist-es/commands/ReportTaskProgressCommand.js +0 -1
  55. package/dist-es/commands/ReportTaskRunnerHeartbeatCommand.js +0 -1
  56. package/dist-es/commands/SetStatusCommand.js +0 -1
  57. package/dist-es/commands/SetTaskStatusCommand.js +0 -1
  58. package/dist-es/commands/ValidatePipelineDefinitionCommand.js +0 -1
  59. package/dist-es/commands/index.js +19 -0
  60. package/dist-es/endpoints.js +1 -2
  61. package/dist-es/index.js +4 -26
  62. package/dist-es/models/index.js +0 -1
  63. package/dist-es/models/models_0.js +0 -1
  64. package/dist-es/pagination/DescribeObjectsPaginator.js +0 -1
  65. package/dist-es/pagination/Interfaces.js +0 -1
  66. package/dist-es/pagination/ListPipelinesPaginator.js +0 -1
  67. package/dist-es/pagination/QueryObjectsPaginator.js +0 -1
  68. package/dist-es/pagination/index.js +4 -0
  69. package/dist-es/protocols/Aws_json1_1.js +0 -1
  70. package/dist-es/runtimeConfig.browser.js +1 -2
  71. package/dist-es/runtimeConfig.js +2 -3
  72. package/dist-es/runtimeConfig.native.js +0 -1
  73. package/dist-es/runtimeConfig.shared.js +0 -1
  74. package/dist-types/commands/index.d.ts +19 -0
  75. package/dist-types/index.d.ts +4 -25
  76. package/dist-types/pagination/index.d.ts +4 -0
  77. package/dist-types/ts3.4/DataPipeline.d.ts +20 -971
  78. package/dist-types/ts3.4/DataPipelineClient.d.ts +24 -105
  79. package/dist-types/ts3.4/commands/ActivatePipelineCommand.d.ts +2 -50
  80. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +2 -50
  82. package/dist-types/ts3.4/commands/DeactivatePipelineCommand.d.ts +2 -23
  83. package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +2 -51
  84. package/dist-types/ts3.4/commands/DescribeObjectsCommand.d.ts +2 -78
  85. package/dist-types/ts3.4/commands/DescribePipelinesCommand.d.ts +2 -81
  86. package/dist-types/ts3.4/commands/EvaluateExpressionCommand.d.ts +2 -50
  87. package/dist-types/ts3.4/commands/GetPipelineDefinitionCommand.d.ts +2 -84
  88. package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +2 -51
  89. package/dist-types/ts3.4/commands/PollForTaskCommand.d.ts +2 -98
  90. package/dist-types/ts3.4/commands/PutPipelineDefinitionCommand.d.ts +2 -179
  91. package/dist-types/ts3.4/commands/QueryObjectsCommand.d.ts +2 -58
  92. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/ReportTaskProgressCommand.d.ts +2 -57
  94. package/dist-types/ts3.4/commands/ReportTaskRunnerHeartbeatCommand.d.ts +2 -52
  95. package/dist-types/ts3.4/commands/SetStatusCommand.d.ts +2 -52
  96. package/dist-types/ts3.4/commands/SetTaskStatusCommand.d.ts +2 -50
  97. package/dist-types/ts3.4/commands/ValidatePipelineDefinitionCommand.d.ts +2 -171
  98. package/dist-types/ts3.4/commands/index.d.ts +19 -0
  99. package/dist-types/ts3.4/index.d.ts +4 -25
  100. package/dist-types/ts3.4/models/models_0.d.ts +231 -769
  101. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  102. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  103. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  104. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  105. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  106. package/package.json +33 -30
  107. package/dist-cjs/DataPipeline.js.map +0 -1
  108. package/dist-cjs/DataPipelineClient.js.map +0 -1
  109. package/dist-cjs/commands/ActivatePipelineCommand.js.map +0 -1
  110. package/dist-cjs/commands/AddTagsCommand.js.map +0 -1
  111. package/dist-cjs/commands/CreatePipelineCommand.js.map +0 -1
  112. package/dist-cjs/commands/DeactivatePipelineCommand.js.map +0 -1
  113. package/dist-cjs/commands/DeletePipelineCommand.js.map +0 -1
  114. package/dist-cjs/commands/DescribeObjectsCommand.js.map +0 -1
  115. package/dist-cjs/commands/DescribePipelinesCommand.js.map +0 -1
  116. package/dist-cjs/commands/EvaluateExpressionCommand.js.map +0 -1
  117. package/dist-cjs/commands/GetPipelineDefinitionCommand.js.map +0 -1
  118. package/dist-cjs/commands/ListPipelinesCommand.js.map +0 -1
  119. package/dist-cjs/commands/PollForTaskCommand.js.map +0 -1
  120. package/dist-cjs/commands/PutPipelineDefinitionCommand.js.map +0 -1
  121. package/dist-cjs/commands/QueryObjectsCommand.js.map +0 -1
  122. package/dist-cjs/commands/RemoveTagsCommand.js.map +0 -1
  123. package/dist-cjs/commands/ReportTaskProgressCommand.js.map +0 -1
  124. package/dist-cjs/commands/ReportTaskRunnerHeartbeatCommand.js.map +0 -1
  125. package/dist-cjs/commands/SetStatusCommand.js.map +0 -1
  126. package/dist-cjs/commands/SetTaskStatusCommand.js.map +0 -1
  127. package/dist-cjs/commands/ValidatePipelineDefinitionCommand.js.map +0 -1
  128. package/dist-cjs/endpoints.js.map +0 -1
  129. package/dist-cjs/index.js.map +0 -1
  130. package/dist-cjs/models/index.js.map +0 -1
  131. package/dist-cjs/models/models_0.js.map +0 -1
  132. package/dist-cjs/pagination/DescribeObjectsPaginator.js.map +0 -1
  133. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  134. package/dist-cjs/pagination/ListPipelinesPaginator.js.map +0 -1
  135. package/dist-cjs/pagination/QueryObjectsPaginator.js.map +0 -1
  136. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  137. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  138. package/dist-cjs/runtimeConfig.js.map +0 -1
  139. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  140. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  141. package/dist-es/DataPipeline.js.map +0 -1
  142. package/dist-es/DataPipelineClient.js.map +0 -1
  143. package/dist-es/commands/ActivatePipelineCommand.js.map +0 -1
  144. package/dist-es/commands/AddTagsCommand.js.map +0 -1
  145. package/dist-es/commands/CreatePipelineCommand.js.map +0 -1
  146. package/dist-es/commands/DeactivatePipelineCommand.js.map +0 -1
  147. package/dist-es/commands/DeletePipelineCommand.js.map +0 -1
  148. package/dist-es/commands/DescribeObjectsCommand.js.map +0 -1
  149. package/dist-es/commands/DescribePipelinesCommand.js.map +0 -1
  150. package/dist-es/commands/EvaluateExpressionCommand.js.map +0 -1
  151. package/dist-es/commands/GetPipelineDefinitionCommand.js.map +0 -1
  152. package/dist-es/commands/ListPipelinesCommand.js.map +0 -1
  153. package/dist-es/commands/PollForTaskCommand.js.map +0 -1
  154. package/dist-es/commands/PutPipelineDefinitionCommand.js.map +0 -1
  155. package/dist-es/commands/QueryObjectsCommand.js.map +0 -1
  156. package/dist-es/commands/RemoveTagsCommand.js.map +0 -1
  157. package/dist-es/commands/ReportTaskProgressCommand.js.map +0 -1
  158. package/dist-es/commands/ReportTaskRunnerHeartbeatCommand.js.map +0 -1
  159. package/dist-es/commands/SetStatusCommand.js.map +0 -1
  160. package/dist-es/commands/SetTaskStatusCommand.js.map +0 -1
  161. package/dist-es/commands/ValidatePipelineDefinitionCommand.js.map +0 -1
  162. package/dist-es/endpoints.js.map +0 -1
  163. package/dist-es/index.js.map +0 -1
  164. package/dist-es/models/index.js.map +0 -1
  165. package/dist-es/models/models_0.js.map +0 -1
  166. package/dist-es/pagination/DescribeObjectsPaginator.js.map +0 -1
  167. package/dist-es/pagination/Interfaces.js.map +0 -1
  168. package/dist-es/pagination/ListPipelinesPaginator.js.map +0 -1
  169. package/dist-es/pagination/QueryObjectsPaginator.js.map +0 -1
  170. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  171. package/dist-es/runtimeConfig.browser.js.map +0 -1
  172. package/dist-es/runtimeConfig.js.map +0 -1
  173. package/dist-es/runtimeConfig.native.js.map +0 -1
  174. package/dist-es/runtimeConfig.shared.js.map +0 -1
  175. package/jest.config.js +0 -4
  176. package/src/DataPipeline.ts +0 -1579
  177. package/src/DataPipelineClient.ts +0 -321
  178. package/src/commands/ActivatePipelineCommand.ts +0 -125
  179. package/src/commands/AddTagsCommand.ts +0 -92
  180. package/src/commands/CreatePipelineCommand.ts +0 -125
  181. package/src/commands/DeactivatePipelineCommand.ts +0 -98
  182. package/src/commands/DeletePipelineCommand.ts +0 -126
  183. package/src/commands/DescribeObjectsCommand.ts +0 -153
  184. package/src/commands/DescribePipelinesCommand.ts +0 -156
  185. package/src/commands/EvaluateExpressionCommand.ts +0 -125
  186. package/src/commands/GetPipelineDefinitionCommand.ts +0 -159
  187. package/src/commands/ListPipelinesCommand.ts +0 -126
  188. package/src/commands/PollForTaskCommand.ts +0 -173
  189. package/src/commands/PutPipelineDefinitionCommand.ts +0 -254
  190. package/src/commands/QueryObjectsCommand.ts +0 -133
  191. package/src/commands/RemoveTagsCommand.ts +0 -95
  192. package/src/commands/ReportTaskProgressCommand.ts +0 -132
  193. package/src/commands/ReportTaskRunnerHeartbeatCommand.ts +0 -130
  194. package/src/commands/SetStatusCommand.ts +0 -124
  195. package/src/commands/SetTaskStatusCommand.ts +0 -125
  196. package/src/commands/ValidatePipelineDefinitionCommand.ts +0 -249
  197. package/src/endpoints.ts +0 -57
  198. package/src/index.ts +0 -26
  199. package/src/models/index.ts +0 -1
  200. package/src/models/models_0.ts +0 -1480
  201. package/src/pagination/DescribeObjectsPaginator.ts +0 -58
  202. package/src/pagination/Interfaces.ts +0 -8
  203. package/src/pagination/ListPipelinesPaginator.ts +0 -58
  204. package/src/pagination/QueryObjectsPaginator.ts +0 -59
  205. package/src/protocols/Aws_json1_1.ts +0 -2767
  206. package/src/runtimeConfig.browser.ts +0 -41
  207. package/src/runtimeConfig.native.ts +0 -17
  208. package/src/runtimeConfig.shared.ts +0 -17
  209. package/src/runtimeConfig.ts +0 -46
  210. package/tsconfig.es.json +0 -10
  211. package/tsconfig.json +0 -33
  212. package/tsconfig.types.json +0 -9
@@ -1,321 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import { ActivatePipelineCommandInput, ActivatePipelineCommandOutput } from "./commands/ActivatePipelineCommand";
53
- import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
54
- import { CreatePipelineCommandInput, CreatePipelineCommandOutput } from "./commands/CreatePipelineCommand";
55
- import { DeactivatePipelineCommandInput, DeactivatePipelineCommandOutput } from "./commands/DeactivatePipelineCommand";
56
- import { DeletePipelineCommandInput, DeletePipelineCommandOutput } from "./commands/DeletePipelineCommand";
57
- import { DescribeObjectsCommandInput, DescribeObjectsCommandOutput } from "./commands/DescribeObjectsCommand";
58
- import { DescribePipelinesCommandInput, DescribePipelinesCommandOutput } from "./commands/DescribePipelinesCommand";
59
- import { EvaluateExpressionCommandInput, EvaluateExpressionCommandOutput } from "./commands/EvaluateExpressionCommand";
60
- import {
61
- GetPipelineDefinitionCommandInput,
62
- GetPipelineDefinitionCommandOutput,
63
- } from "./commands/GetPipelineDefinitionCommand";
64
- import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "./commands/ListPipelinesCommand";
65
- import { PollForTaskCommandInput, PollForTaskCommandOutput } from "./commands/PollForTaskCommand";
66
- import {
67
- PutPipelineDefinitionCommandInput,
68
- PutPipelineDefinitionCommandOutput,
69
- } from "./commands/PutPipelineDefinitionCommand";
70
- import { QueryObjectsCommandInput, QueryObjectsCommandOutput } from "./commands/QueryObjectsCommand";
71
- import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
72
- import { ReportTaskProgressCommandInput, ReportTaskProgressCommandOutput } from "./commands/ReportTaskProgressCommand";
73
- import {
74
- ReportTaskRunnerHeartbeatCommandInput,
75
- ReportTaskRunnerHeartbeatCommandOutput,
76
- } from "./commands/ReportTaskRunnerHeartbeatCommand";
77
- import { SetStatusCommandInput, SetStatusCommandOutput } from "./commands/SetStatusCommand";
78
- import { SetTaskStatusCommandInput, SetTaskStatusCommandOutput } from "./commands/SetTaskStatusCommand";
79
- import {
80
- ValidatePipelineDefinitionCommandInput,
81
- ValidatePipelineDefinitionCommandOutput,
82
- } from "./commands/ValidatePipelineDefinitionCommand";
83
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
84
-
85
- export type ServiceInputTypes =
86
- | ActivatePipelineCommandInput
87
- | AddTagsCommandInput
88
- | CreatePipelineCommandInput
89
- | DeactivatePipelineCommandInput
90
- | DeletePipelineCommandInput
91
- | DescribeObjectsCommandInput
92
- | DescribePipelinesCommandInput
93
- | EvaluateExpressionCommandInput
94
- | GetPipelineDefinitionCommandInput
95
- | ListPipelinesCommandInput
96
- | PollForTaskCommandInput
97
- | PutPipelineDefinitionCommandInput
98
- | QueryObjectsCommandInput
99
- | RemoveTagsCommandInput
100
- | ReportTaskProgressCommandInput
101
- | ReportTaskRunnerHeartbeatCommandInput
102
- | SetStatusCommandInput
103
- | SetTaskStatusCommandInput
104
- | ValidatePipelineDefinitionCommandInput;
105
-
106
- export type ServiceOutputTypes =
107
- | ActivatePipelineCommandOutput
108
- | AddTagsCommandOutput
109
- | CreatePipelineCommandOutput
110
- | DeactivatePipelineCommandOutput
111
- | DeletePipelineCommandOutput
112
- | DescribeObjectsCommandOutput
113
- | DescribePipelinesCommandOutput
114
- | EvaluateExpressionCommandOutput
115
- | GetPipelineDefinitionCommandOutput
116
- | ListPipelinesCommandOutput
117
- | PollForTaskCommandOutput
118
- | PutPipelineDefinitionCommandOutput
119
- | QueryObjectsCommandOutput
120
- | RemoveTagsCommandOutput
121
- | ReportTaskProgressCommandOutput
122
- | ReportTaskRunnerHeartbeatCommandOutput
123
- | SetStatusCommandOutput
124
- | SetTaskStatusCommandOutput
125
- | ValidatePipelineDefinitionCommandOutput;
126
-
127
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
128
- /**
129
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
130
- */
131
- requestHandler?: __HttpHandler;
132
-
133
- /**
134
- * A constructor for a class implementing the {@link __Hash} interface
135
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
136
- * @internal
137
- */
138
- sha256?: __HashConstructor;
139
-
140
- /**
141
- * The function that will be used to convert strings into HTTP endpoints.
142
- * @internal
143
- */
144
- urlParser?: __UrlParser;
145
-
146
- /**
147
- * A function that can calculate the length of a request body.
148
- * @internal
149
- */
150
- bodyLengthChecker?: (body: any) => number | undefined;
151
-
152
- /**
153
- * A function that converts a stream into an array of bytes.
154
- * @internal
155
- */
156
- streamCollector?: __StreamCollector;
157
-
158
- /**
159
- * The function that will be used to convert a base64-encoded string to a byte array.
160
- * @internal
161
- */
162
- base64Decoder?: __Decoder;
163
-
164
- /**
165
- * The function that will be used to convert binary data to a base64-encoded string.
166
- * @internal
167
- */
168
- base64Encoder?: __Encoder;
169
-
170
- /**
171
- * The function that will be used to convert a UTF8-encoded string to a byte array.
172
- * @internal
173
- */
174
- utf8Decoder?: __Decoder;
175
-
176
- /**
177
- * The function that will be used to convert binary data to a UTF-8 encoded string.
178
- * @internal
179
- */
180
- utf8Encoder?: __Encoder;
181
-
182
- /**
183
- * The runtime environment.
184
- * @internal
185
- */
186
- runtime?: string;
187
-
188
- /**
189
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
190
- * trait of an operation.
191
- */
192
- disableHostPrefix?: boolean;
193
-
194
- /**
195
- * Value for how many times a request will be made at most in case of retry.
196
- */
197
- maxAttempts?: number | __Provider<number>;
198
-
199
- /**
200
- * Specifies which retry algorithm to use.
201
- */
202
- retryMode?: string | __Provider<string>;
203
-
204
- /**
205
- * Optional logger for logging debug/info/warn/error.
206
- */
207
- logger?: __Logger;
208
-
209
- /**
210
- * Unique service identifier.
211
- * @internal
212
- */
213
- serviceId?: string;
214
-
215
- /**
216
- * The AWS region to which this client will send requests
217
- */
218
- region?: string | __Provider<string>;
219
-
220
- /**
221
- * Default credentials provider; Not available in browser runtime.
222
- * @internal
223
- */
224
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
225
-
226
- /**
227
- * Fetch related hostname, signing name or signing region with given region.
228
- * @internal
229
- */
230
- regionInfoProvider?: RegionInfoProvider;
231
-
232
- /**
233
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
234
- * @internal
235
- */
236
- defaultUserAgentProvider?: Provider<__UserAgent>;
237
- }
238
-
239
- type DataPipelineClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
240
- ClientDefaults &
241
- RegionInputConfig &
242
- EndpointsInputConfig &
243
- RetryInputConfig &
244
- HostHeaderInputConfig &
245
- AwsAuthInputConfig &
246
- UserAgentInputConfig;
247
- /**
248
- * The configuration interface of DataPipelineClient class constructor that set the region, credentials and other options.
249
- */
250
- export interface DataPipelineClientConfig extends DataPipelineClientConfigType {}
251
-
252
- type DataPipelineClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
253
- Required<ClientDefaults> &
254
- RegionResolvedConfig &
255
- EndpointsResolvedConfig &
256
- RetryResolvedConfig &
257
- HostHeaderResolvedConfig &
258
- AwsAuthResolvedConfig &
259
- UserAgentResolvedConfig;
260
- /**
261
- * The resolved configuration interface of DataPipelineClient class. This is resolved and normalized from the {@link DataPipelineClientConfig | constructor configuration interface}.
262
- */
263
- export interface DataPipelineClientResolvedConfig extends DataPipelineClientResolvedConfigType {}
264
-
265
- /**
266
- * <p>AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline
267
- * handles the details of scheduling and ensuring that data dependencies are met so that your application
268
- * can focus on processing the data.</p>
269
- *
270
- * <p>AWS Data Pipeline provides a JAR implementation of a task runner called AWS Data Pipeline Task Runner.
271
- * AWS Data Pipeline Task Runner provides logic for common data management scenarios, such as performing
272
- * database queries and running data analysis using Amazon Elastic MapReduce (Amazon EMR). You can use
273
- * AWS Data Pipeline Task Runner as your task runner, or you can write your own task runner to provide
274
- * custom data management.</p>
275
- *
276
- * <p>AWS Data Pipeline implements two main sets of functionality. Use the first set to create a pipeline
277
- * and define data sources, schedules, dependencies, and the transforms to be performed on the data.
278
- * Use the second set in your task runner application to receive the next task ready for processing.
279
- * The logic for performing the task, such as querying the data, running data analysis, or converting
280
- * the data from one format to another, is contained within the task runner. The task runner performs
281
- * the task assigned to it by the web service, reporting progress to the web service as it does so.
282
- * When the task is done, the task runner reports the final success or failure of the task to the web service.</p>
283
- */
284
- export class DataPipelineClient extends __Client<
285
- __HttpHandlerOptions,
286
- ServiceInputTypes,
287
- ServiceOutputTypes,
288
- DataPipelineClientResolvedConfig
289
- > {
290
- /**
291
- * The resolved configuration of DataPipelineClient class. This is resolved and normalized from the {@link DataPipelineClientConfig | constructor configuration interface}.
292
- */
293
- readonly config: DataPipelineClientResolvedConfig;
294
-
295
- constructor(configuration: DataPipelineClientConfig) {
296
- const _config_0 = __getRuntimeConfig(configuration);
297
- const _config_1 = resolveRegionConfig(_config_0);
298
- const _config_2 = resolveEndpointsConfig(_config_1);
299
- const _config_3 = resolveRetryConfig(_config_2);
300
- const _config_4 = resolveHostHeaderConfig(_config_3);
301
- const _config_5 = resolveAwsAuthConfig(_config_4);
302
- const _config_6 = resolveUserAgentConfig(_config_5);
303
- super(_config_6);
304
- this.config = _config_6;
305
- this.middlewareStack.use(getRetryPlugin(this.config));
306
- this.middlewareStack.use(getContentLengthPlugin(this.config));
307
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
308
- this.middlewareStack.use(getLoggerPlugin(this.config));
309
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
310
- this.middlewareStack.use(getUserAgentPlugin(this.config));
311
- }
312
-
313
- /**
314
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
315
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
316
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
317
- */
318
- destroy(): void {
319
- super.destroy();
320
- }
321
- }
@@ -1,125 +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 { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
15
- import { ActivatePipelineInput, ActivatePipelineOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ActivatePipelineCommand,
18
- serializeAws_json1_1ActivatePipelineCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ActivatePipelineCommandInput extends ActivatePipelineInput {}
22
- export interface ActivatePipelineCommandOutput extends ActivatePipelineOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation,
26
- * activation fails.</p>
27
- * <p>If you need to pause the pipeline to investigate an issue with a component, such as a data source or script,
28
- * call <a>DeactivatePipeline</a>.</p>
29
- * <p>To activate a finished pipeline, modify the end date for the pipeline and then activate it.</p>
30
- * <examples>
31
- * <request>
32
- *
33
- * POST / HTTP/1.1
34
- * Content-Type: application/x-amz-json-1.1
35
- * X-Amz-Target: DataPipeline.ActivatePipeline
36
- * Content-Length: 39
37
- * Host: datapipeline.us-east-1.amazonaws.com
38
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
39
- * Authorization: AuthParams
40
- *
41
- * {"pipelineId": "df-06372391ZG65EXAMPLE"}
42
- *
43
- * </request>
44
- * <response>
45
- *
46
- * HTTP/1.1 200
47
- * x-amzn-RequestId: ee19d5bf-074e-11e2-af6f-6bc7a6be60d9
48
- * Content-Type: application/x-amz-json-1.1
49
- * Content-Length: 2
50
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
51
- *
52
- * {}
53
- *
54
- * </response>
55
- * </examples>
56
- * @example
57
- * Use a bare-bones client and the command you need to make an API call.
58
- * ```javascript
59
- * import { DataPipelineClient, ActivatePipelineCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
60
- * // const { DataPipelineClient, ActivatePipelineCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
61
- * const client = new DataPipelineClient(config);
62
- * const command = new ActivatePipelineCommand(input);
63
- * const response = await client.send(command);
64
- * ```
65
- *
66
- * @see {@link ActivatePipelineCommandInput} for command's `input` shape.
67
- * @see {@link ActivatePipelineCommandOutput} for command's `response` shape.
68
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
69
- *
70
- */
71
- export class ActivatePipelineCommand extends $Command<
72
- ActivatePipelineCommandInput,
73
- ActivatePipelineCommandOutput,
74
- DataPipelineClientResolvedConfig
75
- > {
76
- // Start section: command_properties
77
- // End section: command_properties
78
-
79
- constructor(readonly input: ActivatePipelineCommandInput) {
80
- // Start section: command_constructor
81
- super();
82
- // End section: command_constructor
83
- }
84
-
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(
89
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
90
- configuration: DataPipelineClientResolvedConfig,
91
- options?: __HttpHandlerOptions
92
- ): Handler<ActivatePipelineCommandInput, ActivatePipelineCommandOutput> {
93
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
94
-
95
- const stack = clientStack.concat(this.middlewareStack);
96
-
97
- const { logger } = configuration;
98
- const clientName = "DataPipelineClient";
99
- const commandName = "ActivatePipelineCommand";
100
- const handlerExecutionContext: HandlerExecutionContext = {
101
- logger,
102
- clientName,
103
- commandName,
104
- inputFilterSensitiveLog: ActivatePipelineInput.filterSensitiveLog,
105
- outputFilterSensitiveLog: ActivatePipelineOutput.filterSensitiveLog,
106
- };
107
- const { requestHandler } = configuration;
108
- return stack.resolve(
109
- (request: FinalizeHandlerArguments<any>) =>
110
- requestHandler.handle(request.request as __HttpRequest, options || {}),
111
- handlerExecutionContext
112
- );
113
- }
114
-
115
- private serialize(input: ActivatePipelineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
116
- return serializeAws_json1_1ActivatePipelineCommand(input, context);
117
- }
118
-
119
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ActivatePipelineCommandOutput> {
120
- return deserializeAws_json1_1ActivatePipelineCommand(output, context);
121
- }
122
-
123
- // Start section: command_body_extra
124
- // End section: command_body_extra
125
- }
@@ -1,92 +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 { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
15
- import { AddTagsInput, AddTagsOutput } from "../models/models_0";
16
- import { deserializeAws_json1_1AddTagsCommand, serializeAws_json1_1AddTagsCommand } from "../protocols/Aws_json1_1";
17
-
18
- export interface AddTagsCommandInput extends AddTagsInput {}
19
- export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {}
20
-
21
- /**
22
- * <p>Adds or modifies tags for the specified pipeline.</p>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { DataPipelineClient, AddTagsCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
27
- * // const { DataPipelineClient, AddTagsCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
28
- * const client = new DataPipelineClient(config);
29
- * const command = new AddTagsCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link AddTagsCommandInput} for command's `input` shape.
34
- * @see {@link AddTagsCommandOutput} for command's `response` shape.
35
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
38
- export class AddTagsCommand extends $Command<
39
- AddTagsCommandInput,
40
- AddTagsCommandOutput,
41
- DataPipelineClientResolvedConfig
42
- > {
43
- // Start section: command_properties
44
- // End section: command_properties
45
-
46
- constructor(readonly input: AddTagsCommandInput) {
47
- // Start section: command_constructor
48
- super();
49
- // End section: command_constructor
50
- }
51
-
52
- /**
53
- * @internal
54
- */
55
- resolveMiddleware(
56
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
57
- configuration: DataPipelineClientResolvedConfig,
58
- options?: __HttpHandlerOptions
59
- ): Handler<AddTagsCommandInput, AddTagsCommandOutput> {
60
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
61
-
62
- const stack = clientStack.concat(this.middlewareStack);
63
-
64
- const { logger } = configuration;
65
- const clientName = "DataPipelineClient";
66
- const commandName = "AddTagsCommand";
67
- const handlerExecutionContext: HandlerExecutionContext = {
68
- logger,
69
- clientName,
70
- commandName,
71
- inputFilterSensitiveLog: AddTagsInput.filterSensitiveLog,
72
- outputFilterSensitiveLog: AddTagsOutput.filterSensitiveLog,
73
- };
74
- const { requestHandler } = configuration;
75
- return stack.resolve(
76
- (request: FinalizeHandlerArguments<any>) =>
77
- requestHandler.handle(request.request as __HttpRequest, options || {}),
78
- handlerExecutionContext
79
- );
80
- }
81
-
82
- private serialize(input: AddTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
83
- return serializeAws_json1_1AddTagsCommand(input, context);
84
- }
85
-
86
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddTagsCommandOutput> {
87
- return deserializeAws_json1_1AddTagsCommand(output, context);
88
- }
89
-
90
- // Start section: command_body_extra
91
- // End section: command_body_extra
92
- }
@@ -1,125 +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 { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
15
- import { CreatePipelineInput, CreatePipelineOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1CreatePipelineCommand,
18
- serializeAws_json1_1CreatePipelineCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface CreatePipelineCommandInput extends CreatePipelineInput {}
22
- export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a new, empty pipeline. Use <a>PutPipelineDefinition</a> to populate the pipeline.</p>
26
- *
27
- * <examples>
28
- * <request>
29
- *
30
- * POST / HTTP/1.1
31
- * Content-Type: application/x-amz-json-1.1
32
- * X-Amz-Target: DataPipeline.CreatePipeline
33
- * Content-Length: 91
34
- * Host: datapipeline.us-east-1.amazonaws.com
35
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
36
- * Authorization: AuthParams
37
- *
38
- * {"name": "myPipeline",
39
- * "uniqueId": "123456789",
40
- * "description": "This is my first pipeline"}
41
- *
42
- * </request>
43
- *
44
- * <response>
45
- *
46
- * HTTP/1.1 200
47
- * x-amzn-RequestId: b16911ce-0774-11e2-af6f-6bc7a6be60d9
48
- * Content-Type: application/x-amz-json-1.1
49
- * Content-Length: 40
50
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
51
- *
52
- * {"pipelineId": "df-06372391ZG65EXAMPLE"}
53
- *
54
- * </response>
55
- * </examples>
56
- * @example
57
- * Use a bare-bones client and the command you need to make an API call.
58
- * ```javascript
59
- * import { DataPipelineClient, CreatePipelineCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
60
- * // const { DataPipelineClient, CreatePipelineCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
61
- * const client = new DataPipelineClient(config);
62
- * const command = new CreatePipelineCommand(input);
63
- * const response = await client.send(command);
64
- * ```
65
- *
66
- * @see {@link CreatePipelineCommandInput} for command's `input` shape.
67
- * @see {@link CreatePipelineCommandOutput} for command's `response` shape.
68
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
69
- *
70
- */
71
- export class CreatePipelineCommand extends $Command<
72
- CreatePipelineCommandInput,
73
- CreatePipelineCommandOutput,
74
- DataPipelineClientResolvedConfig
75
- > {
76
- // Start section: command_properties
77
- // End section: command_properties
78
-
79
- constructor(readonly input: CreatePipelineCommandInput) {
80
- // Start section: command_constructor
81
- super();
82
- // End section: command_constructor
83
- }
84
-
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(
89
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
90
- configuration: DataPipelineClientResolvedConfig,
91
- options?: __HttpHandlerOptions
92
- ): Handler<CreatePipelineCommandInput, CreatePipelineCommandOutput> {
93
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
94
-
95
- const stack = clientStack.concat(this.middlewareStack);
96
-
97
- const { logger } = configuration;
98
- const clientName = "DataPipelineClient";
99
- const commandName = "CreatePipelineCommand";
100
- const handlerExecutionContext: HandlerExecutionContext = {
101
- logger,
102
- clientName,
103
- commandName,
104
- inputFilterSensitiveLog: CreatePipelineInput.filterSensitiveLog,
105
- outputFilterSensitiveLog: CreatePipelineOutput.filterSensitiveLog,
106
- };
107
- const { requestHandler } = configuration;
108
- return stack.resolve(
109
- (request: FinalizeHandlerArguments<any>) =>
110
- requestHandler.handle(request.request as __HttpRequest, options || {}),
111
- handlerExecutionContext
112
- );
113
- }
114
-
115
- private serialize(input: CreatePipelineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
116
- return serializeAws_json1_1CreatePipelineCommand(input, context);
117
- }
118
-
119
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreatePipelineCommandOutput> {
120
- return deserializeAws_json1_1CreatePipelineCommand(output, context);
121
- }
122
-
123
- // Start section: command_body_extra
124
- // End section: command_body_extra
125
- }