@aws-sdk/client-inspector2 3.127.0 → 3.131.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 +155 -2
- 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 +202 -4
- 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 +7 -7
|
@@ -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";
|
|
@@ -99,6 +99,7 @@ export declare namespace AccountAggregationResponse {
|
|
|
99
99
|
}
|
|
100
100
|
export declare enum ErrorCode {
|
|
101
101
|
ACCESS_DENIED = "ACCESS_DENIED",
|
|
102
|
+
ACCOUNT_IS_ISOLATED = "ACCOUNT_IS_ISOLATED",
|
|
102
103
|
ALREADY_ENABLED = "ALREADY_ENABLED",
|
|
103
104
|
DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
|
|
104
105
|
DISASSOCIATE_ALL_MEMBERS = "DISASSOCIATE_ALL_MEMBERS",
|
|
@@ -1200,6 +1201,7 @@ export declare enum ScanStatusReason {
|
|
|
1200
1201
|
IMAGE_SIZE_EXCEEDED = "IMAGE_SIZE_EXCEEDED",
|
|
1201
1202
|
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
1202
1203
|
NO_RESOURCES_FOUND = "NO_RESOURCES_FOUND",
|
|
1204
|
+
PENDING_DISABLE = "PENDING_DISABLE",
|
|
1203
1205
|
PENDING_INITIAL_SCAN = "PENDING_INITIAL_SCAN",
|
|
1204
1206
|
RESOURCE_TERMINATED = "RESOURCE_TERMINATED",
|
|
1205
1207
|
SCAN_ELIGIBILITY_EXPIRED = "SCAN_ELIGIBILITY_EXPIRED",
|
|
@@ -1383,6 +1385,8 @@ export interface CreateFilterRequest {
|
|
|
1383
1385
|
name: string | undefined;
|
|
1384
1386
|
|
|
1385
1387
|
tags?: Record<string, string>;
|
|
1388
|
+
|
|
1389
|
+
reason?: string;
|
|
1386
1390
|
}
|
|
1387
1391
|
export declare namespace CreateFilterRequest {
|
|
1388
1392
|
|
|
@@ -1618,6 +1622,47 @@ export declare namespace DisassociateMemberResponse {
|
|
|
1618
1622
|
|
|
1619
1623
|
const filterSensitiveLog: (obj: DisassociateMemberResponse) => any;
|
|
1620
1624
|
}
|
|
1625
|
+
export declare enum EcrRescanDuration {
|
|
1626
|
+
DAYS_180 = "DAYS_180",
|
|
1627
|
+
DAYS_30 = "DAYS_30",
|
|
1628
|
+
LIFETIME = "LIFETIME"
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
export interface EcrConfiguration {
|
|
1632
|
+
|
|
1633
|
+
rescanDuration: EcrRescanDuration | string | undefined;
|
|
1634
|
+
}
|
|
1635
|
+
export declare namespace EcrConfiguration {
|
|
1636
|
+
|
|
1637
|
+
const filterSensitiveLog: (obj: EcrConfiguration) => any;
|
|
1638
|
+
}
|
|
1639
|
+
export declare enum EcrRescanDurationStatus {
|
|
1640
|
+
FAILED = "FAILED",
|
|
1641
|
+
PENDING = "PENDING",
|
|
1642
|
+
SUCCESS = "SUCCESS"
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
export interface EcrRescanDurationState {
|
|
1646
|
+
|
|
1647
|
+
rescanDuration?: EcrRescanDuration | string;
|
|
1648
|
+
|
|
1649
|
+
status?: EcrRescanDurationStatus | string;
|
|
1650
|
+
|
|
1651
|
+
updatedAt?: Date;
|
|
1652
|
+
}
|
|
1653
|
+
export declare namespace EcrRescanDurationState {
|
|
1654
|
+
|
|
1655
|
+
const filterSensitiveLog: (obj: EcrRescanDurationState) => any;
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
export interface EcrConfigurationState {
|
|
1659
|
+
|
|
1660
|
+
rescanDurationState?: EcrRescanDurationState;
|
|
1661
|
+
}
|
|
1662
|
+
export declare namespace EcrConfigurationState {
|
|
1663
|
+
|
|
1664
|
+
const filterSensitiveLog: (obj: EcrConfigurationState) => any;
|
|
1665
|
+
}
|
|
1621
1666
|
export interface EnableRequest {
|
|
1622
1667
|
|
|
1623
1668
|
accountIds?: string[];
|
|
@@ -1755,11 +1800,15 @@ export declare enum PackageManager {
|
|
|
1755
1800
|
GOBINARY = "GOBINARY",
|
|
1756
1801
|
GOMOD = "GOMOD",
|
|
1757
1802
|
JAR = "JAR",
|
|
1803
|
+
NODEPKG = "NODEPKG",
|
|
1758
1804
|
NPM = "NPM",
|
|
1759
1805
|
NUGET = "NUGET",
|
|
1760
1806
|
OS = "OS",
|
|
1807
|
+
PIP = "PIP",
|
|
1761
1808
|
PIPENV = "PIPENV",
|
|
1762
1809
|
POETRY = "POETRY",
|
|
1810
|
+
POM = "POM",
|
|
1811
|
+
PYTHONPKG = "PYTHONPKG",
|
|
1763
1812
|
YARN = "YARN"
|
|
1764
1813
|
}
|
|
1765
1814
|
|
|
@@ -1925,6 +1974,20 @@ export declare namespace Finding {
|
|
|
1925
1974
|
|
|
1926
1975
|
const filterSensitiveLog: (obj: Finding) => any;
|
|
1927
1976
|
}
|
|
1977
|
+
export interface GetConfigurationRequest {
|
|
1978
|
+
}
|
|
1979
|
+
export declare namespace GetConfigurationRequest {
|
|
1980
|
+
|
|
1981
|
+
const filterSensitiveLog: (obj: GetConfigurationRequest) => any;
|
|
1982
|
+
}
|
|
1983
|
+
export interface GetConfigurationResponse {
|
|
1984
|
+
|
|
1985
|
+
ecrConfiguration?: EcrConfigurationState;
|
|
1986
|
+
}
|
|
1987
|
+
export declare namespace GetConfigurationResponse {
|
|
1988
|
+
|
|
1989
|
+
const filterSensitiveLog: (obj: GetConfigurationResponse) => any;
|
|
1990
|
+
}
|
|
1928
1991
|
export interface GetDelegatedAdminAccountRequest {
|
|
1929
1992
|
}
|
|
1930
1993
|
export declare namespace GetDelegatedAdminAccountRequest {
|
|
@@ -1948,8 +2011,12 @@ export declare namespace GetFindingsReportStatusRequest {
|
|
|
1948
2011
|
const filterSensitiveLog: (obj: GetFindingsReportStatusRequest) => any;
|
|
1949
2012
|
}
|
|
1950
2013
|
export declare enum ReportingErrorCode {
|
|
2014
|
+
BUCKET_NOT_FOUND = "BUCKET_NOT_FOUND",
|
|
2015
|
+
INCOMPATIBLE_BUCKET_REGION = "INCOMPATIBLE_BUCKET_REGION",
|
|
1951
2016
|
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
1952
|
-
INVALID_PERMISSIONS = "INVALID_PERMISSIONS"
|
|
2017
|
+
INVALID_PERMISSIONS = "INVALID_PERMISSIONS",
|
|
2018
|
+
MALFORMED_KMS_KEY = "MALFORMED_KMS_KEY",
|
|
2019
|
+
NO_FINDINGS_FOUND = "NO_FINDINGS_FOUND"
|
|
1953
2020
|
}
|
|
1954
2021
|
export interface GetFindingsReportStatusResponse {
|
|
1955
2022
|
|
|
@@ -2337,6 +2404,20 @@ export declare namespace UntagResourceResponse {
|
|
|
2337
2404
|
|
|
2338
2405
|
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
2339
2406
|
}
|
|
2407
|
+
export interface UpdateConfigurationRequest {
|
|
2408
|
+
|
|
2409
|
+
ecrConfiguration: EcrConfiguration | undefined;
|
|
2410
|
+
}
|
|
2411
|
+
export declare namespace UpdateConfigurationRequest {
|
|
2412
|
+
|
|
2413
|
+
const filterSensitiveLog: (obj: UpdateConfigurationRequest) => any;
|
|
2414
|
+
}
|
|
2415
|
+
export interface UpdateConfigurationResponse {
|
|
2416
|
+
}
|
|
2417
|
+
export declare namespace UpdateConfigurationResponse {
|
|
2418
|
+
|
|
2419
|
+
const filterSensitiveLog: (obj: UpdateConfigurationResponse) => any;
|
|
2420
|
+
}
|
|
2340
2421
|
export interface UpdateFilterRequest {
|
|
2341
2422
|
|
|
2342
2423
|
action?: FilterAction | string;
|
|
@@ -2348,6 +2429,8 @@ export interface UpdateFilterRequest {
|
|
|
2348
2429
|
name?: string;
|
|
2349
2430
|
|
|
2350
2431
|
filterArn: string | undefined;
|
|
2432
|
+
|
|
2433
|
+
reason?: string;
|
|
2351
2434
|
}
|
|
2352
2435
|
export declare namespace UpdateFilterRequest {
|
|
2353
2436
|
|
|
@@ -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>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.131.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.131.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.131.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
31
|
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
46
|
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.130.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|