aws-sdk-cloudwatchlogs 1.77.0 → 1.79.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 +37 -8
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +1 -0
- data/lib/aws-sdk-cloudwatchlogs/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +39 -4
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +901 -0
- data/sig/errors.rbs +61 -0
- data/sig/resource.rbs +83 -0
- data/sig/types.rbs +1183 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,901 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module CloudWatchLogs
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?event_stream_handler: Proc,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?input_event_stream_handler: Proc,
|
38
|
+
?log_formatter: untyped,
|
39
|
+
?log_level: Symbol,
|
40
|
+
?logger: untyped,
|
41
|
+
?max_attempts: Integer,
|
42
|
+
?output_event_stream_handler: Proc,
|
43
|
+
?profile: String,
|
44
|
+
?request_min_compression_size_bytes: Integer,
|
45
|
+
?retry_backoff: Proc,
|
46
|
+
?retry_base_delay: Float,
|
47
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
48
|
+
?retry_limit: Integer,
|
49
|
+
?retry_max_delay: Integer,
|
50
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
51
|
+
?sdk_ua_app_id: String,
|
52
|
+
?secret_access_key: String,
|
53
|
+
?session_token: String,
|
54
|
+
?simple_json: bool,
|
55
|
+
?stub_responses: untyped,
|
56
|
+
?token_provider: untyped,
|
57
|
+
?use_dualstack_endpoint: bool,
|
58
|
+
?use_fips_endpoint: bool,
|
59
|
+
?validate_params: bool,
|
60
|
+
?endpoint_provider: untyped,
|
61
|
+
?http_proxy: String,
|
62
|
+
?http_open_timeout: (Float | Integer),
|
63
|
+
?http_read_timeout: (Float | Integer),
|
64
|
+
?http_idle_timeout: (Float | Integer),
|
65
|
+
?http_continue_timeout: (Float | Integer),
|
66
|
+
?ssl_timeout: (Float | Integer | nil),
|
67
|
+
?http_wire_trace: bool,
|
68
|
+
?ssl_verify_peer: bool,
|
69
|
+
?ssl_ca_bundle: String,
|
70
|
+
?ssl_ca_directory: String,
|
71
|
+
?ssl_ca_store: String,
|
72
|
+
?on_chunk_received: Proc,
|
73
|
+
?on_chunk_sent: Proc,
|
74
|
+
?raise_response_errors: bool
|
75
|
+
) -> instance
|
76
|
+
| (?Hash[Symbol, untyped]) -> instance
|
77
|
+
|
78
|
+
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#associate_kms_key-instance_method
|
80
|
+
def associate_kms_key: (
|
81
|
+
?log_group_name: ::String,
|
82
|
+
kms_key_id: ::String,
|
83
|
+
?resource_identifier: ::String
|
84
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
85
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
86
|
+
|
87
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#cancel_export_task-instance_method
|
88
|
+
def cancel_export_task: (
|
89
|
+
task_id: ::String
|
90
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
91
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
92
|
+
|
93
|
+
interface _CreateDeliveryResponseSuccess
|
94
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDeliveryResponse]
|
95
|
+
def delivery: () -> Types::Delivery
|
96
|
+
end
|
97
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#create_delivery-instance_method
|
98
|
+
def create_delivery: (
|
99
|
+
delivery_source_name: ::String,
|
100
|
+
delivery_destination_arn: ::String,
|
101
|
+
?tags: Hash[::String, ::String]
|
102
|
+
) -> _CreateDeliveryResponseSuccess
|
103
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeliveryResponseSuccess
|
104
|
+
|
105
|
+
interface _CreateExportTaskResponseSuccess
|
106
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateExportTaskResponse]
|
107
|
+
def task_id: () -> ::String
|
108
|
+
end
|
109
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#create_export_task-instance_method
|
110
|
+
def create_export_task: (
|
111
|
+
?task_name: ::String,
|
112
|
+
log_group_name: ::String,
|
113
|
+
?log_stream_name_prefix: ::String,
|
114
|
+
from: ::Integer,
|
115
|
+
to: ::Integer,
|
116
|
+
destination: ::String,
|
117
|
+
?destination_prefix: ::String
|
118
|
+
) -> _CreateExportTaskResponseSuccess
|
119
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateExportTaskResponseSuccess
|
120
|
+
|
121
|
+
interface _CreateLogAnomalyDetectorResponseSuccess
|
122
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLogAnomalyDetectorResponse]
|
123
|
+
def anomaly_detector_arn: () -> ::String
|
124
|
+
end
|
125
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#create_log_anomaly_detector-instance_method
|
126
|
+
def create_log_anomaly_detector: (
|
127
|
+
log_group_arn_list: Array[::String],
|
128
|
+
?detector_name: ::String,
|
129
|
+
?evaluation_frequency: ("ONE_MIN" | "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR"),
|
130
|
+
?filter_pattern: ::String,
|
131
|
+
?kms_key_id: ::String,
|
132
|
+
?anomaly_visibility_time: ::Integer,
|
133
|
+
?tags: Hash[::String, ::String]
|
134
|
+
) -> _CreateLogAnomalyDetectorResponseSuccess
|
135
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLogAnomalyDetectorResponseSuccess
|
136
|
+
|
137
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#create_log_group-instance_method
|
138
|
+
def create_log_group: (
|
139
|
+
log_group_name: ::String,
|
140
|
+
?kms_key_id: ::String,
|
141
|
+
?tags: Hash[::String, ::String],
|
142
|
+
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
|
143
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
145
|
+
|
146
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#create_log_stream-instance_method
|
147
|
+
def create_log_stream: (
|
148
|
+
log_group_name: ::String,
|
149
|
+
log_stream_name: ::String
|
150
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
151
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
152
|
+
|
153
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_account_policy-instance_method
|
154
|
+
def delete_account_policy: (
|
155
|
+
policy_name: ::String,
|
156
|
+
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
|
157
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
158
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
159
|
+
|
160
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_data_protection_policy-instance_method
|
161
|
+
def delete_data_protection_policy: (
|
162
|
+
log_group_identifier: ::String
|
163
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
164
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
165
|
+
|
166
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_delivery-instance_method
|
167
|
+
def delete_delivery: (
|
168
|
+
id: ::String
|
169
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
170
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
171
|
+
|
172
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_delivery_destination-instance_method
|
173
|
+
def delete_delivery_destination: (
|
174
|
+
name: ::String
|
175
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
176
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
177
|
+
|
178
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_delivery_destination_policy-instance_method
|
179
|
+
def delete_delivery_destination_policy: (
|
180
|
+
delivery_destination_name: ::String
|
181
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
182
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
183
|
+
|
184
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_delivery_source-instance_method
|
185
|
+
def delete_delivery_source: (
|
186
|
+
name: ::String
|
187
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
188
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
189
|
+
|
190
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_destination-instance_method
|
191
|
+
def delete_destination: (
|
192
|
+
destination_name: ::String
|
193
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
194
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
195
|
+
|
196
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_log_anomaly_detector-instance_method
|
197
|
+
def delete_log_anomaly_detector: (
|
198
|
+
anomaly_detector_arn: ::String
|
199
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
200
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
201
|
+
|
202
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_log_group-instance_method
|
203
|
+
def delete_log_group: (
|
204
|
+
log_group_name: ::String
|
205
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
206
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
207
|
+
|
208
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_log_stream-instance_method
|
209
|
+
def delete_log_stream: (
|
210
|
+
log_group_name: ::String,
|
211
|
+
log_stream_name: ::String
|
212
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
213
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
214
|
+
|
215
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_metric_filter-instance_method
|
216
|
+
def delete_metric_filter: (
|
217
|
+
log_group_name: ::String,
|
218
|
+
filter_name: ::String
|
219
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
220
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
221
|
+
|
222
|
+
interface _DeleteQueryDefinitionResponseSuccess
|
223
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteQueryDefinitionResponse]
|
224
|
+
def success: () -> bool
|
225
|
+
end
|
226
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_query_definition-instance_method
|
227
|
+
def delete_query_definition: (
|
228
|
+
query_definition_id: ::String
|
229
|
+
) -> _DeleteQueryDefinitionResponseSuccess
|
230
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteQueryDefinitionResponseSuccess
|
231
|
+
|
232
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_resource_policy-instance_method
|
233
|
+
def delete_resource_policy: (
|
234
|
+
?policy_name: ::String
|
235
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
236
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
237
|
+
|
238
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_retention_policy-instance_method
|
239
|
+
def delete_retention_policy: (
|
240
|
+
log_group_name: ::String
|
241
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
242
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
243
|
+
|
244
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_subscription_filter-instance_method
|
245
|
+
def delete_subscription_filter: (
|
246
|
+
log_group_name: ::String,
|
247
|
+
filter_name: ::String
|
248
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
249
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
250
|
+
|
251
|
+
interface _DescribeAccountPoliciesResponseSuccess
|
252
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountPoliciesResponse]
|
253
|
+
def account_policies: () -> ::Array[Types::AccountPolicy]
|
254
|
+
end
|
255
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_account_policies-instance_method
|
256
|
+
def describe_account_policies: (
|
257
|
+
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY"),
|
258
|
+
?policy_name: ::String,
|
259
|
+
?account_identifiers: Array[::String]
|
260
|
+
) -> _DescribeAccountPoliciesResponseSuccess
|
261
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountPoliciesResponseSuccess
|
262
|
+
|
263
|
+
interface _DescribeDeliveriesResponseSuccess
|
264
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDeliveriesResponse]
|
265
|
+
def deliveries: () -> ::Array[Types::Delivery]
|
266
|
+
def next_token: () -> ::String
|
267
|
+
end
|
268
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_deliveries-instance_method
|
269
|
+
def describe_deliveries: (
|
270
|
+
?next_token: ::String,
|
271
|
+
?limit: ::Integer
|
272
|
+
) -> _DescribeDeliveriesResponseSuccess
|
273
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDeliveriesResponseSuccess
|
274
|
+
|
275
|
+
interface _DescribeDeliveryDestinationsResponseSuccess
|
276
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDeliveryDestinationsResponse]
|
277
|
+
def delivery_destinations: () -> ::Array[Types::DeliveryDestination]
|
278
|
+
def next_token: () -> ::String
|
279
|
+
end
|
280
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_delivery_destinations-instance_method
|
281
|
+
def describe_delivery_destinations: (
|
282
|
+
?next_token: ::String,
|
283
|
+
?limit: ::Integer
|
284
|
+
) -> _DescribeDeliveryDestinationsResponseSuccess
|
285
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDeliveryDestinationsResponseSuccess
|
286
|
+
|
287
|
+
interface _DescribeDeliverySourcesResponseSuccess
|
288
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDeliverySourcesResponse]
|
289
|
+
def delivery_sources: () -> ::Array[Types::DeliverySource]
|
290
|
+
def next_token: () -> ::String
|
291
|
+
end
|
292
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_delivery_sources-instance_method
|
293
|
+
def describe_delivery_sources: (
|
294
|
+
?next_token: ::String,
|
295
|
+
?limit: ::Integer
|
296
|
+
) -> _DescribeDeliverySourcesResponseSuccess
|
297
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDeliverySourcesResponseSuccess
|
298
|
+
|
299
|
+
interface _DescribeDestinationsResponseSuccess
|
300
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDestinationsResponse]
|
301
|
+
def destinations: () -> ::Array[Types::Destination]
|
302
|
+
def next_token: () -> ::String
|
303
|
+
end
|
304
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_destinations-instance_method
|
305
|
+
def describe_destinations: (
|
306
|
+
?destination_name_prefix: ::String,
|
307
|
+
?next_token: ::String,
|
308
|
+
?limit: ::Integer
|
309
|
+
) -> _DescribeDestinationsResponseSuccess
|
310
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDestinationsResponseSuccess
|
311
|
+
|
312
|
+
interface _DescribeExportTasksResponseSuccess
|
313
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeExportTasksResponse]
|
314
|
+
def export_tasks: () -> ::Array[Types::ExportTask]
|
315
|
+
def next_token: () -> ::String
|
316
|
+
end
|
317
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_export_tasks-instance_method
|
318
|
+
def describe_export_tasks: (
|
319
|
+
?task_id: ::String,
|
320
|
+
?status_code: ("CANCELLED" | "COMPLETED" | "FAILED" | "PENDING" | "PENDING_CANCEL" | "RUNNING"),
|
321
|
+
?next_token: ::String,
|
322
|
+
?limit: ::Integer
|
323
|
+
) -> _DescribeExportTasksResponseSuccess
|
324
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeExportTasksResponseSuccess
|
325
|
+
|
326
|
+
interface _DescribeLogGroupsResponseSuccess
|
327
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLogGroupsResponse]
|
328
|
+
def log_groups: () -> ::Array[Types::LogGroup]
|
329
|
+
def next_token: () -> ::String
|
330
|
+
end
|
331
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_log_groups-instance_method
|
332
|
+
def describe_log_groups: (
|
333
|
+
?account_identifiers: Array[::String],
|
334
|
+
?log_group_name_prefix: ::String,
|
335
|
+
?log_group_name_pattern: ::String,
|
336
|
+
?next_token: ::String,
|
337
|
+
?limit: ::Integer,
|
338
|
+
?include_linked_accounts: bool,
|
339
|
+
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
|
340
|
+
) -> _DescribeLogGroupsResponseSuccess
|
341
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLogGroupsResponseSuccess
|
342
|
+
|
343
|
+
interface _DescribeLogStreamsResponseSuccess
|
344
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLogStreamsResponse]
|
345
|
+
def log_streams: () -> ::Array[Types::LogStream]
|
346
|
+
def next_token: () -> ::String
|
347
|
+
end
|
348
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_log_streams-instance_method
|
349
|
+
def describe_log_streams: (
|
350
|
+
?log_group_name: ::String,
|
351
|
+
?log_group_identifier: ::String,
|
352
|
+
?log_stream_name_prefix: ::String,
|
353
|
+
?order_by: ("LogStreamName" | "LastEventTime"),
|
354
|
+
?descending: bool,
|
355
|
+
?next_token: ::String,
|
356
|
+
?limit: ::Integer
|
357
|
+
) -> _DescribeLogStreamsResponseSuccess
|
358
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLogStreamsResponseSuccess
|
359
|
+
|
360
|
+
interface _DescribeMetricFiltersResponseSuccess
|
361
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMetricFiltersResponse]
|
362
|
+
def metric_filters: () -> ::Array[Types::MetricFilter]
|
363
|
+
def next_token: () -> ::String
|
364
|
+
end
|
365
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_metric_filters-instance_method
|
366
|
+
def describe_metric_filters: (
|
367
|
+
?log_group_name: ::String,
|
368
|
+
?filter_name_prefix: ::String,
|
369
|
+
?next_token: ::String,
|
370
|
+
?limit: ::Integer,
|
371
|
+
?metric_name: ::String,
|
372
|
+
?metric_namespace: ::String
|
373
|
+
) -> _DescribeMetricFiltersResponseSuccess
|
374
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMetricFiltersResponseSuccess
|
375
|
+
|
376
|
+
interface _DescribeQueriesResponseSuccess
|
377
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeQueriesResponse]
|
378
|
+
def queries: () -> ::Array[Types::QueryInfo]
|
379
|
+
def next_token: () -> ::String
|
380
|
+
end
|
381
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_queries-instance_method
|
382
|
+
def describe_queries: (
|
383
|
+
?log_group_name: ::String,
|
384
|
+
?status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown"),
|
385
|
+
?max_results: ::Integer,
|
386
|
+
?next_token: ::String
|
387
|
+
) -> _DescribeQueriesResponseSuccess
|
388
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeQueriesResponseSuccess
|
389
|
+
|
390
|
+
interface _DescribeQueryDefinitionsResponseSuccess
|
391
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeQueryDefinitionsResponse]
|
392
|
+
def query_definitions: () -> ::Array[Types::QueryDefinition]
|
393
|
+
def next_token: () -> ::String
|
394
|
+
end
|
395
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_query_definitions-instance_method
|
396
|
+
def describe_query_definitions: (
|
397
|
+
?query_definition_name_prefix: ::String,
|
398
|
+
?max_results: ::Integer,
|
399
|
+
?next_token: ::String
|
400
|
+
) -> _DescribeQueryDefinitionsResponseSuccess
|
401
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeQueryDefinitionsResponseSuccess
|
402
|
+
|
403
|
+
interface _DescribeResourcePoliciesResponseSuccess
|
404
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResourcePoliciesResponse]
|
405
|
+
def resource_policies: () -> ::Array[Types::ResourcePolicy]
|
406
|
+
def next_token: () -> ::String
|
407
|
+
end
|
408
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_resource_policies-instance_method
|
409
|
+
def describe_resource_policies: (
|
410
|
+
?next_token: ::String,
|
411
|
+
?limit: ::Integer
|
412
|
+
) -> _DescribeResourcePoliciesResponseSuccess
|
413
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourcePoliciesResponseSuccess
|
414
|
+
|
415
|
+
interface _DescribeSubscriptionFiltersResponseSuccess
|
416
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSubscriptionFiltersResponse]
|
417
|
+
def subscription_filters: () -> ::Array[Types::SubscriptionFilter]
|
418
|
+
def next_token: () -> ::String
|
419
|
+
end
|
420
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_subscription_filters-instance_method
|
421
|
+
def describe_subscription_filters: (
|
422
|
+
log_group_name: ::String,
|
423
|
+
?filter_name_prefix: ::String,
|
424
|
+
?next_token: ::String,
|
425
|
+
?limit: ::Integer
|
426
|
+
) -> _DescribeSubscriptionFiltersResponseSuccess
|
427
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSubscriptionFiltersResponseSuccess
|
428
|
+
|
429
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#disassociate_kms_key-instance_method
|
430
|
+
def disassociate_kms_key: (
|
431
|
+
?log_group_name: ::String,
|
432
|
+
?resource_identifier: ::String
|
433
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
434
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
435
|
+
|
436
|
+
interface _FilterLogEventsResponseSuccess
|
437
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::FilterLogEventsResponse]
|
438
|
+
def events: () -> ::Array[Types::FilteredLogEvent]
|
439
|
+
def searched_log_streams: () -> ::Array[Types::SearchedLogStream]
|
440
|
+
def next_token: () -> ::String
|
441
|
+
end
|
442
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#filter_log_events-instance_method
|
443
|
+
def filter_log_events: (
|
444
|
+
?log_group_name: ::String,
|
445
|
+
?log_group_identifier: ::String,
|
446
|
+
?log_stream_names: Array[::String],
|
447
|
+
?log_stream_name_prefix: ::String,
|
448
|
+
?start_time: ::Integer,
|
449
|
+
?end_time: ::Integer,
|
450
|
+
?filter_pattern: ::String,
|
451
|
+
?next_token: ::String,
|
452
|
+
?limit: ::Integer,
|
453
|
+
?interleaved: bool,
|
454
|
+
?unmask: bool
|
455
|
+
) -> _FilterLogEventsResponseSuccess
|
456
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _FilterLogEventsResponseSuccess
|
457
|
+
|
458
|
+
interface _GetDataProtectionPolicyResponseSuccess
|
459
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDataProtectionPolicyResponse]
|
460
|
+
def log_group_identifier: () -> ::String
|
461
|
+
def policy_document: () -> ::String
|
462
|
+
def last_updated_time: () -> ::Integer
|
463
|
+
end
|
464
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_data_protection_policy-instance_method
|
465
|
+
def get_data_protection_policy: (
|
466
|
+
log_group_identifier: ::String
|
467
|
+
) -> _GetDataProtectionPolicyResponseSuccess
|
468
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataProtectionPolicyResponseSuccess
|
469
|
+
|
470
|
+
interface _GetDeliveryResponseSuccess
|
471
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeliveryResponse]
|
472
|
+
def delivery: () -> Types::Delivery
|
473
|
+
end
|
474
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_delivery-instance_method
|
475
|
+
def get_delivery: (
|
476
|
+
id: ::String
|
477
|
+
) -> _GetDeliveryResponseSuccess
|
478
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeliveryResponseSuccess
|
479
|
+
|
480
|
+
interface _GetDeliveryDestinationResponseSuccess
|
481
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeliveryDestinationResponse]
|
482
|
+
def delivery_destination: () -> Types::DeliveryDestination
|
483
|
+
end
|
484
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_delivery_destination-instance_method
|
485
|
+
def get_delivery_destination: (
|
486
|
+
name: ::String
|
487
|
+
) -> _GetDeliveryDestinationResponseSuccess
|
488
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeliveryDestinationResponseSuccess
|
489
|
+
|
490
|
+
interface _GetDeliveryDestinationPolicyResponseSuccess
|
491
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeliveryDestinationPolicyResponse]
|
492
|
+
def policy: () -> Types::Policy
|
493
|
+
end
|
494
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_delivery_destination_policy-instance_method
|
495
|
+
def get_delivery_destination_policy: (
|
496
|
+
delivery_destination_name: ::String
|
497
|
+
) -> _GetDeliveryDestinationPolicyResponseSuccess
|
498
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeliveryDestinationPolicyResponseSuccess
|
499
|
+
|
500
|
+
interface _GetDeliverySourceResponseSuccess
|
501
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeliverySourceResponse]
|
502
|
+
def delivery_source: () -> Types::DeliverySource
|
503
|
+
end
|
504
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_delivery_source-instance_method
|
505
|
+
def get_delivery_source: (
|
506
|
+
name: ::String
|
507
|
+
) -> _GetDeliverySourceResponseSuccess
|
508
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeliverySourceResponseSuccess
|
509
|
+
|
510
|
+
interface _GetLogAnomalyDetectorResponseSuccess
|
511
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogAnomalyDetectorResponse]
|
512
|
+
def detector_name: () -> ::String
|
513
|
+
def log_group_arn_list: () -> ::Array[::String]
|
514
|
+
def evaluation_frequency: () -> ("ONE_MIN" | "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR")
|
515
|
+
def filter_pattern: () -> ::String
|
516
|
+
def anomaly_detector_status: () -> ("INITIALIZING" | "TRAINING" | "ANALYZING" | "FAILED" | "DELETED" | "PAUSED")
|
517
|
+
def kms_key_id: () -> ::String
|
518
|
+
def creation_time_stamp: () -> ::Integer
|
519
|
+
def last_modified_time_stamp: () -> ::Integer
|
520
|
+
def anomaly_visibility_time: () -> ::Integer
|
521
|
+
end
|
522
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_log_anomaly_detector-instance_method
|
523
|
+
def get_log_anomaly_detector: (
|
524
|
+
anomaly_detector_arn: ::String
|
525
|
+
) -> _GetLogAnomalyDetectorResponseSuccess
|
526
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogAnomalyDetectorResponseSuccess
|
527
|
+
|
528
|
+
interface _GetLogEventsResponseSuccess
|
529
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogEventsResponse]
|
530
|
+
def events: () -> ::Array[Types::OutputLogEvent]
|
531
|
+
def next_forward_token: () -> ::String
|
532
|
+
def next_backward_token: () -> ::String
|
533
|
+
end
|
534
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_log_events-instance_method
|
535
|
+
def get_log_events: (
|
536
|
+
?log_group_name: ::String,
|
537
|
+
?log_group_identifier: ::String,
|
538
|
+
log_stream_name: ::String,
|
539
|
+
?start_time: ::Integer,
|
540
|
+
?end_time: ::Integer,
|
541
|
+
?next_token: ::String,
|
542
|
+
?limit: ::Integer,
|
543
|
+
?start_from_head: bool,
|
544
|
+
?unmask: bool
|
545
|
+
) -> _GetLogEventsResponseSuccess
|
546
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogEventsResponseSuccess
|
547
|
+
|
548
|
+
interface _GetLogGroupFieldsResponseSuccess
|
549
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogGroupFieldsResponse]
|
550
|
+
def log_group_fields: () -> ::Array[Types::LogGroupField]
|
551
|
+
end
|
552
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_log_group_fields-instance_method
|
553
|
+
def get_log_group_fields: (
|
554
|
+
?log_group_name: ::String,
|
555
|
+
?time: ::Integer,
|
556
|
+
?log_group_identifier: ::String
|
557
|
+
) -> _GetLogGroupFieldsResponseSuccess
|
558
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogGroupFieldsResponseSuccess
|
559
|
+
|
560
|
+
interface _GetLogRecordResponseSuccess
|
561
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogRecordResponse]
|
562
|
+
def log_record: () -> ::Hash[::String, ::String]
|
563
|
+
end
|
564
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_log_record-instance_method
|
565
|
+
def get_log_record: (
|
566
|
+
log_record_pointer: ::String,
|
567
|
+
?unmask: bool
|
568
|
+
) -> _GetLogRecordResponseSuccess
|
569
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogRecordResponseSuccess
|
570
|
+
|
571
|
+
interface _GetQueryResultsResponseSuccess
|
572
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetQueryResultsResponse]
|
573
|
+
def results: () -> ::Array[::Array[Types::ResultField]]
|
574
|
+
def statistics: () -> Types::QueryStatistics
|
575
|
+
def status: () -> ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
|
576
|
+
def encryption_key: () -> ::String
|
577
|
+
end
|
578
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_query_results-instance_method
|
579
|
+
def get_query_results: (
|
580
|
+
query_id: ::String
|
581
|
+
) -> _GetQueryResultsResponseSuccess
|
582
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryResultsResponseSuccess
|
583
|
+
|
584
|
+
interface _ListAnomaliesResponseSuccess
|
585
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAnomaliesResponse]
|
586
|
+
def anomalies: () -> ::Array[Types::Anomaly]
|
587
|
+
def next_token: () -> ::String
|
588
|
+
end
|
589
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_anomalies-instance_method
|
590
|
+
def list_anomalies: (
|
591
|
+
?anomaly_detector_arn: ::String,
|
592
|
+
?suppression_state: ("SUPPRESSED" | "UNSUPPRESSED"),
|
593
|
+
?limit: ::Integer,
|
594
|
+
?next_token: ::String
|
595
|
+
) -> _ListAnomaliesResponseSuccess
|
596
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnomaliesResponseSuccess
|
597
|
+
|
598
|
+
interface _ListLogAnomalyDetectorsResponseSuccess
|
599
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListLogAnomalyDetectorsResponse]
|
600
|
+
def anomaly_detectors: () -> ::Array[Types::AnomalyDetector]
|
601
|
+
def next_token: () -> ::String
|
602
|
+
end
|
603
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_log_anomaly_detectors-instance_method
|
604
|
+
def list_log_anomaly_detectors: (
|
605
|
+
?filter_log_group_arn: ::String,
|
606
|
+
?limit: ::Integer,
|
607
|
+
?next_token: ::String
|
608
|
+
) -> _ListLogAnomalyDetectorsResponseSuccess
|
609
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogAnomalyDetectorsResponseSuccess
|
610
|
+
|
611
|
+
interface _ListTagsForResourceResponseSuccess
|
612
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
613
|
+
def tags: () -> ::Hash[::String, ::String]
|
614
|
+
end
|
615
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_tags_for_resource-instance_method
|
616
|
+
def list_tags_for_resource: (
|
617
|
+
resource_arn: ::String
|
618
|
+
) -> _ListTagsForResourceResponseSuccess
|
619
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
620
|
+
|
621
|
+
interface _ListTagsLogGroupResponseSuccess
|
622
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsLogGroupResponse]
|
623
|
+
def tags: () -> ::Hash[::String, ::String]
|
624
|
+
end
|
625
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_tags_log_group-instance_method
|
626
|
+
def list_tags_log_group: (
|
627
|
+
log_group_name: ::String
|
628
|
+
) -> _ListTagsLogGroupResponseSuccess
|
629
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsLogGroupResponseSuccess
|
630
|
+
|
631
|
+
interface _PutAccountPolicyResponseSuccess
|
632
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountPolicyResponse]
|
633
|
+
def account_policy: () -> Types::AccountPolicy
|
634
|
+
end
|
635
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_account_policy-instance_method
|
636
|
+
def put_account_policy: (
|
637
|
+
policy_name: ::String,
|
638
|
+
policy_document: ::String,
|
639
|
+
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY"),
|
640
|
+
?scope: ("ALL"),
|
641
|
+
?selection_criteria: ::String
|
642
|
+
) -> _PutAccountPolicyResponseSuccess
|
643
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountPolicyResponseSuccess
|
644
|
+
|
645
|
+
interface _PutDataProtectionPolicyResponseSuccess
|
646
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutDataProtectionPolicyResponse]
|
647
|
+
def log_group_identifier: () -> ::String
|
648
|
+
def policy_document: () -> ::String
|
649
|
+
def last_updated_time: () -> ::Integer
|
650
|
+
end
|
651
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_data_protection_policy-instance_method
|
652
|
+
def put_data_protection_policy: (
|
653
|
+
log_group_identifier: ::String,
|
654
|
+
policy_document: ::String
|
655
|
+
) -> _PutDataProtectionPolicyResponseSuccess
|
656
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDataProtectionPolicyResponseSuccess
|
657
|
+
|
658
|
+
interface _PutDeliveryDestinationResponseSuccess
|
659
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutDeliveryDestinationResponse]
|
660
|
+
def delivery_destination: () -> Types::DeliveryDestination
|
661
|
+
end
|
662
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_delivery_destination-instance_method
|
663
|
+
def put_delivery_destination: (
|
664
|
+
name: ::String,
|
665
|
+
?output_format: ("json" | "plain" | "w3c" | "raw" | "parquet"),
|
666
|
+
delivery_destination_configuration: {
|
667
|
+
destination_resource_arn: ::String
|
668
|
+
},
|
669
|
+
?tags: Hash[::String, ::String]
|
670
|
+
) -> _PutDeliveryDestinationResponseSuccess
|
671
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDeliveryDestinationResponseSuccess
|
672
|
+
|
673
|
+
interface _PutDeliveryDestinationPolicyResponseSuccess
|
674
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutDeliveryDestinationPolicyResponse]
|
675
|
+
def policy: () -> Types::Policy
|
676
|
+
end
|
677
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_delivery_destination_policy-instance_method
|
678
|
+
def put_delivery_destination_policy: (
|
679
|
+
delivery_destination_name: ::String,
|
680
|
+
delivery_destination_policy: ::String
|
681
|
+
) -> _PutDeliveryDestinationPolicyResponseSuccess
|
682
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDeliveryDestinationPolicyResponseSuccess
|
683
|
+
|
684
|
+
interface _PutDeliverySourceResponseSuccess
|
685
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutDeliverySourceResponse]
|
686
|
+
def delivery_source: () -> Types::DeliverySource
|
687
|
+
end
|
688
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_delivery_source-instance_method
|
689
|
+
def put_delivery_source: (
|
690
|
+
name: ::String,
|
691
|
+
resource_arn: ::String,
|
692
|
+
log_type: ::String,
|
693
|
+
?tags: Hash[::String, ::String]
|
694
|
+
) -> _PutDeliverySourceResponseSuccess
|
695
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDeliverySourceResponseSuccess
|
696
|
+
|
697
|
+
interface _PutDestinationResponseSuccess
|
698
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutDestinationResponse]
|
699
|
+
def destination: () -> Types::Destination
|
700
|
+
end
|
701
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_destination-instance_method
|
702
|
+
def put_destination: (
|
703
|
+
destination_name: ::String,
|
704
|
+
target_arn: ::String,
|
705
|
+
role_arn: ::String,
|
706
|
+
?tags: Hash[::String, ::String]
|
707
|
+
) -> _PutDestinationResponseSuccess
|
708
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDestinationResponseSuccess
|
709
|
+
|
710
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_destination_policy-instance_method
|
711
|
+
def put_destination_policy: (
|
712
|
+
destination_name: ::String,
|
713
|
+
access_policy: ::String,
|
714
|
+
?force_update: bool
|
715
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
716
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
717
|
+
|
718
|
+
interface _PutLogEventsResponseSuccess
|
719
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutLogEventsResponse]
|
720
|
+
def next_sequence_token: () -> ::String
|
721
|
+
def rejected_log_events_info: () -> Types::RejectedLogEventsInfo
|
722
|
+
end
|
723
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_log_events-instance_method
|
724
|
+
def put_log_events: (
|
725
|
+
log_group_name: ::String,
|
726
|
+
log_stream_name: ::String,
|
727
|
+
log_events: Array[
|
728
|
+
{
|
729
|
+
timestamp: ::Integer,
|
730
|
+
message: ::String
|
731
|
+
},
|
732
|
+
],
|
733
|
+
?sequence_token: ::String
|
734
|
+
) -> _PutLogEventsResponseSuccess
|
735
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLogEventsResponseSuccess
|
736
|
+
|
737
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_metric_filter-instance_method
|
738
|
+
def put_metric_filter: (
|
739
|
+
log_group_name: ::String,
|
740
|
+
filter_name: ::String,
|
741
|
+
filter_pattern: ::String,
|
742
|
+
metric_transformations: Array[
|
743
|
+
{
|
744
|
+
metric_name: ::String,
|
745
|
+
metric_namespace: ::String,
|
746
|
+
metric_value: ::String,
|
747
|
+
default_value: ::Float?,
|
748
|
+
dimensions: Hash[::String, ::String]?,
|
749
|
+
unit: ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
|
750
|
+
},
|
751
|
+
]
|
752
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
753
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
754
|
+
|
755
|
+
interface _PutQueryDefinitionResponseSuccess
|
756
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutQueryDefinitionResponse]
|
757
|
+
def query_definition_id: () -> ::String
|
758
|
+
end
|
759
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_query_definition-instance_method
|
760
|
+
def put_query_definition: (
|
761
|
+
name: ::String,
|
762
|
+
?query_definition_id: ::String,
|
763
|
+
?log_group_names: Array[::String],
|
764
|
+
query_string: ::String,
|
765
|
+
?client_token: ::String
|
766
|
+
) -> _PutQueryDefinitionResponseSuccess
|
767
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutQueryDefinitionResponseSuccess
|
768
|
+
|
769
|
+
interface _PutResourcePolicyResponseSuccess
|
770
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
|
771
|
+
def resource_policy: () -> Types::ResourcePolicy
|
772
|
+
end
|
773
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_resource_policy-instance_method
|
774
|
+
def put_resource_policy: (
|
775
|
+
?policy_name: ::String,
|
776
|
+
?policy_document: ::String
|
777
|
+
) -> _PutResourcePolicyResponseSuccess
|
778
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
779
|
+
|
780
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_retention_policy-instance_method
|
781
|
+
def put_retention_policy: (
|
782
|
+
log_group_name: ::String,
|
783
|
+
retention_in_days: ::Integer
|
784
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
785
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
786
|
+
|
787
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_subscription_filter-instance_method
|
788
|
+
def put_subscription_filter: (
|
789
|
+
log_group_name: ::String,
|
790
|
+
filter_name: ::String,
|
791
|
+
filter_pattern: ::String,
|
792
|
+
destination_arn: ::String,
|
793
|
+
?role_arn: ::String,
|
794
|
+
?distribution: ("Random" | "ByLogStream")
|
795
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
796
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
797
|
+
|
798
|
+
interface _StartLiveTailResponseSuccess
|
799
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartLiveTailResponse]
|
800
|
+
def response_stream: () -> Types::StartLiveTailResponseStream
|
801
|
+
end
|
802
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#start_live_tail-instance_method
|
803
|
+
def start_live_tail: (
|
804
|
+
log_group_identifiers: Array[::String],
|
805
|
+
?log_stream_names: Array[::String],
|
806
|
+
?log_stream_name_prefixes: Array[::String],
|
807
|
+
?log_event_filter_pattern: ::String
|
808
|
+
) -> _StartLiveTailResponseSuccess
|
809
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartLiveTailResponseSuccess
|
810
|
+
|
811
|
+
interface _StartQueryResponseSuccess
|
812
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartQueryResponse]
|
813
|
+
def query_id: () -> ::String
|
814
|
+
end
|
815
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#start_query-instance_method
|
816
|
+
def start_query: (
|
817
|
+
?log_group_name: ::String,
|
818
|
+
?log_group_names: Array[::String],
|
819
|
+
?log_group_identifiers: Array[::String],
|
820
|
+
start_time: ::Integer,
|
821
|
+
end_time: ::Integer,
|
822
|
+
query_string: ::String,
|
823
|
+
?limit: ::Integer
|
824
|
+
) -> _StartQueryResponseSuccess
|
825
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartQueryResponseSuccess
|
826
|
+
|
827
|
+
interface _StopQueryResponseSuccess
|
828
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopQueryResponse]
|
829
|
+
def success: () -> bool
|
830
|
+
end
|
831
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#stop_query-instance_method
|
832
|
+
def stop_query: (
|
833
|
+
query_id: ::String
|
834
|
+
) -> _StopQueryResponseSuccess
|
835
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopQueryResponseSuccess
|
836
|
+
|
837
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#tag_log_group-instance_method
|
838
|
+
def tag_log_group: (
|
839
|
+
log_group_name: ::String,
|
840
|
+
tags: Hash[::String, ::String]
|
841
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
842
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
843
|
+
|
844
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#tag_resource-instance_method
|
845
|
+
def tag_resource: (
|
846
|
+
resource_arn: ::String,
|
847
|
+
tags: Hash[::String, ::String]
|
848
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
849
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
850
|
+
|
851
|
+
interface _TestMetricFilterResponseSuccess
|
852
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TestMetricFilterResponse]
|
853
|
+
def matches: () -> ::Array[Types::MetricFilterMatchRecord]
|
854
|
+
end
|
855
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#test_metric_filter-instance_method
|
856
|
+
def test_metric_filter: (
|
857
|
+
filter_pattern: ::String,
|
858
|
+
log_event_messages: Array[::String]
|
859
|
+
) -> _TestMetricFilterResponseSuccess
|
860
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestMetricFilterResponseSuccess
|
861
|
+
|
862
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#untag_log_group-instance_method
|
863
|
+
def untag_log_group: (
|
864
|
+
log_group_name: ::String,
|
865
|
+
tags: Array[::String]
|
866
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
867
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
868
|
+
|
869
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#untag_resource-instance_method
|
870
|
+
def untag_resource: (
|
871
|
+
resource_arn: ::String,
|
872
|
+
tag_keys: Array[::String]
|
873
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
874
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
875
|
+
|
876
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#update_anomaly-instance_method
|
877
|
+
def update_anomaly: (
|
878
|
+
?anomaly_id: ::String,
|
879
|
+
?pattern_id: ::String,
|
880
|
+
anomaly_detector_arn: ::String,
|
881
|
+
?suppression_type: ("LIMITED" | "INFINITE"),
|
882
|
+
?suppression_period: {
|
883
|
+
value: ::Integer?,
|
884
|
+
suppression_unit: ("SECONDS" | "MINUTES" | "HOURS")?
|
885
|
+
}
|
886
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
887
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
888
|
+
|
889
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#update_log_anomaly_detector-instance_method
|
890
|
+
def update_log_anomaly_detector: (
|
891
|
+
anomaly_detector_arn: ::String,
|
892
|
+
?evaluation_frequency: ("ONE_MIN" | "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR"),
|
893
|
+
?filter_pattern: ::String,
|
894
|
+
?anomaly_visibility_time: ::Integer,
|
895
|
+
enabled: bool
|
896
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
897
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
898
|
+
end
|
899
|
+
end
|
900
|
+
end
|
901
|
+
|