aws-sdk-synthetics 1.85.0 → 1.87.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-synthetics/client.rb +109 -1
- data/lib/aws-sdk-synthetics/client_api.rb +47 -0
- data/lib/aws-sdk-synthetics/types.rb +197 -5
- data/lib/aws-sdk-synthetics.rb +1 -1
- data/sig/client.rbs +11 -2
- data/sig/params.rbs +10 -0
- data/sig/types.rbs +39 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 82fa8321583b31b4bef961e19f368fe4900143d2459271c638ab2b9069aaaaad
|
|
4
|
+
data.tar.gz: 8df54f31178a990ee5b0c10bd2c1c06f5ac39b8f1e5e1e39aeec0f73fb82936c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb78118243cce6ce040e96eaaa607509d4722c536028b7ba85fd26f8c728b572960c6a2fc5032768a635bb9e9bd629691f1ac8c80afaf9f196a67849ca14ec92
|
|
7
|
+
data.tar.gz: b9da350fdd06617e8f261453ba9bbf823f02981e27ce16aaaea52b6ca835c7218d31fe36cd9803db3e7c614d688e1f95bb025ea1b1efd42bb328533603dae785
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.87.0 (2026-07-09)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - CloudWatch Synthetics adds support for customer managed KMS keys for canary environment variables. Customers can now encrypt their canary's Lambda function environment variables at rest using their own AWS KMS key, providing additional control over data protection.
|
|
8
|
+
|
|
9
|
+
1.86.0 (2026-06-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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.
|
|
13
|
+
|
|
4
14
|
1.85.0 (2026-05-29)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.87.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.
|
|
@@ -684,6 +689,12 @@ module Aws::Synthetics
|
|
|
684
689
|
# including the encryption-at-rest settings for artifacts that the
|
|
685
690
|
# canary uploads to Amazon S3.
|
|
686
691
|
#
|
|
692
|
+
# @option params [String] :kms_key_arn
|
|
693
|
+
# The Amazon Resource Name (ARN) of the customer-managed AWS Key
|
|
694
|
+
# Management Service (AWS KMS) key used to encrypt the canary's AWS
|
|
695
|
+
# Lambda function environment variables at rest. If you don't specify a
|
|
696
|
+
# value, the service uses an AWS-managed key.
|
|
697
|
+
#
|
|
687
698
|
# @return [Types::CreateCanaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
688
699
|
#
|
|
689
700
|
# * {Types::CreateCanaryResponse#canary #canary} => Types::Canary
|
|
@@ -739,6 +750,17 @@ module Aws::Synthetics
|
|
|
739
750
|
# browser_type: "CHROME", # accepts CHROME, FIREFOX
|
|
740
751
|
# },
|
|
741
752
|
# ],
|
|
753
|
+
# add_replica_locations: [
|
|
754
|
+
# {
|
|
755
|
+
# location: "Location", # required
|
|
756
|
+
# vpc_config: {
|
|
757
|
+
# subnet_ids: ["SubnetId"],
|
|
758
|
+
# security_group_ids: ["SecurityGroupId"],
|
|
759
|
+
# ipv_6_allowed_for_dual_stack: false,
|
|
760
|
+
# },
|
|
761
|
+
# kms_key_arn: "KmsKeyArn",
|
|
762
|
+
# },
|
|
763
|
+
# ],
|
|
742
764
|
# tags: {
|
|
743
765
|
# "TagKey" => "TagValue",
|
|
744
766
|
# },
|
|
@@ -748,6 +770,7 @@ module Aws::Synthetics
|
|
|
748
770
|
# kms_key_arn: "KmsKeyArn",
|
|
749
771
|
# },
|
|
750
772
|
# },
|
|
773
|
+
# kms_key_arn: "KmsKeyArn",
|
|
751
774
|
# })
|
|
752
775
|
#
|
|
753
776
|
# @example Response structure
|
|
@@ -806,10 +829,27 @@ module Aws::Synthetics
|
|
|
806
829
|
# resp.canary.visual_references[0].base_screenshots[0].ignore_coordinates[0] #=> String
|
|
807
830
|
# resp.canary.visual_references[0].base_canary_run_id #=> String
|
|
808
831
|
# resp.canary.visual_references[0].browser_type #=> String, one of "CHROME", "FIREFOX"
|
|
832
|
+
# resp.canary.multi_location_config.location_type #=> String, one of "Primary", "Replica"
|
|
833
|
+
# resp.canary.multi_location_config.primary_location #=> String
|
|
834
|
+
# resp.canary.multi_location_config.replicas #=> Array
|
|
835
|
+
# resp.canary.multi_location_config.replicas[0].location #=> String
|
|
836
|
+
# resp.canary.multi_location_config.replicas[0].replication_status.state #=> String, one of "InProgress", "InSync", "Inconsistent"
|
|
837
|
+
# resp.canary.multi_location_config.replicas[0].replication_status.state_reason #=> String
|
|
838
|
+
# resp.canary.multi_location_config.replicas[0].replication_status.state_reason_code #=> String
|
|
839
|
+
# resp.canary.multi_location_config.replicas[0].canary_state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
|
|
840
|
+
# resp.canary.multi_location_config.replicas[0].last_modified #=> Time
|
|
841
|
+
# resp.canary.multi_location_config.replicas[0].vpc_config.vpc_id #=> String
|
|
842
|
+
# resp.canary.multi_location_config.replicas[0].vpc_config.subnet_ids #=> Array
|
|
843
|
+
# resp.canary.multi_location_config.replicas[0].vpc_config.subnet_ids[0] #=> String
|
|
844
|
+
# resp.canary.multi_location_config.replicas[0].vpc_config.security_group_ids #=> Array
|
|
845
|
+
# resp.canary.multi_location_config.replicas[0].vpc_config.security_group_ids[0] #=> String
|
|
846
|
+
# resp.canary.multi_location_config.replicas[0].vpc_config.ipv_6_allowed_for_dual_stack #=> Boolean
|
|
847
|
+
# resp.canary.multi_location_config.replication_state #=> String, one of "InProgress", "InSync", "Inconsistent"
|
|
809
848
|
# resp.canary.tags #=> Hash
|
|
810
849
|
# resp.canary.tags["TagKey"] #=> String
|
|
811
850
|
# resp.canary.artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
|
812
851
|
# resp.canary.artifact_config.s3_encryption.kms_key_arn #=> String
|
|
852
|
+
# resp.canary.kms_key_arn #=> String
|
|
813
853
|
# resp.canary.dry_run_config.dry_run_id #=> String
|
|
814
854
|
# resp.canary.dry_run_config.last_dry_run_execution_status #=> String
|
|
815
855
|
#
|
|
@@ -1110,10 +1150,27 @@ module Aws::Synthetics
|
|
|
1110
1150
|
# resp.canaries[0].visual_references[0].base_screenshots[0].ignore_coordinates[0] #=> String
|
|
1111
1151
|
# resp.canaries[0].visual_references[0].base_canary_run_id #=> String
|
|
1112
1152
|
# resp.canaries[0].visual_references[0].browser_type #=> String, one of "CHROME", "FIREFOX"
|
|
1153
|
+
# resp.canaries[0].multi_location_config.location_type #=> String, one of "Primary", "Replica"
|
|
1154
|
+
# resp.canaries[0].multi_location_config.primary_location #=> String
|
|
1155
|
+
# resp.canaries[0].multi_location_config.replicas #=> Array
|
|
1156
|
+
# resp.canaries[0].multi_location_config.replicas[0].location #=> String
|
|
1157
|
+
# resp.canaries[0].multi_location_config.replicas[0].replication_status.state #=> String, one of "InProgress", "InSync", "Inconsistent"
|
|
1158
|
+
# resp.canaries[0].multi_location_config.replicas[0].replication_status.state_reason #=> String
|
|
1159
|
+
# resp.canaries[0].multi_location_config.replicas[0].replication_status.state_reason_code #=> String
|
|
1160
|
+
# resp.canaries[0].multi_location_config.replicas[0].canary_state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
|
|
1161
|
+
# resp.canaries[0].multi_location_config.replicas[0].last_modified #=> Time
|
|
1162
|
+
# resp.canaries[0].multi_location_config.replicas[0].vpc_config.vpc_id #=> String
|
|
1163
|
+
# resp.canaries[0].multi_location_config.replicas[0].vpc_config.subnet_ids #=> Array
|
|
1164
|
+
# resp.canaries[0].multi_location_config.replicas[0].vpc_config.subnet_ids[0] #=> String
|
|
1165
|
+
# resp.canaries[0].multi_location_config.replicas[0].vpc_config.security_group_ids #=> Array
|
|
1166
|
+
# resp.canaries[0].multi_location_config.replicas[0].vpc_config.security_group_ids[0] #=> String
|
|
1167
|
+
# resp.canaries[0].multi_location_config.replicas[0].vpc_config.ipv_6_allowed_for_dual_stack #=> Boolean
|
|
1168
|
+
# resp.canaries[0].multi_location_config.replication_state #=> String, one of "InProgress", "InSync", "Inconsistent"
|
|
1113
1169
|
# resp.canaries[0].tags #=> Hash
|
|
1114
1170
|
# resp.canaries[0].tags["TagKey"] #=> String
|
|
1115
1171
|
# resp.canaries[0].artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
|
1116
1172
|
# resp.canaries[0].artifact_config.s3_encryption.kms_key_arn #=> String
|
|
1173
|
+
# resp.canaries[0].kms_key_arn #=> String
|
|
1117
1174
|
# resp.canaries[0].dry_run_config.dry_run_id #=> String
|
|
1118
1175
|
# resp.canaries[0].dry_run_config.last_dry_run_execution_status #=> String
|
|
1119
1176
|
# resp.next_token #=> String
|
|
@@ -1211,6 +1268,7 @@ module Aws::Synthetics
|
|
|
1211
1268
|
# resp.canaries_last_run[0].last_run.artifact_s3_location #=> String
|
|
1212
1269
|
# resp.canaries_last_run[0].last_run.dry_run_config.dry_run_id #=> String
|
|
1213
1270
|
# resp.canaries_last_run[0].last_run.browser_type #=> String, one of "CHROME", "FIREFOX"
|
|
1271
|
+
# resp.canaries_last_run[0].last_run.location #=> String
|
|
1214
1272
|
# resp.next_token #=> String
|
|
1215
1273
|
#
|
|
1216
1274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanariesLastRun AWS API Documentation
|
|
@@ -1382,10 +1440,27 @@ module Aws::Synthetics
|
|
|
1382
1440
|
# resp.canary.visual_references[0].base_screenshots[0].ignore_coordinates[0] #=> String
|
|
1383
1441
|
# resp.canary.visual_references[0].base_canary_run_id #=> String
|
|
1384
1442
|
# resp.canary.visual_references[0].browser_type #=> String, one of "CHROME", "FIREFOX"
|
|
1443
|
+
# resp.canary.multi_location_config.location_type #=> String, one of "Primary", "Replica"
|
|
1444
|
+
# resp.canary.multi_location_config.primary_location #=> String
|
|
1445
|
+
# resp.canary.multi_location_config.replicas #=> Array
|
|
1446
|
+
# resp.canary.multi_location_config.replicas[0].location #=> String
|
|
1447
|
+
# resp.canary.multi_location_config.replicas[0].replication_status.state #=> String, one of "InProgress", "InSync", "Inconsistent"
|
|
1448
|
+
# resp.canary.multi_location_config.replicas[0].replication_status.state_reason #=> String
|
|
1449
|
+
# resp.canary.multi_location_config.replicas[0].replication_status.state_reason_code #=> String
|
|
1450
|
+
# resp.canary.multi_location_config.replicas[0].canary_state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
|
|
1451
|
+
# resp.canary.multi_location_config.replicas[0].last_modified #=> Time
|
|
1452
|
+
# resp.canary.multi_location_config.replicas[0].vpc_config.vpc_id #=> String
|
|
1453
|
+
# resp.canary.multi_location_config.replicas[0].vpc_config.subnet_ids #=> Array
|
|
1454
|
+
# resp.canary.multi_location_config.replicas[0].vpc_config.subnet_ids[0] #=> String
|
|
1455
|
+
# resp.canary.multi_location_config.replicas[0].vpc_config.security_group_ids #=> Array
|
|
1456
|
+
# resp.canary.multi_location_config.replicas[0].vpc_config.security_group_ids[0] #=> String
|
|
1457
|
+
# resp.canary.multi_location_config.replicas[0].vpc_config.ipv_6_allowed_for_dual_stack #=> Boolean
|
|
1458
|
+
# resp.canary.multi_location_config.replication_state #=> String, one of "InProgress", "InSync", "Inconsistent"
|
|
1385
1459
|
# resp.canary.tags #=> Hash
|
|
1386
1460
|
# resp.canary.tags["TagKey"] #=> String
|
|
1387
1461
|
# resp.canary.artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
|
1388
1462
|
# resp.canary.artifact_config.s3_encryption.kms_key_arn #=> String
|
|
1463
|
+
# resp.canary.kms_key_arn #=> String
|
|
1389
1464
|
# resp.canary.dry_run_config.dry_run_id #=> String
|
|
1390
1465
|
# resp.canary.dry_run_config.last_dry_run_execution_status #=> String
|
|
1391
1466
|
#
|
|
@@ -1470,6 +1545,7 @@ module Aws::Synthetics
|
|
|
1470
1545
|
# resp.canary_runs[0].artifact_s3_location #=> String
|
|
1471
1546
|
# resp.canary_runs[0].dry_run_config.dry_run_id #=> String
|
|
1472
1547
|
# resp.canary_runs[0].browser_type #=> String, one of "CHROME", "FIREFOX"
|
|
1548
|
+
# resp.canary_runs[0].location #=> String
|
|
1473
1549
|
# resp.next_token #=> String
|
|
1474
1550
|
#
|
|
1475
1551
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/GetCanaryRuns AWS API Documentation
|
|
@@ -2279,6 +2355,25 @@ module Aws::Synthetics
|
|
|
2279
2355
|
#
|
|
2280
2356
|
# </note>
|
|
2281
2357
|
#
|
|
2358
|
+
# @option params [Array<Types::AddReplicaLocationInput>] :add_replica_locations
|
|
2359
|
+
# A list of locations (Amazon Web Services Regions) to add as replicas
|
|
2360
|
+
# for the canary. Each location specifies a Region and optional VPC
|
|
2361
|
+
# configuration for the replica. You can add up to 50 replica locations.
|
|
2362
|
+
#
|
|
2363
|
+
# @option params [Array<String>] :remove_replica_locations
|
|
2364
|
+
# A list of locations (Amazon Web Services Regions) to remove as
|
|
2365
|
+
# replicas for the canary. You must specify at least one location to
|
|
2366
|
+
# remove. All replicas can be removed in a single API call and you
|
|
2367
|
+
# cannot remove the primary location.
|
|
2368
|
+
#
|
|
2369
|
+
# @option params [String] :kms_key_arn
|
|
2370
|
+
# The Amazon Resource Name (ARN) of the customer-managed AWS Key
|
|
2371
|
+
# Management Service (AWS KMS) key used to encrypt the canary's AWS
|
|
2372
|
+
# Lambda function environment variables at rest. If you don't specify a
|
|
2373
|
+
# value, the service uses an AWS-managed key. If you omit this
|
|
2374
|
+
# parameter, the service retains the existing value. To revert to the
|
|
2375
|
+
# AWS-managed key, set this parameter to an empty string.
|
|
2376
|
+
#
|
|
2282
2377
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2283
2378
|
#
|
|
2284
2379
|
# @example Request syntax with placeholder values
|
|
@@ -2360,6 +2455,19 @@ module Aws::Synthetics
|
|
|
2360
2455
|
# browser_type: "CHROME", # accepts CHROME, FIREFOX
|
|
2361
2456
|
# },
|
|
2362
2457
|
# ],
|
|
2458
|
+
# add_replica_locations: [
|
|
2459
|
+
# {
|
|
2460
|
+
# location: "Location", # required
|
|
2461
|
+
# vpc_config: {
|
|
2462
|
+
# subnet_ids: ["SubnetId"],
|
|
2463
|
+
# security_group_ids: ["SecurityGroupId"],
|
|
2464
|
+
# ipv_6_allowed_for_dual_stack: false,
|
|
2465
|
+
# },
|
|
2466
|
+
# kms_key_arn: "KmsKeyArn",
|
|
2467
|
+
# },
|
|
2468
|
+
# ],
|
|
2469
|
+
# remove_replica_locations: ["Location"],
|
|
2470
|
+
# kms_key_arn: "KmsKeyArn",
|
|
2363
2471
|
# })
|
|
2364
2472
|
#
|
|
2365
2473
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanary AWS API Documentation
|
|
@@ -2389,7 +2497,7 @@ module Aws::Synthetics
|
|
|
2389
2497
|
tracer: tracer
|
|
2390
2498
|
)
|
|
2391
2499
|
context[:gem_name] = 'aws-sdk-synthetics'
|
|
2392
|
-
context[:gem_version] = '1.
|
|
2500
|
+
context[:gem_version] = '1.87.0'
|
|
2393
2501
|
Seahorse::Client::Request.new(handlers, context)
|
|
2394
2502
|
end
|
|
2395
2503
|
|
|
@@ -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,13 @@ 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.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
191
|
+
AddReplicaLocationInput.struct_class = Types::AddReplicaLocationInput
|
|
192
|
+
|
|
193
|
+
AddReplicaLocations.member = Shapes::ShapeRef.new(shape: AddReplicaLocationInput)
|
|
194
|
+
|
|
178
195
|
ArtifactConfigInput.add_member(:s3_encryption, Shapes::ShapeRef.new(shape: S3EncryptionConfig, location_name: "S3Encryption"))
|
|
179
196
|
ArtifactConfigInput.struct_class = Types::ArtifactConfigInput
|
|
180
197
|
|
|
@@ -228,8 +245,10 @@ module Aws::Synthetics
|
|
|
228
245
|
Canary.add_member(:browser_configs, Shapes::ShapeRef.new(shape: BrowserConfigs, location_name: "BrowserConfigs"))
|
|
229
246
|
Canary.add_member(:engine_configs, Shapes::ShapeRef.new(shape: EngineConfigs, location_name: "EngineConfigs"))
|
|
230
247
|
Canary.add_member(:visual_references, Shapes::ShapeRef.new(shape: VisualReferencesOutput, location_name: "VisualReferences"))
|
|
248
|
+
Canary.add_member(:multi_location_config, Shapes::ShapeRef.new(shape: MultiLocationConfig, location_name: "MultiLocationConfig"))
|
|
231
249
|
Canary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
|
232
250
|
Canary.add_member(:artifact_config, Shapes::ShapeRef.new(shape: ArtifactConfigOutput, location_name: "ArtifactConfig"))
|
|
251
|
+
Canary.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
233
252
|
Canary.add_member(:dry_run_config, Shapes::ShapeRef.new(shape: DryRunConfigOutput, location_name: "DryRunConfig"))
|
|
234
253
|
Canary.struct_class = Types::Canary
|
|
235
254
|
|
|
@@ -264,6 +283,7 @@ module Aws::Synthetics
|
|
|
264
283
|
CanaryRun.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, location_name: "ArtifactS3Location"))
|
|
265
284
|
CanaryRun.add_member(:dry_run_config, Shapes::ShapeRef.new(shape: CanaryDryRunConfigOutput, location_name: "DryRunConfig"))
|
|
266
285
|
CanaryRun.add_member(:browser_type, Shapes::ShapeRef.new(shape: BrowserType, location_name: "BrowserType"))
|
|
286
|
+
CanaryRun.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "Location"))
|
|
267
287
|
CanaryRun.struct_class = Types::CanaryRun
|
|
268
288
|
|
|
269
289
|
CanaryRunConfigInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
|
|
@@ -329,8 +349,10 @@ module Aws::Synthetics
|
|
|
329
349
|
CreateCanaryRequest.add_member(:resources_to_replicate_tags, Shapes::ShapeRef.new(shape: ResourceList, location_name: "ResourcesToReplicateTags"))
|
|
330
350
|
CreateCanaryRequest.add_member(:provisioned_resource_cleanup, Shapes::ShapeRef.new(shape: ProvisionedResourceCleanupSetting, location_name: "ProvisionedResourceCleanup"))
|
|
331
351
|
CreateCanaryRequest.add_member(:browser_configs, Shapes::ShapeRef.new(shape: BrowserConfigs, location_name: "BrowserConfigs"))
|
|
352
|
+
CreateCanaryRequest.add_member(:add_replica_locations, Shapes::ShapeRef.new(shape: AddReplicaLocations, location_name: "AddReplicaLocations"))
|
|
332
353
|
CreateCanaryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
|
333
354
|
CreateCanaryRequest.add_member(:artifact_config, Shapes::ShapeRef.new(shape: ArtifactConfigInput, location_name: "ArtifactConfig"))
|
|
355
|
+
CreateCanaryRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
334
356
|
CreateCanaryRequest.struct_class = Types::CreateCanaryRequest
|
|
335
357
|
|
|
336
358
|
CreateCanaryResponse.add_member(:canary, Shapes::ShapeRef.new(shape: Canary, location_name: "Canary"))
|
|
@@ -487,9 +509,31 @@ module Aws::Synthetics
|
|
|
487
509
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
|
488
510
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
|
489
511
|
|
|
512
|
+
MultiLocationConfig.add_member(:location_type, Shapes::ShapeRef.new(shape: LocationType, location_name: "LocationType"))
|
|
513
|
+
MultiLocationConfig.add_member(:primary_location, Shapes::ShapeRef.new(shape: Location, location_name: "PrimaryLocation"))
|
|
514
|
+
MultiLocationConfig.add_member(:replicas, Shapes::ShapeRef.new(shape: Replicas, location_name: "Replicas"))
|
|
515
|
+
MultiLocationConfig.add_member(:replication_state, Shapes::ShapeRef.new(shape: ReplicationState, location_name: "ReplicationState"))
|
|
516
|
+
MultiLocationConfig.struct_class = Types::MultiLocationConfig
|
|
517
|
+
|
|
490
518
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
491
519
|
NotFoundException.struct_class = Types::NotFoundException
|
|
492
520
|
|
|
521
|
+
RemoveReplicaLocations.member = Shapes::ShapeRef.new(shape: Location)
|
|
522
|
+
|
|
523
|
+
Replica.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "Location"))
|
|
524
|
+
Replica.add_member(:replication_status, Shapes::ShapeRef.new(shape: ReplicationStatus, location_name: "ReplicationStatus"))
|
|
525
|
+
Replica.add_member(:canary_state, Shapes::ShapeRef.new(shape: CanaryState, location_name: "CanaryState"))
|
|
526
|
+
Replica.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
|
527
|
+
Replica.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigOutput, location_name: "VpcConfig"))
|
|
528
|
+
Replica.struct_class = Types::Replica
|
|
529
|
+
|
|
530
|
+
Replicas.member = Shapes::ShapeRef.new(shape: Replica)
|
|
531
|
+
|
|
532
|
+
ReplicationStatus.add_member(:state, Shapes::ShapeRef.new(shape: ReplicationState, location_name: "State"))
|
|
533
|
+
ReplicationStatus.add_member(:state_reason, Shapes::ShapeRef.new(shape: String, location_name: "StateReason"))
|
|
534
|
+
ReplicationStatus.add_member(:state_reason_code, Shapes::ShapeRef.new(shape: String, location_name: "StateReasonCode"))
|
|
535
|
+
ReplicationStatus.struct_class = Types::ReplicationStatus
|
|
536
|
+
|
|
493
537
|
RequestEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
494
538
|
RequestEntityTooLargeException.struct_class = Types::RequestEntityTooLargeException
|
|
495
539
|
|
|
@@ -590,6 +634,9 @@ module Aws::Synthetics
|
|
|
590
634
|
UpdateCanaryRequest.add_member(:dry_run_id, Shapes::ShapeRef.new(shape: UUID, location_name: "DryRunId"))
|
|
591
635
|
UpdateCanaryRequest.add_member(:visual_references, Shapes::ShapeRef.new(shape: VisualReferences, location_name: "VisualReferences"))
|
|
592
636
|
UpdateCanaryRequest.add_member(:browser_configs, Shapes::ShapeRef.new(shape: BrowserConfigs, location_name: "BrowserConfigs"))
|
|
637
|
+
UpdateCanaryRequest.add_member(:add_replica_locations, Shapes::ShapeRef.new(shape: AddReplicaLocations, location_name: "AddReplicaLocations"))
|
|
638
|
+
UpdateCanaryRequest.add_member(:remove_replica_locations, Shapes::ShapeRef.new(shape: RemoveReplicaLocations, location_name: "RemoveReplicaLocations"))
|
|
639
|
+
UpdateCanaryRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
593
640
|
UpdateCanaryRequest.struct_class = Types::UpdateCanaryRequest
|
|
594
641
|
|
|
595
642
|
UpdateCanaryResponse.struct_class = Types::UpdateCanaryResponse
|
|
@@ -23,6 +23,37 @@ 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
|
+
# @!attribute [rw] kms_key_arn
|
|
41
|
+
# The Amazon Resource Name (ARN) of the customer-managed AWS Key
|
|
42
|
+
# Management Service (AWS KMS) key used to encrypt the canary
|
|
43
|
+
# replica's AWS Lambda function environment variables at rest. If you
|
|
44
|
+
# don't specify a value, the service uses an AWS-managed key.
|
|
45
|
+
# @return [String]
|
|
46
|
+
#
|
|
47
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/AddReplicaLocationInput AWS API Documentation
|
|
48
|
+
#
|
|
49
|
+
class AddReplicaLocationInput < Struct.new(
|
|
50
|
+
:location,
|
|
51
|
+
:vpc_config,
|
|
52
|
+
:kms_key_arn)
|
|
53
|
+
SENSITIVE = []
|
|
54
|
+
include Aws::Structure
|
|
55
|
+
end
|
|
56
|
+
|
|
26
57
|
# A structure that contains the configuration for canary artifacts,
|
|
27
58
|
# including the encryption-at-rest settings for artifacts that the
|
|
28
59
|
# canary uploads to Amazon S3.
|
|
@@ -305,6 +336,12 @@ module Aws::Synthetics
|
|
|
305
336
|
# future compatibility.
|
|
306
337
|
# @return [Array<Types::VisualReferenceOutput>]
|
|
307
338
|
#
|
|
339
|
+
# @!attribute [rw] multi_location_config
|
|
340
|
+
# If this canary is part of a multi-location configuration, this
|
|
341
|
+
# structure contains information about the canary's location type,
|
|
342
|
+
# primary location, and replicas.
|
|
343
|
+
# @return [Types::MultiLocationConfig]
|
|
344
|
+
#
|
|
308
345
|
# @!attribute [rw] tags
|
|
309
346
|
# The list of key-value pairs that are associated with the canary.
|
|
310
347
|
# @return [Hash<String,String>]
|
|
@@ -315,6 +352,13 @@ module Aws::Synthetics
|
|
|
315
352
|
# canary uploads to Amazon S3.
|
|
316
353
|
# @return [Types::ArtifactConfigOutput]
|
|
317
354
|
#
|
|
355
|
+
# @!attribute [rw] kms_key_arn
|
|
356
|
+
# The Amazon Resource Name (ARN) of the customer-managed AWS Key
|
|
357
|
+
# Management Service (AWS KMS) key used to encrypt the canary's AWS
|
|
358
|
+
# Lambda function environment variables at rest. If you don't specify
|
|
359
|
+
# a value, the service uses an AWS-managed key.
|
|
360
|
+
# @return [String]
|
|
361
|
+
#
|
|
318
362
|
# @!attribute [rw] dry_run_config
|
|
319
363
|
# Returns the dry run configurations for a canary.
|
|
320
364
|
# @return [Types::DryRunConfigOutput]
|
|
@@ -341,8 +385,10 @@ module Aws::Synthetics
|
|
|
341
385
|
:browser_configs,
|
|
342
386
|
:engine_configs,
|
|
343
387
|
:visual_references,
|
|
388
|
+
:multi_location_config,
|
|
344
389
|
:tags,
|
|
345
390
|
:artifact_config,
|
|
391
|
+
:kms_key_arn,
|
|
346
392
|
:dry_run_config)
|
|
347
393
|
SENSITIVE = []
|
|
348
394
|
include Aws::Structure
|
|
@@ -423,7 +469,7 @@ module Aws::Synthetics
|
|
|
423
469
|
#
|
|
424
470
|
# Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in
|
|
425
471
|
# authentication schemes (Basic, API Key, OAuth, SigV4) and assertion
|
|
426
|
-
# capabilities. When you specify `BlueprintTypes`, the Handler field
|
|
472
|
+
# capabilities. When you specify `BlueprintTypes`, the `Handler` field
|
|
427
473
|
# cannot be specified since the blueprint provides a pre-defined entry
|
|
428
474
|
# point.
|
|
429
475
|
#
|
|
@@ -474,7 +520,7 @@ module Aws::Synthetics
|
|
|
474
520
|
#
|
|
475
521
|
# Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in
|
|
476
522
|
# authentication schemes (Basic, API Key, OAuth, SigV4) and assertion
|
|
477
|
-
# capabilities. When you specify `BlueprintTypes`, the Handler field
|
|
523
|
+
# capabilities. When you specify `BlueprintTypes`, the `Handler` field
|
|
478
524
|
# cannot be specified since the blueprint provides a pre-defined entry
|
|
479
525
|
# point.
|
|
480
526
|
#
|
|
@@ -573,6 +619,10 @@ module Aws::Synthetics
|
|
|
573
619
|
# The browser type associated with this canary run.
|
|
574
620
|
# @return [String]
|
|
575
621
|
#
|
|
622
|
+
# @!attribute [rw] location
|
|
623
|
+
# The Amazon Web Services Region where this canary run was executed.
|
|
624
|
+
# @return [String]
|
|
625
|
+
#
|
|
576
626
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRun AWS API Documentation
|
|
577
627
|
#
|
|
578
628
|
class CanaryRun < Struct.new(
|
|
@@ -584,7 +634,8 @@ module Aws::Synthetics
|
|
|
584
634
|
:timeline,
|
|
585
635
|
:artifact_s3_location,
|
|
586
636
|
:dry_run_config,
|
|
587
|
-
:browser_type
|
|
637
|
+
:browser_type,
|
|
638
|
+
:location)
|
|
588
639
|
SENSITIVE = []
|
|
589
640
|
include Aws::Structure
|
|
590
641
|
end
|
|
@@ -1092,6 +1143,13 @@ module Aws::Synthetics
|
|
|
1092
1143
|
# </note>
|
|
1093
1144
|
# @return [Array<Types::BrowserConfig>]
|
|
1094
1145
|
#
|
|
1146
|
+
# @!attribute [rw] add_replica_locations
|
|
1147
|
+
# A list of locations (Amazon Web Services Regions) to add as replicas
|
|
1148
|
+
# for the canary. Each location specifies a Region and optional VPC
|
|
1149
|
+
# configuration for the replica. You can add up to 50 replica
|
|
1150
|
+
# locations.
|
|
1151
|
+
# @return [Array<Types::AddReplicaLocationInput>]
|
|
1152
|
+
#
|
|
1095
1153
|
# @!attribute [rw] tags
|
|
1096
1154
|
# A list of key-value pairs to associate with the canary. You can
|
|
1097
1155
|
# associate as many as 50 tags with a canary.
|
|
@@ -1112,6 +1170,13 @@ module Aws::Synthetics
|
|
|
1112
1170
|
# canary uploads to Amazon S3.
|
|
1113
1171
|
# @return [Types::ArtifactConfigInput]
|
|
1114
1172
|
#
|
|
1173
|
+
# @!attribute [rw] kms_key_arn
|
|
1174
|
+
# The Amazon Resource Name (ARN) of the customer-managed AWS Key
|
|
1175
|
+
# Management Service (AWS KMS) key used to encrypt the canary's AWS
|
|
1176
|
+
# Lambda function environment variables at rest. If you don't specify
|
|
1177
|
+
# a value, the service uses an AWS-managed key.
|
|
1178
|
+
# @return [String]
|
|
1179
|
+
#
|
|
1115
1180
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CreateCanaryRequest AWS API Documentation
|
|
1116
1181
|
#
|
|
1117
1182
|
class CreateCanaryRequest < Struct.new(
|
|
@@ -1128,8 +1193,10 @@ module Aws::Synthetics
|
|
|
1128
1193
|
:resources_to_replicate_tags,
|
|
1129
1194
|
:provisioned_resource_cleanup,
|
|
1130
1195
|
:browser_configs,
|
|
1196
|
+
:add_replica_locations,
|
|
1131
1197
|
:tags,
|
|
1132
|
-
:artifact_config
|
|
1198
|
+
:artifact_config,
|
|
1199
|
+
:kms_key_arn)
|
|
1133
1200
|
SENSITIVE = []
|
|
1134
1201
|
include Aws::Structure
|
|
1135
1202
|
end
|
|
@@ -1875,6 +1942,41 @@ module Aws::Synthetics
|
|
|
1875
1942
|
include Aws::Structure
|
|
1876
1943
|
end
|
|
1877
1944
|
|
|
1945
|
+
# A structure that contains information about the multi-location
|
|
1946
|
+
# configuration of a canary, including whether it is a primary or
|
|
1947
|
+
# replica, the primary location, and the list of replicas.
|
|
1948
|
+
#
|
|
1949
|
+
# @!attribute [rw] location_type
|
|
1950
|
+
# Indicates whether this canary is the `Primary` or a `Replica` in the
|
|
1951
|
+
# multi-location configuration.
|
|
1952
|
+
# @return [String]
|
|
1953
|
+
#
|
|
1954
|
+
# @!attribute [rw] primary_location
|
|
1955
|
+
# The Amazon Web Services Region where the primary canary is located.
|
|
1956
|
+
# @return [String]
|
|
1957
|
+
#
|
|
1958
|
+
# @!attribute [rw] replicas
|
|
1959
|
+
# A list of replicas for this canary. This field is present only for
|
|
1960
|
+
# the primary location canary.
|
|
1961
|
+
# @return [Array<Types::Replica>]
|
|
1962
|
+
#
|
|
1963
|
+
# @!attribute [rw] replication_state
|
|
1964
|
+
# The overall replication state of the canary across all replica
|
|
1965
|
+
# locations. This field is present only for the primary location
|
|
1966
|
+
# canary. Valid values are `InProgress`, `InSync`, and `Inconsistent`.
|
|
1967
|
+
# @return [String]
|
|
1968
|
+
#
|
|
1969
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/MultiLocationConfig AWS API Documentation
|
|
1970
|
+
#
|
|
1971
|
+
class MultiLocationConfig < Struct.new(
|
|
1972
|
+
:location_type,
|
|
1973
|
+
:primary_location,
|
|
1974
|
+
:replicas,
|
|
1975
|
+
:replication_state)
|
|
1976
|
+
SENSITIVE = []
|
|
1977
|
+
include Aws::Structure
|
|
1978
|
+
end
|
|
1979
|
+
|
|
1878
1980
|
# The specified resource was not found.
|
|
1879
1981
|
#
|
|
1880
1982
|
# @!attribute [rw] message
|
|
@@ -1888,6 +1990,70 @@ module Aws::Synthetics
|
|
|
1888
1990
|
include Aws::Structure
|
|
1889
1991
|
end
|
|
1890
1992
|
|
|
1993
|
+
# A structure that contains information about a canary replica in a
|
|
1994
|
+
# specific location.
|
|
1995
|
+
#
|
|
1996
|
+
# @!attribute [rw] location
|
|
1997
|
+
# The Amazon Web Services Region where this replica is located.
|
|
1998
|
+
# @return [String]
|
|
1999
|
+
#
|
|
2000
|
+
# @!attribute [rw] replication_status
|
|
2001
|
+
# A structure that contains information about the replication status
|
|
2002
|
+
# of this replica.
|
|
2003
|
+
# @return [Types::ReplicationStatus]
|
|
2004
|
+
#
|
|
2005
|
+
# @!attribute [rw] canary_state
|
|
2006
|
+
# The current state of the canary in this replica location.
|
|
2007
|
+
# @return [String]
|
|
2008
|
+
#
|
|
2009
|
+
# @!attribute [rw] last_modified
|
|
2010
|
+
# The date and time that the replica was last modified.
|
|
2011
|
+
# @return [Time]
|
|
2012
|
+
#
|
|
2013
|
+
# @!attribute [rw] vpc_config
|
|
2014
|
+
# The VPC configuration for the canary replica in this location.
|
|
2015
|
+
# @return [Types::VpcConfigOutput]
|
|
2016
|
+
#
|
|
2017
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/Replica AWS API Documentation
|
|
2018
|
+
#
|
|
2019
|
+
class Replica < Struct.new(
|
|
2020
|
+
:location,
|
|
2021
|
+
:replication_status,
|
|
2022
|
+
:canary_state,
|
|
2023
|
+
:last_modified,
|
|
2024
|
+
:vpc_config)
|
|
2025
|
+
SENSITIVE = []
|
|
2026
|
+
include Aws::Structure
|
|
2027
|
+
end
|
|
2028
|
+
|
|
2029
|
+
# A structure that contains information about the replication status of
|
|
2030
|
+
# a canary replica.
|
|
2031
|
+
#
|
|
2032
|
+
# @!attribute [rw] state
|
|
2033
|
+
# The replication state of the replica. Valid values are `InProgress`,
|
|
2034
|
+
# `InSync`, and `Inconsistent`.
|
|
2035
|
+
# @return [String]
|
|
2036
|
+
#
|
|
2037
|
+
# @!attribute [rw] state_reason
|
|
2038
|
+
# A description that provides more detail about the current
|
|
2039
|
+
# replication state.
|
|
2040
|
+
# @return [String]
|
|
2041
|
+
#
|
|
2042
|
+
# @!attribute [rw] state_reason_code
|
|
2043
|
+
# A code that provides more detail about the current replication
|
|
2044
|
+
# state.
|
|
2045
|
+
# @return [String]
|
|
2046
|
+
#
|
|
2047
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/ReplicationStatus AWS API Documentation
|
|
2048
|
+
#
|
|
2049
|
+
class ReplicationStatus < Struct.new(
|
|
2050
|
+
:state,
|
|
2051
|
+
:state_reason,
|
|
2052
|
+
:state_reason_code)
|
|
2053
|
+
SENSITIVE = []
|
|
2054
|
+
include Aws::Structure
|
|
2055
|
+
end
|
|
2056
|
+
|
|
1891
2057
|
# One of the input resources is larger than is allowed.
|
|
1892
2058
|
#
|
|
1893
2059
|
# @!attribute [rw] message
|
|
@@ -2548,6 +2714,29 @@ module Aws::Synthetics
|
|
|
2548
2714
|
# </note>
|
|
2549
2715
|
# @return [Array<Types::BrowserConfig>]
|
|
2550
2716
|
#
|
|
2717
|
+
# @!attribute [rw] add_replica_locations
|
|
2718
|
+
# A list of locations (Amazon Web Services Regions) to add as replicas
|
|
2719
|
+
# for the canary. Each location specifies a Region and optional VPC
|
|
2720
|
+
# configuration for the replica. You can add up to 50 replica
|
|
2721
|
+
# locations.
|
|
2722
|
+
# @return [Array<Types::AddReplicaLocationInput>]
|
|
2723
|
+
#
|
|
2724
|
+
# @!attribute [rw] remove_replica_locations
|
|
2725
|
+
# A list of locations (Amazon Web Services Regions) to remove as
|
|
2726
|
+
# replicas for the canary. You must specify at least one location to
|
|
2727
|
+
# remove. All replicas can be removed in a single API call and you
|
|
2728
|
+
# cannot remove the primary location.
|
|
2729
|
+
# @return [Array<String>]
|
|
2730
|
+
#
|
|
2731
|
+
# @!attribute [rw] kms_key_arn
|
|
2732
|
+
# The Amazon Resource Name (ARN) of the customer-managed AWS Key
|
|
2733
|
+
# Management Service (AWS KMS) key used to encrypt the canary's AWS
|
|
2734
|
+
# Lambda function environment variables at rest. If you don't specify
|
|
2735
|
+
# a value, the service uses an AWS-managed key. If you omit this
|
|
2736
|
+
# parameter, the service retains the existing value. To revert to the
|
|
2737
|
+
# AWS-managed key, set this parameter to an empty string.
|
|
2738
|
+
# @return [String]
|
|
2739
|
+
#
|
|
2551
2740
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanaryRequest AWS API Documentation
|
|
2552
2741
|
#
|
|
2553
2742
|
class UpdateCanaryRequest < Struct.new(
|
|
@@ -2566,7 +2755,10 @@ module Aws::Synthetics
|
|
|
2566
2755
|
:provisioned_resource_cleanup,
|
|
2567
2756
|
:dry_run_id,
|
|
2568
2757
|
:visual_references,
|
|
2569
|
-
:browser_configs
|
|
2758
|
+
:browser_configs,
|
|
2759
|
+
:add_replica_locations,
|
|
2760
|
+
:remove_replica_locations,
|
|
2761
|
+
:kms_key_arn)
|
|
2570
2762
|
SENSITIVE = []
|
|
2571
2763
|
include Aws::Structure
|
|
2572
2764
|
end
|
data/lib/aws-sdk-synthetics.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -127,13 +127,17 @@ 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: {
|
|
133
136
|
encryption_mode: ("SSE_S3" | "SSE_KMS")?,
|
|
134
137
|
kms_key_arn: ::String?
|
|
135
138
|
}?
|
|
136
|
-
}
|
|
139
|
+
},
|
|
140
|
+
?kms_key_arn: ::String
|
|
137
141
|
) -> _CreateCanaryResponseSuccess
|
|
138
142
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCanaryResponseSuccess
|
|
139
143
|
|
|
@@ -429,7 +433,12 @@ module Aws
|
|
|
429
433
|
{
|
|
430
434
|
browser_type: ("CHROME" | "FIREFOX")?
|
|
431
435
|
}
|
|
432
|
-
]
|
|
436
|
+
],
|
|
437
|
+
?add_replica_locations: Array[
|
|
438
|
+
Params::add_replica_location_input
|
|
439
|
+
],
|
|
440
|
+
?remove_replica_locations: Array[::String],
|
|
441
|
+
?kms_key_arn: ::String
|
|
433
442
|
) -> _UpdateCanaryResponseSuccess
|
|
434
443
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCanaryResponseSuccess
|
|
435
444
|
end
|
data/sig/params.rbs
CHANGED
|
@@ -23,6 +23,16 @@ 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
|
+
kms_key_arn: ::String?
|
|
34
|
+
}
|
|
35
|
+
|
|
26
36
|
type visual_reference_input = {
|
|
27
37
|
base_screenshots: Array[
|
|
28
38
|
{
|
data/sig/types.rbs
CHANGED
|
@@ -13,6 +13,13 @@ 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
|
+
attr_accessor kms_key_arn: ::String
|
|
20
|
+
SENSITIVE: []
|
|
21
|
+
end
|
|
22
|
+
|
|
16
23
|
class ArtifactConfigInput
|
|
17
24
|
attr_accessor s3_encryption: Types::S3EncryptionConfig
|
|
18
25
|
SENSITIVE: []
|
|
@@ -68,8 +75,10 @@ module Aws::Synthetics
|
|
|
68
75
|
attr_accessor browser_configs: ::Array[Types::BrowserConfig]
|
|
69
76
|
attr_accessor engine_configs: ::Array[Types::EngineConfig]
|
|
70
77
|
attr_accessor visual_references: ::Array[Types::VisualReferenceOutput]
|
|
78
|
+
attr_accessor multi_location_config: Types::MultiLocationConfig
|
|
71
79
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
72
80
|
attr_accessor artifact_config: Types::ArtifactConfigOutput
|
|
81
|
+
attr_accessor kms_key_arn: ::String
|
|
73
82
|
attr_accessor dry_run_config: Types::DryRunConfigOutput
|
|
74
83
|
SENSITIVE: []
|
|
75
84
|
end
|
|
@@ -114,6 +123,7 @@ module Aws::Synthetics
|
|
|
114
123
|
attr_accessor artifact_s3_location: ::String
|
|
115
124
|
attr_accessor dry_run_config: Types::CanaryDryRunConfigOutput
|
|
116
125
|
attr_accessor browser_type: ("CHROME" | "FIREFOX")
|
|
126
|
+
attr_accessor location: ::String
|
|
117
127
|
SENSITIVE: []
|
|
118
128
|
end
|
|
119
129
|
|
|
@@ -197,8 +207,10 @@ module Aws::Synthetics
|
|
|
197
207
|
attr_accessor resources_to_replicate_tags: ::Array[("lambda-function")]
|
|
198
208
|
attr_accessor provisioned_resource_cleanup: ("AUTOMATIC" | "OFF")
|
|
199
209
|
attr_accessor browser_configs: ::Array[Types::BrowserConfig]
|
|
210
|
+
attr_accessor add_replica_locations: ::Array[Types::AddReplicaLocationInput]
|
|
200
211
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
201
212
|
attr_accessor artifact_config: Types::ArtifactConfigInput
|
|
213
|
+
attr_accessor kms_key_arn: ::String
|
|
202
214
|
SENSITIVE: []
|
|
203
215
|
end
|
|
204
216
|
|
|
@@ -412,11 +424,35 @@ module Aws::Synthetics
|
|
|
412
424
|
SENSITIVE: []
|
|
413
425
|
end
|
|
414
426
|
|
|
427
|
+
class MultiLocationConfig
|
|
428
|
+
attr_accessor location_type: ("Primary" | "Replica")
|
|
429
|
+
attr_accessor primary_location: ::String
|
|
430
|
+
attr_accessor replicas: ::Array[Types::Replica]
|
|
431
|
+
attr_accessor replication_state: ("InProgress" | "InSync" | "Inconsistent")
|
|
432
|
+
SENSITIVE: []
|
|
433
|
+
end
|
|
434
|
+
|
|
415
435
|
class NotFoundException
|
|
416
436
|
attr_accessor message: ::String
|
|
417
437
|
SENSITIVE: []
|
|
418
438
|
end
|
|
419
439
|
|
|
440
|
+
class Replica
|
|
441
|
+
attr_accessor location: ::String
|
|
442
|
+
attr_accessor replication_status: Types::ReplicationStatus
|
|
443
|
+
attr_accessor canary_state: ("CREATING" | "READY" | "STARTING" | "RUNNING" | "UPDATING" | "STOPPING" | "STOPPED" | "ERROR" | "DELETING")
|
|
444
|
+
attr_accessor last_modified: ::Time
|
|
445
|
+
attr_accessor vpc_config: Types::VpcConfigOutput
|
|
446
|
+
SENSITIVE: []
|
|
447
|
+
end
|
|
448
|
+
|
|
449
|
+
class ReplicationStatus
|
|
450
|
+
attr_accessor state: ("InProgress" | "InSync" | "Inconsistent")
|
|
451
|
+
attr_accessor state_reason: ::String
|
|
452
|
+
attr_accessor state_reason_code: ::String
|
|
453
|
+
SENSITIVE: []
|
|
454
|
+
end
|
|
455
|
+
|
|
420
456
|
class RequestEntityTooLargeException
|
|
421
457
|
attr_accessor message: ::String
|
|
422
458
|
SENSITIVE: []
|
|
@@ -535,6 +571,9 @@ module Aws::Synthetics
|
|
|
535
571
|
attr_accessor dry_run_id: ::String
|
|
536
572
|
attr_accessor visual_references: ::Array[Types::VisualReferenceInput]
|
|
537
573
|
attr_accessor browser_configs: ::Array[Types::BrowserConfig]
|
|
574
|
+
attr_accessor add_replica_locations: ::Array[Types::AddReplicaLocationInput]
|
|
575
|
+
attr_accessor remove_replica_locations: ::Array[::String]
|
|
576
|
+
attr_accessor kms_key_arn: ::String
|
|
538
577
|
SENSITIVE: []
|
|
539
578
|
end
|
|
540
579
|
|
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.
|
|
4
|
+
version: 1.87.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.254.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.254.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|