@aws-sdk/client-auditmanager 3.137.0 → 3.138.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 +11 -0
- package/dist-cjs/models/models_0.js +17 -4
- package/dist-cjs/protocols/Aws_restJson1.js +24 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_restJson1.js +49 -21
- package/dist-types/AuditManager.d.ts +33 -29
- package/dist-types/commands/DeleteAssessmentFrameworkShareCommand.d.ts +1 -3
- package/dist-types/commands/DeleteAssessmentReportCommand.d.ts +2 -1
- package/dist-types/commands/DeregisterAccountCommand.d.ts +2 -2
- package/dist-types/commands/DeregisterOrganizationAdminAccountCommand.d.ts +5 -5
- package/dist-types/commands/ListAssessmentControlInsightsByControlDomainCommand.d.ts +4 -4
- package/dist-types/commands/ListControlDomainInsightsByAssessmentCommand.d.ts +4 -3
- package/dist-types/commands/ListControlDomainInsightsCommand.d.ts +4 -3
- package/dist-types/commands/ListControlInsightsByControlDomainCommand.d.ts +4 -4
- package/dist-types/commands/ListKeywordsForDataSourceCommand.d.ts +2 -1
- package/dist-types/commands/StartAssessmentFrameworkShareCommand.d.ts +5 -3
- package/dist-types/models/models_0.d.ts +187 -84
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.138.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.137.0...v3.138.0) (2022-07-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-auditmanager:** This release adds an exceeded quota exception to several APIs. We added a ServiceQuotaExceededException for the following operations: CreateAssessment, CreateControl, CreateAssessmentFramework, and UpdateAssessmentStatus. ([352b023](https://github.com/aws/aws-sdk-js-v3/commit/352b023a92f3390a18deaafb81133b123638525f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.ValidateAssessmentReportIntegrityResponseFilterSensitiveLog = exports.ValidateAssessmentReportIntegrityRequestFilterSensitiveLog = exports.UpdateSettingsResponseFilterSensitiveLog = exports.UpdateSettingsRequestFilterSensitiveLog = exports.UpdateControlResponseFilterSensitiveLog = exports.UpdateControlRequestFilterSensitiveLog = exports.UpdateAssessmentStatusResponseFilterSensitiveLog = exports.UpdateAssessmentStatusRequestFilterSensitiveLog = exports.UpdateAssessmentFrameworkShareResponseFilterSensitiveLog = exports.UpdateAssessmentFrameworkShareRequestFilterSensitiveLog = exports.UpdateAssessmentFrameworkResponseFilterSensitiveLog = exports.UpdateAssessmentFrameworkRequestFilterSensitiveLog = exports.UpdateAssessmentFrameworkControlSetFilterSensitiveLog = exports.UpdateAssessmentControlSetStatusResponseFilterSensitiveLog = exports.UpdateAssessmentControlSetStatusRequestFilterSensitiveLog = exports.UpdateAssessmentControlResponseFilterSensitiveLog = exports.UpdateAssessmentControlRequestFilterSensitiveLog = exports.UpdateAssessmentResponseFilterSensitiveLog = exports.UpdateAssessmentRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StartAssessmentFrameworkShareResponseFilterSensitiveLog = exports.StartAssessmentFrameworkShareRequestFilterSensitiveLog = exports.RegisterOrganizationAdminAccountResponseFilterSensitiveLog = exports.RegisterOrganizationAdminAccountRequestFilterSensitiveLog = exports.RegisterAccountResponseFilterSensitiveLog = exports.RegisterAccountRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListNotificationsResponseFilterSensitiveLog = exports.NotificationFilterSensitiveLog = exports.ListNotificationsRequestFilterSensitiveLog = exports.ListKeywordsForDataSourceResponseFilterSensitiveLog = exports.ListKeywordsForDataSourceRequestFilterSensitiveLog = exports.ListControlsResponseFilterSensitiveLog = exports.ControlMetadataFilterSensitiveLog = exports.ListControlsRequestFilterSensitiveLog = exports.ListControlInsightsByControlDomainResponseFilterSensitiveLog = exports.ControlInsightsMetadataItemFilterSensitiveLog = exports.ListControlInsightsByControlDomainRequestFilterSensitiveLog = exports.ListControlDomainInsightsByAssessmentResponseFilterSensitiveLog = exports.ListControlDomainInsightsByAssessmentRequestFilterSensitiveLog = exports.ListControlDomainInsightsResponseFilterSensitiveLog = exports.ControlDomainInsightsFilterSensitiveLog = exports.ListControlDomainInsightsRequestFilterSensitiveLog = exports.ListAssessmentsResponseFilterSensitiveLog = exports.ListAssessmentsRequestFilterSensitiveLog = void 0;
|
|
3
|
+
exports.AssociateAssessmentReportEvidenceFolderResponseFilterSensitiveLog = exports.AssociateAssessmentReportEvidenceFolderRequestFilterSensitiveLog = exports.AssessmentReportMetadataFilterSensitiveLog = exports.AssessmentReportEvidenceErrorFilterSensitiveLog = exports.AssessmentReportFilterSensitiveLog = exports.AssessmentMetadataItemFilterSensitiveLog = exports.AssessmentFrameworkShareRequestFilterSensitiveLog = exports.AssessmentFrameworkMetadataFilterSensitiveLog = exports.AssessmentEvidenceFolderFilterSensitiveLog = exports.AssessmentFilterSensitiveLog = exports.AssessmentMetadataFilterSensitiveLog = exports.ScopeFilterSensitiveLog = exports.AWSServiceFilterSensitiveLog = exports.AssessmentReportsDestinationFilterSensitiveLog = exports.AssessmentFrameworkFilterSensitiveLog = exports.FrameworkMetadataFilterSensitiveLog = exports.AssessmentControlSetFilterSensitiveLog = exports.RoleFilterSensitiveLog = exports.DelegationFilterSensitiveLog = exports.AssessmentControlFilterSensitiveLog = exports.ControlCommentFilterSensitiveLog = exports.AWSAccountFilterSensitiveLog = exports.ShareRequestAction = exports.ThrottlingException = exports.SettingAttribute = exports.ObjectTypeEnum = exports.ShareRequestType = exports.ControlType = exports.SourceType = exports.SourceSetUpOption = exports.KeywordInputType = exports.SourceFrequency = exports.ServiceQuotaExceededException = exports.ValidationException = exports.ValidationExceptionReason = exports.ResourceNotFoundException = exports.InternalServerException = exports.AssessmentReportStatus = exports.ShareRequestStatus = exports.FrameworkType = exports.AssessmentStatus = exports.AssessmentReportDestinationType = exports.ControlSetStatus = exports.DelegationStatus = exports.RoleType = exports.ControlStatus = exports.ControlResponse = exports.ActionEnum = exports.AccountStatus = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.GetAccountStatusResponseFilterSensitiveLog = exports.GetAccountStatusRequestFilterSensitiveLog = exports.DisassociateAssessmentReportEvidenceFolderResponseFilterSensitiveLog = exports.DisassociateAssessmentReportEvidenceFolderRequestFilterSensitiveLog = exports.DeregisterOrganizationAdminAccountResponseFilterSensitiveLog = exports.DeregisterOrganizationAdminAccountRequestFilterSensitiveLog = exports.DeregisterAccountResponseFilterSensitiveLog = exports.DeregisterAccountRequestFilterSensitiveLog = exports.DeleteControlResponseFilterSensitiveLog = exports.DeleteControlRequestFilterSensitiveLog = exports.DeleteAssessmentReportResponseFilterSensitiveLog = exports.DeleteAssessmentReportRequestFilterSensitiveLog = exports.DeleteAssessmentFrameworkShareResponseFilterSensitiveLog = exports.DeleteAssessmentFrameworkShareRequestFilterSensitiveLog = exports.DeleteAssessmentFrameworkResponseFilterSensitiveLog = exports.DeleteAssessmentFrameworkRequestFilterSensitiveLog = exports.DeleteAssessmentResponseFilterSensitiveLog = exports.DeleteAssessmentRequestFilterSensitiveLog = exports.CreateControlResponseFilterSensitiveLog = exports.CreateControlRequestFilterSensitiveLog = exports.CreateControlMappingSourceFilterSensitiveLog = exports.CreateAssessmentReportResponseFilterSensitiveLog = exports.CreateAssessmentReportRequestFilterSensitiveLog = exports.CreateAssessmentFrameworkResponseFilterSensitiveLog = exports.FrameworkFilterSensitiveLog = exports.ControlSetFilterSensitiveLog = exports.ControlFilterSensitiveLog = exports.ControlMappingSourceFilterSensitiveLog = exports.SourceKeywordFilterSensitiveLog = exports.CreateAssessmentFrameworkRequestFilterSensitiveLog = exports.CreateAssessmentFrameworkControlSetFilterSensitiveLog = exports.CreateAssessmentFrameworkControlFilterSensitiveLog = exports.CreateAssessmentResponseFilterSensitiveLog = exports.CreateAssessmentRequestFilterSensitiveLog = exports.BatchImportEvidenceToAssessmentControlResponseFilterSensitiveLog = exports.BatchImportEvidenceToAssessmentControlErrorFilterSensitiveLog = exports.BatchImportEvidenceToAssessmentControlRequestFilterSensitiveLog = exports.ManualEvidenceFilterSensitiveLog = exports.BatchDisassociateAssessmentReportEvidenceResponseFilterSensitiveLog = exports.BatchDisassociateAssessmentReportEvidenceRequestFilterSensitiveLog = exports.BatchDeleteDelegationByAssessmentResponseFilterSensitiveLog = exports.BatchDeleteDelegationByAssessmentErrorFilterSensitiveLog = exports.BatchDeleteDelegationByAssessmentRequestFilterSensitiveLog = exports.BatchCreateDelegationByAssessmentResponseFilterSensitiveLog = exports.BatchCreateDelegationByAssessmentErrorFilterSensitiveLog = exports.BatchCreateDelegationByAssessmentRequestFilterSensitiveLog = exports.CreateDelegationRequestFilterSensitiveLog = exports.BatchAssociateAssessmentReportEvidenceResponseFilterSensitiveLog = exports.BatchAssociateAssessmentReportEvidenceRequestFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = void 0;
|
|
5
|
+
exports.ListAssessmentReportsRequestFilterSensitiveLog = exports.ListAssessmentFrameworkShareRequestsResponseFilterSensitiveLog = exports.ListAssessmentFrameworkShareRequestsRequestFilterSensitiveLog = exports.ListAssessmentFrameworksResponseFilterSensitiveLog = exports.ListAssessmentFrameworksRequestFilterSensitiveLog = exports.ListAssessmentControlInsightsByControlDomainResponseFilterSensitiveLog = exports.ControlInsightsMetadataByAssessmentItemFilterSensitiveLog = exports.EvidenceInsightsFilterSensitiveLog = exports.ListAssessmentControlInsightsByControlDomainRequestFilterSensitiveLog = exports.GetSettingsResponseFilterSensitiveLog = exports.SettingsFilterSensitiveLog = exports.GetSettingsRequestFilterSensitiveLog = exports.GetServicesInScopeResponseFilterSensitiveLog = exports.ServiceMetadataFilterSensitiveLog = exports.GetServicesInScopeRequestFilterSensitiveLog = exports.GetOrganizationAdminAccountResponseFilterSensitiveLog = exports.GetOrganizationAdminAccountRequestFilterSensitiveLog = exports.GetInsightsByAssessmentResponseFilterSensitiveLog = exports.InsightsByAssessmentFilterSensitiveLog = exports.GetInsightsByAssessmentRequestFilterSensitiveLog = exports.GetInsightsResponseFilterSensitiveLog = exports.InsightsFilterSensitiveLog = exports.GetInsightsRequestFilterSensitiveLog = exports.GetEvidenceFoldersByAssessmentControlResponseFilterSensitiveLog = exports.GetEvidenceFoldersByAssessmentControlRequestFilterSensitiveLog = exports.GetEvidenceFoldersByAssessmentResponseFilterSensitiveLog = exports.GetEvidenceFoldersByAssessmentRequestFilterSensitiveLog = exports.GetEvidenceFolderResponseFilterSensitiveLog = exports.GetEvidenceFolderRequestFilterSensitiveLog = exports.GetEvidenceByEvidenceFolderResponseFilterSensitiveLog = exports.GetEvidenceByEvidenceFolderRequestFilterSensitiveLog = exports.GetEvidenceResponseFilterSensitiveLog = exports.EvidenceFilterSensitiveLog = exports.ResourceFilterSensitiveLog = exports.GetEvidenceRequestFilterSensitiveLog = exports.GetDelegationsResponseFilterSensitiveLog = exports.DelegationMetadataFilterSensitiveLog = exports.GetDelegationsRequestFilterSensitiveLog = exports.GetControlResponseFilterSensitiveLog = exports.GetControlRequestFilterSensitiveLog = exports.GetChangeLogsResponseFilterSensitiveLog = exports.ChangeLogFilterSensitiveLog = exports.GetChangeLogsRequestFilterSensitiveLog = exports.GetAssessmentReportUrlResponseFilterSensitiveLog = exports.URLFilterSensitiveLog = exports.GetAssessmentReportUrlRequestFilterSensitiveLog = exports.GetAssessmentFrameworkResponseFilterSensitiveLog = exports.GetAssessmentFrameworkRequestFilterSensitiveLog = exports.GetAssessmentResponseFilterSensitiveLog = exports.GetAssessmentRequestFilterSensitiveLog = void 0;
|
|
6
|
+
exports.ValidateAssessmentReportIntegrityResponseFilterSensitiveLog = exports.ValidateAssessmentReportIntegrityRequestFilterSensitiveLog = exports.UpdateSettingsResponseFilterSensitiveLog = exports.UpdateSettingsRequestFilterSensitiveLog = exports.UpdateControlResponseFilterSensitiveLog = exports.UpdateControlRequestFilterSensitiveLog = exports.UpdateAssessmentStatusResponseFilterSensitiveLog = exports.UpdateAssessmentStatusRequestFilterSensitiveLog = exports.UpdateAssessmentFrameworkShareResponseFilterSensitiveLog = exports.UpdateAssessmentFrameworkShareRequestFilterSensitiveLog = exports.UpdateAssessmentFrameworkResponseFilterSensitiveLog = exports.UpdateAssessmentFrameworkRequestFilterSensitiveLog = exports.UpdateAssessmentFrameworkControlSetFilterSensitiveLog = exports.UpdateAssessmentControlSetStatusResponseFilterSensitiveLog = exports.UpdateAssessmentControlSetStatusRequestFilterSensitiveLog = exports.UpdateAssessmentControlResponseFilterSensitiveLog = exports.UpdateAssessmentControlRequestFilterSensitiveLog = exports.UpdateAssessmentResponseFilterSensitiveLog = exports.UpdateAssessmentRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StartAssessmentFrameworkShareResponseFilterSensitiveLog = exports.StartAssessmentFrameworkShareRequestFilterSensitiveLog = exports.RegisterOrganizationAdminAccountResponseFilterSensitiveLog = exports.RegisterOrganizationAdminAccountRequestFilterSensitiveLog = exports.RegisterAccountResponseFilterSensitiveLog = exports.RegisterAccountRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListNotificationsResponseFilterSensitiveLog = exports.NotificationFilterSensitiveLog = exports.ListNotificationsRequestFilterSensitiveLog = exports.ListKeywordsForDataSourceResponseFilterSensitiveLog = exports.ListKeywordsForDataSourceRequestFilterSensitiveLog = exports.ListControlsResponseFilterSensitiveLog = exports.ControlMetadataFilterSensitiveLog = exports.ListControlsRequestFilterSensitiveLog = exports.ListControlInsightsByControlDomainResponseFilterSensitiveLog = exports.ControlInsightsMetadataItemFilterSensitiveLog = exports.ListControlInsightsByControlDomainRequestFilterSensitiveLog = exports.ListControlDomainInsightsByAssessmentResponseFilterSensitiveLog = exports.ListControlDomainInsightsByAssessmentRequestFilterSensitiveLog = exports.ListControlDomainInsightsResponseFilterSensitiveLog = exports.ControlDomainInsightsFilterSensitiveLog = exports.ListControlDomainInsightsRequestFilterSensitiveLog = exports.ListAssessmentsResponseFilterSensitiveLog = exports.ListAssessmentsRequestFilterSensitiveLog = exports.ListAssessmentReportsResponseFilterSensitiveLog = void 0;
|
|
7
7
|
const AuditManagerServiceException_1 = require("./AuditManagerServiceException");
|
|
8
8
|
class AccessDeniedException extends AuditManagerServiceException_1.AuditManagerServiceException {
|
|
9
9
|
constructor(opts) {
|
|
@@ -146,6 +146,19 @@ class ValidationException extends AuditManagerServiceException_1.AuditManagerSer
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
exports.ValidationException = ValidationException;
|
|
149
|
+
class ServiceQuotaExceededException extends AuditManagerServiceException_1.AuditManagerServiceException {
|
|
150
|
+
constructor(opts) {
|
|
151
|
+
super({
|
|
152
|
+
name: "ServiceQuotaExceededException",
|
|
153
|
+
$fault: "client",
|
|
154
|
+
...opts,
|
|
155
|
+
});
|
|
156
|
+
this.name = "ServiceQuotaExceededException";
|
|
157
|
+
this.$fault = "client";
|
|
158
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
149
162
|
var SourceFrequency;
|
|
150
163
|
(function (SourceFrequency) {
|
|
151
164
|
SourceFrequency["DAILY"] = "DAILY";
|
|
@@ -2144,6 +2144,9 @@ const deserializeAws_restJson1CreateAssessmentCommandError = async (output, cont
|
|
|
2144
2144
|
case "ResourceNotFoundException":
|
|
2145
2145
|
case "com.amazonaws.auditmanager#ResourceNotFoundException":
|
|
2146
2146
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2147
|
+
case "ServiceQuotaExceededException":
|
|
2148
|
+
case "com.amazonaws.auditmanager#ServiceQuotaExceededException":
|
|
2149
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
2147
2150
|
case "ValidationException":
|
|
2148
2151
|
case "com.amazonaws.auditmanager#ValidationException":
|
|
2149
2152
|
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
@@ -2191,6 +2194,9 @@ const deserializeAws_restJson1CreateAssessmentFrameworkCommandError = async (out
|
|
|
2191
2194
|
case "ResourceNotFoundException":
|
|
2192
2195
|
case "com.amazonaws.auditmanager#ResourceNotFoundException":
|
|
2193
2196
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2197
|
+
case "ServiceQuotaExceededException":
|
|
2198
|
+
case "com.amazonaws.auditmanager#ServiceQuotaExceededException":
|
|
2199
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
2194
2200
|
case "ValidationException":
|
|
2195
2201
|
case "com.amazonaws.auditmanager#ValidationException":
|
|
2196
2202
|
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
@@ -2285,6 +2291,9 @@ const deserializeAws_restJson1CreateControlCommandError = async (output, context
|
|
|
2285
2291
|
case "ResourceNotFoundException":
|
|
2286
2292
|
case "com.amazonaws.auditmanager#ResourceNotFoundException":
|
|
2287
2293
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2294
|
+
case "ServiceQuotaExceededException":
|
|
2295
|
+
case "com.amazonaws.auditmanager#ServiceQuotaExceededException":
|
|
2296
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
2288
2297
|
case "ValidationException":
|
|
2289
2298
|
case "com.amazonaws.auditmanager#ValidationException":
|
|
2290
2299
|
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
@@ -4527,6 +4536,9 @@ const deserializeAws_restJson1UpdateAssessmentStatusCommandError = async (output
|
|
|
4527
4536
|
case "ResourceNotFoundException":
|
|
4528
4537
|
case "com.amazonaws.auditmanager#ResourceNotFoundException":
|
|
4529
4538
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4539
|
+
case "ServiceQuotaExceededException":
|
|
4540
|
+
case "com.amazonaws.auditmanager#ServiceQuotaExceededException":
|
|
4541
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
4530
4542
|
case "ValidationException":
|
|
4531
4543
|
case "com.amazonaws.auditmanager#ValidationException":
|
|
4532
4544
|
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
@@ -4738,6 +4750,18 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
4738
4750
|
});
|
|
4739
4751
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
4740
4752
|
};
|
|
4753
|
+
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
4754
|
+
const contents = {};
|
|
4755
|
+
const data = parsedOutput.body;
|
|
4756
|
+
if (data.message !== undefined && data.message !== null) {
|
|
4757
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
4758
|
+
}
|
|
4759
|
+
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
4760
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4761
|
+
...contents,
|
|
4762
|
+
});
|
|
4763
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
4764
|
+
};
|
|
4741
4765
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
4742
4766
|
const contents = {};
|
|
4743
4767
|
const data = parsedOutput.body;
|
|
@@ -137,6 +137,18 @@ var ValidationException = (function (_super) {
|
|
|
137
137
|
return ValidationException;
|
|
138
138
|
}(__BaseException));
|
|
139
139
|
export { ValidationException };
|
|
140
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
141
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
142
|
+
function ServiceQuotaExceededException(opts) {
|
|
143
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
144
|
+
_this.name = "ServiceQuotaExceededException";
|
|
145
|
+
_this.$fault = "client";
|
|
146
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
147
|
+
return _this;
|
|
148
|
+
}
|
|
149
|
+
return ServiceQuotaExceededException;
|
|
150
|
+
}(__BaseException));
|
|
151
|
+
export { ServiceQuotaExceededException };
|
|
140
152
|
export var SourceFrequency;
|
|
141
153
|
(function (SourceFrequency) {
|
|
142
154
|
SourceFrequency["DAILY"] = "DAILY";
|
|
@@ -2,7 +2,7 @@ import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
3
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { AuditManagerServiceException as __BaseException } from "../models/AuditManagerServiceException";
|
|
5
|
-
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_restJson1AssociateAssessmentReportEvidenceFolderCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7
7
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
8
8
|
return __generator(this, function (_c) {
|
|
@@ -2434,19 +2434,23 @@ var deserializeAws_restJson1CreateAssessmentCommandError = function (output, con
|
|
|
2434
2434
|
case "com.amazonaws.auditmanager#InternalServerException": return [3, 4];
|
|
2435
2435
|
case "ResourceNotFoundException": return [3, 6];
|
|
2436
2436
|
case "com.amazonaws.auditmanager#ResourceNotFoundException": return [3, 6];
|
|
2437
|
-
case "
|
|
2438
|
-
case "com.amazonaws.auditmanager#
|
|
2437
|
+
case "ServiceQuotaExceededException": return [3, 8];
|
|
2438
|
+
case "com.amazonaws.auditmanager#ServiceQuotaExceededException": return [3, 8];
|
|
2439
|
+
case "ValidationException": return [3, 10];
|
|
2440
|
+
case "com.amazonaws.auditmanager#ValidationException": return [3, 10];
|
|
2439
2441
|
}
|
|
2440
|
-
return [3,
|
|
2442
|
+
return [3, 12];
|
|
2441
2443
|
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2442
2444
|
case 3: throw _d.sent();
|
|
2443
2445
|
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2444
2446
|
case 5: throw _d.sent();
|
|
2445
2447
|
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2446
2448
|
case 7: throw _d.sent();
|
|
2447
|
-
case 8: return [4,
|
|
2449
|
+
case 8: return [4, deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)];
|
|
2448
2450
|
case 9: throw _d.sent();
|
|
2449
|
-
case 10:
|
|
2451
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2452
|
+
case 11: throw _d.sent();
|
|
2453
|
+
case 12:
|
|
2450
2454
|
parsedBody = parsedOutput.body;
|
|
2451
2455
|
$metadata = deserializeMetadata(output);
|
|
2452
2456
|
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
@@ -2503,19 +2507,23 @@ var deserializeAws_restJson1CreateAssessmentFrameworkCommandError = function (ou
|
|
|
2503
2507
|
case "com.amazonaws.auditmanager#InternalServerException": return [3, 4];
|
|
2504
2508
|
case "ResourceNotFoundException": return [3, 6];
|
|
2505
2509
|
case "com.amazonaws.auditmanager#ResourceNotFoundException": return [3, 6];
|
|
2506
|
-
case "
|
|
2507
|
-
case "com.amazonaws.auditmanager#
|
|
2510
|
+
case "ServiceQuotaExceededException": return [3, 8];
|
|
2511
|
+
case "com.amazonaws.auditmanager#ServiceQuotaExceededException": return [3, 8];
|
|
2512
|
+
case "ValidationException": return [3, 10];
|
|
2513
|
+
case "com.amazonaws.auditmanager#ValidationException": return [3, 10];
|
|
2508
2514
|
}
|
|
2509
|
-
return [3,
|
|
2515
|
+
return [3, 12];
|
|
2510
2516
|
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2511
2517
|
case 3: throw _d.sent();
|
|
2512
2518
|
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2513
2519
|
case 5: throw _d.sent();
|
|
2514
2520
|
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2515
2521
|
case 7: throw _d.sent();
|
|
2516
|
-
case 8: return [4,
|
|
2522
|
+
case 8: return [4, deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)];
|
|
2517
2523
|
case 9: throw _d.sent();
|
|
2518
|
-
case 10:
|
|
2524
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2525
|
+
case 11: throw _d.sent();
|
|
2526
|
+
case 12:
|
|
2519
2527
|
parsedBody = parsedOutput.body;
|
|
2520
2528
|
$metadata = deserializeMetadata(output);
|
|
2521
2529
|
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
@@ -2641,19 +2649,23 @@ var deserializeAws_restJson1CreateControlCommandError = function (output, contex
|
|
|
2641
2649
|
case "com.amazonaws.auditmanager#InternalServerException": return [3, 4];
|
|
2642
2650
|
case "ResourceNotFoundException": return [3, 6];
|
|
2643
2651
|
case "com.amazonaws.auditmanager#ResourceNotFoundException": return [3, 6];
|
|
2644
|
-
case "
|
|
2645
|
-
case "com.amazonaws.auditmanager#
|
|
2652
|
+
case "ServiceQuotaExceededException": return [3, 8];
|
|
2653
|
+
case "com.amazonaws.auditmanager#ServiceQuotaExceededException": return [3, 8];
|
|
2654
|
+
case "ValidationException": return [3, 10];
|
|
2655
|
+
case "com.amazonaws.auditmanager#ValidationException": return [3, 10];
|
|
2646
2656
|
}
|
|
2647
|
-
return [3,
|
|
2657
|
+
return [3, 12];
|
|
2648
2658
|
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2649
2659
|
case 3: throw _d.sent();
|
|
2650
2660
|
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2651
2661
|
case 5: throw _d.sent();
|
|
2652
2662
|
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2653
2663
|
case 7: throw _d.sent();
|
|
2654
|
-
case 8: return [4,
|
|
2664
|
+
case 8: return [4, deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)];
|
|
2655
2665
|
case 9: throw _d.sent();
|
|
2656
|
-
case 10:
|
|
2666
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2667
|
+
case 11: throw _d.sent();
|
|
2668
|
+
case 12:
|
|
2657
2669
|
parsedBody = parsedOutput.body;
|
|
2658
2670
|
$metadata = deserializeMetadata(output);
|
|
2659
2671
|
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
@@ -5903,19 +5915,23 @@ var deserializeAws_restJson1UpdateAssessmentStatusCommandError = function (outpu
|
|
|
5903
5915
|
case "com.amazonaws.auditmanager#InternalServerException": return [3, 4];
|
|
5904
5916
|
case "ResourceNotFoundException": return [3, 6];
|
|
5905
5917
|
case "com.amazonaws.auditmanager#ResourceNotFoundException": return [3, 6];
|
|
5906
|
-
case "
|
|
5907
|
-
case "com.amazonaws.auditmanager#
|
|
5918
|
+
case "ServiceQuotaExceededException": return [3, 8];
|
|
5919
|
+
case "com.amazonaws.auditmanager#ServiceQuotaExceededException": return [3, 8];
|
|
5920
|
+
case "ValidationException": return [3, 10];
|
|
5921
|
+
case "com.amazonaws.auditmanager#ValidationException": return [3, 10];
|
|
5908
5922
|
}
|
|
5909
|
-
return [3,
|
|
5923
|
+
return [3, 12];
|
|
5910
5924
|
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
5911
5925
|
case 3: throw _d.sent();
|
|
5912
5926
|
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
5913
5927
|
case 5: throw _d.sent();
|
|
5914
5928
|
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
5915
5929
|
case 7: throw _d.sent();
|
|
5916
|
-
case 8: return [4,
|
|
5930
|
+
case 8: return [4, deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)];
|
|
5917
5931
|
case 9: throw _d.sent();
|
|
5918
|
-
case 10:
|
|
5932
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
5933
|
+
case 11: throw _d.sent();
|
|
5934
|
+
case 12:
|
|
5919
5935
|
parsedBody = parsedOutput.body;
|
|
5920
5936
|
$metadata = deserializeMetadata(output);
|
|
5921
5937
|
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
@@ -6189,6 +6205,18 @@ var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsed
|
|
|
6189
6205
|
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
6190
6206
|
});
|
|
6191
6207
|
}); };
|
|
6208
|
+
var deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6209
|
+
var contents, data, exception;
|
|
6210
|
+
return __generator(this, function (_a) {
|
|
6211
|
+
contents = {};
|
|
6212
|
+
data = parsedOutput.body;
|
|
6213
|
+
if (data.message !== undefined && data.message !== null) {
|
|
6214
|
+
contents.message = __expectString(data.message);
|
|
6215
|
+
}
|
|
6216
|
+
exception = new ServiceQuotaExceededException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
6217
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
6218
|
+
});
|
|
6219
|
+
}); };
|
|
6192
6220
|
var deserializeAws_restJson1ThrottlingExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6193
6221
|
var contents, data, exception;
|
|
6194
6222
|
return __generator(this, function (_a) {
|
|
@@ -177,16 +177,15 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
177
177
|
deleteAssessmentFramework(args: DeleteAssessmentFrameworkCommandInput, cb: (err: any, data?: DeleteAssessmentFrameworkCommandOutput) => void): void;
|
|
178
178
|
deleteAssessmentFramework(args: DeleteAssessmentFrameworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentFrameworkCommandOutput) => void): void;
|
|
179
179
|
/**
|
|
180
|
-
* <p>
|
|
181
|
-
* Deletes a share request for a custom framework in Audit Manager.
|
|
182
|
-
* </p>
|
|
180
|
+
* <p> Deletes a share request for a custom framework in Audit Manager. </p>
|
|
183
181
|
*/
|
|
184
182
|
deleteAssessmentFrameworkShare(args: DeleteAssessmentFrameworkShareCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssessmentFrameworkShareCommandOutput>;
|
|
185
183
|
deleteAssessmentFrameworkShare(args: DeleteAssessmentFrameworkShareCommandInput, cb: (err: any, data?: DeleteAssessmentFrameworkShareCommandOutput) => void): void;
|
|
186
184
|
deleteAssessmentFrameworkShare(args: DeleteAssessmentFrameworkShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentFrameworkShareCommandOutput) => void): void;
|
|
187
185
|
/**
|
|
188
186
|
* <p>Deletes an assessment report in Audit Manager. </p>
|
|
189
|
-
* <p>When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager
|
|
187
|
+
* <p>When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager
|
|
188
|
+
* attempts to delete the following data:</p>
|
|
190
189
|
* <ol>
|
|
191
190
|
* <li>
|
|
192
191
|
* <p>The specified assessment report that’s stored in your S3 bucket</p>
|
|
@@ -219,8 +218,8 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
219
218
|
/**
|
|
220
219
|
* <p> Deregisters an account in Audit Manager. </p>
|
|
221
220
|
* <note>
|
|
222
|
-
* <p>When you deregister your account from Audit Manager, your data isn’t deleted. If
|
|
223
|
-
* to delete your resource data, you must perform that task separately before you
|
|
221
|
+
* <p>When you deregister your account from Audit Manager, your data isn’t deleted. If
|
|
222
|
+
* you want to delete your resource data, you must perform that task separately before you
|
|
224
223
|
* deregister your account. Either, you can do this in the Audit Manager console. Or,
|
|
225
224
|
* you can use one of the delete API operations that are provided by Audit Manager. </p>
|
|
226
225
|
* <p>To delete your Audit Manager resource data, see the following instructions: </p>
|
|
@@ -272,11 +271,11 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
272
271
|
* evidence to that delegated administrator account moving forward.</p>
|
|
273
272
|
* </important>
|
|
274
273
|
* <note>
|
|
275
|
-
* <p>When you deregister a delegated administrator account for Audit Manager, the data
|
|
276
|
-
* account isn’t deleted. If you want to delete resource data for a delegated
|
|
277
|
-
* account, you must perform that task separately before you deregister the
|
|
278
|
-
* Either, you can do this in the Audit Manager console. Or, you can use one
|
|
279
|
-
* delete API operations that are provided by Audit Manager. </p>
|
|
274
|
+
* <p>When you deregister a delegated administrator account for Audit Manager, the data
|
|
275
|
+
* for that account isn’t deleted. If you want to delete resource data for a delegated
|
|
276
|
+
* administrator account, you must perform that task separately before you deregister the
|
|
277
|
+
* account. Either, you can do this in the Audit Manager console. Or, you can use one
|
|
278
|
+
* of the delete API operations that are provided by Audit Manager. </p>
|
|
280
279
|
* <p>To delete your Audit Manager resource data, see the following instructions: </p>
|
|
281
280
|
* <ul>
|
|
282
281
|
* <li>
|
|
@@ -432,10 +431,10 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
432
431
|
* <p>Lists the latest analytics data for controls within a specific control domain and a
|
|
433
432
|
* specific active assessment.</p>
|
|
434
433
|
* <note>
|
|
435
|
-
* <p>Control insights are listed only if the control belongs to the control domain and
|
|
436
|
-
*
|
|
437
|
-
*
|
|
438
|
-
*
|
|
434
|
+
* <p>Control insights are listed only if the control belongs to the control domain and
|
|
435
|
+
* assessment that was specified. Moreover, the control must have collected evidence on the
|
|
436
|
+
* <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>. If neither
|
|
437
|
+
* of these conditions are met, no data is listed for that control. </p>
|
|
439
438
|
* </note>
|
|
440
439
|
*/
|
|
441
440
|
listAssessmentControlInsightsByControlDomain(args: ListAssessmentControlInsightsByControlDomainCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentControlInsightsByControlDomainCommandOutput>;
|
|
@@ -470,9 +469,10 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
470
469
|
* <p>Lists the latest analytics data for control domains across all of your active
|
|
471
470
|
* assessments. </p>
|
|
472
471
|
* <note>
|
|
473
|
-
* <p>A control domain is listed only if at least one of the controls within that domain
|
|
474
|
-
*
|
|
475
|
-
*
|
|
472
|
+
* <p>A control domain is listed only if at least one of the controls within that domain
|
|
473
|
+
* collected evidence on the <code>lastUpdated</code> date of
|
|
474
|
+
* <code>controlDomainInsights</code>. If this condition isn’t met, no data is listed
|
|
475
|
+
* for that control domain.</p>
|
|
476
476
|
* </note>
|
|
477
477
|
*/
|
|
478
478
|
listControlDomainInsights(args: ListControlDomainInsightsCommandInput, options?: __HttpHandlerOptions): Promise<ListControlDomainInsightsCommandOutput>;
|
|
@@ -481,9 +481,10 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
481
481
|
/**
|
|
482
482
|
* <p>Lists analytics data for control domains within a specified active assessment.</p>
|
|
483
483
|
* <note>
|
|
484
|
-
* <p>A control domain is listed only if at least one of the controls within that domain
|
|
485
|
-
*
|
|
486
|
-
*
|
|
484
|
+
* <p>A control domain is listed only if at least one of the controls within that domain
|
|
485
|
+
* collected evidence on the <code>lastUpdated</code> date of
|
|
486
|
+
* <code>controlDomainInsights</code>. If this condition isn’t met, no data is listed
|
|
487
|
+
* for that domain.</p>
|
|
487
488
|
* </note>
|
|
488
489
|
*/
|
|
489
490
|
listControlDomainInsightsByAssessment(args: ListControlDomainInsightsByAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<ListControlDomainInsightsByAssessmentCommandOutput>;
|
|
@@ -493,10 +494,10 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
493
494
|
* <p>Lists the latest analytics data for controls within a specific control domain across all
|
|
494
495
|
* active assessments.</p>
|
|
495
496
|
* <note>
|
|
496
|
-
* <p>Control insights are listed only if the control belongs to the control domain that
|
|
497
|
-
*
|
|
498
|
-
*
|
|
499
|
-
*
|
|
497
|
+
* <p>Control insights are listed only if the control belongs to the control domain that
|
|
498
|
+
* was specified and the control collected evidence on the <code>lastUpdated</code> date of
|
|
499
|
+
* <code>controlInsightsMetadata</code>. If neither of these conditions are met, no data
|
|
500
|
+
* is listed for that control. </p>
|
|
500
501
|
* </note>
|
|
501
502
|
*/
|
|
502
503
|
listControlInsightsByControlDomain(args: ListControlInsightsByControlDomainCommandInput, options?: __HttpHandlerOptions): Promise<ListControlInsightsByControlDomainCommandOutput>;
|
|
@@ -509,7 +510,8 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
509
510
|
listControls(args: ListControlsCommandInput, cb: (err: any, data?: ListControlsCommandOutput) => void): void;
|
|
510
511
|
listControls(args: ListControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListControlsCommandOutput) => void): void;
|
|
511
512
|
/**
|
|
512
|
-
* <p> Returns a list of keywords that are pre-mapped to the specified control data source.
|
|
513
|
+
* <p> Returns a list of keywords that are pre-mapped to the specified control data source.
|
|
514
|
+
* </p>
|
|
513
515
|
*/
|
|
514
516
|
listKeywordsForDataSource(args: ListKeywordsForDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<ListKeywordsForDataSourceCommandOutput>;
|
|
515
517
|
listKeywordsForDataSource(args: ListKeywordsForDataSourceCommandInput, cb: (err: any, data?: ListKeywordsForDataSourceCommandOutput) => void): void;
|
|
@@ -541,7 +543,9 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
541
543
|
registerOrganizationAdminAccount(args: RegisterOrganizationAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterOrganizationAdminAccountCommandOutput) => void): void;
|
|
542
544
|
/**
|
|
543
545
|
* <p> Creates a share request for a custom framework in Audit Manager. </p>
|
|
544
|
-
* <p>The share request specifies a recipient and notifies them that a custom framework is
|
|
546
|
+
* <p>The share request specifies a recipient and notifies them that a custom framework is
|
|
547
|
+
* available. Recipients have 120 days to accept or decline the request. If no action is
|
|
548
|
+
* taken, the share request expires.</p>
|
|
545
549
|
* <p>When you create a share request, Audit Manager stores a snapshot of your custom
|
|
546
550
|
* framework in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also
|
|
547
551
|
* stores a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.</p>
|
|
@@ -564,8 +568,8 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
564
568
|
* </ul>
|
|
565
569
|
* <p>When a sender <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend">resends a share request</a>, the snapshot is replaced with an updated version that
|
|
566
570
|
* corresponds with the latest version of the custom framework. </p>
|
|
567
|
-
* <p>When a recipient accepts a share request, the snapshot is replicated into their
|
|
568
|
-
*
|
|
571
|
+
* <p>When a recipient accepts a share request, the snapshot is replicated into their Amazon Web Services account under the Amazon Web Services Region that was specified in the share
|
|
572
|
+
* request. </p>
|
|
569
573
|
* <important>
|
|
570
574
|
* <p>When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about to
|
|
571
575
|
* share a custom framework with another Amazon Web Services account. You may not share a
|
|
@@ -7,9 +7,7 @@ export interface DeleteAssessmentFrameworkShareCommandInput extends DeleteAssess
|
|
|
7
7
|
export interface DeleteAssessmentFrameworkShareCommandOutput extends DeleteAssessmentFrameworkShareResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
* Deletes a share request for a custom framework in Audit Manager.
|
|
12
|
-
* </p>
|
|
10
|
+
* <p> Deletes a share request for a custom framework in Audit Manager. </p>
|
|
13
11
|
* @example
|
|
14
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
13
|
* ```javascript
|
|
@@ -8,7 +8,8 @@ export interface DeleteAssessmentReportCommandOutput extends DeleteAssessmentRep
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes an assessment report in Audit Manager. </p>
|
|
11
|
-
* <p>When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager
|
|
11
|
+
* <p>When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager
|
|
12
|
+
* attempts to delete the following data:</p>
|
|
12
13
|
* <ol>
|
|
13
14
|
* <li>
|
|
14
15
|
* <p>The specified assessment report that’s stored in your S3 bucket</p>
|
|
@@ -9,8 +9,8 @@ export interface DeregisterAccountCommandOutput extends DeregisterAccountRespons
|
|
|
9
9
|
/**
|
|
10
10
|
* <p> Deregisters an account in Audit Manager. </p>
|
|
11
11
|
* <note>
|
|
12
|
-
* <p>When you deregister your account from Audit Manager, your data isn’t deleted. If
|
|
13
|
-
* to delete your resource data, you must perform that task separately before you
|
|
12
|
+
* <p>When you deregister your account from Audit Manager, your data isn’t deleted. If
|
|
13
|
+
* you want to delete your resource data, you must perform that task separately before you
|
|
14
14
|
* deregister your account. Either, you can do this in the Audit Manager console. Or,
|
|
15
15
|
* you can use one of the delete API operations that are provided by Audit Manager. </p>
|
|
16
16
|
* <p>To delete your Audit Manager resource data, see the following instructions: </p>
|
|
@@ -17,11 +17,11 @@ export interface DeregisterOrganizationAdminAccountCommandOutput extends Deregis
|
|
|
17
17
|
* evidence to that delegated administrator account moving forward.</p>
|
|
18
18
|
* </important>
|
|
19
19
|
* <note>
|
|
20
|
-
* <p>When you deregister a delegated administrator account for Audit Manager, the data
|
|
21
|
-
* account isn’t deleted. If you want to delete resource data for a delegated
|
|
22
|
-
* account, you must perform that task separately before you deregister the
|
|
23
|
-
* Either, you can do this in the Audit Manager console. Or, you can use one
|
|
24
|
-
* delete API operations that are provided by Audit Manager. </p>
|
|
20
|
+
* <p>When you deregister a delegated administrator account for Audit Manager, the data
|
|
21
|
+
* for that account isn’t deleted. If you want to delete resource data for a delegated
|
|
22
|
+
* administrator account, you must perform that task separately before you deregister the
|
|
23
|
+
* account. Either, you can do this in the Audit Manager console. Or, you can use one
|
|
24
|
+
* of the delete API operations that are provided by Audit Manager. </p>
|
|
25
25
|
* <p>To delete your Audit Manager resource data, see the following instructions: </p>
|
|
26
26
|
* <ul>
|
|
27
27
|
* <li>
|
|
@@ -10,10 +10,10 @@ export interface ListAssessmentControlInsightsByControlDomainCommandOutput exten
|
|
|
10
10
|
* <p>Lists the latest analytics data for controls within a specific control domain and a
|
|
11
11
|
* specific active assessment.</p>
|
|
12
12
|
* <note>
|
|
13
|
-
* <p>Control insights are listed only if the control belongs to the control domain and
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
13
|
+
* <p>Control insights are listed only if the control belongs to the control domain and
|
|
14
|
+
* assessment 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
17
|
* </note>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,9 +9,10 @@ export interface ListControlDomainInsightsByAssessmentCommandOutput extends List
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Lists analytics data for control domains within a specified active assessment.</p>
|
|
11
11
|
* <note>
|
|
12
|
-
* <p>A control domain is listed only if at least one of the controls within that domain
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* <p>A control domain is listed only if at least one of the controls within that domain
|
|
13
|
+
* collected evidence on the <code>lastUpdated</code> date of
|
|
14
|
+
* <code>controlDomainInsights</code>. If this condition isn’t met, no data is listed
|
|
15
|
+
* for that domain.</p>
|
|
15
16
|
* </note>
|
|
16
17
|
* @example
|
|
17
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,9 +10,10 @@ export interface ListControlDomainInsightsCommandOutput extends ListControlDomai
|
|
|
10
10
|
* <p>Lists the latest analytics data for control domains across all of your active
|
|
11
11
|
* assessments. </p>
|
|
12
12
|
* <note>
|
|
13
|
-
* <p>A control domain is listed only if at least one of the controls within that domain
|
|
14
|
-
*
|
|
15
|
-
*
|
|
13
|
+
* <p>A control domain is listed only if at least one of the controls within that domain
|
|
14
|
+
* collected evidence on the <code>lastUpdated</code> date of
|
|
15
|
+
* <code>controlDomainInsights</code>. If this condition isn’t met, no data is listed
|
|
16
|
+
* for that control domain.</p>
|
|
16
17
|
* </note>
|
|
17
18
|
* @example
|
|
18
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,10 +10,10 @@ export interface ListControlInsightsByControlDomainCommandOutput extends ListCon
|
|
|
10
10
|
* <p>Lists the latest analytics data for controls within a specific control domain across all
|
|
11
11
|
* active assessments.</p>
|
|
12
12
|
* <note>
|
|
13
|
-
* <p>Control insights are listed only if the control belongs to the control domain that
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
13
|
+
* <p>Control insights are listed only if the control belongs to the control domain that
|
|
14
|
+
* was 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
17
|
* </note>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,7 +7,8 @@ export interface ListKeywordsForDataSourceCommandInput extends ListKeywordsForDa
|
|
|
7
7
|
export interface ListKeywordsForDataSourceCommandOutput extends ListKeywordsForDataSourceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p> Returns a list of keywords that are pre-mapped to the specified control data source.
|
|
10
|
+
* <p> Returns a list of keywords that are pre-mapped to the specified control data source.
|
|
11
|
+
* </p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -8,7 +8,9 @@ export interface StartAssessmentFrameworkShareCommandOutput extends StartAssessm
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p> Creates a share request for a custom framework in Audit Manager. </p>
|
|
11
|
-
* <p>The share request specifies a recipient and notifies them that a custom framework is
|
|
11
|
+
* <p>The share request specifies a recipient and notifies them that a custom framework is
|
|
12
|
+
* available. Recipients have 120 days to accept or decline the request. If no action is
|
|
13
|
+
* taken, the share request expires.</p>
|
|
12
14
|
* <p>When you create a share request, Audit Manager stores a snapshot of your custom
|
|
13
15
|
* framework in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also
|
|
14
16
|
* stores a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.</p>
|
|
@@ -31,8 +33,8 @@ export interface StartAssessmentFrameworkShareCommandOutput extends StartAssessm
|
|
|
31
33
|
* </ul>
|
|
32
34
|
* <p>When a sender <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend">resends a share request</a>, the snapshot is replaced with an updated version that
|
|
33
35
|
* corresponds with the latest version of the custom framework. </p>
|
|
34
|
-
* <p>When a recipient accepts a share request, the snapshot is replicated into their
|
|
35
|
-
*
|
|
36
|
+
* <p>When a recipient accepts a share request, the snapshot is replicated into their Amazon Web Services account under the Amazon Web Services Region that was specified in the share
|
|
37
|
+
* request. </p>
|
|
36
38
|
* <important>
|
|
37
39
|
* <p>When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about to
|
|
38
40
|
* share a custom framework with another Amazon Web Services account. You may not share a
|
|
@@ -471,8 +471,9 @@ export interface AssessmentEvidenceFolder {
|
|
|
471
471
|
*/
|
|
472
472
|
evidenceResourcesIncludedCount?: number;
|
|
473
473
|
/**
|
|
474
|
-
* <p> The number of evidence that falls under the configuration data category. This
|
|
475
|
-
*
|
|
474
|
+
* <p> The number of evidence that falls under the configuration data category. This evidence
|
|
475
|
+
* is collected from configuration snapshots of other Amazon Web Services such as
|
|
476
|
+
* Amazon EC2, Amazon S3, or IAM. </p>
|
|
476
477
|
*/
|
|
477
478
|
evidenceByTypeConfigurationDataCount?: number;
|
|
478
479
|
/**
|
|
@@ -626,7 +627,8 @@ export interface AssessmentFrameworkShareRequest {
|
|
|
626
627
|
*/
|
|
627
628
|
customControlsCount?: number;
|
|
628
629
|
/**
|
|
629
|
-
* <p>The compliance type that the shared custom framework supports, such as CIS or
|
|
630
|
+
* <p>The compliance type that the shared custom framework supports, such as CIS or
|
|
631
|
+
* HIPAA.</p>
|
|
630
632
|
*/
|
|
631
633
|
complianceType?: string;
|
|
632
634
|
}
|
|
@@ -881,7 +883,7 @@ export interface BatchAssociateAssessmentReportEvidenceResponse {
|
|
|
881
883
|
}
|
|
882
884
|
/**
|
|
883
885
|
* <p> A collection of attributes that's used to create a delegation for an assessment in
|
|
884
|
-
*
|
|
886
|
+
* Audit Manager. </p>
|
|
885
887
|
*/
|
|
886
888
|
export interface CreateDelegationRequest {
|
|
887
889
|
/**
|
|
@@ -900,11 +902,11 @@ export interface CreateDelegationRequest {
|
|
|
900
902
|
* <p> The type of customer persona. </p>
|
|
901
903
|
* <note>
|
|
902
904
|
* <p>In <code>CreateAssessment</code>, <code>roleType</code> can only be
|
|
903
|
-
*
|
|
905
|
+
* <code>PROCESS_OWNER</code>. </p>
|
|
904
906
|
* <p>In <code>UpdateSettings</code>, <code>roleType</code> can only be
|
|
905
|
-
*
|
|
907
|
+
* <code>PROCESS_OWNER</code>.</p>
|
|
906
908
|
* <p>In <code>BatchCreateDelegationByAssessment</code>, <code>roleType</code> can only be
|
|
907
|
-
*
|
|
909
|
+
* <code>RESOURCE_OWNER</code>.</p>
|
|
908
910
|
* </note>
|
|
909
911
|
*/
|
|
910
912
|
roleType?: RoleType | string;
|
|
@@ -1076,7 +1078,8 @@ export interface CreateAssessmentRequest {
|
|
|
1076
1078
|
*/
|
|
1077
1079
|
description?: string;
|
|
1078
1080
|
/**
|
|
1079
|
-
* <p> The assessment report storage destination for the assessment that's being created.
|
|
1081
|
+
* <p> The assessment report storage destination for the assessment that's being created.
|
|
1082
|
+
* </p>
|
|
1080
1083
|
*/
|
|
1081
1084
|
assessmentReportsDestination: AssessmentReportsDestination | undefined;
|
|
1082
1085
|
/**
|
|
@@ -1105,6 +1108,20 @@ export interface CreateAssessmentResponse {
|
|
|
1105
1108
|
*/
|
|
1106
1109
|
assessment?: Assessment;
|
|
1107
1110
|
}
|
|
1111
|
+
/**
|
|
1112
|
+
* <p>You've reached your account quota for this resource type. To perform the requested
|
|
1113
|
+
* action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request a quota increase</a> from
|
|
1114
|
+
* the Service Quotas console. For a list of Audit Manager service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas and
|
|
1115
|
+
* restrictions for Audit Manager</a>.</p>
|
|
1116
|
+
*/
|
|
1117
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
1118
|
+
readonly name: "ServiceQuotaExceededException";
|
|
1119
|
+
readonly $fault: "client";
|
|
1120
|
+
/**
|
|
1121
|
+
* @internal
|
|
1122
|
+
*/
|
|
1123
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
1124
|
+
}
|
|
1108
1125
|
/**
|
|
1109
1126
|
* <p> The control entity attributes that uniquely identify an existing control to be added to
|
|
1110
1127
|
* a framework in Audit Manager. </p>
|
|
@@ -1162,7 +1179,33 @@ export declare enum KeywordInputType {
|
|
|
1162
1179
|
}
|
|
1163
1180
|
/**
|
|
1164
1181
|
* <p> The keyword to search for in CloudTrail logs, Config rules,
|
|
1165
|
-
*
|
|
1182
|
+
* Security Hub checks, and Amazon Web Services API names. </p>
|
|
1183
|
+
* <p> To learn more about the supported keywords that you can use when mapping a control data
|
|
1184
|
+
* source, see the following pages in the <i>Audit Manager User
|
|
1185
|
+
* Guide</i>:</p>
|
|
1186
|
+
* <ul>
|
|
1187
|
+
* <li>
|
|
1188
|
+
* <p>
|
|
1189
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-ash.html">Config rules supported by Audit Manager</a>
|
|
1190
|
+
* </p>
|
|
1191
|
+
* </li>
|
|
1192
|
+
* <li>
|
|
1193
|
+
* <p>
|
|
1194
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-config.html">Security Hub controls supported by Audit Manager</a>
|
|
1195
|
+
* </p>
|
|
1196
|
+
* </li>
|
|
1197
|
+
* <li>
|
|
1198
|
+
* <p>
|
|
1199
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-api.html">API calls
|
|
1200
|
+
* supported by Audit Manager</a>
|
|
1201
|
+
* </p>
|
|
1202
|
+
* </li>
|
|
1203
|
+
* <li>
|
|
1204
|
+
* <p>
|
|
1205
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-cloudtrail.html">CloudTrail event names supported by Audit Manager</a>
|
|
1206
|
+
* </p>
|
|
1207
|
+
* </li>
|
|
1208
|
+
* </ul>
|
|
1166
1209
|
*/
|
|
1167
1210
|
export interface SourceKeyword {
|
|
1168
1211
|
/**
|
|
@@ -1276,7 +1319,33 @@ export interface ControlMappingSource {
|
|
|
1276
1319
|
sourceType?: SourceType | string;
|
|
1277
1320
|
/**
|
|
1278
1321
|
* <p> The keyword to search for in CloudTrail logs, Config rules,
|
|
1279
|
-
*
|
|
1322
|
+
* Security Hub checks, and Amazon Web Services API names. </p>
|
|
1323
|
+
* <p> To learn more about the supported keywords that you can use when mapping a control data
|
|
1324
|
+
* source, see the following pages in the <i>Audit Manager User
|
|
1325
|
+
* Guide</i>:</p>
|
|
1326
|
+
* <ul>
|
|
1327
|
+
* <li>
|
|
1328
|
+
* <p>
|
|
1329
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-ash.html">Config rules supported by Audit Manager</a>
|
|
1330
|
+
* </p>
|
|
1331
|
+
* </li>
|
|
1332
|
+
* <li>
|
|
1333
|
+
* <p>
|
|
1334
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-config.html">Security Hub controls supported by Audit Manager</a>
|
|
1335
|
+
* </p>
|
|
1336
|
+
* </li>
|
|
1337
|
+
* <li>
|
|
1338
|
+
* <p>
|
|
1339
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-api.html">API calls
|
|
1340
|
+
* supported by Audit Manager</a>
|
|
1341
|
+
* </p>
|
|
1342
|
+
* </li>
|
|
1343
|
+
* <li>
|
|
1344
|
+
* <p>
|
|
1345
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-cloudtrail.html">CloudTrail event names supported by Audit Manager</a>
|
|
1346
|
+
* </p>
|
|
1347
|
+
* </li>
|
|
1348
|
+
* </ul>
|
|
1280
1349
|
*/
|
|
1281
1350
|
sourceKeyword?: SourceKeyword;
|
|
1282
1351
|
/**
|
|
@@ -1493,7 +1562,33 @@ export interface CreateControlMappingSource {
|
|
|
1493
1562
|
sourceType?: SourceType | string;
|
|
1494
1563
|
/**
|
|
1495
1564
|
* <p> The keyword to search for in CloudTrail logs, Config rules,
|
|
1496
|
-
*
|
|
1565
|
+
* Security Hub checks, and Amazon Web Services API names. </p>
|
|
1566
|
+
* <p> To learn more about the supported keywords that you can use when mapping a control data
|
|
1567
|
+
* source, see the following pages in the <i>Audit Manager User
|
|
1568
|
+
* Guide</i>:</p>
|
|
1569
|
+
* <ul>
|
|
1570
|
+
* <li>
|
|
1571
|
+
* <p>
|
|
1572
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-ash.html">Config rules supported by Audit Manager</a>
|
|
1573
|
+
* </p>
|
|
1574
|
+
* </li>
|
|
1575
|
+
* <li>
|
|
1576
|
+
* <p>
|
|
1577
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-config.html">Security Hub controls supported by Audit Manager</a>
|
|
1578
|
+
* </p>
|
|
1579
|
+
* </li>
|
|
1580
|
+
* <li>
|
|
1581
|
+
* <p>
|
|
1582
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-api.html">API calls
|
|
1583
|
+
* supported by Audit Manager</a>
|
|
1584
|
+
* </p>
|
|
1585
|
+
* </li>
|
|
1586
|
+
* <li>
|
|
1587
|
+
* <p>
|
|
1588
|
+
* <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources-cloudtrail.html">CloudTrail event names supported by Audit Manager</a>
|
|
1589
|
+
* </p>
|
|
1590
|
+
* </li>
|
|
1591
|
+
* </ul>
|
|
1497
1592
|
*/
|
|
1498
1593
|
sourceKeyword?: SourceKeyword;
|
|
1499
1594
|
/**
|
|
@@ -1902,7 +1997,7 @@ export interface Evidence {
|
|
|
1902
1997
|
/**
|
|
1903
1998
|
* <p> The evaluation status for evidence that falls under the compliance check category. For
|
|
1904
1999
|
* evidence collected from Security Hub, a <i>Pass</i> or
|
|
1905
|
-
*
|
|
2000
|
+
* <i>Fail</i> result is shown. For evidence collected from Config, a <i>Compliant</i> or <i>Noncompliant</i>
|
|
1906
2001
|
* result is shown. </p>
|
|
1907
2002
|
*/
|
|
1908
2003
|
complianceCheck?: string;
|
|
@@ -2037,7 +2132,7 @@ export interface GetEvidenceFoldersByAssessmentControlRequest {
|
|
|
2037
2132
|
export interface GetEvidenceFoldersByAssessmentControlResponse {
|
|
2038
2133
|
/**
|
|
2039
2134
|
* <p> The list of evidence folders that the
|
|
2040
|
-
*
|
|
2135
|
+
* <code>GetEvidenceFoldersByAssessmentControl</code> API returned. </p>
|
|
2041
2136
|
*/
|
|
2042
2137
|
evidenceFolders?: AssessmentEvidenceFolder[];
|
|
2043
2138
|
/**
|
|
@@ -2050,7 +2145,7 @@ export interface GetInsightsRequest {
|
|
|
2050
2145
|
/**
|
|
2051
2146
|
* <p>A summary of the latest analytics data for all your active assessments. </p>
|
|
2052
2147
|
* <p>This summary is a snapshot of the data that your active assessments collected on the
|
|
2053
|
-
*
|
|
2148
|
+
* <code>lastUpdated</code> date. It’s important to understand that the following totals
|
|
2054
2149
|
* are daily counts based on this date — they aren’t a total sum to date. </p>
|
|
2055
2150
|
* <p>The <code>Insights</code> data is eventually consistent. This means that, when you read
|
|
2056
2151
|
* data from <code>Insights</code>, the response might not instantly reflect the results of a
|
|
@@ -2058,20 +2153,21 @@ export interface GetInsightsRequest {
|
|
|
2058
2153
|
* hours, the response should return the latest data.</p>
|
|
2059
2154
|
* <note>
|
|
2060
2155
|
* <p>If you delete an assessment or change its status to inactive,
|
|
2061
|
-
*
|
|
2156
|
+
* <code>InsightsByAssessment</code> includes data for that assessment as
|
|
2062
2157
|
* follows.</p>
|
|
2063
2158
|
* <ul>
|
|
2064
2159
|
* <li>
|
|
2065
2160
|
* <p>
|
|
2066
|
-
* <b>Inactive assessments</b> - If Audit Manager
|
|
2067
|
-
*
|
|
2068
|
-
*
|
|
2161
|
+
* <b>Inactive assessments</b> - If Audit Manager
|
|
2162
|
+
* collected evidence for your assessment before you changed it inactive, that
|
|
2163
|
+
* evidence is included in the <code>InsightsByAssessment</code> counts for that
|
|
2164
|
+
* day.</p>
|
|
2069
2165
|
* </li>
|
|
2070
2166
|
* <li>
|
|
2071
2167
|
* <p>
|
|
2072
|
-
* <b>Deleted assessments</b> - If Audit Manager
|
|
2073
|
-
*
|
|
2074
|
-
*
|
|
2168
|
+
* <b>Deleted assessments</b> - If Audit Manager
|
|
2169
|
+
* collected evidence for your assessment before you deleted it, that evidence isn't
|
|
2170
|
+
* included in the <code>InsightsByAssessment</code> counts for that day.</p>
|
|
2075
2171
|
* </li>
|
|
2076
2172
|
* </ul>
|
|
2077
2173
|
* </note>
|
|
@@ -2082,32 +2178,34 @@ export interface Insights {
|
|
|
2082
2178
|
*/
|
|
2083
2179
|
activeAssessmentsCount?: number;
|
|
2084
2180
|
/**
|
|
2085
|
-
* <p>The number of compliance check evidence that Audit Manager classified as
|
|
2086
|
-
* on the <code>lastUpdated</code> date. This includes evidence that was
|
|
2087
|
-
* Security Hub with a <i>Fail</i> ruling, or collected
|
|
2088
|
-
* Config with a <i>Non-compliant</i> ruling. </p>
|
|
2181
|
+
* <p>The number of compliance check evidence that Audit Manager classified as
|
|
2182
|
+
* non-compliant on the <code>lastUpdated</code> date. This includes evidence that was
|
|
2183
|
+
* collected from Security Hub with a <i>Fail</i> ruling, or collected
|
|
2184
|
+
* from Config with a <i>Non-compliant</i> ruling. </p>
|
|
2089
2185
|
*/
|
|
2090
2186
|
noncompliantEvidenceCount?: number;
|
|
2091
2187
|
/**
|
|
2092
|
-
* <p>The number of compliance check evidence that Audit Manager classified as compliant
|
|
2093
|
-
* the <code>lastUpdated</code> date. This includes evidence that was collected from
|
|
2188
|
+
* <p>The number of compliance check evidence that Audit Manager classified as compliant
|
|
2189
|
+
* on the <code>lastUpdated</code> date. This includes evidence that was collected from
|
|
2190
|
+
* Security Hub with a <i>Pass</i> ruling, or collected from
|
|
2191
|
+
* Config with a <i>Compliant</i> ruling. </p>
|
|
2094
2192
|
*/
|
|
2095
2193
|
compliantEvidenceCount?: number;
|
|
2096
2194
|
/**
|
|
2097
|
-
* <p>The number of evidence without a compliance check ruling. Evidence is inconclusive when
|
|
2098
|
-
* associated control uses Security Hub or Config as a data
|
|
2099
|
-
* but you didn't enable those services. This is also the case when a control uses a
|
|
2100
|
-
* source that doesn’t support compliance checks (for example: manual evidence, API
|
|
2101
|
-
* CloudTrail). </p>
|
|
2195
|
+
* <p>The number of evidence without a compliance check ruling. Evidence is inconclusive when
|
|
2196
|
+
* the associated control uses Security Hub or Config as a data
|
|
2197
|
+
* source but you didn't enable those services. This is also the case when a control uses a
|
|
2198
|
+
* data source that doesn’t support compliance checks (for example: manual evidence, API
|
|
2199
|
+
* calls, or CloudTrail). </p>
|
|
2102
2200
|
* <note>
|
|
2103
|
-
* <p>If evidence has a compliance check status of <i>not applicable</i>,
|
|
2104
|
-
*
|
|
2201
|
+
* <p>If evidence has a compliance check status of <i>not applicable</i>,
|
|
2202
|
+
* it's classed as <i>inconclusive</i> in <code>Insights</code> data.</p>
|
|
2105
2203
|
* </note>
|
|
2106
2204
|
*/
|
|
2107
2205
|
inconclusiveEvidenceCount?: number;
|
|
2108
2206
|
/**
|
|
2109
2207
|
* <p>The number of assessment controls that collected non-compliant evidence on the
|
|
2110
|
-
*
|
|
2208
|
+
* <code>lastUpdated</code> date. </p>
|
|
2111
2209
|
*/
|
|
2112
2210
|
assessmentControlsCountByNoncompliantEvidence?: number;
|
|
2113
2211
|
/**
|
|
@@ -2133,63 +2231,66 @@ export interface GetInsightsByAssessmentRequest {
|
|
|
2133
2231
|
}
|
|
2134
2232
|
/**
|
|
2135
2233
|
* <p>A summary of the latest analytics data for a specific active assessment.</p>
|
|
2136
|
-
* <p>This summary is a snapshot of the data that was collected on the
|
|
2137
|
-
*
|
|
2138
|
-
*
|
|
2234
|
+
* <p>This summary is a snapshot of the data that was collected on the
|
|
2235
|
+
* <code>lastUpdated</code> date. It’s important to understand that the totals in
|
|
2236
|
+
* <code>InsightsByAssessment</code> are daily counts based on this date — they aren’t a
|
|
2237
|
+
* total sum to date. </p>
|
|
2139
2238
|
* <p>The <code>InsightsByAssessment</code> data is eventually consistent. This means that
|
|
2140
2239
|
* when you read data from <code>InsightsByAssessment</code>, the response might not instantly
|
|
2141
2240
|
* reflect the results of a recently completed write or update operation. If you repeat your
|
|
2142
2241
|
* read request after a few hours, the response returns the latest data.</p>
|
|
2143
2242
|
* <note>
|
|
2144
2243
|
* <p>If you delete an assessment or change its status to inactive,
|
|
2145
|
-
*
|
|
2244
|
+
* <code>InsightsByAssessment</code> includes data for that assessment as
|
|
2146
2245
|
* follows.</p>
|
|
2147
2246
|
* <ul>
|
|
2148
2247
|
* <li>
|
|
2149
2248
|
* <p>
|
|
2150
|
-
* <b>Inactive assessments</b> - If Audit Manager
|
|
2151
|
-
*
|
|
2152
|
-
*
|
|
2249
|
+
* <b>Inactive assessments</b> - If Audit Manager
|
|
2250
|
+
* collected evidence for your assessment before you changed it inactive, that
|
|
2251
|
+
* evidence is included in the <code>InsightsByAssessment</code> counts for that
|
|
2252
|
+
* day.</p>
|
|
2153
2253
|
* </li>
|
|
2154
2254
|
* <li>
|
|
2155
2255
|
* <p>
|
|
2156
|
-
* <b>Deleted assessments</b> - If Audit Manager
|
|
2157
|
-
*
|
|
2158
|
-
*
|
|
2256
|
+
* <b>Deleted assessments</b> - If Audit Manager
|
|
2257
|
+
* collected evidence for your assessment before you deleted it, that evidence isn't
|
|
2258
|
+
* included in the <code>InsightsByAssessment</code> counts for that day.</p>
|
|
2159
2259
|
* </li>
|
|
2160
2260
|
* </ul>
|
|
2161
2261
|
* </note>
|
|
2162
2262
|
*/
|
|
2163
2263
|
export interface InsightsByAssessment {
|
|
2164
2264
|
/**
|
|
2165
|
-
* <p>The number of compliance check evidence that Audit Manager classified as
|
|
2166
|
-
* This includes evidence that was collected from Security Hub with a
|
|
2167
|
-
*
|
|
2168
|
-
*
|
|
2265
|
+
* <p>The number of compliance check evidence that Audit Manager classified as
|
|
2266
|
+
* non-compliant. This includes evidence that was collected from Security Hub with a
|
|
2267
|
+
* <i>Fail</i> ruling, or collected from Config with a
|
|
2268
|
+
* <i>Non-compliant</i> ruling. </p>
|
|
2169
2269
|
*/
|
|
2170
2270
|
noncompliantEvidenceCount?: number;
|
|
2171
2271
|
/**
|
|
2172
2272
|
* <p>The number of compliance check evidence that Audit Manager classified as compliant.
|
|
2173
2273
|
* This includes evidence that was collected from Security Hub with a
|
|
2174
|
-
*
|
|
2175
|
-
*
|
|
2274
|
+
* <i>Pass</i> ruling, or collected from Config with a
|
|
2275
|
+
* <i>Compliant</i> ruling. </p>
|
|
2176
2276
|
*/
|
|
2177
2277
|
compliantEvidenceCount?: number;
|
|
2178
2278
|
/**
|
|
2179
|
-
* <p>The amount of evidence without a compliance check ruling. Evidence is inconclusive if
|
|
2180
|
-
* associated control uses Security Hub or Config as a data
|
|
2181
|
-
* and you didn't enable those services. This is also the case if a control uses a data
|
|
2182
|
-
* that doesn’t support compliance checks (for example, manual evidence, API calls, or
|
|
2279
|
+
* <p>The amount of evidence without a compliance check ruling. Evidence is inconclusive if
|
|
2280
|
+
* the associated control uses Security Hub or Config as a data
|
|
2281
|
+
* source and you didn't enable those services. This is also the case if a control uses a data
|
|
2282
|
+
* source that doesn’t support compliance checks (for example, manual evidence, API calls, or
|
|
2283
|
+
* CloudTrail). </p>
|
|
2183
2284
|
* <note>
|
|
2184
|
-
* <p>If evidence has a compliance check status of <i>not applicable</i>,
|
|
2185
|
-
*
|
|
2186
|
-
*
|
|
2285
|
+
* <p>If evidence has a compliance check status of <i>not applicable</i>,
|
|
2286
|
+
* it's classified as <i>inconclusive</i> in
|
|
2287
|
+
* <code>InsightsByAssessment</code> data.</p>
|
|
2187
2288
|
* </note>
|
|
2188
2289
|
*/
|
|
2189
2290
|
inconclusiveEvidenceCount?: number;
|
|
2190
2291
|
/**
|
|
2191
2292
|
* <p>The number of assessment controls that collected non-compliant evidence on the
|
|
2192
|
-
*
|
|
2293
|
+
* <code>lastUpdated</code> date. </p>
|
|
2193
2294
|
*/
|
|
2194
2295
|
assessmentControlsCountByNoncompliantEvidence?: number;
|
|
2195
2296
|
/**
|
|
@@ -2313,22 +2414,21 @@ export interface ListAssessmentControlInsightsByControlDomainRequest {
|
|
|
2313
2414
|
maxResults?: number;
|
|
2314
2415
|
}
|
|
2315
2416
|
/**
|
|
2316
|
-
* <p>A breakdown of the latest compliance check status for the evidence in your Audit Manager
|
|
2317
|
-
* assessments. </p>
|
|
2417
|
+
* <p>A breakdown of the latest compliance check status for the evidence in your Audit Manager assessments. </p>
|
|
2318
2418
|
*/
|
|
2319
2419
|
export interface EvidenceInsights {
|
|
2320
2420
|
/**
|
|
2321
|
-
* <p>The number of compliance check evidence that Audit Manager classified as
|
|
2322
|
-
* This includes evidence that was collected from Security Hub with a
|
|
2323
|
-
*
|
|
2324
|
-
*
|
|
2421
|
+
* <p>The number of compliance check evidence that Audit Manager classified as
|
|
2422
|
+
* non-compliant. This includes evidence that was collected from Security Hub with a
|
|
2423
|
+
* <i>Fail</i> ruling, or collected from Config with a
|
|
2424
|
+
* <i>Non-compliant</i> ruling. </p>
|
|
2325
2425
|
*/
|
|
2326
2426
|
noncompliantEvidenceCount?: number;
|
|
2327
2427
|
/**
|
|
2328
|
-
* <p>The number of compliance check evidence that Audit Manager classified as compliant.
|
|
2329
|
-
* includes evidence that was collected from Security Hub with a
|
|
2330
|
-
*
|
|
2331
|
-
*
|
|
2428
|
+
* <p>The number of compliance check evidence that Audit Manager classified as compliant.
|
|
2429
|
+
* This includes evidence that was collected from Security Hub with a
|
|
2430
|
+
* <i>Pass</i> ruling, or collected from Config with a
|
|
2431
|
+
* <i>Compliant</i> ruling. </p>
|
|
2332
2432
|
*/
|
|
2333
2433
|
compliantEvidenceCount?: number;
|
|
2334
2434
|
/**
|
|
@@ -2337,9 +2437,9 @@ export interface EvidenceInsights {
|
|
|
2337
2437
|
* control uses a data source that doesn’t support compliance checks (for example, manual
|
|
2338
2438
|
* evidence, API calls, or CloudTrail). </p>
|
|
2339
2439
|
* <note>
|
|
2340
|
-
* <p>If evidence has a compliance check status of <i>not applicable</i> in
|
|
2341
|
-
*
|
|
2342
|
-
*
|
|
2440
|
+
* <p>If evidence has a compliance check status of <i>not applicable</i> in
|
|
2441
|
+
* the console, it's classified as <i>inconclusive</i> in
|
|
2442
|
+
* <code>EvidenceInsights</code> data.</p>
|
|
2343
2443
|
* </note>
|
|
2344
2444
|
*/
|
|
2345
2445
|
inconclusiveEvidenceCount?: number;
|
|
@@ -2347,8 +2447,8 @@ export interface EvidenceInsights {
|
|
|
2347
2447
|
/**
|
|
2348
2448
|
* <p>A summary of the latest analytics data for a specific control in a specific active
|
|
2349
2449
|
* assessment.</p>
|
|
2350
|
-
* <p>Control insights are grouped by control domain, and ranked by the highest total count of
|
|
2351
|
-
*
|
|
2450
|
+
* <p>Control insights are grouped by control domain, and ranked by the highest total count of
|
|
2451
|
+
* non-compliant evidence. </p>
|
|
2352
2452
|
*/
|
|
2353
2453
|
export interface ControlInsightsMetadataByAssessmentItem {
|
|
2354
2454
|
/**
|
|
@@ -2376,7 +2476,7 @@ export interface ControlInsightsMetadataByAssessmentItem {
|
|
|
2376
2476
|
export interface ListAssessmentControlInsightsByControlDomainResponse {
|
|
2377
2477
|
/**
|
|
2378
2478
|
* <p>The assessment control analytics data that the
|
|
2379
|
-
*
|
|
2479
|
+
* <code>ListAssessmentControlInsightsByControlDomain</code> API returned. </p>
|
|
2380
2480
|
*/
|
|
2381
2481
|
controlInsightsByAssessment?: ControlInsightsMetadataByAssessmentItem[];
|
|
2382
2482
|
/**
|
|
@@ -2490,7 +2590,8 @@ export interface ListControlDomainInsightsRequest {
|
|
|
2490
2590
|
}
|
|
2491
2591
|
/**
|
|
2492
2592
|
* <p>A summary of the latest analytics data for a specific control domain.</p>
|
|
2493
|
-
* <p>Control domain insights are grouped by control domain, and ranked by the highest total
|
|
2593
|
+
* <p>Control domain insights are grouped by control domain, and ranked by the highest total
|
|
2594
|
+
* count of non-compliant evidence.</p>
|
|
2494
2595
|
*/
|
|
2495
2596
|
export interface ControlDomainInsights {
|
|
2496
2597
|
/**
|
|
@@ -2502,8 +2603,8 @@ export interface ControlDomainInsights {
|
|
|
2502
2603
|
*/
|
|
2503
2604
|
id?: string;
|
|
2504
2605
|
/**
|
|
2505
|
-
* <p>The number of controls in the control domain that collected non-compliant evidence on
|
|
2506
|
-
* <code>lastUpdated</code> date. </p>
|
|
2606
|
+
* <p>The number of controls in the control domain that collected non-compliant evidence on
|
|
2607
|
+
* the <code>lastUpdated</code> date. </p>
|
|
2507
2608
|
*/
|
|
2508
2609
|
controlsCountByNoncompliantEvidence?: number;
|
|
2509
2610
|
/**
|
|
@@ -2511,8 +2612,8 @@ export interface ControlDomainInsights {
|
|
|
2511
2612
|
*/
|
|
2512
2613
|
totalControlsCount?: number;
|
|
2513
2614
|
/**
|
|
2514
|
-
* <p>A breakdown of the compliance check status for the evidence that’s associated with the
|
|
2515
|
-
* domain. </p>
|
|
2615
|
+
* <p>A breakdown of the compliance check status for the evidence that’s associated with the
|
|
2616
|
+
* control domain. </p>
|
|
2516
2617
|
*/
|
|
2517
2618
|
evidenceInsights?: EvidenceInsights;
|
|
2518
2619
|
/**
|
|
@@ -2548,7 +2649,7 @@ export interface ListControlDomainInsightsByAssessmentRequest {
|
|
|
2548
2649
|
export interface ListControlDomainInsightsByAssessmentResponse {
|
|
2549
2650
|
/**
|
|
2550
2651
|
* <p>The control domain analytics data that the
|
|
2551
|
-
*
|
|
2652
|
+
* <code>ListControlDomainInsightsByAssessment</code> API returned. </p>
|
|
2552
2653
|
*/
|
|
2553
2654
|
controlDomainInsights?: ControlDomainInsights[];
|
|
2554
2655
|
/**
|
|
@@ -2572,7 +2673,9 @@ export interface ListControlInsightsByControlDomainRequest {
|
|
|
2572
2673
|
}
|
|
2573
2674
|
/**
|
|
2574
2675
|
* <p>A summary of the latest analytics data for a specific control. </p>
|
|
2575
|
-
* <p>This data reflects the total counts for the specified control across all active
|
|
2676
|
+
* <p>This data reflects the total counts for the specified control across all active
|
|
2677
|
+
* assessments. Control insights are grouped by control domain, and ranked by the highest
|
|
2678
|
+
* total count of non-compliant evidence.</p>
|
|
2576
2679
|
*/
|
|
2577
2680
|
export interface ControlInsightsMetadataItem {
|
|
2578
2681
|
/**
|
|
@@ -2930,7 +3033,7 @@ export interface UpdateAssessmentControlSetStatusRequest {
|
|
|
2930
3033
|
export interface UpdateAssessmentControlSetStatusResponse {
|
|
2931
3034
|
/**
|
|
2932
3035
|
* <p> The name of the updated control set that the
|
|
2933
|
-
*
|
|
3036
|
+
* <code>UpdateAssessmentControlSetStatus</code> API returned. </p>
|
|
2934
3037
|
*/
|
|
2935
3038
|
controlSet?: AssessmentControlSet;
|
|
2936
3039
|
}
|
|
@@ -3002,7 +3105,7 @@ export interface UpdateAssessmentFrameworkShareRequest {
|
|
|
3002
3105
|
export interface UpdateAssessmentFrameworkShareResponse {
|
|
3003
3106
|
/**
|
|
3004
3107
|
* <p> The updated share request that's returned by the
|
|
3005
|
-
*
|
|
3108
|
+
* <code>UpdateAssessmentFrameworkShare</code> operation. </p>
|
|
3006
3109
|
*/
|
|
3007
3110
|
assessmentFrameworkShareRequest?: AssessmentFrameworkShareRequest;
|
|
3008
3111
|
}
|
|
@@ -585,6 +585,13 @@ export interface CreateAssessmentResponse {
|
|
|
585
585
|
assessment?: Assessment;
|
|
586
586
|
}
|
|
587
587
|
|
|
588
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
589
|
+
readonly name: "ServiceQuotaExceededException";
|
|
590
|
+
readonly $fault: "client";
|
|
591
|
+
|
|
592
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
593
|
+
}
|
|
594
|
+
|
|
588
595
|
export interface CreateAssessmentFrameworkControl {
|
|
589
596
|
|
|
590
597
|
id: string | undefined;
|
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.138.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",
|