aws-sdk-cloudwatchlogs 1.40.0 → 1.41.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: 2f70d72a6b41de13d049dab9fae4fb957c1f9e4d2247e719567c63f5e11c0043
4
- data.tar.gz: e3b36abebe016f0112d34e76e75b114593ff54efd57ef37504c7873d230da468
3
+ metadata.gz: abc067a0bbc44791ff4a7682dd64f39735d0df05be86f795600f6b1927320a15
4
+ data.tar.gz: 76487b31a10b9a52f8764a082b918fe9016bf196f05436a6f5374982992d39d5
5
5
  SHA512:
6
- metadata.gz: 86611f15456318b9513d7f897426d0d1e75408620a073c15a7e13e204968811d8822c1f11535cbedcb2b0fb82b9969bbc308fc44953d05dc7311208d6fc19f53
7
- data.tar.gz: fdd3e927269f4e1a4c3d92734aba74dfc2b590ddaccb386469e8c98220ea770a2569e0405ba110b485a97b725c80dd315d82011b03b75aa6714110acf3c33a2a
6
+ metadata.gz: c907a4445479b39a536d243395e86957bec05a5e082fe0c2d16171ff6b39a03920a38a0bf400442487685738241d41f41e5e0919a61932563da755ec480f1d65
7
+ data.tar.gz: 6c18f4600667f422c9d3b8c91e84e2da6c12bf8eabcaf8592ffbf177cef99a62956ca22f5260ffb10359c990389e11fac74f3d869de1c67ccd40883685d2c00e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2021-05-24)
5
+ ------------------
6
+
7
+ * Feature - This release provides dimensions and unit support for metric filters.
8
+
4
9
  1.40.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.41.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cloudwatchlogs/customizations'
48
48
  # @!group service
49
49
  module Aws::CloudWatchLogs
50
50
 
51
- GEM_VERSION = '1.40.0'
51
+ GEM_VERSION = '1.41.0'
52
52
 
53
53
  end
@@ -460,9 +460,9 @@ module Aws::CloudWatchLogs
460
460
  # timestamp earlier than this time are not exported.
461
461
  #
462
462
  # @option params [required, Integer] :to
463
- # The end time of the range for the request, expressed as the number of
464
- # milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp
465
- # later than this time are not exported.
463
+ # The end time of the range for the request, expreswatchlogsdocused as
464
+ # the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with
465
+ # a timestamp later than this time are not exported.
466
466
  #
467
467
  # @option params [required, String] :destination
468
468
  # The name of S3 bucket for the exported log data. The bucket must be in
@@ -1011,10 +1011,10 @@ module Aws::CloudWatchLogs
1011
1011
  # If you order the results by event time, you cannot specify the
1012
1012
  # `logStreamNamePrefix` parameter.
1013
1013
  #
1014
- # `lastEventTimeStamp` represents the time of the most recent log event
1014
+ # `lastEventTimestamp` represents the time of the most recent log event
1015
1015
  # in the log stream in CloudWatch Logs. This number is expressed as the
1016
1016
  # number of milliseconds after Jan 1, 1970 00:00:00 UTC.
1017
- # `lastEventTimeStamp` updates on an eventual consistency basis. It
1017
+ # `lastEventTimestamp` updates on an eventual consistency basis. It
1018
1018
  # typically updates in less than an hour from ingestion, but in rare
1019
1019
  # situations might take longer.
1020
1020
  #
@@ -1128,6 +1128,9 @@ module Aws::CloudWatchLogs
1128
1128
  # resp.metric_filters[0].metric_transformations[0].metric_namespace #=> String
1129
1129
  # resp.metric_filters[0].metric_transformations[0].metric_value #=> String
1130
1130
  # resp.metric_filters[0].metric_transformations[0].default_value #=> Float
1131
+ # resp.metric_filters[0].metric_transformations[0].dimensions #=> Hash
1132
+ # resp.metric_filters[0].metric_transformations[0].dimensions["DimensionsKey"] #=> String
1133
+ # resp.metric_filters[0].metric_transformations[0].unit #=> String, one of "Seconds", "Microseconds", "Milliseconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
1131
1134
  # resp.metric_filters[0].creation_time #=> Integer
1132
1135
  # resp.metric_filters[0].log_group_name #=> String
1133
1136
  # resp.next_token #=> String
@@ -1170,7 +1173,7 @@ module Aws::CloudWatchLogs
1170
1173
  #
1171
1174
  # resp = client.describe_queries({
1172
1175
  # log_group_name: "LogGroupName",
1173
- # status: "Scheduled", # accepts Scheduled, Running, Complete, Failed, Cancelled
1176
+ # status: "Scheduled", # accepts Scheduled, Running, Complete, Failed, Cancelled, Timeout, Unknown
1174
1177
  # max_results: 1,
1175
1178
  # next_token: "NextToken",
1176
1179
  # })
@@ -1180,7 +1183,7 @@ module Aws::CloudWatchLogs
1180
1183
  # resp.queries #=> Array
1181
1184
  # resp.queries[0].query_id #=> String
1182
1185
  # resp.queries[0].query_string #=> String
1183
- # resp.queries[0].status #=> String, one of "Scheduled", "Running", "Complete", "Failed", "Cancelled"
1186
+ # resp.queries[0].status #=> String, one of "Scheduled", "Running", "Complete", "Failed", "Cancelled", "Timeout", "Unknown"
1184
1187
  # resp.queries[0].create_time #=> Integer
1185
1188
  # resp.queries[0].log_group_name #=> String
1186
1189
  # resp.next_token #=> String
@@ -1413,9 +1416,6 @@ module Aws::CloudWatchLogs
1413
1416
  # after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this
1414
1417
  # time are not returned.
1415
1418
  #
1416
- # If you omit `startTime` and `endTime` the most recent log events are
1417
- # retrieved, to up 1 MB or 10,000 log events.
1418
- #
1419
1419
  # @option params [Integer] :end_time
1420
1420
  # The end of the time range, expressed as the number of milliseconds
1421
1421
  # after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than
@@ -1600,8 +1600,8 @@ module Aws::CloudWatchLogs
1600
1600
  #
1601
1601
  # @option params [Integer] :time
1602
1602
  # The time to set as the center of the query. If you specify `time`, the
1603
- # 8 minutes before and 8 minutes after this time are searched. If you
1604
- # omit `time`, the past 15 minutes are queried.
1603
+ # 15 minutes before this time are queries. If you omit `time` the 8
1604
+ # minutes before and 8 minutes after this time are searched.
1605
1605
  #
1606
1606
  # The `time` value is specified as epoch time, the number of seconds
1607
1607
  # since January 1, 1970, 00:00:00 UTC.
@@ -1714,7 +1714,7 @@ module Aws::CloudWatchLogs
1714
1714
  # resp.statistics.records_matched #=> Float
1715
1715
  # resp.statistics.records_scanned #=> Float
1716
1716
  # resp.statistics.bytes_scanned #=> Float
1717
- # resp.status #=> String, one of "Scheduled", "Running", "Complete", "Failed", "Cancelled"
1717
+ # resp.status #=> String, one of "Scheduled", "Running", "Complete", "Failed", "Cancelled", "Timeout", "Unknown"
1718
1718
  #
1719
1719
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetQueryResults AWS API Documentation
1720
1720
  #
@@ -1823,6 +1823,11 @@ module Aws::CloudWatchLogs
1823
1823
  # used to authorize claims to register a subscription filter against a
1824
1824
  # given destination.
1825
1825
  #
1826
+ # If multiple AWS accounts are sending logs to this destination, each
1827
+ # sender account must be listed separately in the policy. The policy
1828
+ # does not support specifying `*` as the Principal or the use of the
1829
+ # `aws:PrincipalOrgId` global key.
1830
+ #
1826
1831
  #
1827
1832
  #
1828
1833
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html
@@ -1957,9 +1962,27 @@ module Aws::CloudWatchLogs
1957
1962
  # The maximum number of metric filters that can be associated with a log
1958
1963
  # group is 100.
1959
1964
  #
1965
+ # When you create a metric filter, you can also optionally assign a unit
1966
+ # and dimensions to the metric that is created.
1967
+ #
1968
+ # Metrics extracted from log events are charged as custom metrics. To
1969
+ # prevent unexpected high charges, do not specify high-cardinality
1970
+ # fields such as `IPAddress` or `requestID` as dimensions. Each
1971
+ # different value found for a dimension is treated as a separate metric
1972
+ # and accrues charges as a separate custom metric.
1973
+ #
1974
+ # To help prevent accidental high charges, Amazon disables a metric
1975
+ # filter if it generates 1000 different name/value pairs for the
1976
+ # dimensions that you have specified within a certain amount of time.
1977
+ #
1978
+ # You can also set up a billing alarm to alert you if your charges are
1979
+ # higher than expected. For more information, see [ Creating a Billing
1980
+ # Alarm to Monitor Your Estimated AWS Charges][2].
1981
+ #
1960
1982
  #
1961
1983
  #
1962
1984
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html
1985
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html
1963
1986
  #
1964
1987
  # @option params [required, String] :log_group_name
1965
1988
  # The name of the log group.
@@ -1988,6 +2011,10 @@ module Aws::CloudWatchLogs
1988
2011
  # metric_namespace: "MetricNamespace", # required
1989
2012
  # metric_value: "MetricValue", # required
1990
2013
  # default_value: 1.0,
2014
+ # dimensions: {
2015
+ # "DimensionsKey" => "DimensionsValue",
2016
+ # },
2017
+ # unit: "Seconds", # accepts Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
1991
2018
  # },
1992
2019
  # ],
1993
2020
  # })
@@ -2189,10 +2216,9 @@ module Aws::CloudWatchLogs
2189
2216
  # * An AWS Lambda function that belongs to the same account as the
2190
2217
  # subscription filter, for same-account delivery.
2191
2218
  #
2192
- # There can only be one subscription filter associated with a log group.
2193
- # If you are updating an existing filter, you must specify the correct
2194
- # name in `filterName`. Otherwise, the call fails because you cannot
2195
- # associate a second filter with a log group.
2219
+ # Each log group can have up to two subscription filters associated with
2220
+ # it. If you are updating an existing filter, you must specify the
2221
+ # correct name in `filterName`.
2196
2222
  #
2197
2223
  # To perform a `PutSubscriptionFilter` operation, you must also have the
2198
2224
  # `iam:PassRole` permission.
@@ -2206,10 +2232,9 @@ module Aws::CloudWatchLogs
2206
2232
  #
2207
2233
  # @option params [required, String] :filter_name
2208
2234
  # A name for the subscription filter. If you are updating an existing
2209
- # filter, you must specify the correct name in `filterName`. Otherwise,
2210
- # the call fails because you cannot associate a second filter with a log
2211
- # group. To find the name of the filter currently associated with a log
2212
- # group, use [DescribeSubscriptionFilters][1].
2235
+ # filter, you must specify the correct name in `filterName`. To find the
2236
+ # name of the filter currently associated with a log group, use
2237
+ # [DescribeSubscriptionFilters][1].
2213
2238
  #
2214
2239
  #
2215
2240
  #
@@ -2228,12 +2253,21 @@ module Aws::CloudWatchLogs
2228
2253
  # * A logical destination (specified using an ARN) belonging to a
2229
2254
  # different account, for cross-account delivery.
2230
2255
  #
2256
+ # If you are setting up a cross-account subscription, the destination
2257
+ # must have an IAM policy associated with it that allows the sender to
2258
+ # send logs to the destination. For more information, see
2259
+ # [PutDestinationPolicy][1].
2260
+ #
2231
2261
  # * An Amazon Kinesis Firehose delivery stream belonging to the same
2232
2262
  # account as the subscription filter, for same-account delivery.
2233
2263
  #
2234
2264
  # * An AWS Lambda function belonging to the same account as the
2235
2265
  # subscription filter, for same-account delivery.
2236
2266
  #
2267
+ #
2268
+ #
2269
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestinationPolicy.html
2270
+ #
2237
2271
  # @option params [String] :role_arn
2238
2272
  # The ARN of an IAM role that grants CloudWatch Logs permissions to
2239
2273
  # deliver ingested log events to the destination stream. You don't need
@@ -2505,7 +2539,7 @@ module Aws::CloudWatchLogs
2505
2539
  params: params,
2506
2540
  config: config)
2507
2541
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
2508
- context[:gem_version] = '1.40.0'
2542
+ context[:gem_version] = '1.41.0'
2509
2543
  Seahorse::Client::Request.new(handlers, context)
2510
2544
  end
2511
2545
 
@@ -58,6 +58,9 @@ module Aws::CloudWatchLogs
58
58
  DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
59
59
  DestinationName = Shapes::StringShape.new(name: 'DestinationName')
60
60
  Destinations = Shapes::ListShape.new(name: 'Destinations')
61
+ Dimensions = Shapes::MapShape.new(name: 'Dimensions')
62
+ DimensionsKey = Shapes::StringShape.new(name: 'DimensionsKey')
63
+ DimensionsValue = Shapes::StringShape.new(name: 'DimensionsValue')
61
64
  DisassociateKmsKeyRequest = Shapes::StructureShape.new(name: 'DisassociateKmsKeyRequest')
62
65
  Distribution = Shapes::StringShape.new(name: 'Distribution')
63
66
  EventId = Shapes::StringShape.new(name: 'EventId')
@@ -173,6 +176,7 @@ module Aws::CloudWatchLogs
173
176
  SearchedLogStreams = Shapes::ListShape.new(name: 'SearchedLogStreams')
174
177
  SequenceToken = Shapes::StringShape.new(name: 'SequenceToken')
175
178
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
179
+ StandardUnit = Shapes::StringShape.new(name: 'StandardUnit')
176
180
  StartFromHead = Shapes::BooleanShape.new(name: 'StartFromHead')
177
181
  StartQueryRequest = Shapes::StructureShape.new(name: 'StartQueryRequest')
178
182
  StartQueryResponse = Shapes::StructureShape.new(name: 'StartQueryResponse')
@@ -358,6 +362,9 @@ module Aws::CloudWatchLogs
358
362
 
359
363
  Destinations.member = Shapes::ShapeRef.new(shape: Destination)
360
364
 
365
+ Dimensions.key = Shapes::ShapeRef.new(shape: DimensionsKey)
366
+ Dimensions.value = Shapes::ShapeRef.new(shape: DimensionsValue)
367
+
361
368
  DisassociateKmsKeyRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
362
369
  DisassociateKmsKeyRequest.struct_class = Types::DisassociateKmsKeyRequest
363
370
 
@@ -525,6 +532,8 @@ module Aws::CloudWatchLogs
525
532
  MetricTransformation.add_member(:metric_namespace, Shapes::ShapeRef.new(shape: MetricNamespace, required: true, location_name: "metricNamespace"))
526
533
  MetricTransformation.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricValue, required: true, location_name: "metricValue"))
527
534
  MetricTransformation.add_member(:default_value, Shapes::ShapeRef.new(shape: DefaultValue, location_name: "defaultValue"))
535
+ MetricTransformation.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "dimensions"))
536
+ MetricTransformation.add_member(:unit, Shapes::ShapeRef.new(shape: StandardUnit, location_name: "unit"))
528
537
  MetricTransformation.struct_class = Types::MetricTransformation
529
538
 
530
539
  MetricTransformations.member = Shapes::ShapeRef.new(shape: MetricTransformation)
@@ -2,7 +2,7 @@
2
2
  # WARNING ABOUT GENERATED CODE
3
3
  #
4
4
  # This file is generated. See the contributing for info on making contributions:
5
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
6
6
  #
7
7
  # WARNING ABOUT GENERATED CODE
8
8
 
@@ -95,9 +95,9 @@ module Aws::CloudWatchLogs
95
95
  # @return [Integer]
96
96
  #
97
97
  # @!attribute [rw] to
98
- # The end time of the range for the request, expressed as the number
99
- # of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a
100
- # timestamp later than this time are not exported.
98
+ # The end time of the range for the request, expreswatchlogsdocused as
99
+ # the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events
100
+ # with a timestamp later than this time are not exported.
101
101
  # @return [Integer]
102
102
  #
103
103
  # @!attribute [rw] destination
@@ -597,10 +597,10 @@ module Aws::CloudWatchLogs
597
597
  # If you order the results by event time, you cannot specify the
598
598
  # `logStreamNamePrefix` parameter.
599
599
  #
600
- # `lastEventTimeStamp` represents the time of the most recent log
600
+ # `lastEventTimestamp` represents the time of the most recent log
601
601
  # event in the log stream in CloudWatch Logs. This number is expressed
602
602
  # as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
603
- # `lastEventTimeStamp` updates on an eventual consistency basis. It
603
+ # `lastEventTimestamp` updates on an eventual consistency basis. It
604
604
  # typically updates in less than an hour from ingestion, but in rare
605
605
  # situations might take longer.
606
606
  # @return [String]
@@ -732,7 +732,7 @@ module Aws::CloudWatchLogs
732
732
  #
733
733
  # {
734
734
  # log_group_name: "LogGroupName",
735
- # status: "Scheduled", # accepts Scheduled, Running, Complete, Failed, Cancelled
735
+ # status: "Scheduled", # accepts Scheduled, Running, Complete, Failed, Cancelled, Timeout, Unknown
736
736
  # max_results: 1,
737
737
  # next_token: "NextToken",
738
738
  # }
@@ -1144,9 +1144,6 @@ module Aws::CloudWatchLogs
1144
1144
  # The start of the time range, expressed as the number of milliseconds
1145
1145
  # after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this
1146
1146
  # time are not returned.
1147
- #
1148
- # If you omit `startTime` and `endTime` the most recent log events are
1149
- # retrieved, to up 1 MB or 10,000 log events.
1150
1147
  # @return [Integer]
1151
1148
  #
1152
1149
  # @!attribute [rw] end_time
@@ -1382,8 +1379,8 @@ module Aws::CloudWatchLogs
1382
1379
  #
1383
1380
  # @!attribute [rw] time
1384
1381
  # The time to set as the center of the query. If you specify `time`,
1385
- # the 8 minutes before and 8 minutes after this time are searched. If
1386
- # you omit `time`, the past 15 minutes are queried.
1382
+ # the 15 minutes before this time are queries. If you omit `time` the
1383
+ # 8 minutes before and 8 minutes after this time are searched.
1387
1384
  #
1388
1385
  # The `time` value is specified as epoch time, the number of seconds
1389
1386
  # since January 1, 1970, 00:00:00 UTC.
@@ -1829,6 +1826,10 @@ module Aws::CloudWatchLogs
1829
1826
  # metric_namespace: "MetricNamespace", # required
1830
1827
  # metric_value: "MetricValue", # required
1831
1828
  # default_value: 1.0,
1829
+ # dimensions: {
1830
+ # "DimensionsKey" => "DimensionsValue",
1831
+ # },
1832
+ # unit: "Seconds", # accepts Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
1832
1833
  # }
1833
1834
  #
1834
1835
  # @!attribute [rw] metric_name
@@ -1855,13 +1856,44 @@ module Aws::CloudWatchLogs
1855
1856
  # log event. This value can be null.
1856
1857
  # @return [Float]
1857
1858
  #
1859
+ # @!attribute [rw] dimensions
1860
+ # The fields to use as dimensions for the metric. One metric filter
1861
+ # can include as many as three dimensions.
1862
+ #
1863
+ # Metrics extracted from log events are charged as custom metrics. To
1864
+ # prevent unexpected high charges, do not specify high-cardinality
1865
+ # fields such as `IPAddress` or `requestID` as dimensions. Each
1866
+ # different value found for a dimension is treated as a separate
1867
+ # metric and accrues charges as a separate custom metric.
1868
+ #
1869
+ # To help prevent accidental high charges, Amazon disables a metric
1870
+ # filter if it generates 1000 different name/value pairs for the
1871
+ # dimensions that you have specified within a certain amount of time.
1872
+ #
1873
+ # You can also set up a billing alarm to alert you if your charges
1874
+ # are
1875
+ # higher than expected. For more information, see [ Creating a Billing
1876
+ # Alarm to Monitor Your Estimated AWS Charges][1].
1877
+ #
1878
+ #
1879
+ #
1880
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html
1881
+ # @return [Hash<String,String>]
1882
+ #
1883
+ # @!attribute [rw] unit
1884
+ # The unit to assign to the metric. If you omit this, the unit is set
1885
+ # as `None`.
1886
+ # @return [String]
1887
+ #
1858
1888
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricTransformation AWS API Documentation
1859
1889
  #
1860
1890
  class MetricTransformation < Struct.new(
1861
1891
  :metric_name,
1862
1892
  :metric_namespace,
1863
1893
  :metric_value,
1864
- :default_value)
1894
+ :default_value,
1895
+ :dimensions,
1896
+ :unit)
1865
1897
  SENSITIVE = []
1866
1898
  include Aws::Structure
1867
1899
  end
@@ -2053,6 +2085,10 @@ module Aws::CloudWatchLogs
2053
2085
  # metric_namespace: "MetricNamespace", # required
2054
2086
  # metric_value: "MetricValue", # required
2055
2087
  # default_value: 1.0,
2088
+ # dimensions: {
2089
+ # "DimensionsKey" => "DimensionsValue",
2090
+ # },
2091
+ # unit: "Seconds", # accepts Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
2056
2092
  # },
2057
2093
  # ],
2058
2094
  # }
@@ -2260,10 +2296,9 @@ module Aws::CloudWatchLogs
2260
2296
  #
2261
2297
  # @!attribute [rw] filter_name
2262
2298
  # A name for the subscription filter. If you are updating an existing
2263
- # filter, you must specify the correct name in `filterName`.
2264
- # Otherwise, the call fails because you cannot associate a second
2265
- # filter with a log group. To find the name of the filter currently
2266
- # associated with a log group, use [DescribeSubscriptionFilters][1].
2299
+ # filter, you must specify the correct name in `filterName`. To find
2300
+ # the name of the filter currently associated with a log group, use
2301
+ # [DescribeSubscriptionFilters][1].
2267
2302
  #
2268
2303
  #
2269
2304
  #
@@ -2284,11 +2319,20 @@ module Aws::CloudWatchLogs
2284
2319
  # * A logical destination (specified using an ARN) belonging to a
2285
2320
  # different account, for cross-account delivery.
2286
2321
  #
2322
+ # If you are setting up a cross-account subscription, the
2323
+ # destination must have an IAM policy associated with it that allows
2324
+ # the sender to send logs to the destination. For more information,
2325
+ # see [PutDestinationPolicy][1].
2326
+ #
2287
2327
  # * An Amazon Kinesis Firehose delivery stream belonging to the same
2288
2328
  # account as the subscription filter, for same-account delivery.
2289
2329
  #
2290
2330
  # * An AWS Lambda function belonging to the same account as the
2291
2331
  # subscription filter, for same-account delivery.
2332
+ #
2333
+ #
2334
+ #
2335
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestinationPolicy.html
2292
2336
  # @return [String]
2293
2337
  #
2294
2338
  # @!attribute [rw] role_arn
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.40.0
4
+ version: 1.41.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: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-cloudwatchlogs
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-cloudwatchlogs/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudwatchlogs
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudwatchlogs/CHANGELOG.md
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths:
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubyforge_project:
87
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
88
87
  signing_key:
89
88
  specification_version: 4
90
89
  summary: AWS SDK for Ruby - Amazon CloudWatch Logs