@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.
- package/README.md +48 -0
- package/dist-cjs/index.js +496 -77
- package/dist-es/DataZone.js +12 -0
- package/dist-es/commands/CreateAccountPoolCommand.js +23 -0
- package/dist-es/commands/CreateRuleCommand.js +1 -1
- package/dist-es/commands/DeleteAccountPoolCommand.js +22 -0
- package/dist-es/commands/GetAccountPoolCommand.js +23 -0
- package/dist-es/commands/ListAccountPoolsCommand.js +23 -0
- package/dist-es/commands/ListAccountsInAccountPoolCommand.js +23 -0
- package/dist-es/commands/PostLineageEventCommand.js +1 -1
- package/dist-es/commands/RejectSubscriptionRequestCommand.js +1 -1
- package/dist-es/commands/RevokeSubscriptionCommand.js +1 -1
- package/dist-es/commands/UpdateAccountPoolCommand.js +23 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +41 -36
- package/dist-es/models/models_1.js +59 -29
- package/dist-es/models/models_2.js +40 -1
- package/dist-es/pagination/ListAccountPoolsPaginator.js +4 -0
- package/dist-es/pagination/ListAccountsInAccountPoolPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +197 -0
- package/dist-types/DataZone.d.ts +42 -0
- package/dist-types/DataZoneClient.d.ts +8 -2
- package/dist-types/commands/CreateAccountPoolCommand.d.ts +138 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +10 -0
- package/dist-types/commands/CreateProjectProfileCommand.d.ts +6 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAccountPoolCommand.d.ts +89 -0
- package/dist-types/commands/GetAccountPoolCommand.d.ts +115 -0
- package/dist-types/commands/GetProjectCommand.d.ts +5 -0
- package/dist-types/commands/GetProjectProfileCommand.d.ts +3 -0
- package/dist-types/commands/ListAccountPoolsCommand.d.ts +103 -0
- package/dist-types/commands/ListAccountsInAccountPoolCommand.d.ts +102 -0
- package/dist-types/commands/PostLineageEventCommand.d.ts +2 -1
- package/dist-types/commands/PostTimeSeriesDataPointsCommand.d.ts +1 -1
- package/dist-types/commands/RejectPredictionsCommand.d.ts +1 -1
- package/dist-types/commands/RejectSubscriptionRequestCommand.d.ts +1 -1
- package/dist-types/commands/RemoveEntityOwnerCommand.d.ts +1 -1
- package/dist-types/commands/RemovePolicyGrantCommand.d.ts +1 -1
- package/dist-types/commands/RevokeSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccountPoolCommand.d.ts +139 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +10 -0
- package/dist-types/commands/UpdateProjectProfileCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +289 -235
- package/dist-types/models/models_1.d.ts +511 -515
- package/dist-types/models/models_2.d.ts +582 -2
- package/dist-types/pagination/ListAccountPoolsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAccountsInAccountPoolPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/DataZone.d.ts +102 -0
- package/dist-types/ts3.4/DataZoneClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateAccountPoolCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAccountPoolCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetAccountPoolCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListAccountPoolsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAccountsInAccountPoolCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PostLineageEventCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/PostTimeSeriesDataPointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectPredictionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectSubscriptionRequestCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemoveEntityOwnerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemovePolicyGrantCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RevokeSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAccountPoolCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +92 -84
- package/dist-types/ts3.4/models/models_1.d.ts +155 -123
- package/dist-types/ts3.4/models/models_2.d.ts +156 -3
- package/dist-types/ts3.4/pagination/ListAccountPoolsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAccountsInAccountPoolPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +1 -1
|
@@ -67,6 +67,9 @@ declare const CreateProjectProfileCommand_base: {
|
|
|
67
67
|
* awsAccountId: "STRING_VALUE",
|
|
68
68
|
* awsAccountIdPath: "STRING_VALUE",
|
|
69
69
|
* },
|
|
70
|
+
* accountPools: [ // AccountPoolList
|
|
71
|
+
* "STRING_VALUE",
|
|
72
|
+
* ],
|
|
70
73
|
* awsRegion: { // Region Union: only one key present
|
|
71
74
|
* regionName: "STRING_VALUE",
|
|
72
75
|
* regionNamePath: "STRING_VALUE",
|
|
@@ -112,6 +115,9 @@ declare const CreateProjectProfileCommand_base: {
|
|
|
112
115
|
* // awsAccountId: "STRING_VALUE",
|
|
113
116
|
* // awsAccountIdPath: "STRING_VALUE",
|
|
114
117
|
* // },
|
|
118
|
+
* // accountPools: [ // AccountPoolList
|
|
119
|
+
* // "STRING_VALUE",
|
|
120
|
+
* // ],
|
|
115
121
|
* // awsRegion: { // Region Union: only one key present
|
|
116
122
|
* // regionName: "STRING_VALUE",
|
|
117
123
|
* // regionNamePath: "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 { CreateRuleInput, CreateRuleOutput } from "../models/
|
|
4
|
+
import { CreateRuleInput, CreateRuleOutput } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DeleteAccountPoolInput, DeleteAccountPoolOutput } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteAccountPoolCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAccountPoolCommandInput extends DeleteAccountPoolInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAccountPoolCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAccountPoolCommandOutput extends DeleteAccountPoolOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAccountPoolCommand_base: {
|
|
25
|
+
new (input: DeleteAccountPoolCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAccountPoolCommandInput, DeleteAccountPoolCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAccountPoolCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAccountPoolCommandInput, DeleteAccountPoolCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an 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, DeleteAccountPoolCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
35
|
+
* // const { DataZoneClient, DeleteAccountPoolCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
36
|
+
* const client = new DataZoneClient(config);
|
|
37
|
+
* const input = { // DeleteAccountPoolInput
|
|
38
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* identifier: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteAccountPoolCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteAccountPoolCommandInput - {@link DeleteAccountPoolCommandInput}
|
|
48
|
+
* @returns {@link DeleteAccountPoolCommandOutput}
|
|
49
|
+
* @see {@link DeleteAccountPoolCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteAccountPoolCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServerException} (server fault)
|
|
57
|
+
* <p>The request has failed because of an unknown error, exception or failure.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* <p>The specified resource cannot be found.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
63
|
+
* <p>The request was denied due to request throttling.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
69
|
+
* <p>You do not have permission to perform this action.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link DataZoneServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from DataZone service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class DeleteAccountPoolCommand extends DeleteAccountPoolCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: DeleteAccountPoolInput;
|
|
82
|
+
output: {};
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: DeleteAccountPoolCommandInput;
|
|
86
|
+
output: DeleteAccountPoolCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
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 { GetAccountPoolInput, GetAccountPoolOutput } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAccountPoolCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAccountPoolCommandInput extends GetAccountPoolInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAccountPoolCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAccountPoolCommandOutput extends GetAccountPoolOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAccountPoolCommand_base: {
|
|
25
|
+
new (input: GetAccountPoolCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountPoolCommandInput, GetAccountPoolCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAccountPoolCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountPoolCommandInput, GetAccountPoolCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets the details of 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, GetAccountPoolCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
35
|
+
* // const { DataZoneClient, GetAccountPoolCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
36
|
+
* const client = new DataZoneClient(config);
|
|
37
|
+
* const input = { // GetAccountPoolInput
|
|
38
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* identifier: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetAccountPoolCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetAccountPoolOutput
|
|
44
|
+
* // domainId: "STRING_VALUE",
|
|
45
|
+
* // name: "STRING_VALUE",
|
|
46
|
+
* // id: "STRING_VALUE",
|
|
47
|
+
* // description: "STRING_VALUE",
|
|
48
|
+
* // resolutionStrategy: "MANUAL",
|
|
49
|
+
* // accountSource: { // AccountSource Union: only one key present
|
|
50
|
+
* // accounts: [ // AccountInfoList
|
|
51
|
+
* // { // AccountInfo
|
|
52
|
+
* // awsAccountId: "STRING_VALUE", // required
|
|
53
|
+
* // supportedRegions: [ // AwsRegionList // required
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // awsAccountName: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // customAccountPoolHandler: { // CustomAccountPoolHandler
|
|
60
|
+
* // lambdaFunctionArn: "STRING_VALUE", // required
|
|
61
|
+
* // lambdaExecutionRoleArn: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // createdBy: "STRING_VALUE", // required
|
|
65
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
66
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"),
|
|
67
|
+
* // updatedBy: "STRING_VALUE",
|
|
68
|
+
* // domainUnitId: "STRING_VALUE",
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param GetAccountPoolCommandInput - {@link GetAccountPoolCommandInput}
|
|
74
|
+
* @returns {@link GetAccountPoolCommandOutput}
|
|
75
|
+
* @see {@link GetAccountPoolCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link GetAccountPoolCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <p>The request has failed because of an unknown error, exception or failure.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <p>The specified resource cannot be found.</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
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class GetAccountPoolCommand extends GetAccountPoolCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: GetAccountPoolInput;
|
|
108
|
+
output: GetAccountPoolOutput;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: GetAccountPoolCommandInput;
|
|
112
|
+
output: GetAccountPoolCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -63,6 +63,11 @@ declare const GetProjectCommand_base: {
|
|
|
63
63
|
* // userParameters: [ // EnvironmentConfigurationUserParametersList
|
|
64
64
|
* // { // EnvironmentConfigurationUserParameter
|
|
65
65
|
* // environmentId: "STRING_VALUE",
|
|
66
|
+
* // environmentResolvedAccount: { // EnvironmentResolvedAccount
|
|
67
|
+
* // awsAccountId: "STRING_VALUE", // required
|
|
68
|
+
* // regionName: "STRING_VALUE", // required
|
|
69
|
+
* // sourceAccountPoolId: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
66
71
|
* // environmentConfigurationName: "STRING_VALUE",
|
|
67
72
|
* // environmentParameters: [ // EnvironmentParametersList
|
|
68
73
|
* // { // EnvironmentParameter
|
|
@@ -74,6 +74,9 @@ declare const GetProjectProfileCommand_base: {
|
|
|
74
74
|
* // awsAccountId: "STRING_VALUE",
|
|
75
75
|
* // awsAccountIdPath: "STRING_VALUE",
|
|
76
76
|
* // },
|
|
77
|
+
* // accountPools: [ // AccountPoolList
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
77
80
|
* // awsRegion: { // Region Union: only one key present
|
|
78
81
|
* // regionName: "STRING_VALUE",
|
|
79
82
|
* // regionNamePath: "STRING_VALUE",
|
|
@@ -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 { ListAccountPoolsInput, ListAccountPoolsOutput } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAccountPoolsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAccountPoolsCommandInput extends ListAccountPoolsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAccountPoolsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAccountPoolsCommandOutput extends ListAccountPoolsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAccountPoolsCommand_base: {
|
|
25
|
+
new (input: ListAccountPoolsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountPoolsCommandInput, ListAccountPoolsCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListAccountPoolsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountPoolsCommandInput, ListAccountPoolsCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists existing account pools.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DataZoneClient, ListAccountPoolsCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
35
|
+
* // const { DataZoneClient, ListAccountPoolsCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
36
|
+
* const client = new DataZoneClient(config);
|
|
37
|
+
* const input = { // ListAccountPoolsInput
|
|
38
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* name: "STRING_VALUE",
|
|
40
|
+
* sortBy: "NAME",
|
|
41
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListAccountPoolsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListAccountPoolsOutput
|
|
48
|
+
* // items: [ // AccountPoolSummaries
|
|
49
|
+
* // { // AccountPoolSummary
|
|
50
|
+
* // domainId: "STRING_VALUE",
|
|
51
|
+
* // id: "STRING_VALUE",
|
|
52
|
+
* // name: "STRING_VALUE",
|
|
53
|
+
* // resolutionStrategy: "MANUAL",
|
|
54
|
+
* // domainUnitId: "STRING_VALUE",
|
|
55
|
+
* // createdBy: "STRING_VALUE",
|
|
56
|
+
* // updatedBy: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // nextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListAccountPoolsCommandInput - {@link ListAccountPoolsCommandInput}
|
|
65
|
+
* @returns {@link ListAccountPoolsCommandOutput}
|
|
66
|
+
* @see {@link ListAccountPoolsCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListAccountPoolsCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>The request has failed because of an unknown error, exception or failure.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was denied due to request throttling.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
83
|
+
* <p>You do not have permission to perform this action.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link DataZoneServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from DataZone service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListAccountPoolsCommand extends ListAccountPoolsCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: ListAccountPoolsInput;
|
|
96
|
+
output: ListAccountPoolsOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ListAccountPoolsCommandInput;
|
|
100
|
+
output: ListAccountPoolsCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -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 { ListAccountsInAccountPoolInput, ListAccountsInAccountPoolOutput } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAccountsInAccountPoolCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAccountsInAccountPoolCommandInput extends ListAccountsInAccountPoolInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAccountsInAccountPoolCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAccountsInAccountPoolCommandOutput extends ListAccountsInAccountPoolOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAccountsInAccountPoolCommand_base: {
|
|
25
|
+
new (input: ListAccountsInAccountPoolCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountsInAccountPoolCommandInput, ListAccountsInAccountPoolCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListAccountsInAccountPoolCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountsInAccountPoolCommandInput, ListAccountsInAccountPoolCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the accounts in the specified 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, ListAccountsInAccountPoolCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
35
|
+
* // const { DataZoneClient, ListAccountsInAccountPoolCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
36
|
+
* const client = new DataZoneClient(config);
|
|
37
|
+
* const input = { // ListAccountsInAccountPoolInput
|
|
38
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* identifier: "STRING_VALUE", // required
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListAccountsInAccountPoolCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListAccountsInAccountPoolOutput
|
|
46
|
+
* // items: [ // AccountInfoList
|
|
47
|
+
* // { // AccountInfo
|
|
48
|
+
* // awsAccountId: "STRING_VALUE", // required
|
|
49
|
+
* // supportedRegions: [ // AwsRegionList // required
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // awsAccountName: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // nextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListAccountsInAccountPoolCommandInput - {@link ListAccountsInAccountPoolCommandInput}
|
|
61
|
+
* @returns {@link ListAccountsInAccountPoolCommandOutput}
|
|
62
|
+
* @see {@link ListAccountsInAccountPoolCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListAccountsInAccountPoolCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>The request has failed because of an unknown error, exception or failure.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>The specified resource cannot be found.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The request was denied due to request throttling.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
82
|
+
* <p>You do not have permission to perform this action.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link DataZoneServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from DataZone service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class ListAccountsInAccountPoolCommand extends ListAccountsInAccountPoolCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: ListAccountsInAccountPoolInput;
|
|
95
|
+
output: ListAccountsInAccountPoolOutput;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: ListAccountsInAccountPoolCommandInput;
|
|
99
|
+
output: ListAccountsInAccountPoolCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import { PostLineageEventInput
|
|
4
|
+
import { PostLineageEventInput } from "../models/models_1";
|
|
5
|
+
import { PostLineageEventOutput } from "../models/models_2";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -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 { PostTimeSeriesDataPointsInput, PostTimeSeriesDataPointsOutput } from "../models/
|
|
4
|
+
import { PostTimeSeriesDataPointsInput, PostTimeSeriesDataPointsOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { RejectPredictionsInput, RejectPredictionsOutput } from "../models/
|
|
4
|
+
import { RejectPredictionsInput, RejectPredictionsOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { RejectSubscriptionRequestInput, RejectSubscriptionRequestOutput } from "../models/
|
|
4
|
+
import { RejectSubscriptionRequestInput, RejectSubscriptionRequestOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { RemoveEntityOwnerInput, RemoveEntityOwnerOutput } from "../models/
|
|
4
|
+
import { RemoveEntityOwnerInput, RemoveEntityOwnerOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { RemovePolicyGrantInput, RemovePolicyGrantOutput } from "../models/
|
|
4
|
+
import { RemovePolicyGrantInput, RemovePolicyGrantOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { RevokeSubscriptionInput, RevokeSubscriptionOutput } from "../models/
|
|
4
|
+
import { RevokeSubscriptionInput, RevokeSubscriptionOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|