aws-sdk-cloudwatchlogs 1.69.0 → 1.70.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +20 -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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.0
|
@@ -644,7 +644,7 @@ module Aws::CloudWatchLogs
|
|
644
644
|
end
|
645
645
|
|
646
646
|
# Creates a log group with the specified name. You can create up to
|
647
|
-
#
|
647
|
+
# 1,000,000 log groups per Region per account.
|
648
648
|
#
|
649
649
|
# You must use the following guidelines when naming a log group:
|
650
650
|
#
|
@@ -2847,9 +2847,9 @@ module Aws::CloudWatchLogs
|
|
2847
2847
|
# different value found for a dimension is treated as a separate metric
|
2848
2848
|
# and accrues charges as a separate custom metric.
|
2849
2849
|
#
|
2850
|
-
# CloudWatch Logs
|
2851
|
-
# different name/value pairs for your specified dimensions within
|
2852
|
-
#
|
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.
|
2853
2853
|
#
|
2854
2854
|
# You can also set up a billing alarm to alert you if your charges are
|
2855
2855
|
# higher than expected. For more information, see [ Creating a Billing
|
@@ -2964,6 +2964,13 @@ module Aws::CloudWatchLogs
|
|
2964
2964
|
#
|
2965
2965
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html
|
2966
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
|
+
#
|
2967
2974
|
# @return [Types::PutQueryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2968
2975
|
#
|
2969
2976
|
# * {Types::PutQueryDefinitionResponse#query_definition_id #query_definition_id} => String
|
@@ -2975,6 +2982,7 @@ module Aws::CloudWatchLogs
|
|
2975
2982
|
# query_definition_id: "QueryId",
|
2976
2983
|
# log_group_names: ["LogGroupName"],
|
2977
2984
|
# query_string: "QueryDefinitionString", # required
|
2985
|
+
# client_token: "ClientToken",
|
2978
2986
|
# })
|
2979
2987
|
#
|
2980
2988
|
# @example Response structure
|
@@ -3074,6 +3082,13 @@ module Aws::CloudWatchLogs
|
|
3074
3082
|
# retention period ends. Alternatively, wait to change the retention
|
3075
3083
|
# setting until you confirm that the earlier log events are deleted.
|
3076
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
|
+
#
|
3077
3092
|
# </note>
|
3078
3093
|
#
|
3079
3094
|
# @option params [required, String] :log_group_name
|
@@ -3614,7 +3629,7 @@ module Aws::CloudWatchLogs
|
|
3614
3629
|
params: params,
|
3615
3630
|
config: config)
|
3616
3631
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
3617
|
-
context[:gem_version] = '1.
|
3632
|
+
context[:gem_version] = '1.70.0'
|
3618
3633
|
Seahorse::Client::Request.new(handlers, context)
|
3619
3634
|
end
|
3620
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
|