@aws-sdk/client-datazone 3.546.0 → 3.548.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.
Files changed (55) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +307 -21
  3. package/dist-es/DataZone.js +8 -0
  4. package/dist-es/commands/DeleteTimeSeriesDataPointsCommand.js +24 -0
  5. package/dist-es/commands/GetTimeSeriesDataPointCommand.js +24 -0
  6. package/dist-es/commands/ListSubscriptionTargetsCommand.js +1 -1
  7. package/dist-es/commands/ListTimeSeriesDataPointsCommand.js +24 -0
  8. package/dist-es/commands/PostTimeSeriesDataPointsCommand.js +24 -0
  9. package/dist-es/commands/index.js +4 -0
  10. package/dist-es/models/models_0.js +4 -15
  11. package/dist-es/models/models_1.js +16 -0
  12. package/dist-es/pagination/ListTimeSeriesDataPointsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/protocols/Aws_restJson1.js +199 -2
  15. package/dist-types/DataZone.d.ts +28 -0
  16. package/dist-types/DataZoneClient.d.ts +6 -2
  17. package/dist-types/commands/CreateAssetCommand.d.ts +10 -0
  18. package/dist-types/commands/CreateAssetRevisionCommand.d.ts +10 -0
  19. package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -0
  20. package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -0
  21. package/dist-types/commands/DeleteTimeSeriesDataPointsCommand.d.ts +79 -0
  22. package/dist-types/commands/GetAssetCommand.d.ts +10 -0
  23. package/dist-types/commands/GetDataSourceCommand.d.ts +1 -0
  24. package/dist-types/commands/GetListingCommand.d.ts +10 -0
  25. package/dist-types/commands/GetMetadataGenerationRunCommand.d.ts +1 -2
  26. package/dist-types/commands/GetTimeSeriesDataPointCommand.d.ts +92 -0
  27. package/dist-types/commands/ListSubscriptionTargetsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  29. package/dist-types/commands/ListTimeSeriesDataPointsCommand.d.ts +94 -0
  30. package/dist-types/commands/PostTimeSeriesDataPointsCommand.d.ts +107 -0
  31. package/dist-types/commands/SearchCommand.d.ts +11 -1
  32. package/dist-types/commands/SearchListingsCommand.d.ts +11 -1
  33. package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -0
  34. package/dist-types/commands/index.d.ts +4 -0
  35. package/dist-types/models/models_0.d.ts +228 -208
  36. package/dist-types/models/models_1.d.ts +371 -1
  37. package/dist-types/pagination/ListTimeSeriesDataPointsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/index.d.ts +1 -0
  39. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  40. package/dist-types/ts3.4/DataZone.d.ts +68 -0
  41. package/dist-types/ts3.4/DataZoneClient.d.ts +24 -0
  42. package/dist-types/ts3.4/commands/DeleteTimeSeriesDataPointsCommand.d.ts +39 -0
  43. package/dist-types/ts3.4/commands/GetMetadataGenerationRunCommand.d.ts +4 -2
  44. package/dist-types/ts3.4/commands/GetTimeSeriesDataPointCommand.d.ts +39 -0
  45. package/dist-types/ts3.4/commands/ListSubscriptionTargetsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListTimeSeriesDataPointsCommand.d.ts +39 -0
  48. package/dist-types/ts3.4/commands/PostTimeSeriesDataPointsCommand.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  50. package/dist-types/ts3.4/models/models_0.d.ts +52 -54
  51. package/dist-types/ts3.4/models/models_1.d.ts +93 -1
  52. package/dist-types/ts3.4/pagination/ListTimeSeriesDataPointsPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  54. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  55. package/package.json +1 -1
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteTimeSeriesDataPointsCommand, se_DeleteTimeSeriesDataPointsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteTimeSeriesDataPointsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DataZone", "DeleteTimeSeriesDataPoints", {})
19
+ .n("DataZoneClient", "DeleteTimeSeriesDataPointsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteTimeSeriesDataPointsCommand)
22
+ .de(de_DeleteTimeSeriesDataPointsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetTimeSeriesDataPointCommand, se_GetTimeSeriesDataPointCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetTimeSeriesDataPointCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DataZone", "GetTimeSeriesDataPoint", {})
19
+ .n("DataZoneClient", "GetTimeSeriesDataPointCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetTimeSeriesDataPointCommand)
22
+ .de(de_GetTimeSeriesDataPointCommand)
23
+ .build() {
24
+ }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListSubscriptionTargetsOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { ListSubscriptionTargetsOutputFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_ListSubscriptionTargetsCommand, se_ListSubscriptionTargetsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class ListSubscriptionTargetsCommand extends $Command
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListTimeSeriesDataPointsCommand, se_ListTimeSeriesDataPointsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListTimeSeriesDataPointsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DataZone", "ListTimeSeriesDataPoints", {})
19
+ .n("DataZoneClient", "ListTimeSeriesDataPointsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTimeSeriesDataPointsCommand)
22
+ .de(de_ListTimeSeriesDataPointsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_PostTimeSeriesDataPointsCommand, se_PostTimeSeriesDataPointsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class PostTimeSeriesDataPointsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DataZone", "PostTimeSeriesDataPoints", {})
19
+ .n("DataZoneClient", "PostTimeSeriesDataPointsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PostTimeSeriesDataPointsCommand)
22
+ .de(de_PostTimeSeriesDataPointsCommand)
23
+ .build() {
24
+ }
@@ -36,6 +36,7 @@ export * from "./DeleteProjectMembershipCommand";
36
36
  export * from "./DeleteSubscriptionGrantCommand";
37
37
  export * from "./DeleteSubscriptionRequestCommand";
38
38
  export * from "./DeleteSubscriptionTargetCommand";
39
+ export * from "./DeleteTimeSeriesDataPointsCommand";
39
40
  export * from "./GetAssetCommand";
40
41
  export * from "./GetAssetTypeCommand";
41
42
  export * from "./GetDataSourceCommand";
@@ -57,6 +58,7 @@ export * from "./GetSubscriptionCommand";
57
58
  export * from "./GetSubscriptionGrantCommand";
58
59
  export * from "./GetSubscriptionRequestDetailsCommand";
59
60
  export * from "./GetSubscriptionTargetCommand";
61
+ export * from "./GetTimeSeriesDataPointCommand";
60
62
  export * from "./GetUserProfileCommand";
61
63
  export * from "./ListAssetRevisionsCommand";
62
64
  export * from "./ListDataSourceRunActivitiesCommand";
@@ -76,6 +78,8 @@ export * from "./ListSubscriptionRequestsCommand";
76
78
  export * from "./ListSubscriptionTargetsCommand";
77
79
  export * from "./ListSubscriptionsCommand";
78
80
  export * from "./ListTagsForResourceCommand";
81
+ export * from "./ListTimeSeriesDataPointsCommand";
82
+ export * from "./PostTimeSeriesDataPointsCommand";
79
83
  export * from "./PutEnvironmentBlueprintConfigurationCommand";
80
84
  export * from "./RejectPredictionsCommand";
81
85
  export * from "./RejectSubscriptionRequestCommand";
@@ -449,6 +449,10 @@ export const DataSourceRunType = {
449
449
  PRIORITIZED: "PRIORITIZED",
450
450
  SCHEDULED: "SCHEDULED",
451
451
  };
452
+ export const TimeSeriesEntityType = {
453
+ ASSET: "ASSET",
454
+ LISTING: "LISTING",
455
+ };
452
456
  export var ListingItem;
453
457
  (function (ListingItem) {
454
458
  ListingItem.visit = (value, visitor) => {
@@ -496,13 +500,6 @@ export const SortKey = {
496
500
  CREATED_AT: "CREATED_AT",
497
501
  UPDATED_AT: "UPDATED_AT",
498
502
  };
499
- export const MetadataGenerationRunStatus = {
500
- CANCELED: "CANCELED",
501
- FAILED: "FAILED",
502
- IN_PROGRESS: "IN_PROGRESS",
503
- SUBMITTED: "SUBMITTED",
504
- SUCCEEDED: "SUCCEEDED",
505
- };
506
503
  export const AcceptChoiceFilterSensitiveLog = (obj) => ({
507
504
  ...obj,
508
505
  ...(obj.editedValue && { editedValue: SENSITIVE_STRING }),
@@ -1088,11 +1085,3 @@ export const ListSubscriptionsOutputFilterSensitiveLog = (obj) => ({
1088
1085
  ...obj,
1089
1086
  ...(obj.items && { items: obj.items.map((item) => SubscriptionSummaryFilterSensitiveLog(item)) }),
1090
1087
  });
1091
- export const SubscriptionTargetSummaryFilterSensitiveLog = (obj) => ({
1092
- ...obj,
1093
- ...(obj.name && { name: SENSITIVE_STRING }),
1094
- });
1095
- export const ListSubscriptionTargetsOutputFilterSensitiveLog = (obj) => ({
1096
- ...obj,
1097
- ...(obj.items && { items: obj.items.map((item) => SubscriptionTargetSummaryFilterSensitiveLog(item)) }),
1098
- });
@@ -1,5 +1,12 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { AssetItemFilterSensitiveLog, AssetListingItemFilterSensitiveLog, AssetTypeItemFilterSensitiveLog, CustomParameterFilterSensitiveLog, DataProductSummaryFilterSensitiveLog, ImportFilterSensitiveLog, SubscribedListingFilterSensitiveLog, SubscribedPrincipalFilterSensitiveLog, UserProfileDetailsFilterSensitiveLog, } from "./models_0";
3
+ export const MetadataGenerationRunStatus = {
4
+ CANCELED: "CANCELED",
5
+ FAILED: "FAILED",
6
+ IN_PROGRESS: "IN_PROGRESS",
7
+ SUBMITTED: "SUBMITTED",
8
+ SUCCEEDED: "SUCCEEDED",
9
+ };
3
10
  export const MetadataGenerationTargetType = {
4
11
  ASSET: "ASSET",
5
12
  };
@@ -12,6 +19,7 @@ export const RejectRuleBehavior = {
12
19
  };
13
20
  export const SearchOutputAdditionalAttribute = {
14
21
  FORMS: "FORMS",
22
+ TIME_SERIES_DATA_POINT_FORMS: "TIME_SERIES_DATA_POINT_FORMS",
15
23
  };
16
24
  export const InventorySearchScope = {
17
25
  ASSET: "ASSET",
@@ -76,6 +84,14 @@ export var FilterClause;
76
84
  return visitor._(value.$unknown[0], value.$unknown[1]);
77
85
  };
78
86
  })(FilterClause || (FilterClause = {}));
87
+ export const SubscriptionTargetSummaryFilterSensitiveLog = (obj) => ({
88
+ ...obj,
89
+ ...(obj.name && { name: SENSITIVE_STRING }),
90
+ });
91
+ export const ListSubscriptionTargetsOutputFilterSensitiveLog = (obj) => ({
92
+ ...obj,
93
+ ...(obj.items && { items: obj.items.map((item) => SubscriptionTargetSummaryFilterSensitiveLog(item)) }),
94
+ });
79
95
  export const RejectSubscriptionRequestInputFilterSensitiveLog = (obj) => ({
80
96
  ...obj,
81
97
  ...(obj.decisionComment && { decisionComment: SENSITIVE_STRING }),
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListTimeSeriesDataPointsCommand, } from "../commands/ListTimeSeriesDataPointsCommand";
3
+ import { DataZoneClient } from "../DataZoneClient";
4
+ export const paginateListTimeSeriesDataPoints = createPaginator(DataZoneClient, ListTimeSeriesDataPointsCommand, "nextToken", "nextToken", "maxResults");
@@ -16,6 +16,7 @@ export * from "./ListSubscriptionGrantsPaginator";
16
16
  export * from "./ListSubscriptionRequestsPaginator";
17
17
  export * from "./ListSubscriptionTargetsPaginator";
18
18
  export * from "./ListSubscriptionsPaginator";
19
+ export * from "./ListTimeSeriesDataPointsPaginator";
19
20
  export * from "./SearchGroupProfilesPaginator";
20
21
  export * from "./SearchListingsPaginator";
21
22
  export * from "./SearchPaginator";
@@ -573,6 +573,21 @@ export const se_DeleteSubscriptionTargetCommand = async (input, context) => {
573
573
  b.m("DELETE").h(headers).b(body);
574
574
  return b.build();
575
575
  };
576
+ export const se_DeleteTimeSeriesDataPointsCommand = async (input, context) => {
577
+ const b = rb(input, context);
578
+ const headers = {};
579
+ b.bp("/v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points");
580
+ b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
581
+ b.p("entityIdentifier", () => input.entityIdentifier, "{entityIdentifier}", false);
582
+ b.p("entityType", () => input.entityType, "{entityType}", false);
583
+ const query = map({
584
+ [_fN]: [, __expectNonNull(input[_fN], `formName`)],
585
+ [_cT]: [, input[_cT] ?? generateIdempotencyToken()],
586
+ });
587
+ let body;
588
+ b.m("DELETE").h(headers).q(query).b(body);
589
+ return b.build();
590
+ };
576
591
  export const se_GetAssetCommand = async (input, context) => {
577
592
  const b = rb(input, context);
578
593
  const headers = {};
@@ -794,6 +809,21 @@ export const se_GetSubscriptionTargetCommand = async (input, context) => {
794
809
  b.m("GET").h(headers).b(body);
795
810
  return b.build();
796
811
  };
812
+ export const se_GetTimeSeriesDataPointCommand = async (input, context) => {
813
+ const b = rb(input, context);
814
+ const headers = {};
815
+ b.bp("/v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points/{identifier}");
816
+ b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
817
+ b.p("entityIdentifier", () => input.entityIdentifier, "{entityIdentifier}", false);
818
+ b.p("entityType", () => input.entityType, "{entityType}", false);
819
+ b.p("identifier", () => input.identifier, "{identifier}", false);
820
+ const query = map({
821
+ [_fN]: [, __expectNonNull(input[_fN], `formName`)],
822
+ });
823
+ let body;
824
+ b.m("GET").h(headers).q(query).b(body);
825
+ return b.build();
826
+ };
797
827
  export const se_GetUserProfileCommand = async (input, context) => {
798
828
  const b = rb(input, context);
799
829
  const headers = {};
@@ -1097,6 +1127,41 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
1097
1127
  b.m("GET").h(headers).b(body);
1098
1128
  return b.build();
1099
1129
  };
1130
+ export const se_ListTimeSeriesDataPointsCommand = async (input, context) => {
1131
+ const b = rb(input, context);
1132
+ const headers = {};
1133
+ b.bp("/v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points");
1134
+ b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
1135
+ b.p("entityIdentifier", () => input.entityIdentifier, "{entityIdentifier}", false);
1136
+ b.p("entityType", () => input.entityType, "{entityType}", false);
1137
+ const query = map({
1138
+ [_fN]: [, __expectNonNull(input[_fN], `formName`)],
1139
+ [_sA]: [() => input.startedAt !== void 0, () => (input[_sA].toISOString().split(".")[0] + "Z").toString()],
1140
+ [_eA]: [() => input.endedAt !== void 0, () => (input[_eA].toISOString().split(".")[0] + "Z").toString()],
1141
+ [_nT]: [, input[_nT]],
1142
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1143
+ });
1144
+ let body;
1145
+ b.m("GET").h(headers).q(query).b(body);
1146
+ return b.build();
1147
+ };
1148
+ export const se_PostTimeSeriesDataPointsCommand = async (input, context) => {
1149
+ const b = rb(input, context);
1150
+ const headers = {
1151
+ "content-type": "application/json",
1152
+ };
1153
+ b.bp("/v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points");
1154
+ b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
1155
+ b.p("entityIdentifier", () => input.entityIdentifier, "{entityIdentifier}", false);
1156
+ b.p("entityType", () => input.entityType, "{entityType}", false);
1157
+ let body;
1158
+ body = JSON.stringify(take(input, {
1159
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1160
+ forms: (_) => se_TimeSeriesDataPointFormInputList(_, context),
1161
+ }));
1162
+ b.m("POST").h(headers).b(body);
1163
+ return b.build();
1164
+ };
1100
1165
  export const se_PutEnvironmentBlueprintConfigurationCommand = async (input, context) => {
1101
1166
  const b = rb(input, context);
1102
1167
  const headers = {
@@ -1635,6 +1700,7 @@ export const de_CreateAssetCommand = async (output, context) => {
1635
1700
  formsOutput: _json,
1636
1701
  glossaryTerms: _json,
1637
1702
  id: __expectString,
1703
+ latestTimeSeriesDataPointFormsOutput: (_) => de_TimeSeriesDataPointSummaryFormOutputList(_, context),
1638
1704
  listing: _json,
1639
1705
  name: __expectString,
1640
1706
  owningProjectId: __expectString,
@@ -1666,6 +1732,7 @@ export const de_CreateAssetRevisionCommand = async (output, context) => {
1666
1732
  formsOutput: _json,
1667
1733
  glossaryTerms: _json,
1668
1734
  id: __expectString,
1735
+ latestTimeSeriesDataPointFormsOutput: (_) => de_TimeSeriesDataPointSummaryFormOutputList(_, context),
1669
1736
  listing: _json,
1670
1737
  name: __expectString,
1671
1738
  owningProjectId: __expectString,
@@ -2239,6 +2306,16 @@ export const de_DeleteSubscriptionTargetCommand = async (output, context) => {
2239
2306
  await collectBody(output.body, context);
2240
2307
  return contents;
2241
2308
  };
2309
+ export const de_DeleteTimeSeriesDataPointsCommand = async (output, context) => {
2310
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
2311
+ return de_CommandError(output, context);
2312
+ }
2313
+ const contents = map({
2314
+ $metadata: deserializeMetadata(output),
2315
+ });
2316
+ await collectBody(output.body, context);
2317
+ return contents;
2318
+ };
2242
2319
  export const de_GetAssetCommand = async (output, context) => {
2243
2320
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2244
2321
  return de_CommandError(output, context);
@@ -2258,6 +2335,7 @@ export const de_GetAssetCommand = async (output, context) => {
2258
2335
  formsOutput: _json,
2259
2336
  glossaryTerms: _json,
2260
2337
  id: __expectString,
2338
+ latestTimeSeriesDataPointFormsOutput: (_) => de_TimeSeriesDataPointSummaryFormOutputList(_, context),
2261
2339
  listing: _json,
2262
2340
  name: __expectString,
2263
2341
  owningProjectId: __expectString,
@@ -2756,6 +2834,24 @@ export const de_GetSubscriptionTargetCommand = async (output, context) => {
2756
2834
  Object.assign(contents, doc);
2757
2835
  return contents;
2758
2836
  };
2837
+ export const de_GetTimeSeriesDataPointCommand = async (output, context) => {
2838
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2839
+ return de_CommandError(output, context);
2840
+ }
2841
+ const contents = map({
2842
+ $metadata: deserializeMetadata(output),
2843
+ });
2844
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2845
+ const doc = take(data, {
2846
+ domainId: __expectString,
2847
+ entityId: __expectString,
2848
+ entityType: __expectString,
2849
+ form: (_) => de_TimeSeriesDataPointFormOutput(_, context),
2850
+ formName: __expectString,
2851
+ });
2852
+ Object.assign(contents, doc);
2853
+ return contents;
2854
+ };
2759
2855
  export const de_GetUserProfileCommand = async (output, context) => {
2760
2856
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2761
2857
  return de_CommandError(output, context);
@@ -3043,6 +3139,38 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
3043
3139
  Object.assign(contents, doc);
3044
3140
  return contents;
3045
3141
  };
3142
+ export const de_ListTimeSeriesDataPointsCommand = async (output, context) => {
3143
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3144
+ return de_CommandError(output, context);
3145
+ }
3146
+ const contents = map({
3147
+ $metadata: deserializeMetadata(output),
3148
+ });
3149
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3150
+ const doc = take(data, {
3151
+ items: (_) => de_TimeSeriesDataPointSummaryFormOutputList(_, context),
3152
+ nextToken: __expectString,
3153
+ });
3154
+ Object.assign(contents, doc);
3155
+ return contents;
3156
+ };
3157
+ export const de_PostTimeSeriesDataPointsCommand = async (output, context) => {
3158
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
3159
+ return de_CommandError(output, context);
3160
+ }
3161
+ const contents = map({
3162
+ $metadata: deserializeMetadata(output),
3163
+ });
3164
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3165
+ const doc = take(data, {
3166
+ domainId: __expectString,
3167
+ entityId: __expectString,
3168
+ entityType: __expectString,
3169
+ forms: (_) => de_TimeSeriesDataPointFormOutputList(_, context),
3170
+ });
3171
+ Object.assign(contents, doc);
3172
+ return contents;
3173
+ };
3046
3174
  export const de_PutEnvironmentBlueprintConfigurationCommand = async (output, context) => {
3047
3175
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3048
3176
  return de_CommandError(output, context);
@@ -3731,9 +3859,25 @@ const se_RejectRule = (input, context) => {
3731
3859
  threshold: __serializeFloat,
3732
3860
  });
3733
3861
  };
3862
+ const se_TimeSeriesDataPointFormInput = (input, context) => {
3863
+ return take(input, {
3864
+ content: [],
3865
+ formName: [],
3866
+ timestamp: (_) => Math.round(_.getTime() / 1000),
3867
+ typeIdentifier: [],
3868
+ typeRevision: [],
3869
+ });
3870
+ };
3871
+ const se_TimeSeriesDataPointFormInputList = (input, context) => {
3872
+ return input
3873
+ .filter((e) => e != null)
3874
+ .map((entry) => {
3875
+ return se_TimeSeriesDataPointFormInput(entry, context);
3876
+ });
3877
+ };
3734
3878
  const de_AssetItem = (output, context) => {
3735
3879
  return take(output, {
3736
- additionalAttributes: _json,
3880
+ additionalAttributes: (_) => de_AssetItemAdditionalAttributes(_, context),
3737
3881
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3738
3882
  createdBy: __expectString,
3739
3883
  description: __expectString,
@@ -3749,6 +3893,13 @@ const de_AssetItem = (output, context) => {
3749
3893
  typeRevision: __expectString,
3750
3894
  });
3751
3895
  };
3896
+ const de_AssetItemAdditionalAttributes = (output, context) => {
3897
+ return take(output, {
3898
+ formsOutput: _json,
3899
+ latestTimeSeriesDataPointFormsOutput: (_) => de_TimeSeriesDataPointSummaryFormOutputList(_, context),
3900
+ readOnlyFormsOutput: _json,
3901
+ });
3902
+ };
3752
3903
  const de_AssetListing = (output, context) => {
3753
3904
  return take(output, {
3754
3905
  assetId: __expectString,
@@ -3757,12 +3908,13 @@ const de_AssetListing = (output, context) => {
3757
3908
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3758
3909
  forms: __expectString,
3759
3910
  glossaryTerms: _json,
3911
+ latestTimeSeriesDataPointForms: (_) => de_TimeSeriesDataPointSummaryFormOutputList(_, context),
3760
3912
  owningProjectId: __expectString,
3761
3913
  });
3762
3914
  };
3763
3915
  const de_AssetListingItem = (output, context) => {
3764
3916
  return take(output, {
3765
- additionalAttributes: _json,
3917
+ additionalAttributes: (_) => de_AssetListingItemAdditionalAttributes(_, context),
3766
3918
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3767
3919
  description: __expectString,
3768
3920
  entityId: __expectString,
@@ -3777,6 +3929,12 @@ const de_AssetListingItem = (output, context) => {
3777
3929
  owningProjectId: __expectString,
3778
3930
  });
3779
3931
  };
3932
+ const de_AssetListingItemAdditionalAttributes = (output, context) => {
3933
+ return take(output, {
3934
+ forms: __expectString,
3935
+ latestTimeSeriesDataPointForms: (_) => de_TimeSeriesDataPointSummaryFormOutputList(_, context),
3936
+ });
3937
+ };
3780
3938
  const de_AssetRevision = (output, context) => {
3781
3939
  return take(output, {
3782
3940
  createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -4306,6 +4464,42 @@ const de_SubscriptionTargetSummary = (output, context) => {
4306
4464
  updatedBy: __expectString,
4307
4465
  });
4308
4466
  };
4467
+ const de_TimeSeriesDataPointFormOutput = (output, context) => {
4468
+ return take(output, {
4469
+ content: __expectString,
4470
+ formName: __expectString,
4471
+ id: __expectString,
4472
+ timestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
4473
+ typeIdentifier: __expectString,
4474
+ typeRevision: __expectString,
4475
+ });
4476
+ };
4477
+ const de_TimeSeriesDataPointFormOutputList = (output, context) => {
4478
+ const retVal = (output || [])
4479
+ .filter((e) => e != null)
4480
+ .map((entry) => {
4481
+ return de_TimeSeriesDataPointFormOutput(entry, context);
4482
+ });
4483
+ return retVal;
4484
+ };
4485
+ const de_TimeSeriesDataPointSummaryFormOutput = (output, context) => {
4486
+ return take(output, {
4487
+ contentSummary: __expectString,
4488
+ formName: __expectString,
4489
+ id: __expectString,
4490
+ timestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
4491
+ typeIdentifier: __expectString,
4492
+ typeRevision: __expectString,
4493
+ });
4494
+ };
4495
+ const de_TimeSeriesDataPointSummaryFormOutputList = (output, context) => {
4496
+ const retVal = (output || [])
4497
+ .filter((e) => e != null)
4498
+ .map((entry) => {
4499
+ return de_TimeSeriesDataPointSummaryFormOutput(entry, context);
4500
+ });
4501
+ return retVal;
4502
+ };
4309
4503
  const deserializeMetadata = (output) => ({
4310
4504
  httpStatusCode: output.statusCode,
4311
4505
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -4324,10 +4518,12 @@ const _aPI = "approverProjectId";
4324
4518
  const _aT = "afterTimestamp";
4325
4519
  const _bT = "beforeTimestamp";
4326
4520
  const _cT = "clientToken";
4521
+ const _eA = "endedAt";
4327
4522
  const _eBI = "environmentBlueprintIdentifier";
4328
4523
  const _eI = "environmentIdentifier";
4329
4524
  const _eIn = "environmentId";
4330
4525
  const _ePI = "environmentProfileIdentifier";
4526
+ const _fN = "formName";
4331
4527
  const _gI = "groupIdentifier";
4332
4528
  const _lR = "listingRevision";
4333
4529
  const _m = "managed";
@@ -4339,6 +4535,7 @@ const _p = "provider";
4339
4535
  const _pI = "projectIdentifier";
4340
4536
  const _r = "revision";
4341
4537
  const _s = "status";
4538
+ const _sA = "startedAt";
4342
4539
  const _sB = "sortBy";
4343
4540
  const _sDC = "skipDeletionCheck";
4344
4541
  const _sI = "subscriptionId";
@@ -37,6 +37,7 @@ import { DeleteProjectMembershipCommandInput, DeleteProjectMembershipCommandOutp
37
37
  import { DeleteSubscriptionGrantCommandInput, DeleteSubscriptionGrantCommandOutput } from "./commands/DeleteSubscriptionGrantCommand";
38
38
  import { DeleteSubscriptionRequestCommandInput, DeleteSubscriptionRequestCommandOutput } from "./commands/DeleteSubscriptionRequestCommand";
39
39
  import { DeleteSubscriptionTargetCommandInput, DeleteSubscriptionTargetCommandOutput } from "./commands/DeleteSubscriptionTargetCommand";
40
+ import { DeleteTimeSeriesDataPointsCommandInput, DeleteTimeSeriesDataPointsCommandOutput } from "./commands/DeleteTimeSeriesDataPointsCommand";
40
41
  import { GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
41
42
  import { GetAssetTypeCommandInput, GetAssetTypeCommandOutput } from "./commands/GetAssetTypeCommand";
42
43
  import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
@@ -58,6 +59,7 @@ import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./com
58
59
  import { GetSubscriptionGrantCommandInput, GetSubscriptionGrantCommandOutput } from "./commands/GetSubscriptionGrantCommand";
59
60
  import { GetSubscriptionRequestDetailsCommandInput, GetSubscriptionRequestDetailsCommandOutput } from "./commands/GetSubscriptionRequestDetailsCommand";
60
61
  import { GetSubscriptionTargetCommandInput, GetSubscriptionTargetCommandOutput } from "./commands/GetSubscriptionTargetCommand";
62
+ import { GetTimeSeriesDataPointCommandInput, GetTimeSeriesDataPointCommandOutput } from "./commands/GetTimeSeriesDataPointCommand";
61
63
  import { GetUserProfileCommandInput, GetUserProfileCommandOutput } from "./commands/GetUserProfileCommand";
62
64
  import { ListAssetRevisionsCommandInput, ListAssetRevisionsCommandOutput } from "./commands/ListAssetRevisionsCommand";
63
65
  import { ListDataSourceRunActivitiesCommandInput, ListDataSourceRunActivitiesCommandOutput } from "./commands/ListDataSourceRunActivitiesCommand";
@@ -77,6 +79,8 @@ import { ListSubscriptionRequestsCommandInput, ListSubscriptionRequestsCommandOu
77
79
  import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "./commands/ListSubscriptionsCommand";
78
80
  import { ListSubscriptionTargetsCommandInput, ListSubscriptionTargetsCommandOutput } from "./commands/ListSubscriptionTargetsCommand";
79
81
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
82
+ import { ListTimeSeriesDataPointsCommandInput, ListTimeSeriesDataPointsCommandOutput } from "./commands/ListTimeSeriesDataPointsCommand";
83
+ import { PostTimeSeriesDataPointsCommandInput, PostTimeSeriesDataPointsCommandOutput } from "./commands/PostTimeSeriesDataPointsCommand";
80
84
  import { PutEnvironmentBlueprintConfigurationCommandInput, PutEnvironmentBlueprintConfigurationCommandOutput } from "./commands/PutEnvironmentBlueprintConfigurationCommand";
81
85
  import { RejectPredictionsCommandInput, RejectPredictionsCommandOutput } from "./commands/RejectPredictionsCommand";
82
86
  import { RejectSubscriptionRequestCommandInput, RejectSubscriptionRequestCommandOutput } from "./commands/RejectSubscriptionRequestCommand";
@@ -332,6 +336,12 @@ export interface DataZone {
332
336
  deleteSubscriptionTarget(args: DeleteSubscriptionTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSubscriptionTargetCommandOutput>;
333
337
  deleteSubscriptionTarget(args: DeleteSubscriptionTargetCommandInput, cb: (err: any, data?: DeleteSubscriptionTargetCommandOutput) => void): void;
334
338
  deleteSubscriptionTarget(args: DeleteSubscriptionTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubscriptionTargetCommandOutput) => void): void;
339
+ /**
340
+ * @see {@link DeleteTimeSeriesDataPointsCommand}
341
+ */
342
+ deleteTimeSeriesDataPoints(args: DeleteTimeSeriesDataPointsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTimeSeriesDataPointsCommandOutput>;
343
+ deleteTimeSeriesDataPoints(args: DeleteTimeSeriesDataPointsCommandInput, cb: (err: any, data?: DeleteTimeSeriesDataPointsCommandOutput) => void): void;
344
+ deleteTimeSeriesDataPoints(args: DeleteTimeSeriesDataPointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTimeSeriesDataPointsCommandOutput) => void): void;
335
345
  /**
336
346
  * @see {@link GetAssetCommand}
337
347
  */
@@ -458,6 +468,12 @@ export interface DataZone {
458
468
  getSubscriptionTarget(args: GetSubscriptionTargetCommandInput, options?: __HttpHandlerOptions): Promise<GetSubscriptionTargetCommandOutput>;
459
469
  getSubscriptionTarget(args: GetSubscriptionTargetCommandInput, cb: (err: any, data?: GetSubscriptionTargetCommandOutput) => void): void;
460
470
  getSubscriptionTarget(args: GetSubscriptionTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSubscriptionTargetCommandOutput) => void): void;
471
+ /**
472
+ * @see {@link GetTimeSeriesDataPointCommand}
473
+ */
474
+ getTimeSeriesDataPoint(args: GetTimeSeriesDataPointCommandInput, options?: __HttpHandlerOptions): Promise<GetTimeSeriesDataPointCommandOutput>;
475
+ getTimeSeriesDataPoint(args: GetTimeSeriesDataPointCommandInput, cb: (err: any, data?: GetTimeSeriesDataPointCommandOutput) => void): void;
476
+ getTimeSeriesDataPoint(args: GetTimeSeriesDataPointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTimeSeriesDataPointCommandOutput) => void): void;
461
477
  /**
462
478
  * @see {@link GetUserProfileCommand}
463
479
  */
@@ -573,6 +589,18 @@ export interface DataZone {
573
589
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
574
590
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
575
591
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
592
+ /**
593
+ * @see {@link ListTimeSeriesDataPointsCommand}
594
+ */
595
+ listTimeSeriesDataPoints(args: ListTimeSeriesDataPointsCommandInput, options?: __HttpHandlerOptions): Promise<ListTimeSeriesDataPointsCommandOutput>;
596
+ listTimeSeriesDataPoints(args: ListTimeSeriesDataPointsCommandInput, cb: (err: any, data?: ListTimeSeriesDataPointsCommandOutput) => void): void;
597
+ listTimeSeriesDataPoints(args: ListTimeSeriesDataPointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTimeSeriesDataPointsCommandOutput) => void): void;
598
+ /**
599
+ * @see {@link PostTimeSeriesDataPointsCommand}
600
+ */
601
+ postTimeSeriesDataPoints(args: PostTimeSeriesDataPointsCommandInput, options?: __HttpHandlerOptions): Promise<PostTimeSeriesDataPointsCommandOutput>;
602
+ postTimeSeriesDataPoints(args: PostTimeSeriesDataPointsCommandInput, cb: (err: any, data?: PostTimeSeriesDataPointsCommandOutput) => void): void;
603
+ postTimeSeriesDataPoints(args: PostTimeSeriesDataPointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostTimeSeriesDataPointsCommandOutput) => void): void;
576
604
  /**
577
605
  * @see {@link PutEnvironmentBlueprintConfigurationCommand}
578
606
  */