aws-sdk-synthetics 1.25.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a135a3c67fef18a2a5e5427d11fdfe0c2cfac56bb121eb74a80c219cde5624f7
4
- data.tar.gz: 26ad9244306b74d189e4933f3c3c8f021cf4ec40f2c96a3e413150942441266b
3
+ metadata.gz: 83c2fd2c7db27c51c65e15f86d3d49c66ac8b5b3113928966040f37c3d0787a9
4
+ data.tar.gz: 19ba5d68339612e0e67eb632a2327f0c2a78bc36c1c71e12525cf72dc313d679
5
5
  SHA512:
6
- metadata.gz: 4655d97f55637f832eb2eb9561d45eee595e7dc2f987b25d5265b8ab5faffe5840f5b2dd385b22aae94eebe9dc32fe8501229cac36271fb2ce7ec45e70e27b23
7
- data.tar.gz: 2cd49239b576bf02c0b29730715037a2ac846808c3183b34fa13069cf3e9d208fa1be28a4d306dbc236985200c1a126b8733bef366b1a80a06719dc85997955f
6
+ metadata.gz: 87dcc524dc15359078f76afd9f1e1b150b491bdecb2b71ed91f3cfc38e316aa0e519af4b2d4ccfe25daf27decd7ac21c1ef73970fc2c1047da4f7d0779aba24b
7
+ data.tar.gz: 471d99e8fefee28cb5be0a9877aecdf84515b8b460eabc0f09ef6847e77c2a6edeca83a70b652153d58c2d389f5761662517ff9b39ae8796b1142fc9ca24414a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2022-03-04)
5
+ ------------------
6
+
7
+ * Feature - Allow custom handler function.
8
+
4
9
  1.25.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.26.0
@@ -483,7 +483,7 @@ module Aws::Synthetics
483
483
  # s3_key: "String",
484
484
  # s3_version: "String",
485
485
  # zip_file: "data",
486
- # handler: "String", # required
486
+ # handler: "CodeHandler", # required
487
487
  # },
488
488
  # artifact_s3_location: "String", # required
489
489
  # execution_role_arn: "RoleArn", # required
@@ -1273,7 +1273,7 @@ module Aws::Synthetics
1273
1273
  # s3_key: "String",
1274
1274
  # s3_version: "String",
1275
1275
  # zip_file: "data",
1276
- # handler: "String", # required
1276
+ # handler: "CodeHandler", # required
1277
1277
  # },
1278
1278
  # execution_role_arn: "RoleArn",
1279
1279
  # runtime_version: "String",
@@ -1335,7 +1335,7 @@ module Aws::Synthetics
1335
1335
  params: params,
1336
1336
  config: config)
1337
1337
  context[:gem_name] = 'aws-sdk-synthetics'
1338
- context[:gem_version] = '1.25.0'
1338
+ context[:gem_version] = '1.26.0'
1339
1339
  Seahorse::Client::Request.new(handlers, context)
1340
1340
  end
1341
1341
 
@@ -42,6 +42,7 @@ module Aws::Synthetics
42
42
  CanaryStateReasonCode = Shapes::StringShape.new(name: 'CanaryStateReasonCode')
43
43
  CanaryStatus = Shapes::StructureShape.new(name: 'CanaryStatus')
44
44
  CanaryTimeline = Shapes::StructureShape.new(name: 'CanaryTimeline')
45
+ CodeHandler = Shapes::StringShape.new(name: 'CodeHandler')
45
46
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
46
47
  CreateCanaryRequest = Shapes::StructureShape.new(name: 'CreateCanaryRequest')
47
48
  CreateCanaryResponse = Shapes::StructureShape.new(name: 'CreateCanaryResponse')
@@ -152,7 +153,7 @@ module Aws::Synthetics
152
153
  CanaryCodeInput.add_member(:s3_key, Shapes::ShapeRef.new(shape: String, location_name: "S3Key"))
153
154
  CanaryCodeInput.add_member(:s3_version, Shapes::ShapeRef.new(shape: String, location_name: "S3Version"))
154
155
  CanaryCodeInput.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
155
- CanaryCodeInput.add_member(:handler, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Handler"))
156
+ CanaryCodeInput.add_member(:handler, Shapes::ShapeRef.new(shape: CodeHandler, required: true, location_name: "Handler"))
156
157
  CanaryCodeInput.struct_class = Types::CanaryCodeInput
157
158
 
158
159
  CanaryCodeOutput.add_member(:source_location_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceLocationArn"))
@@ -236,7 +236,7 @@ module Aws::Synthetics
236
236
  # s3_key: "String",
237
237
  # s3_version: "String",
238
238
  # zip_file: "data",
239
- # handler: "String", # required
239
+ # handler: "CodeHandler", # required
240
240
  # }
241
241
  #
242
242
  # @!attribute [rw] s3_bucket
@@ -269,8 +269,13 @@ module Aws::Synthetics
269
269
  #
270
270
  # @!attribute [rw] handler
271
271
  # The entry point to use for the source code when running the canary.
272
- # This value must end with the string `.handler`. The string is
273
- # limited to 29 characters or fewer.
272
+ # For canaries that use the `syn-python-selenium-1.0` runtime or a
273
+ # `syn-nodejs.puppeteer` runtime earlier than
274
+ # `syn-nodejs.puppeteer-3.4`, the handler must be specified as `
275
+ # fileName.handler`. For `syn-python-selenium-1.1`,
276
+ # `syn-nodejs.puppeteer-3.4`, and later runtimes, the handler can be
277
+ # specified as ` fileName.functionName `, or you can specify a folder
278
+ # where canary scripts reside as ` folder/fileName.functionName `.
274
279
  # @return [String]
275
280
  #
276
281
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryCodeInput AWS API Documentation
@@ -678,7 +683,7 @@ module Aws::Synthetics
678
683
  # s3_key: "String",
679
684
  # s3_version: "String",
680
685
  # zip_file: "data",
681
- # handler: "String", # required
686
+ # handler: "CodeHandler", # required
682
687
  # },
683
688
  # artifact_s3_location: "String", # required
684
689
  # execution_role_arn: "RoleArn", # required
@@ -1441,7 +1446,7 @@ module Aws::Synthetics
1441
1446
  # s3_key: "String",
1442
1447
  # s3_version: "String",
1443
1448
  # zip_file: "data",
1444
- # handler: "String", # required
1449
+ # handler: "CodeHandler", # required
1445
1450
  # },
1446
1451
  # execution_role_arn: "RoleArn",
1447
1452
  # runtime_version: "String",
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-synthetics/customizations'
48
48
  # @!group service
49
49
  module Aws::Synthetics
50
50
 
51
- GEM_VERSION = '1.25.0'
51
+ GEM_VERSION = '1.26.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-synthetics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core