@aws-sdk/client-supplychain 3.774.0 → 3.777.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/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/SupplyChainClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- 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 +33 -33
|
@@ -87,60 +87,59 @@ declare const GetInstanceCommand_base: {
|
|
|
87
87
|
* @throws {@link SupplyChainServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
*
|
|
91
91
|
* @example Successful GetInstance request
|
|
92
92
|
* ```javascript
|
|
93
93
|
* //
|
|
94
94
|
* const input = {
|
|
95
|
-
*
|
|
95
|
+
* instanceId: "9e193580-7cc5-45f7-9609-c43ba0ada793"
|
|
96
96
|
* };
|
|
97
97
|
* const command = new GetInstanceCommand(input);
|
|
98
98
|
* const response = await client.send(command);
|
|
99
|
-
* /* response
|
|
99
|
+
* /* response is
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
101
|
+
* instance: {
|
|
102
|
+
* awsAccountId: "123456789012",
|
|
103
|
+
* createdTime: 172615383136,
|
|
104
|
+
* instanceDescription: "example instance description",
|
|
105
|
+
* instanceId: "9e193580-7cc5-45f7-9609-c43ba0ada793",
|
|
106
|
+
* instanceName: "example instance name",
|
|
107
|
+
* kmsKeyArn: "arn:aws:kms:us-west-2:123456789012:key/b14ffc39-b7d4-45ab-991a-6257a7f0d24d",
|
|
108
|
+
* lastModifiedTime: 172615383136,
|
|
109
|
+
* state: "Active",
|
|
110
|
+
* versionNumber: 2.0
|
|
111
111
|
* }
|
|
112
112
|
* }
|
|
113
113
|
* *\/
|
|
114
|
-
* // example id: example-1
|
|
115
114
|
* ```
|
|
116
115
|
*
|
|
117
116
|
* @example Successful GetInstance request with error message
|
|
118
117
|
* ```javascript
|
|
119
118
|
* //
|
|
120
119
|
* const input = {
|
|
121
|
-
*
|
|
120
|
+
* instanceId: "9e193580-7cc5-45f7-9609-c43ba0ada793"
|
|
122
121
|
* };
|
|
123
122
|
* const command = new GetInstanceCommand(input);
|
|
124
123
|
* const response = await client.send(command);
|
|
125
|
-
* /* response
|
|
124
|
+
* /* response is
|
|
126
125
|
* {
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
126
|
+
* instance: {
|
|
127
|
+
* awsAccountId: "123456789012",
|
|
128
|
+
* createdTime: 172615383136,
|
|
129
|
+
* errorMessage: "Access denied when attempting to create an S3 bucket. Please correct your IAM policy and try again.",
|
|
130
|
+
* instanceDescription: "example instance description",
|
|
131
|
+
* instanceId: "9e193580-7cc5-45f7-9609-c43ba0ada793",
|
|
132
|
+
* instanceName: "example instance name",
|
|
133
|
+
* kmsKeyArn: "arn:aws:kms:us-west-2:123456789012:key/b14ffc39-b7d4-45ab-991a-6257a7f0d24d",
|
|
134
|
+
* lastModifiedTime: 172615383136,
|
|
135
|
+
* state: "CreateFailed",
|
|
136
|
+
* versionNumber: 2.0
|
|
138
137
|
* }
|
|
139
138
|
* }
|
|
140
139
|
* *\/
|
|
141
|
-
* // example id: example-2
|
|
142
140
|
* ```
|
|
143
141
|
*
|
|
142
|
+
* @public
|
|
144
143
|
*/
|
|
145
144
|
export declare class GetInstanceCommand extends GetInstanceCommand_base {
|
|
146
145
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -128,86 +128,86 @@ declare const ListDataIntegrationFlowsCommand_base: {
|
|
|
128
128
|
* @throws {@link SupplyChainServiceException}
|
|
129
129
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
130
130
|
*
|
|
131
|
-
*
|
|
131
|
+
*
|
|
132
132
|
* @example Successful ListDataIntegrationFlow
|
|
133
133
|
* ```javascript
|
|
134
134
|
* //
|
|
135
135
|
* const input = {
|
|
136
|
-
*
|
|
136
|
+
* instanceId: "8850c54e-e187-4fa7-89d4-6370f165174d"
|
|
137
137
|
* };
|
|
138
138
|
* const command = new ListDataIntegrationFlowsCommand(input);
|
|
139
139
|
* const response = await client.send(command);
|
|
140
|
-
* /* response
|
|
140
|
+
* /* response is
|
|
141
141
|
* {
|
|
142
|
-
*
|
|
142
|
+
* flows: [
|
|
143
143
|
* {
|
|
144
|
-
*
|
|
145
|
-
* "
|
|
146
|
-
*
|
|
147
|
-
* "
|
|
148
|
-
*
|
|
144
|
+
* createdTime: 1.72495640044E9,
|
|
145
|
+
* instanceId: "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
146
|
+
* lastModifiedTime: 1.72495640044E9,
|
|
147
|
+
* name: "testStagingFlow",
|
|
148
|
+
* sources: [
|
|
149
149
|
* {
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
150
|
+
* s3Source: {
|
|
151
|
+
* bucketName: "aws-supply-chain-data-b8c7bb28-a576-4334-b481-6d6e8e47371f",
|
|
152
|
+
* prefix: "example-prefix"
|
|
153
153
|
* },
|
|
154
|
-
*
|
|
155
|
-
*
|
|
154
|
+
* sourceName: "testSourceName",
|
|
155
|
+
* sourceType: "S3"
|
|
156
156
|
* }
|
|
157
157
|
* ],
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
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
161
|
* },
|
|
162
|
-
*
|
|
162
|
+
* targetType: "DATASET"
|
|
163
163
|
* },
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
164
|
+
* transformation: {
|
|
165
|
+
* sqlTransformation: {
|
|
166
|
+
* query: "SELECT * FROM testSourceName"
|
|
167
167
|
* },
|
|
168
|
-
*
|
|
168
|
+
* transformationType: "SQL"
|
|
169
169
|
* }
|
|
170
170
|
* },
|
|
171
171
|
* {
|
|
172
|
-
*
|
|
173
|
-
* "
|
|
174
|
-
*
|
|
175
|
-
* "
|
|
176
|
-
*
|
|
172
|
+
* createdTime: 1.723576350688E10,
|
|
173
|
+
* instanceId: "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
174
|
+
* lastModifiedTime: 1.723576350688E10,
|
|
175
|
+
* name: "trading-partner",
|
|
176
|
+
* sources: [
|
|
177
177
|
* {
|
|
178
|
-
*
|
|
179
|
-
*
|
|
178
|
+
* datasetSource: {
|
|
179
|
+
* datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset1"
|
|
180
180
|
* },
|
|
181
|
-
*
|
|
182
|
-
*
|
|
181
|
+
* sourceName: "testSourceName1",
|
|
182
|
+
* sourceType: "DATASET"
|
|
183
183
|
* },
|
|
184
184
|
* {
|
|
185
|
-
*
|
|
186
|
-
*
|
|
185
|
+
* datasetSource: {
|
|
186
|
+
* datasetIdentifier: "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset2"
|
|
187
187
|
* },
|
|
188
|
-
*
|
|
189
|
-
*
|
|
188
|
+
* sourceName: "testSourceName2",
|
|
189
|
+
* sourceType: "DATASET"
|
|
190
190
|
* }
|
|
191
191
|
* ],
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
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
195
|
* },
|
|
196
|
-
*
|
|
196
|
+
* targetType: "DATASET"
|
|
197
197
|
* },
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
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
201
|
* },
|
|
202
|
-
*
|
|
202
|
+
* transformationType: "SQL"
|
|
203
203
|
* }
|
|
204
204
|
* }
|
|
205
205
|
* ]
|
|
206
206
|
* }
|
|
207
207
|
* *\/
|
|
208
|
-
* // example id: example-1
|
|
209
208
|
* ```
|
|
210
209
|
*
|
|
210
|
+
* @public
|
|
211
211
|
*/
|
|
212
212
|
export declare class ListDataIntegrationFlowsCommand extends ListDataIntegrationFlowsCommand_base {
|
|
213
213
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -99,268 +99,267 @@ declare const ListDataLakeDatasetsCommand_base: {
|
|
|
99
99
|
* @throws {@link SupplyChainServiceException}
|
|
100
100
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
101
101
|
*
|
|
102
|
-
*
|
|
102
|
+
*
|
|
103
103
|
* @example List AWS Supply Chain datasets
|
|
104
104
|
* ```javascript
|
|
105
105
|
* //
|
|
106
106
|
* const input = {
|
|
107
|
-
*
|
|
108
|
-
*
|
|
107
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
108
|
+
* namespace: "asc"
|
|
109
109
|
* };
|
|
110
110
|
* const command = new ListDataLakeDatasetsCommand(input);
|
|
111
111
|
* const response = await client.send(command);
|
|
112
|
-
* /* response
|
|
112
|
+
* /* response is
|
|
113
113
|
* {
|
|
114
|
-
*
|
|
114
|
+
* datasets: [
|
|
115
115
|
* {
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
* "
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
* "
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
* "fields": [
|
|
116
|
+
* arn: "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/asc/datasets/inbound_order",
|
|
117
|
+
* createdTime: 1.727116807751E9,
|
|
118
|
+
* description: "This is an AWS Supply Chain inbound order dataset",
|
|
119
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
120
|
+
* lastModifiedTime: 1.727116807751E9,
|
|
121
|
+
* name: "inbound_order",
|
|
122
|
+
* namespace: "asc",
|
|
123
|
+
* schema: {
|
|
124
|
+
* fields: [
|
|
126
125
|
* {
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* "
|
|
126
|
+
* isRequired: true,
|
|
127
|
+
* name: "id",
|
|
128
|
+
* type: "STRING"
|
|
130
129
|
* },
|
|
131
130
|
* {
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
* "
|
|
131
|
+
* isRequired: true,
|
|
132
|
+
* name: "tpartner_id",
|
|
133
|
+
* type: "STRING"
|
|
135
134
|
* },
|
|
136
135
|
* {
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
* "
|
|
136
|
+
* isRequired: true,
|
|
137
|
+
* name: "connection_id",
|
|
138
|
+
* type: "STRING"
|
|
140
139
|
* },
|
|
141
140
|
* {
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
* "
|
|
141
|
+
* isRequired: false,
|
|
142
|
+
* name: "order_type",
|
|
143
|
+
* type: "STRING"
|
|
145
144
|
* },
|
|
146
145
|
* {
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
* "
|
|
146
|
+
* isRequired: false,
|
|
147
|
+
* name: "order_status",
|
|
148
|
+
* type: "STRING"
|
|
150
149
|
* },
|
|
151
150
|
* {
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
* "
|
|
151
|
+
* isRequired: false,
|
|
152
|
+
* name: "inbound_order_url",
|
|
153
|
+
* type: "STRING"
|
|
155
154
|
* },
|
|
156
155
|
* {
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
* "
|
|
156
|
+
* isRequired: false,
|
|
157
|
+
* name: "order_creation_date",
|
|
158
|
+
* type: "TIMESTAMP"
|
|
160
159
|
* },
|
|
161
160
|
* {
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
* "
|
|
161
|
+
* isRequired: false,
|
|
162
|
+
* name: "company_id",
|
|
163
|
+
* type: "STRING"
|
|
165
164
|
* },
|
|
166
165
|
* {
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
* "
|
|
166
|
+
* isRequired: false,
|
|
167
|
+
* name: "to_site_id",
|
|
168
|
+
* type: "STRING"
|
|
170
169
|
* },
|
|
171
170
|
* {
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* "
|
|
171
|
+
* isRequired: false,
|
|
172
|
+
* name: "order_currency_uom",
|
|
173
|
+
* type: "STRING"
|
|
175
174
|
* },
|
|
176
175
|
* {
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* "
|
|
176
|
+
* isRequired: false,
|
|
177
|
+
* name: "vendor_currency_uom",
|
|
178
|
+
* type: "STRING"
|
|
180
179
|
* },
|
|
181
180
|
* {
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
* "
|
|
181
|
+
* isRequired: false,
|
|
182
|
+
* name: "exchange_rate",
|
|
183
|
+
* type: "DOUBLE"
|
|
185
184
|
* },
|
|
186
185
|
* {
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* "
|
|
186
|
+
* isRequired: false,
|
|
187
|
+
* name: "exchange_rate_date",
|
|
188
|
+
* type: "TIMESTAMP"
|
|
190
189
|
* },
|
|
191
190
|
* {
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
* "
|
|
191
|
+
* isRequired: false,
|
|
192
|
+
* name: "incoterm",
|
|
193
|
+
* type: "STRING"
|
|
195
194
|
* },
|
|
196
195
|
* {
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
* "
|
|
196
|
+
* isRequired: false,
|
|
197
|
+
* name: "incoterm2",
|
|
198
|
+
* type: "STRING"
|
|
200
199
|
* },
|
|
201
200
|
* {
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
* "
|
|
201
|
+
* isRequired: false,
|
|
202
|
+
* name: "incoterm_location_1",
|
|
203
|
+
* type: "STRING"
|
|
205
204
|
* },
|
|
206
205
|
* {
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
* "
|
|
206
|
+
* isRequired: false,
|
|
207
|
+
* name: "incoterm_location_2",
|
|
208
|
+
* type: "STRING"
|
|
210
209
|
* },
|
|
211
210
|
* {
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
* "
|
|
211
|
+
* isRequired: false,
|
|
212
|
+
* name: "submitted_date",
|
|
213
|
+
* type: "TIMESTAMP"
|
|
215
214
|
* },
|
|
216
215
|
* {
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
* "
|
|
216
|
+
* isRequired: false,
|
|
217
|
+
* name: "agreement_start_date",
|
|
218
|
+
* type: "TIMESTAMP"
|
|
220
219
|
* },
|
|
221
220
|
* {
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
* "
|
|
221
|
+
* isRequired: false,
|
|
222
|
+
* name: "agreement_end_date",
|
|
223
|
+
* type: "TIMESTAMP"
|
|
225
224
|
* },
|
|
226
225
|
* {
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
* "
|
|
226
|
+
* isRequired: false,
|
|
227
|
+
* name: "shipping_instr_code",
|
|
228
|
+
* type: "STRING"
|
|
230
229
|
* },
|
|
231
230
|
* {
|
|
232
|
-
*
|
|
233
|
-
*
|
|
234
|
-
* "
|
|
231
|
+
* isRequired: false,
|
|
232
|
+
* name: "payment_terms_code",
|
|
233
|
+
* type: "STRING"
|
|
235
234
|
* },
|
|
236
235
|
* {
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
* "
|
|
236
|
+
* isRequired: false,
|
|
237
|
+
* name: "std_terms_agreement",
|
|
238
|
+
* type: "STRING"
|
|
240
239
|
* },
|
|
241
240
|
* {
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
* "
|
|
241
|
+
* isRequired: false,
|
|
242
|
+
* name: "std_terms_agreement_ver",
|
|
243
|
+
* type: "STRING"
|
|
245
244
|
* },
|
|
246
245
|
* {
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
* "
|
|
246
|
+
* isRequired: false,
|
|
247
|
+
* name: "agreement_number",
|
|
248
|
+
* type: "STRING"
|
|
250
249
|
* },
|
|
251
250
|
* {
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
* "
|
|
251
|
+
* isRequired: false,
|
|
252
|
+
* name: "source",
|
|
253
|
+
* type: "STRING"
|
|
255
254
|
* },
|
|
256
255
|
* {
|
|
257
|
-
*
|
|
258
|
-
*
|
|
259
|
-
* "
|
|
256
|
+
* isRequired: false,
|
|
257
|
+
* name: "source_update_dttm",
|
|
258
|
+
* type: "TIMESTAMP"
|
|
260
259
|
* },
|
|
261
260
|
* {
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
* "
|
|
261
|
+
* isRequired: false,
|
|
262
|
+
* name: "source_event_id",
|
|
263
|
+
* type: "STRING"
|
|
265
264
|
* },
|
|
266
265
|
* {
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
* "
|
|
266
|
+
* isRequired: false,
|
|
267
|
+
* name: "db_creation_dttm",
|
|
268
|
+
* type: "TIMESTAMP"
|
|
270
269
|
* },
|
|
271
270
|
* {
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
* "
|
|
271
|
+
* isRequired: false,
|
|
272
|
+
* name: "db_updation_dttm",
|
|
273
|
+
* type: "TIMESTAMP"
|
|
275
274
|
* }
|
|
276
|
-
* ]
|
|
275
|
+
* ],
|
|
276
|
+
* name: "InboundOrder"
|
|
277
277
|
* }
|
|
278
278
|
* }
|
|
279
279
|
* ]
|
|
280
280
|
* }
|
|
281
281
|
* *\/
|
|
282
|
-
* // example id: example-1
|
|
283
282
|
* ```
|
|
284
283
|
*
|
|
285
284
|
* @example List custom datasets using pagination
|
|
286
285
|
* ```javascript
|
|
287
286
|
* //
|
|
288
287
|
* const input = {
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
*
|
|
288
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
289
|
+
* maxResults: 2,
|
|
290
|
+
* namespace: "default",
|
|
291
|
+
* nextToken: "next_token_returned_from_previous_list_request"
|
|
293
292
|
* };
|
|
294
293
|
* const command = new ListDataLakeDatasetsCommand(input);
|
|
295
294
|
* const response = await client.send(command);
|
|
296
|
-
* /* response
|
|
295
|
+
* /* response is
|
|
297
296
|
* {
|
|
298
|
-
*
|
|
297
|
+
* datasets: [
|
|
299
298
|
* {
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
* "
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
* "
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
*
|
|
309
|
-
* "fields": [
|
|
299
|
+
* arn: "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/default/datasets/my_dataset",
|
|
300
|
+
* createdTime: 1.727116807751E9,
|
|
301
|
+
* description: "This is a custom dataset",
|
|
302
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
303
|
+
* lastModifiedTime: 1.727116807751E9,
|
|
304
|
+
* name: "my_dataset",
|
|
305
|
+
* namespace: "default",
|
|
306
|
+
* schema: {
|
|
307
|
+
* fields: [
|
|
310
308
|
* {
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
* "
|
|
309
|
+
* isRequired: true,
|
|
310
|
+
* name: "id",
|
|
311
|
+
* type: "INT"
|
|
314
312
|
* },
|
|
315
313
|
* {
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
* "
|
|
314
|
+
* isRequired: true,
|
|
315
|
+
* name: "description",
|
|
316
|
+
* type: "STRING"
|
|
319
317
|
* },
|
|
320
318
|
* {
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
* "
|
|
319
|
+
* isRequired: false,
|
|
320
|
+
* name: "price",
|
|
321
|
+
* type: "DOUBLE"
|
|
324
322
|
* },
|
|
325
323
|
* {
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
* "
|
|
324
|
+
* isRequired: false,
|
|
325
|
+
* name: "creation_time",
|
|
326
|
+
* type: "TIMESTAMP"
|
|
329
327
|
* }
|
|
330
|
-
* ]
|
|
328
|
+
* ],
|
|
329
|
+
* name: "MyDataset"
|
|
331
330
|
* }
|
|
332
331
|
* },
|
|
333
332
|
* {
|
|
334
|
-
*
|
|
335
|
-
*
|
|
336
|
-
* "
|
|
337
|
-
*
|
|
338
|
-
*
|
|
339
|
-
* "
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
*
|
|
343
|
-
*
|
|
344
|
-
*
|
|
345
|
-
*
|
|
346
|
-
*
|
|
347
|
-
*
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
*
|
|
351
|
-
*
|
|
352
|
-
* "isRequired": true
|
|
333
|
+
* arn: "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/default/datasets/my_dataset_2",
|
|
334
|
+
* createdTime: 1.727116907751E9,
|
|
335
|
+
* description: "This is a custom dataset 2",
|
|
336
|
+
* instanceId: "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
337
|
+
* lastModifiedTime: 1.727116907751E9,
|
|
338
|
+
* name: "my_dataset_2",
|
|
339
|
+
* namespace: "default",
|
|
340
|
+
* schema: {
|
|
341
|
+
* fields: [
|
|
342
|
+
* {
|
|
343
|
+
* isRequired: true,
|
|
344
|
+
* name: "id",
|
|
345
|
+
* type: "INT"
|
|
346
|
+
* },
|
|
347
|
+
* {
|
|
348
|
+
* isRequired: true,
|
|
349
|
+
* name: "description",
|
|
350
|
+
* type: "STRING"
|
|
353
351
|
* }
|
|
354
|
-
* ]
|
|
352
|
+
* ],
|
|
353
|
+
* name: "MyDataset2"
|
|
355
354
|
* }
|
|
356
355
|
* }
|
|
357
356
|
* ],
|
|
358
|
-
*
|
|
357
|
+
* nextToken: "next_token_for_next_list_request"
|
|
359
358
|
* }
|
|
360
359
|
* *\/
|
|
361
|
-
* // example id: example-2
|
|
362
360
|
* ```
|
|
363
361
|
*
|
|
362
|
+
* @public
|
|
364
363
|
*/
|
|
365
364
|
export declare class ListDataLakeDatasetsCommand extends ListDataLakeDatasetsCommand_base {
|
|
366
365
|
/** @internal type navigation helper, not in runtime. */
|