@aws-sdk/client-datazone 3.600.0 → 3.609.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 (39) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +298 -41
  3. package/dist-es/DataZone.js +6 -0
  4. package/dist-es/commands/GetLineageNodeCommand.js +25 -0
  5. package/dist-es/commands/ListLineageNodeHistoryCommand.js +24 -0
  6. package/dist-es/commands/ListNotificationsCommand.js +1 -1
  7. package/dist-es/commands/PostLineageEventCommand.js +25 -0
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/models_0.js +12 -29
  10. package/dist-es/models/models_1.js +41 -1
  11. package/dist-es/pagination/ListLineageNodeHistoryPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +169 -5
  14. package/dist-types/DataZone.d.ts +21 -0
  15. package/dist-types/DataZoneClient.d.ts +5 -2
  16. package/dist-types/commands/GetLineageNodeCommand.d.ts +111 -0
  17. package/dist-types/commands/ListLineageNodeHistoryCommand.d.ts +101 -0
  18. package/dist-types/commands/ListNotificationsCommand.d.ts +2 -1
  19. package/dist-types/commands/PostLineageEventCommand.d.ts +90 -0
  20. package/dist-types/commands/SearchTypesCommand.d.ts +18 -1
  21. package/dist-types/commands/index.d.ts +3 -0
  22. package/dist-types/models/models_0.d.ts +256 -145
  23. package/dist-types/models/models_1.d.ts +271 -2
  24. package/dist-types/pagination/ListLineageNodeHistoryPaginator.d.ts +7 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  27. package/dist-types/ts3.4/DataZone.d.ts +51 -0
  28. package/dist-types/ts3.4/DataZoneClient.d.ts +18 -0
  29. package/dist-types/ts3.4/commands/GetLineageNodeCommand.d.ts +36 -0
  30. package/dist-types/ts3.4/commands/ListLineageNodeHistoryCommand.d.ts +40 -0
  31. package/dist-types/ts3.4/commands/ListNotificationsCommand.d.ts +2 -4
  32. package/dist-types/ts3.4/commands/PostLineageEventCommand.d.ts +49 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +67 -57
  35. package/dist-types/ts3.4/models/models_1.d.ts +90 -1
  36. package/dist-types/ts3.4/pagination/ListLineageNodeHistoryPaginator.d.ts +11 -0
  37. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  39. package/package.json +35 -35
@@ -57,6 +57,7 @@ import { GetGlossaryCommand } from "./commands/GetGlossaryCommand";
57
57
  import { GetGlossaryTermCommand, } from "./commands/GetGlossaryTermCommand";
58
58
  import { GetGroupProfileCommand, } from "./commands/GetGroupProfileCommand";
59
59
  import { GetIamPortalLoginUrlCommand, } from "./commands/GetIamPortalLoginUrlCommand";
60
+ import { GetLineageNodeCommand, } from "./commands/GetLineageNodeCommand";
60
61
  import { GetListingCommand } from "./commands/GetListingCommand";
61
62
  import { GetMetadataGenerationRunCommand, } from "./commands/GetMetadataGenerationRunCommand";
62
63
  import { GetProjectCommand } from "./commands/GetProjectCommand";
@@ -76,6 +77,7 @@ import { ListEnvironmentBlueprintConfigurationsCommand, } from "./commands/ListE
76
77
  import { ListEnvironmentBlueprintsCommand, } from "./commands/ListEnvironmentBlueprintsCommand";
77
78
  import { ListEnvironmentProfilesCommand, } from "./commands/ListEnvironmentProfilesCommand";
78
79
  import { ListEnvironmentsCommand, } from "./commands/ListEnvironmentsCommand";
80
+ import { ListLineageNodeHistoryCommand, } from "./commands/ListLineageNodeHistoryCommand";
79
81
  import { ListMetadataGenerationRunsCommand, } from "./commands/ListMetadataGenerationRunsCommand";
80
82
  import { ListNotificationsCommand, } from "./commands/ListNotificationsCommand";
81
83
  import { ListProjectMembershipsCommand, } from "./commands/ListProjectMembershipsCommand";
@@ -86,6 +88,7 @@ import { ListSubscriptionsCommand, } from "./commands/ListSubscriptionsCommand";
86
88
  import { ListSubscriptionTargetsCommand, } from "./commands/ListSubscriptionTargetsCommand";
87
89
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
88
90
  import { ListTimeSeriesDataPointsCommand, } from "./commands/ListTimeSeriesDataPointsCommand";
91
+ import { PostLineageEventCommand, } from "./commands/PostLineageEventCommand";
89
92
  import { PostTimeSeriesDataPointsCommand, } from "./commands/PostTimeSeriesDataPointsCommand";
90
93
  import { PutEnvironmentBlueprintConfigurationCommand, } from "./commands/PutEnvironmentBlueprintConfigurationCommand";
91
94
  import { RejectPredictionsCommand, } from "./commands/RejectPredictionsCommand";
@@ -173,6 +176,7 @@ const commands = {
173
176
  GetGlossaryTermCommand,
174
177
  GetGroupProfileCommand,
175
178
  GetIamPortalLoginUrlCommand,
179
+ GetLineageNodeCommand,
176
180
  GetListingCommand,
177
181
  GetMetadataGenerationRunCommand,
178
182
  GetProjectCommand,
@@ -192,6 +196,7 @@ const commands = {
192
196
  ListEnvironmentBlueprintsCommand,
193
197
  ListEnvironmentProfilesCommand,
194
198
  ListEnvironmentsCommand,
199
+ ListLineageNodeHistoryCommand,
195
200
  ListMetadataGenerationRunsCommand,
196
201
  ListNotificationsCommand,
197
202
  ListProjectMembershipsCommand,
@@ -202,6 +207,7 @@ const commands = {
202
207
  ListSubscriptionTargetsCommand,
203
208
  ListTagsForResourceCommand,
204
209
  ListTimeSeriesDataPointsCommand,
210
+ PostLineageEventCommand,
205
211
  PostTimeSeriesDataPointsCommand,
206
212
  PutEnvironmentBlueprintConfigurationCommand,
207
213
  RejectPredictionsCommand,
@@ -0,0 +1,25 @@
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 { GetLineageNodeOutputFilterSensitiveLog } from "../models/models_0";
6
+ import { de_GetLineageNodeCommand, se_GetLineageNodeCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetLineageNodeCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("DataZone", "GetLineageNode", {})
20
+ .n("DataZoneClient", "GetLineageNodeCommand")
21
+ .f(void 0, GetLineageNodeOutputFilterSensitiveLog)
22
+ .ser(se_GetLineageNodeCommand)
23
+ .de(de_GetLineageNodeCommand)
24
+ .build() {
25
+ }
@@ -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_ListLineageNodeHistoryCommand, se_ListLineageNodeHistoryCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListLineageNodeHistoryCommand 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", "ListLineageNodeHistory", {})
19
+ .n("DataZoneClient", "ListLineageNodeHistoryCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListLineageNodeHistoryCommand)
22
+ .de(de_ListLineageNodeHistoryCommand)
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 { ListNotificationsOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { ListNotificationsOutputFilterSensitiveLog } from "../models/models_1";
6
6
  import { de_ListNotificationsCommand, se_ListNotificationsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class ListNotificationsCommand extends $Command
@@ -0,0 +1,25 @@
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 { PostLineageEventInputFilterSensitiveLog, } from "../models/models_1";
6
+ import { de_PostLineageEventCommand, se_PostLineageEventCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class PostLineageEventCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("DataZone", "PostLineageEvent", {})
20
+ .n("DataZoneClient", "PostLineageEventCommand")
21
+ .f(PostLineageEventInputFilterSensitiveLog, void 0)
22
+ .ser(se_PostLineageEventCommand)
23
+ .de(de_PostLineageEventCommand)
24
+ .build() {
25
+ }
@@ -56,6 +56,7 @@ export * from "./GetGlossaryCommand";
56
56
  export * from "./GetGlossaryTermCommand";
57
57
  export * from "./GetGroupProfileCommand";
58
58
  export * from "./GetIamPortalLoginUrlCommand";
59
+ export * from "./GetLineageNodeCommand";
59
60
  export * from "./GetListingCommand";
60
61
  export * from "./GetMetadataGenerationRunCommand";
61
62
  export * from "./GetProjectCommand";
@@ -75,6 +76,7 @@ export * from "./ListEnvironmentBlueprintConfigurationsCommand";
75
76
  export * from "./ListEnvironmentBlueprintsCommand";
76
77
  export * from "./ListEnvironmentProfilesCommand";
77
78
  export * from "./ListEnvironmentsCommand";
79
+ export * from "./ListLineageNodeHistoryCommand";
78
80
  export * from "./ListMetadataGenerationRunsCommand";
79
81
  export * from "./ListNotificationsCommand";
80
82
  export * from "./ListProjectMembershipsCommand";
@@ -85,6 +87,7 @@ export * from "./ListSubscriptionTargetsCommand";
85
87
  export * from "./ListSubscriptionsCommand";
86
88
  export * from "./ListTagsForResourceCommand";
87
89
  export * from "./ListTimeSeriesDataPointsCommand";
90
+ export * from "./PostLineageEventCommand";
88
91
  export * from "./PostTimeSeriesDataPointsCommand";
89
92
  export * from "./PutEnvironmentBlueprintConfigurationCommand";
90
93
  export * from "./RejectPredictionsCommand";
@@ -488,6 +488,14 @@ export var ListingItem;
488
488
  return visitor._(value.$unknown[0], value.$unknown[1]);
489
489
  };
490
490
  })(ListingItem || (ListingItem = {}));
491
+ export const EdgeDirection = {
492
+ DOWNSTREAM: "DOWNSTREAM",
493
+ UPSTREAM: "UPSTREAM",
494
+ };
495
+ export const SortOrder = {
496
+ ASCENDING: "ASCENDING",
497
+ DESCENDING: "DESCENDING",
498
+ };
491
499
  export const TaskStatus = {
492
500
  ACTIVE: "ACTIVE",
493
501
  INACTIVE: "INACTIVE",
@@ -496,23 +504,6 @@ export const NotificationType = {
496
504
  EVENT: "EVENT",
497
505
  TASK: "TASK",
498
506
  };
499
- export const NotificationResourceType = {
500
- PROJECT: "PROJECT",
501
- };
502
- export const NotificationRole = {
503
- DOMAIN_OWNER: "DOMAIN_OWNER",
504
- PROJECT_CONTRIBUTOR: "PROJECT_CONTRIBUTOR",
505
- PROJECT_OWNER: "PROJECT_OWNER",
506
- PROJECT_SUBSCRIBER: "PROJECT_SUBSCRIBER",
507
- PROJECT_VIEWER: "PROJECT_VIEWER",
508
- };
509
- export const SortFieldProject = {
510
- NAME: "NAME",
511
- };
512
- export const SortOrder = {
513
- ASCENDING: "ASCENDING",
514
- DESCENDING: "DESCENDING",
515
- };
516
507
  export const AcceptChoiceFilterSensitiveLog = (obj) => ({
517
508
  ...obj,
518
509
  ...(obj.editedValue && { editedValue: SENSITIVE_STRING }),
@@ -940,6 +931,10 @@ export const GetGroupProfileOutputFilterSensitiveLog = (obj) => ({
940
931
  ...obj,
941
932
  ...(obj.groupName && { groupName: SENSITIVE_STRING }),
942
933
  });
934
+ export const GetLineageNodeOutputFilterSensitiveLog = (obj) => ({
935
+ ...obj,
936
+ ...(obj.formsOutput && { formsOutput: obj.formsOutput.map((item) => FormOutputFilterSensitiveLog(item)) }),
937
+ });
943
938
  export const GetProjectOutputFilterSensitiveLog = (obj) => ({
944
939
  ...obj,
945
940
  ...(obj.name && { name: SENSITIVE_STRING }),
@@ -1050,15 +1045,3 @@ export const GetListingOutputFilterSensitiveLog = (obj) => ({
1050
1045
  ...(obj.item && { item: ListingItemFilterSensitiveLog(obj.item) }),
1051
1046
  ...(obj.description && { description: SENSITIVE_STRING }),
1052
1047
  });
1053
- export const NotificationOutputFilterSensitiveLog = (obj) => ({
1054
- ...obj,
1055
- ...(obj.title && { title: SENSITIVE_STRING }),
1056
- ...(obj.message && { message: SENSITIVE_STRING }),
1057
- ...(obj.actionLink && { actionLink: SENSITIVE_STRING }),
1058
- });
1059
- export const ListNotificationsOutputFilterSensitiveLog = (obj) => ({
1060
- ...obj,
1061
- ...(obj.notifications && {
1062
- notifications: obj.notifications.map((item) => NotificationOutputFilterSensitiveLog(item)),
1063
- }),
1064
- });
@@ -1,5 +1,18 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { AssetItemFilterSensitiveLog, AssetListingItemFilterSensitiveLog, AssetTypeItemFilterSensitiveLog, CustomParameterFilterSensitiveLog, DataProductSummaryFilterSensitiveLog, ImportFilterSensitiveLog, SubscribedListingFilterSensitiveLog, SubscribedPrincipalFilterSensitiveLog, UserProfileDetailsFilterSensitiveLog, } from "./models_0";
2
+ import { AssetItemFilterSensitiveLog, AssetListingItemFilterSensitiveLog, AssetTypeItemFilterSensitiveLog, CustomParameterFilterSensitiveLog, DataProductSummaryFilterSensitiveLog, FormEntryOutputFilterSensitiveLog, ImportFilterSensitiveLog, SubscribedListingFilterSensitiveLog, SubscribedPrincipalFilterSensitiveLog, UserProfileDetailsFilterSensitiveLog, } from "./models_0";
3
+ export const NotificationResourceType = {
4
+ PROJECT: "PROJECT",
5
+ };
6
+ export const NotificationRole = {
7
+ DOMAIN_OWNER: "DOMAIN_OWNER",
8
+ PROJECT_CONTRIBUTOR: "PROJECT_CONTRIBUTOR",
9
+ PROJECT_OWNER: "PROJECT_OWNER",
10
+ PROJECT_SUBSCRIBER: "PROJECT_SUBSCRIBER",
11
+ PROJECT_VIEWER: "PROJECT_VIEWER",
12
+ };
13
+ export const SortFieldProject = {
14
+ NAME: "NAME",
15
+ };
3
16
  export var MemberDetails;
4
17
  (function (MemberDetails) {
5
18
  MemberDetails.visit = (value, visitor) => {
@@ -69,6 +82,7 @@ export var SearchResultItem;
69
82
  export const TypesSearchScope = {
70
83
  ASSET_TYPE: "ASSET_TYPE",
71
84
  FORM_TYPE: "FORM_TYPE",
85
+ LINEAGE_NODE_TYPE: "LINEAGE_NODE_TYPE",
72
86
  };
73
87
  export var SearchTypesResultItem;
74
88
  (function (SearchTypesResultItem) {
@@ -77,6 +91,8 @@ export var SearchTypesResultItem;
77
91
  return visitor.assetTypeItem(value.assetTypeItem);
78
92
  if (value.formTypeItem !== undefined)
79
93
  return visitor.formTypeItem(value.formTypeItem);
94
+ if (value.lineageNodeTypeItem !== undefined)
95
+ return visitor.lineageNodeTypeItem(value.lineageNodeTypeItem);
80
96
  return visitor._(value.$unknown[0], value.$unknown[1]);
81
97
  };
82
98
  })(SearchTypesResultItem || (SearchTypesResultItem = {}));
@@ -98,6 +114,18 @@ export var FilterClause;
98
114
  return visitor._(value.$unknown[0], value.$unknown[1]);
99
115
  };
100
116
  })(FilterClause || (FilterClause = {}));
117
+ export const NotificationOutputFilterSensitiveLog = (obj) => ({
118
+ ...obj,
119
+ ...(obj.title && { title: SENSITIVE_STRING }),
120
+ ...(obj.message && { message: SENSITIVE_STRING }),
121
+ ...(obj.actionLink && { actionLink: SENSITIVE_STRING }),
122
+ });
123
+ export const ListNotificationsOutputFilterSensitiveLog = (obj) => ({
124
+ ...obj,
125
+ ...(obj.notifications && {
126
+ notifications: obj.notifications.map((item) => NotificationOutputFilterSensitiveLog(item)),
127
+ }),
128
+ });
101
129
  export const ListProjectsInputFilterSensitiveLog = (obj) => ({
102
130
  ...obj,
103
131
  ...(obj.name && { name: SENSITIVE_STRING }),
@@ -145,6 +173,10 @@ export const ListSubscriptionTargetsOutputFilterSensitiveLog = (obj) => ({
145
173
  ...obj,
146
174
  ...(obj.items && { items: obj.items.map((item) => SubscriptionTargetSummaryFilterSensitiveLog(item)) }),
147
175
  });
176
+ export const PostLineageEventInputFilterSensitiveLog = (obj) => ({
177
+ ...obj,
178
+ ...(obj.event && { event: SENSITIVE_STRING }),
179
+ });
148
180
  export const RejectSubscriptionRequestInputFilterSensitiveLog = (obj) => ({
149
181
  ...obj,
150
182
  ...(obj.decisionComment && { decisionComment: SENSITIVE_STRING }),
@@ -223,11 +255,19 @@ export const FormTypeDataFilterSensitiveLog = (obj) => ({
223
255
  ...(obj.description && { description: SENSITIVE_STRING }),
224
256
  ...(obj.imports && { imports: obj.imports.map((item) => ImportFilterSensitiveLog(item)) }),
225
257
  });
258
+ export const LineageNodeTypeItemFilterSensitiveLog = (obj) => ({
259
+ ...obj,
260
+ ...(obj.formsOutput && {
261
+ formsOutput: Object.entries(obj.formsOutput).reduce((acc, [key, value]) => ((acc[key] = FormEntryOutputFilterSensitiveLog(value)), acc), {}),
262
+ }),
263
+ });
226
264
  export const SearchTypesResultItemFilterSensitiveLog = (obj) => {
227
265
  if (obj.assetTypeItem !== undefined)
228
266
  return { assetTypeItem: AssetTypeItemFilterSensitiveLog(obj.assetTypeItem) };
229
267
  if (obj.formTypeItem !== undefined)
230
268
  return { formTypeItem: FormTypeDataFilterSensitiveLog(obj.formTypeItem) };
269
+ if (obj.lineageNodeTypeItem !== undefined)
270
+ return { lineageNodeTypeItem: LineageNodeTypeItemFilterSensitiveLog(obj.lineageNodeTypeItem) };
231
271
  if (obj.$unknown !== undefined)
232
272
  return { [obj.$unknown[0]]: "UNKNOWN" };
233
273
  };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListLineageNodeHistoryCommand, } from "../commands/ListLineageNodeHistoryCommand";
3
+ import { DataZoneClient } from "../DataZoneClient";
4
+ export const paginateListLineageNodeHistory = createPaginator(DataZoneClient, ListLineageNodeHistoryCommand, "nextToken", "nextToken", "maxResults");
@@ -9,6 +9,7 @@ export * from "./ListEnvironmentBlueprintConfigurationsPaginator";
9
9
  export * from "./ListEnvironmentBlueprintsPaginator";
10
10
  export * from "./ListEnvironmentProfilesPaginator";
11
11
  export * from "./ListEnvironmentsPaginator";
12
+ export * from "./ListLineageNodeHistoryPaginator";
12
13
  export * from "./ListMetadataGenerationRunsPaginator";
13
14
  export * from "./ListNotificationsPaginator";
14
15
  export * from "./ListProjectMembershipsPaginator";
@@ -800,6 +800,19 @@ export const se_GetIamPortalLoginUrlCommand = async (input, context) => {
800
800
  b.m("POST").h(headers).b(body);
801
801
  return b.build();
802
802
  };
803
+ export const se_GetLineageNodeCommand = async (input, context) => {
804
+ const b = rb(input, context);
805
+ const headers = {};
806
+ b.bp("/v2/domains/{domainIdentifier}/lineage/nodes/{identifier}");
807
+ b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
808
+ b.p("identifier", () => input.identifier, "{identifier}", false);
809
+ const query = map({
810
+ [_t]: [() => input.eventTimestamp !== void 0, () => __serializeDateTime(input[_eT]).toString()],
811
+ });
812
+ let body;
813
+ b.m("GET").h(headers).q(query).b(body);
814
+ return b.build();
815
+ };
803
816
  export const se_GetListingCommand = async (input, context) => {
804
817
  const b = rb(input, context);
805
818
  const headers = {};
@@ -896,7 +909,7 @@ export const se_GetUserProfileCommand = async (input, context) => {
896
909
  b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
897
910
  b.p("userIdentifier", () => input.userIdentifier, "{userIdentifier}", false);
898
911
  const query = map({
899
- [_t]: [, input[_t]],
912
+ [_ty]: [, input[_ty]],
900
913
  });
901
914
  let body;
902
915
  b.m("GET").h(headers).q(query).b(body);
@@ -954,7 +967,7 @@ export const se_ListDataSourcesCommand = async (input, context) => {
954
967
  const query = map({
955
968
  [_pI]: [, __expectNonNull(input[_pI], `projectIdentifier`)],
956
969
  [_eI]: [, input[_eI]],
957
- [_t]: [, input[_t]],
970
+ [_ty]: [, input[_ty]],
958
971
  [_s]: [, input[_s]],
959
972
  [_n]: [, input[_n]],
960
973
  [_nT]: [, input[_nT]],
@@ -1058,6 +1071,24 @@ export const se_ListEnvironmentsCommand = async (input, context) => {
1058
1071
  b.m("GET").h(headers).q(query).b(body);
1059
1072
  return b.build();
1060
1073
  };
1074
+ export const se_ListLineageNodeHistoryCommand = async (input, context) => {
1075
+ const b = rb(input, context);
1076
+ const headers = {};
1077
+ b.bp("/v2/domains/{domainIdentifier}/lineage/nodes/{identifier}/history");
1078
+ b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
1079
+ b.p("identifier", () => input.identifier, "{identifier}", false);
1080
+ const query = map({
1081
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1082
+ [_nT]: [, input[_nT]],
1083
+ [_d]: [, input[_d]],
1084
+ [_tGTE]: [() => input.eventTimestampGTE !== void 0, () => __serializeDateTime(input[_eTGTE]).toString()],
1085
+ [_tLTE]: [() => input.eventTimestampLTE !== void 0, () => __serializeDateTime(input[_eTLTE]).toString()],
1086
+ [_sO]: [, input[_sO]],
1087
+ });
1088
+ let body;
1089
+ b.m("GET").h(headers).q(query).b(body);
1090
+ return b.build();
1091
+ };
1061
1092
  export const se_ListMetadataGenerationRunsCommand = async (input, context) => {
1062
1093
  const b = rb(input, context);
1063
1094
  const headers = {};
@@ -1065,7 +1096,7 @@ export const se_ListMetadataGenerationRunsCommand = async (input, context) => {
1065
1096
  b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
1066
1097
  const query = map({
1067
1098
  [_s]: [, input[_s]],
1068
- [_t]: [, input[_t]],
1099
+ [_ty]: [, input[_ty]],
1069
1100
  [_nT]: [, input[_nT]],
1070
1101
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1071
1102
  });
@@ -1079,7 +1110,7 @@ export const se_ListNotificationsCommand = async (input, context) => {
1079
1110
  b.bp("/v2/domains/{domainIdentifier}/notifications");
1080
1111
  b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
1081
1112
  const query = map({
1082
- [_t]: [, __expectNonNull(input[_t], `type`)],
1113
+ [_ty]: [, __expectNonNull(input[_ty], `type`)],
1083
1114
  [_aT]: [() => input.afterTimestamp !== void 0, () => __serializeDateTime(input[_aT]).toString()],
1084
1115
  [_bT]: [() => input.beforeTimestamp !== void 0, () => __serializeDateTime(input[_bT]).toString()],
1085
1116
  [_su]: [() => input.subjects !== void 0, () => (input[_su] || []).map((_entry) => _entry)],
@@ -1224,6 +1255,23 @@ export const se_ListTimeSeriesDataPointsCommand = async (input, context) => {
1224
1255
  b.m("GET").h(headers).q(query).b(body);
1225
1256
  return b.build();
1226
1257
  };
1258
+ export const se_PostLineageEventCommand = async (input, context) => {
1259
+ const b = rb(input, context);
1260
+ const headers = {
1261
+ "content-type": "application/octet-stream",
1262
+ };
1263
+ b.bp("/v2/domains/{domainIdentifier}/lineage/events");
1264
+ b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
1265
+ const query = map({
1266
+ [_cT]: [, input[_cT] ?? generateIdempotencyToken()],
1267
+ });
1268
+ let body;
1269
+ if (input.event !== undefined) {
1270
+ body = input.event;
1271
+ }
1272
+ b.m("POST").h(headers).q(query).b(body);
1273
+ return b.build();
1274
+ };
1227
1275
  export const se_PostTimeSeriesDataPointsCommand = async (input, context) => {
1228
1276
  const b = rb(input, context);
1229
1277
  const headers = {
@@ -2834,6 +2882,34 @@ export const de_GetIamPortalLoginUrlCommand = async (output, context) => {
2834
2882
  Object.assign(contents, doc);
2835
2883
  return contents;
2836
2884
  };
2885
+ export const de_GetLineageNodeCommand = async (output, context) => {
2886
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2887
+ return de_CommandError(output, context);
2888
+ }
2889
+ const contents = map({
2890
+ $metadata: deserializeMetadata(output),
2891
+ });
2892
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2893
+ const doc = take(data, {
2894
+ createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2895
+ createdBy: __expectString,
2896
+ description: __expectString,
2897
+ domainId: __expectString,
2898
+ downstreamNodes: (_) => de_LineageNodeReferenceList(_, context),
2899
+ eventTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2900
+ formsOutput: _json,
2901
+ id: __expectString,
2902
+ name: __expectString,
2903
+ sourceIdentifier: __expectString,
2904
+ typeName: __expectString,
2905
+ typeRevision: __expectString,
2906
+ updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2907
+ updatedBy: __expectString,
2908
+ upstreamNodes: (_) => de_LineageNodeReferenceList(_, context),
2909
+ });
2910
+ Object.assign(contents, doc);
2911
+ return contents;
2912
+ };
2837
2913
  export const de_GetListingCommand = async (output, context) => {
2838
2914
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2839
2915
  return de_CommandError(output, context);
@@ -3189,6 +3265,21 @@ export const de_ListEnvironmentsCommand = async (output, context) => {
3189
3265
  Object.assign(contents, doc);
3190
3266
  return contents;
3191
3267
  };
3268
+ export const de_ListLineageNodeHistoryCommand = async (output, context) => {
3269
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3270
+ return de_CommandError(output, context);
3271
+ }
3272
+ const contents = map({
3273
+ $metadata: deserializeMetadata(output),
3274
+ });
3275
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3276
+ const doc = take(data, {
3277
+ nextToken: __expectString,
3278
+ nodes: (_) => de_LineageNodeSummaries(_, context),
3279
+ });
3280
+ Object.assign(contents, doc);
3281
+ return contents;
3282
+ };
3192
3283
  export const de_ListMetadataGenerationRunsCommand = async (output, context) => {
3193
3284
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3194
3285
  return de_CommandError(output, context);
@@ -3338,6 +3429,16 @@ export const de_ListTimeSeriesDataPointsCommand = async (output, context) => {
3338
3429
  Object.assign(contents, doc);
3339
3430
  return contents;
3340
3431
  };
3432
+ export const de_PostLineageEventCommand = async (output, context) => {
3433
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3434
+ return de_CommandError(output, context);
3435
+ }
3436
+ const contents = map({
3437
+ $metadata: deserializeMetadata(output),
3438
+ });
3439
+ await collectBody(output.body, context);
3440
+ return contents;
3441
+ };
3341
3442
  export const de_PostTimeSeriesDataPointsCommand = async (output, context) => {
3342
3443
  if (output.statusCode !== 201 && output.statusCode >= 300) {
3343
3444
  return de_CommandError(output, context);
@@ -4413,6 +4514,57 @@ const de_GlossaryTermItem = (output, context) => {
4413
4514
  updatedBy: __expectString,
4414
4515
  });
4415
4516
  };
4517
+ const de_LineageNodeReference = (output, context) => {
4518
+ return take(output, {
4519
+ eventTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
4520
+ id: __expectString,
4521
+ });
4522
+ };
4523
+ const de_LineageNodeReferenceList = (output, context) => {
4524
+ const retVal = (output || [])
4525
+ .filter((e) => e != null)
4526
+ .map((entry) => {
4527
+ return de_LineageNodeReference(entry, context);
4528
+ });
4529
+ return retVal;
4530
+ };
4531
+ const de_LineageNodeSummaries = (output, context) => {
4532
+ const retVal = (output || [])
4533
+ .filter((e) => e != null)
4534
+ .map((entry) => {
4535
+ return de_LineageNodeSummary(entry, context);
4536
+ });
4537
+ return retVal;
4538
+ };
4539
+ const de_LineageNodeSummary = (output, context) => {
4540
+ return take(output, {
4541
+ createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
4542
+ createdBy: __expectString,
4543
+ description: __expectString,
4544
+ domainId: __expectString,
4545
+ eventTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
4546
+ id: __expectString,
4547
+ name: __expectString,
4548
+ sourceIdentifier: __expectString,
4549
+ typeName: __expectString,
4550
+ typeRevision: __expectString,
4551
+ updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
4552
+ updatedBy: __expectString,
4553
+ });
4554
+ };
4555
+ const de_LineageNodeTypeItem = (output, context) => {
4556
+ return take(output, {
4557
+ createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
4558
+ createdBy: __expectString,
4559
+ description: __expectString,
4560
+ domainId: __expectString,
4561
+ formsOutput: _json,
4562
+ name: __expectString,
4563
+ revision: __expectString,
4564
+ updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
4565
+ updatedBy: __expectString,
4566
+ });
4567
+ };
4416
4568
  const de_ListingItem = (output, context) => {
4417
4569
  if (output.assetListing != null) {
4418
4570
  return {
@@ -4543,6 +4695,11 @@ const de_SearchTypesResultItem = (output, context) => {
4543
4695
  formTypeItem: de_FormTypeData(output.formTypeItem, context),
4544
4696
  };
4545
4697
  }
4698
+ if (output.lineageNodeTypeItem != null) {
4699
+ return {
4700
+ lineageNodeTypeItem: de_LineageNodeTypeItem(output.lineageNodeTypeItem, context),
4701
+ };
4702
+ }
4546
4703
  return { $unknown: Object.entries(output)[0] };
4547
4704
  };
4548
4705
  const de_SearchTypesResultItems = (output, context) => {
@@ -4723,11 +4880,15 @@ const _aPI = "approverProjectId";
4723
4880
  const _aT = "afterTimestamp";
4724
4881
  const _bT = "beforeTimestamp";
4725
4882
  const _cT = "clientToken";
4883
+ const _d = "direction";
4726
4884
  const _eA = "endedAt";
4727
4885
  const _eBI = "environmentBlueprintIdentifier";
4728
4886
  const _eI = "environmentIdentifier";
4729
4887
  const _eIn = "environmentId";
4730
4888
  const _ePI = "environmentProfileIdentifier";
4889
+ const _eT = "eventTimestamp";
4890
+ const _eTGTE = "eventTimestampGTE";
4891
+ const _eTLTE = "eventTimestampLTE";
4731
4892
  const _fN = "formName";
4732
4893
  const _gI = "groupIdentifier";
4733
4894
  const _lR = "listingRevision";
@@ -4750,7 +4911,10 @@ const _sO = "sortOrder";
4750
4911
  const _sRI = "subscriptionRequestIdentifier";
4751
4912
  const _sTI = "subscriptionTargetId";
4752
4913
  const _su = "subjects";
4753
- const _t = "type";
4914
+ const _t = "timestamp";
4915
+ const _tGTE = "timestampGTE";
4754
4916
  const _tK = "tagKeys";
4917
+ const _tLTE = "timestampLTE";
4755
4918
  const _tS = "taskStatus";
4919
+ const _ty = "type";
4756
4920
  const _uI = "userIdentifier";
@@ -57,6 +57,7 @@ import { GetGlossaryCommandInput, GetGlossaryCommandOutput } from "./commands/Ge
57
57
  import { GetGlossaryTermCommandInput, GetGlossaryTermCommandOutput } from "./commands/GetGlossaryTermCommand";
58
58
  import { GetGroupProfileCommandInput, GetGroupProfileCommandOutput } from "./commands/GetGroupProfileCommand";
59
59
  import { GetIamPortalLoginUrlCommandInput, GetIamPortalLoginUrlCommandOutput } from "./commands/GetIamPortalLoginUrlCommand";
60
+ import { GetLineageNodeCommandInput, GetLineageNodeCommandOutput } from "./commands/GetLineageNodeCommand";
60
61
  import { GetListingCommandInput, GetListingCommandOutput } from "./commands/GetListingCommand";
61
62
  import { GetMetadataGenerationRunCommandInput, GetMetadataGenerationRunCommandOutput } from "./commands/GetMetadataGenerationRunCommand";
62
63
  import { GetProjectCommandInput, GetProjectCommandOutput } from "./commands/GetProjectCommand";
@@ -76,6 +77,7 @@ import { ListEnvironmentBlueprintConfigurationsCommandInput, ListEnvironmentBlue
76
77
  import { ListEnvironmentBlueprintsCommandInput, ListEnvironmentBlueprintsCommandOutput } from "./commands/ListEnvironmentBlueprintsCommand";
77
78
  import { ListEnvironmentProfilesCommandInput, ListEnvironmentProfilesCommandOutput } from "./commands/ListEnvironmentProfilesCommand";
78
79
  import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
80
+ import { ListLineageNodeHistoryCommandInput, ListLineageNodeHistoryCommandOutput } from "./commands/ListLineageNodeHistoryCommand";
79
81
  import { ListMetadataGenerationRunsCommandInput, ListMetadataGenerationRunsCommandOutput } from "./commands/ListMetadataGenerationRunsCommand";
80
82
  import { ListNotificationsCommandInput, ListNotificationsCommandOutput } from "./commands/ListNotificationsCommand";
81
83
  import { ListProjectMembershipsCommandInput, ListProjectMembershipsCommandOutput } from "./commands/ListProjectMembershipsCommand";
@@ -86,6 +88,7 @@ import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from ".
86
88
  import { ListSubscriptionTargetsCommandInput, ListSubscriptionTargetsCommandOutput } from "./commands/ListSubscriptionTargetsCommand";
87
89
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
88
90
  import { ListTimeSeriesDataPointsCommandInput, ListTimeSeriesDataPointsCommandOutput } from "./commands/ListTimeSeriesDataPointsCommand";
91
+ import { PostLineageEventCommandInput, PostLineageEventCommandOutput } from "./commands/PostLineageEventCommand";
89
92
  import { PostTimeSeriesDataPointsCommandInput, PostTimeSeriesDataPointsCommandOutput } from "./commands/PostTimeSeriesDataPointsCommand";
90
93
  import { PutEnvironmentBlueprintConfigurationCommandInput, PutEnvironmentBlueprintConfigurationCommandOutput } from "./commands/PutEnvironmentBlueprintConfigurationCommand";
91
94
  import { RejectPredictionsCommandInput, RejectPredictionsCommandOutput } from "./commands/RejectPredictionsCommand";
@@ -463,6 +466,12 @@ export interface DataZone {
463
466
  getIamPortalLoginUrl(args: GetIamPortalLoginUrlCommandInput, options?: __HttpHandlerOptions): Promise<GetIamPortalLoginUrlCommandOutput>;
464
467
  getIamPortalLoginUrl(args: GetIamPortalLoginUrlCommandInput, cb: (err: any, data?: GetIamPortalLoginUrlCommandOutput) => void): void;
465
468
  getIamPortalLoginUrl(args: GetIamPortalLoginUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIamPortalLoginUrlCommandOutput) => void): void;
469
+ /**
470
+ * @see {@link GetLineageNodeCommand}
471
+ */
472
+ getLineageNode(args: GetLineageNodeCommandInput, options?: __HttpHandlerOptions): Promise<GetLineageNodeCommandOutput>;
473
+ getLineageNode(args: GetLineageNodeCommandInput, cb: (err: any, data?: GetLineageNodeCommandOutput) => void): void;
474
+ getLineageNode(args: GetLineageNodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLineageNodeCommandOutput) => void): void;
466
475
  /**
467
476
  * @see {@link GetListingCommand}
468
477
  */
@@ -578,6 +587,12 @@ export interface DataZone {
578
587
  listEnvironments(args: ListEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentsCommandOutput>;
579
588
  listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
580
589
  listEnvironments(args: ListEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
590
+ /**
591
+ * @see {@link ListLineageNodeHistoryCommand}
592
+ */
593
+ listLineageNodeHistory(args: ListLineageNodeHistoryCommandInput, options?: __HttpHandlerOptions): Promise<ListLineageNodeHistoryCommandOutput>;
594
+ listLineageNodeHistory(args: ListLineageNodeHistoryCommandInput, cb: (err: any, data?: ListLineageNodeHistoryCommandOutput) => void): void;
595
+ listLineageNodeHistory(args: ListLineageNodeHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLineageNodeHistoryCommandOutput) => void): void;
581
596
  /**
582
597
  * @see {@link ListMetadataGenerationRunsCommand}
583
598
  */
@@ -638,6 +653,12 @@ export interface DataZone {
638
653
  listTimeSeriesDataPoints(args: ListTimeSeriesDataPointsCommandInput, options?: __HttpHandlerOptions): Promise<ListTimeSeriesDataPointsCommandOutput>;
639
654
  listTimeSeriesDataPoints(args: ListTimeSeriesDataPointsCommandInput, cb: (err: any, data?: ListTimeSeriesDataPointsCommandOutput) => void): void;
640
655
  listTimeSeriesDataPoints(args: ListTimeSeriesDataPointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTimeSeriesDataPointsCommandOutput) => void): void;
656
+ /**
657
+ * @see {@link PostLineageEventCommand}
658
+ */
659
+ postLineageEvent(args: PostLineageEventCommandInput, options?: __HttpHandlerOptions): Promise<PostLineageEventCommandOutput>;
660
+ postLineageEvent(args: PostLineageEventCommandInput, cb: (err: any, data?: PostLineageEventCommandOutput) => void): void;
661
+ postLineageEvent(args: PostLineageEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostLineageEventCommandOutput) => void): void;
641
662
  /**
642
663
  * @see {@link PostTimeSeriesDataPointsCommand}
643
664
  */