/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.AuditManager.Model; using Amazon.AuditManager.Model.Internal.MarshallTransformations; using Amazon.AuditManager.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AuditManager { /// /// Implementation for accessing AuditManager /// /// Welcome to the Audit Manager API reference. This guide is for developers who need /// detailed information about the Audit Manager API operations, data types, and errors. /// /// /// /// /// Audit Manager is a service that provides automated evidence collection so that you /// can continually audit your Amazon Web Services usage. You can use it to assess the /// effectiveness of your controls, manage risk, and simplify compliance. /// /// /// /// Audit Manager provides prebuilt frameworks that structure and automate assessments /// for a given compliance standard. Frameworks include a prebuilt collection of controls /// with descriptions and testing procedures. These controls are grouped according to /// the requirements of the specified compliance standard or regulation. You can also /// customize frameworks and controls to support internal audits with specific requirements. /// /// /// /// /// Use the following links to get started with the Audit Manager API: /// /// /// /// If you're new to Audit Manager, we recommend that you review the /// Audit Manager User Guide. /// /// public partial class AmazonAuditManagerClient : AmazonServiceClient, IAmazonAuditManager { private static IServiceMetadata serviceMetadata = new AmazonAuditManagerMetadata(); #region Constructors /// /// Constructs AmazonAuditManagerClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonAuditManagerClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAuditManagerConfig()) { } /// /// Constructs AmazonAuditManagerClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonAuditManagerClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAuditManagerConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonAuditManagerClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonAuditManagerClient Configuration Object public AmazonAuditManagerClient(AmazonAuditManagerConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonAuditManagerClient with AWS Credentials /// /// AWS Credentials public AmazonAuditManagerClient(AWSCredentials credentials) : this(credentials, new AmazonAuditManagerConfig()) { } /// /// Constructs AmazonAuditManagerClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonAuditManagerClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAuditManagerConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonAuditManagerClient with AWS Credentials and an /// AmazonAuditManagerClient Configuration object. /// /// AWS Credentials /// The AmazonAuditManagerClient Configuration Object public AmazonAuditManagerClient(AWSCredentials credentials, AmazonAuditManagerConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonAuditManagerClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAuditManagerConfig()) { } /// /// Constructs AmazonAuditManagerClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAuditManagerConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonAuditManagerClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAuditManagerClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonAuditManagerClient Configuration Object public AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAuditManagerConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonAuditManagerClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAuditManagerConfig()) { } /// /// Constructs AmazonAuditManagerClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAuditManagerConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonAuditManagerClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAuditManagerClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonAuditManagerClient Configuration Object public AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAuditManagerConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IAuditManagerPaginatorFactory _paginators; /// /// Paginators for the service /// public IAuditManagerPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AuditManagerPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonAuditManagerEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AssociateAssessmentReportEvidenceFolder internal virtual AssociateAssessmentReportEvidenceFolderResponse AssociateAssessmentReportEvidenceFolder(AssociateAssessmentReportEvidenceFolderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAssessmentReportEvidenceFolderRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates an evidence folder to an assessment report in an Audit Manager assessment. /// /// Container for the necessary parameters to execute the AssociateAssessmentReportEvidenceFolder service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateAssessmentReportEvidenceFolder service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for AssociateAssessmentReportEvidenceFolder Operation public virtual Task AssociateAssessmentReportEvidenceFolderAsync(AssociateAssessmentReportEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAssessmentReportEvidenceFolderRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchAssociateAssessmentReportEvidence internal virtual BatchAssociateAssessmentReportEvidenceResponse BatchAssociateAssessmentReportEvidence(BatchAssociateAssessmentReportEvidenceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateAssessmentReportEvidenceRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateAssessmentReportEvidenceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a list of evidence to an assessment report in an Audit Manager assessment. /// /// Container for the necessary parameters to execute the BatchAssociateAssessmentReportEvidence service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchAssociateAssessmentReportEvidence service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for BatchAssociateAssessmentReportEvidence Operation public virtual Task BatchAssociateAssessmentReportEvidenceAsync(BatchAssociateAssessmentReportEvidenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateAssessmentReportEvidenceRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateAssessmentReportEvidenceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchCreateDelegationByAssessment internal virtual BatchCreateDelegationByAssessmentResponse BatchCreateDelegationByAssessment(BatchCreateDelegationByAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchCreateDelegationByAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchCreateDelegationByAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a batch of delegations for an assessment in Audit Manager. /// /// Container for the necessary parameters to execute the BatchCreateDelegationByAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchCreateDelegationByAssessment service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for BatchCreateDelegationByAssessment Operation public virtual Task BatchCreateDelegationByAssessmentAsync(BatchCreateDelegationByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchCreateDelegationByAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchCreateDelegationByAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchDeleteDelegationByAssessment internal virtual BatchDeleteDelegationByAssessmentResponse BatchDeleteDelegationByAssessment(BatchDeleteDelegationByAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDeleteDelegationByAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDeleteDelegationByAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a batch of delegations for an assessment in Audit Manager. /// /// Container for the necessary parameters to execute the BatchDeleteDelegationByAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchDeleteDelegationByAssessment service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for BatchDeleteDelegationByAssessment Operation public virtual Task BatchDeleteDelegationByAssessmentAsync(BatchDeleteDelegationByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDeleteDelegationByAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDeleteDelegationByAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchDisassociateAssessmentReportEvidence internal virtual BatchDisassociateAssessmentReportEvidenceResponse BatchDisassociateAssessmentReportEvidence(BatchDisassociateAssessmentReportEvidenceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateAssessmentReportEvidenceRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateAssessmentReportEvidenceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a list of evidence from an assessment report in Audit Manager. /// /// Container for the necessary parameters to execute the BatchDisassociateAssessmentReportEvidence service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchDisassociateAssessmentReportEvidence service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for BatchDisassociateAssessmentReportEvidence Operation public virtual Task BatchDisassociateAssessmentReportEvidenceAsync(BatchDisassociateAssessmentReportEvidenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateAssessmentReportEvidenceRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateAssessmentReportEvidenceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchImportEvidenceToAssessmentControl internal virtual BatchImportEvidenceToAssessmentControlResponse BatchImportEvidenceToAssessmentControl(BatchImportEvidenceToAssessmentControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchImportEvidenceToAssessmentControlRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchImportEvidenceToAssessmentControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds one or more pieces of evidence to a control in an Audit Manager assessment. /// /// /// /// You can import manual evidence from any S3 bucket by specifying the S3 URI of the /// object. You can also upload a file from your browser, or enter plain text in response /// to a risk assessment question. /// /// /// /// The following restrictions apply to this action: /// ///
  • /// /// manualEvidence can be only one of the following: evidenceFileName, /// s3ResourcePath, or textResponse /// ///
  • /// /// Maximum size of an individual evidence file: 100 MB /// ///
  • /// /// Number of daily manual evidence uploads per control: 100 /// ///
  • /// /// Supported file formats: See Supported /// file types for manual evidence in the Audit Manager User Guide /// ///
/// /// For more information about Audit Manager service restrictions, see Quotas /// and restrictions for Audit Manager. /// ///
/// Container for the necessary parameters to execute the BatchImportEvidenceToAssessmentControl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchImportEvidenceToAssessmentControl service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request was denied due to request throttling. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for BatchImportEvidenceToAssessmentControl Operation public virtual Task BatchImportEvidenceToAssessmentControlAsync(BatchImportEvidenceToAssessmentControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchImportEvidenceToAssessmentControlRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchImportEvidenceToAssessmentControlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAssessment internal virtual CreateAssessmentResponse CreateAssessment(CreateAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an assessment in Audit Manager. /// /// Container for the necessary parameters to execute the CreateAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAssessment service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// You've reached your account quota for this resource type. To perform the requested /// action, delete some existing resources or request /// a quota increase from the Service Quotas console. For a list of Audit Manager /// service quotas, see Quotas /// and restrictions for Audit Manager. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for CreateAssessment Operation public virtual Task CreateAssessmentAsync(CreateAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAssessmentFramework internal virtual CreateAssessmentFrameworkResponse CreateAssessmentFramework(CreateAssessmentFrameworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssessmentFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssessmentFrameworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a custom framework in Audit Manager. /// /// Container for the necessary parameters to execute the CreateAssessmentFramework service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAssessmentFramework service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// You've reached your account quota for this resource type. To perform the requested /// action, delete some existing resources or request /// a quota increase from the Service Quotas console. For a list of Audit Manager /// service quotas, see Quotas /// and restrictions for Audit Manager. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for CreateAssessmentFramework Operation public virtual Task CreateAssessmentFrameworkAsync(CreateAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssessmentFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssessmentFrameworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAssessmentReport internal virtual CreateAssessmentReportResponse CreateAssessmentReport(CreateAssessmentReportRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssessmentReportRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssessmentReportResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an assessment report for the specified assessment. /// /// Container for the necessary parameters to execute the CreateAssessmentReport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAssessmentReport service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for CreateAssessmentReport Operation public virtual Task CreateAssessmentReportAsync(CreateAssessmentReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssessmentReportRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssessmentReportResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateControl internal virtual CreateControlResponse CreateControl(CreateControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateControlRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new custom control in Audit Manager. /// /// Container for the necessary parameters to execute the CreateControl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateControl service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// You've reached your account quota for this resource type. To perform the requested /// action, delete some existing resources or request /// a quota increase from the Service Quotas console. For a list of Audit Manager /// service quotas, see Quotas /// and restrictions for Audit Manager. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for CreateControl Operation public virtual Task CreateControlAsync(CreateControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateControlRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateControlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAssessment internal virtual DeleteAssessmentResponse DeleteAssessment(DeleteAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an assessment in Audit Manager. /// /// Container for the necessary parameters to execute the DeleteAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAssessment service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for DeleteAssessment Operation public virtual Task DeleteAssessmentAsync(DeleteAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAssessmentFramework internal virtual DeleteAssessmentFrameworkResponse DeleteAssessmentFramework(DeleteAssessmentFrameworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssessmentFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssessmentFrameworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a custom framework in Audit Manager. /// /// Container for the necessary parameters to execute the DeleteAssessmentFramework service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAssessmentFramework service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for DeleteAssessmentFramework Operation public virtual Task DeleteAssessmentFrameworkAsync(DeleteAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssessmentFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssessmentFrameworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAssessmentFrameworkShare internal virtual DeleteAssessmentFrameworkShareResponse DeleteAssessmentFrameworkShare(DeleteAssessmentFrameworkShareRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssessmentFrameworkShareRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssessmentFrameworkShareResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a share request for a custom framework in Audit Manager. /// /// Container for the necessary parameters to execute the DeleteAssessmentFrameworkShare service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAssessmentFrameworkShare service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for DeleteAssessmentFrameworkShare Operation public virtual Task DeleteAssessmentFrameworkShareAsync(DeleteAssessmentFrameworkShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssessmentFrameworkShareRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssessmentFrameworkShareResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAssessmentReport internal virtual DeleteAssessmentReportResponse DeleteAssessmentReport(DeleteAssessmentReportRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssessmentReportRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssessmentReportResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an assessment report in Audit Manager. /// /// /// /// When you run the DeleteAssessmentReport operation, Audit Manager attempts /// to delete the following data: /// ///
  1. /// /// The specified assessment report that’s stored in your S3 bucket /// ///
  2. /// /// The associated metadata that’s stored in Audit Manager /// ///
/// /// If Audit Manager can’t access the assessment report in your S3 bucket, the report /// isn’t deleted. In this event, the DeleteAssessmentReport operation doesn’t /// fail. Instead, it proceeds to delete the associated metadata only. You must then delete /// the assessment report from the S3 bucket yourself. /// /// /// /// This scenario happens when Audit Manager receives a 403 (Forbidden) or /// 404 (Not Found) error from Amazon S3. To avoid this, make sure that your /// S3 bucket is available, and that you configured the correct permissions for Audit /// Manager to delete resources in your S3 bucket. For an example permissions policy that /// you can use, see Assessment /// report destination permissions in the Audit Manager User Guide. For information /// about the issues that could cause a 403 (Forbidden) or 404 (Not /// Found) error from Amazon S3, see List /// of Error Codes in the Amazon Simple Storage Service API Reference. /// ///
/// Container for the necessary parameters to execute the DeleteAssessmentReport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAssessmentReport service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for DeleteAssessmentReport Operation public virtual Task DeleteAssessmentReportAsync(DeleteAssessmentReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssessmentReportRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssessmentReportResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteControl internal virtual DeleteControlResponse DeleteControl(DeleteControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteControlRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a custom control in Audit Manager. /// /// /// /// When you invoke this operation, the custom control is deleted from any frameworks /// or assessments that it’s currently part of. As a result, Audit Manager will stop collecting /// evidence for that custom control in all of your assessments. This includes assessments /// that you previously created before you deleted the custom control. /// /// /// /// Container for the necessary parameters to execute the DeleteControl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteControl service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for DeleteControl Operation public virtual Task DeleteControlAsync(DeleteControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteControlRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteControlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeregisterAccount internal virtual DeregisterAccountResponse DeregisterAccount(DeregisterAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deregisters an account in Audit Manager. /// /// /// /// Before you deregister, you can use the UpdateSettings /// API operation to set your preferred data retention policy. By default, Audit Manager /// retains your data. If you want to delete your data, you can use the DeregistrationPolicy /// attribute to request the deletion of your data. /// /// /// /// For more information about data retention, see Data /// Protection in the Audit Manager User Guide. /// /// /// /// Container for the necessary parameters to execute the DeregisterAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterAccount service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for DeregisterAccount Operation public virtual Task DeregisterAccountAsync(DeregisterAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeregisterOrganizationAdminAccount internal virtual DeregisterOrganizationAdminAccountResponse DeregisterOrganizationAdminAccount(DeregisterOrganizationAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterOrganizationAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes the specified Amazon Web Services account as a delegated administrator for /// Audit Manager. /// /// /// /// When you remove a delegated administrator from your Audit Manager settings, you continue /// to have access to the evidence that you previously collected under that account. This /// is also the case when you deregister a delegated administrator from Organizations. /// However, Audit Manager stops collecting and attaching evidence to that delegated administrator /// account moving forward. /// /// /// /// Keep in mind the following cleanup task if you use evidence finder: /// /// /// /// Before you use your management account to remove a delegated administrator, make sure /// that the current delegated administrator account signs in to Audit Manager and disables /// evidence finder first. Disabling evidence finder automatically deletes the event data /// store that was created in their account when they enabled evidence finder. If this /// task isn’t completed, the event data store remains in their account. In this case, /// we recommend that the original delegated administrator goes to CloudTrail Lake and /// manually deletes /// the event data store. /// /// /// /// This cleanup task is necessary to ensure that you don't end up with multiple event /// data stores. Audit Manager ignores an unused event data store after you remove or /// change a delegated administrator account. However, the unused event data store continues /// to incur storage costs from CloudTrail Lake if you don't delete it. /// /// /// /// When you deregister a delegated administrator account for Audit Manager, the data /// for that account isn’t deleted. If you want to delete resource data for a delegated /// administrator account, you must perform that task separately before you deregister /// the account. Either, you can do this in the Audit Manager console. Or, you can use /// one of the delete API operations that are provided by Audit Manager. /// /// /// /// To delete your Audit Manager resource data, see the following instructions: /// /// /// /// At this time, Audit Manager doesn't provide an option to delete evidence for a specific /// delegated administrator. Instead, when your management account deregisters Audit Manager, /// we perform a cleanup for the current delegated administrator account at the time of /// deregistration. /// /// /// Container for the necessary parameters to execute the DeregisterOrganizationAdminAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterOrganizationAdminAccount service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for DeregisterOrganizationAdminAccount Operation public virtual Task DeregisterOrganizationAdminAccountAsync(DeregisterOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterOrganizationAdminAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateAssessmentReportEvidenceFolder internal virtual DisassociateAssessmentReportEvidenceFolderResponse DisassociateAssessmentReportEvidenceFolder(DisassociateAssessmentReportEvidenceFolderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAssessmentReportEvidenceFolderRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates an evidence folder from the specified assessment report in Audit Manager. /// /// Container for the necessary parameters to execute the DisassociateAssessmentReportEvidenceFolder service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateAssessmentReportEvidenceFolder service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation public virtual Task DisassociateAssessmentReportEvidenceFolderAsync(DisassociateAssessmentReportEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAssessmentReportEvidenceFolderRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAccountStatus internal virtual GetAccountStatusResponse GetAccountStatus(GetAccountStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAccountStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAccountStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the registration status of an account in Audit Manager. /// /// Container for the necessary parameters to execute the GetAccountStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAccountStatus service method, as returned by AuditManager. /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// REST API Reference for GetAccountStatus Operation public virtual Task GetAccountStatusAsync(GetAccountStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAccountStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAccountStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAssessment internal virtual GetAssessmentResponse GetAssessment(GetAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about a specified assessment. /// /// Container for the necessary parameters to execute the GetAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAssessment service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetAssessment Operation public virtual Task GetAssessmentAsync(GetAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAssessmentFramework internal virtual GetAssessmentFrameworkResponse GetAssessmentFramework(GetAssessmentFrameworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssessmentFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssessmentFrameworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about a specified framework. /// /// Container for the necessary parameters to execute the GetAssessmentFramework service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAssessmentFramework service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetAssessmentFramework Operation public virtual Task GetAssessmentFrameworkAsync(GetAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssessmentFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssessmentFrameworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAssessmentReportUrl internal virtual GetAssessmentReportUrlResponse GetAssessmentReportUrl(GetAssessmentReportUrlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssessmentReportUrlRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssessmentReportUrlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the URL of an assessment report in Audit Manager. /// /// Container for the necessary parameters to execute the GetAssessmentReportUrl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAssessmentReportUrl service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetAssessmentReportUrl Operation public virtual Task GetAssessmentReportUrlAsync(GetAssessmentReportUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssessmentReportUrlRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssessmentReportUrlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetChangeLogs internal virtual GetChangeLogsResponse GetChangeLogs(GetChangeLogsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetChangeLogsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChangeLogsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a list of changelogs from Audit Manager. /// /// Container for the necessary parameters to execute the GetChangeLogs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetChangeLogs service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetChangeLogs Operation public virtual Task GetChangeLogsAsync(GetChangeLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetChangeLogsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChangeLogsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetControl internal virtual GetControlResponse GetControl(GetControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetControlRequestMarshaller.Instance; options.ResponseUnmarshaller = GetControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about a specified control. /// /// Container for the necessary parameters to execute the GetControl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetControl service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetControl Operation public virtual Task GetControlAsync(GetControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetControlRequestMarshaller.Instance; options.ResponseUnmarshaller = GetControlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDelegations internal virtual GetDelegationsResponse GetDelegations(GetDelegationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDelegationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDelegationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a list of delegations from an audit owner to a delegate. /// /// Container for the necessary parameters to execute the GetDelegations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDelegations service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetDelegations Operation public virtual Task GetDelegationsAsync(GetDelegationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDelegationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDelegationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEvidence internal virtual GetEvidenceResponse GetEvidence(GetEvidenceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEvidenceRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEvidenceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about a specified evidence item. /// /// Container for the necessary parameters to execute the GetEvidence service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEvidence service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetEvidence Operation public virtual Task GetEvidenceAsync(GetEvidenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEvidenceRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEvidenceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEvidenceByEvidenceFolder internal virtual GetEvidenceByEvidenceFolderResponse GetEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEvidenceByEvidenceFolderRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEvidenceByEvidenceFolderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all evidence from a specified evidence folder in Audit Manager. /// /// Container for the necessary parameters to execute the GetEvidenceByEvidenceFolder service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEvidenceByEvidenceFolder service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetEvidenceByEvidenceFolder Operation public virtual Task GetEvidenceByEvidenceFolderAsync(GetEvidenceByEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEvidenceByEvidenceFolderRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEvidenceByEvidenceFolderResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEvidenceFileUploadUrl internal virtual GetEvidenceFileUploadUrlResponse GetEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEvidenceFileUploadUrlRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEvidenceFileUploadUrlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence. /// For instructions on how to use this operation, see Upload /// a file from your browser in the Audit Manager User Guide. /// /// /// /// The following restrictions apply to this operation: /// ///
  • /// /// Maximum size of an individual evidence file: 100 MB /// ///
  • /// /// Number of daily manual evidence uploads per control: 100 /// ///
  • /// /// Supported file formats: See Supported /// file types for manual evidence in the Audit Manager User Guide /// ///
/// /// For more information about Audit Manager service restrictions, see Quotas /// and restrictions for Audit Manager. /// ///
/// Container for the necessary parameters to execute the GetEvidenceFileUploadUrl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEvidenceFileUploadUrl service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The request was denied due to request throttling. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetEvidenceFileUploadUrl Operation public virtual Task GetEvidenceFileUploadUrlAsync(GetEvidenceFileUploadUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEvidenceFileUploadUrlRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEvidenceFileUploadUrlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEvidenceFolder internal virtual GetEvidenceFolderResponse GetEvidenceFolder(GetEvidenceFolderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEvidenceFolderRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEvidenceFolderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets an evidence folder from a specified assessment in Audit Manager. /// /// Container for the necessary parameters to execute the GetEvidenceFolder service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEvidenceFolder service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetEvidenceFolder Operation public virtual Task GetEvidenceFolderAsync(GetEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEvidenceFolderRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEvidenceFolderResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEvidenceFoldersByAssessment internal virtual GetEvidenceFoldersByAssessmentResponse GetEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEvidenceFoldersByAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the evidence folders from a specified assessment in Audit Manager. /// /// Container for the necessary parameters to execute the GetEvidenceFoldersByAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEvidenceFoldersByAssessment service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetEvidenceFoldersByAssessment Operation public virtual Task GetEvidenceFoldersByAssessmentAsync(GetEvidenceFoldersByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEvidenceFoldersByAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEvidenceFoldersByAssessmentControl internal virtual GetEvidenceFoldersByAssessmentControlResponse GetEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEvidenceFoldersByAssessmentControlRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a list of evidence folders that are associated with a specified control in an /// Audit Manager assessment. /// /// Container for the necessary parameters to execute the GetEvidenceFoldersByAssessmentControl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEvidenceFoldersByAssessmentControl service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetEvidenceFoldersByAssessmentControl Operation public virtual Task GetEvidenceFoldersByAssessmentControlAsync(GetEvidenceFoldersByAssessmentControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEvidenceFoldersByAssessmentControlRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentControlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetInsights internal virtual GetInsightsResponse GetInsights(GetInsightsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetInsightsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInsightsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the latest analytics data for all your current active assessments. /// /// Container for the necessary parameters to execute the GetInsights service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetInsights service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// REST API Reference for GetInsights Operation public virtual Task GetInsightsAsync(GetInsightsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetInsightsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInsightsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetInsightsByAssessment internal virtual GetInsightsByAssessmentResponse GetInsightsByAssessment(GetInsightsByAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetInsightsByAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInsightsByAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the latest analytics data for a specific active assessment. /// /// Container for the necessary parameters to execute the GetInsightsByAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetInsightsByAssessment service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetInsightsByAssessment Operation public virtual Task GetInsightsByAssessmentAsync(GetInsightsByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetInsightsByAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInsightsByAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetOrganizationAdminAccount internal virtual GetOrganizationAdminAccountResponse GetOrganizationAdminAccount(GetOrganizationAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOrganizationAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the name of the delegated Amazon Web Services administrator account for a specified /// organization. /// /// Container for the necessary parameters to execute the GetOrganizationAdminAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetOrganizationAdminAccount service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetOrganizationAdminAccount Operation public virtual Task GetOrganizationAdminAccountAsync(GetOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOrganizationAdminAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetServicesInScope internal virtual GetServicesInScopeResponse GetServicesInScope(GetServicesInScopeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetServicesInScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetServicesInScopeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a list of all of the Amazon Web Services that you can choose to include in your /// assessment. When you create /// an assessment, specify which of these services you want to include to narrow the /// assessment's scope. /// /// Container for the necessary parameters to execute the GetServicesInScope service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetServicesInScope service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for GetServicesInScope Operation public virtual Task GetServicesInScopeAsync(GetServicesInScopeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetServicesInScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetServicesInScopeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSettings internal virtual GetSettingsResponse GetSettings(GetSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the settings for a specified Amazon Web Services account. /// /// Container for the necessary parameters to execute the GetSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSettings service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// REST API Reference for GetSettings Operation public virtual Task GetSettingsAsync(GetSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSettingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAssessmentControlInsightsByControlDomain internal virtual ListAssessmentControlInsightsByControlDomainResponse ListAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssessmentControlInsightsByControlDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssessmentControlInsightsByControlDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the latest analytics data for controls within a specific control domain and /// a specific active assessment. /// /// /// /// Control insights are listed only if the control belongs to the control domain and /// assessment that was specified. Moreover, the control must have collected evidence /// on the lastUpdated date of controlInsightsByAssessment. /// If neither of these conditions are met, no data is listed for that control. /// /// /// /// Container for the necessary parameters to execute the ListAssessmentControlInsightsByControlDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAssessmentControlInsightsByControlDomain service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ListAssessmentControlInsightsByControlDomain Operation public virtual Task ListAssessmentControlInsightsByControlDomainAsync(ListAssessmentControlInsightsByControlDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssessmentControlInsightsByControlDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssessmentControlInsightsByControlDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAssessmentFrameworks internal virtual ListAssessmentFrameworksResponse ListAssessmentFrameworks(ListAssessmentFrameworksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssessmentFrameworksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssessmentFrameworksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of the frameworks that are available in the Audit Manager framework /// library. /// /// Container for the necessary parameters to execute the ListAssessmentFrameworks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAssessmentFrameworks service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ListAssessmentFrameworks Operation public virtual Task ListAssessmentFrameworksAsync(ListAssessmentFrameworksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssessmentFrameworksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssessmentFrameworksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAssessmentFrameworkShareRequests internal virtual ListAssessmentFrameworkShareRequestsResponse ListAssessmentFrameworkShareRequests(ListAssessmentFrameworkShareRequestsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssessmentFrameworkShareRequestsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssessmentFrameworkShareRequestsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of sent or received share requests for custom frameworks in Audit /// Manager. /// /// Container for the necessary parameters to execute the ListAssessmentFrameworkShareRequests service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAssessmentFrameworkShareRequests service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ListAssessmentFrameworkShareRequests Operation public virtual Task ListAssessmentFrameworkShareRequestsAsync(ListAssessmentFrameworkShareRequestsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssessmentFrameworkShareRequestsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssessmentFrameworkShareRequestsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAssessmentReports internal virtual ListAssessmentReportsResponse ListAssessmentReports(ListAssessmentReportsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssessmentReportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssessmentReportsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of assessment reports created in Audit Manager. /// /// Container for the necessary parameters to execute the ListAssessmentReports service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAssessmentReports service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ListAssessmentReports Operation public virtual Task ListAssessmentReportsAsync(ListAssessmentReportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssessmentReportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssessmentReportsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAssessments internal virtual ListAssessmentsResponse ListAssessments(ListAssessmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssessmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssessmentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of current and past assessments from Audit Manager. /// /// Container for the necessary parameters to execute the ListAssessments service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAssessments service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ListAssessments Operation public virtual Task ListAssessmentsAsync(ListAssessmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssessmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssessmentsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListControlDomainInsights internal virtual ListControlDomainInsightsResponse ListControlDomainInsights(ListControlDomainInsightsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListControlDomainInsightsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListControlDomainInsightsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the latest analytics data for control domains across all of your active assessments. /// /// /// /// /// A control domain is listed only if at least one of the controls within that domain /// collected evidence on the lastUpdated date of controlDomainInsights. /// If this condition isn’t met, no data is listed for that control domain. /// /// /// /// Container for the necessary parameters to execute the ListControlDomainInsights service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListControlDomainInsights service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ListControlDomainInsights Operation public virtual Task ListControlDomainInsightsAsync(ListControlDomainInsightsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListControlDomainInsightsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListControlDomainInsightsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListControlDomainInsightsByAssessment internal virtual ListControlDomainInsightsByAssessmentResponse ListControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListControlDomainInsightsByAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = ListControlDomainInsightsByAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists analytics data for control domains within a specified active assessment. /// /// /// /// A control domain is listed only if at least one of the controls within that domain /// collected evidence on the lastUpdated date of controlDomainInsights. /// If this condition isn’t met, no data is listed for that domain. /// /// /// /// Container for the necessary parameters to execute the ListControlDomainInsightsByAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListControlDomainInsightsByAssessment service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ListControlDomainInsightsByAssessment Operation public virtual Task ListControlDomainInsightsByAssessmentAsync(ListControlDomainInsightsByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListControlDomainInsightsByAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = ListControlDomainInsightsByAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListControlInsightsByControlDomain internal virtual ListControlInsightsByControlDomainResponse ListControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListControlInsightsByControlDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = ListControlInsightsByControlDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the latest analytics data for controls within a specific control domain across /// all active assessments. /// /// /// /// Control insights are listed only if the control belongs to the control domain that /// was specified and the control collected evidence on the lastUpdated date /// of controlInsightsMetadata. If neither of these conditions are met, no /// data is listed for that control. /// /// /// /// Container for the necessary parameters to execute the ListControlInsightsByControlDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListControlInsightsByControlDomain service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ListControlInsightsByControlDomain Operation public virtual Task ListControlInsightsByControlDomainAsync(ListControlInsightsByControlDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListControlInsightsByControlDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = ListControlInsightsByControlDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListControls internal virtual ListControlsResponse ListControls(ListControlsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListControlsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListControlsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of controls from Audit Manager. /// /// Container for the necessary parameters to execute the ListControls service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListControls service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ListControls Operation public virtual Task ListControlsAsync(ListControlsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListControlsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListControlsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListKeywordsForDataSource internal virtual ListKeywordsForDataSourceResponse ListKeywordsForDataSource(ListKeywordsForDataSourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListKeywordsForDataSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListKeywordsForDataSourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of keywords that are pre-mapped to the specified control data source. /// /// Container for the necessary parameters to execute the ListKeywordsForDataSource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListKeywordsForDataSource service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ListKeywordsForDataSource Operation public virtual Task ListKeywordsForDataSourceAsync(ListKeywordsForDataSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListKeywordsForDataSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListKeywordsForDataSourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListNotifications internal virtual ListNotificationsResponse ListNotifications(ListNotificationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNotificationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of all Audit Manager notifications. /// /// Container for the necessary parameters to execute the ListNotifications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListNotifications service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ListNotifications Operation public virtual Task ListNotificationsAsync(ListNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNotificationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of tags for the specified resource in Audit Manager. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by AuditManager. /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ListTagsForResource Operation public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RegisterAccount internal virtual RegisterAccountResponse RegisterAccount(RegisterAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables Audit Manager for the specified Amazon Web Services account. /// /// Container for the necessary parameters to execute the RegisterAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterAccount service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request was denied due to request throttling. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for RegisterAccount Operation public virtual Task RegisterAccountAsync(RegisterAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RegisterOrganizationAdminAccount internal virtual RegisterOrganizationAdminAccountResponse RegisterOrganizationAdminAccount(RegisterOrganizationAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterOrganizationAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables an Amazon Web Services account within the organization as the delegated administrator /// for Audit Manager. /// /// Container for the necessary parameters to execute the RegisterOrganizationAdminAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterOrganizationAdminAccount service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for RegisterOrganizationAdminAccount Operation public virtual Task RegisterOrganizationAdminAccountAsync(RegisterOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterOrganizationAdminAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartAssessmentFrameworkShare internal virtual StartAssessmentFrameworkShareResponse StartAssessmentFrameworkShare(StartAssessmentFrameworkShareRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartAssessmentFrameworkShareRequestMarshaller.Instance; options.ResponseUnmarshaller = StartAssessmentFrameworkShareResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a share request for a custom framework in Audit Manager. /// /// /// /// The share request specifies a recipient and notifies them that a custom framework /// is available. Recipients have 120 days to accept or decline the request. If no action /// is taken, the share request expires. /// /// /// /// When you create a share request, Audit Manager stores a snapshot of your custom framework /// in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores /// a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region. /// /// /// /// Audit Manager deletes the snapshot and the backup snapshot when one of the following /// events occurs: /// ///
  • /// /// The sender revokes the share request. /// ///
  • /// /// The recipient declines the share request. /// ///
  • /// /// The recipient encounters an error and doesn't successfully accept the share request. /// ///
  • /// /// The share request expires before the recipient responds to the request. /// ///
/// /// When a sender resends /// a share request, the snapshot is replaced with an updated version that corresponds /// with the latest version of the custom framework. /// /// /// /// When a recipient accepts a share request, the snapshot is replicated into their Amazon /// Web Services account under the Amazon Web Services Region that was specified in the /// share request. /// /// /// /// When you invoke the StartAssessmentFrameworkShare API, you are about /// to share a custom framework with another Amazon Web Services account. You may not /// share a custom framework that is derived from a standard framework if the standard /// framework is designated as not eligible for sharing by Amazon Web Services, unless /// you have obtained permission to do so from the owner of the standard framework. To /// learn more about which standard frameworks are eligible for sharing, see Framework /// sharing eligibility in the Audit Manager User Guide. /// /// ///
/// Container for the necessary parameters to execute the StartAssessmentFrameworkShare service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartAssessmentFrameworkShare service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for StartAssessmentFrameworkShare Operation public virtual Task StartAssessmentFrameworkShareAsync(StartAssessmentFrameworkShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartAssessmentFrameworkShareRequestMarshaller.Instance; options.ResponseUnmarshaller = StartAssessmentFrameworkShareResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource internal virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Tags the specified resource in Audit Manager. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by AuditManager. /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for TagResource Operation public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UntagResource internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes a tag from a resource in Audit Manager. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by AuditManager. /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for UntagResource Operation public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAssessment internal virtual UpdateAssessmentResponse UpdateAssessment(UpdateAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Edits an Audit Manager assessment. /// /// Container for the necessary parameters to execute the UpdateAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAssessment service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for UpdateAssessment Operation public virtual Task UpdateAssessmentAsync(UpdateAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAssessmentControl internal virtual UpdateAssessmentControlResponse UpdateAssessmentControl(UpdateAssessmentControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssessmentControlRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssessmentControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a control within an assessment in Audit Manager. /// /// Container for the necessary parameters to execute the UpdateAssessmentControl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAssessmentControl service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for UpdateAssessmentControl Operation public virtual Task UpdateAssessmentControlAsync(UpdateAssessmentControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssessmentControlRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssessmentControlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAssessmentControlSetStatus internal virtual UpdateAssessmentControlSetStatusResponse UpdateAssessmentControlSetStatus(UpdateAssessmentControlSetStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssessmentControlSetStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssessmentControlSetStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the status of a control set in an Audit Manager assessment. /// /// Container for the necessary parameters to execute the UpdateAssessmentControlSetStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAssessmentControlSetStatus service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for UpdateAssessmentControlSetStatus Operation public virtual Task UpdateAssessmentControlSetStatusAsync(UpdateAssessmentControlSetStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssessmentControlSetStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssessmentControlSetStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAssessmentFramework internal virtual UpdateAssessmentFrameworkResponse UpdateAssessmentFramework(UpdateAssessmentFrameworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssessmentFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssessmentFrameworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a custom framework in Audit Manager. /// /// Container for the necessary parameters to execute the UpdateAssessmentFramework service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAssessmentFramework service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for UpdateAssessmentFramework Operation public virtual Task UpdateAssessmentFrameworkAsync(UpdateAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssessmentFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssessmentFrameworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAssessmentFrameworkShare internal virtual UpdateAssessmentFrameworkShareResponse UpdateAssessmentFrameworkShare(UpdateAssessmentFrameworkShareRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssessmentFrameworkShareRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssessmentFrameworkShareResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a share request for a custom framework in Audit Manager. /// /// Container for the necessary parameters to execute the UpdateAssessmentFrameworkShare service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAssessmentFrameworkShare service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// You've reached your account quota for this resource type. To perform the requested /// action, delete some existing resources or request /// a quota increase from the Service Quotas console. For a list of Audit Manager /// service quotas, see Quotas /// and restrictions for Audit Manager. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for UpdateAssessmentFrameworkShare Operation public virtual Task UpdateAssessmentFrameworkShareAsync(UpdateAssessmentFrameworkShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssessmentFrameworkShareRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssessmentFrameworkShareResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAssessmentStatus internal virtual UpdateAssessmentStatusResponse UpdateAssessmentStatus(UpdateAssessmentStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssessmentStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssessmentStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the status of an assessment in Audit Manager. /// /// Container for the necessary parameters to execute the UpdateAssessmentStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAssessmentStatus service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// You've reached your account quota for this resource type. To perform the requested /// action, delete some existing resources or request /// a quota increase from the Service Quotas console. For a list of Audit Manager /// service quotas, see Quotas /// and restrictions for Audit Manager. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for UpdateAssessmentStatus Operation public virtual Task UpdateAssessmentStatusAsync(UpdateAssessmentStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssessmentStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssessmentStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateControl internal virtual UpdateControlResponse UpdateControl(UpdateControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateControlRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a custom control in Audit Manager. /// /// Container for the necessary parameters to execute the UpdateControl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateControl service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for UpdateControl Operation public virtual Task UpdateControlAsync(UpdateControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateControlRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateControlResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateSettings internal virtual UpdateSettingsResponse UpdateSettings(UpdateSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates Audit Manager settings for the current account. /// /// Container for the necessary parameters to execute the UpdateSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateSettings service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for UpdateSettings Operation public virtual Task UpdateSettingsAsync(UpdateSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSettingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ValidateAssessmentReportIntegrity internal virtual ValidateAssessmentReportIntegrityResponse ValidateAssessmentReportIntegrity(ValidateAssessmentReportIntegrityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ValidateAssessmentReportIntegrityRequestMarshaller.Instance; options.ResponseUnmarshaller = ValidateAssessmentReportIntegrityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Validates the integrity of an assessment report in Audit Manager. /// /// Container for the necessary parameters to execute the ValidateAssessmentReportIntegrity service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ValidateAssessmentReportIntegrity service method, as returned by AuditManager. /// /// Your account isn't registered with Audit Manager. Check the delegated administrator /// setup on the Audit Manager settings page, and try again. /// /// /// An internal service error occurred during the processing of your request. Try again /// later. /// /// /// The resource that's specified in the request can't be found. /// /// /// The request has invalid or missing parameters. /// /// REST API Reference for ValidateAssessmentReportIntegrity Operation public virtual Task ValidateAssessmentReportIntegrityAsync(ValidateAssessmentReportIntegrityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ValidateAssessmentReportIntegrityRequestMarshaller.Instance; options.ResponseUnmarshaller = ValidateAssessmentReportIntegrityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }