aws-sdk-synthetics 1.15.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-synthetics/client.rb +48 -1
- data/lib/aws-sdk-synthetics/client_api.rb +19 -0
- data/lib/aws-sdk-synthetics/types.rb +206 -4
- data/lib/aws-sdk-synthetics.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8601c2f8538a39ea3299c8156b0d6764afde0557c75b07bfa0635d82b534f0c
|
4
|
+
data.tar.gz: 75a9494c77514b52393a2a056b7de35b33b1fcad308e132c4c907ea0bc9e8ea6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a985d4fb670f8339e4b24031a28727322547f35108b0078389f8b8cfaf35d2da0e6f85e73fa2a4892aeee0836d1858cab4bd7b60fdb7abfb9fa4bb6fc3a677a5
|
7
|
+
data.tar.gz: b87498ac463d7e58b7d870e821752c37a7cf36730e96690daf40c5a239c367a2fc70ce593d4b2300c85fae6301f4f52aef3fabb3f8b05446d315c7909581c989
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.19.0 (2021-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.18.0 (2021-10-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - CloudWatch Synthetics now enables customers to choose a customer managed AWS KMS key or an Amazon S3-managed key instead of an AWS managed key (default) for the encryption of artifacts that the canary stores in Amazon S3. CloudWatch Synthetics also supports artifact S3 location updation now.
|
13
|
+
|
14
|
+
1.17.0 (2021-09-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.16.0 (2021-08-06)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Documentation updates for Visual Monitoring feature and other doc ticket fixes.
|
23
|
+
|
4
24
|
1.15.0 (2021-07-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -441,6 +441,11 @@ module Aws::Synthetics
|
|
441
441
|
# use them to scope user permissions, by granting a user permission to
|
442
442
|
# access or change only the resources that have certain tag values.
|
443
443
|
#
|
444
|
+
# @option params [Types::ArtifactConfigInput] :artifact_config
|
445
|
+
# A structure that contains the configuration for canary artifacts,
|
446
|
+
# including the encryption-at-rest settings for artifacts that the
|
447
|
+
# canary uploads to Amazon S3.
|
448
|
+
#
|
444
449
|
# @return [Types::CreateCanaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
445
450
|
#
|
446
451
|
# * {Types::CreateCanaryResponse#canary #canary} => Types::Canary
|
@@ -480,6 +485,12 @@ module Aws::Synthetics
|
|
480
485
|
# tags: {
|
481
486
|
# "TagKey" => "TagValue",
|
482
487
|
# },
|
488
|
+
# artifact_config: {
|
489
|
+
# s3_encryption: {
|
490
|
+
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
491
|
+
# kms_key_arn: "KmsKeyArn",
|
492
|
+
# },
|
493
|
+
# },
|
483
494
|
# })
|
484
495
|
#
|
485
496
|
# @example Response structure
|
@@ -518,6 +529,8 @@ module Aws::Synthetics
|
|
518
529
|
# resp.canary.visual_reference.base_canary_run_id #=> String
|
519
530
|
# resp.canary.tags #=> Hash
|
520
531
|
# resp.canary.tags["TagKey"] #=> String
|
532
|
+
# resp.canary.artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
533
|
+
# resp.canary.artifact_config.s3_encryption.kms_key_arn #=> String
|
521
534
|
#
|
522
535
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CreateCanary AWS API Documentation
|
523
536
|
#
|
@@ -649,6 +662,8 @@ module Aws::Synthetics
|
|
649
662
|
# resp.canaries[0].visual_reference.base_canary_run_id #=> String
|
650
663
|
# resp.canaries[0].tags #=> Hash
|
651
664
|
# resp.canaries[0].tags["TagKey"] #=> String
|
665
|
+
# resp.canaries[0].artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
666
|
+
# resp.canaries[0].artifact_config.s3_encryption.kms_key_arn #=> String
|
652
667
|
# resp.next_token #=> String
|
653
668
|
#
|
654
669
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanaries AWS API Documentation
|
@@ -816,6 +831,8 @@ module Aws::Synthetics
|
|
816
831
|
# resp.canary.visual_reference.base_canary_run_id #=> String
|
817
832
|
# resp.canary.tags #=> Hash
|
818
833
|
# resp.canary.tags["TagKey"] #=> String
|
834
|
+
# resp.canary.artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
835
|
+
# resp.canary.artifact_config.s3_encryption.kms_key_arn #=> String
|
819
836
|
#
|
820
837
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/GetCanary AWS API Documentation
|
821
838
|
#
|
@@ -1132,6 +1149,29 @@ module Aws::Synthetics
|
|
1132
1149
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html
|
1133
1150
|
#
|
1134
1151
|
# @option params [Types::VisualReferenceInput] :visual_reference
|
1152
|
+
# Defines the screenshots to use as the baseline for comparisons during
|
1153
|
+
# visual monitoring comparisons during future runs of this canary. If
|
1154
|
+
# you omit this parameter, no changes are made to any baseline
|
1155
|
+
# screenshots that the canary might be using already.
|
1156
|
+
#
|
1157
|
+
# Visual monitoring is supported only on canaries running the
|
1158
|
+
# **syn-puppeteer-node-3.2** runtime or later. For more information, see
|
1159
|
+
# [ Visual monitoring][1] and [ Visual monitoring blueprint][2]
|
1160
|
+
#
|
1161
|
+
#
|
1162
|
+
#
|
1163
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_SyntheticsLogger_VisualTesting.html
|
1164
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Blueprints_VisualTesting.html
|
1165
|
+
#
|
1166
|
+
# @option params [String] :artifact_s3_location
|
1167
|
+
# The location in Amazon S3 where Synthetics stores artifacts from the
|
1168
|
+
# test runs of this canary. Artifacts include the log file, screenshots,
|
1169
|
+
# and HAR files. The name of the S3 bucket can't include a period (.).
|
1170
|
+
#
|
1171
|
+
# @option params [Types::ArtifactConfigInput] :artifact_config
|
1172
|
+
# A structure that contains the configuration for canary artifacts,
|
1173
|
+
# including the encryption-at-rest settings for artifacts that the
|
1174
|
+
# canary uploads to Amazon S3.
|
1135
1175
|
#
|
1136
1176
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1137
1177
|
#
|
@@ -1175,6 +1215,13 @@ module Aws::Synthetics
|
|
1175
1215
|
# ],
|
1176
1216
|
# base_canary_run_id: "String", # required
|
1177
1217
|
# },
|
1218
|
+
# artifact_s3_location: "String",
|
1219
|
+
# artifact_config: {
|
1220
|
+
# s3_encryption: {
|
1221
|
+
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
1222
|
+
# kms_key_arn: "KmsKeyArn",
|
1223
|
+
# },
|
1224
|
+
# },
|
1178
1225
|
# })
|
1179
1226
|
#
|
1180
1227
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanary AWS API Documentation
|
@@ -1199,7 +1246,7 @@ module Aws::Synthetics
|
|
1199
1246
|
params: params,
|
1200
1247
|
config: config)
|
1201
1248
|
context[:gem_name] = 'aws-sdk-synthetics'
|
1202
|
-
context[:gem_version] = '1.
|
1249
|
+
context[:gem_version] = '1.19.0'
|
1203
1250
|
Seahorse::Client::Request.new(handlers, context)
|
1204
1251
|
end
|
1205
1252
|
|
@@ -13,6 +13,8 @@ module Aws::Synthetics
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
ArtifactConfigInput = Shapes::StructureShape.new(name: 'ArtifactConfigInput')
|
17
|
+
ArtifactConfigOutput = Shapes::StructureShape.new(name: 'ArtifactConfigOutput')
|
16
18
|
BaseScreenshot = Shapes::StructureShape.new(name: 'BaseScreenshot')
|
17
19
|
BaseScreenshotConfigIgnoreCoordinate = Shapes::StringShape.new(name: 'BaseScreenshotConfigIgnoreCoordinate')
|
18
20
|
BaseScreenshotIgnoreCoordinates = Shapes::ListShape.new(name: 'BaseScreenshotIgnoreCoordinates')
|
@@ -51,6 +53,7 @@ module Aws::Synthetics
|
|
51
53
|
DescribeCanariesResponse = Shapes::StructureShape.new(name: 'DescribeCanariesResponse')
|
52
54
|
DescribeRuntimeVersionsRequest = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsRequest')
|
53
55
|
DescribeRuntimeVersionsResponse = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsResponse')
|
56
|
+
EncryptionMode = Shapes::StringShape.new(name: 'EncryptionMode')
|
54
57
|
EnvironmentVariableName = Shapes::StringShape.new(name: 'EnvironmentVariableName')
|
55
58
|
EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
|
56
59
|
EnvironmentVariablesMap = Shapes::MapShape.new(name: 'EnvironmentVariablesMap')
|
@@ -61,6 +64,7 @@ module Aws::Synthetics
|
|
61
64
|
GetCanaryRunsRequest = Shapes::StructureShape.new(name: 'GetCanaryRunsRequest')
|
62
65
|
GetCanaryRunsResponse = Shapes::StructureShape.new(name: 'GetCanaryRunsResponse')
|
63
66
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
67
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
64
68
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
65
69
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
66
70
|
MaxCanaryResults = Shapes::IntegerShape.new(name: 'MaxCanaryResults')
|
@@ -74,6 +78,7 @@ module Aws::Synthetics
|
|
74
78
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
75
79
|
RuntimeVersion = Shapes::StructureShape.new(name: 'RuntimeVersion')
|
76
80
|
RuntimeVersionList = Shapes::ListShape.new(name: 'RuntimeVersionList')
|
81
|
+
S3EncryptionConfig = Shapes::StructureShape.new(name: 'S3EncryptionConfig')
|
77
82
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
78
83
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
79
84
|
StartCanaryRequest = Shapes::StructureShape.new(name: 'StartCanaryRequest')
|
@@ -103,6 +108,12 @@ module Aws::Synthetics
|
|
103
108
|
VpcConfigOutput = Shapes::StructureShape.new(name: 'VpcConfigOutput')
|
104
109
|
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
105
110
|
|
111
|
+
ArtifactConfigInput.add_member(:s3_encryption, Shapes::ShapeRef.new(shape: S3EncryptionConfig, location_name: "S3Encryption"))
|
112
|
+
ArtifactConfigInput.struct_class = Types::ArtifactConfigInput
|
113
|
+
|
114
|
+
ArtifactConfigOutput.add_member(:s3_encryption, Shapes::ShapeRef.new(shape: S3EncryptionConfig, location_name: "S3Encryption"))
|
115
|
+
ArtifactConfigOutput.struct_class = Types::ArtifactConfigOutput
|
116
|
+
|
106
117
|
BaseScreenshot.add_member(:screenshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ScreenshotName"))
|
107
118
|
BaseScreenshot.add_member(:ignore_coordinates, Shapes::ShapeRef.new(shape: BaseScreenshotIgnoreCoordinates, location_name: "IgnoreCoordinates"))
|
108
119
|
BaseScreenshot.struct_class = Types::BaseScreenshot
|
@@ -131,6 +142,7 @@ module Aws::Synthetics
|
|
131
142
|
Canary.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigOutput, location_name: "VpcConfig"))
|
132
143
|
Canary.add_member(:visual_reference, Shapes::ShapeRef.new(shape: VisualReferenceOutput, location_name: "VisualReference"))
|
133
144
|
Canary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
145
|
+
Canary.add_member(:artifact_config, Shapes::ShapeRef.new(shape: ArtifactConfigOutput, location_name: "ArtifactConfig"))
|
134
146
|
Canary.struct_class = Types::Canary
|
135
147
|
|
136
148
|
CanaryCodeInput.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: String, location_name: "S3Bucket"))
|
@@ -210,6 +222,7 @@ module Aws::Synthetics
|
|
210
222
|
CreateCanaryRequest.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RuntimeVersion"))
|
211
223
|
CreateCanaryRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigInput, location_name: "VpcConfig"))
|
212
224
|
CreateCanaryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
225
|
+
CreateCanaryRequest.add_member(:artifact_config, Shapes::ShapeRef.new(shape: ArtifactConfigInput, location_name: "ArtifactConfig"))
|
213
226
|
CreateCanaryRequest.struct_class = Types::CreateCanaryRequest
|
214
227
|
|
215
228
|
CreateCanaryResponse.add_member(:canary, Shapes::ShapeRef.new(shape: Canary, location_name: "Canary"))
|
@@ -282,6 +295,10 @@ module Aws::Synthetics
|
|
282
295
|
|
283
296
|
RuntimeVersionList.member = Shapes::ShapeRef.new(shape: RuntimeVersion)
|
284
297
|
|
298
|
+
S3EncryptionConfig.add_member(:encryption_mode, Shapes::ShapeRef.new(shape: EncryptionMode, location_name: "EncryptionMode"))
|
299
|
+
S3EncryptionConfig.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
300
|
+
S3EncryptionConfig.struct_class = Types::S3EncryptionConfig
|
301
|
+
|
285
302
|
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
|
286
303
|
|
287
304
|
StartCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location: "uri", location_name: "name"))
|
@@ -323,6 +340,8 @@ module Aws::Synthetics
|
|
323
340
|
UpdateCanaryRequest.add_member(:failure_retention_period_in_days, Shapes::ShapeRef.new(shape: MaxSize1024, location_name: "FailureRetentionPeriodInDays"))
|
324
341
|
UpdateCanaryRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigInput, location_name: "VpcConfig"))
|
325
342
|
UpdateCanaryRequest.add_member(:visual_reference, Shapes::ShapeRef.new(shape: VisualReferenceInput, location_name: "VisualReference"))
|
343
|
+
UpdateCanaryRequest.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, location_name: "ArtifactS3Location"))
|
344
|
+
UpdateCanaryRequest.add_member(:artifact_config, Shapes::ShapeRef.new(shape: ArtifactConfigInput, location_name: "ArtifactConfig"))
|
326
345
|
UpdateCanaryRequest.struct_class = Types::UpdateCanaryRequest
|
327
346
|
|
328
347
|
UpdateCanaryResponse.struct_class = Types::UpdateCanaryResponse
|
@@ -10,6 +10,61 @@
|
|
10
10
|
module Aws::Synthetics
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# A structure that contains the configuration for canary artifacts,
|
14
|
+
# including the encryption-at-rest settings for artifacts that the
|
15
|
+
# canary uploads to Amazon S3.
|
16
|
+
#
|
17
|
+
# @note When making an API call, you may pass ArtifactConfigInput
|
18
|
+
# data as a hash:
|
19
|
+
#
|
20
|
+
# {
|
21
|
+
# s3_encryption: {
|
22
|
+
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
23
|
+
# kms_key_arn: "KmsKeyArn",
|
24
|
+
# },
|
25
|
+
# }
|
26
|
+
#
|
27
|
+
# @!attribute [rw] s3_encryption
|
28
|
+
# A structure that contains the configuration of the
|
29
|
+
# encryption-at-rest settings for artifacts that the canary uploads to
|
30
|
+
# Amazon S3. Artifact encryption functionality is available only for
|
31
|
+
# canaries that use Synthetics runtime version
|
32
|
+
# syn-nodejs-puppeteer-3.3 or later. For more information, see
|
33
|
+
# [Encrypting canary artifacts][1]
|
34
|
+
#
|
35
|
+
#
|
36
|
+
#
|
37
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_artifact_encryption.html
|
38
|
+
# @return [Types::S3EncryptionConfig]
|
39
|
+
#
|
40
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/ArtifactConfigInput AWS API Documentation
|
41
|
+
#
|
42
|
+
class ArtifactConfigInput < Struct.new(
|
43
|
+
:s3_encryption)
|
44
|
+
SENSITIVE = []
|
45
|
+
include Aws::Structure
|
46
|
+
end
|
47
|
+
|
48
|
+
# A structure that contains the configuration for canary artifacts,
|
49
|
+
# including the encryption-at-rest settings for artifacts that the
|
50
|
+
# canary uploads to Amazon S3.
|
51
|
+
#
|
52
|
+
# @!attribute [rw] s3_encryption
|
53
|
+
# A structure that contains the configuration of encryption settings
|
54
|
+
# for canary artifacts that are stored in Amazon S3.
|
55
|
+
# @return [Types::S3EncryptionConfig]
|
56
|
+
#
|
57
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/ArtifactConfigOutput AWS API Documentation
|
58
|
+
#
|
59
|
+
class ArtifactConfigOutput < Struct.new(
|
60
|
+
:s3_encryption)
|
61
|
+
SENSITIVE = []
|
62
|
+
include Aws::Structure
|
63
|
+
end
|
64
|
+
|
65
|
+
# A structure representing a screenshot that is used as a baseline
|
66
|
+
# during visual monitoring comparisons made by the canary.
|
67
|
+
#
|
13
68
|
# @note When making an API call, you may pass BaseScreenshot
|
14
69
|
# data as a hash:
|
15
70
|
#
|
@@ -19,9 +74,16 @@ module Aws::Synthetics
|
|
19
74
|
# }
|
20
75
|
#
|
21
76
|
# @!attribute [rw] screenshot_name
|
77
|
+
# The name of the screenshot. This is generated the first time the
|
78
|
+
# canary is run after the `UpdateCanary` operation that specified for
|
79
|
+
# this canary to perform visual monitoring.
|
22
80
|
# @return [String]
|
23
81
|
#
|
24
82
|
# @!attribute [rw] ignore_coordinates
|
83
|
+
# Coordinates that define the part of a screen to ignore during
|
84
|
+
# screenshot comparisons. To obtain the coordinates to use here, use
|
85
|
+
# the CloudWatch Logs console to draw the boundaries on the screen.
|
86
|
+
# For more information, see \\\{LINK\\}
|
25
87
|
# @return [Array<String>]
|
26
88
|
#
|
27
89
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/BaseScreenshot AWS API Documentation
|
@@ -119,12 +181,22 @@ module Aws::Synthetics
|
|
119
181
|
# @return [Types::VpcConfigOutput]
|
120
182
|
#
|
121
183
|
# @!attribute [rw] visual_reference
|
184
|
+
# If this canary performs visual monitoring by comparing screenshots,
|
185
|
+
# this structure contains the ID of the canary run to use as the
|
186
|
+
# baseline for screenshots, and the coordinates of any parts of the
|
187
|
+
# screen to ignore during the visual monitoring comparison.
|
122
188
|
# @return [Types::VisualReferenceOutput]
|
123
189
|
#
|
124
190
|
# @!attribute [rw] tags
|
125
191
|
# The list of key-value pairs that are associated with the canary.
|
126
192
|
# @return [Hash<String,String>]
|
127
193
|
#
|
194
|
+
# @!attribute [rw] artifact_config
|
195
|
+
# A structure that contains the configuration for canary artifacts,
|
196
|
+
# including the encryption-at-rest settings for artifacts that the
|
197
|
+
# canary uploads to Amazon S3.
|
198
|
+
# @return [Types::ArtifactConfigOutput]
|
199
|
+
#
|
128
200
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/Canary AWS API Documentation
|
129
201
|
#
|
130
202
|
class Canary < Struct.new(
|
@@ -143,7 +215,8 @@ module Aws::Synthetics
|
|
143
215
|
:runtime_version,
|
144
216
|
:vpc_config,
|
145
217
|
:visual_reference,
|
146
|
-
:tags
|
218
|
+
:tags,
|
219
|
+
:artifact_config)
|
147
220
|
SENSITIVE = []
|
148
221
|
include Aws::Structure
|
149
222
|
end
|
@@ -188,7 +261,7 @@ module Aws::Synthetics
|
|
188
261
|
# If you input your canary script directly into the canary instead of
|
189
262
|
# referring to an S3 location, the value of this parameter is the
|
190
263
|
# base64-encoded contents of the .zip file that contains the script.
|
191
|
-
# It
|
264
|
+
# It must be smaller than 256 Kb.
|
192
265
|
# @return [String]
|
193
266
|
#
|
194
267
|
# @!attribute [rw] handler
|
@@ -628,6 +701,12 @@ module Aws::Synthetics
|
|
628
701
|
# tags: {
|
629
702
|
# "TagKey" => "TagValue",
|
630
703
|
# },
|
704
|
+
# artifact_config: {
|
705
|
+
# s3_encryption: {
|
706
|
+
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
707
|
+
# kms_key_arn: "KmsKeyArn",
|
708
|
+
# },
|
709
|
+
# },
|
631
710
|
# }
|
632
711
|
#
|
633
712
|
# @!attribute [rw] name
|
@@ -731,6 +810,12 @@ module Aws::Synthetics
|
|
731
810
|
# tag values.
|
732
811
|
# @return [Hash<String,String>]
|
733
812
|
#
|
813
|
+
# @!attribute [rw] artifact_config
|
814
|
+
# A structure that contains the configuration for canary artifacts,
|
815
|
+
# including the encryption-at-rest settings for artifacts that the
|
816
|
+
# canary uploads to Amazon S3.
|
817
|
+
# @return [Types::ArtifactConfigInput]
|
818
|
+
#
|
734
819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CreateCanaryRequest AWS API Documentation
|
735
820
|
#
|
736
821
|
class CreateCanaryRequest < Struct.new(
|
@@ -744,7 +829,8 @@ module Aws::Synthetics
|
|
744
829
|
:failure_retention_period_in_days,
|
745
830
|
:runtime_version,
|
746
831
|
:vpc_config,
|
747
|
-
:tags
|
832
|
+
:tags,
|
833
|
+
:artifact_config)
|
748
834
|
SENSITIVE = []
|
749
835
|
include Aws::Structure
|
750
836
|
end
|
@@ -1124,6 +1210,47 @@ module Aws::Synthetics
|
|
1124
1210
|
include Aws::Structure
|
1125
1211
|
end
|
1126
1212
|
|
1213
|
+
# A structure that contains the configuration of encryption-at-rest
|
1214
|
+
# settings for canary artifacts that the canary uploads to Amazon S3.
|
1215
|
+
#
|
1216
|
+
# For more information, see [Encrypting canary artifacts][1]
|
1217
|
+
#
|
1218
|
+
#
|
1219
|
+
#
|
1220
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_artifact_encryption.html
|
1221
|
+
#
|
1222
|
+
# @note When making an API call, you may pass S3EncryptionConfig
|
1223
|
+
# data as a hash:
|
1224
|
+
#
|
1225
|
+
# {
|
1226
|
+
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
1227
|
+
# kms_key_arn: "KmsKeyArn",
|
1228
|
+
# }
|
1229
|
+
#
|
1230
|
+
# @!attribute [rw] encryption_mode
|
1231
|
+
# The encryption method to use for artifacts created by this canary.
|
1232
|
+
# Specify `SSE_S3` to use server-side encryption (SSE) with an Amazon
|
1233
|
+
# S3-managed key. Specify `SSE-KMS` to use server-side encryption with
|
1234
|
+
# a customer-managed KMS key.
|
1235
|
+
#
|
1236
|
+
# If you omit this parameter, an Amazon Web Services-managed KMS key
|
1237
|
+
# is used.
|
1238
|
+
# @return [String]
|
1239
|
+
#
|
1240
|
+
# @!attribute [rw] kms_key_arn
|
1241
|
+
# The ARN of the customer-managed KMS key to use, if you specify
|
1242
|
+
# `SSE-KMS` for `EncryptionMode`
|
1243
|
+
# @return [String]
|
1244
|
+
#
|
1245
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/S3EncryptionConfig AWS API Documentation
|
1246
|
+
#
|
1247
|
+
class S3EncryptionConfig < Struct.new(
|
1248
|
+
:encryption_mode,
|
1249
|
+
:kms_key_arn)
|
1250
|
+
SENSITIVE = []
|
1251
|
+
include Aws::Structure
|
1252
|
+
end
|
1253
|
+
|
1127
1254
|
# @note When making an API call, you may pass StartCanaryRequest
|
1128
1255
|
# data as a hash:
|
1129
1256
|
#
|
@@ -1287,6 +1414,13 @@ module Aws::Synthetics
|
|
1287
1414
|
# ],
|
1288
1415
|
# base_canary_run_id: "String", # required
|
1289
1416
|
# },
|
1417
|
+
# artifact_s3_location: "String",
|
1418
|
+
# artifact_config: {
|
1419
|
+
# s3_encryption: {
|
1420
|
+
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
1421
|
+
# kms_key_arn: "KmsKeyArn",
|
1422
|
+
# },
|
1423
|
+
# },
|
1290
1424
|
# }
|
1291
1425
|
#
|
1292
1426
|
# @!attribute [rw] name
|
@@ -1368,8 +1502,34 @@ module Aws::Synthetics
|
|
1368
1502
|
# @return [Types::VpcConfigInput]
|
1369
1503
|
#
|
1370
1504
|
# @!attribute [rw] visual_reference
|
1505
|
+
# Defines the screenshots to use as the baseline for comparisons
|
1506
|
+
# during visual monitoring comparisons during future runs of this
|
1507
|
+
# canary. If you omit this parameter, no changes are made to any
|
1508
|
+
# baseline screenshots that the canary might be using already.
|
1509
|
+
#
|
1510
|
+
# Visual monitoring is supported only on canaries running the
|
1511
|
+
# **syn-puppeteer-node-3.2** runtime or later. For more information,
|
1512
|
+
# see [ Visual monitoring][1] and [ Visual monitoring blueprint][2]
|
1513
|
+
#
|
1514
|
+
#
|
1515
|
+
#
|
1516
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_SyntheticsLogger_VisualTesting.html
|
1517
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Blueprints_VisualTesting.html
|
1371
1518
|
# @return [Types::VisualReferenceInput]
|
1372
1519
|
#
|
1520
|
+
# @!attribute [rw] artifact_s3_location
|
1521
|
+
# The location in Amazon S3 where Synthetics stores artifacts from the
|
1522
|
+
# test runs of this canary. Artifacts include the log file,
|
1523
|
+
# screenshots, and HAR files. The name of the S3 bucket can't include
|
1524
|
+
# a period (.).
|
1525
|
+
# @return [String]
|
1526
|
+
#
|
1527
|
+
# @!attribute [rw] artifact_config
|
1528
|
+
# A structure that contains the configuration for canary artifacts,
|
1529
|
+
# including the encryption-at-rest settings for artifacts that the
|
1530
|
+
# canary uploads to Amazon S3.
|
1531
|
+
# @return [Types::ArtifactConfigInput]
|
1532
|
+
#
|
1373
1533
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanaryRequest AWS API Documentation
|
1374
1534
|
#
|
1375
1535
|
class UpdateCanaryRequest < Struct.new(
|
@@ -1382,7 +1542,9 @@ module Aws::Synthetics
|
|
1382
1542
|
:success_retention_period_in_days,
|
1383
1543
|
:failure_retention_period_in_days,
|
1384
1544
|
:vpc_config,
|
1385
|
-
:visual_reference
|
1545
|
+
:visual_reference,
|
1546
|
+
:artifact_s3_location,
|
1547
|
+
:artifact_config)
|
1386
1548
|
SENSITIVE = []
|
1387
1549
|
include Aws::Structure
|
1388
1550
|
end
|
@@ -1404,6 +1566,19 @@ module Aws::Synthetics
|
|
1404
1566
|
include Aws::Structure
|
1405
1567
|
end
|
1406
1568
|
|
1569
|
+
# An object that specifies what screenshots to use as a baseline for
|
1570
|
+
# visual monitoring by this canary, and optionally the parts of the
|
1571
|
+
# screenshots to ignore during the visual monitoring comparison.
|
1572
|
+
#
|
1573
|
+
# Visual monitoring is supported only on canaries running the
|
1574
|
+
# **syn-puppeteer-node-3.2** runtime or later. For more information, see
|
1575
|
+
# [ Visual monitoring][1] and [ Visual monitoring blueprint][2]
|
1576
|
+
#
|
1577
|
+
#
|
1578
|
+
#
|
1579
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_SyntheticsLogger_VisualTesting.html
|
1580
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Blueprints_VisualTesting.html
|
1581
|
+
#
|
1407
1582
|
# @note When making an API call, you may pass VisualReferenceInput
|
1408
1583
|
# data as a hash:
|
1409
1584
|
#
|
@@ -1418,9 +1593,23 @@ module Aws::Synthetics
|
|
1418
1593
|
# }
|
1419
1594
|
#
|
1420
1595
|
# @!attribute [rw] base_screenshots
|
1596
|
+
# An array of screenshots that will be used as the baseline for visual
|
1597
|
+
# monitoring in future runs of this canary. If there is a screenshot
|
1598
|
+
# that you don't want to be used for visual monitoring, remove it
|
1599
|
+
# from this array.
|
1421
1600
|
# @return [Array<Types::BaseScreenshot>]
|
1422
1601
|
#
|
1423
1602
|
# @!attribute [rw] base_canary_run_id
|
1603
|
+
# Specifies which canary run to use the screenshots from as the
|
1604
|
+
# baseline for future visual monitoring with this canary. Valid values
|
1605
|
+
# are `nextrun` to use the screenshots from the next run after this
|
1606
|
+
# update is made, `lastrun` to use the screenshots from the most
|
1607
|
+
# recent run before this update was made, or the value of `Id` in the
|
1608
|
+
# [ CanaryRun][1] from any past run of this canary.
|
1609
|
+
#
|
1610
|
+
#
|
1611
|
+
#
|
1612
|
+
# [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_CanaryRun.html
|
1424
1613
|
# @return [String]
|
1425
1614
|
#
|
1426
1615
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/VisualReferenceInput AWS API Documentation
|
@@ -1432,10 +1621,23 @@ module Aws::Synthetics
|
|
1432
1621
|
include Aws::Structure
|
1433
1622
|
end
|
1434
1623
|
|
1624
|
+
# If this canary performs visual monitoring by comparing screenshots,
|
1625
|
+
# this structure contains the ID of the canary run that is used as the
|
1626
|
+
# baseline for screenshots, and the coordinates of any parts of those
|
1627
|
+
# screenshots that are ignored during visual monitoring comparison.
|
1628
|
+
#
|
1629
|
+
# Visual monitoring is supported only on canaries running the
|
1630
|
+
# **syn-puppeteer-node-3.2** runtime or later.
|
1631
|
+
#
|
1435
1632
|
# @!attribute [rw] base_screenshots
|
1633
|
+
# An array of screenshots that are used as the baseline for
|
1634
|
+
# comparisons during visual monitoring.
|
1436
1635
|
# @return [Array<Types::BaseScreenshot>]
|
1437
1636
|
#
|
1438
1637
|
# @!attribute [rw] base_canary_run_id
|
1638
|
+
# The ID of the canary run that produced the screenshots that are used
|
1639
|
+
# as the baseline for visual monitoring comparisons during future runs
|
1640
|
+
# of this canary.
|
1439
1641
|
# @return [String]
|
1440
1642
|
#
|
1441
1643
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/VisualReferenceOutput AWS API Documentation
|
data/lib/aws-sdk-synthetics.rb
CHANGED
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.19.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-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.121.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.121.2
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
79
|
+
version: '2.3'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|