aws-sdk-cloudwatchlogs 1.47.0 → 1.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +35 -4
- 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: 214a5301e41f548ea341b3811036178c60d9554abd6e7dda66cb58bdce4749d6
|
4
|
+
data.tar.gz: 8ed04df62456ada48e1fbd27bc51e01f0c1cd86153102a8c360ac8b95d4ba024
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99f8458a612d672a50024b56eb65a404c81303f41dce2099be76a082b10babac21f8455917a133ea6b2bb3fd23992dc460517ad01ec1dd9282b653ba38a3e9fe
|
7
|
+
data.tar.gz: '09495dfb2acb57a8b17687bbe6cc1c53f9e061335b5ab1523bd9689a2e72b7b26f5a1e7074095054d29e0066409ff8b5260b69c2221fffb0cbe047f63f53da4a'
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.51.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.50.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.49.0 (2021-12-08)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds AWS Organizations support as condition key in destination policy for cross account Subscriptions in CloudWatch Logs.
|
18
|
+
|
19
|
+
1.48.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.47.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.51.0
|
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::CloudWatchLogs
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::CloudWatchLogs
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::CloudWatchLogs
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -305,7 +315,7 @@ module Aws::CloudWatchLogs
|
|
305
315
|
# seconds to wait when opening a HTTP session before raising a
|
306
316
|
# `Timeout::Error`.
|
307
317
|
#
|
308
|
-
# @option options [
|
318
|
+
# @option options [Float] :http_read_timeout (60) The default
|
309
319
|
# number of seconds to wait for response data. This value can
|
310
320
|
# safely be set per-request on the session.
|
311
321
|
#
|
@@ -321,6 +331,9 @@ module Aws::CloudWatchLogs
|
|
321
331
|
# disables this behaviour. This value can safely be set per
|
322
332
|
# request on the session.
|
323
333
|
#
|
334
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
335
|
+
# in seconds.
|
336
|
+
#
|
324
337
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
325
338
|
# HTTP debug output will be sent to the `:logger`.
|
326
339
|
#
|
@@ -1867,6 +1880,23 @@ module Aws::CloudWatchLogs
|
|
1867
1880
|
# their log events to the associated destination. This can be up to 5120
|
1868
1881
|
# bytes.
|
1869
1882
|
#
|
1883
|
+
# @option params [Boolean] :force_update
|
1884
|
+
# Specify true if you are updating an existing destination policy to
|
1885
|
+
# grant permission to an organization ID instead of granting permission
|
1886
|
+
# to individual AWS accounts. Before you update a destination policy
|
1887
|
+
# this way, you must first update the subscription filters in the
|
1888
|
+
# accounts that send logs to this destination. If you do not, the
|
1889
|
+
# subscription filters might stop working. By specifying `true` for
|
1890
|
+
# `forceUpdate`, you are affirming that you have already updated the
|
1891
|
+
# subscription filters. For more information, see [ Updating an existing
|
1892
|
+
# cross-account subscription][1]
|
1893
|
+
#
|
1894
|
+
# If you omit this parameter, the default of `false` is used.
|
1895
|
+
#
|
1896
|
+
#
|
1897
|
+
#
|
1898
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Cross-Account-Log_Subscription-Update.html
|
1899
|
+
#
|
1870
1900
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1871
1901
|
#
|
1872
1902
|
# @example Request syntax with placeholder values
|
@@ -1874,6 +1904,7 @@ module Aws::CloudWatchLogs
|
|
1874
1904
|
# resp = client.put_destination_policy({
|
1875
1905
|
# destination_name: "DestinationName", # required
|
1876
1906
|
# access_policy: "AccessPolicy", # required
|
1907
|
+
# force_update: false,
|
1877
1908
|
# })
|
1878
1909
|
#
|
1879
1910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy AWS API Documentation
|
@@ -2164,7 +2195,7 @@ module Aws::CloudWatchLogs
|
|
2164
2195
|
# [aws:SourceAccount][2] condition context keys.
|
2165
2196
|
#
|
2166
2197
|
# In the example resource policy, you would replace the value of
|
2167
|
-
# `SourceArn` with the resource making the call from Route
|
2198
|
+
# `SourceArn` with the resource making the call from Route 53 to
|
2168
2199
|
# CloudWatch Logs and replace the value of `SourceAccount` with the
|
2169
2200
|
# Amazon Web Services account ID making that call.
|
2170
2201
|
#
|
@@ -2600,7 +2631,7 @@ module Aws::CloudWatchLogs
|
|
2600
2631
|
params: params,
|
2601
2632
|
config: config)
|
2602
2633
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
2603
|
-
context[:gem_version] = '1.
|
2634
|
+
context[:gem_version] = '1.51.0'
|
2604
2635
|
Seahorse::Client::Request.new(handlers, context)
|
2605
2636
|
end
|
2606
2637
|
|
@@ -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.51.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:
|
11
|
+
date: 2022-02-03 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.126.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.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|