@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
|
-
* Deregisters an account 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, DeregisterAccountCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, DeregisterAccountCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new DeregisterAccountCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeregisterAccountCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeregisterAccountCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeregisterAccountCommand 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,42 +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>Removes the specified member account as a delegated administrator for Audit Manager. </p>
|
|
10
|
-
* <important>
|
|
11
|
-
* <p>When you remove a delegated administrator from your Audit Manager settings, or when you
|
|
12
|
-
* deregister a delegated administrator from Organizations, you continue to have access
|
|
13
|
-
* to the evidence that you previously collected under that account. However, Audit Manager
|
|
14
|
-
* will stop collecting and attaching evidence to that delegated administrator account
|
|
15
|
-
* moving forward.</p>
|
|
16
|
-
* </important>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { AuditManagerClient, DeregisterOrganizationAdminAccountCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
21
|
-
* // const { AuditManagerClient, DeregisterOrganizationAdminAccountCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
22
|
-
* const client = new AuditManagerClient(config);
|
|
23
|
-
* const command = new DeregisterOrganizationAdminAccountCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link DeregisterOrganizationAdminAccountCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link DeregisterOrganizationAdminAccountCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class DeregisterOrganizationAdminAccountCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
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 an evidence folder 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, DisassociateAssessmentReportEvidenceFolderCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, DisassociateAssessmentReportEvidenceFolderCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new DisassociateAssessmentReportEvidenceFolderCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DisassociateAssessmentReportEvidenceFolderCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DisassociateAssessmentReportEvidenceFolderCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DisassociateAssessmentReportEvidenceFolderCommand 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 the registration status of an account 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, GetAccountStatusCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetAccountStatusCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetAccountStatusCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetAccountStatusCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetAccountStatusCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetAccountStatusCommand 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 an assessment 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, GetAssessmentCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetAssessmentCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetAssessmentCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetAssessmentCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetAssessmentCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetAssessmentCommand 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 framework 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, GetAssessmentFrameworkCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetAssessmentFrameworkCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetAssessmentFrameworkCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetAssessmentFrameworkCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetAssessmentFrameworkCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetAssessmentFrameworkCommand 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 the URL of a 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, GetAssessmentReportUrlCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetAssessmentReportUrlCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetAssessmentReportUrlCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetAssessmentReportUrlCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetAssessmentReportUrlCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetAssessmentReportUrlCommand 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 changelogs 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, GetChangeLogsCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetChangeLogsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetChangeLogsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetChangeLogsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetChangeLogsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetChangeLogsCommand 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 control 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, GetControlCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetControlCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetControlCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetControlCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetControlCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetControlCommand 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 delegations from an audit owner to a delegate.
|
|
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, GetDelegationsCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetDelegationsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetDelegationsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetDelegationsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetDelegationsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetDelegationsCommand 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 all evidence from a specified evidence folder 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, GetEvidenceByEvidenceFolderCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetEvidenceByEvidenceFolderCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetEvidenceByEvidenceFolderCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetEvidenceByEvidenceFolderCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetEvidenceByEvidenceFolderCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetEvidenceByEvidenceFolderCommand 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 evidence 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, GetEvidenceCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetEvidenceCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetEvidenceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetEvidenceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetEvidenceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetEvidenceCommand 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 an evidence folder from the 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, GetEvidenceFolderCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetEvidenceFolderCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetEvidenceFolderCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetEvidenceFolderCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetEvidenceFolderCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetEvidenceFolderCommand 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 the evidence folders from 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, GetEvidenceFoldersByAssessmentCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetEvidenceFoldersByAssessmentCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetEvidenceFoldersByAssessmentCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetEvidenceFoldersByAssessmentCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetEvidenceFoldersByAssessmentCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetEvidenceFoldersByAssessmentCommand 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 evidence folders associated with a specified control 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, GetEvidenceFoldersByAssessmentControlCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetEvidenceFoldersByAssessmentControlCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetEvidenceFoldersByAssessmentControlCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetEvidenceFoldersByAssessmentControlCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetEvidenceFoldersByAssessmentControlCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetEvidenceFoldersByAssessmentControlCommand 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 the name of the delegated Amazon Web Services administrator account for the organization.
|
|
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, GetOrganizationAdminAccountCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetOrganizationAdminAccountCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetOrganizationAdminAccountCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetOrganizationAdminAccountCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetOrganizationAdminAccountCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetOrganizationAdminAccountCommand 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 in-scope Amazon Web Services services 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, GetServicesInScopeCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import
|
|
16
|
-
* // const { AuditManagerClient, GetServicesInScopeCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import
|
|
17
|
-
* const client = new AuditManagerClient(config);
|
|
18
|
-
* const command = new GetServicesInScopeCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetServicesInScopeCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetServicesInScopeCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AuditManagerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetServicesInScopeCommand 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);
|