/*
* 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.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();
#if BCL45 || 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 Constructors
///
/// Constructs AmazonResilienceHubClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonResilienceHubClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonResilienceHubConfig()) { }
///
/// Constructs AmazonResilienceHubClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonResilienceHubClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonResilienceHubConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonResilienceHubClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonResilienceHubClient Configuration Object
public AmazonResilienceHubClient(AmazonResilienceHubConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonResilienceHubClient with AWS Credentials
///
/// AWS Credentials
public AmazonResilienceHubClient(AWSCredentials credentials)
: this(credentials, new AmazonResilienceHubConfig())
{
}
///
/// Constructs AmazonResilienceHubClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonResilienceHubClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonResilienceHubConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonResilienceHubClient with AWS Credentials and an
/// AmazonResilienceHubClient Configuration object.
///
/// AWS Credentials
/// The AmazonResilienceHubClient Configuration Object
public AmazonResilienceHubClient(AWSCredentials credentials, AmazonResilienceHubConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonResilienceHubClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonResilienceHubClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonResilienceHubConfig())
{
}
///
/// Constructs AmazonResilienceHubClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonResilienceHubClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonResilienceHubConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonResilienceHubClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonResilienceHubClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonResilienceHubClient Configuration Object
public AmazonResilienceHubClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonResilienceHubConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonResilienceHubClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonResilienceHubClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonResilienceHubConfig())
{
}
///
/// Constructs AmazonResilienceHubClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonResilienceHubClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonResilienceHubConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonResilienceHubClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonResilienceHubClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonResilienceHubClient Configuration Object
public AmazonResilienceHubClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonResilienceHubConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonResilienceHubEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AddDraftAppVersionResourceMappings
///
/// Adds the resource mapping for the draft application version. You can also update an
/// existing resource mapping to a new physical resource.
///
/// Container for the necessary parameters to execute the AddDraftAppVersionResourceMappings service method.
///
/// The response from the AddDraftAppVersionResourceMappings service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for AddDraftAppVersionResourceMappings Operation
public virtual AddDraftAppVersionResourceMappingsResponse AddDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddDraftAppVersionResourceMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddDraftAppVersionResourceMappingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AddDraftAppVersionResourceMappings operation.
///
///
/// Container for the necessary parameters to execute the AddDraftAppVersionResourceMappings operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAddDraftAppVersionResourceMappings
/// operation.
/// REST API Reference for AddDraftAppVersionResourceMappings Operation
public virtual IAsyncResult BeginAddDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddDraftAppVersionResourceMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddDraftAppVersionResourceMappingsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AddDraftAppVersionResourceMappings operation.
///
///
/// The IAsyncResult returned by the call to BeginAddDraftAppVersionResourceMappings.
///
/// Returns a AddDraftAppVersionResourceMappingsResult from ResilienceHub.
/// REST API Reference for AddDraftAppVersionResourceMappings Operation
public virtual AddDraftAppVersionResourceMappingsResponse EndAddDraftAppVersionResourceMappings(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateApp
///
/// Creates an Resilience Hub application. An Resilience Hub application is a collection
/// of Amazon Web Services resources structured to prevent and recover Amazon Web Services
/// application disruptions. To describe an Resilience Hub application, you provide an
/// application name, resources from one or more CloudFormation stacks, Resource Groups,
/// Terraform state files, AppRegistry applications, and an appropriate resiliency policy.
/// For more information about the number of resources supported per application, see
/// Service
/// Quotas.
///
///
///
/// After you create an Resilience Hub application, you publish it so that you can run
/// a resiliency assessment on it. You can then use recommendations from the assessment
/// to improve resiliency by running another assessment, comparing results, and then iterating
/// the process until you achieve your goals for recovery time objective (RTO) and recovery
/// point objective (RPO).
///
///
/// Container for the necessary parameters to execute the CreateApp service method.
///
/// The response from the CreateApp service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded your service quota. To perform the requested
/// action, remove some of the relevant resources, or use Service Quotas to request a
/// service quota increase.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for CreateApp Operation
public virtual CreateAppResponse CreateApp(CreateAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateApp operation.
///
///
/// Container for the necessary parameters to execute the CreateApp operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateApp
/// operation.
/// REST API Reference for CreateApp Operation
public virtual IAsyncResult BeginCreateApp(CreateAppRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateApp operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateApp.
///
/// Returns a CreateAppResult from ResilienceHub.
/// REST API Reference for CreateApp Operation
public virtual CreateAppResponse EndCreateApp(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateAppVersionAppComponent
///
/// Creates a new Application Component in the Resilience Hub application.
///
///
///
/// This API updates the Resilience Hub application draft version. To use this Application
/// Component for running assessments, you must publish the Resilience Hub application
/// using the PublishAppVersion
API.
///
///
///
/// Container for the necessary parameters to execute the CreateAppVersionAppComponent service method.
///
/// The response from the CreateAppVersionAppComponent service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded your service quota. To perform the requested
/// action, remove some of the relevant resources, or use Service Quotas to request a
/// service quota increase.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for CreateAppVersionAppComponent Operation
public virtual CreateAppVersionAppComponentResponse CreateAppVersionAppComponent(CreateAppVersionAppComponentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppVersionAppComponentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppVersionAppComponentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateAppVersionAppComponent operation.
///
///
/// Container for the necessary parameters to execute the CreateAppVersionAppComponent operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAppVersionAppComponent
/// operation.
/// REST API Reference for CreateAppVersionAppComponent Operation
public virtual IAsyncResult BeginCreateAppVersionAppComponent(CreateAppVersionAppComponentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppVersionAppComponentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppVersionAppComponentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateAppVersionAppComponent operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateAppVersionAppComponent.
///
/// Returns a CreateAppVersionAppComponentResult from ResilienceHub.
/// REST API Reference for CreateAppVersionAppComponent Operation
public virtual CreateAppVersionAppComponentResponse EndCreateAppVersionAppComponent(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateAppVersionResource
///
/// Adds a resource to the Resilience Hub application and assigns it to the specified
/// Application Components. If you specify a new Application Component, Resilience Hub
/// will automatically create the Application Component.
///
/// -
///
/// This action has no effect outside Resilience Hub.
///
///
-
///
/// This API updates the Resilience Hub application draft version. To use this resource
/// for running resiliency assessments, you must publish the Resilience Hub application
/// using the
PublishAppVersion
API.
///
/// -
///
/// To update application version with new
physicalResourceID
, you must call
/// ResolveAppVersionResources
API.
///
///
///
/// Container for the necessary parameters to execute the CreateAppVersionResource service method.
///
/// The response from the CreateAppVersionResource service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded your service quota. To perform the requested
/// action, remove some of the relevant resources, or use Service Quotas to request a
/// service quota increase.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for CreateAppVersionResource Operation
public virtual CreateAppVersionResourceResponse CreateAppVersionResource(CreateAppVersionResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppVersionResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppVersionResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateAppVersionResource operation.
///
///
/// Container for the necessary parameters to execute the CreateAppVersionResource operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAppVersionResource
/// operation.
/// REST API Reference for CreateAppVersionResource Operation
public virtual IAsyncResult BeginCreateAppVersionResource(CreateAppVersionResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppVersionResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppVersionResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateAppVersionResource operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateAppVersionResource.
///
/// Returns a CreateAppVersionResourceResult from ResilienceHub.
/// REST API Reference for CreateAppVersionResource Operation
public virtual CreateAppVersionResourceResponse EndCreateAppVersionResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateRecommendationTemplate
///
/// Creates a new recommendation template for the Resilience Hub application.
///
/// Container for the necessary parameters to execute the CreateRecommendationTemplate service method.
///
/// The response from the CreateRecommendationTemplate service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded your service quota. To perform the requested
/// action, remove some of the relevant resources, or use Service Quotas to request a
/// service quota increase.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for CreateRecommendationTemplate Operation
public virtual CreateRecommendationTemplateResponse CreateRecommendationTemplate(CreateRecommendationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRecommendationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRecommendationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateRecommendationTemplate operation.
///
///
/// Container for the necessary parameters to execute the CreateRecommendationTemplate operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRecommendationTemplate
/// operation.
/// REST API Reference for CreateRecommendationTemplate Operation
public virtual IAsyncResult BeginCreateRecommendationTemplate(CreateRecommendationTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRecommendationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRecommendationTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateRecommendationTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateRecommendationTemplate.
///
/// Returns a CreateRecommendationTemplateResult from ResilienceHub.
/// REST API Reference for CreateRecommendationTemplate Operation
public virtual CreateRecommendationTemplateResponse EndCreateRecommendationTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateResiliencyPolicy
///
/// Creates a resiliency policy for an application.
///
/// Container for the necessary parameters to execute the CreateResiliencyPolicy service method.
///
/// The response from the CreateResiliencyPolicy service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when you have exceeded your service quota. To perform the requested
/// action, remove some of the relevant resources, or use Service Quotas to request a
/// service quota increase.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for CreateResiliencyPolicy Operation
public virtual CreateResiliencyPolicyResponse CreateResiliencyPolicy(CreateResiliencyPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResiliencyPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResiliencyPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateResiliencyPolicy operation.
///
///
/// Container for the necessary parameters to execute the CreateResiliencyPolicy operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateResiliencyPolicy
/// operation.
/// REST API Reference for CreateResiliencyPolicy Operation
public virtual IAsyncResult BeginCreateResiliencyPolicy(CreateResiliencyPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResiliencyPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResiliencyPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateResiliencyPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateResiliencyPolicy.
///
/// Returns a CreateResiliencyPolicyResult from ResilienceHub.
/// REST API Reference for CreateResiliencyPolicy Operation
public virtual CreateResiliencyPolicyResponse EndCreateResiliencyPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteApp
///
/// Deletes an Resilience Hub application. This is a destructive action that can't be
/// undone.
///
/// Container for the necessary parameters to execute the DeleteApp service method.
///
/// The response from the DeleteApp service method, as returned by ResilienceHub.
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DeleteApp Operation
public virtual DeleteAppResponse DeleteApp(DeleteAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteApp operation.
///
///
/// Container for the necessary parameters to execute the DeleteApp operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteApp
/// operation.
/// REST API Reference for DeleteApp Operation
public virtual IAsyncResult BeginDeleteApp(DeleteAppRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteApp operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteApp.
///
/// Returns a DeleteAppResult from ResilienceHub.
/// REST API Reference for DeleteApp Operation
public virtual DeleteAppResponse EndDeleteApp(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteAppAssessment
///
/// Deletes an Resilience Hub application assessment. This is a destructive action that
/// can't be undone.
///
/// Container for the necessary parameters to execute the DeleteAppAssessment service method.
///
/// The response from the DeleteAppAssessment service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DeleteAppAssessment Operation
public virtual DeleteAppAssessmentResponse DeleteAppAssessment(DeleteAppAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppAssessmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteAppAssessment operation.
///
///
/// Container for the necessary parameters to execute the DeleteAppAssessment operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAppAssessment
/// operation.
/// REST API Reference for DeleteAppAssessment Operation
public virtual IAsyncResult BeginDeleteAppAssessment(DeleteAppAssessmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppAssessmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteAppAssessment operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAppAssessment.
///
/// Returns a DeleteAppAssessmentResult from ResilienceHub.
/// REST API Reference for DeleteAppAssessment Operation
public virtual DeleteAppAssessmentResponse EndDeleteAppAssessment(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteAppInputSource
///
/// Deletes the input source and all of its imported resources from the Resilience Hub
/// application.
///
/// Container for the necessary parameters to execute the DeleteAppInputSource service method.
///
/// The response from the DeleteAppInputSource service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DeleteAppInputSource Operation
public virtual DeleteAppInputSourceResponse DeleteAppInputSource(DeleteAppInputSourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppInputSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppInputSourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteAppInputSource operation.
///
///
/// Container for the necessary parameters to execute the DeleteAppInputSource operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAppInputSource
/// operation.
/// REST API Reference for DeleteAppInputSource Operation
public virtual IAsyncResult BeginDeleteAppInputSource(DeleteAppInputSourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppInputSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppInputSourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteAppInputSource operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAppInputSource.
///
/// Returns a DeleteAppInputSourceResult from ResilienceHub.
/// REST API Reference for DeleteAppInputSource Operation
public virtual DeleteAppInputSourceResponse EndDeleteAppInputSource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteAppVersionAppComponent
///
/// Deletes an Application Component from the Resilience Hub application.
///
/// -
///
/// This API updates the Resilience Hub application draft version. To use this Application
/// Component for running assessments, you must publish the Resilience Hub application
/// using the
PublishAppVersion
API.
///
/// -
///
/// You will not be able to delete an Application Component if it has resources associated
/// with it.
///
///
///
/// Container for the necessary parameters to execute the DeleteAppVersionAppComponent service method.
///
/// The response from the DeleteAppVersionAppComponent service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DeleteAppVersionAppComponent Operation
public virtual DeleteAppVersionAppComponentResponse DeleteAppVersionAppComponent(DeleteAppVersionAppComponentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppVersionAppComponentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppVersionAppComponentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteAppVersionAppComponent operation.
///
///
/// Container for the necessary parameters to execute the DeleteAppVersionAppComponent operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAppVersionAppComponent
/// operation.
/// REST API Reference for DeleteAppVersionAppComponent Operation
public virtual IAsyncResult BeginDeleteAppVersionAppComponent(DeleteAppVersionAppComponentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppVersionAppComponentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppVersionAppComponentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteAppVersionAppComponent operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAppVersionAppComponent.
///
/// Returns a DeleteAppVersionAppComponentResult from ResilienceHub.
/// REST API Reference for DeleteAppVersionAppComponent Operation
public virtual DeleteAppVersionAppComponentResponse EndDeleteAppVersionAppComponent(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteAppVersionResource
///
/// Deletes a resource from the Resilience Hub application.
///
/// -
///
/// You can only delete a manually added resource. To exclude non-manually added resources,
/// use the
UpdateAppVersionResource
API.
///
/// -
///
/// This action has no effect outside Resilience Hub.
///
///
-
///
/// This API updates the Resilience Hub application draft version. To use this resource
/// for running resiliency assessments, you must publish the Resilience Hub application
/// using the
PublishAppVersion
API.
///
///
///
/// Container for the necessary parameters to execute the DeleteAppVersionResource service method.
///
/// The response from the DeleteAppVersionResource service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DeleteAppVersionResource Operation
public virtual DeleteAppVersionResourceResponse DeleteAppVersionResource(DeleteAppVersionResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppVersionResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppVersionResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteAppVersionResource operation.
///
///
/// Container for the necessary parameters to execute the DeleteAppVersionResource operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAppVersionResource
/// operation.
/// REST API Reference for DeleteAppVersionResource Operation
public virtual IAsyncResult BeginDeleteAppVersionResource(DeleteAppVersionResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppVersionResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppVersionResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteAppVersionResource operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAppVersionResource.
///
/// Returns a DeleteAppVersionResourceResult from ResilienceHub.
/// REST API Reference for DeleteAppVersionResource Operation
public virtual DeleteAppVersionResourceResponse EndDeleteAppVersionResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteRecommendationTemplate
///
/// Deletes a recommendation template. This is a destructive action that can't be undone.
///
/// Container for the necessary parameters to execute the DeleteRecommendationTemplate service method.
///
/// The response from the DeleteRecommendationTemplate service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DeleteRecommendationTemplate Operation
public virtual DeleteRecommendationTemplateResponse DeleteRecommendationTemplate(DeleteRecommendationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRecommendationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRecommendationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteRecommendationTemplate operation.
///
///
/// Container for the necessary parameters to execute the DeleteRecommendationTemplate operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRecommendationTemplate
/// operation.
/// REST API Reference for DeleteRecommendationTemplate Operation
public virtual IAsyncResult BeginDeleteRecommendationTemplate(DeleteRecommendationTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRecommendationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRecommendationTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteRecommendationTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteRecommendationTemplate.
///
/// Returns a DeleteRecommendationTemplateResult from ResilienceHub.
/// REST API Reference for DeleteRecommendationTemplate Operation
public virtual DeleteRecommendationTemplateResponse EndDeleteRecommendationTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteResiliencyPolicy
///
/// Deletes a resiliency policy. This is a destructive action that can't be undone.
///
/// Container for the necessary parameters to execute the DeleteResiliencyPolicy service method.
///
/// The response from the DeleteResiliencyPolicy service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DeleteResiliencyPolicy Operation
public virtual DeleteResiliencyPolicyResponse DeleteResiliencyPolicy(DeleteResiliencyPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResiliencyPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResiliencyPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteResiliencyPolicy operation.
///
///
/// Container for the necessary parameters to execute the DeleteResiliencyPolicy operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteResiliencyPolicy
/// operation.
/// REST API Reference for DeleteResiliencyPolicy Operation
public virtual IAsyncResult BeginDeleteResiliencyPolicy(DeleteResiliencyPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResiliencyPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResiliencyPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteResiliencyPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteResiliencyPolicy.
///
/// Returns a DeleteResiliencyPolicyResult from ResilienceHub.
/// REST API Reference for DeleteResiliencyPolicy Operation
public virtual DeleteResiliencyPolicyResponse EndDeleteResiliencyPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeApp
///
/// Describes an Resilience Hub application.
///
/// Container for the necessary parameters to execute the DescribeApp service method.
///
/// The response from the DescribeApp service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DescribeApp Operation
public virtual DescribeAppResponse DescribeApp(DescribeAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeApp operation.
///
///
/// Container for the necessary parameters to execute the DescribeApp operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeApp
/// operation.
/// REST API Reference for DescribeApp Operation
public virtual IAsyncResult BeginDescribeApp(DescribeAppRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeApp operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeApp.
///
/// Returns a DescribeAppResult from ResilienceHub.
/// REST API Reference for DescribeApp Operation
public virtual DescribeAppResponse EndDescribeApp(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAppAssessment
///
/// Describes an assessment for an Resilience Hub application.
///
/// Container for the necessary parameters to execute the DescribeAppAssessment service method.
///
/// The response from the DescribeAppAssessment service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DescribeAppAssessment Operation
public virtual DescribeAppAssessmentResponse DescribeAppAssessment(DescribeAppAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppAssessmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAppAssessment operation.
///
///
/// Container for the necessary parameters to execute the DescribeAppAssessment operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppAssessment
/// operation.
/// REST API Reference for DescribeAppAssessment Operation
public virtual IAsyncResult BeginDescribeAppAssessment(DescribeAppAssessmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppAssessmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAppAssessment operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAppAssessment.
///
/// Returns a DescribeAppAssessmentResult from ResilienceHub.
/// REST API Reference for DescribeAppAssessment Operation
public virtual DescribeAppAssessmentResponse EndDescribeAppAssessment(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAppVersion
///
/// Describes the Resilience Hub application version.
///
/// Container for the necessary parameters to execute the DescribeAppVersion service method.
///
/// The response from the DescribeAppVersion service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DescribeAppVersion Operation
public virtual DescribeAppVersionResponse DescribeAppVersion(DescribeAppVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAppVersion operation.
///
///
/// Container for the necessary parameters to execute the DescribeAppVersion operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppVersion
/// operation.
/// REST API Reference for DescribeAppVersion Operation
public virtual IAsyncResult BeginDescribeAppVersion(DescribeAppVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAppVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAppVersion.
///
/// Returns a DescribeAppVersionResult from ResilienceHub.
/// REST API Reference for DescribeAppVersion Operation
public virtual DescribeAppVersionResponse EndDescribeAppVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAppVersionAppComponent
///
/// Describes an Application Component in the Resilience Hub application.
///
/// Container for the necessary parameters to execute the DescribeAppVersionAppComponent service method.
///
/// The response from the DescribeAppVersionAppComponent service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DescribeAppVersionAppComponent Operation
public virtual DescribeAppVersionAppComponentResponse DescribeAppVersionAppComponent(DescribeAppVersionAppComponentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppVersionAppComponentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppVersionAppComponentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAppVersionAppComponent operation.
///
///
/// Container for the necessary parameters to execute the DescribeAppVersionAppComponent operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppVersionAppComponent
/// operation.
/// REST API Reference for DescribeAppVersionAppComponent Operation
public virtual IAsyncResult BeginDescribeAppVersionAppComponent(DescribeAppVersionAppComponentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppVersionAppComponentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppVersionAppComponentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAppVersionAppComponent operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAppVersionAppComponent.
///
/// Returns a DescribeAppVersionAppComponentResult from ResilienceHub.
/// REST API Reference for DescribeAppVersionAppComponent Operation
public virtual DescribeAppVersionAppComponentResponse EndDescribeAppVersionAppComponent(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAppVersionResource
///
/// Describes a resource of the Resilience Hub application.
///
///
///
/// This API accepts only one of the following parameters to descibe the resource:
///
/// -
///
///
resourceName
///
/// -
///
///
logicalResourceId
///
/// -
///
///
physicalResourceId
(Along with physicalResourceId
, you
/// can also provide awsAccountId
, and awsRegion
)
///
///
///
/// Container for the necessary parameters to execute the DescribeAppVersionResource service method.
///
/// The response from the DescribeAppVersionResource service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DescribeAppVersionResource Operation
public virtual DescribeAppVersionResourceResponse DescribeAppVersionResource(DescribeAppVersionResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppVersionResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppVersionResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAppVersionResource operation.
///
///
/// Container for the necessary parameters to execute the DescribeAppVersionResource operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppVersionResource
/// operation.
/// REST API Reference for DescribeAppVersionResource Operation
public virtual IAsyncResult BeginDescribeAppVersionResource(DescribeAppVersionResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppVersionResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppVersionResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAppVersionResource operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAppVersionResource.
///
/// Returns a DescribeAppVersionResourceResult from ResilienceHub.
/// REST API Reference for DescribeAppVersionResource Operation
public virtual DescribeAppVersionResourceResponse EndDescribeAppVersionResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAppVersionResourcesResolutionStatus
///
/// Returns the resolution status for the specified resolution identifier for an application
/// version. If resolutionId
is not specified, the current resolution status
/// is returned.
///
/// Container for the necessary parameters to execute the DescribeAppVersionResourcesResolutionStatus service method.
///
/// The response from the DescribeAppVersionResourcesResolutionStatus service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DescribeAppVersionResourcesResolutionStatus Operation
public virtual DescribeAppVersionResourcesResolutionStatusResponse DescribeAppVersionResourcesResolutionStatus(DescribeAppVersionResourcesResolutionStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppVersionResourcesResolutionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppVersionResourcesResolutionStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAppVersionResourcesResolutionStatus operation.
///
///
/// Container for the necessary parameters to execute the DescribeAppVersionResourcesResolutionStatus operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppVersionResourcesResolutionStatus
/// operation.
/// REST API Reference for DescribeAppVersionResourcesResolutionStatus Operation
public virtual IAsyncResult BeginDescribeAppVersionResourcesResolutionStatus(DescribeAppVersionResourcesResolutionStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppVersionResourcesResolutionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppVersionResourcesResolutionStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAppVersionResourcesResolutionStatus operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAppVersionResourcesResolutionStatus.
///
/// Returns a DescribeAppVersionResourcesResolutionStatusResult from ResilienceHub.
/// REST API Reference for DescribeAppVersionResourcesResolutionStatus Operation
public virtual DescribeAppVersionResourcesResolutionStatusResponse EndDescribeAppVersionResourcesResolutionStatus(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAppVersionTemplate
///
/// Describes details about an Resilience Hub application.
///
/// Container for the necessary parameters to execute the DescribeAppVersionTemplate service method.
///
/// The response from the DescribeAppVersionTemplate service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DescribeAppVersionTemplate Operation
public virtual DescribeAppVersionTemplateResponse DescribeAppVersionTemplate(DescribeAppVersionTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppVersionTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppVersionTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAppVersionTemplate operation.
///
///
/// Container for the necessary parameters to execute the DescribeAppVersionTemplate operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppVersionTemplate
/// operation.
/// REST API Reference for DescribeAppVersionTemplate Operation
public virtual IAsyncResult BeginDescribeAppVersionTemplate(DescribeAppVersionTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppVersionTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppVersionTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAppVersionTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAppVersionTemplate.
///
/// Returns a DescribeAppVersionTemplateResult from ResilienceHub.
/// REST API Reference for DescribeAppVersionTemplate Operation
public virtual DescribeAppVersionTemplateResponse EndDescribeAppVersionTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeDraftAppVersionResourcesImportStatus
///
/// Describes the status of importing resources to an application version.
///
///
///
/// If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException
,
/// you must call importResourcesToDraftAppVersion
after creating the application
/// and before calling describeDraftAppVersionResourcesImportStatus
to obtain
/// the status.
///
///
///
/// Container for the necessary parameters to execute the DescribeDraftAppVersionResourcesImportStatus service method.
///
/// The response from the DescribeDraftAppVersionResourcesImportStatus service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DescribeDraftAppVersionResourcesImportStatus Operation
public virtual DescribeDraftAppVersionResourcesImportStatusResponse DescribeDraftAppVersionResourcesImportStatus(DescribeDraftAppVersionResourcesImportStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDraftAppVersionResourcesImportStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDraftAppVersionResourcesImportStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeDraftAppVersionResourcesImportStatus operation.
///
///
/// Container for the necessary parameters to execute the DescribeDraftAppVersionResourcesImportStatus operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDraftAppVersionResourcesImportStatus
/// operation.
/// REST API Reference for DescribeDraftAppVersionResourcesImportStatus Operation
public virtual IAsyncResult BeginDescribeDraftAppVersionResourcesImportStatus(DescribeDraftAppVersionResourcesImportStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDraftAppVersionResourcesImportStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDraftAppVersionResourcesImportStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeDraftAppVersionResourcesImportStatus operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeDraftAppVersionResourcesImportStatus.
///
/// Returns a DescribeDraftAppVersionResourcesImportStatusResult from ResilienceHub.
/// REST API Reference for DescribeDraftAppVersionResourcesImportStatus Operation
public virtual DescribeDraftAppVersionResourcesImportStatusResponse EndDescribeDraftAppVersionResourcesImportStatus(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeResiliencyPolicy
///
/// Describes a specified resiliency policy for an Resilience Hub application. The returned
/// policy object includes creation time, data location constraints, the Amazon Resource
/// Name (ARN) for the policy, tags, tier, and more.
///
/// Container for the necessary parameters to execute the DescribeResiliencyPolicy service method.
///
/// The response from the DescribeResiliencyPolicy service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for DescribeResiliencyPolicy Operation
public virtual DescribeResiliencyPolicyResponse DescribeResiliencyPolicy(DescribeResiliencyPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeResiliencyPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeResiliencyPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeResiliencyPolicy operation.
///
///
/// Container for the necessary parameters to execute the DescribeResiliencyPolicy operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeResiliencyPolicy
/// operation.
/// REST API Reference for DescribeResiliencyPolicy Operation
public virtual IAsyncResult BeginDescribeResiliencyPolicy(DescribeResiliencyPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeResiliencyPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeResiliencyPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeResiliencyPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeResiliencyPolicy.
///
/// Returns a DescribeResiliencyPolicyResult from ResilienceHub.
/// REST API Reference for DescribeResiliencyPolicy Operation
public virtual DescribeResiliencyPolicyResponse EndDescribeResiliencyPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ImportResourcesToDraftAppVersion
///
/// Imports resources to Resilience Hub application draft version from different input
/// sources. For more information about the input sources supported by Resilience Hub,
/// see Discover
/// the structure and describe your Resilience Hub application.
///
/// Container for the necessary parameters to execute the ImportResourcesToDraftAppVersion service method.
///
/// The response from the ImportResourcesToDraftAppVersion service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ImportResourcesToDraftAppVersion Operation
public virtual ImportResourcesToDraftAppVersionResponse ImportResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportResourcesToDraftAppVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportResourcesToDraftAppVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ImportResourcesToDraftAppVersion operation.
///
///
/// Container for the necessary parameters to execute the ImportResourcesToDraftAppVersion operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndImportResourcesToDraftAppVersion
/// operation.
/// REST API Reference for ImportResourcesToDraftAppVersion Operation
public virtual IAsyncResult BeginImportResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportResourcesToDraftAppVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportResourcesToDraftAppVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ImportResourcesToDraftAppVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginImportResourcesToDraftAppVersion.
///
/// Returns a ImportResourcesToDraftAppVersionResult from ResilienceHub.
/// REST API Reference for ImportResourcesToDraftAppVersion Operation
public virtual ImportResourcesToDraftAppVersionResponse EndImportResourcesToDraftAppVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAlarmRecommendations
///
/// Lists the alarm recommendations for an Resilience Hub application.
///
/// Container for the necessary parameters to execute the ListAlarmRecommendations service method.
///
/// The response from the ListAlarmRecommendations service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListAlarmRecommendations Operation
public virtual ListAlarmRecommendationsResponse ListAlarmRecommendations(ListAlarmRecommendationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAlarmRecommendationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAlarmRecommendationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAlarmRecommendations operation.
///
///
/// Container for the necessary parameters to execute the ListAlarmRecommendations operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAlarmRecommendations
/// operation.
/// REST API Reference for ListAlarmRecommendations Operation
public virtual IAsyncResult BeginListAlarmRecommendations(ListAlarmRecommendationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAlarmRecommendationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAlarmRecommendationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAlarmRecommendations operation.
///
///
/// The IAsyncResult returned by the call to BeginListAlarmRecommendations.
///
/// Returns a ListAlarmRecommendationsResult from ResilienceHub.
/// REST API Reference for ListAlarmRecommendations Operation
public virtual ListAlarmRecommendationsResponse EndListAlarmRecommendations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAppAssessments
///
/// Lists the assessments for an Resilience Hub application. You can use request parameters
/// to refine the results for the response object.
///
/// Container for the necessary parameters to execute the ListAppAssessments service method.
///
/// The response from the ListAppAssessments service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListAppAssessments Operation
public virtual ListAppAssessmentsResponse ListAppAssessments(ListAppAssessmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppAssessmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppAssessmentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAppAssessments operation.
///
///
/// Container for the necessary parameters to execute the ListAppAssessments operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppAssessments
/// operation.
/// REST API Reference for ListAppAssessments Operation
public virtual IAsyncResult BeginListAppAssessments(ListAppAssessmentsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppAssessmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppAssessmentsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAppAssessments operation.
///
///
/// The IAsyncResult returned by the call to BeginListAppAssessments.
///
/// Returns a ListAppAssessmentsResult from ResilienceHub.
/// REST API Reference for ListAppAssessments Operation
public virtual ListAppAssessmentsResponse EndListAppAssessments(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAppComponentCompliances
///
/// Lists the compliances for an Resilience Hub Application Component.
///
/// Container for the necessary parameters to execute the ListAppComponentCompliances service method.
///
/// The response from the ListAppComponentCompliances service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListAppComponentCompliances Operation
public virtual ListAppComponentCompliancesResponse ListAppComponentCompliances(ListAppComponentCompliancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppComponentCompliancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppComponentCompliancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAppComponentCompliances operation.
///
///
/// Container for the necessary parameters to execute the ListAppComponentCompliances operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppComponentCompliances
/// operation.
/// REST API Reference for ListAppComponentCompliances Operation
public virtual IAsyncResult BeginListAppComponentCompliances(ListAppComponentCompliancesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppComponentCompliancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppComponentCompliancesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAppComponentCompliances operation.
///
///
/// The IAsyncResult returned by the call to BeginListAppComponentCompliances.
///
/// Returns a ListAppComponentCompliancesResult from ResilienceHub.
/// REST API Reference for ListAppComponentCompliances Operation
public virtual ListAppComponentCompliancesResponse EndListAppComponentCompliances(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAppComponentRecommendations
///
/// Lists the recommendations for an Resilience Hub Application Component.
///
/// Container for the necessary parameters to execute the ListAppComponentRecommendations service method.
///
/// The response from the ListAppComponentRecommendations service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListAppComponentRecommendations Operation
public virtual ListAppComponentRecommendationsResponse ListAppComponentRecommendations(ListAppComponentRecommendationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppComponentRecommendationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppComponentRecommendationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAppComponentRecommendations operation.
///
///
/// Container for the necessary parameters to execute the ListAppComponentRecommendations operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppComponentRecommendations
/// operation.
/// REST API Reference for ListAppComponentRecommendations Operation
public virtual IAsyncResult BeginListAppComponentRecommendations(ListAppComponentRecommendationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppComponentRecommendationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppComponentRecommendationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAppComponentRecommendations operation.
///
///
/// The IAsyncResult returned by the call to BeginListAppComponentRecommendations.
///
/// Returns a ListAppComponentRecommendationsResult from ResilienceHub.
/// REST API Reference for ListAppComponentRecommendations Operation
public virtual ListAppComponentRecommendationsResponse EndListAppComponentRecommendations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAppInputSources
///
/// Lists all the input sources of the Resilience Hub application. For more information
/// about the input sources supported by Resilience Hub, see Discover
/// the structure and describe your Resilience Hub application.
///
/// Container for the necessary parameters to execute the ListAppInputSources service method.
///
/// The response from the ListAppInputSources service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListAppInputSources Operation
public virtual ListAppInputSourcesResponse ListAppInputSources(ListAppInputSourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppInputSourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppInputSourcesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAppInputSources operation.
///
///
/// Container for the necessary parameters to execute the ListAppInputSources operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppInputSources
/// operation.
/// REST API Reference for ListAppInputSources Operation
public virtual IAsyncResult BeginListAppInputSources(ListAppInputSourcesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppInputSourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppInputSourcesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAppInputSources operation.
///
///
/// The IAsyncResult returned by the call to BeginListAppInputSources.
///
/// Returns a ListAppInputSourcesResult from ResilienceHub.
/// REST API Reference for ListAppInputSources Operation
public virtual ListAppInputSourcesResponse EndListAppInputSources(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListApps
///
/// Lists your Resilience Hub applications.
///
///
///
/// You can filter applications using only one filter at a time or without using any filter.
/// If you try to filter applications using multiple filters, you will get the following
/// error:
///
///
///
/// An error occurred (ValidationException) when calling the ListApps operation:
/// Only one filter is supported for this operation.
///
///
///
/// Container for the necessary parameters to execute the ListApps service method.
///
/// The response from the ListApps service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListApps Operation
public virtual ListAppsResponse ListApps(ListAppsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListApps operation.
///
///
/// Container for the necessary parameters to execute the ListApps operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListApps
/// operation.
/// REST API Reference for ListApps Operation
public virtual IAsyncResult BeginListApps(ListAppsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListApps operation.
///
///
/// The IAsyncResult returned by the call to BeginListApps.
///
/// Returns a ListAppsResult from ResilienceHub.
/// REST API Reference for ListApps Operation
public virtual ListAppsResponse EndListApps(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAppVersionAppComponents
///
/// Lists all the Application Components in the Resilience Hub application.
///
/// Container for the necessary parameters to execute the ListAppVersionAppComponents service method.
///
/// The response from the ListAppVersionAppComponents service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListAppVersionAppComponents Operation
public virtual ListAppVersionAppComponentsResponse ListAppVersionAppComponents(ListAppVersionAppComponentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppVersionAppComponentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppVersionAppComponentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAppVersionAppComponents operation.
///
///
/// Container for the necessary parameters to execute the ListAppVersionAppComponents operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppVersionAppComponents
/// operation.
/// REST API Reference for ListAppVersionAppComponents Operation
public virtual IAsyncResult BeginListAppVersionAppComponents(ListAppVersionAppComponentsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppVersionAppComponentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppVersionAppComponentsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAppVersionAppComponents operation.
///
///
/// The IAsyncResult returned by the call to BeginListAppVersionAppComponents.
///
/// Returns a ListAppVersionAppComponentsResult from ResilienceHub.
/// REST API Reference for ListAppVersionAppComponents Operation
public virtual ListAppVersionAppComponentsResponse EndListAppVersionAppComponents(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAppVersionResourceMappings
///
/// Lists how the resources in an application version are mapped/sourced from. Mappings
/// can be physical resource identifiers, CloudFormation stacks, resource-groups, or an
/// application registry app.
///
/// Container for the necessary parameters to execute the ListAppVersionResourceMappings service method.
///
/// The response from the ListAppVersionResourceMappings service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListAppVersionResourceMappings Operation
public virtual ListAppVersionResourceMappingsResponse ListAppVersionResourceMappings(ListAppVersionResourceMappingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppVersionResourceMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppVersionResourceMappingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAppVersionResourceMappings operation.
///
///
/// Container for the necessary parameters to execute the ListAppVersionResourceMappings operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppVersionResourceMappings
/// operation.
/// REST API Reference for ListAppVersionResourceMappings Operation
public virtual IAsyncResult BeginListAppVersionResourceMappings(ListAppVersionResourceMappingsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppVersionResourceMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppVersionResourceMappingsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAppVersionResourceMappings operation.
///
///
/// The IAsyncResult returned by the call to BeginListAppVersionResourceMappings.
///
/// Returns a ListAppVersionResourceMappingsResult from ResilienceHub.
/// REST API Reference for ListAppVersionResourceMappings Operation
public virtual ListAppVersionResourceMappingsResponse EndListAppVersionResourceMappings(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAppVersionResources
///
/// Lists all the resources in an Resilience Hub application.
///
/// Container for the necessary parameters to execute the ListAppVersionResources service method.
///
/// The response from the ListAppVersionResources service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListAppVersionResources Operation
public virtual ListAppVersionResourcesResponse ListAppVersionResources(ListAppVersionResourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppVersionResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppVersionResourcesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAppVersionResources operation.
///
///
/// Container for the necessary parameters to execute the ListAppVersionResources operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppVersionResources
/// operation.
/// REST API Reference for ListAppVersionResources Operation
public virtual IAsyncResult BeginListAppVersionResources(ListAppVersionResourcesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppVersionResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppVersionResourcesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAppVersionResources operation.
///
///
/// The IAsyncResult returned by the call to BeginListAppVersionResources.
///
/// Returns a ListAppVersionResourcesResult from ResilienceHub.
/// REST API Reference for ListAppVersionResources Operation
public virtual ListAppVersionResourcesResponse EndListAppVersionResources(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAppVersions
///
/// Lists the different versions for the Resilience Hub applications.
///
/// Container for the necessary parameters to execute the ListAppVersions service method.
///
/// The response from the ListAppVersions service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListAppVersions Operation
public virtual ListAppVersionsResponse ListAppVersions(ListAppVersionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppVersionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAppVersions operation.
///
///
/// Container for the necessary parameters to execute the ListAppVersions operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppVersions
/// operation.
/// REST API Reference for ListAppVersions Operation
public virtual IAsyncResult BeginListAppVersions(ListAppVersionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppVersionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAppVersions operation.
///
///
/// The IAsyncResult returned by the call to BeginListAppVersions.
///
/// Returns a ListAppVersionsResult from ResilienceHub.
/// REST API Reference for ListAppVersions Operation
public virtual ListAppVersionsResponse EndListAppVersions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListRecommendationTemplates
///
/// Lists the recommendation templates for the Resilience Hub applications.
///
/// Container for the necessary parameters to execute the ListRecommendationTemplates service method.
///
/// The response from the ListRecommendationTemplates service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListRecommendationTemplates Operation
public virtual ListRecommendationTemplatesResponse ListRecommendationTemplates(ListRecommendationTemplatesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRecommendationTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRecommendationTemplatesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListRecommendationTemplates operation.
///
///
/// Container for the necessary parameters to execute the ListRecommendationTemplates operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRecommendationTemplates
/// operation.
/// REST API Reference for ListRecommendationTemplates Operation
public virtual IAsyncResult BeginListRecommendationTemplates(ListRecommendationTemplatesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRecommendationTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRecommendationTemplatesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListRecommendationTemplates operation.
///
///
/// The IAsyncResult returned by the call to BeginListRecommendationTemplates.
///
/// Returns a ListRecommendationTemplatesResult from ResilienceHub.
/// REST API Reference for ListRecommendationTemplates Operation
public virtual ListRecommendationTemplatesResponse EndListRecommendationTemplates(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListResiliencyPolicies
///
/// Lists the resiliency policies for the Resilience Hub applications.
///
/// Container for the necessary parameters to execute the ListResiliencyPolicies service method.
///
/// The response from the ListResiliencyPolicies service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListResiliencyPolicies Operation
public virtual ListResiliencyPoliciesResponse ListResiliencyPolicies(ListResiliencyPoliciesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResiliencyPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResiliencyPoliciesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListResiliencyPolicies operation.
///
///
/// Container for the necessary parameters to execute the ListResiliencyPolicies operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListResiliencyPolicies
/// operation.
/// REST API Reference for ListResiliencyPolicies Operation
public virtual IAsyncResult BeginListResiliencyPolicies(ListResiliencyPoliciesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResiliencyPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResiliencyPoliciesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListResiliencyPolicies operation.
///
///
/// The IAsyncResult returned by the call to BeginListResiliencyPolicies.
///
/// Returns a ListResiliencyPoliciesResult from ResilienceHub.
/// REST API Reference for ListResiliencyPolicies Operation
public virtual ListResiliencyPoliciesResponse EndListResiliencyPolicies(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListSopRecommendations
///
/// Lists the standard operating procedure (SOP) recommendations for the Resilience Hub
/// applications.
///
/// Container for the necessary parameters to execute the ListSopRecommendations service method.
///
/// The response from the ListSopRecommendations service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListSopRecommendations Operation
public virtual ListSopRecommendationsResponse ListSopRecommendations(ListSopRecommendationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSopRecommendationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSopRecommendationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListSopRecommendations operation.
///
///
/// Container for the necessary parameters to execute the ListSopRecommendations operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSopRecommendations
/// operation.
/// REST API Reference for ListSopRecommendations Operation
public virtual IAsyncResult BeginListSopRecommendations(ListSopRecommendationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSopRecommendationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSopRecommendationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListSopRecommendations operation.
///
///
/// The IAsyncResult returned by the call to BeginListSopRecommendations.
///
/// Returns a ListSopRecommendationsResult from ResilienceHub.
/// REST API Reference for ListSopRecommendations Operation
public virtual ListSopRecommendationsResponse EndListSopRecommendations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListSuggestedResiliencyPolicies
///
/// Lists the suggested resiliency policies for the Resilience Hub applications.
///
/// Container for the necessary parameters to execute the ListSuggestedResiliencyPolicies service method.
///
/// The response from the ListSuggestedResiliencyPolicies service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListSuggestedResiliencyPolicies Operation
public virtual ListSuggestedResiliencyPoliciesResponse ListSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSuggestedResiliencyPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSuggestedResiliencyPoliciesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListSuggestedResiliencyPolicies operation.
///
///
/// Container for the necessary parameters to execute the ListSuggestedResiliencyPolicies operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSuggestedResiliencyPolicies
/// operation.
/// REST API Reference for ListSuggestedResiliencyPolicies Operation
public virtual IAsyncResult BeginListSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSuggestedResiliencyPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSuggestedResiliencyPoliciesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListSuggestedResiliencyPolicies operation.
///
///
/// The IAsyncResult returned by the call to BeginListSuggestedResiliencyPolicies.
///
/// Returns a ListSuggestedResiliencyPoliciesResult from ResilienceHub.
/// REST API Reference for ListSuggestedResiliencyPolicies Operation
public virtual ListSuggestedResiliencyPoliciesResponse EndListSuggestedResiliencyPolicies(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// Lists the tags for your resources in your Resilience Hub applications.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from ResilienceHub.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTestRecommendations
///
/// Lists the test recommendations for the Resilience Hub application.
///
/// Container for the necessary parameters to execute the ListTestRecommendations service method.
///
/// The response from the ListTestRecommendations service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListTestRecommendations Operation
public virtual ListTestRecommendationsResponse ListTestRecommendations(ListTestRecommendationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestRecommendationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestRecommendationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTestRecommendations operation.
///
///
/// Container for the necessary parameters to execute the ListTestRecommendations operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTestRecommendations
/// operation.
/// REST API Reference for ListTestRecommendations Operation
public virtual IAsyncResult BeginListTestRecommendations(ListTestRecommendationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestRecommendationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestRecommendationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTestRecommendations operation.
///
///
/// The IAsyncResult returned by the call to BeginListTestRecommendations.
///
/// Returns a ListTestRecommendationsResult from ResilienceHub.
/// REST API Reference for ListTestRecommendations Operation
public virtual ListTestRecommendationsResponse EndListTestRecommendations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListUnsupportedAppVersionResources
///
/// Lists the resources that are not currently supported in Resilience Hub. An unsupported
/// resource is a resource that exists in the object that was used to create an app, but
/// is not supported by Resilience Hub.
///
/// Container for the necessary parameters to execute the ListUnsupportedAppVersionResources service method.
///
/// The response from the ListUnsupportedAppVersionResources service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ListUnsupportedAppVersionResources Operation
public virtual ListUnsupportedAppVersionResourcesResponse ListUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUnsupportedAppVersionResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUnsupportedAppVersionResourcesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListUnsupportedAppVersionResources operation.
///
///
/// Container for the necessary parameters to execute the ListUnsupportedAppVersionResources operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListUnsupportedAppVersionResources
/// operation.
/// REST API Reference for ListUnsupportedAppVersionResources Operation
public virtual IAsyncResult BeginListUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUnsupportedAppVersionResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUnsupportedAppVersionResourcesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListUnsupportedAppVersionResources operation.
///
///
/// The IAsyncResult returned by the call to BeginListUnsupportedAppVersionResources.
///
/// Returns a ListUnsupportedAppVersionResourcesResult from ResilienceHub.
/// REST API Reference for ListUnsupportedAppVersionResources Operation
public virtual ListUnsupportedAppVersionResourcesResponse EndListUnsupportedAppVersionResources(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PublishAppVersion
///
/// Publishes a new version of a specific Resilience Hub application.
///
/// Container for the necessary parameters to execute the PublishAppVersion service method.
///
/// The response from the PublishAppVersion service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for PublishAppVersion Operation
public virtual PublishAppVersionResponse PublishAppVersion(PublishAppVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PublishAppVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = PublishAppVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PublishAppVersion operation.
///
///
/// Container for the necessary parameters to execute the PublishAppVersion operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPublishAppVersion
/// operation.
/// REST API Reference for PublishAppVersion Operation
public virtual IAsyncResult BeginPublishAppVersion(PublishAppVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PublishAppVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = PublishAppVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PublishAppVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginPublishAppVersion.
///
/// Returns a PublishAppVersionResult from ResilienceHub.
/// REST API Reference for PublishAppVersion Operation
public virtual PublishAppVersionResponse EndPublishAppVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutDraftAppVersionTemplate
///
/// Adds or updates the app template for an Resilience Hub application draft version.
///
/// Container for the necessary parameters to execute the PutDraftAppVersionTemplate service method.
///
/// The response from the PutDraftAppVersionTemplate service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for PutDraftAppVersionTemplate Operation
public virtual PutDraftAppVersionTemplateResponse PutDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutDraftAppVersionTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutDraftAppVersionTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutDraftAppVersionTemplate operation.
///
///
/// Container for the necessary parameters to execute the PutDraftAppVersionTemplate operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutDraftAppVersionTemplate
/// operation.
/// REST API Reference for PutDraftAppVersionTemplate Operation
public virtual IAsyncResult BeginPutDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutDraftAppVersionTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutDraftAppVersionTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutDraftAppVersionTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginPutDraftAppVersionTemplate.
///
/// Returns a PutDraftAppVersionTemplateResult from ResilienceHub.
/// REST API Reference for PutDraftAppVersionTemplate Operation
public virtual PutDraftAppVersionTemplateResponse EndPutDraftAppVersionTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region RemoveDraftAppVersionResourceMappings
///
/// Removes resource mappings from a draft application version.
///
/// Container for the necessary parameters to execute the RemoveDraftAppVersionResourceMappings service method.
///
/// The response from the RemoveDraftAppVersionResourceMappings service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for RemoveDraftAppVersionResourceMappings Operation
public virtual RemoveDraftAppVersionResourceMappingsResponse RemoveDraftAppVersionResourceMappings(RemoveDraftAppVersionResourceMappingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveDraftAppVersionResourceMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveDraftAppVersionResourceMappingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the RemoveDraftAppVersionResourceMappings operation.
///
///
/// Container for the necessary parameters to execute the RemoveDraftAppVersionResourceMappings operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRemoveDraftAppVersionResourceMappings
/// operation.
/// REST API Reference for RemoveDraftAppVersionResourceMappings Operation
public virtual IAsyncResult BeginRemoveDraftAppVersionResourceMappings(RemoveDraftAppVersionResourceMappingsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveDraftAppVersionResourceMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveDraftAppVersionResourceMappingsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RemoveDraftAppVersionResourceMappings operation.
///
///
/// The IAsyncResult returned by the call to BeginRemoveDraftAppVersionResourceMappings.
///
/// Returns a RemoveDraftAppVersionResourceMappingsResult from ResilienceHub.
/// REST API Reference for RemoveDraftAppVersionResourceMappings Operation
public virtual RemoveDraftAppVersionResourceMappingsResponse EndRemoveDraftAppVersionResourceMappings(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ResolveAppVersionResources
///
/// Resolves the resources for an application version.
///
/// Container for the necessary parameters to execute the ResolveAppVersionResources service method.
///
/// The response from the ResolveAppVersionResources service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for ResolveAppVersionResources Operation
public virtual ResolveAppVersionResourcesResponse ResolveAppVersionResources(ResolveAppVersionResourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResolveAppVersionResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResolveAppVersionResourcesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ResolveAppVersionResources operation.
///
///
/// Container for the necessary parameters to execute the ResolveAppVersionResources operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndResolveAppVersionResources
/// operation.
/// REST API Reference for ResolveAppVersionResources Operation
public virtual IAsyncResult BeginResolveAppVersionResources(ResolveAppVersionResourcesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResolveAppVersionResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResolveAppVersionResourcesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ResolveAppVersionResources operation.
///
///
/// The IAsyncResult returned by the call to BeginResolveAppVersionResources.
///
/// Returns a ResolveAppVersionResourcesResult from ResilienceHub.
/// REST API Reference for ResolveAppVersionResources Operation
public virtual ResolveAppVersionResourcesResponse EndResolveAppVersionResources(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartAppAssessment
///
/// Creates a new application assessment for an application.
///
/// Container for the necessary parameters to execute the StartAppAssessment service method.
///
/// The response from the StartAppAssessment service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded your service quota. To perform the requested
/// action, remove some of the relevant resources, or use Service Quotas to request a
/// service quota increase.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for StartAppAssessment Operation
public virtual StartAppAssessmentResponse StartAppAssessment(StartAppAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartAppAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartAppAssessmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartAppAssessment operation.
///
///
/// Container for the necessary parameters to execute the StartAppAssessment operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartAppAssessment
/// operation.
/// REST API Reference for StartAppAssessment Operation
public virtual IAsyncResult BeginStartAppAssessment(StartAppAssessmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartAppAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartAppAssessmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartAppAssessment operation.
///
///
/// The IAsyncResult returned by the call to BeginStartAppAssessment.
///
/// Returns a StartAppAssessmentResult from ResilienceHub.
/// REST API Reference for StartAppAssessment Operation
public virtual StartAppAssessmentResponse EndStartAppAssessment(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Applies one or more tags to a resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from ResilienceHub.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Removes one or more tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from ResilienceHub.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateApp
///
/// Updates an application.
///
/// Container for the necessary parameters to execute the UpdateApp service method.
///
/// The response from the UpdateApp service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for UpdateApp Operation
public virtual UpdateAppResponse UpdateApp(UpdateAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateApp operation.
///
///
/// Container for the necessary parameters to execute the UpdateApp operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApp
/// operation.
/// REST API Reference for UpdateApp Operation
public virtual IAsyncResult BeginUpdateApp(UpdateAppRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateApp operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateApp.
///
/// Returns a UpdateAppResult from ResilienceHub.
/// REST API Reference for UpdateApp Operation
public virtual UpdateAppResponse EndUpdateApp(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateAppVersion
///
/// Updates the Resilience Hub application version.
///
///
///
/// This API updates the Resilience Hub application draft version. To use this information
/// for running resiliency assessments, you must publish the Resilience Hub application
/// using the PublishAppVersion
API.
///
///
///
/// Container for the necessary parameters to execute the UpdateAppVersion service method.
///
/// The response from the UpdateAppVersion service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for UpdateAppVersion Operation
public virtual UpdateAppVersionResponse UpdateAppVersion(UpdateAppVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateAppVersion operation.
///
///
/// Container for the necessary parameters to execute the UpdateAppVersion operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAppVersion
/// operation.
/// REST API Reference for UpdateAppVersion Operation
public virtual IAsyncResult BeginUpdateAppVersion(UpdateAppVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateAppVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateAppVersion.
///
/// Returns a UpdateAppVersionResult from ResilienceHub.
/// REST API Reference for UpdateAppVersion Operation
public virtual UpdateAppVersionResponse EndUpdateAppVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateAppVersionAppComponent
///
/// Updates an existing Application Component in the Resilience Hub application.
///
///
///
/// This API updates the Resilience Hub application draft version. To use this Application
/// Component for running assessments, you must publish the Resilience Hub application
/// using the PublishAppVersion
API.
///
///
///
/// Container for the necessary parameters to execute the UpdateAppVersionAppComponent service method.
///
/// The response from the UpdateAppVersionAppComponent service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for UpdateAppVersionAppComponent Operation
public virtual UpdateAppVersionAppComponentResponse UpdateAppVersionAppComponent(UpdateAppVersionAppComponentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppVersionAppComponentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppVersionAppComponentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateAppVersionAppComponent operation.
///
///
/// Container for the necessary parameters to execute the UpdateAppVersionAppComponent operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAppVersionAppComponent
/// operation.
/// REST API Reference for UpdateAppVersionAppComponent Operation
public virtual IAsyncResult BeginUpdateAppVersionAppComponent(UpdateAppVersionAppComponentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppVersionAppComponentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppVersionAppComponentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateAppVersionAppComponent operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateAppVersionAppComponent.
///
/// Returns a UpdateAppVersionAppComponentResult from ResilienceHub.
/// REST API Reference for UpdateAppVersionAppComponent Operation
public virtual UpdateAppVersionAppComponentResponse EndUpdateAppVersionAppComponent(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateAppVersionResource
///
/// Updates the resource details in the Resilience Hub application.
///
/// -
///
/// This action has no effect outside Resilience Hub.
///
///
-
///
/// This API updates the Resilience Hub application draft version. To use this resource
/// for running resiliency assessments, you must publish the Resilience Hub application
/// using the
PublishAppVersion
API.
///
/// -
///
/// To update application version with new
physicalResourceID
, you must call
/// ResolveAppVersionResources
API.
///
///
///
/// Container for the necessary parameters to execute the UpdateAppVersionResource service method.
///
/// The response from the UpdateAppVersionResource service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded your service quota. To perform the requested
/// action, remove some of the relevant resources, or use Service Quotas to request a
/// service quota increase.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for UpdateAppVersionResource Operation
public virtual UpdateAppVersionResourceResponse UpdateAppVersionResource(UpdateAppVersionResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppVersionResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppVersionResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateAppVersionResource operation.
///
///
/// Container for the necessary parameters to execute the UpdateAppVersionResource operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAppVersionResource
/// operation.
/// REST API Reference for UpdateAppVersionResource Operation
public virtual IAsyncResult BeginUpdateAppVersionResource(UpdateAppVersionResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppVersionResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppVersionResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateAppVersionResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateAppVersionResource.
///
/// Returns a UpdateAppVersionResourceResult from ResilienceHub.
/// REST API Reference for UpdateAppVersionResource Operation
public virtual UpdateAppVersionResourceResponse EndUpdateAppVersionResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateResiliencyPolicy
///
/// Updates a resiliency policy.
///
/// Container for the necessary parameters to execute the UpdateResiliencyPolicy service method.
///
/// The response from the UpdateResiliencyPolicy service method, as returned by ResilienceHub.
///
/// You don't have permissions to perform the requested operation. The user or role that
/// is making the request must have at least one IAM permissions policy attached that
/// grants the required permissions.
///
///
/// This exception occurs when a conflict with a previous successful write is detected.
/// This generally occurs when the previous write did not have time to propagate to the
/// host serving the current request. A retry (with appropriate backoff logic) is the
/// recommended response to this exception.
///
///
/// This exception occurs when there is an internal failure in the Resilience Hub service.
///
///
/// This exception occurs when the specified resource could not be found.
///
///
/// This exception occurs when you have exceeded the limit on the number of requests per
/// second.
///
///
/// This exception occurs when a request is not valid.
///
/// REST API Reference for UpdateResiliencyPolicy Operation
public virtual UpdateResiliencyPolicyResponse UpdateResiliencyPolicy(UpdateResiliencyPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResiliencyPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResiliencyPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateResiliencyPolicy operation.
///
///
/// Container for the necessary parameters to execute the UpdateResiliencyPolicy operation on AmazonResilienceHubClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateResiliencyPolicy
/// operation.
/// REST API Reference for UpdateResiliencyPolicy Operation
public virtual IAsyncResult BeginUpdateResiliencyPolicy(UpdateResiliencyPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResiliencyPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResiliencyPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateResiliencyPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateResiliencyPolicy.
///
/// Returns a UpdateResiliencyPolicyResult from ResilienceHub.
/// REST API Reference for UpdateResiliencyPolicy Operation
public virtual UpdateResiliencyPolicyResponse EndUpdateResiliencyPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}