aws-sdk-cloudwatchlogs 1.134.0 → 1.135.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +419 -63
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +151 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +370 -13
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +62 -0
- data/sig/types.rbs +90 -0
- metadata +1 -1
|
@@ -506,6 +506,52 @@ module Aws::CloudWatchLogs
|
|
|
506
506
|
include Aws::Structure
|
|
507
507
|
end
|
|
508
508
|
|
|
509
|
+
# @!attribute [rw] import_id
|
|
510
|
+
# The ID of the import task to cancel.
|
|
511
|
+
# @return [String]
|
|
512
|
+
#
|
|
513
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelImportTaskRequest AWS API Documentation
|
|
514
|
+
#
|
|
515
|
+
class CancelImportTaskRequest < Struct.new(
|
|
516
|
+
:import_id)
|
|
517
|
+
SENSITIVE = []
|
|
518
|
+
include Aws::Structure
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
# @!attribute [rw] import_id
|
|
522
|
+
# The ID of the cancelled import task.
|
|
523
|
+
# @return [String]
|
|
524
|
+
#
|
|
525
|
+
# @!attribute [rw] import_statistics
|
|
526
|
+
# Statistics about the import progress at the time of cancellation.
|
|
527
|
+
# @return [Types::ImportStatistics]
|
|
528
|
+
#
|
|
529
|
+
# @!attribute [rw] import_status
|
|
530
|
+
# The final status of the import task. This will be set to CANCELLED.
|
|
531
|
+
# @return [String]
|
|
532
|
+
#
|
|
533
|
+
# @!attribute [rw] creation_time
|
|
534
|
+
# The timestamp when the import task was created, expressed as the
|
|
535
|
+
# number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
|
536
|
+
# @return [Integer]
|
|
537
|
+
#
|
|
538
|
+
# @!attribute [rw] last_updated_time
|
|
539
|
+
# The timestamp when the import task was cancelled, expressed as the
|
|
540
|
+
# number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
|
541
|
+
# @return [Integer]
|
|
542
|
+
#
|
|
543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelImportTaskResponse AWS API Documentation
|
|
544
|
+
#
|
|
545
|
+
class CancelImportTaskResponse < Struct.new(
|
|
546
|
+
:import_id,
|
|
547
|
+
:import_statistics,
|
|
548
|
+
:import_status,
|
|
549
|
+
:creation_time,
|
|
550
|
+
:last_updated_time)
|
|
551
|
+
SENSITIVE = []
|
|
552
|
+
include Aws::Structure
|
|
553
|
+
end
|
|
554
|
+
|
|
509
555
|
# A structure containing information about the deafult settings and
|
|
510
556
|
# available settings that you can use to configure a [delivery][1] or a
|
|
511
557
|
# [delivery destination][2].
|
|
@@ -837,6 +883,56 @@ module Aws::CloudWatchLogs
|
|
|
837
883
|
include Aws::Structure
|
|
838
884
|
end
|
|
839
885
|
|
|
886
|
+
# @!attribute [rw] import_source_arn
|
|
887
|
+
# The ARN of the source to import from.
|
|
888
|
+
# @return [String]
|
|
889
|
+
#
|
|
890
|
+
# @!attribute [rw] import_role_arn
|
|
891
|
+
# The ARN of the IAM role that grants CloudWatch Logs permission to
|
|
892
|
+
# import from the CloudTrail Lake Event Data Store.
|
|
893
|
+
# @return [String]
|
|
894
|
+
#
|
|
895
|
+
# @!attribute [rw] import_filter
|
|
896
|
+
# Optional filters to constrain the import by CloudTrail event time.
|
|
897
|
+
# Times are specified in Unix timestamp milliseconds. The range of
|
|
898
|
+
# data being imported must be within the specified source's retention
|
|
899
|
+
# period.
|
|
900
|
+
# @return [Types::ImportFilter]
|
|
901
|
+
#
|
|
902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateImportTaskRequest AWS API Documentation
|
|
903
|
+
#
|
|
904
|
+
class CreateImportTaskRequest < Struct.new(
|
|
905
|
+
:import_source_arn,
|
|
906
|
+
:import_role_arn,
|
|
907
|
+
:import_filter)
|
|
908
|
+
SENSITIVE = []
|
|
909
|
+
include Aws::Structure
|
|
910
|
+
end
|
|
911
|
+
|
|
912
|
+
# @!attribute [rw] import_id
|
|
913
|
+
# A unique identifier for the import task.
|
|
914
|
+
# @return [String]
|
|
915
|
+
#
|
|
916
|
+
# @!attribute [rw] import_destination_arn
|
|
917
|
+
# The ARN of the CloudWatch Logs log group created as the destination
|
|
918
|
+
# for the imported events.
|
|
919
|
+
# @return [String]
|
|
920
|
+
#
|
|
921
|
+
# @!attribute [rw] creation_time
|
|
922
|
+
# The timestamp when the import task was created, expressed as the
|
|
923
|
+
# number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
|
924
|
+
# @return [Integer]
|
|
925
|
+
#
|
|
926
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateImportTaskResponse AWS API Documentation
|
|
927
|
+
#
|
|
928
|
+
class CreateImportTaskResponse < Struct.new(
|
|
929
|
+
:import_id,
|
|
930
|
+
:import_destination_arn,
|
|
931
|
+
:creation_time)
|
|
932
|
+
SENSITIVE = []
|
|
933
|
+
include Aws::Structure
|
|
934
|
+
end
|
|
935
|
+
|
|
840
936
|
# @!attribute [rw] log_group_arn_list
|
|
841
937
|
# An array containing the ARN of the log group that this anomaly
|
|
842
938
|
# detector will watch. You can specify only one log group ARN.
|
|
@@ -2221,6 +2317,116 @@ module Aws::CloudWatchLogs
|
|
|
2221
2317
|
include Aws::Structure
|
|
2222
2318
|
end
|
|
2223
2319
|
|
|
2320
|
+
# @!attribute [rw] import_id
|
|
2321
|
+
# The ID of the import task to get batch information for.
|
|
2322
|
+
# @return [String]
|
|
2323
|
+
#
|
|
2324
|
+
# @!attribute [rw] batch_import_status
|
|
2325
|
+
# Optional filter to list import batches by their status. Accepts
|
|
2326
|
+
# multiple status values: IN\_PROGRESS, CANCELLED, COMPLETED and
|
|
2327
|
+
# FAILED.
|
|
2328
|
+
# @return [Array<String>]
|
|
2329
|
+
#
|
|
2330
|
+
# @!attribute [rw] limit
|
|
2331
|
+
# The maximum number of import batches to return in the response.
|
|
2332
|
+
# Default: 10
|
|
2333
|
+
# @return [Integer]
|
|
2334
|
+
#
|
|
2335
|
+
# @!attribute [rw] next_token
|
|
2336
|
+
# The pagination token for the next set of results.
|
|
2337
|
+
# @return [String]
|
|
2338
|
+
#
|
|
2339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeImportTaskBatchesRequest AWS API Documentation
|
|
2340
|
+
#
|
|
2341
|
+
class DescribeImportTaskBatchesRequest < Struct.new(
|
|
2342
|
+
:import_id,
|
|
2343
|
+
:batch_import_status,
|
|
2344
|
+
:limit,
|
|
2345
|
+
:next_token)
|
|
2346
|
+
SENSITIVE = []
|
|
2347
|
+
include Aws::Structure
|
|
2348
|
+
end
|
|
2349
|
+
|
|
2350
|
+
# @!attribute [rw] import_source_arn
|
|
2351
|
+
# The ARN of the source being imported from.
|
|
2352
|
+
# @return [String]
|
|
2353
|
+
#
|
|
2354
|
+
# @!attribute [rw] import_id
|
|
2355
|
+
# The ID of the import task.
|
|
2356
|
+
# @return [String]
|
|
2357
|
+
#
|
|
2358
|
+
# @!attribute [rw] import_batches
|
|
2359
|
+
# The list of import batches that match the request filters.
|
|
2360
|
+
# @return [Array<Types::ImportBatch>]
|
|
2361
|
+
#
|
|
2362
|
+
# @!attribute [rw] next_token
|
|
2363
|
+
# The token to use when requesting the next set of results. Not
|
|
2364
|
+
# present if there are no additional results to retrieve.
|
|
2365
|
+
# @return [String]
|
|
2366
|
+
#
|
|
2367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeImportTaskBatchesResponse AWS API Documentation
|
|
2368
|
+
#
|
|
2369
|
+
class DescribeImportTaskBatchesResponse < Struct.new(
|
|
2370
|
+
:import_source_arn,
|
|
2371
|
+
:import_id,
|
|
2372
|
+
:import_batches,
|
|
2373
|
+
:next_token)
|
|
2374
|
+
SENSITIVE = []
|
|
2375
|
+
include Aws::Structure
|
|
2376
|
+
end
|
|
2377
|
+
|
|
2378
|
+
# @!attribute [rw] import_id
|
|
2379
|
+
# Optional filter to describe a specific import task by its ID.
|
|
2380
|
+
# @return [String]
|
|
2381
|
+
#
|
|
2382
|
+
# @!attribute [rw] import_status
|
|
2383
|
+
# Optional filter to list imports by their status. Valid values are
|
|
2384
|
+
# IN\_PROGRESS, CANCELLED, COMPLETED and FAILED.
|
|
2385
|
+
# @return [String]
|
|
2386
|
+
#
|
|
2387
|
+
# @!attribute [rw] import_source_arn
|
|
2388
|
+
# Optional filter to list imports from a specific source
|
|
2389
|
+
# @return [String]
|
|
2390
|
+
#
|
|
2391
|
+
# @!attribute [rw] limit
|
|
2392
|
+
# The maximum number of import tasks to return in the response.
|
|
2393
|
+
# Default: 50
|
|
2394
|
+
# @return [Integer]
|
|
2395
|
+
#
|
|
2396
|
+
# @!attribute [rw] next_token
|
|
2397
|
+
# The pagination token for the next set of results.
|
|
2398
|
+
# @return [String]
|
|
2399
|
+
#
|
|
2400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeImportTasksRequest AWS API Documentation
|
|
2401
|
+
#
|
|
2402
|
+
class DescribeImportTasksRequest < Struct.new(
|
|
2403
|
+
:import_id,
|
|
2404
|
+
:import_status,
|
|
2405
|
+
:import_source_arn,
|
|
2406
|
+
:limit,
|
|
2407
|
+
:next_token)
|
|
2408
|
+
SENSITIVE = []
|
|
2409
|
+
include Aws::Structure
|
|
2410
|
+
end
|
|
2411
|
+
|
|
2412
|
+
# @!attribute [rw] imports
|
|
2413
|
+
# The list of import tasks that match the request filters.
|
|
2414
|
+
# @return [Array<Types::Import>]
|
|
2415
|
+
#
|
|
2416
|
+
# @!attribute [rw] next_token
|
|
2417
|
+
# The token to use when requesting the next set of results. Not
|
|
2418
|
+
# present if there are no additional results to retrieve.
|
|
2419
|
+
# @return [String]
|
|
2420
|
+
#
|
|
2421
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeImportTasksResponse AWS API Documentation
|
|
2422
|
+
#
|
|
2423
|
+
class DescribeImportTasksResponse < Struct.new(
|
|
2424
|
+
:imports,
|
|
2425
|
+
:next_token)
|
|
2426
|
+
SENSITIVE = []
|
|
2427
|
+
include Aws::Structure
|
|
2428
|
+
end
|
|
2429
|
+
|
|
2224
2430
|
# @!attribute [rw] log_group_identifiers
|
|
2225
2431
|
# An array containing the name or ARN of the log group that you want
|
|
2226
2432
|
# to retrieve field index policies for.
|
|
@@ -4144,6 +4350,127 @@ module Aws::CloudWatchLogs
|
|
|
4144
4350
|
include Aws::Structure
|
|
4145
4351
|
end
|
|
4146
4352
|
|
|
4353
|
+
# An import job to move data from CloudTrail Event Data Store to
|
|
4354
|
+
# CloudWatch.
|
|
4355
|
+
#
|
|
4356
|
+
# @!attribute [rw] import_id
|
|
4357
|
+
# The unique identifier of the import task.
|
|
4358
|
+
# @return [String]
|
|
4359
|
+
#
|
|
4360
|
+
# @!attribute [rw] import_source_arn
|
|
4361
|
+
# The ARN of the CloudTrail Lake Event Data Store being imported from.
|
|
4362
|
+
# @return [String]
|
|
4363
|
+
#
|
|
4364
|
+
# @!attribute [rw] import_status
|
|
4365
|
+
# The current status of the import task. Valid values are
|
|
4366
|
+
# IN\_PROGRESS, CANCELLED, COMPLETED and FAILED.
|
|
4367
|
+
# @return [String]
|
|
4368
|
+
#
|
|
4369
|
+
# @!attribute [rw] import_destination_arn
|
|
4370
|
+
# The ARN of the managed CloudWatch Logs log group where the events
|
|
4371
|
+
# are being imported to.
|
|
4372
|
+
# @return [String]
|
|
4373
|
+
#
|
|
4374
|
+
# @!attribute [rw] import_statistics
|
|
4375
|
+
# Statistics about the import progress
|
|
4376
|
+
# @return [Types::ImportStatistics]
|
|
4377
|
+
#
|
|
4378
|
+
# @!attribute [rw] import_filter
|
|
4379
|
+
# The filter criteria used for this import task.
|
|
4380
|
+
# @return [Types::ImportFilter]
|
|
4381
|
+
#
|
|
4382
|
+
# @!attribute [rw] creation_time
|
|
4383
|
+
# The timestamp when the import task was created, expressed as the
|
|
4384
|
+
# number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
|
4385
|
+
# @return [Integer]
|
|
4386
|
+
#
|
|
4387
|
+
# @!attribute [rw] last_updated_time
|
|
4388
|
+
# The timestamp when the import task was last updated, expressed as
|
|
4389
|
+
# the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
|
4390
|
+
# @return [Integer]
|
|
4391
|
+
#
|
|
4392
|
+
# @!attribute [rw] error_message
|
|
4393
|
+
# Error message related to any failed imports
|
|
4394
|
+
# @return [String]
|
|
4395
|
+
#
|
|
4396
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/Import AWS API Documentation
|
|
4397
|
+
#
|
|
4398
|
+
class Import < Struct.new(
|
|
4399
|
+
:import_id,
|
|
4400
|
+
:import_source_arn,
|
|
4401
|
+
:import_status,
|
|
4402
|
+
:import_destination_arn,
|
|
4403
|
+
:import_statistics,
|
|
4404
|
+
:import_filter,
|
|
4405
|
+
:creation_time,
|
|
4406
|
+
:last_updated_time,
|
|
4407
|
+
:error_message)
|
|
4408
|
+
SENSITIVE = []
|
|
4409
|
+
include Aws::Structure
|
|
4410
|
+
end
|
|
4411
|
+
|
|
4412
|
+
# A collection of events being imported to CloudWatch
|
|
4413
|
+
#
|
|
4414
|
+
# @!attribute [rw] batch_id
|
|
4415
|
+
# The unique identifier of the import batch.
|
|
4416
|
+
# @return [String]
|
|
4417
|
+
#
|
|
4418
|
+
# @!attribute [rw] status
|
|
4419
|
+
# The current status of the import batch. Valid values are
|
|
4420
|
+
# IN\_PROGRESS, CANCELLED, COMPLETED and FAILED.
|
|
4421
|
+
# @return [String]
|
|
4422
|
+
#
|
|
4423
|
+
# @!attribute [rw] error_message
|
|
4424
|
+
# The error message if the batch failed to import. Only present when
|
|
4425
|
+
# status is FAILED.
|
|
4426
|
+
# @return [String]
|
|
4427
|
+
#
|
|
4428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ImportBatch AWS API Documentation
|
|
4429
|
+
#
|
|
4430
|
+
class ImportBatch < Struct.new(
|
|
4431
|
+
:batch_id,
|
|
4432
|
+
:status,
|
|
4433
|
+
:error_message)
|
|
4434
|
+
SENSITIVE = []
|
|
4435
|
+
include Aws::Structure
|
|
4436
|
+
end
|
|
4437
|
+
|
|
4438
|
+
# The filter criteria used for import tasks
|
|
4439
|
+
#
|
|
4440
|
+
# @!attribute [rw] start_event_time
|
|
4441
|
+
# The start of the time range for events to import, expressed as the
|
|
4442
|
+
# number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
|
4443
|
+
# @return [Integer]
|
|
4444
|
+
#
|
|
4445
|
+
# @!attribute [rw] end_event_time
|
|
4446
|
+
# The end of the time range for events to import, expressed as the
|
|
4447
|
+
# number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
|
4448
|
+
# @return [Integer]
|
|
4449
|
+
#
|
|
4450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ImportFilter AWS API Documentation
|
|
4451
|
+
#
|
|
4452
|
+
class ImportFilter < Struct.new(
|
|
4453
|
+
:start_event_time,
|
|
4454
|
+
:end_event_time)
|
|
4455
|
+
SENSITIVE = []
|
|
4456
|
+
include Aws::Structure
|
|
4457
|
+
end
|
|
4458
|
+
|
|
4459
|
+
# Statistics about the import progress
|
|
4460
|
+
#
|
|
4461
|
+
# @!attribute [rw] bytes_imported
|
|
4462
|
+
# The total number of bytes that have been imported to the managed log
|
|
4463
|
+
# group.
|
|
4464
|
+
# @return [Integer]
|
|
4465
|
+
#
|
|
4466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ImportStatistics AWS API Documentation
|
|
4467
|
+
#
|
|
4468
|
+
class ImportStatistics < Struct.new(
|
|
4469
|
+
:bytes_imported)
|
|
4470
|
+
SENSITIVE = []
|
|
4471
|
+
include Aws::Structure
|
|
4472
|
+
end
|
|
4473
|
+
|
|
4147
4474
|
# This structure contains information about one field index policy in
|
|
4148
4475
|
# this account.
|
|
4149
4476
|
#
|
|
@@ -6741,7 +7068,8 @@ module Aws::CloudWatchLogs
|
|
|
6741
7068
|
end
|
|
6742
7069
|
|
|
6743
7070
|
# @!attribute [rw] policy_name
|
|
6744
|
-
# A name for the policy. This must be unique within the account
|
|
7071
|
+
# A name for the policy. This must be unique within the account and
|
|
7072
|
+
# cannot start with `aws/`.
|
|
6745
7073
|
# @return [String]
|
|
6746
7074
|
#
|
|
6747
7075
|
# @!attribute [rw] policy_document
|
|
@@ -6834,15 +7162,22 @@ module Aws::CloudWatchLogs
|
|
|
6834
7162
|
#
|
|
6835
7163
|
# * **Fields** The array of field indexes to create.
|
|
6836
7164
|
#
|
|
6837
|
-
#
|
|
7165
|
+
# * **FieldsV2** The object of field indexes to create along with
|
|
7166
|
+
# it's type.
|
|
6838
7167
|
#
|
|
6839
7168
|
# It must contain at least one field index.
|
|
6840
7169
|
#
|
|
6841
7170
|
# The following is an example of an index policy document that creates
|
|
6842
|
-
#
|
|
7171
|
+
# indexes with different types.
|
|
7172
|
+
#
|
|
7173
|
+
# `"policyDocument": "{ "Fields": [ "TransactionId" ],
|
|
7174
|
+
# "FieldsV2": {"RequestId": {"type": "FIELD_INDEX"},
|
|
7175
|
+
# "APIName": {"type": "FACET"}, "StatusCode": {"type":
|
|
7176
|
+
# "FACET"}}}"`
|
|
6843
7177
|
#
|
|
6844
|
-
# `
|
|
6845
|
-
#
|
|
7178
|
+
# You can use `FieldsV2` to specify the type for each field. Supported
|
|
7179
|
+
# types are `FIELD_INDEX` and `FACET`. Field names within `Fields` and
|
|
7180
|
+
# `FieldsV2` must be mutually exclusive.
|
|
6846
7181
|
#
|
|
6847
7182
|
#
|
|
6848
7183
|
#
|
|
@@ -6864,17 +7199,27 @@ module Aws::CloudWatchLogs
|
|
|
6864
7199
|
#
|
|
6865
7200
|
# @!attribute [rw] selection_criteria
|
|
6866
7201
|
# Use this parameter to apply the new policy to a subset of log groups
|
|
6867
|
-
# in the account.
|
|
7202
|
+
# in the account or a data source name and type combination.
|
|
6868
7203
|
#
|
|
6869
7204
|
# Specifying `selectionCriteria` is valid only when you specify
|
|
6870
7205
|
# `SUBSCRIPTION_FILTER_POLICY`, `FIELD_INDEX_POLICY` or
|
|
6871
7206
|
# `TRANSFORMER_POLICY`for `policyType`.
|
|
6872
7207
|
#
|
|
6873
|
-
# If `policyType` is `SUBSCRIPTION_FILTER_POLICY`, the only
|
|
6874
|
-
#
|
|
7208
|
+
# * If `policyType` is `SUBSCRIPTION_FILTER_POLICY`, the only
|
|
7209
|
+
# supported `selectionCriteria` filter is `LogGroupName NOT IN []`
|
|
7210
|
+
#
|
|
7211
|
+
# * If `policyType` is `TRANSFORMER_POLICY`, the only supported
|
|
7212
|
+
# `selectionCriteria` filter is `LogGroupNamePrefix`
|
|
6875
7213
|
#
|
|
6876
|
-
# If `policyType` is `FIELD_INDEX_POLICY
|
|
6877
|
-
#
|
|
7214
|
+
# * If `policyType` is `FIELD_INDEX_POLICY`, the supported
|
|
7215
|
+
# `selectionCriteria` filters are:
|
|
7216
|
+
#
|
|
7217
|
+
# * `LogGroupNamePrefix`
|
|
7218
|
+
#
|
|
7219
|
+
# * `DataSourceName` AND `DataSourceType`
|
|
7220
|
+
# When you specify `selectionCriteria` for a field index policy you
|
|
7221
|
+
# can use either `LogGroupNamePrefix` by itself or `DataSourceName`
|
|
7222
|
+
# and `DataSourceType` together.
|
|
6878
7223
|
#
|
|
6879
7224
|
# The `selectionCriteria` string can be up to 25KB in length. The
|
|
6880
7225
|
# length is determined by using its UTF-8 bytes.
|
|
@@ -7144,11 +7489,17 @@ module Aws::CloudWatchLogs
|
|
|
7144
7489
|
#
|
|
7145
7490
|
# * For IAM Identity Center, the valid value is `ERROR_LOGS`.
|
|
7146
7491
|
#
|
|
7492
|
+
# * For Network Firewall Proxy, the valid values are `ALERT_LOGS`,
|
|
7493
|
+
# `ALLOW_LOGS`, and `DENY_LOGS`.
|
|
7494
|
+
#
|
|
7147
7495
|
# * For Network Load Balancer, the valid value is `NLB_ACCESS_LOGS`.
|
|
7148
7496
|
#
|
|
7149
7497
|
# * For PCS, the valid values are `PCS_SCHEDULER_LOGS` and
|
|
7150
7498
|
# `PCS_JOBCOMP_LOGS`.
|
|
7151
7499
|
#
|
|
7500
|
+
# * For Quick Suite, the valid values are `CHAT_LOGS` and
|
|
7501
|
+
# `FEEDBACK_LOGS`.
|
|
7502
|
+
#
|
|
7152
7503
|
# * For Amazon Web Services RTB Fabric, the valid values is
|
|
7153
7504
|
# `APPLICATION_LOGS`.
|
|
7154
7505
|
#
|
|
@@ -7298,10 +7649,16 @@ module Aws::CloudWatchLogs
|
|
|
7298
7649
|
#
|
|
7299
7650
|
# @!attribute [rw] policy_document
|
|
7300
7651
|
# The index policy document, in JSON format. The following is an
|
|
7301
|
-
# example of an index policy document that creates
|
|
7302
|
-
#
|
|
7652
|
+
# example of an index policy document that creates indexes with
|
|
7653
|
+
# different types.
|
|
7654
|
+
#
|
|
7655
|
+
# `"policyDocument": "{"Fields": [ "TransactionId" ], "FieldsV2":
|
|
7656
|
+
# {"RequestId": {"type": "FIELD_INDEX"}, "APIName": {"type": "FACET"},
|
|
7657
|
+
# "StatusCode": {"type": "FACET"}}}"`
|
|
7303
7658
|
#
|
|
7304
|
-
# `
|
|
7659
|
+
# You can use `FieldsV2` to specify the type for each field. Supported
|
|
7660
|
+
# types are `FIELD_INDEX` and `FACET`. Field names within `Fields` and
|
|
7661
|
+
# `FieldsV2` must be mutually exclusive.
|
|
7305
7662
|
#
|
|
7306
7663
|
# The policy document must include at least one field index. For more
|
|
7307
7664
|
# information about the fields that can be included and other
|
data/sig/client.rbs
CHANGED
|
@@ -110,6 +110,20 @@ module Aws
|
|
|
110
110
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
111
111
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
112
112
|
|
|
113
|
+
interface _CancelImportTaskResponseSuccess
|
|
114
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelImportTaskResponse]
|
|
115
|
+
def import_id: () -> ::String
|
|
116
|
+
def import_statistics: () -> Types::ImportStatistics
|
|
117
|
+
def import_status: () -> ("IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
|
|
118
|
+
def creation_time: () -> ::Integer
|
|
119
|
+
def last_updated_time: () -> ::Integer
|
|
120
|
+
end
|
|
121
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#cancel_import_task-instance_method
|
|
122
|
+
def cancel_import_task: (
|
|
123
|
+
import_id: ::String
|
|
124
|
+
) -> _CancelImportTaskResponseSuccess
|
|
125
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelImportTaskResponseSuccess
|
|
126
|
+
|
|
113
127
|
interface _CreateDeliveryResponseSuccess
|
|
114
128
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDeliveryResponse]
|
|
115
129
|
def delivery: () -> Types::Delivery
|
|
@@ -144,6 +158,23 @@ module Aws
|
|
|
144
158
|
) -> _CreateExportTaskResponseSuccess
|
|
145
159
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateExportTaskResponseSuccess
|
|
146
160
|
|
|
161
|
+
interface _CreateImportTaskResponseSuccess
|
|
162
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateImportTaskResponse]
|
|
163
|
+
def import_id: () -> ::String
|
|
164
|
+
def import_destination_arn: () -> ::String
|
|
165
|
+
def creation_time: () -> ::Integer
|
|
166
|
+
end
|
|
167
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#create_import_task-instance_method
|
|
168
|
+
def create_import_task: (
|
|
169
|
+
import_source_arn: ::String,
|
|
170
|
+
import_role_arn: ::String,
|
|
171
|
+
?import_filter: {
|
|
172
|
+
start_event_time: ::Integer?,
|
|
173
|
+
end_event_time: ::Integer?
|
|
174
|
+
}
|
|
175
|
+
) -> _CreateImportTaskResponseSuccess
|
|
176
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateImportTaskResponseSuccess
|
|
177
|
+
|
|
147
178
|
interface _CreateLogAnomalyDetectorResponseSuccess
|
|
148
179
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLogAnomalyDetectorResponse]
|
|
149
180
|
def anomaly_detector_arn: () -> ::String
|
|
@@ -445,6 +476,37 @@ module Aws
|
|
|
445
476
|
) -> _DescribeFieldIndexesResponseSuccess
|
|
446
477
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFieldIndexesResponseSuccess
|
|
447
478
|
|
|
479
|
+
interface _DescribeImportTaskBatchesResponseSuccess
|
|
480
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeImportTaskBatchesResponse]
|
|
481
|
+
def import_source_arn: () -> ::String
|
|
482
|
+
def import_id: () -> ::String
|
|
483
|
+
def import_batches: () -> ::Array[Types::ImportBatch]
|
|
484
|
+
def next_token: () -> ::String
|
|
485
|
+
end
|
|
486
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_import_task_batches-instance_method
|
|
487
|
+
def describe_import_task_batches: (
|
|
488
|
+
import_id: ::String,
|
|
489
|
+
?batch_import_status: Array[("IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")],
|
|
490
|
+
?limit: ::Integer,
|
|
491
|
+
?next_token: ::String
|
|
492
|
+
) -> _DescribeImportTaskBatchesResponseSuccess
|
|
493
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeImportTaskBatchesResponseSuccess
|
|
494
|
+
|
|
495
|
+
interface _DescribeImportTasksResponseSuccess
|
|
496
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeImportTasksResponse]
|
|
497
|
+
def imports: () -> ::Array[Types::Import]
|
|
498
|
+
def next_token: () -> ::String
|
|
499
|
+
end
|
|
500
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_import_tasks-instance_method
|
|
501
|
+
def describe_import_tasks: (
|
|
502
|
+
?import_id: ::String,
|
|
503
|
+
?import_status: ("IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED"),
|
|
504
|
+
?import_source_arn: ::String,
|
|
505
|
+
?limit: ::Integer,
|
|
506
|
+
?next_token: ::String
|
|
507
|
+
) -> _DescribeImportTasksResponseSuccess
|
|
508
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeImportTasksResponseSuccess
|
|
509
|
+
|
|
448
510
|
interface _DescribeIndexPoliciesResponseSuccess
|
|
449
511
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeIndexPoliciesResponse]
|
|
450
512
|
def index_policies: () -> ::Array[Types::IndexPolicy]
|
data/sig/types.rbs
CHANGED
|
@@ -108,6 +108,20 @@ module Aws::CloudWatchLogs
|
|
|
108
108
|
SENSITIVE: []
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
+
class CancelImportTaskRequest
|
|
112
|
+
attr_accessor import_id: ::String
|
|
113
|
+
SENSITIVE: []
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
class CancelImportTaskResponse
|
|
117
|
+
attr_accessor import_id: ::String
|
|
118
|
+
attr_accessor import_statistics: Types::ImportStatistics
|
|
119
|
+
attr_accessor import_status: ("IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
|
|
120
|
+
attr_accessor creation_time: ::Integer
|
|
121
|
+
attr_accessor last_updated_time: ::Integer
|
|
122
|
+
SENSITIVE: []
|
|
123
|
+
end
|
|
124
|
+
|
|
111
125
|
class ConfigurationTemplate
|
|
112
126
|
attr_accessor service: ::String
|
|
113
127
|
attr_accessor log_type: ::String
|
|
@@ -175,6 +189,20 @@ module Aws::CloudWatchLogs
|
|
|
175
189
|
SENSITIVE: []
|
|
176
190
|
end
|
|
177
191
|
|
|
192
|
+
class CreateImportTaskRequest
|
|
193
|
+
attr_accessor import_source_arn: ::String
|
|
194
|
+
attr_accessor import_role_arn: ::String
|
|
195
|
+
attr_accessor import_filter: Types::ImportFilter
|
|
196
|
+
SENSITIVE: []
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
class CreateImportTaskResponse
|
|
200
|
+
attr_accessor import_id: ::String
|
|
201
|
+
attr_accessor import_destination_arn: ::String
|
|
202
|
+
attr_accessor creation_time: ::Integer
|
|
203
|
+
SENSITIVE: []
|
|
204
|
+
end
|
|
205
|
+
|
|
178
206
|
class CreateLogAnomalyDetectorRequest
|
|
179
207
|
attr_accessor log_group_arn_list: ::Array[::String]
|
|
180
208
|
attr_accessor detector_name: ::String
|
|
@@ -522,6 +550,37 @@ module Aws::CloudWatchLogs
|
|
|
522
550
|
SENSITIVE: []
|
|
523
551
|
end
|
|
524
552
|
|
|
553
|
+
class DescribeImportTaskBatchesRequest
|
|
554
|
+
attr_accessor import_id: ::String
|
|
555
|
+
attr_accessor batch_import_status: ::Array[("IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")]
|
|
556
|
+
attr_accessor limit: ::Integer
|
|
557
|
+
attr_accessor next_token: ::String
|
|
558
|
+
SENSITIVE: []
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
class DescribeImportTaskBatchesResponse
|
|
562
|
+
attr_accessor import_source_arn: ::String
|
|
563
|
+
attr_accessor import_id: ::String
|
|
564
|
+
attr_accessor import_batches: ::Array[Types::ImportBatch]
|
|
565
|
+
attr_accessor next_token: ::String
|
|
566
|
+
SENSITIVE: []
|
|
567
|
+
end
|
|
568
|
+
|
|
569
|
+
class DescribeImportTasksRequest
|
|
570
|
+
attr_accessor import_id: ::String
|
|
571
|
+
attr_accessor import_status: ("IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
|
|
572
|
+
attr_accessor import_source_arn: ::String
|
|
573
|
+
attr_accessor limit: ::Integer
|
|
574
|
+
attr_accessor next_token: ::String
|
|
575
|
+
SENSITIVE: []
|
|
576
|
+
end
|
|
577
|
+
|
|
578
|
+
class DescribeImportTasksResponse
|
|
579
|
+
attr_accessor imports: ::Array[Types::Import]
|
|
580
|
+
attr_accessor next_token: ::String
|
|
581
|
+
SENSITIVE: []
|
|
582
|
+
end
|
|
583
|
+
|
|
525
584
|
class DescribeIndexPoliciesRequest
|
|
526
585
|
attr_accessor log_group_identifiers: ::Array[::String]
|
|
527
586
|
attr_accessor next_token: ::String
|
|
@@ -983,6 +1042,37 @@ module Aws::CloudWatchLogs
|
|
|
983
1042
|
SENSITIVE: []
|
|
984
1043
|
end
|
|
985
1044
|
|
|
1045
|
+
class Import
|
|
1046
|
+
attr_accessor import_id: ::String
|
|
1047
|
+
attr_accessor import_source_arn: ::String
|
|
1048
|
+
attr_accessor import_status: ("IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
|
|
1049
|
+
attr_accessor import_destination_arn: ::String
|
|
1050
|
+
attr_accessor import_statistics: Types::ImportStatistics
|
|
1051
|
+
attr_accessor import_filter: Types::ImportFilter
|
|
1052
|
+
attr_accessor creation_time: ::Integer
|
|
1053
|
+
attr_accessor last_updated_time: ::Integer
|
|
1054
|
+
attr_accessor error_message: ::String
|
|
1055
|
+
SENSITIVE: []
|
|
1056
|
+
end
|
|
1057
|
+
|
|
1058
|
+
class ImportBatch
|
|
1059
|
+
attr_accessor batch_id: ::String
|
|
1060
|
+
attr_accessor status: ("IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
|
|
1061
|
+
attr_accessor error_message: ::String
|
|
1062
|
+
SENSITIVE: []
|
|
1063
|
+
end
|
|
1064
|
+
|
|
1065
|
+
class ImportFilter
|
|
1066
|
+
attr_accessor start_event_time: ::Integer
|
|
1067
|
+
attr_accessor end_event_time: ::Integer
|
|
1068
|
+
SENSITIVE: []
|
|
1069
|
+
end
|
|
1070
|
+
|
|
1071
|
+
class ImportStatistics
|
|
1072
|
+
attr_accessor bytes_imported: ::Integer
|
|
1073
|
+
SENSITIVE: []
|
|
1074
|
+
end
|
|
1075
|
+
|
|
986
1076
|
class IndexPolicy
|
|
987
1077
|
attr_accessor log_group_identifier: ::String
|
|
988
1078
|
attr_accessor last_update_time: ::Integer
|