aws-sdk-synthetics 1.85.0 → 1.86.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15ddbf8292e6dcc587af497d2cb43f87ed94c53a27dea7d0b0a734d00795fafa
4
- data.tar.gz: 9bdfa6449418108e9833b73f933d5f63ba0451ac8a5e85db3fac24c06b217080
3
+ metadata.gz: 78b60937482c6e7fc8dff904d90150e842c29c4addc46e83fdb4746bb977a18e
4
+ data.tar.gz: e98947fa21ca13a76eb698b4da24e771630823c9b8bddcf4b5a755592ce9b1e4
5
5
  SHA512:
6
- metadata.gz: 6377263f8f3c816598534eb016463e5006a623b074317a7245fe670ee0a4fadd0bdc4e17e744675b20a6c3daabd6f9b06ae270c1d4f8597024e0f834646d0981
7
- data.tar.gz: f471e0c811fba46586240f5ff42dfb0e44b0bc4d494d602f2f738a14199396e993bb9b1f7fc39f2b6b613a242eb03a5ad76778dace86fa3301bd0051ff1e9871
6
+ metadata.gz: 4d093f9ef2a8ad4be7b1ac3f1c1e8cc00c836277fd231d966c6d3408aa6a45cf1ac7a0e2de0b4bab2f4a694d1d72744cf4ad808ac77d48fa481da43aae5656f8
7
+ data.tar.gz: 6194cab3c07e1527cb63d38f32171614927c03bb34fe1a9e22275dc300b03e3a2ad550d28747d53868a3a3bafa84b5c0a8b6c2f259c75086895ba5a790f7dbb9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.86.0 (2026-06-18)
5
+ ------------------
6
+
7
+ * Feature - CloudWatch Synthetics adds support for multi-location canaries. Customers can now monitor their endpoints from multiple locations with centralized management from a primary location. The SDK includes new parameters for configuring multiple locations and tracking their state.
8
+
4
9
  1.85.0 (2026-05-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.85.0
1
+ 1.86.0
@@ -667,6 +667,11 @@ module Aws::Synthetics
667
667
  #
668
668
  # </note>
669
669
  #
670
+ # @option params [Array<Types::AddReplicaLocationInput>] :add_replica_locations
671
+ # A list of locations (Amazon Web Services Regions) to add as replicas
672
+ # for the canary. Each location specifies a Region and optional VPC
673
+ # configuration for the replica. You can add up to 50 replica locations.
674
+ #
670
675
  # @option params [Hash<String,String>] :tags
671
676
  # A list of key-value pairs to associate with the canary. You can
672
677
  # associate as many as 50 tags with a canary.
@@ -739,6 +744,16 @@ module Aws::Synthetics
739
744
  # browser_type: "CHROME", # accepts CHROME, FIREFOX
740
745
  # },
741
746
  # ],
747
+ # add_replica_locations: [
748
+ # {
749
+ # location: "Location", # required
750
+ # vpc_config: {
751
+ # subnet_ids: ["SubnetId"],
752
+ # security_group_ids: ["SecurityGroupId"],
753
+ # ipv_6_allowed_for_dual_stack: false,
754
+ # },
755
+ # },
756
+ # ],
742
757
  # tags: {
743
758
  # "TagKey" => "TagValue",
744
759
  # },
@@ -806,6 +821,22 @@ module Aws::Synthetics
806
821
  # resp.canary.visual_references[0].base_screenshots[0].ignore_coordinates[0] #=> String
807
822
  # resp.canary.visual_references[0].base_canary_run_id #=> String
808
823
  # resp.canary.visual_references[0].browser_type #=> String, one of "CHROME", "FIREFOX"
824
+ # resp.canary.multi_location_config.location_type #=> String, one of "Primary", "Replica"
825
+ # resp.canary.multi_location_config.primary_location #=> String
826
+ # resp.canary.multi_location_config.replicas #=> Array
827
+ # resp.canary.multi_location_config.replicas[0].location #=> String
828
+ # resp.canary.multi_location_config.replicas[0].replication_status.state #=> String, one of "InProgress", "InSync", "Inconsistent"
829
+ # resp.canary.multi_location_config.replicas[0].replication_status.state_reason #=> String
830
+ # resp.canary.multi_location_config.replicas[0].replication_status.state_reason_code #=> String
831
+ # resp.canary.multi_location_config.replicas[0].canary_state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
832
+ # resp.canary.multi_location_config.replicas[0].last_modified #=> Time
833
+ # resp.canary.multi_location_config.replicas[0].vpc_config.vpc_id #=> String
834
+ # resp.canary.multi_location_config.replicas[0].vpc_config.subnet_ids #=> Array
835
+ # resp.canary.multi_location_config.replicas[0].vpc_config.subnet_ids[0] #=> String
836
+ # resp.canary.multi_location_config.replicas[0].vpc_config.security_group_ids #=> Array
837
+ # resp.canary.multi_location_config.replicas[0].vpc_config.security_group_ids[0] #=> String
838
+ # resp.canary.multi_location_config.replicas[0].vpc_config.ipv_6_allowed_for_dual_stack #=> Boolean
839
+ # resp.canary.multi_location_config.replication_state #=> String, one of "InProgress", "InSync", "Inconsistent"
809
840
  # resp.canary.tags #=> Hash
810
841
  # resp.canary.tags["TagKey"] #=> String
811
842
  # resp.canary.artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
@@ -1110,6 +1141,22 @@ module Aws::Synthetics
1110
1141
  # resp.canaries[0].visual_references[0].base_screenshots[0].ignore_coordinates[0] #=> String
1111
1142
  # resp.canaries[0].visual_references[0].base_canary_run_id #=> String
1112
1143
  # resp.canaries[0].visual_references[0].browser_type #=> String, one of "CHROME", "FIREFOX"
1144
+ # resp.canaries[0].multi_location_config.location_type #=> String, one of "Primary", "Replica"
1145
+ # resp.canaries[0].multi_location_config.primary_location #=> String
1146
+ # resp.canaries[0].multi_location_config.replicas #=> Array
1147
+ # resp.canaries[0].multi_location_config.replicas[0].location #=> String
1148
+ # resp.canaries[0].multi_location_config.replicas[0].replication_status.state #=> String, one of "InProgress", "InSync", "Inconsistent"
1149
+ # resp.canaries[0].multi_location_config.replicas[0].replication_status.state_reason #=> String
1150
+ # resp.canaries[0].multi_location_config.replicas[0].replication_status.state_reason_code #=> String
1151
+ # resp.canaries[0].multi_location_config.replicas[0].canary_state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
1152
+ # resp.canaries[0].multi_location_config.replicas[0].last_modified #=> Time
1153
+ # resp.canaries[0].multi_location_config.replicas[0].vpc_config.vpc_id #=> String
1154
+ # resp.canaries[0].multi_location_config.replicas[0].vpc_config.subnet_ids #=> Array
1155
+ # resp.canaries[0].multi_location_config.replicas[0].vpc_config.subnet_ids[0] #=> String
1156
+ # resp.canaries[0].multi_location_config.replicas[0].vpc_config.security_group_ids #=> Array
1157
+ # resp.canaries[0].multi_location_config.replicas[0].vpc_config.security_group_ids[0] #=> String
1158
+ # resp.canaries[0].multi_location_config.replicas[0].vpc_config.ipv_6_allowed_for_dual_stack #=> Boolean
1159
+ # resp.canaries[0].multi_location_config.replication_state #=> String, one of "InProgress", "InSync", "Inconsistent"
1113
1160
  # resp.canaries[0].tags #=> Hash
1114
1161
  # resp.canaries[0].tags["TagKey"] #=> String
1115
1162
  # resp.canaries[0].artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
@@ -1211,6 +1258,7 @@ module Aws::Synthetics
1211
1258
  # resp.canaries_last_run[0].last_run.artifact_s3_location #=> String
1212
1259
  # resp.canaries_last_run[0].last_run.dry_run_config.dry_run_id #=> String
1213
1260
  # resp.canaries_last_run[0].last_run.browser_type #=> String, one of "CHROME", "FIREFOX"
1261
+ # resp.canaries_last_run[0].last_run.location #=> String
1214
1262
  # resp.next_token #=> String
1215
1263
  #
1216
1264
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanariesLastRun AWS API Documentation
@@ -1382,6 +1430,22 @@ module Aws::Synthetics
1382
1430
  # resp.canary.visual_references[0].base_screenshots[0].ignore_coordinates[0] #=> String
1383
1431
  # resp.canary.visual_references[0].base_canary_run_id #=> String
1384
1432
  # resp.canary.visual_references[0].browser_type #=> String, one of "CHROME", "FIREFOX"
1433
+ # resp.canary.multi_location_config.location_type #=> String, one of "Primary", "Replica"
1434
+ # resp.canary.multi_location_config.primary_location #=> String
1435
+ # resp.canary.multi_location_config.replicas #=> Array
1436
+ # resp.canary.multi_location_config.replicas[0].location #=> String
1437
+ # resp.canary.multi_location_config.replicas[0].replication_status.state #=> String, one of "InProgress", "InSync", "Inconsistent"
1438
+ # resp.canary.multi_location_config.replicas[0].replication_status.state_reason #=> String
1439
+ # resp.canary.multi_location_config.replicas[0].replication_status.state_reason_code #=> String
1440
+ # resp.canary.multi_location_config.replicas[0].canary_state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
1441
+ # resp.canary.multi_location_config.replicas[0].last_modified #=> Time
1442
+ # resp.canary.multi_location_config.replicas[0].vpc_config.vpc_id #=> String
1443
+ # resp.canary.multi_location_config.replicas[0].vpc_config.subnet_ids #=> Array
1444
+ # resp.canary.multi_location_config.replicas[0].vpc_config.subnet_ids[0] #=> String
1445
+ # resp.canary.multi_location_config.replicas[0].vpc_config.security_group_ids #=> Array
1446
+ # resp.canary.multi_location_config.replicas[0].vpc_config.security_group_ids[0] #=> String
1447
+ # resp.canary.multi_location_config.replicas[0].vpc_config.ipv_6_allowed_for_dual_stack #=> Boolean
1448
+ # resp.canary.multi_location_config.replication_state #=> String, one of "InProgress", "InSync", "Inconsistent"
1385
1449
  # resp.canary.tags #=> Hash
1386
1450
  # resp.canary.tags["TagKey"] #=> String
1387
1451
  # resp.canary.artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
@@ -1470,6 +1534,7 @@ module Aws::Synthetics
1470
1534
  # resp.canary_runs[0].artifact_s3_location #=> String
1471
1535
  # resp.canary_runs[0].dry_run_config.dry_run_id #=> String
1472
1536
  # resp.canary_runs[0].browser_type #=> String, one of "CHROME", "FIREFOX"
1537
+ # resp.canary_runs[0].location #=> String
1473
1538
  # resp.next_token #=> String
1474
1539
  #
1475
1540
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/GetCanaryRuns AWS API Documentation
@@ -2279,6 +2344,17 @@ module Aws::Synthetics
2279
2344
  #
2280
2345
  # </note>
2281
2346
  #
2347
+ # @option params [Array<Types::AddReplicaLocationInput>] :add_replica_locations
2348
+ # A list of locations (Amazon Web Services Regions) to add as replicas
2349
+ # for the canary. Each location specifies a Region and optional VPC
2350
+ # configuration for the replica. You can add up to 50 replica locations.
2351
+ #
2352
+ # @option params [Array<String>] :remove_replica_locations
2353
+ # A list of locations (Amazon Web Services Regions) to remove as
2354
+ # replicas for the canary. You must specify at least one location to
2355
+ # remove. All replicas can be removed in a single API call and you
2356
+ # cannot remove the primary location.
2357
+ #
2282
2358
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2283
2359
  #
2284
2360
  # @example Request syntax with placeholder values
@@ -2360,6 +2436,17 @@ module Aws::Synthetics
2360
2436
  # browser_type: "CHROME", # accepts CHROME, FIREFOX
2361
2437
  # },
2362
2438
  # ],
2439
+ # add_replica_locations: [
2440
+ # {
2441
+ # location: "Location", # required
2442
+ # vpc_config: {
2443
+ # subnet_ids: ["SubnetId"],
2444
+ # security_group_ids: ["SecurityGroupId"],
2445
+ # ipv_6_allowed_for_dual_stack: false,
2446
+ # },
2447
+ # },
2448
+ # ],
2449
+ # remove_replica_locations: ["Location"],
2363
2450
  # })
2364
2451
  #
2365
2452
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanary AWS API Documentation
@@ -2389,7 +2476,7 @@ module Aws::Synthetics
2389
2476
  tracer: tracer
2390
2477
  )
2391
2478
  context[:gem_name] = 'aws-sdk-synthetics'
2392
- context[:gem_version] = '1.85.0'
2479
+ context[:gem_version] = '1.86.0'
2393
2480
  Seahorse::Client::Request.new(handlers, context)
2394
2481
  end
2395
2482
 
@@ -15,6 +15,8 @@ module Aws::Synthetics
15
15
  include Seahorse::Model
16
16
 
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ AddReplicaLocationInput = Shapes::StructureShape.new(name: 'AddReplicaLocationInput')
19
+ AddReplicaLocations = Shapes::ListShape.new(name: 'AddReplicaLocations')
18
20
  ArtifactConfigInput = Shapes::StructureShape.new(name: 'ArtifactConfigInput')
19
21
  ArtifactConfigOutput = Shapes::StructureShape.new(name: 'ArtifactConfigOutput')
20
22
  AssociateResourceRequest = Shapes::StructureShape.new(name: 'AssociateResourceRequest')
@@ -110,6 +112,8 @@ module Aws::Synthetics
110
112
  ListGroupsResponse = Shapes::StructureShape.new(name: 'ListGroupsResponse')
111
113
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
112
114
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
115
+ Location = Shapes::StringShape.new(name: 'Location')
116
+ LocationType = Shapes::StringShape.new(name: 'LocationType')
113
117
  MaxCanaryResults = Shapes::IntegerShape.new(name: 'MaxCanaryResults')
114
118
  MaxFifteenMinutesInSeconds = Shapes::IntegerShape.new(name: 'MaxFifteenMinutesInSeconds')
115
119
  MaxGroupResults = Shapes::IntegerShape.new(name: 'MaxGroupResults')
@@ -118,10 +122,16 @@ module Aws::Synthetics
118
122
  MaxSize100 = Shapes::IntegerShape.new(name: 'MaxSize100')
119
123
  MaxSize1024 = Shapes::IntegerShape.new(name: 'MaxSize1024')
120
124
  MaxSize3008 = Shapes::IntegerShape.new(name: 'MaxSize3008')
125
+ MultiLocationConfig = Shapes::StructureShape.new(name: 'MultiLocationConfig')
121
126
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
122
127
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
123
128
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
124
129
  ProvisionedResourceCleanupSetting = Shapes::StringShape.new(name: 'ProvisionedResourceCleanupSetting')
130
+ RemoveReplicaLocations = Shapes::ListShape.new(name: 'RemoveReplicaLocations')
131
+ Replica = Shapes::StructureShape.new(name: 'Replica')
132
+ Replicas = Shapes::ListShape.new(name: 'Replicas')
133
+ ReplicationState = Shapes::StringShape.new(name: 'ReplicationState')
134
+ ReplicationStatus = Shapes::StructureShape.new(name: 'ReplicationStatus')
125
135
  RequestEntityTooLargeException = Shapes::StructureShape.new(name: 'RequestEntityTooLargeException')
126
136
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
127
137
  ResourceList = Shapes::ListShape.new(name: 'ResourceList')
@@ -175,6 +185,12 @@ module Aws::Synthetics
175
185
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
176
186
  AccessDeniedException.struct_class = Types::AccessDeniedException
177
187
 
188
+ AddReplicaLocationInput.add_member(:location, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "Location"))
189
+ AddReplicaLocationInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigInput, location_name: "VpcConfig"))
190
+ AddReplicaLocationInput.struct_class = Types::AddReplicaLocationInput
191
+
192
+ AddReplicaLocations.member = Shapes::ShapeRef.new(shape: AddReplicaLocationInput)
193
+
178
194
  ArtifactConfigInput.add_member(:s3_encryption, Shapes::ShapeRef.new(shape: S3EncryptionConfig, location_name: "S3Encryption"))
179
195
  ArtifactConfigInput.struct_class = Types::ArtifactConfigInput
180
196
 
@@ -228,6 +244,7 @@ module Aws::Synthetics
228
244
  Canary.add_member(:browser_configs, Shapes::ShapeRef.new(shape: BrowserConfigs, location_name: "BrowserConfigs"))
229
245
  Canary.add_member(:engine_configs, Shapes::ShapeRef.new(shape: EngineConfigs, location_name: "EngineConfigs"))
230
246
  Canary.add_member(:visual_references, Shapes::ShapeRef.new(shape: VisualReferencesOutput, location_name: "VisualReferences"))
247
+ Canary.add_member(:multi_location_config, Shapes::ShapeRef.new(shape: MultiLocationConfig, location_name: "MultiLocationConfig"))
231
248
  Canary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
232
249
  Canary.add_member(:artifact_config, Shapes::ShapeRef.new(shape: ArtifactConfigOutput, location_name: "ArtifactConfig"))
233
250
  Canary.add_member(:dry_run_config, Shapes::ShapeRef.new(shape: DryRunConfigOutput, location_name: "DryRunConfig"))
@@ -264,6 +281,7 @@ module Aws::Synthetics
264
281
  CanaryRun.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, location_name: "ArtifactS3Location"))
265
282
  CanaryRun.add_member(:dry_run_config, Shapes::ShapeRef.new(shape: CanaryDryRunConfigOutput, location_name: "DryRunConfig"))
266
283
  CanaryRun.add_member(:browser_type, Shapes::ShapeRef.new(shape: BrowserType, location_name: "BrowserType"))
284
+ CanaryRun.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "Location"))
267
285
  CanaryRun.struct_class = Types::CanaryRun
268
286
 
269
287
  CanaryRunConfigInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
@@ -329,6 +347,7 @@ module Aws::Synthetics
329
347
  CreateCanaryRequest.add_member(:resources_to_replicate_tags, Shapes::ShapeRef.new(shape: ResourceList, location_name: "ResourcesToReplicateTags"))
330
348
  CreateCanaryRequest.add_member(:provisioned_resource_cleanup, Shapes::ShapeRef.new(shape: ProvisionedResourceCleanupSetting, location_name: "ProvisionedResourceCleanup"))
331
349
  CreateCanaryRequest.add_member(:browser_configs, Shapes::ShapeRef.new(shape: BrowserConfigs, location_name: "BrowserConfigs"))
350
+ CreateCanaryRequest.add_member(:add_replica_locations, Shapes::ShapeRef.new(shape: AddReplicaLocations, location_name: "AddReplicaLocations"))
332
351
  CreateCanaryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
333
352
  CreateCanaryRequest.add_member(:artifact_config, Shapes::ShapeRef.new(shape: ArtifactConfigInput, location_name: "ArtifactConfig"))
334
353
  CreateCanaryRequest.struct_class = Types::CreateCanaryRequest
@@ -487,9 +506,31 @@ module Aws::Synthetics
487
506
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
488
507
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
489
508
 
509
+ MultiLocationConfig.add_member(:location_type, Shapes::ShapeRef.new(shape: LocationType, location_name: "LocationType"))
510
+ MultiLocationConfig.add_member(:primary_location, Shapes::ShapeRef.new(shape: Location, location_name: "PrimaryLocation"))
511
+ MultiLocationConfig.add_member(:replicas, Shapes::ShapeRef.new(shape: Replicas, location_name: "Replicas"))
512
+ MultiLocationConfig.add_member(:replication_state, Shapes::ShapeRef.new(shape: ReplicationState, location_name: "ReplicationState"))
513
+ MultiLocationConfig.struct_class = Types::MultiLocationConfig
514
+
490
515
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
491
516
  NotFoundException.struct_class = Types::NotFoundException
492
517
 
518
+ RemoveReplicaLocations.member = Shapes::ShapeRef.new(shape: Location)
519
+
520
+ Replica.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "Location"))
521
+ Replica.add_member(:replication_status, Shapes::ShapeRef.new(shape: ReplicationStatus, location_name: "ReplicationStatus"))
522
+ Replica.add_member(:canary_state, Shapes::ShapeRef.new(shape: CanaryState, location_name: "CanaryState"))
523
+ Replica.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
524
+ Replica.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigOutput, location_name: "VpcConfig"))
525
+ Replica.struct_class = Types::Replica
526
+
527
+ Replicas.member = Shapes::ShapeRef.new(shape: Replica)
528
+
529
+ ReplicationStatus.add_member(:state, Shapes::ShapeRef.new(shape: ReplicationState, location_name: "State"))
530
+ ReplicationStatus.add_member(:state_reason, Shapes::ShapeRef.new(shape: String, location_name: "StateReason"))
531
+ ReplicationStatus.add_member(:state_reason_code, Shapes::ShapeRef.new(shape: String, location_name: "StateReasonCode"))
532
+ ReplicationStatus.struct_class = Types::ReplicationStatus
533
+
493
534
  RequestEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
494
535
  RequestEntityTooLargeException.struct_class = Types::RequestEntityTooLargeException
495
536
 
@@ -590,6 +631,8 @@ module Aws::Synthetics
590
631
  UpdateCanaryRequest.add_member(:dry_run_id, Shapes::ShapeRef.new(shape: UUID, location_name: "DryRunId"))
591
632
  UpdateCanaryRequest.add_member(:visual_references, Shapes::ShapeRef.new(shape: VisualReferences, location_name: "VisualReferences"))
592
633
  UpdateCanaryRequest.add_member(:browser_configs, Shapes::ShapeRef.new(shape: BrowserConfigs, location_name: "BrowserConfigs"))
634
+ UpdateCanaryRequest.add_member(:add_replica_locations, Shapes::ShapeRef.new(shape: AddReplicaLocations, location_name: "AddReplicaLocations"))
635
+ UpdateCanaryRequest.add_member(:remove_replica_locations, Shapes::ShapeRef.new(shape: RemoveReplicaLocations, location_name: "RemoveReplicaLocations"))
593
636
  UpdateCanaryRequest.struct_class = Types::UpdateCanaryRequest
594
637
 
595
638
  UpdateCanaryResponse.struct_class = Types::UpdateCanaryResponse
@@ -23,6 +23,29 @@ module Aws::Synthetics
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
+ # A structure that specifies a replica location for a canary, including
27
+ # the Region and optional VPC configuration.
28
+ #
29
+ # @!attribute [rw] location
30
+ # The Amazon Web Services Region where the canary replica should be
31
+ # created, for example `us-east-1`.
32
+ # @return [String]
33
+ #
34
+ # @!attribute [rw] vpc_config
35
+ # The VPC configuration to use for the canary replica in this
36
+ # location. If not specified, the replica runs without VPC
37
+ # connectivity.
38
+ # @return [Types::VpcConfigInput]
39
+ #
40
+ # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/AddReplicaLocationInput AWS API Documentation
41
+ #
42
+ class AddReplicaLocationInput < Struct.new(
43
+ :location,
44
+ :vpc_config)
45
+ SENSITIVE = []
46
+ include Aws::Structure
47
+ end
48
+
26
49
  # A structure that contains the configuration for canary artifacts,
27
50
  # including the encryption-at-rest settings for artifacts that the
28
51
  # canary uploads to Amazon S3.
@@ -305,6 +328,12 @@ module Aws::Synthetics
305
328
  # future compatibility.
306
329
  # @return [Array<Types::VisualReferenceOutput>]
307
330
  #
331
+ # @!attribute [rw] multi_location_config
332
+ # If this canary is part of a multi-location configuration, this
333
+ # structure contains information about the canary's location type,
334
+ # primary location, and replicas.
335
+ # @return [Types::MultiLocationConfig]
336
+ #
308
337
  # @!attribute [rw] tags
309
338
  # The list of key-value pairs that are associated with the canary.
310
339
  # @return [Hash<String,String>]
@@ -341,6 +370,7 @@ module Aws::Synthetics
341
370
  :browser_configs,
342
371
  :engine_configs,
343
372
  :visual_references,
373
+ :multi_location_config,
344
374
  :tags,
345
375
  :artifact_config,
346
376
  :dry_run_config)
@@ -423,7 +453,7 @@ module Aws::Synthetics
423
453
  #
424
454
  # Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in
425
455
  # authentication schemes (Basic, API Key, OAuth, SigV4) and assertion
426
- # capabilities. When you specify `BlueprintTypes`, the Handler field
456
+ # capabilities. When you specify `BlueprintTypes`, the `Handler` field
427
457
  # cannot be specified since the blueprint provides a pre-defined entry
428
458
  # point.
429
459
  #
@@ -474,7 +504,7 @@ module Aws::Synthetics
474
504
  #
475
505
  # Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in
476
506
  # authentication schemes (Basic, API Key, OAuth, SigV4) and assertion
477
- # capabilities. When you specify `BlueprintTypes`, the Handler field
507
+ # capabilities. When you specify `BlueprintTypes`, the `Handler` field
478
508
  # cannot be specified since the blueprint provides a pre-defined entry
479
509
  # point.
480
510
  #
@@ -573,6 +603,10 @@ module Aws::Synthetics
573
603
  # The browser type associated with this canary run.
574
604
  # @return [String]
575
605
  #
606
+ # @!attribute [rw] location
607
+ # The Amazon Web Services Region where this canary run was executed.
608
+ # @return [String]
609
+ #
576
610
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRun AWS API Documentation
577
611
  #
578
612
  class CanaryRun < Struct.new(
@@ -584,7 +618,8 @@ module Aws::Synthetics
584
618
  :timeline,
585
619
  :artifact_s3_location,
586
620
  :dry_run_config,
587
- :browser_type)
621
+ :browser_type,
622
+ :location)
588
623
  SENSITIVE = []
589
624
  include Aws::Structure
590
625
  end
@@ -1092,6 +1127,13 @@ module Aws::Synthetics
1092
1127
  # </note>
1093
1128
  # @return [Array<Types::BrowserConfig>]
1094
1129
  #
1130
+ # @!attribute [rw] add_replica_locations
1131
+ # A list of locations (Amazon Web Services Regions) to add as replicas
1132
+ # for the canary. Each location specifies a Region and optional VPC
1133
+ # configuration for the replica. You can add up to 50 replica
1134
+ # locations.
1135
+ # @return [Array<Types::AddReplicaLocationInput>]
1136
+ #
1095
1137
  # @!attribute [rw] tags
1096
1138
  # A list of key-value pairs to associate with the canary. You can
1097
1139
  # associate as many as 50 tags with a canary.
@@ -1128,6 +1170,7 @@ module Aws::Synthetics
1128
1170
  :resources_to_replicate_tags,
1129
1171
  :provisioned_resource_cleanup,
1130
1172
  :browser_configs,
1173
+ :add_replica_locations,
1131
1174
  :tags,
1132
1175
  :artifact_config)
1133
1176
  SENSITIVE = []
@@ -1875,6 +1918,41 @@ module Aws::Synthetics
1875
1918
  include Aws::Structure
1876
1919
  end
1877
1920
 
1921
+ # A structure that contains information about the multi-location
1922
+ # configuration of a canary, including whether it is a primary or
1923
+ # replica, the primary location, and the list of replicas.
1924
+ #
1925
+ # @!attribute [rw] location_type
1926
+ # Indicates whether this canary is the `Primary` or a `Replica` in the
1927
+ # multi-location configuration.
1928
+ # @return [String]
1929
+ #
1930
+ # @!attribute [rw] primary_location
1931
+ # The Amazon Web Services Region where the primary canary is located.
1932
+ # @return [String]
1933
+ #
1934
+ # @!attribute [rw] replicas
1935
+ # A list of replicas for this canary. This field is present only for
1936
+ # the primary location canary.
1937
+ # @return [Array<Types::Replica>]
1938
+ #
1939
+ # @!attribute [rw] replication_state
1940
+ # The overall replication state of the canary across all replica
1941
+ # locations. This field is present only for the primary location
1942
+ # canary. Valid values are `InProgress`, `InSync`, and `Inconsistent`.
1943
+ # @return [String]
1944
+ #
1945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/MultiLocationConfig AWS API Documentation
1946
+ #
1947
+ class MultiLocationConfig < Struct.new(
1948
+ :location_type,
1949
+ :primary_location,
1950
+ :replicas,
1951
+ :replication_state)
1952
+ SENSITIVE = []
1953
+ include Aws::Structure
1954
+ end
1955
+
1878
1956
  # The specified resource was not found.
1879
1957
  #
1880
1958
  # @!attribute [rw] message
@@ -1888,6 +1966,70 @@ module Aws::Synthetics
1888
1966
  include Aws::Structure
1889
1967
  end
1890
1968
 
1969
+ # A structure that contains information about a canary replica in a
1970
+ # specific location.
1971
+ #
1972
+ # @!attribute [rw] location
1973
+ # The Amazon Web Services Region where this replica is located.
1974
+ # @return [String]
1975
+ #
1976
+ # @!attribute [rw] replication_status
1977
+ # A structure that contains information about the replication status
1978
+ # of this replica.
1979
+ # @return [Types::ReplicationStatus]
1980
+ #
1981
+ # @!attribute [rw] canary_state
1982
+ # The current state of the canary in this replica location.
1983
+ # @return [String]
1984
+ #
1985
+ # @!attribute [rw] last_modified
1986
+ # The date and time that the replica was last modified.
1987
+ # @return [Time]
1988
+ #
1989
+ # @!attribute [rw] vpc_config
1990
+ # The VPC configuration for the canary replica in this location.
1991
+ # @return [Types::VpcConfigOutput]
1992
+ #
1993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/Replica AWS API Documentation
1994
+ #
1995
+ class Replica < Struct.new(
1996
+ :location,
1997
+ :replication_status,
1998
+ :canary_state,
1999
+ :last_modified,
2000
+ :vpc_config)
2001
+ SENSITIVE = []
2002
+ include Aws::Structure
2003
+ end
2004
+
2005
+ # A structure that contains information about the replication status of
2006
+ # a canary replica.
2007
+ #
2008
+ # @!attribute [rw] state
2009
+ # The replication state of the replica. Valid values are `InProgress`,
2010
+ # `InSync`, and `Inconsistent`.
2011
+ # @return [String]
2012
+ #
2013
+ # @!attribute [rw] state_reason
2014
+ # A description that provides more detail about the current
2015
+ # replication state.
2016
+ # @return [String]
2017
+ #
2018
+ # @!attribute [rw] state_reason_code
2019
+ # A code that provides more detail about the current replication
2020
+ # state.
2021
+ # @return [String]
2022
+ #
2023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/ReplicationStatus AWS API Documentation
2024
+ #
2025
+ class ReplicationStatus < Struct.new(
2026
+ :state,
2027
+ :state_reason,
2028
+ :state_reason_code)
2029
+ SENSITIVE = []
2030
+ include Aws::Structure
2031
+ end
2032
+
1891
2033
  # One of the input resources is larger than is allowed.
1892
2034
  #
1893
2035
  # @!attribute [rw] message
@@ -2548,6 +2690,20 @@ module Aws::Synthetics
2548
2690
  # </note>
2549
2691
  # @return [Array<Types::BrowserConfig>]
2550
2692
  #
2693
+ # @!attribute [rw] add_replica_locations
2694
+ # A list of locations (Amazon Web Services Regions) to add as replicas
2695
+ # for the canary. Each location specifies a Region and optional VPC
2696
+ # configuration for the replica. You can add up to 50 replica
2697
+ # locations.
2698
+ # @return [Array<Types::AddReplicaLocationInput>]
2699
+ #
2700
+ # @!attribute [rw] remove_replica_locations
2701
+ # A list of locations (Amazon Web Services Regions) to remove as
2702
+ # replicas for the canary. You must specify at least one location to
2703
+ # remove. All replicas can be removed in a single API call and you
2704
+ # cannot remove the primary location.
2705
+ # @return [Array<String>]
2706
+ #
2551
2707
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanaryRequest AWS API Documentation
2552
2708
  #
2553
2709
  class UpdateCanaryRequest < Struct.new(
@@ -2566,7 +2722,9 @@ module Aws::Synthetics
2566
2722
  :provisioned_resource_cleanup,
2567
2723
  :dry_run_id,
2568
2724
  :visual_references,
2569
- :browser_configs)
2725
+ :browser_configs,
2726
+ :add_replica_locations,
2727
+ :remove_replica_locations)
2570
2728
  SENSITIVE = []
2571
2729
  include Aws::Structure
2572
2730
  end
@@ -54,7 +54,7 @@ module Aws::Synthetics
54
54
  autoload :EndpointProvider, 'aws-sdk-synthetics/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-synthetics/endpoints'
56
56
 
57
- GEM_VERSION = '1.85.0'
57
+ GEM_VERSION = '1.86.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -127,6 +127,9 @@ module Aws
127
127
  browser_type: ("CHROME" | "FIREFOX")?
128
128
  }
129
129
  ],
130
+ ?add_replica_locations: Array[
131
+ Params::add_replica_location_input
132
+ ],
130
133
  ?tags: Hash[::String, ::String],
131
134
  ?artifact_config: {
132
135
  s3_encryption: {
@@ -429,7 +432,11 @@ module Aws
429
432
  {
430
433
  browser_type: ("CHROME" | "FIREFOX")?
431
434
  }
432
- ]
435
+ ],
436
+ ?add_replica_locations: Array[
437
+ Params::add_replica_location_input
438
+ ],
439
+ ?remove_replica_locations: Array[::String]
433
440
  ) -> _UpdateCanaryResponseSuccess
434
441
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCanaryResponseSuccess
435
442
  end
data/sig/params.rbs CHANGED
@@ -23,6 +23,15 @@ module Aws
23
23
  ]?
24
24
  }
25
25
 
26
+ type add_replica_location_input = {
27
+ location: ::String,
28
+ vpc_config: {
29
+ subnet_ids: Array[::String]?,
30
+ security_group_ids: Array[::String]?,
31
+ ipv_6_allowed_for_dual_stack: bool?
32
+ }?
33
+ }
34
+
26
35
  type visual_reference_input = {
27
36
  base_screenshots: Array[
28
37
  {
data/sig/types.rbs CHANGED
@@ -13,6 +13,12 @@ module Aws::Synthetics
13
13
  SENSITIVE: []
14
14
  end
15
15
 
16
+ class AddReplicaLocationInput
17
+ attr_accessor location: ::String
18
+ attr_accessor vpc_config: Types::VpcConfigInput
19
+ SENSITIVE: []
20
+ end
21
+
16
22
  class ArtifactConfigInput
17
23
  attr_accessor s3_encryption: Types::S3EncryptionConfig
18
24
  SENSITIVE: []
@@ -68,6 +74,7 @@ module Aws::Synthetics
68
74
  attr_accessor browser_configs: ::Array[Types::BrowserConfig]
69
75
  attr_accessor engine_configs: ::Array[Types::EngineConfig]
70
76
  attr_accessor visual_references: ::Array[Types::VisualReferenceOutput]
77
+ attr_accessor multi_location_config: Types::MultiLocationConfig
71
78
  attr_accessor tags: ::Hash[::String, ::String]
72
79
  attr_accessor artifact_config: Types::ArtifactConfigOutput
73
80
  attr_accessor dry_run_config: Types::DryRunConfigOutput
@@ -114,6 +121,7 @@ module Aws::Synthetics
114
121
  attr_accessor artifact_s3_location: ::String
115
122
  attr_accessor dry_run_config: Types::CanaryDryRunConfigOutput
116
123
  attr_accessor browser_type: ("CHROME" | "FIREFOX")
124
+ attr_accessor location: ::String
117
125
  SENSITIVE: []
118
126
  end
119
127
 
@@ -197,6 +205,7 @@ module Aws::Synthetics
197
205
  attr_accessor resources_to_replicate_tags: ::Array[("lambda-function")]
198
206
  attr_accessor provisioned_resource_cleanup: ("AUTOMATIC" | "OFF")
199
207
  attr_accessor browser_configs: ::Array[Types::BrowserConfig]
208
+ attr_accessor add_replica_locations: ::Array[Types::AddReplicaLocationInput]
200
209
  attr_accessor tags: ::Hash[::String, ::String]
201
210
  attr_accessor artifact_config: Types::ArtifactConfigInput
202
211
  SENSITIVE: []
@@ -412,11 +421,35 @@ module Aws::Synthetics
412
421
  SENSITIVE: []
413
422
  end
414
423
 
424
+ class MultiLocationConfig
425
+ attr_accessor location_type: ("Primary" | "Replica")
426
+ attr_accessor primary_location: ::String
427
+ attr_accessor replicas: ::Array[Types::Replica]
428
+ attr_accessor replication_state: ("InProgress" | "InSync" | "Inconsistent")
429
+ SENSITIVE: []
430
+ end
431
+
415
432
  class NotFoundException
416
433
  attr_accessor message: ::String
417
434
  SENSITIVE: []
418
435
  end
419
436
 
437
+ class Replica
438
+ attr_accessor location: ::String
439
+ attr_accessor replication_status: Types::ReplicationStatus
440
+ attr_accessor canary_state: ("CREATING" | "READY" | "STARTING" | "RUNNING" | "UPDATING" | "STOPPING" | "STOPPED" | "ERROR" | "DELETING")
441
+ attr_accessor last_modified: ::Time
442
+ attr_accessor vpc_config: Types::VpcConfigOutput
443
+ SENSITIVE: []
444
+ end
445
+
446
+ class ReplicationStatus
447
+ attr_accessor state: ("InProgress" | "InSync" | "Inconsistent")
448
+ attr_accessor state_reason: ::String
449
+ attr_accessor state_reason_code: ::String
450
+ SENSITIVE: []
451
+ end
452
+
420
453
  class RequestEntityTooLargeException
421
454
  attr_accessor message: ::String
422
455
  SENSITIVE: []
@@ -535,6 +568,8 @@ module Aws::Synthetics
535
568
  attr_accessor dry_run_id: ::String
536
569
  attr_accessor visual_references: ::Array[Types::VisualReferenceInput]
537
570
  attr_accessor browser_configs: ::Array[Types::BrowserConfig]
571
+ attr_accessor add_replica_locations: ::Array[Types::AddReplicaLocationInput]
572
+ attr_accessor remove_replica_locations: ::Array[::String]
538
573
  SENSITIVE: []
539
574
  end
540
575
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-synthetics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.85.0
4
+ version: 1.86.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services