aws-sdk-cloudwatchlogs 1.60.0 → 1.62.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: 341bed9e6e853a58919d069b60c8b1413f1a7666e0762854bbd785b737854924
4
- data.tar.gz: a1de67b3ce6a3edbca499540ce24062fc897149b4bfb57446057f8beaf2cbe0d
3
+ metadata.gz: 22968e38919223b8b25fb98065be7e4d838087a139cfda5682f25ae6ec2938ea
4
+ data.tar.gz: a7a6bb4824c8b841b6c7e8f4c2b69bee0f7540786ef2e50603f45051b13de760
5
5
  SHA512:
6
- metadata.gz: 906d9d57ddff2ebb8857bbacf59854aac40317c8ac219b6894bbc97529f2c749e02df8641db9c85a70a47a176121dbb506a6ccef3dc329f398e96641535c1029
7
- data.tar.gz: 58f26fff52290987bc0be5631c86f13c042e6f07870ce0e2023ab0bdfa3561849128ecdb7ff344839552a37c74ecf9d1c7a866484a5670ec15464643404ac937
6
+ metadata.gz: d87574d25967dcbcb7dcc06bf94b04bd0894e3b2de7fdf46a97727ff3ac3a5d3bd746753e961c17f34d6618a4f660fa260a3f4f83836a0b744ef102950227e23
7
+ data.tar.gz: c7dcefd8399ea20ea000ab7a44754cd6599419d6e8bfe45e89d46630e5014bac67d4cca5ff627376baa4f1591c0aa0235f19bb7651de6d06d8a5bfd3f80145ed
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.62.0 (2023-01-19)
5
+ ------------------
6
+
7
+ * Feature - Bug fix - Removed the regex pattern validation from CoralModel to avoid potential security issue.
8
+
9
+ 1.61.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.60.0 (2023-01-12)
5
17
  ------------------
6
18
 
@@ -370,4 +382,4 @@ Unreleased Changes
370
382
  1.0.0.rc1 (2016-12-05)
371
383
  ------------------
372
384
 
373
- * Feature - Initial preview release of the `aws-sdk-cloudwatchlogs` gem.
385
+ * Feature - Initial preview release of the `aws-sdk-cloudwatchlogs` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.60.0
1
+ 1.62.0
@@ -1165,9 +1165,8 @@ module Aws::CloudWatchLogs
1165
1165
  # @option params [String] :log_group_name
1166
1166
  # The name of the log group.
1167
1167
  #
1168
- # <note markdown="1"> If you specify values for both `logGroupName` and
1169
- # `logGroupIdentifier`, the action returns an
1170
- # `InvalidParameterException` error.
1168
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1169
+ # not both.
1171
1170
  #
1172
1171
  # </note>
1173
1172
  #
@@ -1176,9 +1175,8 @@ module Aws::CloudWatchLogs
1176
1175
  # group is in a source account and you are using a monitoring account,
1177
1176
  # you must use the log group ARN.
1178
1177
  #
1179
- # <note markdown="1"> If you specify values for both `logGroupName` and
1180
- # `logGroupIdentifier`, the action returns an
1181
- # `InvalidParameterException` error.
1178
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1179
+ # not both.
1182
1180
  #
1183
1181
  # </note>
1184
1182
  #
@@ -1594,9 +1592,8 @@ module Aws::CloudWatchLogs
1594
1592
  # @option params [String] :log_group_name
1595
1593
  # The name of the log group to search.
1596
1594
  #
1597
- # <note markdown="1"> If you specify values for both `logGroupName` and
1598
- # `logGroupIdentifier`, the action returns an
1599
- # `InvalidParameterException` error.
1595
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1596
+ # not both.
1600
1597
  #
1601
1598
  # </note>
1602
1599
  #
@@ -1605,9 +1602,8 @@ module Aws::CloudWatchLogs
1605
1602
  # from. If the log group is in a source account and you are using a
1606
1603
  # monitoring account, you must use the log group ARN.
1607
1604
  #
1608
- # <note markdown="1"> If you specify values for both `logGroupName` and
1609
- # `logGroupIdentifier`, the action returns an
1610
- # `InvalidParameterException` error.
1605
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1606
+ # not both.
1611
1607
  #
1612
1608
  # </note>
1613
1609
  #
@@ -1776,9 +1772,8 @@ module Aws::CloudWatchLogs
1776
1772
  # @option params [String] :log_group_name
1777
1773
  # The name of the log group.
1778
1774
  #
1779
- # <note markdown="1"> If you specify values for both `logGroupName` and
1780
- # `logGroupIdentifier`, the action returns an
1781
- # `InvalidParameterException` error.
1775
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1776
+ # not both.
1782
1777
  #
1783
1778
  # </note>
1784
1779
  #
@@ -1787,9 +1782,8 @@ module Aws::CloudWatchLogs
1787
1782
  # If the log group is in a source account and you are using a monitoring
1788
1783
  # account, you must use the log group ARN.
1789
1784
  #
1790
- # <note markdown="1"> If you specify values for both `logGroupName` and
1791
- # `logGroupIdentifier`, the action returns an
1792
- # `InvalidParameterException` error.
1785
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1786
+ # not both.
1793
1787
  #
1794
1788
  # </note>
1795
1789
  #
@@ -1902,9 +1896,8 @@ module Aws::CloudWatchLogs
1902
1896
  # @option params [String] :log_group_name
1903
1897
  # The name of the log group to search.
1904
1898
  #
1905
- # <note markdown="1"> If you specify values for both `logGroupName` and
1906
- # `logGroupIdentifier`, the action returns an
1907
- # `InvalidParameterException` error.
1899
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1900
+ # not both.
1908
1901
  #
1909
1902
  # </note>
1910
1903
  #
@@ -1921,9 +1914,8 @@ module Aws::CloudWatchLogs
1921
1914
  # group is in a source account and you are using a monitoring account,
1922
1915
  # you must specify the ARN.
1923
1916
  #
1924
- # <note markdown="1"> If you specify values for both `logGroupName` and
1925
- # `logGroupIdentifier`, the action returns an
1926
- # `InvalidParameterException` error.
1917
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1918
+ # not both.
1927
1919
  #
1928
1920
  # </note>
1929
1921
  #
@@ -3227,7 +3219,7 @@ module Aws::CloudWatchLogs
3227
3219
  params: params,
3228
3220
  config: config)
3229
3221
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
3230
- context[:gem_version] = '1.60.0'
3222
+ context[:gem_version] = '1.62.0'
3231
3223
  Seahorse::Client::Request.new(handlers, context)
3232
3224
  end
3233
3225
 
@@ -9,110 +9,49 @@
9
9
 
10
10
  module Aws::CloudWatchLogs
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)
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://logs-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
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
36
+ return Aws::Endpoints::Endpoint.new(url: "https://logs.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
37
+ end
38
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
39
+ return Aws::Endpoints::Endpoint.new(url: "https://logs.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
40
+ end
41
+ return Aws::Endpoints::Endpoint.new(url: "https://logs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
44
+ end
45
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
46
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
47
+ return Aws::Endpoints::Endpoint.new(url: "https://logs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
48
+ end
49
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
50
+ end
51
+ return Aws::Endpoints::Endpoint.new(url: "https://logs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
52
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
53
+ raise ArgumentError, 'No endpoint could be resolved'
24
54
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
55
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHR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+513,8 @@ module Aws::CloudWatchLogs
513
513
  # @!attribute [rw] log_group_name
514
514
  # The name of the log group.
515
515
  #
516
- # <note markdown="1"> If you specify values for both `logGroupName` and
517
- # `logGroupIdentifier`, the action returns an
518
- # `InvalidParameterException` error.
516
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
517
+ # not both.
519
518
  #
520
519
  # </note>
521
520
  # @return [String]
@@ -525,9 +524,8 @@ module Aws::CloudWatchLogs
525
524
  # group is in a source account and you are using a monitoring account,
526
525
  # you must use the log group ARN.
527
526
  #
528
- # <note markdown="1"> If you specify values for both `logGroupName` and
529
- # `logGroupIdentifier`, the action returns an
530
- # `InvalidParameterException` error.
527
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
528
+ # not both.
531
529
  #
532
530
  # </note>
533
531
  # @return [String]
@@ -1000,9 +998,8 @@ module Aws::CloudWatchLogs
1000
998
  # @!attribute [rw] log_group_name
1001
999
  # The name of the log group to search.
1002
1000
  #
1003
- # <note markdown="1"> If you specify values for both `logGroupName` and
1004
- # `logGroupIdentifier`, the action returns an
1005
- # `InvalidParameterException` error.
1001
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1002
+ # not both.
1006
1003
  #
1007
1004
  # </note>
1008
1005
  # @return [String]
@@ -1012,9 +1009,8 @@ module Aws::CloudWatchLogs
1012
1009
  # from. If the log group is in a source account and you are using a
1013
1010
  # monitoring account, you must use the log group ARN.
1014
1011
  #
1015
- # <note markdown="1"> If you specify values for both `logGroupName` and
1016
- # `logGroupIdentifier`, the action returns an
1017
- # `InvalidParameterException` error.
1012
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1013
+ # not both.
1018
1014
  #
1019
1015
  # </note>
1020
1016
  # @return [String]
@@ -1209,9 +1205,8 @@ module Aws::CloudWatchLogs
1209
1205
  # @!attribute [rw] log_group_name
1210
1206
  # The name of the log group.
1211
1207
  #
1212
- # <note markdown="1"> If you specify values for both `logGroupName` and
1213
- # `logGroupIdentifier`, the action returns an
1214
- # `InvalidParameterException` error.
1208
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1209
+ # not both.
1215
1210
  #
1216
1211
  # </note>
1217
1212
  # @return [String]
@@ -1221,9 +1216,8 @@ module Aws::CloudWatchLogs
1221
1216
  # If the log group is in a source account and you are using a
1222
1217
  # monitoring account, you must use the log group ARN.
1223
1218
  #
1224
- # <note markdown="1"> If you specify values for both `logGroupName` and
1225
- # `logGroupIdentifier`, the action returns an
1226
- # `InvalidParameterException` error.
1219
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1220
+ # not both.
1227
1221
  #
1228
1222
  # </note>
1229
1223
  # @return [String]
@@ -1320,9 +1314,8 @@ module Aws::CloudWatchLogs
1320
1314
  # @!attribute [rw] log_group_name
1321
1315
  # The name of the log group to search.
1322
1316
  #
1323
- # <note markdown="1"> If you specify values for both `logGroupName` and
1324
- # `logGroupIdentifier`, the action returns an
1325
- # `InvalidParameterException` error.
1317
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1318
+ # not both.
1326
1319
  #
1327
1320
  # </note>
1328
1321
  # @return [String]
@@ -1341,9 +1334,8 @@ module Aws::CloudWatchLogs
1341
1334
  # group is in a source account and you are using a monitoring account,
1342
1335
  # you must specify the ARN.
1343
1336
  #
1344
- # <note markdown="1"> If you specify values for both `logGroupName` and
1345
- # `logGroupIdentifier`, the action returns an
1346
- # `InvalidParameterException` error.
1337
+ # <note markdown="1"> You must include either `logGroupIdentifier` or `logGroupName`, but
1338
+ # not both.
1347
1339
  #
1348
1340
  # </note>
1349
1341
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudwatchlogs/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudWatchLogs
54
54
 
55
- GEM_VERSION = '1.60.0'
55
+ GEM_VERSION = '1.62.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.60.0
4
+ version: 1.62.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: 2023-01-12 00:00:00.000000000 Z
11
+ date: 2023-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core