aws-sdk-synthetics 1.73.0 → 1.74.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a356c4460fed6f4664965118d43b6a733364d162a94348aaa273fc96c4faf32
4
- data.tar.gz: 4199a148e507f3709f6091751b8fe1f155daf0811aa4518264eb52c355d2dda9
3
+ metadata.gz: 0e40156130593d3db56ebaf4b2cd98ece9ca4b134bff56768c5bf61e271ccec9
4
+ data.tar.gz: 5b1b1fb8fb8c21e187af0f899894eb0d2cd7fcf91bdad3ba3057985bba4cbd5b
5
5
  SHA512:
6
- metadata.gz: 2e7a4b67477750cea3b7068d36048b98603c33d535effdb9ae777994f1d933e9c68a246e62010f8c196f86a74f3063bb789bfc18462b27311cd46561c2c00df2
7
- data.tar.gz: d39089deb6402e9d070022c629dcb64a6ecb4d9d6d6a1273a92c8bc48c4739dd58a8c365183db14754c44ed1130646f1cfb0ee50dbabb37fbf9af0f5950f63d9
6
+ metadata.gz: 9b46922e8270b83d4af98fc3ff4950470339f1c9d962856fe1aca77c2941a23a6818b71a30a9968fa68b24c93bd59a9302212d88d72ec27d3f5d538184cbd9d6
7
+ data.tar.gz: d0c4a5b25d8d873382acb4141d5a855d21efecf92252cb08a660af62afb7c32bfc5d22d3623a113890593f4d39edf3271d0ae0c233c3f11907b9fc9b33cadceb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.74.0 (2025-10-02)
5
+ ------------------
6
+
7
+ * Feature - Adds support to configure canaries with pre-configured blueprint code on supported runtime versions. This behavior can be controlled via the new BlueprintTypes property exposed in the CreateCanary and UpdateCanary APIs.
8
+
4
9
  1.73.0 (2025-08-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.73.0
1
+ 1.74.0
@@ -699,7 +699,8 @@ module Aws::Synthetics
699
699
  # s3_key: "String",
700
700
  # s3_version: "String",
701
701
  # zip_file: "data",
702
- # handler: "CodeHandler", # required
702
+ # handler: "CodeHandler",
703
+ # blueprint_types: ["BlueprintType"],
703
704
  # dependencies: [
704
705
  # {
705
706
  # type: "LambdaLayer", # accepts LambdaLayer
@@ -757,6 +758,8 @@ module Aws::Synthetics
757
758
  # resp.canary.name #=> String
758
759
  # resp.canary.code.source_location_arn #=> String
759
760
  # resp.canary.code.handler #=> String
761
+ # resp.canary.code.blueprint_types #=> Array
762
+ # resp.canary.code.blueprint_types[0] #=> String
760
763
  # resp.canary.code.dependencies #=> Array
761
764
  # resp.canary.code.dependencies[0].type #=> String, one of "LambdaLayer"
762
765
  # resp.canary.code.dependencies[0].reference #=> String
@@ -1059,6 +1062,8 @@ module Aws::Synthetics
1059
1062
  # resp.canaries[0].name #=> String
1060
1063
  # resp.canaries[0].code.source_location_arn #=> String
1061
1064
  # resp.canaries[0].code.handler #=> String
1065
+ # resp.canaries[0].code.blueprint_types #=> Array
1066
+ # resp.canaries[0].code.blueprint_types[0] #=> String
1062
1067
  # resp.canaries[0].code.dependencies #=> Array
1063
1068
  # resp.canaries[0].code.dependencies[0].type #=> String, one of "LambdaLayer"
1064
1069
  # resp.canaries[0].code.dependencies[0].reference #=> String
@@ -1329,6 +1334,8 @@ module Aws::Synthetics
1329
1334
  # resp.canary.name #=> String
1330
1335
  # resp.canary.code.source_location_arn #=> String
1331
1336
  # resp.canary.code.handler #=> String
1337
+ # resp.canary.code.blueprint_types #=> Array
1338
+ # resp.canary.code.blueprint_types[0] #=> String
1332
1339
  # resp.canary.code.dependencies #=> Array
1333
1340
  # resp.canary.code.dependencies[0].type #=> String, one of "LambdaLayer"
1334
1341
  # resp.canary.code.dependencies[0].reference #=> String
@@ -1884,7 +1891,8 @@ module Aws::Synthetics
1884
1891
  # s3_key: "String",
1885
1892
  # s3_version: "String",
1886
1893
  # zip_file: "data",
1887
- # handler: "CodeHandler", # required
1894
+ # handler: "CodeHandler",
1895
+ # blueprint_types: ["BlueprintType"],
1888
1896
  # dependencies: [
1889
1897
  # {
1890
1898
  # type: "LambdaLayer", # accepts LambdaLayer
@@ -2284,7 +2292,8 @@ module Aws::Synthetics
2284
2292
  # s3_key: "String",
2285
2293
  # s3_version: "String",
2286
2294
  # zip_file: "data",
2287
- # handler: "CodeHandler", # required
2295
+ # handler: "CodeHandler",
2296
+ # blueprint_types: ["BlueprintType"],
2288
2297
  # dependencies: [
2289
2298
  # {
2290
2299
  # type: "LambdaLayer", # accepts LambdaLayer
@@ -2382,7 +2391,7 @@ module Aws::Synthetics
2382
2391
  tracer: tracer
2383
2392
  )
2384
2393
  context[:gem_name] = 'aws-sdk-synthetics'
2385
- context[:gem_version] = '1.73.0'
2394
+ context[:gem_version] = '1.74.0'
2386
2395
  Seahorse::Client::Request.new(handlers, context)
2387
2396
  end
2388
2397
 
@@ -25,6 +25,8 @@ module Aws::Synthetics
25
25
  BaseScreenshotIgnoreCoordinates = Shapes::ListShape.new(name: 'BaseScreenshotIgnoreCoordinates')
26
26
  BaseScreenshots = Shapes::ListShape.new(name: 'BaseScreenshots')
27
27
  Blob = Shapes::BlobShape.new(name: 'Blob')
28
+ BlueprintType = Shapes::StringShape.new(name: 'BlueprintType')
29
+ BlueprintTypes = Shapes::ListShape.new(name: 'BlueprintTypes')
28
30
  BrowserConfig = Shapes::StructureShape.new(name: 'BrowserConfig')
29
31
  BrowserConfigs = Shapes::ListShape.new(name: 'BrowserConfigs')
30
32
  BrowserType = Shapes::StringShape.new(name: 'BrowserType')
@@ -196,6 +198,8 @@ module Aws::Synthetics
196
198
 
197
199
  BaseScreenshots.member = Shapes::ShapeRef.new(shape: BaseScreenshot)
198
200
 
201
+ BlueprintTypes.member = Shapes::ShapeRef.new(shape: BlueprintType)
202
+
199
203
  BrowserConfig.add_member(:browser_type, Shapes::ShapeRef.new(shape: BrowserType, location_name: "BrowserType"))
200
204
  BrowserConfig.struct_class = Types::BrowserConfig
201
205
 
@@ -233,12 +237,14 @@ module Aws::Synthetics
233
237
  CanaryCodeInput.add_member(:s3_key, Shapes::ShapeRef.new(shape: String, location_name: "S3Key"))
234
238
  CanaryCodeInput.add_member(:s3_version, Shapes::ShapeRef.new(shape: String, location_name: "S3Version"))
235
239
  CanaryCodeInput.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
236
- CanaryCodeInput.add_member(:handler, Shapes::ShapeRef.new(shape: CodeHandler, required: true, location_name: "Handler"))
240
+ CanaryCodeInput.add_member(:handler, Shapes::ShapeRef.new(shape: CodeHandler, location_name: "Handler"))
241
+ CanaryCodeInput.add_member(:blueprint_types, Shapes::ShapeRef.new(shape: BlueprintTypes, location_name: "BlueprintTypes"))
237
242
  CanaryCodeInput.add_member(:dependencies, Shapes::ShapeRef.new(shape: Dependencies, location_name: "Dependencies"))
238
243
  CanaryCodeInput.struct_class = Types::CanaryCodeInput
239
244
 
240
245
  CanaryCodeOutput.add_member(:source_location_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceLocationArn"))
241
246
  CanaryCodeOutput.add_member(:handler, Shapes::ShapeRef.new(shape: String, location_name: "Handler"))
247
+ CanaryCodeOutput.add_member(:blueprint_types, Shapes::ShapeRef.new(shape: BlueprintTypes, location_name: "BlueprintTypes"))
242
248
  CanaryCodeOutput.add_member(:dependencies, Shapes::ShapeRef.new(shape: Dependencies, location_name: "Dependencies"))
243
249
  CanaryCodeOutput.struct_class = Types::CanaryCodeOutput
244
250
 
@@ -410,8 +410,27 @@ module Aws::Synthetics
410
410
  # `syn-nodejs.puppeteer-3.4`, and later runtimes, the handler can be
411
411
  # specified as ` fileName.functionName `, or you can specify a folder
412
412
  # where canary scripts reside as ` folder/fileName.functionName `.
413
+ #
414
+ # This field is required when you don't specify `BlueprintTypes` and
415
+ # is not allowed when you specify `BlueprintTypes`.
413
416
  # @return [String]
414
417
  #
418
+ # @!attribute [rw] blueprint_types
419
+ # `BlueprintTypes` is a list of templates that enable simplified
420
+ # canary creation. You can create canaries for common monitoring
421
+ # scenarios by providing only a JSON configuration file instead of
422
+ # writing custom scripts. The only supported value is `multi-checks`.
423
+ #
424
+ # Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in
425
+ # authentication schemes (Basic, API Key, OAuth, SigV4) and assertion
426
+ # capabilities. When you specify `BlueprintTypes`, the Handler field
427
+ # cannot be specified since the blueprint provides a pre-defined entry
428
+ # point.
429
+ #
430
+ # `BlueprintTypes` is supported only on canaries for syn-nodejs-3.0
431
+ # runtime or later.
432
+ # @return [Array<String>]
433
+ #
415
434
  # @!attribute [rw] dependencies
416
435
  # A list of dependencies that should be used for running this canary.
417
436
  # Specify the dependencies as a key-value pair, where the key is the
@@ -426,6 +445,7 @@ module Aws::Synthetics
426
445
  :s3_version,
427
446
  :zip_file,
428
447
  :handler,
448
+ :blueprint_types,
429
449
  :dependencies)
430
450
  SENSITIVE = []
431
451
  include Aws::Structure
@@ -441,8 +461,27 @@ module Aws::Synthetics
441
461
  #
442
462
  # @!attribute [rw] handler
443
463
  # The entry point to use for the source code when running the canary.
464
+ #
465
+ # This field is required when you don't specify `BlueprintTypes` and
466
+ # is not allowed when you specify `BlueprintTypes`.
444
467
  # @return [String]
445
468
  #
469
+ # @!attribute [rw] blueprint_types
470
+ # `BlueprintTypes` is a list of templates that enable simplified
471
+ # canary creation. You can create canaries for common monitoring
472
+ # scenarios by providing only a JSON configuration file instead of
473
+ # writing custom scripts. The only supported value is `multi-checks`.
474
+ #
475
+ # Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in
476
+ # authentication schemes (Basic, API Key, OAuth, SigV4) and assertion
477
+ # capabilities. When you specify `BlueprintTypes`, the Handler field
478
+ # cannot be specified since the blueprint provides a pre-defined entry
479
+ # point.
480
+ #
481
+ # `BlueprintTypes` is supported only on canaries for syn-nodejs-3.0
482
+ # runtime or later.
483
+ # @return [Array<String>]
484
+ #
446
485
  # @!attribute [rw] dependencies
447
486
  # A list of dependencies that are used for running this canary. The
448
487
  # dependencies are specified as a key-value pair, where the key is the
@@ -454,6 +493,7 @@ module Aws::Synthetics
454
493
  class CanaryCodeOutput < Struct.new(
455
494
  :source_location_arn,
456
495
  :handler,
496
+ :blueprint_types,
457
497
  :dependencies)
458
498
  SENSITIVE = []
459
499
  include Aws::Structure
@@ -54,7 +54,7 @@ module Aws::Synthetics
54
54
  autoload :EndpointProvider, 'aws-sdk-synthetics/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-synthetics/endpoints'
56
56
 
57
- GEM_VERSION = '1.73.0'
57
+ GEM_VERSION = '1.74.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -100,7 +100,8 @@ module Aws
100
100
  s3_key: ::String?,
101
101
  s3_version: ::String?,
102
102
  zip_file: ::String?,
103
- handler: ::String,
103
+ handler: ::String?,
104
+ blueprint_types: Array[::String]?,
104
105
  dependencies: Array[
105
106
  {
106
107
  type: ("LambdaLayer")?,
@@ -333,7 +334,8 @@ module Aws
333
334
  s3_key: ::String?,
334
335
  s3_version: ::String?,
335
336
  zip_file: ::String?,
336
- handler: ::String,
337
+ handler: ::String?,
338
+ blueprint_types: Array[::String]?,
337
339
  dependencies: Array[
338
340
  {
339
341
  type: ("LambdaLayer")?,
@@ -435,7 +437,8 @@ module Aws
435
437
  s3_key: ::String?,
436
438
  s3_version: ::String?,
437
439
  zip_file: ::String?,
438
- handler: ::String,
440
+ handler: ::String?,
441
+ blueprint_types: Array[::String]?,
439
442
  dependencies: Array[
440
443
  {
441
444
  type: ("LambdaLayer")?,
data/sig/types.rbs CHANGED
@@ -80,6 +80,7 @@ module Aws::Synthetics
80
80
  attr_accessor s3_version: ::String
81
81
  attr_accessor zip_file: ::String
82
82
  attr_accessor handler: ::String
83
+ attr_accessor blueprint_types: ::Array[::String]
83
84
  attr_accessor dependencies: ::Array[Types::Dependency]
84
85
  SENSITIVE: []
85
86
  end
@@ -87,6 +88,7 @@ module Aws::Synthetics
87
88
  class CanaryCodeOutput
88
89
  attr_accessor source_location_arn: ::String
89
90
  attr_accessor handler: ::String
91
+ attr_accessor blueprint_types: ::Array[::String]
90
92
  attr_accessor dependencies: ::Array[Types::Dependency]
91
93
  SENSITIVE: []
92
94
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-synthetics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.73.0
4
+ version: 1.74.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services