@aws-sdk/client-datazone 3.645.0 → 3.650.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 (149) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +139 -417
  3. package/dist-es/commands/AcceptPredictionsCommand.js +1 -3
  4. package/dist-es/commands/AcceptSubscriptionRequestCommand.js +1 -3
  5. package/dist-es/commands/AddEntityOwnerCommand.js +1 -3
  6. package/dist-es/commands/AddPolicyGrantCommand.js +1 -3
  7. package/dist-es/commands/AssociateEnvironmentRoleCommand.js +1 -3
  8. package/dist-es/commands/CancelMetadataGenerationRunCommand.js +1 -3
  9. package/dist-es/commands/CancelSubscriptionCommand.js +1 -3
  10. package/dist-es/commands/CreateAssetCommand.js +1 -3
  11. package/dist-es/commands/CreateAssetFilterCommand.js +1 -3
  12. package/dist-es/commands/CreateAssetRevisionCommand.js +1 -3
  13. package/dist-es/commands/CreateAssetTypeCommand.js +1 -3
  14. package/dist-es/commands/CreateDataProductCommand.js +1 -3
  15. package/dist-es/commands/CreateDataProductRevisionCommand.js +1 -3
  16. package/dist-es/commands/CreateDataSourceCommand.js +1 -3
  17. package/dist-es/commands/CreateDomainCommand.js +1 -3
  18. package/dist-es/commands/CreateDomainUnitCommand.js +1 -3
  19. package/dist-es/commands/CreateEnvironmentActionCommand.js +1 -3
  20. package/dist-es/commands/CreateEnvironmentCommand.js +1 -3
  21. package/dist-es/commands/CreateEnvironmentProfileCommand.js +1 -3
  22. package/dist-es/commands/CreateFormTypeCommand.js +1 -3
  23. package/dist-es/commands/CreateGlossaryCommand.js +1 -3
  24. package/dist-es/commands/CreateGlossaryTermCommand.js +1 -3
  25. package/dist-es/commands/CreateGroupProfileCommand.js +1 -3
  26. package/dist-es/commands/CreateListingChangeSetCommand.js +1 -3
  27. package/dist-es/commands/CreateProjectCommand.js +1 -3
  28. package/dist-es/commands/CreateProjectMembershipCommand.js +1 -3
  29. package/dist-es/commands/CreateSubscriptionGrantCommand.js +1 -3
  30. package/dist-es/commands/CreateSubscriptionRequestCommand.js +1 -3
  31. package/dist-es/commands/CreateSubscriptionTargetCommand.js +1 -3
  32. package/dist-es/commands/CreateUserProfileCommand.js +1 -3
  33. package/dist-es/commands/DeleteAssetCommand.js +1 -3
  34. package/dist-es/commands/DeleteAssetFilterCommand.js +1 -3
  35. package/dist-es/commands/DeleteAssetTypeCommand.js +1 -3
  36. package/dist-es/commands/DeleteDataProductCommand.js +1 -3
  37. package/dist-es/commands/DeleteDataSourceCommand.js +1 -3
  38. package/dist-es/commands/DeleteDomainCommand.js +1 -3
  39. package/dist-es/commands/DeleteDomainUnitCommand.js +1 -3
  40. package/dist-es/commands/DeleteEnvironmentActionCommand.js +1 -3
  41. package/dist-es/commands/DeleteEnvironmentBlueprintConfigurationCommand.js +1 -3
  42. package/dist-es/commands/DeleteEnvironmentCommand.js +1 -3
  43. package/dist-es/commands/DeleteEnvironmentProfileCommand.js +1 -3
  44. package/dist-es/commands/DeleteFormTypeCommand.js +1 -3
  45. package/dist-es/commands/DeleteGlossaryCommand.js +1 -3
  46. package/dist-es/commands/DeleteGlossaryTermCommand.js +1 -3
  47. package/dist-es/commands/DeleteListingCommand.js +1 -3
  48. package/dist-es/commands/DeleteProjectCommand.js +1 -3
  49. package/dist-es/commands/DeleteProjectMembershipCommand.js +1 -3
  50. package/dist-es/commands/DeleteSubscriptionGrantCommand.js +1 -3
  51. package/dist-es/commands/DeleteSubscriptionRequestCommand.js +1 -3
  52. package/dist-es/commands/DeleteSubscriptionTargetCommand.js +1 -3
  53. package/dist-es/commands/DeleteTimeSeriesDataPointsCommand.js +1 -3
  54. package/dist-es/commands/DisassociateEnvironmentRoleCommand.js +1 -3
  55. package/dist-es/commands/GetAssetCommand.js +1 -3
  56. package/dist-es/commands/GetAssetFilterCommand.js +1 -3
  57. package/dist-es/commands/GetAssetTypeCommand.js +1 -3
  58. package/dist-es/commands/GetDataProductCommand.js +1 -3
  59. package/dist-es/commands/GetDataSourceCommand.js +1 -3
  60. package/dist-es/commands/GetDataSourceRunCommand.js +1 -3
  61. package/dist-es/commands/GetDomainCommand.js +1 -3
  62. package/dist-es/commands/GetDomainUnitCommand.js +1 -3
  63. package/dist-es/commands/GetEnvironmentActionCommand.js +1 -3
  64. package/dist-es/commands/GetEnvironmentBlueprintCommand.js +1 -3
  65. package/dist-es/commands/GetEnvironmentBlueprintConfigurationCommand.js +1 -3
  66. package/dist-es/commands/GetEnvironmentCommand.js +1 -3
  67. package/dist-es/commands/GetEnvironmentCredentialsCommand.js +1 -3
  68. package/dist-es/commands/GetEnvironmentProfileCommand.js +1 -3
  69. package/dist-es/commands/GetFormTypeCommand.js +1 -3
  70. package/dist-es/commands/GetGlossaryCommand.js +1 -3
  71. package/dist-es/commands/GetGlossaryTermCommand.js +1 -3
  72. package/dist-es/commands/GetGroupProfileCommand.js +1 -3
  73. package/dist-es/commands/GetIamPortalLoginUrlCommand.js +1 -3
  74. package/dist-es/commands/GetLineageNodeCommand.js +1 -3
  75. package/dist-es/commands/GetListingCommand.js +1 -3
  76. package/dist-es/commands/GetMetadataGenerationRunCommand.js +1 -3
  77. package/dist-es/commands/GetProjectCommand.js +1 -3
  78. package/dist-es/commands/GetSubscriptionCommand.js +1 -3
  79. package/dist-es/commands/GetSubscriptionGrantCommand.js +1 -3
  80. package/dist-es/commands/GetSubscriptionRequestDetailsCommand.js +1 -3
  81. package/dist-es/commands/GetSubscriptionTargetCommand.js +1 -3
  82. package/dist-es/commands/GetTimeSeriesDataPointCommand.js +1 -3
  83. package/dist-es/commands/GetUserProfileCommand.js +1 -3
  84. package/dist-es/commands/ListAssetFiltersCommand.js +1 -3
  85. package/dist-es/commands/ListAssetRevisionsCommand.js +1 -3
  86. package/dist-es/commands/ListDataProductRevisionsCommand.js +1 -3
  87. package/dist-es/commands/ListDataSourceRunActivitiesCommand.js +1 -3
  88. package/dist-es/commands/ListDataSourceRunsCommand.js +1 -3
  89. package/dist-es/commands/ListDataSourcesCommand.js +1 -3
  90. package/dist-es/commands/ListDomainUnitsForParentCommand.js +1 -3
  91. package/dist-es/commands/ListDomainsCommand.js +1 -3
  92. package/dist-es/commands/ListEntityOwnersCommand.js +1 -3
  93. package/dist-es/commands/ListEnvironmentActionsCommand.js +1 -3
  94. package/dist-es/commands/ListEnvironmentBlueprintConfigurationsCommand.js +1 -3
  95. package/dist-es/commands/ListEnvironmentBlueprintsCommand.js +1 -3
  96. package/dist-es/commands/ListEnvironmentProfilesCommand.js +1 -3
  97. package/dist-es/commands/ListEnvironmentsCommand.js +1 -3
  98. package/dist-es/commands/ListLineageNodeHistoryCommand.js +1 -3
  99. package/dist-es/commands/ListMetadataGenerationRunsCommand.js +1 -3
  100. package/dist-es/commands/ListNotificationsCommand.js +1 -3
  101. package/dist-es/commands/ListPolicyGrantsCommand.js +1 -3
  102. package/dist-es/commands/ListProjectMembershipsCommand.js +1 -3
  103. package/dist-es/commands/ListProjectsCommand.js +1 -3
  104. package/dist-es/commands/ListSubscriptionGrantsCommand.js +1 -3
  105. package/dist-es/commands/ListSubscriptionRequestsCommand.js +1 -3
  106. package/dist-es/commands/ListSubscriptionTargetsCommand.js +1 -3
  107. package/dist-es/commands/ListSubscriptionsCommand.js +1 -3
  108. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  109. package/dist-es/commands/ListTimeSeriesDataPointsCommand.js +1 -3
  110. package/dist-es/commands/PostLineageEventCommand.js +1 -3
  111. package/dist-es/commands/PostTimeSeriesDataPointsCommand.js +1 -3
  112. package/dist-es/commands/PutEnvironmentBlueprintConfigurationCommand.js +1 -3
  113. package/dist-es/commands/RejectPredictionsCommand.js +1 -3
  114. package/dist-es/commands/RejectSubscriptionRequestCommand.js +1 -3
  115. package/dist-es/commands/RemoveEntityOwnerCommand.js +1 -3
  116. package/dist-es/commands/RemovePolicyGrantCommand.js +1 -3
  117. package/dist-es/commands/RevokeSubscriptionCommand.js +1 -3
  118. package/dist-es/commands/SearchCommand.js +1 -3
  119. package/dist-es/commands/SearchGroupProfilesCommand.js +1 -3
  120. package/dist-es/commands/SearchListingsCommand.js +1 -3
  121. package/dist-es/commands/SearchTypesCommand.js +1 -3
  122. package/dist-es/commands/SearchUserProfilesCommand.js +1 -3
  123. package/dist-es/commands/StartDataSourceRunCommand.js +1 -3
  124. package/dist-es/commands/StartMetadataGenerationRunCommand.js +1 -3
  125. package/dist-es/commands/TagResourceCommand.js +1 -3
  126. package/dist-es/commands/UntagResourceCommand.js +1 -3
  127. package/dist-es/commands/UpdateAssetFilterCommand.js +1 -3
  128. package/dist-es/commands/UpdateDataSourceCommand.js +1 -3
  129. package/dist-es/commands/UpdateDomainCommand.js +1 -3
  130. package/dist-es/commands/UpdateDomainUnitCommand.js +1 -3
  131. package/dist-es/commands/UpdateEnvironmentActionCommand.js +1 -3
  132. package/dist-es/commands/UpdateEnvironmentCommand.js +1 -3
  133. package/dist-es/commands/UpdateEnvironmentProfileCommand.js +1 -3
  134. package/dist-es/commands/UpdateGlossaryCommand.js +1 -3
  135. package/dist-es/commands/UpdateGlossaryTermCommand.js +1 -3
  136. package/dist-es/commands/UpdateGroupProfileCommand.js +1 -3
  137. package/dist-es/commands/UpdateProjectCommand.js +1 -3
  138. package/dist-es/commands/UpdateSubscriptionGrantStatusCommand.js +1 -3
  139. package/dist-es/commands/UpdateSubscriptionRequestCommand.js +1 -3
  140. package/dist-es/commands/UpdateSubscriptionTargetCommand.js +1 -3
  141. package/dist-es/commands/UpdateUserProfileCommand.js +1 -3
  142. package/dist-es/endpoint/endpointResolver.js +7 -3
  143. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  144. package/dist-types/runtimeConfig.d.ts +2 -0
  145. package/dist-types/runtimeConfig.native.d.ts +2 -0
  146. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  147. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  148. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  149. package/package.json +35 -35
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
4
4
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
5
  const util_endpoints_2 = require("@smithy/util-endpoints");
6
6
  const ruleset_1 = require("./ruleset");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["Endpoint", "Region", "UseFIPS"],
10
+ });
7
11
  const defaultEndpointResolver = (endpointParams, context = {}) => {
8
- return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
9
13
  endpointParams: endpointParams,
10
14
  logger: context.logger,
11
- });
15
+ }));
12
16
  };
13
17
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
18
  util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;