@aws-sdk/client-datazone 3.864.0 → 3.867.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 (76) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +496 -77
  3. package/dist-es/DataZone.js +12 -0
  4. package/dist-es/commands/CreateAccountPoolCommand.js +23 -0
  5. package/dist-es/commands/CreateRuleCommand.js +1 -1
  6. package/dist-es/commands/DeleteAccountPoolCommand.js +22 -0
  7. package/dist-es/commands/GetAccountPoolCommand.js +23 -0
  8. package/dist-es/commands/ListAccountPoolsCommand.js +23 -0
  9. package/dist-es/commands/ListAccountsInAccountPoolCommand.js +23 -0
  10. package/dist-es/commands/PostLineageEventCommand.js +1 -1
  11. package/dist-es/commands/RejectSubscriptionRequestCommand.js +1 -1
  12. package/dist-es/commands/RevokeSubscriptionCommand.js +1 -1
  13. package/dist-es/commands/UpdateAccountPoolCommand.js +23 -0
  14. package/dist-es/commands/index.js +6 -0
  15. package/dist-es/models/models_0.js +41 -36
  16. package/dist-es/models/models_1.js +59 -29
  17. package/dist-es/models/models_2.js +40 -1
  18. package/dist-es/pagination/ListAccountPoolsPaginator.js +4 -0
  19. package/dist-es/pagination/ListAccountsInAccountPoolPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -0
  21. package/dist-es/protocols/Aws_restJson1.js +197 -0
  22. package/dist-types/DataZone.d.ts +42 -0
  23. package/dist-types/DataZoneClient.d.ts +8 -2
  24. package/dist-types/commands/CreateAccountPoolCommand.d.ts +138 -0
  25. package/dist-types/commands/CreateProjectCommand.d.ts +10 -0
  26. package/dist-types/commands/CreateProjectProfileCommand.d.ts +6 -0
  27. package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteAccountPoolCommand.d.ts +89 -0
  29. package/dist-types/commands/GetAccountPoolCommand.d.ts +115 -0
  30. package/dist-types/commands/GetProjectCommand.d.ts +5 -0
  31. package/dist-types/commands/GetProjectProfileCommand.d.ts +3 -0
  32. package/dist-types/commands/ListAccountPoolsCommand.d.ts +103 -0
  33. package/dist-types/commands/ListAccountsInAccountPoolCommand.d.ts +102 -0
  34. package/dist-types/commands/PostLineageEventCommand.d.ts +2 -1
  35. package/dist-types/commands/PostTimeSeriesDataPointsCommand.d.ts +1 -1
  36. package/dist-types/commands/RejectPredictionsCommand.d.ts +1 -1
  37. package/dist-types/commands/RejectSubscriptionRequestCommand.d.ts +1 -1
  38. package/dist-types/commands/RemoveEntityOwnerCommand.d.ts +1 -1
  39. package/dist-types/commands/RemovePolicyGrantCommand.d.ts +1 -1
  40. package/dist-types/commands/RevokeSubscriptionCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateAccountPoolCommand.d.ts +139 -0
  42. package/dist-types/commands/UpdateProjectCommand.d.ts +10 -0
  43. package/dist-types/commands/UpdateProjectProfileCommand.d.ts +6 -0
  44. package/dist-types/commands/index.d.ts +6 -0
  45. package/dist-types/models/models_0.d.ts +289 -235
  46. package/dist-types/models/models_1.d.ts +511 -515
  47. package/dist-types/models/models_2.d.ts +582 -2
  48. package/dist-types/pagination/ListAccountPoolsPaginator.d.ts +7 -0
  49. package/dist-types/pagination/ListAccountsInAccountPoolPaginator.d.ts +7 -0
  50. package/dist-types/pagination/index.d.ts +2 -0
  51. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  52. package/dist-types/ts3.4/DataZone.d.ts +102 -0
  53. package/dist-types/ts3.4/DataZoneClient.d.ts +36 -0
  54. package/dist-types/ts3.4/commands/CreateAccountPoolCommand.d.ts +50 -0
  55. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/DeleteAccountPoolCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/GetAccountPoolCommand.d.ts +47 -0
  58. package/dist-types/ts3.4/commands/ListAccountPoolsCommand.d.ts +50 -0
  59. package/dist-types/ts3.4/commands/ListAccountsInAccountPoolCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/PostLineageEventCommand.d.ts +2 -4
  61. package/dist-types/ts3.4/commands/PostTimeSeriesDataPointsCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/RejectPredictionsCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/RejectSubscriptionRequestCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/RemoveEntityOwnerCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/RemovePolicyGrantCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/RevokeSubscriptionCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdateAccountPoolCommand.d.ts +50 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +92 -84
  70. package/dist-types/ts3.4/models/models_1.d.ts +155 -123
  71. package/dist-types/ts3.4/models/models_2.d.ts +156 -3
  72. package/dist-types/ts3.4/pagination/ListAccountPoolsPaginator.d.ts +11 -0
  73. package/dist-types/ts3.4/pagination/ListAccountsInAccountPoolPaginator.d.ts +11 -0
  74. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  75. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  76. package/package.json +1 -1
@@ -0,0 +1,139 @@
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 { UpdateAccountPoolInput, UpdateAccountPoolOutput } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateAccountPoolCommand}.
14
+ */
15
+ export interface UpdateAccountPoolCommandInput extends UpdateAccountPoolInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAccountPoolCommand}.
21
+ */
22
+ export interface UpdateAccountPoolCommandOutput extends UpdateAccountPoolOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateAccountPoolCommand_base: {
25
+ new (input: UpdateAccountPoolCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccountPoolCommandInput, UpdateAccountPoolCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateAccountPoolCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccountPoolCommandInput, UpdateAccountPoolCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the account pool.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DataZoneClient, UpdateAccountPoolCommand } from "@aws-sdk/client-datazone"; // ES Modules import
35
+ * // const { DataZoneClient, UpdateAccountPoolCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
36
+ * const client = new DataZoneClient(config);
37
+ * const input = { // UpdateAccountPoolInput
38
+ * domainIdentifier: "STRING_VALUE", // required
39
+ * identifier: "STRING_VALUE", // required
40
+ * name: "STRING_VALUE",
41
+ * description: "STRING_VALUE",
42
+ * resolutionStrategy: "MANUAL",
43
+ * accountSource: { // AccountSource Union: only one key present
44
+ * accounts: [ // AccountInfoList
45
+ * { // AccountInfo
46
+ * awsAccountId: "STRING_VALUE", // required
47
+ * supportedRegions: [ // AwsRegionList // required
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * awsAccountName: "STRING_VALUE",
51
+ * },
52
+ * ],
53
+ * customAccountPoolHandler: { // CustomAccountPoolHandler
54
+ * lambdaFunctionArn: "STRING_VALUE", // required
55
+ * lambdaExecutionRoleArn: "STRING_VALUE",
56
+ * },
57
+ * },
58
+ * };
59
+ * const command = new UpdateAccountPoolCommand(input);
60
+ * const response = await client.send(command);
61
+ * // { // UpdateAccountPoolOutput
62
+ * // domainId: "STRING_VALUE",
63
+ * // name: "STRING_VALUE",
64
+ * // id: "STRING_VALUE",
65
+ * // description: "STRING_VALUE",
66
+ * // resolutionStrategy: "MANUAL",
67
+ * // accountSource: { // AccountSource Union: only one key present
68
+ * // accounts: [ // AccountInfoList
69
+ * // { // AccountInfo
70
+ * // awsAccountId: "STRING_VALUE", // required
71
+ * // supportedRegions: [ // AwsRegionList // required
72
+ * // "STRING_VALUE",
73
+ * // ],
74
+ * // awsAccountName: "STRING_VALUE",
75
+ * // },
76
+ * // ],
77
+ * // customAccountPoolHandler: { // CustomAccountPoolHandler
78
+ * // lambdaFunctionArn: "STRING_VALUE", // required
79
+ * // lambdaExecutionRoleArn: "STRING_VALUE",
80
+ * // },
81
+ * // },
82
+ * // createdBy: "STRING_VALUE", // required
83
+ * // createdAt: new Date("TIMESTAMP"),
84
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
85
+ * // updatedBy: "STRING_VALUE",
86
+ * // domainUnitId: "STRING_VALUE",
87
+ * // };
88
+ *
89
+ * ```
90
+ *
91
+ * @param UpdateAccountPoolCommandInput - {@link UpdateAccountPoolCommandInput}
92
+ * @returns {@link UpdateAccountPoolCommandOutput}
93
+ * @see {@link UpdateAccountPoolCommandInput} for command's `input` shape.
94
+ * @see {@link UpdateAccountPoolCommandOutput} for command's `response` shape.
95
+ * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
96
+ *
97
+ * @throws {@link AccessDeniedException} (client fault)
98
+ * <p>You do not have sufficient access to perform this action.</p>
99
+ *
100
+ * @throws {@link ConflictException} (client fault)
101
+ * <p>There is a conflict while performing this action.</p>
102
+ *
103
+ * @throws {@link InternalServerException} (server fault)
104
+ * <p>The request has failed because of an unknown error, exception or failure.</p>
105
+ *
106
+ * @throws {@link ResourceNotFoundException} (client fault)
107
+ * <p>The specified resource cannot be found.</p>
108
+ *
109
+ * @throws {@link ServiceQuotaExceededException} (client fault)
110
+ * <p>The request has exceeded the specified service quota.</p>
111
+ *
112
+ * @throws {@link ThrottlingException} (client fault)
113
+ * <p>The request was denied due to request throttling.</p>
114
+ *
115
+ * @throws {@link ValidationException} (client fault)
116
+ * <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
117
+ *
118
+ * @throws {@link UnauthorizedException} (client fault)
119
+ * <p>You do not have permission to perform this action.</p>
120
+ *
121
+ * @throws {@link DataZoneServiceException}
122
+ * <p>Base exception class for all service exceptions from DataZone service.</p>
123
+ *
124
+ *
125
+ * @public
126
+ */
127
+ export declare class UpdateAccountPoolCommand extends UpdateAccountPoolCommand_base {
128
+ /** @internal type navigation helper, not in runtime. */
129
+ protected static __types: {
130
+ api: {
131
+ input: UpdateAccountPoolInput;
132
+ output: UpdateAccountPoolOutput;
133
+ };
134
+ sdk: {
135
+ input: UpdateAccountPoolCommandInput;
136
+ output: UpdateAccountPoolCommandOutput;
137
+ };
138
+ };
139
+ }
@@ -57,6 +57,11 @@ declare const UpdateProjectCommand_base: {
57
57
  * userParameters: [ // EnvironmentConfigurationUserParametersList
58
58
  * { // EnvironmentConfigurationUserParameter
59
59
  * environmentId: "STRING_VALUE",
60
+ * environmentResolvedAccount: { // EnvironmentResolvedAccount
61
+ * awsAccountId: "STRING_VALUE", // required
62
+ * regionName: "STRING_VALUE", // required
63
+ * sourceAccountPoolId: "STRING_VALUE",
64
+ * },
60
65
  * environmentConfigurationName: "STRING_VALUE",
61
66
  * environmentParameters: [ // EnvironmentParametersList
62
67
  * { // EnvironmentParameter
@@ -93,6 +98,11 @@ declare const UpdateProjectCommand_base: {
93
98
  * // userParameters: [ // EnvironmentConfigurationUserParametersList
94
99
  * // { // EnvironmentConfigurationUserParameter
95
100
  * // environmentId: "STRING_VALUE",
101
+ * // environmentResolvedAccount: { // EnvironmentResolvedAccount
102
+ * // awsAccountId: "STRING_VALUE", // required
103
+ * // regionName: "STRING_VALUE", // required
104
+ * // sourceAccountPoolId: "STRING_VALUE",
105
+ * // },
96
106
  * // environmentConfigurationName: "STRING_VALUE",
97
107
  * // environmentParameters: [ // EnvironmentParametersList
98
108
  * // { // EnvironmentParameter
@@ -68,6 +68,9 @@ declare const UpdateProjectProfileCommand_base: {
68
68
  * awsAccountId: "STRING_VALUE",
69
69
  * awsAccountIdPath: "STRING_VALUE",
70
70
  * },
71
+ * accountPools: [ // AccountPoolList
72
+ * "STRING_VALUE",
73
+ * ],
71
74
  * awsRegion: { // Region Union: only one key present
72
75
  * regionName: "STRING_VALUE",
73
76
  * regionNamePath: "STRING_VALUE",
@@ -113,6 +116,9 @@ declare const UpdateProjectProfileCommand_base: {
113
116
  * // awsAccountId: "STRING_VALUE",
114
117
  * // awsAccountIdPath: "STRING_VALUE",
115
118
  * // },
119
+ * // accountPools: [ // AccountPoolList
120
+ * // "STRING_VALUE",
121
+ * // ],
116
122
  * // awsRegion: { // Region Union: only one key present
117
123
  * // regionName: "STRING_VALUE",
118
124
  * // regionNamePath: "STRING_VALUE",
@@ -5,6 +5,7 @@ export * from "./AddPolicyGrantCommand";
5
5
  export * from "./AssociateEnvironmentRoleCommand";
6
6
  export * from "./CancelMetadataGenerationRunCommand";
7
7
  export * from "./CancelSubscriptionCommand";
8
+ export * from "./CreateAccountPoolCommand";
8
9
  export * from "./CreateAssetCommand";
9
10
  export * from "./CreateAssetFilterCommand";
10
11
  export * from "./CreateAssetRevisionCommand";
@@ -31,6 +32,7 @@ export * from "./CreateSubscriptionGrantCommand";
31
32
  export * from "./CreateSubscriptionRequestCommand";
32
33
  export * from "./CreateSubscriptionTargetCommand";
33
34
  export * from "./CreateUserProfileCommand";
35
+ export * from "./DeleteAccountPoolCommand";
34
36
  export * from "./DeleteAssetCommand";
35
37
  export * from "./DeleteAssetFilterCommand";
36
38
  export * from "./DeleteAssetTypeCommand";
@@ -56,6 +58,7 @@ export * from "./DeleteSubscriptionRequestCommand";
56
58
  export * from "./DeleteSubscriptionTargetCommand";
57
59
  export * from "./DeleteTimeSeriesDataPointsCommand";
58
60
  export * from "./DisassociateEnvironmentRoleCommand";
61
+ export * from "./GetAccountPoolCommand";
59
62
  export * from "./GetAssetCommand";
60
63
  export * from "./GetAssetFilterCommand";
61
64
  export * from "./GetAssetTypeCommand";
@@ -90,6 +93,8 @@ export * from "./GetSubscriptionRequestDetailsCommand";
90
93
  export * from "./GetSubscriptionTargetCommand";
91
94
  export * from "./GetTimeSeriesDataPointCommand";
92
95
  export * from "./GetUserProfileCommand";
96
+ export * from "./ListAccountPoolsCommand";
97
+ export * from "./ListAccountsInAccountPoolCommand";
93
98
  export * from "./ListAssetFiltersCommand";
94
99
  export * from "./ListAssetRevisionsCommand";
95
100
  export * from "./ListConnectionsCommand";
@@ -138,6 +143,7 @@ export * from "./StartDataSourceRunCommand";
138
143
  export * from "./StartMetadataGenerationRunCommand";
139
144
  export * from "./TagResourceCommand";
140
145
  export * from "./UntagResourceCommand";
146
+ export * from "./UpdateAccountPoolCommand";
141
147
  export * from "./UpdateAssetFilterCommand";
142
148
  export * from "./UpdateConnectionCommand";
143
149
  export * from "./UpdateDataSourceCommand";