aws-sdk-synthetics 1.16.0 → 1.20.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-synthetics/client.rb +44 -1
- 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 +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5c53207e4bbbc9880dc5c289950cb6d975a72f34570381dc35003527fbd66f9
|
4
|
+
data.tar.gz: 967aa79f78ddbdcacdffe3fb1d3e6e85b149eaf9d3afafe83b000b0a300a7642
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a620a9ad1082448f9f45c0d33aa6e81dde7fe9ce845eaeb05c506d0cd2be582fecb902461b9bc22d6ea3222e9385cc6d1382680d0a5602e6b461d688c549251
|
7
|
+
data.tar.gz: 16f547f69e8569f443675b9ff32ab43361ab9d4830dd7292d292178f38662fb8980e08ec9573bd9751e6d954d47669c3e15b8f99c6d062d7d678992060c99bb3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.20.0 (2021-11-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.19.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.18.0 (2021-10-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
19
|
+
1.17.0 (2021-09-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.16.0 (2021-08-06)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.20.0
|
@@ -275,6 +275,15 @@ module Aws::Synthetics
|
|
275
275
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
276
|
# requests are made, and retries are disabled.
|
277
277
|
#
|
278
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
279
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
280
|
+
# will be used if available.
|
281
|
+
#
|
282
|
+
# @option options [Boolean] :use_fips_endpoint
|
283
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
284
|
+
# When a `fips` region is used, the region is normalized and this config
|
285
|
+
# is set to `true`.
|
286
|
+
#
|
278
287
|
# @option options [Boolean] :validate_params (true)
|
279
288
|
# When `true`, request parameters are validated before
|
280
289
|
# sending the request.
|
@@ -441,6 +450,11 @@ module Aws::Synthetics
|
|
441
450
|
# use them to scope user permissions, by granting a user permission to
|
442
451
|
# access or change only the resources that have certain tag values.
|
443
452
|
#
|
453
|
+
# @option params [Types::ArtifactConfigInput] :artifact_config
|
454
|
+
# A structure that contains the configuration for canary artifacts,
|
455
|
+
# including the encryption-at-rest settings for artifacts that the
|
456
|
+
# canary uploads to Amazon S3.
|
457
|
+
#
|
444
458
|
# @return [Types::CreateCanaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
445
459
|
#
|
446
460
|
# * {Types::CreateCanaryResponse#canary #canary} => Types::Canary
|
@@ -480,6 +494,12 @@ module Aws::Synthetics
|
|
480
494
|
# tags: {
|
481
495
|
# "TagKey" => "TagValue",
|
482
496
|
# },
|
497
|
+
# artifact_config: {
|
498
|
+
# s3_encryption: {
|
499
|
+
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
500
|
+
# kms_key_arn: "KmsKeyArn",
|
501
|
+
# },
|
502
|
+
# },
|
483
503
|
# })
|
484
504
|
#
|
485
505
|
# @example Response structure
|
@@ -518,6 +538,8 @@ module Aws::Synthetics
|
|
518
538
|
# resp.canary.visual_reference.base_canary_run_id #=> String
|
519
539
|
# resp.canary.tags #=> Hash
|
520
540
|
# resp.canary.tags["TagKey"] #=> String
|
541
|
+
# resp.canary.artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
542
|
+
# resp.canary.artifact_config.s3_encryption.kms_key_arn #=> String
|
521
543
|
#
|
522
544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CreateCanary AWS API Documentation
|
523
545
|
#
|
@@ -649,6 +671,8 @@ module Aws::Synthetics
|
|
649
671
|
# resp.canaries[0].visual_reference.base_canary_run_id #=> String
|
650
672
|
# resp.canaries[0].tags #=> Hash
|
651
673
|
# resp.canaries[0].tags["TagKey"] #=> String
|
674
|
+
# resp.canaries[0].artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
675
|
+
# resp.canaries[0].artifact_config.s3_encryption.kms_key_arn #=> String
|
652
676
|
# resp.next_token #=> String
|
653
677
|
#
|
654
678
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanaries AWS API Documentation
|
@@ -816,6 +840,8 @@ module Aws::Synthetics
|
|
816
840
|
# resp.canary.visual_reference.base_canary_run_id #=> String
|
817
841
|
# resp.canary.tags #=> Hash
|
818
842
|
# resp.canary.tags["TagKey"] #=> String
|
843
|
+
# resp.canary.artifact_config.s3_encryption.encryption_mode #=> String, one of "SSE_S3", "SSE_KMS"
|
844
|
+
# resp.canary.artifact_config.s3_encryption.kms_key_arn #=> String
|
819
845
|
#
|
820
846
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/GetCanary AWS API Documentation
|
821
847
|
#
|
@@ -1146,6 +1172,16 @@ module Aws::Synthetics
|
|
1146
1172
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_SyntheticsLogger_VisualTesting.html
|
1147
1173
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Blueprints_VisualTesting.html
|
1148
1174
|
#
|
1175
|
+
# @option params [String] :artifact_s3_location
|
1176
|
+
# The location in Amazon S3 where Synthetics stores artifacts from the
|
1177
|
+
# test runs of this canary. Artifacts include the log file, screenshots,
|
1178
|
+
# and HAR files. The name of the S3 bucket can't include a period (.).
|
1179
|
+
#
|
1180
|
+
# @option params [Types::ArtifactConfigInput] :artifact_config
|
1181
|
+
# A structure that contains the configuration for canary artifacts,
|
1182
|
+
# including the encryption-at-rest settings for artifacts that the
|
1183
|
+
# canary uploads to Amazon S3.
|
1184
|
+
#
|
1149
1185
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1150
1186
|
#
|
1151
1187
|
# @example Request syntax with placeholder values
|
@@ -1188,6 +1224,13 @@ module Aws::Synthetics
|
|
1188
1224
|
# ],
|
1189
1225
|
# base_canary_run_id: "String", # required
|
1190
1226
|
# },
|
1227
|
+
# artifact_s3_location: "String",
|
1228
|
+
# artifact_config: {
|
1229
|
+
# s3_encryption: {
|
1230
|
+
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
1231
|
+
# kms_key_arn: "KmsKeyArn",
|
1232
|
+
# },
|
1233
|
+
# },
|
1191
1234
|
# })
|
1192
1235
|
#
|
1193
1236
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanary AWS API Documentation
|
@@ -1212,7 +1255,7 @@ module Aws::Synthetics
|
|
1212
1255
|
params: params,
|
1213
1256
|
config: config)
|
1214
1257
|
context[:gem_name] = 'aws-sdk-synthetics'
|
1215
|
-
context[:gem_version] = '1.
|
1258
|
+
context[:gem_version] = '1.20.0'
|
1216
1259
|
Seahorse::Client::Request.new(handlers, context)
|
1217
1260
|
end
|
1218
1261
|
|
@@ -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.20.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-04 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
|
@@ -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
|
- - ">="
|