@aws-sdk/client-guardduty 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-guardduty
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-guardduty
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-guardduty
@@ -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 GuardDutyClient 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 GuardDutyClient = (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;
@@ -949,9 +949,7 @@ export interface CreateDetectorRequest {
949
949
  /**
950
950
  * <p>The tags to be added to a new detector resource.</p>
951
951
  */
952
- Tags?: {
953
- [key: string]: string;
954
- };
952
+ Tags?: Record<string, string>;
955
953
  }
956
954
  export declare namespace CreateDetectorRequest {
957
955
  /**
@@ -983,9 +981,7 @@ export interface FindingCriteria {
983
981
  * <p>Represents a map of finding properties that match specified conditions and values when
984
982
  * querying findings.</p>
985
983
  */
986
- Criterion?: {
987
- [key: string]: Condition;
988
- };
984
+ Criterion?: Record<string, Condition>;
989
985
  }
990
986
  export declare namespace FindingCriteria {
991
987
  /**
@@ -1206,9 +1202,7 @@ export interface CreateFilterRequest {
1206
1202
  /**
1207
1203
  * <p>The tags to be added to a new filter resource.</p>
1208
1204
  */
1209
- Tags?: {
1210
- [key: string]: string;
1211
- };
1205
+ Tags?: Record<string, string>;
1212
1206
  }
1213
1207
  export declare namespace CreateFilterRequest {
1214
1208
  /**
@@ -1267,9 +1261,7 @@ export interface CreateIPSetRequest {
1267
1261
  /**
1268
1262
  * <p>The tags to be added to a new IP set resource.</p>
1269
1263
  */
1270
- Tags?: {
1271
- [key: string]: string;
1272
- };
1264
+ Tags?: Record<string, string>;
1273
1265
  }
1274
1266
  export declare namespace CreateIPSetRequest {
1275
1267
  /**
@@ -1466,9 +1458,7 @@ export interface CreateThreatIntelSetRequest {
1466
1458
  /**
1467
1459
  * <p>The tags to be added to a new threat list resource.</p>
1468
1460
  */
1469
- Tags?: {
1470
- [key: string]: string;
1471
- };
1461
+ Tags?: Record<string, string>;
1472
1462
  }
1473
1463
  export declare namespace CreateThreatIntelSetRequest {
1474
1464
  /**
@@ -2773,9 +2763,7 @@ export interface FindingStatistics {
2773
2763
  /**
2774
2764
  * <p>Represents a map of severity to count statistics for a set of findings.</p>
2775
2765
  */
2776
- CountBySeverity?: {
2777
- [key: string]: number;
2778
- };
2766
+ CountBySeverity?: Record<string, number>;
2779
2767
  }
2780
2768
  export declare namespace FindingStatistics {
2781
2769
  /**
@@ -2826,9 +2814,7 @@ export interface GetDetectorResponse {
2826
2814
  /**
2827
2815
  * <p>The tags of the detector resource.</p>
2828
2816
  */
2829
- Tags?: {
2830
- [key: string]: string;
2831
- };
2817
+ Tags?: Record<string, string>;
2832
2818
  }
2833
2819
  export declare namespace GetDetectorResponse {
2834
2820
  /**
@@ -2877,9 +2863,7 @@ export interface GetFilterResponse {
2877
2863
  /**
2878
2864
  * <p>The tags of the filter resource.</p>
2879
2865
  */
2880
- Tags?: {
2881
- [key: string]: string;
2882
- };
2866
+ Tags?: Record<string, string>;
2883
2867
  }
2884
2868
  export declare namespace GetFilterResponse {
2885
2869
  /**
@@ -3041,9 +3025,7 @@ export interface GetIPSetResponse {
3041
3025
  /**
3042
3026
  * <p>The tags of the IPSet resource.</p>
3043
3027
  */
3044
- Tags?: {
3045
- [key: string]: string;
3046
- };
3028
+ Tags?: Record<string, string>;
3047
3029
  }
3048
3030
  export declare namespace GetIPSetResponse {
3049
3031
  /**
@@ -3273,9 +3255,7 @@ export interface GetThreatIntelSetResponse {
3273
3255
  /**
3274
3256
  * <p>The tags of the threat list resource.</p>
3275
3257
  */
3276
- Tags?: {
3277
- [key: string]: string;
3278
- };
3258
+ Tags?: Record<string, string>;
3279
3259
  }
3280
3260
  export declare namespace GetThreatIntelSetResponse {
3281
3261
  /**
@@ -4039,9 +4019,7 @@ export interface ListTagsForResourceResponse {
4039
4019
  /**
4040
4020
  * <p>The tags associated with the resource.</p>
4041
4021
  */
4042
- Tags?: {
4043
- [key: string]: string;
4044
- };
4022
+ Tags?: Record<string, string>;
4045
4023
  }
4046
4024
  export declare namespace ListTagsForResourceResponse {
4047
4025
  /**
@@ -4158,9 +4136,7 @@ export interface TagResourceRequest {
4158
4136
  /**
4159
4137
  * <p>The tags to be added to a resource.</p>
4160
4138
  */
4161
- Tags: {
4162
- [key: string]: string;
4163
- } | undefined;
4139
+ Tags: Record<string, string> | undefined;
4164
4140
  }
4165
4141
  export declare namespace TagResourceRequest {
4166
4142
  /**
@@ -525,9 +525,7 @@ export interface CreateDetectorRequest {
525
525
 
526
526
  DataSources?: DataSourceConfigurations;
527
527
 
528
- Tags?: {
529
- [key: string]: string;
530
- };
528
+ Tags?: Record<string, string>;
531
529
  }
532
530
  export declare namespace CreateDetectorRequest {
533
531
 
@@ -548,9 +546,7 @@ export declare enum FilterAction {
548
546
 
549
547
  export interface FindingCriteria {
550
548
 
551
- Criterion?: {
552
- [key: string]: Condition;
553
- };
549
+ Criterion?: Record<string, Condition>;
554
550
  }
555
551
  export declare namespace FindingCriteria {
556
552
 
@@ -572,9 +568,7 @@ export interface CreateFilterRequest {
572
568
 
573
569
  ClientToken?: string;
574
570
 
575
- Tags?: {
576
- [key: string]: string;
577
- };
571
+ Tags?: Record<string, string>;
578
572
  }
579
573
  export declare namespace CreateFilterRequest {
580
574
 
@@ -610,9 +604,7 @@ export interface CreateIPSetRequest {
610
604
 
611
605
  ClientToken?: string;
612
606
 
613
- Tags?: {
614
- [key: string]: string;
615
- };
607
+ Tags?: Record<string, string>;
616
608
  }
617
609
  export declare namespace CreateIPSetRequest {
618
610
 
@@ -729,9 +721,7 @@ export interface CreateThreatIntelSetRequest {
729
721
 
730
722
  ClientToken?: string;
731
723
 
732
- Tags?: {
733
- [key: string]: string;
734
- };
724
+ Tags?: Record<string, string>;
735
725
  }
736
726
  export declare namespace CreateThreatIntelSetRequest {
737
727
 
@@ -1483,9 +1473,7 @@ export declare namespace Finding {
1483
1473
 
1484
1474
  export interface FindingStatistics {
1485
1475
 
1486
- CountBySeverity?: {
1487
- [key: string]: number;
1488
- };
1476
+ CountBySeverity?: Record<string, number>;
1489
1477
  }
1490
1478
  export declare namespace FindingStatistics {
1491
1479
 
@@ -1516,9 +1504,7 @@ export interface GetDetectorResponse {
1516
1504
 
1517
1505
  DataSources?: DataSourceConfigurationsResult;
1518
1506
 
1519
- Tags?: {
1520
- [key: string]: string;
1521
- };
1507
+ Tags?: Record<string, string>;
1522
1508
  }
1523
1509
  export declare namespace GetDetectorResponse {
1524
1510
 
@@ -1546,9 +1532,7 @@ export interface GetFilterResponse {
1546
1532
 
1547
1533
  FindingCriteria: FindingCriteria | undefined;
1548
1534
 
1549
- Tags?: {
1550
- [key: string]: string;
1551
- };
1535
+ Tags?: Record<string, string>;
1552
1536
  }
1553
1537
  export declare namespace GetFilterResponse {
1554
1538
 
@@ -1652,9 +1636,7 @@ export interface GetIPSetResponse {
1652
1636
 
1653
1637
  Status: IpSetStatus | string | undefined;
1654
1638
 
1655
- Tags?: {
1656
- [key: string]: string;
1657
- };
1639
+ Tags?: Record<string, string>;
1658
1640
  }
1659
1641
  export declare namespace GetIPSetResponse {
1660
1642
 
@@ -1792,9 +1774,7 @@ export interface GetThreatIntelSetResponse {
1792
1774
 
1793
1775
  Status: ThreatIntelSetStatus | string | undefined;
1794
1776
 
1795
- Tags?: {
1796
- [key: string]: string;
1797
- };
1777
+ Tags?: Record<string, string>;
1798
1778
  }
1799
1779
  export declare namespace GetThreatIntelSetResponse {
1800
1780
 
@@ -2129,9 +2109,7 @@ export declare namespace ListTagsForResourceRequest {
2129
2109
  }
2130
2110
  export interface ListTagsForResourceResponse {
2131
2111
 
2132
- Tags?: {
2133
- [key: string]: string;
2134
- };
2112
+ Tags?: Record<string, string>;
2135
2113
  }
2136
2114
  export declare namespace ListTagsForResourceResponse {
2137
2115
 
@@ -2199,9 +2177,7 @@ export interface TagResourceRequest {
2199
2177
 
2200
2178
  ResourceArn: string | undefined;
2201
2179
 
2202
- Tags: {
2203
- [key: string]: string;
2204
- } | undefined;
2180
+ Tags: Record<string, string> | undefined;
2205
2181
  }
2206
2182
  export declare namespace TagResourceRequest {
2207
2183
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-guardduty",
3
3
  "description": "AWS SDK for JavaScript Guardduty 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
  },