/* * 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 resiliencehub-2020-04-30.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.ResilienceHub.Model; using Amazon.ResilienceHub.Model.Internal.MarshallTransformations; using Amazon.ResilienceHub.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ResilienceHub { /// /// Implementation for accessing ResilienceHub /// /// Resilience Hub helps you proactively prepare and protect your Amazon Web Services /// applications from disruptions. It offers continual resiliency assessment and validation /// that integrates into your software development lifecycle. This enables you to uncover /// resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective /// (RPO) targets for your applications are met, and resolve issues before they are released /// into production. /// public partial class AmazonResilienceHubClient : AmazonServiceClient, IAmazonResilienceHub { private static IServiceMetadata serviceMetadata = new AmazonResilienceHubMetadata(); private IResilienceHubPaginatorFactory _paginators; /// /// Paginators for the service /// public IResilienceHubPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ResilienceHubPaginatorFactory(this); } return this._paginators; } } #region Constructors /// /// Constructs AmazonResilienceHubClient 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 AmazonResilienceHubClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonResilienceHubConfig()) { } /// /// Constructs AmazonResilienceHubClient 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 AmazonResilienceHubClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonResilienceHubConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonResilienceHubClient 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 AmazonResilienceHubClient Configuration Object public AmazonResilienceHubClient(AmazonResilienceHubConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonResilienceHubClient with AWS Credentials /// /// AWS Credentials public AmazonResilienceHubClient(AWSCredentials credentials) : this(credentials, new AmazonResilienceHubConfig()) { } /// /// Constructs AmazonResilienceHubClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonResilienceHubClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonResilienceHubConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonResilienceHubClient with AWS Credentials and an /// AmazonResilienceHubClient Configuration object. /// /// AWS Credentials /// The AmazonResilienceHubClient Configuration Object public AmazonResilienceHubClient(AWSCredentials credentials, AmazonResilienceHubConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonResilienceHubClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonResilienceHubClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonResilienceHubConfig()) { } /// /// Constructs AmazonResilienceHubClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonResilienceHubClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonResilienceHubConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonResilienceHubClient with AWS Access Key ID, AWS Secret Key and an /// AmazonResilienceHubClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonResilienceHubClient Configuration Object public AmazonResilienceHubClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonResilienceHubConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonResilienceHubClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonResilienceHubClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonResilienceHubConfig()) { } /// /// Constructs AmazonResilienceHubClient 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 AmazonResilienceHubClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonResilienceHubConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonResilienceHubClient with AWS Access Key ID, AWS Secret Key and an /// AmazonResilienceHubClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonResilienceHubClient Configuration Object public AmazonResilienceHubClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonResilienceHubConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonResilienceHubEndpointResolver()); } /// /// 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 AddDraftAppVersionResourceMappings /// /// Adds the resource mapping for the draft application version. You can also update an /// existing resource mapping to a new physical resource. /// /// Container for the necessary parameters to execute the AddDraftAppVersionResourceMappings service method. /// /// The response from the AddDraftAppVersionResourceMappings service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for AddDraftAppVersionResourceMappings Operation public virtual AddDraftAppVersionResourceMappingsResponse AddDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AddDraftAppVersionResourceMappingsRequestMarshaller.Instance; options.ResponseUnmarshaller = AddDraftAppVersionResourceMappingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds the resource mapping for the draft application version. You can also update an /// existing resource mapping to a new physical resource. /// /// Container for the necessary parameters to execute the AddDraftAppVersionResourceMappings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AddDraftAppVersionResourceMappings service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for AddDraftAppVersionResourceMappings Operation public virtual Task AddDraftAppVersionResourceMappingsAsync(AddDraftAppVersionResourceMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AddDraftAppVersionResourceMappingsRequestMarshaller.Instance; options.ResponseUnmarshaller = AddDraftAppVersionResourceMappingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateApp /// /// Creates an Resilience Hub application. An Resilience Hub application is a collection /// of Amazon Web Services resources structured to prevent and recover Amazon Web Services /// application disruptions. To describe an Resilience Hub application, you provide an /// application name, resources from one or more CloudFormation stacks, Resource Groups, /// Terraform state files, AppRegistry applications, and an appropriate resiliency policy. /// For more information about the number of resources supported per application, see /// Service /// Quotas. /// /// /// /// After you create an Resilience Hub application, you publish it so that you can run /// a resiliency assessment on it. You can then use recommendations from the assessment /// to improve resiliency by running another assessment, comparing results, and then iterating /// the process until you achieve your goals for recovery time objective (RTO) and recovery /// point objective (RPO). /// /// /// Container for the necessary parameters to execute the CreateApp service method. /// /// The response from the CreateApp service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for CreateApp Operation public virtual CreateAppResponse CreateApp(CreateAppRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an Resilience Hub application. An Resilience Hub application is a collection /// of Amazon Web Services resources structured to prevent and recover Amazon Web Services /// application disruptions. To describe an Resilience Hub application, you provide an /// application name, resources from one or more CloudFormation stacks, Resource Groups, /// Terraform state files, AppRegistry applications, and an appropriate resiliency policy. /// For more information about the number of resources supported per application, see /// Service /// Quotas. /// /// /// /// After you create an Resilience Hub application, you publish it so that you can run /// a resiliency assessment on it. You can then use recommendations from the assessment /// to improve resiliency by running another assessment, comparing results, and then iterating /// the process until you achieve your goals for recovery time objective (RTO) and recovery /// point objective (RPO). /// /// /// Container for the necessary parameters to execute the CreateApp service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateApp service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for CreateApp Operation public virtual Task CreateAppAsync(CreateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAppVersionAppComponent /// /// Creates a new Application Component in the Resilience Hub application. /// /// /// /// This API updates the Resilience Hub application draft version. To use this Application /// Component for running assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// /// /// /// Container for the necessary parameters to execute the CreateAppVersionAppComponent service method. /// /// The response from the CreateAppVersionAppComponent service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for CreateAppVersionAppComponent Operation public virtual CreateAppVersionAppComponentResponse CreateAppVersionAppComponent(CreateAppVersionAppComponentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppVersionAppComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppVersionAppComponentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new Application Component in the Resilience Hub application. /// /// /// /// This API updates the Resilience Hub application draft version. To use this Application /// Component for running assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// /// /// /// Container for the necessary parameters to execute the CreateAppVersionAppComponent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAppVersionAppComponent service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for CreateAppVersionAppComponent Operation public virtual Task CreateAppVersionAppComponentAsync(CreateAppVersionAppComponentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppVersionAppComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppVersionAppComponentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAppVersionResource /// /// Adds a resource to the Resilience Hub application and assigns it to the specified /// Application Components. If you specify a new Application Component, Resilience Hub /// will automatically create the Application Component. /// ///
  • /// /// This action has no effect outside Resilience Hub. /// ///
  • /// /// This API updates the Resilience Hub application draft version. To use this resource /// for running resiliency assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// ///
  • /// /// To update application version with new physicalResourceID, you must call /// ResolveAppVersionResources API. /// ///
///
/// Container for the necessary parameters to execute the CreateAppVersionResource service method. /// /// The response from the CreateAppVersionResource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for CreateAppVersionResource Operation public virtual CreateAppVersionResourceResponse CreateAppVersionResource(CreateAppVersionResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppVersionResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppVersionResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds a resource to the Resilience Hub application and assigns it to the specified /// Application Components. If you specify a new Application Component, Resilience Hub /// will automatically create the Application Component. /// ///
  • /// /// This action has no effect outside Resilience Hub. /// ///
  • /// /// This API updates the Resilience Hub application draft version. To use this resource /// for running resiliency assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// ///
  • /// /// To update application version with new physicalResourceID, you must call /// ResolveAppVersionResources API. /// ///
///
/// Container for the necessary parameters to execute the CreateAppVersionResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAppVersionResource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for CreateAppVersionResource Operation public virtual Task CreateAppVersionResourceAsync(CreateAppVersionResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppVersionResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppVersionResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRecommendationTemplate /// /// Creates a new recommendation template for the Resilience Hub application. /// /// Container for the necessary parameters to execute the CreateRecommendationTemplate service method. /// /// The response from the CreateRecommendationTemplate service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for CreateRecommendationTemplate Operation public virtual CreateRecommendationTemplateResponse CreateRecommendationTemplate(CreateRecommendationTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRecommendationTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRecommendationTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new recommendation template for the Resilience Hub application. /// /// Container for the necessary parameters to execute the CreateRecommendationTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRecommendationTemplate service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for CreateRecommendationTemplate Operation public virtual Task CreateRecommendationTemplateAsync(CreateRecommendationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRecommendationTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRecommendationTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateResiliencyPolicy /// /// Creates a resiliency policy for an application. /// /// Container for the necessary parameters to execute the CreateResiliencyPolicy service method. /// /// The response from the CreateResiliencyPolicy service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for CreateResiliencyPolicy Operation public virtual CreateResiliencyPolicyResponse CreateResiliencyPolicy(CreateResiliencyPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResiliencyPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResiliencyPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a resiliency policy for an application. /// /// Container for the necessary parameters to execute the CreateResiliencyPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateResiliencyPolicy service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for CreateResiliencyPolicy Operation public virtual Task CreateResiliencyPolicyAsync(CreateResiliencyPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResiliencyPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResiliencyPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteApp /// /// Deletes an Resilience Hub application. This is a destructive action that can't be /// undone. /// /// Container for the necessary parameters to execute the DeleteApp service method. /// /// The response from the DeleteApp service method, as returned by ResilienceHub. /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteApp Operation public virtual DeleteAppResponse DeleteApp(DeleteAppRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an Resilience Hub application. This is a destructive action that can't be /// undone. /// /// Container for the necessary parameters to execute the DeleteApp service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteApp service method, as returned by ResilienceHub. /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteApp Operation public virtual Task DeleteAppAsync(DeleteAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAppAssessment /// /// Deletes an Resilience Hub application assessment. This is a destructive action that /// can't be undone. /// /// Container for the necessary parameters to execute the DeleteAppAssessment service method. /// /// The response from the DeleteAppAssessment service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteAppAssessment Operation public virtual DeleteAppAssessmentResponse DeleteAppAssessment(DeleteAppAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an Resilience Hub application assessment. This is a destructive action that /// can't be undone. /// /// Container for the necessary parameters to execute the DeleteAppAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAppAssessment service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteAppAssessment Operation public virtual Task DeleteAppAssessmentAsync(DeleteAppAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAppInputSource /// /// Deletes the input source and all of its imported resources from the Resilience Hub /// application. /// /// Container for the necessary parameters to execute the DeleteAppInputSource service method. /// /// The response from the DeleteAppInputSource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteAppInputSource Operation public virtual DeleteAppInputSourceResponse DeleteAppInputSource(DeleteAppInputSourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInputSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInputSourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the input source and all of its imported resources from the Resilience Hub /// application. /// /// Container for the necessary parameters to execute the DeleteAppInputSource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAppInputSource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteAppInputSource Operation public virtual Task DeleteAppInputSourceAsync(DeleteAppInputSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInputSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInputSourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAppVersionAppComponent /// /// Deletes an Application Component from the Resilience Hub application. /// ///
  • /// /// This API updates the Resilience Hub application draft version. To use this Application /// Component for running assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// ///
  • /// /// You will not be able to delete an Application Component if it has resources associated /// with it. /// ///
///
/// Container for the necessary parameters to execute the DeleteAppVersionAppComponent service method. /// /// The response from the DeleteAppVersionAppComponent service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteAppVersionAppComponent Operation public virtual DeleteAppVersionAppComponentResponse DeleteAppVersionAppComponent(DeleteAppVersionAppComponentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppVersionAppComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppVersionAppComponentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an Application Component from the Resilience Hub application. /// ///
  • /// /// This API updates the Resilience Hub application draft version. To use this Application /// Component for running assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// ///
  • /// /// You will not be able to delete an Application Component if it has resources associated /// with it. /// ///
///
/// Container for the necessary parameters to execute the DeleteAppVersionAppComponent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAppVersionAppComponent service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteAppVersionAppComponent Operation public virtual Task DeleteAppVersionAppComponentAsync(DeleteAppVersionAppComponentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppVersionAppComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppVersionAppComponentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAppVersionResource /// /// Deletes a resource from the Resilience Hub application. /// ///
  • /// /// You can only delete a manually added resource. To exclude non-manually added resources, /// use the UpdateAppVersionResource API. /// ///
  • /// /// This action has no effect outside Resilience Hub. /// ///
  • /// /// This API updates the Resilience Hub application draft version. To use this resource /// for running resiliency assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// ///
///
/// Container for the necessary parameters to execute the DeleteAppVersionResource service method. /// /// The response from the DeleteAppVersionResource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteAppVersionResource Operation public virtual DeleteAppVersionResourceResponse DeleteAppVersionResource(DeleteAppVersionResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppVersionResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppVersionResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a resource from the Resilience Hub application. /// ///
  • /// /// You can only delete a manually added resource. To exclude non-manually added resources, /// use the UpdateAppVersionResource API. /// ///
  • /// /// This action has no effect outside Resilience Hub. /// ///
  • /// /// This API updates the Resilience Hub application draft version. To use this resource /// for running resiliency assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// ///
///
/// Container for the necessary parameters to execute the DeleteAppVersionResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAppVersionResource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteAppVersionResource Operation public virtual Task DeleteAppVersionResourceAsync(DeleteAppVersionResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppVersionResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppVersionResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRecommendationTemplate /// /// Deletes a recommendation template. This is a destructive action that can't be undone. /// /// Container for the necessary parameters to execute the DeleteRecommendationTemplate service method. /// /// The response from the DeleteRecommendationTemplate service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteRecommendationTemplate Operation public virtual DeleteRecommendationTemplateResponse DeleteRecommendationTemplate(DeleteRecommendationTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRecommendationTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRecommendationTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a recommendation template. This is a destructive action that can't be undone. /// /// Container for the necessary parameters to execute the DeleteRecommendationTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRecommendationTemplate service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteRecommendationTemplate Operation public virtual Task DeleteRecommendationTemplateAsync(DeleteRecommendationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRecommendationTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRecommendationTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteResiliencyPolicy /// /// Deletes a resiliency policy. This is a destructive action that can't be undone. /// /// Container for the necessary parameters to execute the DeleteResiliencyPolicy service method. /// /// The response from the DeleteResiliencyPolicy service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteResiliencyPolicy Operation public virtual DeleteResiliencyPolicyResponse DeleteResiliencyPolicy(DeleteResiliencyPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResiliencyPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResiliencyPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a resiliency policy. This is a destructive action that can't be undone. /// /// Container for the necessary parameters to execute the DeleteResiliencyPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteResiliencyPolicy service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DeleteResiliencyPolicy Operation public virtual Task DeleteResiliencyPolicyAsync(DeleteResiliencyPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResiliencyPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResiliencyPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeApp /// /// Describes an Resilience Hub application. /// /// Container for the necessary parameters to execute the DescribeApp service method. /// /// The response from the DescribeApp service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeApp Operation public virtual DescribeAppResponse DescribeApp(DescribeAppRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes an Resilience Hub application. /// /// Container for the necessary parameters to execute the DescribeApp service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeApp service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeApp Operation public virtual Task DescribeAppAsync(DescribeAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAppAssessment /// /// Describes an assessment for an Resilience Hub application. /// /// Container for the necessary parameters to execute the DescribeAppAssessment service method. /// /// The response from the DescribeAppAssessment service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeAppAssessment Operation public virtual DescribeAppAssessmentResponse DescribeAppAssessment(DescribeAppAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes an assessment for an Resilience Hub application. /// /// Container for the necessary parameters to execute the DescribeAppAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAppAssessment service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeAppAssessment Operation public virtual Task DescribeAppAssessmentAsync(DescribeAppAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAppVersion /// /// Describes the Resilience Hub application version. /// /// Container for the necessary parameters to execute the DescribeAppVersion service method. /// /// The response from the DescribeAppVersion service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeAppVersion Operation public virtual DescribeAppVersionResponse DescribeAppVersion(DescribeAppVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the Resilience Hub application version. /// /// Container for the necessary parameters to execute the DescribeAppVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAppVersion service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeAppVersion Operation public virtual Task DescribeAppVersionAsync(DescribeAppVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAppVersionAppComponent /// /// Describes an Application Component in the Resilience Hub application. /// /// Container for the necessary parameters to execute the DescribeAppVersionAppComponent service method. /// /// The response from the DescribeAppVersionAppComponent service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeAppVersionAppComponent Operation public virtual DescribeAppVersionAppComponentResponse DescribeAppVersionAppComponent(DescribeAppVersionAppComponentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppVersionAppComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppVersionAppComponentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes an Application Component in the Resilience Hub application. /// /// Container for the necessary parameters to execute the DescribeAppVersionAppComponent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAppVersionAppComponent service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeAppVersionAppComponent Operation public virtual Task DescribeAppVersionAppComponentAsync(DescribeAppVersionAppComponentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppVersionAppComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppVersionAppComponentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAppVersionResource /// /// Describes a resource of the Resilience Hub application. /// /// /// /// This API accepts only one of the following parameters to descibe the resource: /// ///
  • /// /// resourceName /// ///
  • /// /// logicalResourceId /// ///
  • /// /// physicalResourceId (Along with physicalResourceId, you /// can also provide awsAccountId, and awsRegion) /// ///
///
/// Container for the necessary parameters to execute the DescribeAppVersionResource service method. /// /// The response from the DescribeAppVersionResource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeAppVersionResource Operation public virtual DescribeAppVersionResourceResponse DescribeAppVersionResource(DescribeAppVersionResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppVersionResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppVersionResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes a resource of the Resilience Hub application. /// /// /// /// This API accepts only one of the following parameters to descibe the resource: /// ///
  • /// /// resourceName /// ///
  • /// /// logicalResourceId /// ///
  • /// /// physicalResourceId (Along with physicalResourceId, you /// can also provide awsAccountId, and awsRegion) /// ///
///
/// Container for the necessary parameters to execute the DescribeAppVersionResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAppVersionResource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeAppVersionResource Operation public virtual Task DescribeAppVersionResourceAsync(DescribeAppVersionResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppVersionResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppVersionResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAppVersionResourcesResolutionStatus /// /// Returns the resolution status for the specified resolution identifier for an application /// version. If resolutionId is not specified, the current resolution status /// is returned. /// /// Container for the necessary parameters to execute the DescribeAppVersionResourcesResolutionStatus service method. /// /// The response from the DescribeAppVersionResourcesResolutionStatus service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeAppVersionResourcesResolutionStatus Operation public virtual DescribeAppVersionResourcesResolutionStatusResponse DescribeAppVersionResourcesResolutionStatus(DescribeAppVersionResourcesResolutionStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppVersionResourcesResolutionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppVersionResourcesResolutionStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the resolution status for the specified resolution identifier for an application /// version. If resolutionId is not specified, the current resolution status /// is returned. /// /// Container for the necessary parameters to execute the DescribeAppVersionResourcesResolutionStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAppVersionResourcesResolutionStatus service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeAppVersionResourcesResolutionStatus Operation public virtual Task DescribeAppVersionResourcesResolutionStatusAsync(DescribeAppVersionResourcesResolutionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppVersionResourcesResolutionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppVersionResourcesResolutionStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAppVersionTemplate /// /// Describes details about an Resilience Hub application. /// /// Container for the necessary parameters to execute the DescribeAppVersionTemplate service method. /// /// The response from the DescribeAppVersionTemplate service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeAppVersionTemplate Operation public virtual DescribeAppVersionTemplateResponse DescribeAppVersionTemplate(DescribeAppVersionTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppVersionTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppVersionTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes details about an Resilience Hub application. /// /// Container for the necessary parameters to execute the DescribeAppVersionTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAppVersionTemplate service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeAppVersionTemplate Operation public virtual Task DescribeAppVersionTemplateAsync(DescribeAppVersionTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppVersionTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppVersionTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeDraftAppVersionResourcesImportStatus /// /// Describes the status of importing resources to an application version. /// /// /// /// If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException, /// you must call importResourcesToDraftAppVersion after creating the application /// and before calling describeDraftAppVersionResourcesImportStatus to obtain /// the status. /// /// /// /// Container for the necessary parameters to execute the DescribeDraftAppVersionResourcesImportStatus service method. /// /// The response from the DescribeDraftAppVersionResourcesImportStatus service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeDraftAppVersionResourcesImportStatus Operation public virtual DescribeDraftAppVersionResourcesImportStatusResponse DescribeDraftAppVersionResourcesImportStatus(DescribeDraftAppVersionResourcesImportStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDraftAppVersionResourcesImportStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDraftAppVersionResourcesImportStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the status of importing resources to an application version. /// /// /// /// If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException, /// you must call importResourcesToDraftAppVersion after creating the application /// and before calling describeDraftAppVersionResourcesImportStatus to obtain /// the status. /// /// /// /// Container for the necessary parameters to execute the DescribeDraftAppVersionResourcesImportStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeDraftAppVersionResourcesImportStatus service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeDraftAppVersionResourcesImportStatus Operation public virtual Task DescribeDraftAppVersionResourcesImportStatusAsync(DescribeDraftAppVersionResourcesImportStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDraftAppVersionResourcesImportStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDraftAppVersionResourcesImportStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeResiliencyPolicy /// /// Describes a specified resiliency policy for an Resilience Hub application. The returned /// policy object includes creation time, data location constraints, the Amazon Resource /// Name (ARN) for the policy, tags, tier, and more. /// /// Container for the necessary parameters to execute the DescribeResiliencyPolicy service method. /// /// The response from the DescribeResiliencyPolicy service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeResiliencyPolicy Operation public virtual DescribeResiliencyPolicyResponse DescribeResiliencyPolicy(DescribeResiliencyPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeResiliencyPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeResiliencyPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes a specified resiliency policy for an Resilience Hub application. The returned /// policy object includes creation time, data location constraints, the Amazon Resource /// Name (ARN) for the policy, tags, tier, and more. /// /// Container for the necessary parameters to execute the DescribeResiliencyPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeResiliencyPolicy service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for DescribeResiliencyPolicy Operation public virtual Task DescribeResiliencyPolicyAsync(DescribeResiliencyPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeResiliencyPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeResiliencyPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportResourcesToDraftAppVersion /// /// Imports resources to Resilience Hub application draft version from different input /// sources. For more information about the input sources supported by Resilience Hub, /// see Discover /// the structure and describe your Resilience Hub application. /// /// Container for the necessary parameters to execute the ImportResourcesToDraftAppVersion service method. /// /// The response from the ImportResourcesToDraftAppVersion service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ImportResourcesToDraftAppVersion Operation public virtual ImportResourcesToDraftAppVersionResponse ImportResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportResourcesToDraftAppVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportResourcesToDraftAppVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Imports resources to Resilience Hub application draft version from different input /// sources. For more information about the input sources supported by Resilience Hub, /// see Discover /// the structure and describe your Resilience Hub application. /// /// Container for the necessary parameters to execute the ImportResourcesToDraftAppVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportResourcesToDraftAppVersion service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ImportResourcesToDraftAppVersion Operation public virtual Task ImportResourcesToDraftAppVersionAsync(ImportResourcesToDraftAppVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportResourcesToDraftAppVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportResourcesToDraftAppVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAlarmRecommendations /// /// Lists the alarm recommendations for an Resilience Hub application. /// /// Container for the necessary parameters to execute the ListAlarmRecommendations service method. /// /// The response from the ListAlarmRecommendations service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAlarmRecommendations Operation public virtual ListAlarmRecommendationsResponse ListAlarmRecommendations(ListAlarmRecommendationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAlarmRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAlarmRecommendationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the alarm recommendations for an Resilience Hub application. /// /// Container for the necessary parameters to execute the ListAlarmRecommendations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAlarmRecommendations service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAlarmRecommendations Operation public virtual Task ListAlarmRecommendationsAsync(ListAlarmRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAlarmRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAlarmRecommendationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAppAssessments /// /// Lists the assessments for an Resilience Hub application. You can use request parameters /// to refine the results for the response object. /// /// Container for the necessary parameters to execute the ListAppAssessments service method. /// /// The response from the ListAppAssessments service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppAssessments Operation public virtual ListAppAssessmentsResponse ListAppAssessments(ListAppAssessmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppAssessmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppAssessmentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the assessments for an Resilience Hub application. You can use request parameters /// to refine the results for the response object. /// /// Container for the necessary parameters to execute the ListAppAssessments service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppAssessments service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppAssessments Operation public virtual Task ListAppAssessmentsAsync(ListAppAssessmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppAssessmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppAssessmentsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAppComponentCompliances /// /// Lists the compliances for an Resilience Hub Application Component. /// /// Container for the necessary parameters to execute the ListAppComponentCompliances service method. /// /// The response from the ListAppComponentCompliances service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppComponentCompliances Operation public virtual ListAppComponentCompliancesResponse ListAppComponentCompliances(ListAppComponentCompliancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppComponentCompliancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppComponentCompliancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the compliances for an Resilience Hub Application Component. /// /// Container for the necessary parameters to execute the ListAppComponentCompliances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppComponentCompliances service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppComponentCompliances Operation public virtual Task ListAppComponentCompliancesAsync(ListAppComponentCompliancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppComponentCompliancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppComponentCompliancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAppComponentRecommendations /// /// Lists the recommendations for an Resilience Hub Application Component. /// /// Container for the necessary parameters to execute the ListAppComponentRecommendations service method. /// /// The response from the ListAppComponentRecommendations service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppComponentRecommendations Operation public virtual ListAppComponentRecommendationsResponse ListAppComponentRecommendations(ListAppComponentRecommendationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppComponentRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppComponentRecommendationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the recommendations for an Resilience Hub Application Component. /// /// Container for the necessary parameters to execute the ListAppComponentRecommendations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppComponentRecommendations service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppComponentRecommendations Operation public virtual Task ListAppComponentRecommendationsAsync(ListAppComponentRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppComponentRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppComponentRecommendationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAppInputSources /// /// Lists all the input sources of the Resilience Hub application. For more information /// about the input sources supported by Resilience Hub, see Discover /// the structure and describe your Resilience Hub application. /// /// Container for the necessary parameters to execute the ListAppInputSources service method. /// /// The response from the ListAppInputSources service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppInputSources Operation public virtual ListAppInputSourcesResponse ListAppInputSources(ListAppInputSourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInputSourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInputSourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all the input sources of the Resilience Hub application. For more information /// about the input sources supported by Resilience Hub, see Discover /// the structure and describe your Resilience Hub application. /// /// Container for the necessary parameters to execute the ListAppInputSources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppInputSources service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppInputSources Operation public virtual Task ListAppInputSourcesAsync(ListAppInputSourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInputSourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInputSourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListApps /// /// Lists your Resilience Hub applications. /// /// /// /// You can filter applications using only one filter at a time or without using any filter. /// If you try to filter applications using multiple filters, you will get the following /// error: /// /// /// /// An error occurred (ValidationException) when calling the ListApps operation: /// Only one filter is supported for this operation. /// /// /// /// Container for the necessary parameters to execute the ListApps service method. /// /// The response from the ListApps service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListApps Operation public virtual ListAppsResponse ListApps(ListAppsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists your Resilience Hub applications. /// /// /// /// You can filter applications using only one filter at a time or without using any filter. /// If you try to filter applications using multiple filters, you will get the following /// error: /// /// /// /// An error occurred (ValidationException) when calling the ListApps operation: /// Only one filter is supported for this operation. /// /// /// /// Container for the necessary parameters to execute the ListApps service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListApps service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListApps Operation public virtual Task ListAppsAsync(ListAppsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAppVersionAppComponents /// /// Lists all the Application Components in the Resilience Hub application. /// /// Container for the necessary parameters to execute the ListAppVersionAppComponents service method. /// /// The response from the ListAppVersionAppComponents service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppVersionAppComponents Operation public virtual ListAppVersionAppComponentsResponse ListAppVersionAppComponents(ListAppVersionAppComponentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppVersionAppComponentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppVersionAppComponentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all the Application Components in the Resilience Hub application. /// /// Container for the necessary parameters to execute the ListAppVersionAppComponents service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppVersionAppComponents service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppVersionAppComponents Operation public virtual Task ListAppVersionAppComponentsAsync(ListAppVersionAppComponentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppVersionAppComponentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppVersionAppComponentsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAppVersionResourceMappings /// /// Lists how the resources in an application version are mapped/sourced from. Mappings /// can be physical resource identifiers, CloudFormation stacks, resource-groups, or an /// application registry app. /// /// Container for the necessary parameters to execute the ListAppVersionResourceMappings service method. /// /// The response from the ListAppVersionResourceMappings service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppVersionResourceMappings Operation public virtual ListAppVersionResourceMappingsResponse ListAppVersionResourceMappings(ListAppVersionResourceMappingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppVersionResourceMappingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppVersionResourceMappingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists how the resources in an application version are mapped/sourced from. Mappings /// can be physical resource identifiers, CloudFormation stacks, resource-groups, or an /// application registry app. /// /// Container for the necessary parameters to execute the ListAppVersionResourceMappings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppVersionResourceMappings service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppVersionResourceMappings Operation public virtual Task ListAppVersionResourceMappingsAsync(ListAppVersionResourceMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppVersionResourceMappingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppVersionResourceMappingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAppVersionResources /// /// Lists all the resources in an Resilience Hub application. /// /// Container for the necessary parameters to execute the ListAppVersionResources service method. /// /// The response from the ListAppVersionResources service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppVersionResources Operation public virtual ListAppVersionResourcesResponse ListAppVersionResources(ListAppVersionResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppVersionResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppVersionResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all the resources in an Resilience Hub application. /// /// Container for the necessary parameters to execute the ListAppVersionResources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppVersionResources service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppVersionResources Operation public virtual Task ListAppVersionResourcesAsync(ListAppVersionResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppVersionResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppVersionResourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAppVersions /// /// Lists the different versions for the Resilience Hub applications. /// /// Container for the necessary parameters to execute the ListAppVersions service method. /// /// The response from the ListAppVersions service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppVersions Operation public virtual ListAppVersionsResponse ListAppVersions(ListAppVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the different versions for the Resilience Hub applications. /// /// Container for the necessary parameters to execute the ListAppVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppVersions service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListAppVersions Operation public virtual Task ListAppVersionsAsync(ListAppVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRecommendationTemplates /// /// Lists the recommendation templates for the Resilience Hub applications. /// /// Container for the necessary parameters to execute the ListRecommendationTemplates service method. /// /// The response from the ListRecommendationTemplates service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListRecommendationTemplates Operation public virtual ListRecommendationTemplatesResponse ListRecommendationTemplates(ListRecommendationTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecommendationTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecommendationTemplatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the recommendation templates for the Resilience Hub applications. /// /// Container for the necessary parameters to execute the ListRecommendationTemplates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRecommendationTemplates service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListRecommendationTemplates Operation public virtual Task ListRecommendationTemplatesAsync(ListRecommendationTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecommendationTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecommendationTemplatesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListResiliencyPolicies /// /// Lists the resiliency policies for the Resilience Hub applications. /// /// Container for the necessary parameters to execute the ListResiliencyPolicies service method. /// /// The response from the ListResiliencyPolicies service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListResiliencyPolicies Operation public virtual ListResiliencyPoliciesResponse ListResiliencyPolicies(ListResiliencyPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListResiliencyPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResiliencyPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the resiliency policies for the Resilience Hub applications. /// /// Container for the necessary parameters to execute the ListResiliencyPolicies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListResiliencyPolicies service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListResiliencyPolicies Operation public virtual Task ListResiliencyPoliciesAsync(ListResiliencyPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListResiliencyPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResiliencyPoliciesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListSopRecommendations /// /// Lists the standard operating procedure (SOP) recommendations for the Resilience Hub /// applications. /// /// Container for the necessary parameters to execute the ListSopRecommendations service method. /// /// The response from the ListSopRecommendations service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListSopRecommendations Operation public virtual ListSopRecommendationsResponse ListSopRecommendations(ListSopRecommendationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSopRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSopRecommendationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the standard operating procedure (SOP) recommendations for the Resilience Hub /// applications. /// /// Container for the necessary parameters to execute the ListSopRecommendations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSopRecommendations service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListSopRecommendations Operation public virtual Task ListSopRecommendationsAsync(ListSopRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSopRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSopRecommendationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListSuggestedResiliencyPolicies /// /// Lists the suggested resiliency policies for the Resilience Hub applications. /// /// Container for the necessary parameters to execute the ListSuggestedResiliencyPolicies service method. /// /// The response from the ListSuggestedResiliencyPolicies service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListSuggestedResiliencyPolicies Operation public virtual ListSuggestedResiliencyPoliciesResponse ListSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSuggestedResiliencyPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSuggestedResiliencyPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the suggested resiliency policies for the Resilience Hub applications. /// /// Container for the necessary parameters to execute the ListSuggestedResiliencyPolicies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSuggestedResiliencyPolicies service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListSuggestedResiliencyPolicies Operation public virtual Task ListSuggestedResiliencyPoliciesAsync(ListSuggestedResiliencyPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSuggestedResiliencyPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSuggestedResiliencyPoliciesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource /// /// Lists the tags for your resources in your Resilience Hub applications. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the tags for your resources in your Resilience Hub applications. /// /// 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 ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// 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 ListTestRecommendations /// /// Lists the test recommendations for the Resilience Hub application. /// /// Container for the necessary parameters to execute the ListTestRecommendations service method. /// /// The response from the ListTestRecommendations service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListTestRecommendations Operation public virtual ListTestRecommendationsResponse ListTestRecommendations(ListTestRecommendationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTestRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTestRecommendationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the test recommendations for the Resilience Hub application. /// /// Container for the necessary parameters to execute the ListTestRecommendations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTestRecommendations service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListTestRecommendations Operation public virtual Task ListTestRecommendationsAsync(ListTestRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTestRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTestRecommendationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListUnsupportedAppVersionResources /// /// Lists the resources that are not currently supported in Resilience Hub. An unsupported /// resource is a resource that exists in the object that was used to create an app, but /// is not supported by Resilience Hub. /// /// Container for the necessary parameters to execute the ListUnsupportedAppVersionResources service method. /// /// The response from the ListUnsupportedAppVersionResources service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListUnsupportedAppVersionResources Operation public virtual ListUnsupportedAppVersionResourcesResponse ListUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListUnsupportedAppVersionResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListUnsupportedAppVersionResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the resources that are not currently supported in Resilience Hub. An unsupported /// resource is a resource that exists in the object that was used to create an app, but /// is not supported by Resilience Hub. /// /// Container for the necessary parameters to execute the ListUnsupportedAppVersionResources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListUnsupportedAppVersionResources service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ListUnsupportedAppVersionResources Operation public virtual Task ListUnsupportedAppVersionResourcesAsync(ListUnsupportedAppVersionResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListUnsupportedAppVersionResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListUnsupportedAppVersionResourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PublishAppVersion /// /// Publishes a new version of a specific Resilience Hub application. /// /// Container for the necessary parameters to execute the PublishAppVersion service method. /// /// The response from the PublishAppVersion service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for PublishAppVersion Operation public virtual PublishAppVersionResponse PublishAppVersion(PublishAppVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PublishAppVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = PublishAppVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Publishes a new version of a specific Resilience Hub application. /// /// Container for the necessary parameters to execute the PublishAppVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PublishAppVersion service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for PublishAppVersion Operation public virtual Task PublishAppVersionAsync(PublishAppVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PublishAppVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = PublishAppVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutDraftAppVersionTemplate /// /// Adds or updates the app template for an Resilience Hub application draft version. /// /// Container for the necessary parameters to execute the PutDraftAppVersionTemplate service method. /// /// The response from the PutDraftAppVersionTemplate service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for PutDraftAppVersionTemplate Operation public virtual PutDraftAppVersionTemplateResponse PutDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutDraftAppVersionTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = PutDraftAppVersionTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds or updates the app template for an Resilience Hub application draft version. /// /// Container for the necessary parameters to execute the PutDraftAppVersionTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutDraftAppVersionTemplate service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for PutDraftAppVersionTemplate Operation public virtual Task PutDraftAppVersionTemplateAsync(PutDraftAppVersionTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutDraftAppVersionTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = PutDraftAppVersionTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RemoveDraftAppVersionResourceMappings /// /// Removes resource mappings from a draft application version. /// /// Container for the necessary parameters to execute the RemoveDraftAppVersionResourceMappings service method. /// /// The response from the RemoveDraftAppVersionResourceMappings service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for RemoveDraftAppVersionResourceMappings Operation public virtual RemoveDraftAppVersionResourceMappingsResponse RemoveDraftAppVersionResourceMappings(RemoveDraftAppVersionResourceMappingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveDraftAppVersionResourceMappingsRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveDraftAppVersionResourceMappingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes resource mappings from a draft application version. /// /// Container for the necessary parameters to execute the RemoveDraftAppVersionResourceMappings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RemoveDraftAppVersionResourceMappings service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for RemoveDraftAppVersionResourceMappings Operation public virtual Task RemoveDraftAppVersionResourceMappingsAsync(RemoveDraftAppVersionResourceMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveDraftAppVersionResourceMappingsRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveDraftAppVersionResourceMappingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ResolveAppVersionResources /// /// Resolves the resources for an application version. /// /// Container for the necessary parameters to execute the ResolveAppVersionResources service method. /// /// The response from the ResolveAppVersionResources service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ResolveAppVersionResources Operation public virtual ResolveAppVersionResourcesResponse ResolveAppVersionResources(ResolveAppVersionResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResolveAppVersionResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ResolveAppVersionResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Resolves the resources for an application version. /// /// Container for the necessary parameters to execute the ResolveAppVersionResources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResolveAppVersionResources service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for ResolveAppVersionResources Operation public virtual Task ResolveAppVersionResourcesAsync(ResolveAppVersionResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ResolveAppVersionResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ResolveAppVersionResourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartAppAssessment /// /// Creates a new application assessment for an application. /// /// Container for the necessary parameters to execute the StartAppAssessment service method. /// /// The response from the StartAppAssessment service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for StartAppAssessment Operation public virtual StartAppAssessmentResponse StartAppAssessment(StartAppAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartAppAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartAppAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new application assessment for an application. /// /// Container for the necessary parameters to execute the StartAppAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartAppAssessment service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for StartAppAssessment Operation public virtual Task StartAppAssessmentAsync(StartAppAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartAppAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartAppAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource /// /// Applies one or more tags to a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Applies one or more tags to a resource. /// /// 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 ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// 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 /// /// Removes one or more tags from a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes one or more tags from a resource. /// /// 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 ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// 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 UpdateApp /// /// Updates an application. /// /// Container for the necessary parameters to execute the UpdateApp service method. /// /// The response from the UpdateApp service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for UpdateApp Operation public virtual UpdateAppResponse UpdateApp(UpdateAppRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an application. /// /// Container for the necessary parameters to execute the UpdateApp service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateApp service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for UpdateApp Operation public virtual Task UpdateAppAsync(UpdateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAppVersion /// /// Updates the Resilience Hub application version. /// /// /// /// This API updates the Resilience Hub application draft version. To use this information /// for running resiliency assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// /// /// /// Container for the necessary parameters to execute the UpdateAppVersion service method. /// /// The response from the UpdateAppVersion service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for UpdateAppVersion Operation public virtual UpdateAppVersionResponse UpdateAppVersion(UpdateAppVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the Resilience Hub application version. /// /// /// /// This API updates the Resilience Hub application draft version. To use this information /// for running resiliency assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// /// /// /// Container for the necessary parameters to execute the UpdateAppVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAppVersion service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for UpdateAppVersion Operation public virtual Task UpdateAppVersionAsync(UpdateAppVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAppVersionAppComponent /// /// Updates an existing Application Component in the Resilience Hub application. /// /// /// /// This API updates the Resilience Hub application draft version. To use this Application /// Component for running assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// /// /// /// Container for the necessary parameters to execute the UpdateAppVersionAppComponent service method. /// /// The response from the UpdateAppVersionAppComponent service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for UpdateAppVersionAppComponent Operation public virtual UpdateAppVersionAppComponentResponse UpdateAppVersionAppComponent(UpdateAppVersionAppComponentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppVersionAppComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppVersionAppComponentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an existing Application Component in the Resilience Hub application. /// /// /// /// This API updates the Resilience Hub application draft version. To use this Application /// Component for running assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// /// /// /// Container for the necessary parameters to execute the UpdateAppVersionAppComponent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAppVersionAppComponent service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for UpdateAppVersionAppComponent Operation public virtual Task UpdateAppVersionAppComponentAsync(UpdateAppVersionAppComponentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppVersionAppComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppVersionAppComponentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAppVersionResource /// /// Updates the resource details in the Resilience Hub application. /// ///
  • /// /// This action has no effect outside Resilience Hub. /// ///
  • /// /// This API updates the Resilience Hub application draft version. To use this resource /// for running resiliency assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// ///
  • /// /// To update application version with new physicalResourceID, you must call /// ResolveAppVersionResources API. /// ///
///
/// Container for the necessary parameters to execute the UpdateAppVersionResource service method. /// /// The response from the UpdateAppVersionResource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for UpdateAppVersionResource Operation public virtual UpdateAppVersionResourceResponse UpdateAppVersionResource(UpdateAppVersionResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppVersionResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppVersionResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the resource details in the Resilience Hub application. /// ///
  • /// /// This action has no effect outside Resilience Hub. /// ///
  • /// /// This API updates the Resilience Hub application draft version. To use this resource /// for running resiliency assessments, you must publish the Resilience Hub application /// using the PublishAppVersion API. /// ///
  • /// /// To update application version with new physicalResourceID, you must call /// ResolveAppVersionResources API. /// ///
///
/// Container for the necessary parameters to execute the UpdateAppVersionResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAppVersionResource service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded your service quota. To perform the requested /// action, remove some of the relevant resources, or use Service Quotas to request a /// service quota increase. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for UpdateAppVersionResource Operation public virtual Task UpdateAppVersionResourceAsync(UpdateAppVersionResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppVersionResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppVersionResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateResiliencyPolicy /// /// Updates a resiliency policy. /// /// Container for the necessary parameters to execute the UpdateResiliencyPolicy service method. /// /// The response from the UpdateResiliencyPolicy service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for UpdateResiliencyPolicy Operation public virtual UpdateResiliencyPolicyResponse UpdateResiliencyPolicy(UpdateResiliencyPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResiliencyPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResiliencyPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a resiliency policy. /// /// Container for the necessary parameters to execute the UpdateResiliencyPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateResiliencyPolicy service method, as returned by ResilienceHub. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. /// /// /// This exception occurs when a conflict with a previous successful write is detected. /// This generally occurs when the previous write did not have time to propagate to the /// host serving the current request. A retry (with appropriate backoff logic) is the /// recommended response to this exception. /// /// /// This exception occurs when there is an internal failure in the Resilience Hub service. /// /// /// This exception occurs when the specified resource could not be found. /// /// /// This exception occurs when you have exceeded the limit on the number of requests per /// second. /// /// /// This exception occurs when a request is not valid. /// /// REST API Reference for UpdateResiliencyPolicy Operation public virtual Task UpdateResiliencyPolicyAsync(UpdateResiliencyPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResiliencyPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResiliencyPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }