aws-sdk-synthetics 1.15.0 → 1.16.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-synthetics.rb +1 -1
- data/lib/aws-sdk-synthetics/client.rb +14 -1
- data/lib/aws-sdk-synthetics/types.rb +68 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66a65c42837b8e51d5b78de7c96423feb6b7fd11676689afc24ecd51ad4980b1
|
|
4
|
+
data.tar.gz: 6533e4402aaef3d3e0bd9acba7898094b3735e6c82a90b0b9716b714efcfa92d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3211f791840cffcc86db0581dbedcf10a335151174d1499bcf7ef30ed18885d1d355af138a551391736ade24692ca3b2aa5a181818e5008a765fd6ea0a70495d
|
|
7
|
+
data.tar.gz: '03559aeb71f154a69d7ceaa237780c601e2de8b2d0d4aac64ec7d04f0a04b38ae5a67409a20418c0c49cd897cb7351857c1178e242b8c2a216416af5ff9daab3'
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.16.0
|
data/lib/aws-sdk-synthetics.rb
CHANGED
|
@@ -1132,6 +1132,19 @@ module Aws::Synthetics
|
|
|
1132
1132
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html
|
|
1133
1133
|
#
|
|
1134
1134
|
# @option params [Types::VisualReferenceInput] :visual_reference
|
|
1135
|
+
# Defines the screenshots to use as the baseline for comparisons during
|
|
1136
|
+
# visual monitoring comparisons during future runs of this canary. If
|
|
1137
|
+
# you omit this parameter, no changes are made to any baseline
|
|
1138
|
+
# screenshots that the canary might be using already.
|
|
1139
|
+
#
|
|
1140
|
+
# Visual monitoring is supported only on canaries running the
|
|
1141
|
+
# **syn-puppeteer-node-3.2** runtime or later. For more information, see
|
|
1142
|
+
# [ Visual monitoring][1] and [ Visual monitoring blueprint][2]
|
|
1143
|
+
#
|
|
1144
|
+
#
|
|
1145
|
+
#
|
|
1146
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_SyntheticsLogger_VisualTesting.html
|
|
1147
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Blueprints_VisualTesting.html
|
|
1135
1148
|
#
|
|
1136
1149
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1137
1150
|
#
|
|
@@ -1199,7 +1212,7 @@ module Aws::Synthetics
|
|
|
1199
1212
|
params: params,
|
|
1200
1213
|
config: config)
|
|
1201
1214
|
context[:gem_name] = 'aws-sdk-synthetics'
|
|
1202
|
-
context[:gem_version] = '1.
|
|
1215
|
+
context[:gem_version] = '1.16.0'
|
|
1203
1216
|
Seahorse::Client::Request.new(handlers, context)
|
|
1204
1217
|
end
|
|
1205
1218
|
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
module Aws::Synthetics
|
|
11
11
|
module Types
|
|
12
12
|
|
|
13
|
+
# A structure representing a screenshot that is used as a baseline
|
|
14
|
+
# during visual monitoring comparisons made by the canary.
|
|
15
|
+
#
|
|
13
16
|
# @note When making an API call, you may pass BaseScreenshot
|
|
14
17
|
# data as a hash:
|
|
15
18
|
#
|
|
@@ -19,9 +22,16 @@ module Aws::Synthetics
|
|
|
19
22
|
# }
|
|
20
23
|
#
|
|
21
24
|
# @!attribute [rw] screenshot_name
|
|
25
|
+
# The name of the screenshot. This is generated the first time the
|
|
26
|
+
# canary is run after the `UpdateCanary` operation that specified for
|
|
27
|
+
# this canary to perform visual monitoring.
|
|
22
28
|
# @return [String]
|
|
23
29
|
#
|
|
24
30
|
# @!attribute [rw] ignore_coordinates
|
|
31
|
+
# Coordinates that define the part of a screen to ignore during
|
|
32
|
+
# screenshot comparisons. To obtain the coordinates to use here, use
|
|
33
|
+
# the CloudWatch Logs console to draw the boundaries on the screen.
|
|
34
|
+
# For more information, see \\\{LINK\\}
|
|
25
35
|
# @return [Array<String>]
|
|
26
36
|
#
|
|
27
37
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/BaseScreenshot AWS API Documentation
|
|
@@ -119,6 +129,10 @@ module Aws::Synthetics
|
|
|
119
129
|
# @return [Types::VpcConfigOutput]
|
|
120
130
|
#
|
|
121
131
|
# @!attribute [rw] visual_reference
|
|
132
|
+
# If this canary performs visual monitoring by comparing screenshots,
|
|
133
|
+
# this structure contains the ID of the canary run to use as the
|
|
134
|
+
# baseline for screenshots, and the coordinates of any parts of the
|
|
135
|
+
# screen to ignore during the visual monitoring comparison.
|
|
122
136
|
# @return [Types::VisualReferenceOutput]
|
|
123
137
|
#
|
|
124
138
|
# @!attribute [rw] tags
|
|
@@ -188,7 +202,7 @@ module Aws::Synthetics
|
|
|
188
202
|
# If you input your canary script directly into the canary instead of
|
|
189
203
|
# referring to an S3 location, the value of this parameter is the
|
|
190
204
|
# base64-encoded contents of the .zip file that contains the script.
|
|
191
|
-
# It
|
|
205
|
+
# It must be smaller than 256 Kb.
|
|
192
206
|
# @return [String]
|
|
193
207
|
#
|
|
194
208
|
# @!attribute [rw] handler
|
|
@@ -1368,6 +1382,19 @@ module Aws::Synthetics
|
|
|
1368
1382
|
# @return [Types::VpcConfigInput]
|
|
1369
1383
|
#
|
|
1370
1384
|
# @!attribute [rw] visual_reference
|
|
1385
|
+
# Defines the screenshots to use as the baseline for comparisons
|
|
1386
|
+
# during visual monitoring comparisons during future runs of this
|
|
1387
|
+
# canary. If you omit this parameter, no changes are made to any
|
|
1388
|
+
# baseline screenshots that the canary might be using already.
|
|
1389
|
+
#
|
|
1390
|
+
# Visual monitoring is supported only on canaries running the
|
|
1391
|
+
# **syn-puppeteer-node-3.2** runtime or later. For more information,
|
|
1392
|
+
# see [ Visual monitoring][1] and [ Visual monitoring blueprint][2]
|
|
1393
|
+
#
|
|
1394
|
+
#
|
|
1395
|
+
#
|
|
1396
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_SyntheticsLogger_VisualTesting.html
|
|
1397
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Blueprints_VisualTesting.html
|
|
1371
1398
|
# @return [Types::VisualReferenceInput]
|
|
1372
1399
|
#
|
|
1373
1400
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanaryRequest AWS API Documentation
|
|
@@ -1404,6 +1431,19 @@ module Aws::Synthetics
|
|
|
1404
1431
|
include Aws::Structure
|
|
1405
1432
|
end
|
|
1406
1433
|
|
|
1434
|
+
# An object that specifies what screenshots to use as a baseline for
|
|
1435
|
+
# visual monitoring by this canary, and optionally the parts of the
|
|
1436
|
+
# screenshots to ignore during the visual monitoring comparison.
|
|
1437
|
+
#
|
|
1438
|
+
# Visual monitoring is supported only on canaries running the
|
|
1439
|
+
# **syn-puppeteer-node-3.2** runtime or later. For more information, see
|
|
1440
|
+
# [ Visual monitoring][1] and [ Visual monitoring blueprint][2]
|
|
1441
|
+
#
|
|
1442
|
+
#
|
|
1443
|
+
#
|
|
1444
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_SyntheticsLogger_VisualTesting.html
|
|
1445
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Blueprints_VisualTesting.html
|
|
1446
|
+
#
|
|
1407
1447
|
# @note When making an API call, you may pass VisualReferenceInput
|
|
1408
1448
|
# data as a hash:
|
|
1409
1449
|
#
|
|
@@ -1418,9 +1458,23 @@ module Aws::Synthetics
|
|
|
1418
1458
|
# }
|
|
1419
1459
|
#
|
|
1420
1460
|
# @!attribute [rw] base_screenshots
|
|
1461
|
+
# An array of screenshots that will be used as the baseline for visual
|
|
1462
|
+
# monitoring in future runs of this canary. If there is a screenshot
|
|
1463
|
+
# that you don't want to be used for visual monitoring, remove it
|
|
1464
|
+
# from this array.
|
|
1421
1465
|
# @return [Array<Types::BaseScreenshot>]
|
|
1422
1466
|
#
|
|
1423
1467
|
# @!attribute [rw] base_canary_run_id
|
|
1468
|
+
# Specifies which canary run to use the screenshots from as the
|
|
1469
|
+
# baseline for future visual monitoring with this canary. Valid values
|
|
1470
|
+
# are `nextrun` to use the screenshots from the next run after this
|
|
1471
|
+
# update is made, `lastrun` to use the screenshots from the most
|
|
1472
|
+
# recent run before this update was made, or the value of `Id` in the
|
|
1473
|
+
# [ CanaryRun][1] from any past run of this canary.
|
|
1474
|
+
#
|
|
1475
|
+
#
|
|
1476
|
+
#
|
|
1477
|
+
# [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_CanaryRun.html
|
|
1424
1478
|
# @return [String]
|
|
1425
1479
|
#
|
|
1426
1480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/VisualReferenceInput AWS API Documentation
|
|
@@ -1432,10 +1486,23 @@ module Aws::Synthetics
|
|
|
1432
1486
|
include Aws::Structure
|
|
1433
1487
|
end
|
|
1434
1488
|
|
|
1489
|
+
# If this canary performs visual monitoring by comparing screenshots,
|
|
1490
|
+
# this structure contains the ID of the canary run that is used as the
|
|
1491
|
+
# baseline for screenshots, and the coordinates of any parts of those
|
|
1492
|
+
# screenshots that are ignored during visual monitoring comparison.
|
|
1493
|
+
#
|
|
1494
|
+
# Visual monitoring is supported only on canaries running the
|
|
1495
|
+
# **syn-puppeteer-node-3.2** runtime or later.
|
|
1496
|
+
#
|
|
1435
1497
|
# @!attribute [rw] base_screenshots
|
|
1498
|
+
# An array of screenshots that are used as the baseline for
|
|
1499
|
+
# comparisons during visual monitoring.
|
|
1436
1500
|
# @return [Array<Types::BaseScreenshot>]
|
|
1437
1501
|
#
|
|
1438
1502
|
# @!attribute [rw] base_canary_run_id
|
|
1503
|
+
# The ID of the canary run that produced the screenshots that are used
|
|
1504
|
+
# as the baseline for visual monitoring comparisons during future runs
|
|
1505
|
+
# of this canary.
|
|
1439
1506
|
# @return [String]
|
|
1440
1507
|
#
|
|
1441
1508
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/VisualReferenceOutput AWS API Documentation
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.16.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-08-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|