@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
|
@@ -168,6 +168,150 @@ declare const UpdateDataIntegrationFlowCommand_base: {
|
|
|
168
168
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
169
169
|
*
|
|
170
170
|
* @public
|
|
171
|
+
* @example Successful UpdateDataIntegrationFlow for s3 to dataset flow to update SQL transformation
|
|
172
|
+
* ```javascript
|
|
173
|
+
* //
|
|
174
|
+
* const input = {
|
|
175
|
+
* "name": "testStagingFlow",
|
|
176
|
+
* "instanceId": "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
177
|
+
* "sources": [
|
|
178
|
+
* {
|
|
179
|
+
* "s3Source": {
|
|
180
|
+
* "bucketName": "aws-supply-chain-data-b8c7bb28-a576-4334-b481-6d6e8e47371f",
|
|
181
|
+
* "prefix": "example-prefix"
|
|
182
|
+
* },
|
|
183
|
+
* "sourceName": "testSourceName",
|
|
184
|
+
* "sourceType": "S3"
|
|
185
|
+
* }
|
|
186
|
+
* ],
|
|
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
|
+
* },
|
|
191
|
+
* "targetType": "DATASET"
|
|
192
|
+
* },
|
|
193
|
+
* "transformation": {
|
|
194
|
+
* "sqlTransformation": {
|
|
195
|
+
* "query": "SELECT connection_id, bukrs AS id, txtmd AS description FROM testSourceName WHERE langu = 'E'"
|
|
196
|
+
* },
|
|
197
|
+
* "transformationType": "SQL"
|
|
198
|
+
* }
|
|
199
|
+
* };
|
|
200
|
+
* const command = new UpdateDataIntegrationFlowCommand(input);
|
|
201
|
+
* const response = await client.send(command);
|
|
202
|
+
* /* response ==
|
|
203
|
+
* {
|
|
204
|
+
* "flow": {
|
|
205
|
+
* "name": "testStagingFlow",
|
|
206
|
+
* "createdTime": 1724956400.44,
|
|
207
|
+
* "instanceId": "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
208
|
+
* "lastModifiedTime": 1732456405.77,
|
|
209
|
+
* "sources": [
|
|
210
|
+
* {
|
|
211
|
+
* "s3Source": {
|
|
212
|
+
* "bucketName": "aws-supply-chain-data-b8c7bb28-a576-4334-b481-6d6e8e47371f",
|
|
213
|
+
* "prefix": "example-prefix"
|
|
214
|
+
* },
|
|
215
|
+
* "sourceName": "testSourceName",
|
|
216
|
+
* "sourceType": "S3"
|
|
217
|
+
* }
|
|
218
|
+
* ],
|
|
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
|
+
* },
|
|
223
|
+
* "targetType": "DATASET"
|
|
224
|
+
* },
|
|
225
|
+
* "transformation": {
|
|
226
|
+
* "sqlTransformation": {
|
|
227
|
+
* "query": "SELECT connection_id, bukrs AS id, txtmd AS description FROM testSourceName WHERE langu = 'E'"
|
|
228
|
+
* },
|
|
229
|
+
* "transformationType": "SQL"
|
|
230
|
+
* }
|
|
231
|
+
* }
|
|
232
|
+
* }
|
|
233
|
+
* *\/
|
|
234
|
+
* // example id: example-1
|
|
235
|
+
* ```
|
|
236
|
+
*
|
|
237
|
+
* @example Successful UpdateDataIntegrationFlow for dataset to dataset flow to update sources
|
|
238
|
+
* ```javascript
|
|
239
|
+
* //
|
|
240
|
+
* const input = {
|
|
241
|
+
* "name": "trading-partner",
|
|
242
|
+
* "instanceId": "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
243
|
+
* "sources": [
|
|
244
|
+
* {
|
|
245
|
+
* "datasetSource": {
|
|
246
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset1"
|
|
247
|
+
* },
|
|
248
|
+
* "sourceName": "testSourceName1",
|
|
249
|
+
* "sourceType": "DATASET"
|
|
250
|
+
* },
|
|
251
|
+
* {
|
|
252
|
+
* "datasetSource": {
|
|
253
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset2_updated"
|
|
254
|
+
* },
|
|
255
|
+
* "sourceName": "testSourceName2",
|
|
256
|
+
* "sourceType": "DATASET"
|
|
257
|
+
* }
|
|
258
|
+
* ],
|
|
259
|
+
* "target": {
|
|
260
|
+
* "datasetTarget": {
|
|
261
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner"
|
|
262
|
+
* },
|
|
263
|
+
* "targetType": "DATASET"
|
|
264
|
+
* },
|
|
265
|
+
* "transformation": {
|
|
266
|
+
* "sqlTransformation": {
|
|
267
|
+
* "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
|
+
* },
|
|
269
|
+
* "transformationType": "SQL"
|
|
270
|
+
* }
|
|
271
|
+
* };
|
|
272
|
+
* const command = new UpdateDataIntegrationFlowCommand(input);
|
|
273
|
+
* const response = await client.send(command);
|
|
274
|
+
* /* response ==
|
|
275
|
+
* {
|
|
276
|
+
* "flow": {
|
|
277
|
+
* "name": "trading-partner",
|
|
278
|
+
* "createdTime": 1724956400.44,
|
|
279
|
+
* "instanceId": "8850c54e-e187-4fa7-89d4-6370f165174d",
|
|
280
|
+
* "lastModifiedTime": 1732456405.77,
|
|
281
|
+
* "sources": [
|
|
282
|
+
* {
|
|
283
|
+
* "datasetSource": {
|
|
284
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset1"
|
|
285
|
+
* },
|
|
286
|
+
* "sourceName": "testSourceName1",
|
|
287
|
+
* "sourceType": "DATASET"
|
|
288
|
+
* },
|
|
289
|
+
* {
|
|
290
|
+
* "datasetSource": {
|
|
291
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/default/datasets/my_staging_dataset2_updated"
|
|
292
|
+
* },
|
|
293
|
+
* "sourceName": "testSourceName2",
|
|
294
|
+
* "sourceType": "DATASET"
|
|
295
|
+
* }
|
|
296
|
+
* ],
|
|
297
|
+
* "target": {
|
|
298
|
+
* "datasetTarget": {
|
|
299
|
+
* "datasetIdentifier": "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/namespaces/asc/datasets/trading_partner"
|
|
300
|
+
* },
|
|
301
|
+
* "targetType": "DATASET"
|
|
302
|
+
* },
|
|
303
|
+
* "transformation": {
|
|
304
|
+
* "sqlTransformation": {
|
|
305
|
+
* "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
|
+
* },
|
|
307
|
+
* "transformationType": "SQL"
|
|
308
|
+
* }
|
|
309
|
+
* }
|
|
310
|
+
* }
|
|
311
|
+
* *\/
|
|
312
|
+
* // example id: example-2
|
|
313
|
+
* ```
|
|
314
|
+
*
|
|
171
315
|
*/
|
|
172
316
|
export declare class UpdateDataIntegrationFlowCommand extends UpdateDataIntegrationFlowCommand_base {
|
|
173
317
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -97,6 +97,240 @@ declare const UpdateDataLakeDatasetCommand_base: {
|
|
|
97
97
|
* <p>Base exception class for all service exceptions from SupplyChain service.</p>
|
|
98
98
|
*
|
|
99
99
|
* @public
|
|
100
|
+
* @example Update description of an existing AWS Supply Chain inbound order dataset
|
|
101
|
+
* ```javascript
|
|
102
|
+
* //
|
|
103
|
+
* const input = {
|
|
104
|
+
* "name": "inbound_order",
|
|
105
|
+
* "description": "This is an updated AWS Supply Chain inbound order dataset",
|
|
106
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
107
|
+
* "namespace": "asc"
|
|
108
|
+
* };
|
|
109
|
+
* const command = new UpdateDataLakeDatasetCommand(input);
|
|
110
|
+
* const response = await client.send(command);
|
|
111
|
+
* /* response ==
|
|
112
|
+
* {
|
|
113
|
+
* "dataset": {
|
|
114
|
+
* "name": "inbound_order",
|
|
115
|
+
* "arn": "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/asc/datasets/inbound_order",
|
|
116
|
+
* "createdTime": 1727116807.751,
|
|
117
|
+
* "description": "This is an updated AWS Supply Chain inbound order dataset",
|
|
118
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
119
|
+
* "lastModifiedTime": 1727117453.568,
|
|
120
|
+
* "namespace": "asc",
|
|
121
|
+
* "schema": {
|
|
122
|
+
* "name": "InboundOrder",
|
|
123
|
+
* "fields": [
|
|
124
|
+
* {
|
|
125
|
+
* "name": "id",
|
|
126
|
+
* "type": "STRING",
|
|
127
|
+
* "isRequired": true
|
|
128
|
+
* },
|
|
129
|
+
* {
|
|
130
|
+
* "name": "tpartner_id",
|
|
131
|
+
* "type": "STRING",
|
|
132
|
+
* "isRequired": true
|
|
133
|
+
* },
|
|
134
|
+
* {
|
|
135
|
+
* "name": "connection_id",
|
|
136
|
+
* "type": "STRING",
|
|
137
|
+
* "isRequired": true
|
|
138
|
+
* },
|
|
139
|
+
* {
|
|
140
|
+
* "name": "order_type",
|
|
141
|
+
* "type": "STRING",
|
|
142
|
+
* "isRequired": false
|
|
143
|
+
* },
|
|
144
|
+
* {
|
|
145
|
+
* "name": "order_status",
|
|
146
|
+
* "type": "STRING",
|
|
147
|
+
* "isRequired": false
|
|
148
|
+
* },
|
|
149
|
+
* {
|
|
150
|
+
* "name": "inbound_order_url",
|
|
151
|
+
* "type": "STRING",
|
|
152
|
+
* "isRequired": false
|
|
153
|
+
* },
|
|
154
|
+
* {
|
|
155
|
+
* "name": "order_creation_date",
|
|
156
|
+
* "type": "TIMESTAMP",
|
|
157
|
+
* "isRequired": false
|
|
158
|
+
* },
|
|
159
|
+
* {
|
|
160
|
+
* "name": "company_id",
|
|
161
|
+
* "type": "STRING",
|
|
162
|
+
* "isRequired": false
|
|
163
|
+
* },
|
|
164
|
+
* {
|
|
165
|
+
* "name": "to_site_id",
|
|
166
|
+
* "type": "STRING",
|
|
167
|
+
* "isRequired": false
|
|
168
|
+
* },
|
|
169
|
+
* {
|
|
170
|
+
* "name": "order_currency_uom",
|
|
171
|
+
* "type": "STRING",
|
|
172
|
+
* "isRequired": false
|
|
173
|
+
* },
|
|
174
|
+
* {
|
|
175
|
+
* "name": "vendor_currency_uom",
|
|
176
|
+
* "type": "STRING",
|
|
177
|
+
* "isRequired": false
|
|
178
|
+
* },
|
|
179
|
+
* {
|
|
180
|
+
* "name": "exchange_rate",
|
|
181
|
+
* "type": "DOUBLE",
|
|
182
|
+
* "isRequired": false
|
|
183
|
+
* },
|
|
184
|
+
* {
|
|
185
|
+
* "name": "exchange_rate_date",
|
|
186
|
+
* "type": "TIMESTAMP",
|
|
187
|
+
* "isRequired": false
|
|
188
|
+
* },
|
|
189
|
+
* {
|
|
190
|
+
* "name": "incoterm",
|
|
191
|
+
* "type": "STRING",
|
|
192
|
+
* "isRequired": false
|
|
193
|
+
* },
|
|
194
|
+
* {
|
|
195
|
+
* "name": "incoterm2",
|
|
196
|
+
* "type": "STRING",
|
|
197
|
+
* "isRequired": false
|
|
198
|
+
* },
|
|
199
|
+
* {
|
|
200
|
+
* "name": "incoterm_location_1",
|
|
201
|
+
* "type": "STRING",
|
|
202
|
+
* "isRequired": false
|
|
203
|
+
* },
|
|
204
|
+
* {
|
|
205
|
+
* "name": "incoterm_location_2",
|
|
206
|
+
* "type": "STRING",
|
|
207
|
+
* "isRequired": false
|
|
208
|
+
* },
|
|
209
|
+
* {
|
|
210
|
+
* "name": "submitted_date",
|
|
211
|
+
* "type": "TIMESTAMP",
|
|
212
|
+
* "isRequired": false
|
|
213
|
+
* },
|
|
214
|
+
* {
|
|
215
|
+
* "name": "agreement_start_date",
|
|
216
|
+
* "type": "TIMESTAMP",
|
|
217
|
+
* "isRequired": false
|
|
218
|
+
* },
|
|
219
|
+
* {
|
|
220
|
+
* "name": "agreement_end_date",
|
|
221
|
+
* "type": "TIMESTAMP",
|
|
222
|
+
* "isRequired": false
|
|
223
|
+
* },
|
|
224
|
+
* {
|
|
225
|
+
* "name": "shipping_instr_code",
|
|
226
|
+
* "type": "STRING",
|
|
227
|
+
* "isRequired": false
|
|
228
|
+
* },
|
|
229
|
+
* {
|
|
230
|
+
* "name": "payment_terms_code",
|
|
231
|
+
* "type": "STRING",
|
|
232
|
+
* "isRequired": false
|
|
233
|
+
* },
|
|
234
|
+
* {
|
|
235
|
+
* "name": "std_terms_agreement",
|
|
236
|
+
* "type": "STRING",
|
|
237
|
+
* "isRequired": false
|
|
238
|
+
* },
|
|
239
|
+
* {
|
|
240
|
+
* "name": "std_terms_agreement_ver",
|
|
241
|
+
* "type": "STRING",
|
|
242
|
+
* "isRequired": false
|
|
243
|
+
* },
|
|
244
|
+
* {
|
|
245
|
+
* "name": "agreement_number",
|
|
246
|
+
* "type": "STRING",
|
|
247
|
+
* "isRequired": false
|
|
248
|
+
* },
|
|
249
|
+
* {
|
|
250
|
+
* "name": "source",
|
|
251
|
+
* "type": "STRING",
|
|
252
|
+
* "isRequired": false
|
|
253
|
+
* },
|
|
254
|
+
* {
|
|
255
|
+
* "name": "source_update_dttm",
|
|
256
|
+
* "type": "TIMESTAMP",
|
|
257
|
+
* "isRequired": false
|
|
258
|
+
* },
|
|
259
|
+
* {
|
|
260
|
+
* "name": "source_event_id",
|
|
261
|
+
* "type": "STRING",
|
|
262
|
+
* "isRequired": false
|
|
263
|
+
* },
|
|
264
|
+
* {
|
|
265
|
+
* "name": "db_creation_dttm",
|
|
266
|
+
* "type": "TIMESTAMP",
|
|
267
|
+
* "isRequired": false
|
|
268
|
+
* },
|
|
269
|
+
* {
|
|
270
|
+
* "name": "db_updation_dttm",
|
|
271
|
+
* "type": "TIMESTAMP",
|
|
272
|
+
* "isRequired": false
|
|
273
|
+
* }
|
|
274
|
+
* ]
|
|
275
|
+
* }
|
|
276
|
+
* }
|
|
277
|
+
* }
|
|
278
|
+
* *\/
|
|
279
|
+
* // example id: example-1
|
|
280
|
+
* ```
|
|
281
|
+
*
|
|
282
|
+
* @example Update description of an existing custom dataset
|
|
283
|
+
* ```javascript
|
|
284
|
+
* //
|
|
285
|
+
* const input = {
|
|
286
|
+
* "name": "my_dataset",
|
|
287
|
+
* "description": "This is an updated custom dataset",
|
|
288
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
289
|
+
* "namespace": "default"
|
|
290
|
+
* };
|
|
291
|
+
* const command = new UpdateDataLakeDatasetCommand(input);
|
|
292
|
+
* const response = await client.send(command);
|
|
293
|
+
* /* response ==
|
|
294
|
+
* {
|
|
295
|
+
* "dataset": {
|
|
296
|
+
* "name": "my_dataset",
|
|
297
|
+
* "arn": "arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/default/datasets/my_dataset",
|
|
298
|
+
* "createdTime": 1727116807.751,
|
|
299
|
+
* "description": "This is an updated custom dataset",
|
|
300
|
+
* "instanceId": "1877dd20-dee9-4639-8e99-cb67acf21fe5",
|
|
301
|
+
* "lastModifiedTime": 1727117453.568,
|
|
302
|
+
* "namespace": "default",
|
|
303
|
+
* "schema": {
|
|
304
|
+
* "name": "MyDataset",
|
|
305
|
+
* "fields": [
|
|
306
|
+
* {
|
|
307
|
+
* "name": "id",
|
|
308
|
+
* "type": "INT",
|
|
309
|
+
* "isRequired": true
|
|
310
|
+
* },
|
|
311
|
+
* {
|
|
312
|
+
* "name": "description",
|
|
313
|
+
* "type": "STRING",
|
|
314
|
+
* "isRequired": true
|
|
315
|
+
* },
|
|
316
|
+
* {
|
|
317
|
+
* "name": "price",
|
|
318
|
+
* "type": "DOUBLE",
|
|
319
|
+
* "isRequired": false
|
|
320
|
+
* },
|
|
321
|
+
* {
|
|
322
|
+
* "name": "creation_time",
|
|
323
|
+
* "type": "TIMESTAMP",
|
|
324
|
+
* "isRequired": false
|
|
325
|
+
* }
|
|
326
|
+
* ]
|
|
327
|
+
* }
|
|
328
|
+
* }
|
|
329
|
+
* }
|
|
330
|
+
* *\/
|
|
331
|
+
* // example id: example-2
|
|
332
|
+
* ```
|
|
333
|
+
*
|
|
100
334
|
*/
|
|
101
335
|
export declare class UpdateDataLakeDatasetCommand extends UpdateDataLakeDatasetCommand_base {
|
|
102
336
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
11
|
-
defaultUserAgentProvider: import("@
|
|
11
|
+
defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
|
|
|
29
29
|
logger: import("@smithy/types").Logger;
|
|
30
30
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
32
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
33
34
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
34
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
|
|
11
|
-
defaultUserAgentProvider: import("@
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
14
|
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
@@ -17,6 +17,7 @@ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
20
21
|
apiVersion: string;
|
|
21
22
|
cacheMiddleware?: boolean | undefined;
|
|
22
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
-
defaultUserAgentProvider: import("@
|
|
23
|
+
defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
24
24
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
25
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -28,6 +28,7 @@ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
|
|
|
28
28
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
29
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
30
30
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
31
32
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
32
33
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
33
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
@@ -9,9 +9,9 @@ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
|
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
11
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
|
-
defaultUserAgentProvider:
|
|
13
|
-
import("@
|
|
14
|
-
>;
|
|
12
|
+
defaultUserAgentProvider: (
|
|
13
|
+
config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
14
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
15
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
17
17
|
requestHandler:
|
|
@@ -34,6 +34,10 @@ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
|
|
|
34
34
|
logger: import("@smithy/types").Logger;
|
|
35
35
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
36
36
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
+
userAgentAppId?:
|
|
38
|
+
| string
|
|
39
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
40
|
+
| undefined;
|
|
37
41
|
retryStrategy?:
|
|
38
42
|
| import("@smithy/types").RetryStrategy
|
|
39
43
|
| import("@smithy/types").RetryStrategyV2
|
|
@@ -13,9 +13,11 @@ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
|
|
|
13
13
|
) => import("@smithy/types").MemoizedProvider<
|
|
14
14
|
import("@smithy/types").AwsCredentialIdentity
|
|
15
15
|
>;
|
|
16
|
-
defaultUserAgentProvider:
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
defaultUserAgentProvider: (
|
|
17
|
+
config?:
|
|
18
|
+
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
19
|
+
| undefined
|
|
20
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
21
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
22
|
region: string | import("@smithy/types").Provider<string>;
|
|
21
23
|
requestHandler:
|
|
@@ -26,6 +28,7 @@ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
|
|
|
26
28
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
27
29
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
30
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
32
|
apiVersion: string;
|
|
30
33
|
cacheMiddleware?: boolean | undefined;
|
|
31
34
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -22,9 +22,9 @@ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
|
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
-
defaultUserAgentProvider:
|
|
26
|
-
import("@
|
|
27
|
-
>;
|
|
25
|
+
defaultUserAgentProvider: (
|
|
26
|
+
config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
27
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
28
28
|
credentialDefaultProvider: (
|
|
29
29
|
input: any
|
|
30
30
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
|
|
|
38
38
|
import("@smithy/smithy-client").DefaultsMode
|
|
39
39
|
>;
|
|
40
40
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
userAgentAppId?:
|
|
42
|
+
| string
|
|
43
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
44
|
+
| undefined;
|
|
41
45
|
retryStrategy?:
|
|
42
46
|
| import("@smithy/types").RetryStrategy
|
|
43
47
|
| import("@smithy/types").RetryStrategyV2
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-supplychain",
|
|
3
3
|
"description": "AWS SDK for JavaScript Supplychain Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.664.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-supplychain",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.2.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.3.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.664.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.664.0",
|
|
25
|
+
"@aws-sdk/core": "3.664.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.664.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.664.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.664.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.664.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.664.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.664.0",
|
|
32
|
+
"@aws-sdk/types": "3.664.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.664.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.664.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.664.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.9",
|
|
37
|
+
"@smithy/core": "^2.4.7",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.9",
|
|
39
|
+
"@smithy/hash-node": "^3.0.7",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.7",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.9",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.1.4",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.22",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.7",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.7",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.8",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.4",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.4",
|
|
49
|
+
"@smithy/smithy-client": "^3.3.6",
|
|
50
|
+
"@smithy/types": "^3.5.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.7",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.22",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.22",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.3",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.7",
|
|
59
|
+
"@smithy/util-retry": "^3.0.7",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2",
|
|
62
62
|
"uuid": "^9.0.1"
|