aws-sdk-synthetics 1.10.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d77ffc9e6b30e991c4bfbc3e443ba8ccba5d84ca5d5398ad0f633ea7a492ccd1
4
- data.tar.gz: 6c519143fc3b952b3888e31d110101b82d96703ca6efe9b2a8e19af8d8289a91
3
+ metadata.gz: 16a3cf45c70183d8debdb6f6780ec8e3c04738f891681c0f10b63af9c2f057b8
4
+ data.tar.gz: 1e23c947e3f5d190235033230aaafde009e2354230da71eab810296fa77c29b4
5
5
  SHA512:
6
- metadata.gz: 91cd051382515976415efec63dc4f7bed1e97e02e31139a16c4cb73c0e39e2799731ed0bf4506a015dd439fd32fe0f811f80e7a7b75017c078df241f597d99fa
7
- data.tar.gz: c582d6a2f28507e2789ed1107af9b65ca0b5c552fbb12e9aa572564054c103c5478343ab135f8f797be6e1ea04673170fc092b4221ef6d939f88e0c31de531ce
6
+ metadata.gz: f7afc6890593033d2e0315a18b2afba827d6cb387d6fee6520d35d95d8bb87f4e6519847886f56f4875f048b87cec48e002bd4cbb6228005171f097f823c5e94
7
+ data.tar.gz: 140c09a86cb9f4c1fc5ae88431e2d3f5d47e64b2ba234fc3bde7e0939b96d403d4a048f9f74e050a706647745d9a585373cfea0e4a3cd1b5827eabf2ff94ea44
data/CHANGELOG.md ADDED
@@ -0,0 +1,83 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.14.0 (2021-07-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.13.0 (2021-07-26)
10
+ ------------------
11
+
12
+ * Feature - CloudWatch Synthetics now supports visual testing in its canaries.
13
+
14
+ 1.12.0 (2021-03-10)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.11.0 (2021-02-02)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.10.0 (2020-11-16)
25
+ ------------------
26
+
27
+ * Feature - AWS Synthetics now supports Environment Variables to assign runtime parameters in the canary scripts.
28
+
29
+ 1.9.0 (2020-09-30)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.8.0 (2020-09-24)
35
+ ------------------
36
+
37
+ * Feature - AWS Synthetics now supports AWS X-Ray Active Tracing feature. RunConfig is now an optional parameter with timeout updated from (60 - 900 seconds) to (3 - 840 seconds).
38
+
39
+ 1.7.0 (2020-09-15)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.6.0 (2020-08-25)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.5.0 (2020-06-23)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.4.1 (2020-06-11)
55
+ ------------------
56
+
57
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
58
+
59
+ 1.4.0 (2020-06-10)
60
+ ------------------
61
+
62
+ * Issue - This version has been yanked. (#2327).
63
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
64
+
65
+ 1.3.0 (2020-05-28)
66
+ ------------------
67
+
68
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
69
+
70
+ 1.2.0 (2020-05-21)
71
+ ------------------
72
+
73
+ * Feature - AWS CloudWatch Synthetics now supports configuration of allocated memory for a canary.
74
+
75
+ 1.1.0 (2020-05-07)
76
+ ------------------
77
+
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.0.0 (2020-04-20)
81
+ ------------------
82
+
83
+ * Feature - Initial release of `aws-sdk-synthetics`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.14.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-synthetics/customizations'
48
48
  # @!group service
49
49
  module Aws::Synthetics
50
50
 
51
- GEM_VERSION = '1.10.0'
51
+ GEM_VERSION = '1.14.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -375,7 +375,7 @@ module Aws::Synthetics
375
375
  # @option params [required, String] :artifact_s3_location
376
376
  # The location in Amazon S3 where Synthetics stores artifacts from the
377
377
  # test runs of this canary. Artifacts include the log file, screenshots,
378
- # and HAR files.
378
+ # and HAR files. The name of the S3 bucket can't include a period (.).
379
379
  #
380
380
  # @option params [required, String] :execution_role_arn
381
381
  # The ARN of the IAM role to be used to run the canary. This role must
@@ -511,6 +511,11 @@ module Aws::Synthetics
511
511
  # resp.canary.vpc_config.subnet_ids[0] #=> String
512
512
  # resp.canary.vpc_config.security_group_ids #=> Array
513
513
  # resp.canary.vpc_config.security_group_ids[0] #=> String
514
+ # resp.canary.visual_reference.base_screenshots #=> Array
515
+ # resp.canary.visual_reference.base_screenshots[0].screenshot_name #=> String
516
+ # resp.canary.visual_reference.base_screenshots[0].ignore_coordinates #=> Array
517
+ # resp.canary.visual_reference.base_screenshots[0].ignore_coordinates[0] #=> String
518
+ # resp.canary.visual_reference.base_canary_run_id #=> String
514
519
  # resp.canary.tags #=> Hash
515
520
  # resp.canary.tags["TagKey"] #=> String
516
521
  #
@@ -637,6 +642,11 @@ module Aws::Synthetics
637
642
  # resp.canaries[0].vpc_config.subnet_ids[0] #=> String
638
643
  # resp.canaries[0].vpc_config.security_group_ids #=> Array
639
644
  # resp.canaries[0].vpc_config.security_group_ids[0] #=> String
645
+ # resp.canaries[0].visual_reference.base_screenshots #=> Array
646
+ # resp.canaries[0].visual_reference.base_screenshots[0].screenshot_name #=> String
647
+ # resp.canaries[0].visual_reference.base_screenshots[0].ignore_coordinates #=> Array
648
+ # resp.canaries[0].visual_reference.base_screenshots[0].ignore_coordinates[0] #=> String
649
+ # resp.canaries[0].visual_reference.base_canary_run_id #=> String
640
650
  # resp.canaries[0].tags #=> Hash
641
651
  # resp.canaries[0].tags["TagKey"] #=> String
642
652
  # resp.next_token #=> String
@@ -799,6 +809,11 @@ module Aws::Synthetics
799
809
  # resp.canary.vpc_config.subnet_ids[0] #=> String
800
810
  # resp.canary.vpc_config.security_group_ids #=> Array
801
811
  # resp.canary.vpc_config.security_group_ids[0] #=> String
812
+ # resp.canary.visual_reference.base_screenshots #=> Array
813
+ # resp.canary.visual_reference.base_screenshots[0].screenshot_name #=> String
814
+ # resp.canary.visual_reference.base_screenshots[0].ignore_coordinates #=> Array
815
+ # resp.canary.visual_reference.base_screenshots[0].ignore_coordinates[0] #=> String
816
+ # resp.canary.visual_reference.base_canary_run_id #=> String
802
817
  # resp.canary.tags #=> Hash
803
818
  # resp.canary.tags["TagKey"] #=> String
804
819
  #
@@ -968,8 +983,8 @@ module Aws::Synthetics
968
983
  # use them to scope user permissions, by granting a user permission to
969
984
  # access or change only resources with certain tag values.
970
985
  #
971
- # Tags don't have any semantic meaning to AWS and are interpreted
972
- # strictly as strings of characters.
986
+ # Tags don't have any semantic meaning to Amazon Web Services and are
987
+ # interpreted strictly as strings of characters.
973
988
  #
974
989
  # You can use the `TagResource` action with a canary that already has
975
990
  # tags. If you specify a new tag key for the alarm, this tag is appended
@@ -1116,6 +1131,8 @@ module Aws::Synthetics
1116
1131
  #
1117
1132
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html
1118
1133
  #
1134
+ # @option params [Types::VisualReferenceInput] :visual_reference
1135
+ #
1119
1136
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1120
1137
  #
1121
1138
  # @example Request syntax with placeholder values
@@ -1149,6 +1166,15 @@ module Aws::Synthetics
1149
1166
  # subnet_ids: ["SubnetId"],
1150
1167
  # security_group_ids: ["SecurityGroupId"],
1151
1168
  # },
1169
+ # visual_reference: {
1170
+ # base_screenshots: [
1171
+ # {
1172
+ # screenshot_name: "String", # required
1173
+ # ignore_coordinates: ["BaseScreenshotConfigIgnoreCoordinate"],
1174
+ # },
1175
+ # ],
1176
+ # base_canary_run_id: "String", # required
1177
+ # },
1152
1178
  # })
1153
1179
  #
1154
1180
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanary AWS API Documentation
@@ -1173,7 +1199,7 @@ module Aws::Synthetics
1173
1199
  params: params,
1174
1200
  config: config)
1175
1201
  context[:gem_name] = 'aws-sdk-synthetics'
1176
- context[:gem_version] = '1.10.0'
1202
+ context[:gem_version] = '1.14.0'
1177
1203
  Seahorse::Client::Request.new(handlers, context)
1178
1204
  end
1179
1205
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -13,6 +13,10 @@ module Aws::Synthetics
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ BaseScreenshot = Shapes::StructureShape.new(name: 'BaseScreenshot')
17
+ BaseScreenshotConfigIgnoreCoordinate = Shapes::StringShape.new(name: 'BaseScreenshotConfigIgnoreCoordinate')
18
+ BaseScreenshotIgnoreCoordinates = Shapes::ListShape.new(name: 'BaseScreenshotIgnoreCoordinates')
19
+ BaseScreenshots = Shapes::ListShape.new(name: 'BaseScreenshots')
16
20
  Blob = Shapes::BlobShape.new(name: 'Blob')
17
21
  Canaries = Shapes::ListShape.new(name: 'Canaries')
18
22
  CanariesLastRun = Shapes::ListShape.new(name: 'CanariesLastRun')
@@ -93,10 +97,20 @@ module Aws::Synthetics
93
97
  UpdateCanaryRequest = Shapes::StructureShape.new(name: 'UpdateCanaryRequest')
94
98
  UpdateCanaryResponse = Shapes::StructureShape.new(name: 'UpdateCanaryResponse')
95
99
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
100
+ VisualReferenceInput = Shapes::StructureShape.new(name: 'VisualReferenceInput')
101
+ VisualReferenceOutput = Shapes::StructureShape.new(name: 'VisualReferenceOutput')
96
102
  VpcConfigInput = Shapes::StructureShape.new(name: 'VpcConfigInput')
97
103
  VpcConfigOutput = Shapes::StructureShape.new(name: 'VpcConfigOutput')
98
104
  VpcId = Shapes::StringShape.new(name: 'VpcId')
99
105
 
106
+ BaseScreenshot.add_member(:screenshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ScreenshotName"))
107
+ BaseScreenshot.add_member(:ignore_coordinates, Shapes::ShapeRef.new(shape: BaseScreenshotIgnoreCoordinates, location_name: "IgnoreCoordinates"))
108
+ BaseScreenshot.struct_class = Types::BaseScreenshot
109
+
110
+ BaseScreenshotIgnoreCoordinates.member = Shapes::ShapeRef.new(shape: BaseScreenshotConfigIgnoreCoordinate)
111
+
112
+ BaseScreenshots.member = Shapes::ShapeRef.new(shape: BaseScreenshot)
113
+
100
114
  Canaries.member = Shapes::ShapeRef.new(shape: Canary)
101
115
 
102
116
  CanariesLastRun.member = Shapes::ShapeRef.new(shape: CanaryLastRun)
@@ -115,6 +129,7 @@ module Aws::Synthetics
115
129
  Canary.add_member(:engine_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "EngineArn"))
116
130
  Canary.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, location_name: "RuntimeVersion"))
117
131
  Canary.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigOutput, location_name: "VpcConfig"))
132
+ Canary.add_member(:visual_reference, Shapes::ShapeRef.new(shape: VisualReferenceOutput, location_name: "VisualReference"))
118
133
  Canary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
119
134
  Canary.struct_class = Types::Canary
120
135
 
@@ -307,6 +322,7 @@ module Aws::Synthetics
307
322
  UpdateCanaryRequest.add_member(:success_retention_period_in_days, Shapes::ShapeRef.new(shape: MaxSize1024, location_name: "SuccessRetentionPeriodInDays"))
308
323
  UpdateCanaryRequest.add_member(:failure_retention_period_in_days, Shapes::ShapeRef.new(shape: MaxSize1024, location_name: "FailureRetentionPeriodInDays"))
309
324
  UpdateCanaryRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigInput, location_name: "VpcConfig"))
325
+ UpdateCanaryRequest.add_member(:visual_reference, Shapes::ShapeRef.new(shape: VisualReferenceInput, location_name: "VisualReference"))
310
326
  UpdateCanaryRequest.struct_class = Types::UpdateCanaryRequest
311
327
 
312
328
  UpdateCanaryResponse.struct_class = Types::UpdateCanaryResponse
@@ -314,6 +330,14 @@ module Aws::Synthetics
314
330
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
315
331
  ValidationException.struct_class = Types::ValidationException
316
332
 
333
+ VisualReferenceInput.add_member(:base_screenshots, Shapes::ShapeRef.new(shape: BaseScreenshots, location_name: "BaseScreenshots"))
334
+ VisualReferenceInput.add_member(:base_canary_run_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BaseCanaryRunId"))
335
+ VisualReferenceInput.struct_class = Types::VisualReferenceInput
336
+
337
+ VisualReferenceOutput.add_member(:base_screenshots, Shapes::ShapeRef.new(shape: BaseScreenshots, location_name: "BaseScreenshots"))
338
+ VisualReferenceOutput.add_member(:base_canary_run_id, Shapes::ShapeRef.new(shape: String, location_name: "BaseCanaryRunId"))
339
+ VisualReferenceOutput.struct_class = Types::VisualReferenceOutput
340
+
317
341
  VpcConfigInput.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
318
342
  VpcConfigInput.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
319
343
  VpcConfigInput.struct_class = Types::VpcConfigInput
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,13 +3,36 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
10
  module Aws::Synthetics
11
11
  module Types
12
12
 
13
+ # @note When making an API call, you may pass BaseScreenshot
14
+ # data as a hash:
15
+ #
16
+ # {
17
+ # screenshot_name: "String", # required
18
+ # ignore_coordinates: ["BaseScreenshotConfigIgnoreCoordinate"],
19
+ # }
20
+ #
21
+ # @!attribute [rw] screenshot_name
22
+ # @return [String]
23
+ #
24
+ # @!attribute [rw] ignore_coordinates
25
+ # @return [Array<String>]
26
+ #
27
+ # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/BaseScreenshot AWS API Documentation
28
+ #
29
+ class BaseScreenshot < Struct.new(
30
+ :screenshot_name,
31
+ :ignore_coordinates)
32
+ SENSITIVE = []
33
+ include Aws::Structure
34
+ end
35
+
13
36
  # This structure contains all information about one canary in your
14
37
  # account.
15
38
  #
@@ -95,6 +118,9 @@ module Aws::Synthetics
95
118
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html
96
119
  # @return [Types::VpcConfigOutput]
97
120
  #
121
+ # @!attribute [rw] visual_reference
122
+ # @return [Types::VisualReferenceOutput]
123
+ #
98
124
  # @!attribute [rw] tags
99
125
  # The list of key-value pairs that are associated with the canary.
100
126
  # @return [Hash<String,String>]
@@ -116,6 +142,7 @@ module Aws::Synthetics
116
142
  :engine_arn,
117
143
  :runtime_version,
118
144
  :vpc_config,
145
+ :visual_reference,
119
146
  :tags)
120
147
  SENSITIVE = []
121
148
  include Aws::Structure
@@ -140,9 +167,8 @@ module Aws::Synthetics
140
167
  # }
141
168
  #
142
169
  # @!attribute [rw] s3_bucket
143
- # If your canary script is located in S3, specify the full bucket name
144
- # here. The bucket must already exist. Specify the full bucket name,
145
- # including `s3://` as the start of the bucket name.
170
+ # If your canary script is located in S3, specify the bucket name
171
+ # here. Do not include `s3://` as the start of the bucket name.
146
172
  # @return [String]
147
173
  #
148
174
  # @!attribute [rw] s3_key
@@ -160,13 +186,15 @@ module Aws::Synthetics
160
186
  #
161
187
  # @!attribute [rw] zip_file
162
188
  # If you input your canary script directly into the canary instead of
163
- # referring to an S3 location, the value of this parameter is the .zip
164
- # file that contains the script. It can be up to 5 MB.
189
+ # referring to an S3 location, the value of this parameter is the
190
+ # base64-encoded contents of the .zip file that contains the script.
191
+ # It can be up to 5 MB.
165
192
  # @return [String]
166
193
  #
167
194
  # @!attribute [rw] handler
168
195
  # The entry point to use for the source code when running the canary.
169
- # This value must end with the string `.handler`.
196
+ # This value must end with the string `.handler`. The string is
197
+ # limited to 29 characters or fewer.
170
198
  # @return [String]
171
199
  #
172
200
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryCodeInput AWS API Documentation
@@ -286,12 +314,12 @@ module Aws::Synthetics
286
314
  # @return [Integer]
287
315
  #
288
316
  # @!attribute [rw] active_tracing
289
- # Specifies whether this canary is to use active AWS X-Ray tracing
290
- # when it runs. Active tracing enables this canary run to be displayed
291
- # in the ServiceLens and X-Ray service maps even if the canary does
292
- # not hit an endpoint that has X-ray tracing enabled. Using X-Ray
293
- # tracing incurs charges. For more information, see [ Canaries and
294
- # X-Ray tracing][1].
317
+ # Specifies whether this canary is to use active X-Ray tracing when it
318
+ # runs. Active tracing enables this canary run to be displayed in the
319
+ # ServiceLens and X-Ray service maps even if the canary does not hit
320
+ # an endpoint that has X-Ray tracing enabled. Using X-Ray tracing
321
+ # incurs charges. For more information, see [ Canaries and X-Ray
322
+ # tracing][1].
295
323
  #
296
324
  # You can enable active tracing only for canaries that use version
297
325
  # `syn-nodejs-2.0` or later for their canary runtime.
@@ -341,7 +369,7 @@ module Aws::Synthetics
341
369
  # @return [Integer]
342
370
  #
343
371
  # @!attribute [rw] active_tracing
344
- # Displays whether this canary run used active AWS X-Ray tracing.
372
+ # Displays whether this canary run used active X-Ray tracing.
345
373
  # @return [Boolean]
346
374
  #
347
375
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunConfigOutput AWS API Documentation
@@ -413,9 +441,11 @@ module Aws::Synthetics
413
441
  # }
414
442
  #
415
443
  # @!attribute [rw] expression
416
- # A rate expression that defines how often the canary is to run. The
417
- # syntax is `rate(number unit)`. *unit* can be `minute`, `minutes`, or
418
- # `hour`.
444
+ # A `rate` expression or a `cron` expression that defines how often
445
+ # the canary is to run.
446
+ #
447
+ # For a rate expression, The syntax is `rate(number unit)`. *unit* can
448
+ # be `minute`, `minutes`, or `hour`.
419
449
  #
420
450
  # For example, `rate(1 minute)` runs the canary once a minute,
421
451
  # `rate(10 minutes)` runs it once every 10 minutes, and `rate(1 hour)`
@@ -424,6 +454,15 @@ module Aws::Synthetics
424
454
  #
425
455
  # Specifying `rate(0 minute)` or `rate(0 hour)` is a special value
426
456
  # that causes the canary to run only once when it is started.
457
+ #
458
+ # Use `cron(expression)` to specify a cron expression. You can't
459
+ # schedule a canary to wait for more than a year before running. For
460
+ # information about the syntax for cron expressions, see [ Scheduling
461
+ # canary runs using cron][1].
462
+ #
463
+ #
464
+ #
465
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_cron.html
427
466
  # @return [String]
428
467
  #
429
468
  # @!attribute [rw] duration_in_seconds
@@ -446,16 +485,27 @@ module Aws::Synthetics
446
485
  # according to the schedule in the `Expression` value.
447
486
  #
448
487
  # @!attribute [rw] expression
449
- # A rate expression that defines how often the canary is to run. The
450
- # syntax is `rate(number unit)`. *unit* can be `minute`, `minutes`, or
451
- # `hour`.
488
+ # A `rate` expression or a `cron` expression that defines how often
489
+ # the canary is to run.
490
+ #
491
+ # For a rate expression, The syntax is `rate(number unit)`. *unit* can
492
+ # be `minute`, `minutes`, or `hour`.
452
493
  #
453
494
  # For example, `rate(1 minute)` runs the canary once a minute,
454
495
  # `rate(10 minutes)` runs it once every 10 minutes, and `rate(1 hour)`
455
- # runs it once every hour.
496
+ # runs it once every hour. You can specify a frequency between `rate(1
497
+ # minute)` and `rate(1 hour)`.
456
498
  #
457
499
  # Specifying `rate(0 minute)` or `rate(0 hour)` is a special value
458
500
  # that causes the canary to run only once when it is started.
501
+ #
502
+ # Use `cron(expression)` to specify a cron expression. For information
503
+ # about the syntax for cron expressions, see [ Scheduling canary runs
504
+ # using cron][1].
505
+ #
506
+ #
507
+ #
508
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_cron.html
459
509
  # @return [String]
460
510
  #
461
511
  # @!attribute [rw] duration_in_seconds
@@ -604,7 +654,8 @@ module Aws::Synthetics
604
654
  # @!attribute [rw] artifact_s3_location
605
655
  # The location in Amazon S3 where Synthetics stores artifacts from the
606
656
  # test runs of this canary. Artifacts include the log file,
607
- # screenshots, and HAR files.
657
+ # screenshots, and HAR files. The name of the S3 bucket can't include
658
+ # a period (.).
608
659
  # @return [String]
609
660
  #
610
661
  # @!attribute [rw] execution_role_arn
@@ -1227,6 +1278,15 @@ module Aws::Synthetics
1227
1278
  # subnet_ids: ["SubnetId"],
1228
1279
  # security_group_ids: ["SecurityGroupId"],
1229
1280
  # },
1281
+ # visual_reference: {
1282
+ # base_screenshots: [
1283
+ # {
1284
+ # screenshot_name: "String", # required
1285
+ # ignore_coordinates: ["BaseScreenshotConfigIgnoreCoordinate"],
1286
+ # },
1287
+ # ],
1288
+ # base_canary_run_id: "String", # required
1289
+ # },
1230
1290
  # }
1231
1291
  #
1232
1292
  # @!attribute [rw] name
@@ -1307,6 +1367,9 @@ module Aws::Synthetics
1307
1367
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html
1308
1368
  # @return [Types::VpcConfigInput]
1309
1369
  #
1370
+ # @!attribute [rw] visual_reference
1371
+ # @return [Types::VisualReferenceInput]
1372
+ #
1310
1373
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanaryRequest AWS API Documentation
1311
1374
  #
1312
1375
  class UpdateCanaryRequest < Struct.new(
@@ -1318,7 +1381,8 @@ module Aws::Synthetics
1318
1381
  :run_config,
1319
1382
  :success_retention_period_in_days,
1320
1383
  :failure_retention_period_in_days,
1321
- :vpc_config)
1384
+ :vpc_config,
1385
+ :visual_reference)
1322
1386
  SENSITIVE = []
1323
1387
  include Aws::Structure
1324
1388
  end
@@ -1340,6 +1404,49 @@ module Aws::Synthetics
1340
1404
  include Aws::Structure
1341
1405
  end
1342
1406
 
1407
+ # @note When making an API call, you may pass VisualReferenceInput
1408
+ # data as a hash:
1409
+ #
1410
+ # {
1411
+ # base_screenshots: [
1412
+ # {
1413
+ # screenshot_name: "String", # required
1414
+ # ignore_coordinates: ["BaseScreenshotConfigIgnoreCoordinate"],
1415
+ # },
1416
+ # ],
1417
+ # base_canary_run_id: "String", # required
1418
+ # }
1419
+ #
1420
+ # @!attribute [rw] base_screenshots
1421
+ # @return [Array<Types::BaseScreenshot>]
1422
+ #
1423
+ # @!attribute [rw] base_canary_run_id
1424
+ # @return [String]
1425
+ #
1426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/VisualReferenceInput AWS API Documentation
1427
+ #
1428
+ class VisualReferenceInput < Struct.new(
1429
+ :base_screenshots,
1430
+ :base_canary_run_id)
1431
+ SENSITIVE = []
1432
+ include Aws::Structure
1433
+ end
1434
+
1435
+ # @!attribute [rw] base_screenshots
1436
+ # @return [Array<Types::BaseScreenshot>]
1437
+ #
1438
+ # @!attribute [rw] base_canary_run_id
1439
+ # @return [String]
1440
+ #
1441
+ # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/VisualReferenceOutput AWS API Documentation
1442
+ #
1443
+ class VisualReferenceOutput < Struct.new(
1444
+ :base_screenshots,
1445
+ :base_canary_run_id)
1446
+ SENSITIVE = []
1447
+ include Aws::Structure
1448
+ end
1449
+
1343
1450
  # If this canary is to test an endpoint in a VPC, this structure
1344
1451
  # contains information about the subnets and security groups of the VPC
1345
1452
  # endpoint. For more information, see [ Running a Canary in a VPC][1].
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.10.0
4
+ version: 1.14.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: 2020-11-16 00:00:00.000000000 Z
11
+ date: 2021-07-28 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.109.0
22
+ version: 3.118.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.109.0
32
+ version: 3.118.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for Synthetics. This gem is part of the AWS SDK
48
48
  for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-synthetics.rb
56
59
  - lib/aws-sdk-synthetics/client.rb
57
60
  - lib/aws-sdk-synthetics/client_api.rb
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
63
66
  licenses:
64
67
  - Apache-2.0
65
68
  metadata:
66
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-synthetics
67
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-synthetics/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-synthetics
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-synthetics/CHANGELOG.md
68
71
  post_install_message:
69
72
  rdoc_options: []
70
73
  require_paths:
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
83
  - !ruby/object:Gem::Version
81
84
  version: '0'
82
85
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
85
87
  signing_key:
86
88
  specification_version: 4
87
89
  summary: AWS SDK for Ruby - Synthetics