aws-sdk-synthetics 1.3.0 → 1.8.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 +5 -2
- data/lib/aws-sdk-synthetics/client.rb +49 -21
- data/lib/aws-sdk-synthetics/client_api.rb +17 -9
- data/lib/aws-sdk-synthetics/errors.rb +2 -0
- data/lib/aws-sdk-synthetics/resource.rb +2 -0
- data/lib/aws-sdk-synthetics/types.rb +104 -29
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5144ecece1b55fc4bc2bccc9fdb5461bb48299edfd13c4cdac8e1a69a92ce34d
|
4
|
+
data.tar.gz: 499987def1aba9ea9a27aca484a3411dc6ad600dec1e7cb9b426f1f4d4a8be4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89aa6b003ea86a7628d633c3fdecd42114d0a12ef297b71b8f2a15a702ea6d433d9177e92ccb40931302946ce11698395b4cedf5acbfe0d540e53aac975a3f9d
|
7
|
+
data.tar.gz: 871c8b69e399e813b872ab61b06e247b1e0247825069376671c6ccca4cdeddb63b23f52a40fc92fa6b62020e54ad737a86caadc6084138e601acd48ea4e7d92d
|
data/lib/aws-sdk-synthetics.rb
CHANGED
@@ -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
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::Synthetics
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.8.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:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::Synthetics
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -81,13 +85,28 @@ module Aws::Synthetics
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
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
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::Synthetics
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# 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.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::Synthetics
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -376,7 +395,7 @@ module Aws::Synthetics
|
|
376
395
|
#
|
377
396
|
# * `logs:CreateLogStream`
|
378
397
|
#
|
379
|
-
# * `logs:
|
398
|
+
# * `logs:PutLogEvents`
|
380
399
|
#
|
381
400
|
# @option params [required, Types::CanaryScheduleInput] :schedule
|
382
401
|
# A structure that contains information about how often the canary is to
|
@@ -398,8 +417,9 @@ module Aws::Synthetics
|
|
398
417
|
#
|
399
418
|
# @option params [required, String] :runtime_version
|
400
419
|
# Specifies the runtime version to use for the canary. Currently, the
|
401
|
-
# only valid
|
402
|
-
# versions, see [ Canary
|
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].
|
403
423
|
#
|
404
424
|
#
|
405
425
|
#
|
@@ -438,14 +458,15 @@ module Aws::Synthetics
|
|
438
458
|
# handler: "String", # required
|
439
459
|
# },
|
440
460
|
# artifact_s3_location: "String", # required
|
441
|
-
# execution_role_arn: "
|
461
|
+
# execution_role_arn: "RoleArn", # required
|
442
462
|
# schedule: { # required
|
443
463
|
# expression: "String", # required
|
444
464
|
# duration_in_seconds: 1,
|
445
465
|
# },
|
446
466
|
# run_config: {
|
447
|
-
# timeout_in_seconds: 1,
|
467
|
+
# timeout_in_seconds: 1,
|
448
468
|
# memory_in_mb: 1,
|
469
|
+
# active_tracing: false,
|
449
470
|
# },
|
450
471
|
# success_retention_period_in_days: 1,
|
451
472
|
# failure_retention_period_in_days: 1,
|
@@ -470,6 +491,7 @@ module Aws::Synthetics
|
|
470
491
|
# resp.canary.schedule.duration_in_seconds #=> Integer
|
471
492
|
# resp.canary.run_config.timeout_in_seconds #=> Integer
|
472
493
|
# resp.canary.run_config.memory_in_mb #=> Integer
|
494
|
+
# resp.canary.run_config.active_tracing #=> Boolean
|
473
495
|
# resp.canary.success_retention_period_in_days #=> Integer
|
474
496
|
# resp.canary.failure_retention_period_in_days #=> Integer
|
475
497
|
# resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
|
@@ -595,6 +617,7 @@ module Aws::Synthetics
|
|
595
617
|
# resp.canaries[0].schedule.duration_in_seconds #=> Integer
|
596
618
|
# resp.canaries[0].run_config.timeout_in_seconds #=> Integer
|
597
619
|
# resp.canaries[0].run_config.memory_in_mb #=> Integer
|
620
|
+
# resp.canaries[0].run_config.active_tracing #=> Boolean
|
598
621
|
# resp.canaries[0].success_retention_period_in_days #=> Integer
|
599
622
|
# resp.canaries[0].failure_retention_period_in_days #=> Integer
|
600
623
|
# resp.canaries[0].status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
|
@@ -656,6 +679,7 @@ module Aws::Synthetics
|
|
656
679
|
#
|
657
680
|
# resp.canaries_last_run #=> Array
|
658
681
|
# resp.canaries_last_run[0].canary_name #=> String
|
682
|
+
# resp.canaries_last_run[0].last_run.id #=> String
|
659
683
|
# resp.canaries_last_run[0].last_run.name #=> String
|
660
684
|
# resp.canaries_last_run[0].last_run.status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
|
661
685
|
# resp.canaries_last_run[0].last_run.status.state_reason #=> String
|
@@ -755,6 +779,7 @@ module Aws::Synthetics
|
|
755
779
|
# resp.canary.schedule.duration_in_seconds #=> Integer
|
756
780
|
# resp.canary.run_config.timeout_in_seconds #=> Integer
|
757
781
|
# resp.canary.run_config.memory_in_mb #=> Integer
|
782
|
+
# resp.canary.run_config.active_tracing #=> Boolean
|
758
783
|
# resp.canary.success_retention_period_in_days #=> Integer
|
759
784
|
# resp.canary.failure_retention_period_in_days #=> Integer
|
760
785
|
# resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING"
|
@@ -817,6 +842,7 @@ module Aws::Synthetics
|
|
817
842
|
# @example Response structure
|
818
843
|
#
|
819
844
|
# resp.canary_runs #=> Array
|
845
|
+
# resp.canary_runs[0].id #=> String
|
820
846
|
# resp.canary_runs[0].name #=> String
|
821
847
|
# resp.canary_runs[0].status.state #=> String, one of "RUNNING", "PASSED", "FAILED"
|
822
848
|
# resp.canary_runs[0].status.state_reason #=> String
|
@@ -850,7 +876,7 @@ module Aws::Synthetics
|
|
850
876
|
# @example Request syntax with placeholder values
|
851
877
|
#
|
852
878
|
# resp = client.list_tags_for_resource({
|
853
|
-
# resource_arn: "
|
879
|
+
# resource_arn: "CanaryArn", # required
|
854
880
|
# })
|
855
881
|
#
|
856
882
|
# @example Response structure
|
@@ -965,7 +991,7 @@ module Aws::Synthetics
|
|
965
991
|
# @example Request syntax with placeholder values
|
966
992
|
#
|
967
993
|
# resp = client.tag_resource({
|
968
|
-
# resource_arn: "
|
994
|
+
# resource_arn: "CanaryArn", # required
|
969
995
|
# tags: { # required
|
970
996
|
# "TagKey" => "TagValue",
|
971
997
|
# },
|
@@ -996,7 +1022,7 @@ module Aws::Synthetics
|
|
996
1022
|
# @example Request syntax with placeholder values
|
997
1023
|
#
|
998
1024
|
# resp = client.untag_resource({
|
999
|
-
# resource_arn: "
|
1025
|
+
# resource_arn: "CanaryArn", # required
|
1000
1026
|
# tag_keys: ["TagKey"], # required
|
1001
1027
|
# })
|
1002
1028
|
#
|
@@ -1057,8 +1083,9 @@ module Aws::Synthetics
|
|
1057
1083
|
#
|
1058
1084
|
# @option params [String] :runtime_version
|
1059
1085
|
# Specifies the runtime version to use for the canary. Currently, the
|
1060
|
-
# only valid
|
1061
|
-
# versions, see [ Canary
|
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].
|
1062
1089
|
#
|
1063
1090
|
#
|
1064
1091
|
#
|
@@ -1101,15 +1128,16 @@ module Aws::Synthetics
|
|
1101
1128
|
# zip_file: "data",
|
1102
1129
|
# handler: "String", # required
|
1103
1130
|
# },
|
1104
|
-
# execution_role_arn: "
|
1131
|
+
# execution_role_arn: "RoleArn",
|
1105
1132
|
# runtime_version: "String",
|
1106
1133
|
# schedule: {
|
1107
1134
|
# expression: "String", # required
|
1108
1135
|
# duration_in_seconds: 1,
|
1109
1136
|
# },
|
1110
1137
|
# run_config: {
|
1111
|
-
# timeout_in_seconds: 1,
|
1138
|
+
# timeout_in_seconds: 1,
|
1112
1139
|
# memory_in_mb: 1,
|
1140
|
+
# active_tracing: false,
|
1113
1141
|
# },
|
1114
1142
|
# success_retention_period_in_days: 1,
|
1115
1143
|
# failure_retention_period_in_days: 1,
|
@@ -1141,7 +1169,7 @@ module Aws::Synthetics
|
|
1141
1169
|
params: params,
|
1142
1170
|
config: config)
|
1143
1171
|
context[:gem_name] = 'aws-sdk-synthetics'
|
1144
|
-
context[:gem_version] = '1.
|
1172
|
+
context[:gem_version] = '1.8.0'
|
1145
1173
|
Seahorse::Client::Request.new(handlers, context)
|
1146
1174
|
end
|
1147
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:
|
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:
|
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,
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
@@ -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
|
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
|
78
|
-
# versions, see [ Canary
|
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,
|
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.
|
260
|
-
#
|
261
|
-
#
|
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.
|
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
|
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.
|
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: "
|
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,
|
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:
|
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
|
584
|
-
# versions, see [ Canary
|
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: "
|
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
|
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: "
|
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: "
|
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: "
|
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,
|
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
|
1175
|
-
# versions, see [ Canary
|
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
|
+
version: 1.8.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-09-24 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.
|
22
|
+
version: 3.99.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.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|