@aws-sdk/client-auditmanager 3.36.0 → 3.36.1
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/AuditManager.js +0 -33
- package/dist-cjs/AuditManagerClient.js +0 -38
- package/dist-cjs/commands/AssociateAssessmentReportEvidenceFolderCommand.js +0 -26
- package/dist-cjs/commands/BatchAssociateAssessmentReportEvidenceCommand.js +0 -26
- package/dist-cjs/commands/BatchCreateDelegationByAssessmentCommand.js +0 -26
- package/dist-cjs/commands/BatchDeleteDelegationByAssessmentCommand.js +0 -26
- package/dist-cjs/commands/BatchDisassociateAssessmentReportEvidenceCommand.js +0 -26
- package/dist-cjs/commands/BatchImportEvidenceToAssessmentControlCommand.js +0 -26
- package/dist-cjs/commands/CreateAssessmentCommand.js +0 -26
- package/dist-cjs/commands/CreateAssessmentFrameworkCommand.js +0 -26
- package/dist-cjs/commands/CreateAssessmentReportCommand.js +0 -26
- package/dist-cjs/commands/CreateControlCommand.js +0 -26
- package/dist-cjs/commands/DeleteAssessmentCommand.js +0 -26
- package/dist-cjs/commands/DeleteAssessmentFrameworkCommand.js +0 -26
- package/dist-cjs/commands/DeleteAssessmentReportCommand.js +0 -26
- package/dist-cjs/commands/DeleteControlCommand.js +0 -26
- package/dist-cjs/commands/DeregisterAccountCommand.js +0 -26
- package/dist-cjs/commands/DeregisterOrganizationAdminAccountCommand.js +0 -31
- package/dist-cjs/commands/DisassociateAssessmentReportEvidenceFolderCommand.js +0 -26
- package/dist-cjs/commands/GetAccountStatusCommand.js +0 -26
- package/dist-cjs/commands/GetAssessmentCommand.js +0 -26
- package/dist-cjs/commands/GetAssessmentFrameworkCommand.js +0 -26
- package/dist-cjs/commands/GetAssessmentReportUrlCommand.js +0 -26
- package/dist-cjs/commands/GetChangeLogsCommand.js +0 -26
- package/dist-cjs/commands/GetControlCommand.js +0 -26
- package/dist-cjs/commands/GetDelegationsCommand.js +0 -26
- package/dist-cjs/commands/GetEvidenceByEvidenceFolderCommand.js +0 -26
- package/dist-cjs/commands/GetEvidenceCommand.js +0 -26
- package/dist-cjs/commands/GetEvidenceFolderCommand.js +0 -26
- package/dist-cjs/commands/GetEvidenceFoldersByAssessmentCommand.js +0 -26
- package/dist-cjs/commands/GetEvidenceFoldersByAssessmentControlCommand.js +0 -26
- package/dist-cjs/commands/GetOrganizationAdminAccountCommand.js +0 -26
- package/dist-cjs/commands/GetServicesInScopeCommand.js +0 -26
- package/dist-cjs/commands/GetSettingsCommand.js +0 -26
- package/dist-cjs/commands/ListAssessmentFrameworksCommand.js +0 -26
- package/dist-cjs/commands/ListAssessmentReportsCommand.js +0 -26
- package/dist-cjs/commands/ListAssessmentsCommand.js +0 -26
- package/dist-cjs/commands/ListControlsCommand.js +0 -26
- package/dist-cjs/commands/ListKeywordsForDataSourceCommand.js +0 -26
- package/dist-cjs/commands/ListNotificationsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/RegisterAccountCommand.js +0 -26
- package/dist-cjs/commands/RegisterOrganizationAdminAccountCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateAssessmentCommand.js +0 -26
- package/dist-cjs/commands/UpdateAssessmentControlCommand.js +0 -26
- package/dist-cjs/commands/UpdateAssessmentControlSetStatusCommand.js +0 -26
- package/dist-cjs/commands/UpdateAssessmentFrameworkCommand.js +0 -26
- package/dist-cjs/commands/UpdateAssessmentStatusCommand.js +0 -26
- package/dist-cjs/commands/UpdateControlCommand.js +0 -26
- package/dist-cjs/commands/UpdateSettingsCommand.js +0 -26
- package/dist-cjs/commands/ValidateAssessmentReportIntegrityCommand.js +0 -26
- package/dist-cjs/models/models_0.js +0 -447
- package/dist-cjs/pagination/GetChangeLogsPaginator.js +0 -10
- package/dist-cjs/pagination/GetDelegationsPaginator.js +0 -10
- package/dist-cjs/pagination/GetEvidenceByEvidenceFolderPaginator.js +0 -10
- package/dist-cjs/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +0 -10
- package/dist-cjs/pagination/GetEvidenceFoldersByAssessmentPaginator.js +0 -10
- package/dist-cjs/pagination/ListAssessmentFrameworksPaginator.js +0 -10
- package/dist-cjs/pagination/ListAssessmentReportsPaginator.js +0 -10
- package/dist-cjs/pagination/ListAssessmentsPaginator.js +0 -10
- package/dist-cjs/pagination/ListControlsPaginator.js +0 -10
- package/dist-cjs/pagination/ListKeywordsForDataSourcePaginator.js +0 -10
- package/dist-cjs/pagination/ListNotificationsPaginator.js +0 -10
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-types/ts3.4/AuditManager.d.ts +52 -293
- package/dist-types/ts3.4/AuditManagerClient.d.ts +24 -119
- package/dist-types/ts3.4/commands/AssociateAssessmentReportEvidenceFolderCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/BatchAssociateAssessmentReportEvidenceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/BatchCreateDelegationByAssessmentCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/BatchDeleteDelegationByAssessmentCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/BatchDisassociateAssessmentReportEvidenceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/BatchImportEvidenceToAssessmentControlCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateAssessmentCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateAssessmentFrameworkCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateAssessmentReportCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateControlCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteAssessmentCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteAssessmentFrameworkCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteAssessmentReportCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteControlCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeregisterAccountCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeregisterOrganizationAdminAccountCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DisassociateAssessmentReportEvidenceFolderCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetAccountStatusCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetAssessmentCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetAssessmentFrameworkCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetAssessmentReportUrlCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetChangeLogsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetControlCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetDelegationsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetEvidenceByEvidenceFolderCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetEvidenceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetEvidenceFolderCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetEvidenceFoldersByAssessmentCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetEvidenceFoldersByAssessmentControlCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetOrganizationAdminAccountCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetServicesInScopeCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetSettingsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListAssessmentFrameworksCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListAssessmentReportsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListAssessmentsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListControlsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListKeywordsForDataSourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListNotificationsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/RegisterAccountCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/RegisterOrganizationAdminAccountCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateAssessmentCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateAssessmentControlCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateAssessmentControlSetStatusCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateAssessmentFrameworkCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateAssessmentStatusCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateControlCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateSettingsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ValidateAssessmentReportIntegrityCommand.d.ts +2 -22
- package/dist-types/ts3.4/models/models_0.d.ts +646 -2950
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +3 -3
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.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
18
|
|
|
8
19
|
|
package/dist-cjs/AuditManager.js
CHANGED
|
@@ -53,39 +53,6 @@ const UpdateAssessmentStatusCommand_1 = require("./commands/UpdateAssessmentStat
|
|
|
53
53
|
const UpdateControlCommand_1 = require("./commands/UpdateControlCommand");
|
|
54
54
|
const UpdateSettingsCommand_1 = require("./commands/UpdateSettingsCommand");
|
|
55
55
|
const ValidateAssessmentReportIntegrityCommand_1 = require("./commands/ValidateAssessmentReportIntegrityCommand");
|
|
56
|
-
/**
|
|
57
|
-
* <p>Welcome to the Audit Manager API reference. This guide is for developers who need detailed information about the Audit Manager API operations, data types, and errors. </p>
|
|
58
|
-
* <p>Audit Manager is a service that provides automated evidence collection so that you
|
|
59
|
-
* can continuously audit your Amazon Web Services usage, and assess the effectiveness of your controls to
|
|
60
|
-
* better manage risk and simplify compliance.</p>
|
|
61
|
-
* <p>Audit Manager provides pre-built frameworks that structure and automate assessments
|
|
62
|
-
* for a given compliance standard. Frameworks include a pre-built collection of controls with
|
|
63
|
-
* descriptions and testing procedures, which are grouped according to the requirements of the
|
|
64
|
-
* specified compliance standard or regulation. You can also customize frameworks and controls
|
|
65
|
-
* to support internal audits with unique requirements. </p>
|
|
66
|
-
*
|
|
67
|
-
* <p>Use the following links to get started with the Audit Manager API:</p>
|
|
68
|
-
* <ul>
|
|
69
|
-
* <li>
|
|
70
|
-
* <p>
|
|
71
|
-
* <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Operations.html">Actions</a>: An alphabetical list of all Audit Manager API operations.</p>
|
|
72
|
-
* </li>
|
|
73
|
-
* <li>
|
|
74
|
-
* <p>
|
|
75
|
-
* <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Types.html">Data types</a>: An alphabetical list of all Audit Manager data types.</p>
|
|
76
|
-
* </li>
|
|
77
|
-
* <li>
|
|
78
|
-
* <p>
|
|
79
|
-
* <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonParameters.html">Common parameters</a>: Parameters that all Query operations can use.</p>
|
|
80
|
-
* </li>
|
|
81
|
-
* <li>
|
|
82
|
-
* <p>
|
|
83
|
-
* <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonErrors.html">Common errors</a>: Client and server errors that all operations can return.</p>
|
|
84
|
-
* </li>
|
|
85
|
-
* </ul>
|
|
86
|
-
*
|
|
87
|
-
* <p>If you're new to Audit Manager, we recommend that you review the <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/what-is.html"> Audit Manager User Guide</a>.</p>
|
|
88
|
-
*/
|
|
89
56
|
class AuditManager extends AuditManagerClient_1.AuditManagerClient {
|
|
90
57
|
associateAssessmentReportEvidenceFolder(args, optionsOrCb, cb) {
|
|
91
58
|
const command = new AssociateAssessmentReportEvidenceFolderCommand_1.AssociateAssessmentReportEvidenceFolderCommand(args);
|
|
@@ -10,39 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <p>Welcome to the Audit Manager API reference. This guide is for developers who need detailed information about the Audit Manager API operations, data types, and errors. </p>
|
|
15
|
-
* <p>Audit Manager is a service that provides automated evidence collection so that you
|
|
16
|
-
* can continuously audit your Amazon Web Services usage, and assess the effectiveness of your controls to
|
|
17
|
-
* better manage risk and simplify compliance.</p>
|
|
18
|
-
* <p>Audit Manager provides pre-built frameworks that structure and automate assessments
|
|
19
|
-
* for a given compliance standard. Frameworks include a pre-built collection of controls with
|
|
20
|
-
* descriptions and testing procedures, which are grouped according to the requirements of the
|
|
21
|
-
* specified compliance standard or regulation. You can also customize frameworks and controls
|
|
22
|
-
* to support internal audits with unique requirements. </p>
|
|
23
|
-
*
|
|
24
|
-
* <p>Use the following links to get started with the Audit Manager API:</p>
|
|
25
|
-
* <ul>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>
|
|
28
|
-
* <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Operations.html">Actions</a>: An alphabetical list of all Audit Manager API operations.</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Types.html">Data types</a>: An alphabetical list of all Audit Manager data types.</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonParameters.html">Common parameters</a>: Parameters that all Query operations can use.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>
|
|
40
|
-
* <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonErrors.html">Common errors</a>: Client and server errors that all operations can return.</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* </ul>
|
|
43
|
-
*
|
|
44
|
-
* <p>If you're new to Audit Manager, we recommend that you review the <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/what-is.html"> Audit Manager User Guide</a>.</p>
|
|
45
|
-
*/
|
|
46
13
|
class AuditManagerClient extends smithy_client_1.Client {
|
|
47
14
|
constructor(configuration) {
|
|
48
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -61,11 +28,6 @@ class AuditManagerClient extends smithy_client_1.Client {
|
|
|
61
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
62
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
63
30
|
}
|
|
64
|
-
/**
|
|
65
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
66
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
67
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
68
|
-
*/
|
|
69
31
|
destroy() {
|
|
70
32
|
super.destroy();
|
|
71
33
|
}
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Associates an evidence folder to the specified assessment report in Audit Manager.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, AssociateAssessmentReportEvidenceFolderCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, AssociateAssessmentReportEvidenceFolderCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new AssociateAssessmentReportEvidenceFolderCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link AssociateAssessmentReportEvidenceFolderCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link AssociateAssessmentReportEvidenceFolderCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class AssociateAssessmentReportEvidenceFolderCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Associates a list of evidence to an assessment report in an Audit Manager assessment.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, BatchAssociateAssessmentReportEvidenceCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, BatchAssociateAssessmentReportEvidenceCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new BatchAssociateAssessmentReportEvidenceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link BatchAssociateAssessmentReportEvidenceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link BatchAssociateAssessmentReportEvidenceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class BatchAssociateAssessmentReportEvidenceCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Create a batch of delegations for a specified assessment in Audit Manager.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, BatchCreateDelegationByAssessmentCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, BatchCreateDelegationByAssessmentCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new BatchCreateDelegationByAssessmentCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link BatchCreateDelegationByAssessmentCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link BatchCreateDelegationByAssessmentCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class BatchCreateDelegationByAssessmentCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Deletes the delegations in the specified Audit Manager assessment.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, BatchDeleteDelegationByAssessmentCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, BatchDeleteDelegationByAssessmentCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new BatchDeleteDelegationByAssessmentCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link BatchDeleteDelegationByAssessmentCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link BatchDeleteDelegationByAssessmentCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class BatchDeleteDelegationByAssessmentCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Disassociates a list of evidence from the specified assessment report in Audit Manager.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, BatchDisassociateAssessmentReportEvidenceCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, BatchDisassociateAssessmentReportEvidenceCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new BatchDisassociateAssessmentReportEvidenceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link BatchDisassociateAssessmentReportEvidenceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link BatchDisassociateAssessmentReportEvidenceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class BatchDisassociateAssessmentReportEvidenceCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Uploads one or more pieces of evidence to the specified control in the assessment in Audit Manager.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, BatchImportEvidenceToAssessmentControlCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, BatchImportEvidenceToAssessmentControlCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new BatchImportEvidenceToAssessmentControlCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link BatchImportEvidenceToAssessmentControlCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link BatchImportEvidenceToAssessmentControlCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class BatchImportEvidenceToAssessmentControlCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Creates an assessment in Audit Manager.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, CreateAssessmentCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, CreateAssessmentCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new CreateAssessmentCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CreateAssessmentCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CreateAssessmentCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class CreateAssessmentCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Creates a custom framework in Audit Manager.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, CreateAssessmentFrameworkCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, CreateAssessmentFrameworkCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new CreateAssessmentFrameworkCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CreateAssessmentFrameworkCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CreateAssessmentFrameworkCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class CreateAssessmentFrameworkCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Creates an assessment report for the specified assessment.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, CreateAssessmentReportCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, CreateAssessmentReportCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new CreateAssessmentReportCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CreateAssessmentReportCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CreateAssessmentReportCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class CreateAssessmentReportCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Creates a new custom control in Audit Manager.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, CreateControlCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, CreateControlCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new CreateControlCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CreateControlCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CreateControlCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class CreateControlCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Deletes an assessment in Audit Manager.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, DeleteAssessmentCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, DeleteAssessmentCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new DeleteAssessmentCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteAssessmentCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteAssessmentCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteAssessmentCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Deletes a custom framework in Audit Manager.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, DeleteAssessmentFrameworkCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, DeleteAssessmentFrameworkCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new DeleteAssessmentFrameworkCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteAssessmentFrameworkCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteAssessmentFrameworkCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteAssessmentFrameworkCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Deletes an assessment report from an assessment in Audit Manager.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, DeleteAssessmentReportCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, DeleteAssessmentReportCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new DeleteAssessmentReportCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteAssessmentReportCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteAssessmentReportCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteAssessmentReportCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>
|
|
10
|
-
* Deletes a custom control in Audit Manager.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AuditManagerClient, DeleteControlCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, DeleteControlCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new DeleteControlCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteControlCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteControlCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteControlCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|