@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.
@@ -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.121.0",
4
+ "version": "3.130.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,35 +18,35 @@
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.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.130.0",
22
+ "@aws-sdk/config-resolver": "3.130.0",
23
+ "@aws-sdk/credential-provider-node": "3.130.0",
24
+ "@aws-sdk/fetch-http-handler": "3.127.0",
25
+ "@aws-sdk/hash-node": "3.127.0",
26
+ "@aws-sdk/invalid-dependency": "3.127.0",
27
+ "@aws-sdk/middleware-content-length": "3.127.0",
28
+ "@aws-sdk/middleware-host-header": "3.127.0",
29
+ "@aws-sdk/middleware-logger": "3.127.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
+ "@aws-sdk/middleware-retry": "3.127.0",
32
+ "@aws-sdk/middleware-serde": "3.127.0",
33
+ "@aws-sdk/middleware-signing": "3.130.0",
34
+ "@aws-sdk/middleware-stack": "3.127.0",
35
+ "@aws-sdk/middleware-user-agent": "3.127.0",
36
+ "@aws-sdk/node-config-provider": "3.127.0",
37
+ "@aws-sdk/node-http-handler": "3.127.0",
38
+ "@aws-sdk/protocol-http": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.127.0",
40
+ "@aws-sdk/types": "3.127.0",
41
+ "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.130.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
49
+ "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1",