aws-sdk-synthetics 1.63.0 → 1.65.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-synthetics/client.rb +23 -3
- 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: eaa0b7085a179640d70b8026d92a07ba5417935c811008e741f4eeed8aeaaf62
|
4
|
+
data.tar.gz: 89126a1f4b91444e5f00617e2cb138b70cd475830cb33601dac39a10e6f68458
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a300869cd376ec9c6d32598558711421b4348e1395ea0415b4ccebe6bd4ebbc7b4f56661499de9bb16bc83dba43019ee4c123db2cd0308c4c4f56aa6fcf17641
|
7
|
+
data.tar.gz: 03bdd147197eaced627eb97bcaeeaf7ba8af18ce379522171429b04d7a413d40bdde44233fa0337440660d27c76f25c5c0136f7e3e4a9bfd2f61465c766d81d8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.65.0 (2025-05-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.64.0 (2025-05-09)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.63.0 (2025-05-07)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.65.0
|
@@ -200,8 +200,7 @@ module Aws::Synthetics
|
|
200
200
|
# accepted modes and the configuration defaults that are included.
|
201
201
|
#
|
202
202
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
203
|
-
#
|
204
|
-
# to default service endpoint when available.
|
203
|
+
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
205
204
|
#
|
206
205
|
# @option options [Boolean] :disable_request_compression (false)
|
207
206
|
# When set to 'true' the request body will not be compressed
|
@@ -688,6 +687,9 @@ module Aws::Synthetics
|
|
688
687
|
# schedule: { # required
|
689
688
|
# expression: "String", # required
|
690
689
|
# duration_in_seconds: 1,
|
690
|
+
# retry_config: {
|
691
|
+
# max_retries: 1, # required
|
692
|
+
# },
|
691
693
|
# },
|
692
694
|
# run_config: {
|
693
695
|
# timeout_in_seconds: 1,
|
@@ -727,6 +729,7 @@ module Aws::Synthetics
|
|
727
729
|
# resp.canary.execution_role_arn #=> String
|
728
730
|
# resp.canary.schedule.expression #=> String
|
729
731
|
# resp.canary.schedule.duration_in_seconds #=> Integer
|
732
|
+
# resp.canary.schedule.retry_config.max_retries #=> Integer
|
730
733
|
# resp.canary.run_config.timeout_in_seconds #=> Integer
|
731
734
|
# resp.canary.run_config.memory_in_mb #=> Integer
|
732
735
|
# resp.canary.run_config.active_tracing #=> Boolean
|
@@ -1011,6 +1014,7 @@ module Aws::Synthetics
|
|
1011
1014
|
# resp.canaries[0].execution_role_arn #=> String
|
1012
1015
|
# resp.canaries[0].schedule.expression #=> String
|
1013
1016
|
# resp.canaries[0].schedule.duration_in_seconds #=> Integer
|
1017
|
+
# resp.canaries[0].schedule.retry_config.max_retries #=> Integer
|
1014
1018
|
# resp.canaries[0].run_config.timeout_in_seconds #=> Integer
|
1015
1019
|
# resp.canaries[0].run_config.memory_in_mb #=> Integer
|
1016
1020
|
# resp.canaries[0].run_config.active_tracing #=> Boolean
|
@@ -1122,12 +1126,15 @@ module Aws::Synthetics
|
|
1122
1126
|
# resp.canaries_last_run #=> Array
|
1123
1127
|
# resp.canaries_last_run[0].canary_name #=> String
|
1124
1128
|
# resp.canaries_last_run[0].last_run.id #=> String
|
1129
|
+
# resp.canaries_last_run[0].last_run.scheduled_run_id #=> String
|
1130
|
+
# resp.canaries_last_run[0].last_run.retry_attempt #=> Integer
|
1125
1131
|
# resp.canaries_last_run[0].last_run.name #=> String
|
1126
1132
|
# resp.canaries_last_run[0].last_run.status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
|
1127
1133
|
# resp.canaries_last_run[0].last_run.status.state_reason #=> String
|
1128
1134
|
# resp.canaries_last_run[0].last_run.status.state_reason_code #=> String, one of "CANARY_FAILURE", "EXECUTION_FAILURE"
|
1129
1135
|
# resp.canaries_last_run[0].last_run.timeline.started #=> Time
|
1130
1136
|
# resp.canaries_last_run[0].last_run.timeline.completed #=> Time
|
1137
|
+
# resp.canaries_last_run[0].last_run.timeline.metric_timestamp_for_run_and_retries #=> Time
|
1131
1138
|
# resp.canaries_last_run[0].last_run.artifact_s3_location #=> String
|
1132
1139
|
# resp.canaries_last_run[0].last_run.dry_run_config.dry_run_id #=> String
|
1133
1140
|
# resp.next_token #=> String
|
@@ -1254,6 +1261,7 @@ module Aws::Synthetics
|
|
1254
1261
|
# resp.canary.execution_role_arn #=> String
|
1255
1262
|
# resp.canary.schedule.expression #=> String
|
1256
1263
|
# resp.canary.schedule.duration_in_seconds #=> Integer
|
1264
|
+
# resp.canary.schedule.retry_config.max_retries #=> Integer
|
1257
1265
|
# resp.canary.run_config.timeout_in_seconds #=> Integer
|
1258
1266
|
# resp.canary.run_config.memory_in_mb #=> Integer
|
1259
1267
|
# resp.canary.run_config.active_tracing #=> Boolean
|
@@ -1307,6 +1315,12 @@ module Aws::Synthetics
|
|
1307
1315
|
# this token in a subsequent `GetCanaryRuns` operation to retrieve the
|
1308
1316
|
# next set of results.
|
1309
1317
|
#
|
1318
|
+
# <note markdown="1"> When auto retry is enabled for the canary, the first subsequent retry
|
1319
|
+
# is suffixed with *1 indicating its the first retry and the next
|
1320
|
+
# subsequent try is suffixed with *2.
|
1321
|
+
#
|
1322
|
+
# </note>
|
1323
|
+
#
|
1310
1324
|
# @option params [Integer] :max_results
|
1311
1325
|
# Specify this parameter to limit how many runs are returned each time
|
1312
1326
|
# you use the `GetCanaryRuns` operation. If you omit this parameter, the
|
@@ -1350,12 +1364,15 @@ module Aws::Synthetics
|
|
1350
1364
|
#
|
1351
1365
|
# resp.canary_runs #=> Array
|
1352
1366
|
# resp.canary_runs[0].id #=> String
|
1367
|
+
# resp.canary_runs[0].scheduled_run_id #=> String
|
1368
|
+
# resp.canary_runs[0].retry_attempt #=> Integer
|
1353
1369
|
# resp.canary_runs[0].name #=> String
|
1354
1370
|
# resp.canary_runs[0].status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
|
1355
1371
|
# resp.canary_runs[0].status.state_reason #=> String
|
1356
1372
|
# resp.canary_runs[0].status.state_reason_code #=> String, one of "CANARY_FAILURE", "EXECUTION_FAILURE"
|
1357
1373
|
# resp.canary_runs[0].timeline.started #=> Time
|
1358
1374
|
# resp.canary_runs[0].timeline.completed #=> Time
|
1375
|
+
# resp.canary_runs[0].timeline.metric_timestamp_for_run_and_retries #=> Time
|
1359
1376
|
# resp.canary_runs[0].artifact_s3_location #=> String
|
1360
1377
|
# resp.canary_runs[0].dry_run_config.dry_run_id #=> String
|
1361
1378
|
# resp.next_token #=> String
|
@@ -2090,6 +2107,9 @@ module Aws::Synthetics
|
|
2090
2107
|
# schedule: {
|
2091
2108
|
# expression: "String", # required
|
2092
2109
|
# duration_in_seconds: 1,
|
2110
|
+
# retry_config: {
|
2111
|
+
# max_retries: 1, # required
|
2112
|
+
# },
|
2093
2113
|
# },
|
2094
2114
|
# run_config: {
|
2095
2115
|
# timeout_in_seconds: 1,
|
@@ -2153,7 +2173,7 @@ module Aws::Synthetics
|
|
2153
2173
|
tracer: tracer
|
2154
2174
|
)
|
2155
2175
|
context[:gem_name] = 'aws-sdk-synthetics'
|
2156
|
-
context[:gem_version] = '1.
|
2176
|
+
context[:gem_version] = '1.65.0'
|
2157
2177
|
Seahorse::Client::Request.new(handlers, context)
|
2158
2178
|
end
|
2159
2179
|
|
@@ -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
|