aws-sdk-cloudwatchlogs 1.68.0 → 1.70.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +24 -5
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +2 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +10 -1
- 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: 7ff2e7cf02264eee5dea1da24899ed55946d79b308f57a6792bbdaaf549d789b
|
|
4
|
+
data.tar.gz: 9ca3246f1b9d3c4390f1fb7030df06fce6d9dfbc60dcfade047585b136083e03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc8373b810ed2e80b973cc2bfeaf8756aebf75f8361136810fcbc9c4682c06b9a4c32a4cfaf0df5e721dfaf80e2ab22434e93c7c77c76a6c9250ef4073736c01
|
|
7
|
+
data.tar.gz: 69a18e66a98ed4237e7d210f1023843081f1a20c5c14746800ca85aa812c4039603ef2b652718303af10e9da2adc643898d279e4e226e08637eea0f91bca64b9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.70.0 (2023-09-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add ClientToken to QueryDefinition CFN Handler in CWL
|
|
8
|
+
|
|
9
|
+
1.69.0 (2023-07-11)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.68.0 (2023-07-07)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.70.0
|
|
@@ -216,6 +216,10 @@ module Aws::CloudWatchLogs
|
|
|
216
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
|
217
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
218
218
|
#
|
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
|
221
|
+
# variables and the shared configuration file.
|
|
222
|
+
#
|
|
219
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
220
224
|
# The log formatter.
|
|
221
225
|
#
|
|
@@ -640,7 +644,7 @@ module Aws::CloudWatchLogs
|
|
|
640
644
|
end
|
|
641
645
|
|
|
642
646
|
# Creates a log group with the specified name. You can create up to
|
|
643
|
-
#
|
|
647
|
+
# 1,000,000 log groups per Region per account.
|
|
644
648
|
#
|
|
645
649
|
# You must use the following guidelines when naming a log group:
|
|
646
650
|
#
|
|
@@ -2843,9 +2847,9 @@ module Aws::CloudWatchLogs
|
|
|
2843
2847
|
# different value found for a dimension is treated as a separate metric
|
|
2844
2848
|
# and accrues charges as a separate custom metric.
|
|
2845
2849
|
#
|
|
2846
|
-
# CloudWatch Logs
|
|
2847
|
-
# different name/value pairs for your specified dimensions within
|
|
2848
|
-
#
|
|
2850
|
+
# CloudWatch Logs might disable a metric filter if it generates 1,000
|
|
2851
|
+
# different name/value pairs for your specified dimensions within one
|
|
2852
|
+
# hour.
|
|
2849
2853
|
#
|
|
2850
2854
|
# You can also set up a billing alarm to alert you if your charges are
|
|
2851
2855
|
# higher than expected. For more information, see [ Creating a Billing
|
|
@@ -2960,6 +2964,13 @@ module Aws::CloudWatchLogs
|
|
|
2960
2964
|
#
|
|
2961
2965
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html
|
|
2962
2966
|
#
|
|
2967
|
+
# @option params [String] :client_token
|
|
2968
|
+
# Used as an idempotency token, to avoid returning an exception if the
|
|
2969
|
+
# service receives the same request twice because of a network error.
|
|
2970
|
+
#
|
|
2971
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2972
|
+
# not need to pass this option.**
|
|
2973
|
+
#
|
|
2963
2974
|
# @return [Types::PutQueryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2964
2975
|
#
|
|
2965
2976
|
# * {Types::PutQueryDefinitionResponse#query_definition_id #query_definition_id} => String
|
|
@@ -2971,6 +2982,7 @@ module Aws::CloudWatchLogs
|
|
|
2971
2982
|
# query_definition_id: "QueryId",
|
|
2972
2983
|
# log_group_names: ["LogGroupName"],
|
|
2973
2984
|
# query_string: "QueryDefinitionString", # required
|
|
2985
|
+
# client_token: "ClientToken",
|
|
2974
2986
|
# })
|
|
2975
2987
|
#
|
|
2976
2988
|
# @example Response structure
|
|
@@ -3070,6 +3082,13 @@ module Aws::CloudWatchLogs
|
|
|
3070
3082
|
# retention period ends. Alternatively, wait to change the retention
|
|
3071
3083
|
# setting until you confirm that the earlier log events are deleted.
|
|
3072
3084
|
#
|
|
3085
|
+
# When log events reach their retention setting they are marked for
|
|
3086
|
+
# deletion. After they are marked for deletion, they do not add to your
|
|
3087
|
+
# archival storage costs anymore, even if they are not actually deleted
|
|
3088
|
+
# until later. These log events marked for deletion are also not
|
|
3089
|
+
# included when you use an API to retrieve the `storedBytes` value to
|
|
3090
|
+
# see how many bytes a log group is storing.
|
|
3091
|
+
#
|
|
3073
3092
|
# </note>
|
|
3074
3093
|
#
|
|
3075
3094
|
# @option params [required, String] :log_group_name
|
|
@@ -3610,7 +3629,7 @@ module Aws::CloudWatchLogs
|
|
|
3610
3629
|
params: params,
|
|
3611
3630
|
config: config)
|
|
3612
3631
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
|
3613
|
-
context[:gem_version] = '1.
|
|
3632
|
+
context[:gem_version] = '1.70.0'
|
|
3614
3633
|
Seahorse::Client::Request.new(handlers, context)
|
|
3615
3634
|
end
|
|
3616
3635
|
|
|
@@ -23,6 +23,7 @@ module Aws::CloudWatchLogs
|
|
|
23
23
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
|
24
24
|
AssociateKmsKeyRequest = Shapes::StructureShape.new(name: 'AssociateKmsKeyRequest')
|
|
25
25
|
CancelExportTaskRequest = Shapes::StructureShape.new(name: 'CancelExportTaskRequest')
|
|
26
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
26
27
|
CreateExportTaskRequest = Shapes::StructureShape.new(name: 'CreateExportTaskRequest')
|
|
27
28
|
CreateExportTaskResponse = Shapes::StructureShape.new(name: 'CreateExportTaskResponse')
|
|
28
29
|
CreateLogGroupRequest = Shapes::StructureShape.new(name: 'CreateLogGroupRequest')
|
|
@@ -695,6 +696,7 @@ module Aws::CloudWatchLogs
|
|
|
695
696
|
PutQueryDefinitionRequest.add_member(:query_definition_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryDefinitionId"))
|
|
696
697
|
PutQueryDefinitionRequest.add_member(:log_group_names, Shapes::ShapeRef.new(shape: LogGroupNames, location_name: "logGroupNames"))
|
|
697
698
|
PutQueryDefinitionRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryDefinitionString, required: true, location_name: "queryString"))
|
|
699
|
+
PutQueryDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
|
698
700
|
PutQueryDefinitionRequest.struct_class = Types::PutQueryDefinitionRequest
|
|
699
701
|
|
|
700
702
|
PutQueryDefinitionResponse.add_member(:query_definition_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryDefinitionId"))
|
|
@@ -2493,13 +2493,22 @@ module Aws::CloudWatchLogs
|
|
|
2493
2493
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html
|
|
2494
2494
|
# @return [String]
|
|
2495
2495
|
#
|
|
2496
|
+
# @!attribute [rw] client_token
|
|
2497
|
+
# Used as an idempotency token, to avoid returning an exception if the
|
|
2498
|
+
# service receives the same request twice because of a network error.
|
|
2499
|
+
#
|
|
2500
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2501
|
+
# not need to pass this option.
|
|
2502
|
+
# @return [String]
|
|
2503
|
+
#
|
|
2496
2504
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutQueryDefinitionRequest AWS API Documentation
|
|
2497
2505
|
#
|
|
2498
2506
|
class PutQueryDefinitionRequest < Struct.new(
|
|
2499
2507
|
:name,
|
|
2500
2508
|
:query_definition_id,
|
|
2501
2509
|
:log_group_names,
|
|
2502
|
-
:query_string
|
|
2510
|
+
:query_string,
|
|
2511
|
+
:client_token)
|
|
2503
2512
|
SENSITIVE = []
|
|
2504
2513
|
include Aws::Structure
|
|
2505
2514
|
end
|
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.70.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: 2023-
|
|
11
|
+
date: 2023-09-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|