/*
* 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();
#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
#if AWS_ASYNC_ENUMERABLES_API
private IResilienceHubPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IResilienceHubPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new ResilienceHubPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
internal 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
}
}