@aws-sdk/client-supplychain 3.806.0 → 3.808.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 +72 -0
- package/dist-cjs/index.js +585 -4
- package/dist-es/SupplyChain.js +18 -0
- package/dist-es/commands/CreateDataIntegrationFlowCommand.js +2 -1
- package/dist-es/commands/CreateDataLakeNamespaceCommand.js +22 -0
- package/dist-es/commands/DeleteDataLakeNamespaceCommand.js +22 -0
- package/dist-es/commands/GetDataIntegrationEventCommand.js +22 -0
- package/dist-es/commands/GetDataIntegrationFlowCommand.js +2 -1
- package/dist-es/commands/GetDataIntegrationFlowExecutionCommand.js +22 -0
- package/dist-es/commands/GetDataLakeNamespaceCommand.js +22 -0
- package/dist-es/commands/ListDataIntegrationEventsCommand.js +22 -0
- package/dist-es/commands/ListDataIntegrationFlowExecutionsCommand.js +22 -0
- package/dist-es/commands/ListDataIntegrationFlowsCommand.js +2 -1
- package/dist-es/commands/ListDataLakeNamespacesCommand.js +22 -0
- package/dist-es/commands/UpdateDataIntegrationFlowCommand.js +2 -1
- package/dist-es/commands/UpdateDataLakeNamespaceCommand.js +22 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +71 -0
- package/dist-es/pagination/ListDataIntegrationEventsPaginator.js +4 -0
- package/dist-es/pagination/ListDataIntegrationFlowExecutionsPaginator.js +4 -0
- package/dist-es/pagination/ListDataLakeNamespacesPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +304 -0
- package/dist-types/SupplyChain.d.ts +63 -0
- package/dist-types/SupplyChainClient.d.ts +11 -2
- package/dist-types/commands/CreateDataIntegrationFlowCommand.d.ts +38 -1
- package/dist-types/commands/CreateDataLakeDatasetCommand.d.ts +89 -7
- package/dist-types/commands/CreateDataLakeNamespaceCommand.d.ts +133 -0
- package/dist-types/commands/DeleteDataLakeNamespaceCommand.d.ts +112 -0
- package/dist-types/commands/GetDataIntegrationEventCommand.d.ts +137 -0
- package/dist-types/commands/GetDataIntegrationFlowCommand.d.ts +22 -0
- package/dist-types/commands/GetDataIntegrationFlowExecutionCommand.d.ts +177 -0
- package/dist-types/commands/GetDataLakeDatasetCommand.d.ts +43 -2
- package/dist-types/commands/GetDataLakeNamespaceCommand.d.ts +146 -0
- package/dist-types/commands/ListDataIntegrationEventsCommand.d.ts +143 -0
- package/dist-types/commands/ListDataIntegrationFlowExecutionsCommand.d.ts +152 -0
- package/dist-types/commands/ListDataIntegrationFlowsCommand.d.ts +38 -1
- package/dist-types/commands/ListDataLakeDatasetsCommand.d.ts +43 -2
- package/dist-types/commands/ListDataLakeNamespacesCommand.d.ts +161 -0
- package/dist-types/commands/SendDataIntegrationEventCommand.d.ts +29 -2
- package/dist-types/commands/UpdateDataIntegrationFlowCommand.d.ts +76 -2
- package/dist-types/commands/UpdateDataLakeDatasetCommand.d.ts +43 -2
- package/dist-types/commands/UpdateDataLakeNamespaceCommand.d.ts +126 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +938 -34
- package/dist-types/pagination/ListDataIntegrationEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataIntegrationFlowExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataLakeNamespacesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/SupplyChain.d.ts +159 -0
- package/dist-types/ts3.4/SupplyChainClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateDataLakeNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteDataLakeNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataIntegrationEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataIntegrationFlowExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataLakeNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataIntegrationEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataIntegrationFlowExecutionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataLakeNamespacesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDataLakeNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +237 -6
- package/dist-types/ts3.4/pagination/ListDataIntegrationEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataIntegrationFlowExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataLakeNamespacesPaginator.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 +108 -0
- package/package.json +15 -15
|
@@ -53,6 +53,17 @@ declare const CreateDataIntegrationFlowCommand_base: {
|
|
|
53
53
|
* options: { // DataIntegrationFlowDatasetOptions
|
|
54
54
|
* loadType: "INCREMENTAL" || "REPLACE",
|
|
55
55
|
* dedupeRecords: true || false,
|
|
56
|
+
* dedupeStrategy: { // DataIntegrationFlowDedupeStrategy
|
|
57
|
+
* type: "FIELD_PRIORITY", // required
|
|
58
|
+
* fieldPriority: { // DataIntegrationFlowFieldPriorityDedupeStrategyConfiguration
|
|
59
|
+
* fields: [ // DataIntegrationFlowFieldPriorityDedupeFieldList // required
|
|
60
|
+
* { // DataIntegrationFlowFieldPriorityDedupeField
|
|
61
|
+
* name: "STRING_VALUE", // required
|
|
62
|
+
* sortOrder: "ASC" || "DESC", // required
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
56
67
|
* },
|
|
57
68
|
* },
|
|
58
69
|
* },
|
|
@@ -77,6 +88,17 @@ declare const CreateDataIntegrationFlowCommand_base: {
|
|
|
77
88
|
* options: {
|
|
78
89
|
* loadType: "INCREMENTAL" || "REPLACE",
|
|
79
90
|
* dedupeRecords: true || false,
|
|
91
|
+
* dedupeStrategy: {
|
|
92
|
+
* type: "FIELD_PRIORITY", // required
|
|
93
|
+
* fieldPriority: {
|
|
94
|
+
* fields: [ // required
|
|
95
|
+
* {
|
|
96
|
+
* name: "STRING_VALUE", // required
|
|
97
|
+
* sortOrder: "ASC" || "DESC", // required
|
|
98
|
+
* },
|
|
99
|
+
* ],
|
|
100
|
+
* },
|
|
101
|
+
* },
|
|
80
102
|
* },
|
|
81
103
|
* },
|
|
82
104
|
* },
|
|
@@ -193,7 +215,22 @@ declare const CreateDataIntegrationFlowCommand_base: {
|
|
|
193
215
|
* },
|
|
194
216
|
* target: {
|
|
195
217
|
* datasetTarget: {
|
|
196
|
-
* datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner"
|
|
218
|
+
* datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner",
|
|
219
|
+
* options: {
|
|
220
|
+
* dedupeRecords: true,
|
|
221
|
+
* dedupeStrategy: {
|
|
222
|
+
* fieldPriority: {
|
|
223
|
+
* fields: [
|
|
224
|
+
* {
|
|
225
|
+
* name: "eff_start_date",
|
|
226
|
+
* sortOrder: "DESC"
|
|
227
|
+
* }
|
|
228
|
+
* ]
|
|
229
|
+
* },
|
|
230
|
+
* type: "FIELD_PRIORITY"
|
|
231
|
+
* },
|
|
232
|
+
* loadType: "REPLACE"
|
|
233
|
+
* }
|
|
197
234
|
* },
|
|
198
235
|
* targetType: "DATASET"
|
|
199
236
|
* },
|
|
@@ -43,12 +43,27 @@ declare const CreateDataLakeDatasetCommand_base: {
|
|
|
43
43
|
* fields: [ // DataLakeDatasetSchemaFieldList // required
|
|
44
44
|
* { // DataLakeDatasetSchemaField
|
|
45
45
|
* name: "STRING_VALUE", // required
|
|
46
|
-
* type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP", // required
|
|
46
|
+
* type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP" || "LONG", // required
|
|
47
47
|
* isRequired: true || false, // required
|
|
48
48
|
* },
|
|
49
49
|
* ],
|
|
50
|
+
* primaryKeys: [ // DataLakeDatasetPrimaryKeyFieldList
|
|
51
|
+
* { // DataLakeDatasetPrimaryKeyField
|
|
52
|
+
* name: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
50
55
|
* },
|
|
51
56
|
* description: "STRING_VALUE",
|
|
57
|
+
* partitionSpec: { // DataLakeDatasetPartitionSpec
|
|
58
|
+
* fields: [ // DataLakeDatasetPartitionFieldList // required
|
|
59
|
+
* { // DataLakeDatasetPartitionField
|
|
60
|
+
* name: "STRING_VALUE", // required
|
|
61
|
+
* transform: { // DataLakeDatasetPartitionFieldTransform
|
|
62
|
+
* type: "YEAR" || "MONTH" || "DAY" || "HOUR" || "IDENTITY", // required
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
52
67
|
* tags: { // TagMap
|
|
53
68
|
* "<keys>": "STRING_VALUE",
|
|
54
69
|
* },
|
|
@@ -66,12 +81,27 @@ declare const CreateDataLakeDatasetCommand_base: {
|
|
|
66
81
|
* // fields: [ // DataLakeDatasetSchemaFieldList // required
|
|
67
82
|
* // { // DataLakeDatasetSchemaField
|
|
68
83
|
* // name: "STRING_VALUE", // required
|
|
69
|
-
* // type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP", // required
|
|
84
|
+
* // type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP" || "LONG", // required
|
|
70
85
|
* // isRequired: true || false, // required
|
|
71
86
|
* // },
|
|
72
87
|
* // ],
|
|
88
|
+
* // primaryKeys: [ // DataLakeDatasetPrimaryKeyFieldList
|
|
89
|
+
* // { // DataLakeDatasetPrimaryKeyField
|
|
90
|
+
* // name: "STRING_VALUE", // required
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
73
93
|
* // },
|
|
74
94
|
* // description: "STRING_VALUE",
|
|
95
|
+
* // partitionSpec: { // DataLakeDatasetPartitionSpec
|
|
96
|
+
* // fields: [ // DataLakeDatasetPartitionFieldList // required
|
|
97
|
+
* // { // DataLakeDatasetPartitionField
|
|
98
|
+
* // name: "STRING_VALUE", // required
|
|
99
|
+
* // transform: { // DataLakeDatasetPartitionFieldTransform
|
|
100
|
+
* // type: "YEAR" || "MONTH" || "DAY" || "HOUR" || "IDENTITY", // required
|
|
101
|
+
* // },
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // },
|
|
75
105
|
* // createdTime: new Date("TIMESTAMP"), // required
|
|
76
106
|
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
77
107
|
* // },
|
|
@@ -94,6 +124,9 @@ declare const CreateDataLakeDatasetCommand_base: {
|
|
|
94
124
|
* @throws {@link InternalServerException} (server fault)
|
|
95
125
|
* <p>Unexpected error during processing of request.</p>
|
|
96
126
|
*
|
|
127
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
128
|
+
* <p>Request references a resource which does not exist.</p>
|
|
129
|
+
*
|
|
97
130
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
98
131
|
* <p>Request would cause a service quota to be exceeded.</p>
|
|
99
132
|
*
|
|
@@ -103,9 +136,6 @@ declare const CreateDataLakeDatasetCommand_base: {
|
|
|
103
136
|
* @throws {@link ValidationException} (client fault)
|
|
104
137
|
* <p>The input does not satisfy the constraints specified by an AWS service.</p>
|
|
105
138
|
*
|
|
106
|
-
* @throws {@link ResourceNotFoundException} (client fault)
|
|
107
|
-
* <p>Request references a resource which does not exist.</p>
|
|
108
|
-
*
|
|
109
139
|
* @throws {@link SupplyChainServiceException}
|
|
110
140
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
111
141
|
*
|
|
@@ -303,6 +333,22 @@ declare const CreateDataLakeDatasetCommand_base: {
|
|
|
303
333
|
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
304
334
|
* name: "my_dataset",
|
|
305
335
|
* namespace: "default",
|
|
336
|
+
* partitionSpec: {
|
|
337
|
+
* fields: [
|
|
338
|
+
* {
|
|
339
|
+
* name: "creation_time",
|
|
340
|
+
* transform: {
|
|
341
|
+
* type: "DAY"
|
|
342
|
+
* }
|
|
343
|
+
* },
|
|
344
|
+
* {
|
|
345
|
+
* name: "description",
|
|
346
|
+
* transform: {
|
|
347
|
+
* type: "IDENTITY"
|
|
348
|
+
* }
|
|
349
|
+
* }
|
|
350
|
+
* ]
|
|
351
|
+
* },
|
|
306
352
|
* schema: {
|
|
307
353
|
* fields: [
|
|
308
354
|
* {
|
|
@@ -324,9 +370,19 @@ declare const CreateDataLakeDatasetCommand_base: {
|
|
|
324
370
|
* isRequired: false,
|
|
325
371
|
* name: "creation_time",
|
|
326
372
|
* type: "TIMESTAMP"
|
|
373
|
+
* },
|
|
374
|
+
* {
|
|
375
|
+
* isRequired: false,
|
|
376
|
+
* name: "quantity",
|
|
377
|
+
* type: "LONG"
|
|
327
378
|
* }
|
|
328
379
|
* ],
|
|
329
|
-
* name: "MyDataset"
|
|
380
|
+
* name: "MyDataset",
|
|
381
|
+
* primaryKeys: [
|
|
382
|
+
* {
|
|
383
|
+
* name: "id"
|
|
384
|
+
* }
|
|
385
|
+
* ]
|
|
330
386
|
* },
|
|
331
387
|
* tags: {
|
|
332
388
|
* tagKey1: "tagValue1",
|
|
@@ -345,6 +401,22 @@ declare const CreateDataLakeDatasetCommand_base: {
|
|
|
345
401
|
* lastModifiedTime: 1.727116807751E9,
|
|
346
402
|
* name: "my_dataset",
|
|
347
403
|
* namespace: "default",
|
|
404
|
+
* partitionSpec: {
|
|
405
|
+
* fields: [
|
|
406
|
+
* {
|
|
407
|
+
* name: "creation_time",
|
|
408
|
+
* transform: {
|
|
409
|
+
* type: "DAY"
|
|
410
|
+
* }
|
|
411
|
+
* },
|
|
412
|
+
* {
|
|
413
|
+
* name: "description",
|
|
414
|
+
* transform: {
|
|
415
|
+
* type: "IDENTITY"
|
|
416
|
+
* }
|
|
417
|
+
* }
|
|
418
|
+
* ]
|
|
419
|
+
* },
|
|
348
420
|
* schema: {
|
|
349
421
|
* fields: [
|
|
350
422
|
* {
|
|
@@ -366,9 +438,19 @@ declare const CreateDataLakeDatasetCommand_base: {
|
|
|
366
438
|
* isRequired: false,
|
|
367
439
|
* name: "creation_time",
|
|
368
440
|
* type: "TIMESTAMP"
|
|
441
|
+
* },
|
|
442
|
+
* {
|
|
443
|
+
* isRequired: false,
|
|
444
|
+
* name: "quantity",
|
|
445
|
+
* type: "LONG"
|
|
369
446
|
* }
|
|
370
447
|
* ],
|
|
371
|
-
* name: "MyDataset"
|
|
448
|
+
* name: "MyDataset",
|
|
449
|
+
* primaryKeys: [
|
|
450
|
+
* {
|
|
451
|
+
* name: "id"
|
|
452
|
+
* }
|
|
453
|
+
* ]
|
|
372
454
|
* }
|
|
373
455
|
* }
|
|
374
456
|
* }
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateDataLakeNamespaceRequest, CreateDataLakeNamespaceResponse } 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 CreateDataLakeNamespaceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateDataLakeNamespaceCommandInput extends CreateDataLakeNamespaceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateDataLakeNamespaceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateDataLakeNamespaceCommandOutput extends CreateDataLakeNamespaceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateDataLakeNamespaceCommand_base: {
|
|
25
|
+
new (input: CreateDataLakeNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataLakeNamespaceCommandInput, CreateDataLakeNamespaceCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateDataLakeNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataLakeNamespaceCommandInput, CreateDataLakeNamespaceCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Enables you to programmatically create an Amazon Web Services Supply Chain data lake namespace. Developers can create the namespaces for a given instance ID.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SupplyChainClient, CreateDataLakeNamespaceCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
|
|
35
|
+
* // const { SupplyChainClient, CreateDataLakeNamespaceCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
|
|
36
|
+
* const client = new SupplyChainClient(config);
|
|
37
|
+
* const input = { // CreateDataLakeNamespaceRequest
|
|
38
|
+
* instanceId: "STRING_VALUE", // required
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* description: "STRING_VALUE",
|
|
41
|
+
* tags: { // TagMap
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new CreateDataLakeNamespaceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // CreateDataLakeNamespaceResponse
|
|
48
|
+
* // namespace: { // DataLakeNamespace
|
|
49
|
+
* // instanceId: "STRING_VALUE", // required
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // arn: "STRING_VALUE", // required
|
|
52
|
+
* // description: "STRING_VALUE",
|
|
53
|
+
* // createdTime: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param CreateDataLakeNamespaceCommandInput - {@link CreateDataLakeNamespaceCommandInput}
|
|
61
|
+
* @returns {@link CreateDataLakeNamespaceCommandOutput}
|
|
62
|
+
* @see {@link CreateDataLakeNamespaceCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link CreateDataLakeNamespaceCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have the required privileges to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConflictException} (client fault)
|
|
70
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>Unexpected error during processing of request.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
76
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>Request was denied due to request throttling.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input does not satisfy the constraints specified by an AWS service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
+
* <p>Request references a resource which does not exist.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link SupplyChainServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @example Create a data lake namespace
|
|
92
|
+
* ```javascript
|
|
93
|
+
* //
|
|
94
|
+
* const input = {
|
|
95
|
+
* description: "This is my AWS Supply Chain namespace",
|
|
96
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
97
|
+
* name: "my_namespace",
|
|
98
|
+
* tags: {
|
|
99
|
+
* tagKey1: "tagValue1",
|
|
100
|
+
* tagKey2: "tagValue2"
|
|
101
|
+
* }
|
|
102
|
+
* };
|
|
103
|
+
* const command = new CreateDataLakeNamespaceCommand(input);
|
|
104
|
+
* const response = await client.send(command);
|
|
105
|
+
* /* response is
|
|
106
|
+
* {
|
|
107
|
+
* namespace: {
|
|
108
|
+
* arn: "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/my_namespace",
|
|
109
|
+
* createdTime: 1.736892560751E9,
|
|
110
|
+
* description: "This is my AWS Supply Chain namespace",
|
|
111
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
112
|
+
* lastModifiedTime: 1.736892560751E9,
|
|
113
|
+
* name: "my_namespace"
|
|
114
|
+
* }
|
|
115
|
+
* }
|
|
116
|
+
* *\/
|
|
117
|
+
* ```
|
|
118
|
+
*
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare class CreateDataLakeNamespaceCommand extends CreateDataLakeNamespaceCommand_base {
|
|
122
|
+
/** @internal type navigation helper, not in runtime. */
|
|
123
|
+
protected static __types: {
|
|
124
|
+
api: {
|
|
125
|
+
input: CreateDataLakeNamespaceRequest;
|
|
126
|
+
output: CreateDataLakeNamespaceResponse;
|
|
127
|
+
};
|
|
128
|
+
sdk: {
|
|
129
|
+
input: CreateDataLakeNamespaceCommandInput;
|
|
130
|
+
output: CreateDataLakeNamespaceCommandOutput;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteDataLakeNamespaceRequest, DeleteDataLakeNamespaceResponse } 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 DeleteDataLakeNamespaceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDataLakeNamespaceCommandInput extends DeleteDataLakeNamespaceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDataLakeNamespaceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDataLakeNamespaceCommandOutput extends DeleteDataLakeNamespaceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteDataLakeNamespaceCommand_base: {
|
|
25
|
+
new (input: DeleteDataLakeNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataLakeNamespaceCommandInput, DeleteDataLakeNamespaceCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteDataLakeNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataLakeNamespaceCommandInput, DeleteDataLakeNamespaceCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Enables you to programmatically delete an Amazon Web Services Supply Chain data lake namespace and its underling datasets. Developers can delete the existing namespaces for a given instance ID and namespace name.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SupplyChainClient, DeleteDataLakeNamespaceCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
|
|
35
|
+
* // const { SupplyChainClient, DeleteDataLakeNamespaceCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
|
|
36
|
+
* const client = new SupplyChainClient(config);
|
|
37
|
+
* const input = { // DeleteDataLakeNamespaceRequest
|
|
38
|
+
* instanceId: "STRING_VALUE", // required
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteDataLakeNamespaceCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DeleteDataLakeNamespaceResponse
|
|
44
|
+
* // instanceId: "STRING_VALUE", // required
|
|
45
|
+
* // name: "STRING_VALUE", // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeleteDataLakeNamespaceCommandInput - {@link DeleteDataLakeNamespaceCommandInput}
|
|
51
|
+
* @returns {@link DeleteDataLakeNamespaceCommandOutput}
|
|
52
|
+
* @see {@link DeleteDataLakeNamespaceCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeleteDataLakeNamespaceCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>You do not have the required privileges to perform this action.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>Unexpected error during processing of request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>Request references a resource which does not exist.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>Request was denied due to request throttling.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The input does not satisfy the constraints specified by an AWS service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
75
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link SupplyChainServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @example Delete an AWS Supply Chain namespace
|
|
82
|
+
* ```javascript
|
|
83
|
+
* //
|
|
84
|
+
* const input = {
|
|
85
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
86
|
+
* name: "my_namespace"
|
|
87
|
+
* };
|
|
88
|
+
* const command = new DeleteDataLakeNamespaceCommand(input);
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* /* response is
|
|
91
|
+
* {
|
|
92
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
93
|
+
* name: "my_namespace"
|
|
94
|
+
* }
|
|
95
|
+
* *\/
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class DeleteDataLakeNamespaceCommand extends DeleteDataLakeNamespaceCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: DeleteDataLakeNamespaceRequest;
|
|
105
|
+
output: DeleteDataLakeNamespaceResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: DeleteDataLakeNamespaceCommandInput;
|
|
109
|
+
output: DeleteDataLakeNamespaceCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetDataIntegrationEventRequest, GetDataIntegrationEventResponse } 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 GetDataIntegrationEventCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDataIntegrationEventCommandInput extends GetDataIntegrationEventRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDataIntegrationEventCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDataIntegrationEventCommandOutput extends GetDataIntegrationEventResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDataIntegrationEventCommand_base: {
|
|
25
|
+
new (input: GetDataIntegrationEventCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataIntegrationEventCommandInput, GetDataIntegrationEventCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetDataIntegrationEventCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataIntegrationEventCommandInput, GetDataIntegrationEventCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Enables you to programmatically view an Amazon Web Services Supply Chain Data Integration Event. Developers can view the eventType, eventGroupId, eventTimestamp, datasetTarget, datasetLoadExecution.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SupplyChainClient, GetDataIntegrationEventCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
|
|
35
|
+
* // const { SupplyChainClient, GetDataIntegrationEventCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
|
|
36
|
+
* const client = new SupplyChainClient(config);
|
|
37
|
+
* const input = { // GetDataIntegrationEventRequest
|
|
38
|
+
* instanceId: "STRING_VALUE", // required
|
|
39
|
+
* eventId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetDataIntegrationEventCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetDataIntegrationEventResponse
|
|
44
|
+
* // event: { // DataIntegrationEvent
|
|
45
|
+
* // instanceId: "STRING_VALUE", // required
|
|
46
|
+
* // eventId: "STRING_VALUE", // required
|
|
47
|
+
* // eventType: "scn.data.forecast" || "scn.data.inventorylevel" || "scn.data.inboundorder" || "scn.data.inboundorderline" || "scn.data.inboundorderlineschedule" || "scn.data.outboundorderline" || "scn.data.outboundshipment" || "scn.data.processheader" || "scn.data.processoperation" || "scn.data.processproduct" || "scn.data.reservation" || "scn.data.shipment" || "scn.data.shipmentstop" || "scn.data.shipmentstoporder" || "scn.data.supplyplan" || "scn.data.dataset", // required
|
|
48
|
+
* // eventGroupId: "STRING_VALUE", // required
|
|
49
|
+
* // eventTimestamp: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // datasetTargetDetails: { // DataIntegrationEventDatasetTargetDetails
|
|
51
|
+
* // datasetIdentifier: "STRING_VALUE", // required
|
|
52
|
+
* // operationType: "APPEND" || "UPSERT" || "DELETE", // required
|
|
53
|
+
* // datasetLoadExecution: { // DataIntegrationEventDatasetLoadExecutionDetails
|
|
54
|
+
* // status: "SUCCEEDED" || "IN_PROGRESS" || "FAILED", // required
|
|
55
|
+
* // message: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param GetDataIntegrationEventCommandInput - {@link GetDataIntegrationEventCommandInput}
|
|
64
|
+
* @returns {@link GetDataIntegrationEventCommandOutput}
|
|
65
|
+
* @see {@link GetDataIntegrationEventCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link GetDataIntegrationEventCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>You do not have the required privileges to perform this action.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>Unexpected error during processing of request.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>Request references a resource which does not exist.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>Request was denied due to request throttling.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input does not satisfy the constraints specified by an AWS service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ConflictException} (client fault)
|
|
85
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
88
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link SupplyChainServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @example Successful GetDataIntegrationEvent
|
|
95
|
+
* ```javascript
|
|
96
|
+
* //
|
|
97
|
+
* const input = {
|
|
98
|
+
* eventId: "19739c8e-cd2e-4cbc-a2f7-0dc43239f042",
|
|
99
|
+
* instanceId: "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
100
|
+
* };
|
|
101
|
+
* const command = new GetDataIntegrationEventCommand(input);
|
|
102
|
+
* const response = await client.send(command);
|
|
103
|
+
* /* response is
|
|
104
|
+
* {
|
|
105
|
+
* event: {
|
|
106
|
+
* datasetTargetDetails: {
|
|
107
|
+
* datasetIdentifier: "arn:aws:scn:us-west-2:135808960812:instance/8928ae12-15e5-4441-825d-ec2184f0a43a/namespaces/asc/datasets/product",
|
|
108
|
+
* datasetLoadExecution: {
|
|
109
|
+
* status: "SUCCEEDED"
|
|
110
|
+
* },
|
|
111
|
+
* operationType: "APPEND"
|
|
112
|
+
* },
|
|
113
|
+
* eventGroupId: "datasetId",
|
|
114
|
+
* eventId: "19739c8e-cd2e-4cbc-a2f7-0dc43239f042",
|
|
115
|
+
* eventTimestamp: 1.515531081123E9,
|
|
116
|
+
* eventType: "scn.data.dataset",
|
|
117
|
+
* instanceId: "8928ae12-15e5-4441-825d-ec2184f0a43a"
|
|
118
|
+
* }
|
|
119
|
+
* }
|
|
120
|
+
* *\/
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export declare class GetDataIntegrationEventCommand extends GetDataIntegrationEventCommand_base {
|
|
126
|
+
/** @internal type navigation helper, not in runtime. */
|
|
127
|
+
protected static __types: {
|
|
128
|
+
api: {
|
|
129
|
+
input: GetDataIntegrationEventRequest;
|
|
130
|
+
output: GetDataIntegrationEventResponse;
|
|
131
|
+
};
|
|
132
|
+
sdk: {
|
|
133
|
+
input: GetDataIntegrationEventCommandInput;
|
|
134
|
+
output: GetDataIntegrationEventCommandOutput;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
}
|
|
@@ -60,6 +60,17 @@ declare const GetDataIntegrationFlowCommand_base: {
|
|
|
60
60
|
* // options: { // DataIntegrationFlowDatasetOptions
|
|
61
61
|
* // loadType: "INCREMENTAL" || "REPLACE",
|
|
62
62
|
* // dedupeRecords: true || false,
|
|
63
|
+
* // dedupeStrategy: { // DataIntegrationFlowDedupeStrategy
|
|
64
|
+
* // type: "FIELD_PRIORITY", // required
|
|
65
|
+
* // fieldPriority: { // DataIntegrationFlowFieldPriorityDedupeStrategyConfiguration
|
|
66
|
+
* // fields: [ // DataIntegrationFlowFieldPriorityDedupeFieldList // required
|
|
67
|
+
* // { // DataIntegrationFlowFieldPriorityDedupeField
|
|
68
|
+
* // name: "STRING_VALUE", // required
|
|
69
|
+
* // sortOrder: "ASC" || "DESC", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
63
74
|
* // },
|
|
64
75
|
* // },
|
|
65
76
|
* // },
|
|
@@ -84,6 +95,17 @@ declare const GetDataIntegrationFlowCommand_base: {
|
|
|
84
95
|
* // options: {
|
|
85
96
|
* // loadType: "INCREMENTAL" || "REPLACE",
|
|
86
97
|
* // dedupeRecords: true || false,
|
|
98
|
+
* // dedupeStrategy: {
|
|
99
|
+
* // type: "FIELD_PRIORITY", // required
|
|
100
|
+
* // fieldPriority: {
|
|
101
|
+
* // fields: [ // required
|
|
102
|
+
* // {
|
|
103
|
+
* // name: "STRING_VALUE", // required
|
|
104
|
+
* // sortOrder: "ASC" || "DESC", // required
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
87
109
|
* // },
|
|
88
110
|
* // },
|
|
89
111
|
* // },
|