Skip to content

Commit 3d4a573

Browse files
author
awstools
committed
feat(client-arc-zonal-shift): Updates to documentation and exception types for Zonal Autoshift
1 parent 7195ab0 commit 3d4a573

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

clients/client-arc-zonal-shift/src/commands/ListZonalShiftsCommand.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ export interface ListZonalShiftsCommandInput extends ListZonalShiftsRequest {}
2828
export interface ListZonalShiftsCommandOutput extends ListZonalShiftsResponse, __MetadataBearer {}
2929

3030
/**
31-
* <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.
32-
* <code>ListZonalShifts</code> returns customer-initiated zonal shifts, as well as practice run zonal shifts that ARC started on
33-
* your behalf for zonal autoshift.</p>
34-
* <p>For more information about listing
35-
* autoshifts, see <a href="https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html">"&gt;ListAutoshifts</a>.</p>
31+
* <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>
3632
* @example
3733
* Use a bare-bones client and the command you need to make an API call.
3834
* ```javascript

clients/client-arc-zonal-shift/src/models/models_0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ export interface ListAutoshiftsRequest {
104104
* Supported Amazon Web Services resources are automatically registered with ARC.</p>
105105
* <p>Autoshifts are temporary. When the Availability Zone recovers, Amazon Web Services ends the autoshift, and
106106
* traffic for the resource is no longer directed to the other Availability Zones in the Region.</p>
107-
* <p>You can stop an autoshift for a resource by disabling zonal autoshift.</p>
108107
* @public
109108
*/
110109
export interface AutoshiftSummary {
@@ -180,6 +179,7 @@ export class ThrottlingException extends __BaseException {
180179
* @enum
181180
*/
182181
export const ValidationExceptionReason = {
182+
AUTOSHIFT_UPDATE_NOT_ALLOWED: "AutoshiftUpdateNotAllowed",
183183
FIS_EXPERIMENT_UPDATE_NOT_ALLOWED: "FISExperimentUpdateNotAllowed",
184184
INVALID_ALARM_CONDITION: "InvalidAlarmCondition",
185185
INVALID_AZ: "InvalidAz",

codegen/sdk-codegen/aws-models/arc-zonal-shift.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
}
178178
},
179179
"traits": {
180-
"smithy.api#documentation": "<p>Information about an autoshift. Amazon Web Services starts an autoshift to temporarily move traffic for a resource \n\t\t\taway from an Availability Zone in an Amazon Web Services Region\n\t\t\twhen Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.\n\t\t\tYou can configure zonal autoshift in ARC for managed resources in your Amazon Web Services account in a Region. \n\t\t\tSupported Amazon Web Services resources are automatically registered with ARC.</p>\n <p>Autoshifts are temporary. When the Availability Zone recovers, Amazon Web Services ends the autoshift, and \n\t\t\ttraffic for the resource is no longer directed to the other Availability Zones in the Region.</p>\n <p>You can stop an autoshift for a resource by disabling zonal autoshift.</p>"
180+
"smithy.api#documentation": "<p>Information about an autoshift. Amazon Web Services starts an autoshift to temporarily move traffic for a resource \n\t\t\taway from an Availability Zone in an Amazon Web Services Region\n\t\t\twhen Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.\n\t\t\tYou can configure zonal autoshift in ARC for managed resources in your Amazon Web Services account in a Region. \n\t\t\tSupported Amazon Web Services resources are automatically registered with ARC.</p>\n <p>Autoshifts are temporary. When the Availability Zone recovers, Amazon Web Services ends the autoshift, and \n\t\t\ttraffic for the resource is no longer directed to the other Availability Zones in the Region.</p>"
181181
}
182182
},
183183
"com.amazonaws.arczonalshift#AutoshiftTriggerResource": {
@@ -1013,7 +1013,7 @@
10131013
}
10141014
],
10151015
"traits": {
1016-
"smithy.api#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.\n \t\t<code>ListZonalShifts</code> returns customer-initiated zonal shifts, as well as practice run zonal shifts that ARC started on \n \t\tyour behalf for zonal autoshift.</p>\n <p>For more information about listing\n \t\tautoshifts, see <a href=\"https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html\">\"&gt;ListAutoshifts</a>.</p>",
1016+
"smithy.api#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>",
10171017
"smithy.api#http": {
10181018
"method": "GET",
10191019
"uri": "/zonalshifts",
@@ -2594,6 +2594,12 @@
25942594
"traits": {
25952595
"smithy.api#enumValue": "FISExperimentUpdateNotAllowed"
25962596
}
2597+
},
2598+
"AUTOSHIFT_UPDATE_NOT_ALLOWED": {
2599+
"target": "smithy.api#Unit",
2600+
"traits": {
2601+
"smithy.api#enumValue": "AutoshiftUpdateNotAllowed"
2602+
}
25972603
}
25982604
}
25992605
},

0 commit comments

Comments
 (0)