@aws-sdk/client-synthetics 3.1071.0 → 3.1072.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/dist-cjs/index.js CHANGED
@@ -437,9 +437,9 @@ const BrowserType = {
437
437
  const DependencyType = {
438
438
  LambdaLayer: "LambdaLayer",
439
439
  };
440
- const ProvisionedResourceCleanupSetting = {
441
- AUTOMATIC: "AUTOMATIC",
442
- OFF: "OFF",
440
+ const LocationType = {
441
+ Primary: "Primary",
442
+ Replica: "Replica",
443
443
  };
444
444
  const CanaryState = {
445
445
  CREATING: "CREATING",
@@ -452,6 +452,15 @@ const CanaryState = {
452
452
  STOPPING: "STOPPING",
453
453
  UPDATING: "UPDATING",
454
454
  };
455
+ const ReplicationState = {
456
+ InProgress: "InProgress",
457
+ InSync: "InSync",
458
+ Inconsistent: "Inconsistent",
459
+ };
460
+ const ProvisionedResourceCleanupSetting = {
461
+ AUTOMATIC: "AUTOMATIC",
462
+ OFF: "OFF",
463
+ };
455
464
  const CanaryStateReasonCode = {
456
465
  CREATE_FAILED: "CREATE_FAILED",
457
466
  CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
@@ -512,7 +521,9 @@ exports.ListAssociatedGroupsCommand = ListAssociatedGroupsCommand;
512
521
  exports.ListGroupResourcesCommand = ListGroupResourcesCommand;
513
522
  exports.ListGroupsCommand = ListGroupsCommand;
514
523
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
524
+ exports.LocationType = LocationType;
515
525
  exports.ProvisionedResourceCleanupSetting = ProvisionedResourceCleanupSetting;
526
+ exports.ReplicationState = ReplicationState;
516
527
  exports.ResourceToTag = ResourceToTag;
517
528
  exports.RunType = RunType;
518
529
  exports.StartCanaryCommand = StartCanaryCommand;
@@ -4,6 +4,8 @@ const _ACI = "ArtifactConfigInput";
4
4
  const _ACO = "ArtifactConfigOutput";
5
5
  const _ADE = "AccessDeniedException";
6
6
  const _AR = "AssociateResource";
7
+ const _ARL = "AddReplicaLocations";
8
+ const _ARLI = "AddReplicaLocationInput";
7
9
  const _ARR = "AssociateResourceRequest";
8
10
  const _ARRs = "AssociateResourceResponse";
9
11
  const _ASL = "ArtifactS3Location";
@@ -39,6 +41,7 @@ const _CRa = "CanaryRuns";
39
41
  const _CS = "CanaryStatus";
40
42
  const _CSI = "CanaryScheduleInput";
41
43
  const _CSO = "CanaryScheduleOutput";
44
+ const _CSa = "CanaryState";
42
45
  const _CT = "CanaryTimeline";
43
46
  const _CTr = "CreatedTime";
44
47
  const _Ca = "Canaries";
@@ -102,6 +105,7 @@ const _IC = "IgnoreCoordinates";
102
105
  const _IFE = "InternalFailureException";
103
106
  const _ISE = "InternalServerException";
104
107
  const _KKA = "KmsKeyArn";
108
+ const _L = "Location";
105
109
  const _LAG = "ListAssociatedGroups";
106
110
  const _LAGR = "ListAssociatedGroupsRequest";
107
111
  const _LAGRi = "ListAssociatedGroupsResponse";
@@ -117,11 +121,13 @@ const _LMT = "LastModifiedTime";
117
121
  const _LR = "LastRun";
118
122
  const _LS = "LastStarted";
119
123
  const _LSa = "LastStopped";
124
+ const _LT = "LocationType";
120
125
  const _LTFR = "ListTagsForResource";
121
126
  const _LTFRR = "ListTagsForResourceRequest";
122
127
  const _LTFRRi = "ListTagsForResourceResponse";
123
128
  const _M = "Message";
124
129
  const _MIMB = "MemoryInMB";
130
+ const _MLC = "MultiLocationConfig";
125
131
  const _MR = "MaxResults";
126
132
  const _MRa = "MaxRetries";
127
133
  const _MTFRAR = "MetricTimestampForRunAndRetries";
@@ -129,6 +135,7 @@ const _N = "Name";
129
135
  const _NFE = "NotFoundException";
130
136
  const _NT = "NextToken";
131
137
  const _Na = "Names";
138
+ const _PL = "PrimaryLocation";
132
139
  const _PRC = "ProvisionedResourceCleanup";
133
140
  const _R = "Reference";
134
141
  const _RA = "ResourceArn";
@@ -140,12 +147,17 @@ const _RCe = "RetryConfig";
140
147
  const _RD = "ReleaseDate";
141
148
  const _RETLE = "RequestEntityTooLargeException";
142
149
  const _RNFE = "ResourceNotFoundException";
150
+ const _RRL = "RemoveReplicaLocations";
151
+ const _RS = "ReplicationState";
152
+ const _RSe = "ReplicationStatus";
143
153
  const _RT = "RunType";
144
154
  const _RTRT = "ResourcesToReplicateTags";
145
155
  const _RV = "RuntimeVersion";
146
156
  const _RVL = "RuntimeVersionList";
147
157
  const _RVu = "RuntimeVersions";
148
158
  const _Re = "Resources";
159
+ const _Rep = "Replicas";
160
+ const _Repl = "Replica";
149
161
  const _S = "Schedule";
150
162
  const _SB = "S3Bucket";
151
163
  const _SC = "StartCanary";
@@ -301,6 +313,12 @@ exports.errorTypeRegistries = [
301
313
  _s_registry,
302
314
  n0_registry,
303
315
  ];
316
+ const AddReplicaLocationInput$ = [3, n0, _ARLI,
317
+ 0,
318
+ [_L, _VC],
319
+ [0, () => VpcConfigInput$], 1
320
+ ];
321
+ exports.AddReplicaLocationInput$ = AddReplicaLocationInput$;
304
322
  const ArtifactConfigInput$ = [3, n0, _ACI,
305
323
  0,
306
324
  [_SE],
@@ -339,8 +357,8 @@ const BrowserConfig$ = [3, n0, _BC,
339
357
  exports.BrowserConfig$ = BrowserConfig$;
340
358
  const Canary$ = [3, n0, _C,
341
359
  0,
342
- [_I, _N, _Co, _ERA, _S, _RC, _SRPID, _FRPID, _St, _T, _ASL, _EA, _RV, _VC, _VR, _PRC, _BCr, _EC, _VRi, _Ta, _AC, _DRC],
343
- [0, 0, () => CanaryCodeOutput$, 0, () => CanaryScheduleOutput$, () => CanaryRunConfigOutput$, 1, 1, () => CanaryStatus$, () => CanaryTimeline$, 0, 0, 0, () => VpcConfigOutput$, () => VisualReferenceOutput$, 0, () => BrowserConfigs, () => EngineConfigs, () => VisualReferencesOutput, 128 | 0, () => ArtifactConfigOutput$, () => DryRunConfigOutput$]
360
+ [_I, _N, _Co, _ERA, _S, _RC, _SRPID, _FRPID, _St, _T, _ASL, _EA, _RV, _VC, _VR, _PRC, _BCr, _EC, _VRi, _MLC, _Ta, _AC, _DRC],
361
+ [0, 0, () => CanaryCodeOutput$, 0, () => CanaryScheduleOutput$, () => CanaryRunConfigOutput$, 1, 1, () => CanaryStatus$, () => CanaryTimeline$, 0, 0, 0, () => VpcConfigOutput$, () => VisualReferenceOutput$, 0, () => BrowserConfigs, () => EngineConfigs, () => VisualReferencesOutput, () => MultiLocationConfig$, 128 | 0, () => ArtifactConfigOutput$, () => DryRunConfigOutput$]
344
362
  ];
345
363
  exports.Canary$ = Canary$;
346
364
  const CanaryCodeInput$ = [3, n0, _CCI,
@@ -369,8 +387,8 @@ const CanaryLastRun$ = [3, n0, _CLR,
369
387
  exports.CanaryLastRun$ = CanaryLastRun$;
370
388
  const CanaryRun$ = [3, n0, _CR,
371
389
  0,
372
- [_I, _SRI, _RAe, _N, _St, _T, _ASL, _DRC, _BT],
373
- [0, 0, 1, 0, () => CanaryRunStatus$, () => CanaryRunTimeline$, 0, () => CanaryDryRunConfigOutput$, 0]
390
+ [_I, _SRI, _RAe, _N, _St, _T, _ASL, _DRC, _BT, _L],
391
+ [0, 0, 1, 0, () => CanaryRunStatus$, () => CanaryRunTimeline$, 0, () => CanaryDryRunConfigOutput$, 0, 0]
374
392
  ];
375
393
  exports.CanaryRun$ = CanaryRun$;
376
394
  const CanaryRunConfigInput$ = [3, n0, _CRCI,
@@ -423,8 +441,8 @@ const CanaryTimeline$ = [3, n0, _CT,
423
441
  exports.CanaryTimeline$ = CanaryTimeline$;
424
442
  const CreateCanaryRequest$ = [3, n0, _CCR,
425
443
  0,
426
- [_N, _Co, _ASL, _ERA, _S, _RV, _RC, _SRPID, _FRPID, _VC, _RTRT, _PRC, _BCr, _Ta, _AC],
427
- [0, () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, 0, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, 64 | 0, 0, () => BrowserConfigs, 128 | 0, () => ArtifactConfigInput$], 6
444
+ [_N, _Co, _ASL, _ERA, _S, _RV, _RC, _SRPID, _FRPID, _VC, _RTRT, _PRC, _BCr, _ARL, _Ta, _AC],
445
+ [0, () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, 0, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, 64 | 0, 0, () => BrowserConfigs, () => AddReplicaLocations, 128 | 0, () => ArtifactConfigInput$], 6
428
446
  ];
429
447
  exports.CreateCanaryRequest$ = CreateCanaryRequest$;
430
448
  const CreateCanaryResponse$ = [3, n0, _CCRr,
@@ -631,6 +649,24 @@ const ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
631
649
  [128 | 0]
632
650
  ];
633
651
  exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
652
+ const MultiLocationConfig$ = [3, n0, _MLC,
653
+ 0,
654
+ [_LT, _PL, _Rep, _RS],
655
+ [0, 0, () => Replicas, 0]
656
+ ];
657
+ exports.MultiLocationConfig$ = MultiLocationConfig$;
658
+ const Replica$ = [3, n0, _Repl,
659
+ 0,
660
+ [_L, _RSe, _CSa, _LM, _VC],
661
+ [0, () => ReplicationStatus$, 0, 4, () => VpcConfigOutput$]
662
+ ];
663
+ exports.Replica$ = Replica$;
664
+ const ReplicationStatus$ = [3, n0, _RSe,
665
+ 0,
666
+ [_Sta, _SR, _SRC],
667
+ [0, 0, 0]
668
+ ];
669
+ exports.ReplicationStatus$ = ReplicationStatus$;
634
670
  const RetryConfigInput$ = [3, n0, _RCI,
635
671
  0,
636
672
  [_MRa],
@@ -717,8 +753,8 @@ const UntagResourceResponse$ = [3, n0, _URRn,
717
753
  exports.UntagResourceResponse$ = UntagResourceResponse$;
718
754
  const UpdateCanaryRequest$ = [3, n0, _UCR,
719
755
  0,
720
- [_N, _Co, _ERA, _RV, _S, _RC, _SRPID, _FRPID, _VC, _VR, _ASL, _AC, _PRC, _DRI, _VRi, _BCr],
721
- [[0, 1], () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, () => VisualReferenceInput$, 0, () => ArtifactConfigInput$, 0, 0, () => VisualReferences, () => BrowserConfigs], 1
756
+ [_N, _Co, _ERA, _RV, _S, _RC, _SRPID, _FRPID, _VC, _VR, _ASL, _AC, _PRC, _DRI, _VRi, _BCr, _ARL, _RRL],
757
+ [[0, 1], () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, () => VisualReferenceInput$, 0, () => ArtifactConfigInput$, 0, 0, () => VisualReferences, () => BrowserConfigs, () => AddReplicaLocations, 64 | 0], 1
722
758
  ];
723
759
  exports.UpdateCanaryRequest$ = UpdateCanaryRequest$;
724
760
  const UpdateCanaryResponse$ = [3, n0, _UCRp,
@@ -751,6 +787,9 @@ const VpcConfigOutput$ = [3, n0, _VCO,
751
787
  [0, 64 | 0, 64 | 0, 2]
752
788
  ];
753
789
  exports.VpcConfigOutput$ = VpcConfigOutput$;
790
+ var AddReplicaLocations = [1, n0, _ARL,
791
+ 0, () => AddReplicaLocationInput$
792
+ ];
754
793
  var BaseScreenshotIgnoreCoordinates = 64 | 0;
755
794
  var BaseScreenshots = [1, n0, _BSa,
756
795
  0, () => BaseScreenshot$
@@ -779,6 +818,10 @@ var EngineConfigs = [1, n0, _EC,
779
818
  var GroupSummaryList = [1, n0, _GSL,
780
819
  0, () => GroupSummary$
781
820
  ];
821
+ var RemoveReplicaLocations = 64 | 0;
822
+ var Replicas = [1, n0, _Rep,
823
+ 0, () => Replica$
824
+ ];
782
825
  var ResourceList = 64 | 0;
783
826
  var RuntimeVersionList = [1, n0, _RVL,
784
827
  0, () => RuntimeVersion$
@@ -9,9 +9,9 @@ export const BrowserType = {
9
9
  export const DependencyType = {
10
10
  LambdaLayer: "LambdaLayer",
11
11
  };
12
- export const ProvisionedResourceCleanupSetting = {
13
- AUTOMATIC: "AUTOMATIC",
14
- OFF: "OFF",
12
+ export const LocationType = {
13
+ Primary: "Primary",
14
+ Replica: "Replica",
15
15
  };
16
16
  export const CanaryState = {
17
17
  CREATING: "CREATING",
@@ -24,6 +24,15 @@ export const CanaryState = {
24
24
  STOPPING: "STOPPING",
25
25
  UPDATING: "UPDATING",
26
26
  };
27
+ export const ReplicationState = {
28
+ InProgress: "InProgress",
29
+ InSync: "InSync",
30
+ Inconsistent: "Inconsistent",
31
+ };
32
+ export const ProvisionedResourceCleanupSetting = {
33
+ AUTOMATIC: "AUTOMATIC",
34
+ OFF: "OFF",
35
+ };
27
36
  export const CanaryStateReasonCode = {
28
37
  CREATE_FAILED: "CREATE_FAILED",
29
38
  CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
@@ -4,6 +4,8 @@ const _ACI = "ArtifactConfigInput";
4
4
  const _ACO = "ArtifactConfigOutput";
5
5
  const _ADE = "AccessDeniedException";
6
6
  const _AR = "AssociateResource";
7
+ const _ARL = "AddReplicaLocations";
8
+ const _ARLI = "AddReplicaLocationInput";
7
9
  const _ARR = "AssociateResourceRequest";
8
10
  const _ARRs = "AssociateResourceResponse";
9
11
  const _ASL = "ArtifactS3Location";
@@ -39,6 +41,7 @@ const _CRa = "CanaryRuns";
39
41
  const _CS = "CanaryStatus";
40
42
  const _CSI = "CanaryScheduleInput";
41
43
  const _CSO = "CanaryScheduleOutput";
44
+ const _CSa = "CanaryState";
42
45
  const _CT = "CanaryTimeline";
43
46
  const _CTr = "CreatedTime";
44
47
  const _Ca = "Canaries";
@@ -102,6 +105,7 @@ const _IC = "IgnoreCoordinates";
102
105
  const _IFE = "InternalFailureException";
103
106
  const _ISE = "InternalServerException";
104
107
  const _KKA = "KmsKeyArn";
108
+ const _L = "Location";
105
109
  const _LAG = "ListAssociatedGroups";
106
110
  const _LAGR = "ListAssociatedGroupsRequest";
107
111
  const _LAGRi = "ListAssociatedGroupsResponse";
@@ -117,11 +121,13 @@ const _LMT = "LastModifiedTime";
117
121
  const _LR = "LastRun";
118
122
  const _LS = "LastStarted";
119
123
  const _LSa = "LastStopped";
124
+ const _LT = "LocationType";
120
125
  const _LTFR = "ListTagsForResource";
121
126
  const _LTFRR = "ListTagsForResourceRequest";
122
127
  const _LTFRRi = "ListTagsForResourceResponse";
123
128
  const _M = "Message";
124
129
  const _MIMB = "MemoryInMB";
130
+ const _MLC = "MultiLocationConfig";
125
131
  const _MR = "MaxResults";
126
132
  const _MRa = "MaxRetries";
127
133
  const _MTFRAR = "MetricTimestampForRunAndRetries";
@@ -129,6 +135,7 @@ const _N = "Name";
129
135
  const _NFE = "NotFoundException";
130
136
  const _NT = "NextToken";
131
137
  const _Na = "Names";
138
+ const _PL = "PrimaryLocation";
132
139
  const _PRC = "ProvisionedResourceCleanup";
133
140
  const _R = "Reference";
134
141
  const _RA = "ResourceArn";
@@ -140,12 +147,17 @@ const _RCe = "RetryConfig";
140
147
  const _RD = "ReleaseDate";
141
148
  const _RETLE = "RequestEntityTooLargeException";
142
149
  const _RNFE = "ResourceNotFoundException";
150
+ const _RRL = "RemoveReplicaLocations";
151
+ const _RS = "ReplicationState";
152
+ const _RSe = "ReplicationStatus";
143
153
  const _RT = "RunType";
144
154
  const _RTRT = "ResourcesToReplicateTags";
145
155
  const _RV = "RuntimeVersion";
146
156
  const _RVL = "RuntimeVersionList";
147
157
  const _RVu = "RuntimeVersions";
148
158
  const _Re = "Resources";
159
+ const _Rep = "Replicas";
160
+ const _Repl = "Replica";
149
161
  const _S = "Schedule";
150
162
  const _SB = "S3Bucket";
151
163
  const _SC = "StartCanary";
@@ -289,6 +301,11 @@ export const errorTypeRegistries = [
289
301
  _s_registry,
290
302
  n0_registry,
291
303
  ];
304
+ export var AddReplicaLocationInput$ = [3, n0, _ARLI,
305
+ 0,
306
+ [_L, _VC],
307
+ [0, () => VpcConfigInput$], 1
308
+ ];
292
309
  export var ArtifactConfigInput$ = [3, n0, _ACI,
293
310
  0,
294
311
  [_SE],
@@ -321,8 +338,8 @@ export var BrowserConfig$ = [3, n0, _BC,
321
338
  ];
322
339
  export var Canary$ = [3, n0, _C,
323
340
  0,
324
- [_I, _N, _Co, _ERA, _S, _RC, _SRPID, _FRPID, _St, _T, _ASL, _EA, _RV, _VC, _VR, _PRC, _BCr, _EC, _VRi, _Ta, _AC, _DRC],
325
- [0, 0, () => CanaryCodeOutput$, 0, () => CanaryScheduleOutput$, () => CanaryRunConfigOutput$, 1, 1, () => CanaryStatus$, () => CanaryTimeline$, 0, 0, 0, () => VpcConfigOutput$, () => VisualReferenceOutput$, 0, () => BrowserConfigs, () => EngineConfigs, () => VisualReferencesOutput, 128 | 0, () => ArtifactConfigOutput$, () => DryRunConfigOutput$]
341
+ [_I, _N, _Co, _ERA, _S, _RC, _SRPID, _FRPID, _St, _T, _ASL, _EA, _RV, _VC, _VR, _PRC, _BCr, _EC, _VRi, _MLC, _Ta, _AC, _DRC],
342
+ [0, 0, () => CanaryCodeOutput$, 0, () => CanaryScheduleOutput$, () => CanaryRunConfigOutput$, 1, 1, () => CanaryStatus$, () => CanaryTimeline$, 0, 0, 0, () => VpcConfigOutput$, () => VisualReferenceOutput$, 0, () => BrowserConfigs, () => EngineConfigs, () => VisualReferencesOutput, () => MultiLocationConfig$, 128 | 0, () => ArtifactConfigOutput$, () => DryRunConfigOutput$]
326
343
  ];
327
344
  export var CanaryCodeInput$ = [3, n0, _CCI,
328
345
  0,
@@ -346,8 +363,8 @@ export var CanaryLastRun$ = [3, n0, _CLR,
346
363
  ];
347
364
  export var CanaryRun$ = [3, n0, _CR,
348
365
  0,
349
- [_I, _SRI, _RAe, _N, _St, _T, _ASL, _DRC, _BT],
350
- [0, 0, 1, 0, () => CanaryRunStatus$, () => CanaryRunTimeline$, 0, () => CanaryDryRunConfigOutput$, 0]
366
+ [_I, _SRI, _RAe, _N, _St, _T, _ASL, _DRC, _BT, _L],
367
+ [0, 0, 1, 0, () => CanaryRunStatus$, () => CanaryRunTimeline$, 0, () => CanaryDryRunConfigOutput$, 0, 0]
351
368
  ];
352
369
  export var CanaryRunConfigInput$ = [3, n0, _CRCI,
353
370
  0,
@@ -391,8 +408,8 @@ export var CanaryTimeline$ = [3, n0, _CT,
391
408
  ];
392
409
  export var CreateCanaryRequest$ = [3, n0, _CCR,
393
410
  0,
394
- [_N, _Co, _ASL, _ERA, _S, _RV, _RC, _SRPID, _FRPID, _VC, _RTRT, _PRC, _BCr, _Ta, _AC],
395
- [0, () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, 0, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, 64 | 0, 0, () => BrowserConfigs, 128 | 0, () => ArtifactConfigInput$], 6
411
+ [_N, _Co, _ASL, _ERA, _S, _RV, _RC, _SRPID, _FRPID, _VC, _RTRT, _PRC, _BCr, _ARL, _Ta, _AC],
412
+ [0, () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, 0, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, 64 | 0, 0, () => BrowserConfigs, () => AddReplicaLocations, 128 | 0, () => ArtifactConfigInput$], 6
396
413
  ];
397
414
  export var CreateCanaryResponse$ = [3, n0, _CCRr,
398
415
  0,
@@ -564,6 +581,21 @@ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
564
581
  [_Ta],
565
582
  [128 | 0]
566
583
  ];
584
+ export var MultiLocationConfig$ = [3, n0, _MLC,
585
+ 0,
586
+ [_LT, _PL, _Rep, _RS],
587
+ [0, 0, () => Replicas, 0]
588
+ ];
589
+ export var Replica$ = [3, n0, _Repl,
590
+ 0,
591
+ [_L, _RSe, _CSa, _LM, _VC],
592
+ [0, () => ReplicationStatus$, 0, 4, () => VpcConfigOutput$]
593
+ ];
594
+ export var ReplicationStatus$ = [3, n0, _RSe,
595
+ 0,
596
+ [_Sta, _SR, _SRC],
597
+ [0, 0, 0]
598
+ ];
567
599
  export var RetryConfigInput$ = [3, n0, _RCI,
568
600
  0,
569
601
  [_MRa],
@@ -636,8 +668,8 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
636
668
  ];
637
669
  export var UpdateCanaryRequest$ = [3, n0, _UCR,
638
670
  0,
639
- [_N, _Co, _ERA, _RV, _S, _RC, _SRPID, _FRPID, _VC, _VR, _ASL, _AC, _PRC, _DRI, _VRi, _BCr],
640
- [[0, 1], () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, () => VisualReferenceInput$, 0, () => ArtifactConfigInput$, 0, 0, () => VisualReferences, () => BrowserConfigs], 1
671
+ [_N, _Co, _ERA, _RV, _S, _RC, _SRPID, _FRPID, _VC, _VR, _ASL, _AC, _PRC, _DRI, _VRi, _BCr, _ARL, _RRL],
672
+ [[0, 1], () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, () => VisualReferenceInput$, 0, () => ArtifactConfigInput$, 0, 0, () => VisualReferences, () => BrowserConfigs, () => AddReplicaLocations, 64 | 0], 1
641
673
  ];
642
674
  export var UpdateCanaryResponse$ = [3, n0, _UCRp,
643
675
  0,
@@ -664,6 +696,9 @@ export var VpcConfigOutput$ = [3, n0, _VCO,
664
696
  [_VI, _SI, _SGI, _IAFDS],
665
697
  [0, 64 | 0, 64 | 0, 2]
666
698
  ];
699
+ var AddReplicaLocations = [1, n0, _ARL,
700
+ 0, () => AddReplicaLocationInput$
701
+ ];
667
702
  var BaseScreenshotIgnoreCoordinates = 64 | 0;
668
703
  var BaseScreenshots = [1, n0, _BSa,
669
704
  0, () => BaseScreenshot$
@@ -692,6 +727,10 @@ var EngineConfigs = [1, n0, _EC,
692
727
  var GroupSummaryList = [1, n0, _GSL,
693
728
  0, () => GroupSummary$
694
729
  ];
730
+ var RemoveReplicaLocations = 64 | 0;
731
+ var Replicas = [1, n0, _Rep,
732
+ 0, () => Replica$
733
+ ];
695
734
  var ResourceList = 64 | 0;
696
735
  var RuntimeVersionList = [1, n0, _RVL,
697
736
  0, () => RuntimeVersion$
@@ -108,6 +108,20 @@ declare const CreateCanaryCommand_base: {
108
108
  * BrowserType: "CHROME" || "FIREFOX",
109
109
  * },
110
110
  * ],
111
+ * AddReplicaLocations: [ // AddReplicaLocations
112
+ * { // AddReplicaLocationInput
113
+ * Location: "STRING_VALUE", // required
114
+ * VpcConfig: {
115
+ * SubnetIds: [
116
+ * "STRING_VALUE",
117
+ * ],
118
+ * SecurityGroupIds: [
119
+ * "STRING_VALUE",
120
+ * ],
121
+ * Ipv6AllowedForDualStack: true || false,
122
+ * },
123
+ * },
124
+ * ],
111
125
  * Tags: { // TagMap
112
126
  * "<keys>": "STRING_VALUE",
113
127
  * },
@@ -215,6 +229,33 @@ declare const CreateCanaryCommand_base: {
215
229
  * // BrowserType: "CHROME" || "FIREFOX",
216
230
  * // },
217
231
  * // ],
232
+ * // MultiLocationConfig: { // MultiLocationConfig
233
+ * // LocationType: "Primary" || "Replica",
234
+ * // PrimaryLocation: "STRING_VALUE",
235
+ * // Replicas: [ // Replicas
236
+ * // { // Replica
237
+ * // Location: "STRING_VALUE",
238
+ * // ReplicationStatus: { // ReplicationStatus
239
+ * // State: "InProgress" || "InSync" || "Inconsistent",
240
+ * // StateReason: "STRING_VALUE",
241
+ * // StateReasonCode: "STRING_VALUE",
242
+ * // },
243
+ * // CanaryState: "CREATING" || "READY" || "STARTING" || "RUNNING" || "UPDATING" || "STOPPING" || "STOPPED" || "ERROR" || "DELETING",
244
+ * // LastModified: new Date("TIMESTAMP"),
245
+ * // VpcConfig: {
246
+ * // VpcId: "STRING_VALUE",
247
+ * // SubnetIds: [
248
+ * // "STRING_VALUE",
249
+ * // ],
250
+ * // SecurityGroupIds: [
251
+ * // "STRING_VALUE",
252
+ * // ],
253
+ * // Ipv6AllowedForDualStack: true || false,
254
+ * // },
255
+ * // },
256
+ * // ],
257
+ * // ReplicationState: "InProgress" || "InSync" || "Inconsistent",
258
+ * // },
218
259
  * // Tags: { // TagMap
219
260
  * // "<keys>": "STRING_VALUE",
220
261
  * // },
@@ -152,6 +152,33 @@ declare const DescribeCanariesCommand_base: {
152
152
  * // BrowserType: "CHROME" || "FIREFOX",
153
153
  * // },
154
154
  * // ],
155
+ * // MultiLocationConfig: { // MultiLocationConfig
156
+ * // LocationType: "Primary" || "Replica",
157
+ * // PrimaryLocation: "STRING_VALUE",
158
+ * // Replicas: [ // Replicas
159
+ * // { // Replica
160
+ * // Location: "STRING_VALUE",
161
+ * // ReplicationStatus: { // ReplicationStatus
162
+ * // State: "InProgress" || "InSync" || "Inconsistent",
163
+ * // StateReason: "STRING_VALUE",
164
+ * // StateReasonCode: "STRING_VALUE",
165
+ * // },
166
+ * // CanaryState: "CREATING" || "READY" || "STARTING" || "RUNNING" || "UPDATING" || "STOPPING" || "STOPPED" || "ERROR" || "DELETING",
167
+ * // LastModified: new Date("TIMESTAMP"),
168
+ * // VpcConfig: {
169
+ * // VpcId: "STRING_VALUE",
170
+ * // SubnetIds: [
171
+ * // "STRING_VALUE",
172
+ * // ],
173
+ * // SecurityGroupIds: [
174
+ * // "STRING_VALUE",
175
+ * // ],
176
+ * // Ipv6AllowedForDualStack: true || false,
177
+ * // },
178
+ * // },
179
+ * // ],
180
+ * // ReplicationState: "InProgress" || "InSync" || "Inconsistent",
181
+ * // },
155
182
  * // Tags: { // TagMap
156
183
  * // "<keys>": "STRING_VALUE",
157
184
  * // },
@@ -81,6 +81,7 @@ declare const DescribeCanariesLastRunCommand_base: {
81
81
  * // DryRunId: "STRING_VALUE",
82
82
  * // },
83
83
  * // BrowserType: "CHROME" || "FIREFOX",
84
+ * // Location: "STRING_VALUE",
84
85
  * // },
85
86
  * // },
86
87
  * // ],
@@ -141,6 +141,33 @@ declare const GetCanaryCommand_base: {
141
141
  * // BrowserType: "CHROME" || "FIREFOX",
142
142
  * // },
143
143
  * // ],
144
+ * // MultiLocationConfig: { // MultiLocationConfig
145
+ * // LocationType: "Primary" || "Replica",
146
+ * // PrimaryLocation: "STRING_VALUE",
147
+ * // Replicas: [ // Replicas
148
+ * // { // Replica
149
+ * // Location: "STRING_VALUE",
150
+ * // ReplicationStatus: { // ReplicationStatus
151
+ * // State: "InProgress" || "InSync" || "Inconsistent",
152
+ * // StateReason: "STRING_VALUE",
153
+ * // StateReasonCode: "STRING_VALUE",
154
+ * // },
155
+ * // CanaryState: "CREATING" || "READY" || "STARTING" || "RUNNING" || "UPDATING" || "STOPPING" || "STOPPED" || "ERROR" || "DELETING",
156
+ * // LastModified: new Date("TIMESTAMP"),
157
+ * // VpcConfig: {
158
+ * // VpcId: "STRING_VALUE",
159
+ * // SubnetIds: [
160
+ * // "STRING_VALUE",
161
+ * // ],
162
+ * // SecurityGroupIds: [
163
+ * // "STRING_VALUE",
164
+ * // ],
165
+ * // Ipv6AllowedForDualStack: true || false,
166
+ * // },
167
+ * // },
168
+ * // ],
169
+ * // ReplicationState: "InProgress" || "InSync" || "Inconsistent",
170
+ * // },
144
171
  * // Tags: { // TagMap
145
172
  * // "<keys>": "STRING_VALUE",
146
173
  * // },
@@ -70,6 +70,7 @@ declare const GetCanaryRunsCommand_base: {
70
70
  * // DryRunId: "STRING_VALUE",
71
71
  * // },
72
72
  * // BrowserType: "CHROME" || "FIREFOX",
73
+ * // Location: "STRING_VALUE",
73
74
  * // },
74
75
  * // ],
75
76
  * // NextToken: "STRING_VALUE",
@@ -139,6 +139,23 @@ declare const UpdateCanaryCommand_base: {
139
139
  * BrowserType: "CHROME" || "FIREFOX",
140
140
  * },
141
141
  * ],
142
+ * AddReplicaLocations: [ // AddReplicaLocations
143
+ * { // AddReplicaLocationInput
144
+ * Location: "STRING_VALUE", // required
145
+ * VpcConfig: {
146
+ * SubnetIds: [
147
+ * "STRING_VALUE",
148
+ * ],
149
+ * SecurityGroupIds: [
150
+ * "STRING_VALUE",
151
+ * ],
152
+ * Ipv6AllowedForDualStack: true || false,
153
+ * },
154
+ * },
155
+ * ],
156
+ * RemoveReplicaLocations: [ // RemoveReplicaLocations
157
+ * "STRING_VALUE",
158
+ * ],
142
159
  * };
143
160
  * const command = new UpdateCanaryCommand(input);
144
161
  * const response = await client.send(command);
@@ -37,14 +37,14 @@ export type DependencyType = (typeof DependencyType)[keyof typeof DependencyType
37
37
  * @public
38
38
  * @enum
39
39
  */
40
- export declare const ProvisionedResourceCleanupSetting: {
41
- readonly AUTOMATIC: "AUTOMATIC";
42
- readonly OFF: "OFF";
40
+ export declare const LocationType: {
41
+ readonly Primary: "Primary";
42
+ readonly Replica: "Replica";
43
43
  };
44
44
  /**
45
45
  * @public
46
46
  */
47
- export type ProvisionedResourceCleanupSetting = (typeof ProvisionedResourceCleanupSetting)[keyof typeof ProvisionedResourceCleanupSetting];
47
+ export type LocationType = (typeof LocationType)[keyof typeof LocationType];
48
48
  /**
49
49
  * @public
50
50
  * @enum
@@ -64,6 +64,31 @@ export declare const CanaryState: {
64
64
  * @public
65
65
  */
66
66
  export type CanaryState = (typeof CanaryState)[keyof typeof CanaryState];
67
+ /**
68
+ * @public
69
+ * @enum
70
+ */
71
+ export declare const ReplicationState: {
72
+ readonly InProgress: "InProgress";
73
+ readonly InSync: "InSync";
74
+ readonly Inconsistent: "Inconsistent";
75
+ };
76
+ /**
77
+ * @public
78
+ */
79
+ export type ReplicationState = (typeof ReplicationState)[keyof typeof ReplicationState];
80
+ /**
81
+ * @public
82
+ * @enum
83
+ */
84
+ export declare const ProvisionedResourceCleanupSetting: {
85
+ readonly AUTOMATIC: "AUTOMATIC";
86
+ readonly OFF: "OFF";
87
+ };
88
+ /**
89
+ * @public
90
+ */
91
+ export type ProvisionedResourceCleanupSetting = (typeof ProvisionedResourceCleanupSetting)[keyof typeof ProvisionedResourceCleanupSetting];
67
92
  /**
68
93
  * @public
69
94
  * @enum
@@ -1,4 +1,45 @@
1
- import type { BrowserType, CanaryRunState, CanaryRunStateReasonCode, CanaryRunTestResult, CanaryState, CanaryStateReasonCode, DependencyType, EncryptionMode, ProvisionedResourceCleanupSetting, ResourceToTag, RunType } from "./enums";
1
+ import type { BrowserType, CanaryRunState, CanaryRunStateReasonCode, CanaryRunTestResult, CanaryState, CanaryStateReasonCode, DependencyType, EncryptionMode, LocationType, ProvisionedResourceCleanupSetting, ReplicationState, ResourceToTag, RunType } from "./enums";
2
+ /**
3
+ * <p>If this canary is to test an endpoint in a VPC, this structure contains
4
+ * information about the subnets and security groups of the VPC endpoint.
5
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html">
6
+ * Running a Canary in a VPC</a>.</p>
7
+ * @public
8
+ */
9
+ export interface VpcConfigInput {
10
+ /**
11
+ * <p>The IDs of the subnets where this canary is to run.</p>
12
+ * @public
13
+ */
14
+ SubnetIds?: string[] | undefined;
15
+ /**
16
+ * <p>The IDs of the security groups for this canary.</p>
17
+ * @public
18
+ */
19
+ SecurityGroupIds?: string[] | undefined;
20
+ /**
21
+ * <p>Set this to <code>true</code> to allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets. The default is <code>false</code>
22
+ * </p>
23
+ * @public
24
+ */
25
+ Ipv6AllowedForDualStack?: boolean | undefined;
26
+ }
27
+ /**
28
+ * <p>A structure that specifies a replica location for a canary, including the Region and optional VPC configuration.</p>
29
+ * @public
30
+ */
31
+ export interface AddReplicaLocationInput {
32
+ /**
33
+ * <p>The Amazon Web Services Region where the canary replica should be created, for example <code>us-east-1</code>.</p>
34
+ * @public
35
+ */
36
+ Location: string | undefined;
37
+ /**
38
+ * <p>The VPC configuration to use for the canary replica in this location. If not specified, the replica runs without VPC connectivity.</p>
39
+ * @public
40
+ */
41
+ VpcConfig?: VpcConfigInput | undefined;
42
+ }
2
43
  /**
3
44
  * <p>A structure that contains the configuration of encryption-at-rest settings for canary artifacts that the canary
4
45
  * uploads to Amazon S3. </p>
@@ -146,7 +187,7 @@ export interface CanaryCodeOutput {
146
187
  /**
147
188
  * <p>
148
189
  * <code>BlueprintTypes</code> is a list of templates that enable simplified canary creation. You can create canaries for common monitoring scenarios by providing only a JSON configuration file instead of writing custom scripts. The only supported value is <code>multi-checks</code>.</p>
149
- * <p>Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in authentication schemes (Basic, API Key, OAuth, SigV4) and assertion capabilities. When you specify <code>BlueprintTypes</code>, the Handler field cannot be specified since the blueprint provides a pre-defined entry point.</p>
190
+ * <p>Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in authentication schemes (Basic, API Key, OAuth, SigV4) and assertion capabilities. When you specify <code>BlueprintTypes</code>, the <code>Handler</code> field cannot be specified since the blueprint provides a pre-defined entry point.</p>
150
191
  * <p>
151
192
  * <code>BlueprintTypes</code> is supported only on canaries for syn-nodejs-3.0 runtime or later.</p>
152
193
  * @public
@@ -191,6 +232,113 @@ export interface EngineConfig {
191
232
  */
192
233
  BrowserType?: BrowserType | undefined;
193
234
  }
235
+ /**
236
+ * <p>A structure that contains information about the replication status of a canary replica.</p>
237
+ * @public
238
+ */
239
+ export interface ReplicationStatus {
240
+ /**
241
+ * <p>The replication state of the replica. Valid values are <code>InProgress</code>, <code>InSync</code>, and <code>Inconsistent</code>.</p>
242
+ * @public
243
+ */
244
+ State?: ReplicationState | undefined;
245
+ /**
246
+ * <p>A description that provides more detail about the current replication state.</p>
247
+ * @public
248
+ */
249
+ StateReason?: string | undefined;
250
+ /**
251
+ * <p>A code that provides more detail about the current replication state.</p>
252
+ * @public
253
+ */
254
+ StateReasonCode?: string | undefined;
255
+ }
256
+ /**
257
+ * <p>If this canary is to test an endpoint in a VPC, this structure contains
258
+ * information about the subnets and security groups of the VPC endpoint.
259
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html">
260
+ * Running a Canary in a VPC</a>.</p>
261
+ * @public
262
+ */
263
+ export interface VpcConfigOutput {
264
+ /**
265
+ * <p>The IDs of the VPC where this canary is to run.</p>
266
+ * @public
267
+ */
268
+ VpcId?: string | undefined;
269
+ /**
270
+ * <p>The IDs of the subnets where this canary is to run.</p>
271
+ * @public
272
+ */
273
+ SubnetIds?: string[] | undefined;
274
+ /**
275
+ * <p>The IDs of the security groups for this canary.</p>
276
+ * @public
277
+ */
278
+ SecurityGroupIds?: string[] | undefined;
279
+ /**
280
+ * <p>Indicates whether this canary allows outbound IPv6 traffic if it is connected to dual-stack subnets.</p>
281
+ * @public
282
+ */
283
+ Ipv6AllowedForDualStack?: boolean | undefined;
284
+ }
285
+ /**
286
+ * <p>A structure that contains information about a canary replica in a specific location.</p>
287
+ * @public
288
+ */
289
+ export interface Replica {
290
+ /**
291
+ * <p>The Amazon Web Services Region where this replica is located.</p>
292
+ * @public
293
+ */
294
+ Location?: string | undefined;
295
+ /**
296
+ * <p>A structure that contains information about the replication status of this replica.</p>
297
+ * @public
298
+ */
299
+ ReplicationStatus?: ReplicationStatus | undefined;
300
+ /**
301
+ * <p>The current state of the canary in this replica location.</p>
302
+ * @public
303
+ */
304
+ CanaryState?: CanaryState | undefined;
305
+ /**
306
+ * <p>The date and time that the replica was last modified.</p>
307
+ * @public
308
+ */
309
+ LastModified?: Date | undefined;
310
+ /**
311
+ * <p>The VPC configuration for the canary replica in this location.</p>
312
+ * @public
313
+ */
314
+ VpcConfig?: VpcConfigOutput | undefined;
315
+ }
316
+ /**
317
+ * <p>A structure that contains information about the multi-location configuration of a canary, including whether it is a primary or replica, the primary location, and the list of replicas.</p>
318
+ * @public
319
+ */
320
+ export interface MultiLocationConfig {
321
+ /**
322
+ * <p>Indicates whether this canary is the <code>Primary</code> or a <code>Replica</code> in the multi-location configuration.</p>
323
+ * @public
324
+ */
325
+ LocationType?: LocationType | undefined;
326
+ /**
327
+ * <p>The Amazon Web Services Region where the primary canary is located.</p>
328
+ * @public
329
+ */
330
+ PrimaryLocation?: string | undefined;
331
+ /**
332
+ * <p>A list of replicas for this canary. This field is present only for the primary location canary.</p>
333
+ * @public
334
+ */
335
+ Replicas?: Replica[] | undefined;
336
+ /**
337
+ * <p>The overall replication state of the canary across all replica locations. This field is present only for the primary location canary. Valid values are <code>InProgress</code>, <code>InSync</code>, and <code>Inconsistent</code>.</p>
338
+ * @public
339
+ */
340
+ ReplicationState?: ReplicationState | undefined;
341
+ }
194
342
  /**
195
343
  * <p>A structure that contains information about a canary run.</p>
196
344
  * @public
@@ -337,35 +485,6 @@ export interface VisualReferenceOutput {
337
485
  */
338
486
  BrowserType?: BrowserType | undefined;
339
487
  }
340
- /**
341
- * <p>If this canary is to test an endpoint in a VPC, this structure contains
342
- * information about the subnets and security groups of the VPC endpoint.
343
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html">
344
- * Running a Canary in a VPC</a>.</p>
345
- * @public
346
- */
347
- export interface VpcConfigOutput {
348
- /**
349
- * <p>The IDs of the VPC where this canary is to run.</p>
350
- * @public
351
- */
352
- VpcId?: string | undefined;
353
- /**
354
- * <p>The IDs of the subnets where this canary is to run.</p>
355
- * @public
356
- */
357
- SubnetIds?: string[] | undefined;
358
- /**
359
- * <p>The IDs of the security groups for this canary.</p>
360
- * @public
361
- */
362
- SecurityGroupIds?: string[] | undefined;
363
- /**
364
- * <p>Indicates whether this canary allows outbound IPv6 traffic if it is connected to dual-stack subnets.</p>
365
- * @public
366
- */
367
- Ipv6AllowedForDualStack?: boolean | undefined;
368
- }
369
488
  /**
370
489
  * <p>This structure contains all information about one canary in your account.</p>
371
490
  * @public
@@ -499,6 +618,11 @@ export interface Canary {
499
618
  * @public
500
619
  */
501
620
  VisualReferences?: VisualReferenceOutput[] | undefined;
621
+ /**
622
+ * <p>If this canary is part of a multi-location configuration, this structure contains information about the canary's location type, primary location, and replicas.</p>
623
+ * @public
624
+ */
625
+ MultiLocationConfig?: MultiLocationConfig | undefined;
502
626
  /**
503
627
  * <p>The list of key-value pairs that are associated with the canary.</p>
504
628
  * @public
@@ -629,6 +753,11 @@ export interface CanaryRun {
629
753
  * @public
630
754
  */
631
755
  BrowserType?: BrowserType | undefined;
756
+ /**
757
+ * <p>The Amazon Web Services Region where this canary run was executed.</p>
758
+ * @public
759
+ */
760
+ Location?: string | undefined;
632
761
  }
633
762
  /**
634
763
  * <p>This structure contains information about the most recent run of a single canary.</p>
@@ -718,7 +847,7 @@ export interface CanaryCodeInput {
718
847
  /**
719
848
  * <p>
720
849
  * <code>BlueprintTypes</code> is a list of templates that enable simplified canary creation. You can create canaries for common monitoring scenarios by providing only a JSON configuration file instead of writing custom scripts. The only supported value is <code>multi-checks</code>.</p>
721
- * <p>Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in authentication schemes (Basic, API Key, OAuth, SigV4) and assertion capabilities. When you specify <code>BlueprintTypes</code>, the Handler field cannot be specified since the blueprint provides a pre-defined entry point.</p>
850
+ * <p>Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in authentication schemes (Basic, API Key, OAuth, SigV4) and assertion capabilities. When you specify <code>BlueprintTypes</code>, the <code>Handler</code> field cannot be specified since the blueprint provides a pre-defined entry point.</p>
722
851
  * <p>
723
852
  * <code>BlueprintTypes</code> is supported only on canaries for syn-nodejs-3.0 runtime or later.</p>
724
853
  * @public
@@ -838,31 +967,6 @@ export interface CanaryScheduleInput {
838
967
  */
839
968
  RetryConfig?: RetryConfigInput | undefined;
840
969
  }
841
- /**
842
- * <p>If this canary is to test an endpoint in a VPC, this structure contains
843
- * information about the subnets and security groups of the VPC endpoint.
844
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html">
845
- * Running a Canary in a VPC</a>.</p>
846
- * @public
847
- */
848
- export interface VpcConfigInput {
849
- /**
850
- * <p>The IDs of the subnets where this canary is to run.</p>
851
- * @public
852
- */
853
- SubnetIds?: string[] | undefined;
854
- /**
855
- * <p>The IDs of the security groups for this canary.</p>
856
- * @public
857
- */
858
- SecurityGroupIds?: string[] | undefined;
859
- /**
860
- * <p>Set this to <code>true</code> to allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets. The default is <code>false</code>
861
- * </p>
862
- * @public
863
- */
864
- Ipv6AllowedForDualStack?: boolean | undefined;
865
- }
866
970
  /**
867
971
  * @public
868
972
  */
@@ -1014,6 +1118,12 @@ export interface CreateCanaryRequest {
1014
1118
  * @public
1015
1119
  */
1016
1120
  BrowserConfigs?: BrowserConfig[] | undefined;
1121
+ /**
1122
+ * <p>A list of locations (Amazon Web Services Regions) to add as replicas for the canary. Each location specifies a Region and optional VPC configuration for the replica.
1123
+ * You can add up to 50 replica locations.</p>
1124
+ * @public
1125
+ */
1126
+ AddReplicaLocations?: AddReplicaLocationInput[] | undefined;
1017
1127
  /**
1018
1128
  * <p>A list of key-value pairs to associate with the canary.
1019
1129
  * You can associate as many as 50 tags with a canary.</p>
@@ -2062,6 +2172,18 @@ export interface UpdateCanaryRequest {
2062
2172
  * @public
2063
2173
  */
2064
2174
  BrowserConfigs?: BrowserConfig[] | undefined;
2175
+ /**
2176
+ * <p>A list of locations (Amazon Web Services Regions) to add as replicas for the canary. Each location specifies a Region and optional VPC configuration for the replica.
2177
+ * You can add up to 50 replica locations.</p>
2178
+ * @public
2179
+ */
2180
+ AddReplicaLocations?: AddReplicaLocationInput[] | undefined;
2181
+ /**
2182
+ * <p>A list of locations (Amazon Web Services Regions) to remove as replicas for the canary. You must specify at least one location to remove. All replicas can be removed in a single API
2183
+ * call and you cannot remove the primary location.</p>
2184
+ * @public
2185
+ */
2186
+ RemoveReplicaLocations?: string[] | undefined;
2065
2187
  }
2066
2188
  /**
2067
2189
  * @public
@@ -18,6 +18,7 @@ export declare var ValidationException$: StaticErrorSchema;
18
18
  *
19
19
  */
20
20
  export declare const errorTypeRegistries: TypeRegistry[];
21
+ export declare var AddReplicaLocationInput$: StaticStructureSchema;
21
22
  export declare var ArtifactConfigInput$: StaticStructureSchema;
22
23
  export declare var ArtifactConfigOutput$: StaticStructureSchema;
23
24
  export declare var AssociateResourceRequest$: StaticStructureSchema;
@@ -73,6 +74,9 @@ export declare var ListGroupsRequest$: StaticStructureSchema;
73
74
  export declare var ListGroupsResponse$: StaticStructureSchema;
74
75
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
75
76
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
77
+ export declare var MultiLocationConfig$: StaticStructureSchema;
78
+ export declare var Replica$: StaticStructureSchema;
79
+ export declare var ReplicationStatus$: StaticStructureSchema;
76
80
  export declare var RetryConfigInput$: StaticStructureSchema;
77
81
  export declare var RetryConfigOutput$: StaticStructureSchema;
78
82
  export declare var RuntimeVersion$: StaticStructureSchema;
@@ -14,12 +14,11 @@ export declare const DependencyType: {
14
14
  };
15
15
  export type DependencyType =
16
16
  (typeof DependencyType)[keyof typeof DependencyType];
17
- export declare const ProvisionedResourceCleanupSetting: {
18
- readonly AUTOMATIC: "AUTOMATIC";
19
- readonly OFF: "OFF";
17
+ export declare const LocationType: {
18
+ readonly Primary: "Primary";
19
+ readonly Replica: "Replica";
20
20
  };
21
- export type ProvisionedResourceCleanupSetting =
22
- (typeof ProvisionedResourceCleanupSetting)[keyof typeof ProvisionedResourceCleanupSetting];
21
+ export type LocationType = (typeof LocationType)[keyof typeof LocationType];
23
22
  export declare const CanaryState: {
24
23
  readonly CREATING: "CREATING";
25
24
  readonly DELETING: "DELETING";
@@ -32,6 +31,19 @@ export declare const CanaryState: {
32
31
  readonly UPDATING: "UPDATING";
33
32
  };
34
33
  export type CanaryState = (typeof CanaryState)[keyof typeof CanaryState];
34
+ export declare const ReplicationState: {
35
+ readonly InProgress: "InProgress";
36
+ readonly InSync: "InSync";
37
+ readonly Inconsistent: "Inconsistent";
38
+ };
39
+ export type ReplicationState =
40
+ (typeof ReplicationState)[keyof typeof ReplicationState];
41
+ export declare const ProvisionedResourceCleanupSetting: {
42
+ readonly AUTOMATIC: "AUTOMATIC";
43
+ readonly OFF: "OFF";
44
+ };
45
+ export type ProvisionedResourceCleanupSetting =
46
+ (typeof ProvisionedResourceCleanupSetting)[keyof typeof ProvisionedResourceCleanupSetting];
35
47
  export declare const CanaryStateReasonCode: {
36
48
  readonly CREATE_FAILED: "CREATE_FAILED";
37
49
  readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
@@ -7,10 +7,21 @@ import {
7
7
  CanaryStateReasonCode,
8
8
  DependencyType,
9
9
  EncryptionMode,
10
+ LocationType,
10
11
  ProvisionedResourceCleanupSetting,
12
+ ReplicationState,
11
13
  ResourceToTag,
12
14
  RunType,
13
15
  } from "./enums";
16
+ export interface VpcConfigInput {
17
+ SubnetIds?: string[] | undefined;
18
+ SecurityGroupIds?: string[] | undefined;
19
+ Ipv6AllowedForDualStack?: boolean | undefined;
20
+ }
21
+ export interface AddReplicaLocationInput {
22
+ Location: string | undefined;
23
+ VpcConfig?: VpcConfigInput | undefined;
24
+ }
14
25
  export interface S3EncryptionConfig {
15
26
  EncryptionMode?: EncryptionMode | undefined;
16
27
  KmsKeyArn?: string | undefined;
@@ -51,6 +62,30 @@ export interface EngineConfig {
51
62
  EngineArn?: string | undefined;
52
63
  BrowserType?: BrowserType | undefined;
53
64
  }
65
+ export interface ReplicationStatus {
66
+ State?: ReplicationState | undefined;
67
+ StateReason?: string | undefined;
68
+ StateReasonCode?: string | undefined;
69
+ }
70
+ export interface VpcConfigOutput {
71
+ VpcId?: string | undefined;
72
+ SubnetIds?: string[] | undefined;
73
+ SecurityGroupIds?: string[] | undefined;
74
+ Ipv6AllowedForDualStack?: boolean | undefined;
75
+ }
76
+ export interface Replica {
77
+ Location?: string | undefined;
78
+ ReplicationStatus?: ReplicationStatus | undefined;
79
+ CanaryState?: CanaryState | undefined;
80
+ LastModified?: Date | undefined;
81
+ VpcConfig?: VpcConfigOutput | undefined;
82
+ }
83
+ export interface MultiLocationConfig {
84
+ LocationType?: LocationType | undefined;
85
+ PrimaryLocation?: string | undefined;
86
+ Replicas?: Replica[] | undefined;
87
+ ReplicationState?: ReplicationState | undefined;
88
+ }
54
89
  export interface CanaryRunConfigOutput {
55
90
  TimeoutInSeconds?: number | undefined;
56
91
  MemoryInMB?: number | undefined;
@@ -81,12 +116,6 @@ export interface VisualReferenceOutput {
81
116
  BaseCanaryRunId?: string | undefined;
82
117
  BrowserType?: BrowserType | undefined;
83
118
  }
84
- export interface VpcConfigOutput {
85
- VpcId?: string | undefined;
86
- SubnetIds?: string[] | undefined;
87
- SecurityGroupIds?: string[] | undefined;
88
- Ipv6AllowedForDualStack?: boolean | undefined;
89
- }
90
119
  export interface Canary {
91
120
  Id?: string | undefined;
92
121
  Name?: string | undefined;
@@ -107,6 +136,7 @@ export interface Canary {
107
136
  BrowserConfigs?: BrowserConfig[] | undefined;
108
137
  EngineConfigs?: EngineConfig[] | undefined;
109
138
  VisualReferences?: VisualReferenceOutput[] | undefined;
139
+ MultiLocationConfig?: MultiLocationConfig | undefined;
110
140
  Tags?: Record<string, string> | undefined;
111
141
  ArtifactConfig?: ArtifactConfigOutput | undefined;
112
142
  DryRunConfig?: DryRunConfigOutput | undefined;
@@ -135,6 +165,7 @@ export interface CanaryRun {
135
165
  ArtifactS3Location?: string | undefined;
136
166
  DryRunConfig?: CanaryDryRunConfigOutput | undefined;
137
167
  BrowserType?: BrowserType | undefined;
168
+ Location?: string | undefined;
138
169
  }
139
170
  export interface CanaryLastRun {
140
171
  CanaryName?: string | undefined;
@@ -164,11 +195,6 @@ export interface CanaryScheduleInput {
164
195
  DurationInSeconds?: number | undefined;
165
196
  RetryConfig?: RetryConfigInput | undefined;
166
197
  }
167
- export interface VpcConfigInput {
168
- SubnetIds?: string[] | undefined;
169
- SecurityGroupIds?: string[] | undefined;
170
- Ipv6AllowedForDualStack?: boolean | undefined;
171
- }
172
198
  export interface CreateCanaryRequest {
173
199
  Name: string | undefined;
174
200
  Code: CanaryCodeInput | undefined;
@@ -183,6 +209,7 @@ export interface CreateCanaryRequest {
183
209
  ResourcesToReplicateTags?: ResourceToTag[] | undefined;
184
210
  ProvisionedResourceCleanup?: ProvisionedResourceCleanupSetting | undefined;
185
211
  BrowserConfigs?: BrowserConfig[] | undefined;
212
+ AddReplicaLocations?: AddReplicaLocationInput[] | undefined;
186
213
  Tags?: Record<string, string> | undefined;
187
214
  ArtifactConfig?: ArtifactConfigInput | undefined;
188
215
  }
@@ -371,5 +398,7 @@ export interface UpdateCanaryRequest {
371
398
  DryRunId?: string | undefined;
372
399
  VisualReferences?: VisualReferenceInput[] | undefined;
373
400
  BrowserConfigs?: BrowserConfig[] | undefined;
401
+ AddReplicaLocations?: AddReplicaLocationInput[] | undefined;
402
+ RemoveReplicaLocations?: string[] | undefined;
374
403
  }
375
404
  export interface UpdateCanaryResponse {}
@@ -17,6 +17,7 @@ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
17
17
  export declare var TooManyRequestsException$: StaticErrorSchema;
18
18
  export declare var ValidationException$: StaticErrorSchema;
19
19
  export declare const errorTypeRegistries: TypeRegistry[];
20
+ export declare var AddReplicaLocationInput$: StaticStructureSchema;
20
21
  export declare var ArtifactConfigInput$: StaticStructureSchema;
21
22
  export declare var ArtifactConfigOutput$: StaticStructureSchema;
22
23
  export declare var AssociateResourceRequest$: StaticStructureSchema;
@@ -72,6 +73,9 @@ export declare var ListGroupsRequest$: StaticStructureSchema;
72
73
  export declare var ListGroupsResponse$: StaticStructureSchema;
73
74
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
74
75
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
76
+ export declare var MultiLocationConfig$: StaticStructureSchema;
77
+ export declare var Replica$: StaticStructureSchema;
78
+ export declare var ReplicationStatus$: StaticStructureSchema;
75
79
  export declare var RetryConfigInput$: StaticStructureSchema;
76
80
  export declare var RetryConfigOutput$: StaticStructureSchema;
77
81
  export declare var RuntimeVersion$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-synthetics",
3
3
  "description": "AWS SDK for JavaScript Synthetics Client for Node.js, Browser and React Native",
4
- "version": "3.1071.0",
4
+ "version": "3.1072.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",