@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.
Files changed (69) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +585 -4
  3. package/dist-es/SupplyChain.js +18 -0
  4. package/dist-es/commands/CreateDataIntegrationFlowCommand.js +2 -1
  5. package/dist-es/commands/CreateDataLakeNamespaceCommand.js +22 -0
  6. package/dist-es/commands/DeleteDataLakeNamespaceCommand.js +22 -0
  7. package/dist-es/commands/GetDataIntegrationEventCommand.js +22 -0
  8. package/dist-es/commands/GetDataIntegrationFlowCommand.js +2 -1
  9. package/dist-es/commands/GetDataIntegrationFlowExecutionCommand.js +22 -0
  10. package/dist-es/commands/GetDataLakeNamespaceCommand.js +22 -0
  11. package/dist-es/commands/ListDataIntegrationEventsCommand.js +22 -0
  12. package/dist-es/commands/ListDataIntegrationFlowExecutionsCommand.js +22 -0
  13. package/dist-es/commands/ListDataIntegrationFlowsCommand.js +2 -1
  14. package/dist-es/commands/ListDataLakeNamespacesCommand.js +22 -0
  15. package/dist-es/commands/UpdateDataIntegrationFlowCommand.js +2 -1
  16. package/dist-es/commands/UpdateDataLakeNamespaceCommand.js +22 -0
  17. package/dist-es/commands/index.js +9 -0
  18. package/dist-es/models/models_0.js +71 -0
  19. package/dist-es/pagination/ListDataIntegrationEventsPaginator.js +4 -0
  20. package/dist-es/pagination/ListDataIntegrationFlowExecutionsPaginator.js +4 -0
  21. package/dist-es/pagination/ListDataLakeNamespacesPaginator.js +4 -0
  22. package/dist-es/pagination/index.js +3 -0
  23. package/dist-es/protocols/Aws_restJson1.js +304 -0
  24. package/dist-types/SupplyChain.d.ts +63 -0
  25. package/dist-types/SupplyChainClient.d.ts +11 -2
  26. package/dist-types/commands/CreateDataIntegrationFlowCommand.d.ts +38 -1
  27. package/dist-types/commands/CreateDataLakeDatasetCommand.d.ts +89 -7
  28. package/dist-types/commands/CreateDataLakeNamespaceCommand.d.ts +133 -0
  29. package/dist-types/commands/DeleteDataLakeNamespaceCommand.d.ts +112 -0
  30. package/dist-types/commands/GetDataIntegrationEventCommand.d.ts +137 -0
  31. package/dist-types/commands/GetDataIntegrationFlowCommand.d.ts +22 -0
  32. package/dist-types/commands/GetDataIntegrationFlowExecutionCommand.d.ts +177 -0
  33. package/dist-types/commands/GetDataLakeDatasetCommand.d.ts +43 -2
  34. package/dist-types/commands/GetDataLakeNamespaceCommand.d.ts +146 -0
  35. package/dist-types/commands/ListDataIntegrationEventsCommand.d.ts +143 -0
  36. package/dist-types/commands/ListDataIntegrationFlowExecutionsCommand.d.ts +152 -0
  37. package/dist-types/commands/ListDataIntegrationFlowsCommand.d.ts +38 -1
  38. package/dist-types/commands/ListDataLakeDatasetsCommand.d.ts +43 -2
  39. package/dist-types/commands/ListDataLakeNamespacesCommand.d.ts +161 -0
  40. package/dist-types/commands/SendDataIntegrationEventCommand.d.ts +29 -2
  41. package/dist-types/commands/UpdateDataIntegrationFlowCommand.d.ts +76 -2
  42. package/dist-types/commands/UpdateDataLakeDatasetCommand.d.ts +43 -2
  43. package/dist-types/commands/UpdateDataLakeNamespaceCommand.d.ts +126 -0
  44. package/dist-types/commands/index.d.ts +9 -0
  45. package/dist-types/models/models_0.d.ts +938 -34
  46. package/dist-types/pagination/ListDataIntegrationEventsPaginator.d.ts +7 -0
  47. package/dist-types/pagination/ListDataIntegrationFlowExecutionsPaginator.d.ts +7 -0
  48. package/dist-types/pagination/ListDataLakeNamespacesPaginator.d.ts +7 -0
  49. package/dist-types/pagination/index.d.ts +3 -0
  50. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  51. package/dist-types/ts3.4/SupplyChain.d.ts +159 -0
  52. package/dist-types/ts3.4/SupplyChainClient.d.ts +54 -0
  53. package/dist-types/ts3.4/commands/CreateDataLakeNamespaceCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/DeleteDataLakeNamespaceCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetDataIntegrationEventCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/GetDataIntegrationFlowExecutionCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/GetDataLakeNamespaceCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListDataIntegrationEventsCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ListDataIntegrationFlowExecutionsCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/ListDataLakeNamespacesCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/UpdateDataLakeNamespaceCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +237 -6
  64. package/dist-types/ts3.4/pagination/ListDataIntegrationEventsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/ListDataIntegrationFlowExecutionsPaginator.d.ts +11 -0
  66. package/dist-types/ts3.4/pagination/ListDataLakeNamespacesPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  68. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  69. package/package.json +15 -15
@@ -0,0 +1,177 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetDataIntegrationFlowExecutionRequest, GetDataIntegrationFlowExecutionResponse } 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 GetDataIntegrationFlowExecutionCommand}.
14
+ */
15
+ export interface GetDataIntegrationFlowExecutionCommandInput extends GetDataIntegrationFlowExecutionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDataIntegrationFlowExecutionCommand}.
21
+ */
22
+ export interface GetDataIntegrationFlowExecutionCommandOutput extends GetDataIntegrationFlowExecutionResponse, __MetadataBearer {
23
+ }
24
+ declare const GetDataIntegrationFlowExecutionCommand_base: {
25
+ new (input: GetDataIntegrationFlowExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataIntegrationFlowExecutionCommandInput, GetDataIntegrationFlowExecutionCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetDataIntegrationFlowExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataIntegrationFlowExecutionCommandInput, GetDataIntegrationFlowExecutionCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Get the flow execution.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SupplyChainClient, GetDataIntegrationFlowExecutionCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, GetDataIntegrationFlowExecutionCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // GetDataIntegrationFlowExecutionRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * flowName: "STRING_VALUE", // required
40
+ * executionId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetDataIntegrationFlowExecutionCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetDataIntegrationFlowExecutionResponse
45
+ * // flowExecution: { // DataIntegrationFlowExecution
46
+ * // instanceId: "STRING_VALUE", // required
47
+ * // flowName: "STRING_VALUE", // required
48
+ * // executionId: "STRING_VALUE", // required
49
+ * // status: "SUCCEEDED" || "IN_PROGRESS" || "FAILED",
50
+ * // sourceInfo: { // DataIntegrationFlowExecutionSourceInfo
51
+ * // sourceType: "S3" || "DATASET", // required
52
+ * // s3Source: { // DataIntegrationFlowS3Source
53
+ * // bucketName: "STRING_VALUE", // required
54
+ * // key: "STRING_VALUE", // required
55
+ * // },
56
+ * // datasetSource: { // DataIntegrationFlowDatasetSource
57
+ * // datasetIdentifier: "STRING_VALUE", // required
58
+ * // },
59
+ * // },
60
+ * // message: "STRING_VALUE",
61
+ * // startTime: new Date("TIMESTAMP"),
62
+ * // endTime: new Date("TIMESTAMP"),
63
+ * // outputMetadata: { // DataIntegrationFlowExecutionOutputMetadata
64
+ * // diagnosticReportsRootS3URI: "STRING_VALUE",
65
+ * // },
66
+ * // },
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param GetDataIntegrationFlowExecutionCommandInput - {@link GetDataIntegrationFlowExecutionCommandInput}
72
+ * @returns {@link GetDataIntegrationFlowExecutionCommandOutput}
73
+ * @see {@link GetDataIntegrationFlowExecutionCommandInput} for command's `input` shape.
74
+ * @see {@link GetDataIntegrationFlowExecutionCommandOutput} for command's `response` shape.
75
+ * @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
76
+ *
77
+ * @throws {@link AccessDeniedException} (client fault)
78
+ * <p>You do not have the required privileges to perform this action.</p>
79
+ *
80
+ * @throws {@link InternalServerException} (server fault)
81
+ * <p>Unexpected error during processing of request.</p>
82
+ *
83
+ * @throws {@link ResourceNotFoundException} (client fault)
84
+ * <p>Request references a resource which does not exist.</p>
85
+ *
86
+ * @throws {@link ThrottlingException} (client fault)
87
+ * <p>Request was denied due to request throttling.</p>
88
+ *
89
+ * @throws {@link ValidationException} (client fault)
90
+ * <p>The input does not satisfy the constraints specified by an AWS service.</p>
91
+ *
92
+ * @throws {@link ConflictException} (client fault)
93
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
94
+ *
95
+ * @throws {@link ServiceQuotaExceededException} (client fault)
96
+ * <p>Request would cause a service quota to be exceeded.</p>
97
+ *
98
+ * @throws {@link SupplyChainServiceException}
99
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
100
+ *
101
+ *
102
+ * @example Successful GetDataIntegrationFlowExecution for S3 source
103
+ * ```javascript
104
+ * //
105
+ * const input = {
106
+ * executionId: "edbbdd3f-c0f9-49d9-ab01-f64542f803b7",
107
+ * flowName: "source-product",
108
+ * instanceId: "8928ae12-15e5-4441-825d-ec2184f0a43a"
109
+ * };
110
+ * const command = new GetDataIntegrationFlowExecutionCommand(input);
111
+ * const response = await client.send(command);
112
+ * /* response is
113
+ * {
114
+ * flowExecution: {
115
+ * endTime: 1.515531090123E9,
116
+ * executionId: "edbbdd3f-c0f9-49d9-ab01-f64542f803b7",
117
+ * flowName: "source-product",
118
+ * instanceId: "8928ae12-15e5-4441-825d-ec2184f0a43a",
119
+ * sourceInfo: {
120
+ * s3Source: {
121
+ * bucketName: "galaxy-raw-input-test-data-prod-pdx-1",
122
+ * key: "sources/product-sources.csv"
123
+ * },
124
+ * sourceType: "S3"
125
+ * },
126
+ * startTime: 1.515531081123E9,
127
+ * status: "SUCCEEDED"
128
+ * }
129
+ * }
130
+ * *\/
131
+ * ```
132
+ *
133
+ * @example Successful GetDataIntegrationFlowExecution for DATASET source
134
+ * ```javascript
135
+ * //
136
+ * const input = {
137
+ * executionId: "9daf6071-d12c-4eef-864c-73cea2557825",
138
+ * flowName: "target-product",
139
+ * instanceId: "8928ae12-15e5-4441-825d-ec2184f0a43a"
140
+ * };
141
+ * const command = new GetDataIntegrationFlowExecutionCommand(input);
142
+ * const response = await client.send(command);
143
+ * /* response is
144
+ * {
145
+ * flowExecution: {
146
+ * endTime: 1.515531090123E9,
147
+ * executionId: "9daf6071-d12c-4eef-864c-73cea2557825",
148
+ * flowName: "target-product",
149
+ * instanceId: "8928ae12-15e5-4441-825d-ec2184f0a43a",
150
+ * sourceInfo: {
151
+ * datasetSource: {
152
+ * datasetIdentifier: "arn:aws:scn:us-west-2:135808960812:instance/8928ae12-15e5-4441-825d-ec2184f0a43a/namespaces/default/datasets/product"
153
+ * },
154
+ * sourceType: "DATASET"
155
+ * },
156
+ * startTime: 1.515531081123E9,
157
+ * status: "SUCCEEDED"
158
+ * }
159
+ * }
160
+ * *\/
161
+ * ```
162
+ *
163
+ * @public
164
+ */
165
+ export declare class GetDataIntegrationFlowExecutionCommand extends GetDataIntegrationFlowExecutionCommand_base {
166
+ /** @internal type navigation helper, not in runtime. */
167
+ protected static __types: {
168
+ api: {
169
+ input: GetDataIntegrationFlowExecutionRequest;
170
+ output: GetDataIntegrationFlowExecutionResponse;
171
+ };
172
+ sdk: {
173
+ input: GetDataIntegrationFlowExecutionCommandInput;
174
+ output: GetDataIntegrationFlowExecutionCommandOutput;
175
+ };
176
+ };
177
+ }
@@ -52,12 +52,27 @@ declare const GetDataLakeDatasetCommand_base: {
52
52
  * // fields: [ // DataLakeDatasetSchemaFieldList // required
53
53
  * // { // DataLakeDatasetSchemaField
54
54
  * // name: "STRING_VALUE", // required
55
- * // type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP", // required
55
+ * // type: "INT" || "DOUBLE" || "STRING" || "TIMESTAMP" || "LONG", // required
56
56
  * // isRequired: true || false, // required
57
57
  * // },
58
58
  * // ],
59
+ * // primaryKeys: [ // DataLakeDatasetPrimaryKeyFieldList
60
+ * // { // DataLakeDatasetPrimaryKeyField
61
+ * // name: "STRING_VALUE", // required
62
+ * // },
63
+ * // ],
59
64
  * // },
60
65
  * // description: "STRING_VALUE",
66
+ * // partitionSpec: { // DataLakeDatasetPartitionSpec
67
+ * // fields: [ // DataLakeDatasetPartitionFieldList // required
68
+ * // { // DataLakeDatasetPartitionField
69
+ * // name: "STRING_VALUE", // required
70
+ * // transform: { // DataLakeDatasetPartitionFieldTransform
71
+ * // type: "YEAR" || "MONTH" || "DAY" || "HOUR" || "IDENTITY", // required
72
+ * // },
73
+ * // },
74
+ * // ],
75
+ * // },
61
76
  * // createdTime: new Date("TIMESTAMP"), // required
62
77
  * // lastModifiedTime: new Date("TIMESTAMP"), // required
63
78
  * // },
@@ -296,6 +311,22 @@ declare const GetDataLakeDatasetCommand_base: {
296
311
  * lastModifiedTime: 1.727116807751E9,
297
312
  * name: "my_dataset",
298
313
  * namespace: "default",
314
+ * partitionSpec: {
315
+ * fields: [
316
+ * {
317
+ * name: "creation_time",
318
+ * transform: {
319
+ * type: "DAY"
320
+ * }
321
+ * },
322
+ * {
323
+ * name: "description",
324
+ * transform: {
325
+ * type: "IDENTITY"
326
+ * }
327
+ * }
328
+ * ]
329
+ * },
299
330
  * schema: {
300
331
  * fields: [
301
332
  * {
@@ -317,9 +348,19 @@ declare const GetDataLakeDatasetCommand_base: {
317
348
  * isRequired: false,
318
349
  * name: "creation_time",
319
350
  * type: "TIMESTAMP"
351
+ * },
352
+ * {
353
+ * isRequired: false,
354
+ * name: "quantity",
355
+ * type: "LONG"
320
356
  * }
321
357
  * ],
322
- * name: "MyDataset"
358
+ * name: "MyDataset",
359
+ * primaryKeys: [
360
+ * {
361
+ * name: "id"
362
+ * }
363
+ * ]
323
364
  * }
324
365
  * }
325
366
  * }
@@ -0,0 +1,146 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetDataLakeNamespaceRequest, GetDataLakeNamespaceResponse } 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 GetDataLakeNamespaceCommand}.
14
+ */
15
+ export interface GetDataLakeNamespaceCommandInput extends GetDataLakeNamespaceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDataLakeNamespaceCommand}.
21
+ */
22
+ export interface GetDataLakeNamespaceCommandOutput extends GetDataLakeNamespaceResponse, __MetadataBearer {
23
+ }
24
+ declare const GetDataLakeNamespaceCommand_base: {
25
+ new (input: GetDataLakeNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataLakeNamespaceCommandInput, GetDataLakeNamespaceCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetDataLakeNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataLakeNamespaceCommandInput, GetDataLakeNamespaceCommandOutput, 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 lake namespace. Developers can view the data lake namespace information such as description 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, GetDataLakeNamespaceCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, GetDataLakeNamespaceCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // GetDataLakeNamespaceRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * name: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetDataLakeNamespaceCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetDataLakeNamespaceResponse
44
+ * // namespace: { // DataLakeNamespace
45
+ * // instanceId: "STRING_VALUE", // required
46
+ * // name: "STRING_VALUE", // required
47
+ * // arn: "STRING_VALUE", // required
48
+ * // description: "STRING_VALUE",
49
+ * // createdTime: new Date("TIMESTAMP"), // required
50
+ * // lastModifiedTime: new Date("TIMESTAMP"), // required
51
+ * // },
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param GetDataLakeNamespaceCommandInput - {@link GetDataLakeNamespaceCommandInput}
57
+ * @returns {@link GetDataLakeNamespaceCommandOutput}
58
+ * @see {@link GetDataLakeNamespaceCommandInput} for command's `input` shape.
59
+ * @see {@link GetDataLakeNamespaceCommandOutput} for command's `response` shape.
60
+ * @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>You do not have the required privileges to perform this action.</p>
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * <p>Unexpected error during processing of request.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>Request references a resource which does not exist.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>Request was denied due to request throttling.</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 ConflictException} (client fault)
78
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
79
+ *
80
+ * @throws {@link ServiceQuotaExceededException} (client fault)
81
+ * <p>Request would cause a service quota to be exceeded.</p>
82
+ *
83
+ * @throws {@link SupplyChainServiceException}
84
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
85
+ *
86
+ *
87
+ * @example Get properties of an existing AWS Supply Chain namespace
88
+ * ```javascript
89
+ * //
90
+ * const input = {
91
+ * instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
92
+ * name: "my_namespace"
93
+ * };
94
+ * const command = new GetDataLakeNamespaceCommand(input);
95
+ * const response = await client.send(command);
96
+ * /* response is
97
+ * {
98
+ * namespace: {
99
+ * arn: "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/my_namespace",
100
+ * createdTime: 1.736892560751E9,
101
+ * description: "This is my AWS Supply Chain namespace",
102
+ * instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
103
+ * lastModifiedTime: 1.736892560751E9,
104
+ * name: "my_namespace"
105
+ * }
106
+ * }
107
+ * *\/
108
+ * ```
109
+ *
110
+ * @example Get proporties of an existing pre-defined AWS Supply Chain namespace
111
+ * ```javascript
112
+ * //
113
+ * const input = {
114
+ * instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
115
+ * name: "asc"
116
+ * };
117
+ * const command = new GetDataLakeNamespaceCommand(input);
118
+ * const response = await client.send(command);
119
+ * /* response is
120
+ * {
121
+ * namespace: {
122
+ * arn: "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/asc",
123
+ * createdTime: 1.736892430234E9,
124
+ * instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
125
+ * lastModifiedTime: 1.736892430234E9,
126
+ * name: "asc"
127
+ * }
128
+ * }
129
+ * *\/
130
+ * ```
131
+ *
132
+ * @public
133
+ */
134
+ export declare class GetDataLakeNamespaceCommand extends GetDataLakeNamespaceCommand_base {
135
+ /** @internal type navigation helper, not in runtime. */
136
+ protected static __types: {
137
+ api: {
138
+ input: GetDataLakeNamespaceRequest;
139
+ output: GetDataLakeNamespaceResponse;
140
+ };
141
+ sdk: {
142
+ input: GetDataLakeNamespaceCommandInput;
143
+ output: GetDataLakeNamespaceCommandOutput;
144
+ };
145
+ };
146
+ }
@@ -0,0 +1,143 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListDataIntegrationEventsRequest, ListDataIntegrationEventsResponse } 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 ListDataIntegrationEventsCommand}.
14
+ */
15
+ export interface ListDataIntegrationEventsCommandInput extends ListDataIntegrationEventsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDataIntegrationEventsCommand}.
21
+ */
22
+ export interface ListDataIntegrationEventsCommandOutput extends ListDataIntegrationEventsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListDataIntegrationEventsCommand_base: {
25
+ new (input: ListDataIntegrationEventsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataIntegrationEventsCommandInput, ListDataIntegrationEventsCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListDataIntegrationEventsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataIntegrationEventsCommandInput, ListDataIntegrationEventsCommandOutput, SupplyChainClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Enables you to programmatically list all data integration events for the provided Amazon Web Services Supply Chain instance.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SupplyChainClient, ListDataIntegrationEventsCommand } from "@aws-sdk/client-supplychain"; // ES Modules import
35
+ * // const { SupplyChainClient, ListDataIntegrationEventsCommand } = require("@aws-sdk/client-supplychain"); // CommonJS import
36
+ * const client = new SupplyChainClient(config);
37
+ * const input = { // ListDataIntegrationEventsRequest
38
+ * instanceId: "STRING_VALUE", // required
39
+ * 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",
40
+ * nextToken: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * };
43
+ * const command = new ListDataIntegrationEventsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListDataIntegrationEventsResponse
46
+ * // events: [ // DataIntegrationEventList // required
47
+ * // { // DataIntegrationEvent
48
+ * // instanceId: "STRING_VALUE", // required
49
+ * // eventId: "STRING_VALUE", // required
50
+ * // 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
51
+ * // eventGroupId: "STRING_VALUE", // required
52
+ * // eventTimestamp: new Date("TIMESTAMP"), // required
53
+ * // datasetTargetDetails: { // DataIntegrationEventDatasetTargetDetails
54
+ * // datasetIdentifier: "STRING_VALUE", // required
55
+ * // operationType: "APPEND" || "UPSERT" || "DELETE", // required
56
+ * // datasetLoadExecution: { // DataIntegrationEventDatasetLoadExecutionDetails
57
+ * // status: "SUCCEEDED" || "IN_PROGRESS" || "FAILED", // required
58
+ * // message: "STRING_VALUE",
59
+ * // },
60
+ * // },
61
+ * // },
62
+ * // ],
63
+ * // nextToken: "STRING_VALUE",
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param ListDataIntegrationEventsCommandInput - {@link ListDataIntegrationEventsCommandInput}
69
+ * @returns {@link ListDataIntegrationEventsCommandOutput}
70
+ * @see {@link ListDataIntegrationEventsCommandInput} for command's `input` shape.
71
+ * @see {@link ListDataIntegrationEventsCommandOutput} for command's `response` shape.
72
+ * @see {@link SupplyChainClientResolvedConfig | config} for SupplyChainClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>You do not have the required privileges to perform this action.</p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>Unexpected error during processing of request.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>Request was denied due to request throttling.</p>
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * <p>The input does not satisfy the constraints specified by an AWS service.</p>
85
+ *
86
+ * @throws {@link ConflictException} (client fault)
87
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
88
+ *
89
+ * @throws {@link ResourceNotFoundException} (client fault)
90
+ * <p>Request references a resource which does not exist.</p>
91
+ *
92
+ * @throws {@link ServiceQuotaExceededException} (client fault)
93
+ * <p>Request would cause a service quota to be exceeded.</p>
94
+ *
95
+ * @throws {@link SupplyChainServiceException}
96
+ * <p>Base exception class for all service exceptions from SupplyChain service.</p>
97
+ *
98
+ *
99
+ * @example Successful ListDataIntegrationEvents
100
+ * ```javascript
101
+ * //
102
+ * const input = {
103
+ * instanceId: "8928ae12-15e5-4441-825d-ec2184f0a43a"
104
+ * };
105
+ * const command = new ListDataIntegrationEventsCommand(input);
106
+ * const response = await client.send(command);
107
+ * /* response is
108
+ * {
109
+ * events: [
110
+ * {
111
+ * datasetTargetDetails: {
112
+ * datasetIdentifier: "arn:aws:scn:us-west-2:135808960812:instance/8928ae12-15e5-4441-825d-ec2184f0a43a/namespaces/asc/datasets/product",
113
+ * datasetLoadExecution: {
114
+ * status: "SUCCEEDED"
115
+ * },
116
+ * operationType: "APPEND"
117
+ * },
118
+ * eventGroupId: "datasetId",
119
+ * eventId: "19739c8e-cd2e-4cbc-a2f7-0dc43239f042",
120
+ * eventTimestamp: 1.515531081123E9,
121
+ * eventType: "scn.data.dataset",
122
+ * instanceId: "8928ae12-15e5-4441-825d-ec2184f0a43a"
123
+ * }
124
+ * ]
125
+ * }
126
+ * *\/
127
+ * ```
128
+ *
129
+ * @public
130
+ */
131
+ export declare class ListDataIntegrationEventsCommand extends ListDataIntegrationEventsCommand_base {
132
+ /** @internal type navigation helper, not in runtime. */
133
+ protected static __types: {
134
+ api: {
135
+ input: ListDataIntegrationEventsRequest;
136
+ output: ListDataIntegrationEventsResponse;
137
+ };
138
+ sdk: {
139
+ input: ListDataIntegrationEventsCommandInput;
140
+ output: ListDataIntegrationEventsCommandOutput;
141
+ };
142
+ };
143
+ }