aws-sdk-synthetics 1.6.0 → 1.11.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: cb7b992bc07f2b29430021d525f10b8355f39071cfe059cbb7507121eb0fa355
4
- data.tar.gz: 4ee974f870e2fe2f39551cc66db0d024398844350901c1bcce38c8735d5bc6c7
3
+ metadata.gz: c3dc6a45262ec724911554cceb4a7ad782370766a72f22c51cb8b875b1f44d0d
4
+ data.tar.gz: '00893b19c5061c3e538faa064bbf09f673a397751152c970256183b550db4cd3'
5
5
  SHA512:
6
- metadata.gz: 48eb0c143599ae1e5e3afeb28775381c8bb667190b186fc959e60dc60f89847938f1a6352f67ce7ca1f949d911e5d204061b5b5dd937f04a56095e1b3bb15d2a
7
- data.tar.gz: b3514add023275e99aeaf5ecde1527b544b132b602e89a0157c2f267db10b5b675106a5a9f4783060c233e9fdf006f6c252e7cec0a695835ef5b6205b39671ee
6
+ metadata.gz: 7205036597ff7b0191d211ad2bbde4a633c3d89f56a776e00e55e3b82846c5c8f7db64a8f189454e19f9f8520a75b570923493b3c2bde036e0347f57e6f01475
7
+ data.tar.gz: 90dfac579462c7617dff5ea343e099ec24132aca1fd60553f54d5b5771f23566c3777bf3a8e5776378dfe2487d1a02f627f9a5e211b1ad230a980199e012e918
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-synthetics/customizations'
47
48
  # @!group service
48
49
  module Aws::Synthetics
49
50
 
50
- GEM_VERSION = '1.6.0'
51
+ GEM_VERSION = '1.11.0'
51
52
 
52
53
  end
@@ -395,7 +395,7 @@ module Aws::Synthetics
395
395
  #
396
396
  # * `logs:CreateLogStream`
397
397
  #
398
- # * `logs:CreateLogStream`
398
+ # * `logs:PutLogEvents`
399
399
  #
400
400
  # @option params [required, Types::CanaryScheduleInput] :schedule
401
401
  # A structure that contains information about how often the canary is to
@@ -416,9 +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. Currently, the
420
- # only valid value is `syn-1.0`. For more information about runtime
421
- # versions, see [ Canary 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].
422
422
  #
423
423
  #
424
424
  #
@@ -457,14 +457,18 @@ module Aws::Synthetics
457
457
  # handler: "String", # required
458
458
  # },
459
459
  # artifact_s3_location: "String", # required
460
- # execution_role_arn: "Arn", # required
460
+ # execution_role_arn: "RoleArn", # required
461
461
  # schedule: { # required
462
462
  # expression: "String", # required
463
463
  # duration_in_seconds: 1,
464
464
  # },
465
465
  # run_config: {
466
- # timeout_in_seconds: 1, # required
466
+ # timeout_in_seconds: 1,
467
467
  # memory_in_mb: 1,
468
+ # active_tracing: false,
469
+ # environment_variables: {
470
+ # "EnvironmentVariableName" => "EnvironmentVariableValue",
471
+ # },
468
472
  # },
469
473
  # success_retention_period_in_days: 1,
470
474
  # failure_retention_period_in_days: 1,
@@ -489,6 +493,7 @@ module Aws::Synthetics
489
493
  # resp.canary.schedule.duration_in_seconds #=> Integer
490
494
  # resp.canary.run_config.timeout_in_seconds #=> Integer
491
495
  # resp.canary.run_config.memory_in_mb #=> Integer
496
+ # resp.canary.run_config.active_tracing #=> Boolean
492
497
  # resp.canary.success_retention_period_in_days #=> Integer
493
498
  # resp.canary.failure_retention_period_in_days #=> Integer
494
499
  # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -614,6 +619,7 @@ module Aws::Synthetics
614
619
  # resp.canaries[0].schedule.duration_in_seconds #=> Integer
615
620
  # resp.canaries[0].run_config.timeout_in_seconds #=> Integer
616
621
  # resp.canaries[0].run_config.memory_in_mb #=> Integer
622
+ # resp.canaries[0].run_config.active_tracing #=> Boolean
617
623
  # resp.canaries[0].success_retention_period_in_days #=> Integer
618
624
  # resp.canaries[0].failure_retention_period_in_days #=> Integer
619
625
  # resp.canaries[0].status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -675,6 +681,7 @@ module Aws::Synthetics
675
681
  #
676
682
  # resp.canaries_last_run #=> Array
677
683
  # resp.canaries_last_run[0].canary_name #=> String
684
+ # resp.canaries_last_run[0].last_run.id #=> String
678
685
  # resp.canaries_last_run[0].last_run.name #=> String
679
686
  # resp.canaries_last_run[0].last_run.status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
680
687
  # resp.canaries_last_run[0].last_run.status.state_reason #=> String
@@ -774,6 +781,7 @@ module Aws::Synthetics
774
781
  # resp.canary.schedule.duration_in_seconds #=> Integer
775
782
  # resp.canary.run_config.timeout_in_seconds #=> Integer
776
783
  # resp.canary.run_config.memory_in_mb #=> Integer
784
+ # resp.canary.run_config.active_tracing #=> Boolean
777
785
  # resp.canary.success_retention_period_in_days #=> Integer
778
786
  # resp.canary.failure_retention_period_in_days #=> Integer
779
787
  # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -836,6 +844,7 @@ module Aws::Synthetics
836
844
  # @example Response structure
837
845
  #
838
846
  # resp.canary_runs #=> Array
847
+ # resp.canary_runs[0].id #=> String
839
848
  # resp.canary_runs[0].name #=> String
840
849
  # resp.canary_runs[0].status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
841
850
  # resp.canary_runs[0].status.state_reason #=> String
@@ -869,7 +878,7 @@ module Aws::Synthetics
869
878
  # @example Request syntax with placeholder values
870
879
  #
871
880
  # resp = client.list_tags_for_resource({
872
- # resource_arn: "Arn", # required
881
+ # resource_arn: "CanaryArn", # required
873
882
  # })
874
883
  #
875
884
  # @example Response structure
@@ -984,7 +993,7 @@ module Aws::Synthetics
984
993
  # @example Request syntax with placeholder values
985
994
  #
986
995
  # resp = client.tag_resource({
987
- # resource_arn: "Arn", # required
996
+ # resource_arn: "CanaryArn", # required
988
997
  # tags: { # required
989
998
  # "TagKey" => "TagValue",
990
999
  # },
@@ -1015,7 +1024,7 @@ module Aws::Synthetics
1015
1024
  # @example Request syntax with placeholder values
1016
1025
  #
1017
1026
  # resp = client.untag_resource({
1018
- # resource_arn: "Arn", # required
1027
+ # resource_arn: "CanaryArn", # required
1019
1028
  # tag_keys: ["TagKey"], # required
1020
1029
  # })
1021
1030
  #
@@ -1075,8 +1084,8 @@ module Aws::Synthetics
1075
1084
  # * `logs:CreateLogStream`
1076
1085
  #
1077
1086
  # @option params [String] :runtime_version
1078
- # Specifies the runtime version to use for the canary. Currently, the
1079
- # only valid value is `syn-1.0`. For more information about runtime
1087
+ # Specifies the runtime version to use for the canary. For a list of
1088
+ # valid runtime versions and for more information about runtime
1080
1089
  # versions, see [ Canary Runtime Versions][1].
1081
1090
  #
1082
1091
  #
@@ -1120,15 +1129,19 @@ module Aws::Synthetics
1120
1129
  # zip_file: "data",
1121
1130
  # handler: "String", # required
1122
1131
  # },
1123
- # execution_role_arn: "Arn",
1132
+ # execution_role_arn: "RoleArn",
1124
1133
  # runtime_version: "String",
1125
1134
  # schedule: {
1126
1135
  # expression: "String", # required
1127
1136
  # duration_in_seconds: 1,
1128
1137
  # },
1129
1138
  # run_config: {
1130
- # timeout_in_seconds: 1, # required
1139
+ # timeout_in_seconds: 1,
1131
1140
  # memory_in_mb: 1,
1141
+ # active_tracing: false,
1142
+ # environment_variables: {
1143
+ # "EnvironmentVariableName" => "EnvironmentVariableValue",
1144
+ # },
1132
1145
  # },
1133
1146
  # success_retention_period_in_days: 1,
1134
1147
  # failure_retention_period_in_days: 1,
@@ -1160,7 +1173,7 @@ module Aws::Synthetics
1160
1173
  params: params,
1161
1174
  config: config)
1162
1175
  context[:gem_name] = 'aws-sdk-synthetics'
1163
- context[:gem_version] = '1.6.0'
1176
+ context[:gem_version] = '1.11.0'
1164
1177
  Seahorse::Client::Request.new(handlers, context)
1165
1178
  end
1166
1179
 
@@ -13,11 +13,11 @@ module Aws::Synthetics
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
- Arn = Shapes::StringShape.new(name: 'Arn')
17
16
  Blob = Shapes::BlobShape.new(name: 'Blob')
18
17
  Canaries = Shapes::ListShape.new(name: 'Canaries')
19
18
  CanariesLastRun = Shapes::ListShape.new(name: 'CanariesLastRun')
20
19
  Canary = Shapes::StructureShape.new(name: 'Canary')
20
+ CanaryArn = Shapes::StringShape.new(name: 'CanaryArn')
21
21
  CanaryCodeInput = Shapes::StructureShape.new(name: 'CanaryCodeInput')
22
22
  CanaryCodeOutput = Shapes::StructureShape.new(name: 'CanaryCodeOutput')
23
23
  CanaryLastRun = Shapes::StructureShape.new(name: 'CanaryLastRun')
@@ -47,7 +47,11 @@ 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')
54
+ FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
51
55
  GetCanaryRequest = Shapes::StructureShape.new(name: 'GetCanaryRequest')
52
56
  GetCanaryResponse = Shapes::StructureShape.new(name: 'GetCanaryResponse')
53
57
  GetCanaryRunsRequest = Shapes::StructureShape.new(name: 'GetCanaryRunsRequest')
@@ -61,7 +65,9 @@ module Aws::Synthetics
61
65
  MaxSize100 = Shapes::IntegerShape.new(name: 'MaxSize100')
62
66
  MaxSize1024 = Shapes::IntegerShape.new(name: 'MaxSize1024')
63
67
  MaxSize3008 = Shapes::IntegerShape.new(name: 'MaxSize3008')
68
+ NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
64
69
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
70
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
65
71
  RuntimeVersion = Shapes::StructureShape.new(name: 'RuntimeVersion')
66
72
  RuntimeVersionList = Shapes::ListShape.new(name: 'RuntimeVersionList')
67
73
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
@@ -98,7 +104,7 @@ module Aws::Synthetics
98
104
  Canary.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
99
105
  Canary.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, location_name: "Name"))
100
106
  Canary.add_member(:code, Shapes::ShapeRef.new(shape: CanaryCodeOutput, location_name: "Code"))
101
- Canary.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ExecutionRoleArn"))
107
+ Canary.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRoleArn"))
102
108
  Canary.add_member(:schedule, Shapes::ShapeRef.new(shape: CanaryScheduleOutput, location_name: "Schedule"))
103
109
  Canary.add_member(:run_config, Shapes::ShapeRef.new(shape: CanaryRunConfigOutput, location_name: "RunConfig"))
104
110
  Canary.add_member(:success_retention_period_in_days, Shapes::ShapeRef.new(shape: MaxSize1024, location_name: "SuccessRetentionPeriodInDays"))
@@ -106,7 +112,7 @@ module Aws::Synthetics
106
112
  Canary.add_member(:status, Shapes::ShapeRef.new(shape: CanaryStatus, location_name: "Status"))
107
113
  Canary.add_member(:timeline, Shapes::ShapeRef.new(shape: CanaryTimeline, location_name: "Timeline"))
108
114
  Canary.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, location_name: "ArtifactS3Location"))
109
- Canary.add_member(:engine_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EngineArn"))
115
+ Canary.add_member(:engine_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "EngineArn"))
110
116
  Canary.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, location_name: "RuntimeVersion"))
111
117
  Canary.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigOutput, location_name: "VpcConfig"))
112
118
  Canary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
@@ -127,18 +133,22 @@ module Aws::Synthetics
127
133
  CanaryLastRun.add_member(:last_run, Shapes::ShapeRef.new(shape: CanaryRun, location_name: "LastRun"))
128
134
  CanaryLastRun.struct_class = Types::CanaryLastRun
129
135
 
136
+ CanaryRun.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
130
137
  CanaryRun.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, location_name: "Name"))
131
138
  CanaryRun.add_member(:status, Shapes::ShapeRef.new(shape: CanaryRunStatus, location_name: "Status"))
132
139
  CanaryRun.add_member(:timeline, Shapes::ShapeRef.new(shape: CanaryRunTimeline, location_name: "Timeline"))
133
140
  CanaryRun.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, location_name: "ArtifactS3Location"))
134
141
  CanaryRun.struct_class = Types::CanaryRun
135
142
 
136
- CanaryRunConfigInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, required: true, location_name: "TimeoutInSeconds"))
143
+ CanaryRunConfigInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
137
144
  CanaryRunConfigInput.add_member(:memory_in_mb, Shapes::ShapeRef.new(shape: MaxSize3008, location_name: "MemoryInMB"))
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"))
138
147
  CanaryRunConfigInput.struct_class = Types::CanaryRunConfigInput
139
148
 
140
149
  CanaryRunConfigOutput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
141
150
  CanaryRunConfigOutput.add_member(:memory_in_mb, Shapes::ShapeRef.new(shape: MaxSize3008, location_name: "MemoryInMB"))
151
+ CanaryRunConfigOutput.add_member(:active_tracing, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ActiveTracing"))
142
152
  CanaryRunConfigOutput.struct_class = Types::CanaryRunConfigOutput
143
153
 
144
154
  CanaryRunStatus.add_member(:state, Shapes::ShapeRef.new(shape: CanaryRunState, location_name: "State"))
@@ -177,7 +187,7 @@ module Aws::Synthetics
177
187
  CreateCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location_name: "Name"))
178
188
  CreateCanaryRequest.add_member(:code, Shapes::ShapeRef.new(shape: CanaryCodeInput, required: true, location_name: "Code"))
179
189
  CreateCanaryRequest.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ArtifactS3Location"))
180
- CreateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExecutionRoleArn"))
190
+ CreateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
181
191
  CreateCanaryRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: CanaryScheduleInput, required: true, location_name: "Schedule"))
182
192
  CreateCanaryRequest.add_member(:run_config, Shapes::ShapeRef.new(shape: CanaryRunConfigInput, location_name: "RunConfig"))
183
193
  CreateCanaryRequest.add_member(:success_retention_period_in_days, Shapes::ShapeRef.new(shape: MaxSize1024, location_name: "SuccessRetentionPeriodInDays"))
@@ -219,6 +229,9 @@ module Aws::Synthetics
219
229
  DescribeRuntimeVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
220
230
  DescribeRuntimeVersionsResponse.struct_class = Types::DescribeRuntimeVersionsResponse
221
231
 
232
+ EnvironmentVariablesMap.key = Shapes::ShapeRef.new(shape: EnvironmentVariableName)
233
+ EnvironmentVariablesMap.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
234
+
222
235
  GetCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location: "uri", location_name: "name"))
223
236
  GetCanaryRequest.struct_class = Types::GetCanaryRequest
224
237
 
@@ -237,7 +250,7 @@ module Aws::Synthetics
237
250
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
238
251
  InternalServerException.struct_class = Types::InternalServerException
239
252
 
240
- ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
253
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
241
254
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
242
255
 
243
256
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
@@ -273,13 +286,13 @@ module Aws::Synthetics
273
286
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
274
287
  TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
275
288
 
276
- TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
289
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
277
290
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
278
291
  TagResourceRequest.struct_class = Types::TagResourceRequest
279
292
 
280
293
  TagResourceResponse.struct_class = Types::TagResourceResponse
281
294
 
282
- UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
295
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
283
296
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
284
297
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
285
298
 
@@ -287,7 +300,7 @@ module Aws::Synthetics
287
300
 
288
301
  UpdateCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location: "uri", location_name: "name"))
289
302
  UpdateCanaryRequest.add_member(:code, Shapes::ShapeRef.new(shape: CanaryCodeInput, location_name: "Code"))
290
- UpdateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ExecutionRoleArn"))
303
+ UpdateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRoleArn"))
291
304
  UpdateCanaryRequest.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, location_name: "RuntimeVersion"))
292
305
  UpdateCanaryRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: CanaryScheduleInput, location_name: "Schedule"))
293
306
  UpdateCanaryRequest.add_member(:run_config, Shapes::ShapeRef.new(shape: CanaryRunConfigInput, location_name: "RunConfig"))
@@ -37,7 +37,7 @@ module Aws::Synthetics
37
37
  # @return [Types::CanaryScheduleOutput]
38
38
  #
39
39
  # @!attribute [rw] run_config
40
- # A structure that contains information for a canary run.
40
+ # A structure that contains information about a canary run.
41
41
  # @return [Types::CanaryRunConfigOutput]
42
42
  #
43
43
  # @!attribute [rw] success_retention_period_in_days
@@ -75,9 +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. Currently, the
79
- # only valid value is `syn-1.0`. For more information about runtime
80
- # versions, see [ Canary 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].
81
81
  #
82
82
  #
83
83
  #
@@ -224,6 +224,10 @@ module Aws::Synthetics
224
224
 
225
225
  # This structure contains the details about one run of one canary.
226
226
  #
227
+ # @!attribute [rw] id
228
+ # A unique ID that identifies this canary run.
229
+ # @return [String]
230
+ #
227
231
  # @!attribute [rw] name
228
232
  # The name of the canary.
229
233
  # @return [String]
@@ -244,6 +248,7 @@ module Aws::Synthetics
244
248
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRun AWS API Documentation
245
249
  #
246
250
  class CanaryRun < Struct.new(
251
+ :id,
247
252
  :name,
248
253
  :status,
249
254
  :timeline,
@@ -258,31 +263,73 @@ module Aws::Synthetics
258
263
  # data as a hash:
259
264
  #
260
265
  # {
261
- # timeout_in_seconds: 1, # required
266
+ # timeout_in_seconds: 1,
262
267
  # memory_in_mb: 1,
268
+ # active_tracing: false,
269
+ # environment_variables: {
270
+ # "EnvironmentVariableName" => "EnvironmentVariableValue",
271
+ # },
263
272
  # }
264
273
  #
265
274
  # @!attribute [rw] timeout_in_seconds
266
- # How long the canary is allowed to run before it must stop. If you
267
- # omit this field, the frequency of the canary is used as this value,
268
- # up to a maximum of 14 minutes.
275
+ # How long the canary is allowed to run before it must stop. You
276
+ # can't set this time to be longer than the frequency of the runs of
277
+ # this canary.
278
+ #
279
+ # If you omit this field, the frequency of the canary is used as this
280
+ # value, up to a maximum of 14 minutes.
269
281
  # @return [Integer]
270
282
  #
271
283
  # @!attribute [rw] memory_in_mb
272
284
  # The maximum amount of memory available to the canary while it is
273
- # running, in MB. The value you specify must be a multiple of 64.
285
+ # running, in MB. This value must be a multiple of 64.
274
286
  # @return [Integer]
275
287
  #
288
+ # @!attribute [rw] active_tracing
289
+ # Specifies whether this canary is to use active AWS X-Ray tracing
290
+ # when it runs. Active tracing enables this canary run to be displayed
291
+ # in the ServiceLens and X-Ray service maps even if the canary does
292
+ # not hit an endpoint that has X-ray tracing enabled. Using X-Ray
293
+ # tracing incurs charges. For more information, see [ Canaries and
294
+ # X-Ray tracing][1].
295
+ #
296
+ # You can enable active tracing only for canaries that use version
297
+ # `syn-nodejs-2.0` or later for their canary runtime.
298
+ #
299
+ #
300
+ #
301
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_tracing.html
302
+ # @return [Boolean]
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
+ #
276
321
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunConfigInput AWS API Documentation
277
322
  #
278
323
  class CanaryRunConfigInput < Struct.new(
279
324
  :timeout_in_seconds,
280
- :memory_in_mb)
325
+ :memory_in_mb,
326
+ :active_tracing,
327
+ :environment_variables)
281
328
  SENSITIVE = []
282
329
  include Aws::Structure
283
330
  end
284
331
 
285
- # A structure that contains information for a canary run.
332
+ # A structure that contains information about a canary run.
286
333
  #
287
334
  # @!attribute [rw] timeout_in_seconds
288
335
  # How long the canary is allowed to run before it must stop.
@@ -290,14 +337,19 @@ module Aws::Synthetics
290
337
  #
291
338
  # @!attribute [rw] memory_in_mb
292
339
  # The maximum amount of memory available to the canary while it is
293
- # running, in MB. The value you must be a multiple of 64.
340
+ # running, in MB. This value must be a multiple of 64.
294
341
  # @return [Integer]
295
342
  #
343
+ # @!attribute [rw] active_tracing
344
+ # Displays whether this canary run used active AWS X-Ray tracing.
345
+ # @return [Boolean]
346
+ #
296
347
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunConfigOutput AWS API Documentation
297
348
  #
298
349
  class CanaryRunConfigOutput < Struct.new(
299
350
  :timeout_in_seconds,
300
- :memory_in_mb)
351
+ :memory_in_mb,
352
+ :active_tracing)
301
353
  SENSITIVE = []
302
354
  include Aws::Structure
303
355
  end
@@ -503,14 +555,18 @@ module Aws::Synthetics
503
555
  # handler: "String", # required
504
556
  # },
505
557
  # artifact_s3_location: "String", # required
506
- # execution_role_arn: "Arn", # required
558
+ # execution_role_arn: "RoleArn", # required
507
559
  # schedule: { # required
508
560
  # expression: "String", # required
509
561
  # duration_in_seconds: 1,
510
562
  # },
511
563
  # run_config: {
512
- # timeout_in_seconds: 1, # required
564
+ # timeout_in_seconds: 1,
513
565
  # memory_in_mb: 1,
566
+ # active_tracing: false,
567
+ # environment_variables: {
568
+ # "EnvironmentVariableName" => "EnvironmentVariableValue",
569
+ # },
514
570
  # },
515
571
  # success_retention_period_in_days: 1,
516
572
  # failure_retention_period_in_days: 1,
@@ -569,7 +625,7 @@ module Aws::Synthetics
569
625
  #
570
626
  # * `logs:CreateLogStream`
571
627
  #
572
- # * `logs:CreateLogStream`
628
+ # * `logs:PutLogEvents`
573
629
  # @return [String]
574
630
  #
575
631
  # @!attribute [rw] schedule
@@ -595,9 +651,9 @@ module Aws::Synthetics
595
651
  # @return [Integer]
596
652
  #
597
653
  # @!attribute [rw] runtime_version
598
- # Specifies the runtime version to use for the canary. Currently, the
599
- # only valid value is `syn-1.0`. For more information about runtime
600
- # versions, see [ Canary 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].
601
657
  #
602
658
  #
603
659
  #
@@ -932,7 +988,7 @@ module Aws::Synthetics
932
988
  # data as a hash:
933
989
  #
934
990
  # {
935
- # resource_arn: "Arn", # required
991
+ # resource_arn: "CanaryArn", # required
936
992
  # }
937
993
  #
938
994
  # @!attribute [rw] resource_arn
@@ -985,11 +1041,12 @@ module Aws::Synthetics
985
1041
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html
986
1042
  #
987
1043
  # @!attribute [rw] version_name
988
- # The name of the runtime version. Currently, the only valid value is
989
- # `syn-1.0`.
1044
+ # The name of the runtime version. For a list of valid runtime
1045
+ # versions, see [ Canary Runtime Versions][1].
990
1046
  #
991
- # Specifies the runtime version to use for the canary. Currently, the
992
- # only valid value is `syn-1.0`.
1047
+ #
1048
+ #
1049
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html
993
1050
  # @return [String]
994
1051
  #
995
1052
  # @!attribute [rw] description
@@ -1076,7 +1133,7 @@ module Aws::Synthetics
1076
1133
  # data as a hash:
1077
1134
  #
1078
1135
  # {
1079
- # resource_arn: "Arn", # required
1136
+ # resource_arn: "CanaryArn", # required
1080
1137
  # tags: { # required
1081
1138
  # "TagKey" => "TagValue",
1082
1139
  # },
@@ -1110,7 +1167,7 @@ module Aws::Synthetics
1110
1167
  # data as a hash:
1111
1168
  #
1112
1169
  # {
1113
- # resource_arn: "Arn", # required
1170
+ # resource_arn: "CanaryArn", # required
1114
1171
  # tag_keys: ["TagKey"], # required
1115
1172
  # }
1116
1173
  #
@@ -1150,15 +1207,19 @@ module Aws::Synthetics
1150
1207
  # zip_file: "data",
1151
1208
  # handler: "String", # required
1152
1209
  # },
1153
- # execution_role_arn: "Arn",
1210
+ # execution_role_arn: "RoleArn",
1154
1211
  # runtime_version: "String",
1155
1212
  # schedule: {
1156
1213
  # expression: "String", # required
1157
1214
  # duration_in_seconds: 1,
1158
1215
  # },
1159
1216
  # run_config: {
1160
- # timeout_in_seconds: 1, # required
1217
+ # timeout_in_seconds: 1,
1161
1218
  # memory_in_mb: 1,
1219
+ # active_tracing: false,
1220
+ # environment_variables: {
1221
+ # "EnvironmentVariableName" => "EnvironmentVariableValue",
1222
+ # },
1162
1223
  # },
1163
1224
  # success_retention_period_in_days: 1,
1164
1225
  # failure_retention_period_in_days: 1,
@@ -1208,8 +1269,8 @@ module Aws::Synthetics
1208
1269
  # @return [String]
1209
1270
  #
1210
1271
  # @!attribute [rw] runtime_version
1211
- # Specifies the runtime version to use for the canary. Currently, the
1212
- # only valid value is `syn-1.0`. For more information about runtime
1272
+ # Specifies the runtime version to use for the canary. For a list of
1273
+ # valid runtime versions and for more information about runtime
1213
1274
  # versions, see [ Canary Runtime Versions][1].
1214
1275
  #
1215
1276
  #
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.6.0
4
+ version: 1.11.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-08-25 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.112.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement