aws-sdk-synthetics 1.29.0 → 1.30.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: f62625d3b98f340891246ab7fd163e536f92d6da62e0eebc2230455bade9f606
4
- data.tar.gz: a91e66e33614afe2d736eae7fc10eff38cd57a1c714745b1b8f238b5f250767c
3
+ metadata.gz: 257747c07b086f1fc6330116f3131c81432309670154472acf7d1123630fd3ef
4
+ data.tar.gz: 71c26c15fec8e67c5cbd0d252bb3a2265bf011ed48b7f0c654d54dcb6590b2c6
5
5
  SHA512:
6
- metadata.gz: 5152430936bf0f7604e83f755e3f826670cd58a610aaf6d4db21f4e1f1774e40c388dc2bfab11becbe28b2e5ebd8a9f205b50272f8ff2d8f2d8eeaeee5439c4c
7
- data.tar.gz: 29eb2011917eac10fdde20f7dcb1aac9c1b2cdd95ed42d09ccb2846c67d3396624d4277a3223ba72360733e35a9ba4cb6257c3b23ab599a6cc062e916f98467b
6
+ metadata.gz: bdb2c53d50d01c6038b9d26cf697408f0bab182f2fb198dfb0ea6aa90a8951de4b3abd06bfc0fefc9b5c2e79694c42c5d15cdcb3868344b3aa8e448d5f180297
7
+ data.tar.gz: 4f2a00b83ed20e3c86bf253624941ad11c0dd0d816ab86143e2ddd996f0eb4a54d8f1ef15faaf6b5eff70ff576bd02c9397adb777757310965a5e0094eb578c3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.30.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.29.0 (2022-10-25)
5
12
  ------------------
6
13
 
@@ -155,4 +162,4 @@ Unreleased Changes
155
162
  1.0.0 (2020-04-20)
156
163
  ------------------
157
164
 
158
- * Feature - Initial release of `aws-sdk-synthetics`.
165
+ * Feature - Initial release of `aws-sdk-synthetics`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.30.0
@@ -1710,7 +1710,7 @@ module Aws::Synthetics
1710
1710
  params: params,
1711
1711
  config: config)
1712
1712
  context[:gem_name] = 'aws-sdk-synthetics'
1713
- context[:gem_version] = '1.29.0'
1713
+ context[:gem_version] = '1.30.0'
1714
1714
  Seahorse::Client::Request.new(handlers, context)
1715
1715
  end
1716
1716
 
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::Synthetics
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
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
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
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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XJ0aXRpb25SZXN1bHQjZHVhbFN0YWNr
101
- RG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5
102
- cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJE
103
- dWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBu
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>]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-synthetics/customizations'
52
52
  # @!group service
53
53
  module Aws::Synthetics
54
54
 
55
- GEM_VERSION = '1.29.0'
55
+ GEM_VERSION = '1.30.0'
56
56
 
57
57
  end
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.29.0
4
+ version: 1.30.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core