aws-sdk-synthetics 1.29.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-synthetics/client.rb +6 -1
- data/lib/aws-sdk-synthetics/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-synthetics/types.rb +0 -327
- data/lib/aws-sdk-synthetics.rb +1 -1
- 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: 1681bc2ff98157b1d1f1866f7a4d8993ba421233da0c54d26c4972e56c4a8afa
|
4
|
+
data.tar.gz: 7ea0ff42532b1a72046339a18d0204862f1f5ed318643edaae60c43e45f638ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69e31e926dd80df31d339e52afb91996c35319bcc058f34fd60ba9d09cda9e23cfaf725ccabe45386a0e7959dc36132d943d7b1fd67991de6761f2ac43b35f6e
|
7
|
+
data.tar.gz: 50ca7700526a370d47d0703598f62f313e26497f9129d49d85761621f58acdd51ce6033cf2150298a1b26bc4af5efa64c18b1c5c4e15e7c8a7688fd64682c47e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.31.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.30.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.29.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
@@ -155,4 +167,4 @@ Unreleased Changes
|
|
155
167
|
1.0.0 (2020-04-20)
|
156
168
|
------------------
|
157
169
|
|
158
|
-
* Feature - Initial release of `aws-sdk-synthetics`.
|
170
|
+
* Feature - Initial release of `aws-sdk-synthetics`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
@@ -275,6 +275,11 @@ module Aws::Synthetics
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -1710,7 +1715,7 @@ module Aws::Synthetics
|
|
1710
1715
|
params: params,
|
1711
1716
|
config: config)
|
1712
1717
|
context[:gem_name] = 'aws-sdk-synthetics'
|
1713
|
-
context[:gem_version] = '1.
|
1718
|
+
context[:gem_version] = '1.31.0'
|
1714
1719
|
Seahorse::Client::Request.new(handlers, context)
|
1715
1720
|
end
|
1716
1721
|
|
@@ -9,104 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::Synthetics
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://synthetics-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://synthetics-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://synthetics.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://synthetics.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
|
41
|
-
UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
|
42
|
-
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24gZG9lcyBu
|
104
|
-
b3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29u
|
105
|
-
ZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vc3ludGhl
|
106
|
-
dGljcy57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJw
|
107
|
-
cm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQi
|
108
|
-
fV19XX0=
|
109
|
-
|
110
|
-
JSON
|
111
50
|
end
|
112
51
|
end
|
@@ -14,16 +14,6 @@ module Aws::Synthetics
|
|
14
14
|
# including the encryption-at-rest settings for artifacts that the
|
15
15
|
# canary uploads to Amazon S3.
|
16
16
|
#
|
17
|
-
# @note When making an API call, you may pass ArtifactConfigInput
|
18
|
-
# data as a hash:
|
19
|
-
#
|
20
|
-
# {
|
21
|
-
# s3_encryption: {
|
22
|
-
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
23
|
-
# kms_key_arn: "KmsKeyArn",
|
24
|
-
# },
|
25
|
-
# }
|
26
|
-
#
|
27
17
|
# @!attribute [rw] s3_encryption
|
28
18
|
# A structure that contains the configuration of the
|
29
19
|
# encryption-at-rest settings for artifacts that the canary uploads to
|
@@ -62,14 +52,6 @@ module Aws::Synthetics
|
|
62
52
|
include Aws::Structure
|
63
53
|
end
|
64
54
|
|
65
|
-
# @note When making an API call, you may pass AssociateResourceRequest
|
66
|
-
# data as a hash:
|
67
|
-
#
|
68
|
-
# {
|
69
|
-
# group_identifier: "GroupIdentifier", # required
|
70
|
-
# resource_arn: "CanaryArn", # required
|
71
|
-
# }
|
72
|
-
#
|
73
55
|
# @!attribute [rw] group_identifier
|
74
56
|
# Specifies the group. You can specify the group name, the ARN, or the
|
75
57
|
# group ID as the `GroupIdentifier`.
|
@@ -109,14 +91,6 @@ module Aws::Synthetics
|
|
109
91
|
# A structure representing a screenshot that is used as a baseline
|
110
92
|
# during visual monitoring comparisons made by the canary.
|
111
93
|
#
|
112
|
-
# @note When making an API call, you may pass BaseScreenshot
|
113
|
-
# data as a hash:
|
114
|
-
#
|
115
|
-
# {
|
116
|
-
# screenshot_name: "String", # required
|
117
|
-
# ignore_coordinates: ["BaseScreenshotConfigIgnoreCoordinate"],
|
118
|
-
# }
|
119
|
-
#
|
120
94
|
# @!attribute [rw] screenshot_name
|
121
95
|
# The name of the screenshot. This is generated the first time the
|
122
96
|
# canary is run after the `UpdateCanary` operation that specified for
|
@@ -276,17 +250,6 @@ module Aws::Synthetics
|
|
276
250
|
# script was passed into the canary directly, the script code is
|
277
251
|
# contained in the value of `Zipfile`.
|
278
252
|
#
|
279
|
-
# @note When making an API call, you may pass CanaryCodeInput
|
280
|
-
# data as a hash:
|
281
|
-
#
|
282
|
-
# {
|
283
|
-
# s3_bucket: "String",
|
284
|
-
# s3_key: "String",
|
285
|
-
# s3_version: "String",
|
286
|
-
# zip_file: "data",
|
287
|
-
# handler: "CodeHandler", # required
|
288
|
-
# }
|
289
|
-
#
|
290
253
|
# @!attribute [rw] s3_bucket
|
291
254
|
# If your canary script is located in S3, specify the bucket name
|
292
255
|
# here. Do not include `s3://` as the start of the bucket name.
|
@@ -416,18 +379,6 @@ module Aws::Synthetics
|
|
416
379
|
|
417
380
|
# A structure that contains input information for a canary run.
|
418
381
|
#
|
419
|
-
# @note When making an API call, you may pass CanaryRunConfigInput
|
420
|
-
# data as a hash:
|
421
|
-
#
|
422
|
-
# {
|
423
|
-
# timeout_in_seconds: 1,
|
424
|
-
# memory_in_mb: 1,
|
425
|
-
# active_tracing: false,
|
426
|
-
# environment_variables: {
|
427
|
-
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
428
|
-
# },
|
429
|
-
# }
|
430
|
-
#
|
431
382
|
# @!attribute [rw] timeout_in_seconds
|
432
383
|
# How long the canary is allowed to run before it must stop. You
|
433
384
|
# can't set this time to be longer than the frequency of the runs of
|
@@ -564,14 +515,6 @@ module Aws::Synthetics
|
|
564
515
|
# This structure specifies how often a canary is to make runs and the
|
565
516
|
# date and time when it should stop making runs.
|
566
517
|
#
|
567
|
-
# @note When making an API call, you may pass CanaryScheduleInput
|
568
|
-
# data as a hash:
|
569
|
-
#
|
570
|
-
# {
|
571
|
-
# expression: "String", # required
|
572
|
-
# duration_in_seconds: 1,
|
573
|
-
# }
|
574
|
-
#
|
575
518
|
# @!attribute [rw] expression
|
576
519
|
# A `rate` expression or a `cron` expression that defines how often
|
577
520
|
# the canary is to run.
|
@@ -724,50 +667,6 @@ module Aws::Synthetics
|
|
724
667
|
include Aws::Structure
|
725
668
|
end
|
726
669
|
|
727
|
-
# @note When making an API call, you may pass CreateCanaryRequest
|
728
|
-
# data as a hash:
|
729
|
-
#
|
730
|
-
# {
|
731
|
-
# name: "CanaryName", # required
|
732
|
-
# code: { # required
|
733
|
-
# s3_bucket: "String",
|
734
|
-
# s3_key: "String",
|
735
|
-
# s3_version: "String",
|
736
|
-
# zip_file: "data",
|
737
|
-
# handler: "CodeHandler", # required
|
738
|
-
# },
|
739
|
-
# artifact_s3_location: "String", # required
|
740
|
-
# execution_role_arn: "RoleArn", # required
|
741
|
-
# schedule: { # required
|
742
|
-
# expression: "String", # required
|
743
|
-
# duration_in_seconds: 1,
|
744
|
-
# },
|
745
|
-
# run_config: {
|
746
|
-
# timeout_in_seconds: 1,
|
747
|
-
# memory_in_mb: 1,
|
748
|
-
# active_tracing: false,
|
749
|
-
# environment_variables: {
|
750
|
-
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
751
|
-
# },
|
752
|
-
# },
|
753
|
-
# success_retention_period_in_days: 1,
|
754
|
-
# failure_retention_period_in_days: 1,
|
755
|
-
# runtime_version: "String", # required
|
756
|
-
# vpc_config: {
|
757
|
-
# subnet_ids: ["SubnetId"],
|
758
|
-
# security_group_ids: ["SecurityGroupId"],
|
759
|
-
# },
|
760
|
-
# tags: {
|
761
|
-
# "TagKey" => "TagValue",
|
762
|
-
# },
|
763
|
-
# artifact_config: {
|
764
|
-
# s3_encryption: {
|
765
|
-
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
766
|
-
# kms_key_arn: "KmsKeyArn",
|
767
|
-
# },
|
768
|
-
# },
|
769
|
-
# }
|
770
|
-
#
|
771
670
|
# @!attribute [rw] name
|
772
671
|
# The name for this canary. Be sure to give it a descriptive name that
|
773
672
|
# distinguishes it from other canaries in your account.
|
@@ -909,16 +808,6 @@ module Aws::Synthetics
|
|
909
808
|
include Aws::Structure
|
910
809
|
end
|
911
810
|
|
912
|
-
# @note When making an API call, you may pass CreateGroupRequest
|
913
|
-
# data as a hash:
|
914
|
-
#
|
915
|
-
# {
|
916
|
-
# name: "GroupName", # required
|
917
|
-
# tags: {
|
918
|
-
# "TagKey" => "TagValue",
|
919
|
-
# },
|
920
|
-
# }
|
921
|
-
#
|
922
811
|
# @!attribute [rw] name
|
923
812
|
# The name for the group. It can include any Unicode characters.
|
924
813
|
#
|
@@ -958,14 +847,6 @@ module Aws::Synthetics
|
|
958
847
|
include Aws::Structure
|
959
848
|
end
|
960
849
|
|
961
|
-
# @note When making an API call, you may pass DeleteCanaryRequest
|
962
|
-
# data as a hash:
|
963
|
-
#
|
964
|
-
# {
|
965
|
-
# name: "CanaryName", # required
|
966
|
-
# delete_lambda: false,
|
967
|
-
# }
|
968
|
-
#
|
969
850
|
# @!attribute [rw] name
|
970
851
|
# The name of the canary that you want to delete. To find the names of
|
971
852
|
# your canaries, use [DescribeCanaries][1].
|
@@ -995,13 +876,6 @@ module Aws::Synthetics
|
|
995
876
|
#
|
996
877
|
class DeleteCanaryResponse < Aws::EmptyStructure; end
|
997
878
|
|
998
|
-
# @note When making an API call, you may pass DeleteGroupRequest
|
999
|
-
# data as a hash:
|
1000
|
-
#
|
1001
|
-
# {
|
1002
|
-
# group_identifier: "GroupIdentifier", # required
|
1003
|
-
# }
|
1004
|
-
#
|
1005
879
|
# @!attribute [rw] group_identifier
|
1006
880
|
# Specifies which group to delete. You can specify the group name, the
|
1007
881
|
# ARN, or the group ID as the `GroupIdentifier`.
|
@@ -1019,15 +893,6 @@ module Aws::Synthetics
|
|
1019
893
|
#
|
1020
894
|
class DeleteGroupResponse < Aws::EmptyStructure; end
|
1021
895
|
|
1022
|
-
# @note When making an API call, you may pass DescribeCanariesLastRunRequest
|
1023
|
-
# data as a hash:
|
1024
|
-
#
|
1025
|
-
# {
|
1026
|
-
# next_token: "Token",
|
1027
|
-
# max_results: 1,
|
1028
|
-
# names: ["CanaryName"],
|
1029
|
-
# }
|
1030
|
-
#
|
1031
896
|
# @!attribute [rw] next_token
|
1032
897
|
# A token that indicates that there is more data available. You can
|
1033
898
|
# use this token in a subsequent `DescribeCanariesLastRun` operation
|
@@ -1089,15 +954,6 @@ module Aws::Synthetics
|
|
1089
954
|
include Aws::Structure
|
1090
955
|
end
|
1091
956
|
|
1092
|
-
# @note When making an API call, you may pass DescribeCanariesRequest
|
1093
|
-
# data as a hash:
|
1094
|
-
#
|
1095
|
-
# {
|
1096
|
-
# next_token: "Token",
|
1097
|
-
# max_results: 1,
|
1098
|
-
# names: ["CanaryName"],
|
1099
|
-
# }
|
1100
|
-
#
|
1101
957
|
# @!attribute [rw] next_token
|
1102
958
|
# A token that indicates that there is more data available. You can
|
1103
959
|
# use this token in a subsequent operation to retrieve the next set of
|
@@ -1159,14 +1015,6 @@ module Aws::Synthetics
|
|
1159
1015
|
include Aws::Structure
|
1160
1016
|
end
|
1161
1017
|
|
1162
|
-
# @note When making an API call, you may pass DescribeRuntimeVersionsRequest
|
1163
|
-
# data as a hash:
|
1164
|
-
#
|
1165
|
-
# {
|
1166
|
-
# next_token: "Token",
|
1167
|
-
# max_results: 1,
|
1168
|
-
# }
|
1169
|
-
#
|
1170
1018
|
# @!attribute [rw] next_token
|
1171
1019
|
# A token that indicates that there is more data available. You can
|
1172
1020
|
# use this token in a subsequent `DescribeRuntimeVersions` operation
|
@@ -1208,14 +1056,6 @@ module Aws::Synthetics
|
|
1208
1056
|
include Aws::Structure
|
1209
1057
|
end
|
1210
1058
|
|
1211
|
-
# @note When making an API call, you may pass DisassociateResourceRequest
|
1212
|
-
# data as a hash:
|
1213
|
-
#
|
1214
|
-
# {
|
1215
|
-
# group_identifier: "GroupIdentifier", # required
|
1216
|
-
# resource_arn: "CanaryArn", # required
|
1217
|
-
# }
|
1218
|
-
#
|
1219
1059
|
# @!attribute [rw] group_identifier
|
1220
1060
|
# Specifies the group. You can specify the group name, the ARN, or the
|
1221
1061
|
# group ID as the `GroupIdentifier`.
|
@@ -1239,13 +1079,6 @@ module Aws::Synthetics
|
|
1239
1079
|
#
|
1240
1080
|
class DisassociateResourceResponse < Aws::EmptyStructure; end
|
1241
1081
|
|
1242
|
-
# @note When making an API call, you may pass GetCanaryRequest
|
1243
|
-
# data as a hash:
|
1244
|
-
#
|
1245
|
-
# {
|
1246
|
-
# name: "CanaryName", # required
|
1247
|
-
# }
|
1248
|
-
#
|
1249
1082
|
# @!attribute [rw] name
|
1250
1083
|
# The name of the canary that you want details for.
|
1251
1084
|
# @return [String]
|
@@ -1270,15 +1103,6 @@ module Aws::Synthetics
|
|
1270
1103
|
include Aws::Structure
|
1271
1104
|
end
|
1272
1105
|
|
1273
|
-
# @note When making an API call, you may pass GetCanaryRunsRequest
|
1274
|
-
# data as a hash:
|
1275
|
-
#
|
1276
|
-
# {
|
1277
|
-
# name: "CanaryName", # required
|
1278
|
-
# next_token: "Token",
|
1279
|
-
# max_results: 1,
|
1280
|
-
# }
|
1281
|
-
#
|
1282
1106
|
# @!attribute [rw] name
|
1283
1107
|
# The name of the canary that you want to see runs for.
|
1284
1108
|
# @return [String]
|
@@ -1325,13 +1149,6 @@ module Aws::Synthetics
|
|
1325
1149
|
include Aws::Structure
|
1326
1150
|
end
|
1327
1151
|
|
1328
|
-
# @note When making an API call, you may pass GetGroupRequest
|
1329
|
-
# data as a hash:
|
1330
|
-
#
|
1331
|
-
# {
|
1332
|
-
# group_identifier: "GroupIdentifier", # required
|
1333
|
-
# }
|
1334
|
-
#
|
1335
1152
|
# @!attribute [rw] group_identifier
|
1336
1153
|
# Specifies the group to return information for. You can specify the
|
1337
1154
|
# group name, the ARN, or the group ID as the `GroupIdentifier`.
|
@@ -1446,15 +1263,6 @@ module Aws::Synthetics
|
|
1446
1263
|
include Aws::Structure
|
1447
1264
|
end
|
1448
1265
|
|
1449
|
-
# @note When making an API call, you may pass ListAssociatedGroupsRequest
|
1450
|
-
# data as a hash:
|
1451
|
-
#
|
1452
|
-
# {
|
1453
|
-
# next_token: "PaginationToken",
|
1454
|
-
# max_results: 1,
|
1455
|
-
# resource_arn: "CanaryArn", # required
|
1456
|
-
# }
|
1457
|
-
#
|
1458
1266
|
# @!attribute [rw] next_token
|
1459
1267
|
# A token that indicates that there is more data available. You can
|
1460
1268
|
# use this token in a subsequent operation to retrieve the next set of
|
@@ -1501,15 +1309,6 @@ module Aws::Synthetics
|
|
1501
1309
|
include Aws::Structure
|
1502
1310
|
end
|
1503
1311
|
|
1504
|
-
# @note When making an API call, you may pass ListGroupResourcesRequest
|
1505
|
-
# data as a hash:
|
1506
|
-
#
|
1507
|
-
# {
|
1508
|
-
# next_token: "PaginationToken",
|
1509
|
-
# max_results: 1,
|
1510
|
-
# group_identifier: "GroupIdentifier", # required
|
1511
|
-
# }
|
1512
|
-
#
|
1513
1312
|
# @!attribute [rw] next_token
|
1514
1313
|
# A token that indicates that there is more data available. You can
|
1515
1314
|
# use this token in a subsequent operation to retrieve the next set of
|
@@ -1557,14 +1356,6 @@ module Aws::Synthetics
|
|
1557
1356
|
include Aws::Structure
|
1558
1357
|
end
|
1559
1358
|
|
1560
|
-
# @note When making an API call, you may pass ListGroupsRequest
|
1561
|
-
# data as a hash:
|
1562
|
-
#
|
1563
|
-
# {
|
1564
|
-
# next_token: "PaginationToken",
|
1565
|
-
# max_results: 1,
|
1566
|
-
# }
|
1567
|
-
#
|
1568
1359
|
# @!attribute [rw] next_token
|
1569
1360
|
# A token that indicates that there is more data available. You can
|
1570
1361
|
# use this token in a subsequent operation to retrieve the next set of
|
@@ -1606,13 +1397,6 @@ module Aws::Synthetics
|
|
1606
1397
|
include Aws::Structure
|
1607
1398
|
end
|
1608
1399
|
|
1609
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1610
|
-
# data as a hash:
|
1611
|
-
#
|
1612
|
-
# {
|
1613
|
-
# resource_arn: "ResourceArn", # required
|
1614
|
-
# }
|
1615
|
-
#
|
1616
1400
|
# @!attribute [rw] resource_arn
|
1617
1401
|
# The ARN of the canary or group that you want to view tags for.
|
1618
1402
|
#
|
@@ -1733,14 +1517,6 @@ module Aws::Synthetics
|
|
1733
1517
|
#
|
1734
1518
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_artifact_encryption.html
|
1735
1519
|
#
|
1736
|
-
# @note When making an API call, you may pass S3EncryptionConfig
|
1737
|
-
# data as a hash:
|
1738
|
-
#
|
1739
|
-
# {
|
1740
|
-
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
1741
|
-
# kms_key_arn: "KmsKeyArn",
|
1742
|
-
# }
|
1743
|
-
#
|
1744
1520
|
# @!attribute [rw] encryption_mode
|
1745
1521
|
# The encryption method to use for artifacts created by this canary.
|
1746
1522
|
# Specify `SSE_S3` to use server-side encryption (SSE) with an Amazon
|
@@ -1778,13 +1554,6 @@ module Aws::Synthetics
|
|
1778
1554
|
include Aws::Structure
|
1779
1555
|
end
|
1780
1556
|
|
1781
|
-
# @note When making an API call, you may pass StartCanaryRequest
|
1782
|
-
# data as a hash:
|
1783
|
-
#
|
1784
|
-
# {
|
1785
|
-
# name: "CanaryName", # required
|
1786
|
-
# }
|
1787
|
-
#
|
1788
1557
|
# @!attribute [rw] name
|
1789
1558
|
# The name of the canary that you want to run. To find canary names,
|
1790
1559
|
# use [DescribeCanaries][1].
|
@@ -1806,13 +1575,6 @@ module Aws::Synthetics
|
|
1806
1575
|
#
|
1807
1576
|
class StartCanaryResponse < Aws::EmptyStructure; end
|
1808
1577
|
|
1809
|
-
# @note When making an API call, you may pass StopCanaryRequest
|
1810
|
-
# data as a hash:
|
1811
|
-
#
|
1812
|
-
# {
|
1813
|
-
# name: "CanaryName", # required
|
1814
|
-
# }
|
1815
|
-
#
|
1816
1578
|
# @!attribute [rw] name
|
1817
1579
|
# The name of the canary that you want to stop. To find the names of
|
1818
1580
|
# your canaries, use [ListCanaries][1].
|
@@ -1834,16 +1596,6 @@ module Aws::Synthetics
|
|
1834
1596
|
#
|
1835
1597
|
class StopCanaryResponse < Aws::EmptyStructure; end
|
1836
1598
|
|
1837
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1838
|
-
# data as a hash:
|
1839
|
-
#
|
1840
|
-
# {
|
1841
|
-
# resource_arn: "ResourceArn", # required
|
1842
|
-
# tags: { # required
|
1843
|
-
# "TagKey" => "TagValue",
|
1844
|
-
# },
|
1845
|
-
# }
|
1846
|
-
#
|
1847
1599
|
# @!attribute [rw] resource_arn
|
1848
1600
|
# The ARN of the canary or group that you're adding tags to.
|
1849
1601
|
#
|
@@ -1884,14 +1636,6 @@ module Aws::Synthetics
|
|
1884
1636
|
include Aws::Structure
|
1885
1637
|
end
|
1886
1638
|
|
1887
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1888
|
-
# data as a hash:
|
1889
|
-
#
|
1890
|
-
# {
|
1891
|
-
# resource_arn: "ResourceArn", # required
|
1892
|
-
# tag_keys: ["TagKey"], # required
|
1893
|
-
# }
|
1894
|
-
#
|
1895
1639
|
# @!attribute [rw] resource_arn
|
1896
1640
|
# The ARN of the canary or group that you're removing tags from.
|
1897
1641
|
#
|
@@ -1919,56 +1663,6 @@ module Aws::Synthetics
|
|
1919
1663
|
#
|
1920
1664
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1921
1665
|
|
1922
|
-
# @note When making an API call, you may pass UpdateCanaryRequest
|
1923
|
-
# data as a hash:
|
1924
|
-
#
|
1925
|
-
# {
|
1926
|
-
# name: "CanaryName", # required
|
1927
|
-
# code: {
|
1928
|
-
# s3_bucket: "String",
|
1929
|
-
# s3_key: "String",
|
1930
|
-
# s3_version: "String",
|
1931
|
-
# zip_file: "data",
|
1932
|
-
# handler: "CodeHandler", # required
|
1933
|
-
# },
|
1934
|
-
# execution_role_arn: "RoleArn",
|
1935
|
-
# runtime_version: "String",
|
1936
|
-
# schedule: {
|
1937
|
-
# expression: "String", # required
|
1938
|
-
# duration_in_seconds: 1,
|
1939
|
-
# },
|
1940
|
-
# run_config: {
|
1941
|
-
# timeout_in_seconds: 1,
|
1942
|
-
# memory_in_mb: 1,
|
1943
|
-
# active_tracing: false,
|
1944
|
-
# environment_variables: {
|
1945
|
-
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
1946
|
-
# },
|
1947
|
-
# },
|
1948
|
-
# success_retention_period_in_days: 1,
|
1949
|
-
# failure_retention_period_in_days: 1,
|
1950
|
-
# vpc_config: {
|
1951
|
-
# subnet_ids: ["SubnetId"],
|
1952
|
-
# security_group_ids: ["SecurityGroupId"],
|
1953
|
-
# },
|
1954
|
-
# visual_reference: {
|
1955
|
-
# base_screenshots: [
|
1956
|
-
# {
|
1957
|
-
# screenshot_name: "String", # required
|
1958
|
-
# ignore_coordinates: ["BaseScreenshotConfigIgnoreCoordinate"],
|
1959
|
-
# },
|
1960
|
-
# ],
|
1961
|
-
# base_canary_run_id: "String", # required
|
1962
|
-
# },
|
1963
|
-
# artifact_s3_location: "String",
|
1964
|
-
# artifact_config: {
|
1965
|
-
# s3_encryption: {
|
1966
|
-
# encryption_mode: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
1967
|
-
# kms_key_arn: "KmsKeyArn",
|
1968
|
-
# },
|
1969
|
-
# },
|
1970
|
-
# }
|
1971
|
-
#
|
1972
1666
|
# @!attribute [rw] name
|
1973
1667
|
# The name of the canary that you want to update. To find the names of
|
1974
1668
|
# your canaries, use [DescribeCanaries][1].
|
@@ -2128,19 +1822,6 @@ module Aws::Synthetics
|
|
2128
1822
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_SyntheticsLogger_VisualTesting.html
|
2129
1823
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Blueprints_VisualTesting.html
|
2130
1824
|
#
|
2131
|
-
# @note When making an API call, you may pass VisualReferenceInput
|
2132
|
-
# data as a hash:
|
2133
|
-
#
|
2134
|
-
# {
|
2135
|
-
# base_screenshots: [
|
2136
|
-
# {
|
2137
|
-
# screenshot_name: "String", # required
|
2138
|
-
# ignore_coordinates: ["BaseScreenshotConfigIgnoreCoordinate"],
|
2139
|
-
# },
|
2140
|
-
# ],
|
2141
|
-
# base_canary_run_id: "String", # required
|
2142
|
-
# }
|
2143
|
-
#
|
2144
1825
|
# @!attribute [rw] base_screenshots
|
2145
1826
|
# An array of screenshots that will be used as the baseline for visual
|
2146
1827
|
# monitoring in future runs of this canary. If there is a screenshot
|
@@ -2205,14 +1886,6 @@ module Aws::Synthetics
|
|
2205
1886
|
#
|
2206
1887
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html
|
2207
1888
|
#
|
2208
|
-
# @note When making an API call, you may pass VpcConfigInput
|
2209
|
-
# data as a hash:
|
2210
|
-
#
|
2211
|
-
# {
|
2212
|
-
# subnet_ids: ["SubnetId"],
|
2213
|
-
# security_group_ids: ["SecurityGroupId"],
|
2214
|
-
# }
|
2215
|
-
#
|
2216
1889
|
# @!attribute [rw] subnet_ids
|
2217
1890
|
# The IDs of the subnets where this canary is to run.
|
2218
1891
|
# @return [Array<String>]
|
data/lib/aws-sdk-synthetics.rb
CHANGED
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.31.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:
|
11
|
+
date: 2023-05-31 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.174.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.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|