aws-sdk-synthetics 1.67.0 → 1.68.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 +28 -1
- data/lib/aws-sdk-synthetics/client_api.rb +11 -0
- data/lib/aws-sdk-synthetics/types.rb +41 -2
- data/lib/aws-sdk-synthetics.rb +1 -1
- data/sig/client.rbs +21 -3
- data/sig/types.rbs +8 -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: 737a80d93dd48351744814f6196bd2a4694d87804fa93728d49e26af9d6d8ec1
|
4
|
+
data.tar.gz: 9152a520ec40ea5d9836d401963390e5c018aedbdd9d2222270fcad009168f48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2187f283bf9b6e20e2e9781ef0f3ca77509bcff57794cc41f5d32f8d27bc8811b7f380c38fae9e6e7720f0cf91d713c12254e5a0c07dc35c59279989d34a3c6
|
7
|
+
data.tar.gz: f4d86c7381eab443798834c785e815a74a727c33a10ca3ddf6174ba8b6a5cc396a419f02b4028ce419e8d25e8983192fa6aedc79f93a90fdc8a8b12718403a23
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.68.0 (2025-07-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This feature allows AWS Synthetics customers to provide code dependencies using lambda layer while creating a canary
|
8
|
+
|
4
9
|
1.67.0 (2025-06-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.68.0
|
@@ -682,6 +682,12 @@ module Aws::Synthetics
|
|
682
682
|
# s3_version: "String",
|
683
683
|
# zip_file: "data",
|
684
684
|
# handler: "CodeHandler", # required
|
685
|
+
# dependencies: [
|
686
|
+
# {
|
687
|
+
# type: "LambdaLayer", # accepts LambdaLayer
|
688
|
+
# reference: "String", # required
|
689
|
+
# },
|
690
|
+
# ],
|
685
691
|
# },
|
686
692
|
# artifact_s3_location: "String", # required
|
687
693
|
# execution_role_arn: "RoleArn", # required
|
@@ -728,6 +734,9 @@ module Aws::Synthetics
|
|
728
734
|
# resp.canary.name #=> String
|
729
735
|
# resp.canary.code.source_location_arn #=> String
|
730
736
|
# resp.canary.code.handler #=> String
|
737
|
+
# resp.canary.code.dependencies #=> Array
|
738
|
+
# resp.canary.code.dependencies[0].type #=> String, one of "LambdaLayer"
|
739
|
+
# resp.canary.code.dependencies[0].reference #=> String
|
731
740
|
# resp.canary.execution_role_arn #=> String
|
732
741
|
# resp.canary.schedule.expression #=> String
|
733
742
|
# resp.canary.schedule.duration_in_seconds #=> Integer
|
@@ -1014,6 +1023,9 @@ module Aws::Synthetics
|
|
1014
1023
|
# resp.canaries[0].name #=> String
|
1015
1024
|
# resp.canaries[0].code.source_location_arn #=> String
|
1016
1025
|
# resp.canaries[0].code.handler #=> String
|
1026
|
+
# resp.canaries[0].code.dependencies #=> Array
|
1027
|
+
# resp.canaries[0].code.dependencies[0].type #=> String, one of "LambdaLayer"
|
1028
|
+
# resp.canaries[0].code.dependencies[0].reference #=> String
|
1017
1029
|
# resp.canaries[0].execution_role_arn #=> String
|
1018
1030
|
# resp.canaries[0].schedule.expression #=> String
|
1019
1031
|
# resp.canaries[0].schedule.duration_in_seconds #=> Integer
|
@@ -1263,6 +1275,9 @@ module Aws::Synthetics
|
|
1263
1275
|
# resp.canary.name #=> String
|
1264
1276
|
# resp.canary.code.source_location_arn #=> String
|
1265
1277
|
# resp.canary.code.handler #=> String
|
1278
|
+
# resp.canary.code.dependencies #=> Array
|
1279
|
+
# resp.canary.code.dependencies[0].type #=> String, one of "LambdaLayer"
|
1280
|
+
# resp.canary.code.dependencies[0].reference #=> String
|
1266
1281
|
# resp.canary.execution_role_arn #=> String
|
1267
1282
|
# resp.canary.schedule.expression #=> String
|
1268
1283
|
# resp.canary.schedule.duration_in_seconds #=> Integer
|
@@ -1779,6 +1794,12 @@ module Aws::Synthetics
|
|
1779
1794
|
# s3_version: "String",
|
1780
1795
|
# zip_file: "data",
|
1781
1796
|
# handler: "CodeHandler", # required
|
1797
|
+
# dependencies: [
|
1798
|
+
# {
|
1799
|
+
# type: "LambdaLayer", # accepts LambdaLayer
|
1800
|
+
# reference: "String", # required
|
1801
|
+
# },
|
1802
|
+
# ],
|
1782
1803
|
# },
|
1783
1804
|
# runtime_version: "String",
|
1784
1805
|
# run_config: {
|
@@ -2112,6 +2133,12 @@ module Aws::Synthetics
|
|
2112
2133
|
# s3_version: "String",
|
2113
2134
|
# zip_file: "data",
|
2114
2135
|
# handler: "CodeHandler", # required
|
2136
|
+
# dependencies: [
|
2137
|
+
# {
|
2138
|
+
# type: "LambdaLayer", # accepts LambdaLayer
|
2139
|
+
# reference: "String", # required
|
2140
|
+
# },
|
2141
|
+
# ],
|
2115
2142
|
# },
|
2116
2143
|
# execution_role_arn: "RoleArn",
|
2117
2144
|
# runtime_version: "String",
|
@@ -2185,7 +2212,7 @@ module Aws::Synthetics
|
|
2185
2212
|
tracer: tracer
|
2186
2213
|
)
|
2187
2214
|
context[:gem_name] = 'aws-sdk-synthetics'
|
2188
|
-
context[:gem_version] = '1.
|
2215
|
+
context[:gem_version] = '1.68.0'
|
2189
2216
|
Seahorse::Client::Request.new(handlers, context)
|
2190
2217
|
end
|
2191
2218
|
|
@@ -59,6 +59,9 @@ module Aws::Synthetics
|
|
59
59
|
DeleteCanaryResponse = Shapes::StructureShape.new(name: 'DeleteCanaryResponse')
|
60
60
|
DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
|
61
61
|
DeleteGroupResponse = Shapes::StructureShape.new(name: 'DeleteGroupResponse')
|
62
|
+
Dependencies = Shapes::ListShape.new(name: 'Dependencies')
|
63
|
+
Dependency = Shapes::StructureShape.new(name: 'Dependency')
|
64
|
+
DependencyType = Shapes::StringShape.new(name: 'DependencyType')
|
62
65
|
DescribeCanariesLastRunNameFilter = Shapes::ListShape.new(name: 'DescribeCanariesLastRunNameFilter')
|
63
66
|
DescribeCanariesLastRunRequest = Shapes::StructureShape.new(name: 'DescribeCanariesLastRunRequest')
|
64
67
|
DescribeCanariesLastRunResponse = Shapes::StructureShape.new(name: 'DescribeCanariesLastRunResponse')
|
@@ -216,10 +219,12 @@ module Aws::Synthetics
|
|
216
219
|
CanaryCodeInput.add_member(:s3_version, Shapes::ShapeRef.new(shape: String, location_name: "S3Version"))
|
217
220
|
CanaryCodeInput.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
|
218
221
|
CanaryCodeInput.add_member(:handler, Shapes::ShapeRef.new(shape: CodeHandler, required: true, location_name: "Handler"))
|
222
|
+
CanaryCodeInput.add_member(:dependencies, Shapes::ShapeRef.new(shape: Dependencies, location_name: "Dependencies"))
|
219
223
|
CanaryCodeInput.struct_class = Types::CanaryCodeInput
|
220
224
|
|
221
225
|
CanaryCodeOutput.add_member(:source_location_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceLocationArn"))
|
222
226
|
CanaryCodeOutput.add_member(:handler, Shapes::ShapeRef.new(shape: String, location_name: "Handler"))
|
227
|
+
CanaryCodeOutput.add_member(:dependencies, Shapes::ShapeRef.new(shape: Dependencies, location_name: "Dependencies"))
|
223
228
|
CanaryCodeOutput.struct_class = Types::CanaryCodeOutput
|
224
229
|
|
225
230
|
CanaryDryRunConfigOutput.add_member(:dry_run_id, Shapes::ShapeRef.new(shape: UUID, location_name: "DryRunId"))
|
@@ -326,6 +331,12 @@ module Aws::Synthetics
|
|
326
331
|
|
327
332
|
DeleteGroupResponse.struct_class = Types::DeleteGroupResponse
|
328
333
|
|
334
|
+
Dependencies.member = Shapes::ShapeRef.new(shape: Dependency)
|
335
|
+
|
336
|
+
Dependency.add_member(:type, Shapes::ShapeRef.new(shape: DependencyType, location_name: "Type"))
|
337
|
+
Dependency.add_member(:reference, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Reference"))
|
338
|
+
Dependency.struct_class = Types::Dependency
|
339
|
+
|
329
340
|
DescribeCanariesLastRunNameFilter.member = Shapes::ShapeRef.new(shape: CanaryName)
|
330
341
|
|
331
342
|
DescribeCanariesLastRunRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
@@ -357,6 +357,12 @@ module Aws::Synthetics
|
|
357
357
|
# where canary scripts reside as ` folder/fileName.functionName `.
|
358
358
|
# @return [String]
|
359
359
|
#
|
360
|
+
# @!attribute [rw] dependencies
|
361
|
+
# A list of dependencies that should be used for running this canary.
|
362
|
+
# Specify the dependencies as a key-value pair, where the key is the
|
363
|
+
# type of dependency and the value is the dependency reference.
|
364
|
+
# @return [Array<Types::Dependency>]
|
365
|
+
#
|
360
366
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryCodeInput AWS API Documentation
|
361
367
|
#
|
362
368
|
class CanaryCodeInput < Struct.new(
|
@@ -364,7 +370,8 @@ module Aws::Synthetics
|
|
364
370
|
:s3_key,
|
365
371
|
:s3_version,
|
366
372
|
:zip_file,
|
367
|
-
:handler
|
373
|
+
:handler,
|
374
|
+
:dependencies)
|
368
375
|
SENSITIVE = []
|
369
376
|
include Aws::Structure
|
370
377
|
end
|
@@ -381,11 +388,18 @@ module Aws::Synthetics
|
|
381
388
|
# The entry point to use for the source code when running the canary.
|
382
389
|
# @return [String]
|
383
390
|
#
|
391
|
+
# @!attribute [rw] dependencies
|
392
|
+
# A list of dependencies that are used for running this canary. The
|
393
|
+
# dependencies are specified as a key-value pair, where the key is the
|
394
|
+
# type of dependency and the value is the dependency reference.
|
395
|
+
# @return [Array<Types::Dependency>]
|
396
|
+
#
|
384
397
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryCodeOutput AWS API Documentation
|
385
398
|
#
|
386
399
|
class CanaryCodeOutput < Struct.new(
|
387
400
|
:source_location_arn,
|
388
|
-
:handler
|
401
|
+
:handler,
|
402
|
+
:dependencies)
|
389
403
|
SENSITIVE = []
|
390
404
|
include Aws::Structure
|
391
405
|
end
|
@@ -1108,6 +1122,31 @@ module Aws::Synthetics
|
|
1108
1122
|
#
|
1109
1123
|
class DeleteGroupResponse < Aws::EmptyStructure; end
|
1110
1124
|
|
1125
|
+
# A structure that contains information about a dependency for a canary.
|
1126
|
+
#
|
1127
|
+
# @!attribute [rw] type
|
1128
|
+
# The type of dependency. Valid value is `LambdaLayer`.
|
1129
|
+
# @return [String]
|
1130
|
+
#
|
1131
|
+
# @!attribute [rw] reference
|
1132
|
+
# The dependency reference. For Lambda layers, this is the ARN of the
|
1133
|
+
# Lambda layer. For more information about Lambda ARN format, see
|
1134
|
+
# [Lambda][1].
|
1135
|
+
#
|
1136
|
+
#
|
1137
|
+
#
|
1138
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/api/API_Layer.html
|
1139
|
+
# @return [String]
|
1140
|
+
#
|
1141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/Dependency AWS API Documentation
|
1142
|
+
#
|
1143
|
+
class Dependency < Struct.new(
|
1144
|
+
:type,
|
1145
|
+
:reference)
|
1146
|
+
SENSITIVE = []
|
1147
|
+
include Aws::Structure
|
1148
|
+
end
|
1149
|
+
|
1111
1150
|
# @!attribute [rw] next_token
|
1112
1151
|
# A token that indicates that there is more data available. You can
|
1113
1152
|
# use this token in a subsequent `DescribeCanariesLastRun` operation
|
data/lib/aws-sdk-synthetics.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -99,7 +99,13 @@ module Aws
|
|
99
99
|
s3_key: ::String?,
|
100
100
|
s3_version: ::String?,
|
101
101
|
zip_file: ::String?,
|
102
|
-
handler: ::String
|
102
|
+
handler: ::String,
|
103
|
+
dependencies: Array[
|
104
|
+
{
|
105
|
+
type: ("LambdaLayer")?,
|
106
|
+
reference: ::String
|
107
|
+
},
|
108
|
+
]?
|
103
109
|
},
|
104
110
|
artifact_s3_location: ::String,
|
105
111
|
execution_role_arn: ::String,
|
@@ -320,7 +326,13 @@ module Aws
|
|
320
326
|
s3_key: ::String?,
|
321
327
|
s3_version: ::String?,
|
322
328
|
zip_file: ::String?,
|
323
|
-
handler: ::String
|
329
|
+
handler: ::String,
|
330
|
+
dependencies: Array[
|
331
|
+
{
|
332
|
+
type: ("LambdaLayer")?,
|
333
|
+
reference: ::String
|
334
|
+
},
|
335
|
+
]?
|
324
336
|
},
|
325
337
|
?runtime_version: ::String,
|
326
338
|
?run_config: {
|
@@ -398,7 +410,13 @@ module Aws
|
|
398
410
|
s3_key: ::String?,
|
399
411
|
s3_version: ::String?,
|
400
412
|
zip_file: ::String?,
|
401
|
-
handler: ::String
|
413
|
+
handler: ::String,
|
414
|
+
dependencies: Array[
|
415
|
+
{
|
416
|
+
type: ("LambdaLayer")?,
|
417
|
+
reference: ::String
|
418
|
+
},
|
419
|
+
]?
|
402
420
|
},
|
403
421
|
?execution_role_arn: ::String,
|
404
422
|
?runtime_version: ::String,
|
data/sig/types.rbs
CHANGED
@@ -72,12 +72,14 @@ module Aws::Synthetics
|
|
72
72
|
attr_accessor s3_version: ::String
|
73
73
|
attr_accessor zip_file: ::String
|
74
74
|
attr_accessor handler: ::String
|
75
|
+
attr_accessor dependencies: ::Array[Types::Dependency]
|
75
76
|
SENSITIVE: []
|
76
77
|
end
|
77
78
|
|
78
79
|
class CanaryCodeOutput
|
79
80
|
attr_accessor source_location_arn: ::String
|
80
81
|
attr_accessor handler: ::String
|
82
|
+
attr_accessor dependencies: ::Array[Types::Dependency]
|
81
83
|
SENSITIVE: []
|
82
84
|
end
|
83
85
|
|
@@ -221,6 +223,12 @@ module Aws::Synthetics
|
|
221
223
|
class DeleteGroupResponse < Aws::EmptyStructure
|
222
224
|
end
|
223
225
|
|
226
|
+
class Dependency
|
227
|
+
attr_accessor type: ("LambdaLayer")
|
228
|
+
attr_accessor reference: ::String
|
229
|
+
SENSITIVE: []
|
230
|
+
end
|
231
|
+
|
224
232
|
class DescribeCanariesLastRunRequest
|
225
233
|
attr_accessor next_token: ::String
|
226
234
|
attr_accessor max_results: ::Integer
|