aws-sdk-synthetics 1.7.0 → 1.12.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: e4c0cef6802af743b5bbba4db8fdeaef74d1cb521dd2215e73d3ec66f444d656
4
- data.tar.gz: 4f917d087a517a4c1444f558cfcfe01505768b3ffe9b96932d45725650dea1a4
3
+ metadata.gz: 6a1283a3daadbe3a3958037062410f9a5a98b1b5cb653b65001e9ffb0fc82b48
4
+ data.tar.gz: 652ac07c0a9f08c2434509878bfadcb5653f761a334f15e9652eba7454052e64
5
5
  SHA512:
6
- metadata.gz: 29eab3c397313c421c8ffeca41dfa78c24fc0bb6331ce87a11aafc6afa4d4e9bd78c34ff43f31b1ebe95d6907d33d8efd783a34c4df78591993249ddf14fa6c2
7
- data.tar.gz: 38c72e1ef1b012d0408edc76113a3086884fd3d3ca248be59c0418fd02ca29dc0a1c09ca27e55ca0266b1f19585811737d347e7182bb41a7148b671ce8cfdf0a
6
+ metadata.gz: 21e91a8c3c5343fe05a3a0184f63f33472f435eba5186387f3286c492e0d573faab33233ad5646ab318bab395debe36bf0dcdc84b63cf6727d0868b359ccf053
7
+ data.tar.gz: 65718bd9b946c49f59c46d8c19d6e7ea99629689801403c956ab7108ceaaa2518156819918bdfd18a99fce727ce0a2dc0667b70492a5137a0b7b51b59f935cec
data/CHANGELOG.md ADDED
@@ -0,0 +1,73 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.12.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.11.0 (2021-02-02)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.10.0 (2020-11-16)
15
+ ------------------
16
+
17
+ * Feature - AWS Synthetics now supports Environment Variables to assign runtime parameters in the canary scripts.
18
+
19
+ 1.9.0 (2020-09-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.8.0 (2020-09-24)
25
+ ------------------
26
+
27
+ * 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).
28
+
29
+ 1.7.0 (2020-09-15)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.6.0 (2020-08-25)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.5.0 (2020-06-23)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.4.1 (2020-06-11)
45
+ ------------------
46
+
47
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
48
+
49
+ 1.4.0 (2020-06-10)
50
+ ------------------
51
+
52
+ * Issue - This version has been yanked. (#2327).
53
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
54
+
55
+ 1.3.0 (2020-05-28)
56
+ ------------------
57
+
58
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
59
+
60
+ 1.2.0 (2020-05-21)
61
+ ------------------
62
+
63
+ * Feature - AWS CloudWatch Synthetics now supports configuration of allocated memory for a canary.
64
+
65
+ 1.1.0 (2020-05-07)
66
+ ------------------
67
+
68
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
69
+
70
+ 1.0.0 (2020-04-20)
71
+ ------------------
72
+
73
+ * 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.12.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.7.0'
51
+ GEM_VERSION = '1.12.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
 
@@ -395,7 +395,7 @@ module Aws::Synthetics
395
395
  #
396
396
  # * `logs:CreateLogStream`
397
397
  #
398
- # * `logs:CreateLogStream`
398
+ # * `logs:PutLogEvents`
399
399
  #
400
400
  # @option params [required, Types::CanaryScheduleInput] :schedule
401
401
  # A structure that contains information about how often the canary is to
@@ -416,9 +416,9 @@ module Aws::Synthetics
416
416
  # is 1 to 455 days.
417
417
  #
418
418
  # @option params [required, String] :runtime_version
419
- # Specifies the runtime version to use for the canary. Currently, the
420
- # only valid value is `syn-1.0`. For more information about runtime
421
- # versions, see [ Canary Runtime Versions][1].
419
+ # Specifies the runtime version to use for the canary. For a list of
420
+ # valid runtime versions and more information about runtime versions,
421
+ # see [ Canary Runtime Versions][1].
422
422
  #
423
423
  #
424
424
  #
@@ -457,14 +457,18 @@ module Aws::Synthetics
457
457
  # handler: "String", # required
458
458
  # },
459
459
  # artifact_s3_location: "String", # required
460
- # execution_role_arn: "Arn", # required
460
+ # execution_role_arn: "RoleArn", # required
461
461
  # schedule: { # required
462
462
  # expression: "String", # required
463
463
  # duration_in_seconds: 1,
464
464
  # },
465
465
  # run_config: {
466
- # timeout_in_seconds: 1, # required
466
+ # timeout_in_seconds: 1,
467
467
  # memory_in_mb: 1,
468
+ # active_tracing: false,
469
+ # environment_variables: {
470
+ # "EnvironmentVariableName" => "EnvironmentVariableValue",
471
+ # },
468
472
  # },
469
473
  # success_retention_period_in_days: 1,
470
474
  # failure_retention_period_in_days: 1,
@@ -489,6 +493,7 @@ module Aws::Synthetics
489
493
  # resp.canary.schedule.duration_in_seconds #=> Integer
490
494
  # resp.canary.run_config.timeout_in_seconds #=> Integer
491
495
  # resp.canary.run_config.memory_in_mb #=> Integer
496
+ # resp.canary.run_config.active_tracing #=> Boolean
492
497
  # resp.canary.success_retention_period_in_days #=> Integer
493
498
  # resp.canary.failure_retention_period_in_days #=> Integer
494
499
  # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -614,6 +619,7 @@ module Aws::Synthetics
614
619
  # resp.canaries[0].schedule.duration_in_seconds #=> Integer
615
620
  # resp.canaries[0].run_config.timeout_in_seconds #=> Integer
616
621
  # resp.canaries[0].run_config.memory_in_mb #=> Integer
622
+ # resp.canaries[0].run_config.active_tracing #=> Boolean
617
623
  # resp.canaries[0].success_retention_period_in_days #=> Integer
618
624
  # resp.canaries[0].failure_retention_period_in_days #=> Integer
619
625
  # resp.canaries[0].status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -675,6 +681,7 @@ module Aws::Synthetics
675
681
  #
676
682
  # resp.canaries_last_run #=> Array
677
683
  # resp.canaries_last_run[0].canary_name #=> String
684
+ # resp.canaries_last_run[0].last_run.id #=> String
678
685
  # resp.canaries_last_run[0].last_run.name #=> String
679
686
  # resp.canaries_last_run[0].last_run.status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
680
687
  # resp.canaries_last_run[0].last_run.status.state_reason #=> String
@@ -774,6 +781,7 @@ module Aws::Synthetics
774
781
  # resp.canary.schedule.duration_in_seconds #=> Integer
775
782
  # resp.canary.run_config.timeout_in_seconds #=> Integer
776
783
  # resp.canary.run_config.memory_in_mb #=> Integer
784
+ # resp.canary.run_config.active_tracing #=> Boolean
777
785
  # resp.canary.success_retention_period_in_days #=> Integer
778
786
  # resp.canary.failure_retention_period_in_days #=> Integer
779
787
  # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -836,6 +844,7 @@ module Aws::Synthetics
836
844
  # @example Response structure
837
845
  #
838
846
  # resp.canary_runs #=> Array
847
+ # resp.canary_runs[0].id #=> String
839
848
  # resp.canary_runs[0].name #=> String
840
849
  # resp.canary_runs[0].status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
841
850
  # resp.canary_runs[0].status.state_reason #=> String
@@ -869,7 +878,7 @@ module Aws::Synthetics
869
878
  # @example Request syntax with placeholder values
870
879
  #
871
880
  # resp = client.list_tags_for_resource({
872
- # resource_arn: "Arn", # required
881
+ # resource_arn: "CanaryArn", # required
873
882
  # })
874
883
  #
875
884
  # @example Response structure
@@ -984,7 +993,7 @@ module Aws::Synthetics
984
993
  # @example Request syntax with placeholder values
985
994
  #
986
995
  # resp = client.tag_resource({
987
- # resource_arn: "Arn", # required
996
+ # resource_arn: "CanaryArn", # required
988
997
  # tags: { # required
989
998
  # "TagKey" => "TagValue",
990
999
  # },
@@ -1015,7 +1024,7 @@ module Aws::Synthetics
1015
1024
  # @example Request syntax with placeholder values
1016
1025
  #
1017
1026
  # resp = client.untag_resource({
1018
- # resource_arn: "Arn", # required
1027
+ # resource_arn: "CanaryArn", # required
1019
1028
  # tag_keys: ["TagKey"], # required
1020
1029
  # })
1021
1030
  #
@@ -1075,8 +1084,8 @@ module Aws::Synthetics
1075
1084
  # * `logs:CreateLogStream`
1076
1085
  #
1077
1086
  # @option params [String] :runtime_version
1078
- # Specifies the runtime version to use for the canary. Currently, the
1079
- # only valid value is `syn-1.0`. For more information about runtime
1087
+ # Specifies the runtime version to use for the canary. For a list of
1088
+ # valid runtime versions and for more information about runtime
1080
1089
  # versions, see [ Canary Runtime Versions][1].
1081
1090
  #
1082
1091
  #
@@ -1120,15 +1129,19 @@ module Aws::Synthetics
1120
1129
  # zip_file: "data",
1121
1130
  # handler: "String", # required
1122
1131
  # },
1123
- # execution_role_arn: "Arn",
1132
+ # execution_role_arn: "RoleArn",
1124
1133
  # runtime_version: "String",
1125
1134
  # schedule: {
1126
1135
  # expression: "String", # required
1127
1136
  # duration_in_seconds: 1,
1128
1137
  # },
1129
1138
  # run_config: {
1130
- # timeout_in_seconds: 1, # required
1139
+ # timeout_in_seconds: 1,
1131
1140
  # memory_in_mb: 1,
1141
+ # active_tracing: false,
1142
+ # environment_variables: {
1143
+ # "EnvironmentVariableName" => "EnvironmentVariableValue",
1144
+ # },
1132
1145
  # },
1133
1146
  # success_retention_period_in_days: 1,
1134
1147
  # failure_retention_period_in_days: 1,
@@ -1160,7 +1173,7 @@ module Aws::Synthetics
1160
1173
  params: params,
1161
1174
  config: config)
1162
1175
  context[:gem_name] = 'aws-sdk-synthetics'
1163
- context[:gem_version] = '1.7.0'
1176
+ context[:gem_version] = '1.12.0'
1164
1177
  Seahorse::Client::Request.new(handlers, context)
1165
1178
  end
1166
1179
 
@@ -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,11 +13,11 @@ module Aws::Synthetics
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
- Arn = Shapes::StringShape.new(name: 'Arn')
17
16
  Blob = Shapes::BlobShape.new(name: 'Blob')
18
17
  Canaries = Shapes::ListShape.new(name: 'Canaries')
19
18
  CanariesLastRun = Shapes::ListShape.new(name: 'CanariesLastRun')
20
19
  Canary = Shapes::StructureShape.new(name: 'Canary')
20
+ CanaryArn = Shapes::StringShape.new(name: 'CanaryArn')
21
21
  CanaryCodeInput = Shapes::StructureShape.new(name: 'CanaryCodeInput')
22
22
  CanaryCodeOutput = Shapes::StructureShape.new(name: 'CanaryCodeOutput')
23
23
  CanaryLastRun = Shapes::StructureShape.new(name: 'CanaryLastRun')
@@ -47,7 +47,11 @@ module Aws::Synthetics
47
47
  DescribeCanariesResponse = Shapes::StructureShape.new(name: 'DescribeCanariesResponse')
48
48
  DescribeRuntimeVersionsRequest = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsRequest')
49
49
  DescribeRuntimeVersionsResponse = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsResponse')
50
+ EnvironmentVariableName = Shapes::StringShape.new(name: 'EnvironmentVariableName')
51
+ EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
52
+ EnvironmentVariablesMap = Shapes::MapShape.new(name: 'EnvironmentVariablesMap')
50
53
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
54
+ FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
51
55
  GetCanaryRequest = Shapes::StructureShape.new(name: 'GetCanaryRequest')
52
56
  GetCanaryResponse = Shapes::StructureShape.new(name: 'GetCanaryResponse')
53
57
  GetCanaryRunsRequest = Shapes::StructureShape.new(name: 'GetCanaryRunsRequest')
@@ -61,7 +65,9 @@ module Aws::Synthetics
61
65
  MaxSize100 = Shapes::IntegerShape.new(name: 'MaxSize100')
62
66
  MaxSize1024 = Shapes::IntegerShape.new(name: 'MaxSize1024')
63
67
  MaxSize3008 = Shapes::IntegerShape.new(name: 'MaxSize3008')
68
+ NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
64
69
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
70
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
65
71
  RuntimeVersion = Shapes::StructureShape.new(name: 'RuntimeVersion')
66
72
  RuntimeVersionList = Shapes::ListShape.new(name: 'RuntimeVersionList')
67
73
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
@@ -98,7 +104,7 @@ module Aws::Synthetics
98
104
  Canary.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
99
105
  Canary.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, location_name: "Name"))
100
106
  Canary.add_member(:code, Shapes::ShapeRef.new(shape: CanaryCodeOutput, location_name: "Code"))
101
- Canary.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ExecutionRoleArn"))
107
+ Canary.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRoleArn"))
102
108
  Canary.add_member(:schedule, Shapes::ShapeRef.new(shape: CanaryScheduleOutput, location_name: "Schedule"))
103
109
  Canary.add_member(:run_config, Shapes::ShapeRef.new(shape: CanaryRunConfigOutput, location_name: "RunConfig"))
104
110
  Canary.add_member(:success_retention_period_in_days, Shapes::ShapeRef.new(shape: MaxSize1024, location_name: "SuccessRetentionPeriodInDays"))
@@ -106,7 +112,7 @@ module Aws::Synthetics
106
112
  Canary.add_member(:status, Shapes::ShapeRef.new(shape: CanaryStatus, location_name: "Status"))
107
113
  Canary.add_member(:timeline, Shapes::ShapeRef.new(shape: CanaryTimeline, location_name: "Timeline"))
108
114
  Canary.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, location_name: "ArtifactS3Location"))
109
- Canary.add_member(:engine_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EngineArn"))
115
+ Canary.add_member(:engine_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "EngineArn"))
110
116
  Canary.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, location_name: "RuntimeVersion"))
111
117
  Canary.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigOutput, location_name: "VpcConfig"))
112
118
  Canary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
@@ -127,18 +133,22 @@ module Aws::Synthetics
127
133
  CanaryLastRun.add_member(:last_run, Shapes::ShapeRef.new(shape: CanaryRun, location_name: "LastRun"))
128
134
  CanaryLastRun.struct_class = Types::CanaryLastRun
129
135
 
136
+ CanaryRun.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
130
137
  CanaryRun.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, location_name: "Name"))
131
138
  CanaryRun.add_member(:status, Shapes::ShapeRef.new(shape: CanaryRunStatus, location_name: "Status"))
132
139
  CanaryRun.add_member(:timeline, Shapes::ShapeRef.new(shape: CanaryRunTimeline, location_name: "Timeline"))
133
140
  CanaryRun.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, location_name: "ArtifactS3Location"))
134
141
  CanaryRun.struct_class = Types::CanaryRun
135
142
 
136
- CanaryRunConfigInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, required: true, location_name: "TimeoutInSeconds"))
143
+ CanaryRunConfigInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
137
144
  CanaryRunConfigInput.add_member(:memory_in_mb, Shapes::ShapeRef.new(shape: MaxSize3008, location_name: "MemoryInMB"))
145
+ CanaryRunConfigInput.add_member(:active_tracing, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ActiveTracing"))
146
+ CanaryRunConfigInput.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariablesMap, location_name: "EnvironmentVariables"))
138
147
  CanaryRunConfigInput.struct_class = Types::CanaryRunConfigInput
139
148
 
140
149
  CanaryRunConfigOutput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
141
150
  CanaryRunConfigOutput.add_member(:memory_in_mb, Shapes::ShapeRef.new(shape: MaxSize3008, location_name: "MemoryInMB"))
151
+ CanaryRunConfigOutput.add_member(:active_tracing, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ActiveTracing"))
142
152
  CanaryRunConfigOutput.struct_class = Types::CanaryRunConfigOutput
143
153
 
144
154
  CanaryRunStatus.add_member(:state, Shapes::ShapeRef.new(shape: CanaryRunState, location_name: "State"))
@@ -177,7 +187,7 @@ module Aws::Synthetics
177
187
  CreateCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location_name: "Name"))
178
188
  CreateCanaryRequest.add_member(:code, Shapes::ShapeRef.new(shape: CanaryCodeInput, required: true, location_name: "Code"))
179
189
  CreateCanaryRequest.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ArtifactS3Location"))
180
- CreateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExecutionRoleArn"))
190
+ CreateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
181
191
  CreateCanaryRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: CanaryScheduleInput, required: true, location_name: "Schedule"))
182
192
  CreateCanaryRequest.add_member(:run_config, Shapes::ShapeRef.new(shape: CanaryRunConfigInput, location_name: "RunConfig"))
183
193
  CreateCanaryRequest.add_member(:success_retention_period_in_days, Shapes::ShapeRef.new(shape: MaxSize1024, location_name: "SuccessRetentionPeriodInDays"))
@@ -219,6 +229,9 @@ module Aws::Synthetics
219
229
  DescribeRuntimeVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
220
230
  DescribeRuntimeVersionsResponse.struct_class = Types::DescribeRuntimeVersionsResponse
221
231
 
232
+ EnvironmentVariablesMap.key = Shapes::ShapeRef.new(shape: EnvironmentVariableName)
233
+ EnvironmentVariablesMap.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
234
+
222
235
  GetCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location: "uri", location_name: "name"))
223
236
  GetCanaryRequest.struct_class = Types::GetCanaryRequest
224
237
 
@@ -237,7 +250,7 @@ module Aws::Synthetics
237
250
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
238
251
  InternalServerException.struct_class = Types::InternalServerException
239
252
 
240
- ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
253
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
241
254
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
242
255
 
243
256
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
@@ -273,13 +286,13 @@ module Aws::Synthetics
273
286
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
274
287
  TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
275
288
 
276
- TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
289
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
277
290
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
278
291
  TagResourceRequest.struct_class = Types::TagResourceRequest
279
292
 
280
293
  TagResourceResponse.struct_class = Types::TagResourceResponse
281
294
 
282
- UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
295
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
283
296
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
284
297
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
285
298
 
@@ -287,7 +300,7 @@ module Aws::Synthetics
287
300
 
288
301
  UpdateCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location: "uri", location_name: "name"))
289
302
  UpdateCanaryRequest.add_member(:code, Shapes::ShapeRef.new(shape: CanaryCodeInput, location_name: "Code"))
290
- UpdateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ExecutionRoleArn"))
303
+ UpdateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRoleArn"))
291
304
  UpdateCanaryRequest.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, location_name: "RuntimeVersion"))
292
305
  UpdateCanaryRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: CanaryScheduleInput, location_name: "Schedule"))
293
306
  UpdateCanaryRequest.add_member(:run_config, Shapes::ShapeRef.new(shape: CanaryRunConfigInput, location_name: "RunConfig"))
@@ -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,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
 
@@ -37,7 +37,7 @@ module Aws::Synthetics
37
37
  # @return [Types::CanaryScheduleOutput]
38
38
  #
39
39
  # @!attribute [rw] run_config
40
- # A structure that contains information for a canary run.
40
+ # A structure that contains information about a canary run.
41
41
  # @return [Types::CanaryRunConfigOutput]
42
42
  #
43
43
  # @!attribute [rw] success_retention_period_in_days
@@ -75,9 +75,9 @@ module Aws::Synthetics
75
75
  # @return [String]
76
76
  #
77
77
  # @!attribute [rw] runtime_version
78
- # Specifies the runtime version to use for the canary. Currently, the
79
- # only valid value is `syn-1.0`. For more information about runtime
80
- # versions, see [ Canary Runtime Versions][1].
78
+ # Specifies the runtime version to use for the canary. For more
79
+ # information about runtime versions, see [ Canary Runtime
80
+ # Versions][1].
81
81
  #
82
82
  #
83
83
  #
@@ -224,6 +224,10 @@ module Aws::Synthetics
224
224
 
225
225
  # This structure contains the details about one run of one canary.
226
226
  #
227
+ # @!attribute [rw] id
228
+ # A unique ID that identifies this canary run.
229
+ # @return [String]
230
+ #
227
231
  # @!attribute [rw] name
228
232
  # The name of the canary.
229
233
  # @return [String]
@@ -244,6 +248,7 @@ module Aws::Synthetics
244
248
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRun AWS API Documentation
245
249
  #
246
250
  class CanaryRun < Struct.new(
251
+ :id,
247
252
  :name,
248
253
  :status,
249
254
  :timeline,
@@ -258,31 +263,73 @@ module Aws::Synthetics
258
263
  # data as a hash:
259
264
  #
260
265
  # {
261
- # timeout_in_seconds: 1, # required
266
+ # timeout_in_seconds: 1,
262
267
  # memory_in_mb: 1,
268
+ # active_tracing: false,
269
+ # environment_variables: {
270
+ # "EnvironmentVariableName" => "EnvironmentVariableValue",
271
+ # },
263
272
  # }
264
273
  #
265
274
  # @!attribute [rw] timeout_in_seconds
266
- # How long the canary is allowed to run before it must stop. If you
267
- # omit this field, the frequency of the canary is used as this value,
268
- # up to a maximum of 14 minutes.
275
+ # How long the canary is allowed to run before it must stop. You
276
+ # can't set this time to be longer than the frequency of the runs of
277
+ # this canary.
278
+ #
279
+ # If you omit this field, the frequency of the canary is used as this
280
+ # value, up to a maximum of 14 minutes.
269
281
  # @return [Integer]
270
282
  #
271
283
  # @!attribute [rw] memory_in_mb
272
284
  # The maximum amount of memory available to the canary while it is
273
- # running, in MB. The value you specify must be a multiple of 64.
285
+ # running, in MB. This value must be a multiple of 64.
274
286
  # @return [Integer]
275
287
  #
288
+ # @!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].
295
+ #
296
+ # You can enable active tracing only for canaries that use version
297
+ # `syn-nodejs-2.0` or later for their canary runtime.
298
+ #
299
+ #
300
+ #
301
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_tracing.html
302
+ # @return [Boolean]
303
+ #
304
+ # @!attribute [rw] environment_variables
305
+ # Specifies the keys and values to use for any environment variables
306
+ # used in the canary script. Use the following format:
307
+ #
308
+ # \\\{ "key1" : "value1", "key2" : "value2", ...\\}
309
+ #
310
+ # Keys must start with a letter and be at least two characters. The
311
+ # total size of your environment variables cannot exceed 4 KB. You
312
+ # can't specify any Lambda reserved environment variables as the keys
313
+ # for your environment variables. For more information about reserved
314
+ # keys, see [ Runtime environment variables][1].
315
+ #
316
+ #
317
+ #
318
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime
319
+ # @return [Hash<String,String>]
320
+ #
276
321
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunConfigInput AWS API Documentation
277
322
  #
278
323
  class CanaryRunConfigInput < Struct.new(
279
324
  :timeout_in_seconds,
280
- :memory_in_mb)
325
+ :memory_in_mb,
326
+ :active_tracing,
327
+ :environment_variables)
281
328
  SENSITIVE = []
282
329
  include Aws::Structure
283
330
  end
284
331
 
285
- # A structure that contains information for a canary run.
332
+ # A structure that contains information about a canary run.
286
333
  #
287
334
  # @!attribute [rw] timeout_in_seconds
288
335
  # How long the canary is allowed to run before it must stop.
@@ -290,14 +337,19 @@ module Aws::Synthetics
290
337
  #
291
338
  # @!attribute [rw] memory_in_mb
292
339
  # The maximum amount of memory available to the canary while it is
293
- # running, in MB. The value you must be a multiple of 64.
340
+ # running, in MB. This value must be a multiple of 64.
294
341
  # @return [Integer]
295
342
  #
343
+ # @!attribute [rw] active_tracing
344
+ # Displays whether this canary run used active AWS X-Ray tracing.
345
+ # @return [Boolean]
346
+ #
296
347
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunConfigOutput AWS API Documentation
297
348
  #
298
349
  class CanaryRunConfigOutput < Struct.new(
299
350
  :timeout_in_seconds,
300
- :memory_in_mb)
351
+ :memory_in_mb,
352
+ :active_tracing)
301
353
  SENSITIVE = []
302
354
  include Aws::Structure
303
355
  end
@@ -503,14 +555,18 @@ module Aws::Synthetics
503
555
  # handler: "String", # required
504
556
  # },
505
557
  # artifact_s3_location: "String", # required
506
- # execution_role_arn: "Arn", # required
558
+ # execution_role_arn: "RoleArn", # required
507
559
  # schedule: { # required
508
560
  # expression: "String", # required
509
561
  # duration_in_seconds: 1,
510
562
  # },
511
563
  # run_config: {
512
- # timeout_in_seconds: 1, # required
564
+ # timeout_in_seconds: 1,
513
565
  # memory_in_mb: 1,
566
+ # active_tracing: false,
567
+ # environment_variables: {
568
+ # "EnvironmentVariableName" => "EnvironmentVariableValue",
569
+ # },
514
570
  # },
515
571
  # success_retention_period_in_days: 1,
516
572
  # failure_retention_period_in_days: 1,
@@ -569,7 +625,7 @@ module Aws::Synthetics
569
625
  #
570
626
  # * `logs:CreateLogStream`
571
627
  #
572
- # * `logs:CreateLogStream`
628
+ # * `logs:PutLogEvents`
573
629
  # @return [String]
574
630
  #
575
631
  # @!attribute [rw] schedule
@@ -595,9 +651,9 @@ module Aws::Synthetics
595
651
  # @return [Integer]
596
652
  #
597
653
  # @!attribute [rw] runtime_version
598
- # Specifies the runtime version to use for the canary. Currently, the
599
- # only valid value is `syn-1.0`. For more information about runtime
600
- # versions, see [ Canary Runtime Versions][1].
654
+ # Specifies the runtime version to use for the canary. For a list of
655
+ # valid runtime versions and more information about runtime versions,
656
+ # see [ Canary Runtime Versions][1].
601
657
  #
602
658
  #
603
659
  #
@@ -932,7 +988,7 @@ module Aws::Synthetics
932
988
  # data as a hash:
933
989
  #
934
990
  # {
935
- # resource_arn: "Arn", # required
991
+ # resource_arn: "CanaryArn", # required
936
992
  # }
937
993
  #
938
994
  # @!attribute [rw] resource_arn
@@ -985,11 +1041,12 @@ module Aws::Synthetics
985
1041
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html
986
1042
  #
987
1043
  # @!attribute [rw] version_name
988
- # The name of the runtime version. Currently, the only valid value is
989
- # `syn-1.0`.
1044
+ # The name of the runtime version. For a list of valid runtime
1045
+ # versions, see [ Canary Runtime Versions][1].
990
1046
  #
991
- # Specifies the runtime version to use for the canary. Currently, the
992
- # only valid value is `syn-1.0`.
1047
+ #
1048
+ #
1049
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html
993
1050
  # @return [String]
994
1051
  #
995
1052
  # @!attribute [rw] description
@@ -1076,7 +1133,7 @@ module Aws::Synthetics
1076
1133
  # data as a hash:
1077
1134
  #
1078
1135
  # {
1079
- # resource_arn: "Arn", # required
1136
+ # resource_arn: "CanaryArn", # required
1080
1137
  # tags: { # required
1081
1138
  # "TagKey" => "TagValue",
1082
1139
  # },
@@ -1110,7 +1167,7 @@ module Aws::Synthetics
1110
1167
  # data as a hash:
1111
1168
  #
1112
1169
  # {
1113
- # resource_arn: "Arn", # required
1170
+ # resource_arn: "CanaryArn", # required
1114
1171
  # tag_keys: ["TagKey"], # required
1115
1172
  # }
1116
1173
  #
@@ -1150,15 +1207,19 @@ module Aws::Synthetics
1150
1207
  # zip_file: "data",
1151
1208
  # handler: "String", # required
1152
1209
  # },
1153
- # execution_role_arn: "Arn",
1210
+ # execution_role_arn: "RoleArn",
1154
1211
  # runtime_version: "String",
1155
1212
  # schedule: {
1156
1213
  # expression: "String", # required
1157
1214
  # duration_in_seconds: 1,
1158
1215
  # },
1159
1216
  # run_config: {
1160
- # timeout_in_seconds: 1, # required
1217
+ # timeout_in_seconds: 1,
1161
1218
  # memory_in_mb: 1,
1219
+ # active_tracing: false,
1220
+ # environment_variables: {
1221
+ # "EnvironmentVariableName" => "EnvironmentVariableValue",
1222
+ # },
1162
1223
  # },
1163
1224
  # success_retention_period_in_days: 1,
1164
1225
  # failure_retention_period_in_days: 1,
@@ -1208,8 +1269,8 @@ module Aws::Synthetics
1208
1269
  # @return [String]
1209
1270
  #
1210
1271
  # @!attribute [rw] runtime_version
1211
- # Specifies the runtime version to use for the canary. Currently, the
1212
- # only valid value is `syn-1.0`. For more information about runtime
1272
+ # Specifies the runtime version to use for the canary. For a list of
1273
+ # valid runtime versions and for more information about runtime
1213
1274
  # versions, see [ Canary Runtime Versions][1].
1214
1275
  #
1215
1276
  #
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.7.0
4
+ version: 1.12.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-09-15 00:00:00.000000000 Z
11
+ date: 2021-03-10 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.99.0
22
+ version: 3.112.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.99.0
32
+ version: 3.112.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