@aws-sdk/client-macie2 3.95.0 → 3.105.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.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-macie2
20
+
21
+
22
+
23
+
24
+
25
+ # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-macie2
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-macie2
@@ -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 Macie2Client 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
  }
@@ -17,8 +17,10 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
+ const smithy_client_2 = require("@aws-sdk/smithy-client");
20
21
  const getRuntimeConfig = (config) => {
21
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
23
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
24
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
25
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
26
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -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 Macie2Client = (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;
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
16
  import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
18
  export var getRuntimeConfig = function (config) {
18
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
19
21
  var defaultsMode = resolveDefaultsModeConfig(config);
20
22
  var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
21
23
  var clientSharedValues = getSharedRuntimeConfig(config);
@@ -1721,9 +1721,7 @@ export interface FindingsFilterListItem {
1721
1721
  /**
1722
1722
  * <p>A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.</p>
1723
1723
  */
1724
- tags?: {
1725
- [key: string]: string;
1726
- };
1724
+ tags?: Record<string, string>;
1727
1725
  }
1728
1726
  export declare namespace FindingsFilterListItem {
1729
1727
  /**
@@ -2201,9 +2199,7 @@ export interface Member {
2201
2199
  /**
2202
2200
  * <p>A map of key-value pairs that identifies the tags (keys and values) that are associated with the account in Amazon Macie.</p>
2203
2201
  */
2204
- tags?: {
2205
- [key: string]: string;
2206
- };
2202
+ tags?: Record<string, string>;
2207
2203
  /**
2208
2204
  * <p>The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.</p>
2209
2205
  */
@@ -3016,9 +3012,7 @@ export interface CreateClassificationJobRequest {
3016
3012
  /**
3017
3013
  * <p>A map of key-value pairs that specifies the tags to associate with the job.</p> <p>A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.</p>
3018
3014
  */
3019
- tags?: {
3020
- [key: string]: string;
3021
- };
3015
+ tags?: Record<string, string>;
3022
3016
  }
3023
3017
  export declare namespace CreateClassificationJobRequest {
3024
3018
  /**
@@ -3102,9 +3096,7 @@ export interface CreateCustomDataIdentifierRequest {
3102
3096
  /**
3103
3097
  * <p>A map of key-value pairs that specifies the tags to associate with the custom data identifier.</p> <p>A custom data identifier can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.</p>
3104
3098
  */
3105
- tags?: {
3106
- [key: string]: string;
3107
- };
3099
+ tags?: Record<string, string>;
3108
3100
  }
3109
3101
  export declare namespace CreateCustomDataIdentifierRequest {
3110
3102
  /**
@@ -3170,9 +3162,7 @@ export interface FindingCriteria {
3170
3162
  /**
3171
3163
  * <p>A condition that specifies the property, operator, and one or more values to use to filter the results.</p>
3172
3164
  */
3173
- criterion?: {
3174
- [key: string]: CriterionAdditionalProperties;
3175
- };
3165
+ criterion?: Record<string, CriterionAdditionalProperties>;
3176
3166
  }
3177
3167
  export declare namespace FindingCriteria {
3178
3168
  /**
@@ -3208,9 +3198,7 @@ export interface CreateFindingsFilterRequest {
3208
3198
  /**
3209
3199
  * <p>A map of key-value pairs that specifies the tags to associate with the filter.</p> <p>A findings filter can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.</p>
3210
3200
  */
3211
- tags?: {
3212
- [key: string]: string;
3213
- };
3201
+ tags?: Record<string, string>;
3214
3202
  }
3215
3203
  export declare namespace CreateFindingsFilterRequest {
3216
3204
  /**
@@ -3274,9 +3262,7 @@ export interface CreateMemberRequest {
3274
3262
  /**
3275
3263
  * <p>A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.</p> <p>An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.</p>
3276
3264
  */
3277
- tags?: {
3278
- [key: string]: string;
3279
- };
3265
+ tags?: Record<string, string>;
3280
3266
  }
3281
3267
  export declare namespace CreateMemberRequest {
3282
3268
  /**
@@ -3428,9 +3414,7 @@ export interface DescribeBucketsRequest {
3428
3414
  /**
3429
3415
  * <p>The criteria to use to filter the query results.</p>
3430
3416
  */
3431
- criteria?: {
3432
- [key: string]: BucketCriteriaAdditionalProperties;
3433
- };
3417
+ criteria?: Record<string, BucketCriteriaAdditionalProperties>;
3434
3418
  /**
3435
3419
  * <p>The maximum number of items to include in each page of the response. The default value is 50.</p>
3436
3420
  */
@@ -3573,9 +3557,7 @@ export interface DescribeClassificationJobResponse {
3573
3557
  /**
3574
3558
  * <p>A map of key-value pairs that specifies which tags (keys and values) are associated with the classification job.</p>
3575
3559
  */
3576
- tags?: {
3577
- [key: string]: string;
3578
- };
3560
+ tags?: Record<string, string>;
3579
3561
  /**
3580
3562
  * <p>If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job or job run will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.</p>
3581
3563
  */
@@ -3955,9 +3937,7 @@ export interface GetCustomDataIdentifierResponse {
3955
3937
  /**
3956
3938
  * <p>A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data identifier.</p>
3957
3939
  */
3958
- tags?: {
3959
- [key: string]: string;
3960
- };
3940
+ tags?: Record<string, string>;
3961
3941
  }
3962
3942
  export declare namespace GetCustomDataIdentifierResponse {
3963
3943
  /**
@@ -4056,9 +4036,7 @@ export interface GetFindingsFilterResponse {
4056
4036
  /**
4057
4037
  * <p>A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.</p>
4058
4038
  */
4059
- tags?: {
4060
- [key: string]: string;
4061
- };
4039
+ tags?: Record<string, string>;
4062
4040
  }
4063
4041
  export declare namespace GetFindingsFilterResponse {
4064
4042
  /**
@@ -4267,9 +4245,7 @@ export interface GetMemberResponse {
4267
4245
  /**
4268
4246
  * <p>A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.</p>
4269
4247
  */
4270
- tags?: {
4271
- [key: string]: string;
4272
- };
4248
+ tags?: Record<string, string>;
4273
4249
  /**
4274
4250
  * <p>The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.</p>
4275
4251
  */
@@ -4718,9 +4694,7 @@ export interface ListTagsForResourceResponse {
4718
4694
  /**
4719
4695
  * <p>A map of key-value pairs that identifies the tags (keys and values) that are associated with the resource.</p>
4720
4696
  */
4721
- tags?: {
4722
- [key: string]: string;
4723
- };
4697
+ tags?: Record<string, string>;
4724
4698
  }
4725
4699
  export declare namespace ListTagsForResourceResponse {
4726
4700
  /**
@@ -4883,9 +4857,7 @@ export interface TagResourceRequest {
4883
4857
  /**
4884
4858
  * <p>A map of key-value pairs that specifies the tags to associate with the resource.</p> <p>A resource can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.</p>
4885
4859
  */
4886
- tags: {
4887
- [key: string]: string;
4888
- } | undefined;
4860
+ tags: Record<string, string> | undefined;
4889
4861
  }
4890
4862
  export declare namespace TagResourceRequest {
4891
4863
  /**
@@ -1007,9 +1007,7 @@ export interface FindingsFilterListItem {
1007
1007
 
1008
1008
  name?: string;
1009
1009
 
1010
- tags?: {
1011
- [key: string]: string;
1012
- };
1010
+ tags?: Record<string, string>;
1013
1011
  }
1014
1012
  export declare namespace FindingsFilterListItem {
1015
1013
 
@@ -1295,9 +1293,7 @@ export interface Member {
1295
1293
 
1296
1294
  relationshipStatus?: RelationshipStatus | string;
1297
1295
 
1298
- tags?: {
1299
- [key: string]: string;
1300
- };
1296
+ tags?: Record<string, string>;
1301
1297
 
1302
1298
  updatedAt?: Date;
1303
1299
  }
@@ -1792,9 +1788,7 @@ export interface CreateClassificationJobRequest {
1792
1788
 
1793
1789
  scheduleFrequency?: JobScheduleFrequency;
1794
1790
 
1795
- tags?: {
1796
- [key: string]: string;
1797
- };
1791
+ tags?: Record<string, string>;
1798
1792
  }
1799
1793
  export declare namespace CreateClassificationJobRequest {
1800
1794
 
@@ -1844,9 +1838,7 @@ export interface CreateCustomDataIdentifierRequest {
1844
1838
 
1845
1839
  severityLevels?: SeverityLevel[];
1846
1840
 
1847
- tags?: {
1848
- [key: string]: string;
1849
- };
1841
+ tags?: Record<string, string>;
1850
1842
  }
1851
1843
  export declare namespace CreateCustomDataIdentifierRequest {
1852
1844
 
@@ -1884,9 +1876,7 @@ export declare namespace CriterionAdditionalProperties {
1884
1876
 
1885
1877
  export interface FindingCriteria {
1886
1878
 
1887
- criterion?: {
1888
- [key: string]: CriterionAdditionalProperties;
1889
- };
1879
+ criterion?: Record<string, CriterionAdditionalProperties>;
1890
1880
  }
1891
1881
  export declare namespace FindingCriteria {
1892
1882
 
@@ -1906,9 +1896,7 @@ export interface CreateFindingsFilterRequest {
1906
1896
 
1907
1897
  position?: number;
1908
1898
 
1909
- tags?: {
1910
- [key: string]: string;
1911
- };
1899
+ tags?: Record<string, string>;
1912
1900
  }
1913
1901
  export declare namespace CreateFindingsFilterRequest {
1914
1902
 
@@ -1948,9 +1936,7 @@ export interface CreateMemberRequest {
1948
1936
 
1949
1937
  account: AccountDetail | undefined;
1950
1938
 
1951
- tags?: {
1952
- [key: string]: string;
1953
- };
1939
+ tags?: Record<string, string>;
1954
1940
  }
1955
1941
  export declare namespace CreateMemberRequest {
1956
1942
 
@@ -2054,9 +2040,7 @@ export declare namespace DeleteMemberResponse {
2054
2040
  }
2055
2041
  export interface DescribeBucketsRequest {
2056
2042
 
2057
- criteria?: {
2058
- [key: string]: BucketCriteriaAdditionalProperties;
2059
- };
2043
+ criteria?: Record<string, BucketCriteriaAdditionalProperties>;
2060
2044
 
2061
2045
  maxResults?: number;
2062
2046
 
@@ -2135,9 +2119,7 @@ export interface DescribeClassificationJobResponse {
2135
2119
 
2136
2120
  statistics?: Statistics;
2137
2121
 
2138
- tags?: {
2139
- [key: string]: string;
2140
- };
2122
+ tags?: Record<string, string>;
2141
2123
 
2142
2124
  userPausedDetails?: UserPausedDetails;
2143
2125
  }
@@ -2383,9 +2365,7 @@ export interface GetCustomDataIdentifierResponse {
2383
2365
 
2384
2366
  severityLevels?: SeverityLevel[];
2385
2367
 
2386
- tags?: {
2387
- [key: string]: string;
2388
- };
2368
+ tags?: Record<string, string>;
2389
2369
  }
2390
2370
  export declare namespace GetCustomDataIdentifierResponse {
2391
2371
 
@@ -2444,9 +2424,7 @@ export interface GetFindingsFilterResponse {
2444
2424
 
2445
2425
  position?: number;
2446
2426
 
2447
- tags?: {
2448
- [key: string]: string;
2449
- };
2427
+ tags?: Record<string, string>;
2450
2428
  }
2451
2429
  export declare namespace GetFindingsFilterResponse {
2452
2430
 
@@ -2579,9 +2557,7 @@ export interface GetMemberResponse {
2579
2557
 
2580
2558
  relationshipStatus?: RelationshipStatus | string;
2581
2559
 
2582
- tags?: {
2583
- [key: string]: string;
2584
- };
2560
+ tags?: Record<string, string>;
2585
2561
 
2586
2562
  updatedAt?: Date;
2587
2563
  }
@@ -2862,9 +2838,7 @@ export declare namespace ListTagsForResourceRequest {
2862
2838
  }
2863
2839
  export interface ListTagsForResourceResponse {
2864
2840
 
2865
- tags?: {
2866
- [key: string]: string;
2867
- };
2841
+ tags?: Record<string, string>;
2868
2842
  }
2869
2843
  export declare namespace ListTagsForResourceResponse {
2870
2844
 
@@ -2967,9 +2941,7 @@ export interface TagResourceRequest {
2967
2941
 
2968
2942
  resourceArn: string | undefined;
2969
2943
 
2970
- tags: {
2971
- [key: string]: string;
2972
- } | undefined;
2944
+ tags: Record<string, string> | undefined;
2973
2945
  }
2974
2946
  export declare namespace TagResourceRequest {
2975
2947
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-macie2",
3
3
  "description": "AWS SDK for JavaScript Macie2 Client for Node.js, Browser and React Native",
4
- "version": "3.95.0",
4
+ "version": "3.105.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,15 +18,16 @@
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.95.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.95.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",
@@ -35,15 +36,15 @@
35
36
  "@aws-sdk/node-config-provider": "3.80.0",
36
37
  "@aws-sdk/node-http-handler": "3.94.0",
37
38
  "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.85.0",
39
+ "@aws-sdk/smithy-client": "3.99.0",
39
40
  "@aws-sdk/types": "3.78.0",
40
41
  "@aws-sdk/url-parser": "3.78.0",
41
42
  "@aws-sdk/util-base64-browser": "3.58.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.85.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.85.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.99.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
48
  "@aws-sdk/util-user-agent-browser": "3.78.0",
48
49
  "@aws-sdk/util-user-agent-node": "3.80.0",
49
50
  "@aws-sdk/util-utf8-browser": "3.55.0",