@aws-sdk/client-datazone 3.641.0 → 3.644.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 (141) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +896 -99
  3. package/dist-es/DataZone.js +22 -0
  4. package/dist-es/commands/AddEntityOwnerCommand.js +24 -0
  5. package/dist-es/commands/AddPolicyGrantCommand.js +24 -0
  6. package/dist-es/commands/CreateDomainUnitCommand.js +25 -0
  7. package/dist-es/commands/DeleteDomainUnitCommand.js +24 -0
  8. package/dist-es/commands/GetDomainUnitCommand.js +25 -0
  9. package/dist-es/commands/GetEnvironmentBlueprintCommand.js +1 -1
  10. package/dist-es/commands/GetEnvironmentCommand.js +1 -1
  11. package/dist-es/commands/GetEnvironmentCredentialsCommand.js +1 -1
  12. package/dist-es/commands/GetEnvironmentProfileCommand.js +1 -1
  13. package/dist-es/commands/GetFormTypeCommand.js +1 -1
  14. package/dist-es/commands/GetGroupProfileCommand.js +1 -1
  15. package/dist-es/commands/GetLineageNodeCommand.js +1 -1
  16. package/dist-es/commands/GetProjectCommand.js +1 -1
  17. package/dist-es/commands/GetSubscriptionCommand.js +1 -1
  18. package/dist-es/commands/GetSubscriptionRequestDetailsCommand.js +1 -1
  19. package/dist-es/commands/GetSubscriptionTargetCommand.js +1 -1
  20. package/dist-es/commands/GetUserProfileCommand.js +1 -1
  21. package/dist-es/commands/ListDomainUnitsForParentCommand.js +24 -0
  22. package/dist-es/commands/ListEntityOwnersCommand.js +24 -0
  23. package/dist-es/commands/ListPolicyGrantsCommand.js +24 -0
  24. package/dist-es/commands/RemoveEntityOwnerCommand.js +24 -0
  25. package/dist-es/commands/RemovePolicyGrantCommand.js +24 -0
  26. package/dist-es/commands/UpdateDomainUnitCommand.js +25 -0
  27. package/dist-es/commands/index.js +11 -0
  28. package/dist-es/models/models_0.js +144 -78
  29. package/dist-es/models/models_1.js +97 -1
  30. package/dist-es/pagination/ListDomainUnitsForParentPaginator.js +4 -0
  31. package/dist-es/pagination/ListEntityOwnersPaginator.js +4 -0
  32. package/dist-es/pagination/ListPolicyGrantsPaginator.js +4 -0
  33. package/dist-es/pagination/index.js +3 -0
  34. package/dist-es/protocols/Aws_restJson1.js +360 -0
  35. package/dist-types/DataZone.d.ts +77 -0
  36. package/dist-types/DataZoneClient.d.ts +13 -2
  37. package/dist-types/commands/AcceptSubscriptionRequestCommand.d.ts +16 -0
  38. package/dist-types/commands/AddEntityOwnerCommand.d.ts +93 -0
  39. package/dist-types/commands/AddPolicyGrantCommand.d.ts +141 -0
  40. package/dist-types/commands/CancelSubscriptionCommand.d.ts +8 -0
  41. package/dist-types/commands/CreateDomainCommand.d.ts +1 -0
  42. package/dist-types/commands/CreateDomainUnitCommand.d.ts +104 -0
  43. package/dist-types/commands/CreateProjectCommand.d.ts +2 -0
  44. package/dist-types/commands/CreateSubscriptionGrantCommand.d.ts +8 -0
  45. package/dist-types/commands/CreateSubscriptionRequestCommand.d.ts +8 -0
  46. package/dist-types/commands/DeleteDomainUnitCommand.d.ts +80 -0
  47. package/dist-types/commands/DeleteEnvironmentBlueprintConfigurationCommand.d.ts +2 -1
  48. package/dist-types/commands/DeleteFormTypeCommand.d.ts +1 -1
  49. package/dist-types/commands/DeleteGlossaryCommand.d.ts +1 -2
  50. package/dist-types/commands/DeleteSubscriptionGrantCommand.d.ts +8 -0
  51. package/dist-types/commands/GetAssetFilterCommand.d.ts +1 -2
  52. package/dist-types/commands/GetDomainCommand.d.ts +1 -0
  53. package/dist-types/commands/GetDomainUnitCommand.d.ts +97 -0
  54. package/dist-types/commands/GetEnvironmentActionCommand.d.ts +1 -1
  55. package/dist-types/commands/GetEnvironmentBlueprintCommand.d.ts +1 -1
  56. package/dist-types/commands/GetEnvironmentBlueprintConfigurationCommand.d.ts +1 -1
  57. package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
  58. package/dist-types/commands/GetEnvironmentCredentialsCommand.d.ts +1 -1
  59. package/dist-types/commands/GetEnvironmentProfileCommand.d.ts +1 -1
  60. package/dist-types/commands/GetFormTypeCommand.d.ts +1 -1
  61. package/dist-types/commands/GetGroupProfileCommand.d.ts +1 -1
  62. package/dist-types/commands/GetIamPortalLoginUrlCommand.d.ts +1 -1
  63. package/dist-types/commands/GetLineageNodeCommand.d.ts +1 -1
  64. package/dist-types/commands/GetProjectCommand.d.ts +2 -1
  65. package/dist-types/commands/GetSubscriptionCommand.d.ts +9 -1
  66. package/dist-types/commands/GetSubscriptionGrantCommand.d.ts +9 -1
  67. package/dist-types/commands/GetSubscriptionRequestDetailsCommand.d.ts +9 -1
  68. package/dist-types/commands/GetSubscriptionTargetCommand.d.ts +1 -1
  69. package/dist-types/commands/GetTimeSeriesDataPointCommand.d.ts +1 -1
  70. package/dist-types/commands/GetUserProfileCommand.d.ts +1 -1
  71. package/dist-types/commands/ListDomainUnitsForParentCommand.d.ts +84 -0
  72. package/dist-types/commands/ListEntityOwnersCommand.d.ts +89 -0
  73. package/dist-types/commands/ListEnvironmentBlueprintConfigurationsCommand.d.ts +1 -1
  74. package/dist-types/commands/ListPolicyGrantsCommand.d.ts +143 -0
  75. package/dist-types/commands/ListProjectsCommand.d.ts +1 -0
  76. package/dist-types/commands/ListSubscriptionGrantsCommand.d.ts +8 -0
  77. package/dist-types/commands/ListSubscriptionRequestsCommand.d.ts +8 -0
  78. package/dist-types/commands/ListSubscriptionsCommand.d.ts +8 -0
  79. package/dist-types/commands/PutEnvironmentBlueprintConfigurationCommand.d.ts +1 -1
  80. package/dist-types/commands/RejectSubscriptionRequestCommand.d.ts +8 -0
  81. package/dist-types/commands/RemoveEntityOwnerCommand.d.ts +87 -0
  82. package/dist-types/commands/RemovePolicyGrantCommand.d.ts +103 -0
  83. package/dist-types/commands/RevokeSubscriptionCommand.d.ts +8 -0
  84. package/dist-types/commands/UpdateDomainCommand.d.ts +1 -0
  85. package/dist-types/commands/UpdateDomainUnitCommand.d.ts +102 -0
  86. package/dist-types/commands/UpdateProjectCommand.d.ts +1 -0
  87. package/dist-types/commands/UpdateSubscriptionGrantStatusCommand.d.ts +8 -0
  88. package/dist-types/commands/UpdateSubscriptionRequestCommand.d.ts +8 -0
  89. package/dist-types/commands/index.d.ts +11 -0
  90. package/dist-types/models/models_0.d.ts +4782 -5094
  91. package/dist-types/models/models_1.d.ts +1939 -2
  92. package/dist-types/pagination/ListDomainUnitsForParentPaginator.d.ts +7 -0
  93. package/dist-types/pagination/ListEntityOwnersPaginator.d.ts +7 -0
  94. package/dist-types/pagination/ListPolicyGrantsPaginator.d.ts +7 -0
  95. package/dist-types/pagination/index.d.ts +3 -0
  96. package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
  97. package/dist-types/ts3.4/DataZone.d.ts +187 -0
  98. package/dist-types/ts3.4/DataZoneClient.d.ts +66 -0
  99. package/dist-types/ts3.4/commands/AddEntityOwnerCommand.d.ts +36 -0
  100. package/dist-types/ts3.4/commands/AddPolicyGrantCommand.d.ts +36 -0
  101. package/dist-types/ts3.4/commands/CreateDomainUnitCommand.d.ts +39 -0
  102. package/dist-types/ts3.4/commands/DeleteDomainUnitCommand.d.ts +39 -0
  103. package/dist-types/ts3.4/commands/DeleteEnvironmentBlueprintConfigurationCommand.d.ts +2 -4
  104. package/dist-types/ts3.4/commands/DeleteFormTypeCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/DeleteGlossaryCommand.d.ts +1 -2
  106. package/dist-types/ts3.4/commands/GetAssetFilterCommand.d.ts +1 -2
  107. package/dist-types/ts3.4/commands/GetDomainUnitCommand.d.ts +36 -0
  108. package/dist-types/ts3.4/commands/GetEnvironmentActionCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/GetEnvironmentBlueprintCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/GetEnvironmentBlueprintConfigurationCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/GetEnvironmentCredentialsCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/GetEnvironmentProfileCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/GetFormTypeCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/GetGroupProfileCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/GetIamPortalLoginUrlCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/GetLineageNodeCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/GetProjectCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/GetSubscriptionGrantCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/GetSubscriptionRequestDetailsCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/GetSubscriptionTargetCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/GetTimeSeriesDataPointCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/GetUserProfileCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/ListDomainUnitsForParentCommand.d.ts +40 -0
  126. package/dist-types/ts3.4/commands/ListEntityOwnersCommand.d.ts +39 -0
  127. package/dist-types/ts3.4/commands/ListEnvironmentBlueprintConfigurationsCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/ListPolicyGrantsCommand.d.ts +39 -0
  129. package/dist-types/ts3.4/commands/PutEnvironmentBlueprintConfigurationCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/RemoveEntityOwnerCommand.d.ts +39 -0
  131. package/dist-types/ts3.4/commands/RemovePolicyGrantCommand.d.ts +39 -0
  132. package/dist-types/ts3.4/commands/UpdateDomainUnitCommand.d.ts +39 -0
  133. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  134. package/dist-types/ts3.4/models/models_0.d.ts +585 -382
  135. package/dist-types/ts3.4/models/models_1.d.ts +492 -2
  136. package/dist-types/ts3.4/pagination/ListDomainUnitsForParentPaginator.d.ts +11 -0
  137. package/dist-types/ts3.4/pagination/ListEntityOwnersPaginator.d.ts +11 -0
  138. package/dist-types/ts3.4/pagination/ListPolicyGrantsPaginator.d.ts +11 -0
  139. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  140. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
  141. package/package.json +1 -1
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
4
+ import { UpdateDomainUnitInput, UpdateDomainUnitOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateDomainUnitCommand}.
14
+ */
15
+ export interface UpdateDomainUnitCommandInput extends UpdateDomainUnitInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateDomainUnitCommand}.
21
+ */
22
+ export interface UpdateDomainUnitCommandOutput extends UpdateDomainUnitOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateDomainUnitCommand_base: {
25
+ new (input: UpdateDomainUnitCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDomainUnitCommandInput, UpdateDomainUnitCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateDomainUnitCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDomainUnitCommandInput, UpdateDomainUnitCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the domain unit.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DataZoneClient, UpdateDomainUnitCommand } from "@aws-sdk/client-datazone"; // ES Modules import
35
+ * // const { DataZoneClient, UpdateDomainUnitCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
36
+ * const client = new DataZoneClient(config);
37
+ * const input = { // UpdateDomainUnitInput
38
+ * domainIdentifier: "STRING_VALUE", // required
39
+ * identifier: "STRING_VALUE", // required
40
+ * description: "STRING_VALUE",
41
+ * name: "STRING_VALUE",
42
+ * };
43
+ * const command = new UpdateDomainUnitCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateDomainUnitOutput
46
+ * // id: "STRING_VALUE", // required
47
+ * // domainId: "STRING_VALUE", // required
48
+ * // name: "STRING_VALUE", // required
49
+ * // owners: [ // DomainUnitOwners // required
50
+ * // { // DomainUnitOwnerProperties Union: only one key present
51
+ * // user: { // DomainUnitUserProperties
52
+ * // userId: "STRING_VALUE",
53
+ * // },
54
+ * // group: { // DomainUnitGroupProperties
55
+ * // groupId: "STRING_VALUE",
56
+ * // },
57
+ * // },
58
+ * // ],
59
+ * // description: "STRING_VALUE",
60
+ * // parentDomainUnitId: "STRING_VALUE",
61
+ * // createdAt: new Date("TIMESTAMP"),
62
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
63
+ * // createdBy: "STRING_VALUE",
64
+ * // lastUpdatedBy: "STRING_VALUE",
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param UpdateDomainUnitCommandInput - {@link UpdateDomainUnitCommandInput}
70
+ * @returns {@link UpdateDomainUnitCommandOutput}
71
+ * @see {@link UpdateDomainUnitCommandInput} for command's `input` shape.
72
+ * @see {@link UpdateDomainUnitCommandOutput} for command's `response` shape.
73
+ * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>You do not have sufficient access to perform this action.</p>
77
+ *
78
+ * @throws {@link ConflictException} (client fault)
79
+ * <p>There is a conflict while performing this action.</p>
80
+ *
81
+ * @throws {@link InternalServerException} (server fault)
82
+ * <p>The request has failed because of an unknown error, exception or failure.</p>
83
+ *
84
+ * @throws {@link ResourceNotFoundException} (client fault)
85
+ * <p>The specified resource cannot be found.</p>
86
+ *
87
+ * @throws {@link ThrottlingException} (client fault)
88
+ * <p>The request was denied due to request throttling.</p>
89
+ *
90
+ * @throws {@link ValidationException} (client fault)
91
+ * <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
92
+ *
93
+ * @throws {@link UnauthorizedException} (client fault)
94
+ * <p>You do not have permission to perform this action.</p>
95
+ *
96
+ * @throws {@link DataZoneServiceException}
97
+ * <p>Base exception class for all service exceptions from DataZone service.</p>
98
+ *
99
+ * @public
100
+ */
101
+ export declare class UpdateDomainUnitCommand extends UpdateDomainUnitCommand_base {
102
+ }
@@ -63,6 +63,7 @@ declare const UpdateProjectCommand_base: {
63
63
  * // glossaryTerms: [ // GlossaryTerms
64
64
  * // "STRING_VALUE",
65
65
  * // ],
66
+ * // domainUnitId: "STRING_VALUE",
66
67
  * // };
67
68
  *
68
69
  * ```
@@ -72,6 +72,14 @@ declare const UpdateSubscriptionGrantStatusCommand_base: {
72
72
  * // },
73
73
  * // grantedTimestamp: new Date("TIMESTAMP"),
74
74
  * // failureTimestamp: new Date("TIMESTAMP"),
75
+ * // assetScope: { // AssetScope
76
+ * // assetId: "STRING_VALUE", // required
77
+ * // filterIds: [ // FilterIds // required
78
+ * // "STRING_VALUE",
79
+ * // ],
80
+ * // status: "STRING_VALUE", // required
81
+ * // errorMessage: "STRING_VALUE",
82
+ * // },
75
83
  * // },
76
84
  * // ],
77
85
  * // subscriptionId: "STRING_VALUE",
@@ -76,6 +76,14 @@ declare const UpdateSubscriptionRequestCommand_base: {
76
76
  * // shortDescription: "STRING_VALUE",
77
77
  * // },
78
78
  * // ],
79
+ * // assetScope: { // AssetScope
80
+ * // assetId: "STRING_VALUE", // required
81
+ * // filterIds: [ // FilterIds // required
82
+ * // "STRING_VALUE",
83
+ * // ],
84
+ * // status: "STRING_VALUE", // required
85
+ * // errorMessage: "STRING_VALUE",
86
+ * // },
79
87
  * // },
80
88
  * // productListing: { // SubscribedProductListing
81
89
  * // entityId: "STRING_VALUE",
@@ -1,5 +1,7 @@
1
1
  export * from "./AcceptPredictionsCommand";
2
2
  export * from "./AcceptSubscriptionRequestCommand";
3
+ export * from "./AddEntityOwnerCommand";
4
+ export * from "./AddPolicyGrantCommand";
3
5
  export * from "./AssociateEnvironmentRoleCommand";
4
6
  export * from "./CancelMetadataGenerationRunCommand";
5
7
  export * from "./CancelSubscriptionCommand";
@@ -11,6 +13,7 @@ export * from "./CreateDataProductCommand";
11
13
  export * from "./CreateDataProductRevisionCommand";
12
14
  export * from "./CreateDataSourceCommand";
13
15
  export * from "./CreateDomainCommand";
16
+ export * from "./CreateDomainUnitCommand";
14
17
  export * from "./CreateEnvironmentActionCommand";
15
18
  export * from "./CreateEnvironmentCommand";
16
19
  export * from "./CreateEnvironmentProfileCommand";
@@ -31,6 +34,7 @@ export * from "./DeleteAssetTypeCommand";
31
34
  export * from "./DeleteDataProductCommand";
32
35
  export * from "./DeleteDataSourceCommand";
33
36
  export * from "./DeleteDomainCommand";
37
+ export * from "./DeleteDomainUnitCommand";
34
38
  export * from "./DeleteEnvironmentActionCommand";
35
39
  export * from "./DeleteEnvironmentBlueprintConfigurationCommand";
36
40
  export * from "./DeleteEnvironmentCommand";
@@ -53,6 +57,7 @@ export * from "./GetDataProductCommand";
53
57
  export * from "./GetDataSourceCommand";
54
58
  export * from "./GetDataSourceRunCommand";
55
59
  export * from "./GetDomainCommand";
60
+ export * from "./GetDomainUnitCommand";
56
61
  export * from "./GetEnvironmentActionCommand";
57
62
  export * from "./GetEnvironmentBlueprintCommand";
58
63
  export * from "./GetEnvironmentBlueprintConfigurationCommand";
@@ -80,7 +85,9 @@ export * from "./ListDataProductRevisionsCommand";
80
85
  export * from "./ListDataSourceRunActivitiesCommand";
81
86
  export * from "./ListDataSourceRunsCommand";
82
87
  export * from "./ListDataSourcesCommand";
88
+ export * from "./ListDomainUnitsForParentCommand";
83
89
  export * from "./ListDomainsCommand";
90
+ export * from "./ListEntityOwnersCommand";
84
91
  export * from "./ListEnvironmentActionsCommand";
85
92
  export * from "./ListEnvironmentBlueprintConfigurationsCommand";
86
93
  export * from "./ListEnvironmentBlueprintsCommand";
@@ -89,6 +96,7 @@ export * from "./ListEnvironmentsCommand";
89
96
  export * from "./ListLineageNodeHistoryCommand";
90
97
  export * from "./ListMetadataGenerationRunsCommand";
91
98
  export * from "./ListNotificationsCommand";
99
+ export * from "./ListPolicyGrantsCommand";
92
100
  export * from "./ListProjectMembershipsCommand";
93
101
  export * from "./ListProjectsCommand";
94
102
  export * from "./ListSubscriptionGrantsCommand";
@@ -102,6 +110,8 @@ export * from "./PostTimeSeriesDataPointsCommand";
102
110
  export * from "./PutEnvironmentBlueprintConfigurationCommand";
103
111
  export * from "./RejectPredictionsCommand";
104
112
  export * from "./RejectSubscriptionRequestCommand";
113
+ export * from "./RemoveEntityOwnerCommand";
114
+ export * from "./RemovePolicyGrantCommand";
105
115
  export * from "./RevokeSubscriptionCommand";
106
116
  export * from "./SearchCommand";
107
117
  export * from "./SearchGroupProfilesCommand";
@@ -115,6 +125,7 @@ export * from "./UntagResourceCommand";
115
125
  export * from "./UpdateAssetFilterCommand";
116
126
  export * from "./UpdateDataSourceCommand";
117
127
  export * from "./UpdateDomainCommand";
128
+ export * from "./UpdateDomainUnitCommand";
118
129
  export * from "./UpdateEnvironmentActionCommand";
119
130
  export * from "./UpdateEnvironmentCommand";
120
131
  export * from "./UpdateEnvironmentProfileCommand";