aws-sdk-cloudwatchlogs 1.48.0 → 1.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +20 -2
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +3 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +22 -2
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c26c18d1446dcd96d3609cab88a57ed00aa4519a291e3150fcdbc978511c1cae
|
4
|
+
data.tar.gz: a1118c825357489ac6be5ebb4a0b08baf6c47cd6ee131238f4f655b1ce910219
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14123f2eeab3996c8bc624c529a8a57b8c29677e4451847d5145cebc968fad799ac04b82ea8765273c7cf0859aec00b98bc4905f9f8a05d6efb4e3c55d48131e
|
7
|
+
data.tar.gz: 73e801cf822b1155c52c2050bebe488597015d09747a555c0f01d1ba8d9613b980406cbac2f918b08b25e51fc555daad15d249ce2906d1727995f52755458c4d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.0 (2021-12-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds AWS Organizations support as condition key in destination policy for cross account Subscriptions in CloudWatch Logs.
|
8
|
+
|
4
9
|
1.48.0 (2021-11-30)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
@@ -1869,6 +1869,23 @@ module Aws::CloudWatchLogs
|
|
1869
1869
|
# their log events to the associated destination. This can be up to 5120
|
1870
1870
|
# bytes.
|
1871
1871
|
#
|
1872
|
+
# @option params [Boolean] :force_update
|
1873
|
+
# Specify true if you are updating an existing destination policy to
|
1874
|
+
# grant permission to an organization ID instead of granting permission
|
1875
|
+
# to individual AWS accounts. Before you update a destination policy
|
1876
|
+
# this way, you must first update the subscription filters in the
|
1877
|
+
# accounts that send logs to this destination. If you do not, the
|
1878
|
+
# subscription filters might stop working. By specifying `true` for
|
1879
|
+
# `forceUpdate`, you are affirming that you have already updated the
|
1880
|
+
# subscription filters. For more information, see [ Updating an existing
|
1881
|
+
# cross-account subscription][1]
|
1882
|
+
#
|
1883
|
+
# If you omit this parameter, the default of `false` is used.
|
1884
|
+
#
|
1885
|
+
#
|
1886
|
+
#
|
1887
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Cross-Account-Log_Subscription-Update.html
|
1888
|
+
#
|
1872
1889
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1873
1890
|
#
|
1874
1891
|
# @example Request syntax with placeholder values
|
@@ -1876,6 +1893,7 @@ module Aws::CloudWatchLogs
|
|
1876
1893
|
# resp = client.put_destination_policy({
|
1877
1894
|
# destination_name: "DestinationName", # required
|
1878
1895
|
# access_policy: "AccessPolicy", # required
|
1896
|
+
# force_update: false,
|
1879
1897
|
# })
|
1880
1898
|
#
|
1881
1899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy AWS API Documentation
|
@@ -2166,7 +2184,7 @@ module Aws::CloudWatchLogs
|
|
2166
2184
|
# [aws:SourceAccount][2] condition context keys.
|
2167
2185
|
#
|
2168
2186
|
# In the example resource policy, you would replace the value of
|
2169
|
-
# `SourceArn` with the resource making the call from Route
|
2187
|
+
# `SourceArn` with the resource making the call from Route 53 to
|
2170
2188
|
# CloudWatch Logs and replace the value of `SourceAccount` with the
|
2171
2189
|
# Amazon Web Services account ID making that call.
|
2172
2190
|
#
|
@@ -2602,7 +2620,7 @@ module Aws::CloudWatchLogs
|
|
2602
2620
|
params: params,
|
2603
2621
|
config: config)
|
2604
2622
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
2605
|
-
context[:gem_version] = '1.
|
2623
|
+
context[:gem_version] = '1.49.0'
|
2606
2624
|
Seahorse::Client::Request.new(handlers, context)
|
2607
2625
|
end
|
2608
2626
|
|
@@ -86,6 +86,7 @@ module Aws::CloudWatchLogs
|
|
86
86
|
FilterPattern = Shapes::StringShape.new(name: 'FilterPattern')
|
87
87
|
FilteredLogEvent = Shapes::StructureShape.new(name: 'FilteredLogEvent')
|
88
88
|
FilteredLogEvents = Shapes::ListShape.new(name: 'FilteredLogEvents')
|
89
|
+
ForceUpdate = Shapes::BooleanShape.new(name: 'ForceUpdate')
|
89
90
|
GetLogEventsRequest = Shapes::StructureShape.new(name: 'GetLogEventsRequest')
|
90
91
|
GetLogEventsResponse = Shapes::StructureShape.new(name: 'GetLogEventsResponse')
|
91
92
|
GetLogGroupFieldsRequest = Shapes::StructureShape.new(name: 'GetLogGroupFieldsRequest')
|
@@ -549,6 +550,7 @@ module Aws::CloudWatchLogs
|
|
549
550
|
|
550
551
|
PutDestinationPolicyRequest.add_member(:destination_name, Shapes::ShapeRef.new(shape: DestinationName, required: true, location_name: "destinationName"))
|
551
552
|
PutDestinationPolicyRequest.add_member(:access_policy, Shapes::ShapeRef.new(shape: AccessPolicy, required: true, location_name: "accessPolicy"))
|
553
|
+
PutDestinationPolicyRequest.add_member(:force_update, Shapes::ShapeRef.new(shape: ForceUpdate, location_name: "forceUpdate"))
|
552
554
|
PutDestinationPolicyRequest.struct_class = Types::PutDestinationPolicyRequest
|
553
555
|
|
554
556
|
PutDestinationRequest.add_member(:destination_name, Shapes::ShapeRef.new(shape: DestinationName, required: true, location_name: "destinationName"))
|
@@ -1164,6 +1166,7 @@ module Aws::CloudWatchLogs
|
|
1164
1166
|
o.input = Shapes::ShapeRef.new(shape: PutQueryDefinitionRequest)
|
1165
1167
|
o.output = Shapes::ShapeRef.new(shape: PutQueryDefinitionResponse)
|
1166
1168
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1169
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1167
1170
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1168
1171
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1169
1172
|
end)
|
@@ -1948,6 +1948,7 @@ module Aws::CloudWatchLogs
|
|
1948
1948
|
# {
|
1949
1949
|
# destination_name: "DestinationName", # required
|
1950
1950
|
# access_policy: "AccessPolicy", # required
|
1951
|
+
# force_update: false,
|
1951
1952
|
# }
|
1952
1953
|
#
|
1953
1954
|
# @!attribute [rw] destination_name
|
@@ -1960,11 +1961,30 @@ module Aws::CloudWatchLogs
|
|
1960
1961
|
# up to 5120 bytes.
|
1961
1962
|
# @return [String]
|
1962
1963
|
#
|
1964
|
+
# @!attribute [rw] force_update
|
1965
|
+
# Specify true if you are updating an existing destination policy to
|
1966
|
+
# grant permission to an organization ID instead of granting
|
1967
|
+
# permission to individual AWS accounts. Before you update a
|
1968
|
+
# destination policy this way, you must first update the subscription
|
1969
|
+
# filters in the accounts that send logs to this destination. If you
|
1970
|
+
# do not, the subscription filters might stop working. By specifying
|
1971
|
+
# `true` for `forceUpdate`, you are affirming that you have already
|
1972
|
+
# updated the subscription filters. For more information, see [
|
1973
|
+
# Updating an existing cross-account subscription][1]
|
1974
|
+
#
|
1975
|
+
# If you omit this parameter, the default of `false` is used.
|
1976
|
+
#
|
1977
|
+
#
|
1978
|
+
#
|
1979
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Cross-Account-Log_Subscription-Update.html
|
1980
|
+
# @return [Boolean]
|
1981
|
+
#
|
1963
1982
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicyRequest AWS API Documentation
|
1964
1983
|
#
|
1965
1984
|
class PutDestinationPolicyRequest < Struct.new(
|
1966
1985
|
:destination_name,
|
1967
|
-
:access_policy
|
1986
|
+
:access_policy,
|
1987
|
+
:force_update)
|
1968
1988
|
SENSITIVE = []
|
1969
1989
|
include Aws::Structure
|
1970
1990
|
end
|
@@ -2237,7 +2257,7 @@ module Aws::CloudWatchLogs
|
|
2237
2257
|
# [aws:SourceAccount][2] condition context keys.
|
2238
2258
|
#
|
2239
2259
|
# In the example resource policy, you would replace the value of
|
2240
|
-
# `SourceArn` with the resource making the call from Route
|
2260
|
+
# `SourceArn` with the resource making the call from Route 53 to
|
2241
2261
|
# CloudWatch Logs and replace the value of `SourceAccount` with the
|
2242
2262
|
# Amazon Web Services account ID making that call.
|
2243
2263
|
#
|
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.
|
4
|
+
version: 1.49.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-
|
11
|
+
date: 2021-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|