aws-sdk-synthetics 1.9.0 → 1.10.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/lib/aws-sdk-synthetics.rb +1 -1
- data/lib/aws-sdk-synthetics/client.rb +13 -9
- data/lib/aws-sdk-synthetics/client_api.rb +7 -0
- data/lib/aws-sdk-synthetics/types.rb +43 -15
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d77ffc9e6b30e991c4bfbc3e443ba8ccba5d84ca5d5398ad0f633ea7a492ccd1
|
|
4
|
+
data.tar.gz: 6c519143fc3b952b3888e31d110101b82d96703ca6efe9b2a8e19af8d8289a91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91cd051382515976415efec63dc4f7bed1e97e02e31139a16c4cb73c0e39e2799731ed0bf4506a015dd439fd32fe0f811f80e7a7b75017c078df241f597d99fa
|
|
7
|
+
data.tar.gz: c582d6a2f28507e2789ed1107af9b65ca0b5c552fbb12e9aa572564054c103c5478343ab135f8f797be6e1ea04673170fc092b4221ef6d939f88e0c31de531ce
|
data/lib/aws-sdk-synthetics.rb
CHANGED
|
@@ -416,10 +416,9 @@ module Aws::Synthetics
|
|
|
416
416
|
# is 1 to 455 days.
|
|
417
417
|
#
|
|
418
418
|
# @option params [required, String] :runtime_version
|
|
419
|
-
# Specifies the runtime version to use for the canary.
|
|
420
|
-
#
|
|
421
|
-
#
|
|
422
|
-
# Runtime Versions][1].
|
|
419
|
+
# Specifies the runtime version to use for the canary. For a list of
|
|
420
|
+
# valid runtime versions and more information about runtime versions,
|
|
421
|
+
# see [ Canary Runtime Versions][1].
|
|
423
422
|
#
|
|
424
423
|
#
|
|
425
424
|
#
|
|
@@ -467,6 +466,9 @@ module Aws::Synthetics
|
|
|
467
466
|
# timeout_in_seconds: 1,
|
|
468
467
|
# memory_in_mb: 1,
|
|
469
468
|
# active_tracing: false,
|
|
469
|
+
# environment_variables: {
|
|
470
|
+
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
|
471
|
+
# },
|
|
470
472
|
# },
|
|
471
473
|
# success_retention_period_in_days: 1,
|
|
472
474
|
# failure_retention_period_in_days: 1,
|
|
@@ -1082,10 +1084,9 @@ module Aws::Synthetics
|
|
|
1082
1084
|
# * `logs:CreateLogStream`
|
|
1083
1085
|
#
|
|
1084
1086
|
# @option params [String] :runtime_version
|
|
1085
|
-
# Specifies the runtime version to use for the canary.
|
|
1086
|
-
#
|
|
1087
|
-
#
|
|
1088
|
-
# Runtime Versions][1].
|
|
1087
|
+
# Specifies the runtime version to use for the canary. For a list of
|
|
1088
|
+
# valid runtime versions and for more information about runtime
|
|
1089
|
+
# versions, see [ Canary Runtime Versions][1].
|
|
1089
1090
|
#
|
|
1090
1091
|
#
|
|
1091
1092
|
#
|
|
@@ -1138,6 +1139,9 @@ module Aws::Synthetics
|
|
|
1138
1139
|
# timeout_in_seconds: 1,
|
|
1139
1140
|
# memory_in_mb: 1,
|
|
1140
1141
|
# active_tracing: false,
|
|
1142
|
+
# environment_variables: {
|
|
1143
|
+
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
|
1144
|
+
# },
|
|
1141
1145
|
# },
|
|
1142
1146
|
# success_retention_period_in_days: 1,
|
|
1143
1147
|
# failure_retention_period_in_days: 1,
|
|
@@ -1169,7 +1173,7 @@ module Aws::Synthetics
|
|
|
1169
1173
|
params: params,
|
|
1170
1174
|
config: config)
|
|
1171
1175
|
context[:gem_name] = 'aws-sdk-synthetics'
|
|
1172
|
-
context[:gem_version] = '1.
|
|
1176
|
+
context[:gem_version] = '1.10.0'
|
|
1173
1177
|
Seahorse::Client::Request.new(handlers, context)
|
|
1174
1178
|
end
|
|
1175
1179
|
|
|
@@ -47,6 +47,9 @@ module Aws::Synthetics
|
|
|
47
47
|
DescribeCanariesResponse = Shapes::StructureShape.new(name: 'DescribeCanariesResponse')
|
|
48
48
|
DescribeRuntimeVersionsRequest = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsRequest')
|
|
49
49
|
DescribeRuntimeVersionsResponse = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsResponse')
|
|
50
|
+
EnvironmentVariableName = Shapes::StringShape.new(name: 'EnvironmentVariableName')
|
|
51
|
+
EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
|
|
52
|
+
EnvironmentVariablesMap = Shapes::MapShape.new(name: 'EnvironmentVariablesMap')
|
|
50
53
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
|
51
54
|
FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
|
|
52
55
|
GetCanaryRequest = Shapes::StructureShape.new(name: 'GetCanaryRequest')
|
|
@@ -140,6 +143,7 @@ module Aws::Synthetics
|
|
|
140
143
|
CanaryRunConfigInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
|
|
141
144
|
CanaryRunConfigInput.add_member(:memory_in_mb, Shapes::ShapeRef.new(shape: MaxSize3008, location_name: "MemoryInMB"))
|
|
142
145
|
CanaryRunConfigInput.add_member(:active_tracing, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ActiveTracing"))
|
|
146
|
+
CanaryRunConfigInput.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariablesMap, location_name: "EnvironmentVariables"))
|
|
143
147
|
CanaryRunConfigInput.struct_class = Types::CanaryRunConfigInput
|
|
144
148
|
|
|
145
149
|
CanaryRunConfigOutput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
|
|
@@ -225,6 +229,9 @@ module Aws::Synthetics
|
|
|
225
229
|
DescribeRuntimeVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
|
226
230
|
DescribeRuntimeVersionsResponse.struct_class = Types::DescribeRuntimeVersionsResponse
|
|
227
231
|
|
|
232
|
+
EnvironmentVariablesMap.key = Shapes::ShapeRef.new(shape: EnvironmentVariableName)
|
|
233
|
+
EnvironmentVariablesMap.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
|
|
234
|
+
|
|
228
235
|
GetCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location: "uri", location_name: "name"))
|
|
229
236
|
GetCanaryRequest.struct_class = Types::GetCanaryRequest
|
|
230
237
|
|
|
@@ -75,10 +75,9 @@ module Aws::Synthetics
|
|
|
75
75
|
# @return [String]
|
|
76
76
|
#
|
|
77
77
|
# @!attribute [rw] runtime_version
|
|
78
|
-
# Specifies the runtime version to use for the canary.
|
|
79
|
-
#
|
|
80
|
-
#
|
|
81
|
-
# Runtime Versions][1].
|
|
78
|
+
# Specifies the runtime version to use for the canary. For more
|
|
79
|
+
# information about runtime versions, see [ Canary Runtime
|
|
80
|
+
# Versions][1].
|
|
82
81
|
#
|
|
83
82
|
#
|
|
84
83
|
#
|
|
@@ -267,6 +266,9 @@ module Aws::Synthetics
|
|
|
267
266
|
# timeout_in_seconds: 1,
|
|
268
267
|
# memory_in_mb: 1,
|
|
269
268
|
# active_tracing: false,
|
|
269
|
+
# environment_variables: {
|
|
270
|
+
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
|
271
|
+
# },
|
|
270
272
|
# }
|
|
271
273
|
#
|
|
272
274
|
# @!attribute [rw] timeout_in_seconds
|
|
@@ -299,12 +301,30 @@ module Aws::Synthetics
|
|
|
299
301
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_tracing.html
|
|
300
302
|
# @return [Boolean]
|
|
301
303
|
#
|
|
304
|
+
# @!attribute [rw] environment_variables
|
|
305
|
+
# Specifies the keys and values to use for any environment variables
|
|
306
|
+
# used in the canary script. Use the following format:
|
|
307
|
+
#
|
|
308
|
+
# \\\{ "key1" : "value1", "key2" : "value2", ...\\}
|
|
309
|
+
#
|
|
310
|
+
# Keys must start with a letter and be at least two characters. The
|
|
311
|
+
# total size of your environment variables cannot exceed 4 KB. You
|
|
312
|
+
# can't specify any Lambda reserved environment variables as the keys
|
|
313
|
+
# for your environment variables. For more information about reserved
|
|
314
|
+
# keys, see [ Runtime environment variables][1].
|
|
315
|
+
#
|
|
316
|
+
#
|
|
317
|
+
#
|
|
318
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime
|
|
319
|
+
# @return [Hash<String,String>]
|
|
320
|
+
#
|
|
302
321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunConfigInput AWS API Documentation
|
|
303
322
|
#
|
|
304
323
|
class CanaryRunConfigInput < Struct.new(
|
|
305
324
|
:timeout_in_seconds,
|
|
306
325
|
:memory_in_mb,
|
|
307
|
-
:active_tracing
|
|
326
|
+
:active_tracing,
|
|
327
|
+
:environment_variables)
|
|
308
328
|
SENSITIVE = []
|
|
309
329
|
include Aws::Structure
|
|
310
330
|
end
|
|
@@ -544,6 +564,9 @@ module Aws::Synthetics
|
|
|
544
564
|
# timeout_in_seconds: 1,
|
|
545
565
|
# memory_in_mb: 1,
|
|
546
566
|
# active_tracing: false,
|
|
567
|
+
# environment_variables: {
|
|
568
|
+
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
|
569
|
+
# },
|
|
547
570
|
# },
|
|
548
571
|
# success_retention_period_in_days: 1,
|
|
549
572
|
# failure_retention_period_in_days: 1,
|
|
@@ -628,10 +651,9 @@ module Aws::Synthetics
|
|
|
628
651
|
# @return [Integer]
|
|
629
652
|
#
|
|
630
653
|
# @!attribute [rw] runtime_version
|
|
631
|
-
# Specifies the runtime version to use for the canary.
|
|
632
|
-
#
|
|
633
|
-
#
|
|
634
|
-
# Runtime Versions][1].
|
|
654
|
+
# Specifies the runtime version to use for the canary. For a list of
|
|
655
|
+
# valid runtime versions and more information about runtime versions,
|
|
656
|
+
# see [ Canary Runtime Versions][1].
|
|
635
657
|
#
|
|
636
658
|
#
|
|
637
659
|
#
|
|
@@ -1019,8 +1041,12 @@ module Aws::Synthetics
|
|
|
1019
1041
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html
|
|
1020
1042
|
#
|
|
1021
1043
|
# @!attribute [rw] version_name
|
|
1022
|
-
# The name of the runtime version.
|
|
1023
|
-
#
|
|
1044
|
+
# The name of the runtime version. For a list of valid runtime
|
|
1045
|
+
# versions, see [ Canary Runtime Versions][1].
|
|
1046
|
+
#
|
|
1047
|
+
#
|
|
1048
|
+
#
|
|
1049
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html
|
|
1024
1050
|
# @return [String]
|
|
1025
1051
|
#
|
|
1026
1052
|
# @!attribute [rw] description
|
|
@@ -1191,6 +1217,9 @@ module Aws::Synthetics
|
|
|
1191
1217
|
# timeout_in_seconds: 1,
|
|
1192
1218
|
# memory_in_mb: 1,
|
|
1193
1219
|
# active_tracing: false,
|
|
1220
|
+
# environment_variables: {
|
|
1221
|
+
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
|
1222
|
+
# },
|
|
1194
1223
|
# },
|
|
1195
1224
|
# success_retention_period_in_days: 1,
|
|
1196
1225
|
# failure_retention_period_in_days: 1,
|
|
@@ -1240,10 +1269,9 @@ module Aws::Synthetics
|
|
|
1240
1269
|
# @return [String]
|
|
1241
1270
|
#
|
|
1242
1271
|
# @!attribute [rw] runtime_version
|
|
1243
|
-
# Specifies the runtime version to use for the canary.
|
|
1244
|
-
#
|
|
1245
|
-
#
|
|
1246
|
-
# Runtime Versions][1].
|
|
1272
|
+
# Specifies the runtime version to use for the canary. For a list of
|
|
1273
|
+
# valid runtime versions and for more information about runtime
|
|
1274
|
+
# versions, see [ Canary Runtime Versions][1].
|
|
1247
1275
|
#
|
|
1248
1276
|
#
|
|
1249
1277
|
#
|
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.
|
|
4
|
+
version: 1.10.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: 2020-
|
|
11
|
+
date: 2020-11-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|