@aws-sdk/client-supplychain 3.658.0 → 3.661.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 (71) hide show
  1. package/README.md +111 -7
  2. package/dist-cjs/index.js +675 -2
  3. package/dist-es/SupplyChain.js +26 -0
  4. package/dist-es/commands/CreateDataIntegrationFlowCommand.js +22 -0
  5. package/dist-es/commands/CreateDataLakeDatasetCommand.js +22 -0
  6. package/dist-es/commands/DeleteDataIntegrationFlowCommand.js +22 -0
  7. package/dist-es/commands/DeleteDataLakeDatasetCommand.js +22 -0
  8. package/dist-es/commands/GetDataIntegrationFlowCommand.js +22 -0
  9. package/dist-es/commands/GetDataLakeDatasetCommand.js +22 -0
  10. package/dist-es/commands/ListDataIntegrationFlowsCommand.js +22 -0
  11. package/dist-es/commands/ListDataLakeDatasetsCommand.js +22 -0
  12. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  13. package/dist-es/commands/TagResourceCommand.js +22 -0
  14. package/dist-es/commands/UntagResourceCommand.js +22 -0
  15. package/dist-es/commands/UpdateDataIntegrationFlowCommand.js +22 -0
  16. package/dist-es/commands/UpdateDataLakeDatasetCommand.js +22 -0
  17. package/dist-es/commands/index.js +13 -0
  18. package/dist-es/index.js +1 -0
  19. package/dist-es/models/models_0.js +27 -0
  20. package/dist-es/pagination/Interfaces.js +1 -0
  21. package/dist-es/pagination/ListDataIntegrationFlowsPaginator.js +4 -0
  22. package/dist-es/pagination/ListDataLakeDatasetsPaginator.js +4 -0
  23. package/dist-es/pagination/index.js +3 -0
  24. package/dist-es/protocols/Aws_restJson1.js +396 -6
  25. package/dist-types/SupplyChain.d.ts +91 -0
  26. package/dist-types/SupplyChainClient.d.ts +15 -2
  27. package/dist-types/commands/CreateDataIntegrationFlowCommand.d.ts +140 -0
  28. package/dist-types/commands/CreateDataLakeDatasetCommand.d.ts +126 -0
  29. package/dist-types/commands/DeleteDataIntegrationFlowCommand.d.ts +94 -0
  30. package/dist-types/commands/DeleteDataLakeDatasetCommand.d.ts +96 -0
  31. package/dist-types/commands/GetDataIntegrationFlowCommand.d.ts +141 -0
  32. package/dist-types/commands/GetDataLakeDatasetCommand.d.ts +112 -0
  33. package/dist-types/commands/ListDataIntegrationFlowsCommand.d.ts +145 -0
  34. package/dist-types/commands/ListDataLakeDatasetsCommand.d.ts +116 -0
  35. package/dist-types/commands/ListTagsForResourceCommand.d.ts +94 -0
  36. package/dist-types/commands/TagResourceCommand.d.ts +93 -0
  37. package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
  38. package/dist-types/commands/UpdateDataIntegrationFlowCommand.d.ts +184 -0
  39. package/dist-types/commands/UpdateDataLakeDatasetCommand.d.ts +113 -0
  40. package/dist-types/commands/index.d.ts +13 -0
  41. package/dist-types/index.d.ts +1 -0
  42. package/dist-types/models/models_0.d.ts +909 -18
  43. package/dist-types/pagination/Interfaces.d.ts +8 -0
  44. package/dist-types/pagination/ListDataIntegrationFlowsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/ListDataLakeDatasetsPaginator.d.ts +7 -0
  46. package/dist-types/pagination/index.d.ts +3 -0
  47. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  48. package/dist-types/ts3.4/SupplyChain.d.ts +221 -0
  49. package/dist-types/ts3.4/SupplyChainClient.d.ts +80 -2
  50. package/dist-types/ts3.4/commands/CreateDataIntegrationFlowCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/CreateDataLakeDatasetCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeleteDataIntegrationFlowCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/DeleteDataLakeDatasetCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/GetDataIntegrationFlowCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetDataLakeDatasetCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/ListDataIntegrationFlowsCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListDataLakeDatasetsCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  60. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  61. package/dist-types/ts3.4/commands/UpdateDataIntegrationFlowCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/UpdateDataLakeDatasetCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  64. package/dist-types/ts3.4/index.d.ts +1 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +220 -0
  66. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  67. package/dist-types/ts3.4/pagination/ListDataIntegrationFlowsPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/ListDataLakeDatasetsPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  70. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  71. package/package.json +12 -12
@@ -0,0 +1,184 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateDataIntegrationFlowRequest, UpdateDataIntegrationFlowResponse } 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 UpdateDataIntegrationFlowCommand}.
14
+ */
15
+ export interface UpdateDataIntegrationFlowCommandInput extends UpdateDataIntegrationFlowRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateDataIntegrationFlowCommand}.
21
+ */
22
+ export interface UpdateDataIntegrationFlowCommandOutput extends UpdateDataIntegrationFlowResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateDataIntegrationFlowCommand_base: {
25
+ new (input: UpdateDataIntegrationFlowCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataIntegrationFlowCommandInput, UpdateDataIntegrationFlowCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateDataIntegrationFlowCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataIntegrationFlowCommandInput, UpdateDataIntegrationFlowCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update the DataIntegrationFlow.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SupplyChainClient, UpdateDataIntegrationFlowCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, UpdateDataIntegrationFlowCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // UpdateDataIntegrationFlowRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * name: "STRING_VALUE", // required
40
+ * sources: [ // DataIntegrationFlowSourceList
41
+ * { // DataIntegrationFlowSource
42
+ * sourceType: "S3" || "DATASET", // required
43
+ * sourceName: "STRING_VALUE", // required
44
+ * s3Source: { // DataIntegrationFlowS3SourceConfiguration
45
+ * bucketName: "STRING_VALUE", // required
46
+ * prefix: "STRING_VALUE", // required
47
+ * options: { // DataIntegrationFlowS3Options
48
+ * fileType: "CSV" || "PARQUET" || "JSON",
49
+ * },
50
+ * },
51
+ * datasetSource: { // DataIntegrationFlowDatasetSourceConfiguration
52
+ * datasetIdentifier: "STRING_VALUE", // required
53
+ * options: { // DataIntegrationFlowDatasetOptions
54
+ * loadType: "INCREMENTAL" || "REPLACE",
55
+ * dedupeRecords: true || false,
56
+ * },
57
+ * },
58
+ * },
59
+ * ],
60
+ * transformation: { // DataIntegrationFlowTransformation
61
+ * transformationType: "SQL" || "NONE", // required
62
+ * sqlTransformation: { // DataIntegrationFlowSQLTransformationConfiguration
63
+ * query: "STRING_VALUE", // required
64
+ * },
65
+ * },
66
+ * target: { // DataIntegrationFlowTarget
67
+ * targetType: "S3" || "DATASET", // required
68
+ * s3Target: { // DataIntegrationFlowS3TargetConfiguration
69
+ * bucketName: "STRING_VALUE", // required
70
+ * prefix: "STRING_VALUE", // required
71
+ * options: {
72
+ * fileType: "CSV" || "PARQUET" || "JSON",
73
+ * },
74
+ * },
75
+ * datasetTarget: { // DataIntegrationFlowDatasetTargetConfiguration
76
+ * datasetIdentifier: "STRING_VALUE", // required
77
+ * options: {
78
+ * loadType: "INCREMENTAL" || "REPLACE",
79
+ * dedupeRecords: true || false,
80
+ * },
81
+ * },
82
+ * },
83
+ * };
84
+ * const command = new UpdateDataIntegrationFlowCommand(input);
85
+ * const response = await client.send(command);
86
+ * // { // UpdateDataIntegrationFlowResponse
87
+ * // flow: { // DataIntegrationFlow
88
+ * // instanceId: "STRING_VALUE", // required
89
+ * // name: "STRING_VALUE", // required
90
+ * // sources: [ // DataIntegrationFlowSourceList // required
91
+ * // { // DataIntegrationFlowSource
92
+ * // sourceType: "S3" || "DATASET", // required
93
+ * // sourceName: "STRING_VALUE", // required
94
+ * // s3Source: { // DataIntegrationFlowS3SourceConfiguration
95
+ * // bucketName: "STRING_VALUE", // required
96
+ * // prefix: "STRING_VALUE", // required
97
+ * // options: { // DataIntegrationFlowS3Options
98
+ * // fileType: "CSV" || "PARQUET" || "JSON",
99
+ * // },
100
+ * // },
101
+ * // datasetSource: { // DataIntegrationFlowDatasetSourceConfiguration
102
+ * // datasetIdentifier: "STRING_VALUE", // required
103
+ * // options: { // DataIntegrationFlowDatasetOptions
104
+ * // loadType: "INCREMENTAL" || "REPLACE",
105
+ * // dedupeRecords: true || false,
106
+ * // },
107
+ * // },
108
+ * // },
109
+ * // ],
110
+ * // transformation: { // DataIntegrationFlowTransformation
111
+ * // transformationType: "SQL" || "NONE", // required
112
+ * // sqlTransformation: { // DataIntegrationFlowSQLTransformationConfiguration
113
+ * // query: "STRING_VALUE", // required
114
+ * // },
115
+ * // },
116
+ * // target: { // DataIntegrationFlowTarget
117
+ * // targetType: "S3" || "DATASET", // required
118
+ * // s3Target: { // DataIntegrationFlowS3TargetConfiguration
119
+ * // bucketName: "STRING_VALUE", // required
120
+ * // prefix: "STRING_VALUE", // required
121
+ * // options: {
122
+ * // fileType: "CSV" || "PARQUET" || "JSON",
123
+ * // },
124
+ * // },
125
+ * // datasetTarget: { // DataIntegrationFlowDatasetTargetConfiguration
126
+ * // datasetIdentifier: "STRING_VALUE", // required
127
+ * // options: {
128
+ * // loadType: "INCREMENTAL" || "REPLACE",
129
+ * // dedupeRecords: true || false,
130
+ * // },
131
+ * // },
132
+ * // },
133
+ * // createdTime: new Date("TIMESTAMP"), // required
134
+ * // lastModifiedTime: new Date("TIMESTAMP"), // required
135
+ * // },
136
+ * // };
137
+ *
138
+ * ```
139
+ *
140
+ * @param UpdateDataIntegrationFlowCommandInput - {@link UpdateDataIntegrationFlowCommandInput}
141
+ * @returns {@link UpdateDataIntegrationFlowCommandOutput}
142
+ * @see {@link UpdateDataIntegrationFlowCommandInput} for command's `input` shape.
143
+ * @see {@link UpdateDataIntegrationFlowCommandOutput} for command's `response` shape.
144
+ * @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
145
+ *
146
+ * @throws {@link AccessDeniedException} (client fault)
147
+ * <p>You do not have the required privileges to perform this action.</p>
148
+ *
149
+ * @throws {@link InternalServerException} (server fault)
150
+ * <p>Unexpected error during processing of request.</p>
151
+ *
152
+ * @throws {@link ResourceNotFoundException} (client fault)
153
+ * <p>Request references a resource which does not exist.</p>
154
+ *
155
+ * @throws {@link ThrottlingException} (client fault)
156
+ * <p>Request was denied due to request throttling.</p>
157
+ *
158
+ * @throws {@link ValidationException} (client fault)
159
+ * <p>The input does not satisfy the constraints specified by an AWS service.</p>
160
+ *
161
+ * @throws {@link ConflictException} (client fault)
162
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
163
+ *
164
+ * @throws {@link ServiceQuotaExceededException} (client fault)
165
+ * <p>Request would cause a service quota to be exceeded.</p>
166
+ *
167
+ * @throws {@link SupplyChainServiceException}
168
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
169
+ *
170
+ * @public
171
+ */
172
+ export declare class UpdateDataIntegrationFlowCommand extends UpdateDataIntegrationFlowCommand_base {
173
+ /** @internal type navigation helper, not in runtime. */
174
+ protected static __types: {
175
+ api: {
176
+ input: UpdateDataIntegrationFlowRequest;
177
+ output: UpdateDataIntegrationFlowResponse;
178
+ };
179
+ sdk: {
180
+ input: UpdateDataIntegrationFlowCommandInput;
181
+ output: UpdateDataIntegrationFlowCommandOutput;
182
+ };
183
+ };
184
+ }
@@ -0,0 +1,113 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateDataLakeDatasetRequest, UpdateDataLakeDatasetResponse } 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 UpdateDataLakeDatasetCommand}.
14
+ */
15
+ export interface UpdateDataLakeDatasetCommandInput extends UpdateDataLakeDatasetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateDataLakeDatasetCommand}.
21
+ */
22
+ export interface UpdateDataLakeDatasetCommandOutput extends UpdateDataLakeDatasetResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateDataLakeDatasetCommand_base: {
25
+ new (input: UpdateDataLakeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataLakeDatasetCommandInput, UpdateDataLakeDatasetCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateDataLakeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataLakeDatasetCommandInput, UpdateDataLakeDatasetCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update 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, UpdateDataLakeDatasetCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, UpdateDataLakeDatasetCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // UpdateDataLakeDatasetRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * namespace: "STRING_VALUE", // required
40
+ * name: "STRING_VALUE", // required
41
+ * description: "STRING_VALUE",
42
+ * };
43
+ * const command = new UpdateDataLakeDatasetCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateDataLakeDatasetResponse
46
+ * // dataset: { // DataLakeDataset
47
+ * // instanceId: "STRING_VALUE", // required
48
+ * // namespace: "STRING_VALUE", // required
49
+ * // name: "STRING_VALUE", // required
50
+ * // arn: "STRING_VALUE", // required
51
+ * // schema: { // DataLakeDatasetSchema
52
+ * // name: "STRING_VALUE", // required
53
+ * // fields: [ // DataLakeDatasetSchemaFieldList // required
54
+ * // { // DataLakeDatasetSchemaField
55
+ * // name: "STRING_VALUE", // required
56
+ * // type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP", // required
57
+ * // isRequired: true || false, // required
58
+ * // },
59
+ * // ],
60
+ * // },
61
+ * // description: "STRING_VALUE",
62
+ * // createdTime: new Date("TIMESTAMP"), // required
63
+ * // lastModifiedTime: new Date("TIMESTAMP"), // required
64
+ * // },
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param UpdateDataLakeDatasetCommandInput - {@link UpdateDataLakeDatasetCommandInput}
70
+ * @returns {@link UpdateDataLakeDatasetCommandOutput}
71
+ * @see {@link UpdateDataLakeDatasetCommandInput} for command's `input` shape.
72
+ * @see {@link UpdateDataLakeDatasetCommandOutput} for command's `response` shape.
73
+ * @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>You do not have the required privileges to perform this action.</p>
77
+ *
78
+ * @throws {@link InternalServerException} (server fault)
79
+ * <p>Unexpected error during processing of request.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>Request references a resource which does not exist.</p>
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * <p>Request was denied due to request throttling.</p>
86
+ *
87
+ * @throws {@link ValidationException} (client fault)
88
+ * <p>The input does not satisfy the constraints specified by an AWS service.</p>
89
+ *
90
+ * @throws {@link ConflictException} (client fault)
91
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
92
+ *
93
+ * @throws {@link ServiceQuotaExceededException} (client fault)
94
+ * <p>Request would cause a service quota to be exceeded.</p>
95
+ *
96
+ * @throws {@link SupplyChainServiceException}
97
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
98
+ *
99
+ * @public
100
+ */
101
+ export declare class UpdateDataLakeDatasetCommand extends UpdateDataLakeDatasetCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: UpdateDataLakeDatasetRequest;
106
+ output: UpdateDataLakeDatasetResponse;
107
+ };
108
+ sdk: {
109
+ input: UpdateDataLakeDatasetCommandInput;
110
+ output: UpdateDataLakeDatasetCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -1,3 +1,16 @@
1
1
  export * from "./CreateBillOfMaterialsImportJobCommand";
2
+ export * from "./CreateDataIntegrationFlowCommand";
3
+ export * from "./CreateDataLakeDatasetCommand";
4
+ export * from "./DeleteDataIntegrationFlowCommand";
5
+ export * from "./DeleteDataLakeDatasetCommand";
2
6
  export * from "./GetBillOfMaterialsImportJobCommand";
7
+ export * from "./GetDataIntegrationFlowCommand";
8
+ export * from "./GetDataLakeDatasetCommand";
9
+ export * from "./ListDataIntegrationFlowsCommand";
10
+ export * from "./ListDataLakeDatasetsCommand";
11
+ export * from "./ListTagsForResourceCommand";
3
12
  export * from "./SendDataIntegrationEventCommand";
13
+ export * from "./TagResourceCommand";
14
+ export * from "./UntagResourceCommand";
15
+ export * from "./UpdateDataIntegrationFlowCommand";
16
+ export * from "./UpdateDataLakeDatasetCommand";
@@ -15,5 +15,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
15
15
  export type { RuntimeExtension } from "./runtimeExtensions";
16
16
  export type { SupplyChainExtensionConfiguration } from "./extensionConfiguration";
17
17
  export * from "./commands";
18
+ export * from "./pagination";
18
19
  export * from "./models";
19
20
  export { SupplyChainServiceException } from "./models/SupplyChainServiceException";