/* * 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 wellarchitected-2020-03-31.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.WellArchitected.Model; using Amazon.WellArchitected.Model.Internal.MarshallTransformations; using Amazon.WellArchitected.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.WellArchitected { /// /// Implementation for accessing WellArchitected /// /// Well-Architected Tool /// /// This is the Well-Architected Tool API Reference. The WA Tool API provides programmatic /// access to the Well-Architected /// Tool in the Amazon Web /// Services Management Console. For information about the Well-Architected Tool, /// see the Well-Architected /// Tool User Guide. /// /// public partial class AmazonWellArchitectedClient : AmazonServiceClient, IAmazonWellArchitected { private static IServiceMetadata serviceMetadata = new AmazonWellArchitectedMetadata(); #region Constructors /// /// Constructs AmazonWellArchitectedClient 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 AmazonWellArchitectedClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonWellArchitectedConfig()) { } /// /// Constructs AmazonWellArchitectedClient 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 AmazonWellArchitectedClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonWellArchitectedConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonWellArchitectedClient 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 AmazonWellArchitectedClient Configuration Object public AmazonWellArchitectedClient(AmazonWellArchitectedConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonWellArchitectedClient with AWS Credentials /// /// AWS Credentials public AmazonWellArchitectedClient(AWSCredentials credentials) : this(credentials, new AmazonWellArchitectedConfig()) { } /// /// Constructs AmazonWellArchitectedClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonWellArchitectedClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonWellArchitectedConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonWellArchitectedClient with AWS Credentials and an /// AmazonWellArchitectedClient Configuration object. /// /// AWS Credentials /// The AmazonWellArchitectedClient Configuration Object public AmazonWellArchitectedClient(AWSCredentials credentials, AmazonWellArchitectedConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonWellArchitectedClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonWellArchitectedClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonWellArchitectedConfig()) { } /// /// Constructs AmazonWellArchitectedClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonWellArchitectedClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonWellArchitectedConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonWellArchitectedClient with AWS Access Key ID, AWS Secret Key and an /// AmazonWellArchitectedClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonWellArchitectedClient Configuration Object public AmazonWellArchitectedClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonWellArchitectedConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonWellArchitectedClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonWellArchitectedClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonWellArchitectedConfig()) { } /// /// Constructs AmazonWellArchitectedClient 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 AmazonWellArchitectedClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonWellArchitectedConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonWellArchitectedClient with AWS Access Key ID, AWS Secret Key and an /// AmazonWellArchitectedClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonWellArchitectedClient Configuration Object public AmazonWellArchitectedClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonWellArchitectedConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IWellArchitectedPaginatorFactory _paginators; /// /// Paginators for the service /// public IWellArchitectedPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new WellArchitectedPaginatorFactory(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 AmazonWellArchitectedEndpointResolver()); } /// /// 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 AssociateLenses internal virtual AssociateLensesResponse AssociateLenses(AssociateLensesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateLensesRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateLensesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associate a lens to a workload. /// /// /// /// Up to 10 lenses can be associated with a workload in a single API operation. A maximum /// of 20 lenses can be associated with a workload. /// /// /// /// Disclaimer /// /// /// /// By accessing and/or applying custom lenses created by another Amazon Web Services /// user or account, you acknowledge that custom lenses created by other users and shared /// with you are Third Party Content as defined in the Amazon Web Services Customer Agreement. /// /// /// /// /// Container for the necessary parameters to execute the AssociateLenses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateLenses service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for AssociateLenses Operation public virtual Task AssociateLensesAsync(AssociateLensesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateLensesRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateLensesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateProfiles internal virtual AssociateProfilesResponse AssociateProfiles(AssociateProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateProfilesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associate a profile with a workload. /// /// Container for the necessary parameters to execute the AssociateProfiles service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateProfiles service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for AssociateProfiles Operation public virtual Task AssociateProfilesAsync(AssociateProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateProfilesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateLensShare internal virtual CreateLensShareResponse CreateLensShare(CreateLensShareRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLensShareRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLensShareResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Create a lens share. /// /// /// /// The owner of a lens can share it with other Amazon Web Services accounts, users, an /// organization, and organizational units (OUs) in the same Amazon Web Services Region. /// Lenses provided by Amazon Web Services (Amazon Web Services Official Content) cannot /// be shared. /// /// /// /// Shared access to a lens is not removed until the lens invitation is deleted. /// /// /// /// If you share a lens with an organization or OU, all accounts in the organization or /// OU are granted access to the lens. /// /// /// /// For more information, see Sharing /// a custom lens in the Well-Architected Tool User Guide. /// /// /// /// Disclaimer /// /// /// /// By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge /// that Amazon Web Services will make your custom lenses available to those other accounts. /// Those other accounts may continue to access and use your shared custom lenses even /// if you delete the custom lenses from your own Amazon Web Services account or terminate /// your Amazon Web Services account. /// /// /// /// Container for the necessary parameters to execute the CreateLensShare service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLensShare service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// The user has reached their resource quota. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for CreateLensShare Operation public virtual Task CreateLensShareAsync(CreateLensShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLensShareRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLensShareResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateLensVersion internal virtual CreateLensVersionResponse CreateLensVersion(CreateLensVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLensVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLensVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Create a new lens version. /// /// /// /// A lens can have up to 100 versions. /// /// /// /// Use this operation to publish a new lens version after you have imported a lens. The /// LensAlias is used to identify the lens to be published. The owner of /// a lens can share the lens with other Amazon Web Services accounts and users in the /// same Amazon Web Services Region. Only the owner of a lens can delete it. /// /// /// Container for the necessary parameters to execute the CreateLensVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLensVersion service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// The user has reached their resource quota. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for CreateLensVersion Operation public virtual Task CreateLensVersionAsync(CreateLensVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLensVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLensVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateMilestone internal virtual CreateMilestoneResponse CreateMilestone(CreateMilestoneRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMilestoneRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMilestoneResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Create a milestone for an existing workload. /// /// Container for the necessary parameters to execute the CreateMilestone service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateMilestone service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// The user has reached their resource quota. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for CreateMilestone Operation public virtual Task CreateMilestoneAsync(CreateMilestoneRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMilestoneRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMilestoneResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateProfile internal virtual CreateProfileResponse CreateProfile(CreateProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Create a profile. /// /// Container for the necessary parameters to execute the CreateProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateProfile service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The user has reached their resource quota. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for CreateProfile Operation public virtual Task CreateProfileAsync(CreateProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateProfileShare internal virtual CreateProfileShareResponse CreateProfileShare(CreateProfileShareRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProfileShareRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProfileShareResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Create a profile share. /// /// Container for the necessary parameters to execute the CreateProfileShare service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateProfileShare service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// The user has reached their resource quota. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for CreateProfileShare Operation public virtual Task CreateProfileShareAsync(CreateProfileShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProfileShareRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProfileShareResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateWorkload internal virtual CreateWorkloadResponse CreateWorkload(CreateWorkloadRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWorkloadRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWorkloadResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Create a new workload. /// /// /// /// The owner of a workload can share the workload with other Amazon Web Services accounts, /// users, an organization, and organizational units (OUs) in the same Amazon Web Services /// Region. Only the owner of a workload can delete it. /// /// /// /// For more information, see Defining /// a Workload in the Well-Architected Tool User Guide. /// /// /// /// Either AwsRegions, NonAwsRegions, or both must be specified /// when creating a workload. /// /// /// /// You also must specify ReviewOwner, even though the parameter is listed /// as not being required in the following section. /// /// /// /// Container for the necessary parameters to execute the CreateWorkload service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateWorkload service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// The user has reached their resource quota. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for CreateWorkload Operation public virtual Task CreateWorkloadAsync(CreateWorkloadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWorkloadRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWorkloadResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateWorkloadShare internal virtual CreateWorkloadShareResponse CreateWorkloadShare(CreateWorkloadShareRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWorkloadShareRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWorkloadShareResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Create a workload share. /// /// /// /// The owner of a workload can share it with other Amazon Web Services accounts and users /// in the same Amazon Web Services Region. Shared access to a workload is not removed /// until the workload invitation is deleted. /// /// /// /// If you share a workload with an organization or OU, all accounts in the organization /// or OU are granted access to the workload. /// /// /// /// For more information, see Sharing /// a workload in the Well-Architected Tool User Guide. /// /// /// Container for the necessary parameters to execute the CreateWorkloadShare service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateWorkloadShare service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// The user has reached their resource quota. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for CreateWorkloadShare Operation public virtual Task CreateWorkloadShareAsync(CreateWorkloadShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWorkloadShareRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWorkloadShareResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteLens internal virtual DeleteLensResponse DeleteLens(DeleteLensRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLensRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLensResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete an existing lens. /// /// /// /// Only the owner of a lens can delete it. After the lens is deleted, Amazon Web Services /// accounts and users that you shared the lens with can continue to use it, but they /// will no longer be able to apply it to new workloads. /// /// /// /// Disclaimer /// /// /// /// By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge /// that Amazon Web Services will make your custom lenses available to those other accounts. /// Those other accounts may continue to access and use your shared custom lenses even /// if you delete the custom lenses from your own Amazon Web Services account or terminate /// your Amazon Web Services account. /// /// /// /// Container for the necessary parameters to execute the DeleteLens service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLens service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for DeleteLens Operation public virtual Task DeleteLensAsync(DeleteLensRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLensRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLensResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteLensShare internal virtual DeleteLensShareResponse DeleteLensShare(DeleteLensShareRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLensShareRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLensShareResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete a lens share. /// /// /// /// After the lens share is deleted, Amazon Web Services accounts, users, organizations, /// and organizational units (OUs) that you shared the lens with can continue to use it, /// but they will no longer be able to apply it to new workloads. /// /// /// /// Disclaimer /// /// /// /// By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge /// that Amazon Web Services will make your custom lenses available to those other accounts. /// Those other accounts may continue to access and use your shared custom lenses even /// if you delete the custom lenses from your own Amazon Web Services account or terminate /// your Amazon Web Services account. /// /// /// /// Container for the necessary parameters to execute the DeleteLensShare service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLensShare service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for DeleteLensShare Operation public virtual Task DeleteLensShareAsync(DeleteLensShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLensShareRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLensShareResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteProfile internal virtual DeleteProfileResponse DeleteProfile(DeleteProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete a profile. /// /// /// /// Disclaimer /// /// /// /// By sharing your profile with other Amazon Web Services accounts, you acknowledge that /// Amazon Web Services will make your profile available to those other accounts. Those /// other accounts may continue to access and use your shared profile even if you delete /// the profile from your own Amazon Web Services account or terminate your Amazon Web /// Services account. /// /// /// /// Container for the necessary parameters to execute the DeleteProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteProfile service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for DeleteProfile Operation public virtual Task DeleteProfileAsync(DeleteProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteProfileShare internal virtual DeleteProfileShareResponse DeleteProfileShare(DeleteProfileShareRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProfileShareRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProfileShareResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete a profile share. /// /// Container for the necessary parameters to execute the DeleteProfileShare service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteProfileShare service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for DeleteProfileShare Operation public virtual Task DeleteProfileShareAsync(DeleteProfileShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProfileShareRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProfileShareResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteWorkload internal virtual DeleteWorkloadResponse DeleteWorkload(DeleteWorkloadRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWorkloadRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWorkloadResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete an existing workload. /// /// Container for the necessary parameters to execute the DeleteWorkload service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteWorkload service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for DeleteWorkload Operation public virtual Task DeleteWorkloadAsync(DeleteWorkloadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWorkloadRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWorkloadResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteWorkloadShare internal virtual DeleteWorkloadShareResponse DeleteWorkloadShare(DeleteWorkloadShareRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWorkloadShareRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWorkloadShareResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete a workload share. /// /// Container for the necessary parameters to execute the DeleteWorkloadShare service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteWorkloadShare service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for DeleteWorkloadShare Operation public virtual Task DeleteWorkloadShareAsync(DeleteWorkloadShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWorkloadShareRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWorkloadShareResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateLenses internal virtual DisassociateLensesResponse DisassociateLenses(DisassociateLensesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateLensesRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateLensesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociate a lens from a workload. /// /// /// /// Up to 10 lenses can be disassociated from a workload in a single API operation. /// /// /// /// The Amazon Web Services Well-Architected Framework lens (wellarchitected) /// cannot be removed from a workload. /// /// /// /// Container for the necessary parameters to execute the DisassociateLenses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateLenses service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for DisassociateLenses Operation public virtual Task DisassociateLensesAsync(DisassociateLensesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateLensesRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateLensesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateProfiles internal virtual DisassociateProfilesResponse DisassociateProfiles(DisassociateProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateProfilesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociate a profile from a workload. /// /// Container for the necessary parameters to execute the DisassociateProfiles service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateProfiles service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for DisassociateProfiles Operation public virtual Task DisassociateProfilesAsync(DisassociateProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateProfilesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ExportLens internal virtual ExportLensResponse ExportLens(ExportLensRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportLensRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportLensResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Export an existing lens. /// /// /// /// Only the owner of a lens can export it. Lenses provided by Amazon Web Services (Amazon /// Web Services Official Content) cannot be exported. /// /// /// /// Lenses are defined in JSON. For more information, see JSON /// format specification in the Well-Architected Tool User Guide. /// /// /// /// Disclaimer /// /// /// /// Do not include or gather personal identifiable information (PII) of end users or other /// identifiable individuals in or via your custom lenses. If your custom lens or those /// shared with you and used in your account do include or collect PII you are responsible /// for: ensuring that the included PII is processed in accordance with applicable law, /// providing adequate privacy notices, and obtaining necessary consents for processing /// such data. /// /// /// /// Container for the necessary parameters to execute the ExportLens service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ExportLens service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ExportLens Operation public virtual Task ExportLensAsync(ExportLensRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ExportLensRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportLensResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAnswer internal virtual GetAnswerResponse GetAnswer(GetAnswerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAnswerRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAnswerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get the answer to a specific question in a workload review. /// /// Container for the necessary parameters to execute the GetAnswer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAnswer service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for GetAnswer Operation public virtual Task GetAnswerAsync(GetAnswerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAnswerRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAnswerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetConsolidatedReport internal virtual GetConsolidatedReportResponse GetConsolidatedReport(GetConsolidatedReportRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConsolidatedReportRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConsolidatedReportResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get a consolidated report of your workloads. /// /// /// /// You can optionally choose to include workloads that have been shared with you. /// /// /// Container for the necessary parameters to execute the GetConsolidatedReport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetConsolidatedReport service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for GetConsolidatedReport Operation public virtual Task GetConsolidatedReportAsync(GetConsolidatedReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConsolidatedReportRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConsolidatedReportResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetLens internal virtual GetLensResponse GetLens(GetLensRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLensRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLensResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get an existing lens. /// /// Container for the necessary parameters to execute the GetLens service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetLens service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for GetLens Operation public virtual Task GetLensAsync(GetLensRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetLensRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLensResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetLensReview internal virtual GetLensReviewResponse GetLensReview(GetLensReviewRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLensReviewRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLensReviewResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get lens review. /// /// Container for the necessary parameters to execute the GetLensReview service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetLensReview service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for GetLensReview Operation public virtual Task GetLensReviewAsync(GetLensReviewRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetLensReviewRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLensReviewResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetLensReviewReport internal virtual GetLensReviewReportResponse GetLensReviewReport(GetLensReviewReportRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLensReviewReportRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLensReviewReportResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get lens review report. /// /// Container for the necessary parameters to execute the GetLensReviewReport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetLensReviewReport service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for GetLensReviewReport Operation public virtual Task GetLensReviewReportAsync(GetLensReviewReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetLensReviewReportRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLensReviewReportResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetLensVersionDifference internal virtual GetLensVersionDifferenceResponse GetLensVersionDifference(GetLensVersionDifferenceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLensVersionDifferenceRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLensVersionDifferenceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get lens version differences. /// /// Container for the necessary parameters to execute the GetLensVersionDifference service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetLensVersionDifference service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for GetLensVersionDifference Operation public virtual Task GetLensVersionDifferenceAsync(GetLensVersionDifferenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetLensVersionDifferenceRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLensVersionDifferenceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetMilestone internal virtual GetMilestoneResponse GetMilestone(GetMilestoneRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMilestoneRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMilestoneResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get a milestone for an existing workload. /// /// Container for the necessary parameters to execute the GetMilestone service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetMilestone service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for GetMilestone Operation public virtual Task GetMilestoneAsync(GetMilestoneRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMilestoneRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMilestoneResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetProfile internal virtual GetProfileResponse GetProfile(GetProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get profile information. /// /// Container for the necessary parameters to execute the GetProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetProfile service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for GetProfile Operation public virtual Task GetProfileAsync(GetProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetProfileTemplate internal virtual GetProfileTemplateResponse GetProfileTemplate(GetProfileTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetProfileTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetProfileTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get profile template. /// /// Container for the necessary parameters to execute the GetProfileTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetProfileTemplate service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for GetProfileTemplate Operation public virtual Task GetProfileTemplateAsync(GetProfileTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetProfileTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetProfileTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetWorkload internal virtual GetWorkloadResponse GetWorkload(GetWorkloadRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetWorkloadRequestMarshaller.Instance; options.ResponseUnmarshaller = GetWorkloadResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get an existing workload. /// /// Container for the necessary parameters to execute the GetWorkload service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetWorkload service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for GetWorkload Operation public virtual Task GetWorkloadAsync(GetWorkloadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetWorkloadRequestMarshaller.Instance; options.ResponseUnmarshaller = GetWorkloadResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportLens internal virtual ImportLensResponse ImportLens(ImportLensRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportLensRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportLensResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Import a new custom lens or update an existing custom lens. /// /// /// /// To update an existing custom lens, specify its ARN as the LensAlias. /// If no ARN is specified, a new custom lens is created. /// /// /// /// The new or updated lens will have a status of DRAFT. The lens cannot /// be applied to workloads or shared with other Amazon Web Services accounts until it's /// published with CreateLensVersion. /// /// /// /// Lenses are defined in JSON. For more information, see JSON /// format specification in the Well-Architected Tool User Guide. /// /// /// /// A custom lens cannot exceed 500 KB in size. /// /// /// /// Disclaimer /// /// /// /// Do not include or gather personal identifiable information (PII) of end users or other /// identifiable individuals in or via your custom lenses. If your custom lens or those /// shared with you and used in your account do include or collect PII you are responsible /// for: ensuring that the included PII is processed in accordance with applicable law, /// providing adequate privacy notices, and obtaining necessary consents for processing /// such data. /// /// /// /// Container for the necessary parameters to execute the ImportLens service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportLens service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// The user has reached their resource quota. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ImportLens Operation public virtual Task ImportLensAsync(ImportLensRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportLensRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportLensResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAnswers internal virtual ListAnswersResponse ListAnswers(ListAnswersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAnswersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAnswersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List of answers for a particular workload and lens. /// /// Container for the necessary parameters to execute the ListAnswers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAnswers service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListAnswers Operation public virtual Task ListAnswersAsync(ListAnswersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAnswersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAnswersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListCheckDetails internal virtual ListCheckDetailsResponse ListCheckDetails(ListCheckDetailsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCheckDetailsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCheckDetailsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List of Trusted Advisor check details by account related to the workload. /// /// Container for the necessary parameters to execute the ListCheckDetails service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCheckDetails service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListCheckDetails Operation public virtual Task ListCheckDetailsAsync(ListCheckDetailsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListCheckDetailsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCheckDetailsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListCheckSummaries internal virtual ListCheckSummariesResponse ListCheckSummaries(ListCheckSummariesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCheckSummariesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCheckSummariesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List of Trusted Advisor checks summarized for all accounts related to the workload. /// /// Container for the necessary parameters to execute the ListCheckSummaries service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCheckSummaries service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListCheckSummaries Operation public virtual Task ListCheckSummariesAsync(ListCheckSummariesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListCheckSummariesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCheckSummariesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListLenses internal virtual ListLensesResponse ListLenses(ListLensesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLensesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLensesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List the available lenses. /// /// Container for the necessary parameters to execute the ListLenses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListLenses service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListLenses Operation public virtual Task ListLensesAsync(ListLensesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListLensesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLensesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListLensReviewImprovements internal virtual ListLensReviewImprovementsResponse ListLensReviewImprovements(ListLensReviewImprovementsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLensReviewImprovementsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLensReviewImprovementsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List lens review improvements. /// /// Container for the necessary parameters to execute the ListLensReviewImprovements service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListLensReviewImprovements service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListLensReviewImprovements Operation public virtual Task ListLensReviewImprovementsAsync(ListLensReviewImprovementsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListLensReviewImprovementsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLensReviewImprovementsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListLensReviews internal virtual ListLensReviewsResponse ListLensReviews(ListLensReviewsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLensReviewsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLensReviewsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List lens reviews for a particular workload. /// /// Container for the necessary parameters to execute the ListLensReviews service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListLensReviews service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListLensReviews Operation public virtual Task ListLensReviewsAsync(ListLensReviewsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListLensReviewsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLensReviewsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListLensShares internal virtual ListLensSharesResponse ListLensShares(ListLensSharesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLensSharesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLensSharesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List the lens shares associated with the lens. /// /// Container for the necessary parameters to execute the ListLensShares service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListLensShares service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListLensShares Operation public virtual Task ListLensSharesAsync(ListLensSharesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListLensSharesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLensSharesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListMilestones internal virtual ListMilestonesResponse ListMilestones(ListMilestonesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMilestonesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMilestonesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List all milestones for an existing workload. /// /// Container for the necessary parameters to execute the ListMilestones service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListMilestones service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListMilestones Operation public virtual Task ListMilestonesAsync(ListMilestonesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListMilestonesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMilestonesResponseUnmarshaller.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); } /// /// List lens 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 WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// 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 ListProfileNotifications internal virtual ListProfileNotificationsResponse ListProfileNotifications(ListProfileNotificationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListProfileNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProfileNotificationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List profile notifications. /// /// Container for the necessary parameters to execute the ListProfileNotifications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListProfileNotifications service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListProfileNotifications Operation public virtual Task ListProfileNotificationsAsync(ListProfileNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListProfileNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProfileNotificationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListProfiles internal virtual ListProfilesResponse ListProfiles(ListProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProfilesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List profiles. /// /// Container for the necessary parameters to execute the ListProfiles service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListProfiles service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListProfiles Operation public virtual Task ListProfilesAsync(ListProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProfilesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListProfileShares internal virtual ListProfileSharesResponse ListProfileShares(ListProfileSharesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListProfileSharesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProfileSharesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List profile shares. /// /// Container for the necessary parameters to execute the ListProfileShares service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListProfileShares service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListProfileShares Operation public virtual Task ListProfileSharesAsync(ListProfileSharesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListProfileSharesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProfileSharesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListShareInvitations internal virtual ListShareInvitationsResponse ListShareInvitations(ListShareInvitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListShareInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListShareInvitationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List the workload invitations. /// /// Container for the necessary parameters to execute the ListShareInvitations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListShareInvitations service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListShareInvitations Operation public virtual Task ListShareInvitationsAsync(ListShareInvitationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListShareInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListShareInvitationsResponseUnmarshaller.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); } /// /// List the tags for a resource. /// /// /// /// The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN. /// /// /// /// 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 WellArchitected. /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// 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 ListWorkloads internal virtual ListWorkloadsResponse ListWorkloads(ListWorkloadsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListWorkloadsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWorkloadsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Paginated list of workloads. /// /// Container for the necessary parameters to execute the ListWorkloads service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListWorkloads service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListWorkloads Operation public virtual Task ListWorkloadsAsync(ListWorkloadsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListWorkloadsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWorkloadsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListWorkloadShares internal virtual ListWorkloadSharesResponse ListWorkloadShares(ListWorkloadSharesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListWorkloadSharesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWorkloadSharesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List the workload shares associated with the workload. /// /// Container for the necessary parameters to execute the ListWorkloadShares service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListWorkloadShares service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for ListWorkloadShares Operation public virtual Task ListWorkloadSharesAsync(ListWorkloadSharesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListWorkloadSharesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWorkloadSharesResponseUnmarshaller.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); } /// /// Adds one or more tags to the specified resource. /// /// /// /// The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN. /// /// /// /// 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 WellArchitected. /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// 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); } /// /// Deletes specified tags from a resource. /// /// /// /// The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN. /// /// /// /// To specify multiple tags, use separate tagKeys parameters, for example: /// /// /// /// DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2 /// /// /// 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 WellArchitected. /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// 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 UpdateAnswer internal virtual UpdateAnswerResponse UpdateAnswer(UpdateAnswerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAnswerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAnswerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Update the answer to a specific question in a workload review. /// /// Container for the necessary parameters to execute the UpdateAnswer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAnswer service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for UpdateAnswer Operation public virtual Task UpdateAnswerAsync(UpdateAnswerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAnswerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAnswerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateGlobalSettings internal virtual UpdateGlobalSettingsResponse UpdateGlobalSettings(UpdateGlobalSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGlobalSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGlobalSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates whether the Amazon Web Services account is opted into organization sharing /// and discovery integration features. /// /// Container for the necessary parameters to execute the UpdateGlobalSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateGlobalSettings service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for UpdateGlobalSettings Operation public virtual Task UpdateGlobalSettingsAsync(UpdateGlobalSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGlobalSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGlobalSettingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateLensReview internal virtual UpdateLensReviewResponse UpdateLensReview(UpdateLensReviewRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLensReviewRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLensReviewResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Update lens review for a particular workload. /// /// Container for the necessary parameters to execute the UpdateLensReview service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateLensReview service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for UpdateLensReview Operation public virtual Task UpdateLensReviewAsync(UpdateLensReviewRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLensReviewRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLensReviewResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateProfile internal virtual UpdateProfileResponse UpdateProfile(UpdateProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Update a profile. /// /// Container for the necessary parameters to execute the UpdateProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateProfile service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for UpdateProfile Operation public virtual Task UpdateProfileAsync(UpdateProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateShareInvitation internal virtual UpdateShareInvitationResponse UpdateShareInvitation(UpdateShareInvitationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateShareInvitationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateShareInvitationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Update a workload or custom lens share invitation. /// /// /// /// This API operation can be called independently of any resource. Previous documentation /// implied that a workload ARN must be specified. /// /// /// /// Container for the necessary parameters to execute the UpdateShareInvitation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateShareInvitation service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for UpdateShareInvitation Operation public virtual Task UpdateShareInvitationAsync(UpdateShareInvitationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateShareInvitationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateShareInvitationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateWorkload internal virtual UpdateWorkloadResponse UpdateWorkload(UpdateWorkloadRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWorkloadRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWorkloadResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Update an existing workload. /// /// Container for the necessary parameters to execute the UpdateWorkload service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateWorkload service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for UpdateWorkload Operation public virtual Task UpdateWorkloadAsync(UpdateWorkloadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWorkloadRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWorkloadResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateWorkloadShare internal virtual UpdateWorkloadShareResponse UpdateWorkloadShare(UpdateWorkloadShareRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWorkloadShareRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWorkloadShareResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Update a workload share. /// /// Container for the necessary parameters to execute the UpdateWorkloadShare service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateWorkloadShare service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for UpdateWorkloadShare Operation public virtual Task UpdateWorkloadShareAsync(UpdateWorkloadShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWorkloadShareRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWorkloadShareResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpgradeLensReview internal virtual UpgradeLensReviewResponse UpgradeLensReview(UpgradeLensReviewRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpgradeLensReviewRequestMarshaller.Instance; options.ResponseUnmarshaller = UpgradeLensReviewResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Upgrade lens review for a particular workload. /// /// Container for the necessary parameters to execute the UpgradeLensReview service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpgradeLensReview service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for UpgradeLensReview Operation public virtual Task UpgradeLensReviewAsync(UpgradeLensReviewRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpgradeLensReviewRequestMarshaller.Instance; options.ResponseUnmarshaller = UpgradeLensReviewResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpgradeProfileVersion internal virtual UpgradeProfileVersionResponse UpgradeProfileVersion(UpgradeProfileVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpgradeProfileVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpgradeProfileVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Upgrade a profile. /// /// Container for the necessary parameters to execute the UpgradeProfileVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpgradeProfileVersion service method, as returned by WellArchitected. /// /// User does not have sufficient access to perform this action. /// /// /// The resource has already been processed, was deleted, or is too large. /// /// /// There is a problem with the Well-Architected Tool API service. /// /// /// The requested resource was not found. /// /// /// Request was denied due to request throttling. /// /// /// The user input is not valid. /// /// REST API Reference for UpgradeProfileVersion Operation public virtual Task UpgradeProfileVersionAsync(UpgradeProfileVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpgradeProfileVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpgradeProfileVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }