@aws-sdk/client-inspector2 3.99.0 → 3.109.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
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-inspector2
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-inspector2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-inspector2
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class Inspector2Client extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var Inspector2Client = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -820,9 +820,7 @@ export interface Ec2InstanceAggregationResponse {
|
|
|
820
820
|
/**
|
|
821
821
|
* <p>The tags attached to the instance.</p>
|
|
822
822
|
*/
|
|
823
|
-
instanceTags?:
|
|
824
|
-
[key: string]: string;
|
|
825
|
-
};
|
|
823
|
+
instanceTags?: Record<string, string>;
|
|
826
824
|
/**
|
|
827
825
|
* <p>The Amazon Web Services account the Amazon EC2 instance belongs to.</p>
|
|
828
826
|
*/
|
|
@@ -1740,9 +1738,7 @@ export interface Ec2Metadata {
|
|
|
1740
1738
|
/**
|
|
1741
1739
|
* <p>The tags attached to the instance.</p>
|
|
1742
1740
|
*/
|
|
1743
|
-
tags?:
|
|
1744
|
-
[key: string]: string;
|
|
1745
|
-
};
|
|
1741
|
+
tags?: Record<string, string>;
|
|
1746
1742
|
/**
|
|
1747
1743
|
* <p>The ID of the Amazon Machine Image (AMI) used to launch the instance.</p>
|
|
1748
1744
|
*/
|
|
@@ -2150,9 +2146,7 @@ export interface CreateFilterRequest {
|
|
|
2150
2146
|
/**
|
|
2151
2147
|
* <p>A list of tags for the filter.</p>
|
|
2152
2148
|
*/
|
|
2153
|
-
tags?:
|
|
2154
|
-
[key: string]: string;
|
|
2155
|
-
};
|
|
2149
|
+
tags?: Record<string, string>;
|
|
2156
2150
|
}
|
|
2157
2151
|
export declare namespace CreateFilterRequest {
|
|
2158
2152
|
/**
|
|
@@ -2636,9 +2630,7 @@ export interface Filter {
|
|
|
2636
2630
|
/**
|
|
2637
2631
|
* <p>The tags attached to the filter.</p>
|
|
2638
2632
|
*/
|
|
2639
|
-
tags?:
|
|
2640
|
-
[key: string]: string;
|
|
2641
|
-
};
|
|
2633
|
+
tags?: Record<string, string>;
|
|
2642
2634
|
}
|
|
2643
2635
|
export declare namespace Filter {
|
|
2644
2636
|
/**
|
|
@@ -2934,9 +2926,7 @@ export interface Resource {
|
|
|
2934
2926
|
/**
|
|
2935
2927
|
* <p>The tags attached to the resource.</p>
|
|
2936
2928
|
*/
|
|
2937
|
-
tags?:
|
|
2938
|
-
[key: string]: string;
|
|
2939
|
-
};
|
|
2929
|
+
tags?: Record<string, string>;
|
|
2940
2930
|
/**
|
|
2941
2931
|
* <p>An object that contains details about the resource involved in a finding.</p>
|
|
2942
2932
|
*/
|
|
@@ -3598,9 +3588,7 @@ export interface ListTagsForResourceResponse {
|
|
|
3598
3588
|
/**
|
|
3599
3589
|
* <p>The tags associated with the resource.</p>
|
|
3600
3590
|
*/
|
|
3601
|
-
tags?:
|
|
3602
|
-
[key: string]: string;
|
|
3603
|
-
};
|
|
3591
|
+
tags?: Record<string, string>;
|
|
3604
3592
|
}
|
|
3605
3593
|
export declare namespace ListTagsForResourceResponse {
|
|
3606
3594
|
/**
|
|
@@ -3706,9 +3694,7 @@ export interface TagResourceRequest {
|
|
|
3706
3694
|
/**
|
|
3707
3695
|
* <p>The tags to be added to a resource.</p>
|
|
3708
3696
|
*/
|
|
3709
|
-
tags:
|
|
3710
|
-
[key: string]: string;
|
|
3711
|
-
} | undefined;
|
|
3697
|
+
tags: Record<string, string> | undefined;
|
|
3712
3698
|
}
|
|
3713
3699
|
export declare namespace TagResourceRequest {
|
|
3714
3700
|
/**
|
|
@@ -548,9 +548,7 @@ export interface Ec2InstanceAggregationResponse {
|
|
|
548
548
|
|
|
549
549
|
operatingSystem?: string;
|
|
550
550
|
|
|
551
|
-
instanceTags?:
|
|
552
|
-
[key: string]: string;
|
|
553
|
-
};
|
|
551
|
+
instanceTags?: Record<string, string>;
|
|
554
552
|
|
|
555
553
|
accountId?: string;
|
|
556
554
|
|
|
@@ -1148,9 +1146,7 @@ export declare enum Ec2Platform {
|
|
|
1148
1146
|
|
|
1149
1147
|
export interface Ec2Metadata {
|
|
1150
1148
|
|
|
1151
|
-
tags?:
|
|
1152
|
-
[key: string]: string;
|
|
1153
|
-
};
|
|
1149
|
+
tags?: Record<string, string>;
|
|
1154
1150
|
|
|
1155
1151
|
amiId?: string;
|
|
1156
1152
|
|
|
@@ -1386,9 +1382,7 @@ export interface CreateFilterRequest {
|
|
|
1386
1382
|
|
|
1387
1383
|
name: string | undefined;
|
|
1388
1384
|
|
|
1389
|
-
tags?:
|
|
1390
|
-
[key: string]: string;
|
|
1391
|
-
};
|
|
1385
|
+
tags?: Record<string, string>;
|
|
1392
1386
|
}
|
|
1393
1387
|
export declare namespace CreateFilterRequest {
|
|
1394
1388
|
|
|
@@ -1691,9 +1685,7 @@ export interface Filter {
|
|
|
1691
1685
|
|
|
1692
1686
|
reason?: string;
|
|
1693
1687
|
|
|
1694
|
-
tags?:
|
|
1695
|
-
[key: string]: string;
|
|
1696
|
-
};
|
|
1688
|
+
tags?: Record<string, string>;
|
|
1697
1689
|
}
|
|
1698
1690
|
export declare namespace Filter {
|
|
1699
1691
|
|
|
@@ -1869,9 +1861,7 @@ export interface Resource {
|
|
|
1869
1861
|
|
|
1870
1862
|
region?: string;
|
|
1871
1863
|
|
|
1872
|
-
tags?:
|
|
1873
|
-
[key: string]: string;
|
|
1874
|
-
};
|
|
1864
|
+
tags?: Record<string, string>;
|
|
1875
1865
|
|
|
1876
1866
|
details?: ResourceDetails;
|
|
1877
1867
|
}
|
|
@@ -2256,9 +2246,7 @@ export declare namespace ListTagsForResourceRequest {
|
|
|
2256
2246
|
}
|
|
2257
2247
|
export interface ListTagsForResourceResponse {
|
|
2258
2248
|
|
|
2259
|
-
tags?:
|
|
2260
|
-
[key: string]: string;
|
|
2261
|
-
};
|
|
2249
|
+
tags?: Record<string, string>;
|
|
2262
2250
|
}
|
|
2263
2251
|
export declare namespace ListTagsForResourceResponse {
|
|
2264
2252
|
|
|
@@ -2321,9 +2309,7 @@ export interface TagResourceRequest {
|
|
|
2321
2309
|
|
|
2322
2310
|
resourceArn: string | undefined;
|
|
2323
2311
|
|
|
2324
|
-
tags:
|
|
2325
|
-
[key: string]: string;
|
|
2326
|
-
} | undefined;
|
|
2312
|
+
tags: Record<string, string> | undefined;
|
|
2327
2313
|
}
|
|
2328
2314
|
export declare namespace TagResourceRequest {
|
|
2329
2315
|
|
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.109.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,36 +18,37 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-
|
|
31
|
-
"@aws-sdk/middleware-
|
|
32
|
-
"@aws-sdk/middleware-
|
|
33
|
-
"@aws-sdk/middleware-
|
|
34
|
-
"@aws-sdk/middleware-
|
|
35
|
-
"@aws-sdk/
|
|
36
|
-
"@aws-sdk/node-
|
|
37
|
-
"@aws-sdk/
|
|
38
|
-
"@aws-sdk/
|
|
39
|
-
"@aws-sdk/
|
|
40
|
-
"@aws-sdk/
|
|
41
|
-
"@aws-sdk/
|
|
21
|
+
"@aws-sdk/client-sts": "3.109.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.109.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.109.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.109.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.109.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.109.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.109.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.109.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.109.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.109.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.109.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.109.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.109.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.109.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.109.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.109.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.109.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.109.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.109.0",
|
|
40
|
+
"@aws-sdk/types": "3.109.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.109.0",
|
|
42
|
+
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
42
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.109.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.109.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.109.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.109.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
51
52
|
"tslib": "^2.3.1",
|
|
52
53
|
"uuid": "^8.3.2"
|
|
53
54
|
},
|