@aws-sdk/client-datazone 3.637.0 → 3.643.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 (128) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +894 -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 +358 -0
  35. package/dist-types/DataZone.d.ts +77 -0
  36. package/dist-types/DataZoneClient.d.ts +13 -2
  37. package/dist-types/commands/AddEntityOwnerCommand.d.ts +93 -0
  38. package/dist-types/commands/AddPolicyGrantCommand.d.ts +141 -0
  39. package/dist-types/commands/CreateDomainCommand.d.ts +1 -0
  40. package/dist-types/commands/CreateDomainUnitCommand.d.ts +104 -0
  41. package/dist-types/commands/CreateProjectCommand.d.ts +2 -0
  42. package/dist-types/commands/DeleteDataProductCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteDomainUnitCommand.d.ts +80 -0
  44. package/dist-types/commands/DeleteFormTypeCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteGlossaryCommand.d.ts +1 -2
  46. package/dist-types/commands/GetAssetFilterCommand.d.ts +1 -2
  47. package/dist-types/commands/GetDomainCommand.d.ts +1 -0
  48. package/dist-types/commands/GetDomainUnitCommand.d.ts +97 -0
  49. package/dist-types/commands/GetEnvironmentActionCommand.d.ts +1 -1
  50. package/dist-types/commands/GetEnvironmentBlueprintCommand.d.ts +1 -1
  51. package/dist-types/commands/GetEnvironmentBlueprintConfigurationCommand.d.ts +2 -1
  52. package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
  53. package/dist-types/commands/GetEnvironmentCredentialsCommand.d.ts +1 -1
  54. package/dist-types/commands/GetEnvironmentProfileCommand.d.ts +1 -1
  55. package/dist-types/commands/GetFormTypeCommand.d.ts +1 -1
  56. package/dist-types/commands/GetGroupProfileCommand.d.ts +1 -1
  57. package/dist-types/commands/GetIamPortalLoginUrlCommand.d.ts +1 -1
  58. package/dist-types/commands/GetLineageNodeCommand.d.ts +1 -1
  59. package/dist-types/commands/GetProjectCommand.d.ts +2 -1
  60. package/dist-types/commands/GetSubscriptionCommand.d.ts +1 -1
  61. package/dist-types/commands/GetSubscriptionGrantCommand.d.ts +1 -1
  62. package/dist-types/commands/GetSubscriptionRequestDetailsCommand.d.ts +1 -1
  63. package/dist-types/commands/GetSubscriptionTargetCommand.d.ts +1 -1
  64. package/dist-types/commands/GetTimeSeriesDataPointCommand.d.ts +1 -1
  65. package/dist-types/commands/GetUserProfileCommand.d.ts +1 -1
  66. package/dist-types/commands/ListDomainUnitsForParentCommand.d.ts +84 -0
  67. package/dist-types/commands/ListEntityOwnersCommand.d.ts +89 -0
  68. package/dist-types/commands/ListEnvironmentBlueprintConfigurationsCommand.d.ts +1 -1
  69. package/dist-types/commands/ListPolicyGrantsCommand.d.ts +143 -0
  70. package/dist-types/commands/ListProjectsCommand.d.ts +1 -0
  71. package/dist-types/commands/PutEnvironmentBlueprintConfigurationCommand.d.ts +1 -1
  72. package/dist-types/commands/RemoveEntityOwnerCommand.d.ts +87 -0
  73. package/dist-types/commands/RemovePolicyGrantCommand.d.ts +103 -0
  74. package/dist-types/commands/UpdateDomainCommand.d.ts +1 -0
  75. package/dist-types/commands/UpdateDomainUnitCommand.d.ts +102 -0
  76. package/dist-types/commands/UpdateProjectCommand.d.ts +1 -0
  77. package/dist-types/commands/index.d.ts +11 -0
  78. package/dist-types/models/models_0.d.ts +4741 -5090
  79. package/dist-types/models/models_1.d.ts +1919 -2
  80. package/dist-types/pagination/ListDomainUnitsForParentPaginator.d.ts +7 -0
  81. package/dist-types/pagination/ListEntityOwnersPaginator.d.ts +7 -0
  82. package/dist-types/pagination/ListPolicyGrantsPaginator.d.ts +7 -0
  83. package/dist-types/pagination/index.d.ts +3 -0
  84. package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
  85. package/dist-types/ts3.4/DataZone.d.ts +187 -0
  86. package/dist-types/ts3.4/DataZoneClient.d.ts +66 -0
  87. package/dist-types/ts3.4/commands/AddEntityOwnerCommand.d.ts +36 -0
  88. package/dist-types/ts3.4/commands/AddPolicyGrantCommand.d.ts +36 -0
  89. package/dist-types/ts3.4/commands/CreateDomainUnitCommand.d.ts +39 -0
  90. package/dist-types/ts3.4/commands/DeleteDomainUnitCommand.d.ts +39 -0
  91. package/dist-types/ts3.4/commands/DeleteFormTypeCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DeleteGlossaryCommand.d.ts +1 -2
  93. package/dist-types/ts3.4/commands/GetAssetFilterCommand.d.ts +1 -2
  94. package/dist-types/ts3.4/commands/GetDomainUnitCommand.d.ts +36 -0
  95. package/dist-types/ts3.4/commands/GetEnvironmentActionCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/GetEnvironmentBlueprintCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/GetEnvironmentBlueprintConfigurationCommand.d.ts +2 -4
  98. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/GetEnvironmentCredentialsCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/GetEnvironmentProfileCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/GetFormTypeCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/GetGroupProfileCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/GetIamPortalLoginUrlCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/GetLineageNodeCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/GetProjectCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/GetSubscriptionGrantCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/GetSubscriptionRequestDetailsCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/GetSubscriptionTargetCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/GetTimeSeriesDataPointCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/GetUserProfileCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/ListDomainUnitsForParentCommand.d.ts +40 -0
  113. package/dist-types/ts3.4/commands/ListEntityOwnersCommand.d.ts +39 -0
  114. package/dist-types/ts3.4/commands/ListEnvironmentBlueprintConfigurationsCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/ListPolicyGrantsCommand.d.ts +39 -0
  116. package/dist-types/ts3.4/commands/PutEnvironmentBlueprintConfigurationCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/RemoveEntityOwnerCommand.d.ts +39 -0
  118. package/dist-types/ts3.4/commands/RemovePolicyGrantCommand.d.ts +39 -0
  119. package/dist-types/ts3.4/commands/UpdateDomainUnitCommand.d.ts +39 -0
  120. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  121. package/dist-types/ts3.4/models/models_0.d.ts +575 -380
  122. package/dist-types/ts3.4/models/models_1.d.ts +487 -2
  123. package/dist-types/ts3.4/pagination/ListDomainUnitsForParentPaginator.d.ts +11 -0
  124. package/dist-types/ts3.4/pagination/ListEntityOwnersPaginator.d.ts +11 -0
  125. package/dist-types/ts3.4/pagination/ListPolicyGrantsPaginator.d.ts +11 -0
  126. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  127. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
  128. package/package.json +1 -1
@@ -0,0 +1,89 @@
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 { ListEntityOwnersInput, ListEntityOwnersOutput } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListEntityOwnersCommand}.
14
+ */
15
+ export interface ListEntityOwnersCommandInput extends ListEntityOwnersInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListEntityOwnersCommand}.
21
+ */
22
+ export interface ListEntityOwnersCommandOutput extends ListEntityOwnersOutput, __MetadataBearer {
23
+ }
24
+ declare const ListEntityOwnersCommand_base: {
25
+ new (input: ListEntityOwnersCommandInput): import("@smithy/smithy-client").CommandImpl<ListEntityOwnersCommandInput, ListEntityOwnersCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListEntityOwnersCommandInput): import("@smithy/smithy-client").CommandImpl<ListEntityOwnersCommandInput, ListEntityOwnersCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the entity (domain units) owners.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DataZoneClient, ListEntityOwnersCommand } from "@aws-sdk/client-datazone"; // ES Modules import
35
+ * // const { DataZoneClient, ListEntityOwnersCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
36
+ * const client = new DataZoneClient(config);
37
+ * const input = { // ListEntityOwnersInput
38
+ * domainIdentifier: "STRING_VALUE", // required
39
+ * entityType: "DOMAIN_UNIT", // required
40
+ * entityIdentifier: "STRING_VALUE", // required
41
+ * maxResults: Number("int"),
42
+ * nextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListEntityOwnersCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListEntityOwnersOutput
47
+ * // owners: [ // EntityOwners // required
48
+ * // { // OwnerPropertiesOutput Union: only one key present
49
+ * // user: { // OwnerUserPropertiesOutput
50
+ * // userId: "STRING_VALUE",
51
+ * // },
52
+ * // group: { // OwnerGroupPropertiesOutput
53
+ * // groupId: "STRING_VALUE",
54
+ * // },
55
+ * // },
56
+ * // ],
57
+ * // nextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListEntityOwnersCommandInput - {@link ListEntityOwnersCommandInput}
63
+ * @returns {@link ListEntityOwnersCommandOutput}
64
+ * @see {@link ListEntityOwnersCommandInput} for command's `input` shape.
65
+ * @see {@link ListEntityOwnersCommandOutput} for command's `response` shape.
66
+ * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>You do not have sufficient access to perform this action.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>The request has failed because of an unknown error, exception or failure.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>The request was denied due to request throttling.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
79
+ *
80
+ * @throws {@link UnauthorizedException} (client fault)
81
+ * <p>You do not have permission to perform this action.</p>
82
+ *
83
+ * @throws {@link DataZoneServiceException}
84
+ * <p>Base exception class for all service exceptions from DataZone service.</p>
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ListEntityOwnersCommand extends ListEntityOwnersCommand_base {
89
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
4
- import { ListEnvironmentBlueprintConfigurationsInput, ListEnvironmentBlueprintConfigurationsOutput } from "../models/models_0";
4
+ import { ListEnvironmentBlueprintConfigurationsInput, ListEnvironmentBlueprintConfigurationsOutput } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,143 @@
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 { ListPolicyGrantsInput, ListPolicyGrantsOutput } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPolicyGrantsCommand}.
14
+ */
15
+ export interface ListPolicyGrantsCommandInput extends ListPolicyGrantsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPolicyGrantsCommand}.
21
+ */
22
+ export interface ListPolicyGrantsCommandOutput extends ListPolicyGrantsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListPolicyGrantsCommand_base: {
25
+ new (input: ListPolicyGrantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPolicyGrantsCommandInput, ListPolicyGrantsCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListPolicyGrantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPolicyGrantsCommandInput, ListPolicyGrantsCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists policy grants.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DataZoneClient, ListPolicyGrantsCommand } from "@aws-sdk/client-datazone"; // ES Modules import
35
+ * // const { DataZoneClient, ListPolicyGrantsCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
36
+ * const client = new DataZoneClient(config);
37
+ * const input = { // ListPolicyGrantsInput
38
+ * domainIdentifier: "STRING_VALUE", // required
39
+ * entityType: "DOMAIN_UNIT" || "ENVIRONMENT_BLUEPRINT_CONFIGURATION" || "ENVIRONMENT_PROFILE", // required
40
+ * entityIdentifier: "STRING_VALUE", // required
41
+ * policyType: "CREATE_DOMAIN_UNIT" || "OVERRIDE_DOMAIN_UNIT_OWNERS" || "ADD_TO_PROJECT_MEMBER_POOL" || "OVERRIDE_PROJECT_OWNERS" || "CREATE_GLOSSARY" || "CREATE_FORM_TYPE" || "CREATE_ASSET_TYPE" || "CREATE_PROJECT" || "CREATE_ENVIRONMENT_PROFILE" || "DELEGATE_CREATE_ENVIRONMENT_PROFILE" || "CREATE_ENVIRONMENT", // required
42
+ * maxResults: Number("int"),
43
+ * nextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListPolicyGrantsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListPolicyGrantsOutput
48
+ * // grantList: [ // PolicyGrantList // required
49
+ * // { // PolicyGrantMember
50
+ * // principal: { // PolicyGrantPrincipal Union: only one key present
51
+ * // user: { // UserPolicyGrantPrincipal Union: only one key present
52
+ * // userIdentifier: "STRING_VALUE",
53
+ * // allUsersGrantFilter: {},
54
+ * // },
55
+ * // group: { // GroupPolicyGrantPrincipal Union: only one key present
56
+ * // groupIdentifier: "STRING_VALUE",
57
+ * // },
58
+ * // project: { // ProjectPolicyGrantPrincipal
59
+ * // projectDesignation: "OWNER" || "CONTRIBUTOR", // required
60
+ * // projectIdentifier: "STRING_VALUE",
61
+ * // projectGrantFilter: { // ProjectGrantFilter Union: only one key present
62
+ * // domainUnitFilter: { // DomainUnitFilterForProject
63
+ * // domainUnit: "STRING_VALUE", // required
64
+ * // includeChildDomainUnits: true || false,
65
+ * // },
66
+ * // },
67
+ * // },
68
+ * // domainUnit: { // DomainUnitPolicyGrantPrincipal
69
+ * // domainUnitDesignation: "OWNER", // required
70
+ * // domainUnitIdentifier: "STRING_VALUE",
71
+ * // domainUnitGrantFilter: { // DomainUnitGrantFilter Union: only one key present
72
+ * // allDomainUnitsGrantFilter: {},
73
+ * // },
74
+ * // },
75
+ * // },
76
+ * // detail: { // PolicyGrantDetail Union: only one key present
77
+ * // createDomainUnit: { // CreateDomainUnitPolicyGrantDetail
78
+ * // includeChildDomainUnits: true || false,
79
+ * // },
80
+ * // overrideDomainUnitOwners: { // OverrideDomainUnitOwnersPolicyGrantDetail
81
+ * // includeChildDomainUnits: true || false,
82
+ * // },
83
+ * // addToProjectMemberPool: { // AddToProjectMemberPoolPolicyGrantDetail
84
+ * // includeChildDomainUnits: true || false,
85
+ * // },
86
+ * // overrideProjectOwners: { // OverrideProjectOwnersPolicyGrantDetail
87
+ * // includeChildDomainUnits: true || false,
88
+ * // },
89
+ * // createGlossary: { // CreateGlossaryPolicyGrantDetail
90
+ * // includeChildDomainUnits: true || false,
91
+ * // },
92
+ * // createFormType: { // CreateFormTypePolicyGrantDetail
93
+ * // includeChildDomainUnits: true || false,
94
+ * // },
95
+ * // createAssetType: { // CreateAssetTypePolicyGrantDetail
96
+ * // includeChildDomainUnits: true || false,
97
+ * // },
98
+ * // createProject: { // CreateProjectPolicyGrantDetail
99
+ * // includeChildDomainUnits: true || false,
100
+ * // },
101
+ * // createEnvironmentProfile: { // CreateEnvironmentProfilePolicyGrantDetail
102
+ * // domainUnitId: "STRING_VALUE",
103
+ * // },
104
+ * // delegateCreateEnvironmentProfile: {},
105
+ * // createEnvironment: {},
106
+ * // },
107
+ * // createdAt: new Date("TIMESTAMP"),
108
+ * // createdBy: "STRING_VALUE",
109
+ * // },
110
+ * // ],
111
+ * // nextToken: "STRING_VALUE",
112
+ * // };
113
+ *
114
+ * ```
115
+ *
116
+ * @param ListPolicyGrantsCommandInput - {@link ListPolicyGrantsCommandInput}
117
+ * @returns {@link ListPolicyGrantsCommandOutput}
118
+ * @see {@link ListPolicyGrantsCommandInput} for command's `input` shape.
119
+ * @see {@link ListPolicyGrantsCommandOutput} for command's `response` shape.
120
+ * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
121
+ *
122
+ * @throws {@link AccessDeniedException} (client fault)
123
+ * <p>You do not have sufficient access to perform this action.</p>
124
+ *
125
+ * @throws {@link InternalServerException} (server fault)
126
+ * <p>The request has failed because of an unknown error, exception or failure.</p>
127
+ *
128
+ * @throws {@link ThrottlingException} (client fault)
129
+ * <p>The request was denied due to request throttling.</p>
130
+ *
131
+ * @throws {@link ValidationException} (client fault)
132
+ * <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
133
+ *
134
+ * @throws {@link UnauthorizedException} (client fault)
135
+ * <p>You do not have permission to perform this action.</p>
136
+ *
137
+ * @throws {@link DataZoneServiceException}
138
+ * <p>Base exception class for all service exceptions from DataZone service.</p>
139
+ *
140
+ * @public
141
+ */
142
+ export declare class ListPolicyGrantsCommand extends ListPolicyGrantsCommand_base {
143
+ }
@@ -61,6 +61,7 @@ declare const ListProjectsCommand_base: {
61
61
  * // createdBy: "STRING_VALUE", // required
62
62
  * // createdAt: new Date("TIMESTAMP"),
63
63
  * // updatedAt: new Date("TIMESTAMP"),
64
+ * // domainUnitId: "STRING_VALUE",
64
65
  * // },
65
66
  * // ],
66
67
  * // nextToken: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
4
- import { PutEnvironmentBlueprintConfigurationInput, PutEnvironmentBlueprintConfigurationOutput } from "../models/models_0";
4
+ import { PutEnvironmentBlueprintConfigurationInput, PutEnvironmentBlueprintConfigurationOutput } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,87 @@
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 { RemoveEntityOwnerInput, RemoveEntityOwnerOutput } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RemoveEntityOwnerCommand}.
14
+ */
15
+ export interface RemoveEntityOwnerCommandInput extends RemoveEntityOwnerInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RemoveEntityOwnerCommand}.
21
+ */
22
+ export interface RemoveEntityOwnerCommandOutput extends RemoveEntityOwnerOutput, __MetadataBearer {
23
+ }
24
+ declare const RemoveEntityOwnerCommand_base: {
25
+ new (input: RemoveEntityOwnerCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveEntityOwnerCommandInput, RemoveEntityOwnerCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: RemoveEntityOwnerCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveEntityOwnerCommandInput, RemoveEntityOwnerCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes an owner from an entity.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DataZoneClient, RemoveEntityOwnerCommand } from "@aws-sdk/client-datazone"; // ES Modules import
35
+ * // const { DataZoneClient, RemoveEntityOwnerCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
36
+ * const client = new DataZoneClient(config);
37
+ * const input = { // RemoveEntityOwnerInput
38
+ * domainIdentifier: "STRING_VALUE", // required
39
+ * entityType: "DOMAIN_UNIT", // required
40
+ * entityIdentifier: "STRING_VALUE", // required
41
+ * owner: { // OwnerProperties Union: only one key present
42
+ * user: { // OwnerUserProperties
43
+ * userIdentifier: "STRING_VALUE", // required
44
+ * },
45
+ * group: { // OwnerGroupProperties
46
+ * groupIdentifier: "STRING_VALUE", // required
47
+ * },
48
+ * },
49
+ * clientToken: "STRING_VALUE",
50
+ * };
51
+ * const command = new RemoveEntityOwnerCommand(input);
52
+ * const response = await client.send(command);
53
+ * // {};
54
+ *
55
+ * ```
56
+ *
57
+ * @param RemoveEntityOwnerCommandInput - {@link RemoveEntityOwnerCommandInput}
58
+ * @returns {@link RemoveEntityOwnerCommandOutput}
59
+ * @see {@link RemoveEntityOwnerCommandInput} for command's `input` shape.
60
+ * @see {@link RemoveEntityOwnerCommandOutput} for command's `response` shape.
61
+ * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You do not have sufficient access to perform this action.</p>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>The request has failed because of an unknown error, exception or failure.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The specified resource cannot be found.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was denied due to request throttling.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
77
+ *
78
+ * @throws {@link UnauthorizedException} (client fault)
79
+ * <p>You do not have permission to perform this action.</p>
80
+ *
81
+ * @throws {@link DataZoneServiceException}
82
+ * <p>Base exception class for all service exceptions from DataZone service.</p>
83
+ *
84
+ * @public
85
+ */
86
+ export declare class RemoveEntityOwnerCommand extends RemoveEntityOwnerCommand_base {
87
+ }
@@ -0,0 +1,103 @@
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 { RemovePolicyGrantInput, RemovePolicyGrantOutput } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RemovePolicyGrantCommand}.
14
+ */
15
+ export interface RemovePolicyGrantCommandInput extends RemovePolicyGrantInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RemovePolicyGrantCommand}.
21
+ */
22
+ export interface RemovePolicyGrantCommandOutput extends RemovePolicyGrantOutput, __MetadataBearer {
23
+ }
24
+ declare const RemovePolicyGrantCommand_base: {
25
+ new (input: RemovePolicyGrantCommandInput): import("@smithy/smithy-client").CommandImpl<RemovePolicyGrantCommandInput, RemovePolicyGrantCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: RemovePolicyGrantCommandInput): import("@smithy/smithy-client").CommandImpl<RemovePolicyGrantCommandInput, RemovePolicyGrantCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes a policy grant.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DataZoneClient, RemovePolicyGrantCommand } from "@aws-sdk/client-datazone"; // ES Modules import
35
+ * // const { DataZoneClient, RemovePolicyGrantCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
36
+ * const client = new DataZoneClient(config);
37
+ * const input = { // RemovePolicyGrantInput
38
+ * domainIdentifier: "STRING_VALUE", // required
39
+ * entityType: "DOMAIN_UNIT" || "ENVIRONMENT_BLUEPRINT_CONFIGURATION" || "ENVIRONMENT_PROFILE", // required
40
+ * entityIdentifier: "STRING_VALUE", // required
41
+ * policyType: "CREATE_DOMAIN_UNIT" || "OVERRIDE_DOMAIN_UNIT_OWNERS" || "ADD_TO_PROJECT_MEMBER_POOL" || "OVERRIDE_PROJECT_OWNERS" || "CREATE_GLOSSARY" || "CREATE_FORM_TYPE" || "CREATE_ASSET_TYPE" || "CREATE_PROJECT" || "CREATE_ENVIRONMENT_PROFILE" || "DELEGATE_CREATE_ENVIRONMENT_PROFILE" || "CREATE_ENVIRONMENT", // required
42
+ * principal: { // PolicyGrantPrincipal Union: only one key present
43
+ * user: { // UserPolicyGrantPrincipal Union: only one key present
44
+ * userIdentifier: "STRING_VALUE",
45
+ * allUsersGrantFilter: {},
46
+ * },
47
+ * group: { // GroupPolicyGrantPrincipal Union: only one key present
48
+ * groupIdentifier: "STRING_VALUE",
49
+ * },
50
+ * project: { // ProjectPolicyGrantPrincipal
51
+ * projectDesignation: "OWNER" || "CONTRIBUTOR", // required
52
+ * projectIdentifier: "STRING_VALUE",
53
+ * projectGrantFilter: { // ProjectGrantFilter Union: only one key present
54
+ * domainUnitFilter: { // DomainUnitFilterForProject
55
+ * domainUnit: "STRING_VALUE", // required
56
+ * includeChildDomainUnits: true || false,
57
+ * },
58
+ * },
59
+ * },
60
+ * domainUnit: { // DomainUnitPolicyGrantPrincipal
61
+ * domainUnitDesignation: "OWNER", // required
62
+ * domainUnitIdentifier: "STRING_VALUE",
63
+ * domainUnitGrantFilter: { // DomainUnitGrantFilter Union: only one key present
64
+ * allDomainUnitsGrantFilter: {},
65
+ * },
66
+ * },
67
+ * },
68
+ * clientToken: "STRING_VALUE",
69
+ * };
70
+ * const command = new RemovePolicyGrantCommand(input);
71
+ * const response = await client.send(command);
72
+ * // {};
73
+ *
74
+ * ```
75
+ *
76
+ * @param RemovePolicyGrantCommandInput - {@link RemovePolicyGrantCommandInput}
77
+ * @returns {@link RemovePolicyGrantCommandOutput}
78
+ * @see {@link RemovePolicyGrantCommandInput} for command's `input` shape.
79
+ * @see {@link RemovePolicyGrantCommandOutput} for command's `response` shape.
80
+ * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
81
+ *
82
+ * @throws {@link AccessDeniedException} (client fault)
83
+ * <p>You do not have sufficient access to perform this action.</p>
84
+ *
85
+ * @throws {@link InternalServerException} (server fault)
86
+ * <p>The request has failed because of an unknown error, exception or failure.</p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>The request was denied due to request throttling.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
93
+ *
94
+ * @throws {@link UnauthorizedException} (client fault)
95
+ * <p>You do not have permission to perform this action.</p>
96
+ *
97
+ * @throws {@link DataZoneServiceException}
98
+ * <p>Base exception class for all service exceptions from DataZone service.</p>
99
+ *
100
+ * @public
101
+ */
102
+ export declare class RemovePolicyGrantCommand extends RemovePolicyGrantCommand_base {
103
+ }
@@ -49,6 +49,7 @@ declare const UpdateDomainCommand_base: {
49
49
  * const response = await client.send(command);
50
50
  * // { // UpdateDomainOutput
51
51
  * // id: "STRING_VALUE", // required
52
+ * // rootDomainUnitId: "STRING_VALUE",
52
53
  * // description: "STRING_VALUE",
53
54
  * // singleSignOn: { // SingleSignOn
54
55
  * // type: "IAM_IDC" || "DISABLED",
@@ -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
  * ```
@@ -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";