aws-sdk-synthetics 1.7.0 → 1.8.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: 5144ecece1b55fc4bc2bccc9fdb5461bb48299edfd13c4cdac8e1a69a92ce34d
4
+ data.tar.gz: 499987def1aba9ea9a27aca484a3411dc6ad600dec1e7cb9b426f1f4d4a8be4d
5
5
  SHA512:
6
- metadata.gz: 29eab3c397313c421c8ffeca41dfa78c24fc0bb6331ce87a11aafc6afa4d4e9bd78c34ff43f31b1ebe95d6907d33d8efd783a34c4df78591993249ddf14fa6c2
7
- data.tar.gz: 38c72e1ef1b012d0408edc76113a3086884fd3d3ca248be59c0418fd02ca29dc0a1c09ca27e55ca0266b1f19585811737d347e7182bb41a7148b671ce8cfdf0a
6
+ metadata.gz: 89aa6b003ea86a7628d633c3fdecd42114d0a12ef297b71b8f2a15a702ea6d433d9177e92ccb40931302946ce11698395b4cedf5acbfe0d540e53aac975a3f9d
7
+ data.tar.gz: 871c8b69e399e813b872ab61b06e247b1e0247825069376671c6ccca4cdeddb63b23f52a40fc92fa6b62020e54ad737a86caadc6084138e601acd48ea4e7d92d
@@ -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.8.0'
52
52
 
53
53
  end
@@ -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
@@ -417,8 +417,9 @@ module Aws::Synthetics
417
417
  #
418
418
  # @option params [required, String] :runtime_version
419
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].
420
+ # only valid values are `syn-nodejs-2.0`, `syn-nodejs-2.0-beta`, and
421
+ # `syn-1.0`. For more information about runtime versions, see [ Canary
422
+ # Runtime Versions][1].
422
423
  #
423
424
  #
424
425
  #
@@ -457,14 +458,15 @@ module Aws::Synthetics
457
458
  # handler: "String", # required
458
459
  # },
459
460
  # artifact_s3_location: "String", # required
460
- # execution_role_arn: "Arn", # required
461
+ # execution_role_arn: "RoleArn", # required
461
462
  # schedule: { # required
462
463
  # expression: "String", # required
463
464
  # duration_in_seconds: 1,
464
465
  # },
465
466
  # run_config: {
466
- # timeout_in_seconds: 1, # required
467
+ # timeout_in_seconds: 1,
467
468
  # memory_in_mb: 1,
469
+ # active_tracing: false,
468
470
  # },
469
471
  # success_retention_period_in_days: 1,
470
472
  # failure_retention_period_in_days: 1,
@@ -489,6 +491,7 @@ module Aws::Synthetics
489
491
  # resp.canary.schedule.duration_in_seconds #=> Integer
490
492
  # resp.canary.run_config.timeout_in_seconds #=> Integer
491
493
  # resp.canary.run_config.memory_in_mb #=> Integer
494
+ # resp.canary.run_config.active_tracing #=> Boolean
492
495
  # resp.canary.success_retention_period_in_days #=> Integer
493
496
  # resp.canary.failure_retention_period_in_days #=> Integer
494
497
  # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -614,6 +617,7 @@ module Aws::Synthetics
614
617
  # resp.canaries[0].schedule.duration_in_seconds #=> Integer
615
618
  # resp.canaries[0].run_config.timeout_in_seconds #=> Integer
616
619
  # resp.canaries[0].run_config.memory_in_mb #=> Integer
620
+ # resp.canaries[0].run_config.active_tracing #=> Boolean
617
621
  # resp.canaries[0].success_retention_period_in_days #=> Integer
618
622
  # resp.canaries[0].failure_retention_period_in_days #=> Integer
619
623
  # resp.canaries[0].status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -675,6 +679,7 @@ module Aws::Synthetics
675
679
  #
676
680
  # resp.canaries_last_run #=> Array
677
681
  # resp.canaries_last_run[0].canary_name #=> String
682
+ # resp.canaries_last_run[0].last_run.id #=> String
678
683
  # resp.canaries_last_run[0].last_run.name #=> String
679
684
  # resp.canaries_last_run[0].last_run.status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
680
685
  # resp.canaries_last_run[0].last_run.status.state_reason #=> String
@@ -774,6 +779,7 @@ module Aws::Synthetics
774
779
  # resp.canary.schedule.duration_in_seconds #=> Integer
775
780
  # resp.canary.run_config.timeout_in_seconds #=> Integer
776
781
  # resp.canary.run_config.memory_in_mb #=> Integer
782
+ # resp.canary.run_config.active_tracing #=> Boolean
777
783
  # resp.canary.success_retention_period_in_days #=> Integer
778
784
  # resp.canary.failure_retention_period_in_days #=> Integer
779
785
  # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -836,6 +842,7 @@ module Aws::Synthetics
836
842
  # @example Response structure
837
843
  #
838
844
  # resp.canary_runs #=> Array
845
+ # resp.canary_runs[0].id #=> String
839
846
  # resp.canary_runs[0].name #=> String
840
847
  # resp.canary_runs[0].status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
841
848
  # resp.canary_runs[0].status.state_reason #=> String
@@ -869,7 +876,7 @@ module Aws::Synthetics
869
876
  # @example Request syntax with placeholder values
870
877
  #
871
878
  # resp = client.list_tags_for_resource({
872
- # resource_arn: "Arn", # required
879
+ # resource_arn: "CanaryArn", # required
873
880
  # })
874
881
  #
875
882
  # @example Response structure
@@ -984,7 +991,7 @@ module Aws::Synthetics
984
991
  # @example Request syntax with placeholder values
985
992
  #
986
993
  # resp = client.tag_resource({
987
- # resource_arn: "Arn", # required
994
+ # resource_arn: "CanaryArn", # required
988
995
  # tags: { # required
989
996
  # "TagKey" => "TagValue",
990
997
  # },
@@ -1015,7 +1022,7 @@ module Aws::Synthetics
1015
1022
  # @example Request syntax with placeholder values
1016
1023
  #
1017
1024
  # resp = client.untag_resource({
1018
- # resource_arn: "Arn", # required
1025
+ # resource_arn: "CanaryArn", # required
1019
1026
  # tag_keys: ["TagKey"], # required
1020
1027
  # })
1021
1028
  #
@@ -1076,8 +1083,9 @@ module Aws::Synthetics
1076
1083
  #
1077
1084
  # @option params [String] :runtime_version
1078
1085
  # Specifies the runtime version to use for the canary. Currently, the
1079
- # only valid value is `syn-1.0`. For more information about runtime
1080
- # versions, see [ Canary Runtime Versions][1].
1086
+ # only valid values are `syn-nodejs-2.0`, `syn-nodejs-2.0-beta`, and
1087
+ # `syn-1.0`. For more information about runtime versions, see [ Canary
1088
+ # Runtime Versions][1].
1081
1089
  #
1082
1090
  #
1083
1091
  #
@@ -1120,15 +1128,16 @@ module Aws::Synthetics
1120
1128
  # zip_file: "data",
1121
1129
  # handler: "String", # required
1122
1130
  # },
1123
- # execution_role_arn: "Arn",
1131
+ # execution_role_arn: "RoleArn",
1124
1132
  # runtime_version: "String",
1125
1133
  # schedule: {
1126
1134
  # expression: "String", # required
1127
1135
  # duration_in_seconds: 1,
1128
1136
  # },
1129
1137
  # run_config: {
1130
- # timeout_in_seconds: 1, # required
1138
+ # timeout_in_seconds: 1,
1131
1139
  # memory_in_mb: 1,
1140
+ # active_tracing: false,
1132
1141
  # },
1133
1142
  # success_retention_period_in_days: 1,
1134
1143
  # failure_retention_period_in_days: 1,
@@ -1160,7 +1169,7 @@ module Aws::Synthetics
1160
1169
  params: params,
1161
1170
  config: config)
1162
1171
  context[:gem_name] = 'aws-sdk-synthetics'
1163
- context[:gem_version] = '1.7.0'
1172
+ context[:gem_version] = '1.8.0'
1164
1173
  Seahorse::Client::Request.new(handlers, context)
1165
1174
  end
1166
1175
 
@@ -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')
@@ -48,6 +48,7 @@ module Aws::Synthetics
48
48
  DescribeRuntimeVersionsRequest = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsRequest')
49
49
  DescribeRuntimeVersionsResponse = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsResponse')
50
50
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
51
+ FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
51
52
  GetCanaryRequest = Shapes::StructureShape.new(name: 'GetCanaryRequest')
52
53
  GetCanaryResponse = Shapes::StructureShape.new(name: 'GetCanaryResponse')
53
54
  GetCanaryRunsRequest = Shapes::StructureShape.new(name: 'GetCanaryRunsRequest')
@@ -61,7 +62,9 @@ module Aws::Synthetics
61
62
  MaxSize100 = Shapes::IntegerShape.new(name: 'MaxSize100')
62
63
  MaxSize1024 = Shapes::IntegerShape.new(name: 'MaxSize1024')
63
64
  MaxSize3008 = Shapes::IntegerShape.new(name: 'MaxSize3008')
65
+ NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
64
66
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
67
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
65
68
  RuntimeVersion = Shapes::StructureShape.new(name: 'RuntimeVersion')
66
69
  RuntimeVersionList = Shapes::ListShape.new(name: 'RuntimeVersionList')
67
70
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
@@ -98,7 +101,7 @@ module Aws::Synthetics
98
101
  Canary.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
99
102
  Canary.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, location_name: "Name"))
100
103
  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"))
104
+ Canary.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRoleArn"))
102
105
  Canary.add_member(:schedule, Shapes::ShapeRef.new(shape: CanaryScheduleOutput, location_name: "Schedule"))
103
106
  Canary.add_member(:run_config, Shapes::ShapeRef.new(shape: CanaryRunConfigOutput, location_name: "RunConfig"))
104
107
  Canary.add_member(:success_retention_period_in_days, Shapes::ShapeRef.new(shape: MaxSize1024, location_name: "SuccessRetentionPeriodInDays"))
@@ -106,7 +109,7 @@ module Aws::Synthetics
106
109
  Canary.add_member(:status, Shapes::ShapeRef.new(shape: CanaryStatus, location_name: "Status"))
107
110
  Canary.add_member(:timeline, Shapes::ShapeRef.new(shape: CanaryTimeline, location_name: "Timeline"))
108
111
  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"))
112
+ Canary.add_member(:engine_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "EngineArn"))
110
113
  Canary.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, location_name: "RuntimeVersion"))
111
114
  Canary.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigOutput, location_name: "VpcConfig"))
112
115
  Canary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
@@ -127,18 +130,21 @@ module Aws::Synthetics
127
130
  CanaryLastRun.add_member(:last_run, Shapes::ShapeRef.new(shape: CanaryRun, location_name: "LastRun"))
128
131
  CanaryLastRun.struct_class = Types::CanaryLastRun
129
132
 
133
+ CanaryRun.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
130
134
  CanaryRun.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, location_name: "Name"))
131
135
  CanaryRun.add_member(:status, Shapes::ShapeRef.new(shape: CanaryRunStatus, location_name: "Status"))
132
136
  CanaryRun.add_member(:timeline, Shapes::ShapeRef.new(shape: CanaryRunTimeline, location_name: "Timeline"))
133
137
  CanaryRun.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, location_name: "ArtifactS3Location"))
134
138
  CanaryRun.struct_class = Types::CanaryRun
135
139
 
136
- CanaryRunConfigInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, required: true, location_name: "TimeoutInSeconds"))
140
+ CanaryRunConfigInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
137
141
  CanaryRunConfigInput.add_member(:memory_in_mb, Shapes::ShapeRef.new(shape: MaxSize3008, location_name: "MemoryInMB"))
142
+ CanaryRunConfigInput.add_member(:active_tracing, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ActiveTracing"))
138
143
  CanaryRunConfigInput.struct_class = Types::CanaryRunConfigInput
139
144
 
140
145
  CanaryRunConfigOutput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
141
146
  CanaryRunConfigOutput.add_member(:memory_in_mb, Shapes::ShapeRef.new(shape: MaxSize3008, location_name: "MemoryInMB"))
147
+ CanaryRunConfigOutput.add_member(:active_tracing, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ActiveTracing"))
142
148
  CanaryRunConfigOutput.struct_class = Types::CanaryRunConfigOutput
143
149
 
144
150
  CanaryRunStatus.add_member(:state, Shapes::ShapeRef.new(shape: CanaryRunState, location_name: "State"))
@@ -177,7 +183,7 @@ module Aws::Synthetics
177
183
  CreateCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location_name: "Name"))
178
184
  CreateCanaryRequest.add_member(:code, Shapes::ShapeRef.new(shape: CanaryCodeInput, required: true, location_name: "Code"))
179
185
  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"))
186
+ CreateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
181
187
  CreateCanaryRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: CanaryScheduleInput, required: true, location_name: "Schedule"))
182
188
  CreateCanaryRequest.add_member(:run_config, Shapes::ShapeRef.new(shape: CanaryRunConfigInput, location_name: "RunConfig"))
183
189
  CreateCanaryRequest.add_member(:success_retention_period_in_days, Shapes::ShapeRef.new(shape: MaxSize1024, location_name: "SuccessRetentionPeriodInDays"))
@@ -237,7 +243,7 @@ module Aws::Synthetics
237
243
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
238
244
  InternalServerException.struct_class = Types::InternalServerException
239
245
 
240
- ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
246
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
241
247
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
242
248
 
243
249
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
@@ -273,13 +279,13 @@ module Aws::Synthetics
273
279
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
274
280
  TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
275
281
 
276
- TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
282
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
277
283
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
278
284
  TagResourceRequest.struct_class = Types::TagResourceRequest
279
285
 
280
286
  TagResourceResponse.struct_class = Types::TagResourceResponse
281
287
 
282
- UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
288
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
283
289
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
284
290
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
285
291
 
@@ -287,7 +293,7 @@ module Aws::Synthetics
287
293
 
288
294
  UpdateCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location: "uri", location_name: "name"))
289
295
  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"))
296
+ UpdateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRoleArn"))
291
297
  UpdateCanaryRequest.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, location_name: "RuntimeVersion"))
292
298
  UpdateCanaryRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: CanaryScheduleInput, location_name: "Schedule"))
293
299
  UpdateCanaryRequest.add_member(:run_config, Shapes::ShapeRef.new(shape: CanaryRunConfigInput, location_name: "RunConfig"))
@@ -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
@@ -76,8 +76,9 @@ module Aws::Synthetics
76
76
  #
77
77
  # @!attribute [rw] runtime_version
78
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].
79
+ # only valid values are `syn-nodejs-2.0`, `syn-nodejs-2.0-beta`, and
80
+ # `syn-1.0`. For more information about runtime versions, see [ Canary
81
+ # Runtime Versions][1].
81
82
  #
82
83
  #
83
84
  #
@@ -224,6 +225,10 @@ module Aws::Synthetics
224
225
 
225
226
  # This structure contains the details about one run of one canary.
226
227
  #
228
+ # @!attribute [rw] id
229
+ # A unique ID that identifies this canary run.
230
+ # @return [String]
231
+ #
227
232
  # @!attribute [rw] name
228
233
  # The name of the canary.
229
234
  # @return [String]
@@ -244,6 +249,7 @@ module Aws::Synthetics
244
249
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRun AWS API Documentation
245
250
  #
246
251
  class CanaryRun < Struct.new(
252
+ :id,
247
253
  :name,
248
254
  :status,
249
255
  :timeline,
@@ -258,31 +264,52 @@ module Aws::Synthetics
258
264
  # data as a hash:
259
265
  #
260
266
  # {
261
- # timeout_in_seconds: 1, # required
267
+ # timeout_in_seconds: 1,
262
268
  # memory_in_mb: 1,
269
+ # active_tracing: false,
263
270
  # }
264
271
  #
265
272
  # @!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.
273
+ # How long the canary is allowed to run before it must stop. You
274
+ # can't set this time to be longer than the frequency of the runs of
275
+ # this canary.
276
+ #
277
+ # If you omit this field, the frequency of the canary is used as this
278
+ # value, up to a maximum of 14 minutes.
269
279
  # @return [Integer]
270
280
  #
271
281
  # @!attribute [rw] memory_in_mb
272
282
  # 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.
283
+ # running, in MB. This value must be a multiple of 64.
274
284
  # @return [Integer]
275
285
  #
286
+ # @!attribute [rw] active_tracing
287
+ # Specifies whether this canary is to use active AWS X-Ray tracing
288
+ # when it runs. Active tracing enables this canary run to be displayed
289
+ # in the ServiceLens and X-Ray service maps even if the canary does
290
+ # not hit an endpoint that has X-ray tracing enabled. Using X-Ray
291
+ # tracing incurs charges. For more information, see [ Canaries and
292
+ # X-Ray tracing][1].
293
+ #
294
+ # You can enable active tracing only for canaries that use version
295
+ # `syn-nodejs-2.0` or later for their canary runtime.
296
+ #
297
+ #
298
+ #
299
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_tracing.html
300
+ # @return [Boolean]
301
+ #
276
302
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunConfigInput AWS API Documentation
277
303
  #
278
304
  class CanaryRunConfigInput < Struct.new(
279
305
  :timeout_in_seconds,
280
- :memory_in_mb)
306
+ :memory_in_mb,
307
+ :active_tracing)
281
308
  SENSITIVE = []
282
309
  include Aws::Structure
283
310
  end
284
311
 
285
- # A structure that contains information for a canary run.
312
+ # A structure that contains information about a canary run.
286
313
  #
287
314
  # @!attribute [rw] timeout_in_seconds
288
315
  # How long the canary is allowed to run before it must stop.
@@ -290,14 +317,19 @@ module Aws::Synthetics
290
317
  #
291
318
  # @!attribute [rw] memory_in_mb
292
319
  # 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.
320
+ # running, in MB. This value must be a multiple of 64.
294
321
  # @return [Integer]
295
322
  #
323
+ # @!attribute [rw] active_tracing
324
+ # Displays whether this canary run used active AWS X-Ray tracing.
325
+ # @return [Boolean]
326
+ #
296
327
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunConfigOutput AWS API Documentation
297
328
  #
298
329
  class CanaryRunConfigOutput < Struct.new(
299
330
  :timeout_in_seconds,
300
- :memory_in_mb)
331
+ :memory_in_mb,
332
+ :active_tracing)
301
333
  SENSITIVE = []
302
334
  include Aws::Structure
303
335
  end
@@ -503,14 +535,15 @@ module Aws::Synthetics
503
535
  # handler: "String", # required
504
536
  # },
505
537
  # artifact_s3_location: "String", # required
506
- # execution_role_arn: "Arn", # required
538
+ # execution_role_arn: "RoleArn", # required
507
539
  # schedule: { # required
508
540
  # expression: "String", # required
509
541
  # duration_in_seconds: 1,
510
542
  # },
511
543
  # run_config: {
512
- # timeout_in_seconds: 1, # required
544
+ # timeout_in_seconds: 1,
513
545
  # memory_in_mb: 1,
546
+ # active_tracing: false,
514
547
  # },
515
548
  # success_retention_period_in_days: 1,
516
549
  # failure_retention_period_in_days: 1,
@@ -569,7 +602,7 @@ module Aws::Synthetics
569
602
  #
570
603
  # * `logs:CreateLogStream`
571
604
  #
572
- # * `logs:CreateLogStream`
605
+ # * `logs:PutLogEvents`
573
606
  # @return [String]
574
607
  #
575
608
  # @!attribute [rw] schedule
@@ -596,8 +629,9 @@ module Aws::Synthetics
596
629
  #
597
630
  # @!attribute [rw] runtime_version
598
631
  # 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].
632
+ # only valid values are `syn-nodejs-2.0`, `syn-nodejs-2.0-beta`, and
633
+ # `syn-1.0`. For more information about runtime versions, see [ Canary
634
+ # Runtime Versions][1].
601
635
  #
602
636
  #
603
637
  #
@@ -932,7 +966,7 @@ module Aws::Synthetics
932
966
  # data as a hash:
933
967
  #
934
968
  # {
935
- # resource_arn: "Arn", # required
969
+ # resource_arn: "CanaryArn", # required
936
970
  # }
937
971
  #
938
972
  # @!attribute [rw] resource_arn
@@ -985,11 +1019,8 @@ module Aws::Synthetics
985
1019
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html
986
1020
  #
987
1021
  # @!attribute [rw] version_name
988
- # The name of the runtime version. Currently, the only valid value is
989
- # `syn-1.0`.
990
- #
991
- # Specifies the runtime version to use for the canary. Currently, the
992
- # only valid value is `syn-1.0`.
1022
+ # The name of the runtime version. Currently, the only valid values
1023
+ # are `syn-nodejs-2.0`, `syn-nodejs-2.0-beta`, and `syn-1.0`.
993
1024
  # @return [String]
994
1025
  #
995
1026
  # @!attribute [rw] description
@@ -1076,7 +1107,7 @@ module Aws::Synthetics
1076
1107
  # data as a hash:
1077
1108
  #
1078
1109
  # {
1079
- # resource_arn: "Arn", # required
1110
+ # resource_arn: "CanaryArn", # required
1080
1111
  # tags: { # required
1081
1112
  # "TagKey" => "TagValue",
1082
1113
  # },
@@ -1110,7 +1141,7 @@ module Aws::Synthetics
1110
1141
  # data as a hash:
1111
1142
  #
1112
1143
  # {
1113
- # resource_arn: "Arn", # required
1144
+ # resource_arn: "CanaryArn", # required
1114
1145
  # tag_keys: ["TagKey"], # required
1115
1146
  # }
1116
1147
  #
@@ -1150,15 +1181,16 @@ module Aws::Synthetics
1150
1181
  # zip_file: "data",
1151
1182
  # handler: "String", # required
1152
1183
  # },
1153
- # execution_role_arn: "Arn",
1184
+ # execution_role_arn: "RoleArn",
1154
1185
  # runtime_version: "String",
1155
1186
  # schedule: {
1156
1187
  # expression: "String", # required
1157
1188
  # duration_in_seconds: 1,
1158
1189
  # },
1159
1190
  # run_config: {
1160
- # timeout_in_seconds: 1, # required
1191
+ # timeout_in_seconds: 1,
1161
1192
  # memory_in_mb: 1,
1193
+ # active_tracing: false,
1162
1194
  # },
1163
1195
  # success_retention_period_in_days: 1,
1164
1196
  # failure_retention_period_in_days: 1,
@@ -1209,8 +1241,9 @@ module Aws::Synthetics
1209
1241
  #
1210
1242
  # @!attribute [rw] runtime_version
1211
1243
  # Specifies the runtime version to use for the canary. Currently, the
1212
- # only valid value is `syn-1.0`. For more information about runtime
1213
- # versions, see [ Canary Runtime Versions][1].
1244
+ # only valid values are `syn-nodejs-2.0`, `syn-nodejs-2.0-beta`, and
1245
+ # `syn-1.0`. For more information about runtime versions, see [ Canary
1246
+ # Runtime Versions][1].
1214
1247
  #
1215
1248
  #
1216
1249
  #
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.8.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: 2020-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core