@aws-sdk/client-auditmanager 3.42.0 → 3.47.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.
Files changed (78) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist-cjs/AuditManager.js +90 -0
  3. package/dist-cjs/commands/GetInsightsByAssessmentCommand.js +36 -0
  4. package/dist-cjs/commands/GetInsightsCommand.js +36 -0
  5. package/dist-cjs/commands/ListAssessmentControlInsightsByControlDomainCommand.js +36 -0
  6. package/dist-cjs/commands/ListControlDomainInsightsByAssessmentCommand.js +36 -0
  7. package/dist-cjs/commands/ListControlDomainInsightsCommand.js +36 -0
  8. package/dist-cjs/commands/ListControlInsightsByControlDomainCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoints.js +1 -0
  11. package/dist-cjs/models/models_0.js +112 -28
  12. package/dist-cjs/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +35 -0
  13. package/dist-cjs/pagination/ListControlDomainInsightsByAssessmentPaginator.js +35 -0
  14. package/dist-cjs/pagination/ListControlDomainInsightsPaginator.js +35 -0
  15. package/dist-cjs/pagination/ListControlInsightsByControlDomainPaginator.js +35 -0
  16. package/dist-cjs/pagination/index.js +4 -0
  17. package/dist-cjs/protocols/Aws_restJson1.js +753 -86
  18. package/dist-cjs/runtimeConfig.browser.js +7 -2
  19. package/dist-cjs/runtimeConfig.js +9 -3
  20. package/dist-es/AuditManager.js +90 -0
  21. package/dist-es/commands/GetInsightsByAssessmentCommand.js +39 -0
  22. package/dist-es/commands/GetInsightsCommand.js +39 -0
  23. package/dist-es/commands/ListAssessmentControlInsightsByControlDomainCommand.js +39 -0
  24. package/dist-es/commands/ListControlDomainInsightsByAssessmentCommand.js +39 -0
  25. package/dist-es/commands/ListControlDomainInsightsCommand.js +39 -0
  26. package/dist-es/commands/ListControlInsightsByControlDomainCommand.js +39 -0
  27. package/dist-es/commands/index.js +6 -0
  28. package/dist-es/endpoints.js +1 -0
  29. package/dist-es/models/models_0.js +72 -16
  30. package/dist-es/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +74 -0
  31. package/dist-es/pagination/ListControlDomainInsightsByAssessmentPaginator.js +74 -0
  32. package/dist-es/pagination/ListControlDomainInsightsPaginator.js +74 -0
  33. package/dist-es/pagination/ListControlInsightsByControlDomainPaginator.js +74 -0
  34. package/dist-es/pagination/index.js +4 -0
  35. package/dist-es/protocols/Aws_restJson1.js +798 -34
  36. package/dist-es/runtimeConfig.browser.js +12 -3
  37. package/dist-es/runtimeConfig.js +13 -6
  38. package/dist-types/AuditManager.d.ts +69 -2
  39. package/dist-types/AuditManagerClient.d.ts +13 -3
  40. package/dist-types/commands/GetAssessmentCommand.d.ts +1 -1
  41. package/dist-types/commands/GetAssessmentFrameworkCommand.d.ts +1 -1
  42. package/dist-types/commands/GetInsightsByAssessmentCommand.d.ts +35 -0
  43. package/dist-types/commands/GetInsightsCommand.d.ts +35 -0
  44. package/dist-types/commands/ListAssessmentControlInsightsByControlDomainCommand.d.ts +42 -0
  45. package/dist-types/commands/ListControlDomainInsightsByAssessmentCommand.d.ts +40 -0
  46. package/dist-types/commands/ListControlDomainInsightsCommand.d.ts +41 -0
  47. package/dist-types/commands/ListControlInsightsByControlDomainCommand.d.ts +42 -0
  48. package/dist-types/commands/index.d.ts +6 -0
  49. package/dist-types/models/models_0.d.ts +521 -54
  50. package/dist-types/pagination/ListAssessmentControlInsightsByControlDomainPaginator.d.ts +4 -0
  51. package/dist-types/pagination/ListControlDomainInsightsByAssessmentPaginator.d.ts +4 -0
  52. package/dist-types/pagination/ListControlDomainInsightsPaginator.d.ts +4 -0
  53. package/dist-types/pagination/ListControlInsightsByControlDomainPaginator.d.ts +4 -0
  54. package/dist-types/pagination/index.d.ts +4 -0
  55. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  56. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  57. package/dist-types/runtimeConfig.d.ts +4 -3
  58. package/dist-types/runtimeConfig.native.d.ts +1 -0
  59. package/dist-types/ts3.4/AuditManager.d.ts +30 -0
  60. package/dist-types/ts3.4/AuditManagerClient.d.ts +11 -3
  61. package/dist-types/ts3.4/commands/GetInsightsByAssessmentCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListAssessmentControlInsightsByControlDomainCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListControlDomainInsightsByAssessmentCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/ListControlDomainInsightsCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListControlInsightsByControlDomainCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +224 -16
  69. package/dist-types/ts3.4/pagination/ListAssessmentControlInsightsByControlDomainPaginator.d.ts +4 -0
  70. package/dist-types/ts3.4/pagination/ListControlDomainInsightsByAssessmentPaginator.d.ts +4 -0
  71. package/dist-types/ts3.4/pagination/ListControlDomainInsightsPaginator.d.ts +4 -0
  72. package/dist-types/ts3.4/pagination/ListControlInsightsByControlDomainPaginator.d.ts +4 -0
  73. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
  75. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  76. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  77. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  78. package/package.json +38 -45
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
26
  };
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
28
  };
@@ -30,13 +30,19 @@ import { GetEvidenceCommandInput, GetEvidenceCommandOutput } from "./commands/Ge
30
30
  import { GetEvidenceFolderCommandInput, GetEvidenceFolderCommandOutput } from "./commands/GetEvidenceFolderCommand";
31
31
  import { GetEvidenceFoldersByAssessmentCommandInput, GetEvidenceFoldersByAssessmentCommandOutput } from "./commands/GetEvidenceFoldersByAssessmentCommand";
32
32
  import { GetEvidenceFoldersByAssessmentControlCommandInput, GetEvidenceFoldersByAssessmentControlCommandOutput } from "./commands/GetEvidenceFoldersByAssessmentControlCommand";
33
+ import { GetInsightsByAssessmentCommandInput, GetInsightsByAssessmentCommandOutput } from "./commands/GetInsightsByAssessmentCommand";
34
+ import { GetInsightsCommandInput, GetInsightsCommandOutput } from "./commands/GetInsightsCommand";
33
35
  import { GetOrganizationAdminAccountCommandInput, GetOrganizationAdminAccountCommandOutput } from "./commands/GetOrganizationAdminAccountCommand";
34
36
  import { GetServicesInScopeCommandInput, GetServicesInScopeCommandOutput } from "./commands/GetServicesInScopeCommand";
35
37
  import { GetSettingsCommandInput, GetSettingsCommandOutput } from "./commands/GetSettingsCommand";
38
+ import { ListAssessmentControlInsightsByControlDomainCommandInput, ListAssessmentControlInsightsByControlDomainCommandOutput } from "./commands/ListAssessmentControlInsightsByControlDomainCommand";
36
39
  import { ListAssessmentFrameworksCommandInput, ListAssessmentFrameworksCommandOutput } from "./commands/ListAssessmentFrameworksCommand";
37
40
  import { ListAssessmentFrameworkShareRequestsCommandInput, ListAssessmentFrameworkShareRequestsCommandOutput } from "./commands/ListAssessmentFrameworkShareRequestsCommand";
38
41
  import { ListAssessmentReportsCommandInput, ListAssessmentReportsCommandOutput } from "./commands/ListAssessmentReportsCommand";
39
42
  import { ListAssessmentsCommandInput, ListAssessmentsCommandOutput } from "./commands/ListAssessmentsCommand";
43
+ import { ListControlDomainInsightsByAssessmentCommandInput, ListControlDomainInsightsByAssessmentCommandOutput } from "./commands/ListControlDomainInsightsByAssessmentCommand";
44
+ import { ListControlDomainInsightsCommandInput, ListControlDomainInsightsCommandOutput } from "./commands/ListControlDomainInsightsCommand";
45
+ import { ListControlInsightsByControlDomainCommandInput, ListControlInsightsByControlDomainCommandOutput } from "./commands/ListControlInsightsByControlDomainCommand";
40
46
  import { ListControlsCommandInput, ListControlsCommandOutput } from "./commands/ListControlsCommand";
41
47
  import { ListKeywordsForDataSourceCommandInput, ListKeywordsForDataSourceCommandOutput } from "./commands/ListKeywordsForDataSourceCommand";
42
48
  import { ListNotificationsCommandInput, ListNotificationsCommandOutput } from "./commands/ListNotificationsCommand";
@@ -223,13 +229,13 @@ export declare class AuditManager extends AuditManagerClient {
223
229
  getAccountStatus(args: GetAccountStatusCommandInput, cb: (err: any, data?: GetAccountStatusCommandOutput) => void): void;
224
230
  getAccountStatus(args: GetAccountStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountStatusCommandOutput) => void): void;
225
231
  /**
226
- * <p> Returns an assessment from Audit Manager. </p>
232
+ * <p>Returns an assessment from Audit Manager. </p>
227
233
  */
228
234
  getAssessment(args: GetAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<GetAssessmentCommandOutput>;
229
235
  getAssessment(args: GetAssessmentCommandInput, cb: (err: any, data?: GetAssessmentCommandOutput) => void): void;
230
236
  getAssessment(args: GetAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssessmentCommandOutput) => void): void;
231
237
  /**
232
- * <p> Returns a framework from Audit Manager. </p>
238
+ * <p>Returns a framework from Audit Manager. </p>
233
239
  */
234
240
  getAssessmentFramework(args: GetAssessmentFrameworkCommandInput, options?: __HttpHandlerOptions): Promise<GetAssessmentFrameworkCommandOutput>;
235
241
  getAssessmentFramework(args: GetAssessmentFrameworkCommandInput, cb: (err: any, data?: GetAssessmentFrameworkCommandOutput) => void): void;
@@ -291,6 +297,18 @@ export declare class AuditManager extends AuditManagerClient {
291
297
  getEvidenceFoldersByAssessmentControl(args: GetEvidenceFoldersByAssessmentControlCommandInput, options?: __HttpHandlerOptions): Promise<GetEvidenceFoldersByAssessmentControlCommandOutput>;
292
298
  getEvidenceFoldersByAssessmentControl(args: GetEvidenceFoldersByAssessmentControlCommandInput, cb: (err: any, data?: GetEvidenceFoldersByAssessmentControlCommandOutput) => void): void;
293
299
  getEvidenceFoldersByAssessmentControl(args: GetEvidenceFoldersByAssessmentControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEvidenceFoldersByAssessmentControlCommandOutput) => void): void;
300
+ /**
301
+ * <p>Gets the latest analytics data for all your current active assessments. </p>
302
+ */
303
+ getInsights(args: GetInsightsCommandInput, options?: __HttpHandlerOptions): Promise<GetInsightsCommandOutput>;
304
+ getInsights(args: GetInsightsCommandInput, cb: (err: any, data?: GetInsightsCommandOutput) => void): void;
305
+ getInsights(args: GetInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightsCommandOutput) => void): void;
306
+ /**
307
+ * <p>Gets the latest analytics data for a specific active assessment. </p>
308
+ */
309
+ getInsightsByAssessment(args: GetInsightsByAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<GetInsightsByAssessmentCommandOutput>;
310
+ getInsightsByAssessment(args: GetInsightsByAssessmentCommandInput, cb: (err: any, data?: GetInsightsByAssessmentCommandOutput) => void): void;
311
+ getInsightsByAssessment(args: GetInsightsByAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightsByAssessmentCommandOutput) => void): void;
294
312
  /**
295
313
  * <p> Returns the name of the delegated Amazon Web Services administrator account for the
296
314
  * organization. </p>
@@ -311,6 +329,19 @@ export declare class AuditManager extends AuditManagerClient {
311
329
  getSettings(args: GetSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetSettingsCommandOutput>;
312
330
  getSettings(args: GetSettingsCommandInput, cb: (err: any, data?: GetSettingsCommandOutput) => void): void;
313
331
  getSettings(args: GetSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSettingsCommandOutput) => void): void;
332
+ /**
333
+ * <p>Lists the latest analytics data for controls within a specific control domain and a
334
+ * specific active assessment.</p>
335
+ * <note>
336
+ * <p>Control insights are listed only if the control belongs to the control domain and assessment
337
+ * that was specified. Moreover, the control must have collected evidence on the
338
+ * <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>. If neither
339
+ * of these conditions are met, no data is listed for that control. </p>
340
+ * </note>
341
+ */
342
+ listAssessmentControlInsightsByControlDomain(args: ListAssessmentControlInsightsByControlDomainCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentControlInsightsByControlDomainCommandOutput>;
343
+ listAssessmentControlInsightsByControlDomain(args: ListAssessmentControlInsightsByControlDomainCommandInput, cb: (err: any, data?: ListAssessmentControlInsightsByControlDomainCommandOutput) => void): void;
344
+ listAssessmentControlInsightsByControlDomain(args: ListAssessmentControlInsightsByControlDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentControlInsightsByControlDomainCommandOutput) => void): void;
314
345
  /**
315
346
  * <p> Returns a list of the frameworks that are available in the Audit Manager
316
347
  * framework library. </p>
@@ -336,6 +367,42 @@ export declare class AuditManager extends AuditManagerClient {
336
367
  listAssessments(args: ListAssessmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentsCommandOutput>;
337
368
  listAssessments(args: ListAssessmentsCommandInput, cb: (err: any, data?: ListAssessmentsCommandOutput) => void): void;
338
369
  listAssessments(args: ListAssessmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentsCommandOutput) => void): void;
370
+ /**
371
+ * <p>Lists the latest analytics data for control domains across all of your active
372
+ * assessments. </p>
373
+ * <note>
374
+ * <p>A control domain is listed only if at least one of the controls within that domain collected
375
+ * evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>. If
376
+ * this condition isn’t met, no data is listed for that control domain.</p>
377
+ * </note>
378
+ */
379
+ listControlDomainInsights(args: ListControlDomainInsightsCommandInput, options?: __HttpHandlerOptions): Promise<ListControlDomainInsightsCommandOutput>;
380
+ listControlDomainInsights(args: ListControlDomainInsightsCommandInput, cb: (err: any, data?: ListControlDomainInsightsCommandOutput) => void): void;
381
+ listControlDomainInsights(args: ListControlDomainInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListControlDomainInsightsCommandOutput) => void): void;
382
+ /**
383
+ * <p>Lists analytics data for control domains within a specified active assessment.</p>
384
+ * <note>
385
+ * <p>A control domain is listed only if at least one of the controls within that domain collected
386
+ * evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>. If
387
+ * this condition isn’t met, no data is listed for that domain.</p>
388
+ * </note>
389
+ */
390
+ listControlDomainInsightsByAssessment(args: ListControlDomainInsightsByAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<ListControlDomainInsightsByAssessmentCommandOutput>;
391
+ listControlDomainInsightsByAssessment(args: ListControlDomainInsightsByAssessmentCommandInput, cb: (err: any, data?: ListControlDomainInsightsByAssessmentCommandOutput) => void): void;
392
+ listControlDomainInsightsByAssessment(args: ListControlDomainInsightsByAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListControlDomainInsightsByAssessmentCommandOutput) => void): void;
393
+ /**
394
+ * <p>Lists the latest analytics data for controls within a specific control domain across all
395
+ * active assessments.</p>
396
+ * <note>
397
+ * <p>Control insights are listed only if the control belongs to the control domain that was
398
+ * specified and the control collected evidence on the <code>lastUpdated</code> date of
399
+ * <code>controlInsightsMetadata</code>. If neither of these conditions are met, no data
400
+ * is listed for that control. </p>
401
+ * </note>
402
+ */
403
+ listControlInsightsByControlDomain(args: ListControlInsightsByControlDomainCommandInput, options?: __HttpHandlerOptions): Promise<ListControlInsightsByControlDomainCommandOutput>;
404
+ listControlInsightsByControlDomain(args: ListControlInsightsByControlDomainCommandInput, cb: (err: any, data?: ListControlInsightsByControlDomainCommandOutput) => void): void;
405
+ listControlInsightsByControlDomain(args: ListControlInsightsByControlDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListControlInsightsByControlDomainCommandOutput) => void): void;
339
406
  /**
340
407
  * <p> Returns a list of controls from Audit Manager. </p>
341
408
  */
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateAssessmentReportEvidenceFolderCommandInput, AssociateAssessmentReportEvidenceFolderCommandOutput } from "./commands/AssociateAssessmentReportEvidenceFolderCommand";
10
10
  import { BatchAssociateAssessmentReportEvidenceCommandInput, BatchAssociateAssessmentReportEvidenceCommandOutput } from "./commands/BatchAssociateAssessmentReportEvidenceCommand";
@@ -36,13 +36,19 @@ import { GetEvidenceCommandInput, GetEvidenceCommandOutput } from "./commands/Ge
36
36
  import { GetEvidenceFolderCommandInput, GetEvidenceFolderCommandOutput } from "./commands/GetEvidenceFolderCommand";
37
37
  import { GetEvidenceFoldersByAssessmentCommandInput, GetEvidenceFoldersByAssessmentCommandOutput } from "./commands/GetEvidenceFoldersByAssessmentCommand";
38
38
  import { GetEvidenceFoldersByAssessmentControlCommandInput, GetEvidenceFoldersByAssessmentControlCommandOutput } from "./commands/GetEvidenceFoldersByAssessmentControlCommand";
39
+ import { GetInsightsByAssessmentCommandInput, GetInsightsByAssessmentCommandOutput } from "./commands/GetInsightsByAssessmentCommand";
40
+ import { GetInsightsCommandInput, GetInsightsCommandOutput } from "./commands/GetInsightsCommand";
39
41
  import { GetOrganizationAdminAccountCommandInput, GetOrganizationAdminAccountCommandOutput } from "./commands/GetOrganizationAdminAccountCommand";
40
42
  import { GetServicesInScopeCommandInput, GetServicesInScopeCommandOutput } from "./commands/GetServicesInScopeCommand";
41
43
  import { GetSettingsCommandInput, GetSettingsCommandOutput } from "./commands/GetSettingsCommand";
44
+ import { ListAssessmentControlInsightsByControlDomainCommandInput, ListAssessmentControlInsightsByControlDomainCommandOutput } from "./commands/ListAssessmentControlInsightsByControlDomainCommand";
42
45
  import { ListAssessmentFrameworksCommandInput, ListAssessmentFrameworksCommandOutput } from "./commands/ListAssessmentFrameworksCommand";
43
46
  import { ListAssessmentFrameworkShareRequestsCommandInput, ListAssessmentFrameworkShareRequestsCommandOutput } from "./commands/ListAssessmentFrameworkShareRequestsCommand";
44
47
  import { ListAssessmentReportsCommandInput, ListAssessmentReportsCommandOutput } from "./commands/ListAssessmentReportsCommand";
45
48
  import { ListAssessmentsCommandInput, ListAssessmentsCommandOutput } from "./commands/ListAssessmentsCommand";
49
+ import { ListControlDomainInsightsByAssessmentCommandInput, ListControlDomainInsightsByAssessmentCommandOutput } from "./commands/ListControlDomainInsightsByAssessmentCommand";
50
+ import { ListControlDomainInsightsCommandInput, ListControlDomainInsightsCommandOutput } from "./commands/ListControlDomainInsightsCommand";
51
+ import { ListControlInsightsByControlDomainCommandInput, ListControlInsightsByControlDomainCommandOutput } from "./commands/ListControlInsightsByControlDomainCommand";
46
52
  import { ListControlsCommandInput, ListControlsCommandOutput } from "./commands/ListControlsCommand";
47
53
  import { ListKeywordsForDataSourceCommandInput, ListKeywordsForDataSourceCommandOutput } from "./commands/ListKeywordsForDataSourceCommand";
48
54
  import { ListNotificationsCommandInput, ListNotificationsCommandOutput } from "./commands/ListNotificationsCommand";
@@ -61,8 +67,8 @@ import { UpdateAssessmentStatusCommandInput, UpdateAssessmentStatusCommandOutput
61
67
  import { UpdateControlCommandInput, UpdateControlCommandOutput } from "./commands/UpdateControlCommand";
62
68
  import { UpdateSettingsCommandInput, UpdateSettingsCommandOutput } from "./commands/UpdateSettingsCommand";
63
69
  import { ValidateAssessmentReportIntegrityCommandInput, ValidateAssessmentReportIntegrityCommandOutput } from "./commands/ValidateAssessmentReportIntegrityCommand";
64
- export declare type ServiceInputTypes = AssociateAssessmentReportEvidenceFolderCommandInput | BatchAssociateAssessmentReportEvidenceCommandInput | BatchCreateDelegationByAssessmentCommandInput | BatchDeleteDelegationByAssessmentCommandInput | BatchDisassociateAssessmentReportEvidenceCommandInput | BatchImportEvidenceToAssessmentControlCommandInput | CreateAssessmentCommandInput | CreateAssessmentFrameworkCommandInput | CreateAssessmentReportCommandInput | CreateControlCommandInput | DeleteAssessmentCommandInput | DeleteAssessmentFrameworkCommandInput | DeleteAssessmentFrameworkShareCommandInput | DeleteAssessmentReportCommandInput | DeleteControlCommandInput | DeregisterAccountCommandInput | DeregisterOrganizationAdminAccountCommandInput | DisassociateAssessmentReportEvidenceFolderCommandInput | GetAccountStatusCommandInput | GetAssessmentCommandInput | GetAssessmentFrameworkCommandInput | GetAssessmentReportUrlCommandInput | GetChangeLogsCommandInput | GetControlCommandInput | GetDelegationsCommandInput | GetEvidenceByEvidenceFolderCommandInput | GetEvidenceCommandInput | GetEvidenceFolderCommandInput | GetEvidenceFoldersByAssessmentCommandInput | GetEvidenceFoldersByAssessmentControlCommandInput | GetOrganizationAdminAccountCommandInput | GetServicesInScopeCommandInput | GetSettingsCommandInput | ListAssessmentFrameworkShareRequestsCommandInput | ListAssessmentFrameworksCommandInput | ListAssessmentReportsCommandInput | ListAssessmentsCommandInput | ListControlsCommandInput | ListKeywordsForDataSourceCommandInput | ListNotificationsCommandInput | ListTagsForResourceCommandInput | RegisterAccountCommandInput | RegisterOrganizationAdminAccountCommandInput | StartAssessmentFrameworkShareCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAssessmentCommandInput | UpdateAssessmentControlCommandInput | UpdateAssessmentControlSetStatusCommandInput | UpdateAssessmentFrameworkCommandInput | UpdateAssessmentFrameworkShareCommandInput | UpdateAssessmentStatusCommandInput | UpdateControlCommandInput | UpdateSettingsCommandInput | ValidateAssessmentReportIntegrityCommandInput;
65
- export declare type ServiceOutputTypes = AssociateAssessmentReportEvidenceFolderCommandOutput | BatchAssociateAssessmentReportEvidenceCommandOutput | BatchCreateDelegationByAssessmentCommandOutput | BatchDeleteDelegationByAssessmentCommandOutput | BatchDisassociateAssessmentReportEvidenceCommandOutput | BatchImportEvidenceToAssessmentControlCommandOutput | CreateAssessmentCommandOutput | CreateAssessmentFrameworkCommandOutput | CreateAssessmentReportCommandOutput | CreateControlCommandOutput | DeleteAssessmentCommandOutput | DeleteAssessmentFrameworkCommandOutput | DeleteAssessmentFrameworkShareCommandOutput | DeleteAssessmentReportCommandOutput | DeleteControlCommandOutput | DeregisterAccountCommandOutput | DeregisterOrganizationAdminAccountCommandOutput | DisassociateAssessmentReportEvidenceFolderCommandOutput | GetAccountStatusCommandOutput | GetAssessmentCommandOutput | GetAssessmentFrameworkCommandOutput | GetAssessmentReportUrlCommandOutput | GetChangeLogsCommandOutput | GetControlCommandOutput | GetDelegationsCommandOutput | GetEvidenceByEvidenceFolderCommandOutput | GetEvidenceCommandOutput | GetEvidenceFolderCommandOutput | GetEvidenceFoldersByAssessmentCommandOutput | GetEvidenceFoldersByAssessmentControlCommandOutput | GetOrganizationAdminAccountCommandOutput | GetServicesInScopeCommandOutput | GetSettingsCommandOutput | ListAssessmentFrameworkShareRequestsCommandOutput | ListAssessmentFrameworksCommandOutput | ListAssessmentReportsCommandOutput | ListAssessmentsCommandOutput | ListControlsCommandOutput | ListKeywordsForDataSourceCommandOutput | ListNotificationsCommandOutput | ListTagsForResourceCommandOutput | RegisterAccountCommandOutput | RegisterOrganizationAdminAccountCommandOutput | StartAssessmentFrameworkShareCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAssessmentCommandOutput | UpdateAssessmentControlCommandOutput | UpdateAssessmentControlSetStatusCommandOutput | UpdateAssessmentFrameworkCommandOutput | UpdateAssessmentFrameworkShareCommandOutput | UpdateAssessmentStatusCommandOutput | UpdateControlCommandOutput | UpdateSettingsCommandOutput | ValidateAssessmentReportIntegrityCommandOutput;
70
+ export declare type ServiceInputTypes = AssociateAssessmentReportEvidenceFolderCommandInput | BatchAssociateAssessmentReportEvidenceCommandInput | BatchCreateDelegationByAssessmentCommandInput | BatchDeleteDelegationByAssessmentCommandInput | BatchDisassociateAssessmentReportEvidenceCommandInput | BatchImportEvidenceToAssessmentControlCommandInput | CreateAssessmentCommandInput | CreateAssessmentFrameworkCommandInput | CreateAssessmentReportCommandInput | CreateControlCommandInput | DeleteAssessmentCommandInput | DeleteAssessmentFrameworkCommandInput | DeleteAssessmentFrameworkShareCommandInput | DeleteAssessmentReportCommandInput | DeleteControlCommandInput | DeregisterAccountCommandInput | DeregisterOrganizationAdminAccountCommandInput | DisassociateAssessmentReportEvidenceFolderCommandInput | GetAccountStatusCommandInput | GetAssessmentCommandInput | GetAssessmentFrameworkCommandInput | GetAssessmentReportUrlCommandInput | GetChangeLogsCommandInput | GetControlCommandInput | GetDelegationsCommandInput | GetEvidenceByEvidenceFolderCommandInput | GetEvidenceCommandInput | GetEvidenceFolderCommandInput | GetEvidenceFoldersByAssessmentCommandInput | GetEvidenceFoldersByAssessmentControlCommandInput | GetInsightsByAssessmentCommandInput | GetInsightsCommandInput | GetOrganizationAdminAccountCommandInput | GetServicesInScopeCommandInput | GetSettingsCommandInput | ListAssessmentControlInsightsByControlDomainCommandInput | ListAssessmentFrameworkShareRequestsCommandInput | ListAssessmentFrameworksCommandInput | ListAssessmentReportsCommandInput | ListAssessmentsCommandInput | ListControlDomainInsightsByAssessmentCommandInput | ListControlDomainInsightsCommandInput | ListControlInsightsByControlDomainCommandInput | ListControlsCommandInput | ListKeywordsForDataSourceCommandInput | ListNotificationsCommandInput | ListTagsForResourceCommandInput | RegisterAccountCommandInput | RegisterOrganizationAdminAccountCommandInput | StartAssessmentFrameworkShareCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAssessmentCommandInput | UpdateAssessmentControlCommandInput | UpdateAssessmentControlSetStatusCommandInput | UpdateAssessmentFrameworkCommandInput | UpdateAssessmentFrameworkShareCommandInput | UpdateAssessmentStatusCommandInput | UpdateControlCommandInput | UpdateSettingsCommandInput | ValidateAssessmentReportIntegrityCommandInput;
71
+ export declare type ServiceOutputTypes = AssociateAssessmentReportEvidenceFolderCommandOutput | BatchAssociateAssessmentReportEvidenceCommandOutput | BatchCreateDelegationByAssessmentCommandOutput | BatchDeleteDelegationByAssessmentCommandOutput | BatchDisassociateAssessmentReportEvidenceCommandOutput | BatchImportEvidenceToAssessmentControlCommandOutput | CreateAssessmentCommandOutput | CreateAssessmentFrameworkCommandOutput | CreateAssessmentReportCommandOutput | CreateControlCommandOutput | DeleteAssessmentCommandOutput | DeleteAssessmentFrameworkCommandOutput | DeleteAssessmentFrameworkShareCommandOutput | DeleteAssessmentReportCommandOutput | DeleteControlCommandOutput | DeregisterAccountCommandOutput | DeregisterOrganizationAdminAccountCommandOutput | DisassociateAssessmentReportEvidenceFolderCommandOutput | GetAccountStatusCommandOutput | GetAssessmentCommandOutput | GetAssessmentFrameworkCommandOutput | GetAssessmentReportUrlCommandOutput | GetChangeLogsCommandOutput | GetControlCommandOutput | GetDelegationsCommandOutput | GetEvidenceByEvidenceFolderCommandOutput | GetEvidenceCommandOutput | GetEvidenceFolderCommandOutput | GetEvidenceFoldersByAssessmentCommandOutput | GetEvidenceFoldersByAssessmentControlCommandOutput | GetInsightsByAssessmentCommandOutput | GetInsightsCommandOutput | GetOrganizationAdminAccountCommandOutput | GetServicesInScopeCommandOutput | GetSettingsCommandOutput | ListAssessmentControlInsightsByControlDomainCommandOutput | ListAssessmentFrameworkShareRequestsCommandOutput | ListAssessmentFrameworksCommandOutput | ListAssessmentReportsCommandOutput | ListAssessmentsCommandOutput | ListControlDomainInsightsByAssessmentCommandOutput | ListControlDomainInsightsCommandOutput | ListControlInsightsByControlDomainCommandOutput | ListControlsCommandOutput | ListKeywordsForDataSourceCommandOutput | ListNotificationsCommandOutput | ListTagsForResourceCommandOutput | RegisterAccountCommandOutput | RegisterOrganizationAdminAccountCommandOutput | StartAssessmentFrameworkShareCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAssessmentCommandOutput | UpdateAssessmentControlCommandOutput | UpdateAssessmentControlSetStatusCommandOutput | UpdateAssessmentFrameworkCommandOutput | UpdateAssessmentFrameworkShareCommandOutput | UpdateAssessmentStatusCommandOutput | UpdateControlCommandOutput | UpdateSettingsCommandOutput | ValidateAssessmentReportIntegrityCommandOutput;
66
72
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
67
73
  /**
68
74
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -163,6 +169,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
163
169
  * @internal
164
170
  */
165
171
  defaultUserAgentProvider?: Provider<__UserAgent>;
172
+ /**
173
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
174
+ */
175
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
166
176
  }
167
177
  declare type AuditManagerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
168
178
  /**
@@ -7,7 +7,7 @@ export interface GetAssessmentCommandInput extends GetAssessmentRequest {
7
7
  export interface GetAssessmentCommandOutput extends GetAssessmentResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p> Returns an assessment from Audit Manager. </p>
10
+ * <p>Returns an assessment from Audit Manager. </p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface GetAssessmentFrameworkCommandInput extends GetAssessmentFramewo
7
7
  export interface GetAssessmentFrameworkCommandOutput extends GetAssessmentFrameworkResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p> Returns a framework from Audit Manager. </p>
10
+ * <p>Returns a framework from Audit Manager. </p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
4
+ import { GetInsightsByAssessmentRequest, GetInsightsByAssessmentResponse } from "../models/models_0";
5
+ export interface GetInsightsByAssessmentCommandInput extends GetInsightsByAssessmentRequest {
6
+ }
7
+ export interface GetInsightsByAssessmentCommandOutput extends GetInsightsByAssessmentResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets the latest analytics data for a specific active assessment. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AuditManagerClient, GetInsightsByAssessmentCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
15
+ * // const { AuditManagerClient, GetInsightsByAssessmentCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
16
+ * const client = new AuditManagerClient(config);
17
+ * const command = new GetInsightsByAssessmentCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetInsightsByAssessmentCommandInput} for command's `input` shape.
22
+ * @see {@link GetInsightsByAssessmentCommandOutput} for command's `response` shape.
23
+ * @see {@link AuditManagerClientResolvedConfig | config} for AuditManagerClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetInsightsByAssessmentCommand extends $Command<GetInsightsByAssessmentCommandInput, GetInsightsByAssessmentCommandOutput, AuditManagerClientResolvedConfig> {
27
+ readonly input: GetInsightsByAssessmentCommandInput;
28
+ constructor(input: GetInsightsByAssessmentCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetInsightsByAssessmentCommandInput, GetInsightsByAssessmentCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
4
+ import { GetInsightsRequest, GetInsightsResponse } from "../models/models_0";
5
+ export interface GetInsightsCommandInput extends GetInsightsRequest {
6
+ }
7
+ export interface GetInsightsCommandOutput extends GetInsightsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets the latest analytics data for all your current active assessments. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AuditManagerClient, GetInsightsCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
15
+ * // const { AuditManagerClient, GetInsightsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
16
+ * const client = new AuditManagerClient(config);
17
+ * const command = new GetInsightsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetInsightsCommandInput} for command's `input` shape.
22
+ * @see {@link GetInsightsCommandOutput} for command's `response` shape.
23
+ * @see {@link AuditManagerClientResolvedConfig | config} for AuditManagerClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetInsightsCommand extends $Command<GetInsightsCommandInput, GetInsightsCommandOutput, AuditManagerClientResolvedConfig> {
27
+ readonly input: GetInsightsCommandInput;
28
+ constructor(input: GetInsightsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetInsightsCommandInput, GetInsightsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,42 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
4
+ import { ListAssessmentControlInsightsByControlDomainRequest, ListAssessmentControlInsightsByControlDomainResponse } from "../models/models_0";
5
+ export interface ListAssessmentControlInsightsByControlDomainCommandInput extends ListAssessmentControlInsightsByControlDomainRequest {
6
+ }
7
+ export interface ListAssessmentControlInsightsByControlDomainCommandOutput extends ListAssessmentControlInsightsByControlDomainResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists the latest analytics data for controls within a specific control domain and a
11
+ * specific active assessment.</p>
12
+ * <note>
13
+ * <p>Control insights are listed only if the control belongs to the control domain and assessment
14
+ * that was specified. Moreover, the control must have collected evidence on the
15
+ * <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>. If neither
16
+ * of these conditions are met, no data is listed for that control. </p>
17
+ * </note>
18
+ * @example
19
+ * Use a bare-bones client and the command you need to make an API call.
20
+ * ```javascript
21
+ * import { AuditManagerClient, ListAssessmentControlInsightsByControlDomainCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
22
+ * // const { AuditManagerClient, ListAssessmentControlInsightsByControlDomainCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
23
+ * const client = new AuditManagerClient(config);
24
+ * const command = new ListAssessmentControlInsightsByControlDomainCommand(input);
25
+ * const response = await client.send(command);
26
+ * ```
27
+ *
28
+ * @see {@link ListAssessmentControlInsightsByControlDomainCommandInput} for command's `input` shape.
29
+ * @see {@link ListAssessmentControlInsightsByControlDomainCommandOutput} for command's `response` shape.
30
+ * @see {@link AuditManagerClientResolvedConfig | config} for AuditManagerClient's `config` shape.
31
+ *
32
+ */
33
+ export declare class ListAssessmentControlInsightsByControlDomainCommand extends $Command<ListAssessmentControlInsightsByControlDomainCommandInput, ListAssessmentControlInsightsByControlDomainCommandOutput, AuditManagerClientResolvedConfig> {
34
+ readonly input: ListAssessmentControlInsightsByControlDomainCommandInput;
35
+ constructor(input: ListAssessmentControlInsightsByControlDomainCommandInput);
36
+ /**
37
+ * @internal
38
+ */
39
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAssessmentControlInsightsByControlDomainCommandInput, ListAssessmentControlInsightsByControlDomainCommandOutput>;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
4
+ import { ListControlDomainInsightsByAssessmentRequest, ListControlDomainInsightsByAssessmentResponse } from "../models/models_0";
5
+ export interface ListControlDomainInsightsByAssessmentCommandInput extends ListControlDomainInsightsByAssessmentRequest {
6
+ }
7
+ export interface ListControlDomainInsightsByAssessmentCommandOutput extends ListControlDomainInsightsByAssessmentResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists analytics data for control domains within a specified active assessment.</p>
11
+ * <note>
12
+ * <p>A control domain is listed only if at least one of the controls within that domain collected
13
+ * evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>. If
14
+ * this condition isn’t met, no data is listed for that domain.</p>
15
+ * </note>
16
+ * @example
17
+ * Use a bare-bones client and the command you need to make an API call.
18
+ * ```javascript
19
+ * import { AuditManagerClient, ListControlDomainInsightsByAssessmentCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
20
+ * // const { AuditManagerClient, ListControlDomainInsightsByAssessmentCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
21
+ * const client = new AuditManagerClient(config);
22
+ * const command = new ListControlDomainInsightsByAssessmentCommand(input);
23
+ * const response = await client.send(command);
24
+ * ```
25
+ *
26
+ * @see {@link ListControlDomainInsightsByAssessmentCommandInput} for command's `input` shape.
27
+ * @see {@link ListControlDomainInsightsByAssessmentCommandOutput} for command's `response` shape.
28
+ * @see {@link AuditManagerClientResolvedConfig | config} for AuditManagerClient's `config` shape.
29
+ *
30
+ */
31
+ export declare class ListControlDomainInsightsByAssessmentCommand extends $Command<ListControlDomainInsightsByAssessmentCommandInput, ListControlDomainInsightsByAssessmentCommandOutput, AuditManagerClientResolvedConfig> {
32
+ readonly input: ListControlDomainInsightsByAssessmentCommandInput;
33
+ constructor(input: ListControlDomainInsightsByAssessmentCommandInput);
34
+ /**
35
+ * @internal
36
+ */
37
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListControlDomainInsightsByAssessmentCommandInput, ListControlDomainInsightsByAssessmentCommandOutput>;
38
+ private serialize;
39
+ private deserialize;
40
+ }
@@ -0,0 +1,41 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
4
+ import { ListControlDomainInsightsRequest, ListControlDomainInsightsResponse } from "../models/models_0";
5
+ export interface ListControlDomainInsightsCommandInput extends ListControlDomainInsightsRequest {
6
+ }
7
+ export interface ListControlDomainInsightsCommandOutput extends ListControlDomainInsightsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists the latest analytics data for control domains across all of your active
11
+ * assessments. </p>
12
+ * <note>
13
+ * <p>A control domain is listed only if at least one of the controls within that domain collected
14
+ * evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>. If
15
+ * this condition isn’t met, no data is listed for that control domain.</p>
16
+ * </note>
17
+ * @example
18
+ * Use a bare-bones client and the command you need to make an API call.
19
+ * ```javascript
20
+ * import { AuditManagerClient, ListControlDomainInsightsCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
21
+ * // const { AuditManagerClient, ListControlDomainInsightsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
22
+ * const client = new AuditManagerClient(config);
23
+ * const command = new ListControlDomainInsightsCommand(input);
24
+ * const response = await client.send(command);
25
+ * ```
26
+ *
27
+ * @see {@link ListControlDomainInsightsCommandInput} for command's `input` shape.
28
+ * @see {@link ListControlDomainInsightsCommandOutput} for command's `response` shape.
29
+ * @see {@link AuditManagerClientResolvedConfig | config} for AuditManagerClient's `config` shape.
30
+ *
31
+ */
32
+ export declare class ListControlDomainInsightsCommand extends $Command<ListControlDomainInsightsCommandInput, ListControlDomainInsightsCommandOutput, AuditManagerClientResolvedConfig> {
33
+ readonly input: ListControlDomainInsightsCommandInput;
34
+ constructor(input: ListControlDomainInsightsCommandInput);
35
+ /**
36
+ * @internal
37
+ */
38
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListControlDomainInsightsCommandInput, ListControlDomainInsightsCommandOutput>;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,42 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
4
+ import { ListControlInsightsByControlDomainRequest, ListControlInsightsByControlDomainResponse } from "../models/models_0";
5
+ export interface ListControlInsightsByControlDomainCommandInput extends ListControlInsightsByControlDomainRequest {
6
+ }
7
+ export interface ListControlInsightsByControlDomainCommandOutput extends ListControlInsightsByControlDomainResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists the latest analytics data for controls within a specific control domain across all
11
+ * active assessments.</p>
12
+ * <note>
13
+ * <p>Control insights are listed only if the control belongs to the control domain that was
14
+ * specified and the control collected evidence on the <code>lastUpdated</code> date of
15
+ * <code>controlInsightsMetadata</code>. If neither of these conditions are met, no data
16
+ * is listed for that control. </p>
17
+ * </note>
18
+ * @example
19
+ * Use a bare-bones client and the command you need to make an API call.
20
+ * ```javascript
21
+ * import { AuditManagerClient, ListControlInsightsByControlDomainCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
22
+ * // const { AuditManagerClient, ListControlInsightsByControlDomainCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
23
+ * const client = new AuditManagerClient(config);
24
+ * const command = new ListControlInsightsByControlDomainCommand(input);
25
+ * const response = await client.send(command);
26
+ * ```
27
+ *
28
+ * @see {@link ListControlInsightsByControlDomainCommandInput} for command's `input` shape.
29
+ * @see {@link ListControlInsightsByControlDomainCommandOutput} for command's `response` shape.
30
+ * @see {@link AuditManagerClientResolvedConfig | config} for AuditManagerClient's `config` shape.
31
+ *
32
+ */
33
+ export declare class ListControlInsightsByControlDomainCommand extends $Command<ListControlInsightsByControlDomainCommandInput, ListControlInsightsByControlDomainCommandOutput, AuditManagerClientResolvedConfig> {
34
+ readonly input: ListControlInsightsByControlDomainCommandInput;
35
+ constructor(input: ListControlInsightsByControlDomainCommandInput);
36
+ /**
37
+ * @internal
38
+ */
39
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListControlInsightsByControlDomainCommandInput, ListControlInsightsByControlDomainCommandOutput>;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -28,13 +28,19 @@ export * from "./GetEvidenceCommand";
28
28
  export * from "./GetEvidenceFolderCommand";
29
29
  export * from "./GetEvidenceFoldersByAssessmentCommand";
30
30
  export * from "./GetEvidenceFoldersByAssessmentControlCommand";
31
+ export * from "./GetInsightsByAssessmentCommand";
32
+ export * from "./GetInsightsCommand";
31
33
  export * from "./GetOrganizationAdminAccountCommand";
32
34
  export * from "./GetServicesInScopeCommand";
33
35
  export * from "./GetSettingsCommand";
36
+ export * from "./ListAssessmentControlInsightsByControlDomainCommand";
34
37
  export * from "./ListAssessmentFrameworkShareRequestsCommand";
35
38
  export * from "./ListAssessmentFrameworksCommand";
36
39
  export * from "./ListAssessmentReportsCommand";
37
40
  export * from "./ListAssessmentsCommand";
41
+ export * from "./ListControlDomainInsightsByAssessmentCommand";
42
+ export * from "./ListControlDomainInsightsCommand";
43
+ export * from "./ListControlInsightsByControlDomainCommand";
38
44
  export * from "./ListControlsCommand";
39
45
  export * from "./ListKeywordsForDataSourceCommand";
40
46
  export * from "./ListNotificationsCommand";