Skip to content

Commit 21c6b46

Browse files
author
awstools
committedApr 3, 2024
feat(client-datazone): This release supports the feature of dataQuality to enrich asset with dataQualityResult in Amazon DataZone.
1 parent b7817fd commit 21c6b46

27 files changed

+2492
-283
lines changed
 

‎clients/client-datazone/README.md

+32
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,14 @@ DeleteSubscriptionTarget
510510

511511
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/DeleteSubscriptionTargetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/DeleteSubscriptionTargetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/DeleteSubscriptionTargetCommandOutput/)
512512

513+
</details>
514+
<details>
515+
<summary>
516+
DeleteTimeSeriesDataPoints
517+
</summary>
518+
519+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/DeleteTimeSeriesDataPointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/DeleteTimeSeriesDataPointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/DeleteTimeSeriesDataPointsCommandOutput/)
520+
513521
</details>
514522
<details>
515523
<summary>
@@ -678,6 +686,14 @@ GetSubscriptionTarget
678686

679687
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/GetSubscriptionTargetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetSubscriptionTargetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetSubscriptionTargetCommandOutput/)
680688

689+
</details>
690+
<details>
691+
<summary>
692+
GetTimeSeriesDataPoint
693+
</summary>
694+
695+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/GetTimeSeriesDataPointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetTimeSeriesDataPointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetTimeSeriesDataPointCommandOutput/)
696+
681697
</details>
682698
<details>
683699
<summary>
@@ -830,6 +846,22 @@ ListTagsForResource
830846

831847
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/ListTagsForResourceCommandOutput/)
832848

849+
</details>
850+
<details>
851+
<summary>
852+
ListTimeSeriesDataPoints
853+
</summary>
854+
855+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/ListTimeSeriesDataPointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/ListTimeSeriesDataPointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/ListTimeSeriesDataPointsCommandOutput/)
856+
857+
</details>
858+
<details>
859+
<summary>
860+
PostTimeSeriesDataPoints
861+
</summary>
862+
863+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/PostTimeSeriesDataPointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/PostTimeSeriesDataPointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/PostTimeSeriesDataPointsCommandOutput/)
864+
833865
</details>
834866
<details>
835867
<summary>

‎clients/client-datazone/src/DataZone.ts

+92
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ import {
184184
DeleteSubscriptionTargetCommandInput,
185185
DeleteSubscriptionTargetCommandOutput,
186186
} from "./commands/DeleteSubscriptionTargetCommand";
187+
import {
188+
DeleteTimeSeriesDataPointsCommand,
189+
DeleteTimeSeriesDataPointsCommandInput,
190+
DeleteTimeSeriesDataPointsCommandOutput,
191+
} from "./commands/DeleteTimeSeriesDataPointsCommand";
187192
import { GetAssetCommand, GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
188193
import {
189194
GetAssetTypeCommand,
@@ -265,6 +270,11 @@ import {
265270
GetSubscriptionTargetCommandInput,
266271
GetSubscriptionTargetCommandOutput,
267272
} from "./commands/GetSubscriptionTargetCommand";
273+
import {
274+
GetTimeSeriesDataPointCommand,
275+
GetTimeSeriesDataPointCommandInput,
276+
GetTimeSeriesDataPointCommandOutput,
277+
} from "./commands/GetTimeSeriesDataPointCommand";
268278
import {
269279
GetUserProfileCommand,
270280
GetUserProfileCommandInput,
@@ -356,6 +366,16 @@ import {
356366
ListTagsForResourceCommandInput,
357367
ListTagsForResourceCommandOutput,
358368
} from "./commands/ListTagsForResourceCommand";
369+
import {
370+
ListTimeSeriesDataPointsCommand,
371+
ListTimeSeriesDataPointsCommandInput,
372+
ListTimeSeriesDataPointsCommandOutput,
373+
} from "./commands/ListTimeSeriesDataPointsCommand";
374+
import {
375+
PostTimeSeriesDataPointsCommand,
376+
PostTimeSeriesDataPointsCommandInput,
377+
PostTimeSeriesDataPointsCommandOutput,
378+
} from "./commands/PostTimeSeriesDataPointsCommand";
359379
import {
360380
PutEnvironmentBlueprintConfigurationCommand,
361381
PutEnvironmentBlueprintConfigurationCommandInput,
@@ -510,6 +530,7 @@ const commands = {
510530
DeleteSubscriptionGrantCommand,
511531
DeleteSubscriptionRequestCommand,
512532
DeleteSubscriptionTargetCommand,
533+
DeleteTimeSeriesDataPointsCommand,
513534
GetAssetCommand,
514535
GetAssetTypeCommand,
515536
GetDataSourceCommand,
@@ -531,6 +552,7 @@ const commands = {
531552
GetSubscriptionGrantCommand,
532553
GetSubscriptionRequestDetailsCommand,
533554
GetSubscriptionTargetCommand,
555+
GetTimeSeriesDataPointCommand,
534556
GetUserProfileCommand,
535557
ListAssetRevisionsCommand,
536558
ListDataSourceRunActivitiesCommand,
@@ -550,6 +572,8 @@ const commands = {
550572
ListSubscriptionsCommand,
551573
ListSubscriptionTargetsCommand,
552574
ListTagsForResourceCommand,
575+
ListTimeSeriesDataPointsCommand,
576+
PostTimeSeriesDataPointsCommand,
553577
PutEnvironmentBlueprintConfigurationCommand,
554578
RejectPredictionsCommand,
555579
RejectSubscriptionRequestCommand,
@@ -1164,6 +1188,23 @@ export interface DataZone {
11641188
cb: (err: any, data?: DeleteSubscriptionTargetCommandOutput) => void
11651189
): void;
11661190

1191+
/**
1192+
* @see {@link DeleteTimeSeriesDataPointsCommand}
1193+
*/
1194+
deleteTimeSeriesDataPoints(
1195+
args: DeleteTimeSeriesDataPointsCommandInput,
1196+
options?: __HttpHandlerOptions
1197+
): Promise<DeleteTimeSeriesDataPointsCommandOutput>;
1198+
deleteTimeSeriesDataPoints(
1199+
args: DeleteTimeSeriesDataPointsCommandInput,
1200+
cb: (err: any, data?: DeleteTimeSeriesDataPointsCommandOutput) => void
1201+
): void;
1202+
deleteTimeSeriesDataPoints(
1203+
args: DeleteTimeSeriesDataPointsCommandInput,
1204+
options: __HttpHandlerOptions,
1205+
cb: (err: any, data?: DeleteTimeSeriesDataPointsCommandOutput) => void
1206+
): void;
1207+
11671208
/**
11681209
* @see {@link GetAssetCommand}
11691210
*/
@@ -1461,6 +1502,23 @@ export interface DataZone {
14611502
cb: (err: any, data?: GetSubscriptionTargetCommandOutput) => void
14621503
): void;
14631504

1505+
/**
1506+
* @see {@link GetTimeSeriesDataPointCommand}
1507+
*/
1508+
getTimeSeriesDataPoint(
1509+
args: GetTimeSeriesDataPointCommandInput,
1510+
options?: __HttpHandlerOptions
1511+
): Promise<GetTimeSeriesDataPointCommandOutput>;
1512+
getTimeSeriesDataPoint(
1513+
args: GetTimeSeriesDataPointCommandInput,
1514+
cb: (err: any, data?: GetTimeSeriesDataPointCommandOutput) => void
1515+
): void;
1516+
getTimeSeriesDataPoint(
1517+
args: GetTimeSeriesDataPointCommandInput,
1518+
options: __HttpHandlerOptions,
1519+
cb: (err: any, data?: GetTimeSeriesDataPointCommandOutput) => void
1520+
): void;
1521+
14641522
/**
14651523
* @see {@link GetUserProfileCommand}
14661524
*/
@@ -1767,6 +1825,40 @@ export interface DataZone {
17671825
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
17681826
): void;
17691827

1828+
/**
1829+
* @see {@link ListTimeSeriesDataPointsCommand}
1830+
*/
1831+
listTimeSeriesDataPoints(
1832+
args: ListTimeSeriesDataPointsCommandInput,
1833+
options?: __HttpHandlerOptions
1834+
): Promise<ListTimeSeriesDataPointsCommandOutput>;
1835+
listTimeSeriesDataPoints(
1836+
args: ListTimeSeriesDataPointsCommandInput,
1837+
cb: (err: any, data?: ListTimeSeriesDataPointsCommandOutput) => void
1838+
): void;
1839+
listTimeSeriesDataPoints(
1840+
args: ListTimeSeriesDataPointsCommandInput,
1841+
options: __HttpHandlerOptions,
1842+
cb: (err: any, data?: ListTimeSeriesDataPointsCommandOutput) => void
1843+
): void;
1844+
1845+
/**
1846+
* @see {@link PostTimeSeriesDataPointsCommand}
1847+
*/
1848+
postTimeSeriesDataPoints(
1849+
args: PostTimeSeriesDataPointsCommandInput,
1850+
options?: __HttpHandlerOptions
1851+
): Promise<PostTimeSeriesDataPointsCommandOutput>;
1852+
postTimeSeriesDataPoints(
1853+
args: PostTimeSeriesDataPointsCommandInput,
1854+
cb: (err: any, data?: PostTimeSeriesDataPointsCommandOutput) => void
1855+
): void;
1856+
postTimeSeriesDataPoints(
1857+
args: PostTimeSeriesDataPointsCommandInput,
1858+
options: __HttpHandlerOptions,
1859+
cb: (err: any, data?: PostTimeSeriesDataPointsCommandOutput) => void
1860+
): void;
1861+
17701862
/**
17711863
* @see {@link PutEnvironmentBlueprintConfigurationCommand}
17721864
*/

‎clients/client-datazone/src/DataZoneClient.ts

+24
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ import {
136136
DeleteSubscriptionTargetCommandInput,
137137
DeleteSubscriptionTargetCommandOutput,
138138
} from "./commands/DeleteSubscriptionTargetCommand";
139+
import {
140+
DeleteTimeSeriesDataPointsCommandInput,
141+
DeleteTimeSeriesDataPointsCommandOutput,
142+
} from "./commands/DeleteTimeSeriesDataPointsCommand";
139143
import { GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
140144
import { GetAssetTypeCommandInput, GetAssetTypeCommandOutput } from "./commands/GetAssetTypeCommand";
141145
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
@@ -181,6 +185,10 @@ import {
181185
GetSubscriptionTargetCommandInput,
182186
GetSubscriptionTargetCommandOutput,
183187
} from "./commands/GetSubscriptionTargetCommand";
188+
import {
189+
GetTimeSeriesDataPointCommandInput,
190+
GetTimeSeriesDataPointCommandOutput,
191+
} from "./commands/GetTimeSeriesDataPointCommand";
184192
import { GetUserProfileCommandInput, GetUserProfileCommandOutput } from "./commands/GetUserProfileCommand";
185193
import { ListAssetRevisionsCommandInput, ListAssetRevisionsCommandOutput } from "./commands/ListAssetRevisionsCommand";
186194
import {
@@ -230,6 +238,14 @@ import {
230238
ListTagsForResourceCommandInput,
231239
ListTagsForResourceCommandOutput,
232240
} from "./commands/ListTagsForResourceCommand";
241+
import {
242+
ListTimeSeriesDataPointsCommandInput,
243+
ListTimeSeriesDataPointsCommandOutput,
244+
} from "./commands/ListTimeSeriesDataPointsCommand";
245+
import {
246+
PostTimeSeriesDataPointsCommandInput,
247+
PostTimeSeriesDataPointsCommandOutput,
248+
} from "./commands/PostTimeSeriesDataPointsCommand";
233249
import {
234250
PutEnvironmentBlueprintConfigurationCommandInput,
235251
PutEnvironmentBlueprintConfigurationCommandOutput,
@@ -332,6 +348,7 @@ export type ServiceInputTypes =
332348
| DeleteSubscriptionGrantCommandInput
333349
| DeleteSubscriptionRequestCommandInput
334350
| DeleteSubscriptionTargetCommandInput
351+
| DeleteTimeSeriesDataPointsCommandInput
335352
| GetAssetCommandInput
336353
| GetAssetTypeCommandInput
337354
| GetDataSourceCommandInput
@@ -353,6 +370,7 @@ export type ServiceInputTypes =
353370
| GetSubscriptionGrantCommandInput
354371
| GetSubscriptionRequestDetailsCommandInput
355372
| GetSubscriptionTargetCommandInput
373+
| GetTimeSeriesDataPointCommandInput
356374
| GetUserProfileCommandInput
357375
| ListAssetRevisionsCommandInput
358376
| ListDataSourceRunActivitiesCommandInput
@@ -372,6 +390,8 @@ export type ServiceInputTypes =
372390
| ListSubscriptionTargetsCommandInput
373391
| ListSubscriptionsCommandInput
374392
| ListTagsForResourceCommandInput
393+
| ListTimeSeriesDataPointsCommandInput
394+
| PostTimeSeriesDataPointsCommandInput
375395
| PutEnvironmentBlueprintConfigurationCommandInput
376396
| RejectPredictionsCommandInput
377397
| RejectSubscriptionRequestCommandInput
@@ -440,6 +460,7 @@ export type ServiceOutputTypes =
440460
| DeleteSubscriptionGrantCommandOutput
441461
| DeleteSubscriptionRequestCommandOutput
442462
| DeleteSubscriptionTargetCommandOutput
463+
| DeleteTimeSeriesDataPointsCommandOutput
443464
| GetAssetCommandOutput
444465
| GetAssetTypeCommandOutput
445466
| GetDataSourceCommandOutput
@@ -461,6 +482,7 @@ export type ServiceOutputTypes =
461482
| GetSubscriptionGrantCommandOutput
462483
| GetSubscriptionRequestDetailsCommandOutput
463484
| GetSubscriptionTargetCommandOutput
485+
| GetTimeSeriesDataPointCommandOutput
464486
| GetUserProfileCommandOutput
465487
| ListAssetRevisionsCommandOutput
466488
| ListDataSourceRunActivitiesCommandOutput
@@ -480,6 +502,8 @@ export type ServiceOutputTypes =
480502
| ListSubscriptionTargetsCommandOutput
481503
| ListSubscriptionsCommandOutput
482504
| ListTagsForResourceCommandOutput
505+
| ListTimeSeriesDataPointsCommandOutput
506+
| PostTimeSeriesDataPointsCommandOutput
483507
| PutEnvironmentBlueprintConfigurationCommandOutput
484508
| RejectPredictionsCommandOutput
485509
| RejectSubscriptionRequestCommandOutput

‎clients/client-datazone/src/commands/CreateAssetCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,16 @@ export interface CreateAssetCommandOutput extends CreateAssetOutput, __MetadataB
104104
* // content: "STRING_VALUE",
105105
* // },
106106
* // ],
107+
* // latestTimeSeriesDataPointFormsOutput: [ // TimeSeriesDataPointSummaryFormOutputList
108+
* // { // TimeSeriesDataPointSummaryFormOutput
109+
* // formName: "STRING_VALUE", // required
110+
* // typeIdentifier: "STRING_VALUE", // required
111+
* // typeRevision: "STRING_VALUE",
112+
* // timestamp: new Date("TIMESTAMP"), // required
113+
* // contentSummary: "STRING_VALUE",
114+
* // id: "STRING_VALUE",
115+
* // },
116+
* // ],
107117
* // predictionConfiguration: { // PredictionConfiguration
108118
* // businessNameGeneration: { // BusinessNameGenerationConfiguration
109119
* // enabled: true || false,

‎clients/client-datazone/src/commands/CreateAssetRevisionCommand.ts

+10
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,16 @@ export interface CreateAssetRevisionCommandOutput extends CreateAssetRevisionOut
102102
* // content: "STRING_VALUE",
103103
* // },
104104
* // ],
105+
* // latestTimeSeriesDataPointFormsOutput: [ // TimeSeriesDataPointSummaryFormOutputList
106+
* // { // TimeSeriesDataPointSummaryFormOutput
107+
* // formName: "STRING_VALUE", // required
108+
* // typeIdentifier: "STRING_VALUE", // required
109+
* // typeRevision: "STRING_VALUE",
110+
* // timestamp: new Date("TIMESTAMP"), // required
111+
* // contentSummary: "STRING_VALUE",
112+
* // id: "STRING_VALUE",
113+
* // },
114+
* // ],
105115
* // predictionConfiguration: { // PredictionConfiguration
106116
* // businessNameGeneration: { // BusinessNameGenerationConfiguration
107117
* // enabled: true || false,

‎clients/client-datazone/src/commands/CreateDataSourceCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceOutput, _
6161
* ],
6262
* },
6363
* ],
64+
* autoImportDataQualityResult: true || false,
6465
* },
6566
* redshiftRunConfiguration: { // RedshiftRunConfigurationInput
6667
* dataAccessRole: "STRING_VALUE",
@@ -136,6 +137,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceOutput, _
136137
* // ],
137138
* // },
138139
* // ],
140+
* // autoImportDataQualityResult: true || false,
139141
* // },
140142
* // redshiftRunConfiguration: { // RedshiftRunConfigurationOutput
141143
* // accountId: "STRING_VALUE",

‎clients/client-datazone/src/commands/DeleteDataSourceCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export interface DeleteDataSourceCommandOutput extends DeleteDataSourceOutput, _
7171
* // ],
7272
* // },
7373
* // ],
74+
* // autoImportDataQualityResult: true || false,
7475
* // },
7576
* // redshiftRunConfiguration: { // RedshiftRunConfigurationOutput
7677
* // accountId: "STRING_VALUE",

0 commit comments

Comments
 (0)
Please sign in to comment.