@aws-sdk/client-auditmanager 3.99.0 → 3.106.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/dist-cjs/AuditManagerClient.js +2 -0
- package/dist-cjs/models/models_0.js +14 -1
- package/dist-cjs/protocols/Aws_restJson1.js +15 -0
- package/dist-es/AuditManagerClient.js +2 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_restJson1.js +22 -6
- package/dist-types/AuditManager.d.ts +25 -1
- package/dist-types/commands/GetServicesInScopeCommand.d.ts +1 -1
- package/dist-types/commands/StartAssessmentFrameworkShareCommand.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +23 -30
- package/dist-types/ts3.4/models/models_0.d.ts +18 -29
- package/package.json +4 -3
- package/CHANGELOG.md +0 -857
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class AuditManagerClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.BatchDisassociateAssessmentReportEvidenceRequest = exports.BatchDeleteDelegationByAssessmentResponse = exports.BatchDeleteDelegationByAssessmentError = exports.BatchDeleteDelegationByAssessmentRequest = exports.BatchCreateDelegationByAssessmentResponse = exports.BatchCreateDelegationByAssessmentError = exports.BatchCreateDelegationByAssessmentRequest = exports.CreateDelegationRequest = exports.BatchAssociateAssessmentReportEvidenceResponse = exports.BatchAssociateAssessmentReportEvidenceRequest = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.ResourceNotFoundException = exports.InternalServerException = exports.AssociateAssessmentReportEvidenceFolderResponse = exports.AssociateAssessmentReportEvidenceFolderRequest = exports.AssessmentReportMetadata = exports.AssessmentReportEvidenceError = exports.AssessmentReport = exports.AssessmentReportStatus = exports.AssessmentMetadataItem = exports.AssessmentFrameworkShareRequest = exports.ShareRequestStatus = exports.AssessmentFrameworkMetadata = exports.FrameworkType = exports.AssessmentEvidenceFolder = exports.Assessment = exports.AssessmentMetadata = exports.AssessmentStatus = exports.Scope = exports.AWSService = exports.AssessmentReportsDestination = exports.AssessmentReportDestinationType = exports.AssessmentFramework = exports.FrameworkMetadata = exports.AssessmentControlSet = exports.ControlSetStatus = exports.Role = exports.Delegation = exports.DelegationStatus = exports.RoleType = exports.AssessmentControl = exports.ControlStatus = exports.ControlResponse = exports.ControlComment = exports.AWSAccount = exports.ActionEnum = exports.AccountStatus = exports.AccessDeniedException = void 0;
|
|
4
4
|
exports.GetAssessmentReportUrlRequest = exports.GetAssessmentFrameworkResponse = exports.GetAssessmentFrameworkRequest = exports.GetAssessmentResponse = exports.GetAssessmentRequest = exports.GetAccountStatusResponse = exports.GetAccountStatusRequest = exports.DisassociateAssessmentReportEvidenceFolderResponse = exports.DisassociateAssessmentReportEvidenceFolderRequest = exports.DeregisterOrganizationAdminAccountResponse = exports.DeregisterOrganizationAdminAccountRequest = exports.DeregisterAccountResponse = exports.DeregisterAccountRequest = exports.DeleteControlResponse = exports.DeleteControlRequest = exports.DeleteAssessmentReportResponse = exports.DeleteAssessmentReportRequest = exports.DeleteAssessmentFrameworkShareResponse = exports.DeleteAssessmentFrameworkShareRequest = exports.ShareRequestType = exports.DeleteAssessmentFrameworkResponse = exports.DeleteAssessmentFrameworkRequest = exports.DeleteAssessmentResponse = exports.DeleteAssessmentRequest = exports.CreateControlResponse = exports.CreateControlRequest = exports.CreateControlMappingSource = exports.CreateAssessmentReportResponse = exports.CreateAssessmentReportRequest = exports.CreateAssessmentFrameworkResponse = exports.Framework = exports.ControlSet = exports.Control = exports.ControlType = exports.ControlMappingSource = exports.SourceType = exports.SourceSetUpOption = exports.SourceKeyword = exports.KeywordInputType = exports.SourceFrequency = exports.CreateAssessmentFrameworkRequest = exports.CreateAssessmentFrameworkControlSet = exports.CreateAssessmentFrameworkControl = exports.CreateAssessmentResponse = exports.CreateAssessmentRequest = exports.BatchImportEvidenceToAssessmentControlResponse = exports.BatchImportEvidenceToAssessmentControlError = exports.BatchImportEvidenceToAssessmentControlRequest = exports.ManualEvidence = exports.BatchDisassociateAssessmentReportEvidenceResponse = void 0;
|
|
5
5
|
exports.ListAssessmentsResponse = exports.ListAssessmentsRequest = exports.ListAssessmentReportsResponse = exports.ListAssessmentReportsRequest = exports.ListAssessmentFrameworkShareRequestsResponse = exports.ListAssessmentFrameworkShareRequestsRequest = exports.ListAssessmentFrameworksResponse = exports.ListAssessmentFrameworksRequest = exports.ListAssessmentControlInsightsByControlDomainResponse = exports.ControlInsightsMetadataByAssessmentItem = exports.EvidenceInsights = exports.ListAssessmentControlInsightsByControlDomainRequest = exports.GetSettingsResponse = exports.Settings = exports.GetSettingsRequest = exports.SettingAttribute = exports.GetServicesInScopeResponse = exports.ServiceMetadata = exports.GetServicesInScopeRequest = exports.GetOrganizationAdminAccountResponse = exports.GetOrganizationAdminAccountRequest = exports.GetInsightsByAssessmentResponse = exports.InsightsByAssessment = exports.GetInsightsByAssessmentRequest = exports.GetInsightsResponse = exports.Insights = exports.GetInsightsRequest = exports.GetEvidenceFoldersByAssessmentControlResponse = exports.GetEvidenceFoldersByAssessmentControlRequest = exports.GetEvidenceFoldersByAssessmentResponse = exports.GetEvidenceFoldersByAssessmentRequest = exports.GetEvidenceFolderResponse = exports.GetEvidenceFolderRequest = exports.GetEvidenceByEvidenceFolderResponse = exports.GetEvidenceByEvidenceFolderRequest = exports.GetEvidenceResponse = exports.Evidence = exports.Resource = exports.GetEvidenceRequest = exports.GetDelegationsResponse = exports.DelegationMetadata = exports.GetDelegationsRequest = exports.GetControlResponse = exports.GetControlRequest = exports.GetChangeLogsResponse = exports.ChangeLog = exports.ObjectTypeEnum = exports.GetChangeLogsRequest = exports.GetAssessmentReportUrlResponse = exports.URL = void 0;
|
|
6
|
-
exports.ValidateAssessmentReportIntegrityResponse = exports.ValidateAssessmentReportIntegrityRequest = exports.UpdateSettingsResponse = exports.UpdateSettingsRequest = exports.UpdateControlResponse = exports.UpdateControlRequest = exports.UpdateAssessmentStatusResponse = exports.UpdateAssessmentStatusRequest = exports.UpdateAssessmentFrameworkShareResponse = exports.UpdateAssessmentFrameworkShareRequest = exports.ShareRequestAction = exports.UpdateAssessmentFrameworkResponse = exports.UpdateAssessmentFrameworkRequest = exports.UpdateAssessmentFrameworkControlSet = exports.UpdateAssessmentControlSetStatusResponse = exports.UpdateAssessmentControlSetStatusRequest = exports.UpdateAssessmentControlResponse = exports.UpdateAssessmentControlRequest = exports.UpdateAssessmentResponse = exports.UpdateAssessmentRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartAssessmentFrameworkShareResponse = exports.StartAssessmentFrameworkShareRequest = exports.RegisterOrganizationAdminAccountResponse = exports.RegisterOrganizationAdminAccountRequest = exports.RegisterAccountResponse = exports.RegisterAccountRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListNotificationsResponse = exports.Notification = exports.ListNotificationsRequest = exports.ListKeywordsForDataSourceResponse = exports.ListKeywordsForDataSourceRequest = exports.ListControlsResponse = exports.ControlMetadata = exports.ListControlsRequest = exports.ListControlInsightsByControlDomainResponse = exports.ControlInsightsMetadataItem = exports.ListControlInsightsByControlDomainRequest = exports.ListControlDomainInsightsByAssessmentResponse = exports.ListControlDomainInsightsByAssessmentRequest = exports.ListControlDomainInsightsResponse = exports.ControlDomainInsights = exports.ListControlDomainInsightsRequest = void 0;
|
|
6
|
+
exports.ValidateAssessmentReportIntegrityResponse = exports.ValidateAssessmentReportIntegrityRequest = exports.UpdateSettingsResponse = exports.UpdateSettingsRequest = exports.UpdateControlResponse = exports.UpdateControlRequest = exports.UpdateAssessmentStatusResponse = exports.UpdateAssessmentStatusRequest = exports.UpdateAssessmentFrameworkShareResponse = exports.UpdateAssessmentFrameworkShareRequest = exports.ShareRequestAction = exports.UpdateAssessmentFrameworkResponse = exports.UpdateAssessmentFrameworkRequest = exports.UpdateAssessmentFrameworkControlSet = exports.UpdateAssessmentControlSetStatusResponse = exports.UpdateAssessmentControlSetStatusRequest = exports.UpdateAssessmentControlResponse = exports.UpdateAssessmentControlRequest = exports.UpdateAssessmentResponse = exports.UpdateAssessmentRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartAssessmentFrameworkShareResponse = exports.StartAssessmentFrameworkShareRequest = exports.RegisterOrganizationAdminAccountResponse = exports.RegisterOrganizationAdminAccountRequest = exports.ThrottlingException = exports.RegisterAccountResponse = exports.RegisterAccountRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListNotificationsResponse = exports.Notification = exports.ListNotificationsRequest = exports.ListKeywordsForDataSourceResponse = exports.ListKeywordsForDataSourceRequest = exports.ListControlsResponse = exports.ControlMetadata = exports.ListControlsRequest = exports.ListControlInsightsByControlDomainResponse = exports.ControlInsightsMetadataItem = exports.ListControlInsightsByControlDomainRequest = exports.ListControlDomainInsightsByAssessmentResponse = exports.ListControlDomainInsightsByAssessmentRequest = exports.ListControlDomainInsightsResponse = exports.ControlDomainInsights = exports.ListControlDomainInsightsRequest = void 0;
|
|
7
7
|
const AuditManagerServiceException_1 = require("./AuditManagerServiceException");
|
|
8
8
|
class AccessDeniedException extends AuditManagerServiceException_1.AuditManagerServiceException {
|
|
9
9
|
constructor(opts) {
|
|
@@ -1065,6 +1065,19 @@ var RegisterAccountResponse;
|
|
|
1065
1065
|
...obj,
|
|
1066
1066
|
});
|
|
1067
1067
|
})(RegisterAccountResponse = exports.RegisterAccountResponse || (exports.RegisterAccountResponse = {}));
|
|
1068
|
+
class ThrottlingException extends AuditManagerServiceException_1.AuditManagerServiceException {
|
|
1069
|
+
constructor(opts) {
|
|
1070
|
+
super({
|
|
1071
|
+
name: "ThrottlingException",
|
|
1072
|
+
$fault: "client",
|
|
1073
|
+
...opts,
|
|
1074
|
+
});
|
|
1075
|
+
this.name = "ThrottlingException";
|
|
1076
|
+
this.$fault = "client";
|
|
1077
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1068
1081
|
var RegisterOrganizationAdminAccountRequest;
|
|
1069
1082
|
(function (RegisterOrganizationAdminAccountRequest) {
|
|
1070
1083
|
RegisterOrganizationAdminAccountRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -4055,6 +4055,9 @@ const deserializeAws_restJson1RegisterAccountCommandError = async (output, conte
|
|
|
4055
4055
|
case "ResourceNotFoundException":
|
|
4056
4056
|
case "com.amazonaws.auditmanager#ResourceNotFoundException":
|
|
4057
4057
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4058
|
+
case "ThrottlingException":
|
|
4059
|
+
case "com.amazonaws.auditmanager#ThrottlingException":
|
|
4060
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
4058
4061
|
case "ValidationException":
|
|
4059
4062
|
case "com.amazonaws.auditmanager#ValidationException":
|
|
4060
4063
|
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
@@ -4711,6 +4714,18 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
4711
4714
|
});
|
|
4712
4715
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
4713
4716
|
};
|
|
4717
|
+
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
4718
|
+
const contents = {};
|
|
4719
|
+
const data = parsedOutput.body;
|
|
4720
|
+
if (data.message !== undefined && data.message !== null) {
|
|
4721
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
4722
|
+
}
|
|
4723
|
+
const exception = new models_0_1.ThrottlingException({
|
|
4724
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4725
|
+
...contents,
|
|
4726
|
+
});
|
|
4727
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
4728
|
+
};
|
|
4714
4729
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
4715
4730
|
const contents = {};
|
|
4716
4731
|
const data = parsedOutput.body;
|
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var AuditManagerClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -766,6 +766,18 @@ export var RegisterAccountResponse;
|
|
|
766
766
|
(function (RegisterAccountResponse) {
|
|
767
767
|
RegisterAccountResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
768
768
|
})(RegisterAccountResponse || (RegisterAccountResponse = {}));
|
|
769
|
+
var ThrottlingException = (function (_super) {
|
|
770
|
+
__extends(ThrottlingException, _super);
|
|
771
|
+
function ThrottlingException(opts) {
|
|
772
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
773
|
+
_this.name = "ThrottlingException";
|
|
774
|
+
_this.$fault = "client";
|
|
775
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
776
|
+
return _this;
|
|
777
|
+
}
|
|
778
|
+
return ThrottlingException;
|
|
779
|
+
}(__BaseException));
|
|
780
|
+
export { ThrottlingException };
|
|
769
781
|
export var RegisterOrganizationAdminAccountRequest;
|
|
770
782
|
(function (RegisterOrganizationAdminAccountRequest) {
|
|
771
783
|
RegisterOrganizationAdminAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -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, ValidationException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, 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) {
|
|
@@ -5216,19 +5216,23 @@ var deserializeAws_restJson1RegisterAccountCommandError = function (output, cont
|
|
|
5216
5216
|
case "com.amazonaws.auditmanager#InternalServerException": return [3, 4];
|
|
5217
5217
|
case "ResourceNotFoundException": return [3, 6];
|
|
5218
5218
|
case "com.amazonaws.auditmanager#ResourceNotFoundException": return [3, 6];
|
|
5219
|
-
case "
|
|
5220
|
-
case "com.amazonaws.auditmanager#
|
|
5219
|
+
case "ThrottlingException": return [3, 8];
|
|
5220
|
+
case "com.amazonaws.auditmanager#ThrottlingException": return [3, 8];
|
|
5221
|
+
case "ValidationException": return [3, 10];
|
|
5222
|
+
case "com.amazonaws.auditmanager#ValidationException": return [3, 10];
|
|
5221
5223
|
}
|
|
5222
|
-
return [3,
|
|
5224
|
+
return [3, 12];
|
|
5223
5225
|
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
5224
5226
|
case 3: throw _d.sent();
|
|
5225
5227
|
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
5226
5228
|
case 5: throw _d.sent();
|
|
5227
5229
|
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
5228
5230
|
case 7: throw _d.sent();
|
|
5229
|
-
case 8: return [4,
|
|
5231
|
+
case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
5230
5232
|
case 9: throw _d.sent();
|
|
5231
|
-
case 10:
|
|
5233
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
5234
|
+
case 11: throw _d.sent();
|
|
5235
|
+
case 12:
|
|
5232
5236
|
parsedBody = parsedOutput.body;
|
|
5233
5237
|
response = new __BaseException({
|
|
5234
5238
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -6161,6 +6165,18 @@ var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsed
|
|
|
6161
6165
|
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
6162
6166
|
});
|
|
6163
6167
|
}); };
|
|
6168
|
+
var deserializeAws_restJson1ThrottlingExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6169
|
+
var contents, data, exception;
|
|
6170
|
+
return __generator(this, function (_a) {
|
|
6171
|
+
contents = {};
|
|
6172
|
+
data = parsedOutput.body;
|
|
6173
|
+
if (data.message !== undefined && data.message !== null) {
|
|
6174
|
+
contents.message = __expectString(data.message);
|
|
6175
|
+
}
|
|
6176
|
+
exception = new ThrottlingException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
6177
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
6178
|
+
});
|
|
6179
|
+
}); };
|
|
6164
6180
|
var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6165
6181
|
var contents, data, exception;
|
|
6166
6182
|
return __generator(this, function (_a) {
|
|
@@ -416,7 +416,7 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
416
416
|
getOrganizationAdminAccount(args: GetOrganizationAdminAccountCommandInput, cb: (err: any, data?: GetOrganizationAdminAccountCommandOutput) => void): void;
|
|
417
417
|
getOrganizationAdminAccount(args: GetOrganizationAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrganizationAdminAccountCommandOutput) => void): void;
|
|
418
418
|
/**
|
|
419
|
-
* <p> Returns a list of the in-scope Amazon Web Services
|
|
419
|
+
* <p> Returns a list of the in-scope Amazon Web Services for the specified
|
|
420
420
|
* assessment. </p>
|
|
421
421
|
*/
|
|
422
422
|
getServicesInScope(args: GetServicesInScopeCommandInput, options?: __HttpHandlerOptions): Promise<GetServicesInScopeCommandOutput>;
|
|
@@ -542,6 +542,30 @@ export declare class AuditManager extends AuditManagerClient {
|
|
|
542
542
|
/**
|
|
543
543
|
* <p> Creates a share request for a custom framework in Audit Manager. </p>
|
|
544
544
|
* <p>The share request specifies a recipient and notifies them that a custom framework is available. Recipients have 120 days to accept or decline the request. If no action is taken, the share request expires.</p>
|
|
545
|
+
* <p>When you create a share request, Audit Manager stores a snapshot of your custom
|
|
546
|
+
* framework in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also
|
|
547
|
+
* stores a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.</p>
|
|
548
|
+
* <p>Audit Manager deletes the snapshot and the backup snapshot when one of the following
|
|
549
|
+
* events occurs:</p>
|
|
550
|
+
* <ul>
|
|
551
|
+
* <li>
|
|
552
|
+
* <p>The sender revokes the share request.</p>
|
|
553
|
+
* </li>
|
|
554
|
+
* <li>
|
|
555
|
+
* <p>The recipient declines the share request.</p>
|
|
556
|
+
* </li>
|
|
557
|
+
* <li>
|
|
558
|
+
* <p>The recipient encounters an error and doesn't successfully accept the share
|
|
559
|
+
* request.</p>
|
|
560
|
+
* </li>
|
|
561
|
+
* <li>
|
|
562
|
+
* <p>The share request expires before the recipient responds to the request.</p>
|
|
563
|
+
* </li>
|
|
564
|
+
* </ul>
|
|
565
|
+
* <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
|
+
* 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
|
+
* Amazon Web Services account under the Amazon Web Services Region that was specified in the share request. </p>
|
|
545
569
|
* <important>
|
|
546
570
|
* <p>When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about to
|
|
547
571
|
* share a custom framework with another Amazon Web Services account. You may not share a
|
|
@@ -7,7 +7,7 @@ export interface GetServicesInScopeCommandInput extends GetServicesInScopeReques
|
|
|
7
7
|
export interface GetServicesInScopeCommandOutput extends GetServicesInScopeResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p> Returns a list of the in-scope Amazon Web Services
|
|
10
|
+
* <p> Returns a list of the in-scope Amazon Web Services for the specified
|
|
11
11
|
* assessment. </p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,6 +9,30 @@ export interface StartAssessmentFrameworkShareCommandOutput extends StartAssessm
|
|
|
9
9
|
/**
|
|
10
10
|
* <p> Creates a share request for a custom framework in Audit Manager. </p>
|
|
11
11
|
* <p>The share request specifies a recipient and notifies them that a custom framework is available. Recipients have 120 days to accept or decline the request. If no action is taken, the share request expires.</p>
|
|
12
|
+
* <p>When you create a share request, Audit Manager stores a snapshot of your custom
|
|
13
|
+
* framework in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also
|
|
14
|
+
* stores a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.</p>
|
|
15
|
+
* <p>Audit Manager deletes the snapshot and the backup snapshot when one of the following
|
|
16
|
+
* events occurs:</p>
|
|
17
|
+
* <ul>
|
|
18
|
+
* <li>
|
|
19
|
+
* <p>The sender revokes the share request.</p>
|
|
20
|
+
* </li>
|
|
21
|
+
* <li>
|
|
22
|
+
* <p>The recipient declines the share request.</p>
|
|
23
|
+
* </li>
|
|
24
|
+
* <li>
|
|
25
|
+
* <p>The recipient encounters an error and doesn't successfully accept the share
|
|
26
|
+
* request.</p>
|
|
27
|
+
* </li>
|
|
28
|
+
* <li>
|
|
29
|
+
* <p>The share request expires before the recipient responds to the request.</p>
|
|
30
|
+
* </li>
|
|
31
|
+
* </ul>
|
|
32
|
+
* <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
|
+
* 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
|
+
* Amazon Web Services account under the Amazon Web Services Region that was specified in the share request. </p>
|
|
12
36
|
* <important>
|
|
13
37
|
* <p>When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about to
|
|
14
38
|
* share a custom framework with another Amazon Web Services account. You may not share a
|
|
@@ -222,11 +222,11 @@ export interface Role {
|
|
|
222
222
|
* <code>RESOURCE_OWNER</code>.</p>
|
|
223
223
|
* </note>
|
|
224
224
|
*/
|
|
225
|
-
roleType
|
|
225
|
+
roleType: RoleType | string | undefined;
|
|
226
226
|
/**
|
|
227
227
|
* <p> The Amazon Resource Name (ARN) of the IAM role. </p>
|
|
228
228
|
*/
|
|
229
|
-
roleArn
|
|
229
|
+
roleArn: string | undefined;
|
|
230
230
|
}
|
|
231
231
|
export declare namespace Role {
|
|
232
232
|
/**
|
|
@@ -488,9 +488,7 @@ export interface Assessment {
|
|
|
488
488
|
/**
|
|
489
489
|
* <p> The tags that are associated with the assessment. </p>
|
|
490
490
|
*/
|
|
491
|
-
tags?:
|
|
492
|
-
[key: string]: string;
|
|
493
|
-
};
|
|
491
|
+
tags?: Record<string, string>;
|
|
494
492
|
}
|
|
495
493
|
export declare namespace Assessment {
|
|
496
494
|
/**
|
|
@@ -552,7 +550,7 @@ export interface AssessmentEvidenceFolder {
|
|
|
552
550
|
evidenceResourcesIncludedCount?: number;
|
|
553
551
|
/**
|
|
554
552
|
* <p> The number of evidence that falls under the configuration data category. This
|
|
555
|
-
* evidence is collected from configuration snapshots of other Amazon Web Services
|
|
553
|
+
* evidence is collected from configuration snapshots of other Amazon Web Services such as Amazon EC2, Amazon S3, or IAM. </p>
|
|
556
554
|
*/
|
|
557
555
|
evidenceByTypeConfigurationDataCount?: number;
|
|
558
556
|
/**
|
|
@@ -1325,9 +1323,7 @@ export interface CreateAssessmentRequest {
|
|
|
1325
1323
|
/**
|
|
1326
1324
|
* <p> The tags that are associated with the assessment. </p>
|
|
1327
1325
|
*/
|
|
1328
|
-
tags?:
|
|
1329
|
-
[key: string]: string;
|
|
1330
|
-
};
|
|
1326
|
+
tags?: Record<string, string>;
|
|
1331
1327
|
}
|
|
1332
1328
|
export declare namespace CreateAssessmentRequest {
|
|
1333
1329
|
/**
|
|
@@ -1406,9 +1402,7 @@ export interface CreateAssessmentFrameworkRequest {
|
|
|
1406
1402
|
/**
|
|
1407
1403
|
* <p> The tags that are associated with the framework. </p>
|
|
1408
1404
|
*/
|
|
1409
|
-
tags?:
|
|
1410
|
-
[key: string]: string;
|
|
1411
|
-
};
|
|
1405
|
+
tags?: Record<string, string>;
|
|
1412
1406
|
}
|
|
1413
1407
|
export declare namespace CreateAssessmentFrameworkRequest {
|
|
1414
1408
|
/**
|
|
@@ -1633,9 +1627,7 @@ export interface Control {
|
|
|
1633
1627
|
/**
|
|
1634
1628
|
* <p> The tags associated with the control. </p>
|
|
1635
1629
|
*/
|
|
1636
|
-
tags?:
|
|
1637
|
-
[key: string]: string;
|
|
1638
|
-
};
|
|
1630
|
+
tags?: Record<string, string>;
|
|
1639
1631
|
}
|
|
1640
1632
|
export declare namespace Control {
|
|
1641
1633
|
/**
|
|
@@ -1728,9 +1720,7 @@ export interface Framework {
|
|
|
1728
1720
|
/**
|
|
1729
1721
|
* <p> The tags that are associated with the framework. </p>
|
|
1730
1722
|
*/
|
|
1731
|
-
tags?:
|
|
1732
|
-
[key: string]: string;
|
|
1733
|
-
};
|
|
1723
|
+
tags?: Record<string, string>;
|
|
1734
1724
|
}
|
|
1735
1725
|
export declare namespace Framework {
|
|
1736
1726
|
/**
|
|
@@ -1855,9 +1845,7 @@ export interface CreateControlRequest {
|
|
|
1855
1845
|
/**
|
|
1856
1846
|
* <p> The tags that are associated with the control. </p>
|
|
1857
1847
|
*/
|
|
1858
|
-
tags?:
|
|
1859
|
-
[key: string]: string;
|
|
1860
|
-
};
|
|
1848
|
+
tags?: Record<string, string>;
|
|
1861
1849
|
}
|
|
1862
1850
|
export declare namespace CreateControlRequest {
|
|
1863
1851
|
/**
|
|
@@ -2439,9 +2427,7 @@ export interface Evidence {
|
|
|
2439
2427
|
* name (such as <code>allowUsersToChangePassword</code>) and value (such as <code>true</code>
|
|
2440
2428
|
* or <code>false</code>). </p>
|
|
2441
2429
|
*/
|
|
2442
|
-
attributes?:
|
|
2443
|
-
[key: string]: string;
|
|
2444
|
-
};
|
|
2430
|
+
attributes?: Record<string, string>;
|
|
2445
2431
|
/**
|
|
2446
2432
|
* <p> The unique identifier for the IAM user or role that's associated with
|
|
2447
2433
|
* the evidence. </p>
|
|
@@ -3618,9 +3604,7 @@ export interface ListTagsForResourceResponse {
|
|
|
3618
3604
|
/**
|
|
3619
3605
|
* <p> The list of tags that the <code>ListTagsForResource</code> API returned. </p>
|
|
3620
3606
|
*/
|
|
3621
|
-
tags?:
|
|
3622
|
-
[key: string]: string;
|
|
3623
|
-
};
|
|
3607
|
+
tags?: Record<string, string>;
|
|
3624
3608
|
}
|
|
3625
3609
|
export declare namespace ListTagsForResourceResponse {
|
|
3626
3610
|
/**
|
|
@@ -3656,6 +3640,17 @@ export declare namespace RegisterAccountResponse {
|
|
|
3656
3640
|
*/
|
|
3657
3641
|
const filterSensitiveLog: (obj: RegisterAccountResponse) => any;
|
|
3658
3642
|
}
|
|
3643
|
+
/**
|
|
3644
|
+
* <p>The request was denied due to request throttling.</p>
|
|
3645
|
+
*/
|
|
3646
|
+
export declare class ThrottlingException extends __BaseException {
|
|
3647
|
+
readonly name: "ThrottlingException";
|
|
3648
|
+
readonly $fault: "client";
|
|
3649
|
+
/**
|
|
3650
|
+
* @internal
|
|
3651
|
+
*/
|
|
3652
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
3653
|
+
}
|
|
3659
3654
|
export interface RegisterOrganizationAdminAccountRequest {
|
|
3660
3655
|
/**
|
|
3661
3656
|
* <p> The identifier for the delegated administrator account. </p>
|
|
@@ -3729,9 +3724,7 @@ export interface TagResourceRequest {
|
|
|
3729
3724
|
/**
|
|
3730
3725
|
* <p> The tags that are associated with the resource. </p>
|
|
3731
3726
|
*/
|
|
3732
|
-
tags:
|
|
3733
|
-
[key: string]: string;
|
|
3734
|
-
} | undefined;
|
|
3727
|
+
tags: Record<string, string> | undefined;
|
|
3735
3728
|
}
|
|
3736
3729
|
export declare namespace TagResourceRequest {
|
|
3737
3730
|
/**
|
|
@@ -125,9 +125,9 @@ export declare namespace Delegation {
|
|
|
125
125
|
|
|
126
126
|
export interface Role {
|
|
127
127
|
|
|
128
|
-
roleType
|
|
128
|
+
roleType: RoleType | string | undefined;
|
|
129
129
|
|
|
130
|
-
roleArn
|
|
130
|
+
roleArn: string | undefined;
|
|
131
131
|
}
|
|
132
132
|
export declare namespace Role {
|
|
133
133
|
|
|
@@ -269,9 +269,7 @@ export interface Assessment {
|
|
|
269
269
|
|
|
270
270
|
framework?: AssessmentFramework;
|
|
271
271
|
|
|
272
|
-
tags?:
|
|
273
|
-
[key: string]: string;
|
|
274
|
-
};
|
|
272
|
+
tags?: Record<string, string>;
|
|
275
273
|
}
|
|
276
274
|
export declare namespace Assessment {
|
|
277
275
|
|
|
@@ -732,9 +730,7 @@ export interface CreateAssessmentRequest {
|
|
|
732
730
|
|
|
733
731
|
frameworkId: string | undefined;
|
|
734
732
|
|
|
735
|
-
tags?:
|
|
736
|
-
[key: string]: string;
|
|
737
|
-
};
|
|
733
|
+
tags?: Record<string, string>;
|
|
738
734
|
}
|
|
739
735
|
export declare namespace CreateAssessmentRequest {
|
|
740
736
|
|
|
@@ -778,9 +774,7 @@ export interface CreateAssessmentFrameworkRequest {
|
|
|
778
774
|
|
|
779
775
|
controlSets: CreateAssessmentFrameworkControlSet[] | undefined;
|
|
780
776
|
|
|
781
|
-
tags?:
|
|
782
|
-
[key: string]: string;
|
|
783
|
-
};
|
|
777
|
+
tags?: Record<string, string>;
|
|
784
778
|
}
|
|
785
779
|
export declare namespace CreateAssessmentFrameworkRequest {
|
|
786
780
|
|
|
@@ -874,9 +868,7 @@ export interface Control {
|
|
|
874
868
|
|
|
875
869
|
lastUpdatedBy?: string;
|
|
876
870
|
|
|
877
|
-
tags?:
|
|
878
|
-
[key: string]: string;
|
|
879
|
-
};
|
|
871
|
+
tags?: Record<string, string>;
|
|
880
872
|
}
|
|
881
873
|
export declare namespace Control {
|
|
882
874
|
|
|
@@ -924,9 +916,7 @@ export interface Framework {
|
|
|
924
916
|
|
|
925
917
|
lastUpdatedBy?: string;
|
|
926
918
|
|
|
927
|
-
tags?:
|
|
928
|
-
[key: string]: string;
|
|
929
|
-
};
|
|
919
|
+
tags?: Record<string, string>;
|
|
930
920
|
}
|
|
931
921
|
export declare namespace Framework {
|
|
932
922
|
|
|
@@ -995,9 +985,7 @@ export interface CreateControlRequest {
|
|
|
995
985
|
|
|
996
986
|
controlMappingSources: CreateControlMappingSource[] | undefined;
|
|
997
987
|
|
|
998
|
-
tags?:
|
|
999
|
-
[key: string]: string;
|
|
1000
|
-
};
|
|
988
|
+
tags?: Record<string, string>;
|
|
1001
989
|
}
|
|
1002
990
|
export declare namespace CreateControlRequest {
|
|
1003
991
|
|
|
@@ -1359,9 +1347,7 @@ export interface Evidence {
|
|
|
1359
1347
|
|
|
1360
1348
|
resourcesIncluded?: Resource[];
|
|
1361
1349
|
|
|
1362
|
-
attributes?:
|
|
1363
|
-
[key: string]: string;
|
|
1364
|
-
};
|
|
1350
|
+
attributes?: Record<string, string>;
|
|
1365
1351
|
|
|
1366
1352
|
iamId?: string;
|
|
1367
1353
|
|
|
@@ -1992,9 +1978,7 @@ export declare namespace ListTagsForResourceRequest {
|
|
|
1992
1978
|
}
|
|
1993
1979
|
export interface ListTagsForResourceResponse {
|
|
1994
1980
|
|
|
1995
|
-
tags?:
|
|
1996
|
-
[key: string]: string;
|
|
1997
|
-
};
|
|
1981
|
+
tags?: Record<string, string>;
|
|
1998
1982
|
}
|
|
1999
1983
|
export declare namespace ListTagsForResourceResponse {
|
|
2000
1984
|
|
|
@@ -2018,6 +2002,13 @@ export declare namespace RegisterAccountResponse {
|
|
|
2018
2002
|
|
|
2019
2003
|
const filterSensitiveLog: (obj: RegisterAccountResponse) => any;
|
|
2020
2004
|
}
|
|
2005
|
+
|
|
2006
|
+
export declare class ThrottlingException extends __BaseException {
|
|
2007
|
+
readonly name: "ThrottlingException";
|
|
2008
|
+
readonly $fault: "client";
|
|
2009
|
+
|
|
2010
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
2011
|
+
}
|
|
2021
2012
|
export interface RegisterOrganizationAdminAccountRequest {
|
|
2022
2013
|
|
|
2023
2014
|
adminAccountId: string | undefined;
|
|
@@ -2062,9 +2053,7 @@ export interface TagResourceRequest {
|
|
|
2062
2053
|
|
|
2063
2054
|
resourceArn: string | undefined;
|
|
2064
2055
|
|
|
2065
|
-
tags:
|
|
2066
|
-
[key: string]: string;
|
|
2067
|
-
} | undefined;
|
|
2056
|
+
tags: Record<string, string> | undefined;
|
|
2068
2057
|
}
|
|
2069
2058
|
export declare namespace TagResourceRequest {
|
|
2070
2059
|
|
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.106.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,15 +18,16 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.105.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.105.0",
|
|
30
31
|
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
32
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
33
|
"@aws-sdk/middleware-signing": "3.78.0",
|