@aws-sdk/client-detective 3.451.0 → 3.458.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 +64 -24
- package/dist-cjs/Detective.js +10 -0
- package/dist-cjs/commands/GetInvestigationCommand.js +51 -0
- package/dist-cjs/commands/ListIndicatorsCommand.js +51 -0
- package/dist-cjs/commands/ListInvestigationsCommand.js +51 -0
- package/dist-cjs/commands/StartInvestigationCommand.js +51 -0
- package/dist-cjs/commands/UpdateInvestigationStateCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +43 -1
- package/dist-cjs/protocols/Aws_restJson1.js +394 -1
- package/dist-es/Detective.js +10 -0
- package/dist-es/commands/GetInvestigationCommand.js +47 -0
- package/dist-es/commands/ListIndicatorsCommand.js +47 -0
- package/dist-es/commands/ListInvestigationsCommand.js +47 -0
- package/dist-es/commands/StartInvestigationCommand.js +47 -0
- package/dist-es/commands/UpdateInvestigationStateCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +42 -0
- package/dist-es/protocols/Aws_restJson1.js +382 -0
- package/dist-types/Detective.d.ts +35 -0
- package/dist-types/DetectiveClient.d.ts +7 -2
- package/dist-types/commands/CreateMembersCommand.d.ts +2 -2
- package/dist-types/commands/GetInvestigationCommand.d.ts +100 -0
- package/dist-types/commands/ListIndicatorsCommand.d.ts +144 -0
- package/dist-types/commands/ListInvestigationsCommand.d.ts +125 -0
- package/dist-types/commands/StartInvestigationCommand.d.ts +93 -0
- package/dist-types/commands/UpdateInvestigationStateCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +687 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Detective.d.ts +85 -0
- package/dist-types/ts3.4/DetectiveClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetInvestigationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListIndicatorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartInvestigationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateInvestigationStateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +186 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +3 -3
|
@@ -10,18 +10,23 @@ import { DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConf
|
|
|
10
10
|
import { DisableOrganizationAdminAccountCommandInput, DisableOrganizationAdminAccountCommandOutput } from "./commands/DisableOrganizationAdminAccountCommand";
|
|
11
11
|
import { DisassociateMembershipCommandInput, DisassociateMembershipCommandOutput } from "./commands/DisassociateMembershipCommand";
|
|
12
12
|
import { EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput } from "./commands/EnableOrganizationAdminAccountCommand";
|
|
13
|
+
import { GetInvestigationCommandInput, GetInvestigationCommandOutput } from "./commands/GetInvestigationCommand";
|
|
13
14
|
import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
14
15
|
import { ListDatasourcePackagesCommandInput, ListDatasourcePackagesCommandOutput } from "./commands/ListDatasourcePackagesCommand";
|
|
15
16
|
import { ListGraphsCommandInput, ListGraphsCommandOutput } from "./commands/ListGraphsCommand";
|
|
17
|
+
import { ListIndicatorsCommandInput, ListIndicatorsCommandOutput } from "./commands/ListIndicatorsCommand";
|
|
18
|
+
import { ListInvestigationsCommandInput, ListInvestigationsCommandOutput } from "./commands/ListInvestigationsCommand";
|
|
16
19
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
17
20
|
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
18
21
|
import { ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccountsCommandOutput } from "./commands/ListOrganizationAdminAccountsCommand";
|
|
19
22
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
20
23
|
import { RejectInvitationCommandInput, RejectInvitationCommandOutput } from "./commands/RejectInvitationCommand";
|
|
24
|
+
import { StartInvestigationCommandInput, StartInvestigationCommandOutput } from "./commands/StartInvestigationCommand";
|
|
21
25
|
import { StartMonitoringMemberCommandInput, StartMonitoringMemberCommandOutput } from "./commands/StartMonitoringMemberCommand";
|
|
22
26
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
23
27
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
24
28
|
import { UpdateDatasourcePackagesCommandInput, UpdateDatasourcePackagesCommandOutput } from "./commands/UpdateDatasourcePackagesCommand";
|
|
29
|
+
import { UpdateInvestigationStateCommandInput, UpdateInvestigationStateCommandOutput } from "./commands/UpdateInvestigationStateCommand";
|
|
25
30
|
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
26
31
|
import { DetectiveClient } from "./DetectiveClient";
|
|
27
32
|
export interface Detective {
|
|
@@ -91,6 +96,12 @@ export interface Detective {
|
|
|
91
96
|
enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<EnableOrganizationAdminAccountCommandOutput>;
|
|
92
97
|
enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, cb: (err: any, data?: EnableOrganizationAdminAccountCommandOutput) => void): void;
|
|
93
98
|
enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableOrganizationAdminAccountCommandOutput) => void): void;
|
|
99
|
+
/**
|
|
100
|
+
* @see {@link GetInvestigationCommand}
|
|
101
|
+
*/
|
|
102
|
+
getInvestigation(args: GetInvestigationCommandInput, options?: __HttpHandlerOptions): Promise<GetInvestigationCommandOutput>;
|
|
103
|
+
getInvestigation(args: GetInvestigationCommandInput, cb: (err: any, data?: GetInvestigationCommandOutput) => void): void;
|
|
104
|
+
getInvestigation(args: GetInvestigationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInvestigationCommandOutput) => void): void;
|
|
94
105
|
/**
|
|
95
106
|
* @see {@link GetMembersCommand}
|
|
96
107
|
*/
|
|
@@ -109,6 +120,18 @@ export interface Detective {
|
|
|
109
120
|
listGraphs(args: ListGraphsCommandInput, options?: __HttpHandlerOptions): Promise<ListGraphsCommandOutput>;
|
|
110
121
|
listGraphs(args: ListGraphsCommandInput, cb: (err: any, data?: ListGraphsCommandOutput) => void): void;
|
|
111
122
|
listGraphs(args: ListGraphsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGraphsCommandOutput) => void): void;
|
|
123
|
+
/**
|
|
124
|
+
* @see {@link ListIndicatorsCommand}
|
|
125
|
+
*/
|
|
126
|
+
listIndicators(args: ListIndicatorsCommandInput, options?: __HttpHandlerOptions): Promise<ListIndicatorsCommandOutput>;
|
|
127
|
+
listIndicators(args: ListIndicatorsCommandInput, cb: (err: any, data?: ListIndicatorsCommandOutput) => void): void;
|
|
128
|
+
listIndicators(args: ListIndicatorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIndicatorsCommandOutput) => void): void;
|
|
129
|
+
/**
|
|
130
|
+
* @see {@link ListInvestigationsCommand}
|
|
131
|
+
*/
|
|
132
|
+
listInvestigations(args: ListInvestigationsCommandInput, options?: __HttpHandlerOptions): Promise<ListInvestigationsCommandOutput>;
|
|
133
|
+
listInvestigations(args: ListInvestigationsCommandInput, cb: (err: any, data?: ListInvestigationsCommandOutput) => void): void;
|
|
134
|
+
listInvestigations(args: ListInvestigationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInvestigationsCommandOutput) => void): void;
|
|
112
135
|
/**
|
|
113
136
|
* @see {@link ListInvitationsCommand}
|
|
114
137
|
*/
|
|
@@ -139,6 +162,12 @@ export interface Detective {
|
|
|
139
162
|
rejectInvitation(args: RejectInvitationCommandInput, options?: __HttpHandlerOptions): Promise<RejectInvitationCommandOutput>;
|
|
140
163
|
rejectInvitation(args: RejectInvitationCommandInput, cb: (err: any, data?: RejectInvitationCommandOutput) => void): void;
|
|
141
164
|
rejectInvitation(args: RejectInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectInvitationCommandOutput) => void): void;
|
|
165
|
+
/**
|
|
166
|
+
* @see {@link StartInvestigationCommand}
|
|
167
|
+
*/
|
|
168
|
+
startInvestigation(args: StartInvestigationCommandInput, options?: __HttpHandlerOptions): Promise<StartInvestigationCommandOutput>;
|
|
169
|
+
startInvestigation(args: StartInvestigationCommandInput, cb: (err: any, data?: StartInvestigationCommandOutput) => void): void;
|
|
170
|
+
startInvestigation(args: StartInvestigationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartInvestigationCommandOutput) => void): void;
|
|
142
171
|
/**
|
|
143
172
|
* @see {@link StartMonitoringMemberCommand}
|
|
144
173
|
*/
|
|
@@ -163,6 +192,12 @@ export interface Detective {
|
|
|
163
192
|
updateDatasourcePackages(args: UpdateDatasourcePackagesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatasourcePackagesCommandOutput>;
|
|
164
193
|
updateDatasourcePackages(args: UpdateDatasourcePackagesCommandInput, cb: (err: any, data?: UpdateDatasourcePackagesCommandOutput) => void): void;
|
|
165
194
|
updateDatasourcePackages(args: UpdateDatasourcePackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatasourcePackagesCommandOutput) => void): void;
|
|
195
|
+
/**
|
|
196
|
+
* @see {@link UpdateInvestigationStateCommand}
|
|
197
|
+
*/
|
|
198
|
+
updateInvestigationState(args: UpdateInvestigationStateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateInvestigationStateCommandOutput>;
|
|
199
|
+
updateInvestigationState(args: UpdateInvestigationStateCommandInput, cb: (err: any, data?: UpdateInvestigationStateCommandOutput) => void): void;
|
|
200
|
+
updateInvestigationState(args: UpdateInvestigationStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateInvestigationStateCommandOutput) => void): void;
|
|
166
201
|
/**
|
|
167
202
|
* @see {@link UpdateOrganizationConfigurationCommand}
|
|
168
203
|
*/
|
|
@@ -19,18 +19,23 @@ import { DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConf
|
|
|
19
19
|
import { DisableOrganizationAdminAccountCommandInput, DisableOrganizationAdminAccountCommandOutput } from "./commands/DisableOrganizationAdminAccountCommand";
|
|
20
20
|
import { DisassociateMembershipCommandInput, DisassociateMembershipCommandOutput } from "./commands/DisassociateMembershipCommand";
|
|
21
21
|
import { EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput } from "./commands/EnableOrganizationAdminAccountCommand";
|
|
22
|
+
import { GetInvestigationCommandInput, GetInvestigationCommandOutput } from "./commands/GetInvestigationCommand";
|
|
22
23
|
import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
23
24
|
import { ListDatasourcePackagesCommandInput, ListDatasourcePackagesCommandOutput } from "./commands/ListDatasourcePackagesCommand";
|
|
24
25
|
import { ListGraphsCommandInput, ListGraphsCommandOutput } from "./commands/ListGraphsCommand";
|
|
26
|
+
import { ListIndicatorsCommandInput, ListIndicatorsCommandOutput } from "./commands/ListIndicatorsCommand";
|
|
27
|
+
import { ListInvestigationsCommandInput, ListInvestigationsCommandOutput } from "./commands/ListInvestigationsCommand";
|
|
25
28
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
26
29
|
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
27
30
|
import { ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccountsCommandOutput } from "./commands/ListOrganizationAdminAccountsCommand";
|
|
28
31
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
29
32
|
import { RejectInvitationCommandInput, RejectInvitationCommandOutput } from "./commands/RejectInvitationCommand";
|
|
33
|
+
import { StartInvestigationCommandInput, StartInvestigationCommandOutput } from "./commands/StartInvestigationCommand";
|
|
30
34
|
import { StartMonitoringMemberCommandInput, StartMonitoringMemberCommandOutput } from "./commands/StartMonitoringMemberCommand";
|
|
31
35
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
32
36
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
33
37
|
import { UpdateDatasourcePackagesCommandInput, UpdateDatasourcePackagesCommandOutput } from "./commands/UpdateDatasourcePackagesCommand";
|
|
38
|
+
import { UpdateInvestigationStateCommandInput, UpdateInvestigationStateCommandOutput } from "./commands/UpdateInvestigationStateCommand";
|
|
34
39
|
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
35
40
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
36
41
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -38,11 +43,11 @@ export { __Client };
|
|
|
38
43
|
/**
|
|
39
44
|
* @public
|
|
40
45
|
*/
|
|
41
|
-
export 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;
|
|
46
|
+
export type ServiceInputTypes = AcceptInvitationCommandInput | BatchGetGraphMemberDatasourcesCommandInput | BatchGetMembershipDatasourcesCommandInput | CreateGraphCommandInput | CreateMembersCommandInput | DeleteGraphCommandInput | DeleteMembersCommandInput | DescribeOrganizationConfigurationCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateMembershipCommandInput | EnableOrganizationAdminAccountCommandInput | GetInvestigationCommandInput | GetMembersCommandInput | ListDatasourcePackagesCommandInput | ListGraphsCommandInput | ListIndicatorsCommandInput | ListInvestigationsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListTagsForResourceCommandInput | RejectInvitationCommandInput | StartInvestigationCommandInput | StartMonitoringMemberCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatasourcePackagesCommandInput | UpdateInvestigationStateCommandInput | UpdateOrganizationConfigurationCommandInput;
|
|
42
47
|
/**
|
|
43
48
|
* @public
|
|
44
49
|
*/
|
|
45
|
-
export 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;
|
|
50
|
+
export type ServiceOutputTypes = AcceptInvitationCommandOutput | BatchGetGraphMemberDatasourcesCommandOutput | BatchGetMembershipDatasourcesCommandOutput | CreateGraphCommandOutput | CreateMembersCommandOutput | DeleteGraphCommandOutput | DeleteMembersCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateMembershipCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetInvestigationCommandOutput | GetMembersCommandOutput | ListDatasourcePackagesCommandOutput | ListGraphsCommandOutput | ListIndicatorsCommandOutput | ListInvestigationsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListTagsForResourceCommandOutput | RejectInvitationCommandOutput | StartInvestigationCommandOutput | StartMonitoringMemberCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatasourcePackagesCommandOutput | UpdateInvestigationStateCommandOutput | UpdateOrganizationConfigurationCommandOutput;
|
|
46
51
|
/**
|
|
47
52
|
* @public
|
|
48
53
|
*/
|
|
@@ -26,9 +26,9 @@ export interface CreateMembersCommandOutput extends CreateMembersResponse, __Met
|
|
|
26
26
|
* <p>
|
|
27
27
|
* <code>CreateMembers</code> is used to send invitations to accounts. For the organization
|
|
28
28
|
* behavior graph, the Detective administrator account uses
|
|
29
|
-
*
|
|
29
|
+
* <code>CreateMembers</code> to enable organization accounts as member accounts.</p>
|
|
30
30
|
* <p>For invited accounts, <code>CreateMembers</code> sends a request to invite the specified
|
|
31
|
-
*
|
|
31
|
+
* Amazon Web Services accounts to be member accounts in the behavior graph. This operation
|
|
32
32
|
* can only be called by the administrator account for a behavior graph. </p>
|
|
33
33
|
* <p>
|
|
34
34
|
* <code>CreateMembers</code> verifies the accounts and then invites the verified accounts.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DetectiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DetectiveClient";
|
|
5
|
+
import { GetInvestigationRequest, GetInvestigationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetInvestigationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetInvestigationCommandInput extends GetInvestigationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetInvestigationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetInvestigationCommandOutput extends GetInvestigationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns the investigation results of an investigation for a behavior graph. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { DetectiveClient, GetInvestigationCommand } from "@aws-sdk/client-detective"; // ES Modules import
|
|
31
|
+
* // const { DetectiveClient, GetInvestigationCommand } = require("@aws-sdk/client-detective"); // CommonJS import
|
|
32
|
+
* const client = new DetectiveClient(config);
|
|
33
|
+
* const input = { // GetInvestigationRequest
|
|
34
|
+
* GraphArn: "STRING_VALUE", // required
|
|
35
|
+
* InvestigationId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new GetInvestigationCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetInvestigationResponse
|
|
40
|
+
* // GraphArn: "STRING_VALUE",
|
|
41
|
+
* // InvestigationId: "STRING_VALUE",
|
|
42
|
+
* // EntityArn: "STRING_VALUE",
|
|
43
|
+
* // EntityType: "IAM_ROLE" || "IAM_USER",
|
|
44
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
45
|
+
* // ScopeStartTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // ScopeEndTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // Status: "RUNNING" || "FAILED" || "SUCCESSFUL",
|
|
48
|
+
* // Severity: "INFORMATIONAL" || "LOW" || "MEDIUM" || "HIGH" || "CRITICAL",
|
|
49
|
+
* // State: "ACTIVE" || "ARCHIVED",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param GetInvestigationCommandInput - {@link GetInvestigationCommandInput}
|
|
55
|
+
* @returns {@link GetInvestigationCommandOutput}
|
|
56
|
+
* @see {@link GetInvestigationCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link GetInvestigationCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link DetectiveClientResolvedConfig | config} for DetectiveClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>The request issuer does not have permission to access this resource or perform this
|
|
62
|
+
* operation.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>The request was valid but failed because of a problem with the service.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The request refers to a nonexistent resource.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
71
|
+
* <p>The request cannot be completed because too many other requests are occurring at the
|
|
72
|
+
* same time.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>The request parameters are invalid.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link DetectiveServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from Detective service.</p>
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
export declare class GetInvestigationCommand extends $Command<GetInvestigationCommandInput, GetInvestigationCommandOutput, DetectiveClientResolvedConfig> {
|
|
82
|
+
readonly input: GetInvestigationCommandInput;
|
|
83
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
constructor(input: GetInvestigationCommandInput);
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetInvestigationCommandInput, GetInvestigationCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private serialize;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private deserialize;
|
|
100
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DetectiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DetectiveClient";
|
|
5
|
+
import { ListIndicatorsRequest, ListIndicatorsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListIndicatorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListIndicatorsCommandInput extends ListIndicatorsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListIndicatorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListIndicatorsCommandOutput extends ListIndicatorsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Get the indicators from an investigation</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { DetectiveClient, ListIndicatorsCommand } from "@aws-sdk/client-detective"; // ES Modules import
|
|
31
|
+
* // const { DetectiveClient, ListIndicatorsCommand } = require("@aws-sdk/client-detective"); // CommonJS import
|
|
32
|
+
* const client = new DetectiveClient(config);
|
|
33
|
+
* const input = { // ListIndicatorsRequest
|
|
34
|
+
* GraphArn: "STRING_VALUE", // required
|
|
35
|
+
* InvestigationId: "STRING_VALUE", // required
|
|
36
|
+
* IndicatorType: "TTP_OBSERVED" || "IMPOSSIBLE_TRAVEL" || "FLAGGED_IP_ADDRESS" || "NEW_GEOLOCATION" || "NEW_ASO" || "NEW_USER_AGENT" || "RELATED_FINDING" || "RELATED_FINDING_GROUP",
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListIndicatorsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListIndicatorsResponse
|
|
43
|
+
* // GraphArn: "STRING_VALUE",
|
|
44
|
+
* // InvestigationId: "STRING_VALUE",
|
|
45
|
+
* // NextToken: "STRING_VALUE",
|
|
46
|
+
* // Indicators: [ // Indicators
|
|
47
|
+
* // { // Indicator
|
|
48
|
+
* // IndicatorType: "TTP_OBSERVED" || "IMPOSSIBLE_TRAVEL" || "FLAGGED_IP_ADDRESS" || "NEW_GEOLOCATION" || "NEW_ASO" || "NEW_USER_AGENT" || "RELATED_FINDING" || "RELATED_FINDING_GROUP",
|
|
49
|
+
* // IndicatorDetail: { // IndicatorDetail
|
|
50
|
+
* // TTPsObservedDetail: { // TTPsObservedDetail
|
|
51
|
+
* // Tactic: "STRING_VALUE",
|
|
52
|
+
* // Technique: "STRING_VALUE",
|
|
53
|
+
* // Procedure: "STRING_VALUE",
|
|
54
|
+
* // IpAddress: "STRING_VALUE",
|
|
55
|
+
* // APIName: "STRING_VALUE",
|
|
56
|
+
* // APISuccessCount: Number("long"),
|
|
57
|
+
* // APIFailureCount: Number("long"),
|
|
58
|
+
* // },
|
|
59
|
+
* // ImpossibleTravelDetail: { // ImpossibleTravelDetail
|
|
60
|
+
* // StartingIpAddress: "STRING_VALUE",
|
|
61
|
+
* // EndingIpAddress: "STRING_VALUE",
|
|
62
|
+
* // StartingLocation: "STRING_VALUE",
|
|
63
|
+
* // EndingLocation: "STRING_VALUE",
|
|
64
|
+
* // HourlyTimeDelta: Number("int"),
|
|
65
|
+
* // },
|
|
66
|
+
* // FlaggedIpAddressDetail: { // FlaggedIpAddressDetail
|
|
67
|
+
* // IpAddress: "STRING_VALUE",
|
|
68
|
+
* // Reason: "AWS_THREAT_INTELLIGENCE",
|
|
69
|
+
* // },
|
|
70
|
+
* // NewGeolocationDetail: { // NewGeolocationDetail
|
|
71
|
+
* // Location: "STRING_VALUE",
|
|
72
|
+
* // IpAddress: "STRING_VALUE",
|
|
73
|
+
* // IsNewForEntireAccount: true || false,
|
|
74
|
+
* // },
|
|
75
|
+
* // NewAsoDetail: { // NewAsoDetail
|
|
76
|
+
* // Aso: "STRING_VALUE",
|
|
77
|
+
* // IsNewForEntireAccount: true || false,
|
|
78
|
+
* // },
|
|
79
|
+
* // NewUserAgentDetail: { // NewUserAgentDetail
|
|
80
|
+
* // UserAgent: "STRING_VALUE",
|
|
81
|
+
* // IsNewForEntireAccount: true || false,
|
|
82
|
+
* // },
|
|
83
|
+
* // RelatedFindingDetail: { // RelatedFindingDetail
|
|
84
|
+
* // Arn: "STRING_VALUE",
|
|
85
|
+
* // Type: "STRING_VALUE",
|
|
86
|
+
* // IpAddress: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // RelatedFindingGroupDetail: { // RelatedFindingGroupDetail
|
|
89
|
+
* // Id: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
94
|
+
* // };
|
|
95
|
+
*
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* @param ListIndicatorsCommandInput - {@link ListIndicatorsCommandInput}
|
|
99
|
+
* @returns {@link ListIndicatorsCommandOutput}
|
|
100
|
+
* @see {@link ListIndicatorsCommandInput} for command's `input` shape.
|
|
101
|
+
* @see {@link ListIndicatorsCommandOutput} for command's `response` shape.
|
|
102
|
+
* @see {@link DetectiveClientResolvedConfig | config} for DetectiveClient's `config` shape.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
105
|
+
* <p>The request issuer does not have permission to access this resource or perform this
|
|
106
|
+
* operation.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link InternalServerException} (server fault)
|
|
109
|
+
* <p>The request was valid but failed because of a problem with the service.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
112
|
+
* <p>The request refers to a nonexistent resource.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
115
|
+
* <p>The request cannot be completed because too many other requests are occurring at the
|
|
116
|
+
* same time.</p>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link ValidationException} (client fault)
|
|
119
|
+
* <p>The request parameters are invalid.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link DetectiveServiceException}
|
|
122
|
+
* <p>Base exception class for all service exceptions from Detective service.</p>
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
export declare class ListIndicatorsCommand extends $Command<ListIndicatorsCommandInput, ListIndicatorsCommandOutput, DetectiveClientResolvedConfig> {
|
|
126
|
+
readonly input: ListIndicatorsCommandInput;
|
|
127
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
constructor(input: ListIndicatorsCommandInput);
|
|
132
|
+
/**
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListIndicatorsCommandInput, ListIndicatorsCommandOutput>;
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
139
|
+
private serialize;
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
private deserialize;
|
|
144
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DetectiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DetectiveClient";
|
|
5
|
+
import { ListInvestigationsRequest, ListInvestigationsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListInvestigationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListInvestigationsCommandInput extends ListInvestigationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListInvestigationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListInvestigationsCommandOutput extends ListInvestigationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>List all Investigations.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { DetectiveClient, ListInvestigationsCommand } from "@aws-sdk/client-detective"; // ES Modules import
|
|
31
|
+
* // const { DetectiveClient, ListInvestigationsCommand } = require("@aws-sdk/client-detective"); // CommonJS import
|
|
32
|
+
* const client = new DetectiveClient(config);
|
|
33
|
+
* const input = { // ListInvestigationsRequest
|
|
34
|
+
* GraphArn: "STRING_VALUE", // required
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* FilterCriteria: { // FilterCriteria
|
|
38
|
+
* Severity: { // StringFilter
|
|
39
|
+
* Value: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* Status: {
|
|
42
|
+
* Value: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* State: {
|
|
45
|
+
* Value: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* EntityArn: {
|
|
48
|
+
* Value: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* CreatedTime: { // DateFilter
|
|
51
|
+
* StartInclusive: new Date("TIMESTAMP"), // required
|
|
52
|
+
* EndInclusive: new Date("TIMESTAMP"), // required
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* SortCriteria: { // SortCriteria
|
|
56
|
+
* Field: "SEVERITY" || "STATUS" || "CREATED_TIME",
|
|
57
|
+
* SortOrder: "ASC" || "DESC",
|
|
58
|
+
* },
|
|
59
|
+
* };
|
|
60
|
+
* const command = new ListInvestigationsCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* // { // ListInvestigationsResponse
|
|
63
|
+
* // InvestigationDetails: [ // InvestigationDetails
|
|
64
|
+
* // { // InvestigationDetail
|
|
65
|
+
* // InvestigationId: "STRING_VALUE",
|
|
66
|
+
* // Severity: "INFORMATIONAL" || "LOW" || "MEDIUM" || "HIGH" || "CRITICAL",
|
|
67
|
+
* // Status: "RUNNING" || "FAILED" || "SUCCESSFUL",
|
|
68
|
+
* // State: "ACTIVE" || "ARCHIVED",
|
|
69
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
70
|
+
* // EntityArn: "STRING_VALUE",
|
|
71
|
+
* // EntityType: "IAM_ROLE" || "IAM_USER",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // NextToken: "STRING_VALUE",
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @param ListInvestigationsCommandInput - {@link ListInvestigationsCommandInput}
|
|
80
|
+
* @returns {@link ListInvestigationsCommandOutput}
|
|
81
|
+
* @see {@link ListInvestigationsCommandInput} for command's `input` shape.
|
|
82
|
+
* @see {@link ListInvestigationsCommandOutput} for command's `response` shape.
|
|
83
|
+
* @see {@link DetectiveClientResolvedConfig | config} for DetectiveClient's `config` shape.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
86
|
+
* <p>The request issuer does not have permission to access this resource or perform this
|
|
87
|
+
* operation.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalServerException} (server fault)
|
|
90
|
+
* <p>The request was valid but failed because of a problem with the service.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
93
|
+
* <p>The request refers to a nonexistent resource.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
96
|
+
* <p>The request cannot be completed because too many other requests are occurring at the
|
|
97
|
+
* same time.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <p>The request parameters are invalid.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link DetectiveServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from Detective service.</p>
|
|
104
|
+
*
|
|
105
|
+
*/
|
|
106
|
+
export declare class ListInvestigationsCommand extends $Command<ListInvestigationsCommandInput, ListInvestigationsCommandOutput, DetectiveClientResolvedConfig> {
|
|
107
|
+
readonly input: ListInvestigationsCommandInput;
|
|
108
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
constructor(input: ListInvestigationsCommandInput);
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListInvestigationsCommandInput, ListInvestigationsCommandOutput>;
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
private serialize;
|
|
121
|
+
/**
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
|
+
private deserialize;
|
|
125
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DetectiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DetectiveClient";
|
|
5
|
+
import { StartInvestigationRequest, StartInvestigationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartInvestigationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartInvestigationCommandInput extends StartInvestigationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartInvestigationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartInvestigationCommandOutput extends StartInvestigationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>initiate an investigation on an entity in a graph</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { DetectiveClient, StartInvestigationCommand } from "@aws-sdk/client-detective"; // ES Modules import
|
|
31
|
+
* // const { DetectiveClient, StartInvestigationCommand } = require("@aws-sdk/client-detective"); // CommonJS import
|
|
32
|
+
* const client = new DetectiveClient(config);
|
|
33
|
+
* const input = { // StartInvestigationRequest
|
|
34
|
+
* GraphArn: "STRING_VALUE", // required
|
|
35
|
+
* EntityArn: "STRING_VALUE", // required
|
|
36
|
+
* ScopeStartTime: new Date("TIMESTAMP"), // required
|
|
37
|
+
* ScopeEndTime: new Date("TIMESTAMP"), // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new StartInvestigationCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // StartInvestigationResponse
|
|
42
|
+
* // InvestigationId: "STRING_VALUE",
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param StartInvestigationCommandInput - {@link StartInvestigationCommandInput}
|
|
48
|
+
* @returns {@link StartInvestigationCommandOutput}
|
|
49
|
+
* @see {@link StartInvestigationCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link StartInvestigationCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link DetectiveClientResolvedConfig | config} for DetectiveClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>The request issuer does not have permission to access this resource or perform this
|
|
55
|
+
* operation.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>The request was valid but failed because of a problem with the service.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The request refers to a nonexistent resource.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
64
|
+
* <p>The request cannot be completed because too many other requests are occurring at the
|
|
65
|
+
* same time.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>The request parameters are invalid.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link DetectiveServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from Detective service.</p>
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
export declare class StartInvestigationCommand extends $Command<StartInvestigationCommandInput, StartInvestigationCommandOutput, DetectiveClientResolvedConfig> {
|
|
75
|
+
readonly input: StartInvestigationCommandInput;
|
|
76
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
constructor(input: StartInvestigationCommandInput);
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartInvestigationCommandInput, StartInvestigationCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
private serialize;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private deserialize;
|
|
93
|
+
}
|