aws-sdk-cloudwatchlogs 1.78.0 → 1.172.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 +470 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +4948 -482
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +2072 -13
- data/lib/aws-sdk-cloudwatchlogs/customizations.rb +0 -8
- data/lib/aws-sdk-cloudwatchlogs/endpoint_parameters.rb +13 -10
- data/lib/aws-sdk-cloudwatchlogs/endpoint_provider.rb +15 -19
- data/lib/aws-sdk-cloudwatchlogs/endpoints.rb +2 -1034
- data/lib/aws-sdk-cloudwatchlogs/errors.rb +27 -0
- data/lib/aws-sdk-cloudwatchlogs/event_streams.rb +39 -0
- data/lib/aws-sdk-cloudwatchlogs/plugins/endpoints.rb +19 -160
- data/lib/aws-sdk-cloudwatchlogs/types.rb +6986 -752
- data/lib/aws-sdk-cloudwatchlogs.rb +16 -12
- data/sig/client.rbs +716 -26
- data/sig/errors.rbs +24 -19
- data/sig/params.rbs +173 -0
- data/sig/resource.rbs +7 -0
- data/sig/types.rbs +1302 -19
- metadata +9 -11
data/sig/client.rbs
CHANGED
|
@@ -15,8 +15,10 @@ module Aws
|
|
|
15
15
|
?credentials: untyped,
|
|
16
16
|
?region: String,
|
|
17
17
|
?access_key_id: String,
|
|
18
|
+
?account_id: String,
|
|
18
19
|
?active_endpoint_cache: bool,
|
|
19
20
|
?adaptive_retry_wait_to_fill: bool,
|
|
21
|
+
?auth_scheme_preference: Array[String],
|
|
20
22
|
?client_side_monitoring: bool,
|
|
21
23
|
?client_side_monitoring_client_id: String,
|
|
22
24
|
?client_side_monitoring_host: String,
|
|
@@ -25,6 +27,7 @@ module Aws
|
|
|
25
27
|
?convert_params: bool,
|
|
26
28
|
?correct_clock_skew: bool,
|
|
27
29
|
?defaults_mode: String,
|
|
30
|
+
?disable_clock_skew_correction: bool,
|
|
28
31
|
?disable_host_prefix_injection: bool,
|
|
29
32
|
?disable_request_compression: bool,
|
|
30
33
|
?endpoint: String,
|
|
@@ -41,7 +44,9 @@ module Aws
|
|
|
41
44
|
?max_attempts: Integer,
|
|
42
45
|
?output_event_stream_handler: Proc,
|
|
43
46
|
?profile: String,
|
|
47
|
+
?request_checksum_calculation: String,
|
|
44
48
|
?request_min_compression_size_bytes: Integer,
|
|
49
|
+
?response_checksum_validation: String,
|
|
45
50
|
?retry_backoff: Proc,
|
|
46
51
|
?retry_base_delay: Float,
|
|
47
52
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
@@ -51,8 +56,10 @@ module Aws
|
|
|
51
56
|
?sdk_ua_app_id: String,
|
|
52
57
|
?secret_access_key: String,
|
|
53
58
|
?session_token: String,
|
|
59
|
+
?sigv4a_signing_region_set: Array[String],
|
|
54
60
|
?simple_json: bool,
|
|
55
61
|
?stub_responses: untyped,
|
|
62
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
56
63
|
?token_provider: untyped,
|
|
57
64
|
?use_dualstack_endpoint: bool,
|
|
58
65
|
?use_fips_endpoint: bool,
|
|
@@ -84,12 +91,40 @@ module Aws
|
|
|
84
91
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
85
92
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
86
93
|
|
|
94
|
+
interface _AssociateSourceToS3TableIntegrationResponseSuccess
|
|
95
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateSourceToS3TableIntegrationResponse]
|
|
96
|
+
def identifier: () -> ::String
|
|
97
|
+
end
|
|
98
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#associate_source_to_s3_table_integration-instance_method
|
|
99
|
+
def associate_source_to_s3_table_integration: (
|
|
100
|
+
integration_arn: ::String,
|
|
101
|
+
data_source: {
|
|
102
|
+
name: ::String,
|
|
103
|
+
type: ::String?
|
|
104
|
+
}
|
|
105
|
+
) -> _AssociateSourceToS3TableIntegrationResponseSuccess
|
|
106
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateSourceToS3TableIntegrationResponseSuccess
|
|
107
|
+
|
|
87
108
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#cancel_export_task-instance_method
|
|
88
109
|
def cancel_export_task: (
|
|
89
110
|
task_id: ::String
|
|
90
111
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
91
112
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
92
113
|
|
|
114
|
+
interface _CancelImportTaskResponseSuccess
|
|
115
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelImportTaskResponse]
|
|
116
|
+
def import_id: () -> ::String
|
|
117
|
+
def import_statistics: () -> Types::ImportStatistics
|
|
118
|
+
def import_status: () -> ("IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
|
|
119
|
+
def creation_time: () -> ::Integer
|
|
120
|
+
def last_updated_time: () -> ::Integer
|
|
121
|
+
end
|
|
122
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#cancel_import_task-instance_method
|
|
123
|
+
def cancel_import_task: (
|
|
124
|
+
import_id: ::String
|
|
125
|
+
) -> _CancelImportTaskResponseSuccess
|
|
126
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelImportTaskResponseSuccess
|
|
127
|
+
|
|
93
128
|
interface _CreateDeliveryResponseSuccess
|
|
94
129
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDeliveryResponse]
|
|
95
130
|
def delivery: () -> Types::Delivery
|
|
@@ -98,6 +133,12 @@ module Aws
|
|
|
98
133
|
def create_delivery: (
|
|
99
134
|
delivery_source_name: ::String,
|
|
100
135
|
delivery_destination_arn: ::String,
|
|
136
|
+
?record_fields: Array[::String],
|
|
137
|
+
?field_delimiter: ::String,
|
|
138
|
+
?s3_delivery_configuration: {
|
|
139
|
+
suffix_path: ::String?,
|
|
140
|
+
enable_hive_compatible_path: bool?
|
|
141
|
+
},
|
|
101
142
|
?tags: Hash[::String, ::String]
|
|
102
143
|
) -> _CreateDeliveryResponseSuccess
|
|
103
144
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeliveryResponseSuccess
|
|
@@ -118,6 +159,23 @@ module Aws
|
|
|
118
159
|
) -> _CreateExportTaskResponseSuccess
|
|
119
160
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateExportTaskResponseSuccess
|
|
120
161
|
|
|
162
|
+
interface _CreateImportTaskResponseSuccess
|
|
163
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateImportTaskResponse]
|
|
164
|
+
def import_id: () -> ::String
|
|
165
|
+
def import_destination_arn: () -> ::String
|
|
166
|
+
def creation_time: () -> ::Integer
|
|
167
|
+
end
|
|
168
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#create_import_task-instance_method
|
|
169
|
+
def create_import_task: (
|
|
170
|
+
import_source_arn: ::String,
|
|
171
|
+
import_role_arn: ::String,
|
|
172
|
+
?import_filter: {
|
|
173
|
+
start_event_time: ::Integer?,
|
|
174
|
+
end_event_time: ::Integer?
|
|
175
|
+
}
|
|
176
|
+
) -> _CreateImportTaskResponseSuccess
|
|
177
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateImportTaskResponseSuccess
|
|
178
|
+
|
|
121
179
|
interface _CreateLogAnomalyDetectorResponseSuccess
|
|
122
180
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLogAnomalyDetectorResponse]
|
|
123
181
|
def anomaly_detector_arn: () -> ::String
|
|
@@ -139,7 +197,8 @@ module Aws
|
|
|
139
197
|
log_group_name: ::String,
|
|
140
198
|
?kms_key_id: ::String,
|
|
141
199
|
?tags: Hash[::String, ::String],
|
|
142
|
-
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
|
|
200
|
+
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY"),
|
|
201
|
+
?deletion_protection_enabled: bool
|
|
143
202
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
144
203
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
145
204
|
|
|
@@ -150,12 +209,58 @@ module Aws
|
|
|
150
209
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
151
210
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
152
211
|
|
|
212
|
+
interface _CreateLookupTableResponseSuccess
|
|
213
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLookupTableResponse]
|
|
214
|
+
def lookup_table_arn: () -> ::String
|
|
215
|
+
def created_at: () -> ::Integer
|
|
216
|
+
end
|
|
217
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#create_lookup_table-instance_method
|
|
218
|
+
def create_lookup_table: (
|
|
219
|
+
lookup_table_name: ::String,
|
|
220
|
+
?description: ::String,
|
|
221
|
+
?table_body: ::String,
|
|
222
|
+
?query_id: ::String,
|
|
223
|
+
?kms_key_id: ::String,
|
|
224
|
+
?tags: Hash[::String, ::String]
|
|
225
|
+
) -> _CreateLookupTableResponseSuccess
|
|
226
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLookupTableResponseSuccess
|
|
227
|
+
|
|
228
|
+
interface _CreateScheduledQueryResponseSuccess
|
|
229
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateScheduledQueryResponse]
|
|
230
|
+
def scheduled_query_arn: () -> ::String
|
|
231
|
+
def state: () -> ("ENABLED" | "DISABLED")
|
|
232
|
+
end
|
|
233
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#create_scheduled_query-instance_method
|
|
234
|
+
def create_scheduled_query: (
|
|
235
|
+
name: ::String,
|
|
236
|
+
?description: ::String,
|
|
237
|
+
query_language: ("CWLI" | "SQL" | "PPL"),
|
|
238
|
+
query_string: ::String,
|
|
239
|
+
?log_group_identifiers: Array[::String],
|
|
240
|
+
schedule_expression: ::String,
|
|
241
|
+
?timezone: ::String,
|
|
242
|
+
?start_time_offset: ::Integer,
|
|
243
|
+
?end_time_offset: ::Integer,
|
|
244
|
+
?destination_configuration: Params::destination_configuration,
|
|
245
|
+
?schedule_start_time: ::Integer,
|
|
246
|
+
?schedule_end_time: ::Integer,
|
|
247
|
+
execution_role_arn: ::String,
|
|
248
|
+
?state: ("ENABLED" | "DISABLED"),
|
|
249
|
+
?tags: Hash[::String, ::String]
|
|
250
|
+
) -> _CreateScheduledQueryResponseSuccess
|
|
251
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScheduledQueryResponseSuccess
|
|
252
|
+
|
|
253
|
+
interface _DeleteAccountPolicyResponseSuccess
|
|
254
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAccountPolicyResponse]
|
|
255
|
+
def dry_run_result: () -> Types::DryRunResult
|
|
256
|
+
end
|
|
153
257
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_account_policy-instance_method
|
|
154
258
|
def delete_account_policy: (
|
|
155
259
|
policy_name: ::String,
|
|
156
|
-
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
|
|
157
|
-
|
|
158
|
-
|
|
260
|
+
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY" | "METRIC_EXTRACTION_POLICY" | "RETENTION_POLICY"),
|
|
261
|
+
?dry_run: bool
|
|
262
|
+
) -> _DeleteAccountPolicyResponseSuccess
|
|
263
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAccountPolicyResponseSuccess
|
|
159
264
|
|
|
160
265
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_data_protection_policy-instance_method
|
|
161
266
|
def delete_data_protection_policy: (
|
|
@@ -193,6 +298,25 @@ module Aws
|
|
|
193
298
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
194
299
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
195
300
|
|
|
301
|
+
interface _DeleteIndexPolicyResponseSuccess
|
|
302
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIndexPolicyResponse]
|
|
303
|
+
end
|
|
304
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_index_policy-instance_method
|
|
305
|
+
def delete_index_policy: (
|
|
306
|
+
log_group_identifier: ::String
|
|
307
|
+
) -> _DeleteIndexPolicyResponseSuccess
|
|
308
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIndexPolicyResponseSuccess
|
|
309
|
+
|
|
310
|
+
interface _DeleteIntegrationResponseSuccess
|
|
311
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIntegrationResponse]
|
|
312
|
+
end
|
|
313
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_integration-instance_method
|
|
314
|
+
def delete_integration: (
|
|
315
|
+
integration_name: ::String,
|
|
316
|
+
?force: bool
|
|
317
|
+
) -> _DeleteIntegrationResponseSuccess
|
|
318
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIntegrationResponseSuccess
|
|
319
|
+
|
|
196
320
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_log_anomaly_detector-instance_method
|
|
197
321
|
def delete_log_anomaly_detector: (
|
|
198
322
|
anomaly_detector_arn: ::String
|
|
@@ -212,6 +336,12 @@ module Aws
|
|
|
212
336
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
213
337
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
214
338
|
|
|
339
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_lookup_table-instance_method
|
|
340
|
+
def delete_lookup_table: (
|
|
341
|
+
lookup_table_arn: ::String
|
|
342
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
343
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
344
|
+
|
|
215
345
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_metric_filter-instance_method
|
|
216
346
|
def delete_metric_filter: (
|
|
217
347
|
log_group_name: ::String,
|
|
@@ -231,7 +361,9 @@ module Aws
|
|
|
231
361
|
|
|
232
362
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_resource_policy-instance_method
|
|
233
363
|
def delete_resource_policy: (
|
|
234
|
-
?policy_name: ::String
|
|
364
|
+
?policy_name: ::String,
|
|
365
|
+
?resource_arn: ::String,
|
|
366
|
+
?expected_revision_id: ::String
|
|
235
367
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
236
368
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
237
369
|
|
|
@@ -241,6 +373,15 @@ module Aws
|
|
|
241
373
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
242
374
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
243
375
|
|
|
376
|
+
interface _DeleteScheduledQueryResponseSuccess
|
|
377
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteScheduledQueryResponse]
|
|
378
|
+
end
|
|
379
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_scheduled_query-instance_method
|
|
380
|
+
def delete_scheduled_query: (
|
|
381
|
+
identifier: ::String
|
|
382
|
+
) -> _DeleteScheduledQueryResponseSuccess
|
|
383
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteScheduledQueryResponseSuccess
|
|
384
|
+
|
|
244
385
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_subscription_filter-instance_method
|
|
245
386
|
def delete_subscription_filter: (
|
|
246
387
|
log_group_name: ::String,
|
|
@@ -248,18 +389,49 @@ module Aws
|
|
|
248
389
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
249
390
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
250
391
|
|
|
392
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_syslog_configuration-instance_method
|
|
393
|
+
def delete_syslog_configuration: (
|
|
394
|
+
log_group_identifier: ::String,
|
|
395
|
+
?vpc_endpoint_id: ::String
|
|
396
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
397
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
398
|
+
|
|
399
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_transformer-instance_method
|
|
400
|
+
def delete_transformer: (
|
|
401
|
+
log_group_identifier: ::String
|
|
402
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
403
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
404
|
+
|
|
251
405
|
interface _DescribeAccountPoliciesResponseSuccess
|
|
252
406
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountPoliciesResponse]
|
|
253
407
|
def account_policies: () -> ::Array[Types::AccountPolicy]
|
|
408
|
+
def next_token: () -> ::String
|
|
254
409
|
end
|
|
255
410
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_account_policies-instance_method
|
|
256
411
|
def describe_account_policies: (
|
|
257
|
-
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY"),
|
|
412
|
+
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY" | "METRIC_EXTRACTION_POLICY" | "RETENTION_POLICY"),
|
|
258
413
|
?policy_name: ::String,
|
|
259
|
-
?account_identifiers: Array[::String]
|
|
414
|
+
?account_identifiers: Array[::String],
|
|
415
|
+
?next_token: ::String
|
|
260
416
|
) -> _DescribeAccountPoliciesResponseSuccess
|
|
261
417
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountPoliciesResponseSuccess
|
|
262
418
|
|
|
419
|
+
interface _DescribeConfigurationTemplatesResponseSuccess
|
|
420
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeConfigurationTemplatesResponse]
|
|
421
|
+
def configuration_templates: () -> ::Array[Types::ConfigurationTemplate]
|
|
422
|
+
def next_token: () -> ::String
|
|
423
|
+
end
|
|
424
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_configuration_templates-instance_method
|
|
425
|
+
def describe_configuration_templates: (
|
|
426
|
+
?service: ::String,
|
|
427
|
+
?log_types: Array[::String],
|
|
428
|
+
?resource_types: Array[::String],
|
|
429
|
+
?delivery_destination_types: Array[("S3" | "CWL" | "FH" | "XRAY")],
|
|
430
|
+
?next_token: ::String,
|
|
431
|
+
?limit: ::Integer
|
|
432
|
+
) -> _DescribeConfigurationTemplatesResponseSuccess
|
|
433
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeConfigurationTemplatesResponseSuccess
|
|
434
|
+
|
|
263
435
|
interface _DescribeDeliveriesResponseSuccess
|
|
264
436
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDeliveriesResponse]
|
|
265
437
|
def deliveries: () -> ::Array[Types::Delivery]
|
|
@@ -268,7 +440,8 @@ module Aws
|
|
|
268
440
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_deliveries-instance_method
|
|
269
441
|
def describe_deliveries: (
|
|
270
442
|
?next_token: ::String,
|
|
271
|
-
?limit: ::Integer
|
|
443
|
+
?limit: ::Integer,
|
|
444
|
+
?delivery_source_names: Array[::String]
|
|
272
445
|
) -> _DescribeDeliveriesResponseSuccess
|
|
273
446
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDeliveriesResponseSuccess
|
|
274
447
|
|
|
@@ -280,7 +453,8 @@ module Aws
|
|
|
280
453
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_delivery_destinations-instance_method
|
|
281
454
|
def describe_delivery_destinations: (
|
|
282
455
|
?next_token: ::String,
|
|
283
|
-
?limit: ::Integer
|
|
456
|
+
?limit: ::Integer,
|
|
457
|
+
?names: Array[::String]
|
|
284
458
|
) -> _DescribeDeliveryDestinationsResponseSuccess
|
|
285
459
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDeliveryDestinationsResponseSuccess
|
|
286
460
|
|
|
@@ -292,7 +466,8 @@ module Aws
|
|
|
292
466
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_delivery_sources-instance_method
|
|
293
467
|
def describe_delivery_sources: (
|
|
294
468
|
?next_token: ::String,
|
|
295
|
-
?limit: ::Integer
|
|
469
|
+
?limit: ::Integer,
|
|
470
|
+
?resource_arns: Array[::String]
|
|
296
471
|
) -> _DescribeDeliverySourcesResponseSuccess
|
|
297
472
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDeliverySourcesResponseSuccess
|
|
298
473
|
|
|
@@ -323,6 +498,62 @@ module Aws
|
|
|
323
498
|
) -> _DescribeExportTasksResponseSuccess
|
|
324
499
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeExportTasksResponseSuccess
|
|
325
500
|
|
|
501
|
+
interface _DescribeFieldIndexesResponseSuccess
|
|
502
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFieldIndexesResponse]
|
|
503
|
+
def field_indexes: () -> ::Array[Types::FieldIndex]
|
|
504
|
+
def next_token: () -> ::String
|
|
505
|
+
end
|
|
506
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_field_indexes-instance_method
|
|
507
|
+
def describe_field_indexes: (
|
|
508
|
+
log_group_identifiers: Array[::String],
|
|
509
|
+
?index_categories: Array[("DEFAULT" | "CUSTOM" | "AUTO" | "INACTIVE")],
|
|
510
|
+
?next_token: ::String
|
|
511
|
+
) -> _DescribeFieldIndexesResponseSuccess
|
|
512
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFieldIndexesResponseSuccess
|
|
513
|
+
|
|
514
|
+
interface _DescribeImportTaskBatchesResponseSuccess
|
|
515
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeImportTaskBatchesResponse]
|
|
516
|
+
def import_source_arn: () -> ::String
|
|
517
|
+
def import_id: () -> ::String
|
|
518
|
+
def import_batches: () -> ::Array[Types::ImportBatch]
|
|
519
|
+
def next_token: () -> ::String
|
|
520
|
+
end
|
|
521
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_import_task_batches-instance_method
|
|
522
|
+
def describe_import_task_batches: (
|
|
523
|
+
import_id: ::String,
|
|
524
|
+
?batch_import_status: Array[("IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")],
|
|
525
|
+
?limit: ::Integer,
|
|
526
|
+
?next_token: ::String
|
|
527
|
+
) -> _DescribeImportTaskBatchesResponseSuccess
|
|
528
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeImportTaskBatchesResponseSuccess
|
|
529
|
+
|
|
530
|
+
interface _DescribeImportTasksResponseSuccess
|
|
531
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeImportTasksResponse]
|
|
532
|
+
def imports: () -> ::Array[Types::Import]
|
|
533
|
+
def next_token: () -> ::String
|
|
534
|
+
end
|
|
535
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_import_tasks-instance_method
|
|
536
|
+
def describe_import_tasks: (
|
|
537
|
+
?import_id: ::String,
|
|
538
|
+
?import_status: ("IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED"),
|
|
539
|
+
?import_source_arn: ::String,
|
|
540
|
+
?limit: ::Integer,
|
|
541
|
+
?next_token: ::String
|
|
542
|
+
) -> _DescribeImportTasksResponseSuccess
|
|
543
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeImportTasksResponseSuccess
|
|
544
|
+
|
|
545
|
+
interface _DescribeIndexPoliciesResponseSuccess
|
|
546
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeIndexPoliciesResponse]
|
|
547
|
+
def index_policies: () -> ::Array[Types::IndexPolicy]
|
|
548
|
+
def next_token: () -> ::String
|
|
549
|
+
end
|
|
550
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_index_policies-instance_method
|
|
551
|
+
def describe_index_policies: (
|
|
552
|
+
log_group_identifiers: Array[::String],
|
|
553
|
+
?next_token: ::String
|
|
554
|
+
) -> _DescribeIndexPoliciesResponseSuccess
|
|
555
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeIndexPoliciesResponseSuccess
|
|
556
|
+
|
|
326
557
|
interface _DescribeLogGroupsResponseSuccess
|
|
327
558
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLogGroupsResponse]
|
|
328
559
|
def log_groups: () -> ::Array[Types::LogGroup]
|
|
@@ -336,7 +567,8 @@ module Aws
|
|
|
336
567
|
?next_token: ::String,
|
|
337
568
|
?limit: ::Integer,
|
|
338
569
|
?include_linked_accounts: bool,
|
|
339
|
-
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
|
|
570
|
+
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY"),
|
|
571
|
+
?log_group_identifiers: Array[::String]
|
|
340
572
|
) -> _DescribeLogGroupsResponseSuccess
|
|
341
573
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLogGroupsResponseSuccess
|
|
342
574
|
|
|
@@ -357,6 +589,19 @@ module Aws
|
|
|
357
589
|
) -> _DescribeLogStreamsResponseSuccess
|
|
358
590
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLogStreamsResponseSuccess
|
|
359
591
|
|
|
592
|
+
interface _DescribeLookupTablesResponseSuccess
|
|
593
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLookupTablesResponse]
|
|
594
|
+
def lookup_tables: () -> ::Array[Types::LookupTable]
|
|
595
|
+
def next_token: () -> ::String
|
|
596
|
+
end
|
|
597
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_lookup_tables-instance_method
|
|
598
|
+
def describe_lookup_tables: (
|
|
599
|
+
?lookup_table_name_prefix: ::String,
|
|
600
|
+
?max_results: ::Integer,
|
|
601
|
+
?next_token: ::String
|
|
602
|
+
) -> _DescribeLookupTablesResponseSuccess
|
|
603
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLookupTablesResponseSuccess
|
|
604
|
+
|
|
360
605
|
interface _DescribeMetricFiltersResponseSuccess
|
|
361
606
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMetricFiltersResponse]
|
|
362
607
|
def metric_filters: () -> ::Array[Types::MetricFilter]
|
|
@@ -383,7 +628,8 @@ module Aws
|
|
|
383
628
|
?log_group_name: ::String,
|
|
384
629
|
?status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown"),
|
|
385
630
|
?max_results: ::Integer,
|
|
386
|
-
?next_token: ::String
|
|
631
|
+
?next_token: ::String,
|
|
632
|
+
?query_language: ("CWLI" | "SQL" | "PPL")
|
|
387
633
|
) -> _DescribeQueriesResponseSuccess
|
|
388
634
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeQueriesResponseSuccess
|
|
389
635
|
|
|
@@ -394,6 +640,7 @@ module Aws
|
|
|
394
640
|
end
|
|
395
641
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_query_definitions-instance_method
|
|
396
642
|
def describe_query_definitions: (
|
|
643
|
+
?query_language: ("CWLI" | "SQL" | "PPL"),
|
|
397
644
|
?query_definition_name_prefix: ::String,
|
|
398
645
|
?max_results: ::Integer,
|
|
399
646
|
?next_token: ::String
|
|
@@ -408,7 +655,9 @@ module Aws
|
|
|
408
655
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_resource_policies-instance_method
|
|
409
656
|
def describe_resource_policies: (
|
|
410
657
|
?next_token: ::String,
|
|
411
|
-
?limit: ::Integer
|
|
658
|
+
?limit: ::Integer,
|
|
659
|
+
?resource_arn: ::String,
|
|
660
|
+
?policy_scope: ("ACCOUNT" | "RESOURCE")
|
|
412
661
|
) -> _DescribeResourcePoliciesResponseSuccess
|
|
413
662
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourcePoliciesResponseSuccess
|
|
414
663
|
|
|
@@ -433,6 +682,16 @@ module Aws
|
|
|
433
682
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
434
683
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
435
684
|
|
|
685
|
+
interface _DisassociateSourceFromS3TableIntegrationResponseSuccess
|
|
686
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateSourceFromS3TableIntegrationResponse]
|
|
687
|
+
def identifier: () -> ::String
|
|
688
|
+
end
|
|
689
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#disassociate_source_from_s3_table_integration-instance_method
|
|
690
|
+
def disassociate_source_from_s3_table_integration: (
|
|
691
|
+
identifier: ::String
|
|
692
|
+
) -> _DisassociateSourceFromS3TableIntegrationResponseSuccess
|
|
693
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateSourceFromS3TableIntegrationResponseSuccess
|
|
694
|
+
|
|
436
695
|
interface _FilterLogEventsResponseSuccess
|
|
437
696
|
include ::Seahorse::Client::_ResponseSuccess[Types::FilterLogEventsResponse]
|
|
438
697
|
def events: () -> ::Array[Types::FilteredLogEvent]
|
|
@@ -450,6 +709,7 @@ module Aws
|
|
|
450
709
|
?filter_pattern: ::String,
|
|
451
710
|
?next_token: ::String,
|
|
452
711
|
?limit: ::Integer,
|
|
712
|
+
?start_from_head: bool,
|
|
453
713
|
?interleaved: bool,
|
|
454
714
|
?unmask: bool
|
|
455
715
|
) -> _FilterLogEventsResponseSuccess
|
|
@@ -507,6 +767,19 @@ module Aws
|
|
|
507
767
|
) -> _GetDeliverySourceResponseSuccess
|
|
508
768
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeliverySourceResponseSuccess
|
|
509
769
|
|
|
770
|
+
interface _GetIntegrationResponseSuccess
|
|
771
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetIntegrationResponse]
|
|
772
|
+
def integration_name: () -> ::String
|
|
773
|
+
def integration_type: () -> ("OPENSEARCH")
|
|
774
|
+
def integration_status: () -> ("PROVISIONING" | "ACTIVE" | "FAILED")
|
|
775
|
+
def integration_details: () -> Types::IntegrationDetails
|
|
776
|
+
end
|
|
777
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_integration-instance_method
|
|
778
|
+
def get_integration: (
|
|
779
|
+
integration_name: ::String
|
|
780
|
+
) -> _GetIntegrationResponseSuccess
|
|
781
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIntegrationResponseSuccess
|
|
782
|
+
|
|
510
783
|
interface _GetLogAnomalyDetectorResponseSuccess
|
|
511
784
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogAnomalyDetectorResponse]
|
|
512
785
|
def detector_name: () -> ::String
|
|
@@ -545,6 +818,17 @@ module Aws
|
|
|
545
818
|
) -> _GetLogEventsResponseSuccess
|
|
546
819
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogEventsResponseSuccess
|
|
547
820
|
|
|
821
|
+
interface _GetLogFieldsResponseSuccess
|
|
822
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogFieldsResponse]
|
|
823
|
+
def log_fields: () -> ::Array[Types::LogFieldsListItem]
|
|
824
|
+
end
|
|
825
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_log_fields-instance_method
|
|
826
|
+
def get_log_fields: (
|
|
827
|
+
data_source_name: ::String,
|
|
828
|
+
data_source_type: ::String
|
|
829
|
+
) -> _GetLogFieldsResponseSuccess
|
|
830
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogFieldsResponseSuccess
|
|
831
|
+
|
|
548
832
|
interface _GetLogGroupFieldsResponseSuccess
|
|
549
833
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogGroupFieldsResponse]
|
|
550
834
|
def log_group_fields: () -> ::Array[Types::LogGroupField]
|
|
@@ -557,6 +841,17 @@ module Aws
|
|
|
557
841
|
) -> _GetLogGroupFieldsResponseSuccess
|
|
558
842
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogGroupFieldsResponseSuccess
|
|
559
843
|
|
|
844
|
+
interface _GetLogObjectResponseSuccess
|
|
845
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogObjectResponse]
|
|
846
|
+
def field_stream: () -> Types::GetLogObjectResponseStream
|
|
847
|
+
end
|
|
848
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_log_object-instance_method
|
|
849
|
+
def get_log_object: (
|
|
850
|
+
?unmask: bool,
|
|
851
|
+
log_object_pointer: ::String
|
|
852
|
+
) -> _GetLogObjectResponseSuccess
|
|
853
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogObjectResponseSuccess
|
|
854
|
+
|
|
560
855
|
interface _GetLogRecordResponseSuccess
|
|
561
856
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogRecordResponse]
|
|
562
857
|
def log_record: () -> ::Hash[::String, ::String]
|
|
@@ -568,19 +863,132 @@ module Aws
|
|
|
568
863
|
) -> _GetLogRecordResponseSuccess
|
|
569
864
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogRecordResponseSuccess
|
|
570
865
|
|
|
866
|
+
interface _GetLookupTableResponseSuccess
|
|
867
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLookupTableResponse]
|
|
868
|
+
def lookup_table_arn: () -> ::String
|
|
869
|
+
def lookup_table_name: () -> ::String
|
|
870
|
+
def description: () -> ::String
|
|
871
|
+
def table_body: () -> ::String
|
|
872
|
+
def size_bytes: () -> ::Integer
|
|
873
|
+
def last_updated_time: () -> ::Integer
|
|
874
|
+
def kms_key_id: () -> ::String
|
|
875
|
+
end
|
|
876
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_lookup_table-instance_method
|
|
877
|
+
def get_lookup_table: (
|
|
878
|
+
lookup_table_arn: ::String
|
|
879
|
+
) -> _GetLookupTableResponseSuccess
|
|
880
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLookupTableResponseSuccess
|
|
881
|
+
|
|
571
882
|
interface _GetQueryResultsResponseSuccess
|
|
572
883
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetQueryResultsResponse]
|
|
884
|
+
def query_language: () -> ("CWLI" | "SQL" | "PPL")
|
|
573
885
|
def results: () -> ::Array[::Array[Types::ResultField]]
|
|
574
886
|
def statistics: () -> Types::QueryStatistics
|
|
575
887
|
def status: () -> ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
|
|
576
888
|
def encryption_key: () -> ::String
|
|
889
|
+
def next_token: () -> ::String
|
|
577
890
|
end
|
|
578
891
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_query_results-instance_method
|
|
579
892
|
def get_query_results: (
|
|
580
|
-
query_id: ::String
|
|
893
|
+
query_id: ::String,
|
|
894
|
+
?next_token: ::String,
|
|
895
|
+
?max_items: ::Integer
|
|
581
896
|
) -> _GetQueryResultsResponseSuccess
|
|
582
897
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryResultsResponseSuccess
|
|
583
898
|
|
|
899
|
+
interface _GetScheduledQueryResponseSuccess
|
|
900
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetScheduledQueryResponse]
|
|
901
|
+
def scheduled_query_arn: () -> ::String
|
|
902
|
+
def name: () -> ::String
|
|
903
|
+
def description: () -> ::String
|
|
904
|
+
def query_language: () -> ("CWLI" | "SQL" | "PPL")
|
|
905
|
+
def query_string: () -> ::String
|
|
906
|
+
def log_group_identifiers: () -> ::Array[::String]
|
|
907
|
+
def schedule_expression: () -> ::String
|
|
908
|
+
def timezone: () -> ::String
|
|
909
|
+
def start_time_offset: () -> ::Integer
|
|
910
|
+
def end_time_offset: () -> ::Integer
|
|
911
|
+
def destination_configuration: () -> Types::DestinationConfiguration
|
|
912
|
+
def state: () -> ("ENABLED" | "DISABLED")
|
|
913
|
+
def schedule_type: () -> ("CUSTOMER_MANAGED" | "AWS_MANAGED")
|
|
914
|
+
def last_triggered_time: () -> ::Integer
|
|
915
|
+
def last_execution_status: () -> ("Running" | "InvalidQuery" | "Complete" | "Failed" | "Timeout")
|
|
916
|
+
def schedule_start_time: () -> ::Integer
|
|
917
|
+
def schedule_end_time: () -> ::Integer
|
|
918
|
+
def execution_role_arn: () -> ::String
|
|
919
|
+
def creation_time: () -> ::Integer
|
|
920
|
+
def last_updated_time: () -> ::Integer
|
|
921
|
+
end
|
|
922
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_scheduled_query-instance_method
|
|
923
|
+
def get_scheduled_query: (
|
|
924
|
+
identifier: ::String
|
|
925
|
+
) -> _GetScheduledQueryResponseSuccess
|
|
926
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetScheduledQueryResponseSuccess
|
|
927
|
+
|
|
928
|
+
interface _GetScheduledQueryHistoryResponseSuccess
|
|
929
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetScheduledQueryHistoryResponse]
|
|
930
|
+
def name: () -> ::String
|
|
931
|
+
def scheduled_query_arn: () -> ::String
|
|
932
|
+
def trigger_history: () -> ::Array[Types::TriggerHistoryRecord]
|
|
933
|
+
def next_token: () -> ::String
|
|
934
|
+
end
|
|
935
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_scheduled_query_history-instance_method
|
|
936
|
+
def get_scheduled_query_history: (
|
|
937
|
+
identifier: ::String,
|
|
938
|
+
start_time: ::Integer,
|
|
939
|
+
end_time: ::Integer,
|
|
940
|
+
?execution_statuses: Array[("Running" | "InvalidQuery" | "Complete" | "Failed" | "Timeout")],
|
|
941
|
+
?max_results: ::Integer,
|
|
942
|
+
?next_token: ::String
|
|
943
|
+
) -> _GetScheduledQueryHistoryResponseSuccess
|
|
944
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetScheduledQueryHistoryResponseSuccess
|
|
945
|
+
|
|
946
|
+
interface _GetStorageTierPolicyResponseSuccess
|
|
947
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetStorageTierPolicyResponse]
|
|
948
|
+
def storage_tier: () -> ("STANDARD" | "INTELLIGENT_TIERING")
|
|
949
|
+
def last_updated_time: () -> ::Integer
|
|
950
|
+
end
|
|
951
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_storage_tier_policy-instance_method
|
|
952
|
+
def get_storage_tier_policy: (
|
|
953
|
+
) -> _GetStorageTierPolicyResponseSuccess
|
|
954
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStorageTierPolicyResponseSuccess
|
|
955
|
+
|
|
956
|
+
interface _GetTransformerResponseSuccess
|
|
957
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTransformerResponse]
|
|
958
|
+
def log_group_identifier: () -> ::String
|
|
959
|
+
def creation_time: () -> ::Integer
|
|
960
|
+
def last_modified_time: () -> ::Integer
|
|
961
|
+
def transformer_config: () -> ::Array[Types::Processor]
|
|
962
|
+
end
|
|
963
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_transformer-instance_method
|
|
964
|
+
def get_transformer: (
|
|
965
|
+
log_group_identifier: ::String
|
|
966
|
+
) -> _GetTransformerResponseSuccess
|
|
967
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransformerResponseSuccess
|
|
968
|
+
|
|
969
|
+
interface _ListAggregateLogGroupSummariesResponseSuccess
|
|
970
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAggregateLogGroupSummariesResponse]
|
|
971
|
+
def aggregate_log_group_summaries: () -> ::Array[Types::AggregateLogGroupSummary]
|
|
972
|
+
def next_token: () -> ::String
|
|
973
|
+
end
|
|
974
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_aggregate_log_group_summaries-instance_method
|
|
975
|
+
def list_aggregate_log_group_summaries: (
|
|
976
|
+
?account_identifiers: Array[::String],
|
|
977
|
+
?include_linked_accounts: bool,
|
|
978
|
+
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY"),
|
|
979
|
+
?log_group_name_pattern: ::String,
|
|
980
|
+
?data_sources: Array[
|
|
981
|
+
{
|
|
982
|
+
name: ::String,
|
|
983
|
+
type: ::String?
|
|
984
|
+
}
|
|
985
|
+
],
|
|
986
|
+
group_by: ("DATA_SOURCE_NAME_TYPE_AND_FORMAT" | "DATA_SOURCE_NAME_AND_TYPE"),
|
|
987
|
+
?next_token: ::String,
|
|
988
|
+
?limit: ::Integer
|
|
989
|
+
) -> _ListAggregateLogGroupSummariesResponseSuccess
|
|
990
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAggregateLogGroupSummariesResponseSuccess
|
|
991
|
+
|
|
584
992
|
interface _ListAnomaliesResponseSuccess
|
|
585
993
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListAnomaliesResponse]
|
|
586
994
|
def anomalies: () -> ::Array[Types::Anomaly]
|
|
@@ -595,6 +1003,18 @@ module Aws
|
|
|
595
1003
|
) -> _ListAnomaliesResponseSuccess
|
|
596
1004
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnomaliesResponseSuccess
|
|
597
1005
|
|
|
1006
|
+
interface _ListIntegrationsResponseSuccess
|
|
1007
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListIntegrationsResponse]
|
|
1008
|
+
def integration_summaries: () -> ::Array[Types::IntegrationSummary]
|
|
1009
|
+
end
|
|
1010
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_integrations-instance_method
|
|
1011
|
+
def list_integrations: (
|
|
1012
|
+
?integration_name_prefix: ::String,
|
|
1013
|
+
?integration_type: ("OPENSEARCH"),
|
|
1014
|
+
?integration_status: ("PROVISIONING" | "ACTIVE" | "FAILED")
|
|
1015
|
+
) -> _ListIntegrationsResponseSuccess
|
|
1016
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIntegrationsResponseSuccess
|
|
1017
|
+
|
|
598
1018
|
interface _ListLogAnomalyDetectorsResponseSuccess
|
|
599
1019
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListLogAnomalyDetectorsResponse]
|
|
600
1020
|
def anomaly_detectors: () -> ::Array[Types::AnomalyDetector]
|
|
@@ -608,6 +1028,89 @@ module Aws
|
|
|
608
1028
|
) -> _ListLogAnomalyDetectorsResponseSuccess
|
|
609
1029
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogAnomalyDetectorsResponseSuccess
|
|
610
1030
|
|
|
1031
|
+
interface _ListLogGroupsResponseSuccess
|
|
1032
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListLogGroupsResponse]
|
|
1033
|
+
def log_groups: () -> ::Array[Types::LogGroupSummary]
|
|
1034
|
+
def next_token: () -> ::String
|
|
1035
|
+
end
|
|
1036
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_log_groups-instance_method
|
|
1037
|
+
def list_log_groups: (
|
|
1038
|
+
?log_group_name_pattern: ::String,
|
|
1039
|
+
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY"),
|
|
1040
|
+
?include_linked_accounts: bool,
|
|
1041
|
+
?account_identifiers: Array[::String],
|
|
1042
|
+
?next_token: ::String,
|
|
1043
|
+
?limit: ::Integer,
|
|
1044
|
+
?data_sources: Array[
|
|
1045
|
+
{
|
|
1046
|
+
name: ::String,
|
|
1047
|
+
type: ::String?
|
|
1048
|
+
}
|
|
1049
|
+
],
|
|
1050
|
+
?field_index_names: Array[::String],
|
|
1051
|
+
?log_group_tags: Array[
|
|
1052
|
+
{
|
|
1053
|
+
key: ::String,
|
|
1054
|
+
values: Array[::String]?
|
|
1055
|
+
}
|
|
1056
|
+
]
|
|
1057
|
+
) -> _ListLogGroupsResponseSuccess
|
|
1058
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogGroupsResponseSuccess
|
|
1059
|
+
|
|
1060
|
+
interface _ListLogGroupsForQueryResponseSuccess
|
|
1061
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListLogGroupsForQueryResponse]
|
|
1062
|
+
def log_group_identifiers: () -> ::Array[::String]
|
|
1063
|
+
def next_token: () -> ::String
|
|
1064
|
+
end
|
|
1065
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_log_groups_for_query-instance_method
|
|
1066
|
+
def list_log_groups_for_query: (
|
|
1067
|
+
query_id: ::String,
|
|
1068
|
+
?next_token: ::String,
|
|
1069
|
+
?max_results: ::Integer
|
|
1070
|
+
) -> _ListLogGroupsForQueryResponseSuccess
|
|
1071
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogGroupsForQueryResponseSuccess
|
|
1072
|
+
|
|
1073
|
+
interface _ListScheduledQueriesResponseSuccess
|
|
1074
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListScheduledQueriesResponse]
|
|
1075
|
+
def next_token: () -> ::String
|
|
1076
|
+
def scheduled_queries: () -> ::Array[Types::ScheduledQuerySummary]
|
|
1077
|
+
end
|
|
1078
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_scheduled_queries-instance_method
|
|
1079
|
+
def list_scheduled_queries: (
|
|
1080
|
+
?max_results: ::Integer,
|
|
1081
|
+
?next_token: ::String,
|
|
1082
|
+
?state: ("ENABLED" | "DISABLED"),
|
|
1083
|
+
?schedule_type: ("CUSTOMER_MANAGED" | "AWS_MANAGED")
|
|
1084
|
+
) -> _ListScheduledQueriesResponseSuccess
|
|
1085
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScheduledQueriesResponseSuccess
|
|
1086
|
+
|
|
1087
|
+
interface _ListSourcesForS3TableIntegrationResponseSuccess
|
|
1088
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSourcesForS3TableIntegrationResponse]
|
|
1089
|
+
def sources: () -> ::Array[Types::S3TableIntegrationSource]
|
|
1090
|
+
def next_token: () -> ::String
|
|
1091
|
+
end
|
|
1092
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_sources_for_s3_table_integration-instance_method
|
|
1093
|
+
def list_sources_for_s3_table_integration: (
|
|
1094
|
+
integration_arn: ::String,
|
|
1095
|
+
?max_results: ::Integer,
|
|
1096
|
+
?next_token: ::String
|
|
1097
|
+
) -> _ListSourcesForS3TableIntegrationResponseSuccess
|
|
1098
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSourcesForS3TableIntegrationResponseSuccess
|
|
1099
|
+
|
|
1100
|
+
interface _ListSyslogConfigurationsResponseSuccess
|
|
1101
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSyslogConfigurationsResponse]
|
|
1102
|
+
def syslog_configurations: () -> ::Array[Types::SyslogConfiguration]
|
|
1103
|
+
def next_token: () -> ::String
|
|
1104
|
+
end
|
|
1105
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_syslog_configurations-instance_method
|
|
1106
|
+
def list_syslog_configurations: (
|
|
1107
|
+
?log_group_identifier: ::String,
|
|
1108
|
+
?vpc_endpoint_id: ::String,
|
|
1109
|
+
?next_token: ::String,
|
|
1110
|
+
?max_results: ::Integer
|
|
1111
|
+
) -> _ListSyslogConfigurationsResponseSuccess
|
|
1112
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSyslogConfigurationsResponseSuccess
|
|
1113
|
+
|
|
611
1114
|
interface _ListTagsForResourceResponseSuccess
|
|
612
1115
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
|
613
1116
|
def tags: () -> ::Hash[::String, ::String]
|
|
@@ -631,17 +1134,26 @@ module Aws
|
|
|
631
1134
|
interface _PutAccountPolicyResponseSuccess
|
|
632
1135
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountPolicyResponse]
|
|
633
1136
|
def account_policy: () -> Types::AccountPolicy
|
|
1137
|
+
def dry_run_result: () -> Types::DryRunResult
|
|
634
1138
|
end
|
|
635
1139
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_account_policy-instance_method
|
|
636
1140
|
def put_account_policy: (
|
|
637
1141
|
policy_name: ::String,
|
|
638
1142
|
policy_document: ::String,
|
|
639
|
-
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY"),
|
|
1143
|
+
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY" | "METRIC_EXTRACTION_POLICY" | "RETENTION_POLICY"),
|
|
640
1144
|
?scope: ("ALL"),
|
|
641
|
-
?selection_criteria: ::String
|
|
1145
|
+
?selection_criteria: ::String,
|
|
1146
|
+
?dry_run: bool
|
|
642
1147
|
) -> _PutAccountPolicyResponseSuccess
|
|
643
1148
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountPolicyResponseSuccess
|
|
644
1149
|
|
|
1150
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_bearer_token_authentication-instance_method
|
|
1151
|
+
def put_bearer_token_authentication: (
|
|
1152
|
+
log_group_identifier: ::String,
|
|
1153
|
+
bearer_token_authentication_enabled: bool
|
|
1154
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1155
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1156
|
+
|
|
645
1157
|
interface _PutDataProtectionPolicyResponseSuccess
|
|
646
1158
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutDataProtectionPolicyResponse]
|
|
647
1159
|
def log_group_identifier: () -> ::String
|
|
@@ -663,9 +1175,11 @@ module Aws
|
|
|
663
1175
|
def put_delivery_destination: (
|
|
664
1176
|
name: ::String,
|
|
665
1177
|
?output_format: ("json" | "plain" | "w3c" | "raw" | "parquet"),
|
|
666
|
-
delivery_destination_configuration: {
|
|
1178
|
+
?delivery_destination_configuration: {
|
|
667
1179
|
destination_resource_arn: ::String
|
|
668
1180
|
},
|
|
1181
|
+
?delivery_destination_type: ("S3" | "CWL" | "FH" | "XRAY"),
|
|
1182
|
+
?role_arn: ::String,
|
|
669
1183
|
?tags: Hash[::String, ::String]
|
|
670
1184
|
) -> _PutDeliveryDestinationResponseSuccess
|
|
671
1185
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDeliveryDestinationResponseSuccess
|
|
@@ -690,7 +1204,8 @@ module Aws
|
|
|
690
1204
|
name: ::String,
|
|
691
1205
|
resource_arn: ::String,
|
|
692
1206
|
log_type: ::String,
|
|
693
|
-
?tags: Hash[::String, ::String]
|
|
1207
|
+
?tags: Hash[::String, ::String],
|
|
1208
|
+
?delivery_source_configuration: Hash[::String, ::String]
|
|
694
1209
|
) -> _PutDeliverySourceResponseSuccess
|
|
695
1210
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDeliverySourceResponseSuccess
|
|
696
1211
|
|
|
@@ -715,10 +1230,43 @@ module Aws
|
|
|
715
1230
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
716
1231
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
717
1232
|
|
|
1233
|
+
interface _PutIndexPolicyResponseSuccess
|
|
1234
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutIndexPolicyResponse]
|
|
1235
|
+
def index_policy: () -> Types::IndexPolicy
|
|
1236
|
+
end
|
|
1237
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_index_policy-instance_method
|
|
1238
|
+
def put_index_policy: (
|
|
1239
|
+
log_group_identifier: ::String,
|
|
1240
|
+
policy_document: ::String
|
|
1241
|
+
) -> _PutIndexPolicyResponseSuccess
|
|
1242
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutIndexPolicyResponseSuccess
|
|
1243
|
+
|
|
1244
|
+
interface _PutIntegrationResponseSuccess
|
|
1245
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutIntegrationResponse]
|
|
1246
|
+
def integration_name: () -> ::String
|
|
1247
|
+
def integration_status: () -> ("PROVISIONING" | "ACTIVE" | "FAILED")
|
|
1248
|
+
end
|
|
1249
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_integration-instance_method
|
|
1250
|
+
def put_integration: (
|
|
1251
|
+
integration_name: ::String,
|
|
1252
|
+
resource_config: {
|
|
1253
|
+
open_search_resource_config: {
|
|
1254
|
+
kms_key_arn: ::String?,
|
|
1255
|
+
data_source_role_arn: ::String,
|
|
1256
|
+
dashboard_viewer_principals: Array[::String],
|
|
1257
|
+
application_arn: ::String?,
|
|
1258
|
+
retention_days: ::Integer
|
|
1259
|
+
}?
|
|
1260
|
+
},
|
|
1261
|
+
integration_type: ("OPENSEARCH")
|
|
1262
|
+
) -> _PutIntegrationResponseSuccess
|
|
1263
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutIntegrationResponseSuccess
|
|
1264
|
+
|
|
718
1265
|
interface _PutLogEventsResponseSuccess
|
|
719
1266
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutLogEventsResponse]
|
|
720
1267
|
def next_sequence_token: () -> ::String
|
|
721
1268
|
def rejected_log_events_info: () -> Types::RejectedLogEventsInfo
|
|
1269
|
+
def rejected_entity_info: () -> Types::RejectedEntityInfo
|
|
722
1270
|
end
|
|
723
1271
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_log_events-instance_method
|
|
724
1272
|
def put_log_events: (
|
|
@@ -728,12 +1276,23 @@ module Aws
|
|
|
728
1276
|
{
|
|
729
1277
|
timestamp: ::Integer,
|
|
730
1278
|
message: ::String
|
|
731
|
-
}
|
|
1279
|
+
}
|
|
732
1280
|
],
|
|
733
|
-
?sequence_token: ::String
|
|
1281
|
+
?sequence_token: ::String,
|
|
1282
|
+
?entity: {
|
|
1283
|
+
key_attributes: Hash[::String, ::String]?,
|
|
1284
|
+
attributes: Hash[::String, ::String]?
|
|
1285
|
+
}
|
|
734
1286
|
) -> _PutLogEventsResponseSuccess
|
|
735
1287
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLogEventsResponseSuccess
|
|
736
1288
|
|
|
1289
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_log_group_deletion_protection-instance_method
|
|
1290
|
+
def put_log_group_deletion_protection: (
|
|
1291
|
+
log_group_identifier: ::String,
|
|
1292
|
+
deletion_protection_enabled: bool
|
|
1293
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1294
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1295
|
+
|
|
737
1296
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_metric_filter-instance_method
|
|
738
1297
|
def put_metric_filter: (
|
|
739
1298
|
log_group_name: ::String,
|
|
@@ -747,8 +1306,11 @@ module Aws
|
|
|
747
1306
|
default_value: ::Float?,
|
|
748
1307
|
dimensions: Hash[::String, ::String]?,
|
|
749
1308
|
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
|
-
]
|
|
1309
|
+
}
|
|
1310
|
+
],
|
|
1311
|
+
?apply_on_transformed_logs: bool,
|
|
1312
|
+
?field_selection_criteria: ::String,
|
|
1313
|
+
?emit_system_field_dimensions: Array[::String]
|
|
752
1314
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
753
1315
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
754
1316
|
|
|
@@ -758,22 +1320,33 @@ module Aws
|
|
|
758
1320
|
end
|
|
759
1321
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_query_definition-instance_method
|
|
760
1322
|
def put_query_definition: (
|
|
1323
|
+
?query_language: ("CWLI" | "SQL" | "PPL"),
|
|
761
1324
|
name: ::String,
|
|
762
1325
|
?query_definition_id: ::String,
|
|
763
1326
|
?log_group_names: Array[::String],
|
|
764
1327
|
query_string: ::String,
|
|
765
|
-
?client_token: ::String
|
|
1328
|
+
?client_token: ::String,
|
|
1329
|
+
?parameters: Array[
|
|
1330
|
+
{
|
|
1331
|
+
name: ::String,
|
|
1332
|
+
default_value: ::String?,
|
|
1333
|
+
description: ::String?
|
|
1334
|
+
}
|
|
1335
|
+
]
|
|
766
1336
|
) -> _PutQueryDefinitionResponseSuccess
|
|
767
1337
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutQueryDefinitionResponseSuccess
|
|
768
1338
|
|
|
769
1339
|
interface _PutResourcePolicyResponseSuccess
|
|
770
1340
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
|
|
771
1341
|
def resource_policy: () -> Types::ResourcePolicy
|
|
1342
|
+
def revision_id: () -> ::String
|
|
772
1343
|
end
|
|
773
1344
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_resource_policy-instance_method
|
|
774
1345
|
def put_resource_policy: (
|
|
775
1346
|
?policy_name: ::String,
|
|
776
|
-
?policy_document: ::String
|
|
1347
|
+
?policy_document: ::String,
|
|
1348
|
+
?resource_arn: ::String,
|
|
1349
|
+
?expected_revision_id: ::String
|
|
777
1350
|
) -> _PutResourcePolicyResponseSuccess
|
|
778
1351
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
|
779
1352
|
|
|
@@ -784,6 +1357,17 @@ module Aws
|
|
|
784
1357
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
785
1358
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
786
1359
|
|
|
1360
|
+
interface _PutStorageTierPolicyResponseSuccess
|
|
1361
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutStorageTierPolicyResponse]
|
|
1362
|
+
def storage_tier: () -> ("STANDARD" | "INTELLIGENT_TIERING")
|
|
1363
|
+
def last_updated_time: () -> ::Integer
|
|
1364
|
+
end
|
|
1365
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_storage_tier_policy-instance_method
|
|
1366
|
+
def put_storage_tier_policy: (
|
|
1367
|
+
storage_tier: ("STANDARD" | "INTELLIGENT_TIERING")
|
|
1368
|
+
) -> _PutStorageTierPolicyResponseSuccess
|
|
1369
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutStorageTierPolicyResponseSuccess
|
|
1370
|
+
|
|
787
1371
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_subscription_filter-instance_method
|
|
788
1372
|
def put_subscription_filter: (
|
|
789
1373
|
log_group_name: ::String,
|
|
@@ -791,10 +1375,29 @@ module Aws
|
|
|
791
1375
|
filter_pattern: ::String,
|
|
792
1376
|
destination_arn: ::String,
|
|
793
1377
|
?role_arn: ::String,
|
|
794
|
-
?distribution: ("Random" | "ByLogStream")
|
|
1378
|
+
?distribution: ("Random" | "ByLogStream"),
|
|
1379
|
+
?apply_on_transformed_logs: bool,
|
|
1380
|
+
?field_selection_criteria: ::String,
|
|
1381
|
+
?emit_system_fields: Array[::String]
|
|
795
1382
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
796
1383
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
797
1384
|
|
|
1385
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_syslog_configuration-instance_method
|
|
1386
|
+
def put_syslog_configuration: (
|
|
1387
|
+
log_group_identifier: ::String,
|
|
1388
|
+
?vpc_endpoint_id: ::String
|
|
1389
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1390
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1391
|
+
|
|
1392
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_transformer-instance_method
|
|
1393
|
+
def put_transformer: (
|
|
1394
|
+
log_group_identifier: ::String,
|
|
1395
|
+
transformer_config: Array[
|
|
1396
|
+
Params::processor
|
|
1397
|
+
]
|
|
1398
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1399
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1400
|
+
|
|
798
1401
|
interface _StartLiveTailResponseSuccess
|
|
799
1402
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartLiveTailResponse]
|
|
800
1403
|
def response_stream: () -> Types::StartLiveTailResponseStream
|
|
@@ -814,6 +1417,7 @@ module Aws
|
|
|
814
1417
|
end
|
|
815
1418
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#start_query-instance_method
|
|
816
1419
|
def start_query: (
|
|
1420
|
+
?query_language: ("CWLI" | "SQL" | "PPL"),
|
|
817
1421
|
?log_group_name: ::String,
|
|
818
1422
|
?log_group_names: Array[::String],
|
|
819
1423
|
?log_group_identifiers: Array[::String],
|
|
@@ -859,6 +1463,19 @@ module Aws
|
|
|
859
1463
|
) -> _TestMetricFilterResponseSuccess
|
|
860
1464
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestMetricFilterResponseSuccess
|
|
861
1465
|
|
|
1466
|
+
interface _TestTransformerResponseSuccess
|
|
1467
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TestTransformerResponse]
|
|
1468
|
+
def transformed_logs: () -> ::Array[Types::TransformedLogRecord]
|
|
1469
|
+
end
|
|
1470
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#test_transformer-instance_method
|
|
1471
|
+
def test_transformer: (
|
|
1472
|
+
transformer_config: Array[
|
|
1473
|
+
Params::processor
|
|
1474
|
+
],
|
|
1475
|
+
log_event_messages: Array[::String]
|
|
1476
|
+
) -> _TestTransformerResponseSuccess
|
|
1477
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestTransformerResponseSuccess
|
|
1478
|
+
|
|
862
1479
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#untag_log_group-instance_method
|
|
863
1480
|
def untag_log_group: (
|
|
864
1481
|
log_group_name: ::String,
|
|
@@ -882,10 +1499,26 @@ module Aws
|
|
|
882
1499
|
?suppression_period: {
|
|
883
1500
|
value: ::Integer?,
|
|
884
1501
|
suppression_unit: ("SECONDS" | "MINUTES" | "HOURS")?
|
|
885
|
-
}
|
|
1502
|
+
},
|
|
1503
|
+
?baseline: bool
|
|
886
1504
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
887
1505
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
888
1506
|
|
|
1507
|
+
interface _UpdateDeliveryConfigurationResponseSuccess
|
|
1508
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDeliveryConfigurationResponse]
|
|
1509
|
+
end
|
|
1510
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#update_delivery_configuration-instance_method
|
|
1511
|
+
def update_delivery_configuration: (
|
|
1512
|
+
id: ::String,
|
|
1513
|
+
?record_fields: Array[::String],
|
|
1514
|
+
?field_delimiter: ::String,
|
|
1515
|
+
?s3_delivery_configuration: {
|
|
1516
|
+
suffix_path: ::String?,
|
|
1517
|
+
enable_hive_compatible_path: bool?
|
|
1518
|
+
}
|
|
1519
|
+
) -> _UpdateDeliveryConfigurationResponseSuccess
|
|
1520
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDeliveryConfigurationResponseSuccess
|
|
1521
|
+
|
|
889
1522
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#update_log_anomaly_detector-instance_method
|
|
890
1523
|
def update_log_anomaly_detector: (
|
|
891
1524
|
anomaly_detector_arn: ::String,
|
|
@@ -895,6 +1528,63 @@ module Aws
|
|
|
895
1528
|
enabled: bool
|
|
896
1529
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
897
1530
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1531
|
+
|
|
1532
|
+
interface _UpdateLookupTableResponseSuccess
|
|
1533
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLookupTableResponse]
|
|
1534
|
+
def lookup_table_arn: () -> ::String
|
|
1535
|
+
def last_updated_time: () -> ::Integer
|
|
1536
|
+
end
|
|
1537
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#update_lookup_table-instance_method
|
|
1538
|
+
def update_lookup_table: (
|
|
1539
|
+
lookup_table_arn: ::String,
|
|
1540
|
+
?description: ::String,
|
|
1541
|
+
?table_body: ::String,
|
|
1542
|
+
?query_id: ::String,
|
|
1543
|
+
?kms_key_id: ::String
|
|
1544
|
+
) -> _UpdateLookupTableResponseSuccess
|
|
1545
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLookupTableResponseSuccess
|
|
1546
|
+
|
|
1547
|
+
interface _UpdateScheduledQueryResponseSuccess
|
|
1548
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateScheduledQueryResponse]
|
|
1549
|
+
def scheduled_query_arn: () -> ::String
|
|
1550
|
+
def name: () -> ::String
|
|
1551
|
+
def description: () -> ::String
|
|
1552
|
+
def query_language: () -> ("CWLI" | "SQL" | "PPL")
|
|
1553
|
+
def query_string: () -> ::String
|
|
1554
|
+
def log_group_identifiers: () -> ::Array[::String]
|
|
1555
|
+
def schedule_expression: () -> ::String
|
|
1556
|
+
def timezone: () -> ::String
|
|
1557
|
+
def start_time_offset: () -> ::Integer
|
|
1558
|
+
def end_time_offset: () -> ::Integer
|
|
1559
|
+
def destination_configuration: () -> Types::DestinationConfiguration
|
|
1560
|
+
def state: () -> ("ENABLED" | "DISABLED")
|
|
1561
|
+
def schedule_type: () -> ("CUSTOMER_MANAGED" | "AWS_MANAGED")
|
|
1562
|
+
def last_triggered_time: () -> ::Integer
|
|
1563
|
+
def last_execution_status: () -> ("Running" | "InvalidQuery" | "Complete" | "Failed" | "Timeout")
|
|
1564
|
+
def schedule_start_time: () -> ::Integer
|
|
1565
|
+
def schedule_end_time: () -> ::Integer
|
|
1566
|
+
def execution_role_arn: () -> ::String
|
|
1567
|
+
def creation_time: () -> ::Integer
|
|
1568
|
+
def last_updated_time: () -> ::Integer
|
|
1569
|
+
end
|
|
1570
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#update_scheduled_query-instance_method
|
|
1571
|
+
def update_scheduled_query: (
|
|
1572
|
+
identifier: ::String,
|
|
1573
|
+
?description: ::String,
|
|
1574
|
+
query_language: ("CWLI" | "SQL" | "PPL"),
|
|
1575
|
+
query_string: ::String,
|
|
1576
|
+
?log_group_identifiers: Array[::String],
|
|
1577
|
+
schedule_expression: ::String,
|
|
1578
|
+
?timezone: ::String,
|
|
1579
|
+
?start_time_offset: ::Integer,
|
|
1580
|
+
?end_time_offset: ::Integer,
|
|
1581
|
+
?destination_configuration: Params::destination_configuration,
|
|
1582
|
+
?schedule_start_time: ::Integer,
|
|
1583
|
+
?schedule_end_time: ::Integer,
|
|
1584
|
+
execution_role_arn: ::String,
|
|
1585
|
+
?state: ("ENABLED" | "DISABLED")
|
|
1586
|
+
) -> _UpdateScheduledQueryResponseSuccess
|
|
1587
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateScheduledQueryResponseSuccess
|
|
898
1588
|
end
|
|
899
1589
|
end
|
|
900
1590
|
end
|