aws-sdk-cloudwatchlogs 1.45.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +32 -3
- 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 +4 -4
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,26 @@
|
|
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
|
+
|
9
|
+
1.48.0 (2021-11-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.47.0 (2021-11-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.46.0 (2021-10-18)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.45.0 (2021-09-01)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
@@ -119,7 +119,9 @@ module Aws::CloudWatchLogs
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -285,6 +287,15 @@ module Aws::CloudWatchLogs
|
|
285
287
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
288
|
# requests are made, and retries are disabled.
|
287
289
|
#
|
290
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
291
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
|
+
# will be used if available.
|
293
|
+
#
|
294
|
+
# @option options [Boolean] :use_fips_endpoint
|
295
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
296
|
+
# When a `fips` region is used, the region is normalized and this config
|
297
|
+
# is set to `true`.
|
298
|
+
#
|
288
299
|
# @option options [Boolean] :validate_params (true)
|
289
300
|
# When `true`, request parameters are validated before
|
290
301
|
# sending the request.
|
@@ -1858,6 +1869,23 @@ module Aws::CloudWatchLogs
|
|
1858
1869
|
# their log events to the associated destination. This can be up to 5120
|
1859
1870
|
# bytes.
|
1860
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
|
+
#
|
1861
1889
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1862
1890
|
#
|
1863
1891
|
# @example Request syntax with placeholder values
|
@@ -1865,6 +1893,7 @@ module Aws::CloudWatchLogs
|
|
1865
1893
|
# resp = client.put_destination_policy({
|
1866
1894
|
# destination_name: "DestinationName", # required
|
1867
1895
|
# access_policy: "AccessPolicy", # required
|
1896
|
+
# force_update: false,
|
1868
1897
|
# })
|
1869
1898
|
#
|
1870
1899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy AWS API Documentation
|
@@ -2155,7 +2184,7 @@ module Aws::CloudWatchLogs
|
|
2155
2184
|
# [aws:SourceAccount][2] condition context keys.
|
2156
2185
|
#
|
2157
2186
|
# In the example resource policy, you would replace the value of
|
2158
|
-
# `SourceArn` with the resource making the call from Route
|
2187
|
+
# `SourceArn` with the resource making the call from Route 53 to
|
2159
2188
|
# CloudWatch Logs and replace the value of `SourceAccount` with the
|
2160
2189
|
# Amazon Web Services account ID making that call.
|
2161
2190
|
#
|
@@ -2591,7 +2620,7 @@ module Aws::CloudWatchLogs
|
|
2591
2620
|
params: params,
|
2592
2621
|
config: config)
|
2593
2622
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
2594
|
-
context[:gem_version] = '1.
|
2623
|
+
context[:gem_version] = '1.49.0'
|
2595
2624
|
Seahorse::Client::Request.new(handlers, context)
|
2596
2625
|
end
|
2597
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
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.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.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|