@aws-sdk/client-auditmanager 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 +27 -0
- package/dist-cjs/AuditManagerClient.js +2 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/AuditManagerClient.js +2 -0
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/models/models_0.d.ts +9 -27
- package/dist-types/ts3.4/models/models_0.d.ts +9 -27
- package/package.json +7 -6
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-auditmanager
|
|
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-auditmanager
|
|
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-auditmanager
|
|
@@ -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 AuditManagerClient 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 AuditManagerClient = (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;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -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);
|
|
@@ -488,9 +488,7 @@ export interface Assessment {
|
|
|
488
488
|
/**
|
|
489
489
|
* <p> The tags that are associated with the assessment. </p>
|
|
490
490
|
*/
|
|
491
|
-
tags?:
|
|
492
|
-
[key: string]: string;
|
|
493
|
-
};
|
|
491
|
+
tags?: Record<string, string>;
|
|
494
492
|
}
|
|
495
493
|
export declare namespace Assessment {
|
|
496
494
|
/**
|
|
@@ -1325,9 +1323,7 @@ export interface CreateAssessmentRequest {
|
|
|
1325
1323
|
/**
|
|
1326
1324
|
* <p> The tags that are associated with the assessment. </p>
|
|
1327
1325
|
*/
|
|
1328
|
-
tags?:
|
|
1329
|
-
[key: string]: string;
|
|
1330
|
-
};
|
|
1326
|
+
tags?: Record<string, string>;
|
|
1331
1327
|
}
|
|
1332
1328
|
export declare namespace CreateAssessmentRequest {
|
|
1333
1329
|
/**
|
|
@@ -1406,9 +1402,7 @@ export interface CreateAssessmentFrameworkRequest {
|
|
|
1406
1402
|
/**
|
|
1407
1403
|
* <p> The tags that are associated with the framework. </p>
|
|
1408
1404
|
*/
|
|
1409
|
-
tags?:
|
|
1410
|
-
[key: string]: string;
|
|
1411
|
-
};
|
|
1405
|
+
tags?: Record<string, string>;
|
|
1412
1406
|
}
|
|
1413
1407
|
export declare namespace CreateAssessmentFrameworkRequest {
|
|
1414
1408
|
/**
|
|
@@ -1633,9 +1627,7 @@ export interface Control {
|
|
|
1633
1627
|
/**
|
|
1634
1628
|
* <p> The tags associated with the control. </p>
|
|
1635
1629
|
*/
|
|
1636
|
-
tags?:
|
|
1637
|
-
[key: string]: string;
|
|
1638
|
-
};
|
|
1630
|
+
tags?: Record<string, string>;
|
|
1639
1631
|
}
|
|
1640
1632
|
export declare namespace Control {
|
|
1641
1633
|
/**
|
|
@@ -1728,9 +1720,7 @@ export interface Framework {
|
|
|
1728
1720
|
/**
|
|
1729
1721
|
* <p> The tags that are associated with the framework. </p>
|
|
1730
1722
|
*/
|
|
1731
|
-
tags?:
|
|
1732
|
-
[key: string]: string;
|
|
1733
|
-
};
|
|
1723
|
+
tags?: Record<string, string>;
|
|
1734
1724
|
}
|
|
1735
1725
|
export declare namespace Framework {
|
|
1736
1726
|
/**
|
|
@@ -1855,9 +1845,7 @@ export interface CreateControlRequest {
|
|
|
1855
1845
|
/**
|
|
1856
1846
|
* <p> The tags that are associated with the control. </p>
|
|
1857
1847
|
*/
|
|
1858
|
-
tags?:
|
|
1859
|
-
[key: string]: string;
|
|
1860
|
-
};
|
|
1848
|
+
tags?: Record<string, string>;
|
|
1861
1849
|
}
|
|
1862
1850
|
export declare namespace CreateControlRequest {
|
|
1863
1851
|
/**
|
|
@@ -2439,9 +2427,7 @@ export interface Evidence {
|
|
|
2439
2427
|
* name (such as <code>allowUsersToChangePassword</code>) and value (such as <code>true</code>
|
|
2440
2428
|
* or <code>false</code>). </p>
|
|
2441
2429
|
*/
|
|
2442
|
-
attributes?:
|
|
2443
|
-
[key: string]: string;
|
|
2444
|
-
};
|
|
2430
|
+
attributes?: Record<string, string>;
|
|
2445
2431
|
/**
|
|
2446
2432
|
* <p> The unique identifier for the IAM user or role that's associated with
|
|
2447
2433
|
* the evidence. </p>
|
|
@@ -3618,9 +3604,7 @@ export interface ListTagsForResourceResponse {
|
|
|
3618
3604
|
/**
|
|
3619
3605
|
* <p> The list of tags that the <code>ListTagsForResource</code> API returned. </p>
|
|
3620
3606
|
*/
|
|
3621
|
-
tags?:
|
|
3622
|
-
[key: string]: string;
|
|
3623
|
-
};
|
|
3607
|
+
tags?: Record<string, string>;
|
|
3624
3608
|
}
|
|
3625
3609
|
export declare namespace ListTagsForResourceResponse {
|
|
3626
3610
|
/**
|
|
@@ -3729,9 +3713,7 @@ export interface TagResourceRequest {
|
|
|
3729
3713
|
/**
|
|
3730
3714
|
* <p> The tags that are associated with the resource. </p>
|
|
3731
3715
|
*/
|
|
3732
|
-
tags:
|
|
3733
|
-
[key: string]: string;
|
|
3734
|
-
} | undefined;
|
|
3716
|
+
tags: Record<string, string> | undefined;
|
|
3735
3717
|
}
|
|
3736
3718
|
export declare namespace TagResourceRequest {
|
|
3737
3719
|
/**
|
|
@@ -269,9 +269,7 @@ export interface Assessment {
|
|
|
269
269
|
|
|
270
270
|
framework?: AssessmentFramework;
|
|
271
271
|
|
|
272
|
-
tags?:
|
|
273
|
-
[key: string]: string;
|
|
274
|
-
};
|
|
272
|
+
tags?: Record<string, string>;
|
|
275
273
|
}
|
|
276
274
|
export declare namespace Assessment {
|
|
277
275
|
|
|
@@ -732,9 +730,7 @@ export interface CreateAssessmentRequest {
|
|
|
732
730
|
|
|
733
731
|
frameworkId: string | undefined;
|
|
734
732
|
|
|
735
|
-
tags?:
|
|
736
|
-
[key: string]: string;
|
|
737
|
-
};
|
|
733
|
+
tags?: Record<string, string>;
|
|
738
734
|
}
|
|
739
735
|
export declare namespace CreateAssessmentRequest {
|
|
740
736
|
|
|
@@ -778,9 +774,7 @@ export interface CreateAssessmentFrameworkRequest {
|
|
|
778
774
|
|
|
779
775
|
controlSets: CreateAssessmentFrameworkControlSet[] | undefined;
|
|
780
776
|
|
|
781
|
-
tags?:
|
|
782
|
-
[key: string]: string;
|
|
783
|
-
};
|
|
777
|
+
tags?: Record<string, string>;
|
|
784
778
|
}
|
|
785
779
|
export declare namespace CreateAssessmentFrameworkRequest {
|
|
786
780
|
|
|
@@ -874,9 +868,7 @@ export interface Control {
|
|
|
874
868
|
|
|
875
869
|
lastUpdatedBy?: string;
|
|
876
870
|
|
|
877
|
-
tags?:
|
|
878
|
-
[key: string]: string;
|
|
879
|
-
};
|
|
871
|
+
tags?: Record<string, string>;
|
|
880
872
|
}
|
|
881
873
|
export declare namespace Control {
|
|
882
874
|
|
|
@@ -924,9 +916,7 @@ export interface Framework {
|
|
|
924
916
|
|
|
925
917
|
lastUpdatedBy?: string;
|
|
926
918
|
|
|
927
|
-
tags?:
|
|
928
|
-
[key: string]: string;
|
|
929
|
-
};
|
|
919
|
+
tags?: Record<string, string>;
|
|
930
920
|
}
|
|
931
921
|
export declare namespace Framework {
|
|
932
922
|
|
|
@@ -995,9 +985,7 @@ export interface CreateControlRequest {
|
|
|
995
985
|
|
|
996
986
|
controlMappingSources: CreateControlMappingSource[] | undefined;
|
|
997
987
|
|
|
998
|
-
tags?:
|
|
999
|
-
[key: string]: string;
|
|
1000
|
-
};
|
|
988
|
+
tags?: Record<string, string>;
|
|
1001
989
|
}
|
|
1002
990
|
export declare namespace CreateControlRequest {
|
|
1003
991
|
|
|
@@ -1359,9 +1347,7 @@ export interface Evidence {
|
|
|
1359
1347
|
|
|
1360
1348
|
resourcesIncluded?: Resource[];
|
|
1361
1349
|
|
|
1362
|
-
attributes?:
|
|
1363
|
-
[key: string]: string;
|
|
1364
|
-
};
|
|
1350
|
+
attributes?: Record<string, string>;
|
|
1365
1351
|
|
|
1366
1352
|
iamId?: string;
|
|
1367
1353
|
|
|
@@ -1992,9 +1978,7 @@ export declare namespace ListTagsForResourceRequest {
|
|
|
1992
1978
|
}
|
|
1993
1979
|
export interface ListTagsForResourceResponse {
|
|
1994
1980
|
|
|
1995
|
-
tags?:
|
|
1996
|
-
[key: string]: string;
|
|
1997
|
-
};
|
|
1981
|
+
tags?: Record<string, string>;
|
|
1998
1982
|
}
|
|
1999
1983
|
export declare namespace ListTagsForResourceResponse {
|
|
2000
1984
|
|
|
@@ -2062,9 +2046,7 @@ export interface TagResourceRequest {
|
|
|
2062
2046
|
|
|
2063
2047
|
resourceArn: string | undefined;
|
|
2064
2048
|
|
|
2065
|
-
tags:
|
|
2066
|
-
[key: string]: string;
|
|
2067
|
-
} | undefined;
|
|
2049
|
+
tags: Record<string, string> | undefined;
|
|
2068
2050
|
}
|
|
2069
2051
|
export declare namespace TagResourceRequest {
|
|
2070
2052
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auditmanager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auditmanager Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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.
|
|
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.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
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",
|