@aws-sdk/client-inspector2 3.100.0 → 3.110.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.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-inspector2
9
+
10
+
11
+
12
+
13
+
14
+ # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-inspector2
17
+
18
+
19
+
20
+
21
+
22
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
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.100.0",
4
+ "version": "3.110.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.100.0",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-retry": "3.80.0",
31
- "@aws-sdk/middleware-serde": "3.78.0",
32
- "@aws-sdk/middleware-signing": "3.78.0",
33
- "@aws-sdk/middleware-stack": "3.78.0",
34
- "@aws-sdk/middleware-user-agent": "3.78.0",
35
- "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.94.0",
37
- "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.99.0",
39
- "@aws-sdk/types": "3.78.0",
40
- "@aws-sdk/url-parser": "3.78.0",
41
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.110.0",
22
+ "@aws-sdk/config-resolver": "3.110.0",
23
+ "@aws-sdk/credential-provider-node": "3.110.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.110.0",
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.110.0",
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",
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.99.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
- "@aws-sdk/util-user-agent-browser": "3.78.0",
48
- "@aws-sdk/util-user-agent-node": "3.80.0",
49
- "@aws-sdk/util-utf8-browser": "3.55.0",
50
- "@aws-sdk/util-utf8-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.110.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
  },