aws-sdk-synthetics 1.17.0 → 1.18.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/client.rb +35 -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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6a2d323d4f8e8da87fbb96a21610cc0a1300301c775914314c312551997bd7d
|
4
|
+
data.tar.gz: 918bba5c29030af9c150989cded97852a6fe2e5e4860487607a23ca4eea69219
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e09c8cf6d4e40adff3aa2ee5821ad0ad93442f4b62180cc9de5ae36b970cfbb898a495251b450f274b231bfa847fc109a6e6cc42e91ac213b9b0f1cacf688caa
|
7
|
+
data.tar.gz: 024665774f9b40a8f060c8fbf681d625c36b1b1a14a1b84613ff92bfcce6293c97cf6316a6678fabf9ead00ff9844f304a5c90208cc12c989e2935aceb4081d4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.0 (2021-10-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.17.0 (2021-09-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.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
|
#
|
@@ -1146,6 +1163,16 @@ module Aws::Synthetics
|
|
1146
1163
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_SyntheticsLogger_VisualTesting.html
|
1147
1164
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Blueprints_VisualTesting.html
|
1148
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.
|
1175
|
+
#
|
1149
1176
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1150
1177
|
#
|
1151
1178
|
# @example Request syntax with placeholder values
|
@@ -1188,6 +1215,13 @@ module Aws::Synthetics
|
|
1188
1215
|
# ],
|
1189
1216
|
# base_canary_run_id: "String", # required
|
1190
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
|
+
# },
|
1191
1225
|
# })
|
1192
1226
|
#
|
1193
1227
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanary AWS API Documentation
|
@@ -1212,7 +1246,7 @@ module Aws::Synthetics
|
|
1212
1246
|
params: params,
|
1213
1247
|
config: config)
|
1214
1248
|
context[:gem_name] = 'aws-sdk-synthetics'
|
1215
|
-
context[:gem_version] = '1.
|
1249
|
+
context[:gem_version] = '1.18.0'
|
1216
1250
|
Seahorse::Client::Request.new(handlers, context)
|
1217
1251
|
end
|
1218
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,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.18.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-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|