aws-sdk-synthetics 1.4.1 → 1.9.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: 529f99fb593def7d44b2cd9ba319eac6ec4c848a2df977e8f9c0bf5e948a28c5
4
- data.tar.gz: 836ae5f21c4b17751a1a61f61cea5de0831352e9662fb4347a08b886cf7d12c3
3
+ metadata.gz: 656b28b14672444d0f3f64c0d9ee456cc60b9695632bc4018ec4b07f2366f9c0
4
+ data.tar.gz: 1e28f8c5c74eb276438a7cbcc5a1ab52187018cc166f60a08a8327ea8403bc06
5
5
  SHA512:
6
- metadata.gz: c43af430dacd17cd8225f4996e5d166f081d8c42c8d778d7093ede793786aebcbb1d42a5fd14a2fc453717a778f98ab634bf8af51a5efbe7c9afc8282b1714b8
7
- data.tar.gz: 7a61bcb9c1d4b9cc3ab6db35b516efd8c48f8ab1d747484d43c4c3141bb91c64ea32777dc98802e02013c93abf3281940e10f761bb81f0c689a625ec3eda9925
6
+ metadata.gz: 0cfbf13bc080a6bfe1604e7ebe237900d1a099dbcadfca22e8aceb20ab2606b490c79b9445b0996376930aab91037aa76395e7d3632fcd2aa9506dcb4ebb1235
7
+ data.tar.gz: 31c9682a76e293d72c3776d7ac10c7a80326dfb25db4e15a2fd1e7755c4d5c111027875b094a9e3f0f1601ef226043bbfe33183150435f07134d05b601c6b0f8
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -5,6 +7,7 @@
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
10
+
8
11
  require 'aws-sdk-core'
9
12
  require 'aws-sigv4'
10
13
 
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-synthetics/customizations'
42
45
  #
43
46
  # See {Errors} for more information.
44
47
  #
45
- # @service
48
+ # @!group service
46
49
  module Aws::Synthetics
47
50
 
48
- GEM_VERSION = '1.4.1'
51
+ GEM_VERSION = '1.9.0'
49
52
 
50
53
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -83,13 +85,28 @@ module Aws::Synthetics
83
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
84
86
  # credentials.
85
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
86
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
87
103
  # from an EC2 IMDS on an EC2 instance.
88
104
  #
89
- # * `Aws::SharedCredentials` - Used for loading credentials from a
90
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
91
107
  #
92
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
93
110
  #
94
111
  # When `:credentials` are not configured directly, the following
95
112
  # locations will be searched for credentials:
@@ -99,10 +116,10 @@ module Aws::Synthetics
99
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
100
117
  # * `~/.aws/credentials`
101
118
  # * `~/.aws/config`
102
- # * EC2 IMDS instance profile - When used by default, the timeouts are
103
- # very aggressive. Construct and pass an instance of
104
- # `Aws::InstanceProfileCredentails` to enable retries and extended
105
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
106
123
  #
107
124
  # @option options [required, String] :region
108
125
  # The AWS region to connect to. The configured `:region` is
@@ -378,7 +395,7 @@ module Aws::Synthetics
378
395
  #
379
396
  # * `logs:CreateLogStream`
380
397
  #
381
- # * `logs:CreateLogStream`
398
+ # * `logs:PutLogEvents`
382
399
  #
383
400
  # @option params [required, Types::CanaryScheduleInput] :schedule
384
401
  # A structure that contains information about how often the canary is to
@@ -400,8 +417,9 @@ module Aws::Synthetics
400
417
  #
401
418
  # @option params [required, String] :runtime_version
402
419
  # Specifies the runtime version to use for the canary. Currently, the
403
- # only valid value is `syn-1.0`. For more information about runtime
404
- # versions, see [ Canary Runtime Versions][1].
420
+ # only valid values are `syn-nodejs-2.0`, `syn-nodejs-2.0-beta`, and
421
+ # `syn-1.0`. For more information about runtime versions, see [ Canary
422
+ # Runtime Versions][1].
405
423
  #
406
424
  #
407
425
  #
@@ -440,14 +458,15 @@ module Aws::Synthetics
440
458
  # handler: "String", # required
441
459
  # },
442
460
  # artifact_s3_location: "String", # required
443
- # execution_role_arn: "Arn", # required
461
+ # execution_role_arn: "RoleArn", # required
444
462
  # schedule: { # required
445
463
  # expression: "String", # required
446
464
  # duration_in_seconds: 1,
447
465
  # },
448
466
  # run_config: {
449
- # timeout_in_seconds: 1, # required
467
+ # timeout_in_seconds: 1,
450
468
  # memory_in_mb: 1,
469
+ # active_tracing: false,
451
470
  # },
452
471
  # success_retention_period_in_days: 1,
453
472
  # failure_retention_period_in_days: 1,
@@ -472,6 +491,7 @@ module Aws::Synthetics
472
491
  # resp.canary.schedule.duration_in_seconds #=> Integer
473
492
  # resp.canary.run_config.timeout_in_seconds #=> Integer
474
493
  # resp.canary.run_config.memory_in_mb #=> Integer
494
+ # resp.canary.run_config.active_tracing #=> Boolean
475
495
  # resp.canary.success_retention_period_in_days #=> Integer
476
496
  # resp.canary.failure_retention_period_in_days #=> Integer
477
497
  # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -597,6 +617,7 @@ module Aws::Synthetics
597
617
  # resp.canaries[0].schedule.duration_in_seconds #=> Integer
598
618
  # resp.canaries[0].run_config.timeout_in_seconds #=> Integer
599
619
  # resp.canaries[0].run_config.memory_in_mb #=> Integer
620
+ # resp.canaries[0].run_config.active_tracing #=> Boolean
600
621
  # resp.canaries[0].success_retention_period_in_days #=> Integer
601
622
  # resp.canaries[0].failure_retention_period_in_days #=> Integer
602
623
  # resp.canaries[0].status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -658,6 +679,7 @@ module Aws::Synthetics
658
679
  #
659
680
  # resp.canaries_last_run #=> Array
660
681
  # resp.canaries_last_run[0].canary_name #=> String
682
+ # resp.canaries_last_run[0].last_run.id #=> String
661
683
  # resp.canaries_last_run[0].last_run.name #=> String
662
684
  # resp.canaries_last_run[0].last_run.status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
663
685
  # resp.canaries_last_run[0].last_run.status.state_reason #=> String
@@ -757,6 +779,7 @@ module Aws::Synthetics
757
779
  # resp.canary.schedule.duration_in_seconds #=> Integer
758
780
  # resp.canary.run_config.timeout_in_seconds #=> Integer
759
781
  # resp.canary.run_config.memory_in_mb #=> Integer
782
+ # resp.canary.run_config.active_tracing #=> Boolean
760
783
  # resp.canary.success_retention_period_in_days #=> Integer
761
784
  # resp.canary.failure_retention_period_in_days #=> Integer
762
785
  # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
@@ -819,6 +842,7 @@ module Aws::Synthetics
819
842
  # @example Response structure
820
843
  #
821
844
  # resp.canary_runs #=> Array
845
+ # resp.canary_runs[0].id #=> String
822
846
  # resp.canary_runs[0].name #=> String
823
847
  # resp.canary_runs[0].status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
824
848
  # resp.canary_runs[0].status.state_reason #=> String
@@ -852,7 +876,7 @@ module Aws::Synthetics
852
876
  # @example Request syntax with placeholder values
853
877
  #
854
878
  # resp = client.list_tags_for_resource({
855
- # resource_arn: "Arn", # required
879
+ # resource_arn: "CanaryArn", # required
856
880
  # })
857
881
  #
858
882
  # @example Response structure
@@ -967,7 +991,7 @@ module Aws::Synthetics
967
991
  # @example Request syntax with placeholder values
968
992
  #
969
993
  # resp = client.tag_resource({
970
- # resource_arn: "Arn", # required
994
+ # resource_arn: "CanaryArn", # required
971
995
  # tags: { # required
972
996
  # "TagKey" => "TagValue",
973
997
  # },
@@ -998,7 +1022,7 @@ module Aws::Synthetics
998
1022
  # @example Request syntax with placeholder values
999
1023
  #
1000
1024
  # resp = client.untag_resource({
1001
- # resource_arn: "Arn", # required
1025
+ # resource_arn: "CanaryArn", # required
1002
1026
  # tag_keys: ["TagKey"], # required
1003
1027
  # })
1004
1028
  #
@@ -1059,8 +1083,9 @@ module Aws::Synthetics
1059
1083
  #
1060
1084
  # @option params [String] :runtime_version
1061
1085
  # Specifies the runtime version to use for the canary. Currently, the
1062
- # only valid value is `syn-1.0`. For more information about runtime
1063
- # versions, see [ Canary Runtime Versions][1].
1086
+ # only valid values are `syn-nodejs-2.0`, `syn-nodejs-2.0-beta`, and
1087
+ # `syn-1.0`. For more information about runtime versions, see [ Canary
1088
+ # Runtime Versions][1].
1064
1089
  #
1065
1090
  #
1066
1091
  #
@@ -1103,15 +1128,16 @@ module Aws::Synthetics
1103
1128
  # zip_file: "data",
1104
1129
  # handler: "String", # required
1105
1130
  # },
1106
- # execution_role_arn: "Arn",
1131
+ # execution_role_arn: "RoleArn",
1107
1132
  # runtime_version: "String",
1108
1133
  # schedule: {
1109
1134
  # expression: "String", # required
1110
1135
  # duration_in_seconds: 1,
1111
1136
  # },
1112
1137
  # run_config: {
1113
- # timeout_in_seconds: 1, # required
1138
+ # timeout_in_seconds: 1,
1114
1139
  # memory_in_mb: 1,
1140
+ # active_tracing: false,
1115
1141
  # },
1116
1142
  # success_retention_period_in_days: 1,
1117
1143
  # failure_retention_period_in_days: 1,
@@ -1143,7 +1169,7 @@ module Aws::Synthetics
1143
1169
  params: params,
1144
1170
  config: config)
1145
1171
  context[:gem_name] = 'aws-sdk-synthetics'
1146
- context[:gem_version] = '1.4.1'
1172
+ context[:gem_version] = '1.9.0'
1147
1173
  Seahorse::Client::Request.new(handlers, context)
1148
1174
  end
1149
1175
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -11,11 +13,11 @@ module Aws::Synthetics
11
13
 
12
14
  include Seahorse::Model
13
15
 
14
- Arn = Shapes::StringShape.new(name: 'Arn')
15
16
  Blob = Shapes::BlobShape.new(name: 'Blob')
16
17
  Canaries = Shapes::ListShape.new(name: 'Canaries')
17
18
  CanariesLastRun = Shapes::ListShape.new(name: 'CanariesLastRun')
18
19
  Canary = Shapes::StructureShape.new(name: 'Canary')
20
+ CanaryArn = Shapes::StringShape.new(name: 'CanaryArn')
19
21
  CanaryCodeInput = Shapes::StructureShape.new(name: 'CanaryCodeInput')
20
22
  CanaryCodeOutput = Shapes::StructureShape.new(name: 'CanaryCodeOutput')
21
23
  CanaryLastRun = Shapes::StructureShape.new(name: 'CanaryLastRun')
@@ -46,6 +48,7 @@ module Aws::Synthetics
46
48
  DescribeRuntimeVersionsRequest = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsRequest')
47
49
  DescribeRuntimeVersionsResponse = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsResponse')
48
50
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
51
+ FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
49
52
  GetCanaryRequest = Shapes::StructureShape.new(name: 'GetCanaryRequest')
50
53
  GetCanaryResponse = Shapes::StructureShape.new(name: 'GetCanaryResponse')
51
54
  GetCanaryRunsRequest = Shapes::StructureShape.new(name: 'GetCanaryRunsRequest')
@@ -59,7 +62,9 @@ module Aws::Synthetics
59
62
  MaxSize100 = Shapes::IntegerShape.new(name: 'MaxSize100')
60
63
  MaxSize1024 = Shapes::IntegerShape.new(name: 'MaxSize1024')
61
64
  MaxSize3008 = Shapes::IntegerShape.new(name: 'MaxSize3008')
65
+ NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
62
66
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
67
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
63
68
  RuntimeVersion = Shapes::StructureShape.new(name: 'RuntimeVersion')
64
69
  RuntimeVersionList = Shapes::ListShape.new(name: 'RuntimeVersionList')
65
70
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
@@ -96,7 +101,7 @@ module Aws::Synthetics
96
101
  Canary.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
97
102
  Canary.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, location_name: "Name"))
98
103
  Canary.add_member(:code, Shapes::ShapeRef.new(shape: CanaryCodeOutput, location_name: "Code"))
99
- Canary.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ExecutionRoleArn"))
104
+ Canary.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRoleArn"))
100
105
  Canary.add_member(:schedule, Shapes::ShapeRef.new(shape: CanaryScheduleOutput, location_name: "Schedule"))
101
106
  Canary.add_member(:run_config, Shapes::ShapeRef.new(shape: CanaryRunConfigOutput, location_name: "RunConfig"))
102
107
  Canary.add_member(:success_retention_period_in_days, Shapes::ShapeRef.new(shape: MaxSize1024, location_name: "SuccessRetentionPeriodInDays"))
@@ -104,7 +109,7 @@ module Aws::Synthetics
104
109
  Canary.add_member(:status, Shapes::ShapeRef.new(shape: CanaryStatus, location_name: "Status"))
105
110
  Canary.add_member(:timeline, Shapes::ShapeRef.new(shape: CanaryTimeline, location_name: "Timeline"))
106
111
  Canary.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, location_name: "ArtifactS3Location"))
107
- Canary.add_member(:engine_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EngineArn"))
112
+ Canary.add_member(:engine_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "EngineArn"))
108
113
  Canary.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, location_name: "RuntimeVersion"))
109
114
  Canary.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigOutput, location_name: "VpcConfig"))
110
115
  Canary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
@@ -125,18 +130,21 @@ module Aws::Synthetics
125
130
  CanaryLastRun.add_member(:last_run, Shapes::ShapeRef.new(shape: CanaryRun, location_name: "LastRun"))
126
131
  CanaryLastRun.struct_class = Types::CanaryLastRun
127
132
 
133
+ CanaryRun.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
128
134
  CanaryRun.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, location_name: "Name"))
129
135
  CanaryRun.add_member(:status, Shapes::ShapeRef.new(shape: CanaryRunStatus, location_name: "Status"))
130
136
  CanaryRun.add_member(:timeline, Shapes::ShapeRef.new(shape: CanaryRunTimeline, location_name: "Timeline"))
131
137
  CanaryRun.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, location_name: "ArtifactS3Location"))
132
138
  CanaryRun.struct_class = Types::CanaryRun
133
139
 
134
- CanaryRunConfigInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, required: true, location_name: "TimeoutInSeconds"))
140
+ CanaryRunConfigInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
135
141
  CanaryRunConfigInput.add_member(:memory_in_mb, Shapes::ShapeRef.new(shape: MaxSize3008, location_name: "MemoryInMB"))
142
+ CanaryRunConfigInput.add_member(:active_tracing, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ActiveTracing"))
136
143
  CanaryRunConfigInput.struct_class = Types::CanaryRunConfigInput
137
144
 
138
145
  CanaryRunConfigOutput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: MaxFifteenMinutesInSeconds, location_name: "TimeoutInSeconds"))
139
146
  CanaryRunConfigOutput.add_member(:memory_in_mb, Shapes::ShapeRef.new(shape: MaxSize3008, location_name: "MemoryInMB"))
147
+ CanaryRunConfigOutput.add_member(:active_tracing, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ActiveTracing"))
140
148
  CanaryRunConfigOutput.struct_class = Types::CanaryRunConfigOutput
141
149
 
142
150
  CanaryRunStatus.add_member(:state, Shapes::ShapeRef.new(shape: CanaryRunState, location_name: "State"))
@@ -175,7 +183,7 @@ module Aws::Synthetics
175
183
  CreateCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location_name: "Name"))
176
184
  CreateCanaryRequest.add_member(:code, Shapes::ShapeRef.new(shape: CanaryCodeInput, required: true, location_name: "Code"))
177
185
  CreateCanaryRequest.add_member(:artifact_s3_location, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ArtifactS3Location"))
178
- CreateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExecutionRoleArn"))
186
+ CreateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
179
187
  CreateCanaryRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: CanaryScheduleInput, required: true, location_name: "Schedule"))
180
188
  CreateCanaryRequest.add_member(:run_config, Shapes::ShapeRef.new(shape: CanaryRunConfigInput, location_name: "RunConfig"))
181
189
  CreateCanaryRequest.add_member(:success_retention_period_in_days, Shapes::ShapeRef.new(shape: MaxSize1024, location_name: "SuccessRetentionPeriodInDays"))
@@ -235,7 +243,7 @@ module Aws::Synthetics
235
243
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
236
244
  InternalServerException.struct_class = Types::InternalServerException
237
245
 
238
- ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
246
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
239
247
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
240
248
 
241
249
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
@@ -271,13 +279,13 @@ module Aws::Synthetics
271
279
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
272
280
  TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
273
281
 
274
- TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
282
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
275
283
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
276
284
  TagResourceRequest.struct_class = Types::TagResourceRequest
277
285
 
278
286
  TagResourceResponse.struct_class = Types::TagResourceResponse
279
287
 
280
- UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
288
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
281
289
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
282
290
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
283
291
 
@@ -285,7 +293,7 @@ module Aws::Synthetics
285
293
 
286
294
  UpdateCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location: "uri", location_name: "name"))
287
295
  UpdateCanaryRequest.add_member(:code, Shapes::ShapeRef.new(shape: CanaryCodeInput, location_name: "Code"))
288
- UpdateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ExecutionRoleArn"))
296
+ UpdateCanaryRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRoleArn"))
289
297
  UpdateCanaryRequest.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, location_name: "RuntimeVersion"))
290
298
  UpdateCanaryRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: CanaryScheduleInput, location_name: "Schedule"))
291
299
  UpdateCanaryRequest.add_member(:run_config, Shapes::ShapeRef.new(shape: CanaryRunConfigInput, location_name: "RunConfig"))
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -35,7 +37,7 @@ module Aws::Synthetics
35
37
  # @return [Types::CanaryScheduleOutput]
36
38
  #
37
39
  # @!attribute [rw] run_config
38
- # A structure that contains information for a canary run.
40
+ # A structure that contains information about a canary run.
39
41
  # @return [Types::CanaryRunConfigOutput]
40
42
  #
41
43
  # @!attribute [rw] success_retention_period_in_days
@@ -74,8 +76,9 @@ module Aws::Synthetics
74
76
  #
75
77
  # @!attribute [rw] runtime_version
76
78
  # Specifies the runtime version to use for the canary. Currently, the
77
- # only valid value is `syn-1.0`. For more information about runtime
78
- # versions, see [ Canary Runtime Versions][1].
79
+ # only valid values are `syn-nodejs-2.0`, `syn-nodejs-2.0-beta`, and
80
+ # `syn-1.0`. For more information about runtime versions, see [ Canary
81
+ # Runtime Versions][1].
79
82
  #
80
83
  #
81
84
  #
@@ -115,6 +118,7 @@ module Aws::Synthetics
115
118
  :runtime_version,
116
119
  :vpc_config,
117
120
  :tags)
121
+ SENSITIVE = []
118
122
  include Aws::Structure
119
123
  end
120
124
 
@@ -174,6 +178,7 @@ module Aws::Synthetics
174
178
  :s3_version,
175
179
  :zip_file,
176
180
  :handler)
181
+ SENSITIVE = []
177
182
  include Aws::Structure
178
183
  end
179
184
 
@@ -194,6 +199,7 @@ module Aws::Synthetics
194
199
  class CanaryCodeOutput < Struct.new(
195
200
  :source_location_arn,
196
201
  :handler)
202
+ SENSITIVE = []
197
203
  include Aws::Structure
198
204
  end
199
205
 
@@ -213,11 +219,16 @@ module Aws::Synthetics
213
219
  class CanaryLastRun < Struct.new(
214
220
  :canary_name,
215
221
  :last_run)
222
+ SENSITIVE = []
216
223
  include Aws::Structure
217
224
  end
218
225
 
219
226
  # This structure contains the details about one run of one canary.
220
227
  #
228
+ # @!attribute [rw] id
229
+ # A unique ID that identifies this canary run.
230
+ # @return [String]
231
+ #
221
232
  # @!attribute [rw] name
222
233
  # The name of the canary.
223
234
  # @return [String]
@@ -238,10 +249,12 @@ module Aws::Synthetics
238
249
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRun AWS API Documentation
239
250
  #
240
251
  class CanaryRun < Struct.new(
252
+ :id,
241
253
  :name,
242
254
  :status,
243
255
  :timeline,
244
256
  :artifact_s3_location)
257
+ SENSITIVE = []
245
258
  include Aws::Structure
246
259
  end
247
260
 
@@ -251,30 +264,52 @@ module Aws::Synthetics
251
264
  # data as a hash:
252
265
  #
253
266
  # {
254
- # timeout_in_seconds: 1, # required
267
+ # timeout_in_seconds: 1,
255
268
  # memory_in_mb: 1,
269
+ # active_tracing: false,
256
270
  # }
257
271
  #
258
272
  # @!attribute [rw] timeout_in_seconds
259
- # How long the canary is allowed to run before it must stop. If you
260
- # omit this field, the frequency of the canary is used as this value,
261
- # up to a maximum of 14 minutes.
273
+ # How long the canary is allowed to run before it must stop. You
274
+ # can't set this time to be longer than the frequency of the runs of
275
+ # this canary.
276
+ #
277
+ # If you omit this field, the frequency of the canary is used as this
278
+ # value, up to a maximum of 14 minutes.
262
279
  # @return [Integer]
263
280
  #
264
281
  # @!attribute [rw] memory_in_mb
265
282
  # The maximum amount of memory available to the canary while it is
266
- # running, in MB. The value you specify must be a multiple of 64.
283
+ # running, in MB. This value must be a multiple of 64.
267
284
  # @return [Integer]
268
285
  #
286
+ # @!attribute [rw] active_tracing
287
+ # Specifies whether this canary is to use active AWS X-Ray tracing
288
+ # when it runs. Active tracing enables this canary run to be displayed
289
+ # in the ServiceLens and X-Ray service maps even if the canary does
290
+ # not hit an endpoint that has X-ray tracing enabled. Using X-Ray
291
+ # tracing incurs charges. For more information, see [ Canaries and
292
+ # X-Ray tracing][1].
293
+ #
294
+ # You can enable active tracing only for canaries that use version
295
+ # `syn-nodejs-2.0` or later for their canary runtime.
296
+ #
297
+ #
298
+ #
299
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_tracing.html
300
+ # @return [Boolean]
301
+ #
269
302
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunConfigInput AWS API Documentation
270
303
  #
271
304
  class CanaryRunConfigInput < Struct.new(
272
305
  :timeout_in_seconds,
273
- :memory_in_mb)
306
+ :memory_in_mb,
307
+ :active_tracing)
308
+ SENSITIVE = []
274
309
  include Aws::Structure
275
310
  end
276
311
 
277
- # A structure that contains information for a canary run.
312
+ # A structure that contains information about a canary run.
278
313
  #
279
314
  # @!attribute [rw] timeout_in_seconds
280
315
  # How long the canary is allowed to run before it must stop.
@@ -282,14 +317,20 @@ module Aws::Synthetics
282
317
  #
283
318
  # @!attribute [rw] memory_in_mb
284
319
  # The maximum amount of memory available to the canary while it is
285
- # running, in MB. The value you must be a multiple of 64.
320
+ # running, in MB. This value must be a multiple of 64.
286
321
  # @return [Integer]
287
322
  #
323
+ # @!attribute [rw] active_tracing
324
+ # Displays whether this canary run used active AWS X-Ray tracing.
325
+ # @return [Boolean]
326
+ #
288
327
  # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CanaryRunConfigOutput AWS API Documentation
289
328
  #
290
329
  class CanaryRunConfigOutput < Struct.new(
291
330
  :timeout_in_seconds,
292
- :memory_in_mb)
331
+ :memory_in_mb,
332
+ :active_tracing)
333
+ SENSITIVE = []
293
334
  include Aws::Structure
294
335
  end
295
336
 
@@ -316,6 +357,7 @@ module Aws::Synthetics
316
357
  :state,
317
358
  :state_reason,
318
359
  :state_reason_code)
360
+ SENSITIVE = []
319
361
  include Aws::Structure
320
362
  end
321
363
 
@@ -335,6 +377,7 @@ module Aws::Synthetics
335
377
  class CanaryRunTimeline < Struct.new(
336
378
  :started,
337
379
  :completed)
380
+ SENSITIVE = []
338
381
  include Aws::Structure
339
382
  end
340
383
 
@@ -375,6 +418,7 @@ module Aws::Synthetics
375
418
  class CanaryScheduleInput < Struct.new(
376
419
  :expression,
377
420
  :duration_in_seconds)
421
+ SENSITIVE = []
378
422
  include Aws::Structure
379
423
  end
380
424
 
@@ -405,6 +449,7 @@ module Aws::Synthetics
405
449
  class CanaryScheduleOutput < Struct.new(
406
450
  :expression,
407
451
  :duration_in_seconds)
452
+ SENSITIVE = []
408
453
  include Aws::Structure
409
454
  end
410
455
 
@@ -430,6 +475,7 @@ module Aws::Synthetics
430
475
  :state,
431
476
  :state_reason,
432
477
  :state_reason_code)
478
+ SENSITIVE = []
433
479
  include Aws::Structure
434
480
  end
435
481
 
@@ -459,6 +505,7 @@ module Aws::Synthetics
459
505
  :last_modified,
460
506
  :last_started,
461
507
  :last_stopped)
508
+ SENSITIVE = []
462
509
  include Aws::Structure
463
510
  end
464
511
 
@@ -471,6 +518,7 @@ module Aws::Synthetics
471
518
  #
472
519
  class ConflictException < Struct.new(
473
520
  :message)
521
+ SENSITIVE = []
474
522
  include Aws::Structure
475
523
  end
476
524
 
@@ -487,14 +535,15 @@ module Aws::Synthetics
487
535
  # handler: "String", # required
488
536
  # },
489
537
  # artifact_s3_location: "String", # required
490
- # execution_role_arn: "Arn", # required
538
+ # execution_role_arn: "RoleArn", # required
491
539
  # schedule: { # required
492
540
  # expression: "String", # required
493
541
  # duration_in_seconds: 1,
494
542
  # },
495
543
  # run_config: {
496
- # timeout_in_seconds: 1, # required
544
+ # timeout_in_seconds: 1,
497
545
  # memory_in_mb: 1,
546
+ # active_tracing: false,
498
547
  # },
499
548
  # success_retention_period_in_days: 1,
500
549
  # failure_retention_period_in_days: 1,
@@ -553,7 +602,7 @@ module Aws::Synthetics
553
602
  #
554
603
  # * `logs:CreateLogStream`
555
604
  #
556
- # * `logs:CreateLogStream`
605
+ # * `logs:PutLogEvents`
557
606
  # @return [String]
558
607
  #
559
608
  # @!attribute [rw] schedule
@@ -580,8 +629,9 @@ module Aws::Synthetics
580
629
  #
581
630
  # @!attribute [rw] runtime_version
582
631
  # Specifies the runtime version to use for the canary. Currently, the
583
- # only valid value is `syn-1.0`. For more information about runtime
584
- # versions, see [ Canary Runtime Versions][1].
632
+ # only valid values are `syn-nodejs-2.0`, `syn-nodejs-2.0-beta`, and
633
+ # `syn-1.0`. For more information about runtime versions, see [ Canary
634
+ # Runtime Versions][1].
585
635
  #
586
636
  #
587
637
  #
@@ -622,6 +672,7 @@ module Aws::Synthetics
622
672
  :runtime_version,
623
673
  :vpc_config,
624
674
  :tags)
675
+ SENSITIVE = []
625
676
  include Aws::Structure
626
677
  end
627
678
 
@@ -633,6 +684,7 @@ module Aws::Synthetics
633
684
  #
634
685
  class CreateCanaryResponse < Struct.new(
635
686
  :canary)
687
+ SENSITIVE = []
636
688
  include Aws::Structure
637
689
  end
638
690
 
@@ -656,6 +708,7 @@ module Aws::Synthetics
656
708
  #
657
709
  class DeleteCanaryRequest < Struct.new(
658
710
  :name)
711
+ SENSITIVE = []
659
712
  include Aws::Structure
660
713
  end
661
714
 
@@ -688,6 +741,7 @@ module Aws::Synthetics
688
741
  class DescribeCanariesLastRunRequest < Struct.new(
689
742
  :next_token,
690
743
  :max_results)
744
+ SENSITIVE = []
691
745
  include Aws::Structure
692
746
  end
693
747
 
@@ -707,6 +761,7 @@ module Aws::Synthetics
707
761
  class DescribeCanariesLastRunResponse < Struct.new(
708
762
  :canaries_last_run,
709
763
  :next_token)
764
+ SENSITIVE = []
710
765
  include Aws::Structure
711
766
  end
712
767
 
@@ -735,6 +790,7 @@ module Aws::Synthetics
735
790
  class DescribeCanariesRequest < Struct.new(
736
791
  :next_token,
737
792
  :max_results)
793
+ SENSITIVE = []
738
794
  include Aws::Structure
739
795
  end
740
796
 
@@ -754,6 +810,7 @@ module Aws::Synthetics
754
810
  class DescribeCanariesResponse < Struct.new(
755
811
  :canaries,
756
812
  :next_token)
813
+ SENSITIVE = []
757
814
  include Aws::Structure
758
815
  end
759
816
 
@@ -782,6 +839,7 @@ module Aws::Synthetics
782
839
  class DescribeRuntimeVersionsRequest < Struct.new(
783
840
  :next_token,
784
841
  :max_results)
842
+ SENSITIVE = []
785
843
  include Aws::Structure
786
844
  end
787
845
 
@@ -801,6 +859,7 @@ module Aws::Synthetics
801
859
  class DescribeRuntimeVersionsResponse < Struct.new(
802
860
  :runtime_versions,
803
861
  :next_token)
862
+ SENSITIVE = []
804
863
  include Aws::Structure
805
864
  end
806
865
 
@@ -819,6 +878,7 @@ module Aws::Synthetics
819
878
  #
820
879
  class GetCanaryRequest < Struct.new(
821
880
  :name)
881
+ SENSITIVE = []
822
882
  include Aws::Structure
823
883
  end
824
884
 
@@ -830,6 +890,7 @@ module Aws::Synthetics
830
890
  #
831
891
  class GetCanaryResponse < Struct.new(
832
892
  :canary)
893
+ SENSITIVE = []
833
894
  include Aws::Structure
834
895
  end
835
896
 
@@ -864,6 +925,7 @@ module Aws::Synthetics
864
925
  :name,
865
926
  :next_token,
866
927
  :max_results)
928
+ SENSITIVE = []
867
929
  include Aws::Structure
868
930
  end
869
931
 
@@ -883,6 +945,7 @@ module Aws::Synthetics
883
945
  class GetCanaryRunsResponse < Struct.new(
884
946
  :canary_runs,
885
947
  :next_token)
948
+ SENSITIVE = []
886
949
  include Aws::Structure
887
950
  end
888
951
 
@@ -895,6 +958,7 @@ module Aws::Synthetics
895
958
  #
896
959
  class InternalServerException < Struct.new(
897
960
  :message)
961
+ SENSITIVE = []
898
962
  include Aws::Structure
899
963
  end
900
964
 
@@ -902,7 +966,7 @@ module Aws::Synthetics
902
966
  # data as a hash:
903
967
  #
904
968
  # {
905
- # resource_arn: "Arn", # required
969
+ # resource_arn: "CanaryArn", # required
906
970
  # }
907
971
  #
908
972
  # @!attribute [rw] resource_arn
@@ -916,6 +980,7 @@ module Aws::Synthetics
916
980
  #
917
981
  class ListTagsForResourceRequest < Struct.new(
918
982
  :resource_arn)
983
+ SENSITIVE = []
919
984
  include Aws::Structure
920
985
  end
921
986
 
@@ -928,6 +993,7 @@ module Aws::Synthetics
928
993
  #
929
994
  class ListTagsForResourceResponse < Struct.new(
930
995
  :tags)
996
+ SENSITIVE = []
931
997
  include Aws::Structure
932
998
  end
933
999
 
@@ -940,6 +1006,7 @@ module Aws::Synthetics
940
1006
  #
941
1007
  class ResourceNotFoundException < Struct.new(
942
1008
  :message)
1009
+ SENSITIVE = []
943
1010
  include Aws::Structure
944
1011
  end
945
1012
 
@@ -952,11 +1019,8 @@ module Aws::Synthetics
952
1019
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html
953
1020
  #
954
1021
  # @!attribute [rw] version_name
955
- # The name of the runtime version. Currently, the only valid value is
956
- # `syn-1.0`.
957
- #
958
- # Specifies the runtime version to use for the canary. Currently, the
959
- # only valid value is `syn-1.0`.
1022
+ # The name of the runtime version. Currently, the only valid values
1023
+ # are `syn-nodejs-2.0`, `syn-nodejs-2.0-beta`, and `syn-1.0`.
960
1024
  # @return [String]
961
1025
  #
962
1026
  # @!attribute [rw] description
@@ -979,6 +1043,7 @@ module Aws::Synthetics
979
1043
  :description,
980
1044
  :release_date,
981
1045
  :deprecation_date)
1046
+ SENSITIVE = []
982
1047
  include Aws::Structure
983
1048
  end
984
1049
 
@@ -1002,6 +1067,7 @@ module Aws::Synthetics
1002
1067
  #
1003
1068
  class StartCanaryRequest < Struct.new(
1004
1069
  :name)
1070
+ SENSITIVE = []
1005
1071
  include Aws::Structure
1006
1072
  end
1007
1073
 
@@ -1029,6 +1095,7 @@ module Aws::Synthetics
1029
1095
  #
1030
1096
  class StopCanaryRequest < Struct.new(
1031
1097
  :name)
1098
+ SENSITIVE = []
1032
1099
  include Aws::Structure
1033
1100
  end
1034
1101
 
@@ -1040,7 +1107,7 @@ module Aws::Synthetics
1040
1107
  # data as a hash:
1041
1108
  #
1042
1109
  # {
1043
- # resource_arn: "Arn", # required
1110
+ # resource_arn: "CanaryArn", # required
1044
1111
  # tags: { # required
1045
1112
  # "TagKey" => "TagValue",
1046
1113
  # },
@@ -1062,6 +1129,7 @@ module Aws::Synthetics
1062
1129
  class TagResourceRequest < Struct.new(
1063
1130
  :resource_arn,
1064
1131
  :tags)
1132
+ SENSITIVE = []
1065
1133
  include Aws::Structure
1066
1134
  end
1067
1135
 
@@ -1073,7 +1141,7 @@ module Aws::Synthetics
1073
1141
  # data as a hash:
1074
1142
  #
1075
1143
  # {
1076
- # resource_arn: "Arn", # required
1144
+ # resource_arn: "CanaryArn", # required
1077
1145
  # tag_keys: ["TagKey"], # required
1078
1146
  # }
1079
1147
  #
@@ -1093,6 +1161,7 @@ module Aws::Synthetics
1093
1161
  class UntagResourceRequest < Struct.new(
1094
1162
  :resource_arn,
1095
1163
  :tag_keys)
1164
+ SENSITIVE = []
1096
1165
  include Aws::Structure
1097
1166
  end
1098
1167
 
@@ -1112,15 +1181,16 @@ module Aws::Synthetics
1112
1181
  # zip_file: "data",
1113
1182
  # handler: "String", # required
1114
1183
  # },
1115
- # execution_role_arn: "Arn",
1184
+ # execution_role_arn: "RoleArn",
1116
1185
  # runtime_version: "String",
1117
1186
  # schedule: {
1118
1187
  # expression: "String", # required
1119
1188
  # duration_in_seconds: 1,
1120
1189
  # },
1121
1190
  # run_config: {
1122
- # timeout_in_seconds: 1, # required
1191
+ # timeout_in_seconds: 1,
1123
1192
  # memory_in_mb: 1,
1193
+ # active_tracing: false,
1124
1194
  # },
1125
1195
  # success_retention_period_in_days: 1,
1126
1196
  # failure_retention_period_in_days: 1,
@@ -1171,8 +1241,9 @@ module Aws::Synthetics
1171
1241
  #
1172
1242
  # @!attribute [rw] runtime_version
1173
1243
  # Specifies the runtime version to use for the canary. Currently, the
1174
- # only valid value is `syn-1.0`. For more information about runtime
1175
- # versions, see [ Canary Runtime Versions][1].
1244
+ # only valid values are `syn-nodejs-2.0`, `syn-nodejs-2.0-beta`, and
1245
+ # `syn-1.0`. For more information about runtime versions, see [ Canary
1246
+ # Runtime Versions][1].
1176
1247
  #
1177
1248
  #
1178
1249
  #
@@ -1220,6 +1291,7 @@ module Aws::Synthetics
1220
1291
  :success_retention_period_in_days,
1221
1292
  :failure_retention_period_in_days,
1222
1293
  :vpc_config)
1294
+ SENSITIVE = []
1223
1295
  include Aws::Structure
1224
1296
  end
1225
1297
 
@@ -1236,6 +1308,7 @@ module Aws::Synthetics
1236
1308
  #
1237
1309
  class ValidationException < Struct.new(
1238
1310
  :message)
1311
+ SENSITIVE = []
1239
1312
  include Aws::Structure
1240
1313
  end
1241
1314
 
@@ -1268,6 +1341,7 @@ module Aws::Synthetics
1268
1341
  class VpcConfigInput < Struct.new(
1269
1342
  :subnet_ids,
1270
1343
  :security_group_ids)
1344
+ SENSITIVE = []
1271
1345
  include Aws::Structure
1272
1346
  end
1273
1347
 
@@ -1297,6 +1371,7 @@ module Aws::Synthetics
1297
1371
  :vpc_id,
1298
1372
  :subnet_ids,
1299
1373
  :security_group_ids)
1374
+ SENSITIVE = []
1300
1375
  include Aws::Structure
1301
1376
  end
1302
1377
 
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.1
4
+ version: 1.9.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-06-11 00:00:00.000000000 Z
11
+ date: 2020-09-30 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.109.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.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement