@aws-sdk/client-arc-zonal-shift 3.614.0 → 3.615.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 +39 -16
- package/dist-cjs/index.js +95 -0
- package/dist-es/ARCZonalShift.js +4 -0
- package/dist-es/commands/GetAutoshiftObserverNotificationStatusCommand.js +24 -0
- package/dist-es/commands/UpdateAutoshiftObserverNotificationStatusCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +49 -0
- package/dist-types/ARCZonalShift.d.ts +38 -16
- package/dist-types/ARCZonalShiftClient.d.ts +27 -18
- package/dist-types/commands/CreatePracticeRunConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetAutoshiftObserverNotificationStatusCommand.d.ts +77 -0
- package/dist-types/commands/ListAutoshiftsCommand.d.ts +4 -1
- package/dist-types/commands/ListZonalShiftsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAutoshiftObserverNotificationStatusCommand.d.ts +82 -0
- package/dist-types/commands/UpdateZonalAutoshiftConfigurationCommand.d.ts +8 -4
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +23 -16
- package/dist-types/models/models_0.d.ts +100 -39
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/ARCZonalShift.d.ts +47 -0
- package/dist-types/ts3.4/ARCZonalShiftClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetAutoshiftObserverNotificationStatusCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/UpdateAutoshiftObserverNotificationStatusCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -83,7 +83,7 @@ export interface ListAutoshiftsRequest {
|
|
|
83
83
|
*/
|
|
84
84
|
export interface AutoshiftSummary {
|
|
85
85
|
/**
|
|
86
|
-
* <p>The Availability Zone that traffic is shifted away from for a resource when Amazon Web Services starts an autoshift.
|
|
86
|
+
* <p>The Availability Zone (for example, <code>use1-az1</code>) that traffic is shifted away from for a resource when Amazon Web Services starts an autoshift.
|
|
87
87
|
* Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region.
|
|
88
88
|
* An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when
|
|
89
89
|
* you disable zonal autoshift for the resource.</p>
|
|
@@ -194,13 +194,13 @@ export type AutoshiftAppliedStatus = (typeof AutoshiftAppliedStatus)[keyof typeo
|
|
|
194
194
|
export interface AutoshiftInResource {
|
|
195
195
|
/**
|
|
196
196
|
* <p>The <code>appliedStatus</code> field specifies which application traffic shift is in effect for a
|
|
197
|
-
* resource when there is more than one traffic shift
|
|
198
|
-
* shift in progress at the same time - that is, practice run zonal shifts, customer-
|
|
199
|
-
* or an autoshift. The <code>appliedStatus</code> field for
|
|
200
|
-
* values: <code>APPLIED</code> or <code>NOT_APPLIED</code>. The zonal shift or autoshift
|
|
201
|
-
* that is currently in effect for the resource has an
|
|
197
|
+
* resource when there is more than one active traffic shift. There can be more than one application traffic
|
|
198
|
+
* shift in progress at the same time - that is, practice run zonal shifts, customer-initiated zonal shifts,
|
|
199
|
+
* or an autoshift. The <code>appliedStatus</code> field for a shift that is in progress for a resource can
|
|
200
|
+
* have one of two values: <code>APPLIED</code> or <code>NOT_APPLIED</code>. The zonal shift or autoshift
|
|
201
|
+
* that is currently in effect for the resource has an <code>appliedStatus</code> set to <code>APPLIED</code>.</p>
|
|
202
202
|
* <p>The overall principle for precedence is that zonal shifts that you start as a customer take precedence
|
|
203
|
-
* autoshifts, which take precedence over practice runs. That is, customer-
|
|
203
|
+
* autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run
|
|
204
204
|
* zonal shifts.</p>
|
|
205
205
|
* <p>For more information, see
|
|
206
206
|
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html">How zonal autoshift
|
|
@@ -209,7 +209,7 @@ export interface AutoshiftInResource {
|
|
|
209
209
|
*/
|
|
210
210
|
appliedStatus: AutoshiftAppliedStatus | undefined;
|
|
211
211
|
/**
|
|
212
|
-
* <p>The Availability Zone that traffic is shifted away from for a resource, when Amazon Web Services starts an autoshift.
|
|
212
|
+
* <p>The Availability Zone (for example, <code>use1-az1</code>) that traffic is shifted away from for a resource, when Amazon Web Services starts an autoshift.
|
|
213
213
|
* Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region.
|
|
214
214
|
* An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when
|
|
215
215
|
* you disable zonal autoshift for the resource.</p>
|
|
@@ -222,6 +222,61 @@ export interface AutoshiftInResource {
|
|
|
222
222
|
*/
|
|
223
223
|
startTime: Date | undefined;
|
|
224
224
|
}
|
|
225
|
+
/**
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
export interface GetAutoshiftObserverNotificationStatusRequest {
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* @public
|
|
232
|
+
* @enum
|
|
233
|
+
*/
|
|
234
|
+
export declare const AutoshiftObserverNotificationStatus: {
|
|
235
|
+
readonly DISABLED: "DISABLED";
|
|
236
|
+
readonly ENABLED: "ENABLED";
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
export type AutoshiftObserverNotificationStatus = (typeof AutoshiftObserverNotificationStatus)[keyof typeof AutoshiftObserverNotificationStatus];
|
|
242
|
+
/**
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
export interface GetAutoshiftObserverNotificationStatusResponse {
|
|
246
|
+
/**
|
|
247
|
+
* <p>The status of autoshift observer notification. If the status is <code>ENABLED</code>,
|
|
248
|
+
* Route 53 ARC includes all autoshift events when you use the Amazon EventBridge pattern
|
|
249
|
+
* <code>Autoshift In Progress</code>. When the status is <code>DISABLED</code>,
|
|
250
|
+
* Route 53 ARC includes only autoshift events for autoshifts when one or more of your
|
|
251
|
+
* resources is included in the autoshift. </p>
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
status: AutoshiftObserverNotificationStatus | undefined;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* @public
|
|
258
|
+
*/
|
|
259
|
+
export interface UpdateAutoshiftObserverNotificationStatusRequest {
|
|
260
|
+
/**
|
|
261
|
+
* <p>The status to set for autoshift observer notification. If the status is <code>ENABLED</code>,
|
|
262
|
+
* Route 53 ARC includes all autoshift events when you use the Amazon EventBridge pattern
|
|
263
|
+
* <code>Autoshift In Progress</code>. When the status is <code>DISABLED</code>,
|
|
264
|
+
* Route 53 ARC includes only autoshift events for autoshifts when one or more of your
|
|
265
|
+
* resources is included in the autoshift. </p>
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
status: AutoshiftObserverNotificationStatus | undefined;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* @public
|
|
272
|
+
*/
|
|
273
|
+
export interface UpdateAutoshiftObserverNotificationStatusResponse {
|
|
274
|
+
/**
|
|
275
|
+
* <p>The status for autoshift observer notification.</p>
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
278
|
+
status: AutoshiftObserverNotificationStatus | undefined;
|
|
279
|
+
}
|
|
225
280
|
/**
|
|
226
281
|
* @public
|
|
227
282
|
*/
|
|
@@ -305,19 +360,19 @@ export interface ZonalShift {
|
|
|
305
360
|
*/
|
|
306
361
|
zonalShiftId: string | undefined;
|
|
307
362
|
/**
|
|
308
|
-
* <p>The identifier for the resource
|
|
363
|
+
* <p>The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.</p>
|
|
309
364
|
* <p>At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.</p>
|
|
310
365
|
* @public
|
|
311
366
|
*/
|
|
312
367
|
resourceIdentifier: string | undefined;
|
|
313
368
|
/**
|
|
314
|
-
* <p>The Availability Zone that traffic is moved away from for a resource when you start a zonal shift.
|
|
369
|
+
* <p>The Availability Zone (for example, <code>use1-az1</code>) that traffic is moved away from for a resource when you start a zonal shift.
|
|
315
370
|
* Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.</p>
|
|
316
371
|
* @public
|
|
317
372
|
*/
|
|
318
373
|
awayFrom: string | undefined;
|
|
319
374
|
/**
|
|
320
|
-
* <p>The expiry time (expiration time) for a customer-
|
|
375
|
+
* <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.
|
|
321
376
|
* You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift
|
|
322
377
|
* to set a new expiration at any time. </p>
|
|
323
378
|
* <p>When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts
|
|
@@ -374,7 +429,8 @@ export type ControlConditionType = (typeof ControlConditionType)[keyof typeof Co
|
|
|
374
429
|
* with zonal autoshift for a resource, you specify Amazon CloudWatch alarms, which you create in CloudWatch
|
|
375
430
|
* to use with the practice run. The alarms that you specify are an
|
|
376
431
|
* <i>outcome alarm</i>, to monitor application health during practice runs and,
|
|
377
|
-
* optionally, a <i>blocking alarm</i>, to block practice runs from starting
|
|
432
|
+
* optionally, a <i>blocking alarm</i>, to block practice runs from starting or to interrupt
|
|
433
|
+
* a practice run in progress.</p>
|
|
378
434
|
* <p>Control condition alarms do not apply for autoshifts.</p>
|
|
379
435
|
* <p>For more information, see
|
|
380
436
|
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html">
|
|
@@ -383,12 +439,13 @@ export type ControlConditionType = (typeof ControlConditionType)[keyof typeof Co
|
|
|
383
439
|
*/
|
|
384
440
|
export interface ControlCondition {
|
|
385
441
|
/**
|
|
386
|
-
* <p>The type of alarm specified for a practice run.
|
|
442
|
+
* <p>The type of alarm specified for a practice run. You can only specify Amazon CloudWatch alarms for practice runs, so the
|
|
443
|
+
* only valid value is <code>CLOUDWATCH</code>.</p>
|
|
387
444
|
* @public
|
|
388
445
|
*/
|
|
389
446
|
type: ControlConditionType | undefined;
|
|
390
447
|
/**
|
|
391
|
-
* <p>The Amazon Resource Name (ARN) for
|
|
448
|
+
* <p>The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify as a control condition for a practice run.</p>
|
|
392
449
|
* @public
|
|
393
450
|
*/
|
|
394
451
|
alarmIdentifier: string | undefined;
|
|
@@ -398,8 +455,8 @@ export interface ControlCondition {
|
|
|
398
455
|
*/
|
|
399
456
|
export interface CreatePracticeRunConfigurationRequest {
|
|
400
457
|
/**
|
|
401
|
-
* <p>The identifier of the resource
|
|
402
|
-
* run
|
|
458
|
+
* <p>The identifier of the resource that Amazon Web Services shifts traffic for with a practice
|
|
459
|
+
* run zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.</p>
|
|
403
460
|
* <p>At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.</p>
|
|
404
461
|
* @public
|
|
405
462
|
*/
|
|
@@ -453,7 +510,10 @@ export interface CreatePracticeRunConfigurationRequest {
|
|
|
453
510
|
}
|
|
454
511
|
/**
|
|
455
512
|
* <p>A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice
|
|
456
|
-
* run, as well as any blocked dates or blocked windows for the practice run
|
|
513
|
+
* run, as well as any blocked dates or blocked windows for the practice run. When a resource has a practice run
|
|
514
|
+
* configuration, Route 53 ARC shifts traffic for the resource weekly for practice runs.</p>
|
|
515
|
+
* <p>Practice runs are required for zonal autoshift. The zonal shifts that Route 53 ARC starts for practice runs help you to ensure that
|
|
516
|
+
* shifting away traffic from an Availability Zone during an autoshift is safe for your application.</p>
|
|
457
517
|
* <p>You can update or delete a practice run configuration. Before you delete a practice run configuration, you
|
|
458
518
|
* must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.</p>
|
|
459
519
|
* @public
|
|
@@ -514,11 +574,11 @@ export interface CreatePracticeRunConfigurationResponse {
|
|
|
514
574
|
*/
|
|
515
575
|
name: string | undefined;
|
|
516
576
|
/**
|
|
517
|
-
* <p>The status for zonal autoshift for a resource. When you specify
|
|
518
|
-
* autoshift status
|
|
577
|
+
* <p>The status for zonal autoshift for a resource. When you specify <code>ENABLED</code>
|
|
578
|
+
* for the autoshift status, Amazon Web Services shifts traffic
|
|
519
579
|
* away from shifts away application resource traffic from an Availability Zone,
|
|
520
|
-
* on your behalf, when
|
|
521
|
-
*
|
|
580
|
+
* on your behalf, when internal telemetry indicates that there is an Availability
|
|
581
|
+
* Zone impairment that could potentially impact customers.</p>
|
|
522
582
|
* <p>When you enable zonal autoshift, you must also configure practice runs for
|
|
523
583
|
* the resource.</p>
|
|
524
584
|
* @public
|
|
@@ -570,7 +630,7 @@ export interface DeletePracticeRunConfigurationResponse {
|
|
|
570
630
|
*/
|
|
571
631
|
export interface GetManagedResourceRequest {
|
|
572
632
|
/**
|
|
573
|
-
* <p>The identifier for the resource
|
|
633
|
+
* <p>The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.</p>
|
|
574
634
|
* <p>At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.</p>
|
|
575
635
|
* @public
|
|
576
636
|
*/
|
|
@@ -597,13 +657,13 @@ export type PracticeRunOutcome = (typeof PracticeRunOutcome)[keyof typeof Practi
|
|
|
597
657
|
export interface ZonalShiftInResource {
|
|
598
658
|
/**
|
|
599
659
|
* <p>The <code>appliedStatus</code> field specifies which application traffic shift is in effect for a
|
|
600
|
-
* resource when there is more than one traffic shift
|
|
601
|
-
* shift in progress at the same time - that is, practice run zonal shifts, customer-
|
|
602
|
-
* or an autoshift. The <code>appliedStatus</code> field for
|
|
603
|
-
* values: <code>APPLIED</code> or <code>NOT_APPLIED</code>. The zonal shift or autoshift
|
|
604
|
-
* that is currently in effect for the resource has an
|
|
660
|
+
* resource when there is more than one active traffic shift. There can be more than one application traffic
|
|
661
|
+
* shift in progress at the same time - that is, practice run zonal shifts, customer-initiated zonal shifts,
|
|
662
|
+
* or an autoshift. The <code>appliedStatus</code> field for a shift that is in progress for a resource can
|
|
663
|
+
* have one of two values: <code>APPLIED</code> or <code>NOT_APPLIED</code>. The zonal shift or autoshift
|
|
664
|
+
* that is currently in effect for the resource has an <code>appliedStatus</code> set to <code>APPLIED</code>.</p>
|
|
605
665
|
* <p>The overall principle for precedence is that zonal shifts that you start as a customer take precedence
|
|
606
|
-
* autoshifts, which take precedence over practice runs. That is, customer-
|
|
666
|
+
* autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run
|
|
607
667
|
* zonal shifts.</p>
|
|
608
668
|
* <p>For more information, see
|
|
609
669
|
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html">How zonal autoshift
|
|
@@ -623,13 +683,13 @@ export interface ZonalShiftInResource {
|
|
|
623
683
|
*/
|
|
624
684
|
resourceIdentifier: string | undefined;
|
|
625
685
|
/**
|
|
626
|
-
* <p>The Availability Zone that traffic is moved away from for a resource when you start a zonal shift.
|
|
686
|
+
* <p>The Availability Zone (for example, <code>use1-az1</code>) that traffic is moved away from for a resource when you start a zonal shift.
|
|
627
687
|
* Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.</p>
|
|
628
688
|
* @public
|
|
629
689
|
*/
|
|
630
690
|
awayFrom: string | undefined;
|
|
631
691
|
/**
|
|
632
|
-
* <p>The expiry time (expiration time) for a customer-
|
|
692
|
+
* <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.
|
|
633
693
|
* You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift
|
|
634
694
|
* to set a new expiration at any time. </p>
|
|
635
695
|
* <p>When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts
|
|
@@ -644,7 +704,7 @@ export interface ZonalShiftInResource {
|
|
|
644
704
|
*/
|
|
645
705
|
startTime: Date | undefined;
|
|
646
706
|
/**
|
|
647
|
-
* <p>A comment that you enter
|
|
707
|
+
* <p>A comment that you enter for a customer-initiated zonal shift. Only the latest comment is retained; no comment
|
|
648
708
|
* history is maintained. That is, a new comment overwrites any existing comment string.</p>
|
|
649
709
|
* @public
|
|
650
710
|
*/
|
|
@@ -868,7 +928,7 @@ export interface ListZonalShiftsRequest {
|
|
|
868
928
|
/**
|
|
869
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 Route 53 ARC starts
|
|
870
930
|
* on your behalf for practice runs with zonal autoshift.</p>
|
|
871
|
-
* <p>Zonal shifts are temporary, including customer-
|
|
931
|
+
* <p>Zonal shifts are temporary, including customer-initiated zonal shifts and the zonal autoshift practice run zonal shifts that
|
|
872
932
|
* Route 53 ARC starts weekly, on your behalf. A zonal shift that a customer starts can be active for up to three days (72 hours). A
|
|
873
933
|
* practice run zonal shift has a 30 minute duration.</p>
|
|
874
934
|
* @public
|
|
@@ -886,13 +946,13 @@ export interface ZonalShiftSummary {
|
|
|
886
946
|
*/
|
|
887
947
|
resourceIdentifier: string | undefined;
|
|
888
948
|
/**
|
|
889
|
-
* <p>The Availability Zone that traffic is moved away from for a resource when you start a zonal shift.
|
|
949
|
+
* <p>The Availability Zone (for example, <code>use1-az1</code>) that traffic is moved away from for a resource when you start a zonal shift.
|
|
890
950
|
* Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.</p>
|
|
891
951
|
* @public
|
|
892
952
|
*/
|
|
893
953
|
awayFrom: string | undefined;
|
|
894
954
|
/**
|
|
895
|
-
* <p>The expiry time (expiration time) for a customer-
|
|
955
|
+
* <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.
|
|
896
956
|
* You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift
|
|
897
957
|
* to set a new expiration at any time. </p>
|
|
898
958
|
* <p>When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts
|
|
@@ -993,7 +1053,9 @@ export interface UpdateZonalAutoshiftConfigurationRequest {
|
|
|
993
1053
|
resourceIdentifier: string | undefined;
|
|
994
1054
|
/**
|
|
995
1055
|
* <p>The zonal autoshift status for the resource that you want to update the zonal
|
|
996
|
-
* autoshift configuration for
|
|
1056
|
+
* autoshift configuration for. Choose <code>ENABLED</code> to authorize Amazon Web Services
|
|
1057
|
+
* to shift away resource traffic for an application from an Availability Zone during events,
|
|
1058
|
+
* on your behalf, to help reduce time to recovery.</p>
|
|
997
1059
|
* @public
|
|
998
1060
|
*/
|
|
999
1061
|
zonalAutoshiftStatus: ZonalAutoshiftStatus | undefined;
|
|
@@ -1009,8 +1071,7 @@ export interface UpdateZonalAutoshiftConfigurationResponse {
|
|
|
1009
1071
|
*/
|
|
1010
1072
|
resourceIdentifier: string | undefined;
|
|
1011
1073
|
/**
|
|
1012
|
-
* <p>The zonal autoshift status for the resource
|
|
1013
|
-
* autoshift configuration for.</p>
|
|
1074
|
+
* <p>The updated zonal autoshift status for the resource.</p>
|
|
1014
1075
|
* @public
|
|
1015
1076
|
*/
|
|
1016
1077
|
zonalAutoshiftStatus: ZonalAutoshiftStatus | undefined;
|
|
@@ -1133,13 +1194,13 @@ export interface UpdateZonalShiftRequest {
|
|
|
1133
1194
|
*/
|
|
1134
1195
|
export interface StartZonalShiftRequest {
|
|
1135
1196
|
/**
|
|
1136
|
-
* <p>The identifier for the resource
|
|
1197
|
+
* <p>The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.</p>
|
|
1137
1198
|
* <p>At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.</p>
|
|
1138
1199
|
* @public
|
|
1139
1200
|
*/
|
|
1140
1201
|
resourceIdentifier: string | undefined;
|
|
1141
1202
|
/**
|
|
1142
|
-
* <p>The Availability Zone that traffic is moved away from for a resource when you start a zonal shift.
|
|
1203
|
+
* <p>The Availability Zone (for example, <code>use1-az1</code>) that traffic is moved away from for a resource when you start a zonal shift.
|
|
1143
1204
|
* Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.</p>
|
|
1144
1205
|
* @public
|
|
1145
1206
|
*/
|
|
@@ -3,11 +3,13 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
|
3
3
|
import { CancelZonalShiftCommandInput, CancelZonalShiftCommandOutput } from "../commands/CancelZonalShiftCommand";
|
|
4
4
|
import { CreatePracticeRunConfigurationCommandInput, CreatePracticeRunConfigurationCommandOutput } from "../commands/CreatePracticeRunConfigurationCommand";
|
|
5
5
|
import { DeletePracticeRunConfigurationCommandInput, DeletePracticeRunConfigurationCommandOutput } from "../commands/DeletePracticeRunConfigurationCommand";
|
|
6
|
+
import { GetAutoshiftObserverNotificationStatusCommandInput, GetAutoshiftObserverNotificationStatusCommandOutput } from "../commands/GetAutoshiftObserverNotificationStatusCommand";
|
|
6
7
|
import { GetManagedResourceCommandInput, GetManagedResourceCommandOutput } from "../commands/GetManagedResourceCommand";
|
|
7
8
|
import { ListAutoshiftsCommandInput, ListAutoshiftsCommandOutput } from "../commands/ListAutoshiftsCommand";
|
|
8
9
|
import { ListManagedResourcesCommandInput, ListManagedResourcesCommandOutput } from "../commands/ListManagedResourcesCommand";
|
|
9
10
|
import { ListZonalShiftsCommandInput, ListZonalShiftsCommandOutput } from "../commands/ListZonalShiftsCommand";
|
|
10
11
|
import { StartZonalShiftCommandInput, StartZonalShiftCommandOutput } from "../commands/StartZonalShiftCommand";
|
|
12
|
+
import { UpdateAutoshiftObserverNotificationStatusCommandInput, UpdateAutoshiftObserverNotificationStatusCommandOutput } from "../commands/UpdateAutoshiftObserverNotificationStatusCommand";
|
|
11
13
|
import { UpdatePracticeRunConfigurationCommandInput, UpdatePracticeRunConfigurationCommandOutput } from "../commands/UpdatePracticeRunConfigurationCommand";
|
|
12
14
|
import { UpdateZonalAutoshiftConfigurationCommandInput, UpdateZonalAutoshiftConfigurationCommandOutput } from "../commands/UpdateZonalAutoshiftConfigurationCommand";
|
|
13
15
|
import { UpdateZonalShiftCommandInput, UpdateZonalShiftCommandOutput } from "../commands/UpdateZonalShiftCommand";
|
|
@@ -23,6 +25,10 @@ export declare const se_CreatePracticeRunConfigurationCommand: (input: CreatePra
|
|
|
23
25
|
* serializeAws_restJson1DeletePracticeRunConfigurationCommand
|
|
24
26
|
*/
|
|
25
27
|
export declare const se_DeletePracticeRunConfigurationCommand: (input: DeletePracticeRunConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
|
+
/**
|
|
29
|
+
* serializeAws_restJson1GetAutoshiftObserverNotificationStatusCommand
|
|
30
|
+
*/
|
|
31
|
+
export declare const se_GetAutoshiftObserverNotificationStatusCommand: (input: GetAutoshiftObserverNotificationStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
32
|
/**
|
|
27
33
|
* serializeAws_restJson1GetManagedResourceCommand
|
|
28
34
|
*/
|
|
@@ -43,6 +49,10 @@ export declare const se_ListZonalShiftsCommand: (input: ListZonalShiftsCommandIn
|
|
|
43
49
|
* serializeAws_restJson1StartZonalShiftCommand
|
|
44
50
|
*/
|
|
45
51
|
export declare const se_StartZonalShiftCommand: (input: StartZonalShiftCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
52
|
+
/**
|
|
53
|
+
* serializeAws_restJson1UpdateAutoshiftObserverNotificationStatusCommand
|
|
54
|
+
*/
|
|
55
|
+
export declare const se_UpdateAutoshiftObserverNotificationStatusCommand: (input: UpdateAutoshiftObserverNotificationStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
56
|
/**
|
|
47
57
|
* serializeAws_restJson1UpdatePracticeRunConfigurationCommand
|
|
48
58
|
*/
|
|
@@ -67,6 +77,10 @@ export declare const de_CreatePracticeRunConfigurationCommand: (output: __HttpRe
|
|
|
67
77
|
* deserializeAws_restJson1DeletePracticeRunConfigurationCommand
|
|
68
78
|
*/
|
|
69
79
|
export declare const de_DeletePracticeRunConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePracticeRunConfigurationCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* deserializeAws_restJson1GetAutoshiftObserverNotificationStatusCommand
|
|
82
|
+
*/
|
|
83
|
+
export declare const de_GetAutoshiftObserverNotificationStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAutoshiftObserverNotificationStatusCommandOutput>;
|
|
70
84
|
/**
|
|
71
85
|
* deserializeAws_restJson1GetManagedResourceCommand
|
|
72
86
|
*/
|
|
@@ -87,6 +101,10 @@ export declare const de_ListZonalShiftsCommand: (output: __HttpResponse, context
|
|
|
87
101
|
* deserializeAws_restJson1StartZonalShiftCommand
|
|
88
102
|
*/
|
|
89
103
|
export declare const de_StartZonalShiftCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartZonalShiftCommandOutput>;
|
|
104
|
+
/**
|
|
105
|
+
* deserializeAws_restJson1UpdateAutoshiftObserverNotificationStatusCommand
|
|
106
|
+
*/
|
|
107
|
+
export declare const de_UpdateAutoshiftObserverNotificationStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAutoshiftObserverNotificationStatusCommandOutput>;
|
|
90
108
|
/**
|
|
91
109
|
* deserializeAws_restJson1UpdatePracticeRunConfigurationCommand
|
|
92
110
|
*/
|
|
@@ -12,6 +12,10 @@ import {
|
|
|
12
12
|
DeletePracticeRunConfigurationCommandInput,
|
|
13
13
|
DeletePracticeRunConfigurationCommandOutput,
|
|
14
14
|
} from "./commands/DeletePracticeRunConfigurationCommand";
|
|
15
|
+
import {
|
|
16
|
+
GetAutoshiftObserverNotificationStatusCommandInput,
|
|
17
|
+
GetAutoshiftObserverNotificationStatusCommandOutput,
|
|
18
|
+
} from "./commands/GetAutoshiftObserverNotificationStatusCommand";
|
|
15
19
|
import {
|
|
16
20
|
GetManagedResourceCommandInput,
|
|
17
21
|
GetManagedResourceCommandOutput,
|
|
@@ -32,6 +36,10 @@ import {
|
|
|
32
36
|
StartZonalShiftCommandInput,
|
|
33
37
|
StartZonalShiftCommandOutput,
|
|
34
38
|
} from "./commands/StartZonalShiftCommand";
|
|
39
|
+
import {
|
|
40
|
+
UpdateAutoshiftObserverNotificationStatusCommandInput,
|
|
41
|
+
UpdateAutoshiftObserverNotificationStatusCommandOutput,
|
|
42
|
+
} from "./commands/UpdateAutoshiftObserverNotificationStatusCommand";
|
|
35
43
|
import {
|
|
36
44
|
UpdatePracticeRunConfigurationCommandInput,
|
|
37
45
|
UpdatePracticeRunConfigurationCommandOutput,
|
|
@@ -84,6 +92,26 @@ export interface ARCZonalShift {
|
|
|
84
92
|
options: __HttpHandlerOptions,
|
|
85
93
|
cb: (err: any, data?: DeletePracticeRunConfigurationCommandOutput) => void
|
|
86
94
|
): void;
|
|
95
|
+
getAutoshiftObserverNotificationStatus(): Promise<GetAutoshiftObserverNotificationStatusCommandOutput>;
|
|
96
|
+
getAutoshiftObserverNotificationStatus(
|
|
97
|
+
args: GetAutoshiftObserverNotificationStatusCommandInput,
|
|
98
|
+
options?: __HttpHandlerOptions
|
|
99
|
+
): Promise<GetAutoshiftObserverNotificationStatusCommandOutput>;
|
|
100
|
+
getAutoshiftObserverNotificationStatus(
|
|
101
|
+
args: GetAutoshiftObserverNotificationStatusCommandInput,
|
|
102
|
+
cb: (
|
|
103
|
+
err: any,
|
|
104
|
+
data?: GetAutoshiftObserverNotificationStatusCommandOutput
|
|
105
|
+
) => void
|
|
106
|
+
): void;
|
|
107
|
+
getAutoshiftObserverNotificationStatus(
|
|
108
|
+
args: GetAutoshiftObserverNotificationStatusCommandInput,
|
|
109
|
+
options: __HttpHandlerOptions,
|
|
110
|
+
cb: (
|
|
111
|
+
err: any,
|
|
112
|
+
data?: GetAutoshiftObserverNotificationStatusCommandOutput
|
|
113
|
+
) => void
|
|
114
|
+
): void;
|
|
87
115
|
getManagedResource(
|
|
88
116
|
args: GetManagedResourceCommandInput,
|
|
89
117
|
options?: __HttpHandlerOptions
|
|
@@ -152,6 +180,25 @@ export interface ARCZonalShift {
|
|
|
152
180
|
options: __HttpHandlerOptions,
|
|
153
181
|
cb: (err: any, data?: StartZonalShiftCommandOutput) => void
|
|
154
182
|
): void;
|
|
183
|
+
updateAutoshiftObserverNotificationStatus(
|
|
184
|
+
args: UpdateAutoshiftObserverNotificationStatusCommandInput,
|
|
185
|
+
options?: __HttpHandlerOptions
|
|
186
|
+
): Promise<UpdateAutoshiftObserverNotificationStatusCommandOutput>;
|
|
187
|
+
updateAutoshiftObserverNotificationStatus(
|
|
188
|
+
args: UpdateAutoshiftObserverNotificationStatusCommandInput,
|
|
189
|
+
cb: (
|
|
190
|
+
err: any,
|
|
191
|
+
data?: UpdateAutoshiftObserverNotificationStatusCommandOutput
|
|
192
|
+
) => void
|
|
193
|
+
): void;
|
|
194
|
+
updateAutoshiftObserverNotificationStatus(
|
|
195
|
+
args: UpdateAutoshiftObserverNotificationStatusCommandInput,
|
|
196
|
+
options: __HttpHandlerOptions,
|
|
197
|
+
cb: (
|
|
198
|
+
err: any,
|
|
199
|
+
data?: UpdateAutoshiftObserverNotificationStatusCommandOutput
|
|
200
|
+
) => void
|
|
201
|
+
): void;
|
|
155
202
|
updatePracticeRunConfiguration(
|
|
156
203
|
args: UpdatePracticeRunConfigurationCommandInput,
|
|
157
204
|
options?: __HttpHandlerOptions
|
|
@@ -57,6 +57,10 @@ import {
|
|
|
57
57
|
DeletePracticeRunConfigurationCommandInput,
|
|
58
58
|
DeletePracticeRunConfigurationCommandOutput,
|
|
59
59
|
} from "./commands/DeletePracticeRunConfigurationCommand";
|
|
60
|
+
import {
|
|
61
|
+
GetAutoshiftObserverNotificationStatusCommandInput,
|
|
62
|
+
GetAutoshiftObserverNotificationStatusCommandOutput,
|
|
63
|
+
} from "./commands/GetAutoshiftObserverNotificationStatusCommand";
|
|
60
64
|
import {
|
|
61
65
|
GetManagedResourceCommandInput,
|
|
62
66
|
GetManagedResourceCommandOutput,
|
|
@@ -77,6 +81,10 @@ import {
|
|
|
77
81
|
StartZonalShiftCommandInput,
|
|
78
82
|
StartZonalShiftCommandOutput,
|
|
79
83
|
} from "./commands/StartZonalShiftCommand";
|
|
84
|
+
import {
|
|
85
|
+
UpdateAutoshiftObserverNotificationStatusCommandInput,
|
|
86
|
+
UpdateAutoshiftObserverNotificationStatusCommandOutput,
|
|
87
|
+
} from "./commands/UpdateAutoshiftObserverNotificationStatusCommand";
|
|
80
88
|
import {
|
|
81
89
|
UpdatePracticeRunConfigurationCommandInput,
|
|
82
90
|
UpdatePracticeRunConfigurationCommandOutput,
|
|
@@ -100,11 +108,13 @@ export type ServiceInputTypes =
|
|
|
100
108
|
| CancelZonalShiftCommandInput
|
|
101
109
|
| CreatePracticeRunConfigurationCommandInput
|
|
102
110
|
| DeletePracticeRunConfigurationCommandInput
|
|
111
|
+
| GetAutoshiftObserverNotificationStatusCommandInput
|
|
103
112
|
| GetManagedResourceCommandInput
|
|
104
113
|
| ListAutoshiftsCommandInput
|
|
105
114
|
| ListManagedResourcesCommandInput
|
|
106
115
|
| ListZonalShiftsCommandInput
|
|
107
116
|
| StartZonalShiftCommandInput
|
|
117
|
+
| UpdateAutoshiftObserverNotificationStatusCommandInput
|
|
108
118
|
| UpdatePracticeRunConfigurationCommandInput
|
|
109
119
|
| UpdateZonalAutoshiftConfigurationCommandInput
|
|
110
120
|
| UpdateZonalShiftCommandInput;
|
|
@@ -112,11 +122,13 @@ export type ServiceOutputTypes =
|
|
|
112
122
|
| CancelZonalShiftCommandOutput
|
|
113
123
|
| CreatePracticeRunConfigurationCommandOutput
|
|
114
124
|
| DeletePracticeRunConfigurationCommandOutput
|
|
125
|
+
| GetAutoshiftObserverNotificationStatusCommandOutput
|
|
115
126
|
| GetManagedResourceCommandOutput
|
|
116
127
|
| ListAutoshiftsCommandOutput
|
|
117
128
|
| ListManagedResourcesCommandOutput
|
|
118
129
|
| ListZonalShiftsCommandOutput
|
|
119
130
|
| StartZonalShiftCommandOutput
|
|
131
|
+
| UpdateAutoshiftObserverNotificationStatusCommandOutput
|
|
120
132
|
| UpdatePracticeRunConfigurationCommandOutput
|
|
121
133
|
| UpdateZonalAutoshiftConfigurationCommandOutput
|
|
122
134
|
| UpdateZonalShiftCommandOutput;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ARCZonalShiftClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ARCZonalShiftClient";
|
|
8
|
+
import {
|
|
9
|
+
GetAutoshiftObserverNotificationStatusRequest,
|
|
10
|
+
GetAutoshiftObserverNotificationStatusResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetAutoshiftObserverNotificationStatusCommandInput
|
|
15
|
+
extends GetAutoshiftObserverNotificationStatusRequest {}
|
|
16
|
+
export interface GetAutoshiftObserverNotificationStatusCommandOutput
|
|
17
|
+
extends GetAutoshiftObserverNotificationStatusResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetAutoshiftObserverNotificationStatusCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetAutoshiftObserverNotificationStatusCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetAutoshiftObserverNotificationStatusCommandInput,
|
|
24
|
+
GetAutoshiftObserverNotificationStatusCommandOutput,
|
|
25
|
+
ARCZonalShiftClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [GetAutoshiftObserverNotificationStatusCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetAutoshiftObserverNotificationStatusCommandInput,
|
|
33
|
+
GetAutoshiftObserverNotificationStatusCommandOutput,
|
|
34
|
+
ARCZonalShiftClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetAutoshiftObserverNotificationStatusCommand extends GetAutoshiftObserverNotificationStatusCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ARCZonalShiftClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ARCZonalShiftClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateAutoshiftObserverNotificationStatusRequest,
|
|
10
|
+
UpdateAutoshiftObserverNotificationStatusResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateAutoshiftObserverNotificationStatusCommandInput
|
|
15
|
+
extends UpdateAutoshiftObserverNotificationStatusRequest {}
|
|
16
|
+
export interface UpdateAutoshiftObserverNotificationStatusCommandOutput
|
|
17
|
+
extends UpdateAutoshiftObserverNotificationStatusResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateAutoshiftObserverNotificationStatusCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateAutoshiftObserverNotificationStatusCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateAutoshiftObserverNotificationStatusCommandInput,
|
|
24
|
+
UpdateAutoshiftObserverNotificationStatusCommandOutput,
|
|
25
|
+
ARCZonalShiftClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: UpdateAutoshiftObserverNotificationStatusCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateAutoshiftObserverNotificationStatusCommandInput,
|
|
33
|
+
UpdateAutoshiftObserverNotificationStatusCommandOutput,
|
|
34
|
+
ARCZonalShiftClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateAutoshiftObserverNotificationStatusCommand extends UpdateAutoshiftObserverNotificationStatusCommand_base {}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export * from "./CancelZonalShiftCommand";
|
|
2
2
|
export * from "./CreatePracticeRunConfigurationCommand";
|
|
3
3
|
export * from "./DeletePracticeRunConfigurationCommand";
|
|
4
|
+
export * from "./GetAutoshiftObserverNotificationStatusCommand";
|
|
4
5
|
export * from "./GetManagedResourceCommand";
|
|
5
6
|
export * from "./ListAutoshiftsCommand";
|
|
6
7
|
export * from "./ListManagedResourcesCommand";
|
|
7
8
|
export * from "./ListZonalShiftsCommand";
|
|
8
9
|
export * from "./StartZonalShiftCommand";
|
|
10
|
+
export * from "./UpdateAutoshiftObserverNotificationStatusCommand";
|
|
9
11
|
export * from "./UpdatePracticeRunConfigurationCommand";
|
|
10
12
|
export * from "./UpdateZonalAutoshiftConfigurationCommand";
|
|
11
13
|
export * from "./UpdateZonalShiftCommand";
|
|
@@ -80,6 +80,22 @@ export interface AutoshiftInResource {
|
|
|
80
80
|
awayFrom: string | undefined;
|
|
81
81
|
startTime: Date | undefined;
|
|
82
82
|
}
|
|
83
|
+
export interface GetAutoshiftObserverNotificationStatusRequest {}
|
|
84
|
+
export declare const AutoshiftObserverNotificationStatus: {
|
|
85
|
+
readonly DISABLED: "DISABLED";
|
|
86
|
+
readonly ENABLED: "ENABLED";
|
|
87
|
+
};
|
|
88
|
+
export type AutoshiftObserverNotificationStatus =
|
|
89
|
+
(typeof AutoshiftObserverNotificationStatus)[keyof typeof AutoshiftObserverNotificationStatus];
|
|
90
|
+
export interface GetAutoshiftObserverNotificationStatusResponse {
|
|
91
|
+
status: AutoshiftObserverNotificationStatus | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface UpdateAutoshiftObserverNotificationStatusRequest {
|
|
94
|
+
status: AutoshiftObserverNotificationStatus | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface UpdateAutoshiftObserverNotificationStatusResponse {
|
|
97
|
+
status: AutoshiftObserverNotificationStatus | undefined;
|
|
98
|
+
}
|
|
83
99
|
export interface CancelZonalShiftRequest {
|
|
84
100
|
zonalShiftId: string | undefined;
|
|
85
101
|
}
|