Struct aws_sdk_auditmanager::Client
source · pub struct Client { /* private fields */ }Expand description
Client for AWS Audit Manager
Client for invoking operations on AWS Audit Manager. Each operation on AWS Audit Manager is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Constructing a Client
A Config is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env(), since this will resolve an SdkConfig which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env() instead, which returns a ConfigLoader that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_auditmanager::Client::new(&config);Occasionally, SDKs may have additional service-specific that can be set on the Config that
is absent from SdkConfig, or slightly different settings for a specific client may be desired.
The Config struct implements From<&SdkConfig>, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_auditmanager::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();See the aws-config docs and Config for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
Using the Client
A client has a function for every operation that can be performed by the service.
For example, the AssociateAssessmentReportEvidenceFolder operation has
a Client::associate_assessment_report_evidence_folder, function which returns a builder for that operation.
The fluent builder ultimately has a send() function that returns an async future that
returns a result, as illustrated below:
let result = client.associate_assessment_report_evidence_folder()
.assessment_id("example")
.send()
.await;The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize module for more
information.
Implementations§
source§impl Client
impl Client
sourcepub fn associate_assessment_report_evidence_folder(
&self
) -> AssociateAssessmentReportEvidenceFolderFluentBuilder
pub fn associate_assessment_report_evidence_folder( &self ) -> AssociateAssessmentReportEvidenceFolderFluentBuilder
Constructs a fluent builder for the AssociateAssessmentReportEvidenceFolder operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The identifier for the assessment.
evidence_folder_id(impl Into<String>)/set_evidence_folder_id(Option<String>):The identifier for the folder that the evidence is stored in.
- On success, responds with
AssociateAssessmentReportEvidenceFolderOutput - On failure, responds with
SdkError<AssociateAssessmentReportEvidenceFolderError>
source§impl Client
impl Client
sourcepub fn batch_associate_assessment_report_evidence(
&self
) -> BatchAssociateAssessmentReportEvidenceFluentBuilder
pub fn batch_associate_assessment_report_evidence( &self ) -> BatchAssociateAssessmentReportEvidenceFluentBuilder
Constructs a fluent builder for the BatchAssociateAssessmentReportEvidence operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The identifier for the assessment.
evidence_folder_id(impl Into<String>)/set_evidence_folder_id(Option<String>):The identifier for the folder that the evidence is stored in.
evidence_ids(impl Into<String>)/set_evidence_ids(Option<Vec<String>>):The list of evidence identifiers.
- On success, responds with
BatchAssociateAssessmentReportEvidenceOutputwith field(s):evidence_ids(Option<Vec<String>>):The list of evidence identifiers.
errors(Option<Vec<AssessmentReportEvidenceError>>):A list of errors that the
BatchAssociateAssessmentReportEvidenceAPI returned.
- On failure, responds with
SdkError<BatchAssociateAssessmentReportEvidenceError>
source§impl Client
impl Client
sourcepub fn batch_create_delegation_by_assessment(
&self
) -> BatchCreateDelegationByAssessmentFluentBuilder
pub fn batch_create_delegation_by_assessment( &self ) -> BatchCreateDelegationByAssessmentFluentBuilder
Constructs a fluent builder for the BatchCreateDelegationByAssessment operation.
- The fluent builder is configurable:
create_delegation_requests(CreateDelegationRequest)/set_create_delegation_requests(Option<Vec<CreateDelegationRequest>>):The API request to batch create delegations in Audit Manager.
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The identifier for the assessment.
- On success, responds with
BatchCreateDelegationByAssessmentOutputwith field(s):delegations(Option<Vec<Delegation>>):The delegations that are associated with the assessment.
errors(Option<Vec<BatchCreateDelegationByAssessmentError>>):A list of errors that the
BatchCreateDelegationByAssessmentAPI returned.
- On failure, responds with
SdkError<BatchCreateDelegationByAssessmentError>
source§impl Client
impl Client
sourcepub fn batch_delete_delegation_by_assessment(
&self
) -> BatchDeleteDelegationByAssessmentFluentBuilder
pub fn batch_delete_delegation_by_assessment( &self ) -> BatchDeleteDelegationByAssessmentFluentBuilder
Constructs a fluent builder for the BatchDeleteDelegationByAssessment operation.
- The fluent builder is configurable:
delegation_ids(impl Into<String>)/set_delegation_ids(Option<Vec<String>>):The identifiers for the delegations.
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The identifier for the assessment.
- On success, responds with
BatchDeleteDelegationByAssessmentOutputwith field(s):errors(Option<Vec<BatchDeleteDelegationByAssessmentError>>):A list of errors that the
BatchDeleteDelegationByAssessmentAPI returned.
- On failure, responds with
SdkError<BatchDeleteDelegationByAssessmentError>
source§impl Client
impl Client
sourcepub fn batch_disassociate_assessment_report_evidence(
&self
) -> BatchDisassociateAssessmentReportEvidenceFluentBuilder
pub fn batch_disassociate_assessment_report_evidence( &self ) -> BatchDisassociateAssessmentReportEvidenceFluentBuilder
Constructs a fluent builder for the BatchDisassociateAssessmentReportEvidence operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The identifier for the assessment.
evidence_folder_id(impl Into<String>)/set_evidence_folder_id(Option<String>):The identifier for the folder that the evidence is stored in.
evidence_ids(impl Into<String>)/set_evidence_ids(Option<Vec<String>>):The list of evidence identifiers.
- On success, responds with
BatchDisassociateAssessmentReportEvidenceOutputwith field(s):evidence_ids(Option<Vec<String>>):The identifier for the evidence.
errors(Option<Vec<AssessmentReportEvidenceError>>):A list of errors that the
BatchDisassociateAssessmentReportEvidenceAPI returned.
- On failure, responds with
SdkError<BatchDisassociateAssessmentReportEvidenceError>
source§impl Client
impl Client
sourcepub fn batch_import_evidence_to_assessment_control(
&self
) -> BatchImportEvidenceToAssessmentControlFluentBuilder
pub fn batch_import_evidence_to_assessment_control( &self ) -> BatchImportEvidenceToAssessmentControlFluentBuilder
Constructs a fluent builder for the BatchImportEvidenceToAssessmentControl operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The identifier for the assessment.
control_set_id(impl Into<String>)/set_control_set_id(Option<String>):The identifier for the control set.
control_id(impl Into<String>)/set_control_id(Option<String>):The identifier for the control.
manual_evidence(ManualEvidence)/set_manual_evidence(Option<Vec<ManualEvidence>>):The list of manual evidence objects.
- On success, responds with
BatchImportEvidenceToAssessmentControlOutputwith field(s):errors(Option<Vec<BatchImportEvidenceToAssessmentControlError>>):A list of errors that the
BatchImportEvidenceToAssessmentControlAPI returned.
- On failure, responds with
SdkError<BatchImportEvidenceToAssessmentControlError>
source§impl Client
impl Client
sourcepub fn create_assessment(&self) -> CreateAssessmentFluentBuilder
pub fn create_assessment(&self) -> CreateAssessmentFluentBuilder
Constructs a fluent builder for the CreateAssessment operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the assessment to be created.
description(impl Into<String>)/set_description(Option<String>):The optional description of the assessment to be created.
assessment_reports_destination(AssessmentReportsDestination)/set_assessment_reports_destination(Option<AssessmentReportsDestination>):The assessment report storage destination for the assessment that’s being created.
scope(Scope)/set_scope(Option<Scope>):The wrapper that contains the Amazon Web Services accounts and services that are in scope for the assessment.
roles(Role)/set_roles(Option<Vec<Role>>):The list of roles for the assessment.
framework_id(impl Into<String>)/set_framework_id(Option<String>):The identifier for the framework that the assessment will be created from.
tags(impl Into<String>, impl Into<String>)/set_tags(Option<HashMap<String, String>>):The tags that are associated with the assessment.
- On success, responds with
CreateAssessmentOutputwith field(s):assessment(Option<Assessment>):An entity that defines the scope of audit evidence collected by Audit Manager. An Audit Manager assessment is an implementation of an Audit Manager framework.
- On failure, responds with
SdkError<CreateAssessmentError>
source§impl Client
impl Client
sourcepub fn create_assessment_framework(
&self
) -> CreateAssessmentFrameworkFluentBuilder
pub fn create_assessment_framework( &self ) -> CreateAssessmentFrameworkFluentBuilder
Constructs a fluent builder for the CreateAssessmentFramework operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the new custom framework.
description(impl Into<String>)/set_description(Option<String>):An optional description for the new custom framework.
compliance_type(impl Into<String>)/set_compliance_type(Option<String>):The compliance type that the new custom framework supports, such as CIS or HIPAA.
control_sets(CreateAssessmentFrameworkControlSet)/set_control_sets(Option<Vec<CreateAssessmentFrameworkControlSet>>):The control sets that are associated with the framework.
tags(impl Into<String>, impl Into<String>)/set_tags(Option<HashMap<String, String>>):The tags that are associated with the framework.
- On success, responds with
CreateAssessmentFrameworkOutputwith field(s):framework(Option<Framework>):The name of the new framework that the
CreateAssessmentFrameworkAPI returned.
- On failure, responds with
SdkError<CreateAssessmentFrameworkError>
source§impl Client
impl Client
sourcepub fn create_assessment_report(&self) -> CreateAssessmentReportFluentBuilder
pub fn create_assessment_report(&self) -> CreateAssessmentReportFluentBuilder
Constructs a fluent builder for the CreateAssessmentReport operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the new assessment report.
description(impl Into<String>)/set_description(Option<String>):The description of the assessment report.
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The identifier for the assessment.
query_statement(impl Into<String>)/set_query_statement(Option<String>):A SQL statement that represents an evidence finder query.
Provide this parameter when you want to generate an assessment report from the results of an evidence finder search query. When you use this parameter, Audit Manager generates a one-time report using only the evidence from the query output. This report does not include any assessment evidence that was manually added to a report using the console, or associated with a report using the API.
To use this parameter, the enablementStatus of evidence finder must be
ENABLED.For examples and help resolving
queryStatementvalidation exceptions, see Troubleshooting evidence finder issues in the Audit Manager User Guide.
- On success, responds with
CreateAssessmentReportOutputwith field(s):assessment_report(Option<AssessmentReport>):The new assessment report that the
CreateAssessmentReportAPI returned.
- On failure, responds with
SdkError<CreateAssessmentReportError>
source§impl Client
impl Client
sourcepub fn create_control(&self) -> CreateControlFluentBuilder
pub fn create_control(&self) -> CreateControlFluentBuilder
Constructs a fluent builder for the CreateControl operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the control.
description(impl Into<String>)/set_description(Option<String>):The description of the control.
testing_information(impl Into<String>)/set_testing_information(Option<String>):The steps to follow to determine if the control is satisfied.
action_plan_title(impl Into<String>)/set_action_plan_title(Option<String>):The title of the action plan for remediating the control.
action_plan_instructions(impl Into<String>)/set_action_plan_instructions(Option<String>):The recommended actions to carry out if the control isn’t fulfilled.
control_mapping_sources(CreateControlMappingSource)/set_control_mapping_sources(Option<Vec<CreateControlMappingSource>>):The data mapping sources for the control.
tags(impl Into<String>, impl Into<String>)/set_tags(Option<HashMap<String, String>>):The tags that are associated with the control.
- On success, responds with
CreateControlOutputwith field(s):control(Option<Control>):The new control that the
CreateControlAPI returned.
- On failure, responds with
SdkError<CreateControlError>
source§impl Client
impl Client
sourcepub fn delete_assessment(&self) -> DeleteAssessmentFluentBuilder
pub fn delete_assessment(&self) -> DeleteAssessmentFluentBuilder
Constructs a fluent builder for the DeleteAssessment operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The identifier for the assessment.
- On success, responds with
DeleteAssessmentOutput - On failure, responds with
SdkError<DeleteAssessmentError>
source§impl Client
impl Client
sourcepub fn delete_assessment_framework(
&self
) -> DeleteAssessmentFrameworkFluentBuilder
pub fn delete_assessment_framework( &self ) -> DeleteAssessmentFrameworkFluentBuilder
Constructs a fluent builder for the DeleteAssessmentFramework operation.
- The fluent builder is configurable:
framework_id(impl Into<String>)/set_framework_id(Option<String>):The identifier for the custom framework.
- On success, responds with
DeleteAssessmentFrameworkOutput - On failure, responds with
SdkError<DeleteAssessmentFrameworkError>
source§impl Client
impl Client
Constructs a fluent builder for the DeleteAssessmentFrameworkShare operation.
- The fluent builder is configurable:
request_id(impl Into<String>)/set_request_id(Option<String>):The unique identifier for the share request to be deleted.
request_type(ShareRequestType)/set_request_type(Option<ShareRequestType>):Specifies whether the share request is a sent request or a received request.
- On success, responds with
DeleteAssessmentFrameworkShareOutput - On failure, responds with
SdkError<DeleteAssessmentFrameworkShareError>
source§impl Client
impl Client
sourcepub fn delete_assessment_report(&self) -> DeleteAssessmentReportFluentBuilder
pub fn delete_assessment_report(&self) -> DeleteAssessmentReportFluentBuilder
Constructs a fluent builder for the DeleteAssessmentReport operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
assessment_report_id(impl Into<String>)/set_assessment_report_id(Option<String>):The unique identifier for the assessment report.
- On success, responds with
DeleteAssessmentReportOutput - On failure, responds with
SdkError<DeleteAssessmentReportError>
source§impl Client
impl Client
sourcepub fn delete_control(&self) -> DeleteControlFluentBuilder
pub fn delete_control(&self) -> DeleteControlFluentBuilder
Constructs a fluent builder for the DeleteControl operation.
- The fluent builder is configurable:
control_id(impl Into<String>)/set_control_id(Option<String>):The unique identifier for the control.
- On success, responds with
DeleteControlOutput - On failure, responds with
SdkError<DeleteControlError>
source§impl Client
impl Client
sourcepub fn deregister_account(&self) -> DeregisterAccountFluentBuilder
pub fn deregister_account(&self) -> DeregisterAccountFluentBuilder
Constructs a fluent builder for the DeregisterAccount operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
DeregisterAccountOutputwith field(s):status(Option<AccountStatus>):The registration status of the account.
- On failure, responds with
SdkError<DeregisterAccountError>
source§impl Client
impl Client
sourcepub fn deregister_organization_admin_account(
&self
) -> DeregisterOrganizationAdminAccountFluentBuilder
pub fn deregister_organization_admin_account( &self ) -> DeregisterOrganizationAdminAccountFluentBuilder
Constructs a fluent builder for the DeregisterOrganizationAdminAccount operation.
- The fluent builder is configurable:
admin_account_id(impl Into<String>)/set_admin_account_id(Option<String>):The identifier for the administrator account.
- On success, responds with
DeregisterOrganizationAdminAccountOutput - On failure, responds with
SdkError<DeregisterOrganizationAdminAccountError>
source§impl Client
impl Client
sourcepub fn disassociate_assessment_report_evidence_folder(
&self
) -> DisassociateAssessmentReportEvidenceFolderFluentBuilder
pub fn disassociate_assessment_report_evidence_folder( &self ) -> DisassociateAssessmentReportEvidenceFolderFluentBuilder
Constructs a fluent builder for the DisassociateAssessmentReportEvidenceFolder operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
evidence_folder_id(impl Into<String>)/set_evidence_folder_id(Option<String>):The unique identifier for the folder that the evidence is stored in.
- On success, responds with
DisassociateAssessmentReportEvidenceFolderOutput - On failure, responds with
SdkError<DisassociateAssessmentReportEvidenceFolderError>
source§impl Client
impl Client
sourcepub fn get_account_status(&self) -> GetAccountStatusFluentBuilder
pub fn get_account_status(&self) -> GetAccountStatusFluentBuilder
Constructs a fluent builder for the GetAccountStatus operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
GetAccountStatusOutputwith field(s):status(Option<AccountStatus>):The status of the Amazon Web Services account.
- On failure, responds with
SdkError<GetAccountStatusError>
source§impl Client
impl Client
sourcepub fn get_assessment(&self) -> GetAssessmentFluentBuilder
pub fn get_assessment(&self) -> GetAssessmentFluentBuilder
Constructs a fluent builder for the GetAssessment operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
- On success, responds with
GetAssessmentOutputwith field(s):assessment(Option<Assessment>):An entity that defines the scope of audit evidence collected by Audit Manager. An Audit Manager assessment is an implementation of an Audit Manager framework.
user_role(Option<Role>):The wrapper that contains the Audit Manager role information of the current user. This includes the role type and IAM Amazon Resource Name (ARN).
- On failure, responds with
SdkError<GetAssessmentError>
source§impl Client
impl Client
sourcepub fn get_assessment_framework(&self) -> GetAssessmentFrameworkFluentBuilder
pub fn get_assessment_framework(&self) -> GetAssessmentFrameworkFluentBuilder
Constructs a fluent builder for the GetAssessmentFramework operation.
- The fluent builder is configurable:
framework_id(impl Into<String>)/set_framework_id(Option<String>):The identifier for the framework.
- On success, responds with
GetAssessmentFrameworkOutputwith field(s):framework(Option<Framework>):The framework that the
GetAssessmentFrameworkAPI returned.
- On failure, responds with
SdkError<GetAssessmentFrameworkError>
source§impl Client
impl Client
sourcepub fn get_assessment_report_url(&self) -> GetAssessmentReportUrlFluentBuilder
pub fn get_assessment_report_url(&self) -> GetAssessmentReportUrlFluentBuilder
Constructs a fluent builder for the GetAssessmentReportUrl operation.
- The fluent builder is configurable:
assessment_report_id(impl Into<String>)/set_assessment_report_id(Option<String>):The unique identifier for the assessment report.
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
- On success, responds with
GetAssessmentReportUrlOutputwith field(s):pre_signed_url(Option<Url>):Short for uniform resource locator. A URL is used as a unique identifier to locate a resource on the internet.
- On failure, responds with
SdkError<GetAssessmentReportUrlError>
source§impl Client
impl Client
sourcepub fn get_change_logs(&self) -> GetChangeLogsFluentBuilder
pub fn get_change_logs(&self) -> GetChangeLogsFluentBuilder
Constructs a fluent builder for the GetChangeLogs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
control_set_id(impl Into<String>)/set_control_set_id(Option<String>):The unique identifier for the control set.
control_id(impl Into<String>)/set_control_id(Option<String>):The unique identifier for the control.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
GetChangeLogsOutputwith field(s):change_logs(Option<Vec<ChangeLog>>):The list of user activity for the control.
next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<GetChangeLogsError>
source§impl Client
impl Client
sourcepub fn get_control(&self) -> GetControlFluentBuilder
pub fn get_control(&self) -> GetControlFluentBuilder
Constructs a fluent builder for the GetControl operation.
- The fluent builder is configurable:
control_id(impl Into<String>)/set_control_id(Option<String>):The identifier for the control.
- On success, responds with
GetControlOutputwith field(s):control(Option<Control>):The details of the control that the
GetControlAPI returned.
- On failure, responds with
SdkError<GetControlError>
source§impl Client
impl Client
sourcepub fn get_delegations(&self) -> GetDelegationsFluentBuilder
pub fn get_delegations(&self) -> GetDelegationsFluentBuilder
Constructs a fluent builder for the GetDelegations operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
GetDelegationsOutputwith field(s):delegations(Option<Vec<DelegationMetadata>>):The list of delegations that the
GetDelegationsAPI returned.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<GetDelegationsError>
source§impl Client
impl Client
sourcepub fn get_evidence(&self) -> GetEvidenceFluentBuilder
pub fn get_evidence(&self) -> GetEvidenceFluentBuilder
Constructs a fluent builder for the GetEvidence operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
control_set_id(impl Into<String>)/set_control_set_id(Option<String>):The unique identifier for the control set.
evidence_folder_id(impl Into<String>)/set_evidence_folder_id(Option<String>):The unique identifier for the folder that the evidence is stored in.
evidence_id(impl Into<String>)/set_evidence_id(Option<String>):The unique identifier for the evidence.
- On success, responds with
GetEvidenceOutputwith field(s):evidence(Option<Evidence>):The evidence that the
GetEvidenceAPI returned.
- On failure, responds with
SdkError<GetEvidenceError>
source§impl Client
impl Client
sourcepub fn get_evidence_by_evidence_folder(
&self
) -> GetEvidenceByEvidenceFolderFluentBuilder
pub fn get_evidence_by_evidence_folder( &self ) -> GetEvidenceByEvidenceFolderFluentBuilder
Constructs a fluent builder for the GetEvidenceByEvidenceFolder operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The identifier for the assessment.
control_set_id(impl Into<String>)/set_control_set_id(Option<String>):The identifier for the control set.
evidence_folder_id(impl Into<String>)/set_evidence_folder_id(Option<String>):The unique identifier for the folder that the evidence is stored in.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
GetEvidenceByEvidenceFolderOutputwith field(s):evidence(Option<Vec<Evidence>>):The list of evidence that the
GetEvidenceByEvidenceFolderAPI returned.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<GetEvidenceByEvidenceFolderError>
source§impl Client
impl Client
sourcepub fn get_evidence_file_upload_url(
&self
) -> GetEvidenceFileUploadUrlFluentBuilder
pub fn get_evidence_file_upload_url( &self ) -> GetEvidenceFileUploadUrlFluentBuilder
Constructs a fluent builder for the GetEvidenceFileUploadUrl operation.
- The fluent builder is configurable:
file_name(impl Into<String>)/set_file_name(Option<String>):The file that you want to upload. For a list of supported file formats, see Supported file types for manual evidence in the Audit Manager User Guide.
- On success, responds with
GetEvidenceFileUploadUrlOutputwith field(s):evidence_file_name(Option<String>):The name of the uploaded manual evidence file that the presigned URL was generated for.
upload_url(Option<String>):The presigned URL that was generated.
- On failure, responds with
SdkError<GetEvidenceFileUploadUrlError>
source§impl Client
impl Client
sourcepub fn get_evidence_folder(&self) -> GetEvidenceFolderFluentBuilder
pub fn get_evidence_folder(&self) -> GetEvidenceFolderFluentBuilder
Constructs a fluent builder for the GetEvidenceFolder operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
control_set_id(impl Into<String>)/set_control_set_id(Option<String>):The unique identifier for the control set.
evidence_folder_id(impl Into<String>)/set_evidence_folder_id(Option<String>):The unique identifier for the folder that the evidence is stored in.
- On success, responds with
GetEvidenceFolderOutputwith field(s):evidence_folder(Option<AssessmentEvidenceFolder>):The folder that the evidence is stored in.
- On failure, responds with
SdkError<GetEvidenceFolderError>
source§impl Client
impl Client
sourcepub fn get_evidence_folders_by_assessment(
&self
) -> GetEvidenceFoldersByAssessmentFluentBuilder
pub fn get_evidence_folders_by_assessment( &self ) -> GetEvidenceFoldersByAssessmentFluentBuilder
Constructs a fluent builder for the GetEvidenceFoldersByAssessment operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
GetEvidenceFoldersByAssessmentOutputwith field(s):evidence_folders(Option<Vec<AssessmentEvidenceFolder>>):The list of evidence folders that the
GetEvidenceFoldersByAssessmentAPI returned.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<GetEvidenceFoldersByAssessmentError>
source§impl Client
impl Client
sourcepub fn get_evidence_folders_by_assessment_control(
&self
) -> GetEvidenceFoldersByAssessmentControlFluentBuilder
pub fn get_evidence_folders_by_assessment_control( &self ) -> GetEvidenceFoldersByAssessmentControlFluentBuilder
Constructs a fluent builder for the GetEvidenceFoldersByAssessmentControl operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The identifier for the assessment.
control_set_id(impl Into<String>)/set_control_set_id(Option<String>):The identifier for the control set.
control_id(impl Into<String>)/set_control_id(Option<String>):The identifier for the control.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
GetEvidenceFoldersByAssessmentControlOutputwith field(s):evidence_folders(Option<Vec<AssessmentEvidenceFolder>>):The list of evidence folders that the
GetEvidenceFoldersByAssessmentControlAPI returned.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<GetEvidenceFoldersByAssessmentControlError>
source§impl Client
impl Client
sourcepub fn get_insights(&self) -> GetInsightsFluentBuilder
pub fn get_insights(&self) -> GetInsightsFluentBuilder
Constructs a fluent builder for the GetInsights operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
GetInsightsOutputwith field(s):insights(Option<Insights>):The analytics data that the
GetInsightsAPI returned.
- On failure, responds with
SdkError<GetInsightsError>
source§impl Client
impl Client
sourcepub fn get_insights_by_assessment(&self) -> GetInsightsByAssessmentFluentBuilder
pub fn get_insights_by_assessment(&self) -> GetInsightsByAssessmentFluentBuilder
Constructs a fluent builder for the GetInsightsByAssessment operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
- On success, responds with
GetInsightsByAssessmentOutputwith field(s):insights(Option<InsightsByAssessment>):The assessment analytics data that the
GetInsightsByAssessmentAPI returned.
- On failure, responds with
SdkError<GetInsightsByAssessmentError>
source§impl Client
impl Client
sourcepub fn get_organization_admin_account(
&self
) -> GetOrganizationAdminAccountFluentBuilder
pub fn get_organization_admin_account( &self ) -> GetOrganizationAdminAccountFluentBuilder
Constructs a fluent builder for the GetOrganizationAdminAccount operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
GetOrganizationAdminAccountOutputwith field(s):admin_account_id(Option<String>):The identifier for the administrator account.
organization_id(Option<String>):The identifier for the organization.
- On failure, responds with
SdkError<GetOrganizationAdminAccountError>
source§impl Client
impl Client
sourcepub fn get_services_in_scope(&self) -> GetServicesInScopeFluentBuilder
pub fn get_services_in_scope(&self) -> GetServicesInScopeFluentBuilder
Constructs a fluent builder for the GetServicesInScope operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
GetServicesInScopeOutputwith field(s):service_metadata(Option<Vec<ServiceMetadata>>):The metadata that’s associated with the Amazon Web Service.
- On failure, responds with
SdkError<GetServicesInScopeError>
source§impl Client
impl Client
sourcepub fn get_settings(&self) -> GetSettingsFluentBuilder
pub fn get_settings(&self) -> GetSettingsFluentBuilder
Constructs a fluent builder for the GetSettings operation.
- The fluent builder is configurable:
attribute(SettingAttribute)/set_attribute(Option<SettingAttribute>):The list of setting attribute enum values.
- On success, responds with
GetSettingsOutputwith field(s):settings(Option<Settings>):The settings object that holds all supported Audit Manager settings.
- On failure, responds with
SdkError<GetSettingsError>
source§impl Client
impl Client
sourcepub fn list_assessment_control_insights_by_control_domain(
&self
) -> ListAssessmentControlInsightsByControlDomainFluentBuilder
pub fn list_assessment_control_insights_by_control_domain( &self ) -> ListAssessmentControlInsightsByControlDomainFluentBuilder
Constructs a fluent builder for the ListAssessmentControlInsightsByControlDomain operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
control_domain_id(impl Into<String>)/set_control_domain_id(Option<String>):The unique identifier for the control domain.
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the active assessment.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
ListAssessmentControlInsightsByControlDomainOutputwith field(s):control_insights_by_assessment(Option<Vec<ControlInsightsMetadataByAssessmentItem>>):The assessment control analytics data that the
ListAssessmentControlInsightsByControlDomainAPI returned.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<ListAssessmentControlInsightsByControlDomainError>
source§impl Client
impl Client
Constructs a fluent builder for the ListAssessmentFrameworkShareRequests operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
request_type(ShareRequestType)/set_request_type(Option<ShareRequestType>):Specifies whether the share request is a sent request or a received request.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
ListAssessmentFrameworkShareRequestsOutputwith field(s):assessment_framework_share_requests(Option<Vec<AssessmentFrameworkShareRequest>>):The list of share requests that the
ListAssessmentFrameworkShareRequestsAPI returned.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<ListAssessmentFrameworkShareRequestsError>
source§impl Client
impl Client
sourcepub fn list_assessment_frameworks(
&self
) -> ListAssessmentFrameworksFluentBuilder
pub fn list_assessment_frameworks( &self ) -> ListAssessmentFrameworksFluentBuilder
Constructs a fluent builder for the ListAssessmentFrameworks operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
framework_type(FrameworkType)/set_framework_type(Option<FrameworkType>):The type of framework, such as a standard framework or a custom framework.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
ListAssessmentFrameworksOutputwith field(s):framework_metadata_list(Option<Vec<AssessmentFrameworkMetadata>>):A list of metadata that the
ListAssessmentFrameworksAPI returns for each framework.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<ListAssessmentFrameworksError>
source§impl Client
impl Client
sourcepub fn list_assessment_reports(&self) -> ListAssessmentReportsFluentBuilder
pub fn list_assessment_reports(&self) -> ListAssessmentReportsFluentBuilder
Constructs a fluent builder for the ListAssessmentReports operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
ListAssessmentReportsOutputwith field(s):assessment_reports(Option<Vec<AssessmentReportMetadata>>):The list of assessment reports that the
ListAssessmentReportsAPI returned.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<ListAssessmentReportsError>
source§impl Client
impl Client
sourcepub fn list_assessments(&self) -> ListAssessmentsFluentBuilder
pub fn list_assessments(&self) -> ListAssessmentsFluentBuilder
Constructs a fluent builder for the ListAssessments operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
status(AssessmentStatus)/set_status(Option<AssessmentStatus>):The current status of the assessment.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
ListAssessmentsOutputwith field(s):assessment_metadata(Option<Vec<AssessmentMetadataItem>>):The metadata that the
ListAssessmentsAPI returns for each assessment.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<ListAssessmentsError>
source§impl Client
impl Client
sourcepub fn list_control_domain_insights(
&self
) -> ListControlDomainInsightsFluentBuilder
pub fn list_control_domain_insights( &self ) -> ListControlDomainInsightsFluentBuilder
Constructs a fluent builder for the ListControlDomainInsights operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
ListControlDomainInsightsOutputwith field(s):control_domain_insights(Option<Vec<ControlDomainInsights>>):The control domain analytics data that the
ListControlDomainInsightsAPI returned.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<ListControlDomainInsightsError>
source§impl Client
impl Client
sourcepub fn list_control_domain_insights_by_assessment(
&self
) -> ListControlDomainInsightsByAssessmentFluentBuilder
pub fn list_control_domain_insights_by_assessment( &self ) -> ListControlDomainInsightsByAssessmentFluentBuilder
Constructs a fluent builder for the ListControlDomainInsightsByAssessment operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the active assessment.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
ListControlDomainInsightsByAssessmentOutputwith field(s):control_domain_insights(Option<Vec<ControlDomainInsights>>):The control domain analytics data that the
ListControlDomainInsightsByAssessmentAPI returned.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<ListControlDomainInsightsByAssessmentError>
source§impl Client
impl Client
sourcepub fn list_control_insights_by_control_domain(
&self
) -> ListControlInsightsByControlDomainFluentBuilder
pub fn list_control_insights_by_control_domain( &self ) -> ListControlInsightsByControlDomainFluentBuilder
Constructs a fluent builder for the ListControlInsightsByControlDomain operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
control_domain_id(impl Into<String>)/set_control_domain_id(Option<String>):The unique identifier for the control domain.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
ListControlInsightsByControlDomainOutputwith field(s):control_insights_metadata(Option<Vec<ControlInsightsMetadataItem>>):The control analytics data that the
ListControlInsightsByControlDomainAPI returned.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<ListControlInsightsByControlDomainError>
source§impl Client
impl Client
sourcepub fn list_controls(&self) -> ListControlsFluentBuilder
pub fn list_controls(&self) -> ListControlsFluentBuilder
Constructs a fluent builder for the ListControls operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
control_type(ControlType)/set_control_type(Option<ControlType>):The type of control, such as a standard control or a custom control.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
ListControlsOutputwith field(s):control_metadata_list(Option<Vec<ControlMetadata>>):A list of metadata that the
ListControlsAPI returns for each control.next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<ListControlsError>
source§impl Client
impl Client
sourcepub fn list_keywords_for_data_source(
&self
) -> ListKeywordsForDataSourceFluentBuilder
pub fn list_keywords_for_data_source( &self ) -> ListKeywordsForDataSourceFluentBuilder
Constructs a fluent builder for the ListKeywordsForDataSource operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
source(SourceType)/set_source(Option<SourceType>):The control mapping data source that the keywords apply to.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
ListKeywordsForDataSourceOutputwith field(s):keywords(Option<Vec<String>>):The list of keywords for the event mapping source.
next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<ListKeywordsForDataSourceError>
source§impl Client
impl Client
sourcepub fn list_notifications(&self) -> ListNotificationsFluentBuilder
pub fn list_notifications(&self) -> ListNotificationsFluentBuilder
Constructs a fluent builder for the ListNotifications operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
max_results(i32)/set_max_results(Option<i32>):Represents the maximum number of results on a page or for an API request call.
- On success, responds with
ListNotificationsOutputwith field(s):notifications(Option<Vec<Notification>>):The returned list of notifications.
next_token(Option<String>):The pagination token that’s used to fetch the next set of results.
- On failure, responds with
SdkError<ListNotificationsError>
source§impl Client
impl Client
Constructs a fluent builder for the ListTagsForResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the resource.
- On success, responds with
ListTagsForResourceOutputwith field(s):tags(Option<HashMap<String, String>>):The list of tags that the
ListTagsForResourceAPI returned.
- On failure, responds with
SdkError<ListTagsForResourceError>
source§impl Client
impl Client
sourcepub fn register_account(&self) -> RegisterAccountFluentBuilder
pub fn register_account(&self) -> RegisterAccountFluentBuilder
Constructs a fluent builder for the RegisterAccount operation.
- The fluent builder is configurable:
kms_key(impl Into<String>)/set_kms_key(Option<String>):The KMS key details.
delegated_admin_account(impl Into<String>)/set_delegated_admin_account(Option<String>):The delegated administrator account for Audit Manager.
- On success, responds with
RegisterAccountOutputwith field(s):status(Option<AccountStatus>):The status of the account registration request.
- On failure, responds with
SdkError<RegisterAccountError>
source§impl Client
impl Client
sourcepub fn register_organization_admin_account(
&self
) -> RegisterOrganizationAdminAccountFluentBuilder
pub fn register_organization_admin_account( &self ) -> RegisterOrganizationAdminAccountFluentBuilder
Constructs a fluent builder for the RegisterOrganizationAdminAccount operation.
- The fluent builder is configurable:
admin_account_id(impl Into<String>)/set_admin_account_id(Option<String>):The identifier for the delegated administrator account.
- On success, responds with
RegisterOrganizationAdminAccountOutputwith field(s):admin_account_id(Option<String>):The identifier for the delegated administrator account.
organization_id(Option<String>):The identifier for the organization.
- On failure, responds with
SdkError<RegisterOrganizationAdminAccountError>
source§impl Client
impl Client
Constructs a fluent builder for the StartAssessmentFrameworkShare operation.
- The fluent builder is configurable:
framework_id(impl Into<String>)/set_framework_id(Option<String>):The unique identifier for the custom framework to be shared.
destination_account(impl Into<String>)/set_destination_account(Option<String>):The Amazon Web Services account of the recipient.
destination_region(impl Into<String>)/set_destination_region(Option<String>):The Amazon Web Services Region of the recipient.
comment(impl Into<String>)/set_comment(Option<String>):An optional comment from the sender about the share request.
- On success, responds with
StartAssessmentFrameworkShareOutputwith field(s):assessment_framework_share_request(Option<AssessmentFrameworkShareRequest>):The share request that’s created by the
StartAssessmentFrameworkShareAPI.
- On failure, responds with
SdkError<StartAssessmentFrameworkShareError>
source§impl Client
impl Client
sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
pub fn tag_resource(&self) -> TagResourceFluentBuilder
Constructs a fluent builder for the TagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the resource.
tags(impl Into<String>, impl Into<String>)/set_tags(Option<HashMap<String, String>>):The tags that are associated with the resource.
- On success, responds with
TagResourceOutput - On failure, responds with
SdkError<TagResourceError>
source§impl Client
impl Client
sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
Constructs a fluent builder for the UntagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the specified resource.
tag_keys(impl Into<String>)/set_tag_keys(Option<Vec<String>>):The name or key of the tag.
- On success, responds with
UntagResourceOutput - On failure, responds with
SdkError<UntagResourceError>
source§impl Client
impl Client
sourcepub fn update_assessment(&self) -> UpdateAssessmentFluentBuilder
pub fn update_assessment(&self) -> UpdateAssessmentFluentBuilder
Constructs a fluent builder for the UpdateAssessment operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
assessment_name(impl Into<String>)/set_assessment_name(Option<String>):The name of the assessment to be updated.
assessment_description(impl Into<String>)/set_assessment_description(Option<String>):The description of the assessment.
scope(Scope)/set_scope(Option<Scope>):The scope of the assessment.
assessment_reports_destination(AssessmentReportsDestination)/set_assessment_reports_destination(Option<AssessmentReportsDestination>):The assessment report storage destination for the assessment that’s being updated.
roles(Role)/set_roles(Option<Vec<Role>>):The list of roles for the assessment.
- On success, responds with
UpdateAssessmentOutputwith field(s):assessment(Option<Assessment>):The response object for the
UpdateAssessmentAPI. This is the name of the updated assessment.
- On failure, responds with
SdkError<UpdateAssessmentError>
source§impl Client
impl Client
sourcepub fn update_assessment_control(&self) -> UpdateAssessmentControlFluentBuilder
pub fn update_assessment_control(&self) -> UpdateAssessmentControlFluentBuilder
Constructs a fluent builder for the UpdateAssessmentControl operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
control_set_id(impl Into<String>)/set_control_set_id(Option<String>):The unique identifier for the control set.
control_id(impl Into<String>)/set_control_id(Option<String>):The unique identifier for the control.
control_status(ControlStatus)/set_control_status(Option<ControlStatus>):The status of the control.
comment_body(impl Into<String>)/set_comment_body(Option<String>):The comment body text for the control.
- On success, responds with
UpdateAssessmentControlOutputwith field(s):control(Option<AssessmentControl>):The name of the updated control set that the
UpdateAssessmentControlAPI returned.
- On failure, responds with
SdkError<UpdateAssessmentControlError>
source§impl Client
impl Client
sourcepub fn update_assessment_control_set_status(
&self
) -> UpdateAssessmentControlSetStatusFluentBuilder
pub fn update_assessment_control_set_status( &self ) -> UpdateAssessmentControlSetStatusFluentBuilder
Constructs a fluent builder for the UpdateAssessmentControlSetStatus operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
control_set_id(impl Into<String>)/set_control_set_id(Option<String>):The unique identifier for the control set.
status(ControlSetStatus)/set_status(Option<ControlSetStatus>):The status of the control set that’s being updated.
comment(impl Into<String>)/set_comment(Option<String>):The comment that’s related to the status update.
- On success, responds with
UpdateAssessmentControlSetStatusOutputwith field(s):control_set(Option<AssessmentControlSet>):The name of the updated control set that the
UpdateAssessmentControlSetStatusAPI returned.
- On failure, responds with
SdkError<UpdateAssessmentControlSetStatusError>
source§impl Client
impl Client
sourcepub fn update_assessment_framework(
&self
) -> UpdateAssessmentFrameworkFluentBuilder
pub fn update_assessment_framework( &self ) -> UpdateAssessmentFrameworkFluentBuilder
Constructs a fluent builder for the UpdateAssessmentFramework operation.
- The fluent builder is configurable:
framework_id(impl Into<String>)/set_framework_id(Option<String>):The unique identifier for the framework.
name(impl Into<String>)/set_name(Option<String>):The name of the framework to be updated.
description(impl Into<String>)/set_description(Option<String>):The description of the updated framework.
compliance_type(impl Into<String>)/set_compliance_type(Option<String>):The compliance type that the new custom framework supports, such as CIS or HIPAA.
control_sets(UpdateAssessmentFrameworkControlSet)/set_control_sets(Option<Vec<UpdateAssessmentFrameworkControlSet>>):The control sets that are associated with the framework.
- On success, responds with
UpdateAssessmentFrameworkOutputwith field(s):framework(Option<Framework>):The name of the framework.
- On failure, responds with
SdkError<UpdateAssessmentFrameworkError>
source§impl Client
impl Client
Constructs a fluent builder for the UpdateAssessmentFrameworkShare operation.
- The fluent builder is configurable:
request_id(impl Into<String>)/set_request_id(Option<String>):The unique identifier for the share request.
request_type(ShareRequestType)/set_request_type(Option<ShareRequestType>):Specifies whether the share request is a sent request or a received request.
action(ShareRequestAction)/set_action(Option<ShareRequestAction>):Specifies the update action for the share request.
- On success, responds with
UpdateAssessmentFrameworkShareOutputwith field(s):assessment_framework_share_request(Option<AssessmentFrameworkShareRequest>):The updated share request that’s returned by the
UpdateAssessmentFrameworkShareoperation.
- On failure, responds with
SdkError<UpdateAssessmentFrameworkShareError>
source§impl Client
impl Client
sourcepub fn update_assessment_status(&self) -> UpdateAssessmentStatusFluentBuilder
pub fn update_assessment_status(&self) -> UpdateAssessmentStatusFluentBuilder
Constructs a fluent builder for the UpdateAssessmentStatus operation.
- The fluent builder is configurable:
assessment_id(impl Into<String>)/set_assessment_id(Option<String>):The unique identifier for the assessment.
status(AssessmentStatus)/set_status(Option<AssessmentStatus>):The current status of the assessment.
- On success, responds with
UpdateAssessmentStatusOutputwith field(s):assessment(Option<Assessment>):The name of the updated assessment that the
UpdateAssessmentStatusAPI returned.
- On failure, responds with
SdkError<UpdateAssessmentStatusError>
source§impl Client
impl Client
sourcepub fn update_control(&self) -> UpdateControlFluentBuilder
pub fn update_control(&self) -> UpdateControlFluentBuilder
Constructs a fluent builder for the UpdateControl operation.
- The fluent builder is configurable:
control_id(impl Into<String>)/set_control_id(Option<String>):The identifier for the control.
name(impl Into<String>)/set_name(Option<String>):The name of the updated control.
description(impl Into<String>)/set_description(Option<String>):The optional description of the control.
testing_information(impl Into<String>)/set_testing_information(Option<String>):The steps that you should follow to determine if the control is met.
action_plan_title(impl Into<String>)/set_action_plan_title(Option<String>):The title of the action plan for remediating the control.
action_plan_instructions(impl Into<String>)/set_action_plan_instructions(Option<String>):The recommended actions to carry out if the control isn’t fulfilled.
control_mapping_sources(ControlMappingSource)/set_control_mapping_sources(Option<Vec<ControlMappingSource>>):The data mapping sources for the control.
- On success, responds with
UpdateControlOutputwith field(s):control(Option<Control>):The name of the updated control set that the
UpdateControlAPI returned.
- On failure, responds with
SdkError<UpdateControlError>
source§impl Client
impl Client
sourcepub fn update_settings(&self) -> UpdateSettingsFluentBuilder
pub fn update_settings(&self) -> UpdateSettingsFluentBuilder
Constructs a fluent builder for the UpdateSettings operation.
- The fluent builder is configurable:
sns_topic(impl Into<String>)/set_sns_topic(Option<String>):The Amazon Simple Notification Service (Amazon SNS) topic that Audit Manager sends notifications to.
default_assessment_reports_destination(AssessmentReportsDestination)/set_default_assessment_reports_destination(Option<AssessmentReportsDestination>):The default S3 destination bucket for storing assessment reports.
default_process_owners(Role)/set_default_process_owners(Option<Vec<Role>>):A list of the default audit owners.
kms_key(impl Into<String>)/set_kms_key(Option<String>):The KMS key details.
evidence_finder_enabled(bool)/set_evidence_finder_enabled(Option<bool>):Specifies whether the evidence finder feature is enabled. Change this attribute to enable or disable evidence finder.
When you use this attribute to disable evidence finder, Audit Manager deletes the event data store that’s used to query your evidence data. As a result, you can’t re-enable evidence finder and use the feature again. Your only alternative is to deregister and then re-register Audit Manager.
deregistration_policy(DeregistrationPolicy)/set_deregistration_policy(Option<DeregistrationPolicy>):The deregistration policy for your Audit Manager data. You can use this attribute to determine how your data is handled when you deregister Audit Manager.
default_export_destination(DefaultExportDestination)/set_default_export_destination(Option<DefaultExportDestination>):The default S3 destination bucket for storing evidence finder exports.
- On success, responds with
UpdateSettingsOutputwith field(s):settings(Option<Settings>):The current list of settings.
- On failure, responds with
SdkError<UpdateSettingsError>
source§impl Client
impl Client
sourcepub fn validate_assessment_report_integrity(
&self
) -> ValidateAssessmentReportIntegrityFluentBuilder
pub fn validate_assessment_report_integrity( &self ) -> ValidateAssessmentReportIntegrityFluentBuilder
Constructs a fluent builder for the ValidateAssessmentReportIntegrity operation.
- The fluent builder is configurable:
s3_relative_path(impl Into<String>)/set_s3_relative_path(Option<String>):The relative path of the Amazon S3 bucket that the assessment report is stored in.
- On success, responds with
ValidateAssessmentReportIntegrityOutputwith field(s):signature_valid(Option<bool>):Specifies whether the signature key is valid.
signature_algorithm(Option<String>):The signature algorithm that’s used to code sign the assessment report file.
signature_date_time(Option<String>):The date and time signature that specifies when the assessment report was created.
signature_key_id(Option<String>):The unique identifier for the validation signature key.
validation_errors(Option<Vec<String>>):Represents any errors that occurred when validating the assessment report.
- On failure, responds with
SdkError<ValidateAssessmentReportIntegrityError>
source§impl Client
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
Panics
- This method will panic if the
sdk_configis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
sdk_configis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it.