@aws-sdk/client-inspector2 3.325.0 → 3.327.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 +40 -0
- package/dist-cjs/Inspector2.js +10 -0
- package/dist-cjs/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +45 -0
- package/dist-cjs/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +45 -0
- package/dist-cjs/commands/GetEc2DeepInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/UpdateEc2DeepInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +15 -2
- package/dist-cjs/protocols/Aws_restJson1.js +327 -2
- package/dist-es/Inspector2.js +10 -0
- package/dist-es/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +41 -0
- package/dist-es/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +41 -0
- package/dist-es/commands/GetEc2DeepInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/UpdateEc2DeepInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/protocols/Aws_restJson1.js +315 -0
- package/dist-types/Inspector2.d.ts +35 -0
- package/dist-types/Inspector2Client.d.ts +7 -2
- package/dist-types/commands/AssociateMemberCommand.d.ts +7 -1
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +45 -0
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +25 -0
- package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +97 -0
- package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +100 -0
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +6 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +6 -0
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +7 -1
- package/dist-types/commands/DeleteFilterCommand.d.ts +6 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +11 -0
- package/dist-types/commands/DisableCommand.d.ts +29 -0
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -0
- package/dist-types/commands/DisassociateMemberCommand.d.ts +6 -0
- package/dist-types/commands/EnableCommand.d.ts +29 -0
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +12 -0
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +9 -0
- package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +87 -0
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +133 -0
- package/dist-types/commands/GetMemberCommand.d.ts +11 -0
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +12 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +46 -0
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +13 -0
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +12 -0
- package/dist-types/commands/ListFiltersCommand.d.ts +140 -0
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +114 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +164 -0
- package/dist-types/commands/ListMembersCommand.d.ts +14 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +19 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +92 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +6 -0
- package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +82 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +10 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +200 -3
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Inspector2.d.ts +115 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +64 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +7 -7
|
@@ -33,6 +33,49 @@ export interface BatchGetAccountStatusCommandOutput extends BatchGetAccountStatu
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new BatchGetAccountStatusCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // BatchGetAccountStatusResponse
|
|
37
|
+
* // accounts: [ // AccountStateList // required
|
|
38
|
+
* // { // AccountState
|
|
39
|
+
* // accountId: "STRING_VALUE", // required
|
|
40
|
+
* // state: { // State
|
|
41
|
+
* // status: "STRING_VALUE", // required
|
|
42
|
+
* // errorCode: "STRING_VALUE", // required
|
|
43
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
44
|
+
* // },
|
|
45
|
+
* // resourceState: { // ResourceState
|
|
46
|
+
* // ec2: {
|
|
47
|
+
* // status: "STRING_VALUE", // required
|
|
48
|
+
* // errorCode: "STRING_VALUE", // required
|
|
49
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // ecr: {
|
|
52
|
+
* // status: "STRING_VALUE", // required
|
|
53
|
+
* // errorCode: "STRING_VALUE", // required
|
|
54
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // lambda: {
|
|
57
|
+
* // status: "STRING_VALUE", // required
|
|
58
|
+
* // errorCode: "STRING_VALUE", // required
|
|
59
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // failedAccounts: [ // FailedAccountList
|
|
65
|
+
* // { // FailedAccount
|
|
66
|
+
* // accountId: "STRING_VALUE", // required
|
|
67
|
+
* // status: "STRING_VALUE",
|
|
68
|
+
* // resourceStatus: { // ResourceStatus
|
|
69
|
+
* // ec2: "STRING_VALUE", // required
|
|
70
|
+
* // ecr: "STRING_VALUE", // required
|
|
71
|
+
* // lambda: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // errorCode: "STRING_VALUE", // required
|
|
74
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
36
79
|
* ```
|
|
37
80
|
*
|
|
38
81
|
* @param BatchGetAccountStatusCommandInput - {@link BatchGetAccountStatusCommandInput}
|
|
@@ -57,6 +100,8 @@ export interface BatchGetAccountStatusCommandOutput extends BatchGetAccountStatu
|
|
|
57
100
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
58
101
|
* inputs.</p>
|
|
59
102
|
*
|
|
103
|
+
* @throws {@link Inspector2ServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
60
105
|
*
|
|
61
106
|
*/
|
|
62
107
|
export declare class BatchGetAccountStatusCommand extends $Command<BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -33,6 +33,29 @@ export interface BatchGetFreeTrialInfoCommandOutput extends BatchGetFreeTrialInf
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new BatchGetFreeTrialInfoCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // BatchGetFreeTrialInfoResponse
|
|
37
|
+
* // accounts: [ // FreeTrialAccountInfoList // required
|
|
38
|
+
* // { // FreeTrialAccountInfo
|
|
39
|
+
* // accountId: "STRING_VALUE", // required
|
|
40
|
+
* // freeTrialInfo: [ // FreeTrialInfoList // required
|
|
41
|
+
* // { // FreeTrialInfo
|
|
42
|
+
* // type: "STRING_VALUE", // required
|
|
43
|
+
* // start: new Date("TIMESTAMP"), // required
|
|
44
|
+
* // end: new Date("TIMESTAMP"), // required
|
|
45
|
+
* // status: "STRING_VALUE", // required
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // failedAccounts: [ // FreeTrialInfoErrorList // required
|
|
51
|
+
* // { // FreeTrialInfoError
|
|
52
|
+
* // accountId: "STRING_VALUE", // required
|
|
53
|
+
* // code: "STRING_VALUE", // required
|
|
54
|
+
* // message: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
36
59
|
* ```
|
|
37
60
|
*
|
|
38
61
|
* @param BatchGetFreeTrialInfoCommandInput - {@link BatchGetFreeTrialInfoCommandInput}
|
|
@@ -54,6 +77,8 @@ export interface BatchGetFreeTrialInfoCommandOutput extends BatchGetFreeTrialInf
|
|
|
54
77
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
55
78
|
* inputs.</p>
|
|
56
79
|
*
|
|
80
|
+
* @throws {@link Inspector2ServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
57
82
|
*
|
|
58
83
|
*/
|
|
59
84
|
export declare class BatchGetFreeTrialInfoCommand extends $Command<BatchGetFreeTrialInfoCommandInput, BatchGetFreeTrialInfoCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
5
|
+
import { BatchGetMemberEc2DeepInspectionStatusRequest, BatchGetMemberEc2DeepInspectionStatusResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link BatchGetMemberEc2DeepInspectionStatusCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface BatchGetMemberEc2DeepInspectionStatusCommandInput extends BatchGetMemberEc2DeepInspectionStatusRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link BatchGetMemberEc2DeepInspectionStatusCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface BatchGetMemberEc2DeepInspectionStatusCommandOutput extends BatchGetMemberEc2DeepInspectionStatusResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { Inspector2Client, BatchGetMemberEc2DeepInspectionStatusCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
|
+
* // const { Inspector2Client, BatchGetMemberEc2DeepInspectionStatusCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
|
+
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = { // BatchGetMemberEc2DeepInspectionStatusRequest
|
|
30
|
+
* accountIds: [ // AccountIdSet
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
34
|
+
* const command = new BatchGetMemberEc2DeepInspectionStatusCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* // { // BatchGetMemberEc2DeepInspectionStatusResponse
|
|
37
|
+
* // accountIds: [ // MemberAccountEc2DeepInspectionStatusStateList
|
|
38
|
+
* // { // MemberAccountEc2DeepInspectionStatusState
|
|
39
|
+
* // accountId: "STRING_VALUE", // required
|
|
40
|
+
* // status: "STRING_VALUE",
|
|
41
|
+
* // errorMessage: "STRING_VALUE",
|
|
42
|
+
* // },
|
|
43
|
+
* // ],
|
|
44
|
+
* // failedAccountIds: [ // FailedMemberAccountEc2DeepInspectionStatusStateList
|
|
45
|
+
* // { // FailedMemberAccountEc2DeepInspectionStatusState
|
|
46
|
+
* // accountId: "STRING_VALUE", // required
|
|
47
|
+
* // ec2ScanStatus: "STRING_VALUE",
|
|
48
|
+
* // errorMessage: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param BatchGetMemberEc2DeepInspectionStatusCommandInput - {@link BatchGetMemberEc2DeepInspectionStatusCommandInput}
|
|
56
|
+
* @returns {@link BatchGetMemberEc2DeepInspectionStatusCommandOutput}
|
|
57
|
+
* @see {@link BatchGetMemberEc2DeepInspectionStatusCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link BatchGetMemberEc2DeepInspectionStatusCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>The request has failed validation due to missing required fields or having invalid
|
|
72
|
+
* inputs.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link Inspector2ServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
export declare class BatchGetMemberEc2DeepInspectionStatusCommand extends $Command<BatchGetMemberEc2DeepInspectionStatusCommandInput, BatchGetMemberEc2DeepInspectionStatusCommandOutput, Inspector2ClientResolvedConfig> {
|
|
79
|
+
readonly input: BatchGetMemberEc2DeepInspectionStatusCommandInput;
|
|
80
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
constructor(input: BatchGetMemberEc2DeepInspectionStatusCommandInput);
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetMemberEc2DeepInspectionStatusCommandInput, BatchGetMemberEc2DeepInspectionStatusCommandOutput>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private serialize;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private deserialize;
|
|
97
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
5
|
+
import { BatchUpdateMemberEc2DeepInspectionStatusRequest, BatchUpdateMemberEc2DeepInspectionStatusResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link BatchUpdateMemberEc2DeepInspectionStatusCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface BatchUpdateMemberEc2DeepInspectionStatusCommandInput extends BatchUpdateMemberEc2DeepInspectionStatusRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link BatchUpdateMemberEc2DeepInspectionStatusCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface BatchUpdateMemberEc2DeepInspectionStatusCommandOutput extends BatchUpdateMemberEc2DeepInspectionStatusResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { Inspector2Client, BatchUpdateMemberEc2DeepInspectionStatusCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
|
+
* // const { Inspector2Client, BatchUpdateMemberEc2DeepInspectionStatusCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
|
+
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = { // BatchUpdateMemberEc2DeepInspectionStatusRequest
|
|
30
|
+
* accountIds: [ // MemberAccountEc2DeepInspectionStatusList // required
|
|
31
|
+
* { // MemberAccountEc2DeepInspectionStatus
|
|
32
|
+
* accountId: "STRING_VALUE", // required
|
|
33
|
+
* activateDeepInspection: true || false, // required
|
|
34
|
+
* },
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
37
|
+
* const command = new BatchUpdateMemberEc2DeepInspectionStatusCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // BatchUpdateMemberEc2DeepInspectionStatusResponse
|
|
40
|
+
* // accountIds: [ // MemberAccountEc2DeepInspectionStatusStateList
|
|
41
|
+
* // { // MemberAccountEc2DeepInspectionStatusState
|
|
42
|
+
* // accountId: "STRING_VALUE", // required
|
|
43
|
+
* // status: "STRING_VALUE",
|
|
44
|
+
* // errorMessage: "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // ],
|
|
47
|
+
* // failedAccountIds: [ // FailedMemberAccountEc2DeepInspectionStatusStateList
|
|
48
|
+
* // { // FailedMemberAccountEc2DeepInspectionStatusState
|
|
49
|
+
* // accountId: "STRING_VALUE", // required
|
|
50
|
+
* // ec2ScanStatus: "STRING_VALUE",
|
|
51
|
+
* // errorMessage: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param BatchUpdateMemberEc2DeepInspectionStatusCommandInput - {@link BatchUpdateMemberEc2DeepInspectionStatusCommandInput}
|
|
59
|
+
* @returns {@link BatchUpdateMemberEc2DeepInspectionStatusCommandOutput}
|
|
60
|
+
* @see {@link BatchUpdateMemberEc2DeepInspectionStatusCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link BatchUpdateMemberEc2DeepInspectionStatusCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The request has failed validation due to missing required fields or having invalid
|
|
75
|
+
* inputs.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link Inspector2ServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
export declare class BatchUpdateMemberEc2DeepInspectionStatusCommand extends $Command<BatchUpdateMemberEc2DeepInspectionStatusCommandInput, BatchUpdateMemberEc2DeepInspectionStatusCommandOutput, Inspector2ClientResolvedConfig> {
|
|
82
|
+
readonly input: BatchUpdateMemberEc2DeepInspectionStatusCommandInput;
|
|
83
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
constructor(input: BatchUpdateMemberEc2DeepInspectionStatusCommandInput);
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchUpdateMemberEc2DeepInspectionStatusCommandInput, BatchUpdateMemberEc2DeepInspectionStatusCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private serialize;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private deserialize;
|
|
100
|
+
}
|
|
@@ -31,6 +31,10 @@ export interface CancelFindingsReportCommandOutput extends CancelFindingsReportR
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new CancelFindingsReportCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // CancelFindingsReportResponse
|
|
35
|
+
* // reportId: "STRING_VALUE", // required
|
|
36
|
+
* // };
|
|
37
|
+
*
|
|
34
38
|
* ```
|
|
35
39
|
*
|
|
36
40
|
* @param CancelFindingsReportCommandInput - {@link CancelFindingsReportCommandInput}
|
|
@@ -55,6 +59,8 @@ export interface CancelFindingsReportCommandOutput extends CancelFindingsReportR
|
|
|
55
59
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
56
60
|
* inputs.</p>
|
|
57
61
|
*
|
|
62
|
+
* @throws {@link Inspector2ServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
58
64
|
*
|
|
59
65
|
*/
|
|
60
66
|
export declare class CancelFindingsReportCommand extends $Command<CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -156,6 +156,10 @@ export interface CreateFilterCommandOutput extends CreateFilterResponse, __Metad
|
|
|
156
156
|
* };
|
|
157
157
|
* const command = new CreateFilterCommand(input);
|
|
158
158
|
* const response = await client.send(command);
|
|
159
|
+
* // { // CreateFilterResponse
|
|
160
|
+
* // arn: "STRING_VALUE", // required
|
|
161
|
+
* // };
|
|
162
|
+
*
|
|
159
163
|
* ```
|
|
160
164
|
*
|
|
161
165
|
* @param CreateFilterCommandInput - {@link CreateFilterCommandInput}
|
|
@@ -184,6 +188,8 @@ export interface CreateFilterCommandOutput extends CreateFilterResponse, __Metad
|
|
|
184
188
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
185
189
|
* inputs.</p>
|
|
186
190
|
*
|
|
191
|
+
* @throws {@link Inspector2ServiceException}
|
|
192
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
187
193
|
*
|
|
188
194
|
*/
|
|
189
195
|
export declare class CreateFilterCommand extends $Command<CreateFilterCommandInput, CreateFilterCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -19,7 +19,7 @@ export interface CreateFindingsReportCommandOutput extends CreateFindingsReportR
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Creates a finding report
|
|
22
|
+
* <p>Creates a finding report. By default only <code>ACTIVE</code> findings are returned in the report. To see <code>SUPRESSED</code> or <code>CLOSED</code> findings you must specify a value for the <code>findingStatus</code> filter criteria. </p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
@@ -155,6 +155,10 @@ export interface CreateFindingsReportCommandOutput extends CreateFindingsReportR
|
|
|
155
155
|
* };
|
|
156
156
|
* const command = new CreateFindingsReportCommand(input);
|
|
157
157
|
* const response = await client.send(command);
|
|
158
|
+
* // { // CreateFindingsReportResponse
|
|
159
|
+
* // reportId: "STRING_VALUE",
|
|
160
|
+
* // };
|
|
161
|
+
*
|
|
158
162
|
* ```
|
|
159
163
|
*
|
|
160
164
|
* @param CreateFindingsReportCommandInput - {@link CreateFindingsReportCommandInput}
|
|
@@ -179,6 +183,8 @@ export interface CreateFindingsReportCommandOutput extends CreateFindingsReportR
|
|
|
179
183
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
180
184
|
* inputs.</p>
|
|
181
185
|
*
|
|
186
|
+
* @throws {@link Inspector2ServiceException}
|
|
187
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
182
188
|
*
|
|
183
189
|
*/
|
|
184
190
|
export declare class CreateFindingsReportCommand extends $Command<CreateFindingsReportCommandInput, CreateFindingsReportCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -31,6 +31,10 @@ export interface DeleteFilterCommandOutput extends DeleteFilterResponse, __Metad
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteFilterCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DeleteFilterResponse
|
|
35
|
+
* // arn: "STRING_VALUE", // required
|
|
36
|
+
* // };
|
|
37
|
+
*
|
|
34
38
|
* ```
|
|
35
39
|
*
|
|
36
40
|
* @param DeleteFilterCommandInput - {@link DeleteFilterCommandInput}
|
|
@@ -55,6 +59,8 @@ export interface DeleteFilterCommandOutput extends DeleteFilterResponse, __Metad
|
|
|
55
59
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
56
60
|
* inputs.</p>
|
|
57
61
|
*
|
|
62
|
+
* @throws {@link Inspector2ServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
58
64
|
*
|
|
59
65
|
*/
|
|
60
66
|
export declare class DeleteFilterCommand extends $Command<DeleteFilterCommandInput, DeleteFilterCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -29,6 +29,15 @@ export interface DescribeOrganizationConfigurationCommandOutput extends Describe
|
|
|
29
29
|
* const input = {};
|
|
30
30
|
* const command = new DescribeOrganizationConfigurationCommand(input);
|
|
31
31
|
* const response = await client.send(command);
|
|
32
|
+
* // { // DescribeOrganizationConfigurationResponse
|
|
33
|
+
* // autoEnable: { // AutoEnable
|
|
34
|
+
* // ec2: true || false, // required
|
|
35
|
+
* // ecr: true || false, // required
|
|
36
|
+
* // lambda: true || false,
|
|
37
|
+
* // },
|
|
38
|
+
* // maxAccountLimitReached: true || false,
|
|
39
|
+
* // };
|
|
40
|
+
*
|
|
32
41
|
* ```
|
|
33
42
|
*
|
|
34
43
|
* @param DescribeOrganizationConfigurationCommandInput - {@link DescribeOrganizationConfigurationCommandInput}
|
|
@@ -50,6 +59,8 @@ export interface DescribeOrganizationConfigurationCommandOutput extends Describe
|
|
|
50
59
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
51
60
|
* inputs.</p>
|
|
52
61
|
*
|
|
62
|
+
* @throws {@link Inspector2ServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
53
64
|
*
|
|
54
65
|
*/
|
|
55
66
|
export declare class DescribeOrganizationConfigurationCommand extends $Command<DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConfigurationCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -37,6 +37,33 @@ export interface DisableCommandOutput extends DisableResponse, __MetadataBearer
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new DisableCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // DisableResponse
|
|
41
|
+
* // accounts: [ // AccountList // required
|
|
42
|
+
* // { // Account
|
|
43
|
+
* // accountId: "STRING_VALUE", // required
|
|
44
|
+
* // status: "STRING_VALUE", // required
|
|
45
|
+
* // resourceStatus: { // ResourceStatus
|
|
46
|
+
* // ec2: "STRING_VALUE", // required
|
|
47
|
+
* // ecr: "STRING_VALUE", // required
|
|
48
|
+
* // lambda: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // failedAccounts: [ // FailedAccountList
|
|
53
|
+
* // { // FailedAccount
|
|
54
|
+
* // accountId: "STRING_VALUE", // required
|
|
55
|
+
* // status: "STRING_VALUE",
|
|
56
|
+
* // resourceStatus: {
|
|
57
|
+
* // ec2: "STRING_VALUE", // required
|
|
58
|
+
* // ecr: "STRING_VALUE", // required
|
|
59
|
+
* // lambda: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // errorCode: "STRING_VALUE", // required
|
|
62
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
40
67
|
* ```
|
|
41
68
|
*
|
|
42
69
|
* @param DisableCommandInput - {@link DisableCommandInput}
|
|
@@ -61,6 +88,8 @@ export interface DisableCommandOutput extends DisableResponse, __MetadataBearer
|
|
|
61
88
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
62
89
|
* inputs.</p>
|
|
63
90
|
*
|
|
91
|
+
* @throws {@link Inspector2ServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
64
93
|
*
|
|
65
94
|
*/
|
|
66
95
|
export declare class DisableCommand extends $Command<DisableCommandInput, DisableCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -31,6 +31,10 @@ export interface DisableDelegatedAdminAccountCommandOutput extends DisableDelega
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DisableDelegatedAdminAccountCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DisableDelegatedAdminAccountResponse
|
|
35
|
+
* // delegatedAdminAccountId: "STRING_VALUE", // required
|
|
36
|
+
* // };
|
|
37
|
+
*
|
|
34
38
|
* ```
|
|
35
39
|
*
|
|
36
40
|
* @param DisableDelegatedAdminAccountCommandInput - {@link DisableDelegatedAdminAccountCommandInput}
|
|
@@ -58,6 +62,8 @@ export interface DisableDelegatedAdminAccountCommandOutput extends DisableDelega
|
|
|
58
62
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
59
63
|
* inputs.</p>
|
|
60
64
|
*
|
|
65
|
+
* @throws {@link Inspector2ServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
61
67
|
*
|
|
62
68
|
*/
|
|
63
69
|
export declare class DisableDelegatedAdminAccountCommand extends $Command<DisableDelegatedAdminAccountCommandInput, DisableDelegatedAdminAccountCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -31,6 +31,10 @@ export interface DisassociateMemberCommandOutput extends DisassociateMemberRespo
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DisassociateMemberCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DisassociateMemberResponse
|
|
35
|
+
* // accountId: "STRING_VALUE", // required
|
|
36
|
+
* // };
|
|
37
|
+
*
|
|
34
38
|
* ```
|
|
35
39
|
*
|
|
36
40
|
* @param DisassociateMemberCommandInput - {@link DisassociateMemberCommandInput}
|
|
@@ -52,6 +56,8 @@ export interface DisassociateMemberCommandOutput extends DisassociateMemberRespo
|
|
|
52
56
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
53
57
|
* inputs.</p>
|
|
54
58
|
*
|
|
59
|
+
* @throws {@link Inspector2ServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
55
61
|
*
|
|
56
62
|
*/
|
|
57
63
|
export declare class DisassociateMemberCommand extends $Command<DisassociateMemberCommandInput, DisassociateMemberCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -37,6 +37,33 @@ export interface EnableCommandOutput extends EnableResponse, __MetadataBearer {
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new EnableCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // EnableResponse
|
|
41
|
+
* // accounts: [ // AccountList // required
|
|
42
|
+
* // { // Account
|
|
43
|
+
* // accountId: "STRING_VALUE", // required
|
|
44
|
+
* // status: "STRING_VALUE", // required
|
|
45
|
+
* // resourceStatus: { // ResourceStatus
|
|
46
|
+
* // ec2: "STRING_VALUE", // required
|
|
47
|
+
* // ecr: "STRING_VALUE", // required
|
|
48
|
+
* // lambda: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // failedAccounts: [ // FailedAccountList
|
|
53
|
+
* // { // FailedAccount
|
|
54
|
+
* // accountId: "STRING_VALUE", // required
|
|
55
|
+
* // status: "STRING_VALUE",
|
|
56
|
+
* // resourceStatus: {
|
|
57
|
+
* // ec2: "STRING_VALUE", // required
|
|
58
|
+
* // ecr: "STRING_VALUE", // required
|
|
59
|
+
* // lambda: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // errorCode: "STRING_VALUE", // required
|
|
62
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
40
67
|
* ```
|
|
41
68
|
*
|
|
42
69
|
* @param EnableCommandInput - {@link EnableCommandInput}
|
|
@@ -61,6 +88,8 @@ export interface EnableCommandOutput extends EnableResponse, __MetadataBearer {
|
|
|
61
88
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
62
89
|
* inputs.</p>
|
|
63
90
|
*
|
|
91
|
+
* @throws {@link Inspector2ServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
64
93
|
*
|
|
65
94
|
*/
|
|
66
95
|
export declare class EnableCommand extends $Command<EnableCommandInput, EnableCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -32,6 +32,10 @@ export interface EnableDelegatedAdminAccountCommandOutput extends EnableDelegate
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new EnableDelegatedAdminAccountCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // EnableDelegatedAdminAccountResponse
|
|
36
|
+
* // delegatedAdminAccountId: "STRING_VALUE", // required
|
|
37
|
+
* // };
|
|
38
|
+
*
|
|
35
39
|
* ```
|
|
36
40
|
*
|
|
37
41
|
* @param EnableDelegatedAdminAccountCommandInput - {@link EnableDelegatedAdminAccountCommandInput}
|
|
@@ -59,6 +63,8 @@ export interface EnableDelegatedAdminAccountCommandOutput extends EnableDelegate
|
|
|
59
63
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
60
64
|
* inputs.</p>
|
|
61
65
|
*
|
|
66
|
+
* @throws {@link Inspector2ServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
62
68
|
*
|
|
63
69
|
*/
|
|
64
70
|
export declare class EnableDelegatedAdminAccountCommand extends $Command<EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -29,6 +29,16 @@ export interface GetConfigurationCommandOutput extends GetConfigurationResponse,
|
|
|
29
29
|
* const input = {};
|
|
30
30
|
* const command = new GetConfigurationCommand(input);
|
|
31
31
|
* const response = await client.send(command);
|
|
32
|
+
* // { // GetConfigurationResponse
|
|
33
|
+
* // ecrConfiguration: { // EcrConfigurationState
|
|
34
|
+
* // rescanDurationState: { // EcrRescanDurationState
|
|
35
|
+
* // rescanDuration: "STRING_VALUE",
|
|
36
|
+
* // status: "STRING_VALUE",
|
|
37
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
38
|
+
* // },
|
|
39
|
+
* // },
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
32
42
|
* ```
|
|
33
43
|
*
|
|
34
44
|
* @param GetConfigurationCommandInput - {@link GetConfigurationCommandInput}
|
|
@@ -46,6 +56,8 @@ export interface GetConfigurationCommandOutput extends GetConfigurationResponse,
|
|
|
46
56
|
* @throws {@link ThrottlingException} (client fault)
|
|
47
57
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
48
58
|
*
|
|
59
|
+
* @throws {@link Inspector2ServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
49
61
|
*
|
|
50
62
|
*/
|
|
51
63
|
export declare class GetConfigurationCommand extends $Command<GetConfigurationCommandInput, GetConfigurationCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -30,6 +30,13 @@ export interface GetDelegatedAdminAccountCommandOutput extends GetDelegatedAdmin
|
|
|
30
30
|
* const input = {};
|
|
31
31
|
* const command = new GetDelegatedAdminAccountCommand(input);
|
|
32
32
|
* const response = await client.send(command);
|
|
33
|
+
* // { // GetDelegatedAdminAccountResponse
|
|
34
|
+
* // delegatedAdmin: { // DelegatedAdmin
|
|
35
|
+
* // accountId: "STRING_VALUE",
|
|
36
|
+
* // relationshipStatus: "STRING_VALUE",
|
|
37
|
+
* // },
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
33
40
|
* ```
|
|
34
41
|
*
|
|
35
42
|
* @param GetDelegatedAdminAccountCommandInput - {@link GetDelegatedAdminAccountCommandInput}
|
|
@@ -54,6 +61,8 @@ export interface GetDelegatedAdminAccountCommandOutput extends GetDelegatedAdmin
|
|
|
54
61
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
55
62
|
* inputs.</p>
|
|
56
63
|
*
|
|
64
|
+
* @throws {@link Inspector2ServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
57
66
|
*
|
|
58
67
|
*/
|
|
59
68
|
export declare class GetDelegatedAdminAccountCommand extends $Command<GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput, Inspector2ClientResolvedConfig> {
|