aws-sdk-cloudwatchlogs 1.46.0 → 1.50.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 +42 -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: 3354b0744be02f334d80fe8cc35102409ffd0b52736bf0cdaa5909db0dc5eaaf
|
4
|
+
data.tar.gz: cf8efdcdbb7dba736c3e5f1194bfe0374e596a519e15437ae590115df13d4a40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a47824b1b0b7c9608a3b60dc5bc8f311a0bec8baee21d9162fc873367a12e188f4c5e3e344e0683c9f0c1a45d1a7b01f06ec837e73e4cf741fb2dfde7edf427e
|
7
|
+
data.tar.gz: 8dc901ab9f0bc6ca55469102e433c2e2ae728b01c85f9f721e8a1415489ecc39d0b5e1dac9d4aad687338b059e4f7ab027c7ea2ee2bc69850c5936418778a8fa
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.50.0 (2021-12-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.49.0 (2021-12-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds AWS Organizations support as condition key in destination policy for cross account Subscriptions in CloudWatch Logs.
|
13
|
+
|
14
|
+
1.48.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.47.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.46.0 (2021-10-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.50.0
|
@@ -27,6 +27,7 @@ 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'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::CloudWatchLogs
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::CloudWatchLogs
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::CloudWatchLogs
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -285,6 +293,15 @@ module Aws::CloudWatchLogs
|
|
285
293
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
294
|
# requests are made, and retries are disabled.
|
287
295
|
#
|
296
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
297
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
298
|
+
# will be used if available.
|
299
|
+
#
|
300
|
+
# @option options [Boolean] :use_fips_endpoint
|
301
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
302
|
+
# When a `fips` region is used, the region is normalized and this config
|
303
|
+
# is set to `true`.
|
304
|
+
#
|
288
305
|
# @option options [Boolean] :validate_params (true)
|
289
306
|
# When `true`, request parameters are validated before
|
290
307
|
# sending the request.
|
@@ -296,7 +313,7 @@ module Aws::CloudWatchLogs
|
|
296
313
|
# seconds to wait when opening a HTTP session before raising a
|
297
314
|
# `Timeout::Error`.
|
298
315
|
#
|
299
|
-
# @option options [
|
316
|
+
# @option options [Float] :http_read_timeout (60) The default
|
300
317
|
# number of seconds to wait for response data. This value can
|
301
318
|
# safely be set per-request on the session.
|
302
319
|
#
|
@@ -312,6 +329,9 @@ module Aws::CloudWatchLogs
|
|
312
329
|
# disables this behaviour. This value can safely be set per
|
313
330
|
# request on the session.
|
314
331
|
#
|
332
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
333
|
+
# in seconds.
|
334
|
+
#
|
315
335
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
316
336
|
# HTTP debug output will be sent to the `:logger`.
|
317
337
|
#
|
@@ -1858,6 +1878,23 @@ module Aws::CloudWatchLogs
|
|
1858
1878
|
# their log events to the associated destination. This can be up to 5120
|
1859
1879
|
# bytes.
|
1860
1880
|
#
|
1881
|
+
# @option params [Boolean] :force_update
|
1882
|
+
# Specify true if you are updating an existing destination policy to
|
1883
|
+
# grant permission to an organization ID instead of granting permission
|
1884
|
+
# to individual AWS accounts. Before you update a destination policy
|
1885
|
+
# this way, you must first update the subscription filters in the
|
1886
|
+
# accounts that send logs to this destination. If you do not, the
|
1887
|
+
# subscription filters might stop working. By specifying `true` for
|
1888
|
+
# `forceUpdate`, you are affirming that you have already updated the
|
1889
|
+
# subscription filters. For more information, see [ Updating an existing
|
1890
|
+
# cross-account subscription][1]
|
1891
|
+
#
|
1892
|
+
# If you omit this parameter, the default of `false` is used.
|
1893
|
+
#
|
1894
|
+
#
|
1895
|
+
#
|
1896
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Cross-Account-Log_Subscription-Update.html
|
1897
|
+
#
|
1861
1898
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1862
1899
|
#
|
1863
1900
|
# @example Request syntax with placeholder values
|
@@ -1865,6 +1902,7 @@ module Aws::CloudWatchLogs
|
|
1865
1902
|
# resp = client.put_destination_policy({
|
1866
1903
|
# destination_name: "DestinationName", # required
|
1867
1904
|
# access_policy: "AccessPolicy", # required
|
1905
|
+
# force_update: false,
|
1868
1906
|
# })
|
1869
1907
|
#
|
1870
1908
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy AWS API Documentation
|
@@ -2155,7 +2193,7 @@ module Aws::CloudWatchLogs
|
|
2155
2193
|
# [aws:SourceAccount][2] condition context keys.
|
2156
2194
|
#
|
2157
2195
|
# In the example resource policy, you would replace the value of
|
2158
|
-
# `SourceArn` with the resource making the call from Route
|
2196
|
+
# `SourceArn` with the resource making the call from Route 53 to
|
2159
2197
|
# CloudWatch Logs and replace the value of `SourceAccount` with the
|
2160
2198
|
# Amazon Web Services account ID making that call.
|
2161
2199
|
#
|
@@ -2591,7 +2629,7 @@ module Aws::CloudWatchLogs
|
|
2591
2629
|
params: params,
|
2592
2630
|
config: config)
|
2593
2631
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
2594
|
-
context[:gem_version] = '1.
|
2632
|
+
context[:gem_version] = '1.50.0'
|
2595
2633
|
Seahorse::Client::Request.new(handlers, context)
|
2596
2634
|
end
|
2597
2635
|
|
@@ -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.50.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-21 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.125.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.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|