@aws-sdk/client-supplychain 3.658.1 → 3.662.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.
- package/README.md +111 -7
- package/dist-cjs/index.js +675 -2
- package/dist-es/SupplyChain.js +26 -0
- package/dist-es/commands/CreateDataIntegrationFlowCommand.js +22 -0
- package/dist-es/commands/CreateDataLakeDatasetCommand.js +22 -0
- package/dist-es/commands/DeleteDataIntegrationFlowCommand.js +22 -0
- package/dist-es/commands/DeleteDataLakeDatasetCommand.js +22 -0
- package/dist-es/commands/GetDataIntegrationFlowCommand.js +22 -0
- package/dist-es/commands/GetDataLakeDatasetCommand.js +22 -0
- package/dist-es/commands/ListDataIntegrationFlowsCommand.js +22 -0
- package/dist-es/commands/ListDataLakeDatasetsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateDataIntegrationFlowCommand.js +22 -0
- package/dist-es/commands/UpdateDataLakeDatasetCommand.js +22 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +27 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListDataIntegrationFlowsPaginator.js +4 -0
- package/dist-es/pagination/ListDataLakeDatasetsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +396 -1
- package/dist-types/SupplyChain.d.ts +91 -0
- package/dist-types/SupplyChainClient.d.ts +15 -2
- package/dist-types/commands/CreateDataIntegrationFlowCommand.d.ts +232 -0
- package/dist-types/commands/CreateDataLakeDatasetCommand.d.ts +393 -0
- package/dist-types/commands/DeleteDataIntegrationFlowCommand.d.ts +112 -0
- package/dist-types/commands/DeleteDataLakeDatasetCommand.d.ts +136 -0
- package/dist-types/commands/GetDataIntegrationFlowCommand.d.ts +185 -0
- package/dist-types/commands/GetDataLakeDatasetCommand.d.ts +344 -0
- package/dist-types/commands/ListDataIntegrationFlowsCommand.d.ts +224 -0
- package/dist-types/commands/ListDataLakeDatasetsCommand.d.ts +377 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +112 -0
- package/dist-types/commands/TagResourceCommand.d.ts +107 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +107 -0
- package/dist-types/commands/UpdateDataIntegrationFlowCommand.d.ts +328 -0
- package/dist-types/commands/UpdateDataLakeDatasetCommand.d.ts +347 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +909 -18
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListDataIntegrationFlowsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataLakeDatasetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/SupplyChain.d.ts +221 -0
- package/dist-types/ts3.4/SupplyChainClient.d.ts +80 -2
- package/dist-types/ts3.4/commands/CreateDataIntegrationFlowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateDataLakeDatasetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteDataIntegrationFlowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteDataLakeDatasetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataIntegrationFlowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataLakeDatasetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataIntegrationFlowsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataLakeDatasetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateDataIntegrationFlowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDataLakeDatasetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +220 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDataIntegrationFlowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataLakeDatasetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +35 -35
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetDataLakeDatasetRequest, GetDataLakeDatasetResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SupplyChainClientResolvedConfig } from "../SupplyChainClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDataLakeDatasetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDataLakeDatasetCommandInput extends GetDataLakeDatasetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDataLakeDatasetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDataLakeDatasetCommandOutput extends GetDataLakeDatasetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDataLakeDatasetCommand_base: {
|
|
25
|
+
new (input: GetDataLakeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataLakeDatasetCommandInput, GetDataLakeDatasetCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetDataLakeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataLakeDatasetCommandInput, GetDataLakeDatasetCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Get a data lake dataset.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SupplyChainClient, GetDataLakeDatasetCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
|
|
35
|
+
* // const { SupplyChainClient, GetDataLakeDatasetCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
|
|
36
|
+
* const client = new SupplyChainClient(config);
|
|
37
|
+
* const input = { // GetDataLakeDatasetRequest
|
|
38
|
+
* instanceId: "STRING_VALUE", // required
|
|
39
|
+
* namespace: "STRING_VALUE", // required
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetDataLakeDatasetCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetDataLakeDatasetResponse
|
|
45
|
+
* // dataset: { // DataLakeDataset
|
|
46
|
+
* // instanceId: "STRING_VALUE", // required
|
|
47
|
+
* // namespace: "STRING_VALUE", // required
|
|
48
|
+
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // arn: "STRING_VALUE", // required
|
|
50
|
+
* // schema: { // DataLakeDatasetSchema
|
|
51
|
+
* // name: "STRING_VALUE", // required
|
|
52
|
+
* // fields: [ // DataLakeDatasetSchemaFieldList // required
|
|
53
|
+
* // { // DataLakeDatasetSchemaField
|
|
54
|
+
* // name: "STRING_VALUE", // required
|
|
55
|
+
* // type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP", // required
|
|
56
|
+
* // isRequired: true || false, // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // description: "STRING_VALUE",
|
|
61
|
+
* // createdTime: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // },
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param GetDataLakeDatasetCommandInput - {@link GetDataLakeDatasetCommandInput}
|
|
69
|
+
* @returns {@link GetDataLakeDatasetCommandOutput}
|
|
70
|
+
* @see {@link GetDataLakeDatasetCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link GetDataLakeDatasetCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>You do not have the required privileges to perform this action.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>Unexpected error during processing of request.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>Request references a resource which does not exist.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>Request was denied due to request throttling.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p>The input does not satisfy the constraints specified by an AWS service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ConflictException} (client fault)
|
|
90
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
93
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link SupplyChainServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
* @example Get properties of an existing AWS Supply Chain inbound order dataset
|
|
100
|
+
* ```javascript
|
|
101
|
+
* //
|
|
102
|
+
* const input = {
|
|
103
|
+
* "name": "inbound_order",
|
|
104
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
105
|
+
* "namespace": "asc"
|
|
106
|
+
* };
|
|
107
|
+
* const command = new GetDataLakeDatasetCommand(input);
|
|
108
|
+
* const response = await client.send(command);
|
|
109
|
+
* /* response ==
|
|
110
|
+
* {
|
|
111
|
+
* "dataset": {
|
|
112
|
+
* "name": "inbound_order",
|
|
113
|
+
* "arn": "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/asc/datasets/inbound_order",
|
|
114
|
+
* "createdTime": 1727116807.751,
|
|
115
|
+
* "description": "This is an AWS Supply Chain inbound order dataset",
|
|
116
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
117
|
+
* "lastModifiedTime": 1727116807.751,
|
|
118
|
+
* "namespace": "asc",
|
|
119
|
+
* "schema": {
|
|
120
|
+
* "name": "InboundOrder",
|
|
121
|
+
* "fields": [
|
|
122
|
+
* {
|
|
123
|
+
* "name": "id",
|
|
124
|
+
* "type": "STRING",
|
|
125
|
+
* "isRequired": true
|
|
126
|
+
* },
|
|
127
|
+
* {
|
|
128
|
+
* "name": "tpartner_id",
|
|
129
|
+
* "type": "STRING",
|
|
130
|
+
* "isRequired": true
|
|
131
|
+
* },
|
|
132
|
+
* {
|
|
133
|
+
* "name": "connection_id",
|
|
134
|
+
* "type": "STRING",
|
|
135
|
+
* "isRequired": true
|
|
136
|
+
* },
|
|
137
|
+
* {
|
|
138
|
+
* "name": "order_type",
|
|
139
|
+
* "type": "STRING",
|
|
140
|
+
* "isRequired": false
|
|
141
|
+
* },
|
|
142
|
+
* {
|
|
143
|
+
* "name": "order_status",
|
|
144
|
+
* "type": "STRING",
|
|
145
|
+
* "isRequired": false
|
|
146
|
+
* },
|
|
147
|
+
* {
|
|
148
|
+
* "name": "inbound_order_url",
|
|
149
|
+
* "type": "STRING",
|
|
150
|
+
* "isRequired": false
|
|
151
|
+
* },
|
|
152
|
+
* {
|
|
153
|
+
* "name": "order_creation_date",
|
|
154
|
+
* "type": "TIMESTAMP",
|
|
155
|
+
* "isRequired": false
|
|
156
|
+
* },
|
|
157
|
+
* {
|
|
158
|
+
* "name": "company_id",
|
|
159
|
+
* "type": "STRING",
|
|
160
|
+
* "isRequired": false
|
|
161
|
+
* },
|
|
162
|
+
* {
|
|
163
|
+
* "name": "to_site_id",
|
|
164
|
+
* "type": "STRING",
|
|
165
|
+
* "isRequired": false
|
|
166
|
+
* },
|
|
167
|
+
* {
|
|
168
|
+
* "name": "order_currency_uom",
|
|
169
|
+
* "type": "STRING",
|
|
170
|
+
* "isRequired": false
|
|
171
|
+
* },
|
|
172
|
+
* {
|
|
173
|
+
* "name": "vendor_currency_uom",
|
|
174
|
+
* "type": "STRING",
|
|
175
|
+
* "isRequired": false
|
|
176
|
+
* },
|
|
177
|
+
* {
|
|
178
|
+
* "name": "exchange_rate",
|
|
179
|
+
* "type": "DOUBLE",
|
|
180
|
+
* "isRequired": false
|
|
181
|
+
* },
|
|
182
|
+
* {
|
|
183
|
+
* "name": "exchange_rate_date",
|
|
184
|
+
* "type": "TIMESTAMP",
|
|
185
|
+
* "isRequired": false
|
|
186
|
+
* },
|
|
187
|
+
* {
|
|
188
|
+
* "name": "incoterm",
|
|
189
|
+
* "type": "STRING",
|
|
190
|
+
* "isRequired": false
|
|
191
|
+
* },
|
|
192
|
+
* {
|
|
193
|
+
* "name": "incoterm2",
|
|
194
|
+
* "type": "STRING",
|
|
195
|
+
* "isRequired": false
|
|
196
|
+
* },
|
|
197
|
+
* {
|
|
198
|
+
* "name": "incoterm_location_1",
|
|
199
|
+
* "type": "STRING",
|
|
200
|
+
* "isRequired": false
|
|
201
|
+
* },
|
|
202
|
+
* {
|
|
203
|
+
* "name": "incoterm_location_2",
|
|
204
|
+
* "type": "STRING",
|
|
205
|
+
* "isRequired": false
|
|
206
|
+
* },
|
|
207
|
+
* {
|
|
208
|
+
* "name": "submitted_date",
|
|
209
|
+
* "type": "TIMESTAMP",
|
|
210
|
+
* "isRequired": false
|
|
211
|
+
* },
|
|
212
|
+
* {
|
|
213
|
+
* "name": "agreement_start_date",
|
|
214
|
+
* "type": "TIMESTAMP",
|
|
215
|
+
* "isRequired": false
|
|
216
|
+
* },
|
|
217
|
+
* {
|
|
218
|
+
* "name": "agreement_end_date",
|
|
219
|
+
* "type": "TIMESTAMP",
|
|
220
|
+
* "isRequired": false
|
|
221
|
+
* },
|
|
222
|
+
* {
|
|
223
|
+
* "name": "shipping_instr_code",
|
|
224
|
+
* "type": "STRING",
|
|
225
|
+
* "isRequired": false
|
|
226
|
+
* },
|
|
227
|
+
* {
|
|
228
|
+
* "name": "payment_terms_code",
|
|
229
|
+
* "type": "STRING",
|
|
230
|
+
* "isRequired": false
|
|
231
|
+
* },
|
|
232
|
+
* {
|
|
233
|
+
* "name": "std_terms_agreement",
|
|
234
|
+
* "type": "STRING",
|
|
235
|
+
* "isRequired": false
|
|
236
|
+
* },
|
|
237
|
+
* {
|
|
238
|
+
* "name": "std_terms_agreement_ver",
|
|
239
|
+
* "type": "STRING",
|
|
240
|
+
* "isRequired": false
|
|
241
|
+
* },
|
|
242
|
+
* {
|
|
243
|
+
* "name": "agreement_number",
|
|
244
|
+
* "type": "STRING",
|
|
245
|
+
* "isRequired": false
|
|
246
|
+
* },
|
|
247
|
+
* {
|
|
248
|
+
* "name": "source",
|
|
249
|
+
* "type": "STRING",
|
|
250
|
+
* "isRequired": false
|
|
251
|
+
* },
|
|
252
|
+
* {
|
|
253
|
+
* "name": "source_update_dttm",
|
|
254
|
+
* "type": "TIMESTAMP",
|
|
255
|
+
* "isRequired": false
|
|
256
|
+
* },
|
|
257
|
+
* {
|
|
258
|
+
* "name": "source_event_id",
|
|
259
|
+
* "type": "STRING",
|
|
260
|
+
* "isRequired": false
|
|
261
|
+
* },
|
|
262
|
+
* {
|
|
263
|
+
* "name": "db_creation_dttm",
|
|
264
|
+
* "type": "TIMESTAMP",
|
|
265
|
+
* "isRequired": false
|
|
266
|
+
* },
|
|
267
|
+
* {
|
|
268
|
+
* "name": "db_updation_dttm",
|
|
269
|
+
* "type": "TIMESTAMP",
|
|
270
|
+
* "isRequired": false
|
|
271
|
+
* }
|
|
272
|
+
* ]
|
|
273
|
+
* }
|
|
274
|
+
* }
|
|
275
|
+
* }
|
|
276
|
+
* *\/
|
|
277
|
+
* // example id: example-1
|
|
278
|
+
* ```
|
|
279
|
+
*
|
|
280
|
+
* @example Get proporties of an existing custom dataset
|
|
281
|
+
* ```javascript
|
|
282
|
+
* //
|
|
283
|
+
* const input = {
|
|
284
|
+
* "name": "my_dataset",
|
|
285
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
286
|
+
* "namespace": "default"
|
|
287
|
+
* };
|
|
288
|
+
* const command = new GetDataLakeDatasetCommand(input);
|
|
289
|
+
* const response = await client.send(command);
|
|
290
|
+
* /* response ==
|
|
291
|
+
* {
|
|
292
|
+
* "dataset": {
|
|
293
|
+
* "name": "my_dataset",
|
|
294
|
+
* "arn": "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/default/datasets/my_dataset",
|
|
295
|
+
* "createdTime": 1727116807.751,
|
|
296
|
+
* "description": "This is a custom dataset",
|
|
297
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
298
|
+
* "lastModifiedTime": 1727116807.751,
|
|
299
|
+
* "namespace": "default",
|
|
300
|
+
* "schema": {
|
|
301
|
+
* "name": "MyDataset",
|
|
302
|
+
* "fields": [
|
|
303
|
+
* {
|
|
304
|
+
* "name": "id",
|
|
305
|
+
* "type": "INT",
|
|
306
|
+
* "isRequired": true
|
|
307
|
+
* },
|
|
308
|
+
* {
|
|
309
|
+
* "name": "description",
|
|
310
|
+
* "type": "STRING",
|
|
311
|
+
* "isRequired": true
|
|
312
|
+
* },
|
|
313
|
+
* {
|
|
314
|
+
* "name": "price",
|
|
315
|
+
* "type": "DOUBLE",
|
|
316
|
+
* "isRequired": false
|
|
317
|
+
* },
|
|
318
|
+
* {
|
|
319
|
+
* "name": "creation_time",
|
|
320
|
+
* "type": "TIMESTAMP",
|
|
321
|
+
* "isRequired": false
|
|
322
|
+
* }
|
|
323
|
+
* ]
|
|
324
|
+
* }
|
|
325
|
+
* }
|
|
326
|
+
* }
|
|
327
|
+
* *\/
|
|
328
|
+
* // example id: example-2
|
|
329
|
+
* ```
|
|
330
|
+
*
|
|
331
|
+
*/
|
|
332
|
+
export declare class GetDataLakeDatasetCommand extends GetDataLakeDatasetCommand_base {
|
|
333
|
+
/** @internal type navigation helper, not in runtime. */
|
|
334
|
+
protected static __types: {
|
|
335
|
+
api: {
|
|
336
|
+
input: GetDataLakeDatasetRequest;
|
|
337
|
+
output: GetDataLakeDatasetResponse;
|
|
338
|
+
};
|
|
339
|
+
sdk: {
|
|
340
|
+
input: GetDataLakeDatasetCommandInput;
|
|
341
|
+
output: GetDataLakeDatasetCommandOutput;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListDataIntegrationFlowsRequest, ListDataIntegrationFlowsResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SupplyChainClientResolvedConfig } from "../SupplyChainClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDataIntegrationFlowsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDataIntegrationFlowsCommandInput extends ListDataIntegrationFlowsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDataIntegrationFlowsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDataIntegrationFlowsCommandOutput extends ListDataIntegrationFlowsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDataIntegrationFlowsCommand_base: {
|
|
25
|
+
new (input: ListDataIntegrationFlowsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataIntegrationFlowsCommandInput, ListDataIntegrationFlowsCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListDataIntegrationFlowsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataIntegrationFlowsCommandInput, ListDataIntegrationFlowsCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all the DataIntegrationFlows in a paginated way.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SupplyChainClient, ListDataIntegrationFlowsCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
|
|
35
|
+
* // const { SupplyChainClient, ListDataIntegrationFlowsCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
|
|
36
|
+
* const client = new SupplyChainClient(config);
|
|
37
|
+
* const input = { // ListDataIntegrationFlowsRequest
|
|
38
|
+
* instanceId: "STRING_VALUE", // required
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListDataIntegrationFlowsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListDataIntegrationFlowsResponse
|
|
45
|
+
* // flows: [ // DataIntegrationFlowList // required
|
|
46
|
+
* // { // DataIntegrationFlow
|
|
47
|
+
* // instanceId: "STRING_VALUE", // required
|
|
48
|
+
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // sources: [ // DataIntegrationFlowSourceList // required
|
|
50
|
+
* // { // DataIntegrationFlowSource
|
|
51
|
+
* // sourceType: "S3" || "DATASET", // required
|
|
52
|
+
* // sourceName: "STRING_VALUE", // required
|
|
53
|
+
* // s3Source: { // DataIntegrationFlowS3SourceConfiguration
|
|
54
|
+
* // bucketName: "STRING_VALUE", // required
|
|
55
|
+
* // prefix: "STRING_VALUE", // required
|
|
56
|
+
* // options: { // DataIntegrationFlowS3Options
|
|
57
|
+
* // fileType: "CSV" || "PARQUET" || "JSON",
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // datasetSource: { // DataIntegrationFlowDatasetSourceConfiguration
|
|
61
|
+
* // datasetIdentifier: "STRING_VALUE", // required
|
|
62
|
+
* // options: { // DataIntegrationFlowDatasetOptions
|
|
63
|
+
* // loadType: "INCREMENTAL" || "REPLACE",
|
|
64
|
+
* // dedupeRecords: true || false,
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // transformation: { // DataIntegrationFlowTransformation
|
|
70
|
+
* // transformationType: "SQL" || "NONE", // required
|
|
71
|
+
* // sqlTransformation: { // DataIntegrationFlowSQLTransformationConfiguration
|
|
72
|
+
* // query: "STRING_VALUE", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // target: { // DataIntegrationFlowTarget
|
|
76
|
+
* // targetType: "S3" || "DATASET", // required
|
|
77
|
+
* // s3Target: { // DataIntegrationFlowS3TargetConfiguration
|
|
78
|
+
* // bucketName: "STRING_VALUE", // required
|
|
79
|
+
* // prefix: "STRING_VALUE", // required
|
|
80
|
+
* // options: {
|
|
81
|
+
* // fileType: "CSV" || "PARQUET" || "JSON",
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // datasetTarget: { // DataIntegrationFlowDatasetTargetConfiguration
|
|
85
|
+
* // datasetIdentifier: "STRING_VALUE", // required
|
|
86
|
+
* // options: {
|
|
87
|
+
* // loadType: "INCREMENTAL" || "REPLACE",
|
|
88
|
+
* // dedupeRecords: true || false,
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // createdTime: new Date("TIMESTAMP"), // required
|
|
93
|
+
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // nextToken: "STRING_VALUE",
|
|
97
|
+
* // };
|
|
98
|
+
*
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* @param ListDataIntegrationFlowsCommandInput - {@link ListDataIntegrationFlowsCommandInput}
|
|
102
|
+
* @returns {@link ListDataIntegrationFlowsCommandOutput}
|
|
103
|
+
* @see {@link ListDataIntegrationFlowsCommandInput} for command's `input` shape.
|
|
104
|
+
* @see {@link ListDataIntegrationFlowsCommandOutput} for command's `response` shape.
|
|
105
|
+
* @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
108
|
+
* <p>You do not have the required privileges to perform this action.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link InternalServerException} (server fault)
|
|
111
|
+
* <p>Unexpected error during processing of request.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
114
|
+
* <p>Request was denied due to request throttling.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ValidationException} (client fault)
|
|
117
|
+
* <p>The input does not satisfy the constraints specified by an AWS service.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ConflictException} (client fault)
|
|
120
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
123
|
+
* <p>Request references a resource which does not exist.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
126
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link SupplyChainServiceException}
|
|
129
|
+
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
130
|
+
*
|
|
131
|
+
* @public
|
|
132
|
+
* @example Successful ListDataIntegrationFlow
|
|
133
|
+
* ```javascript
|
|
134
|
+
* //
|
|
135
|
+
* const input = {
|
|
136
|
+
* "instanceId": "8850c54e-e187-4fa7-89d4-6370f165174d"
|
|
137
|
+
* };
|
|
138
|
+
* const command = new ListDataIntegrationFlowsCommand(input);
|
|
139
|
+
* const response = await client.send(command);
|
|
140
|
+
* /* response ==
|
|
141
|
+
* {
|
|
142
|
+
* "flows": [
|
|
143
|
+
* {
|
|
144
|
+
* "name": "testStagingFlow",
|
|
145
|
+
* "createdTime": 1724956400.44,
|
|
146
|
+
* "instanceId": "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
147
|
+
* "lastModifiedTime": 1724956400.44,
|
|
148
|
+
* "sources": [
|
|
149
|
+
* {
|
|
150
|
+
* "s3Source": {
|
|
151
|
+
* "bucketName": "aws-supply-chain-data-b8c7bb28-a576-4334-b481-6d6e8e47371f",
|
|
152
|
+
* "prefix": "example-prefix"
|
|
153
|
+
* },
|
|
154
|
+
* "sourceName": "testSourceName",
|
|
155
|
+
* "sourceType": "S3"
|
|
156
|
+
* }
|
|
157
|
+
* ],
|
|
158
|
+
* "target": {
|
|
159
|
+
* "datasetTarget": {
|
|
160
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset"
|
|
161
|
+
* },
|
|
162
|
+
* "targetType": "DATASET"
|
|
163
|
+
* },
|
|
164
|
+
* "transformation": {
|
|
165
|
+
* "sqlTransformation": {
|
|
166
|
+
* "query": "SELECT * FROM testSourceName"
|
|
167
|
+
* },
|
|
168
|
+
* "transformationType": "SQL"
|
|
169
|
+
* }
|
|
170
|
+
* },
|
|
171
|
+
* {
|
|
172
|
+
* "name": "trading-partner",
|
|
173
|
+
* "createdTime": 17235763506.88,
|
|
174
|
+
* "instanceId": "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
175
|
+
* "lastModifiedTime": 17235763506.88,
|
|
176
|
+
* "sources": [
|
|
177
|
+
* {
|
|
178
|
+
* "datasetSource": {
|
|
179
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset1"
|
|
180
|
+
* },
|
|
181
|
+
* "sourceName": "testSourceName1",
|
|
182
|
+
* "sourceType": "DATASET"
|
|
183
|
+
* },
|
|
184
|
+
* {
|
|
185
|
+
* "datasetSource": {
|
|
186
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset2"
|
|
187
|
+
* },
|
|
188
|
+
* "sourceName": "testSourceName2",
|
|
189
|
+
* "sourceType": "DATASET"
|
|
190
|
+
* }
|
|
191
|
+
* ],
|
|
192
|
+
* "target": {
|
|
193
|
+
* "datasetTarget": {
|
|
194
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner"
|
|
195
|
+
* },
|
|
196
|
+
* "targetType": "DATASET"
|
|
197
|
+
* },
|
|
198
|
+
* "transformation": {
|
|
199
|
+
* "sqlTransformation": {
|
|
200
|
+
* "query": "SELECT S1.id AS id, S1.poc_org_unit_description AS description, S1.company_id AS company_id, S1.tpartner_type AS tpartner_type, S1.geo_id AS geo_id, S1.eff_start_date AS eff_start_date, S1.eff_end_date AS eff_end_date FROM testSourceName1 AS S1 LEFT JOIN testSourceName2 as S2 ON S1.id=S2.id"
|
|
201
|
+
* },
|
|
202
|
+
* "transformationType": "SQL"
|
|
203
|
+
* }
|
|
204
|
+
* }
|
|
205
|
+
* ]
|
|
206
|
+
* }
|
|
207
|
+
* *\/
|
|
208
|
+
* // example id: example-1
|
|
209
|
+
* ```
|
|
210
|
+
*
|
|
211
|
+
*/
|
|
212
|
+
export declare class ListDataIntegrationFlowsCommand extends ListDataIntegrationFlowsCommand_base {
|
|
213
|
+
/** @internal type navigation helper, not in runtime. */
|
|
214
|
+
protected static __types: {
|
|
215
|
+
api: {
|
|
216
|
+
input: ListDataIntegrationFlowsRequest;
|
|
217
|
+
output: ListDataIntegrationFlowsResponse;
|
|
218
|
+
};
|
|
219
|
+
sdk: {
|
|
220
|
+
input: ListDataIntegrationFlowsCommandInput;
|
|
221
|
+
output: ListDataIntegrationFlowsCommandOutput;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
}
|