@aws-sdk/client-arc-zonal-shift 3.775.0 → 3.776.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist-cjs/index.js +13 -1
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/ARCZonalShift.d.ts +3 -3
- package/dist-types/ARCZonalShiftClient.d.ts +3 -3
- package/dist-types/commands/CreatePracticeRunConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetAutoshiftObserverNotificationStatusCommand.d.ts +2 -11
- package/dist-types/commands/GetManagedResourceCommand.d.ts +2 -2
- package/dist-types/commands/ListAutoshiftsCommand.d.ts +2 -2
- package/dist-types/commands/ListManagedResourcesCommand.d.ts +1 -0
- package/dist-types/commands/ListZonalShiftsCommand.d.ts +3 -2
- package/dist-types/commands/StartZonalShiftCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAutoshiftObserverNotificationStatusCommand.d.ts +2 -2
- package/dist-types/commands/UpdateZonalShiftCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +64 -38
- package/dist-types/ts3.4/models/models_0.d.ts +12 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript ARCZonalShift Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Welcome to the API Reference Guide for zonal shift and zonal autoshift in Amazon Route 53 Application Recovery Controller (
|
|
9
|
+
<p>Welcome to the API Reference Guide for zonal shift and zonal autoshift in Amazon Route 53 Application Recovery Controller (ARC).</p>
|
|
10
10
|
<p>You can start a zonal shift to move traffic for a load balancer resource away from an Availability Zone to
|
|
11
11
|
help your application recover quickly from an impairment in an Availability Zone. For example,
|
|
12
12
|
you can recover your application from a developer's bad code deployment or from an
|
|
13
13
|
Amazon Web Services infrastructure failure in a single Availability Zone.</p>
|
|
14
14
|
<p>You can also configure zonal autoshift for supported load balancer resources. Zonal autoshift
|
|
15
|
-
is a capability in
|
|
15
|
+
is a capability in ARC where you authorize Amazon Web Services to shift away application resource
|
|
16
16
|
traffic from an Availability Zone during events, on your behalf, to help reduce your time to recovery.
|
|
17
17
|
Amazon Web Services starts an autoshift when internal telemetry indicates that there is an Availability
|
|
18
18
|
Zone impairment that could potentially impact customers.</p>
|
|
@@ -33,7 +33,7 @@ pre-scaling, can result in loss of availability.</p>
|
|
|
33
33
|
the minimum capacity of your auto scaling to continue operating normally with the loss of an
|
|
34
34
|
Availability Zone. </p>
|
|
35
35
|
</important>
|
|
36
|
-
<p>Be aware that
|
|
36
|
+
<p>Be aware that ARC does not inspect the health of individual resources. Amazon Web Services only starts an
|
|
37
37
|
autoshift when Amazon Web Services telemetry detects that there is an Availability Zone impairment that could
|
|
38
38
|
potentially impact customers. In some cases, resources might be shifted away that are not experiencing
|
|
39
39
|
impact.</p>
|
package/dist-cjs/index.js
CHANGED
|
@@ -43,6 +43,7 @@ __export(index_exports, {
|
|
|
43
43
|
ListZonalShiftsCommand: () => ListZonalShiftsCommand,
|
|
44
44
|
PracticeRunOutcome: () => PracticeRunOutcome,
|
|
45
45
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
46
|
+
ShiftType: () => ShiftType,
|
|
46
47
|
StartZonalShiftCommand: () => StartZonalShiftCommand,
|
|
47
48
|
ThrottlingException: () => ThrottlingException,
|
|
48
49
|
UpdateAutoshiftObserverNotificationStatusCommand: () => UpdateAutoshiftObserverNotificationStatusCommand,
|
|
@@ -293,6 +294,7 @@ var ThrottlingException = class _ThrottlingException extends ARCZonalShiftServic
|
|
|
293
294
|
}
|
|
294
295
|
};
|
|
295
296
|
var ValidationExceptionReason = {
|
|
297
|
+
FIS_EXPERIMENT_UPDATE_NOT_ALLOWED: "FISExperimentUpdateNotAllowed",
|
|
296
298
|
INVALID_ALARM_CONDITION: "InvalidAlarmCondition",
|
|
297
299
|
INVALID_AZ: "InvalidAz",
|
|
298
300
|
INVALID_CONDITION_TYPE: "InvalidConditionType",
|
|
@@ -341,6 +343,7 @@ var ConflictExceptionReason = {
|
|
|
341
343
|
PRACTICE_CONFIGURATION_ALREADY_EXISTS: "PracticeConfigurationAlreadyExists",
|
|
342
344
|
PRACTICE_CONFIGURATION_DOES_NOT_EXIST: "PracticeConfigurationDoesNotExist",
|
|
343
345
|
SIMULTANEOUS_ZONAL_SHIFTS_CONFLICT: "SimultaneousZonalShiftsConflict",
|
|
346
|
+
ZONAL_AUTOSHIFT_ACTIVE: "ZonalAutoshiftActive",
|
|
344
347
|
ZONAL_SHIFT_ALREADY_EXISTS: "ZonalShiftAlreadyExists",
|
|
345
348
|
ZONAL_SHIFT_STATUS_NOT_ACTIVE: "ZonalShiftStatusNotActive"
|
|
346
349
|
};
|
|
@@ -410,6 +413,12 @@ var PracticeRunOutcome = {
|
|
|
410
413
|
PENDING: "PENDING",
|
|
411
414
|
SUCCEEDED: "SUCCEEDED"
|
|
412
415
|
};
|
|
416
|
+
var ShiftType = {
|
|
417
|
+
FIS_EXPERIMENT: "FIS_EXPERIMENT",
|
|
418
|
+
PRACTICE_RUN: "PRACTICE_RUN",
|
|
419
|
+
ZONAL_AUTOSHIFT: "ZONAL_AUTOSHIFT",
|
|
420
|
+
ZONAL_SHIFT: "ZONAL_SHIFT"
|
|
421
|
+
};
|
|
413
422
|
|
|
414
423
|
// src/protocols/Aws_restJson1.ts
|
|
415
424
|
var se_CancelZonalShiftCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -986,6 +995,7 @@ var de_ZonalShiftInResource = /* @__PURE__ */ __name((output, context) => {
|
|
|
986
995
|
expiryTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiryTime"),
|
|
987
996
|
practiceRunOutcome: import_smithy_client.expectString,
|
|
988
997
|
resourceIdentifier: import_smithy_client.expectString,
|
|
998
|
+
shiftType: import_smithy_client.expectString,
|
|
989
999
|
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
|
|
990
1000
|
zonalShiftId: import_smithy_client.expectString
|
|
991
1001
|
});
|
|
@@ -1009,6 +1019,7 @@ var de_ZonalShiftSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1009
1019
|
expiryTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiryTime"),
|
|
1010
1020
|
practiceRunOutcome: import_smithy_client.expectString,
|
|
1011
1021
|
resourceIdentifier: import_smithy_client.expectString,
|
|
1022
|
+
shiftType: import_smithy_client.expectString,
|
|
1012
1023
|
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
|
|
1013
1024
|
status: import_smithy_client.expectString,
|
|
1014
1025
|
zonalShiftId: import_smithy_client.expectString
|
|
@@ -1290,6 +1301,7 @@ var paginateListZonalShifts = (0, import_core.createPaginator)(ARCZonalShiftClie
|
|
|
1290
1301
|
ZonalShiftStatus,
|
|
1291
1302
|
ControlConditionType,
|
|
1292
1303
|
ZonalAutoshiftStatus,
|
|
1293
|
-
PracticeRunOutcome
|
|
1304
|
+
PracticeRunOutcome,
|
|
1305
|
+
ShiftType
|
|
1294
1306
|
});
|
|
1295
1307
|
|
|
@@ -44,6 +44,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
export const ValidationExceptionReason = {
|
|
47
|
+
FIS_EXPERIMENT_UPDATE_NOT_ALLOWED: "FISExperimentUpdateNotAllowed",
|
|
47
48
|
INVALID_ALARM_CONDITION: "InvalidAlarmCondition",
|
|
48
49
|
INVALID_AZ: "InvalidAz",
|
|
49
50
|
INVALID_CONDITION_TYPE: "InvalidConditionType",
|
|
@@ -82,6 +83,7 @@ export const ConflictExceptionReason = {
|
|
|
82
83
|
PRACTICE_CONFIGURATION_ALREADY_EXISTS: "PracticeConfigurationAlreadyExists",
|
|
83
84
|
PRACTICE_CONFIGURATION_DOES_NOT_EXIST: "PracticeConfigurationDoesNotExist",
|
|
84
85
|
SIMULTANEOUS_ZONAL_SHIFTS_CONFLICT: "SimultaneousZonalShiftsConflict",
|
|
86
|
+
ZONAL_AUTOSHIFT_ACTIVE: "ZonalAutoshiftActive",
|
|
85
87
|
ZONAL_SHIFT_ALREADY_EXISTS: "ZonalShiftAlreadyExists",
|
|
86
88
|
ZONAL_SHIFT_STATUS_NOT_ACTIVE: "ZonalShiftStatusNotActive",
|
|
87
89
|
};
|
|
@@ -131,3 +133,9 @@ export const PracticeRunOutcome = {
|
|
|
131
133
|
PENDING: "PENDING",
|
|
132
134
|
SUCCEEDED: "SUCCEEDED",
|
|
133
135
|
};
|
|
136
|
+
export const ShiftType = {
|
|
137
|
+
FIS_EXPERIMENT: "FIS_EXPERIMENT",
|
|
138
|
+
PRACTICE_RUN: "PRACTICE_RUN",
|
|
139
|
+
ZONAL_AUTOSHIFT: "ZONAL_AUTOSHIFT",
|
|
140
|
+
ZONAL_SHIFT: "ZONAL_SHIFT",
|
|
141
|
+
};
|
|
@@ -571,6 +571,7 @@ const de_ZonalShiftInResource = (output, context) => {
|
|
|
571
571
|
expiryTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
572
572
|
practiceRunOutcome: __expectString,
|
|
573
573
|
resourceIdentifier: __expectString,
|
|
574
|
+
shiftType: __expectString,
|
|
574
575
|
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
575
576
|
zonalShiftId: __expectString,
|
|
576
577
|
});
|
|
@@ -598,6 +599,7 @@ const de_ZonalShiftSummary = (output, context) => {
|
|
|
598
599
|
expiryTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
599
600
|
practiceRunOutcome: __expectString,
|
|
600
601
|
resourceIdentifier: __expectString,
|
|
602
|
+
shiftType: __expectString,
|
|
601
603
|
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
602
604
|
status: __expectString,
|
|
603
605
|
zonalShiftId: __expectString,
|
|
@@ -98,13 +98,13 @@ export interface ARCZonalShift {
|
|
|
98
98
|
updateZonalShift(args: UpdateZonalShiftCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateZonalShiftCommandOutput) => void): void;
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
101
|
-
* <p>Welcome to the API Reference Guide for zonal shift and zonal autoshift in Amazon Route 53 Application Recovery Controller (
|
|
101
|
+
* <p>Welcome to the API Reference Guide for zonal shift and zonal autoshift in Amazon Route 53 Application Recovery Controller (ARC).</p>
|
|
102
102
|
* <p>You can start a zonal shift to move traffic for a load balancer resource away from an Availability Zone to
|
|
103
103
|
* help your application recover quickly from an impairment in an Availability Zone. For example,
|
|
104
104
|
* you can recover your application from a developer's bad code deployment or from an
|
|
105
105
|
* Amazon Web Services infrastructure failure in a single Availability Zone.</p>
|
|
106
106
|
* <p>You can also configure zonal autoshift for supported load balancer resources. Zonal autoshift
|
|
107
|
-
* is a capability in
|
|
107
|
+
* is a capability in ARC where you authorize Amazon Web Services to shift away application resource
|
|
108
108
|
* traffic from an Availability Zone during events, on your behalf, to help reduce your time to recovery.
|
|
109
109
|
* Amazon Web Services starts an autoshift when internal telemetry indicates that there is an Availability
|
|
110
110
|
* Zone impairment that could potentially impact customers.</p>
|
|
@@ -125,7 +125,7 @@ export interface ARCZonalShift {
|
|
|
125
125
|
* the minimum capacity of your auto scaling to continue operating normally with the loss of an
|
|
126
126
|
* Availability Zone. </p>
|
|
127
127
|
* </important>
|
|
128
|
-
* <p>Be aware that
|
|
128
|
+
* <p>Be aware that ARC does not inspect the health of individual resources. Amazon Web Services only starts an
|
|
129
129
|
* autoshift when Amazon Web Services telemetry detects that there is an Availability Zone impairment that could
|
|
130
130
|
* potentially impact customers. In some cases, resources might be shifted away that are not experiencing
|
|
131
131
|
* impact.</p>
|
|
@@ -182,13 +182,13 @@ export type ARCZonalShiftClientResolvedConfigType = __SmithyResolvedConfiguratio
|
|
|
182
182
|
export interface ARCZonalShiftClientResolvedConfig extends ARCZonalShiftClientResolvedConfigType {
|
|
183
183
|
}
|
|
184
184
|
/**
|
|
185
|
-
* <p>Welcome to the API Reference Guide for zonal shift and zonal autoshift in Amazon Route 53 Application Recovery Controller (
|
|
185
|
+
* <p>Welcome to the API Reference Guide for zonal shift and zonal autoshift in Amazon Route 53 Application Recovery Controller (ARC).</p>
|
|
186
186
|
* <p>You can start a zonal shift to move traffic for a load balancer resource away from an Availability Zone to
|
|
187
187
|
* help your application recover quickly from an impairment in an Availability Zone. For example,
|
|
188
188
|
* you can recover your application from a developer's bad code deployment or from an
|
|
189
189
|
* Amazon Web Services infrastructure failure in a single Availability Zone.</p>
|
|
190
190
|
* <p>You can also configure zonal autoshift for supported load balancer resources. Zonal autoshift
|
|
191
|
-
* is a capability in
|
|
191
|
+
* is a capability in ARC where you authorize Amazon Web Services to shift away application resource
|
|
192
192
|
* traffic from an Availability Zone during events, on your behalf, to help reduce your time to recovery.
|
|
193
193
|
* Amazon Web Services starts an autoshift when internal telemetry indicates that there is an Availability
|
|
194
194
|
* Zone impairment that could potentially impact customers.</p>
|
|
@@ -209,7 +209,7 @@ export interface ARCZonalShiftClientResolvedConfig extends ARCZonalShiftClientRe
|
|
|
209
209
|
* the minimum capacity of your auto scaling to continue operating normally with the loss of an
|
|
210
210
|
* Availability Zone. </p>
|
|
211
211
|
* </important>
|
|
212
|
-
* <p>Be aware that
|
|
212
|
+
* <p>Be aware that ARC does not inspect the health of individual resources. Amazon Web Services only starts an
|
|
213
213
|
* autoshift when Amazon Web Services telemetry detects that there is an Availability Zone impairment that could
|
|
214
214
|
* potentially impact customers. In some cases, resources might be shifted away that are not experiencing
|
|
215
215
|
* impact.</p>
|
|
@@ -32,7 +32,7 @@ declare const CreatePracticeRunConfigurationCommand_base: {
|
|
|
32
32
|
* and for Amazon CloudWatch alarms that you create to use with practice runs. The alarms that you specify are an
|
|
33
33
|
* <i>outcome alarm</i>, to monitor application health during practice runs and,
|
|
34
34
|
* optionally, a <i>blocking alarm</i>, to block practice runs from starting.</p>
|
|
35
|
-
* <p>When a resource has a practice run configuration,
|
|
35
|
+
* <p>When a resource has a practice run configuration, ARC starts zonal shifts for the resource
|
|
36
36
|
* weekly, to shift traffic for practice runs. Practice runs help you to ensure that
|
|
37
37
|
* shifting away traffic from an Availability Zone during an autoshift is safe for your application.</p>
|
|
38
38
|
* <p>For more information, see
|
|
@@ -27,17 +27,8 @@ declare const GetAutoshiftObserverNotificationStatusCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns the status of autoshift observer notification. Autoshift observer
|
|
31
|
-
*
|
|
32
|
-
* there is an autoshift event for zonal autoshift.</p>
|
|
33
|
-
* <p>If the status is <code>ENABLED</code>,
|
|
34
|
-
* Route 53 ARC includes all autoshift events when you use the EventBridge pattern
|
|
35
|
-
* <code>Autoshift In Progress</code>. When the status is <code>DISABLED</code>,
|
|
36
|
-
* Route 53 ARC includes only autoshift events for autoshifts when one or more of your
|
|
37
|
-
* resources is included in the autoshift.</p>
|
|
38
|
-
* <p>For more information, see
|
|
39
|
-
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html#ZAShiftNotification">
|
|
40
|
-
* Notifications for practice runs and autoshifts</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
30
|
+
* <p>Returns the status of the autoshift observer notification. Autoshift observer notifications notify you through Amazon EventBridge when there is an autoshift event for zonal autoshift. The status can be <code>ENABLED</code> or <code>DISABLED</code>. When <code>ENABLED</code>, a notification is sent when an autoshift is triggered. When <code>DISABLED</code>, notifications are not sent.
|
|
31
|
+
* </p>
|
|
41
32
|
* @example
|
|
42
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
34
|
* ```javascript
|
|
@@ -28,8 +28,7 @@ declare const GetManagedResourceCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <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
|
|
31
|
-
* zonal shifts are managed resources in
|
|
32
|
-
* <p>At this time, you can only start a zonal shift or configure zonal autoshift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.</p>
|
|
31
|
+
* zonal shifts are managed resources in ARC. You can start zonal shifts and configure zonal autoshift for managed resources.</p>
|
|
33
32
|
* @example
|
|
34
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
34
|
* ```javascript
|
|
@@ -56,6 +55,7 @@ declare const GetManagedResourceCommand_base: {
|
|
|
56
55
|
* // expiryTime: new Date("TIMESTAMP"), // required
|
|
57
56
|
* // startTime: new Date("TIMESTAMP"), // required
|
|
58
57
|
* // comment: "STRING_VALUE", // required
|
|
58
|
+
* // shiftType: "ZONAL_SHIFT" || "PRACTICE_RUN" || "FIS_EXPERIMENT" || "ZONAL_AUTOSHIFT",
|
|
59
59
|
* // practiceRunOutcome: "FAILED" || "INTERRUPTED" || "PENDING" || "SUCCEEDED",
|
|
60
60
|
* // },
|
|
61
61
|
* // ],
|
|
@@ -27,7 +27,7 @@ declare const ListAutoshiftsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns
|
|
30
|
+
* <p>Returns the autoshifts for an Amazon Web Services Region. By default, the call returns
|
|
31
31
|
* only <code>ACTIVE</code> autoshifts. Optionally, you can specify the <code>status</code> parameter to return
|
|
32
32
|
* <code>COMPLETED</code> autoshifts.
|
|
33
33
|
* </p>
|
|
@@ -48,7 +48,7 @@ declare const ListAutoshiftsCommand_base: {
|
|
|
48
48
|
* // items: [ // AutoshiftSummaries
|
|
49
49
|
* // { // AutoshiftSummary
|
|
50
50
|
* // awayFrom: "STRING_VALUE", // required
|
|
51
|
-
* // endTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
52
52
|
* // startTime: new Date("TIMESTAMP"), // required
|
|
53
53
|
* // status: "ACTIVE" || "COMPLETED", // required
|
|
54
54
|
* // },
|
|
@@ -63,6 +63,7 @@ declare const ListManagedResourcesCommand_base: {
|
|
|
63
63
|
* // expiryTime: new Date("TIMESTAMP"), // required
|
|
64
64
|
* // startTime: new Date("TIMESTAMP"), // required
|
|
65
65
|
* // comment: "STRING_VALUE", // required
|
|
66
|
+
* // shiftType: "ZONAL_SHIFT" || "PRACTICE_RUN" || "FIS_EXPERIMENT" || "ZONAL_AUTOSHIFT",
|
|
66
67
|
* // practiceRunOutcome: "FAILED" || "INTERRUPTED" || "PENDING" || "SUCCEEDED",
|
|
67
68
|
* // },
|
|
68
69
|
* // ],
|
|
@@ -28,9 +28,9 @@ declare const ListZonalShiftsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <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.
|
|
31
|
-
* <code>ListZonalShifts</code> returns customer-initiated zonal shifts, as well as practice run zonal shifts that
|
|
31
|
+
* <code>ListZonalShifts</code> returns customer-initiated zonal shifts, as well as practice run zonal shifts that ARC started on
|
|
32
32
|
* your behalf for zonal autoshift.</p>
|
|
33
|
-
* <p>
|
|
33
|
+
* <p>For more information about listing
|
|
34
34
|
* autoshifts, see <a href="https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html">">ListAutoshifts</a>.</p>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -56,6 +56,7 @@ declare const ListZonalShiftsCommand_base: {
|
|
|
56
56
|
* // startTime: new Date("TIMESTAMP"), // required
|
|
57
57
|
* // status: "ACTIVE" || "EXPIRED" || "CANCELED", // required
|
|
58
58
|
* // comment: "STRING_VALUE", // required
|
|
59
|
+
* // shiftType: "ZONAL_SHIFT" || "PRACTICE_RUN" || "FIS_EXPERIMENT" || "ZONAL_AUTOSHIFT",
|
|
59
60
|
* // practiceRunOutcome: "FAILED" || "INTERRUPTED" || "PENDING" || "SUCCEEDED",
|
|
60
61
|
* // },
|
|
61
62
|
* // ],
|
|
@@ -29,12 +29,12 @@ declare const StartZonalShiftCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in an Amazon Web Services Region,
|
|
31
31
|
* to help your application recover immediately, for example, from a developer's bad code deployment or from an Amazon Web Services
|
|
32
|
-
* infrastructure failure in a single Availability Zone. You can start a zonal shift in
|
|
33
|
-
* resources in your Amazon Web Services account in an Amazon Web Services Region. Resources are automatically registered with
|
|
32
|
+
* infrastructure failure in a single Availability Zone. You can start a zonal shift in ARC only for managed
|
|
33
|
+
* resources in your Amazon Web Services account in an Amazon Web Services Region. Resources are automatically registered with ARC
|
|
34
34
|
* by Amazon Web Services services.</p>
|
|
35
35
|
* <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>
|
|
36
36
|
* <p>When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The
|
|
37
|
-
* zonal shift is created immediately in
|
|
37
|
+
* zonal shift is created immediately in ARC. However, it can take a short time, typically up to a few minutes,
|
|
38
38
|
* for existing, in-progress connections in the Availability Zone to complete.</p>
|
|
39
39
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-shift.html">Zonal shift</a>
|
|
40
40
|
* in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
@@ -31,9 +31,9 @@ declare const UpdateAutoshiftObserverNotificationStatusCommand_base: {
|
|
|
31
31
|
* notification enables you to be notified, through Amazon EventBridge, when
|
|
32
32
|
* there is an autoshift event for zonal autoshift.</p>
|
|
33
33
|
* <p>If the status is <code>ENABLED</code>,
|
|
34
|
-
*
|
|
34
|
+
* ARC includes all autoshift events when you use the EventBridge pattern
|
|
35
35
|
* <code>Autoshift In Progress</code>. When the status is <code>DISABLED</code>,
|
|
36
|
-
*
|
|
36
|
+
* ARC includes only autoshift events for autoshifts when one or more of your
|
|
37
37
|
* resources is included in the autoshift.</p>
|
|
38
38
|
* <p>For more information, see
|
|
39
39
|
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html#ZAShiftNotification">
|
|
@@ -28,7 +28,7 @@ declare const UpdateZonalShiftCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account. You can update a zonal shift to set a new expiration, or
|
|
31
|
-
*
|
|
31
|
+
* edit or replace the comment for the zonal shift.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>Welcome to the API Reference Guide for zonal shift and zonal autoshift in Amazon Route 53 Application Recovery Controller (
|
|
2
|
+
* <p>Welcome to the API Reference Guide for zonal shift and zonal autoshift in Amazon Route 53 Application Recovery Controller (ARC).</p>
|
|
3
3
|
* <p>You can start a zonal shift to move traffic for a load balancer resource away from an Availability Zone to
|
|
4
4
|
* help your application recover quickly from an impairment in an Availability Zone. For example,
|
|
5
5
|
* you can recover your application from a developer's bad code deployment or from an
|
|
6
6
|
* Amazon Web Services infrastructure failure in a single Availability Zone.</p>
|
|
7
7
|
* <p>You can also configure zonal autoshift for supported load balancer resources. Zonal autoshift
|
|
8
|
-
* is a capability in
|
|
8
|
+
* is a capability in ARC where you authorize Amazon Web Services to shift away application resource
|
|
9
9
|
* traffic from an Availability Zone during events, on your behalf, to help reduce your time to recovery.
|
|
10
10
|
* Amazon Web Services starts an autoshift when internal telemetry indicates that there is an Availability
|
|
11
11
|
* Zone impairment that could potentially impact customers.</p>
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* the minimum capacity of your auto scaling to continue operating normally with the loss of an
|
|
27
27
|
* Availability Zone. </p>
|
|
28
28
|
* </important>
|
|
29
|
-
* <p>Be aware that
|
|
29
|
+
* <p>Be aware that ARC does not inspect the health of individual resources. Amazon Web Services only starts an
|
|
30
30
|
* autoshift when Amazon Web Services telemetry detects that there is an Availability Zone impairment that could
|
|
31
31
|
* potentially impact customers. In some cases, resources might be shifted away that are not experiencing
|
|
32
32
|
* impact.</p>
|
|
@@ -53,9 +53,9 @@ export type AutoshiftExecutionStatus = (typeof AutoshiftExecutionStatus)[keyof t
|
|
|
53
53
|
*/
|
|
54
54
|
export interface ListAutoshiftsRequest {
|
|
55
55
|
/**
|
|
56
|
-
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>
|
|
56
|
+
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the
|
|
57
57
|
* previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous
|
|
58
|
-
* call's <code>
|
|
58
|
+
* call's <code>nextToken</code> response to request the next page of results.</p>
|
|
59
59
|
* @public
|
|
60
60
|
*/
|
|
61
61
|
nextToken?: string | undefined;
|
|
@@ -74,8 +74,8 @@ export interface ListAutoshiftsRequest {
|
|
|
74
74
|
* <p>Information about an autoshift. Amazon Web Services starts an autoshift to temporarily move traffic for a resource
|
|
75
75
|
* away from an Availability Zone in an Amazon Web Services Region
|
|
76
76
|
* when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.
|
|
77
|
-
* You can configure zonal autoshift in
|
|
78
|
-
* Supported Amazon Web Services resources are automatically registered with
|
|
77
|
+
* You can configure zonal autoshift in ARC for managed resources in your Amazon Web Services account in a Region.
|
|
78
|
+
* Supported Amazon Web Services resources are automatically registered with ARC.</p>
|
|
79
79
|
* <p>Autoshifts are temporary. When the Availability Zone recovers, Amazon Web Services ends the autoshift, and
|
|
80
80
|
* traffic for the resource is no longer directed to the other Availability Zones in the Region.</p>
|
|
81
81
|
* <p>You can stop an autoshift for a resource by disabling zonal autoshift.</p>
|
|
@@ -94,7 +94,7 @@ export interface AutoshiftSummary {
|
|
|
94
94
|
* <p>The time (in UTC) when the autoshift ended.</p>
|
|
95
95
|
* @public
|
|
96
96
|
*/
|
|
97
|
-
endTime
|
|
97
|
+
endTime?: Date | undefined;
|
|
98
98
|
/**
|
|
99
99
|
* <p>The time (in UTC) when the autoshift started.</p>
|
|
100
100
|
* @public
|
|
@@ -116,9 +116,9 @@ export interface ListAutoshiftsResponse {
|
|
|
116
116
|
*/
|
|
117
117
|
items?: AutoshiftSummary[] | undefined;
|
|
118
118
|
/**
|
|
119
|
-
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>
|
|
119
|
+
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the
|
|
120
120
|
* previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous
|
|
121
|
-
* call's <code>
|
|
121
|
+
* call's <code>nextToken</code> response to request the next page of results.</p>
|
|
122
122
|
* @public
|
|
123
123
|
*/
|
|
124
124
|
nextToken?: string | undefined;
|
|
@@ -140,6 +140,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
140
140
|
* @enum
|
|
141
141
|
*/
|
|
142
142
|
export declare const ValidationExceptionReason: {
|
|
143
|
+
readonly FIS_EXPERIMENT_UPDATE_NOT_ALLOWED: "FISExperimentUpdateNotAllowed";
|
|
143
144
|
readonly INVALID_ALARM_CONDITION: "InvalidAlarmCondition";
|
|
144
145
|
readonly INVALID_AZ: "InvalidAz";
|
|
145
146
|
readonly INVALID_CONDITION_TYPE: "InvalidConditionType";
|
|
@@ -245,9 +246,9 @@ export type AutoshiftObserverNotificationStatus = (typeof AutoshiftObserverNotif
|
|
|
245
246
|
export interface GetAutoshiftObserverNotificationStatusResponse {
|
|
246
247
|
/**
|
|
247
248
|
* <p>The status of autoshift observer notification. If the status is <code>ENABLED</code>,
|
|
248
|
-
*
|
|
249
|
+
* ARC includes all autoshift events when you use the Amazon EventBridge pattern
|
|
249
250
|
* <code>Autoshift In Progress</code>. When the status is <code>DISABLED</code>,
|
|
250
|
-
*
|
|
251
|
+
* ARC includes only autoshift events for autoshifts when one or more of your
|
|
251
252
|
* resources is included in the autoshift. </p>
|
|
252
253
|
* @public
|
|
253
254
|
*/
|
|
@@ -259,9 +260,9 @@ export interface GetAutoshiftObserverNotificationStatusResponse {
|
|
|
259
260
|
export interface UpdateAutoshiftObserverNotificationStatusRequest {
|
|
260
261
|
/**
|
|
261
262
|
* <p>The status to set for autoshift observer notification. If the status is <code>ENABLED</code>,
|
|
262
|
-
*
|
|
263
|
+
* ARC includes all autoshift events when you use the Amazon EventBridge pattern
|
|
263
264
|
* <code>Autoshift In Progress</code>. When the status is <code>DISABLED</code>,
|
|
264
|
-
*
|
|
265
|
+
* ARC includes only autoshift events for autoshifts when one or more of your
|
|
265
266
|
* resources is included in the autoshift. </p>
|
|
266
267
|
* @public
|
|
267
268
|
*/
|
|
@@ -296,6 +297,7 @@ export declare const ConflictExceptionReason: {
|
|
|
296
297
|
readonly PRACTICE_CONFIGURATION_ALREADY_EXISTS: "PracticeConfigurationAlreadyExists";
|
|
297
298
|
readonly PRACTICE_CONFIGURATION_DOES_NOT_EXIST: "PracticeConfigurationDoesNotExist";
|
|
298
299
|
readonly SIMULTANEOUS_ZONAL_SHIFTS_CONFLICT: "SimultaneousZonalShiftsConflict";
|
|
300
|
+
readonly ZONAL_AUTOSHIFT_ACTIVE: "ZonalAutoshiftActive";
|
|
299
301
|
readonly ZONAL_SHIFT_ALREADY_EXISTS: "ZonalShiftAlreadyExists";
|
|
300
302
|
readonly ZONAL_SHIFT_STATUS_NOT_ACTIVE: "ZonalShiftStatusNotActive";
|
|
301
303
|
};
|
|
@@ -375,7 +377,7 @@ export interface ZonalShift {
|
|
|
375
377
|
* <p>The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift.
|
|
376
378
|
* You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift
|
|
377
379
|
* to set a new expiration at any time. </p>
|
|
378
|
-
* <p>When you start a zonal shift, you specify how long you want it to be active, which
|
|
380
|
+
* <p>When you start a zonal shift, you specify how long you want it to be active, which ARC converts
|
|
379
381
|
* to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or
|
|
380
382
|
* just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.</p>
|
|
381
383
|
* @public
|
|
@@ -462,7 +464,7 @@ export interface CreatePracticeRunConfigurationRequest {
|
|
|
462
464
|
*/
|
|
463
465
|
resourceIdentifier: string | undefined;
|
|
464
466
|
/**
|
|
465
|
-
* <p>Optionally, you can block
|
|
467
|
+
* <p>Optionally, you can block ARC from starting practice runs for specific windows of
|
|
466
468
|
* days and times. </p>
|
|
467
469
|
* <p>The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates,
|
|
468
470
|
* that dates and times for practice runs are in UTC. Also, be aware of potential time adjustments
|
|
@@ -476,7 +478,7 @@ export interface CreatePracticeRunConfigurationRequest {
|
|
|
476
478
|
*/
|
|
477
479
|
blockedWindows?: string[] | undefined;
|
|
478
480
|
/**
|
|
479
|
-
* <p>Optionally, you can block
|
|
481
|
+
* <p>Optionally, you can block ARC from starting practice runs for a resource
|
|
480
482
|
* on specific calendar dates.</p>
|
|
481
483
|
* <p>The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you specify dates,
|
|
482
484
|
* that dates and times for practice runs are in UTC. Separate multiple blocked
|
|
@@ -489,7 +491,7 @@ export interface CreatePracticeRunConfigurationRequest {
|
|
|
489
491
|
blockedDates?: string[] | undefined;
|
|
490
492
|
/**
|
|
491
493
|
* <p>An Amazon CloudWatch alarm that you can specify for zonal autoshift
|
|
492
|
-
* practice runs. This alarm blocks
|
|
494
|
+
* practice runs. This alarm blocks ARC from starting practice run zonal
|
|
493
495
|
* shifts, and ends a practice run that's in progress, when the alarm is in
|
|
494
496
|
* an <code>ALARM</code> state. </p>
|
|
495
497
|
* @public
|
|
@@ -500,7 +502,7 @@ export interface CreatePracticeRunConfigurationRequest {
|
|
|
500
502
|
* Amazon CloudWatch alarm that you specify that ends a practice run when the
|
|
501
503
|
* alarm is in an <code>ALARM</code> state.</p>
|
|
502
504
|
* <p>Configure the alarm to monitor the health of your application
|
|
503
|
-
* when traffic is shifted away from an Availability Zone during each
|
|
505
|
+
* when traffic is shifted away from an Availability Zone during each
|
|
504
506
|
* practice run. You should configure the alarm to go into an <code>ALARM</code> state
|
|
505
507
|
* if your application is impacted by the zonal shift, and you want to stop the
|
|
506
508
|
* zonal shift, to let traffic for the resource return to the Availability Zone.</p>
|
|
@@ -511,8 +513,8 @@ export interface CreatePracticeRunConfigurationRequest {
|
|
|
511
513
|
/**
|
|
512
514
|
* <p>A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice
|
|
513
515
|
* run, as well as any blocked dates or blocked windows for the practice run. When a resource has a practice run
|
|
514
|
-
* configuration,
|
|
515
|
-
* <p>Practice runs are required for zonal autoshift. The zonal shifts that
|
|
516
|
+
* configuration, ARC shifts traffic for the resource weekly for practice runs.</p>
|
|
517
|
+
* <p>Practice runs are required for zonal autoshift. The zonal shifts that ARC starts for practice runs help you to ensure that
|
|
516
518
|
* shifting away traffic from an Availability Zone during an autoshift is safe for your application.</p>
|
|
517
519
|
* <p>You can update or delete a practice run configuration. Before you delete a practice run configuration, you
|
|
518
520
|
* must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.</p>
|
|
@@ -532,7 +534,7 @@ export interface PracticeRunConfiguration {
|
|
|
532
534
|
*/
|
|
533
535
|
outcomeAlarms: ControlCondition[] | undefined;
|
|
534
536
|
/**
|
|
535
|
-
* <p>An array of one or more windows of days and times that you can block
|
|
537
|
+
* <p>An array of one or more windows of days and times that you can block ARC
|
|
536
538
|
* from starting practice runs for a resource.</p>
|
|
537
539
|
* <p>Specify the blocked windows in UTC, using the format <code>DAY:HH:MM-DAY:HH:MM</code>, separated by
|
|
538
540
|
* spaces. For example, <code>MON:18:30-MON:19:30 TUE:18:30-TUE:19:30</code>.</p>
|
|
@@ -650,6 +652,20 @@ export declare const PracticeRunOutcome: {
|
|
|
650
652
|
* @public
|
|
651
653
|
*/
|
|
652
654
|
export type PracticeRunOutcome = (typeof PracticeRunOutcome)[keyof typeof PracticeRunOutcome];
|
|
655
|
+
/**
|
|
656
|
+
* @public
|
|
657
|
+
* @enum
|
|
658
|
+
*/
|
|
659
|
+
export declare const ShiftType: {
|
|
660
|
+
readonly FIS_EXPERIMENT: "FIS_EXPERIMENT";
|
|
661
|
+
readonly PRACTICE_RUN: "PRACTICE_RUN";
|
|
662
|
+
readonly ZONAL_AUTOSHIFT: "ZONAL_AUTOSHIFT";
|
|
663
|
+
readonly ZONAL_SHIFT: "ZONAL_SHIFT";
|
|
664
|
+
};
|
|
665
|
+
/**
|
|
666
|
+
* @public
|
|
667
|
+
*/
|
|
668
|
+
export type ShiftType = (typeof ShiftType)[keyof typeof ShiftType];
|
|
653
669
|
/**
|
|
654
670
|
* <p>A complex structure that lists the zonal shifts for a managed resource and their statuses for the resource.</p>
|
|
655
671
|
* @public
|
|
@@ -692,7 +708,7 @@ export interface ZonalShiftInResource {
|
|
|
692
708
|
* <p>The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift.
|
|
693
709
|
* You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift
|
|
694
710
|
* to set a new expiration at any time. </p>
|
|
695
|
-
* <p>When you start a zonal shift, you specify how long you want it to be active, which
|
|
711
|
+
* <p>When you start a zonal shift, you specify how long you want it to be active, which ARC converts
|
|
696
712
|
* to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or
|
|
697
713
|
* just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.</p>
|
|
698
714
|
* @public
|
|
@@ -709,6 +725,11 @@ export interface ZonalShiftInResource {
|
|
|
709
725
|
* @public
|
|
710
726
|
*/
|
|
711
727
|
comment: string | undefined;
|
|
728
|
+
/**
|
|
729
|
+
* <p>Defines the zonal shift type.</p>
|
|
730
|
+
* @public
|
|
731
|
+
*/
|
|
732
|
+
shiftType?: ShiftType | undefined;
|
|
712
733
|
/**
|
|
713
734
|
* <p>The outcome, or end state, returned for a practice run. The following values can be returned:</p>
|
|
714
735
|
* <ul>
|
|
@@ -792,9 +813,9 @@ export interface GetManagedResourceResponse {
|
|
|
792
813
|
*/
|
|
793
814
|
export interface ListManagedResourcesRequest {
|
|
794
815
|
/**
|
|
795
|
-
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>
|
|
816
|
+
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the
|
|
796
817
|
* previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous
|
|
797
|
-
* call's <code>
|
|
818
|
+
* call's <code>nextToken</code> response to request the next page of results.</p>
|
|
798
819
|
* @public
|
|
799
820
|
*/
|
|
800
821
|
nextToken?: string | undefined;
|
|
@@ -808,7 +829,7 @@ export interface ListManagedResourcesRequest {
|
|
|
808
829
|
* <p>A complex structure for a managed resource in an Amazon Web Services account with information about zonal shifts
|
|
809
830
|
* and autoshifts.</p>
|
|
810
831
|
* <p>A managed resource is a load balancer that has been registered
|
|
811
|
-
* with
|
|
832
|
+
* with ARC by Elastic Load Balancing. You can start a zonal shift in ARC for a managed resource to
|
|
812
833
|
* temporarily move traffic for the resource away from an Availability Zone in an Amazon Web Services Region.
|
|
813
834
|
* You can also configure zonal autoshift for a managed resource.</p>
|
|
814
835
|
* <note>
|
|
@@ -856,10 +877,10 @@ export interface ManagedResourceSummary {
|
|
|
856
877
|
zonalAutoshiftStatus?: ZonalAutoshiftStatus | undefined;
|
|
857
878
|
/**
|
|
858
879
|
* <p>This status tracks whether a practice run configuration exists for a resource. When you configure
|
|
859
|
-
* a practice run for a resource so that a practice run configuration exists,
|
|
880
|
+
* a practice run for a resource so that a practice run configuration exists, ARC sets this value to
|
|
860
881
|
* <code>ENABLED</code>. If a you have not configured a practice run for the resource, or delete a practice
|
|
861
|
-
* run configuration,
|
|
862
|
-
* <p>
|
|
882
|
+
* run configuration, ARC sets the value to <code>DISABLED</code>.</p>
|
|
883
|
+
* <p>ARC updates this status; you can't set a practice run status to <code>ENABLED</code> or
|
|
863
884
|
* <code>DISABLED</code>.</p>
|
|
864
885
|
* @public
|
|
865
886
|
*/
|
|
@@ -875,9 +896,9 @@ export interface ListManagedResourcesResponse {
|
|
|
875
896
|
*/
|
|
876
897
|
items: ManagedResourceSummary[] | undefined;
|
|
877
898
|
/**
|
|
878
|
-
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>
|
|
899
|
+
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the
|
|
879
900
|
* previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous
|
|
880
|
-
* call's <code>
|
|
901
|
+
* call's <code>nextToken</code> response to request the next page of results.</p>
|
|
881
902
|
* @public
|
|
882
903
|
*/
|
|
883
904
|
nextToken?: string | undefined;
|
|
@@ -887,9 +908,9 @@ export interface ListManagedResourcesResponse {
|
|
|
887
908
|
*/
|
|
888
909
|
export interface ListZonalShiftsRequest {
|
|
889
910
|
/**
|
|
890
|
-
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>
|
|
911
|
+
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the
|
|
891
912
|
* previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous
|
|
892
|
-
* call's <code>
|
|
913
|
+
* call's <code>nextToken</code> response to request the next page of results.</p>
|
|
893
914
|
* @public
|
|
894
915
|
*/
|
|
895
916
|
nextToken?: string | undefined;
|
|
@@ -926,10 +947,10 @@ export interface ListZonalShiftsRequest {
|
|
|
926
947
|
resourceIdentifier?: string | undefined;
|
|
927
948
|
}
|
|
928
949
|
/**
|
|
929
|
-
* <p>Lists information about zonal shifts in Amazon Route 53 Application Recovery Controller, including zonal shifts that you start yourself and zonal shifts that
|
|
950
|
+
* <p>Lists information about zonal shifts in Amazon Route 53 Application Recovery Controller, including zonal shifts that you start yourself and zonal shifts that ARC starts
|
|
930
951
|
* on your behalf for practice runs with zonal autoshift.</p>
|
|
931
952
|
* <p>Zonal shifts are temporary, including customer-initiated zonal shifts and the zonal autoshift practice run zonal shifts that
|
|
932
|
-
*
|
|
953
|
+
* ARC starts weekly, on your behalf. A zonal shift that a customer starts can be active for up to three days (72 hours). A
|
|
933
954
|
* practice run zonal shift has a 30 minute duration.</p>
|
|
934
955
|
* @public
|
|
935
956
|
*/
|
|
@@ -955,7 +976,7 @@ export interface ZonalShiftSummary {
|
|
|
955
976
|
* <p>The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift.
|
|
956
977
|
* You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift
|
|
957
978
|
* to set a new expiration at any time. </p>
|
|
958
|
-
* <p>When you start a zonal shift, you specify how long you want it to be active, which
|
|
979
|
+
* <p>When you start a zonal shift, you specify how long you want it to be active, which ARC converts
|
|
959
980
|
* to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or
|
|
960
981
|
* just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.</p>
|
|
961
982
|
* @public
|
|
@@ -992,6 +1013,11 @@ export interface ZonalShiftSummary {
|
|
|
992
1013
|
* @public
|
|
993
1014
|
*/
|
|
994
1015
|
comment: string | undefined;
|
|
1016
|
+
/**
|
|
1017
|
+
* <p>Defines the zonal shift type.</p>
|
|
1018
|
+
* @public
|
|
1019
|
+
*/
|
|
1020
|
+
shiftType?: ShiftType | undefined;
|
|
995
1021
|
/**
|
|
996
1022
|
* <p>The outcome, or end state, of a practice run. The following values can be returned:</p>
|
|
997
1023
|
* <ul>
|
|
@@ -1034,9 +1060,9 @@ export interface ListZonalShiftsResponse {
|
|
|
1034
1060
|
*/
|
|
1035
1061
|
items?: ZonalShiftSummary[] | undefined;
|
|
1036
1062
|
/**
|
|
1037
|
-
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>
|
|
1063
|
+
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the
|
|
1038
1064
|
* previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous
|
|
1039
|
-
* call's <code>
|
|
1065
|
+
* call's <code>nextToken</code> response to request the next page of results.</p>
|
|
1040
1066
|
* @public
|
|
1041
1067
|
*/
|
|
1042
1068
|
nextToken?: string | undefined;
|
|
@@ -1088,7 +1114,7 @@ export interface UpdatePracticeRunConfigurationRequest {
|
|
|
1088
1114
|
resourceIdentifier: string | undefined;
|
|
1089
1115
|
/**
|
|
1090
1116
|
* <p>Add, change, or remove windows of days and times for when you can, optionally,
|
|
1091
|
-
* block
|
|
1117
|
+
* block ARC from starting a practice run for a resource.</p>
|
|
1092
1118
|
* <p>The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates,
|
|
1093
1119
|
* that dates and times for practice runs are in UTC. Also, be aware of potential time adjustments
|
|
1094
1120
|
* that might be required for daylight saving time differences. Separate multiple blocked windows
|
|
@@ -1168,7 +1194,7 @@ export interface UpdateZonalShiftRequest {
|
|
|
1168
1194
|
*/
|
|
1169
1195
|
comment?: string | undefined;
|
|
1170
1196
|
/**
|
|
1171
|
-
* <p>The length of time that you want a zonal shift to be active, which
|
|
1197
|
+
* <p>The length of time that you want a zonal shift to be active, which ARC converts to an expiry time (expiration time).
|
|
1172
1198
|
* Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours).</p>
|
|
1173
1199
|
* <p>If you want to still keep traffic away from an Availability Zone, you can update the
|
|
1174
1200
|
* zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to
|
|
@@ -1206,7 +1232,7 @@ export interface StartZonalShiftRequest {
|
|
|
1206
1232
|
*/
|
|
1207
1233
|
awayFrom: string | undefined;
|
|
1208
1234
|
/**
|
|
1209
|
-
* <p>The length of time that you want a zonal shift to be active, which
|
|
1235
|
+
* <p>The length of time that you want a zonal shift to be active, which ARC converts to an expiry time (expiration time).
|
|
1210
1236
|
* Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours).</p>
|
|
1211
1237
|
* <p>If you want to still keep traffic away from an Availability Zone, you can update the
|
|
1212
1238
|
* zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to
|
|
@@ -32,7 +32,7 @@ export interface ListAutoshiftsRequest {
|
|
|
32
32
|
}
|
|
33
33
|
export interface AutoshiftSummary {
|
|
34
34
|
awayFrom: string | undefined;
|
|
35
|
-
endTime
|
|
35
|
+
endTime?: Date | undefined;
|
|
36
36
|
startTime: Date | undefined;
|
|
37
37
|
status: AutoshiftExecutionStatus | undefined;
|
|
38
38
|
}
|
|
@@ -48,6 +48,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
48
48
|
);
|
|
49
49
|
}
|
|
50
50
|
export declare const ValidationExceptionReason: {
|
|
51
|
+
readonly FIS_EXPERIMENT_UPDATE_NOT_ALLOWED: "FISExperimentUpdateNotAllowed";
|
|
51
52
|
readonly INVALID_ALARM_CONDITION: "InvalidAlarmCondition";
|
|
52
53
|
readonly INVALID_AZ: "InvalidAz";
|
|
53
54
|
readonly INVALID_CONDITION_TYPE: "InvalidConditionType";
|
|
@@ -104,6 +105,7 @@ export declare const ConflictExceptionReason: {
|
|
|
104
105
|
readonly PRACTICE_CONFIGURATION_ALREADY_EXISTS: "PracticeConfigurationAlreadyExists";
|
|
105
106
|
readonly PRACTICE_CONFIGURATION_DOES_NOT_EXIST: "PracticeConfigurationDoesNotExist";
|
|
106
107
|
readonly SIMULTANEOUS_ZONAL_SHIFTS_CONFLICT: "SimultaneousZonalShiftsConflict";
|
|
108
|
+
readonly ZONAL_AUTOSHIFT_ACTIVE: "ZonalAutoshiftActive";
|
|
107
109
|
readonly ZONAL_SHIFT_ALREADY_EXISTS: "ZonalShiftAlreadyExists";
|
|
108
110
|
readonly ZONAL_SHIFT_STATUS_NOT_ACTIVE: "ZonalShiftStatusNotActive";
|
|
109
111
|
};
|
|
@@ -192,6 +194,13 @@ export declare const PracticeRunOutcome: {
|
|
|
192
194
|
};
|
|
193
195
|
export type PracticeRunOutcome =
|
|
194
196
|
(typeof PracticeRunOutcome)[keyof typeof PracticeRunOutcome];
|
|
197
|
+
export declare const ShiftType: {
|
|
198
|
+
readonly FIS_EXPERIMENT: "FIS_EXPERIMENT";
|
|
199
|
+
readonly PRACTICE_RUN: "PRACTICE_RUN";
|
|
200
|
+
readonly ZONAL_AUTOSHIFT: "ZONAL_AUTOSHIFT";
|
|
201
|
+
readonly ZONAL_SHIFT: "ZONAL_SHIFT";
|
|
202
|
+
};
|
|
203
|
+
export type ShiftType = (typeof ShiftType)[keyof typeof ShiftType];
|
|
195
204
|
export interface ZonalShiftInResource {
|
|
196
205
|
appliedStatus: AppliedStatus | undefined;
|
|
197
206
|
zonalShiftId: string | undefined;
|
|
@@ -200,6 +209,7 @@ export interface ZonalShiftInResource {
|
|
|
200
209
|
expiryTime: Date | undefined;
|
|
201
210
|
startTime: Date | undefined;
|
|
202
211
|
comment: string | undefined;
|
|
212
|
+
shiftType?: ShiftType | undefined;
|
|
203
213
|
practiceRunOutcome?: PracticeRunOutcome | undefined;
|
|
204
214
|
}
|
|
205
215
|
export interface GetManagedResourceResponse {
|
|
@@ -243,6 +253,7 @@ export interface ZonalShiftSummary {
|
|
|
243
253
|
startTime: Date | undefined;
|
|
244
254
|
status: ZonalShiftStatus | undefined;
|
|
245
255
|
comment: string | undefined;
|
|
256
|
+
shiftType?: ShiftType | undefined;
|
|
246
257
|
practiceRunOutcome?: PracticeRunOutcome | undefined;
|
|
247
258
|
}
|
|
248
259
|
export interface ListZonalShiftsResponse {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-arc-zonal-shift",
|
|
3
3
|
"description": "AWS SDK for JavaScript Arc Zonal Shift Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.776.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-arc-zonal-shift",
|