@aws-sdk/client-datazone 3.535.0 → 3.546.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 (51) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  3. package/dist-cjs/index.js +267 -13
  4. package/dist-es/DataZone.js +8 -0
  5. package/dist-es/commands/AcceptPredictionsCommand.js +2 -1
  6. package/dist-es/commands/CancelMetadataGenerationRunCommand.js +24 -0
  7. package/dist-es/commands/GetMetadataGenerationRunCommand.js +24 -0
  8. package/dist-es/commands/ListMetadataGenerationRunsCommand.js +24 -0
  9. package/dist-es/commands/StartMetadataGenerationRunCommand.js +24 -0
  10. package/dist-es/commands/index.js +4 -0
  11. package/dist-es/endpoint/endpointResolver.js +3 -1
  12. package/dist-es/index.js +0 -1
  13. package/dist-es/models/models_0.js +14 -3
  14. package/dist-es/models/models_1.js +10 -0
  15. package/dist-es/pagination/ListMetadataGenerationRunsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_restJson1.js +138 -0
  18. package/dist-types/DataZone.d.ts +28 -0
  19. package/dist-types/DataZoneClient.d.ts +6 -2
  20. package/dist-types/commands/AcceptPredictionsCommand.d.ts +2 -1
  21. package/dist-types/commands/CancelMetadataGenerationRunCommand.d.ts +79 -0
  22. package/dist-types/commands/CreateListingChangeSetCommand.d.ts +2 -1
  23. package/dist-types/commands/DeleteListingCommand.d.ts +1 -1
  24. package/dist-types/commands/GetListingCommand.d.ts +1 -1
  25. package/dist-types/commands/GetMetadataGenerationRunCommand.d.ts +90 -0
  26. package/dist-types/commands/ListMetadataGenerationRunsCommand.d.ts +97 -0
  27. package/dist-types/commands/RejectPredictionsCommand.d.ts +5 -3
  28. package/dist-types/commands/SearchListingsCommand.d.ts +1 -1
  29. package/dist-types/commands/StartMetadataGenerationRunCommand.d.ts +97 -0
  30. package/dist-types/commands/index.d.ts +4 -0
  31. package/dist-types/index.d.ts +0 -1
  32. package/dist-types/models/models_0.d.ts +107 -118
  33. package/dist-types/models/models_1.d.ts +366 -11
  34. package/dist-types/pagination/ListMetadataGenerationRunsPaginator.d.ts +7 -0
  35. package/dist-types/pagination/index.d.ts +1 -0
  36. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  37. package/dist-types/ts3.4/DataZone.d.ts +68 -0
  38. package/dist-types/ts3.4/DataZoneClient.d.ts +24 -0
  39. package/dist-types/ts3.4/commands/CancelMetadataGenerationRunCommand.d.ts +39 -0
  40. package/dist-types/ts3.4/commands/GetMetadataGenerationRunCommand.d.ts +37 -0
  41. package/dist-types/ts3.4/commands/ListMetadataGenerationRunsCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/RejectPredictionsCommand.d.ts +4 -2
  43. package/dist-types/ts3.4/commands/StartMetadataGenerationRunCommand.d.ts +39 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  45. package/dist-types/ts3.4/index.d.ts +0 -1
  46. package/dist-types/ts3.4/models/models_0.d.ts +21 -20
  47. package/dist-types/ts3.4/models/models_1.d.ts +85 -0
  48. package/dist-types/ts3.4/pagination/ListMetadataGenerationRunsPaginator.d.ts +11 -0
  49. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  51. package/package.json +5 -5
package/README.md CHANGED
@@ -222,6 +222,14 @@ AcceptSubscriptionRequest
222
222
 
223
223
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/AcceptSubscriptionRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/AcceptSubscriptionRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/AcceptSubscriptionRequestCommandOutput/)
224
224
 
225
+ </details>
226
+ <details>
227
+ <summary>
228
+ CancelMetadataGenerationRun
229
+ </summary>
230
+
231
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/CancelMetadataGenerationRunCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/CancelMetadataGenerationRunCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/CancelMetadataGenerationRunCommandOutput/)
232
+
225
233
  </details>
226
234
  <details>
227
235
  <summary>
@@ -622,6 +630,14 @@ GetListing
622
630
 
623
631
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/GetListingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetListingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetListingCommandOutput/)
624
632
 
633
+ </details>
634
+ <details>
635
+ <summary>
636
+ GetMetadataGenerationRun
637
+ </summary>
638
+
639
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/GetMetadataGenerationRunCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetMetadataGenerationRunCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/GetMetadataGenerationRunCommandOutput/)
640
+
625
641
  </details>
626
642
  <details>
627
643
  <summary>
@@ -742,6 +758,14 @@ ListEnvironments
742
758
 
743
759
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/ListEnvironmentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/ListEnvironmentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/ListEnvironmentsCommandOutput/)
744
760
 
761
+ </details>
762
+ <details>
763
+ <summary>
764
+ ListMetadataGenerationRuns
765
+ </summary>
766
+
767
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/ListMetadataGenerationRunsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/ListMetadataGenerationRunsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/ListMetadataGenerationRunsCommandOutput/)
768
+
745
769
  </details>
746
770
  <details>
747
771
  <summary>
@@ -886,6 +910,14 @@ StartDataSourceRun
886
910
 
887
911
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/StartDataSourceRunCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/StartDataSourceRunCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/StartDataSourceRunCommandOutput/)
888
912
 
913
+ </details>
914
+ <details>
915
+ <summary>
916
+ StartMetadataGenerationRun
917
+ </summary>
918
+
919
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datazone/command/StartMetadataGenerationRunCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/StartMetadataGenerationRunCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datazone/Interface/StartMetadataGenerationRunCommandOutput/)
920
+
889
921
  </details>
890
922
  <details>
891
923
  <summary>
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -21,7 +21,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/index.ts
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
+ AcceptChoiceFilterSensitiveLog: () => AcceptChoiceFilterSensitiveLog,
24
25
  AcceptPredictionsCommand: () => AcceptPredictionsCommand,
26
+ AcceptPredictionsInputFilterSensitiveLog: () => AcceptPredictionsInputFilterSensitiveLog,
25
27
  AcceptRuleBehavior: () => AcceptRuleBehavior,
26
28
  AcceptSubscriptionRequestCommand: () => AcceptSubscriptionRequestCommand,
27
29
  AcceptSubscriptionRequestInputFilterSensitiveLog: () => AcceptSubscriptionRequestInputFilterSensitiveLog,
@@ -33,6 +35,7 @@ __export(src_exports, {
33
35
  AssetListingItemFilterSensitiveLog: () => AssetListingItemFilterSensitiveLog,
34
36
  AssetTypeItemFilterSensitiveLog: () => AssetTypeItemFilterSensitiveLog,
35
37
  AuthType: () => AuthType,
38
+ CancelMetadataGenerationRunCommand: () => CancelMetadataGenerationRunCommand,
36
39
  CancelSubscriptionCommand: () => CancelSubscriptionCommand,
37
40
  CancelSubscriptionOutputFilterSensitiveLog: () => CancelSubscriptionOutputFilterSensitiveLog,
38
41
  ChangeAction: () => ChangeAction,
@@ -156,6 +159,7 @@ __export(src_exports, {
156
159
  GetIamPortalLoginUrlCommand: () => GetIamPortalLoginUrlCommand,
157
160
  GetListingCommand: () => GetListingCommand,
158
161
  GetListingOutputFilterSensitiveLog: () => GetListingOutputFilterSensitiveLog,
162
+ GetMetadataGenerationRunCommand: () => GetMetadataGenerationRunCommand,
159
163
  GetProjectCommand: () => GetProjectCommand,
160
164
  GetProjectOutputFilterSensitiveLog: () => GetProjectOutputFilterSensitiveLog,
161
165
  GetSubscriptionCommand: () => GetSubscriptionCommand,
@@ -196,6 +200,7 @@ __export(src_exports, {
196
200
  ListEnvironmentProfilesOutputFilterSensitiveLog: () => ListEnvironmentProfilesOutputFilterSensitiveLog,
197
201
  ListEnvironmentsCommand: () => ListEnvironmentsCommand,
198
202
  ListEnvironmentsOutputFilterSensitiveLog: () => ListEnvironmentsOutputFilterSensitiveLog,
203
+ ListMetadataGenerationRunsCommand: () => ListMetadataGenerationRunsCommand,
199
204
  ListNotificationsCommand: () => ListNotificationsCommand,
200
205
  ListNotificationsOutputFilterSensitiveLog: () => ListNotificationsOutputFilterSensitiveLog,
201
206
  ListProjectMembershipsCommand: () => ListProjectMembershipsCommand,
@@ -215,6 +220,9 @@ __export(src_exports, {
215
220
  ListingStatus: () => ListingStatus,
216
221
  Member: () => Member,
217
222
  MemberDetails: () => MemberDetails,
223
+ MetadataGenerationRunStatus: () => MetadataGenerationRunStatus,
224
+ MetadataGenerationRunType: () => MetadataGenerationRunType,
225
+ MetadataGenerationTargetType: () => MetadataGenerationTargetType,
218
226
  Model: () => Model,
219
227
  ModelFilterSensitiveLog: () => ModelFilterSensitiveLog,
220
228
  NotificationOutputFilterSensitiveLog: () => NotificationOutputFilterSensitiveLog,
@@ -260,6 +268,7 @@ __export(src_exports, {
260
268
  SortOrder: () => SortOrder,
261
269
  SsoUserProfileDetailsFilterSensitiveLog: () => SsoUserProfileDetailsFilterSensitiveLog,
262
270
  StartDataSourceRunCommand: () => StartDataSourceRunCommand,
271
+ StartMetadataGenerationRunCommand: () => StartMetadataGenerationRunCommand,
263
272
  SubscribedAssetListingFilterSensitiveLog: () => SubscribedAssetListingFilterSensitiveLog,
264
273
  SubscribedListingFilterSensitiveLog: () => SubscribedListingFilterSensitiveLog,
265
274
  SubscribedListingItem: () => SubscribedListingItem,
@@ -331,6 +340,7 @@ __export(src_exports, {
331
340
  paginateListEnvironmentBlueprints: () => paginateListEnvironmentBlueprints,
332
341
  paginateListEnvironmentProfiles: () => paginateListEnvironmentProfiles,
333
342
  paginateListEnvironments: () => paginateListEnvironments,
343
+ paginateListMetadataGenerationRuns: () => paginateListMetadataGenerationRuns,
334
344
  paginateListNotifications: () => paginateListNotifications,
335
345
  paginateListProjectMemberships: () => paginateListProjectMemberships,
336
346
  paginateListProjects: () => paginateListProjects,
@@ -496,11 +506,8 @@ var import_middleware_serde = require("@smithy/middleware-serde");
496
506
 
497
507
  var import_types = require("@smithy/types");
498
508
 
499
- // src/protocols/Aws_restJson1.ts
500
- var import_core2 = require("@aws-sdk/core");
501
-
509
+ // src/models/models_0.ts
502
510
 
503
- var import_uuid = require("uuid");
504
511
 
505
512
  // src/models/DataZoneServiceException.ts
506
513
 
@@ -517,7 +524,6 @@ __name(_DataZoneServiceException, "DataZoneServiceException");
517
524
  var DataZoneServiceException = _DataZoneServiceException;
518
525
 
519
526
  // src/models/models_0.ts
520
-
521
527
  var AcceptRuleBehavior = {
522
528
  ALL: "ALL",
523
529
  NONE: "NONE"
@@ -1054,10 +1060,21 @@ var SortKey = {
1054
1060
  CREATED_AT: "CREATED_AT",
1055
1061
  UPDATED_AT: "UPDATED_AT"
1056
1062
  };
1057
- var RejectRuleBehavior = {
1058
- ALL: "ALL",
1059
- NONE: "NONE"
1063
+ var MetadataGenerationRunStatus = {
1064
+ CANCELED: "CANCELED",
1065
+ FAILED: "FAILED",
1066
+ IN_PROGRESS: "IN_PROGRESS",
1067
+ SUBMITTED: "SUBMITTED",
1068
+ SUCCEEDED: "SUCCEEDED"
1060
1069
  };
1070
+ var AcceptChoiceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1071
+ ...obj,
1072
+ ...obj.editedValue && { editedValue: import_smithy_client.SENSITIVE_STRING }
1073
+ }), "AcceptChoiceFilterSensitiveLog");
1074
+ var AcceptPredictionsInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1075
+ ...obj,
1076
+ ...obj.acceptChoices && { acceptChoices: obj.acceptChoices.map((item) => AcceptChoiceFilterSensitiveLog(item)) }
1077
+ }), "AcceptPredictionsInputFilterSensitiveLog");
1061
1078
  var AcceptSubscriptionRequestInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1062
1079
  ...obj,
1063
1080
  ...obj.decisionComment && { decisionComment: import_smithy_client.SENSITIVE_STRING }
@@ -1653,8 +1670,24 @@ var ListSubscriptionTargetsOutputFilterSensitiveLog = /* @__PURE__ */ __name((ob
1653
1670
  ...obj.items && { items: obj.items.map((item) => SubscriptionTargetSummaryFilterSensitiveLog(item)) }
1654
1671
  }), "ListSubscriptionTargetsOutputFilterSensitiveLog");
1655
1672
 
1673
+ // src/protocols/Aws_restJson1.ts
1674
+ var import_core2 = require("@aws-sdk/core");
1675
+
1676
+
1677
+ var import_uuid = require("uuid");
1678
+
1656
1679
  // src/models/models_1.ts
1657
1680
 
1681
+ var MetadataGenerationTargetType = {
1682
+ ASSET: "ASSET"
1683
+ };
1684
+ var MetadataGenerationRunType = {
1685
+ BUSINESS_DESCRIPTIONS: "BUSINESS_DESCRIPTIONS"
1686
+ };
1687
+ var RejectRuleBehavior = {
1688
+ ALL: "ALL",
1689
+ NONE: "NONE"
1690
+ };
1658
1691
  var SearchOutputAdditionalAttribute = {
1659
1692
  FORMS: "FORMS"
1660
1693
  };
@@ -1926,6 +1959,16 @@ var se_AcceptSubscriptionRequestCommand = /* @__PURE__ */ __name(async (input, c
1926
1959
  b.m("PUT").h(headers).b(body);
1927
1960
  return b.build();
1928
1961
  }, "se_AcceptSubscriptionRequestCommand");
1962
+ var se_CancelMetadataGenerationRunCommand = /* @__PURE__ */ __name(async (input, context) => {
1963
+ const b = (0, import_core.requestBuilder)(input, context);
1964
+ const headers = {};
1965
+ b.bp("/v2/domains/{domainIdentifier}/metadata-generation-runs/{identifier}/cancel");
1966
+ b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
1967
+ b.p("identifier", () => input.identifier, "{identifier}", false);
1968
+ let body;
1969
+ b.m("POST").h(headers).b(body);
1970
+ return b.build();
1971
+ }, "se_CancelMetadataGenerationRunCommand");
1929
1972
  var se_CancelSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
1930
1973
  const b = (0, import_core.requestBuilder)(input, context);
1931
1974
  const headers = {};
@@ -2657,6 +2700,16 @@ var se_GetListingCommand = /* @__PURE__ */ __name(async (input, context) => {
2657
2700
  b.m("GET").h(headers).q(query).b(body);
2658
2701
  return b.build();
2659
2702
  }, "se_GetListingCommand");
2703
+ var se_GetMetadataGenerationRunCommand = /* @__PURE__ */ __name(async (input, context) => {
2704
+ const b = (0, import_core.requestBuilder)(input, context);
2705
+ const headers = {};
2706
+ b.bp("/v2/domains/{domainIdentifier}/metadata-generation-runs/{identifier}");
2707
+ b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
2708
+ b.p("identifier", () => input.identifier, "{identifier}", false);
2709
+ let body;
2710
+ b.m("GET").h(headers).b(body);
2711
+ return b.build();
2712
+ }, "se_GetMetadataGenerationRunCommand");
2660
2713
  var se_GetProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
2661
2714
  const b = (0, import_core.requestBuilder)(input, context);
2662
2715
  const headers = {};
@@ -2863,6 +2916,21 @@ var se_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) =
2863
2916
  b.m("GET").h(headers).q(query).b(body);
2864
2917
  return b.build();
2865
2918
  }, "se_ListEnvironmentsCommand");
2919
+ var se_ListMetadataGenerationRunsCommand = /* @__PURE__ */ __name(async (input, context) => {
2920
+ const b = (0, import_core.requestBuilder)(input, context);
2921
+ const headers = {};
2922
+ b.bp("/v2/domains/{domainIdentifier}/metadata-generation-runs");
2923
+ b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
2924
+ const query = (0, import_smithy_client.map)({
2925
+ [_s]: [, input[_s]],
2926
+ [_t]: [, input[_t]],
2927
+ [_nT]: [, input[_nT]],
2928
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
2929
+ });
2930
+ let body;
2931
+ b.m("GET").h(headers).q(query).b(body);
2932
+ return b.build();
2933
+ }, "se_ListMetadataGenerationRunsCommand");
2866
2934
  var se_ListNotificationsCommand = /* @__PURE__ */ __name(async (input, context) => {
2867
2935
  const b = (0, import_core.requestBuilder)(input, context);
2868
2936
  const headers = {};
@@ -3201,6 +3269,25 @@ var se_StartDataSourceRunCommand = /* @__PURE__ */ __name(async (input, context)
3201
3269
  b.m("POST").h(headers).b(body);
3202
3270
  return b.build();
3203
3271
  }, "se_StartDataSourceRunCommand");
3272
+ var se_StartMetadataGenerationRunCommand = /* @__PURE__ */ __name(async (input, context) => {
3273
+ const b = (0, import_core.requestBuilder)(input, context);
3274
+ const headers = {
3275
+ "content-type": "application/json"
3276
+ };
3277
+ b.bp("/v2/domains/{domainIdentifier}/metadata-generation-runs");
3278
+ b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
3279
+ let body;
3280
+ body = JSON.stringify(
3281
+ (0, import_smithy_client.take)(input, {
3282
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
3283
+ owningProjectIdentifier: [],
3284
+ target: (_) => (0, import_smithy_client._json)(_),
3285
+ type: []
3286
+ })
3287
+ );
3288
+ b.m("POST").h(headers).b(body);
3289
+ return b.build();
3290
+ }, "se_StartMetadataGenerationRunCommand");
3204
3291
  var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
3205
3292
  const b = (0, import_core.requestBuilder)(input, context);
3206
3293
  const headers = {
@@ -3515,6 +3602,16 @@ var de_AcceptSubscriptionRequestCommand = /* @__PURE__ */ __name(async (output,
3515
3602
  Object.assign(contents, doc);
3516
3603
  return contents;
3517
3604
  }, "de_AcceptSubscriptionRequestCommand");
3605
+ var de_CancelMetadataGenerationRunCommand = /* @__PURE__ */ __name(async (output, context) => {
3606
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3607
+ return de_CommandError(output, context);
3608
+ }
3609
+ const contents = (0, import_smithy_client.map)({
3610
+ $metadata: deserializeMetadata(output)
3611
+ });
3612
+ await (0, import_smithy_client.collectBody)(output.body, context);
3613
+ return contents;
3614
+ }, "de_CancelMetadataGenerationRunCommand");
3518
3615
  var de_CancelSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
3519
3616
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3520
3617
  return de_CommandError(output, context);
@@ -4534,6 +4631,27 @@ var de_GetListingCommand = /* @__PURE__ */ __name(async (output, context) => {
4534
4631
  Object.assign(contents, doc);
4535
4632
  return contents;
4536
4633
  }, "de_GetListingCommand");
4634
+ var de_GetMetadataGenerationRunCommand = /* @__PURE__ */ __name(async (output, context) => {
4635
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4636
+ return de_CommandError(output, context);
4637
+ }
4638
+ const contents = (0, import_smithy_client.map)({
4639
+ $metadata: deserializeMetadata(output)
4640
+ });
4641
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
4642
+ const doc = (0, import_smithy_client.take)(data, {
4643
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
4644
+ createdBy: import_smithy_client.expectString,
4645
+ domainId: import_smithy_client.expectString,
4646
+ id: import_smithy_client.expectString,
4647
+ owningProjectId: import_smithy_client.expectString,
4648
+ status: import_smithy_client.expectString,
4649
+ target: import_smithy_client._json,
4650
+ type: import_smithy_client.expectString
4651
+ });
4652
+ Object.assign(contents, doc);
4653
+ return contents;
4654
+ }, "de_GetMetadataGenerationRunCommand");
4537
4655
  var de_GetProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
4538
4656
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4539
4657
  return de_CommandError(output, context);
@@ -4811,6 +4929,21 @@ var de_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context)
4811
4929
  Object.assign(contents, doc);
4812
4930
  return contents;
4813
4931
  }, "de_ListEnvironmentsCommand");
4932
+ var de_ListMetadataGenerationRunsCommand = /* @__PURE__ */ __name(async (output, context) => {
4933
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4934
+ return de_CommandError(output, context);
4935
+ }
4936
+ const contents = (0, import_smithy_client.map)({
4937
+ $metadata: deserializeMetadata(output)
4938
+ });
4939
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
4940
+ const doc = (0, import_smithy_client.take)(data, {
4941
+ items: (_) => de_MetadataGenerationRuns(_, context),
4942
+ nextToken: import_smithy_client.expectString
4943
+ });
4944
+ Object.assign(contents, doc);
4945
+ return contents;
4946
+ }, "de_ListMetadataGenerationRunsCommand");
4814
4947
  var de_ListNotificationsCommand = /* @__PURE__ */ __name(async (output, context) => {
4815
4948
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4816
4949
  return de_CommandError(output, context);
@@ -5120,6 +5253,26 @@ var de_StartDataSourceRunCommand = /* @__PURE__ */ __name(async (output, context
5120
5253
  Object.assign(contents, doc);
5121
5254
  return contents;
5122
5255
  }, "de_StartDataSourceRunCommand");
5256
+ var de_StartMetadataGenerationRunCommand = /* @__PURE__ */ __name(async (output, context) => {
5257
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5258
+ return de_CommandError(output, context);
5259
+ }
5260
+ const contents = (0, import_smithy_client.map)({
5261
+ $metadata: deserializeMetadata(output)
5262
+ });
5263
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
5264
+ const doc = (0, import_smithy_client.take)(data, {
5265
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5266
+ createdBy: import_smithy_client.expectString,
5267
+ domainId: import_smithy_client.expectString,
5268
+ id: import_smithy_client.expectString,
5269
+ owningProjectId: import_smithy_client.expectString,
5270
+ status: import_smithy_client.expectString,
5271
+ type: import_smithy_client.expectString
5272
+ });
5273
+ Object.assign(contents, doc);
5274
+ return contents;
5275
+ }, "de_StartMetadataGenerationRunCommand");
5123
5276
  var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
5124
5277
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5125
5278
  return de_CommandError(output, context);
@@ -5905,6 +6058,24 @@ var de_ListingItem = /* @__PURE__ */ __name((output, context) => {
5905
6058
  }
5906
6059
  return { $unknown: Object.entries(output)[0] };
5907
6060
  }, "de_ListingItem");
6061
+ var de_MetadataGenerationRunItem = /* @__PURE__ */ __name((output, context) => {
6062
+ return (0, import_smithy_client.take)(output, {
6063
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
6064
+ createdBy: import_smithy_client.expectString,
6065
+ domainId: import_smithy_client.expectString,
6066
+ id: import_smithy_client.expectString,
6067
+ owningProjectId: import_smithy_client.expectString,
6068
+ status: import_smithy_client.expectString,
6069
+ target: import_smithy_client._json,
6070
+ type: import_smithy_client.expectString
6071
+ });
6072
+ }, "de_MetadataGenerationRunItem");
6073
+ var de_MetadataGenerationRuns = /* @__PURE__ */ __name((output, context) => {
6074
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
6075
+ return de_MetadataGenerationRunItem(entry, context);
6076
+ });
6077
+ return retVal;
6078
+ }, "de_MetadataGenerationRuns");
5908
6079
  var de_NotificationOutput = /* @__PURE__ */ __name((output, context) => {
5909
6080
  return (0, import_smithy_client.take)(output, {
5910
6081
  actionLink: import_smithy_client.expectString,
@@ -6161,7 +6332,7 @@ var _AcceptPredictionsCommand = class _AcceptPredictionsCommand extends import_s
6161
6332
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
6162
6333
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
6163
6334
  ];
6164
- }).s("DataZone", "AcceptPredictions", {}).n("DataZoneClient", "AcceptPredictionsCommand").f(void 0, void 0).ser(se_AcceptPredictionsCommand).de(de_AcceptPredictionsCommand).build() {
6335
+ }).s("DataZone", "AcceptPredictions", {}).n("DataZoneClient", "AcceptPredictionsCommand").f(AcceptPredictionsInputFilterSensitiveLog, void 0).ser(se_AcceptPredictionsCommand).de(de_AcceptPredictionsCommand).build() {
6165
6336
  };
6166
6337
  __name(_AcceptPredictionsCommand, "AcceptPredictionsCommand");
6167
6338
  var AcceptPredictionsCommand = _AcceptPredictionsCommand;
@@ -6183,6 +6354,23 @@ var _AcceptSubscriptionRequestCommand = class _AcceptSubscriptionRequestCommand
6183
6354
  __name(_AcceptSubscriptionRequestCommand, "AcceptSubscriptionRequestCommand");
6184
6355
  var AcceptSubscriptionRequestCommand = _AcceptSubscriptionRequestCommand;
6185
6356
 
6357
+ // src/commands/CancelMetadataGenerationRunCommand.ts
6358
+
6359
+
6360
+
6361
+
6362
+ var _CancelMetadataGenerationRunCommand = class _CancelMetadataGenerationRunCommand extends import_smithy_client.Command.classBuilder().ep({
6363
+ ...commonParams
6364
+ }).m(function(Command, cs, config, o) {
6365
+ return [
6366
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
6367
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
6368
+ ];
6369
+ }).s("DataZone", "CancelMetadataGenerationRun", {}).n("DataZoneClient", "CancelMetadataGenerationRunCommand").f(void 0, void 0).ser(se_CancelMetadataGenerationRunCommand).de(de_CancelMetadataGenerationRunCommand).build() {
6370
+ };
6371
+ __name(_CancelMetadataGenerationRunCommand, "CancelMetadataGenerationRunCommand");
6372
+ var CancelMetadataGenerationRunCommand = _CancelMetadataGenerationRunCommand;
6373
+
6186
6374
  // src/commands/CancelSubscriptionCommand.ts
6187
6375
 
6188
6376
 
@@ -7033,6 +7221,23 @@ var _GetListingCommand = class _GetListingCommand extends import_smithy_client.C
7033
7221
  __name(_GetListingCommand, "GetListingCommand");
7034
7222
  var GetListingCommand = _GetListingCommand;
7035
7223
 
7224
+ // src/commands/GetMetadataGenerationRunCommand.ts
7225
+
7226
+
7227
+
7228
+
7229
+ var _GetMetadataGenerationRunCommand = class _GetMetadataGenerationRunCommand extends import_smithy_client.Command.classBuilder().ep({
7230
+ ...commonParams
7231
+ }).m(function(Command, cs, config, o) {
7232
+ return [
7233
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
7234
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
7235
+ ];
7236
+ }).s("DataZone", "GetMetadataGenerationRun", {}).n("DataZoneClient", "GetMetadataGenerationRunCommand").f(void 0, void 0).ser(se_GetMetadataGenerationRunCommand).de(de_GetMetadataGenerationRunCommand).build() {
7237
+ };
7238
+ __name(_GetMetadataGenerationRunCommand, "GetMetadataGenerationRunCommand");
7239
+ var GetMetadataGenerationRunCommand = _GetMetadataGenerationRunCommand;
7240
+
7036
7241
  // src/commands/GetProjectCommand.ts
7037
7242
 
7038
7243
 
@@ -7288,6 +7493,23 @@ var _ListEnvironmentsCommand = class _ListEnvironmentsCommand extends import_smi
7288
7493
  __name(_ListEnvironmentsCommand, "ListEnvironmentsCommand");
7289
7494
  var ListEnvironmentsCommand = _ListEnvironmentsCommand;
7290
7495
 
7496
+ // src/commands/ListMetadataGenerationRunsCommand.ts
7497
+
7498
+
7499
+
7500
+
7501
+ var _ListMetadataGenerationRunsCommand = class _ListMetadataGenerationRunsCommand extends import_smithy_client.Command.classBuilder().ep({
7502
+ ...commonParams
7503
+ }).m(function(Command, cs, config, o) {
7504
+ return [
7505
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
7506
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
7507
+ ];
7508
+ }).s("DataZone", "ListMetadataGenerationRuns", {}).n("DataZoneClient", "ListMetadataGenerationRunsCommand").f(void 0, void 0).ser(se_ListMetadataGenerationRunsCommand).de(de_ListMetadataGenerationRunsCommand).build() {
7509
+ };
7510
+ __name(_ListMetadataGenerationRunsCommand, "ListMetadataGenerationRunsCommand");
7511
+ var ListMetadataGenerationRunsCommand = _ListMetadataGenerationRunsCommand;
7512
+
7291
7513
  // src/commands/ListNotificationsCommand.ts
7292
7514
 
7293
7515
 
@@ -7594,6 +7816,23 @@ var _StartDataSourceRunCommand = class _StartDataSourceRunCommand extends import
7594
7816
  __name(_StartDataSourceRunCommand, "StartDataSourceRunCommand");
7595
7817
  var StartDataSourceRunCommand = _StartDataSourceRunCommand;
7596
7818
 
7819
+ // src/commands/StartMetadataGenerationRunCommand.ts
7820
+
7821
+
7822
+
7823
+
7824
+ var _StartMetadataGenerationRunCommand = class _StartMetadataGenerationRunCommand extends import_smithy_client.Command.classBuilder().ep({
7825
+ ...commonParams
7826
+ }).m(function(Command, cs, config, o) {
7827
+ return [
7828
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
7829
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
7830
+ ];
7831
+ }).s("DataZone", "StartMetadataGenerationRun", {}).n("DataZoneClient", "StartMetadataGenerationRunCommand").f(void 0, void 0).ser(se_StartMetadataGenerationRunCommand).de(de_StartMetadataGenerationRunCommand).build() {
7832
+ };
7833
+ __name(_StartMetadataGenerationRunCommand, "StartMetadataGenerationRunCommand");
7834
+ var StartMetadataGenerationRunCommand = _StartMetadataGenerationRunCommand;
7835
+
7597
7836
  // src/commands/TagResourceCommand.ts
7598
7837
 
7599
7838
 
@@ -7836,6 +8075,7 @@ var UpdateUserProfileCommand = _UpdateUserProfileCommand;
7836
8075
  var commands = {
7837
8076
  AcceptPredictionsCommand,
7838
8077
  AcceptSubscriptionRequestCommand,
8078
+ CancelMetadataGenerationRunCommand,
7839
8079
  CancelSubscriptionCommand,
7840
8080
  CreateAssetCommand,
7841
8081
  CreateAssetRevisionCommand,
@@ -7886,6 +8126,7 @@ var commands = {
7886
8126
  GetGroupProfileCommand,
7887
8127
  GetIamPortalLoginUrlCommand,
7888
8128
  GetListingCommand,
8129
+ GetMetadataGenerationRunCommand,
7889
8130
  GetProjectCommand,
7890
8131
  GetSubscriptionCommand,
7891
8132
  GetSubscriptionGrantCommand,
@@ -7901,6 +8142,7 @@ var commands = {
7901
8142
  ListEnvironmentBlueprintsCommand,
7902
8143
  ListEnvironmentProfilesCommand,
7903
8144
  ListEnvironmentsCommand,
8145
+ ListMetadataGenerationRunsCommand,
7904
8146
  ListNotificationsCommand,
7905
8147
  ListProjectMembershipsCommand,
7906
8148
  ListProjectsCommand,
@@ -7919,6 +8161,7 @@ var commands = {
7919
8161
  SearchTypesCommand,
7920
8162
  SearchUserProfilesCommand,
7921
8163
  StartDataSourceRunCommand,
8164
+ StartMetadataGenerationRunCommand,
7922
8165
  TagResourceCommand,
7923
8166
  UntagResourceCommand,
7924
8167
  UpdateDataSourceCommand,
@@ -7976,6 +8219,10 @@ var paginateListEnvironmentProfiles = (0, import_core.createPaginator)(DataZoneC
7976
8219
 
7977
8220
  var paginateListEnvironments = (0, import_core.createPaginator)(DataZoneClient, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
7978
8221
 
8222
+ // src/pagination/ListMetadataGenerationRunsPaginator.ts
8223
+
8224
+ var paginateListMetadataGenerationRuns = (0, import_core.createPaginator)(DataZoneClient, ListMetadataGenerationRunsCommand, "nextToken", "nextToken", "maxResults");
8225
+
7979
8226
  // src/pagination/ListNotificationsPaginator.ts
7980
8227
 
7981
8228
  var paginateListNotifications = (0, import_core.createPaginator)(DataZoneClient, ListNotificationsCommand, "nextToken", "nextToken", "maxResults");
@@ -8023,9 +8270,6 @@ var paginateSearchTypes = (0, import_core.createPaginator)(DataZoneClient, Searc
8023
8270
  // src/pagination/SearchUserProfilesPaginator.ts
8024
8271
 
8025
8272
  var paginateSearchUserProfiles = (0, import_core.createPaginator)(DataZoneClient, SearchUserProfilesCommand, "nextToken", "nextToken", "maxResults");
8026
-
8027
- // src/index.ts
8028
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
8029
8273
  // Annotate the CommonJS export names for ESM import in node:
8030
8274
 
8031
8275
  0 && (module.exports = {
@@ -8036,6 +8280,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
8036
8280
  $Command,
8037
8281
  AcceptPredictionsCommand,
8038
8282
  AcceptSubscriptionRequestCommand,
8283
+ CancelMetadataGenerationRunCommand,
8039
8284
  CancelSubscriptionCommand,
8040
8285
  CreateAssetCommand,
8041
8286
  CreateAssetRevisionCommand,
@@ -8086,6 +8331,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
8086
8331
  GetGroupProfileCommand,
8087
8332
  GetIamPortalLoginUrlCommand,
8088
8333
  GetListingCommand,
8334
+ GetMetadataGenerationRunCommand,
8089
8335
  GetProjectCommand,
8090
8336
  GetSubscriptionCommand,
8091
8337
  GetSubscriptionGrantCommand,
@@ -8101,6 +8347,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
8101
8347
  ListEnvironmentBlueprintsCommand,
8102
8348
  ListEnvironmentProfilesCommand,
8103
8349
  ListEnvironmentsCommand,
8350
+ ListMetadataGenerationRunsCommand,
8104
8351
  ListNotificationsCommand,
8105
8352
  ListProjectMembershipsCommand,
8106
8353
  ListProjectsCommand,
@@ -8119,6 +8366,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
8119
8366
  SearchTypesCommand,
8120
8367
  SearchUserProfilesCommand,
8121
8368
  StartDataSourceRunCommand,
8369
+ StartMetadataGenerationRunCommand,
8122
8370
  TagResourceCommand,
8123
8371
  UntagResourceCommand,
8124
8372
  UpdateDataSourceCommand,
@@ -8142,6 +8390,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
8142
8390
  paginateListEnvironmentBlueprints,
8143
8391
  paginateListEnvironmentProfiles,
8144
8392
  paginateListEnvironments,
8393
+ paginateListMetadataGenerationRuns,
8145
8394
  paginateListNotifications,
8146
8395
  paginateListProjectMemberships,
8147
8396
  paginateListProjects,
@@ -8215,7 +8464,9 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
8215
8464
  SortOrder,
8216
8465
  MemberDetails,
8217
8466
  SortKey,
8218
- RejectRuleBehavior,
8467
+ MetadataGenerationRunStatus,
8468
+ AcceptChoiceFilterSensitiveLog,
8469
+ AcceptPredictionsInputFilterSensitiveLog,
8219
8470
  AcceptSubscriptionRequestInputFilterSensitiveLog,
8220
8471
  DetailedGlossaryTermFilterSensitiveLog,
8221
8472
  SubscribedAssetListingFilterSensitiveLog,
@@ -8314,6 +8565,9 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
8314
8565
  ListSubscriptionsOutputFilterSensitiveLog,
8315
8566
  SubscriptionTargetSummaryFilterSensitiveLog,
8316
8567
  ListSubscriptionTargetsOutputFilterSensitiveLog,
8568
+ MetadataGenerationTargetType,
8569
+ MetadataGenerationRunType,
8570
+ RejectRuleBehavior,
8317
8571
  SearchOutputAdditionalAttribute,
8318
8572
  InventorySearchScope,
8319
8573
  SearchInventoryResultItem,