aws-sdk-synthetics 1.63.0 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-synthetics/client.rb +22 -1
- data/lib/aws-sdk-synthetics/client_api.rb +15 -0
- data/lib/aws-sdk-synthetics/types.rb +89 -7
- data/lib/aws-sdk-synthetics.rb +1 -1
- data/sig/client.rbs +8 -2
- data/sig/types.rbs +15 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2f10eca2913a43646fb0d7dad579d5fbbb8ff68317f9f4fccd3e4dab3f6225e
|
4
|
+
data.tar.gz: bd07a39420ada92596e0352cddfb0468c8c151189c5740cb558083ea446362dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cea5297a6b133f3ebaa010239ae2ac36f0b7dcdced52069a84633d4c9080f7e6492d4e430642c20f25e87d954b7e2aa56f6c51988bf494983be3e644c201fa5
|
7
|
+
data.tar.gz: 91dc833ef6609777aeaa7fe6546501b57c087dcc9ad3bf50d2d814b467e7db4fbe13393028f8ffc45fdd3d753f99b8881f7941b4fcbf192ef55b684145758b21
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2025-05-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support to retry a canary automatically after schedule run failures. Users can enable this feature by configuring the RetryConfig field when calling the CreateCanary or UpdateCanary API. Also includes changes in GetCanary and GetCanaryRuns to support retrieving retry configurations.
|
8
|
+
|
4
9
|
1.63.0 (2025-05-07)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.0
|
@@ -688,6 +688,9 @@ module Aws::Synthetics
|
|
688
688
|
# schedule: { # required
|
689
689
|
# expression: "String", # required
|
690
690
|
# duration_in_seconds: 1,
|
691
|
+
# retry_config: {
|
692
|
+
# max_retries: 1, # required
|
693
|
+
# },
|
691
694
|
# },
|
692
695
|
# run_config: {
|
693
696
|
# timeout_in_seconds: 1,
|
@@ -727,6 +730,7 @@ module Aws::Synthetics
|
|
727
730
|
# resp.canary.execution_role_arn #=> String
|
728
731
|
# resp.canary.schedule.expression #=> String
|
729
732
|
# resp.canary.schedule.duration_in_seconds #=> Integer
|
733
|
+
# resp.canary.schedule.retry_config.max_retries #=> Integer
|
730
734
|
# resp.canary.run_config.timeout_in_seconds #=> Integer
|
731
735
|
# resp.canary.run_config.memory_in_mb #=> Integer
|
732
736
|
# resp.canary.run_config.active_tracing #=> Boolean
|
@@ -1011,6 +1015,7 @@ module Aws::Synthetics
|
|
1011
1015
|
# resp.canaries[0].execution_role_arn #=> String
|
1012
1016
|
# resp.canaries[0].schedule.expression #=> String
|
1013
1017
|
# resp.canaries[0].schedule.duration_in_seconds #=> Integer
|
1018
|
+
# resp.canaries[0].schedule.retry_config.max_retries #=> Integer
|
1014
1019
|
# resp.canaries[0].run_config.timeout_in_seconds #=> Integer
|
1015
1020
|
# resp.canaries[0].run_config.memory_in_mb #=> Integer
|
1016
1021
|
# resp.canaries[0].run_config.active_tracing #=> Boolean
|
@@ -1122,12 +1127,15 @@ module Aws::Synthetics
|
|
1122
1127
|
# resp.canaries_last_run #=> Array
|
1123
1128
|
# resp.canaries_last_run[0].canary_name #=> String
|
1124
1129
|
# resp.canaries_last_run[0].last_run.id #=> String
|
1130
|
+
# resp.canaries_last_run[0].last_run.scheduled_run_id #=> String
|
1131
|
+
# resp.canaries_last_run[0].last_run.retry_attempt #=> Integer
|
1125
1132
|
# resp.canaries_last_run[0].last_run.name #=> String
|
1126
1133
|
# resp.canaries_last_run[0].last_run.status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
|
1127
1134
|
# resp.canaries_last_run[0].last_run.status.state_reason #=> String
|
1128
1135
|
# resp.canaries_last_run[0].last_run.status.state_reason_code #=> String, one of "CANARY_FAILURE", "EXECUTION_FAILURE"
|
1129
1136
|
# resp.canaries_last_run[0].last_run.timeline.started #=> Time
|
1130
1137
|
# resp.canaries_last_run[0].last_run.timeline.completed #=> Time
|
1138
|
+
# resp.canaries_last_run[0].last_run.timeline.metric_timestamp_for_run_and_retries #=> Time
|
1131
1139
|
# resp.canaries_last_run[0].last_run.artifact_s3_location #=> String
|
1132
1140
|
# resp.canaries_last_run[0].last_run.dry_run_config.dry_run_id #=> String
|
1133
1141
|
# resp.next_token #=> String
|
@@ -1254,6 +1262,7 @@ module Aws::Synthetics
|
|
1254
1262
|
# resp.canary.execution_role_arn #=> String
|
1255
1263
|
# resp.canary.schedule.expression #=> String
|
1256
1264
|
# resp.canary.schedule.duration_in_seconds #=> Integer
|
1265
|
+
# resp.canary.schedule.retry_config.max_retries #=> Integer
|
1257
1266
|
# resp.canary.run_config.timeout_in_seconds #=> Integer
|
1258
1267
|
# resp.canary.run_config.memory_in_mb #=> Integer
|
1259
1268
|
# resp.canary.run_config.active_tracing #=> Boolean
|
@@ -1307,6 +1316,12 @@ module Aws::Synthetics
|
|
1307
1316
|
# this token in a subsequent `GetCanaryRuns` operation to retrieve the
|
1308
1317
|
# next set of results.
|
1309
1318
|
#
|
1319
|
+
# <note markdown="1"> When auto retry is enabled for the canary, the first subsequent retry
|
1320
|
+
# is suffixed with *1 indicating its the first retry and the next
|
1321
|
+
# subsequent try is suffixed with *2.
|
1322
|
+
#
|
1323
|
+
# </note>
|
1324
|
+
#
|
1310
1325
|
# @option params [Integer] :max_results
|
1311
1326
|
# Specify this parameter to limit how many runs are returned each time
|
1312
1327
|
# you use the `GetCanaryRuns` operation. If you omit this parameter, the
|
@@ -1350,12 +1365,15 @@ module Aws::Synthetics
|
|
1350
1365
|
#
|
1351
1366
|
# resp.canary_runs #=> Array
|
1352
1367
|
# resp.canary_runs[0].id #=> String
|
1368
|
+
# resp.canary_runs[0].scheduled_run_id #=> String
|
1369
|
+
# resp.canary_runs[0].retry_attempt #=> Integer
|
1353
1370
|
# resp.canary_runs[0].name #=> String
|
1354
1371
|
# resp.canary_runs[0].status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
|
1355
1372
|
# resp.canary_runs[0].status.state_reason #=> String
|
1356
1373
|
# resp.canary_runs[0].status.state_reason_code #=> String, one of "CANARY_FAILURE", "EXECUTION_FAILURE"
|
1357
1374
|
# resp.canary_runs[0].timeline.started #=> Time
|
1358
1375
|
# resp.canary_runs[0].timeline.completed #=> Time
|
1376
|
+
# resp.canary_runs[0].timeline.metric_timestamp_for_run_and_retries #=> Time
|
1359
1377
|
# resp.canary_runs[0].artifact_s3_location #=> String
|
1360
1378
|
# resp.canary_runs[0].dry_run_config.dry_run_id #=> String
|
1361
1379
|
# resp.next_token #=> String
|
@@ -2090,6 +2108,9 @@ module Aws::Synthetics
|
|
2090
2108
|
# schedule: {
|
2091
2109
|
# expression: "String", # required
|
2092
2110
|
# duration_in_seconds: 1,
|
2111
|
+
# retry_config: {
|
2112
|
+
# max_retries: 1, # required
|
2113
|
+
# },
|
2093
2114
|
# },
|
2094
2115
|
# run_config: {
|
2095
2116
|
# timeout_in_seconds: 1,
|
@@ -2153,7 +2174,7 @@ module Aws::Synthetics
|
|
2153
2174
|
tracer: tracer
|
2154
2175
|
)
|
2155
2176
|
context[:gem_name] = 'aws-sdk-synthetics'
|
2156
|
-
context[:gem_version] = '1.
|
2177
|
+
context[:gem_version] = '1.64.0'
|
2157
2178
|
Seahorse::Client::Request.new(handlers, context)
|
2158
2179
|
end
|
2159
2180
|
|
@@ -102,6 +102,7 @@ module Aws::Synthetics
|
|
102
102
|
MaxFifteenMinutesInSeconds = Shapes::IntegerShape.new(name: 'MaxFifteenMinutesInSeconds')
|
103
103
|
MaxGroupResults = Shapes::IntegerShape.new(name: 'MaxGroupResults')
|
104
104
|
MaxOneYearInSeconds = Shapes::IntegerShape.new(name: 'MaxOneYearInSeconds')
|
105
|
+
MaxRetries = Shapes::IntegerShape.new(name: 'MaxRetries')
|
105
106
|
MaxSize100 = Shapes::IntegerShape.new(name: 'MaxSize100')
|
106
107
|
MaxSize1024 = Shapes::IntegerShape.new(name: 'MaxSize1024')
|
107
108
|
MaxSize3008 = Shapes::IntegerShape.new(name: 'MaxSize3008')
|
@@ -114,6 +115,9 @@ module Aws::Synthetics
|
|
114
115
|
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
115
116
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
116
117
|
ResourceToTag = Shapes::StringShape.new(name: 'ResourceToTag')
|
118
|
+
RetryAttempt = Shapes::IntegerShape.new(name: 'RetryAttempt')
|
119
|
+
RetryConfigInput = Shapes::StructureShape.new(name: 'RetryConfigInput')
|
120
|
+
RetryConfigOutput = Shapes::StructureShape.new(name: 'RetryConfigOutput')
|
117
121
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
118
122
|
RunType = Shapes::StringShape.new(name: 'RunType')
|
119
123
|
RuntimeVersion = Shapes::StructureShape.new(name: 'RuntimeVersion')
|
@@ -224,6 +228,8 @@ module Aws::Synthetics
|
|
224
228
|
CanaryLastRun.struct_class = Types::CanaryLastRun
|
225
229
|
|
226
230
|
CanaryRun.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
|
231
|
+
CanaryRun.add_member(:scheduled_run_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ScheduledRunId"))
|
232
|
+
CanaryRun.add_member(:retry_attempt, Shapes::ShapeRef.new(shape: RetryAttempt, location_name: "RetryAttempt"))
|
227
233
|
CanaryRun.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, location_name: "Name"))
|
228
234
|
CanaryRun.add_member(:status, Shapes::ShapeRef.new(shape: CanaryRunStatus, location_name: "Status"))
|
229
235
|
CanaryRun.add_member(:timeline, Shapes::ShapeRef.new(shape: CanaryRunTimeline, location_name: "Timeline"))
|
@@ -249,16 +255,19 @@ module Aws::Synthetics
|
|
249
255
|
|
250
256
|
CanaryRunTimeline.add_member(:started, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Started"))
|
251
257
|
CanaryRunTimeline.add_member(:completed, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Completed"))
|
258
|
+
CanaryRunTimeline.add_member(:metric_timestamp_for_run_and_retries, Shapes::ShapeRef.new(shape: Timestamp, location_name: "MetricTimestampForRunAndRetries"))
|
252
259
|
CanaryRunTimeline.struct_class = Types::CanaryRunTimeline
|
253
260
|
|
254
261
|
CanaryRuns.member = Shapes::ShapeRef.new(shape: CanaryRun)
|
255
262
|
|
256
263
|
CanaryScheduleInput.add_member(:expression, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Expression"))
|
257
264
|
CanaryScheduleInput.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: MaxOneYearInSeconds, location_name: "DurationInSeconds"))
|
265
|
+
CanaryScheduleInput.add_member(:retry_config, Shapes::ShapeRef.new(shape: RetryConfigInput, location_name: "RetryConfig"))
|
258
266
|
CanaryScheduleInput.struct_class = Types::CanaryScheduleInput
|
259
267
|
|
260
268
|
CanaryScheduleOutput.add_member(:expression, Shapes::ShapeRef.new(shape: String, location_name: "Expression"))
|
261
269
|
CanaryScheduleOutput.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: MaxOneYearInSeconds, location_name: "DurationInSeconds"))
|
270
|
+
CanaryScheduleOutput.add_member(:retry_config, Shapes::ShapeRef.new(shape: RetryConfigOutput, location_name: "RetryConfig"))
|
262
271
|
CanaryScheduleOutput.struct_class = Types::CanaryScheduleOutput
|
263
272
|
|
264
273
|
CanaryStatus.add_member(:state, Shapes::ShapeRef.new(shape: CanaryState, location_name: "State"))
|
@@ -443,6 +452,12 @@ module Aws::Synthetics
|
|
443
452
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
444
453
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
445
454
|
|
455
|
+
RetryConfigInput.add_member(:max_retries, Shapes::ShapeRef.new(shape: MaxRetries, required: true, location_name: "MaxRetries"))
|
456
|
+
RetryConfigInput.struct_class = Types::RetryConfigInput
|
457
|
+
|
458
|
+
RetryConfigOutput.add_member(:max_retries, Shapes::ShapeRef.new(shape: MaxRetries, location_name: "MaxRetries"))
|
459
|
+
RetryConfigOutput.struct_class = Types::RetryConfigOutput
|
460
|
+
|
446
461
|
RuntimeVersion.add_member(:version_name, Shapes::ShapeRef.new(shape: String, location_name: "VersionName"))
|
447
462
|
RuntimeVersion.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
448
463
|
RuntimeVersion.add_member(:release_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReleaseDate"))
|
@@ -431,6 +431,14 @@ module Aws::Synthetics
|
|
431
431
|
# A unique ID that identifies this canary run.
|
432
432
|
# @return [String]
|
433
433
|
#
|
434
|
+
# @!attribute [rw] scheduled_run_id
|
435
|
+
# The ID of the scheduled canary run.
|
436
|
+
# @return [String]
|
437
|
+
#
|
438
|
+
# @!attribute [rw] retry_attempt
|
439
|
+
# The count in number of the retry attempt.
|
440
|
+
# @return [Integer]
|
441
|
+
#
|
434
442
|
# @!attribute [rw] name
|
435
443
|
# The name of the canary.
|
436
444
|
# @return [String]
|
@@ -456,6 +464,8 @@ module Aws::Synthetics
|
|
456
464
|
#
|
457
465
|
class CanaryRun < Struct.new(
|
458
466
|
:id,
|
467
|
+
:scheduled_run_id,
|
468
|
+
:retry_attempt,
|
459
469
|
:name,
|
460
470
|
:status,
|
461
471
|
:timeline,
|
@@ -593,11 +603,17 @@ module Aws::Synthetics
|
|
593
603
|
# The end time of the run.
|
594
604
|
# @return [Time]
|
595
605
|
#
|
606
|
+
# @!attribute [rw] metric_timestamp_for_run_and_retries
|
607
|
+
# The time at which the metrics will be generated for this run or
|
608
|
+
# retries.
|
609
|
+
# @return [Time]
|
610
|
+
#
|
596
611
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunTimeline AWS API Documentation
|
597
612
|
#
|
598
613
|
class CanaryRunTimeline < Struct.new(
|
599
614
|
:started,
|
600
|
-
:completed
|
615
|
+
:completed,
|
616
|
+
:metric_timestamp_for_run_and_retries)
|
601
617
|
SENSITIVE = []
|
602
618
|
include Aws::Structure
|
603
619
|
end
|
@@ -637,11 +653,16 @@ module Aws::Synthetics
|
|
637
653
|
# this field, the default of 0 is used.
|
638
654
|
# @return [Integer]
|
639
655
|
#
|
656
|
+
# @!attribute [rw] retry_config
|
657
|
+
# A structure that contains the retry configuration for a canary
|
658
|
+
# @return [Types::RetryConfigInput]
|
659
|
+
#
|
640
660
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryScheduleInput AWS API Documentation
|
641
661
|
#
|
642
662
|
class CanaryScheduleInput < Struct.new(
|
643
663
|
:expression,
|
644
|
-
:duration_in_seconds
|
664
|
+
:duration_in_seconds,
|
665
|
+
:retry_config)
|
645
666
|
SENSITIVE = []
|
646
667
|
include Aws::Structure
|
647
668
|
end
|
@@ -679,11 +700,16 @@ module Aws::Synthetics
|
|
679
700
|
# schedule in the `Expression` value.
|
680
701
|
# @return [Integer]
|
681
702
|
#
|
703
|
+
# @!attribute [rw] retry_config
|
704
|
+
# A structure that contains the retry configuration for a canary
|
705
|
+
# @return [Types::RetryConfigOutput]
|
706
|
+
#
|
682
707
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryScheduleOutput AWS API Documentation
|
683
708
|
#
|
684
709
|
class CanaryScheduleOutput < Struct.new(
|
685
710
|
:expression,
|
686
|
-
:duration_in_seconds
|
711
|
+
:duration_in_seconds,
|
712
|
+
:retry_config)
|
687
713
|
SENSITIVE = []
|
688
714
|
include Aws::Structure
|
689
715
|
end
|
@@ -695,13 +721,13 @@ module Aws::Synthetics
|
|
695
721
|
# @return [String]
|
696
722
|
#
|
697
723
|
# @!attribute [rw] state_reason
|
698
|
-
# If the canary
|
699
|
-
#
|
724
|
+
# If the canary creation or update failed, this field provides details
|
725
|
+
# on the failure.
|
700
726
|
# @return [String]
|
701
727
|
#
|
702
728
|
# @!attribute [rw] state_reason_code
|
703
|
-
# If the canary
|
704
|
-
# reason.
|
729
|
+
# If the canary creation or update failed, this field displays the
|
730
|
+
# reason code.
|
705
731
|
# @return [String]
|
706
732
|
#
|
707
733
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryStatus AWS API Documentation
|
@@ -1281,6 +1307,12 @@ module Aws::Synthetics
|
|
1281
1307
|
# A token that indicates that there is more data available. You can
|
1282
1308
|
# use this token in a subsequent `GetCanaryRuns` operation to retrieve
|
1283
1309
|
# the next set of results.
|
1310
|
+
#
|
1311
|
+
# <note markdown="1"> When auto retry is enabled for the canary, the first subsequent
|
1312
|
+
# retry is suffixed with *1 indicating its the first retry and the
|
1313
|
+
# next subsequent try is suffixed with *2.
|
1314
|
+
#
|
1315
|
+
# </note>
|
1284
1316
|
# @return [String]
|
1285
1317
|
#
|
1286
1318
|
# @!attribute [rw] max_results
|
@@ -1658,6 +1690,56 @@ module Aws::Synthetics
|
|
1658
1690
|
include Aws::Structure
|
1659
1691
|
end
|
1660
1692
|
|
1693
|
+
# This structure contains information about the canary's retry
|
1694
|
+
# configuration.
|
1695
|
+
#
|
1696
|
+
# <note markdown="1"> The default account level concurrent execution limit from Lambda is
|
1697
|
+
# 1000. When you have more than 1000 canaries, it's possible there are
|
1698
|
+
# more than 1000 Lambda invocations due to retries and the console might
|
1699
|
+
# hang. For more information on the Lambda execution limit, see
|
1700
|
+
# [Understanding Lambda function scaling][1].
|
1701
|
+
#
|
1702
|
+
# </note>
|
1703
|
+
#
|
1704
|
+
# <note markdown="1"> For canary with `MaxRetries = 2`, you need to set the
|
1705
|
+
# `CanaryRunConfigInput.TimeoutInSeconds` to less than 600 seconds to
|
1706
|
+
# avoid validation errors.
|
1707
|
+
#
|
1708
|
+
# </note>
|
1709
|
+
#
|
1710
|
+
#
|
1711
|
+
#
|
1712
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-concurrency.html#:~:text=As%20your%20functions%20receive%20more,functions%20in%20an%20AWS%20Region
|
1713
|
+
#
|
1714
|
+
# @!attribute [rw] max_retries
|
1715
|
+
# The maximum number of retries. The value must be less than or equal
|
1716
|
+
# to 2.
|
1717
|
+
# @return [Integer]
|
1718
|
+
#
|
1719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/RetryConfigInput AWS API Documentation
|
1720
|
+
#
|
1721
|
+
class RetryConfigInput < Struct.new(
|
1722
|
+
:max_retries)
|
1723
|
+
SENSITIVE = []
|
1724
|
+
include Aws::Structure
|
1725
|
+
end
|
1726
|
+
|
1727
|
+
# This structure contains information about the canary's retry
|
1728
|
+
# configuration.
|
1729
|
+
#
|
1730
|
+
# @!attribute [rw] max_retries
|
1731
|
+
# The maximum number of retries. The value must be less than or equal
|
1732
|
+
# to 2.
|
1733
|
+
# @return [Integer]
|
1734
|
+
#
|
1735
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/RetryConfigOutput AWS API Documentation
|
1736
|
+
#
|
1737
|
+
class RetryConfigOutput < Struct.new(
|
1738
|
+
:max_retries)
|
1739
|
+
SENSITIVE = []
|
1740
|
+
include Aws::Structure
|
1741
|
+
end
|
1742
|
+
|
1661
1743
|
# This structure contains information about one canary runtime version.
|
1662
1744
|
# For more information about runtime versions, see [ Canary Runtime
|
1663
1745
|
# Versions][1].
|
data/lib/aws-sdk-synthetics.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -105,7 +105,10 @@ module Aws
|
|
105
105
|
execution_role_arn: ::String,
|
106
106
|
schedule: {
|
107
107
|
expression: ::String,
|
108
|
-
duration_in_seconds: ::Integer
|
108
|
+
duration_in_seconds: ::Integer?,
|
109
|
+
retry_config: {
|
110
|
+
max_retries: ::Integer
|
111
|
+
}?
|
109
112
|
},
|
110
113
|
?run_config: {
|
111
114
|
timeout_in_seconds: ::Integer?,
|
@@ -399,7 +402,10 @@ module Aws
|
|
399
402
|
?runtime_version: ::String,
|
400
403
|
?schedule: {
|
401
404
|
expression: ::String,
|
402
|
-
duration_in_seconds: ::Integer
|
405
|
+
duration_in_seconds: ::Integer?,
|
406
|
+
retry_config: {
|
407
|
+
max_retries: ::Integer
|
408
|
+
}?
|
403
409
|
},
|
404
410
|
?run_config: {
|
405
411
|
timeout_in_seconds: ::Integer?,
|
data/sig/types.rbs
CHANGED
@@ -94,6 +94,8 @@ module Aws::Synthetics
|
|
94
94
|
|
95
95
|
class CanaryRun
|
96
96
|
attr_accessor id: ::String
|
97
|
+
attr_accessor scheduled_run_id: ::String
|
98
|
+
attr_accessor retry_attempt: ::Integer
|
97
99
|
attr_accessor name: ::String
|
98
100
|
attr_accessor status: Types::CanaryRunStatus
|
99
101
|
attr_accessor timeline: Types::CanaryRunTimeline
|
@@ -127,18 +129,21 @@ module Aws::Synthetics
|
|
127
129
|
class CanaryRunTimeline
|
128
130
|
attr_accessor started: ::Time
|
129
131
|
attr_accessor completed: ::Time
|
132
|
+
attr_accessor metric_timestamp_for_run_and_retries: ::Time
|
130
133
|
SENSITIVE: []
|
131
134
|
end
|
132
135
|
|
133
136
|
class CanaryScheduleInput
|
134
137
|
attr_accessor expression: ::String
|
135
138
|
attr_accessor duration_in_seconds: ::Integer
|
139
|
+
attr_accessor retry_config: Types::RetryConfigInput
|
136
140
|
SENSITIVE: []
|
137
141
|
end
|
138
142
|
|
139
143
|
class CanaryScheduleOutput
|
140
144
|
attr_accessor expression: ::String
|
141
145
|
attr_accessor duration_in_seconds: ::Integer
|
146
|
+
attr_accessor retry_config: Types::RetryConfigOutput
|
142
147
|
SENSITIVE: []
|
143
148
|
end
|
144
149
|
|
@@ -392,6 +397,16 @@ module Aws::Synthetics
|
|
392
397
|
SENSITIVE: []
|
393
398
|
end
|
394
399
|
|
400
|
+
class RetryConfigInput
|
401
|
+
attr_accessor max_retries: ::Integer
|
402
|
+
SENSITIVE: []
|
403
|
+
end
|
404
|
+
|
405
|
+
class RetryConfigOutput
|
406
|
+
attr_accessor max_retries: ::Integer
|
407
|
+
SENSITIVE: []
|
408
|
+
end
|
409
|
+
|
395
410
|
class RuntimeVersion
|
396
411
|
attr_accessor version_name: ::String
|
397
412
|
attr_accessor description: ::String
|