aws-sdk-synthetics 1.62.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-synthetics/client.rb +303 -5
- data/lib/aws-sdk-synthetics/client_api.rb +68 -0
- data/lib/aws-sdk-synthetics/errors.rb +16 -0
- data/lib/aws-sdk-synthetics/types.rb +423 -20
- data/lib/aws-sdk-synthetics.rb +1 -1
- data/sig/client.rbs +64 -5
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +58 -0
- metadata +1 -1
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?,
|
@@ -217,7 +220,8 @@ module Aws
|
|
217
220
|
end
|
218
221
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Synthetics/Client.html#get_canary-instance_method
|
219
222
|
def get_canary: (
|
220
|
-
name: ::String
|
223
|
+
name: ::String,
|
224
|
+
?dry_run_id: ::String
|
221
225
|
) -> _GetCanaryResponseSuccess
|
222
226
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCanaryResponseSuccess
|
223
227
|
|
@@ -230,7 +234,9 @@ module Aws
|
|
230
234
|
def get_canary_runs: (
|
231
235
|
name: ::String,
|
232
236
|
?next_token: ::String,
|
233
|
-
?max_results: ::Integer
|
237
|
+
?max_results: ::Integer,
|
238
|
+
?dry_run_id: ::String,
|
239
|
+
?run_type: ("CANARY_RUN" | "DRY_RUN")
|
234
240
|
) -> _GetCanaryRunsResponseSuccess
|
235
241
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCanaryRunsResponseSuccess
|
236
242
|
|
@@ -301,6 +307,55 @@ module Aws
|
|
301
307
|
) -> _StartCanaryResponseSuccess
|
302
308
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCanaryResponseSuccess
|
303
309
|
|
310
|
+
interface _StartCanaryDryRunResponseSuccess
|
311
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartCanaryDryRunResponse]
|
312
|
+
def dry_run_config: () -> Types::DryRunConfigOutput
|
313
|
+
end
|
314
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Synthetics/Client.html#start_canary_dry_run-instance_method
|
315
|
+
def start_canary_dry_run: (
|
316
|
+
name: ::String,
|
317
|
+
?code: {
|
318
|
+
s3_bucket: ::String?,
|
319
|
+
s3_key: ::String?,
|
320
|
+
s3_version: ::String?,
|
321
|
+
zip_file: ::String?,
|
322
|
+
handler: ::String
|
323
|
+
},
|
324
|
+
?runtime_version: ::String,
|
325
|
+
?run_config: {
|
326
|
+
timeout_in_seconds: ::Integer?,
|
327
|
+
memory_in_mb: ::Integer?,
|
328
|
+
active_tracing: bool?,
|
329
|
+
environment_variables: Hash[::String, ::String]?
|
330
|
+
},
|
331
|
+
?vpc_config: {
|
332
|
+
subnet_ids: Array[::String]?,
|
333
|
+
security_group_ids: Array[::String]?,
|
334
|
+
ipv_6_allowed_for_dual_stack: bool?
|
335
|
+
},
|
336
|
+
?execution_role_arn: ::String,
|
337
|
+
?success_retention_period_in_days: ::Integer,
|
338
|
+
?failure_retention_period_in_days: ::Integer,
|
339
|
+
?visual_reference: {
|
340
|
+
base_screenshots: Array[
|
341
|
+
{
|
342
|
+
screenshot_name: ::String,
|
343
|
+
ignore_coordinates: Array[::String]?
|
344
|
+
},
|
345
|
+
]?,
|
346
|
+
base_canary_run_id: ::String
|
347
|
+
},
|
348
|
+
?artifact_s3_location: ::String,
|
349
|
+
?artifact_config: {
|
350
|
+
s3_encryption: {
|
351
|
+
encryption_mode: ("SSE_S3" | "SSE_KMS")?,
|
352
|
+
kms_key_arn: ::String?
|
353
|
+
}?
|
354
|
+
},
|
355
|
+
?provisioned_resource_cleanup: ("AUTOMATIC" | "OFF")
|
356
|
+
) -> _StartCanaryDryRunResponseSuccess
|
357
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCanaryDryRunResponseSuccess
|
358
|
+
|
304
359
|
interface _StopCanaryResponseSuccess
|
305
360
|
include ::Seahorse::Client::_ResponseSuccess[Types::StopCanaryResponse]
|
306
361
|
end
|
@@ -347,7 +402,10 @@ module Aws
|
|
347
402
|
?runtime_version: ::String,
|
348
403
|
?schedule: {
|
349
404
|
expression: ::String,
|
350
|
-
duration_in_seconds: ::Integer
|
405
|
+
duration_in_seconds: ::Integer?,
|
406
|
+
retry_config: {
|
407
|
+
max_retries: ::Integer
|
408
|
+
}?
|
351
409
|
},
|
352
410
|
?run_config: {
|
353
411
|
timeout_in_seconds: ::Integer?,
|
@@ -378,7 +436,8 @@ module Aws
|
|
378
436
|
kms_key_arn: ::String?
|
379
437
|
}?
|
380
438
|
},
|
381
|
-
?provisioned_resource_cleanup: ("AUTOMATIC" | "OFF")
|
439
|
+
?provisioned_resource_cleanup: ("AUTOMATIC" | "OFF"),
|
440
|
+
?dry_run_id: ::String
|
382
441
|
) -> _UpdateCanaryResponseSuccess
|
383
442
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCanaryResponseSuccess
|
384
443
|
end
|
data/sig/errors.rbs
CHANGED
@@ -11,6 +11,9 @@ module Aws
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
12
12
|
end
|
13
13
|
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
14
17
|
class BadRequestException < ::Aws::Errors::ServiceError
|
15
18
|
def message: () -> ::String
|
16
19
|
end
|
data/sig/types.rbs
CHANGED
@@ -8,6 +8,11 @@
|
|
8
8
|
module Aws::Synthetics
|
9
9
|
module Types
|
10
10
|
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
11
16
|
class ArtifactConfigInput
|
12
17
|
attr_accessor s3_encryption: Types::S3EncryptionConfig
|
13
18
|
SENSITIVE: []
|
@@ -57,6 +62,7 @@ module Aws::Synthetics
|
|
57
62
|
attr_accessor provisioned_resource_cleanup: ("AUTOMATIC" | "OFF")
|
58
63
|
attr_accessor tags: ::Hash[::String, ::String]
|
59
64
|
attr_accessor artifact_config: Types::ArtifactConfigOutput
|
65
|
+
attr_accessor dry_run_config: Types::DryRunConfigOutput
|
60
66
|
SENSITIVE: []
|
61
67
|
end
|
62
68
|
|
@@ -75,6 +81,11 @@ module Aws::Synthetics
|
|
75
81
|
SENSITIVE: []
|
76
82
|
end
|
77
83
|
|
84
|
+
class CanaryDryRunConfigOutput
|
85
|
+
attr_accessor dry_run_id: ::String
|
86
|
+
SENSITIVE: []
|
87
|
+
end
|
88
|
+
|
78
89
|
class CanaryLastRun
|
79
90
|
attr_accessor canary_name: ::String
|
80
91
|
attr_accessor last_run: Types::CanaryRun
|
@@ -83,10 +94,13 @@ module Aws::Synthetics
|
|
83
94
|
|
84
95
|
class CanaryRun
|
85
96
|
attr_accessor id: ::String
|
97
|
+
attr_accessor scheduled_run_id: ::String
|
98
|
+
attr_accessor retry_attempt: ::Integer
|
86
99
|
attr_accessor name: ::String
|
87
100
|
attr_accessor status: Types::CanaryRunStatus
|
88
101
|
attr_accessor timeline: Types::CanaryRunTimeline
|
89
102
|
attr_accessor artifact_s3_location: ::String
|
103
|
+
attr_accessor dry_run_config: Types::CanaryDryRunConfigOutput
|
90
104
|
SENSITIVE: []
|
91
105
|
end
|
92
106
|
|
@@ -115,18 +129,21 @@ module Aws::Synthetics
|
|
115
129
|
class CanaryRunTimeline
|
116
130
|
attr_accessor started: ::Time
|
117
131
|
attr_accessor completed: ::Time
|
132
|
+
attr_accessor metric_timestamp_for_run_and_retries: ::Time
|
118
133
|
SENSITIVE: []
|
119
134
|
end
|
120
135
|
|
121
136
|
class CanaryScheduleInput
|
122
137
|
attr_accessor expression: ::String
|
123
138
|
attr_accessor duration_in_seconds: ::Integer
|
139
|
+
attr_accessor retry_config: Types::RetryConfigInput
|
124
140
|
SENSITIVE: []
|
125
141
|
end
|
126
142
|
|
127
143
|
class CanaryScheduleOutput
|
128
144
|
attr_accessor expression: ::String
|
129
145
|
attr_accessor duration_in_seconds: ::Integer
|
146
|
+
attr_accessor retry_config: Types::RetryConfigOutput
|
130
147
|
SENSITIVE: []
|
131
148
|
end
|
132
149
|
|
@@ -248,8 +265,15 @@ module Aws::Synthetics
|
|
248
265
|
class DisassociateResourceResponse < Aws::EmptyStructure
|
249
266
|
end
|
250
267
|
|
268
|
+
class DryRunConfigOutput
|
269
|
+
attr_accessor dry_run_id: ::String
|
270
|
+
attr_accessor last_dry_run_execution_status: ::String
|
271
|
+
SENSITIVE: []
|
272
|
+
end
|
273
|
+
|
251
274
|
class GetCanaryRequest
|
252
275
|
attr_accessor name: ::String
|
276
|
+
attr_accessor dry_run_id: ::String
|
253
277
|
SENSITIVE: []
|
254
278
|
end
|
255
279
|
|
@@ -262,6 +286,8 @@ module Aws::Synthetics
|
|
262
286
|
attr_accessor name: ::String
|
263
287
|
attr_accessor next_token: ::String
|
264
288
|
attr_accessor max_results: ::Integer
|
289
|
+
attr_accessor dry_run_id: ::String
|
290
|
+
attr_accessor run_type: ("CANARY_RUN" | "DRY_RUN")
|
265
291
|
SENSITIVE: []
|
266
292
|
end
|
267
293
|
|
@@ -371,6 +397,16 @@ module Aws::Synthetics
|
|
371
397
|
SENSITIVE: []
|
372
398
|
end
|
373
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
|
+
|
374
410
|
class RuntimeVersion
|
375
411
|
attr_accessor version_name: ::String
|
376
412
|
attr_accessor description: ::String
|
@@ -390,6 +426,27 @@ module Aws::Synthetics
|
|
390
426
|
SENSITIVE: []
|
391
427
|
end
|
392
428
|
|
429
|
+
class StartCanaryDryRunRequest
|
430
|
+
attr_accessor name: ::String
|
431
|
+
attr_accessor code: Types::CanaryCodeInput
|
432
|
+
attr_accessor runtime_version: ::String
|
433
|
+
attr_accessor run_config: Types::CanaryRunConfigInput
|
434
|
+
attr_accessor vpc_config: Types::VpcConfigInput
|
435
|
+
attr_accessor execution_role_arn: ::String
|
436
|
+
attr_accessor success_retention_period_in_days: ::Integer
|
437
|
+
attr_accessor failure_retention_period_in_days: ::Integer
|
438
|
+
attr_accessor visual_reference: Types::VisualReferenceInput
|
439
|
+
attr_accessor artifact_s3_location: ::String
|
440
|
+
attr_accessor artifact_config: Types::ArtifactConfigInput
|
441
|
+
attr_accessor provisioned_resource_cleanup: ("AUTOMATIC" | "OFF")
|
442
|
+
SENSITIVE: []
|
443
|
+
end
|
444
|
+
|
445
|
+
class StartCanaryDryRunResponse
|
446
|
+
attr_accessor dry_run_config: Types::DryRunConfigOutput
|
447
|
+
SENSITIVE: []
|
448
|
+
end
|
449
|
+
|
393
450
|
class StartCanaryRequest
|
394
451
|
attr_accessor name: ::String
|
395
452
|
SENSITIVE: []
|
@@ -443,6 +500,7 @@ module Aws::Synthetics
|
|
443
500
|
attr_accessor artifact_s3_location: ::String
|
444
501
|
attr_accessor artifact_config: Types::ArtifactConfigInput
|
445
502
|
attr_accessor provisioned_resource_cleanup: ("AUTOMATIC" | "OFF")
|
503
|
+
attr_accessor dry_run_id: ::String
|
446
504
|
SENSITIVE: []
|
447
505
|
end
|
448
506
|
|