@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,140 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateDataIntegrationFlowRequest, CreateDataIntegrationFlowResponse } 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 CreateDataIntegrationFlowCommand}.
14
+ */
15
+ export interface CreateDataIntegrationFlowCommandInput extends CreateDataIntegrationFlowRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDataIntegrationFlowCommand}.
21
+ */
22
+ export interface CreateDataIntegrationFlowCommandOutput extends CreateDataIntegrationFlowResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateDataIntegrationFlowCommand_base: {
25
+ new (input: CreateDataIntegrationFlowCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataIntegrationFlowCommandInput, CreateDataIntegrationFlowCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateDataIntegrationFlowCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataIntegrationFlowCommandInput, CreateDataIntegrationFlowCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Create DataIntegrationFlow to map one or more different sources to one target using the SQL transformation query.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SupplyChainClient, CreateDataIntegrationFlowCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, CreateDataIntegrationFlowCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // CreateDataIntegrationFlowRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * name: "STRING_VALUE", // required
40
+ * sources: [ // DataIntegrationFlowSourceList // required
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
+ * tags: { // TagMap
84
+ * "<keys>": "STRING_VALUE",
85
+ * },
86
+ * };
87
+ * const command = new CreateDataIntegrationFlowCommand(input);
88
+ * const response = await client.send(command);
89
+ * // { // CreateDataIntegrationFlowResponse
90
+ * // instanceId: "STRING_VALUE", // required
91
+ * // name: "STRING_VALUE", // required
92
+ * // };
93
+ *
94
+ * ```
95
+ *
96
+ * @param CreateDataIntegrationFlowCommandInput - {@link CreateDataIntegrationFlowCommandInput}
97
+ * @returns {@link CreateDataIntegrationFlowCommandOutput}
98
+ * @see {@link CreateDataIntegrationFlowCommandInput} for command's `input` shape.
99
+ * @see {@link CreateDataIntegrationFlowCommandOutput} for command's `response` shape.
100
+ * @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
101
+ *
102
+ * @throws {@link AccessDeniedException} (client fault)
103
+ * <p>You do not have the required privileges to perform this action.</p>
104
+ *
105
+ * @throws {@link ConflictException} (client fault)
106
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
107
+ *
108
+ * @throws {@link InternalServerException} (server fault)
109
+ * <p>Unexpected error during processing of request.</p>
110
+ *
111
+ * @throws {@link ServiceQuotaExceededException} (client fault)
112
+ * <p>Request would cause a service quota to be exceeded.</p>
113
+ *
114
+ * @throws {@link ThrottlingException} (client fault)
115
+ * <p>Request was denied due to request throttling.</p>
116
+ *
117
+ * @throws {@link ValidationException} (client fault)
118
+ * <p>The input does not satisfy the constraints specified by an AWS service.</p>
119
+ *
120
+ * @throws {@link ResourceNotFoundException} (client fault)
121
+ * <p>Request references a resource which does not exist.</p>
122
+ *
123
+ * @throws {@link SupplyChainServiceException}
124
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
125
+ *
126
+ * @public
127
+ */
128
+ export declare class CreateDataIntegrationFlowCommand extends CreateDataIntegrationFlowCommand_base {
129
+ /** @internal type navigation helper, not in runtime. */
130
+ protected static __types: {
131
+ api: {
132
+ input: CreateDataIntegrationFlowRequest;
133
+ output: CreateDataIntegrationFlowResponse;
134
+ };
135
+ sdk: {
136
+ input: CreateDataIntegrationFlowCommandInput;
137
+ output: CreateDataIntegrationFlowCommandOutput;
138
+ };
139
+ };
140
+ }
@@ -0,0 +1,126 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateDataLakeDatasetRequest, CreateDataLakeDatasetResponse } 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 CreateDataLakeDatasetCommand}.
14
+ */
15
+ export interface CreateDataLakeDatasetCommandInput extends CreateDataLakeDatasetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDataLakeDatasetCommand}.
21
+ */
22
+ export interface CreateDataLakeDatasetCommandOutput extends CreateDataLakeDatasetResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateDataLakeDatasetCommand_base: {
25
+ new (input: CreateDataLakeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataLakeDatasetCommandInput, CreateDataLakeDatasetCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateDataLakeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataLakeDatasetCommandInput, CreateDataLakeDatasetCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Create 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, CreateDataLakeDatasetCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, CreateDataLakeDatasetCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // CreateDataLakeDatasetRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * namespace: "STRING_VALUE", // required
40
+ * name: "STRING_VALUE", // required
41
+ * schema: { // DataLakeDatasetSchema
42
+ * name: "STRING_VALUE", // required
43
+ * fields: [ // DataLakeDatasetSchemaFieldList // required
44
+ * { // DataLakeDatasetSchemaField
45
+ * name: "STRING_VALUE", // required
46
+ * type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP", // required
47
+ * isRequired: true || false, // required
48
+ * },
49
+ * ],
50
+ * },
51
+ * description: "STRING_VALUE",
52
+ * tags: { // TagMap
53
+ * "<keys>": "STRING_VALUE",
54
+ * },
55
+ * };
56
+ * const command = new CreateDataLakeDatasetCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // CreateDataLakeDatasetResponse
59
+ * // dataset: { // DataLakeDataset
60
+ * // instanceId: "STRING_VALUE", // required
61
+ * // namespace: "STRING_VALUE", // required
62
+ * // name: "STRING_VALUE", // required
63
+ * // arn: "STRING_VALUE", // required
64
+ * // schema: { // DataLakeDatasetSchema
65
+ * // name: "STRING_VALUE", // required
66
+ * // fields: [ // DataLakeDatasetSchemaFieldList // required
67
+ * // { // DataLakeDatasetSchemaField
68
+ * // name: "STRING_VALUE", // required
69
+ * // type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP", // required
70
+ * // isRequired: true || false, // required
71
+ * // },
72
+ * // ],
73
+ * // },
74
+ * // description: "STRING_VALUE",
75
+ * // createdTime: new Date("TIMESTAMP"), // required
76
+ * // lastModifiedTime: new Date("TIMESTAMP"), // required
77
+ * // },
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param CreateDataLakeDatasetCommandInput - {@link CreateDataLakeDatasetCommandInput}
83
+ * @returns {@link CreateDataLakeDatasetCommandOutput}
84
+ * @see {@link CreateDataLakeDatasetCommandInput} for command's `input` shape.
85
+ * @see {@link CreateDataLakeDatasetCommandOutput} for command's `response` shape.
86
+ * @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
87
+ *
88
+ * @throws {@link AccessDeniedException} (client fault)
89
+ * <p>You do not have the required privileges to perform this action.</p>
90
+ *
91
+ * @throws {@link ConflictException} (client fault)
92
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
93
+ *
94
+ * @throws {@link InternalServerException} (server fault)
95
+ * <p>Unexpected error during processing of request.</p>
96
+ *
97
+ * @throws {@link ServiceQuotaExceededException} (client fault)
98
+ * <p>Request would cause a service quota to be exceeded.</p>
99
+ *
100
+ * @throws {@link ThrottlingException} (client fault)
101
+ * <p>Request was denied due to request throttling.</p>
102
+ *
103
+ * @throws {@link ValidationException} (client fault)
104
+ * <p>The input does not satisfy the constraints specified by an AWS service.</p>
105
+ *
106
+ * @throws {@link ResourceNotFoundException} (client fault)
107
+ * <p>Request references a resource which does not exist.</p>
108
+ *
109
+ * @throws {@link SupplyChainServiceException}
110
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
111
+ *
112
+ * @public
113
+ */
114
+ export declare class CreateDataLakeDatasetCommand extends CreateDataLakeDatasetCommand_base {
115
+ /** @internal type navigation helper, not in runtime. */
116
+ protected static __types: {
117
+ api: {
118
+ input: CreateDataLakeDatasetRequest;
119
+ output: CreateDataLakeDatasetResponse;
120
+ };
121
+ sdk: {
122
+ input: CreateDataLakeDatasetCommandInput;
123
+ output: CreateDataLakeDatasetCommandOutput;
124
+ };
125
+ };
126
+ }
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteDataIntegrationFlowRequest, DeleteDataIntegrationFlowResponse } 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 DeleteDataIntegrationFlowCommand}.
14
+ */
15
+ export interface DeleteDataIntegrationFlowCommandInput extends DeleteDataIntegrationFlowRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteDataIntegrationFlowCommand}.
21
+ */
22
+ export interface DeleteDataIntegrationFlowCommandOutput extends DeleteDataIntegrationFlowResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteDataIntegrationFlowCommand_base: {
25
+ new (input: DeleteDataIntegrationFlowCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataIntegrationFlowCommandInput, DeleteDataIntegrationFlowCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteDataIntegrationFlowCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataIntegrationFlowCommandInput, DeleteDataIntegrationFlowCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Delete 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, DeleteDataIntegrationFlowCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, DeleteDataIntegrationFlowCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // DeleteDataIntegrationFlowRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * name: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DeleteDataIntegrationFlowCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DeleteDataIntegrationFlowResponse
44
+ * // instanceId: "STRING_VALUE", // required
45
+ * // name: "STRING_VALUE", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteDataIntegrationFlowCommandInput - {@link DeleteDataIntegrationFlowCommandInput}
51
+ * @returns {@link DeleteDataIntegrationFlowCommandOutput}
52
+ * @see {@link DeleteDataIntegrationFlowCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteDataIntegrationFlowCommandOutput} 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 ConflictException} (client fault)
69
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
70
+ *
71
+ * @throws {@link ServiceQuotaExceededException} (client fault)
72
+ * <p>Request would cause a service quota to be exceeded.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The input does not satisfy the constraints specified by an AWS service.</p>
76
+ *
77
+ * @throws {@link SupplyChainServiceException}
78
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
79
+ *
80
+ * @public
81
+ */
82
+ export declare class DeleteDataIntegrationFlowCommand extends DeleteDataIntegrationFlowCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: DeleteDataIntegrationFlowRequest;
87
+ output: DeleteDataIntegrationFlowResponse;
88
+ };
89
+ sdk: {
90
+ input: DeleteDataIntegrationFlowCommandInput;
91
+ output: DeleteDataIntegrationFlowCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteDataLakeDatasetRequest, DeleteDataLakeDatasetResponse } 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 DeleteDataLakeDatasetCommand}.
14
+ */
15
+ export interface DeleteDataLakeDatasetCommandInput extends DeleteDataLakeDatasetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteDataLakeDatasetCommand}.
21
+ */
22
+ export interface DeleteDataLakeDatasetCommandOutput extends DeleteDataLakeDatasetResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteDataLakeDatasetCommand_base: {
25
+ new (input: DeleteDataLakeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataLakeDatasetCommandInput, DeleteDataLakeDatasetCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteDataLakeDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataLakeDatasetCommandInput, DeleteDataLakeDatasetCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Delete 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, DeleteDataLakeDatasetCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, DeleteDataLakeDatasetCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // DeleteDataLakeDatasetRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * namespace: "STRING_VALUE", // required
40
+ * name: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteDataLakeDatasetCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DeleteDataLakeDatasetResponse
45
+ * // instanceId: "STRING_VALUE", // required
46
+ * // namespace: "STRING_VALUE", // required
47
+ * // name: "STRING_VALUE", // required
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param DeleteDataLakeDatasetCommandInput - {@link DeleteDataLakeDatasetCommandInput}
53
+ * @returns {@link DeleteDataLakeDatasetCommandOutput}
54
+ * @see {@link DeleteDataLakeDatasetCommandInput} for command's `input` shape.
55
+ * @see {@link DeleteDataLakeDatasetCommandOutput} for command's `response` shape.
56
+ * @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>You do not have the required privileges to perform this action.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>Unexpected error during processing of request.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>Request references a resource which does not exist.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>Request was denied due to request throttling.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The input does not satisfy the constraints specified by an AWS service.</p>
72
+ *
73
+ * @throws {@link ConflictException} (client fault)
74
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
75
+ *
76
+ * @throws {@link ServiceQuotaExceededException} (client fault)
77
+ * <p>Request would cause a service quota to be exceeded.</p>
78
+ *
79
+ * @throws {@link SupplyChainServiceException}
80
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
81
+ *
82
+ * @public
83
+ */
84
+ export declare class DeleteDataLakeDatasetCommand extends DeleteDataLakeDatasetCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: DeleteDataLakeDatasetRequest;
89
+ output: DeleteDataLakeDatasetResponse;
90
+ };
91
+ sdk: {
92
+ input: DeleteDataLakeDatasetCommandInput;
93
+ output: DeleteDataLakeDatasetCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -0,0 +1,141 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetDataIntegrationFlowRequest, GetDataIntegrationFlowResponse } 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 GetDataIntegrationFlowCommand}.
14
+ */
15
+ export interface GetDataIntegrationFlowCommandInput extends GetDataIntegrationFlowRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDataIntegrationFlowCommand}.
21
+ */
22
+ export interface GetDataIntegrationFlowCommandOutput extends GetDataIntegrationFlowResponse, __MetadataBearer {
23
+ }
24
+ declare const GetDataIntegrationFlowCommand_base: {
25
+ new (input: GetDataIntegrationFlowCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataIntegrationFlowCommandInput, GetDataIntegrationFlowCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetDataIntegrationFlowCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataIntegrationFlowCommandInput, GetDataIntegrationFlowCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>View the DataIntegrationFlow details.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SupplyChainClient, GetDataIntegrationFlowCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, GetDataIntegrationFlowCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // GetDataIntegrationFlowRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * name: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetDataIntegrationFlowCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetDataIntegrationFlowResponse
44
+ * // flow: { // DataIntegrationFlow
45
+ * // instanceId: "STRING_VALUE", // required
46
+ * // name: "STRING_VALUE", // required
47
+ * // sources: [ // DataIntegrationFlowSourceList // required
48
+ * // { // DataIntegrationFlowSource
49
+ * // sourceType: "S3" || "DATASET", // required
50
+ * // sourceName: "STRING_VALUE", // required
51
+ * // s3Source: { // DataIntegrationFlowS3SourceConfiguration
52
+ * // bucketName: "STRING_VALUE", // required
53
+ * // prefix: "STRING_VALUE", // required
54
+ * // options: { // DataIntegrationFlowS3Options
55
+ * // fileType: "CSV" || "PARQUET" || "JSON",
56
+ * // },
57
+ * // },
58
+ * // datasetSource: { // DataIntegrationFlowDatasetSourceConfiguration
59
+ * // datasetIdentifier: "STRING_VALUE", // required
60
+ * // options: { // DataIntegrationFlowDatasetOptions
61
+ * // loadType: "INCREMENTAL" || "REPLACE",
62
+ * // dedupeRecords: true || false,
63
+ * // },
64
+ * // },
65
+ * // },
66
+ * // ],
67
+ * // transformation: { // DataIntegrationFlowTransformation
68
+ * // transformationType: "SQL" || "NONE", // required
69
+ * // sqlTransformation: { // DataIntegrationFlowSQLTransformationConfiguration
70
+ * // query: "STRING_VALUE", // required
71
+ * // },
72
+ * // },
73
+ * // target: { // DataIntegrationFlowTarget
74
+ * // targetType: "S3" || "DATASET", // required
75
+ * // s3Target: { // DataIntegrationFlowS3TargetConfiguration
76
+ * // bucketName: "STRING_VALUE", // required
77
+ * // prefix: "STRING_VALUE", // required
78
+ * // options: {
79
+ * // fileType: "CSV" || "PARQUET" || "JSON",
80
+ * // },
81
+ * // },
82
+ * // datasetTarget: { // DataIntegrationFlowDatasetTargetConfiguration
83
+ * // datasetIdentifier: "STRING_VALUE", // required
84
+ * // options: {
85
+ * // loadType: "INCREMENTAL" || "REPLACE",
86
+ * // dedupeRecords: true || false,
87
+ * // },
88
+ * // },
89
+ * // },
90
+ * // createdTime: new Date("TIMESTAMP"), // required
91
+ * // lastModifiedTime: new Date("TIMESTAMP"), // required
92
+ * // },
93
+ * // };
94
+ *
95
+ * ```
96
+ *
97
+ * @param GetDataIntegrationFlowCommandInput - {@link GetDataIntegrationFlowCommandInput}
98
+ * @returns {@link GetDataIntegrationFlowCommandOutput}
99
+ * @see {@link GetDataIntegrationFlowCommandInput} for command's `input` shape.
100
+ * @see {@link GetDataIntegrationFlowCommandOutput} for command's `response` shape.
101
+ * @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
102
+ *
103
+ * @throws {@link AccessDeniedException} (client fault)
104
+ * <p>You do not have the required privileges to perform this action.</p>
105
+ *
106
+ * @throws {@link InternalServerException} (server fault)
107
+ * <p>Unexpected error during processing of request.</p>
108
+ *
109
+ * @throws {@link ResourceNotFoundException} (client fault)
110
+ * <p>Request references a resource which does not exist.</p>
111
+ *
112
+ * @throws {@link ThrottlingException} (client fault)
113
+ * <p>Request was denied due to request throttling.</p>
114
+ *
115
+ * @throws {@link ValidationException} (client fault)
116
+ * <p>The input does not satisfy the constraints specified by an AWS service.</p>
117
+ *
118
+ * @throws {@link ConflictException} (client fault)
119
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
120
+ *
121
+ * @throws {@link ServiceQuotaExceededException} (client fault)
122
+ * <p>Request would cause a service quota to be exceeded.</p>
123
+ *
124
+ * @throws {@link SupplyChainServiceException}
125
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
126
+ *
127
+ * @public
128
+ */
129
+ export declare class GetDataIntegrationFlowCommand extends GetDataIntegrationFlowCommand_base {
130
+ /** @internal type navigation helper, not in runtime. */
131
+ protected static __types: {
132
+ api: {
133
+ input: GetDataIntegrationFlowRequest;
134
+ output: GetDataIntegrationFlowResponse;
135
+ };
136
+ sdk: {
137
+ input: GetDataIntegrationFlowCommandInput;
138
+ output: GetDataIntegrationFlowCommandOutput;
139
+ };
140
+ };
141
+ }