@aws-sdk/client-supplychain 3.661.0 → 3.664.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/dist-cjs/runtimeConfig.js +1 -0
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/commands/CreateDataIntegrationFlowCommand.d.ts +92 -0
- package/dist-types/commands/CreateDataLakeDatasetCommand.d.ts +267 -0
- package/dist-types/commands/DeleteDataIntegrationFlowCommand.d.ts +18 -0
- package/dist-types/commands/DeleteDataLakeDatasetCommand.d.ts +40 -0
- package/dist-types/commands/GetDataIntegrationFlowCommand.d.ts +44 -0
- package/dist-types/commands/GetDataLakeDatasetCommand.d.ts +232 -0
- package/dist-types/commands/ListDataIntegrationFlowsCommand.d.ts +79 -0
- package/dist-types/commands/ListDataLakeDatasetsCommand.d.ts +261 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +18 -0
- package/dist-types/commands/TagResourceCommand.d.ts +14 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +14 -0
- package/dist-types/commands/UpdateDataIntegrationFlowCommand.d.ts +144 -0
- package/dist-types/commands/UpdateDataLakeDatasetCommand.d.ts +234 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
- package/package.json +35 -35
|
@@ -96,6 +96,238 @@ declare const GetDataLakeDatasetCommand_base: {
|
|
|
96
96
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
97
97
|
*
|
|
98
98
|
* @public
|
|
99
|
+
* @example Get properties of an existing AWS Supply Chain inbound order dataset
|
|
100
|
+
* ```javascript
|
|
101
|
+
* //
|
|
102
|
+
* const input = {
|
|
103
|
+
* "name": "inbound_order",
|
|
104
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
105
|
+
* "namespace": "asc"
|
|
106
|
+
* };
|
|
107
|
+
* const command = new GetDataLakeDatasetCommand(input);
|
|
108
|
+
* const response = await client.send(command);
|
|
109
|
+
* /* response ==
|
|
110
|
+
* {
|
|
111
|
+
* "dataset": {
|
|
112
|
+
* "name": "inbound_order",
|
|
113
|
+
* "arn": "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/asc/datasets/inbound_order",
|
|
114
|
+
* "createdTime": 1727116807.751,
|
|
115
|
+
* "description": "This is an AWS Supply Chain inbound order dataset",
|
|
116
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
117
|
+
* "lastModifiedTime": 1727116807.751,
|
|
118
|
+
* "namespace": "asc",
|
|
119
|
+
* "schema": {
|
|
120
|
+
* "name": "InboundOrder",
|
|
121
|
+
* "fields": [
|
|
122
|
+
* {
|
|
123
|
+
* "name": "id",
|
|
124
|
+
* "type": "STRING",
|
|
125
|
+
* "isRequired": true
|
|
126
|
+
* },
|
|
127
|
+
* {
|
|
128
|
+
* "name": "tpartner_id",
|
|
129
|
+
* "type": "STRING",
|
|
130
|
+
* "isRequired": true
|
|
131
|
+
* },
|
|
132
|
+
* {
|
|
133
|
+
* "name": "connection_id",
|
|
134
|
+
* "type": "STRING",
|
|
135
|
+
* "isRequired": true
|
|
136
|
+
* },
|
|
137
|
+
* {
|
|
138
|
+
* "name": "order_type",
|
|
139
|
+
* "type": "STRING",
|
|
140
|
+
* "isRequired": false
|
|
141
|
+
* },
|
|
142
|
+
* {
|
|
143
|
+
* "name": "order_status",
|
|
144
|
+
* "type": "STRING",
|
|
145
|
+
* "isRequired": false
|
|
146
|
+
* },
|
|
147
|
+
* {
|
|
148
|
+
* "name": "inbound_order_url",
|
|
149
|
+
* "type": "STRING",
|
|
150
|
+
* "isRequired": false
|
|
151
|
+
* },
|
|
152
|
+
* {
|
|
153
|
+
* "name": "order_creation_date",
|
|
154
|
+
* "type": "TIMESTAMP",
|
|
155
|
+
* "isRequired": false
|
|
156
|
+
* },
|
|
157
|
+
* {
|
|
158
|
+
* "name": "company_id",
|
|
159
|
+
* "type": "STRING",
|
|
160
|
+
* "isRequired": false
|
|
161
|
+
* },
|
|
162
|
+
* {
|
|
163
|
+
* "name": "to_site_id",
|
|
164
|
+
* "type": "STRING",
|
|
165
|
+
* "isRequired": false
|
|
166
|
+
* },
|
|
167
|
+
* {
|
|
168
|
+
* "name": "order_currency_uom",
|
|
169
|
+
* "type": "STRING",
|
|
170
|
+
* "isRequired": false
|
|
171
|
+
* },
|
|
172
|
+
* {
|
|
173
|
+
* "name": "vendor_currency_uom",
|
|
174
|
+
* "type": "STRING",
|
|
175
|
+
* "isRequired": false
|
|
176
|
+
* },
|
|
177
|
+
* {
|
|
178
|
+
* "name": "exchange_rate",
|
|
179
|
+
* "type": "DOUBLE",
|
|
180
|
+
* "isRequired": false
|
|
181
|
+
* },
|
|
182
|
+
* {
|
|
183
|
+
* "name": "exchange_rate_date",
|
|
184
|
+
* "type": "TIMESTAMP",
|
|
185
|
+
* "isRequired": false
|
|
186
|
+
* },
|
|
187
|
+
* {
|
|
188
|
+
* "name": "incoterm",
|
|
189
|
+
* "type": "STRING",
|
|
190
|
+
* "isRequired": false
|
|
191
|
+
* },
|
|
192
|
+
* {
|
|
193
|
+
* "name": "incoterm2",
|
|
194
|
+
* "type": "STRING",
|
|
195
|
+
* "isRequired": false
|
|
196
|
+
* },
|
|
197
|
+
* {
|
|
198
|
+
* "name": "incoterm_location_1",
|
|
199
|
+
* "type": "STRING",
|
|
200
|
+
* "isRequired": false
|
|
201
|
+
* },
|
|
202
|
+
* {
|
|
203
|
+
* "name": "incoterm_location_2",
|
|
204
|
+
* "type": "STRING",
|
|
205
|
+
* "isRequired": false
|
|
206
|
+
* },
|
|
207
|
+
* {
|
|
208
|
+
* "name": "submitted_date",
|
|
209
|
+
* "type": "TIMESTAMP",
|
|
210
|
+
* "isRequired": false
|
|
211
|
+
* },
|
|
212
|
+
* {
|
|
213
|
+
* "name": "agreement_start_date",
|
|
214
|
+
* "type": "TIMESTAMP",
|
|
215
|
+
* "isRequired": false
|
|
216
|
+
* },
|
|
217
|
+
* {
|
|
218
|
+
* "name": "agreement_end_date",
|
|
219
|
+
* "type": "TIMESTAMP",
|
|
220
|
+
* "isRequired": false
|
|
221
|
+
* },
|
|
222
|
+
* {
|
|
223
|
+
* "name": "shipping_instr_code",
|
|
224
|
+
* "type": "STRING",
|
|
225
|
+
* "isRequired": false
|
|
226
|
+
* },
|
|
227
|
+
* {
|
|
228
|
+
* "name": "payment_terms_code",
|
|
229
|
+
* "type": "STRING",
|
|
230
|
+
* "isRequired": false
|
|
231
|
+
* },
|
|
232
|
+
* {
|
|
233
|
+
* "name": "std_terms_agreement",
|
|
234
|
+
* "type": "STRING",
|
|
235
|
+
* "isRequired": false
|
|
236
|
+
* },
|
|
237
|
+
* {
|
|
238
|
+
* "name": "std_terms_agreement_ver",
|
|
239
|
+
* "type": "STRING",
|
|
240
|
+
* "isRequired": false
|
|
241
|
+
* },
|
|
242
|
+
* {
|
|
243
|
+
* "name": "agreement_number",
|
|
244
|
+
* "type": "STRING",
|
|
245
|
+
* "isRequired": false
|
|
246
|
+
* },
|
|
247
|
+
* {
|
|
248
|
+
* "name": "source",
|
|
249
|
+
* "type": "STRING",
|
|
250
|
+
* "isRequired": false
|
|
251
|
+
* },
|
|
252
|
+
* {
|
|
253
|
+
* "name": "source_update_dttm",
|
|
254
|
+
* "type": "TIMESTAMP",
|
|
255
|
+
* "isRequired": false
|
|
256
|
+
* },
|
|
257
|
+
* {
|
|
258
|
+
* "name": "source_event_id",
|
|
259
|
+
* "type": "STRING",
|
|
260
|
+
* "isRequired": false
|
|
261
|
+
* },
|
|
262
|
+
* {
|
|
263
|
+
* "name": "db_creation_dttm",
|
|
264
|
+
* "type": "TIMESTAMP",
|
|
265
|
+
* "isRequired": false
|
|
266
|
+
* },
|
|
267
|
+
* {
|
|
268
|
+
* "name": "db_updation_dttm",
|
|
269
|
+
* "type": "TIMESTAMP",
|
|
270
|
+
* "isRequired": false
|
|
271
|
+
* }
|
|
272
|
+
* ]
|
|
273
|
+
* }
|
|
274
|
+
* }
|
|
275
|
+
* }
|
|
276
|
+
* *\/
|
|
277
|
+
* // example id: example-1
|
|
278
|
+
* ```
|
|
279
|
+
*
|
|
280
|
+
* @example Get proporties of an existing custom dataset
|
|
281
|
+
* ```javascript
|
|
282
|
+
* //
|
|
283
|
+
* const input = {
|
|
284
|
+
* "name": "my_dataset",
|
|
285
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
286
|
+
* "namespace": "default"
|
|
287
|
+
* };
|
|
288
|
+
* const command = new GetDataLakeDatasetCommand(input);
|
|
289
|
+
* const response = await client.send(command);
|
|
290
|
+
* /* response ==
|
|
291
|
+
* {
|
|
292
|
+
* "dataset": {
|
|
293
|
+
* "name": "my_dataset",
|
|
294
|
+
* "arn": "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/default/datasets/my_dataset",
|
|
295
|
+
* "createdTime": 1727116807.751,
|
|
296
|
+
* "description": "This is a custom dataset",
|
|
297
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
298
|
+
* "lastModifiedTime": 1727116807.751,
|
|
299
|
+
* "namespace": "default",
|
|
300
|
+
* "schema": {
|
|
301
|
+
* "name": "MyDataset",
|
|
302
|
+
* "fields": [
|
|
303
|
+
* {
|
|
304
|
+
* "name": "id",
|
|
305
|
+
* "type": "INT",
|
|
306
|
+
* "isRequired": true
|
|
307
|
+
* },
|
|
308
|
+
* {
|
|
309
|
+
* "name": "description",
|
|
310
|
+
* "type": "STRING",
|
|
311
|
+
* "isRequired": true
|
|
312
|
+
* },
|
|
313
|
+
* {
|
|
314
|
+
* "name": "price",
|
|
315
|
+
* "type": "DOUBLE",
|
|
316
|
+
* "isRequired": false
|
|
317
|
+
* },
|
|
318
|
+
* {
|
|
319
|
+
* "name": "creation_time",
|
|
320
|
+
* "type": "TIMESTAMP",
|
|
321
|
+
* "isRequired": false
|
|
322
|
+
* }
|
|
323
|
+
* ]
|
|
324
|
+
* }
|
|
325
|
+
* }
|
|
326
|
+
* }
|
|
327
|
+
* *\/
|
|
328
|
+
* // example id: example-2
|
|
329
|
+
* ```
|
|
330
|
+
*
|
|
99
331
|
*/
|
|
100
332
|
export declare class GetDataLakeDatasetCommand extends GetDataLakeDatasetCommand_base {
|
|
101
333
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -129,6 +129,85 @@ declare const ListDataIntegrationFlowsCommand_base: {
|
|
|
129
129
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
130
130
|
*
|
|
131
131
|
* @public
|
|
132
|
+
* @example Successful ListDataIntegrationFlow
|
|
133
|
+
* ```javascript
|
|
134
|
+
* //
|
|
135
|
+
* const input = {
|
|
136
|
+
* "instanceId": "8850c54e-e187-4fa7-89d4-6370f165174d"
|
|
137
|
+
* };
|
|
138
|
+
* const command = new ListDataIntegrationFlowsCommand(input);
|
|
139
|
+
* const response = await client.send(command);
|
|
140
|
+
* /* response ==
|
|
141
|
+
* {
|
|
142
|
+
* "flows": [
|
|
143
|
+
* {
|
|
144
|
+
* "name": "testStagingFlow",
|
|
145
|
+
* "createdTime": 1724956400.44,
|
|
146
|
+
* "instanceId": "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
147
|
+
* "lastModifiedTime": 1724956400.44,
|
|
148
|
+
* "sources": [
|
|
149
|
+
* {
|
|
150
|
+
* "s3Source": {
|
|
151
|
+
* "bucketName": "aws-supply-chain-data-b8c7bb28-a576-4334-b481-6d6e8e47371f",
|
|
152
|
+
* "prefix": "example-prefix"
|
|
153
|
+
* },
|
|
154
|
+
* "sourceName": "testSourceName",
|
|
155
|
+
* "sourceType": "S3"
|
|
156
|
+
* }
|
|
157
|
+
* ],
|
|
158
|
+
* "target": {
|
|
159
|
+
* "datasetTarget": {
|
|
160
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset"
|
|
161
|
+
* },
|
|
162
|
+
* "targetType": "DATASET"
|
|
163
|
+
* },
|
|
164
|
+
* "transformation": {
|
|
165
|
+
* "sqlTransformation": {
|
|
166
|
+
* "query": "SELECT * FROM testSourceName"
|
|
167
|
+
* },
|
|
168
|
+
* "transformationType": "SQL"
|
|
169
|
+
* }
|
|
170
|
+
* },
|
|
171
|
+
* {
|
|
172
|
+
* "name": "trading-partner",
|
|
173
|
+
* "createdTime": 17235763506.88,
|
|
174
|
+
* "instanceId": "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
175
|
+
* "lastModifiedTime": 17235763506.88,
|
|
176
|
+
* "sources": [
|
|
177
|
+
* {
|
|
178
|
+
* "datasetSource": {
|
|
179
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset1"
|
|
180
|
+
* },
|
|
181
|
+
* "sourceName": "testSourceName1",
|
|
182
|
+
* "sourceType": "DATASET"
|
|
183
|
+
* },
|
|
184
|
+
* {
|
|
185
|
+
* "datasetSource": {
|
|
186
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset2"
|
|
187
|
+
* },
|
|
188
|
+
* "sourceName": "testSourceName2",
|
|
189
|
+
* "sourceType": "DATASET"
|
|
190
|
+
* }
|
|
191
|
+
* ],
|
|
192
|
+
* "target": {
|
|
193
|
+
* "datasetTarget": {
|
|
194
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner"
|
|
195
|
+
* },
|
|
196
|
+
* "targetType": "DATASET"
|
|
197
|
+
* },
|
|
198
|
+
* "transformation": {
|
|
199
|
+
* "sqlTransformation": {
|
|
200
|
+
* "query": "SELECT S1.id AS id, S1.poc_org_unit_description AS description, S1.company_id AS company_id, S1.tpartner_type AS tpartner_type, S1.geo_id AS geo_id, S1.eff_start_date AS eff_start_date, S1.eff_end_date AS eff_end_date FROM testSourceName1 AS S1 LEFT JOIN testSourceName2 as S2 ON S1.id=S2.id"
|
|
201
|
+
* },
|
|
202
|
+
* "transformationType": "SQL"
|
|
203
|
+
* }
|
|
204
|
+
* }
|
|
205
|
+
* ]
|
|
206
|
+
* }
|
|
207
|
+
* *\/
|
|
208
|
+
* // example id: example-1
|
|
209
|
+
* ```
|
|
210
|
+
*
|
|
132
211
|
*/
|
|
133
212
|
export declare class ListDataIntegrationFlowsCommand extends ListDataIntegrationFlowsCommand_base {
|
|
134
213
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -100,6 +100,267 @@ declare const ListDataLakeDatasetsCommand_base: {
|
|
|
100
100
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
101
101
|
*
|
|
102
102
|
* @public
|
|
103
|
+
* @example List AWS Supply Chain datasets
|
|
104
|
+
* ```javascript
|
|
105
|
+
* //
|
|
106
|
+
* const input = {
|
|
107
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
108
|
+
* "namespace": "asc"
|
|
109
|
+
* };
|
|
110
|
+
* const command = new ListDataLakeDatasetsCommand(input);
|
|
111
|
+
* const response = await client.send(command);
|
|
112
|
+
* /* response ==
|
|
113
|
+
* {
|
|
114
|
+
* "datasets": [
|
|
115
|
+
* {
|
|
116
|
+
* "name": "inbound_order",
|
|
117
|
+
* "arn": "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/asc/datasets/inbound_order",
|
|
118
|
+
* "createdTime": 1727116807.751,
|
|
119
|
+
* "description": "This is an AWS Supply Chain inbound order dataset",
|
|
120
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
121
|
+
* "lastModifiedTime": 1727116807.751,
|
|
122
|
+
* "namespace": "asc",
|
|
123
|
+
* "schema": {
|
|
124
|
+
* "name": "InboundOrder",
|
|
125
|
+
* "fields": [
|
|
126
|
+
* {
|
|
127
|
+
* "name": "id",
|
|
128
|
+
* "type": "STRING",
|
|
129
|
+
* "isRequired": true
|
|
130
|
+
* },
|
|
131
|
+
* {
|
|
132
|
+
* "name": "tpartner_id",
|
|
133
|
+
* "type": "STRING",
|
|
134
|
+
* "isRequired": true
|
|
135
|
+
* },
|
|
136
|
+
* {
|
|
137
|
+
* "name": "connection_id",
|
|
138
|
+
* "type": "STRING",
|
|
139
|
+
* "isRequired": true
|
|
140
|
+
* },
|
|
141
|
+
* {
|
|
142
|
+
* "name": "order_type",
|
|
143
|
+
* "type": "STRING",
|
|
144
|
+
* "isRequired": false
|
|
145
|
+
* },
|
|
146
|
+
* {
|
|
147
|
+
* "name": "order_status",
|
|
148
|
+
* "type": "STRING",
|
|
149
|
+
* "isRequired": false
|
|
150
|
+
* },
|
|
151
|
+
* {
|
|
152
|
+
* "name": "inbound_order_url",
|
|
153
|
+
* "type": "STRING",
|
|
154
|
+
* "isRequired": false
|
|
155
|
+
* },
|
|
156
|
+
* {
|
|
157
|
+
* "name": "order_creation_date",
|
|
158
|
+
* "type": "TIMESTAMP",
|
|
159
|
+
* "isRequired": false
|
|
160
|
+
* },
|
|
161
|
+
* {
|
|
162
|
+
* "name": "company_id",
|
|
163
|
+
* "type": "STRING",
|
|
164
|
+
* "isRequired": false
|
|
165
|
+
* },
|
|
166
|
+
* {
|
|
167
|
+
* "name": "to_site_id",
|
|
168
|
+
* "type": "STRING",
|
|
169
|
+
* "isRequired": false
|
|
170
|
+
* },
|
|
171
|
+
* {
|
|
172
|
+
* "name": "order_currency_uom",
|
|
173
|
+
* "type": "STRING",
|
|
174
|
+
* "isRequired": false
|
|
175
|
+
* },
|
|
176
|
+
* {
|
|
177
|
+
* "name": "vendor_currency_uom",
|
|
178
|
+
* "type": "STRING",
|
|
179
|
+
* "isRequired": false
|
|
180
|
+
* },
|
|
181
|
+
* {
|
|
182
|
+
* "name": "exchange_rate",
|
|
183
|
+
* "type": "DOUBLE",
|
|
184
|
+
* "isRequired": false
|
|
185
|
+
* },
|
|
186
|
+
* {
|
|
187
|
+
* "name": "exchange_rate_date",
|
|
188
|
+
* "type": "TIMESTAMP",
|
|
189
|
+
* "isRequired": false
|
|
190
|
+
* },
|
|
191
|
+
* {
|
|
192
|
+
* "name": "incoterm",
|
|
193
|
+
* "type": "STRING",
|
|
194
|
+
* "isRequired": false
|
|
195
|
+
* },
|
|
196
|
+
* {
|
|
197
|
+
* "name": "incoterm2",
|
|
198
|
+
* "type": "STRING",
|
|
199
|
+
* "isRequired": false
|
|
200
|
+
* },
|
|
201
|
+
* {
|
|
202
|
+
* "name": "incoterm_location_1",
|
|
203
|
+
* "type": "STRING",
|
|
204
|
+
* "isRequired": false
|
|
205
|
+
* },
|
|
206
|
+
* {
|
|
207
|
+
* "name": "incoterm_location_2",
|
|
208
|
+
* "type": "STRING",
|
|
209
|
+
* "isRequired": false
|
|
210
|
+
* },
|
|
211
|
+
* {
|
|
212
|
+
* "name": "submitted_date",
|
|
213
|
+
* "type": "TIMESTAMP",
|
|
214
|
+
* "isRequired": false
|
|
215
|
+
* },
|
|
216
|
+
* {
|
|
217
|
+
* "name": "agreement_start_date",
|
|
218
|
+
* "type": "TIMESTAMP",
|
|
219
|
+
* "isRequired": false
|
|
220
|
+
* },
|
|
221
|
+
* {
|
|
222
|
+
* "name": "agreement_end_date",
|
|
223
|
+
* "type": "TIMESTAMP",
|
|
224
|
+
* "isRequired": false
|
|
225
|
+
* },
|
|
226
|
+
* {
|
|
227
|
+
* "name": "shipping_instr_code",
|
|
228
|
+
* "type": "STRING",
|
|
229
|
+
* "isRequired": false
|
|
230
|
+
* },
|
|
231
|
+
* {
|
|
232
|
+
* "name": "payment_terms_code",
|
|
233
|
+
* "type": "STRING",
|
|
234
|
+
* "isRequired": false
|
|
235
|
+
* },
|
|
236
|
+
* {
|
|
237
|
+
* "name": "std_terms_agreement",
|
|
238
|
+
* "type": "STRING",
|
|
239
|
+
* "isRequired": false
|
|
240
|
+
* },
|
|
241
|
+
* {
|
|
242
|
+
* "name": "std_terms_agreement_ver",
|
|
243
|
+
* "type": "STRING",
|
|
244
|
+
* "isRequired": false
|
|
245
|
+
* },
|
|
246
|
+
* {
|
|
247
|
+
* "name": "agreement_number",
|
|
248
|
+
* "type": "STRING",
|
|
249
|
+
* "isRequired": false
|
|
250
|
+
* },
|
|
251
|
+
* {
|
|
252
|
+
* "name": "source",
|
|
253
|
+
* "type": "STRING",
|
|
254
|
+
* "isRequired": false
|
|
255
|
+
* },
|
|
256
|
+
* {
|
|
257
|
+
* "name": "source_update_dttm",
|
|
258
|
+
* "type": "TIMESTAMP",
|
|
259
|
+
* "isRequired": false
|
|
260
|
+
* },
|
|
261
|
+
* {
|
|
262
|
+
* "name": "source_event_id",
|
|
263
|
+
* "type": "STRING",
|
|
264
|
+
* "isRequired": false
|
|
265
|
+
* },
|
|
266
|
+
* {
|
|
267
|
+
* "name": "db_creation_dttm",
|
|
268
|
+
* "type": "TIMESTAMP",
|
|
269
|
+
* "isRequired": false
|
|
270
|
+
* },
|
|
271
|
+
* {
|
|
272
|
+
* "name": "db_updation_dttm",
|
|
273
|
+
* "type": "TIMESTAMP",
|
|
274
|
+
* "isRequired": false
|
|
275
|
+
* }
|
|
276
|
+
* ]
|
|
277
|
+
* }
|
|
278
|
+
* }
|
|
279
|
+
* ]
|
|
280
|
+
* }
|
|
281
|
+
* *\/
|
|
282
|
+
* // example id: example-1
|
|
283
|
+
* ```
|
|
284
|
+
*
|
|
285
|
+
* @example List custom datasets using pagination
|
|
286
|
+
* ```javascript
|
|
287
|
+
* //
|
|
288
|
+
* const input = {
|
|
289
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
290
|
+
* "maxResults": 2,
|
|
291
|
+
* "namespace": "default",
|
|
292
|
+
* "nextToken": "next_token_returned_from_previous_list_request"
|
|
293
|
+
* };
|
|
294
|
+
* const command = new ListDataLakeDatasetsCommand(input);
|
|
295
|
+
* const response = await client.send(command);
|
|
296
|
+
* /* response ==
|
|
297
|
+
* {
|
|
298
|
+
* "datasets": [
|
|
299
|
+
* {
|
|
300
|
+
* "name": "my_dataset",
|
|
301
|
+
* "arn": "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/default/datasets/my_dataset",
|
|
302
|
+
* "createdTime": 1727116807.751,
|
|
303
|
+
* "description": "This is a custom dataset",
|
|
304
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
305
|
+
* "lastModifiedTime": 1727116807.751,
|
|
306
|
+
* "namespace": "default",
|
|
307
|
+
* "schema": {
|
|
308
|
+
* "name": "MyDataset",
|
|
309
|
+
* "fields": [
|
|
310
|
+
* {
|
|
311
|
+
* "name": "id",
|
|
312
|
+
* "type": "INT",
|
|
313
|
+
* "isRequired": true
|
|
314
|
+
* },
|
|
315
|
+
* {
|
|
316
|
+
* "name": "description",
|
|
317
|
+
* "type": "STRING",
|
|
318
|
+
* "isRequired": true
|
|
319
|
+
* },
|
|
320
|
+
* {
|
|
321
|
+
* "name": "price",
|
|
322
|
+
* "type": "DOUBLE",
|
|
323
|
+
* "isRequired": false
|
|
324
|
+
* },
|
|
325
|
+
* {
|
|
326
|
+
* "name": "creation_time",
|
|
327
|
+
* "type": "TIMESTAMP",
|
|
328
|
+
* "isRequired": false
|
|
329
|
+
* }
|
|
330
|
+
* ]
|
|
331
|
+
* }
|
|
332
|
+
* },
|
|
333
|
+
* {
|
|
334
|
+
* "name": "my_dataset_2",
|
|
335
|
+
* "arn": "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/default/datasets/my_dataset_2",
|
|
336
|
+
* "createdTime": 1727116907.751,
|
|
337
|
+
* "description": "This is a custom dataset 2",
|
|
338
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
339
|
+
* "lastModifiedTime": 1727116907.751,
|
|
340
|
+
* "namespace": "default",
|
|
341
|
+
* "schema": {
|
|
342
|
+
* "name": "MyDataset2",
|
|
343
|
+
* "fields": [
|
|
344
|
+
* {
|
|
345
|
+
* "name": "id",
|
|
346
|
+
* "type": "INT",
|
|
347
|
+
* "isRequired": true
|
|
348
|
+
* },
|
|
349
|
+
* {
|
|
350
|
+
* "name": "description",
|
|
351
|
+
* "type": "STRING",
|
|
352
|
+
* "isRequired": true
|
|
353
|
+
* }
|
|
354
|
+
* ]
|
|
355
|
+
* }
|
|
356
|
+
* }
|
|
357
|
+
* ],
|
|
358
|
+
* "nextToken": "next_token_for_next_list_request"
|
|
359
|
+
* }
|
|
360
|
+
* *\/
|
|
361
|
+
* // example id: example-2
|
|
362
|
+
* ```
|
|
363
|
+
*
|
|
103
364
|
*/
|
|
104
365
|
export declare class ListDataLakeDatasetsCommand extends ListDataLakeDatasetsCommand_base {
|
|
105
366
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -78,6 +78,24 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
78
78
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
79
79
|
*
|
|
80
80
|
* @public
|
|
81
|
+
* @example Successful ListTagsForResource
|
|
82
|
+
* ```javascript
|
|
83
|
+
* //
|
|
84
|
+
* const input = {
|
|
85
|
+
* "resourceArn": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/data-integration-flows/my_flow1"
|
|
86
|
+
* };
|
|
87
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response ==
|
|
90
|
+
* {
|
|
91
|
+
* "tags": {
|
|
92
|
+
* "tagKey1": "tagValue1"
|
|
93
|
+
* }
|
|
94
|
+
* }
|
|
95
|
+
* *\/
|
|
96
|
+
* // example id: example-1
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
81
99
|
*/
|
|
82
100
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
83
101
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -77,6 +77,20 @@ declare const TagResourceCommand_base: {
|
|
|
77
77
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
78
78
|
*
|
|
79
79
|
* @public
|
|
80
|
+
* @example Successful TagResource
|
|
81
|
+
* ```javascript
|
|
82
|
+
* //
|
|
83
|
+
* const input = {
|
|
84
|
+
* "resourceArn": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/data-integration-flows/my_flow1",
|
|
85
|
+
* "tags": {
|
|
86
|
+
* "tagKey1": "tagValue1"
|
|
87
|
+
* }
|
|
88
|
+
* };
|
|
89
|
+
* const command = new TagResourceCommand(input);
|
|
90
|
+
* await client.send(command);
|
|
91
|
+
* // example id: example-1
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
80
94
|
*/
|
|
81
95
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
82
96
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -77,6 +77,20 @@ declare const UntagResourceCommand_base: {
|
|
|
77
77
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
78
78
|
*
|
|
79
79
|
* @public
|
|
80
|
+
* @example Successful UntagResource
|
|
81
|
+
* ```javascript
|
|
82
|
+
* //
|
|
83
|
+
* const input = {
|
|
84
|
+
* "resourceArn": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/data-integration-flows/my_flow1",
|
|
85
|
+
* "tagKeys": [
|
|
86
|
+
* "tagKey1"
|
|
87
|
+
* ]
|
|
88
|
+
* };
|
|
89
|
+
* const command = new UntagResourceCommand(input);
|
|
90
|
+
* await client.send(command);
|
|
91
|
+
* // example id: example-1
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
80
94
|
*/
|
|
81
95
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
82
96
|
/** @internal type navigation helper, not in runtime. */
|