@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,12 +53,27 @@ declare const UpdateDataLakeDatasetCommand_base: {
|
|
|
53
53
|
* // fields: [ // DataLakeDatasetSchemaFieldList // required
|
|
54
54
|
* // { // DataLakeDatasetSchemaField
|
|
55
55
|
* // name: "STRING_VALUE", // required
|
|
56
|
-
* // type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP", // required
|
|
56
|
+
* // type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP" || "LONG", // required
|
|
57
57
|
* // isRequired: true || false, // required
|
|
58
58
|
* // },
|
|
59
59
|
* // ],
|
|
60
|
+
* // primaryKeys: [ // DataLakeDatasetPrimaryKeyFieldList
|
|
61
|
+
* // { // DataLakeDatasetPrimaryKeyField
|
|
62
|
+
* // name: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
60
65
|
* // },
|
|
61
66
|
* // description: "STRING_VALUE",
|
|
67
|
+
* // partitionSpec: { // DataLakeDatasetPartitionSpec
|
|
68
|
+
* // fields: [ // DataLakeDatasetPartitionFieldList // required
|
|
69
|
+
* // { // DataLakeDatasetPartitionField
|
|
70
|
+
* // name: "STRING_VALUE", // required
|
|
71
|
+
* // transform: { // DataLakeDatasetPartitionFieldTransform
|
|
72
|
+
* // type: "YEAR" || "MONTH" || "DAY" || "HOUR" || "IDENTITY", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
62
77
|
* // createdTime: new Date("TIMESTAMP"), // required
|
|
63
78
|
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
64
79
|
* // },
|
|
@@ -299,6 +314,22 @@ declare const UpdateDataLakeDatasetCommand_base: {
|
|
|
299
314
|
* lastModifiedTime: 1.727117453568E9,
|
|
300
315
|
* name: "my_dataset",
|
|
301
316
|
* namespace: "default",
|
|
317
|
+
* partitionSpec: {
|
|
318
|
+
* fields: [
|
|
319
|
+
* {
|
|
320
|
+
* name: "creation_time",
|
|
321
|
+
* transform: {
|
|
322
|
+
* type: "DAY"
|
|
323
|
+
* }
|
|
324
|
+
* },
|
|
325
|
+
* {
|
|
326
|
+
* name: "description",
|
|
327
|
+
* transform: {
|
|
328
|
+
* type: "IDENTITY"
|
|
329
|
+
* }
|
|
330
|
+
* }
|
|
331
|
+
* ]
|
|
332
|
+
* },
|
|
302
333
|
* schema: {
|
|
303
334
|
* fields: [
|
|
304
335
|
* {
|
|
@@ -320,9 +351,19 @@ declare const UpdateDataLakeDatasetCommand_base: {
|
|
|
320
351
|
* isRequired: false,
|
|
321
352
|
* name: "creation_time",
|
|
322
353
|
* type: "TIMESTAMP"
|
|
354
|
+
* },
|
|
355
|
+
* {
|
|
356
|
+
* isRequired: false,
|
|
357
|
+
* name: "quantity",
|
|
358
|
+
* type: "LONG"
|
|
323
359
|
* }
|
|
324
360
|
* ],
|
|
325
|
-
* name: "MyDataset"
|
|
361
|
+
* name: "MyDataset",
|
|
362
|
+
* primaryKeys: [
|
|
363
|
+
* {
|
|
364
|
+
* name: "id"
|
|
365
|
+
* }
|
|
366
|
+
* ]
|
|
326
367
|
* }
|
|
327
368
|
* }
|
|
328
369
|
* }
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateDataLakeNamespaceRequest, UpdateDataLakeNamespaceResponse } 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 UpdateDataLakeNamespaceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateDataLakeNamespaceCommandInput extends UpdateDataLakeNamespaceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateDataLakeNamespaceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateDataLakeNamespaceCommandOutput extends UpdateDataLakeNamespaceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateDataLakeNamespaceCommand_base: {
|
|
25
|
+
new (input: UpdateDataLakeNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataLakeNamespaceCommandInput, UpdateDataLakeNamespaceCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateDataLakeNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataLakeNamespaceCommandInput, UpdateDataLakeNamespaceCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Enables you to programmatically update an Amazon Web Services Supply Chain data lake namespace. Developers can update the description of a data lake namespace 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, UpdateDataLakeNamespaceCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
|
|
35
|
+
* // const { SupplyChainClient, UpdateDataLakeNamespaceCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
|
|
36
|
+
* const client = new SupplyChainClient(config);
|
|
37
|
+
* const input = { // UpdateDataLakeNamespaceRequest
|
|
38
|
+
* instanceId: "STRING_VALUE", // required
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* description: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UpdateDataLakeNamespaceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // UpdateDataLakeNamespaceResponse
|
|
45
|
+
* // namespace: { // DataLakeNamespace
|
|
46
|
+
* // instanceId: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // arn: "STRING_VALUE", // required
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
50
|
+
* // createdTime: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // },
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param UpdateDataLakeNamespaceCommandInput - {@link UpdateDataLakeNamespaceCommandInput}
|
|
58
|
+
* @returns {@link UpdateDataLakeNamespaceCommandOutput}
|
|
59
|
+
* @see {@link UpdateDataLakeNamespaceCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link UpdateDataLakeNamespaceCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>You do not have the required privileges to perform this action.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>Unexpected error during processing of request.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>Request references a resource which does not exist.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>Request was denied due to request throttling.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>The input does not satisfy the constraints specified by an AWS service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ConflictException} (client fault)
|
|
79
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
82
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link SupplyChainServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @example Update description of an existing AWS Supply Chain namespace
|
|
89
|
+
* ```javascript
|
|
90
|
+
* //
|
|
91
|
+
* const input = {
|
|
92
|
+
* description: "This is an updated AWS Supply Chain namespace",
|
|
93
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
94
|
+
* name: "my_namespace"
|
|
95
|
+
* };
|
|
96
|
+
* const command = new UpdateDataLakeNamespaceCommand(input);
|
|
97
|
+
* const response = await client.send(command);
|
|
98
|
+
* /* response is
|
|
99
|
+
* {
|
|
100
|
+
* namespace: {
|
|
101
|
+
* arn: "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/my_namespace",
|
|
102
|
+
* createdTime: 1.736892560751E9,
|
|
103
|
+
* description: "This is an updated AWS Supply Chain namespace",
|
|
104
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
105
|
+
* lastModifiedTime: 1.736892586156E9,
|
|
106
|
+
* name: "my_namespace"
|
|
107
|
+
* }
|
|
108
|
+
* }
|
|
109
|
+
* *\/
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class UpdateDataLakeNamespaceCommand extends UpdateDataLakeNamespaceCommand_base {
|
|
115
|
+
/** @internal type navigation helper, not in runtime. */
|
|
116
|
+
protected static __types: {
|
|
117
|
+
api: {
|
|
118
|
+
input: UpdateDataLakeNamespaceRequest;
|
|
119
|
+
output: UpdateDataLakeNamespaceResponse;
|
|
120
|
+
};
|
|
121
|
+
sdk: {
|
|
122
|
+
input: UpdateDataLakeNamespaceCommandInput;
|
|
123
|
+
output: UpdateDataLakeNamespaceCommandOutput;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
export * from "./CreateBillOfMaterialsImportJobCommand";
|
|
2
2
|
export * from "./CreateDataIntegrationFlowCommand";
|
|
3
3
|
export * from "./CreateDataLakeDatasetCommand";
|
|
4
|
+
export * from "./CreateDataLakeNamespaceCommand";
|
|
4
5
|
export * from "./CreateInstanceCommand";
|
|
5
6
|
export * from "./DeleteDataIntegrationFlowCommand";
|
|
6
7
|
export * from "./DeleteDataLakeDatasetCommand";
|
|
8
|
+
export * from "./DeleteDataLakeNamespaceCommand";
|
|
7
9
|
export * from "./DeleteInstanceCommand";
|
|
8
10
|
export * from "./GetBillOfMaterialsImportJobCommand";
|
|
11
|
+
export * from "./GetDataIntegrationEventCommand";
|
|
9
12
|
export * from "./GetDataIntegrationFlowCommand";
|
|
13
|
+
export * from "./GetDataIntegrationFlowExecutionCommand";
|
|
10
14
|
export * from "./GetDataLakeDatasetCommand";
|
|
15
|
+
export * from "./GetDataLakeNamespaceCommand";
|
|
11
16
|
export * from "./GetInstanceCommand";
|
|
17
|
+
export * from "./ListDataIntegrationEventsCommand";
|
|
18
|
+
export * from "./ListDataIntegrationFlowExecutionsCommand";
|
|
12
19
|
export * from "./ListDataIntegrationFlowsCommand";
|
|
13
20
|
export * from "./ListDataLakeDatasetsCommand";
|
|
21
|
+
export * from "./ListDataLakeNamespacesCommand";
|
|
14
22
|
export * from "./ListInstancesCommand";
|
|
15
23
|
export * from "./ListTagsForResourceCommand";
|
|
16
24
|
export * from "./SendDataIntegrationEventCommand";
|
|
@@ -18,4 +26,5 @@ export * from "./TagResourceCommand";
|
|
|
18
26
|
export * from "./UntagResourceCommand";
|
|
19
27
|
export * from "./UpdateDataIntegrationFlowCommand";
|
|
20
28
|
export * from "./UpdateDataLakeDatasetCommand";
|
|
29
|
+
export * from "./UpdateDataLakeNamespaceCommand";
|
|
21
30
|
export * from "./UpdateInstanceCommand";
|