@aws-sdk/client-inspector2 3.121.0 → 3.130.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 +32 -0
- package/dist-cjs/Inspector2.js +30 -0
- package/dist-cjs/commands/GetConfigurationCommand.js +36 -0
- package/dist-cjs/commands/UpdateConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +66 -2
- package/dist-cjs/protocols/Aws_restJson1.js +431 -461
- package/dist-es/Inspector2.js +30 -0
- package/dist-es/commands/GetConfigurationCommand.js +39 -0
- package/dist-es/commands/UpdateConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +50 -0
- package/dist-es/protocols/Aws_restJson1.js +405 -390
- package/dist-types/Inspector2.d.ts +14 -0
- package/dist-types/Inspector2Client.d.ts +4 -2
- package/dist-types/commands/GetConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +123 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/Inspector2.d.ts +10 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +84 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +26 -26
|
@@ -12,6 +12,7 @@ import { DisableDelegatedAdminAccountCommandInput, DisableDelegatedAdminAccountC
|
|
|
12
12
|
import { DisassociateMemberCommandInput, DisassociateMemberCommandOutput } from "./commands/DisassociateMemberCommand";
|
|
13
13
|
import { EnableCommandInput, EnableCommandOutput } from "./commands/EnableCommand";
|
|
14
14
|
import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCommandOutput } from "./commands/EnableDelegatedAdminAccountCommand";
|
|
15
|
+
import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "./commands/GetConfigurationCommand";
|
|
15
16
|
import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "./commands/GetDelegatedAdminAccountCommand";
|
|
16
17
|
import { GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutput } from "./commands/GetFindingsReportStatusCommand";
|
|
17
18
|
import { GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
|
|
@@ -27,6 +28,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
27
28
|
import { ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput } from "./commands/ListUsageTotalsCommand";
|
|
28
29
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
29
30
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
31
|
+
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
30
32
|
import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "./commands/UpdateFilterCommand";
|
|
31
33
|
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
32
34
|
import { Inspector2Client } from "./Inspector2Client";
|
|
@@ -114,6 +116,12 @@ export declare class Inspector2 extends Inspector2Client {
|
|
|
114
116
|
enableDelegatedAdminAccount(args: EnableDelegatedAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<EnableDelegatedAdminAccountCommandOutput>;
|
|
115
117
|
enableDelegatedAdminAccount(args: EnableDelegatedAdminAccountCommandInput, cb: (err: any, data?: EnableDelegatedAdminAccountCommandOutput) => void): void;
|
|
116
118
|
enableDelegatedAdminAccount(args: EnableDelegatedAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableDelegatedAdminAccountCommandOutput) => void): void;
|
|
119
|
+
/**
|
|
120
|
+
* <p>Retrieves setting configurations for Inspector scans.</p>
|
|
121
|
+
*/
|
|
122
|
+
getConfiguration(args: GetConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigurationCommandOutput>;
|
|
123
|
+
getConfiguration(args: GetConfigurationCommandInput, cb: (err: any, data?: GetConfigurationCommandOutput) => void): void;
|
|
124
|
+
getConfiguration(args: GetConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfigurationCommandOutput) => void): void;
|
|
117
125
|
/**
|
|
118
126
|
* <p>Retrieves information about the Amazon Inspector delegated administrator for your
|
|
119
127
|
* organization.</p>
|
|
@@ -207,6 +215,12 @@ export declare class Inspector2 extends Inspector2Client {
|
|
|
207
215
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
208
216
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
209
217
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
218
|
+
/**
|
|
219
|
+
* <p>Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.</p>
|
|
220
|
+
*/
|
|
221
|
+
updateConfiguration(args: UpdateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfigurationCommandOutput>;
|
|
222
|
+
updateConfiguration(args: UpdateConfigurationCommandInput, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
|
|
223
|
+
updateConfiguration(args: UpdateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
|
|
210
224
|
/**
|
|
211
225
|
* <p>Specifies the action that is to be applied to the findings that match the filter.</p>
|
|
212
226
|
*/
|
|
@@ -19,6 +19,7 @@ import { DisableDelegatedAdminAccountCommandInput, DisableDelegatedAdminAccountC
|
|
|
19
19
|
import { DisassociateMemberCommandInput, DisassociateMemberCommandOutput } from "./commands/DisassociateMemberCommand";
|
|
20
20
|
import { EnableCommandInput, EnableCommandOutput } from "./commands/EnableCommand";
|
|
21
21
|
import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCommandOutput } from "./commands/EnableDelegatedAdminAccountCommand";
|
|
22
|
+
import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "./commands/GetConfigurationCommand";
|
|
22
23
|
import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "./commands/GetDelegatedAdminAccountCommand";
|
|
23
24
|
import { GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutput } from "./commands/GetFindingsReportStatusCommand";
|
|
24
25
|
import { GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
|
|
@@ -34,10 +35,11 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
34
35
|
import { ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput } from "./commands/ListUsageTotalsCommand";
|
|
35
36
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
36
37
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
38
|
+
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
37
39
|
import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "./commands/UpdateFilterCommand";
|
|
38
40
|
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
39
|
-
export declare type ServiceInputTypes = AssociateMemberCommandInput | BatchGetAccountStatusCommandInput | BatchGetFreeTrialInfoCommandInput | CancelFindingsReportCommandInput | CreateFilterCommandInput | CreateFindingsReportCommandInput | DeleteFilterCommandInput | DescribeOrganizationConfigurationCommandInput | DisableCommandInput | DisableDelegatedAdminAccountCommandInput | DisassociateMemberCommandInput | EnableCommandInput | EnableDelegatedAdminAccountCommandInput | GetDelegatedAdminAccountCommandInput | GetFindingsReportStatusCommandInput | GetMemberCommandInput | ListAccountPermissionsCommandInput | ListCoverageCommandInput | ListCoverageStatisticsCommandInput | ListDelegatedAdminAccountsCommandInput | ListFiltersCommandInput | ListFindingAggregationsCommandInput | ListFindingsCommandInput | ListMembersCommandInput | ListTagsForResourceCommandInput | ListUsageTotalsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFilterCommandInput | UpdateOrganizationConfigurationCommandInput;
|
|
40
|
-
export declare type ServiceOutputTypes = AssociateMemberCommandOutput | BatchGetAccountStatusCommandOutput | BatchGetFreeTrialInfoCommandOutput | CancelFindingsReportCommandOutput | CreateFilterCommandOutput | CreateFindingsReportCommandOutput | DeleteFilterCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableCommandOutput | DisableDelegatedAdminAccountCommandOutput | DisassociateMemberCommandOutput | EnableCommandOutput | EnableDelegatedAdminAccountCommandOutput | GetDelegatedAdminAccountCommandOutput | GetFindingsReportStatusCommandOutput | GetMemberCommandOutput | ListAccountPermissionsCommandOutput | ListCoverageCommandOutput | ListCoverageStatisticsCommandOutput | ListDelegatedAdminAccountsCommandOutput | ListFiltersCommandOutput | ListFindingAggregationsCommandOutput | ListFindingsCommandOutput | ListMembersCommandOutput | ListTagsForResourceCommandOutput | ListUsageTotalsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFilterCommandOutput | UpdateOrganizationConfigurationCommandOutput;
|
|
41
|
+
export declare type ServiceInputTypes = AssociateMemberCommandInput | BatchGetAccountStatusCommandInput | BatchGetFreeTrialInfoCommandInput | CancelFindingsReportCommandInput | CreateFilterCommandInput | CreateFindingsReportCommandInput | DeleteFilterCommandInput | DescribeOrganizationConfigurationCommandInput | DisableCommandInput | DisableDelegatedAdminAccountCommandInput | DisassociateMemberCommandInput | EnableCommandInput | EnableDelegatedAdminAccountCommandInput | GetConfigurationCommandInput | GetDelegatedAdminAccountCommandInput | GetFindingsReportStatusCommandInput | GetMemberCommandInput | ListAccountPermissionsCommandInput | ListCoverageCommandInput | ListCoverageStatisticsCommandInput | ListDelegatedAdminAccountsCommandInput | ListFiltersCommandInput | ListFindingAggregationsCommandInput | ListFindingsCommandInput | ListMembersCommandInput | ListTagsForResourceCommandInput | ListUsageTotalsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConfigurationCommandInput | UpdateFilterCommandInput | UpdateOrganizationConfigurationCommandInput;
|
|
42
|
+
export declare type ServiceOutputTypes = AssociateMemberCommandOutput | BatchGetAccountStatusCommandOutput | BatchGetFreeTrialInfoCommandOutput | CancelFindingsReportCommandOutput | CreateFilterCommandOutput | CreateFindingsReportCommandOutput | DeleteFilterCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableCommandOutput | DisableDelegatedAdminAccountCommandOutput | DisassociateMemberCommandOutput | EnableCommandOutput | EnableDelegatedAdminAccountCommandOutput | GetConfigurationCommandOutput | GetDelegatedAdminAccountCommandOutput | GetFindingsReportStatusCommandOutput | GetMemberCommandOutput | ListAccountPermissionsCommandOutput | ListCoverageCommandOutput | ListCoverageStatisticsCommandOutput | ListDelegatedAdminAccountsCommandOutput | ListFiltersCommandOutput | ListFindingAggregationsCommandOutput | ListFindingsCommandOutput | ListMembersCommandOutput | ListTagsForResourceCommandOutput | ListUsageTotalsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConfigurationCommandOutput | UpdateFilterCommandOutput | UpdateOrganizationConfigurationCommandOutput;
|
|
41
43
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
42
44
|
/**
|
|
43
45
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -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 { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
+
import { GetConfigurationRequest, GetConfigurationResponse } from "../models/models_0";
|
|
5
|
+
export interface GetConfigurationCommandInput extends GetConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetConfigurationCommandOutput extends GetConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves setting configurations for Inspector scans.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { Inspector2Client, GetConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
15
|
+
* // const { Inspector2Client, GetConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
16
|
+
* const client = new Inspector2Client(config);
|
|
17
|
+
* const command = new GetConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetConfigurationCommand extends $Command<GetConfigurationCommandInput, GetConfigurationCommandOutput, Inspector2ClientResolvedConfig> {
|
|
27
|
+
readonly input: GetConfigurationCommandInput;
|
|
28
|
+
constructor(input: GetConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetConfigurationCommandInput, GetConfigurationCommandOutput>;
|
|
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 { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
+
import { UpdateConfigurationRequest, UpdateConfigurationResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateConfigurationCommandInput extends UpdateConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateConfigurationCommandOutput extends UpdateConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { Inspector2Client, UpdateConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
15
|
+
* // const { Inspector2Client, UpdateConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
16
|
+
* const client = new Inspector2Client(config);
|
|
17
|
+
* const command = new UpdateConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateConfigurationCommand extends $Command<UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput, Inspector2ClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateConfigurationCommandInput;
|
|
28
|
+
constructor(input: UpdateConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./DisableDelegatedAdminAccountCommand";
|
|
|
11
11
|
export * from "./DisassociateMemberCommand";
|
|
12
12
|
export * from "./EnableCommand";
|
|
13
13
|
export * from "./EnableDelegatedAdminAccountCommand";
|
|
14
|
+
export * from "./GetConfigurationCommand";
|
|
14
15
|
export * from "./GetDelegatedAdminAccountCommand";
|
|
15
16
|
export * from "./GetFindingsReportStatusCommand";
|
|
16
17
|
export * from "./GetMemberCommand";
|
|
@@ -26,5 +27,6 @@ export * from "./ListTagsForResourceCommand";
|
|
|
26
27
|
export * from "./ListUsageTotalsCommand";
|
|
27
28
|
export * from "./TagResourceCommand";
|
|
28
29
|
export * from "./UntagResourceCommand";
|
|
30
|
+
export * from "./UpdateConfigurationCommand";
|
|
29
31
|
export * from "./UpdateFilterCommand";
|
|
30
32
|
export * from "./UpdateOrganizationConfigurationCommand";
|
|
@@ -154,6 +154,7 @@ export declare namespace AccountAggregationResponse {
|
|
|
154
154
|
}
|
|
155
155
|
export declare enum ErrorCode {
|
|
156
156
|
ACCESS_DENIED = "ACCESS_DENIED",
|
|
157
|
+
ACCOUNT_IS_ISOLATED = "ACCOUNT_IS_ISOLATED",
|
|
157
158
|
ALREADY_ENABLED = "ALREADY_ENABLED",
|
|
158
159
|
DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
|
|
159
160
|
DISASSOCIATE_ALL_MEMBERS = "DISASSOCIATE_ALL_MEMBERS",
|
|
@@ -1695,7 +1696,7 @@ export interface CoverageFilterCriteria {
|
|
|
1695
1696
|
*/
|
|
1696
1697
|
resourceId?: CoverageStringFilter[];
|
|
1697
1698
|
/**
|
|
1698
|
-
* <p>An array of Amazon Web Services resource types to return coverage statistics for
|
|
1699
|
+
* <p>An array of Amazon Web Services resource types to return coverage statistics for. The values can be <code>AWS_EC2_INSTANCE</code> or <code>AWS_ECR_REPOSITORY</code>.</p>
|
|
1699
1700
|
*/
|
|
1700
1701
|
resourceType?: CoverageStringFilter[];
|
|
1701
1702
|
/**
|
|
@@ -1822,6 +1823,7 @@ export declare enum ScanStatusReason {
|
|
|
1822
1823
|
IMAGE_SIZE_EXCEEDED = "IMAGE_SIZE_EXCEEDED",
|
|
1823
1824
|
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
1824
1825
|
NO_RESOURCES_FOUND = "NO_RESOURCES_FOUND",
|
|
1826
|
+
PENDING_DISABLE = "PENDING_DISABLE",
|
|
1825
1827
|
PENDING_INITIAL_SCAN = "PENDING_INITIAL_SCAN",
|
|
1826
1828
|
RESOURCE_TERMINATED = "RESOURCE_TERMINATED",
|
|
1827
1829
|
SCAN_ELIGIBILITY_EXPIRED = "SCAN_ELIGIBILITY_EXPIRED",
|
|
@@ -2147,6 +2149,10 @@ export interface CreateFilterRequest {
|
|
|
2147
2149
|
* <p>A list of tags for the filter.</p>
|
|
2148
2150
|
*/
|
|
2149
2151
|
tags?: Record<string, string>;
|
|
2152
|
+
/**
|
|
2153
|
+
* <p>The reason for creating the filter.</p>
|
|
2154
|
+
*/
|
|
2155
|
+
reason?: string;
|
|
2150
2156
|
}
|
|
2151
2157
|
export declare namespace CreateFilterRequest {
|
|
2152
2158
|
/**
|
|
@@ -2515,6 +2521,69 @@ export declare namespace DisassociateMemberResponse {
|
|
|
2515
2521
|
*/
|
|
2516
2522
|
const filterSensitiveLog: (obj: DisassociateMemberResponse) => any;
|
|
2517
2523
|
}
|
|
2524
|
+
export declare enum EcrRescanDuration {
|
|
2525
|
+
DAYS_180 = "DAYS_180",
|
|
2526
|
+
DAYS_30 = "DAYS_30",
|
|
2527
|
+
LIFETIME = "LIFETIME"
|
|
2528
|
+
}
|
|
2529
|
+
/**
|
|
2530
|
+
* <p>Details about the ECR automated re-scan duration setting for your environment</p>
|
|
2531
|
+
*/
|
|
2532
|
+
export interface EcrConfiguration {
|
|
2533
|
+
/**
|
|
2534
|
+
* <p>The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes <code>inactive</code> and all associated findings are scheduled for closure.</p>
|
|
2535
|
+
*/
|
|
2536
|
+
rescanDuration: EcrRescanDuration | string | undefined;
|
|
2537
|
+
}
|
|
2538
|
+
export declare namespace EcrConfiguration {
|
|
2539
|
+
/**
|
|
2540
|
+
* @internal
|
|
2541
|
+
*/
|
|
2542
|
+
const filterSensitiveLog: (obj: EcrConfiguration) => any;
|
|
2543
|
+
}
|
|
2544
|
+
export declare enum EcrRescanDurationStatus {
|
|
2545
|
+
FAILED = "FAILED",
|
|
2546
|
+
PENDING = "PENDING",
|
|
2547
|
+
SUCCESS = "SUCCESS"
|
|
2548
|
+
}
|
|
2549
|
+
/**
|
|
2550
|
+
* <p>Details about the state of any changes to the ECR automated re-scan duration setting.</p>
|
|
2551
|
+
*/
|
|
2552
|
+
export interface EcrRescanDurationState {
|
|
2553
|
+
/**
|
|
2554
|
+
* <p>The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes <code>inactive</code> and all associated findings are scheduled for closure.</p>
|
|
2555
|
+
*/
|
|
2556
|
+
rescanDuration?: EcrRescanDuration | string;
|
|
2557
|
+
/**
|
|
2558
|
+
* <p>The status of changes to the ECR automated re-scan duration.</p>
|
|
2559
|
+
*/
|
|
2560
|
+
status?: EcrRescanDurationStatus | string;
|
|
2561
|
+
/**
|
|
2562
|
+
* <p>A timestamp representing when the last time the ECR scan duration setting was changed.</p>
|
|
2563
|
+
*/
|
|
2564
|
+
updatedAt?: Date;
|
|
2565
|
+
}
|
|
2566
|
+
export declare namespace EcrRescanDurationState {
|
|
2567
|
+
/**
|
|
2568
|
+
* @internal
|
|
2569
|
+
*/
|
|
2570
|
+
const filterSensitiveLog: (obj: EcrRescanDurationState) => any;
|
|
2571
|
+
}
|
|
2572
|
+
/**
|
|
2573
|
+
* <p>Details about the state of the ECR scans for your environment.</p>
|
|
2574
|
+
*/
|
|
2575
|
+
export interface EcrConfigurationState {
|
|
2576
|
+
/**
|
|
2577
|
+
* <p>An object that contains details about the state of the ECR automated re-scan setting.</p>
|
|
2578
|
+
*/
|
|
2579
|
+
rescanDurationState?: EcrRescanDurationState;
|
|
2580
|
+
}
|
|
2581
|
+
export declare namespace EcrConfigurationState {
|
|
2582
|
+
/**
|
|
2583
|
+
* @internal
|
|
2584
|
+
*/
|
|
2585
|
+
const filterSensitiveLog: (obj: EcrConfigurationState) => any;
|
|
2586
|
+
}
|
|
2518
2587
|
export interface EnableRequest {
|
|
2519
2588
|
/**
|
|
2520
2589
|
* <p>A list of account IDs you want to enable Amazon Inspector scans for.</p>
|
|
@@ -2740,11 +2809,15 @@ export declare enum PackageManager {
|
|
|
2740
2809
|
GOBINARY = "GOBINARY",
|
|
2741
2810
|
GOMOD = "GOMOD",
|
|
2742
2811
|
JAR = "JAR",
|
|
2812
|
+
NODEPKG = "NODEPKG",
|
|
2743
2813
|
NPM = "NPM",
|
|
2744
2814
|
NUGET = "NUGET",
|
|
2745
2815
|
OS = "OS",
|
|
2816
|
+
PIP = "PIP",
|
|
2746
2817
|
PIPENV = "PIPENV",
|
|
2747
2818
|
POETRY = "POETRY",
|
|
2819
|
+
POM = "POM",
|
|
2820
|
+
PYTHONPKG = "PYTHONPKG",
|
|
2748
2821
|
YARN = "YARN"
|
|
2749
2822
|
}
|
|
2750
2823
|
/**
|
|
@@ -3030,6 +3103,26 @@ export declare namespace Finding {
|
|
|
3030
3103
|
*/
|
|
3031
3104
|
const filterSensitiveLog: (obj: Finding) => any;
|
|
3032
3105
|
}
|
|
3106
|
+
export interface GetConfigurationRequest {
|
|
3107
|
+
}
|
|
3108
|
+
export declare namespace GetConfigurationRequest {
|
|
3109
|
+
/**
|
|
3110
|
+
* @internal
|
|
3111
|
+
*/
|
|
3112
|
+
const filterSensitiveLog: (obj: GetConfigurationRequest) => any;
|
|
3113
|
+
}
|
|
3114
|
+
export interface GetConfigurationResponse {
|
|
3115
|
+
/**
|
|
3116
|
+
* <p>Specifies how the ECR automated re-scan duration is currently configured for your environment.</p>
|
|
3117
|
+
*/
|
|
3118
|
+
ecrConfiguration?: EcrConfigurationState;
|
|
3119
|
+
}
|
|
3120
|
+
export declare namespace GetConfigurationResponse {
|
|
3121
|
+
/**
|
|
3122
|
+
* @internal
|
|
3123
|
+
*/
|
|
3124
|
+
const filterSensitiveLog: (obj: GetConfigurationResponse) => any;
|
|
3125
|
+
}
|
|
3033
3126
|
export interface GetDelegatedAdminAccountRequest {
|
|
3034
3127
|
}
|
|
3035
3128
|
export declare namespace GetDelegatedAdminAccountRequest {
|
|
@@ -3063,8 +3156,12 @@ export declare namespace GetFindingsReportStatusRequest {
|
|
|
3063
3156
|
const filterSensitiveLog: (obj: GetFindingsReportStatusRequest) => any;
|
|
3064
3157
|
}
|
|
3065
3158
|
export declare enum ReportingErrorCode {
|
|
3159
|
+
BUCKET_NOT_FOUND = "BUCKET_NOT_FOUND",
|
|
3160
|
+
INCOMPATIBLE_BUCKET_REGION = "INCOMPATIBLE_BUCKET_REGION",
|
|
3066
3161
|
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
3067
|
-
INVALID_PERMISSIONS = "INVALID_PERMISSIONS"
|
|
3162
|
+
INVALID_PERMISSIONS = "INVALID_PERMISSIONS",
|
|
3163
|
+
MALFORMED_KMS_KEY = "MALFORMED_KMS_KEY",
|
|
3164
|
+
NO_FINDINGS_FOUND = "NO_FINDINGS_FOUND"
|
|
3068
3165
|
}
|
|
3069
3166
|
export interface GetFindingsReportStatusResponse {
|
|
3070
3167
|
/**
|
|
@@ -3734,6 +3831,26 @@ export declare namespace UntagResourceResponse {
|
|
|
3734
3831
|
*/
|
|
3735
3832
|
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
3736
3833
|
}
|
|
3834
|
+
export interface UpdateConfigurationRequest {
|
|
3835
|
+
/**
|
|
3836
|
+
* <p>Specifies how the ECR automated re-scan will be updated for your environment.</p>
|
|
3837
|
+
*/
|
|
3838
|
+
ecrConfiguration: EcrConfiguration | undefined;
|
|
3839
|
+
}
|
|
3840
|
+
export declare namespace UpdateConfigurationRequest {
|
|
3841
|
+
/**
|
|
3842
|
+
* @internal
|
|
3843
|
+
*/
|
|
3844
|
+
const filterSensitiveLog: (obj: UpdateConfigurationRequest) => any;
|
|
3845
|
+
}
|
|
3846
|
+
export interface UpdateConfigurationResponse {
|
|
3847
|
+
}
|
|
3848
|
+
export declare namespace UpdateConfigurationResponse {
|
|
3849
|
+
/**
|
|
3850
|
+
* @internal
|
|
3851
|
+
*/
|
|
3852
|
+
const filterSensitiveLog: (obj: UpdateConfigurationResponse) => any;
|
|
3853
|
+
}
|
|
3737
3854
|
export interface UpdateFilterRequest {
|
|
3738
3855
|
/**
|
|
3739
3856
|
* <p>Specifies the action that is to be applied to the findings that match the filter.</p>
|
|
@@ -3755,6 +3872,10 @@ export interface UpdateFilterRequest {
|
|
|
3755
3872
|
* <p>The Amazon Resource Number (ARN) of the filter to update.</p>
|
|
3756
3873
|
*/
|
|
3757
3874
|
filterArn: string | undefined;
|
|
3875
|
+
/**
|
|
3876
|
+
* <p>The reason the filter was updated.</p>
|
|
3877
|
+
*/
|
|
3878
|
+
reason?: string;
|
|
3758
3879
|
}
|
|
3759
3880
|
export declare namespace UpdateFilterRequest {
|
|
3760
3881
|
/**
|
|
@@ -13,6 +13,7 @@ import { DisableDelegatedAdminAccountCommandInput, DisableDelegatedAdminAccountC
|
|
|
13
13
|
import { DisassociateMemberCommandInput, DisassociateMemberCommandOutput } from "../commands/DisassociateMemberCommand";
|
|
14
14
|
import { EnableCommandInput, EnableCommandOutput } from "../commands/EnableCommand";
|
|
15
15
|
import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCommandOutput } from "../commands/EnableDelegatedAdminAccountCommand";
|
|
16
|
+
import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "../commands/GetConfigurationCommand";
|
|
16
17
|
import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "../commands/GetDelegatedAdminAccountCommand";
|
|
17
18
|
import { GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutput } from "../commands/GetFindingsReportStatusCommand";
|
|
18
19
|
import { GetMemberCommandInput, GetMemberCommandOutput } from "../commands/GetMemberCommand";
|
|
@@ -28,6 +29,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
28
29
|
import { ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput } from "../commands/ListUsageTotalsCommand";
|
|
29
30
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
30
31
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
32
|
+
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "../commands/UpdateConfigurationCommand";
|
|
31
33
|
import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "../commands/UpdateFilterCommand";
|
|
32
34
|
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "../commands/UpdateOrganizationConfigurationCommand";
|
|
33
35
|
export declare const serializeAws_restJson1AssociateMemberCommand: (input: AssociateMemberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -43,6 +45,7 @@ export declare const serializeAws_restJson1DisableDelegatedAdminAccountCommand:
|
|
|
43
45
|
export declare const serializeAws_restJson1DisassociateMemberCommand: (input: DisassociateMemberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
46
|
export declare const serializeAws_restJson1EnableCommand: (input: EnableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
45
47
|
export declare const serializeAws_restJson1EnableDelegatedAdminAccountCommand: (input: EnableDelegatedAdminAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
48
|
+
export declare const serializeAws_restJson1GetConfigurationCommand: (input: GetConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
49
|
export declare const serializeAws_restJson1GetDelegatedAdminAccountCommand: (input: GetDelegatedAdminAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
50
|
export declare const serializeAws_restJson1GetFindingsReportStatusCommand: (input: GetFindingsReportStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
48
51
|
export declare const serializeAws_restJson1GetMemberCommand: (input: GetMemberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -58,6 +61,7 @@ export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: L
|
|
|
58
61
|
export declare const serializeAws_restJson1ListUsageTotalsCommand: (input: ListUsageTotalsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
62
|
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
63
|
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
64
|
+
export declare const serializeAws_restJson1UpdateConfigurationCommand: (input: UpdateConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
65
|
export declare const serializeAws_restJson1UpdateFilterCommand: (input: UpdateFilterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
66
|
export declare const serializeAws_restJson1UpdateOrganizationConfigurationCommand: (input: UpdateOrganizationConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
67
|
export declare const deserializeAws_restJson1AssociateMemberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateMemberCommandOutput>;
|
|
@@ -73,6 +77,7 @@ export declare const deserializeAws_restJson1DisableDelegatedAdminAccountCommand
|
|
|
73
77
|
export declare const deserializeAws_restJson1DisassociateMemberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateMemberCommandOutput>;
|
|
74
78
|
export declare const deserializeAws_restJson1EnableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableCommandOutput>;
|
|
75
79
|
export declare const deserializeAws_restJson1EnableDelegatedAdminAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableDelegatedAdminAccountCommandOutput>;
|
|
80
|
+
export declare const deserializeAws_restJson1GetConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConfigurationCommandOutput>;
|
|
76
81
|
export declare const deserializeAws_restJson1GetDelegatedAdminAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDelegatedAdminAccountCommandOutput>;
|
|
77
82
|
export declare const deserializeAws_restJson1GetFindingsReportStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFindingsReportStatusCommandOutput>;
|
|
78
83
|
export declare const deserializeAws_restJson1GetMemberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMemberCommandOutput>;
|
|
@@ -88,5 +93,6 @@ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output
|
|
|
88
93
|
export declare const deserializeAws_restJson1ListUsageTotalsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUsageTotalsCommandOutput>;
|
|
89
94
|
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
90
95
|
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
96
|
+
export declare const deserializeAws_restJson1UpdateConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateConfigurationCommandOutput>;
|
|
91
97
|
export declare const deserializeAws_restJson1UpdateFilterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateFilterCommandOutput>;
|
|
92
98
|
export declare const deserializeAws_restJson1UpdateOrganizationConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateOrganizationConfigurationCommandOutput>;
|
|
@@ -12,6 +12,7 @@ import { DisableDelegatedAdminAccountCommandInput, DisableDelegatedAdminAccountC
|
|
|
12
12
|
import { DisassociateMemberCommandInput, DisassociateMemberCommandOutput } from "./commands/DisassociateMemberCommand";
|
|
13
13
|
import { EnableCommandInput, EnableCommandOutput } from "./commands/EnableCommand";
|
|
14
14
|
import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCommandOutput } from "./commands/EnableDelegatedAdminAccountCommand";
|
|
15
|
+
import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "./commands/GetConfigurationCommand";
|
|
15
16
|
import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "./commands/GetDelegatedAdminAccountCommand";
|
|
16
17
|
import { GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutput } from "./commands/GetFindingsReportStatusCommand";
|
|
17
18
|
import { GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
|
|
@@ -27,6 +28,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
27
28
|
import { ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput } from "./commands/ListUsageTotalsCommand";
|
|
28
29
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
29
30
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
31
|
+
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
30
32
|
import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "./commands/UpdateFilterCommand";
|
|
31
33
|
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
32
34
|
import { Inspector2Client } from "./Inspector2Client";
|
|
@@ -85,6 +87,10 @@ export declare class Inspector2 extends Inspector2Client {
|
|
|
85
87
|
enableDelegatedAdminAccount(args: EnableDelegatedAdminAccountCommandInput, cb: (err: any, data?: EnableDelegatedAdminAccountCommandOutput) => void): void;
|
|
86
88
|
enableDelegatedAdminAccount(args: EnableDelegatedAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableDelegatedAdminAccountCommandOutput) => void): void;
|
|
87
89
|
|
|
90
|
+
getConfiguration(args: GetConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigurationCommandOutput>;
|
|
91
|
+
getConfiguration(args: GetConfigurationCommandInput, cb: (err: any, data?: GetConfigurationCommandOutput) => void): void;
|
|
92
|
+
getConfiguration(args: GetConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfigurationCommandOutput) => void): void;
|
|
93
|
+
|
|
88
94
|
getDelegatedAdminAccount(args: GetDelegatedAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<GetDelegatedAdminAccountCommandOutput>;
|
|
89
95
|
getDelegatedAdminAccount(args: GetDelegatedAdminAccountCommandInput, cb: (err: any, data?: GetDelegatedAdminAccountCommandOutput) => void): void;
|
|
90
96
|
getDelegatedAdminAccount(args: GetDelegatedAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDelegatedAdminAccountCommandOutput) => void): void;
|
|
@@ -145,6 +151,10 @@ export declare class Inspector2 extends Inspector2Client {
|
|
|
145
151
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
146
152
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
147
153
|
|
|
154
|
+
updateConfiguration(args: UpdateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfigurationCommandOutput>;
|
|
155
|
+
updateConfiguration(args: UpdateConfigurationCommandInput, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
|
|
156
|
+
updateConfiguration(args: UpdateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
|
|
157
|
+
|
|
148
158
|
updateFilter(args: UpdateFilterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFilterCommandOutput>;
|
|
149
159
|
updateFilter(args: UpdateFilterCommandInput, cb: (err: any, data?: UpdateFilterCommandOutput) => void): void;
|
|
150
160
|
updateFilter(args: UpdateFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFilterCommandOutput) => void): void;
|
|
@@ -19,6 +19,7 @@ import { DisableDelegatedAdminAccountCommandInput, DisableDelegatedAdminAccountC
|
|
|
19
19
|
import { DisassociateMemberCommandInput, DisassociateMemberCommandOutput } from "./commands/DisassociateMemberCommand";
|
|
20
20
|
import { EnableCommandInput, EnableCommandOutput } from "./commands/EnableCommand";
|
|
21
21
|
import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCommandOutput } from "./commands/EnableDelegatedAdminAccountCommand";
|
|
22
|
+
import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "./commands/GetConfigurationCommand";
|
|
22
23
|
import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "./commands/GetDelegatedAdminAccountCommand";
|
|
23
24
|
import { GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutput } from "./commands/GetFindingsReportStatusCommand";
|
|
24
25
|
import { GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
|
|
@@ -34,10 +35,11 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
34
35
|
import { ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput } from "./commands/ListUsageTotalsCommand";
|
|
35
36
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
36
37
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
38
|
+
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
37
39
|
import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "./commands/UpdateFilterCommand";
|
|
38
40
|
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
39
|
-
export declare type ServiceInputTypes = AssociateMemberCommandInput | BatchGetAccountStatusCommandInput | BatchGetFreeTrialInfoCommandInput | CancelFindingsReportCommandInput | CreateFilterCommandInput | CreateFindingsReportCommandInput | DeleteFilterCommandInput | DescribeOrganizationConfigurationCommandInput | DisableCommandInput | DisableDelegatedAdminAccountCommandInput | DisassociateMemberCommandInput | EnableCommandInput | EnableDelegatedAdminAccountCommandInput | GetDelegatedAdminAccountCommandInput | GetFindingsReportStatusCommandInput | GetMemberCommandInput | ListAccountPermissionsCommandInput | ListCoverageCommandInput | ListCoverageStatisticsCommandInput | ListDelegatedAdminAccountsCommandInput | ListFiltersCommandInput | ListFindingAggregationsCommandInput | ListFindingsCommandInput | ListMembersCommandInput | ListTagsForResourceCommandInput | ListUsageTotalsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFilterCommandInput | UpdateOrganizationConfigurationCommandInput;
|
|
40
|
-
export declare type ServiceOutputTypes = AssociateMemberCommandOutput | BatchGetAccountStatusCommandOutput | BatchGetFreeTrialInfoCommandOutput | CancelFindingsReportCommandOutput | CreateFilterCommandOutput | CreateFindingsReportCommandOutput | DeleteFilterCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableCommandOutput | DisableDelegatedAdminAccountCommandOutput | DisassociateMemberCommandOutput | EnableCommandOutput | EnableDelegatedAdminAccountCommandOutput | GetDelegatedAdminAccountCommandOutput | GetFindingsReportStatusCommandOutput | GetMemberCommandOutput | ListAccountPermissionsCommandOutput | ListCoverageCommandOutput | ListCoverageStatisticsCommandOutput | ListDelegatedAdminAccountsCommandOutput | ListFiltersCommandOutput | ListFindingAggregationsCommandOutput | ListFindingsCommandOutput | ListMembersCommandOutput | ListTagsForResourceCommandOutput | ListUsageTotalsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFilterCommandOutput | UpdateOrganizationConfigurationCommandOutput;
|
|
41
|
+
export declare type ServiceInputTypes = AssociateMemberCommandInput | BatchGetAccountStatusCommandInput | BatchGetFreeTrialInfoCommandInput | CancelFindingsReportCommandInput | CreateFilterCommandInput | CreateFindingsReportCommandInput | DeleteFilterCommandInput | DescribeOrganizationConfigurationCommandInput | DisableCommandInput | DisableDelegatedAdminAccountCommandInput | DisassociateMemberCommandInput | EnableCommandInput | EnableDelegatedAdminAccountCommandInput | GetConfigurationCommandInput | GetDelegatedAdminAccountCommandInput | GetFindingsReportStatusCommandInput | GetMemberCommandInput | ListAccountPermissionsCommandInput | ListCoverageCommandInput | ListCoverageStatisticsCommandInput | ListDelegatedAdminAccountsCommandInput | ListFiltersCommandInput | ListFindingAggregationsCommandInput | ListFindingsCommandInput | ListMembersCommandInput | ListTagsForResourceCommandInput | ListUsageTotalsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConfigurationCommandInput | UpdateFilterCommandInput | UpdateOrganizationConfigurationCommandInput;
|
|
42
|
+
export declare type ServiceOutputTypes = AssociateMemberCommandOutput | BatchGetAccountStatusCommandOutput | BatchGetFreeTrialInfoCommandOutput | CancelFindingsReportCommandOutput | CreateFilterCommandOutput | CreateFindingsReportCommandOutput | DeleteFilterCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableCommandOutput | DisableDelegatedAdminAccountCommandOutput | DisassociateMemberCommandOutput | EnableCommandOutput | EnableDelegatedAdminAccountCommandOutput | GetConfigurationCommandOutput | GetDelegatedAdminAccountCommandOutput | GetFindingsReportStatusCommandOutput | GetMemberCommandOutput | ListAccountPermissionsCommandOutput | ListCoverageCommandOutput | ListCoverageStatisticsCommandOutput | ListDelegatedAdminAccountsCommandOutput | ListFiltersCommandOutput | ListFindingAggregationsCommandOutput | ListFindingsCommandOutput | ListMembersCommandOutput | ListTagsForResourceCommandOutput | ListUsageTotalsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConfigurationCommandOutput | UpdateFilterCommandOutput | UpdateOrganizationConfigurationCommandOutput;
|
|
41
43
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
42
44
|
|
|
43
45
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
+
import { GetConfigurationRequest, GetConfigurationResponse } from "../models/models_0";
|
|
5
|
+
export interface GetConfigurationCommandInput extends GetConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetConfigurationCommandOutput extends GetConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetConfigurationCommand extends $Command<GetConfigurationCommandInput, GetConfigurationCommandOutput, Inspector2ClientResolvedConfig> {
|
|
11
|
+
readonly input: GetConfigurationCommandInput;
|
|
12
|
+
constructor(input: GetConfigurationCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetConfigurationCommandInput, GetConfigurationCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
+
import { UpdateConfigurationRequest, UpdateConfigurationResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateConfigurationCommandInput extends UpdateConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateConfigurationCommandOutput extends UpdateConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class UpdateConfigurationCommand extends $Command<UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput, Inspector2ClientResolvedConfig> {
|
|
11
|
+
readonly input: UpdateConfigurationCommandInput;
|
|
12
|
+
constructor(input: UpdateConfigurationCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./DisableDelegatedAdminAccountCommand";
|
|
|
11
11
|
export * from "./DisassociateMemberCommand";
|
|
12
12
|
export * from "./EnableCommand";
|
|
13
13
|
export * from "./EnableDelegatedAdminAccountCommand";
|
|
14
|
+
export * from "./GetConfigurationCommand";
|
|
14
15
|
export * from "./GetDelegatedAdminAccountCommand";
|
|
15
16
|
export * from "./GetFindingsReportStatusCommand";
|
|
16
17
|
export * from "./GetMemberCommand";
|
|
@@ -26,5 +27,6 @@ export * from "./ListTagsForResourceCommand";
|
|
|
26
27
|
export * from "./ListUsageTotalsCommand";
|
|
27
28
|
export * from "./TagResourceCommand";
|
|
28
29
|
export * from "./UntagResourceCommand";
|
|
30
|
+
export * from "./UpdateConfigurationCommand";
|
|
29
31
|
export * from "./UpdateFilterCommand";
|
|
30
32
|
export * from "./UpdateOrganizationConfigurationCommand";
|