/*
* 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.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.ResilienceHub.Model;
namespace Amazon.ResilienceHub
{
///
/// Interface 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 interface IAmazonResilienceHub : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IResilienceHubPaginatorFactory Paginators { get; }
#endif
#region AddDraftAppVersionResourceMappings
///
/// Adds the resource mapping for the draft application version. You can also update an
/// existing resource mapping to a new physical resource.
///
/// Container for the necessary parameters to execute the AddDraftAppVersionResourceMappings service method.
///
/// 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
Task AddDraftAppVersionResourceMappingsAsync(AddDraftAppVersionResourceMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateApp
///
/// Creates an Resilience Hub application. An Resilience Hub application is a collection
/// of Amazon Web Services resources structured to prevent and recover Amazon Web Services
/// application disruptions. To describe an Resilience Hub application, you provide an
/// application name, resources from one or more CloudFormation stacks, Resource Groups,
/// Terraform state files, AppRegistry applications, and an appropriate resiliency policy.
/// For more information about the number of resources supported per application, see
/// Service
/// Quotas.
///
///
///
/// After you create an Resilience Hub application, you publish it so that you can run
/// a resiliency assessment on it. You can then use recommendations from the assessment
/// to improve resiliency by running another assessment, comparing results, and then iterating
/// the process until you achieve your goals for recovery time objective (RTO) and recovery
/// point objective (RPO).
///
///
/// Container for the necessary parameters to execute the CreateApp service method.
///
/// 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
Task CreateAppAsync(CreateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAppVersionAppComponent
///
/// Creates a new Application Component in the Resilience Hub application.
///
///
///
/// This API updates the Resilience Hub application draft version. To use this Application
/// Component for running assessments, you must publish the Resilience Hub application
/// using the PublishAppVersion
API.
///
///
///
/// Container for the necessary parameters to execute the CreateAppVersionAppComponent service method.
///
/// 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
Task CreateAppVersionAppComponentAsync(CreateAppVersionAppComponentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAppVersionResource
///
/// Adds a resource to the Resilience Hub application and assigns it to the specified
/// Application Components. If you specify a new Application Component, Resilience Hub
/// will automatically create the Application Component.
///
/// -
///
/// This action has no effect outside Resilience Hub.
///
///
-
///
/// This API updates the Resilience Hub application draft version. To use this resource
/// for running resiliency assessments, you must publish the Resilience Hub application
/// using the
PublishAppVersion
API.
///
/// -
///
/// To update application version with new
physicalResourceID
, you must call
/// ResolveAppVersionResources
API.
///
///
///
/// Container for the necessary parameters to execute the CreateAppVersionResource service method.
///
/// 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
Task CreateAppVersionResourceAsync(CreateAppVersionResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRecommendationTemplate
///
/// Creates a new recommendation template for the Resilience Hub application.
///
/// Container for the necessary parameters to execute the CreateRecommendationTemplate service method.
///
/// 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
Task CreateRecommendationTemplateAsync(CreateRecommendationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateResiliencyPolicy
///
/// 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
Task CreateResiliencyPolicyAsync(CreateResiliencyPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApp
///
/// Deletes an Resilience Hub application. This is a destructive action that can't be
/// undone.
///
/// Container for the necessary parameters to execute the DeleteApp service method.
///
/// 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
Task DeleteAppAsync(DeleteAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAppAssessment
///
/// Deletes an Resilience Hub application assessment. This is a destructive action that
/// can't be undone.
///
/// Container for the necessary parameters to execute the DeleteAppAssessment service method.
///
/// 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
Task DeleteAppAssessmentAsync(DeleteAppAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAppInputSource
///
/// Deletes the input source and all of its imported resources from the Resilience Hub
/// application.
///
/// Container for the necessary parameters to execute the DeleteAppInputSource service method.
///
/// 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
Task DeleteAppInputSourceAsync(DeleteAppInputSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAppVersionAppComponent
///
/// Deletes an Application Component from the Resilience Hub application.
///
/// -
///
/// This API updates the Resilience Hub application draft version. To use this Application
/// Component for running assessments, you must publish the Resilience Hub application
/// using the
PublishAppVersion
API.
///
/// -
///
/// You will not be able to delete an Application Component if it has resources associated
/// with it.
///
///
///
/// Container for the necessary parameters to execute the DeleteAppVersionAppComponent service method.
///
/// 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
Task DeleteAppVersionAppComponentAsync(DeleteAppVersionAppComponentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAppVersionResource
///
/// Deletes a resource from the Resilience Hub application.
///
/// -
///
/// You can only delete a manually added resource. To exclude non-manually added resources,
/// use the
UpdateAppVersionResource
API.
///
/// -
///
/// This action has no effect outside Resilience Hub.
///
///
-
///
/// This API updates the Resilience Hub application draft version. To use this resource
/// for running resiliency assessments, you must publish the Resilience Hub application
/// using the
PublishAppVersion
API.
///
///
///
/// Container for the necessary parameters to execute the DeleteAppVersionResource service method.
///
/// 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
Task DeleteAppVersionResourceAsync(DeleteAppVersionResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRecommendationTemplate
///
/// Deletes a recommendation template. This is a destructive action that can't be undone.
///
/// Container for the necessary parameters to execute the DeleteRecommendationTemplate service method.
///
/// 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
Task DeleteRecommendationTemplateAsync(DeleteRecommendationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteResiliencyPolicy
///
/// Deletes a resiliency policy. This is a destructive action that can't be undone.
///
/// Container for the necessary parameters to execute the DeleteResiliencyPolicy service method.
///
/// 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
Task DeleteResiliencyPolicyAsync(DeleteResiliencyPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeApp
///
/// 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
Task DescribeAppAsync(DescribeAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeAppAssessment
///
/// 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
Task DescribeAppAssessmentAsync(DescribeAppAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeAppVersion
///
/// 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
Task DescribeAppVersionAsync(DescribeAppVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeAppVersionAppComponent
///
/// 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
Task DescribeAppVersionAppComponentAsync(DescribeAppVersionAppComponentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeAppVersionResource
///
/// Describes a resource of the Resilience Hub application.
///
///
///
/// This API accepts only one of the following parameters to descibe the resource:
///
/// -
///
///
resourceName
///
/// -
///
///
logicalResourceId
///
/// -
///
///
physicalResourceId
(Along with physicalResourceId
, you
/// can also provide awsAccountId
, and awsRegion
)
///
///
///
/// Container for the necessary parameters to execute the DescribeAppVersionResource service method.
///
/// 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
Task DescribeAppVersionResourceAsync(DescribeAppVersionResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeAppVersionResourcesResolutionStatus
///
/// Returns the resolution status for the specified resolution identifier for an application
/// version. If resolutionId
is not specified, the current resolution status
/// is returned.
///
/// Container for the necessary parameters to execute the DescribeAppVersionResourcesResolutionStatus service method.
///
/// 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
Task DescribeAppVersionResourcesResolutionStatusAsync(DescribeAppVersionResourcesResolutionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeAppVersionTemplate
///
/// 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
Task DescribeAppVersionTemplateAsync(DescribeAppVersionTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeDraftAppVersionResourcesImportStatus
///
/// Describes the status of importing resources to an application version.
///
///
///
/// If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException
,
/// you must call importResourcesToDraftAppVersion
after creating the application
/// and before calling describeDraftAppVersionResourcesImportStatus
to obtain
/// the status.
///
///
///
/// Container for the necessary parameters to execute the DescribeDraftAppVersionResourcesImportStatus service method.
///
/// 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
Task DescribeDraftAppVersionResourcesImportStatusAsync(DescribeDraftAppVersionResourcesImportStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeResiliencyPolicy
///
/// Describes a specified resiliency policy for an Resilience Hub application. The returned
/// policy object includes creation time, data location constraints, the Amazon Resource
/// Name (ARN) for the policy, tags, tier, and more.
///
/// Container for the necessary parameters to execute the DescribeResiliencyPolicy service method.
///
/// 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
Task DescribeResiliencyPolicyAsync(DescribeResiliencyPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ImportResourcesToDraftAppVersion
///
/// Imports resources to Resilience Hub application draft version from different input
/// sources. For more information about the input sources supported by Resilience Hub,
/// see Discover
/// the structure and describe your Resilience Hub application.
///
/// Container for the necessary parameters to execute the ImportResourcesToDraftAppVersion service method.
///
/// 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
Task ImportResourcesToDraftAppVersionAsync(ImportResourcesToDraftAppVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAlarmRecommendations
///
/// 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
Task ListAlarmRecommendationsAsync(ListAlarmRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppAssessments
///
/// Lists the assessments for an Resilience Hub application. You can use request parameters
/// to refine the results for the response object.
///
/// Container for the necessary parameters to execute the ListAppAssessments service method.
///
/// 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
Task ListAppAssessmentsAsync(ListAppAssessmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppComponentCompliances
///
/// 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
Task ListAppComponentCompliancesAsync(ListAppComponentCompliancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppComponentRecommendations
///
/// 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
Task ListAppComponentRecommendationsAsync(ListAppComponentRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppInputSources
///
/// Lists all the input sources of the Resilience Hub application. For more information
/// about the input sources supported by Resilience Hub, see Discover
/// the structure and describe your Resilience Hub application.
///
/// Container for the necessary parameters to execute the ListAppInputSources service method.
///
/// 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
Task ListAppInputSourcesAsync(ListAppInputSourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListApps
///
/// Lists your Resilience Hub applications.
///
///
///
/// You can filter applications using only one filter at a time or without using any filter.
/// If you try to filter applications using multiple filters, you will get the following
/// error:
///
///
///
/// An error occurred (ValidationException) when calling the ListApps operation:
/// Only one filter is supported for this operation.
///
///
///
/// Container for the necessary parameters to execute the ListApps service method.
///
/// 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
Task ListAppsAsync(ListAppsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppVersionAppComponents
///
/// Lists all the Application Components in the Resilience Hub application.
///
/// Container for the necessary parameters to execute the ListAppVersionAppComponents service method.
///
/// 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
Task ListAppVersionAppComponentsAsync(ListAppVersionAppComponentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppVersionResourceMappings
///
/// Lists how the resources in an application version are mapped/sourced from. Mappings
/// can be physical resource identifiers, CloudFormation stacks, resource-groups, or an
/// application registry app.
///
/// Container for the necessary parameters to execute the ListAppVersionResourceMappings service method.
///
/// 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
Task ListAppVersionResourceMappingsAsync(ListAppVersionResourceMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppVersionResources
///
/// 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
Task ListAppVersionResourcesAsync(ListAppVersionResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppVersions
///
/// 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
Task ListAppVersionsAsync(ListAppVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListRecommendationTemplates
///
/// 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
Task ListRecommendationTemplatesAsync(ListRecommendationTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListResiliencyPolicies
///
/// 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
Task ListResiliencyPoliciesAsync(ListResiliencyPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSopRecommendations
///
/// Lists the standard operating procedure (SOP) recommendations for the Resilience Hub
/// applications.
///
/// Container for the necessary parameters to execute the ListSopRecommendations service method.
///
/// 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
Task ListSopRecommendationsAsync(ListSopRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSuggestedResiliencyPolicies
///
/// Lists the suggested resiliency policies for the Resilience Hub applications.
///
/// Container for the necessary parameters to execute the ListSuggestedResiliencyPolicies service method.
///
/// 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
Task ListSuggestedResiliencyPoliciesAsync(ListSuggestedResiliencyPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Lists the tags for your resources in your Resilience Hub applications.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// 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
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTestRecommendations
///
/// 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
Task ListTestRecommendationsAsync(ListTestRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListUnsupportedAppVersionResources
///
/// Lists the resources that are not currently supported in Resilience Hub. An unsupported
/// resource is a resource that exists in the object that was used to create an app, but
/// is not supported by Resilience Hub.
///
/// Container for the necessary parameters to execute the ListUnsupportedAppVersionResources service method.
///
/// 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
Task ListUnsupportedAppVersionResourcesAsync(ListUnsupportedAppVersionResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PublishAppVersion
///
/// Publishes a new version of a specific Resilience Hub application.
///
/// Container for the necessary parameters to execute the PublishAppVersion service method.
///
/// 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
Task PublishAppVersionAsync(PublishAppVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutDraftAppVersionTemplate
///
/// Adds or updates the app template for an Resilience Hub application draft version.
///
/// Container for the necessary parameters to execute the PutDraftAppVersionTemplate service method.
///
/// 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
Task PutDraftAppVersionTemplateAsync(PutDraftAppVersionTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RemoveDraftAppVersionResourceMappings
///
/// 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
Task RemoveDraftAppVersionResourceMappingsAsync(RemoveDraftAppVersionResourceMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ResolveAppVersionResources
///
/// 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
Task ResolveAppVersionResourcesAsync(ResolveAppVersionResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartAppAssessment
///
/// 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
Task StartAppAssessmentAsync(StartAppAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// 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
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// 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
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApp
///
/// 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
Task UpdateAppAsync(UpdateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAppVersion
///
/// Updates the Resilience Hub application version.
///
///
///
/// This API updates the Resilience Hub application draft version. To use this information
/// for running resiliency assessments, you must publish the Resilience Hub application
/// using the PublishAppVersion
API.
///
///
///
/// Container for the necessary parameters to execute the UpdateAppVersion service method.
///
/// 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
Task UpdateAppVersionAsync(UpdateAppVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAppVersionAppComponent
///
/// Updates an existing Application Component in the Resilience Hub application.
///
///
///
/// This API updates the Resilience Hub application draft version. To use this Application
/// Component for running assessments, you must publish the Resilience Hub application
/// using the PublishAppVersion
API.
///
///
///
/// Container for the necessary parameters to execute the UpdateAppVersionAppComponent service method.
///
/// 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
Task UpdateAppVersionAppComponentAsync(UpdateAppVersionAppComponentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAppVersionResource
///
/// Updates the resource details in the Resilience Hub application.
///
/// -
///
/// This action has no effect outside Resilience Hub.
///
///
-
///
/// This API updates the Resilience Hub application draft version. To use this resource
/// for running resiliency assessments, you must publish the Resilience Hub application
/// using the
PublishAppVersion
API.
///
/// -
///
/// To update application version with new
physicalResourceID
, you must call
/// ResolveAppVersionResources
API.
///
///
///
/// Container for the necessary parameters to execute the UpdateAppVersionResource service method.
///
/// 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
Task UpdateAppVersionResourceAsync(UpdateAppVersionResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateResiliencyPolicy
///
/// 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
Task UpdateResiliencyPolicyAsync(UpdateResiliencyPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}