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 values that can be set on the Config that
is absent from SdkConfig, or slightly different settings for a specific client may be desired.
The Builder 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>):
 required: true- The identifier for the assessment. 
- evidence_folder_id(impl Into<String>)/- set_evidence_folder_id(Option<String>):
 required: true- 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>):
 required: true- The identifier for the assessment. 
- evidence_folder_id(impl Into<String>)/- set_evidence_folder_id(Option<String>):
 required: true- The identifier for the folder that the evidence is stored in. 
- evidence_ids(impl Into<String>)/- set_evidence_ids(Option<Vec::<String>>):
 required: true- 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>>):
 required: true- The API request to batch create delegations in Audit Manager. 
- assessment_id(impl Into<String>)/- set_assessment_id(Option<String>):
 required: true- 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>>):
 required: true- The identifiers for the delegations. 
- assessment_id(impl Into<String>)/- set_assessment_id(Option<String>):
 required: true- 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>):
 required: true- The identifier for the assessment. 
- evidence_folder_id(impl Into<String>)/- set_evidence_folder_id(Option<String>):
 required: true- The identifier for the folder that the evidence is stored in. 
- evidence_ids(impl Into<String>)/- set_evidence_ids(Option<Vec::<String>>):
 required: true- 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>):
 required: true- The identifier for the assessment. 
- control_set_id(impl Into<String>)/- set_control_set_id(Option<String>):
 required: true- The identifier for the control set. 
- control_id(impl Into<String>)/- set_control_id(Option<String>):
 required: true- The identifier for the control. 
- manual_evidence(ManualEvidence)/- set_manual_evidence(Option<Vec::<ManualEvidence>>):
 required: true- 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>):
 required: true- The name of the assessment to be created. 
- description(impl Into<String>)/- set_description(Option<String>):
 required: false- The optional description of the assessment to be created. 
- assessment_reports_destination(AssessmentReportsDestination)/- set_assessment_reports_destination(Option<AssessmentReportsDestination>):
 required: true- The assessment report storage destination for the assessment that’s being created. 
- scope(Scope)/- set_scope(Option<Scope>):
 required: true- The wrapper that contains the Amazon Web Services accounts that are in scope for the assessment. - You no longer need to specify which Amazon Web Services services are in scope when you create or update an assessment. Audit Manager infers the services in scope by examining your assessment controls and their data sources, and then mapping this information to the relevant Amazon Web Services services. - If an underlying data source changes for your assessment, we automatically update the services scope as needed to reflect the correct Amazon Web Services services. This ensures that your assessment collects accurate and comprehensive evidence about all of the relevant services in your AWS environment. 
- roles(Role)/- set_roles(Option<Vec::<Role>>):
 required: true- The list of roles for the assessment. 
- framework_id(impl Into<String>)/- set_framework_id(Option<String>):
 required: true- 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>>):
 required: false- 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>):
 required: true- The name of the new custom framework. 
- description(impl Into<String>)/- set_description(Option<String>):
 required: false- An optional description for the new custom framework. 
- compliance_type(impl Into<String>)/- set_compliance_type(Option<String>):
 required: false- The compliance type that the new custom framework supports, such as CIS or HIPAA. 
- control_sets(CreateAssessmentFrameworkControlSet)/- set_control_sets(Option<Vec::<CreateAssessmentFrameworkControlSet>>):
 required: true- The control sets that are associated with the framework. 
- tags(impl Into<String>, impl Into<String>)/- set_tags(Option<HashMap::<String, String>>):
 required: false- 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>):
 required: true- The name of the new assessment report. 
- description(impl Into<String>)/- set_description(Option<String>):
 required: false- The description of the assessment report. 
- assessment_id(impl Into<String>)/- set_assessment_id(Option<String>):
 required: true- The identifier for the assessment. 
- query_statement(impl Into<String>)/- set_query_statement(Option<String>):
 required: false- 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>):
 required: true- The name of the control. 
- description(impl Into<String>)/- set_description(Option<String>):
 required: false- The description of the control. 
- testing_information(impl Into<String>)/- set_testing_information(Option<String>):
 required: false- The steps to follow to determine if the control is satisfied. 
- action_plan_title(impl Into<String>)/- set_action_plan_title(Option<String>):
 required: false- The title of the action plan for remediating the control. 
- action_plan_instructions(impl Into<String>)/- set_action_plan_instructions(Option<String>):
 required: false- The recommended actions to carry out if the control isn’t fulfilled. 
- control_mapping_sources(CreateControlMappingSource)/- set_control_mapping_sources(Option<Vec::<CreateControlMappingSource>>):
 required: true- The data mapping sources for the control. 
- tags(impl Into<String>, impl Into<String>)/- set_tags(Option<HashMap::<String, String>>):
 required: false- 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>):
 required: true- 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>):
 required: true- 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>):
 required: true- The unique identifier for the share request to be deleted. 
- request_type(ShareRequestType)/- set_request_type(Option<ShareRequestType>):
 required: true- 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>):
 required: true- The unique identifier for the assessment. 
- assessment_report_id(impl Into<String>)/- set_assessment_report_id(Option<String>):
 required: true- 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>):
 required: true- 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>):
 required: false- 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>):
 required: true- The unique identifier for the assessment. 
- evidence_folder_id(impl Into<String>)/- set_evidence_folder_id(Option<String>):
 required: true- 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>):
 required: true- 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>):
 required: true- 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>):
 required: true- The unique identifier for the assessment report. 
- assessment_id(impl Into<String>)/- set_assessment_id(Option<String>):
 required: true- 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>):
 required: true- The unique identifier for the assessment. 
- control_set_id(impl Into<String>)/- set_control_set_id(Option<String>):
 required: false- The unique identifier for the control set. 
- control_id(impl Into<String>)/- set_control_id(Option<String>):
 required: false- The unique identifier for the control. 
- next_token(impl Into<String>)/- set_next_token(Option<String>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: true- 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>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: true- The unique identifier for the assessment. 
- control_set_id(impl Into<String>)/- set_control_set_id(Option<String>):
 required: true- The unique identifier for the control set. 
- evidence_folder_id(impl Into<String>)/- set_evidence_folder_id(Option<String>):
 required: true- The unique identifier for the folder that the evidence is stored in. 
- evidence_id(impl Into<String>)/- set_evidence_id(Option<String>):
 required: true- 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>):
 required: true- The identifier for the assessment. 
- control_set_id(impl Into<String>)/- set_control_set_id(Option<String>):
 required: true- The identifier for the control set. 
- evidence_folder_id(impl Into<String>)/- set_evidence_folder_id(Option<String>):
 required: true- The unique identifier for the folder that the evidence is stored in. 
- next_token(impl Into<String>)/- set_next_token(Option<String>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: true- 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>):
 required: true- The unique identifier for the assessment. 
- control_set_id(impl Into<String>)/- set_control_set_id(Option<String>):
 required: true- The unique identifier for the control set. 
- evidence_folder_id(impl Into<String>)/- set_evidence_folder_id(Option<String>):
 required: true- 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>):
 required: true- The unique identifier for the assessment. 
- next_token(impl Into<String>)/- set_next_token(Option<String>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: true- The identifier for the assessment. 
- control_set_id(impl Into<String>)/- set_control_set_id(Option<String>):
 required: true- The identifier for the control set. 
- control_id(impl Into<String>)/- set_control_id(Option<String>):
 required: true- The identifier for the control. 
- next_token(impl Into<String>)/- set_next_token(Option<String>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: true- 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 Services 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>):
 required: true- 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>):
 required: true- The unique identifier for the control domain. - Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see - ListDomainsin the Amazon Web Services Control Catalog API Reference.
- assessment_id(impl Into<String>)/- set_assessment_id(Option<String>):
 required: true- The unique identifier for the active assessment. 
- next_token(impl Into<String>)/- set_next_token(Option<String>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: true- Specifies whether the share request is a sent request or a received request. 
- next_token(impl Into<String>)/- set_next_token(Option<String>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: true- The type of framework, such as a standard framework or a custom framework. 
- next_token(impl Into<String>)/- set_next_token(Option<String>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: false- The current status of the assessment. 
- next_token(impl Into<String>)/- set_next_token(Option<String>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: true- The unique identifier for the active assessment. 
- next_token(impl Into<String>)/- set_next_token(Option<String>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: true- The unique identifier for the control domain. - Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see - ListDomainsin the Amazon Web Services Control Catalog API Reference.
- next_token(impl Into<String>)/- set_next_token(Option<String>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: true- A filter that narrows the list of controls to a specific type. 
- next_token(impl Into<String>)/- set_next_token(Option<String>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- The maximum number of results on a page or for an API request call. 
- control_catalog_id(impl Into<String>)/- set_control_catalog_id(Option<String>):
 required: false- A filter that narrows the list of controls to a specific resource from the Amazon Web Services Control Catalog. - To use this parameter, specify the ARN of the Control Catalog resource. You can specify either a control domain, a control objective, or a common control. For information about how to find the ARNs for these resources, see - ListDomains,- ListObjectives, and- ListCommonControls.- You can only filter by one Control Catalog resource at a time. Specifying multiple resource ARNs isn’t currently supported. If you want to filter by more than one ARN, we recommend that you run the - ListControlsoperation separately for each ARN.- Alternatively, specify - UNCATEGORIZEDto list controls that aren’t mapped to a Control Catalog resource. For example, this operation might return a list of custom controls that don’t belong to any control domain or control objective.
 
- 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(DataSourceType)/- set_source(Option<DataSourceType>):
 required: true- The control mapping data source that the keywords apply to. 
- next_token(impl Into<String>)/- set_next_token(Option<String>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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 control 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>):
 required: false- The pagination token that’s used to fetch the next set of results. 
- max_results(i32)/- set_max_results(Option<i32>):
 required: false- 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>):
 required: true- 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>):
 required: false- The KMS key details. 
- delegated_admin_account(impl Into<String>)/- set_delegated_admin_account(Option<String>):
 required: false- 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>):
 required: true- 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>):
 required: true- The unique identifier for the custom framework to be shared. 
- destination_account(impl Into<String>)/- set_destination_account(Option<String>):
 required: true- The Amazon Web Services account of the recipient. 
- destination_region(impl Into<String>)/- set_destination_region(Option<String>):
 required: true- The Amazon Web Services Region of the recipient. 
- comment(impl Into<String>)/- set_comment(Option<String>):
 required: false- 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>):
 required: true- The Amazon Resource Name (ARN) of the resource. 
- tags(impl Into<String>, impl Into<String>)/- set_tags(Option<HashMap::<String, String>>):
 required: true- 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>):
 required: true- The Amazon Resource Name (ARN) of the specified resource. 
- tag_keys(impl Into<String>)/- set_tag_keys(Option<Vec::<String>>):
 required: true- 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>):
 required: true- The unique identifier for the assessment. 
- assessment_name(impl Into<String>)/- set_assessment_name(Option<String>):
 required: false- The name of the assessment to be updated. 
- assessment_description(impl Into<String>)/- set_assessment_description(Option<String>):
 required: false- The description of the assessment. 
- scope(Scope)/- set_scope(Option<Scope>):
 required: true- The scope of the assessment. 
- assessment_reports_destination(AssessmentReportsDestination)/- set_assessment_reports_destination(Option<AssessmentReportsDestination>):
 required: false- The assessment report storage destination for the assessment that’s being updated. 
- roles(Role)/- set_roles(Option<Vec::<Role>>):
 required: false- 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>):
 required: true- The unique identifier for the assessment. 
- control_set_id(impl Into<String>)/- set_control_set_id(Option<String>):
 required: true- The unique identifier for the control set. 
- control_id(impl Into<String>)/- set_control_id(Option<String>):
 required: true- The unique identifier for the control. 
- control_status(ControlStatus)/- set_control_status(Option<ControlStatus>):
 required: false- The status of the control. 
- comment_body(impl Into<String>)/- set_comment_body(Option<String>):
 required: false- 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>):
 required: true- The unique identifier for the assessment. 
- control_set_id(impl Into<String>)/- set_control_set_id(Option<String>):
 required: true- The unique identifier for the control set. 
- status(ControlSetStatus)/- set_status(Option<ControlSetStatus>):
 required: true- The status of the control set that’s being updated. 
- comment(impl Into<String>)/- set_comment(Option<String>):
 required: true- 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>):
 required: true- The unique identifier for the framework. 
- name(impl Into<String>)/- set_name(Option<String>):
 required: true- The name of the framework to be updated. 
- description(impl Into<String>)/- set_description(Option<String>):
 required: false- The description of the updated framework. 
- compliance_type(impl Into<String>)/- set_compliance_type(Option<String>):
 required: false- The compliance type that the new custom framework supports, such as CIS or HIPAA. 
- control_sets(UpdateAssessmentFrameworkControlSet)/- set_control_sets(Option<Vec::<UpdateAssessmentFrameworkControlSet>>):
 required: true- 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>):
 required: true- The unique identifier for the share request. 
- request_type(ShareRequestType)/- set_request_type(Option<ShareRequestType>):
 required: true- Specifies whether the share request is a sent request or a received request. 
- action(ShareRequestAction)/- set_action(Option<ShareRequestAction>):
 required: true- 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>):
 required: true- The unique identifier for the assessment. 
- status(AssessmentStatus)/- set_status(Option<AssessmentStatus>):
 required: true- 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>):
 required: true- The identifier for the control. 
- name(impl Into<String>)/- set_name(Option<String>):
 required: true- The name of the updated control. 
- description(impl Into<String>)/- set_description(Option<String>):
 required: false- The optional description of the control. 
- testing_information(impl Into<String>)/- set_testing_information(Option<String>):
 required: false- 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>):
 required: false- The title of the action plan for remediating the control. 
- action_plan_instructions(impl Into<String>)/- set_action_plan_instructions(Option<String>):
 required: false- The recommended actions to carry out if the control isn’t fulfilled. 
- control_mapping_sources(ControlMappingSource)/- set_control_mapping_sources(Option<Vec::<ControlMappingSource>>):
 required: true- 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>):
 required: false- 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>):
 required: false- The default S3 destination bucket for storing assessment reports. 
- default_process_owners(Role)/- set_default_process_owners(Option<Vec::<Role>>):
 required: false- A list of the default audit owners. 
- kms_key(impl Into<String>)/- set_kms_key(Option<String>):
 required: false- The KMS key details. 
- evidence_finder_enabled(bool)/- set_evidence_finder_enabled(Option<bool>):
 required: false- 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>):
 required: false- 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>):
 required: false- 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>):
 required: true- 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 from_conf(conf: Config) -> Self
 
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a sleep_implconfigured.
- Identity caching is enabled without a sleep_implandtime_sourceconfigured.
- No behavior_versionis provided.
The panic message for each of these will have instructions on how to resolve them.
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.
- This method will panic if no BehaviorVersionis provided. If you experience this panic, setbehavior_versionon the Config or enable thebehavior-version-latestCargo feature.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
    T: ?Sized,
 
impl<T> Paint for Twhere
    T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
 
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the foreground set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red() and
green(), which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg():
use yansi::{Paint, Color};
painted.fg(Color::White);Set foreground color to white using white().
use yansi::Paint;
painted.white();Source§fn bright_black(&self) -> Painted<&T>
 
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
 
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
 
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
 
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
 
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
 
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
 
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
 
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
 
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the background set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red() and
on_green(), which have the same functionality but
are pithier.
§Example
Set background color to red using fg():
use yansi::{Paint, Color};
painted.bg(Color::Red);Set background color to red using on_red().
use yansi::Paint;
painted.on_red();Source§fn on_primary(&self) -> Painted<&T>
 
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
 
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
 
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
 
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
 
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
 
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
 
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
 
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
 
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
 
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
 
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute value.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold() and
underline(), which have the same functionality
but are pithier.
§Example
Make text bold using attr():
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);Make text bold using using bold().
use yansi::Paint;
painted.bold();Source§fn rapid_blink(&self) -> Painted<&T>
 
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
 
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi Quirk value.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask() and
wrap(), which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk():
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);Enable wrapping using wrap().
use yansi::Paint;
painted.wrap();Source§fn clear(&self) -> Painted<&T>
 👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
 
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted only when both stdout and stderr are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);