@aws-sdk/client-supplychain 3.775.0 → 3.782.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-types/commands/CreateBillOfMaterialsImportJobCommand.d.ts +7 -7
- package/dist-types/commands/CreateDataIntegrationFlowCommand.d.ts +47 -48
- package/dist-types/commands/CreateDataLakeDatasetCommand.d.ts +160 -161
- package/dist-types/commands/CreateInstanceCommand.d.ts +29 -30
- package/dist-types/commands/DeleteDataIntegrationFlowCommand.d.ts +7 -7
- package/dist-types/commands/DeleteDataLakeDatasetCommand.d.ts +16 -17
- package/dist-types/commands/DeleteInstanceCommand.d.ts +14 -14
- package/dist-types/commands/GetBillOfMaterialsImportJobCommand.d.ts +19 -20
- package/dist-types/commands/GetDataIntegrationFlowCommand.d.ts +24 -24
- package/dist-types/commands/GetDataLakeDatasetCommand.d.ts +136 -137
- package/dist-types/commands/GetInstanceCommand.d.ts +27 -28
- package/dist-types/commands/ListDataIntegrationFlowsCommand.d.ts +44 -44
- package/dist-types/commands/ListDataLakeDatasetsCommand.d.ts +157 -158
- package/dist-types/commands/ListInstancesCommand.d.ts +60 -63
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -6
- package/dist-types/commands/SendDataIntegrationEventCommand.d.ts +107 -121
- package/dist-types/commands/TagResourceCommand.d.ts +9 -6
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
- package/dist-types/commands/UpdateDataIntegrationFlowCommand.d.ts +80 -81
- package/dist-types/commands/UpdateDataLakeDatasetCommand.d.ts +138 -139
- package/dist-types/commands/UpdateInstanceCommand.d.ts +16 -16
- package/package.json +5 -5
|
@@ -167,151 +167,150 @@ declare const UpdateDataIntegrationFlowCommand_base: {
|
|
|
167
167
|
* @throws {@link SupplyChainServiceException}
|
|
168
168
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
169
169
|
*
|
|
170
|
-
*
|
|
170
|
+
*
|
|
171
171
|
* @example Successful UpdateDataIntegrationFlow for s3 to dataset flow to update SQL transformation
|
|
172
172
|
* ```javascript
|
|
173
173
|
* //
|
|
174
174
|
* const input = {
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
175
|
+
* instanceId: "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
176
|
+
* name: "testStagingFlow",
|
|
177
|
+
* sources: [
|
|
178
178
|
* {
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
179
|
+
* s3Source: {
|
|
180
|
+
* bucketName: "aws-supply-chain-data-b8c7bb28-a576-4334-b481-6d6e8e47371f",
|
|
181
|
+
* prefix: "example-prefix"
|
|
182
182
|
* },
|
|
183
|
-
*
|
|
184
|
-
*
|
|
183
|
+
* sourceName: "testSourceName",
|
|
184
|
+
* sourceType: "S3"
|
|
185
185
|
* }
|
|
186
186
|
* ],
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
187
|
+
* target: {
|
|
188
|
+
* datasetTarget: {
|
|
189
|
+
* datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset"
|
|
190
190
|
* },
|
|
191
|
-
*
|
|
191
|
+
* targetType: "DATASET"
|
|
192
192
|
* },
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
193
|
+
* transformation: {
|
|
194
|
+
* sqlTransformation: {
|
|
195
|
+
* query: "SELECT connection_id, bukrs AS id, txtmd AS description FROM testSourceName WHERE langu = 'E'"
|
|
196
196
|
* },
|
|
197
|
-
*
|
|
197
|
+
* transformationType: "SQL"
|
|
198
198
|
* }
|
|
199
199
|
* };
|
|
200
200
|
* const command = new UpdateDataIntegrationFlowCommand(input);
|
|
201
201
|
* const response = await client.send(command);
|
|
202
|
-
* /* response
|
|
202
|
+
* /* response is
|
|
203
203
|
* {
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
* "
|
|
207
|
-
*
|
|
208
|
-
* "
|
|
209
|
-
*
|
|
204
|
+
* flow: {
|
|
205
|
+
* createdTime: 1.72495640044E9,
|
|
206
|
+
* instanceId: "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
207
|
+
* lastModifiedTime: 1.73245640577E9,
|
|
208
|
+
* name: "testStagingFlow",
|
|
209
|
+
* sources: [
|
|
210
210
|
* {
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
211
|
+
* s3Source: {
|
|
212
|
+
* bucketName: "aws-supply-chain-data-b8c7bb28-a576-4334-b481-6d6e8e47371f",
|
|
213
|
+
* prefix: "example-prefix"
|
|
214
214
|
* },
|
|
215
|
-
*
|
|
216
|
-
*
|
|
215
|
+
* sourceName: "testSourceName",
|
|
216
|
+
* sourceType: "S3"
|
|
217
217
|
* }
|
|
218
218
|
* ],
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
*
|
|
219
|
+
* target: {
|
|
220
|
+
* datasetTarget: {
|
|
221
|
+
* datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset"
|
|
222
222
|
* },
|
|
223
|
-
*
|
|
223
|
+
* targetType: "DATASET"
|
|
224
224
|
* },
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
225
|
+
* transformation: {
|
|
226
|
+
* sqlTransformation: {
|
|
227
|
+
* query: "SELECT connection_id, bukrs AS id, txtmd AS description FROM testSourceName WHERE langu = 'E'"
|
|
228
228
|
* },
|
|
229
|
-
*
|
|
229
|
+
* transformationType: "SQL"
|
|
230
230
|
* }
|
|
231
231
|
* }
|
|
232
232
|
* }
|
|
233
233
|
* *\/
|
|
234
|
-
* // example id: example-1
|
|
235
234
|
* ```
|
|
236
235
|
*
|
|
237
236
|
* @example Successful UpdateDataIntegrationFlow for dataset to dataset flow to update sources
|
|
238
237
|
* ```javascript
|
|
239
238
|
* //
|
|
240
239
|
* const input = {
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
240
|
+
* instanceId: "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
241
|
+
* name: "trading-partner",
|
|
242
|
+
* sources: [
|
|
244
243
|
* {
|
|
245
|
-
*
|
|
246
|
-
*
|
|
244
|
+
* datasetSource: {
|
|
245
|
+
* datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset1"
|
|
247
246
|
* },
|
|
248
|
-
*
|
|
249
|
-
*
|
|
247
|
+
* sourceName: "testSourceName1",
|
|
248
|
+
* sourceType: "DATASET"
|
|
250
249
|
* },
|
|
251
250
|
* {
|
|
252
|
-
*
|
|
253
|
-
*
|
|
251
|
+
* datasetSource: {
|
|
252
|
+
* datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset2_updated"
|
|
254
253
|
* },
|
|
255
|
-
*
|
|
256
|
-
*
|
|
254
|
+
* sourceName: "testSourceName2",
|
|
255
|
+
* sourceType: "DATASET"
|
|
257
256
|
* }
|
|
258
257
|
* ],
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
258
|
+
* target: {
|
|
259
|
+
* datasetTarget: {
|
|
260
|
+
* datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner"
|
|
262
261
|
* },
|
|
263
|
-
*
|
|
262
|
+
* targetType: "DATASET"
|
|
264
263
|
* },
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
264
|
+
* transformation: {
|
|
265
|
+
* sqlTransformation: {
|
|
266
|
+
* 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"
|
|
268
267
|
* },
|
|
269
|
-
*
|
|
268
|
+
* transformationType: "SQL"
|
|
270
269
|
* }
|
|
271
270
|
* };
|
|
272
271
|
* const command = new UpdateDataIntegrationFlowCommand(input);
|
|
273
272
|
* const response = await client.send(command);
|
|
274
|
-
* /* response
|
|
273
|
+
* /* response is
|
|
275
274
|
* {
|
|
276
|
-
*
|
|
277
|
-
*
|
|
278
|
-
* "
|
|
279
|
-
*
|
|
280
|
-
* "
|
|
281
|
-
*
|
|
275
|
+
* flow: {
|
|
276
|
+
* createdTime: 1.72495640044E9,
|
|
277
|
+
* instanceId: "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
278
|
+
* lastModifiedTime: 1.73245640577E9,
|
|
279
|
+
* name: "trading-partner",
|
|
280
|
+
* sources: [
|
|
282
281
|
* {
|
|
283
|
-
*
|
|
284
|
-
*
|
|
282
|
+
* datasetSource: {
|
|
283
|
+
* datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset1"
|
|
285
284
|
* },
|
|
286
|
-
*
|
|
287
|
-
*
|
|
285
|
+
* sourceName: "testSourceName1",
|
|
286
|
+
* sourceType: "DATASET"
|
|
288
287
|
* },
|
|
289
288
|
* {
|
|
290
|
-
*
|
|
291
|
-
*
|
|
289
|
+
* datasetSource: {
|
|
290
|
+
* datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset2_updated"
|
|
292
291
|
* },
|
|
293
|
-
*
|
|
294
|
-
*
|
|
292
|
+
* sourceName: "testSourceName2",
|
|
293
|
+
* sourceType: "DATASET"
|
|
295
294
|
* }
|
|
296
295
|
* ],
|
|
297
|
-
*
|
|
298
|
-
*
|
|
299
|
-
*
|
|
296
|
+
* target: {
|
|
297
|
+
* datasetTarget: {
|
|
298
|
+
* datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner"
|
|
300
299
|
* },
|
|
301
|
-
*
|
|
300
|
+
* targetType: "DATASET"
|
|
302
301
|
* },
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
*
|
|
302
|
+
* transformation: {
|
|
303
|
+
* sqlTransformation: {
|
|
304
|
+
* 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"
|
|
306
305
|
* },
|
|
307
|
-
*
|
|
306
|
+
* transformationType: "SQL"
|
|
308
307
|
* }
|
|
309
308
|
* }
|
|
310
309
|
* }
|
|
311
310
|
* *\/
|
|
312
|
-
* // example id: example-2
|
|
313
311
|
* ```
|
|
314
312
|
*
|
|
313
|
+
* @public
|
|
315
314
|
*/
|
|
316
315
|
export declare class UpdateDataIntegrationFlowCommand extends UpdateDataIntegrationFlowCommand_base {
|
|
317
316
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -96,241 +96,240 @@ declare const UpdateDataLakeDatasetCommand_base: {
|
|
|
96
96
|
* @throws {@link SupplyChainServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
98
98
|
*
|
|
99
|
-
*
|
|
99
|
+
*
|
|
100
100
|
* @example Update description of an existing AWS Supply Chain inbound order dataset
|
|
101
101
|
* ```javascript
|
|
102
102
|
* //
|
|
103
103
|
* const input = {
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
104
|
+
* description: "This is an updated AWS Supply Chain inbound order dataset",
|
|
105
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
106
|
+
* name: "inbound_order",
|
|
107
|
+
* namespace: "asc"
|
|
108
108
|
* };
|
|
109
109
|
* const command = new UpdateDataLakeDatasetCommand(input);
|
|
110
110
|
* const response = await client.send(command);
|
|
111
|
-
* /* response
|
|
111
|
+
* /* response is
|
|
112
112
|
* {
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
* "
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
* "
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
* "fields": [
|
|
113
|
+
* dataset: {
|
|
114
|
+
* arn: "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/asc/datasets/inbound_order",
|
|
115
|
+
* createdTime: 1.727116807751E9,
|
|
116
|
+
* description: "This is an updated AWS Supply Chain inbound order dataset",
|
|
117
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
118
|
+
* lastModifiedTime: 1.727117453568E9,
|
|
119
|
+
* name: "inbound_order",
|
|
120
|
+
* namespace: "asc",
|
|
121
|
+
* schema: {
|
|
122
|
+
* fields: [
|
|
124
123
|
* {
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
* "
|
|
124
|
+
* isRequired: true,
|
|
125
|
+
* name: "id",
|
|
126
|
+
* type: "STRING"
|
|
128
127
|
* },
|
|
129
128
|
* {
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
* "
|
|
129
|
+
* isRequired: true,
|
|
130
|
+
* name: "tpartner_id",
|
|
131
|
+
* type: "STRING"
|
|
133
132
|
* },
|
|
134
133
|
* {
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
* "
|
|
134
|
+
* isRequired: true,
|
|
135
|
+
* name: "connection_id",
|
|
136
|
+
* type: "STRING"
|
|
138
137
|
* },
|
|
139
138
|
* {
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
* "
|
|
139
|
+
* isRequired: false,
|
|
140
|
+
* name: "order_type",
|
|
141
|
+
* type: "STRING"
|
|
143
142
|
* },
|
|
144
143
|
* {
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
* "
|
|
144
|
+
* isRequired: false,
|
|
145
|
+
* name: "order_status",
|
|
146
|
+
* type: "STRING"
|
|
148
147
|
* },
|
|
149
148
|
* {
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
* "
|
|
149
|
+
* isRequired: false,
|
|
150
|
+
* name: "inbound_order_url",
|
|
151
|
+
* type: "STRING"
|
|
153
152
|
* },
|
|
154
153
|
* {
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
* "
|
|
154
|
+
* isRequired: false,
|
|
155
|
+
* name: "order_creation_date",
|
|
156
|
+
* type: "TIMESTAMP"
|
|
158
157
|
* },
|
|
159
158
|
* {
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* "
|
|
159
|
+
* isRequired: false,
|
|
160
|
+
* name: "company_id",
|
|
161
|
+
* type: "STRING"
|
|
163
162
|
* },
|
|
164
163
|
* {
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
* "
|
|
164
|
+
* isRequired: false,
|
|
165
|
+
* name: "to_site_id",
|
|
166
|
+
* type: "STRING"
|
|
168
167
|
* },
|
|
169
168
|
* {
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* "
|
|
169
|
+
* isRequired: false,
|
|
170
|
+
* name: "order_currency_uom",
|
|
171
|
+
* type: "STRING"
|
|
173
172
|
* },
|
|
174
173
|
* {
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
* "
|
|
174
|
+
* isRequired: false,
|
|
175
|
+
* name: "vendor_currency_uom",
|
|
176
|
+
* type: "STRING"
|
|
178
177
|
* },
|
|
179
178
|
* {
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
* "
|
|
179
|
+
* isRequired: false,
|
|
180
|
+
* name: "exchange_rate",
|
|
181
|
+
* type: "DOUBLE"
|
|
183
182
|
* },
|
|
184
183
|
* {
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
* "
|
|
184
|
+
* isRequired: false,
|
|
185
|
+
* name: "exchange_rate_date",
|
|
186
|
+
* type: "TIMESTAMP"
|
|
188
187
|
* },
|
|
189
188
|
* {
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
* "
|
|
189
|
+
* isRequired: false,
|
|
190
|
+
* name: "incoterm",
|
|
191
|
+
* type: "STRING"
|
|
193
192
|
* },
|
|
194
193
|
* {
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
* "
|
|
194
|
+
* isRequired: false,
|
|
195
|
+
* name: "incoterm2",
|
|
196
|
+
* type: "STRING"
|
|
198
197
|
* },
|
|
199
198
|
* {
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* "
|
|
199
|
+
* isRequired: false,
|
|
200
|
+
* name: "incoterm_location_1",
|
|
201
|
+
* type: "STRING"
|
|
203
202
|
* },
|
|
204
203
|
* {
|
|
205
|
-
*
|
|
206
|
-
*
|
|
207
|
-
* "
|
|
204
|
+
* isRequired: false,
|
|
205
|
+
* name: "incoterm_location_2",
|
|
206
|
+
* type: "STRING"
|
|
208
207
|
* },
|
|
209
208
|
* {
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
* "
|
|
209
|
+
* isRequired: false,
|
|
210
|
+
* name: "submitted_date",
|
|
211
|
+
* type: "TIMESTAMP"
|
|
213
212
|
* },
|
|
214
213
|
* {
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
* "
|
|
214
|
+
* isRequired: false,
|
|
215
|
+
* name: "agreement_start_date",
|
|
216
|
+
* type: "TIMESTAMP"
|
|
218
217
|
* },
|
|
219
218
|
* {
|
|
220
|
-
*
|
|
221
|
-
*
|
|
222
|
-
* "
|
|
219
|
+
* isRequired: false,
|
|
220
|
+
* name: "agreement_end_date",
|
|
221
|
+
* type: "TIMESTAMP"
|
|
223
222
|
* },
|
|
224
223
|
* {
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
* "
|
|
224
|
+
* isRequired: false,
|
|
225
|
+
* name: "shipping_instr_code",
|
|
226
|
+
* type: "STRING"
|
|
228
227
|
* },
|
|
229
228
|
* {
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
* "
|
|
229
|
+
* isRequired: false,
|
|
230
|
+
* name: "payment_terms_code",
|
|
231
|
+
* type: "STRING"
|
|
233
232
|
* },
|
|
234
233
|
* {
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
* "
|
|
234
|
+
* isRequired: false,
|
|
235
|
+
* name: "std_terms_agreement",
|
|
236
|
+
* type: "STRING"
|
|
238
237
|
* },
|
|
239
238
|
* {
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
* "
|
|
239
|
+
* isRequired: false,
|
|
240
|
+
* name: "std_terms_agreement_ver",
|
|
241
|
+
* type: "STRING"
|
|
243
242
|
* },
|
|
244
243
|
* {
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
* "
|
|
244
|
+
* isRequired: false,
|
|
245
|
+
* name: "agreement_number",
|
|
246
|
+
* type: "STRING"
|
|
248
247
|
* },
|
|
249
248
|
* {
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
* "
|
|
249
|
+
* isRequired: false,
|
|
250
|
+
* name: "source",
|
|
251
|
+
* type: "STRING"
|
|
253
252
|
* },
|
|
254
253
|
* {
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
* "
|
|
254
|
+
* isRequired: false,
|
|
255
|
+
* name: "source_update_dttm",
|
|
256
|
+
* type: "TIMESTAMP"
|
|
258
257
|
* },
|
|
259
258
|
* {
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
* "
|
|
259
|
+
* isRequired: false,
|
|
260
|
+
* name: "source_event_id",
|
|
261
|
+
* type: "STRING"
|
|
263
262
|
* },
|
|
264
263
|
* {
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
* "
|
|
264
|
+
* isRequired: false,
|
|
265
|
+
* name: "db_creation_dttm",
|
|
266
|
+
* type: "TIMESTAMP"
|
|
268
267
|
* },
|
|
269
268
|
* {
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
* "
|
|
269
|
+
* isRequired: false,
|
|
270
|
+
* name: "db_updation_dttm",
|
|
271
|
+
* type: "TIMESTAMP"
|
|
273
272
|
* }
|
|
274
|
-
* ]
|
|
273
|
+
* ],
|
|
274
|
+
* name: "InboundOrder"
|
|
275
275
|
* }
|
|
276
276
|
* }
|
|
277
277
|
* }
|
|
278
278
|
* *\/
|
|
279
|
-
* // example id: example-1
|
|
280
279
|
* ```
|
|
281
280
|
*
|
|
282
281
|
* @example Update description of an existing custom dataset
|
|
283
282
|
* ```javascript
|
|
284
283
|
* //
|
|
285
284
|
* const input = {
|
|
286
|
-
*
|
|
287
|
-
*
|
|
288
|
-
*
|
|
289
|
-
*
|
|
285
|
+
* description: "This is an updated custom dataset",
|
|
286
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
287
|
+
* name: "my_dataset",
|
|
288
|
+
* namespace: "default"
|
|
290
289
|
* };
|
|
291
290
|
* const command = new UpdateDataLakeDatasetCommand(input);
|
|
292
291
|
* const response = await client.send(command);
|
|
293
|
-
* /* response
|
|
292
|
+
* /* response is
|
|
294
293
|
* {
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
* "
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
* "
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
* "fields": [
|
|
294
|
+
* dataset: {
|
|
295
|
+
* arn: "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/default/datasets/my_dataset",
|
|
296
|
+
* createdTime: 1.727116807751E9,
|
|
297
|
+
* description: "This is an updated custom dataset",
|
|
298
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
299
|
+
* lastModifiedTime: 1.727117453568E9,
|
|
300
|
+
* name: "my_dataset",
|
|
301
|
+
* namespace: "default",
|
|
302
|
+
* schema: {
|
|
303
|
+
* fields: [
|
|
306
304
|
* {
|
|
307
|
-
*
|
|
308
|
-
*
|
|
309
|
-
* "
|
|
305
|
+
* isRequired: true,
|
|
306
|
+
* name: "id",
|
|
307
|
+
* type: "INT"
|
|
310
308
|
* },
|
|
311
309
|
* {
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
* "
|
|
310
|
+
* isRequired: true,
|
|
311
|
+
* name: "description",
|
|
312
|
+
* type: "STRING"
|
|
315
313
|
* },
|
|
316
314
|
* {
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
* "
|
|
315
|
+
* isRequired: false,
|
|
316
|
+
* name: "price",
|
|
317
|
+
* type: "DOUBLE"
|
|
320
318
|
* },
|
|
321
319
|
* {
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
* "
|
|
320
|
+
* isRequired: false,
|
|
321
|
+
* name: "creation_time",
|
|
322
|
+
* type: "TIMESTAMP"
|
|
325
323
|
* }
|
|
326
|
-
* ]
|
|
324
|
+
* ],
|
|
325
|
+
* name: "MyDataset"
|
|
327
326
|
* }
|
|
328
327
|
* }
|
|
329
328
|
* }
|
|
330
329
|
* *\/
|
|
331
|
-
* // example id: example-2
|
|
332
330
|
* ```
|
|
333
331
|
*
|
|
332
|
+
* @public
|
|
334
333
|
*/
|
|
335
334
|
export declare class UpdateDataLakeDatasetCommand extends UpdateDataLakeDatasetCommand_base {
|
|
336
335
|
/** @internal type navigation helper, not in runtime. */
|