@aws-sdk/client-detective 3.131.0 → 3.142.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/CHANGELOG.md +34 -0
- package/README.md +7 -5
- package/dist-cjs/Detective.js +60 -0
- package/dist-cjs/commands/AcceptInvitationCommand.js +1 -1
- package/dist-cjs/commands/BatchGetGraphMemberDatasourcesCommand.js +36 -0
- package/dist-cjs/commands/BatchGetMembershipDatasourcesCommand.js +36 -0
- package/dist-cjs/commands/CreateGraphCommand.js +2 -2
- package/dist-cjs/commands/CreateMembersCommand.js +2 -2
- package/dist-cjs/commands/DeleteGraphCommand.js +1 -1
- package/dist-cjs/commands/DeleteMembersCommand.js +2 -2
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DisassociateMembershipCommand.js +1 -1
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +1 -1
- package/dist-cjs/commands/GetMembersCommand.js +2 -2
- package/dist-cjs/commands/ListDatasourcePackagesCommand.js +36 -0
- package/dist-cjs/commands/ListGraphsCommand.js +2 -2
- package/dist-cjs/commands/ListInvitationsCommand.js +2 -2
- package/dist-cjs/commands/ListMembersCommand.js +2 -2
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/RejectInvitationCommand.js +1 -1
- package/dist-cjs/commands/StartMonitoringMemberCommand.js +1 -1
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateDatasourcePackagesCommand.js +36 -0
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +1 -1
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +214 -217
- package/dist-cjs/pagination/ListDatasourcePackagesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +618 -306
- package/dist-es/Detective.js +60 -0
- package/dist-es/commands/AcceptInvitationCommand.js +2 -2
- package/dist-es/commands/BatchGetGraphMemberDatasourcesCommand.js +39 -0
- package/dist-es/commands/BatchGetMembershipDatasourcesCommand.js +39 -0
- package/dist-es/commands/CreateGraphCommand.js +3 -3
- package/dist-es/commands/CreateMembersCommand.js +3 -3
- package/dist-es/commands/DeleteGraphCommand.js +2 -2
- package/dist-es/commands/DeleteMembersCommand.js +3 -3
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -3
- package/dist-es/commands/DisassociateMembershipCommand.js +2 -2
- package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +2 -2
- package/dist-es/commands/GetMembersCommand.js +3 -3
- package/dist-es/commands/ListDatasourcePackagesCommand.js +39 -0
- package/dist-es/commands/ListGraphsCommand.js +3 -3
- package/dist-es/commands/ListInvitationsCommand.js +3 -3
- package/dist-es/commands/ListMembersCommand.js +3 -3
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/RejectInvitationCommand.js +2 -2
- package/dist-es/commands/StartMonitoringMemberCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateDatasourcePackagesCommand.js +39 -0
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +2 -2
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +68 -144
- package/dist-es/pagination/ListDatasourcePackagesPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +779 -307
- package/dist-types/Detective.d.ts +47 -12
- package/dist-types/DetectiveClient.d.ts +12 -6
- package/dist-types/commands/BatchGetGraphMemberDatasourcesCommand.d.ts +35 -0
- package/dist-types/commands/BatchGetMembershipDatasourcesCommand.d.ts +35 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +6 -5
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +7 -3
- package/dist-types/commands/ListDatasourcePackagesCommand.d.ts +35 -0
- package/dist-types/commands/UpdateDatasourcePackagesCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +376 -219
- package/dist-types/pagination/ListDatasourcePackagesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/Detective.d.ts +20 -0
- package/dist-types/ts3.4/DetectiveClient.d.ts +6 -2
- package/dist-types/ts3.4/commands/BatchGetGraphMemberDatasourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetMembershipDatasourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDatasourcePackagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDatasourcePackagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +195 -142
- package/dist-types/ts3.4/pagination/ListDatasourcePackagesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +6 -6
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
|
|
3
|
+
import { BatchGetGraphMemberDatasourcesCommandInput, BatchGetGraphMemberDatasourcesCommandOutput } from "./commands/BatchGetGraphMemberDatasourcesCommand";
|
|
4
|
+
import { BatchGetMembershipDatasourcesCommandInput, BatchGetMembershipDatasourcesCommandOutput } from "./commands/BatchGetMembershipDatasourcesCommand";
|
|
3
5
|
import { CreateGraphCommandInput, CreateGraphCommandOutput } from "./commands/CreateGraphCommand";
|
|
4
6
|
import { CreateMembersCommandInput, CreateMembersCommandOutput } from "./commands/CreateMembersCommand";
|
|
5
7
|
import { DeleteGraphCommandInput, DeleteGraphCommandOutput } from "./commands/DeleteGraphCommand";
|
|
@@ -9,6 +11,7 @@ import { DisableOrganizationAdminAccountCommandInput, DisableOrganizationAdminAc
|
|
|
9
11
|
import { DisassociateMembershipCommandInput, DisassociateMembershipCommandOutput } from "./commands/DisassociateMembershipCommand";
|
|
10
12
|
import { EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput } from "./commands/EnableOrganizationAdminAccountCommand";
|
|
11
13
|
import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
14
|
+
import { ListDatasourcePackagesCommandInput, ListDatasourcePackagesCommandOutput } from "./commands/ListDatasourcePackagesCommand";
|
|
12
15
|
import { ListGraphsCommandInput, ListGraphsCommandOutput } from "./commands/ListGraphsCommand";
|
|
13
16
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
14
17
|
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
@@ -18,6 +21,7 @@ import { RejectInvitationCommandInput, RejectInvitationCommandOutput } from "./c
|
|
|
18
21
|
import { StartMonitoringMemberCommandInput, StartMonitoringMemberCommandOutput } from "./commands/StartMonitoringMemberCommand";
|
|
19
22
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
20
23
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
24
|
+
import { UpdateDatasourcePackagesCommandInput, UpdateDatasourcePackagesCommandOutput } from "./commands/UpdateDatasourcePackagesCommand";
|
|
21
25
|
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
22
26
|
import { DetectiveClient } from "./DetectiveClient";
|
|
23
27
|
/**
|
|
@@ -34,10 +38,12 @@ import { DetectiveClient } from "./DetectiveClient";
|
|
|
34
38
|
* <p>Detective is also integrated with Organizations. The organization
|
|
35
39
|
* management account designates the Detective administrator account for the
|
|
36
40
|
* organization. That account becomes the administrator account for the organization behavior
|
|
37
|
-
* graph. The Detective administrator account
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
+
* graph. The Detective administrator account is also the delegated administrator
|
|
42
|
+
* account for Detective in Organizations.</p>
|
|
43
|
+
* <p>The Detective administrator account can enable any organization account as a
|
|
44
|
+
* member account in the organization behavior graph. The organization accounts do not receive
|
|
45
|
+
* invitations. The Detective administrator account can also invite other accounts to
|
|
46
|
+
* the organization behavior graph.</p>
|
|
41
47
|
* <p>Every behavior graph is specific to a Region. You can only use the API to manage
|
|
42
48
|
* behavior graphs that belong to the Region that is associated with the currently selected
|
|
43
49
|
* endpoint.</p>
|
|
@@ -106,6 +112,18 @@ export declare class Detective extends DetectiveClient {
|
|
|
106
112
|
acceptInvitation(args: AcceptInvitationCommandInput, options?: __HttpHandlerOptions): Promise<AcceptInvitationCommandOutput>;
|
|
107
113
|
acceptInvitation(args: AcceptInvitationCommandInput, cb: (err: any, data?: AcceptInvitationCommandOutput) => void): void;
|
|
108
114
|
acceptInvitation(args: AcceptInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptInvitationCommandOutput) => void): void;
|
|
115
|
+
/**
|
|
116
|
+
* <p>Gets data source package information for the behavior graph.</p>
|
|
117
|
+
*/
|
|
118
|
+
batchGetGraphMemberDatasources(args: BatchGetGraphMemberDatasourcesCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetGraphMemberDatasourcesCommandOutput>;
|
|
119
|
+
batchGetGraphMemberDatasources(args: BatchGetGraphMemberDatasourcesCommandInput, cb: (err: any, data?: BatchGetGraphMemberDatasourcesCommandOutput) => void): void;
|
|
120
|
+
batchGetGraphMemberDatasources(args: BatchGetGraphMemberDatasourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetGraphMemberDatasourcesCommandOutput) => void): void;
|
|
121
|
+
/**
|
|
122
|
+
* <p>Gets information on the data source package history for an account.</p>
|
|
123
|
+
*/
|
|
124
|
+
batchGetMembershipDatasources(args: BatchGetMembershipDatasourcesCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetMembershipDatasourcesCommandOutput>;
|
|
125
|
+
batchGetMembershipDatasources(args: BatchGetMembershipDatasourcesCommandInput, cb: (err: any, data?: BatchGetMembershipDatasourcesCommandOutput) => void): void;
|
|
126
|
+
batchGetMembershipDatasources(args: BatchGetMembershipDatasourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetMembershipDatasourcesCommandOutput) => void): void;
|
|
109
127
|
/**
|
|
110
128
|
* <p>Creates a new behavior graph for the calling account, and sets that account as the
|
|
111
129
|
* administrator account. This operation is called by the account that is enabling Detective.</p>
|
|
@@ -202,11 +220,12 @@ export declare class Detective extends DetectiveClient {
|
|
|
202
220
|
describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, cb: (err: any, data?: DescribeOrganizationConfigurationCommandOutput) => void): void;
|
|
203
221
|
describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeOrganizationConfigurationCommandOutput) => void): void;
|
|
204
222
|
/**
|
|
205
|
-
* <p>Removes the Detective administrator account
|
|
206
|
-
*
|
|
207
|
-
* <p>Can only be called by the organization management account
|
|
208
|
-
*
|
|
209
|
-
* administrator account in
|
|
223
|
+
* <p>Removes the Detective administrator account in the current Region. Deletes the
|
|
224
|
+
* organization behavior graph.</p>
|
|
225
|
+
* <p>Can only be called by the organization management account.</p>
|
|
226
|
+
* <p>Removing the Detective administrator account does not affect the delegated
|
|
227
|
+
* administrator account for Detective in Organizations.</p>
|
|
228
|
+
* <p>To remove the delegated administrator account in Organizations, use the Organizations API. Removing the delegated administrator account also removes the Detective administrator account in all Regions, except for Regions where the Detective administrator account is the organization management account.</p>
|
|
210
229
|
*/
|
|
211
230
|
disableOrganizationAdminAccount(args: DisableOrganizationAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<DisableOrganizationAdminAccountCommandOutput>;
|
|
212
231
|
disableOrganizationAdminAccount(args: DisableOrganizationAdminAccountCommandInput, cb: (err: any, data?: DisableOrganizationAdminAccountCommandOutput) => void): void;
|
|
@@ -229,9 +248,13 @@ export declare class Detective extends DetectiveClient {
|
|
|
229
248
|
* <p>If the account does not have Detective enabled, then enables Detective
|
|
230
249
|
* for that account and creates a new behavior graph.</p>
|
|
231
250
|
* <p>Can only be called by the organization management account.</p>
|
|
232
|
-
* <p>
|
|
233
|
-
*
|
|
234
|
-
*
|
|
251
|
+
* <p>If the organization has a delegated administrator account in Organizations, then the
|
|
252
|
+
* Detective administrator account must be either the delegated administrator
|
|
253
|
+
* account or the organization management account.</p>
|
|
254
|
+
* <p>If the organization does not have a delegated administrator account in Organizations, then you can choose any account in the organization. If you choose an account other
|
|
255
|
+
* than the organization management account, Detective calls Organizations to
|
|
256
|
+
* make that account the delegated administrator account for Detective. The
|
|
257
|
+
* organization management account cannot be the delegated administrator account.</p>
|
|
235
258
|
*/
|
|
236
259
|
enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<EnableOrganizationAdminAccountCommandOutput>;
|
|
237
260
|
enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, cb: (err: any, data?: EnableOrganizationAdminAccountCommandOutput) => void): void;
|
|
@@ -243,6 +266,12 @@ export declare class Detective extends DetectiveClient {
|
|
|
243
266
|
getMembers(args: GetMembersCommandInput, options?: __HttpHandlerOptions): Promise<GetMembersCommandOutput>;
|
|
244
267
|
getMembers(args: GetMembersCommandInput, cb: (err: any, data?: GetMembersCommandOutput) => void): void;
|
|
245
268
|
getMembers(args: GetMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMembersCommandOutput) => void): void;
|
|
269
|
+
/**
|
|
270
|
+
* <p>Lists data source packages in the behavior graph.</p>
|
|
271
|
+
*/
|
|
272
|
+
listDatasourcePackages(args: ListDatasourcePackagesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatasourcePackagesCommandOutput>;
|
|
273
|
+
listDatasourcePackages(args: ListDatasourcePackagesCommandInput, cb: (err: any, data?: ListDatasourcePackagesCommandOutput) => void): void;
|
|
274
|
+
listDatasourcePackages(args: ListDatasourcePackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatasourcePackagesCommandOutput) => void): void;
|
|
246
275
|
/**
|
|
247
276
|
* <p>Returns the list of behavior graphs that the calling account is an administrator account
|
|
248
277
|
* of. This operation can only be called by an administrator account.</p>
|
|
@@ -329,6 +358,12 @@ export declare class Detective extends DetectiveClient {
|
|
|
329
358
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
330
359
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
331
360
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
361
|
+
/**
|
|
362
|
+
* <p>Starts a data source packages for the behavior graph.</p>
|
|
363
|
+
*/
|
|
364
|
+
updateDatasourcePackages(args: UpdateDatasourcePackagesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatasourcePackagesCommandOutput>;
|
|
365
|
+
updateDatasourcePackages(args: UpdateDatasourcePackagesCommandInput, cb: (err: any, data?: UpdateDatasourcePackagesCommandOutput) => void): void;
|
|
366
|
+
updateDatasourcePackages(args: UpdateDatasourcePackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatasourcePackagesCommandOutput) => void): void;
|
|
332
367
|
/**
|
|
333
368
|
* <p>Updates the configuration for the Organizations integration in the current Region.
|
|
334
369
|
* Can only be called by the Detective administrator account for the
|
|
@@ -7,6 +7,8 @@ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
|
|
10
|
+
import { BatchGetGraphMemberDatasourcesCommandInput, BatchGetGraphMemberDatasourcesCommandOutput } from "./commands/BatchGetGraphMemberDatasourcesCommand";
|
|
11
|
+
import { BatchGetMembershipDatasourcesCommandInput, BatchGetMembershipDatasourcesCommandOutput } from "./commands/BatchGetMembershipDatasourcesCommand";
|
|
10
12
|
import { CreateGraphCommandInput, CreateGraphCommandOutput } from "./commands/CreateGraphCommand";
|
|
11
13
|
import { CreateMembersCommandInput, CreateMembersCommandOutput } from "./commands/CreateMembersCommand";
|
|
12
14
|
import { DeleteGraphCommandInput, DeleteGraphCommandOutput } from "./commands/DeleteGraphCommand";
|
|
@@ -16,6 +18,7 @@ import { DisableOrganizationAdminAccountCommandInput, DisableOrganizationAdminAc
|
|
|
16
18
|
import { DisassociateMembershipCommandInput, DisassociateMembershipCommandOutput } from "./commands/DisassociateMembershipCommand";
|
|
17
19
|
import { EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput } from "./commands/EnableOrganizationAdminAccountCommand";
|
|
18
20
|
import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
21
|
+
import { ListDatasourcePackagesCommandInput, ListDatasourcePackagesCommandOutput } from "./commands/ListDatasourcePackagesCommand";
|
|
19
22
|
import { ListGraphsCommandInput, ListGraphsCommandOutput } from "./commands/ListGraphsCommand";
|
|
20
23
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
21
24
|
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
@@ -25,9 +28,10 @@ import { RejectInvitationCommandInput, RejectInvitationCommandOutput } from "./c
|
|
|
25
28
|
import { StartMonitoringMemberCommandInput, StartMonitoringMemberCommandOutput } from "./commands/StartMonitoringMemberCommand";
|
|
26
29
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
27
30
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
31
|
+
import { UpdateDatasourcePackagesCommandInput, UpdateDatasourcePackagesCommandOutput } from "./commands/UpdateDatasourcePackagesCommand";
|
|
28
32
|
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
29
|
-
export declare type ServiceInputTypes = AcceptInvitationCommandInput | CreateGraphCommandInput | CreateMembersCommandInput | DeleteGraphCommandInput | DeleteMembersCommandInput | DescribeOrganizationConfigurationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateMembershipCommandInput | EnableOrganizationAdminAccountCommandInput | GetMembersCommandInput | ListGraphsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListTagsForResourceCommandInput | RejectInvitationCommandInput | StartMonitoringMemberCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOrganizationConfigurationCommandInput;
|
|
30
|
-
export declare type ServiceOutputTypes = AcceptInvitationCommandOutput | CreateGraphCommandOutput | CreateMembersCommandOutput | DeleteGraphCommandOutput | DeleteMembersCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateMembershipCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetMembersCommandOutput | ListGraphsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListTagsForResourceCommandOutput | RejectInvitationCommandOutput | StartMonitoringMemberCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOrganizationConfigurationCommandOutput;
|
|
33
|
+
export declare type ServiceInputTypes = AcceptInvitationCommandInput | BatchGetGraphMemberDatasourcesCommandInput | BatchGetMembershipDatasourcesCommandInput | CreateGraphCommandInput | CreateMembersCommandInput | DeleteGraphCommandInput | DeleteMembersCommandInput | DescribeOrganizationConfigurationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateMembershipCommandInput | EnableOrganizationAdminAccountCommandInput | GetMembersCommandInput | ListDatasourcePackagesCommandInput | ListGraphsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListTagsForResourceCommandInput | RejectInvitationCommandInput | StartMonitoringMemberCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatasourcePackagesCommandInput | UpdateOrganizationConfigurationCommandInput;
|
|
34
|
+
export declare type ServiceOutputTypes = AcceptInvitationCommandOutput | BatchGetGraphMemberDatasourcesCommandOutput | BatchGetMembershipDatasourcesCommandOutput | CreateGraphCommandOutput | CreateMembersCommandOutput | DeleteGraphCommandOutput | DeleteMembersCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateMembershipCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetMembersCommandOutput | ListDatasourcePackagesCommandOutput | ListGraphsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListTagsForResourceCommandOutput | RejectInvitationCommandOutput | StartMonitoringMemberCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatasourcePackagesCommandOutput | UpdateOrganizationConfigurationCommandOutput;
|
|
31
35
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
32
36
|
/**
|
|
33
37
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -159,10 +163,12 @@ export interface DetectiveClientResolvedConfig extends DetectiveClientResolvedCo
|
|
|
159
163
|
* <p>Detective is also integrated with Organizations. The organization
|
|
160
164
|
* management account designates the Detective administrator account for the
|
|
161
165
|
* organization. That account becomes the administrator account for the organization behavior
|
|
162
|
-
* graph. The Detective administrator account
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
+
* graph. The Detective administrator account is also the delegated administrator
|
|
167
|
+
* account for Detective in Organizations.</p>
|
|
168
|
+
* <p>The Detective administrator account can enable any organization account as a
|
|
169
|
+
* member account in the organization behavior graph. The organization accounts do not receive
|
|
170
|
+
* invitations. The Detective administrator account can also invite other accounts to
|
|
171
|
+
* the organization behavior graph.</p>
|
|
166
172
|
* <p>Every behavior graph is specific to a Region. You can only use the API to manage
|
|
167
173
|
* behavior graphs that belong to the Region that is associated with the currently selected
|
|
168
174
|
* endpoint.</p>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DetectiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DetectiveClient";
|
|
4
|
+
import { BatchGetGraphMemberDatasourcesRequest, BatchGetGraphMemberDatasourcesResponse } from "../models/models_0";
|
|
5
|
+
export interface BatchGetGraphMemberDatasourcesCommandInput extends BatchGetGraphMemberDatasourcesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface BatchGetGraphMemberDatasourcesCommandOutput extends BatchGetGraphMemberDatasourcesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets data source package information for the behavior graph.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { DetectiveClient, BatchGetGraphMemberDatasourcesCommand } from "@aws-sdk/client-detective"; // ES Modules import
|
|
15
|
+
* // const { DetectiveClient, BatchGetGraphMemberDatasourcesCommand } = require("@aws-sdk/client-detective"); // CommonJS import
|
|
16
|
+
* const client = new DetectiveClient(config);
|
|
17
|
+
* const command = new BatchGetGraphMemberDatasourcesCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link BatchGetGraphMemberDatasourcesCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link BatchGetGraphMemberDatasourcesCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link DetectiveClientResolvedConfig | config} for DetectiveClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class BatchGetGraphMemberDatasourcesCommand extends $Command<BatchGetGraphMemberDatasourcesCommandInput, BatchGetGraphMemberDatasourcesCommandOutput, DetectiveClientResolvedConfig> {
|
|
27
|
+
readonly input: BatchGetGraphMemberDatasourcesCommandInput;
|
|
28
|
+
constructor(input: BatchGetGraphMemberDatasourcesCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetGraphMemberDatasourcesCommandInput, BatchGetGraphMemberDatasourcesCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DetectiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DetectiveClient";
|
|
4
|
+
import { BatchGetMembershipDatasourcesRequest, BatchGetMembershipDatasourcesResponse } from "../models/models_0";
|
|
5
|
+
export interface BatchGetMembershipDatasourcesCommandInput extends BatchGetMembershipDatasourcesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface BatchGetMembershipDatasourcesCommandOutput extends BatchGetMembershipDatasourcesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets information on the data source package history for an account.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { DetectiveClient, BatchGetMembershipDatasourcesCommand } from "@aws-sdk/client-detective"; // ES Modules import
|
|
15
|
+
* // const { DetectiveClient, BatchGetMembershipDatasourcesCommand } = require("@aws-sdk/client-detective"); // CommonJS import
|
|
16
|
+
* const client = new DetectiveClient(config);
|
|
17
|
+
* const command = new BatchGetMembershipDatasourcesCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link BatchGetMembershipDatasourcesCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link BatchGetMembershipDatasourcesCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link DetectiveClientResolvedConfig | config} for DetectiveClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class BatchGetMembershipDatasourcesCommand extends $Command<BatchGetMembershipDatasourcesCommandInput, BatchGetMembershipDatasourcesCommandOutput, DetectiveClientResolvedConfig> {
|
|
27
|
+
readonly input: BatchGetMembershipDatasourcesCommandInput;
|
|
28
|
+
constructor(input: BatchGetMembershipDatasourcesCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetMembershipDatasourcesCommandInput, BatchGetMembershipDatasourcesCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -6,11 +6,12 @@ export interface DisableOrganizationAdminAccountCommandInput {
|
|
|
6
6
|
export interface DisableOrganizationAdminAccountCommandOutput extends __MetadataBearer {
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
|
-
* <p>Removes the Detective administrator account
|
|
10
|
-
*
|
|
11
|
-
* <p>Can only be called by the organization management account
|
|
12
|
-
*
|
|
13
|
-
* administrator account in
|
|
9
|
+
* <p>Removes the Detective administrator account in the current Region. Deletes the
|
|
10
|
+
* organization behavior graph.</p>
|
|
11
|
+
* <p>Can only be called by the organization management account.</p>
|
|
12
|
+
* <p>Removing the Detective administrator account does not affect the delegated
|
|
13
|
+
* administrator account for Detective in Organizations.</p>
|
|
14
|
+
* <p>To remove the delegated administrator account in Organizations, use the Organizations API. Removing the delegated administrator account also removes the Detective administrator account in all Regions, except for Regions where the Detective administrator account is the organization management account.</p>
|
|
14
15
|
* @example
|
|
15
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
17
|
* ```javascript
|
|
@@ -12,9 +12,13 @@ export interface EnableOrganizationAdminAccountCommandOutput extends __MetadataB
|
|
|
12
12
|
* <p>If the account does not have Detective enabled, then enables Detective
|
|
13
13
|
* for that account and creates a new behavior graph.</p>
|
|
14
14
|
* <p>Can only be called by the organization management account.</p>
|
|
15
|
-
* <p>
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* <p>If the organization has a delegated administrator account in Organizations, then the
|
|
16
|
+
* Detective administrator account must be either the delegated administrator
|
|
17
|
+
* account or the organization management account.</p>
|
|
18
|
+
* <p>If the organization does not have a delegated administrator account in Organizations, then you can choose any account in the organization. If you choose an account other
|
|
19
|
+
* than the organization management account, Detective calls Organizations to
|
|
20
|
+
* make that account the delegated administrator account for Detective. The
|
|
21
|
+
* organization management account cannot be the delegated administrator account.</p>
|
|
18
22
|
* @example
|
|
19
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
24
|
* ```javascript
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DetectiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DetectiveClient";
|
|
4
|
+
import { ListDatasourcePackagesRequest, ListDatasourcePackagesResponse } from "../models/models_0";
|
|
5
|
+
export interface ListDatasourcePackagesCommandInput extends ListDatasourcePackagesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListDatasourcePackagesCommandOutput extends ListDatasourcePackagesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists data source packages in the behavior graph.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { DetectiveClient, ListDatasourcePackagesCommand } from "@aws-sdk/client-detective"; // ES Modules import
|
|
15
|
+
* // const { DetectiveClient, ListDatasourcePackagesCommand } = require("@aws-sdk/client-detective"); // CommonJS import
|
|
16
|
+
* const client = new DetectiveClient(config);
|
|
17
|
+
* const command = new ListDatasourcePackagesCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListDatasourcePackagesCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListDatasourcePackagesCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link DetectiveClientResolvedConfig | config} for DetectiveClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListDatasourcePackagesCommand extends $Command<ListDatasourcePackagesCommandInput, ListDatasourcePackagesCommandOutput, DetectiveClientResolvedConfig> {
|
|
27
|
+
readonly input: ListDatasourcePackagesCommandInput;
|
|
28
|
+
constructor(input: ListDatasourcePackagesCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDatasourcePackagesCommandInput, ListDatasourcePackagesCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DetectiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DetectiveClient";
|
|
4
|
+
import { UpdateDatasourcePackagesRequest } from "../models/models_0";
|
|
5
|
+
export interface UpdateDatasourcePackagesCommandInput extends UpdateDatasourcePackagesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateDatasourcePackagesCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Starts a data source packages for the behavior graph.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { DetectiveClient, UpdateDatasourcePackagesCommand } from "@aws-sdk/client-detective"; // ES Modules import
|
|
15
|
+
* // const { DetectiveClient, UpdateDatasourcePackagesCommand } = require("@aws-sdk/client-detective"); // CommonJS import
|
|
16
|
+
* const client = new DetectiveClient(config);
|
|
17
|
+
* const command = new UpdateDatasourcePackagesCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateDatasourcePackagesCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateDatasourcePackagesCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link DetectiveClientResolvedConfig | config} for DetectiveClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateDatasourcePackagesCommand extends $Command<UpdateDatasourcePackagesCommandInput, UpdateDatasourcePackagesCommandOutput, DetectiveClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateDatasourcePackagesCommandInput;
|
|
28
|
+
constructor(input: UpdateDatasourcePackagesCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDatasourcePackagesCommandInput, UpdateDatasourcePackagesCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from "./AcceptInvitationCommand";
|
|
2
|
+
export * from "./BatchGetGraphMemberDatasourcesCommand";
|
|
3
|
+
export * from "./BatchGetMembershipDatasourcesCommand";
|
|
2
4
|
export * from "./CreateGraphCommand";
|
|
3
5
|
export * from "./CreateMembersCommand";
|
|
4
6
|
export * from "./DeleteGraphCommand";
|
|
@@ -8,6 +10,7 @@ export * from "./DisableOrganizationAdminAccountCommand";
|
|
|
8
10
|
export * from "./DisassociateMembershipCommand";
|
|
9
11
|
export * from "./EnableOrganizationAdminAccountCommand";
|
|
10
12
|
export * from "./GetMembersCommand";
|
|
13
|
+
export * from "./ListDatasourcePackagesCommand";
|
|
11
14
|
export * from "./ListGraphsCommand";
|
|
12
15
|
export * from "./ListInvitationsCommand";
|
|
13
16
|
export * from "./ListMembersCommand";
|
|
@@ -17,4 +20,5 @@ export * from "./RejectInvitationCommand";
|
|
|
17
20
|
export * from "./StartMonitoringMemberCommand";
|
|
18
21
|
export * from "./TagResourceCommand";
|
|
19
22
|
export * from "./UntagResourceCommand";
|
|
23
|
+
export * from "./UpdateDatasourcePackagesCommand";
|
|
20
24
|
export * from "./UpdateOrganizationConfigurationCommand";
|