aws-sdk-synthetics 1.17.0 → 1.21.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 +47 -2
- data/lib/aws-sdk-synthetics/client_api.rb +19 -0
- data/lib/aws-sdk-synthetics/types.rb +138 -3
- data/lib/aws-sdk-synthetics.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bcc6d3b0b566f205ea631c67996615226b1088c43f2891f9ee8b213fbfb7798
|
4
|
+
data.tar.gz: 2ab38e8e3e2e42064b251f15c47f5ed4aded8e5d78e311768e2abd91577ea68d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0676856012df69d26624577c27a4f7f2980f42c8f0d1a0fbd501bc04e42e6bcbc4e09d689cfe5cfa7a299685aace5f4fda09f01e4e9ad115bf446771b50f192c'
|
7
|
+
data.tar.gz: 25ff353d31de7ccce531e3863f9c4b86b0631bf22fbbab687577e503d862b3b808845c8bc7e87c8691724ca89dd4ae57f966dc49ae43c20f8d52a5a14a64beee
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.21.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.20.0 (2021-11-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.19.0 (2021-10-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.18.0 (2021-10-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* 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.
|
23
|
+
|
4
24
|
1.17.0 (2021-09-01)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.21.0
|
@@ -119,7 +119,9 @@ module Aws::Synthetics
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -275,6 +277,15 @@ module Aws::Synthetics
|
|
275
277
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
278
|
# requests are made, and retries are disabled.
|
277
279
|
#
|
280
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
281
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
|
+
# will be used if available.
|
283
|
+
#
|
284
|
+
# @option options [Boolean] :use_fips_endpoint
|
285
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
286
|
+
# When a `fips` region is used, the region is normalized and this config
|
287
|
+
# is set to `true`.
|
288
|
+
#
|
278
289
|
# @option options [Boolean] :validate_params (true)
|
279
290
|
# When `true`, request parameters are validated before
|
280
291
|
# sending the request.
|
@@ -441,6 +452,11 @@ module Aws::Synthetics
|
|
441
452
|
# use them to scope user permissions, by granting a user permission to
|
442
453
|
# access or change only the resources that have certain tag values.
|
443
454
|
#
|
455
|
+
# @option params [Types::ArtifactConfigInput] :artifact_config
|
456
|
+
# A structure that contains the configuration for canary artifacts,
|
457
|
+
# including the encryption-at-rest settings for artifacts that the
|
458
|
+
# canary uploads to Amazon S3.
|
459
|
+
#
|
444
460
|
# @return [Types::CreateCanaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
445
461
|
#
|
446
462
|
# * {Types::CreateCanaryResponse#canary #canary} => Types::Canary
|
@@ -480,6 +496,12 @@ module Aws::Synthetics
|
|
480
496
|
# tags: {
|
481
497
|
# "TagKey" => "TagValue",
|
482
498
|
# },
|
499
|
+
# artifact_config: {
|
500
|
+
# s3_encryption: {
|
501
|
+
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
502
|
+
# kms_key_arn: "KmsKeyArn",
|
503
|
+
# },
|
504
|
+
# },
|
483
505
|
# })
|
484
506
|
#
|
485
507
|
# @example Response structure
|
@@ -518,6 +540,8 @@ module Aws::Synthetics
|
|
518
540
|
# resp.canary.visual_reference.base_canary_run_id #=> String
|
519
541
|
# resp.canary.tags #=> Hash
|
520
542
|
# resp.canary.tags["TagKey"] #=> String
|
543
|
+
# resp.canary.artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
544
|
+
# resp.canary.artifact_config.s3_encryption.kms_key_arn #=> String
|
521
545
|
#
|
522
546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CreateCanary AWS API Documentation
|
523
547
|
#
|
@@ -649,6 +673,8 @@ module Aws::Synthetics
|
|
649
673
|
# resp.canaries[0].visual_reference.base_canary_run_id #=> String
|
650
674
|
# resp.canaries[0].tags #=> Hash
|
651
675
|
# resp.canaries[0].tags["TagKey"] #=> String
|
676
|
+
# resp.canaries[0].artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
677
|
+
# resp.canaries[0].artifact_config.s3_encryption.kms_key_arn #=> String
|
652
678
|
# resp.next_token #=> String
|
653
679
|
#
|
654
680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanaries AWS API Documentation
|
@@ -816,6 +842,8 @@ module Aws::Synthetics
|
|
816
842
|
# resp.canary.visual_reference.base_canary_run_id #=> String
|
817
843
|
# resp.canary.tags #=> Hash
|
818
844
|
# resp.canary.tags["TagKey"] #=> String
|
845
|
+
# resp.canary.artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
846
|
+
# resp.canary.artifact_config.s3_encryption.kms_key_arn #=> String
|
819
847
|
#
|
820
848
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/GetCanary AWS API Documentation
|
821
849
|
#
|
@@ -1146,6 +1174,16 @@ module Aws::Synthetics
|
|
1146
1174
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_SyntheticsLogger_VisualTesting.html
|
1147
1175
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Blueprints_VisualTesting.html
|
1148
1176
|
#
|
1177
|
+
# @option params [String] :artifact_s3_location
|
1178
|
+
# The location in Amazon S3 where Synthetics stores artifacts from the
|
1179
|
+
# test runs of this canary. Artifacts include the log file, screenshots,
|
1180
|
+
# and HAR files. The name of the S3 bucket can't include a period (.).
|
1181
|
+
#
|
1182
|
+
# @option params [Types::ArtifactConfigInput] :artifact_config
|
1183
|
+
# A structure that contains the configuration for canary artifacts,
|
1184
|
+
# including the encryption-at-rest settings for artifacts that the
|
1185
|
+
# canary uploads to Amazon S3.
|
1186
|
+
#
|
1149
1187
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1150
1188
|
#
|
1151
1189
|
# @example Request syntax with placeholder values
|
@@ -1188,6 +1226,13 @@ module Aws::Synthetics
|
|
1188
1226
|
# ],
|
1189
1227
|
# base_canary_run_id: "String", # required
|
1190
1228
|
# },
|
1229
|
+
# artifact_s3_location: "String",
|
1230
|
+
# artifact_config: {
|
1231
|
+
# s3_encryption: {
|
1232
|
+
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
1233
|
+
# kms_key_arn: "KmsKeyArn",
|
1234
|
+
# },
|
1235
|
+
# },
|
1191
1236
|
# })
|
1192
1237
|
#
|
1193
1238
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanary AWS API Documentation
|
@@ -1212,7 +1257,7 @@ module Aws::Synthetics
|
|
1212
1257
|
params: params,
|
1213
1258
|
config: config)
|
1214
1259
|
context[:gem_name] = 'aws-sdk-synthetics'
|
1215
|
-
context[:gem_version] = '1.
|
1260
|
+
context[:gem_version] = '1.21.0'
|
1216
1261
|
Seahorse::Client::Request.new(handlers, context)
|
1217
1262
|
end
|
1218
1263
|
|
@@ -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,58 @@
|
|
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
|
+
|
13
65
|
# A structure representing a screenshot that is used as a baseline
|
14
66
|
# during visual monitoring comparisons made by the canary.
|
15
67
|
#
|
@@ -139,6 +191,12 @@ module Aws::Synthetics
|
|
139
191
|
# The list of key-value pairs that are associated with the canary.
|
140
192
|
# @return [Hash<String,String>]
|
141
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
|
+
#
|
142
200
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/Canary AWS API Documentation
|
143
201
|
#
|
144
202
|
class Canary < Struct.new(
|
@@ -157,7 +215,8 @@ module Aws::Synthetics
|
|
157
215
|
:runtime_version,
|
158
216
|
:vpc_config,
|
159
217
|
:visual_reference,
|
160
|
-
:tags
|
218
|
+
:tags,
|
219
|
+
:artifact_config)
|
161
220
|
SENSITIVE = []
|
162
221
|
include Aws::Structure
|
163
222
|
end
|
@@ -642,6 +701,12 @@ module Aws::Synthetics
|
|
642
701
|
# tags: {
|
643
702
|
# "TagKey" => "TagValue",
|
644
703
|
# },
|
704
|
+
# artifact_config: {
|
705
|
+
# s3_encryption: {
|
706
|
+
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
707
|
+
# kms_key_arn: "KmsKeyArn",
|
708
|
+
# },
|
709
|
+
# },
|
645
710
|
# }
|
646
711
|
#
|
647
712
|
# @!attribute [rw] name
|
@@ -745,6 +810,12 @@ module Aws::Synthetics
|
|
745
810
|
# tag values.
|
746
811
|
# @return [Hash<String,String>]
|
747
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
|
+
#
|
748
819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CreateCanaryRequest AWS API Documentation
|
749
820
|
#
|
750
821
|
class CreateCanaryRequest < Struct.new(
|
@@ -758,7 +829,8 @@ module Aws::Synthetics
|
|
758
829
|
:failure_retention_period_in_days,
|
759
830
|
:runtime_version,
|
760
831
|
:vpc_config,
|
761
|
-
:tags
|
832
|
+
:tags,
|
833
|
+
:artifact_config)
|
762
834
|
SENSITIVE = []
|
763
835
|
include Aws::Structure
|
764
836
|
end
|
@@ -1138,6 +1210,47 @@ module Aws::Synthetics
|
|
1138
1210
|
include Aws::Structure
|
1139
1211
|
end
|
1140
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
|
+
|
1141
1254
|
# @note When making an API call, you may pass StartCanaryRequest
|
1142
1255
|
# data as a hash:
|
1143
1256
|
#
|
@@ -1301,6 +1414,13 @@ module Aws::Synthetics
|
|
1301
1414
|
# ],
|
1302
1415
|
# base_canary_run_id: "String", # required
|
1303
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
|
+
# },
|
1304
1424
|
# }
|
1305
1425
|
#
|
1306
1426
|
# @!attribute [rw] name
|
@@ -1397,6 +1517,19 @@ module Aws::Synthetics
|
|
1397
1517
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Blueprints_VisualTesting.html
|
1398
1518
|
# @return [Types::VisualReferenceInput]
|
1399
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
|
+
#
|
1400
1533
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanaryRequest AWS API Documentation
|
1401
1534
|
#
|
1402
1535
|
class UpdateCanaryRequest < Struct.new(
|
@@ -1409,7 +1542,9 @@ module Aws::Synthetics
|
|
1409
1542
|
:success_retention_period_in_days,
|
1410
1543
|
:failure_retention_period_in_days,
|
1411
1544
|
:vpc_config,
|
1412
|
-
:visual_reference
|
1545
|
+
:visual_reference,
|
1546
|
+
:artifact_s3_location,
|
1547
|
+
:artifact_config)
|
1413
1548
|
SENSITIVE = []
|
1414
1549
|
include Aws::Structure
|
1415
1550
|
end
|
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.21.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-11-30 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.122.0
|
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.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|