Skip to content

Commit 9f94a1d

Browse files
Updates to documentation and exception types for Zonal Autoshift
1 parent fe7b281 commit 9f94a1d

12 files changed

+12
-73
lines changed

generator/ServiceModels/arc-zonal-shift/arc-zonal-shift-2022-10-30.api.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,8 @@
830830
"InvalidAlarmCondition",
831831
"InvalidConditionType",
832832
"InvalidPracticeBlocker",
833-
"FISExperimentUpdateNotAllowed"
833+
"FISExperimentUpdateNotAllowed",
834+
"AutoshiftUpdateNotAllowed"
834835
]
835836
},
836837
"Weight":{

generator/ServiceModels/arc-zonal-shift/arc-zonal-shift-2022-10-30.docs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"GetManagedResource": "<p>Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this Amazon Web Services Region. Resources that are registered for zonal shifts are managed resources in ARC. You can start zonal shifts and configure zonal autoshift for managed resources.</p>",
1010
"ListAutoshifts": "<p>Returns the autoshifts for an Amazon Web Services Region. By default, the call returns only <code>ACTIVE</code> autoshifts. Optionally, you can specify the <code>status</code> parameter to return <code>COMPLETED</code> autoshifts. </p>",
1111
"ListManagedResources": "<p>Lists all the resources in your Amazon Web Services account in this Amazon Web Services Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes the zonal autoshift status for the resource, as well as the Amazon Resource Name (ARN), the Availability Zones that each resource is deployed in, and the resource name.</p>",
12-
"ListZonalShifts": "<p>Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. <code>ListZonalShifts</code> returns customer-initiated zonal shifts, as well as practice run zonal shifts that ARC started on your behalf for zonal autoshift.</p> <p>For more information about listing autoshifts, see <a href=\"https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html\">\"&gt;ListAutoshifts</a>.</p>",
12+
"ListZonalShifts": "<p>Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region.</p>",
1313
"StartZonalShift": "<p>You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in an Amazon Web Services Region, to help your application recover immediately, for example, from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone. You can start a zonal shift in ARC only for managed resources in your Amazon Web Services account in an Amazon Web Services Region. Resources are automatically registered with ARC by Amazon Web Services services.</p> <p>At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.</p> <p>When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The zonal shift is created immediately in ARC. However, it can take a short time, typically up to a few minutes, for existing, in-progress connections in the Availability Zone to complete.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-shift.html\">Zonal shift</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>",
1414
"UpdateAutoshiftObserverNotificationStatus": "<p>Update the status of autoshift observer notification. Autoshift observer notification enables you to be notified, through Amazon EventBridge, when there is an autoshift event for zonal autoshift.</p> <p>If the status is <code>ENABLED</code>, ARC includes all autoshift events when you use the EventBridge pattern <code>Autoshift In Progress</code>. When the status is <code>DISABLED</code>, ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html#ZAShiftNotification\"> Notifications for practice runs and autoshifts</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>",
1515
"UpdatePracticeRunConfiguration": "<p>Update a practice run configuration to change one or more of the following: add, change, or remove the blocking alarm; change the outcome alarm; or add, change, or remove blocking dates or time windows.</p>",
@@ -69,7 +69,7 @@
6969
}
7070
},
7171
"AutoshiftSummary": {
72-
"base": "<p>Information about an autoshift. Amazon Web Services starts an autoshift to temporarily move traffic for a resource away from an Availability Zone in an Amazon Web Services Region when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers. You can configure zonal autoshift in ARC for managed resources in your Amazon Web Services account in a Region. Supported Amazon Web Services resources are automatically registered with ARC.</p> <p>Autoshifts are temporary. When the Availability Zone recovers, Amazon Web Services ends the autoshift, and traffic for the resource is no longer directed to the other Availability Zones in the Region.</p> <p>You can stop an autoshift for a resource by disabling zonal autoshift.</p>",
72+
"base": "<p>Information about an autoshift. Amazon Web Services starts an autoshift to temporarily move traffic for a resource away from an Availability Zone in an Amazon Web Services Region when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers. You can configure zonal autoshift in ARC for managed resources in your Amazon Web Services account in a Region. Supported Amazon Web Services resources are automatically registered with ARC.</p> <p>Autoshifts are temporary. When the Availability Zone recovers, Amazon Web Services ends the autoshift, and traffic for the resource is no longer directed to the other Availability Zones in the Region.</p>",
7373
"refs": {
7474
"AutoshiftSummaries$member": null
7575
}

generator/ServiceModels/arc-zonal-shift/arc-zonal-shift-2022-10-30.normal.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
{"shape":"ValidationException"},
156156
{"shape":"AccessDeniedException"}
157157
],
158-
"documentation":"<p>Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. <code>ListZonalShifts</code> returns customer-initiated zonal shifts, as well as practice run zonal shifts that ARC started on your behalf for zonal autoshift.</p> <p>For more information about listing autoshifts, see <a href=\"https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html\">\"&gt;ListAutoshifts</a>.</p>"
158+
"documentation":"<p>Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region.</p>"
159159
},
160160
"StartZonalShift":{
161161
"name":"StartZonalShift",
@@ -351,7 +351,7 @@
351351
"documentation":"<p>The status for an autoshift. </p>"
352352
}
353353
},
354-
"documentation":"<p>Information about an autoshift. Amazon Web Services starts an autoshift to temporarily move traffic for a resource away from an Availability Zone in an Amazon Web Services Region when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers. You can configure zonal autoshift in ARC for managed resources in your Amazon Web Services account in a Region. Supported Amazon Web Services resources are automatically registered with ARC.</p> <p>Autoshifts are temporary. When the Availability Zone recovers, Amazon Web Services ends the autoshift, and traffic for the resource is no longer directed to the other Availability Zones in the Region.</p> <p>You can stop an autoshift for a resource by disabling zonal autoshift.</p>"
354+
"documentation":"<p>Information about an autoshift. Amazon Web Services starts an autoshift to temporarily move traffic for a resource away from an Availability Zone in an Amazon Web Services Region when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers. You can configure zonal autoshift in ARC for managed resources in your Amazon Web Services account in a Region. Supported Amazon Web Services resources are automatically registered with ARC.</p> <p>Autoshifts are temporary. When the Availability Zone recovers, Amazon Web Services ends the autoshift, and traffic for the resource is no longer directed to the other Availability Zones in the Region.</p>"
355355
},
356356
"AutoshiftsInResource":{
357357
"type":"list",
@@ -1076,7 +1076,8 @@
10761076
"InvalidAlarmCondition",
10771077
"InvalidConditionType",
10781078
"InvalidPracticeBlocker",
1079-
"FISExperimentUpdateNotAllowed"
1079+
"FISExperimentUpdateNotAllowed",
1080+
"AutoshiftUpdateNotAllowed"
10801081
]
10811082
},
10821083
"Weight":{

sdk/src/Services/ARCZonalShift/Generated/Model/AutoshiftSummary.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ namespace Amazon.ARCZonalShift.Model
4343
/// ends the autoshift, and traffic for the resource is no longer directed to the other
4444
/// Availability Zones in the Region.
4545
/// </para>
46-
///
47-
/// <para>
48-
/// You can stop an autoshift for a resource by disabling zonal autoshift.
49-
/// </para>
5046
/// </summary>
5147
public partial class AutoshiftSummary
5248
{

sdk/src/Services/ARCZonalShift/Generated/Model/ListZonalShiftsRequest.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@ namespace Amazon.ARCZonalShift.Model
3333
/// Container for the parameters to the ListZonalShifts operation.
3434
/// Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery
3535
/// Controller in your Amazon Web Services account in this Amazon Web Services Region.
36-
/// <c>ListZonalShifts</c> returns customer-initiated zonal shifts, as well as practice
37-
/// run zonal shifts that ARC started on your behalf for zonal autoshift.
38-
///
39-
///
40-
/// <para>
41-
/// For more information about listing autoshifts, see <a href="https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html">"&gt;ListAutoshifts</a>.
42-
/// </para>
4336
/// </summary>
4437
public partial class ListZonalShiftsRequest : AmazonARCZonalShiftRequest
4538
{

sdk/src/Services/ARCZonalShift/Generated/ServiceEnumerations.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,10 @@ public static implicit operator ShiftType(string value)
462462
public class ValidationExceptionReason : ConstantClass
463463
{
464464

465+
/// <summary>
466+
/// Constant AutoshiftUpdateNotAllowed for ValidationExceptionReason
467+
/// </summary>
468+
public static readonly ValidationExceptionReason AutoshiftUpdateNotAllowed = new ValidationExceptionReason("AutoshiftUpdateNotAllowed");
465469
/// <summary>
466470
/// Constant FISExperimentUpdateNotAllowed for ValidationExceptionReason
467471
/// </summary>

sdk/src/Services/ARCZonalShift/Generated/_bcl35/AmazonARCZonalShiftClient.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -850,13 +850,6 @@ public virtual ListManagedResourcesResponse EndListManagedResources(IAsyncResult
850850
/// <summary>
851851
/// Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery
852852
/// Controller in your Amazon Web Services account in this Amazon Web Services Region.
853-
/// <c>ListZonalShifts</c> returns customer-initiated zonal shifts, as well as practice
854-
/// run zonal shifts that ARC started on your behalf for zonal autoshift.
855-
///
856-
///
857-
/// <para>
858-
/// For more information about listing autoshifts, see <a href="https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html">"&gt;ListAutoshifts</a>.
859-
/// </para>
860853
/// </summary>
861854
/// <param name="request">Container for the necessary parameters to execute the ListZonalShifts service method.</param>
862855
///

sdk/src/Services/ARCZonalShift/Generated/_bcl35/IAmazonARCZonalShift.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -534,13 +534,6 @@ public partial interface IAmazonARCZonalShift : IAmazonService, IDisposable
534534
/// <summary>
535535
/// Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery
536536
/// Controller in your Amazon Web Services account in this Amazon Web Services Region.
537-
/// <c>ListZonalShifts</c> returns customer-initiated zonal shifts, as well as practice
538-
/// run zonal shifts that ARC started on your behalf for zonal autoshift.
539-
///
540-
///
541-
/// <para>
542-
/// For more information about listing autoshifts, see <a href="https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html">"&gt;ListAutoshifts</a>.
543-
/// </para>
544537
/// </summary>
545538
/// <param name="request">Container for the necessary parameters to execute the ListZonalShifts service method.</param>
546539
///

sdk/src/Services/ARCZonalShift/Generated/_bcl45/AmazonARCZonalShiftClient.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -907,13 +907,6 @@ public virtual ListManagedResourcesResponse ListManagedResources(ListManagedReso
907907
/// <summary>
908908
/// Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery
909909
/// Controller in your Amazon Web Services account in this Amazon Web Services Region.
910-
/// <c>ListZonalShifts</c> returns customer-initiated zonal shifts, as well as practice
911-
/// run zonal shifts that ARC started on your behalf for zonal autoshift.
912-
///
913-
///
914-
/// <para>
915-
/// For more information about listing autoshifts, see <a href="https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html">"&gt;ListAutoshifts</a>.
916-
/// </para>
917910
/// </summary>
918911
/// <param name="request">Container for the necessary parameters to execute the ListZonalShifts service method.</param>
919912
///
@@ -944,13 +937,6 @@ public virtual ListZonalShiftsResponse ListZonalShifts(ListZonalShiftsRequest re
944937
/// <summary>
945938
/// Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery
946939
/// Controller in your Amazon Web Services account in this Amazon Web Services Region.
947-
/// <c>ListZonalShifts</c> returns customer-initiated zonal shifts, as well as practice
948-
/// run zonal shifts that ARC started on your behalf for zonal autoshift.
949-
///
950-
///
951-
/// <para>
952-
/// For more information about listing autoshifts, see <a href="https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html">"&gt;ListAutoshifts</a>.
953-
/// </para>
954940
/// </summary>
955941
/// <param name="request">Container for the necessary parameters to execute the ListZonalShifts service method.</param>
956942
/// <param name="cancellationToken">

sdk/src/Services/ARCZonalShift/Generated/_bcl45/IAmazonARCZonalShift.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -595,13 +595,6 @@ public partial interface IAmazonARCZonalShift : IAmazonService, IDisposable
595595
/// <summary>
596596
/// Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery
597597
/// Controller in your Amazon Web Services account in this Amazon Web Services Region.
598-
/// <c>ListZonalShifts</c> returns customer-initiated zonal shifts, as well as practice
599-
/// run zonal shifts that ARC started on your behalf for zonal autoshift.
600-
///
601-
///
602-
/// <para>
603-
/// For more information about listing autoshifts, see <a href="https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html">"&gt;ListAutoshifts</a>.
604-
/// </para>
605598
/// </summary>
606599
/// <param name="request">Container for the necessary parameters to execute the ListZonalShifts service method.</param>
607600
///
@@ -626,13 +619,6 @@ public partial interface IAmazonARCZonalShift : IAmazonService, IDisposable
626619
/// <summary>
627620
/// Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery
628621
/// Controller in your Amazon Web Services account in this Amazon Web Services Region.
629-
/// <c>ListZonalShifts</c> returns customer-initiated zonal shifts, as well as practice
630-
/// run zonal shifts that ARC started on your behalf for zonal autoshift.
631-
///
632-
///
633-
/// <para>
634-
/// For more information about listing autoshifts, see <a href="https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html">"&gt;ListAutoshifts</a>.
635-
/// </para>
636622
/// </summary>
637623
/// <param name="request">Container for the necessary parameters to execute the ListZonalShifts service method.</param>
638624
/// <param name="cancellationToken">

0 commit comments

Comments
 (0)