@aws-sdk/client-auditmanager 3.350.0 → 3.353.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/README.md +8 -0
- package/dist-cjs/AuditManager.js +2 -0
- package/dist-cjs/commands/GetEvidenceFileUploadUrlCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +20 -14
- package/dist-cjs/protocols/Aws_restJson1.js +71 -3
- package/dist-es/AuditManager.js +2 -0
- package/dist-es/commands/GetEvidenceFileUploadUrlCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +18 -12
- package/dist-es/protocols/Aws_restJson1.js +66 -0
- package/dist-types/AuditManager.d.ts +7 -0
- package/dist-types/AuditManagerClient.d.ts +3 -2
- package/dist-types/commands/BatchImportEvidenceToAssessmentControlCommand.d.ts +18 -7
- package/dist-types/commands/CreateAssessmentFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/CreateControlCommand.d.ts +2 -2
- package/dist-types/commands/DeleteControlCommand.d.ts +6 -0
- package/dist-types/commands/GetAccountStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetAssessmentCommand.d.ts +1 -1
- package/dist-types/commands/GetAssessmentFrameworkCommand.d.ts +2 -2
- package/dist-types/commands/GetAssessmentReportUrlCommand.d.ts +1 -1
- package/dist-types/commands/GetChangeLogsCommand.d.ts +1 -1
- package/dist-types/commands/GetControlCommand.d.ts +2 -2
- package/dist-types/commands/GetDelegationsCommand.d.ts +1 -1
- package/dist-types/commands/GetEvidenceByEvidenceFolderCommand.d.ts +1 -1
- package/dist-types/commands/GetEvidenceCommand.d.ts +1 -1
- package/dist-types/commands/GetEvidenceFileUploadUrlCommand.d.ts +105 -0
- package/dist-types/commands/GetEvidenceFolderCommand.d.ts +1 -2
- package/dist-types/commands/GetEvidenceFoldersByAssessmentCommand.d.ts +1 -2
- package/dist-types/commands/GetEvidenceFoldersByAssessmentControlCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetServicesInScopeCommand.d.ts +2 -2
- package/dist-types/commands/GetSettingsCommand.d.ts +6 -2
- package/dist-types/commands/UpdateAssessmentFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/UpdateControlCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSettingsCommand.d.ts +8 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +206 -45
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/AuditManager.d.ts +17 -0
- package/dist-types/ts3.4/AuditManagerClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetEvidenceFileUploadUrlCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -7
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +13 -13
|
@@ -83,7 +83,7 @@ export interface CreateAssessmentFrameworkCommandOutput extends CreateAssessment
|
|
|
83
83
|
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
84
84
|
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
85
85
|
* // sourceKeyword: { // SourceKeyword
|
|
86
|
-
* // keywordInputType: "SELECT_FROM_LIST",
|
|
86
|
+
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
87
87
|
* // keywordValue: "STRING_VALUE",
|
|
88
88
|
* // },
|
|
89
89
|
* // sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",
|
|
@@ -43,7 +43,7 @@ export interface CreateControlCommandOutput extends CreateControlResponse, __Met
|
|
|
43
43
|
* sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
44
44
|
* sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
45
45
|
* sourceKeyword: { // SourceKeyword
|
|
46
|
-
* keywordInputType: "SELECT_FROM_LIST",
|
|
46
|
+
* keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
47
47
|
* keywordValue: "STRING_VALUE",
|
|
48
48
|
* },
|
|
49
49
|
* sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",
|
|
@@ -75,7 +75,7 @@ export interface CreateControlCommandOutput extends CreateControlResponse, __Met
|
|
|
75
75
|
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
76
76
|
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
77
77
|
* // sourceKeyword: { // SourceKeyword
|
|
78
|
-
* // keywordInputType: "SELECT_FROM_LIST",
|
|
78
|
+
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
79
79
|
* // keywordValue: "STRING_VALUE",
|
|
80
80
|
* // },
|
|
81
81
|
* // sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",
|
|
@@ -24,6 +24,12 @@ export interface DeleteControlCommandOutput extends DeleteControlResponse, __Met
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p> Deletes a custom control in Audit Manager. </p>
|
|
27
|
+
* <important>
|
|
28
|
+
* <p>When you invoke this operation, the custom control is deleted from any frameworks or
|
|
29
|
+
* assessments that it’s currently part of. As a result, Audit Manager will stop
|
|
30
|
+
* collecting evidence for that custom control in all of your assessments. This includes
|
|
31
|
+
* assessments that you previously created before you deleted the custom control.</p>
|
|
32
|
+
* </important>
|
|
27
33
|
* @example
|
|
28
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
35
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface GetAccountStatusCommandOutput extends GetAccountStatusResponse,
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p> Gets the registration status of an account in Audit Manager. </p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface GetAssessmentCommandOutput extends GetAssessmentResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p>Gets information about a specified assessment. </p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface GetAssessmentFrameworkCommandOutput extends GetAssessmentFramew
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p>Gets information about a specified framework.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -68,7 +68,7 @@ export interface GetAssessmentFrameworkCommandOutput extends GetAssessmentFramew
|
|
|
68
68
|
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
69
69
|
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
70
70
|
* // sourceKeyword: { // SourceKeyword
|
|
71
|
-
* // keywordInputType: "SELECT_FROM_LIST",
|
|
71
|
+
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
72
72
|
* // keywordValue: "STRING_VALUE",
|
|
73
73
|
* // },
|
|
74
74
|
* // sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",
|
|
@@ -23,7 +23,7 @@ export interface GetAssessmentReportUrlCommandOutput extends GetAssessmentReport
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p> Gets the URL of an assessment report in Audit Manager. </p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface GetChangeLogsCommandOutput extends GetChangeLogsResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p> Gets a list of changelogs from Audit Manager. </p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface GetControlCommandOutput extends GetControlResponse, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p> Gets information about a specified control.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -54,7 +54,7 @@ export interface GetControlCommandOutput extends GetControlResponse, __MetadataB
|
|
|
54
54
|
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
55
55
|
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
56
56
|
* // sourceKeyword: { // SourceKeyword
|
|
57
|
-
* // keywordInputType: "SELECT_FROM_LIST",
|
|
57
|
+
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
58
58
|
* // keywordValue: "STRING_VALUE",
|
|
59
59
|
* // },
|
|
60
60
|
* // sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",
|
|
@@ -23,7 +23,7 @@ export interface GetDelegationsCommandOutput extends GetDelegationsResponse, __M
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p> Gets a list of delegations from an audit owner to a delegate. </p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface GetEvidenceByEvidenceFolderCommandOutput extends GetEvidenceByE
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p> Gets all evidence from a specified evidence folder in Audit Manager. </p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface GetEvidenceCommandOutput extends GetEvidenceResponse, __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p> Gets information about a specified evidence item.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
|
|
5
|
+
import { GetEvidenceFileUploadUrlRequest, GetEvidenceFileUploadUrlResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetEvidenceFileUploadUrlCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetEvidenceFileUploadUrlCommandInput extends GetEvidenceFileUploadUrlRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetEvidenceFileUploadUrlCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetEvidenceFileUploadUrlCommandOutput extends GetEvidenceFileUploadUrlResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates a presigned Amazon S3 URL that can be used to upload a file as manual
|
|
27
|
+
* evidence. For instructions on how to use this operation, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#how-to-upload-manual-evidence-files">Upload a file from your browser </a> in the <i>Audit Manager User
|
|
28
|
+
* Guide</i>.</p>
|
|
29
|
+
* <p>The following restrictions apply to this operation:</p>
|
|
30
|
+
* <ul>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>Maximum size of an individual evidence file: 100 MB</p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>Number of daily manual evidence uploads per control: 100</p>
|
|
36
|
+
* </li>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
|
|
39
|
+
* </p>
|
|
40
|
+
* </li>
|
|
41
|
+
* </ul>
|
|
42
|
+
* <p>For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas and
|
|
43
|
+
* restrictions for Audit Manager</a>.</p>
|
|
44
|
+
* @example
|
|
45
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
46
|
+
* ```javascript
|
|
47
|
+
* import { AuditManagerClient, GetEvidenceFileUploadUrlCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
48
|
+
* // const { AuditManagerClient, GetEvidenceFileUploadUrlCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
49
|
+
* const client = new AuditManagerClient(config);
|
|
50
|
+
* const input = { // GetEvidenceFileUploadUrlRequest
|
|
51
|
+
* fileName: "STRING_VALUE", // required
|
|
52
|
+
* };
|
|
53
|
+
* const command = new GetEvidenceFileUploadUrlCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // GetEvidenceFileUploadUrlResponse
|
|
56
|
+
* // evidenceFileName: "STRING_VALUE",
|
|
57
|
+
* // uploadUrl: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param GetEvidenceFileUploadUrlCommandInput - {@link GetEvidenceFileUploadUrlCommandInput}
|
|
63
|
+
* @returns {@link GetEvidenceFileUploadUrlCommandOutput}
|
|
64
|
+
* @see {@link GetEvidenceFileUploadUrlCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link GetEvidenceFileUploadUrlCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link AuditManagerClientResolvedConfig | config} for AuditManagerClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p> Your account isn't registered with Audit Manager. Check the delegated
|
|
70
|
+
* administrator setup on the Audit Manager settings page, and try again. </p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p> An internal service error occurred during the processing of your request. Try again
|
|
74
|
+
* later. </p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was denied due to request throttling.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p> The request has invalid or missing parameters. </p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link AuditManagerServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from AuditManager service.</p>
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
export declare class GetEvidenceFileUploadUrlCommand extends $Command<GetEvidenceFileUploadUrlCommandInput, GetEvidenceFileUploadUrlCommandOutput, AuditManagerClientResolvedConfig> {
|
|
87
|
+
readonly input: GetEvidenceFileUploadUrlCommandInput;
|
|
88
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
constructor(input: GetEvidenceFileUploadUrlCommandInput);
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEvidenceFileUploadUrlCommandInput, GetEvidenceFileUploadUrlCommandOutput>;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private serialize;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
private deserialize;
|
|
105
|
+
}
|
|
@@ -23,8 +23,7 @@ export interface GetEvidenceFolderCommandOutput extends GetEvidenceFolderRespons
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
* </p>
|
|
26
|
+
* <p> Gets an evidence folder from a specified assessment in Audit Manager. </p>
|
|
28
27
|
* @example
|
|
29
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
29
|
* ```javascript
|
|
@@ -23,8 +23,7 @@ export interface GetEvidenceFoldersByAssessmentCommandOutput extends GetEvidence
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
* </p>
|
|
26
|
+
* <p> Gets the evidence folders from a specified assessment in Audit Manager. </p>
|
|
28
27
|
* @example
|
|
29
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
29
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface GetEvidenceFoldersByAssessmentControlCommandOutput extends GetE
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p> Gets a list of evidence folders that are associated with a specified control in an
|
|
27
27
|
* Audit Manager assessment. </p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -23,7 +23,7 @@ export interface GetOrganizationAdminAccountCommandOutput extends GetOrganizatio
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p> Gets the name of the delegated Amazon Web Services administrator account for a specified
|
|
27
27
|
* organization. </p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -23,8 +23,8 @@ export interface GetServicesInScopeCommandOutput extends GetServicesInScopeRespo
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
*
|
|
26
|
+
* <p>Gets a list of all of the Amazon Web Services that you can choose to include in
|
|
27
|
+
* your assessment. When you <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_CreateAssessment.html">create an assessment</a>, specify which of these services you want to include to
|
|
28
28
|
* narrow the assessment's <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Scope.html">scope</a>.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -23,7 +23,7 @@ export interface GetSettingsCommandOutput extends GetSettingsResponse, __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p> Gets the settings for a specified Amazon Web Services account. </p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -31,7 +31,7 @@ export interface GetSettingsCommandOutput extends GetSettingsResponse, __Metadat
|
|
|
31
31
|
* // const { AuditManagerClient, GetSettingsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
32
32
|
* const client = new AuditManagerClient(config);
|
|
33
33
|
* const input = { // GetSettingsRequest
|
|
34
|
-
* attribute: "ALL" || "IS_AWS_ORG_ENABLED" || "SNS_TOPIC" || "DEFAULT_ASSESSMENT_REPORTS_DESTINATION" || "DEFAULT_PROCESS_OWNERS" || "EVIDENCE_FINDER_ENABLEMENT" || "DEREGISTRATION_POLICY", // required
|
|
34
|
+
* attribute: "ALL" || "IS_AWS_ORG_ENABLED" || "SNS_TOPIC" || "DEFAULT_ASSESSMENT_REPORTS_DESTINATION" || "DEFAULT_PROCESS_OWNERS" || "EVIDENCE_FINDER_ENABLEMENT" || "DEREGISTRATION_POLICY" || "DEFAULT_EXPORT_DESTINATION", // required
|
|
35
35
|
* };
|
|
36
36
|
* const command = new GetSettingsCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
@@ -59,6 +59,10 @@ export interface GetSettingsCommandOutput extends GetSettingsResponse, __Metadat
|
|
|
59
59
|
* // deregistrationPolicy: { // DeregistrationPolicy
|
|
60
60
|
* // deleteResources: "ALL" || "DEFAULT",
|
|
61
61
|
* // },
|
|
62
|
+
* // defaultExportDestination: { // DefaultExportDestination
|
|
63
|
+
* // destinationType: "S3",
|
|
64
|
+
* // destination: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
62
66
|
* // },
|
|
63
67
|
* // };
|
|
64
68
|
*
|
|
@@ -82,7 +82,7 @@ export interface UpdateAssessmentFrameworkCommandOutput extends UpdateAssessment
|
|
|
82
82
|
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
83
83
|
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
84
84
|
* // sourceKeyword: { // SourceKeyword
|
|
85
|
-
* // keywordInputType: "SELECT_FROM_LIST",
|
|
85
|
+
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
86
86
|
* // keywordValue: "STRING_VALUE",
|
|
87
87
|
* // },
|
|
88
88
|
* // sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",
|
|
@@ -45,7 +45,7 @@ export interface UpdateControlCommandOutput extends UpdateControlResponse, __Met
|
|
|
45
45
|
* sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
46
46
|
* sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
47
47
|
* sourceKeyword: { // SourceKeyword
|
|
48
|
-
* keywordInputType: "SELECT_FROM_LIST",
|
|
48
|
+
* keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
49
49
|
* keywordValue: "STRING_VALUE",
|
|
50
50
|
* },
|
|
51
51
|
* sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",
|
|
@@ -74,7 +74,7 @@ export interface UpdateControlCommandOutput extends UpdateControlResponse, __Met
|
|
|
74
74
|
* // sourceSetUpOption: "System_Controls_Mapping" || "Procedural_Controls_Mapping",
|
|
75
75
|
* // sourceType: "AWS_Cloudtrail" || "AWS_Config" || "AWS_Security_Hub" || "AWS_API_Call" || "MANUAL",
|
|
76
76
|
* // sourceKeyword: { // SourceKeyword
|
|
77
|
-
* // keywordInputType: "SELECT_FROM_LIST",
|
|
77
|
+
* // keywordInputType: "SELECT_FROM_LIST" || "UPLOAD_FILE" || "INPUT_TEXT",
|
|
78
78
|
* // keywordValue: "STRING_VALUE",
|
|
79
79
|
* // },
|
|
80
80
|
* // sourceFrequency: "DAILY" || "WEEKLY" || "MONTHLY",
|
|
@@ -47,6 +47,10 @@ export interface UpdateSettingsCommandOutput extends UpdateSettingsResponse, __M
|
|
|
47
47
|
* deregistrationPolicy: { // DeregistrationPolicy
|
|
48
48
|
* deleteResources: "ALL" || "DEFAULT",
|
|
49
49
|
* },
|
|
50
|
+
* defaultExportDestination: { // DefaultExportDestination
|
|
51
|
+
* destinationType: "S3",
|
|
52
|
+
* destination: "STRING_VALUE",
|
|
53
|
+
* },
|
|
50
54
|
* };
|
|
51
55
|
* const command = new UpdateSettingsCommand(input);
|
|
52
56
|
* const response = await client.send(command);
|
|
@@ -74,6 +78,10 @@ export interface UpdateSettingsCommandOutput extends UpdateSettingsResponse, __M
|
|
|
74
78
|
* // deregistrationPolicy: { // DeregistrationPolicy
|
|
75
79
|
* // deleteResources: "ALL" || "DEFAULT",
|
|
76
80
|
* // },
|
|
81
|
+
* // defaultExportDestination: { // DefaultExportDestination
|
|
82
|
+
* // destinationType: "S3",
|
|
83
|
+
* // destination: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
77
85
|
* // },
|
|
78
86
|
* // };
|
|
79
87
|
*
|
|
@@ -25,6 +25,7 @@ export * from "./GetControlCommand";
|
|
|
25
25
|
export * from "./GetDelegationsCommand";
|
|
26
26
|
export * from "./GetEvidenceByEvidenceFolderCommand";
|
|
27
27
|
export * from "./GetEvidenceCommand";
|
|
28
|
+
export * from "./GetEvidenceFileUploadUrlCommand";
|
|
28
29
|
export * from "./GetEvidenceFolderCommand";
|
|
29
30
|
export * from "./GetEvidenceFoldersByAssessmentCommand";
|
|
30
31
|
export * from "./GetEvidenceFoldersByAssessmentControlCommand";
|