@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,84 @@
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 { ListDomainUnitsForParentInput, ListDomainUnitsForParentOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListDomainUnitsForParentCommand}.
14
+ */
15
+ export interface ListDomainUnitsForParentCommandInput extends ListDomainUnitsForParentInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDomainUnitsForParentCommand}.
21
+ */
22
+ export interface ListDomainUnitsForParentCommandOutput extends ListDomainUnitsForParentOutput, __MetadataBearer {
23
+ }
24
+ declare const ListDomainUnitsForParentCommand_base: {
25
+ new (input: ListDomainUnitsForParentCommandInput): import("@smithy/smithy-client").CommandImpl<ListDomainUnitsForParentCommandInput, ListDomainUnitsForParentCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListDomainUnitsForParentCommandInput): import("@smithy/smithy-client").CommandImpl<ListDomainUnitsForParentCommandInput, ListDomainUnitsForParentCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists child domain units for the specified parent 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, ListDomainUnitsForParentCommand } from "@aws-sdk/client-datazone"; // ES Modules import
35
+ * // const { DataZoneClient, ListDomainUnitsForParentCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
36
+ * const client = new DataZoneClient(config);
37
+ * const input = { // ListDomainUnitsForParentInput
38
+ * domainIdentifier: "STRING_VALUE", // required
39
+ * parentDomainUnitIdentifier: "STRING_VALUE", // required
40
+ * maxResults: Number("int"),
41
+ * nextToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListDomainUnitsForParentCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListDomainUnitsForParentOutput
46
+ * // items: [ // DomainUnitSummaries // required
47
+ * // { // DomainUnitSummary
48
+ * // name: "STRING_VALUE", // required
49
+ * // id: "STRING_VALUE", // required
50
+ * // },
51
+ * // ],
52
+ * // nextToken: "STRING_VALUE",
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param ListDomainUnitsForParentCommandInput - {@link ListDomainUnitsForParentCommandInput}
58
+ * @returns {@link ListDomainUnitsForParentCommandOutput}
59
+ * @see {@link ListDomainUnitsForParentCommandInput} for command's `input` shape.
60
+ * @see {@link ListDomainUnitsForParentCommandOutput} 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 ThrottlingException} (client fault)
70
+ * <p>The request was denied due to request throttling.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
74
+ *
75
+ * @throws {@link UnauthorizedException} (client fault)
76
+ * <p>You do not have permission to perform this action.</p>
77
+ *
78
+ * @throws {@link DataZoneServiceException}
79
+ * <p>Base exception class for all service exceptions from DataZone service.</p>
80
+ *
81
+ * @public
82
+ */
83
+ export declare class ListDomainUnitsForParentCommand extends ListDomainUnitsForParentCommand_base {
84
+ }
@@ -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",
@@ -76,6 +76,14 @@ declare const ListSubscriptionGrantsCommand_base: {
76
76
  * // },
77
77
  * // grantedTimestamp: new Date("TIMESTAMP"),
78
78
  * // failureTimestamp: new Date("TIMESTAMP"),
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
  * // ],
81
89
  * // subscriptionId: "STRING_VALUE",
@@ -84,6 +84,14 @@ declare const ListSubscriptionRequestsCommand_base: {
84
84
  * // shortDescription: "STRING_VALUE",
85
85
  * // },
86
86
  * // ],
87
+ * // assetScope: { // AssetScope
88
+ * // assetId: "STRING_VALUE", // required
89
+ * // filterIds: [ // FilterIds // required
90
+ * // "STRING_VALUE",
91
+ * // ],
92
+ * // status: "STRING_VALUE", // required
93
+ * // errorMessage: "STRING_VALUE",
94
+ * // },
87
95
  * // },
88
96
  * // productListing: { // SubscribedProductListing
89
97
  * // entityId: "STRING_VALUE",
@@ -81,6 +81,14 @@ declare const ListSubscriptionsCommand_base: {
81
81
  * // shortDescription: "STRING_VALUE",
82
82
  * // },
83
83
  * // ],
84
+ * // assetScope: { // AssetScope
85
+ * // assetId: "STRING_VALUE", // required
86
+ * // filterIds: [ // FilterIds // required
87
+ * // "STRING_VALUE",
88
+ * // ],
89
+ * // status: "STRING_VALUE", // required
90
+ * // errorMessage: "STRING_VALUE",
91
+ * // },
84
92
  * // },
85
93
  * // productListing: { // SubscribedProductListing
86
94
  * // entityId: "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
  */
@@ -76,6 +76,14 @@ declare const RejectSubscriptionRequestCommand_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",
@@ -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
+ }
@@ -72,6 +72,14 @@ declare const RevokeSubscriptionCommand_base: {
72
72
  * // shortDescription: "STRING_VALUE",
73
73
  * // },
74
74
  * // ],
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
  * // productListing: { // SubscribedProductListing
77
85
  * // entityId: "STRING_VALUE",
@@ -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",