aws-sdk-synthetics 1.67.0 → 1.69.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: cc55fe9bd41408e5ebd07553c6668e7c8d0735ee127041821129e048d10b3d40
4
- data.tar.gz: bb93b8e1182a7dd9e7ab3084930976a412a68c683b40708abb2e649a7f9d22cd
3
+ metadata.gz: a2323f9f6d1fdd281bd78d3aaa9b4d1d29cc8093b6316a8d56fb5c2a5af565a7
4
+ data.tar.gz: 1f979d28b481ced2582c410d426192a974d4871117ea165f752a916d7efebab8
5
5
  SHA512:
6
- metadata.gz: 8c5f69362814912d37948ee3e325cd63a715cbcfa6724c5ba59f7ac8b667f551797f60d74eb0d9f2ed1780ea7f36742d84887a0047cc96da657d9df08a53d1b2
7
- data.tar.gz: 603ee23f0544732b19ff0237ebbaba5c8a1aee240ba96e3778cb3e924c2c62012d7fabf5a789fa3f0a647c68f30c55710ed7eed46b8515a54703a6ebc9e18f53
6
+ metadata.gz: cc53fc9b938667eac8cb5f8af09f7a53bb26d02283e4b0189fd2d5abb1d784db43c8ea12613e21b274d6eecb7a2bd677500da92a608cd6b0431be3b8710e615e
7
+ data.tar.gz: 4ad9d74a689a58adf143cbae077abb483296b44972a19f195fa3e596680940db9f5da04999e2f2f8275562f09d2f9f85dc7dd3a1574b3c4160b980c957a72310
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.69.0 (2025-07-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.68.0 (2025-07-17)
10
+ ------------------
11
+
12
+ * Feature - This feature allows AWS Synthetics customers to provide code dependencies using lambda layer while creating a canary
13
+
4
14
  1.67.0 (2025-06-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.69.0
@@ -95,7 +95,7 @@ module Aws::Synthetics
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials. This can be an instance of any one of the
98
+ # Your AWS credentials used for authentication. This can be an instance of any one of the
99
99
  # following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
@@ -128,18 +128,23 @@ module Aws::Synthetics
128
128
  # locations will be searched for credentials:
129
129
  #
130
130
  # * `Aws.config[:credentials]`
131
+ #
131
132
  # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
133
  # `:account_id` options.
133
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
134
- # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
134
+ #
135
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
136
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
137
+ #
135
138
  # * `~/.aws/credentials`
139
+ #
136
140
  # * `~/.aws/config`
141
+ #
137
142
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
143
  # are very aggressive. Construct and pass an instance of
139
144
  # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
145
  # enable retries and extended timeouts. Instance profile credential
141
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
- # to true.
146
+ # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
+ # to `true`.
143
148
  #
144
149
  # @option options [required, String] :region
145
150
  # The AWS region to connect to. The configured `:region` is
@@ -167,6 +172,11 @@ module Aws::Synthetics
167
172
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
168
173
  # not retry instead of sleeping.
169
174
  #
175
+ # @option options [Array<String>] :auth_scheme_preference
176
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
177
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
178
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
179
+ #
170
180
  # @option options [Boolean] :client_side_monitoring (false)
171
181
  # When `true`, client-side metrics will be collected for all API requests from
172
182
  # this client.
@@ -253,8 +263,8 @@ module Aws::Synthetics
253
263
  # 4 times. Used in `standard` and `adaptive` retry modes.
254
264
  #
255
265
  # @option options [String] :profile ("default")
256
- # Used when loading credentials from the shared credentials file
257
- # at HOME/.aws/credentials. When not specified, 'default' is used.
266
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
267
+ # When not specified, 'default' is used.
258
268
  #
259
269
  # @option options [String] :request_checksum_calculation ("when_supported")
260
270
  # Determines when a checksum will be calculated for request payloads. Values are:
@@ -367,7 +377,7 @@ module Aws::Synthetics
367
377
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
368
378
  #
369
379
  # @option options [Aws::TokenProvider] :token_provider
370
- # A Bearer Token Provider. This can be an instance of any one of the
380
+ # Your Bearer token used for authentication. This can be an instance of any one of the
371
381
  # following classes:
372
382
  #
373
383
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
@@ -682,6 +692,12 @@ module Aws::Synthetics
682
692
  # s3_version: "String",
683
693
  # zip_file: "data",
684
694
  # handler: "CodeHandler", # required
695
+ # dependencies: [
696
+ # {
697
+ # type: "LambdaLayer", # accepts LambdaLayer
698
+ # reference: "String", # required
699
+ # },
700
+ # ],
685
701
  # },
686
702
  # artifact_s3_location: "String", # required
687
703
  # execution_role_arn: "RoleArn", # required
@@ -728,6 +744,9 @@ module Aws::Synthetics
728
744
  # resp.canary.name #=> String
729
745
  # resp.canary.code.source_location_arn #=> String
730
746
  # resp.canary.code.handler #=> String
747
+ # resp.canary.code.dependencies #=> Array
748
+ # resp.canary.code.dependencies[0].type #=> String, one of "LambdaLayer"
749
+ # resp.canary.code.dependencies[0].reference #=> String
731
750
  # resp.canary.execution_role_arn #=> String
732
751
  # resp.canary.schedule.expression #=> String
733
752
  # resp.canary.schedule.duration_in_seconds #=> Integer
@@ -1014,6 +1033,9 @@ module Aws::Synthetics
1014
1033
  # resp.canaries[0].name #=> String
1015
1034
  # resp.canaries[0].code.source_location_arn #=> String
1016
1035
  # resp.canaries[0].code.handler #=> String
1036
+ # resp.canaries[0].code.dependencies #=> Array
1037
+ # resp.canaries[0].code.dependencies[0].type #=> String, one of "LambdaLayer"
1038
+ # resp.canaries[0].code.dependencies[0].reference #=> String
1017
1039
  # resp.canaries[0].execution_role_arn #=> String
1018
1040
  # resp.canaries[0].schedule.expression #=> String
1019
1041
  # resp.canaries[0].schedule.duration_in_seconds #=> Integer
@@ -1263,6 +1285,9 @@ module Aws::Synthetics
1263
1285
  # resp.canary.name #=> String
1264
1286
  # resp.canary.code.source_location_arn #=> String
1265
1287
  # resp.canary.code.handler #=> String
1288
+ # resp.canary.code.dependencies #=> Array
1289
+ # resp.canary.code.dependencies[0].type #=> String, one of "LambdaLayer"
1290
+ # resp.canary.code.dependencies[0].reference #=> String
1266
1291
  # resp.canary.execution_role_arn #=> String
1267
1292
  # resp.canary.schedule.expression #=> String
1268
1293
  # resp.canary.schedule.duration_in_seconds #=> Integer
@@ -1779,6 +1804,12 @@ module Aws::Synthetics
1779
1804
  # s3_version: "String",
1780
1805
  # zip_file: "data",
1781
1806
  # handler: "CodeHandler", # required
1807
+ # dependencies: [
1808
+ # {
1809
+ # type: "LambdaLayer", # accepts LambdaLayer
1810
+ # reference: "String", # required
1811
+ # },
1812
+ # ],
1782
1813
  # },
1783
1814
  # runtime_version: "String",
1784
1815
  # run_config: {
@@ -2112,6 +2143,12 @@ module Aws::Synthetics
2112
2143
  # s3_version: "String",
2113
2144
  # zip_file: "data",
2114
2145
  # handler: "CodeHandler", # required
2146
+ # dependencies: [
2147
+ # {
2148
+ # type: "LambdaLayer", # accepts LambdaLayer
2149
+ # reference: "String", # required
2150
+ # },
2151
+ # ],
2115
2152
  # },
2116
2153
  # execution_role_arn: "RoleArn",
2117
2154
  # runtime_version: "String",
@@ -2185,7 +2222,7 @@ module Aws::Synthetics
2185
2222
  tracer: tracer
2186
2223
  )
2187
2224
  context[:gem_name] = 'aws-sdk-synthetics'
2188
- context[:gem_version] = '1.67.0'
2225
+ context[:gem_version] = '1.69.0'
2189
2226
  Seahorse::Client::Request.new(handlers, context)
2190
2227
  end
2191
2228
 
@@ -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
@@ -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.67.0'
57
+ GEM_VERSION = '1.69.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
@@ -99,7 +100,13 @@ module Aws
99
100
  s3_key: ::String?,
100
101
  s3_version: ::String?,
101
102
  zip_file: ::String?,
102
- handler: ::String
103
+ handler: ::String,
104
+ dependencies: Array[
105
+ {
106
+ type: ("LambdaLayer")?,
107
+ reference: ::String
108
+ },
109
+ ]?
103
110
  },
104
111
  artifact_s3_location: ::String,
105
112
  execution_role_arn: ::String,
@@ -320,7 +327,13 @@ module Aws
320
327
  s3_key: ::String?,
321
328
  s3_version: ::String?,
322
329
  zip_file: ::String?,
323
- handler: ::String
330
+ handler: ::String,
331
+ dependencies: Array[
332
+ {
333
+ type: ("LambdaLayer")?,
334
+ reference: ::String
335
+ },
336
+ ]?
324
337
  },
325
338
  ?runtime_version: ::String,
326
339
  ?run_config: {
@@ -398,7 +411,13 @@ module Aws
398
411
  s3_key: ::String?,
399
412
  s3_version: ::String?,
400
413
  zip_file: ::String?,
401
- handler: ::String
414
+ handler: ::String,
415
+ dependencies: Array[
416
+ {
417
+ type: ("LambdaLayer")?,
418
+ reference: ::String
419
+ },
420
+ ]?
402
421
  },
403
422
  ?execution_role_arn: ::String,
404
423
  ?runtime_version: ::String,
data/sig/resource.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: 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
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.67.0
4
+ version: 1.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.225.0
21
+ version: 3.227.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.225.0
31
+ version: 3.227.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement