AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

A practice run configuration for zonal autoshift is required when you enable zonal autoshift. A practice run configuration includes specifications for blocked dates and blocked time windows, and for Amazon CloudWatch alarms that you create to use with practice runs. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting.

When a resource has a practice run configuration, ARC starts zonal shifts for the resource weekly, to shift traffic for practice runs. Practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application.

For more information, see Considerations when you configure zonal autoshift in the Amazon Application Recovery Controller Developer Guide.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreatePracticeRunConfigurationAsync.

Namespace: Amazon.ARCZonalShift
Assembly: AWSSDK.ARCZonalShift.dll
Version: 3.x.y.z

Syntax

C#
public virtual CreatePracticeRunConfigurationResponse CreatePracticeRunConfiguration(
         CreatePracticeRunConfigurationRequest request
)

Parameters

request
Type: Amazon.ARCZonalShift.Model.CreatePracticeRunConfigurationRequest

Container for the necessary parameters to execute the CreatePracticeRunConfiguration service method.

Return Value


The response from the CreatePracticeRunConfiguration service method, as returned by ARCZonalShift.

Exceptions

ExceptionCondition
AccessDeniedException You do not have sufficient access to perform this action.
ConflictException The request could not be processed because of conflict in the current state of the resource.
InternalServerException There was an internal server error.
ResourceNotFoundException The input requested a resource that was not found.
ThrottlingException The request was denied due to request throttling.
ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also