@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
|
@@ -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
|
-
* Returns the settings for the specified account.
|
|
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, GetSettingsCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetSettingsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetSettingsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetSettingsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetSettingsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetSettingsCommand 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
|
-
* Returns a list of the frameworks available in the Audit Manager framework library.
|
|
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, ListAssessmentFrameworksCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, ListAssessmentFrameworksCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new ListAssessmentFrameworksCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListAssessmentFrameworksCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListAssessmentFrameworksCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListAssessmentFrameworksCommand 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
|
-
* Returns a list of assessment reports created 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, ListAssessmentReportsCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, ListAssessmentReportsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new ListAssessmentReportsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListAssessmentReportsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListAssessmentReportsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListAssessmentReportsCommand 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
|
-
* Returns a list of current and past assessments from 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, ListAssessmentsCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, ListAssessmentsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new ListAssessmentsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListAssessmentsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListAssessmentsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListAssessmentsCommand 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
|
-
* Returns a list of controls from 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, ListControlsCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, ListControlsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new ListControlsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListControlsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListControlsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListControlsCommand 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
|
-
* Returns a list of keywords that pre-mapped to the specified control data source.
|
|
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, ListKeywordsForDataSourceCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, ListKeywordsForDataSourceCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new ListKeywordsForDataSourceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListKeywordsForDataSourceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListKeywordsForDataSourceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListKeywordsForDataSourceCommand 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
|
-
* Returns a list of all Audit Manager notifications.
|
|
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, ListNotificationsCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, ListNotificationsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new ListNotificationsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListNotificationsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListNotificationsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListNotificationsCommand 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
|
-
* Returns a list of tags for the specified resource 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, ListTagsForResourceCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class ListTagsForResourceCommand 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
|
-
* Enables Audit Manager for the specified account.
|
|
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, RegisterAccountCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, RegisterAccountCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new RegisterAccountCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link RegisterAccountCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link RegisterAccountCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class RegisterAccountCommand 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
|
-
* Enables an account within the organization as the delegated administrator for 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, RegisterOrganizationAdminAccountCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, RegisterOrganizationAdminAccountCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new RegisterOrganizationAdminAccountCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link RegisterOrganizationAdminAccountCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link RegisterOrganizationAdminAccountCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class RegisterOrganizationAdminAccountCommand 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
|
-
* Tags the specified resource 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, TagResourceCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, TagResourceCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new TagResourceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class TagResourceCommand 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
|
-
* Removes a tag from a resource 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, UntagResourceCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, UntagResourceCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new UntagResourceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class UntagResourceCommand 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
|
-
* Edits 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, UpdateAssessmentCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, UpdateAssessmentCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new UpdateAssessmentCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UpdateAssessmentCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UpdateAssessmentCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class UpdateAssessmentCommand 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
|
-
* Updates a control within 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, UpdateAssessmentControlCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, UpdateAssessmentControlCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new UpdateAssessmentControlCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UpdateAssessmentControlCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UpdateAssessmentControlCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class UpdateAssessmentControlCommand 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
|
-
* Updates the status of a control set 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, UpdateAssessmentControlSetStatusCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, UpdateAssessmentControlSetStatusCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new UpdateAssessmentControlSetStatusCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UpdateAssessmentControlSetStatusCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UpdateAssessmentControlSetStatusCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class UpdateAssessmentControlSetStatusCommand 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
|
-
* Updates 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, UpdateAssessmentFrameworkCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, UpdateAssessmentFrameworkCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new UpdateAssessmentFrameworkCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UpdateAssessmentFrameworkCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UpdateAssessmentFrameworkCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class UpdateAssessmentFrameworkCommand 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
|
-
* Updates the status of 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, UpdateAssessmentStatusCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, UpdateAssessmentStatusCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new UpdateAssessmentStatusCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UpdateAssessmentStatusCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UpdateAssessmentStatusCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class UpdateAssessmentStatusCommand 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);
|