aws-sdk-cloudwatchlogs 1.96.0 → 1.98.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +24 -18
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +2 -0
- data/lib/aws-sdk-cloudwatchlogs/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-cloudwatchlogs/endpoints.rb +2 -834
- data/lib/aws-sdk-cloudwatchlogs/plugins/endpoints.rb +1 -158
- data/lib/aws-sdk-cloudwatchlogs/types.rb +29 -9
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/types.rbs +1 -0
- metadata +4 -4
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::CloudWatchLogs::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,163 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :associate_kms_key
|
74
|
-
Aws::CloudWatchLogs::Endpoints::AssociateKmsKey.build(context)
|
75
|
-
when :cancel_export_task
|
76
|
-
Aws::CloudWatchLogs::Endpoints::CancelExportTask.build(context)
|
77
|
-
when :create_delivery
|
78
|
-
Aws::CloudWatchLogs::Endpoints::CreateDelivery.build(context)
|
79
|
-
when :create_export_task
|
80
|
-
Aws::CloudWatchLogs::Endpoints::CreateExportTask.build(context)
|
81
|
-
when :create_log_anomaly_detector
|
82
|
-
Aws::CloudWatchLogs::Endpoints::CreateLogAnomalyDetector.build(context)
|
83
|
-
when :create_log_group
|
84
|
-
Aws::CloudWatchLogs::Endpoints::CreateLogGroup.build(context)
|
85
|
-
when :create_log_stream
|
86
|
-
Aws::CloudWatchLogs::Endpoints::CreateLogStream.build(context)
|
87
|
-
when :delete_account_policy
|
88
|
-
Aws::CloudWatchLogs::Endpoints::DeleteAccountPolicy.build(context)
|
89
|
-
when :delete_data_protection_policy
|
90
|
-
Aws::CloudWatchLogs::Endpoints::DeleteDataProtectionPolicy.build(context)
|
91
|
-
when :delete_delivery
|
92
|
-
Aws::CloudWatchLogs::Endpoints::DeleteDelivery.build(context)
|
93
|
-
when :delete_delivery_destination
|
94
|
-
Aws::CloudWatchLogs::Endpoints::DeleteDeliveryDestination.build(context)
|
95
|
-
when :delete_delivery_destination_policy
|
96
|
-
Aws::CloudWatchLogs::Endpoints::DeleteDeliveryDestinationPolicy.build(context)
|
97
|
-
when :delete_delivery_source
|
98
|
-
Aws::CloudWatchLogs::Endpoints::DeleteDeliverySource.build(context)
|
99
|
-
when :delete_destination
|
100
|
-
Aws::CloudWatchLogs::Endpoints::DeleteDestination.build(context)
|
101
|
-
when :delete_log_anomaly_detector
|
102
|
-
Aws::CloudWatchLogs::Endpoints::DeleteLogAnomalyDetector.build(context)
|
103
|
-
when :delete_log_group
|
104
|
-
Aws::CloudWatchLogs::Endpoints::DeleteLogGroup.build(context)
|
105
|
-
when :delete_log_stream
|
106
|
-
Aws::CloudWatchLogs::Endpoints::DeleteLogStream.build(context)
|
107
|
-
when :delete_metric_filter
|
108
|
-
Aws::CloudWatchLogs::Endpoints::DeleteMetricFilter.build(context)
|
109
|
-
when :delete_query_definition
|
110
|
-
Aws::CloudWatchLogs::Endpoints::DeleteQueryDefinition.build(context)
|
111
|
-
when :delete_resource_policy
|
112
|
-
Aws::CloudWatchLogs::Endpoints::DeleteResourcePolicy.build(context)
|
113
|
-
when :delete_retention_policy
|
114
|
-
Aws::CloudWatchLogs::Endpoints::DeleteRetentionPolicy.build(context)
|
115
|
-
when :delete_subscription_filter
|
116
|
-
Aws::CloudWatchLogs::Endpoints::DeleteSubscriptionFilter.build(context)
|
117
|
-
when :describe_account_policies
|
118
|
-
Aws::CloudWatchLogs::Endpoints::DescribeAccountPolicies.build(context)
|
119
|
-
when :describe_configuration_templates
|
120
|
-
Aws::CloudWatchLogs::Endpoints::DescribeConfigurationTemplates.build(context)
|
121
|
-
when :describe_deliveries
|
122
|
-
Aws::CloudWatchLogs::Endpoints::DescribeDeliveries.build(context)
|
123
|
-
when :describe_delivery_destinations
|
124
|
-
Aws::CloudWatchLogs::Endpoints::DescribeDeliveryDestinations.build(context)
|
125
|
-
when :describe_delivery_sources
|
126
|
-
Aws::CloudWatchLogs::Endpoints::DescribeDeliverySources.build(context)
|
127
|
-
when :describe_destinations
|
128
|
-
Aws::CloudWatchLogs::Endpoints::DescribeDestinations.build(context)
|
129
|
-
when :describe_export_tasks
|
130
|
-
Aws::CloudWatchLogs::Endpoints::DescribeExportTasks.build(context)
|
131
|
-
when :describe_log_groups
|
132
|
-
Aws::CloudWatchLogs::Endpoints::DescribeLogGroups.build(context)
|
133
|
-
when :describe_log_streams
|
134
|
-
Aws::CloudWatchLogs::Endpoints::DescribeLogStreams.build(context)
|
135
|
-
when :describe_metric_filters
|
136
|
-
Aws::CloudWatchLogs::Endpoints::DescribeMetricFilters.build(context)
|
137
|
-
when :describe_queries
|
138
|
-
Aws::CloudWatchLogs::Endpoints::DescribeQueries.build(context)
|
139
|
-
when :describe_query_definitions
|
140
|
-
Aws::CloudWatchLogs::Endpoints::DescribeQueryDefinitions.build(context)
|
141
|
-
when :describe_resource_policies
|
142
|
-
Aws::CloudWatchLogs::Endpoints::DescribeResourcePolicies.build(context)
|
143
|
-
when :describe_subscription_filters
|
144
|
-
Aws::CloudWatchLogs::Endpoints::DescribeSubscriptionFilters.build(context)
|
145
|
-
when :disassociate_kms_key
|
146
|
-
Aws::CloudWatchLogs::Endpoints::DisassociateKmsKey.build(context)
|
147
|
-
when :filter_log_events
|
148
|
-
Aws::CloudWatchLogs::Endpoints::FilterLogEvents.build(context)
|
149
|
-
when :get_data_protection_policy
|
150
|
-
Aws::CloudWatchLogs::Endpoints::GetDataProtectionPolicy.build(context)
|
151
|
-
when :get_delivery
|
152
|
-
Aws::CloudWatchLogs::Endpoints::GetDelivery.build(context)
|
153
|
-
when :get_delivery_destination
|
154
|
-
Aws::CloudWatchLogs::Endpoints::GetDeliveryDestination.build(context)
|
155
|
-
when :get_delivery_destination_policy
|
156
|
-
Aws::CloudWatchLogs::Endpoints::GetDeliveryDestinationPolicy.build(context)
|
157
|
-
when :get_delivery_source
|
158
|
-
Aws::CloudWatchLogs::Endpoints::GetDeliverySource.build(context)
|
159
|
-
when :get_log_anomaly_detector
|
160
|
-
Aws::CloudWatchLogs::Endpoints::GetLogAnomalyDetector.build(context)
|
161
|
-
when :get_log_events
|
162
|
-
Aws::CloudWatchLogs::Endpoints::GetLogEvents.build(context)
|
163
|
-
when :get_log_group_fields
|
164
|
-
Aws::CloudWatchLogs::Endpoints::GetLogGroupFields.build(context)
|
165
|
-
when :get_log_record
|
166
|
-
Aws::CloudWatchLogs::Endpoints::GetLogRecord.build(context)
|
167
|
-
when :get_query_results
|
168
|
-
Aws::CloudWatchLogs::Endpoints::GetQueryResults.build(context)
|
169
|
-
when :list_anomalies
|
170
|
-
Aws::CloudWatchLogs::Endpoints::ListAnomalies.build(context)
|
171
|
-
when :list_log_anomaly_detectors
|
172
|
-
Aws::CloudWatchLogs::Endpoints::ListLogAnomalyDetectors.build(context)
|
173
|
-
when :list_tags_for_resource
|
174
|
-
Aws::CloudWatchLogs::Endpoints::ListTagsForResource.build(context)
|
175
|
-
when :list_tags_log_group
|
176
|
-
Aws::CloudWatchLogs::Endpoints::ListTagsLogGroup.build(context)
|
177
|
-
when :put_account_policy
|
178
|
-
Aws::CloudWatchLogs::Endpoints::PutAccountPolicy.build(context)
|
179
|
-
when :put_data_protection_policy
|
180
|
-
Aws::CloudWatchLogs::Endpoints::PutDataProtectionPolicy.build(context)
|
181
|
-
when :put_delivery_destination
|
182
|
-
Aws::CloudWatchLogs::Endpoints::PutDeliveryDestination.build(context)
|
183
|
-
when :put_delivery_destination_policy
|
184
|
-
Aws::CloudWatchLogs::Endpoints::PutDeliveryDestinationPolicy.build(context)
|
185
|
-
when :put_delivery_source
|
186
|
-
Aws::CloudWatchLogs::Endpoints::PutDeliverySource.build(context)
|
187
|
-
when :put_destination
|
188
|
-
Aws::CloudWatchLogs::Endpoints::PutDestination.build(context)
|
189
|
-
when :put_destination_policy
|
190
|
-
Aws::CloudWatchLogs::Endpoints::PutDestinationPolicy.build(context)
|
191
|
-
when :put_log_events
|
192
|
-
Aws::CloudWatchLogs::Endpoints::PutLogEvents.build(context)
|
193
|
-
when :put_metric_filter
|
194
|
-
Aws::CloudWatchLogs::Endpoints::PutMetricFilter.build(context)
|
195
|
-
when :put_query_definition
|
196
|
-
Aws::CloudWatchLogs::Endpoints::PutQueryDefinition.build(context)
|
197
|
-
when :put_resource_policy
|
198
|
-
Aws::CloudWatchLogs::Endpoints::PutResourcePolicy.build(context)
|
199
|
-
when :put_retention_policy
|
200
|
-
Aws::CloudWatchLogs::Endpoints::PutRetentionPolicy.build(context)
|
201
|
-
when :put_subscription_filter
|
202
|
-
Aws::CloudWatchLogs::Endpoints::PutSubscriptionFilter.build(context)
|
203
|
-
when :start_live_tail
|
204
|
-
Aws::CloudWatchLogs::Endpoints::StartLiveTail.build(context)
|
205
|
-
when :start_query
|
206
|
-
Aws::CloudWatchLogs::Endpoints::StartQuery.build(context)
|
207
|
-
when :stop_query
|
208
|
-
Aws::CloudWatchLogs::Endpoints::StopQuery.build(context)
|
209
|
-
when :tag_log_group
|
210
|
-
Aws::CloudWatchLogs::Endpoints::TagLogGroup.build(context)
|
211
|
-
when :tag_resource
|
212
|
-
Aws::CloudWatchLogs::Endpoints::TagResource.build(context)
|
213
|
-
when :test_metric_filter
|
214
|
-
Aws::CloudWatchLogs::Endpoints::TestMetricFilter.build(context)
|
215
|
-
when :untag_log_group
|
216
|
-
Aws::CloudWatchLogs::Endpoints::UntagLogGroup.build(context)
|
217
|
-
when :untag_resource
|
218
|
-
Aws::CloudWatchLogs::Endpoints::UntagResource.build(context)
|
219
|
-
when :update_anomaly
|
220
|
-
Aws::CloudWatchLogs::Endpoints::UpdateAnomaly.build(context)
|
221
|
-
when :update_delivery_configuration
|
222
|
-
Aws::CloudWatchLogs::Endpoints::UpdateDeliveryConfiguration.build(context)
|
223
|
-
when :update_log_anomaly_detector
|
224
|
-
Aws::CloudWatchLogs::Endpoints::UpdateLogAnomalyDetector.build(context)
|
225
|
-
end
|
226
|
-
end
|
227
70
|
end
|
228
71
|
|
229
72
|
def add_handlers(handlers, _config)
|
@@ -387,7 +387,7 @@ module Aws::CloudWatchLogs
|
|
387
387
|
#
|
388
388
|
# @!attribute [rw] default_delivery_config_values
|
389
389
|
# A mapping that displays the default value of each property within a
|
390
|
-
# delivery
|
390
|
+
# delivery's configuration, if it is not specified in the request.
|
391
391
|
# @return [Types::ConfigurationTemplateDeliveryConfigValues]
|
392
392
|
#
|
393
393
|
# @!attribute [rw] allowed_fields
|
@@ -508,7 +508,7 @@ module Aws::CloudWatchLogs
|
|
508
508
|
#
|
509
509
|
# @!attribute [rw] record_fields
|
510
510
|
# The list of record fields to be delivered to the destination, in
|
511
|
-
# order. If the delivery
|
511
|
+
# order. If the delivery's log source has mandatory fields, they must
|
512
512
|
# be included in this list.
|
513
513
|
# @return [Array<String>]
|
514
514
|
#
|
@@ -519,7 +519,7 @@ module Aws::CloudWatchLogs
|
|
519
519
|
#
|
520
520
|
# @!attribute [rw] s3_delivery_configuration
|
521
521
|
# This structure contains parameters that are valid only when the
|
522
|
-
# delivery
|
522
|
+
# delivery's delivery destination is an S3 bucket.
|
523
523
|
# @return [Types::S3DeliveryConfiguration]
|
524
524
|
#
|
525
525
|
# @!attribute [rw] tags
|
@@ -595,6 +595,10 @@ module Aws::CloudWatchLogs
|
|
595
595
|
# @!attribute [rw] destination_prefix
|
596
596
|
# The prefix used as the start of the key for every object exported.
|
597
597
|
# If you don't specify a value, the default is `exportedlogs`.
|
598
|
+
#
|
599
|
+
# The length of this parameter must comply with the S3 object key name
|
600
|
+
# length limits. The object key name is a sequence of Unicode
|
601
|
+
# characters with UTF-8 encoding, and can be up to 1,024 bytes.
|
598
602
|
# @return [String]
|
599
603
|
#
|
600
604
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTaskRequest AWS API Documentation
|
@@ -1057,12 +1061,13 @@ module Aws::CloudWatchLogs
|
|
1057
1061
|
#
|
1058
1062
|
# For more information, see [CreateDelivery][1].
|
1059
1063
|
#
|
1060
|
-
#
|
1061
|
-
#
|
1064
|
+
# To update an existing delivery configuration, use
|
1065
|
+
# [UpdateDeliveryConfiguration][2].
|
1062
1066
|
#
|
1063
1067
|
#
|
1064
1068
|
#
|
1065
1069
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
|
1070
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html
|
1066
1071
|
#
|
1067
1072
|
# @!attribute [rw] id
|
1068
1073
|
# The unique ID that identifies this delivery in your account.
|
@@ -3727,13 +3732,28 @@ module Aws::CloudWatchLogs
|
|
3727
3732
|
# times each value was found.
|
3728
3733
|
# @return [Hash<String,Integer>]
|
3729
3734
|
#
|
3735
|
+
# @!attribute [rw] inferred_token_name
|
3736
|
+
# A name that CloudWatch Logs assigned to this dynamic token to make
|
3737
|
+
# the pattern more readable. The string part of the
|
3738
|
+
# `inferredTokenName` gives you a clearer idea of the content of this
|
3739
|
+
# token. The number part of the `inferredTokenName` shows where in the
|
3740
|
+
# pattern this token appears, compared to other dynamic tokens.
|
3741
|
+
# CloudWatch Logs assigns the string part of the name based on
|
3742
|
+
# analyzing the content of the log events that contain it.
|
3743
|
+
#
|
3744
|
+
# For example, an inferred token name of `IPAddress-3` means that the
|
3745
|
+
# token represents an IP address, and this token is the third dynamic
|
3746
|
+
# token in the pattern.
|
3747
|
+
# @return [String]
|
3748
|
+
#
|
3730
3749
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PatternToken AWS API Documentation
|
3731
3750
|
#
|
3732
3751
|
class PatternToken < Struct.new(
|
3733
3752
|
:dynamic_token_position,
|
3734
3753
|
:is_dynamic,
|
3735
3754
|
:token_string,
|
3736
|
-
:enumerations
|
3755
|
+
:enumerations,
|
3756
|
+
:inferred_token_name)
|
3737
3757
|
SENSITIVE = []
|
3738
3758
|
include Aws::Structure
|
3739
3759
|
end
|
@@ -5041,7 +5061,7 @@ module Aws::CloudWatchLogs
|
|
5041
5061
|
# @!attribute [rw] limit
|
5042
5062
|
# The maximum number of log events to return in the query. If the
|
5043
5063
|
# query string uses the `fields` command, only the specified fields
|
5044
|
-
# and their values are returned. The default is
|
5064
|
+
# and their values are returned. The default is 10,000.
|
5045
5065
|
# @return [Integer]
|
5046
5066
|
#
|
5047
5067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StartQueryRequest AWS API Documentation
|
@@ -5377,7 +5397,7 @@ module Aws::CloudWatchLogs
|
|
5377
5397
|
#
|
5378
5398
|
# @!attribute [rw] record_fields
|
5379
5399
|
# The list of record fields to be delivered to the destination, in
|
5380
|
-
# order. If the delivery
|
5400
|
+
# order. If the delivery's log source has mandatory fields, they must
|
5381
5401
|
# be included in this list.
|
5382
5402
|
# @return [Array<String>]
|
5383
5403
|
#
|
@@ -5388,7 +5408,7 @@ module Aws::CloudWatchLogs
|
|
5388
5408
|
#
|
5389
5409
|
# @!attribute [rw] s3_delivery_configuration
|
5390
5410
|
# This structure contains parameters that are valid only when the
|
5391
|
-
# delivery
|
5411
|
+
# delivery's delivery destination is an S3 bucket.
|
5392
5412
|
# @return [Types::S3DeliveryConfiguration]
|
5393
5413
|
#
|
5394
5414
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateDeliveryConfigurationRequest AWS API Documentation
|
data/sig/types.rbs
CHANGED
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.98.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: 2024-
|
11
|
+
date: 2024-10-25 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.210.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.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|