aws-sdk-cloudwatchlogs 1.88.0 → 1.96.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +40 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +254 -25
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +145 -0
- data/lib/aws-sdk-cloudwatchlogs/endpoints.rb +96 -296
- data/lib/aws-sdk-cloudwatchlogs/plugins/endpoints.rb +22 -6
- data/lib/aws-sdk-cloudwatchlogs/types.rb +393 -11
- data/lib/aws-sdk-cloudwatchlogs.rb +16 -12
- data/sig/client.rbs +45 -1
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +79 -0
- metadata +4 -4
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
module Aws::CloudWatchLogs
|
11
12
|
# @api private
|
12
13
|
module ClientApi
|
@@ -20,6 +21,9 @@ module Aws::CloudWatchLogs
|
|
20
21
|
AccountPolicies = Shapes::ListShape.new(name: 'AccountPolicies')
|
21
22
|
AccountPolicy = Shapes::StructureShape.new(name: 'AccountPolicy')
|
22
23
|
AccountPolicyDocument = Shapes::StringShape.new(name: 'AccountPolicyDocument')
|
24
|
+
AllowedActionForAllowVendedLogsDeliveryForResource = Shapes::StringShape.new(name: 'AllowedActionForAllowVendedLogsDeliveryForResource')
|
25
|
+
AllowedFieldDelimiters = Shapes::ListShape.new(name: 'AllowedFieldDelimiters')
|
26
|
+
AllowedFields = Shapes::ListShape.new(name: 'AllowedFields')
|
23
27
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
24
28
|
Anomalies = Shapes::ListShape.new(name: 'Anomalies')
|
25
29
|
Anomaly = Shapes::StructureShape.new(name: 'Anomaly')
|
@@ -34,6 +38,9 @@ module Aws::CloudWatchLogs
|
|
34
38
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
35
39
|
CancelExportTaskRequest = Shapes::StructureShape.new(name: 'CancelExportTaskRequest')
|
36
40
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
41
|
+
ConfigurationTemplate = Shapes::StructureShape.new(name: 'ConfigurationTemplate')
|
42
|
+
ConfigurationTemplateDeliveryConfigValues = Shapes::StructureShape.new(name: 'ConfigurationTemplateDeliveryConfigValues')
|
43
|
+
ConfigurationTemplates = Shapes::ListShape.new(name: 'ConfigurationTemplates')
|
37
44
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
38
45
|
Count = Shapes::IntegerShape.new(name: 'Count')
|
39
46
|
CreateDeliveryRequest = Shapes::StructureShape.new(name: 'CreateDeliveryRequest')
|
@@ -72,14 +79,18 @@ module Aws::CloudWatchLogs
|
|
72
79
|
DeliveryDestinationName = Shapes::StringShape.new(name: 'DeliveryDestinationName')
|
73
80
|
DeliveryDestinationPolicy = Shapes::StringShape.new(name: 'DeliveryDestinationPolicy')
|
74
81
|
DeliveryDestinationType = Shapes::StringShape.new(name: 'DeliveryDestinationType')
|
82
|
+
DeliveryDestinationTypes = Shapes::ListShape.new(name: 'DeliveryDestinationTypes')
|
75
83
|
DeliveryDestinations = Shapes::ListShape.new(name: 'DeliveryDestinations')
|
76
84
|
DeliveryId = Shapes::StringShape.new(name: 'DeliveryId')
|
77
85
|
DeliverySource = Shapes::StructureShape.new(name: 'DeliverySource')
|
78
86
|
DeliverySourceName = Shapes::StringShape.new(name: 'DeliverySourceName')
|
79
87
|
DeliverySources = Shapes::ListShape.new(name: 'DeliverySources')
|
88
|
+
DeliverySuffixPath = Shapes::StringShape.new(name: 'DeliverySuffixPath')
|
80
89
|
Descending = Shapes::BooleanShape.new(name: 'Descending')
|
81
90
|
DescribeAccountPoliciesRequest = Shapes::StructureShape.new(name: 'DescribeAccountPoliciesRequest')
|
82
91
|
DescribeAccountPoliciesResponse = Shapes::StructureShape.new(name: 'DescribeAccountPoliciesResponse')
|
92
|
+
DescribeConfigurationTemplatesRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationTemplatesRequest')
|
93
|
+
DescribeConfigurationTemplatesResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationTemplatesResponse')
|
83
94
|
DescribeDeliveriesRequest = Shapes::StructureShape.new(name: 'DescribeDeliveriesRequest')
|
84
95
|
DescribeDeliveriesResponse = Shapes::StructureShape.new(name: 'DescribeDeliveriesResponse')
|
85
96
|
DescribeDeliveryDestinationsRequest = Shapes::StructureShape.new(name: 'DescribeDeliveryDestinationsRequest')
|
@@ -119,6 +130,14 @@ module Aws::CloudWatchLogs
|
|
119
130
|
Distribution = Shapes::StringShape.new(name: 'Distribution')
|
120
131
|
DynamicTokenPosition = Shapes::IntegerShape.new(name: 'DynamicTokenPosition')
|
121
132
|
EncryptionKey = Shapes::StringShape.new(name: 'EncryptionKey')
|
133
|
+
Entity = Shapes::StructureShape.new(name: 'Entity')
|
134
|
+
EntityAttributes = Shapes::MapShape.new(name: 'EntityAttributes')
|
135
|
+
EntityAttributesKey = Shapes::StringShape.new(name: 'EntityAttributesKey')
|
136
|
+
EntityAttributesValue = Shapes::StringShape.new(name: 'EntityAttributesValue')
|
137
|
+
EntityKeyAttributes = Shapes::MapShape.new(name: 'EntityKeyAttributes')
|
138
|
+
EntityKeyAttributesKey = Shapes::StringShape.new(name: 'EntityKeyAttributesKey')
|
139
|
+
EntityKeyAttributesValue = Shapes::StringShape.new(name: 'EntityKeyAttributesValue')
|
140
|
+
EntityRejectionErrorType = Shapes::StringShape.new(name: 'EntityRejectionErrorType')
|
122
141
|
Enumerations = Shapes::MapShape.new(name: 'Enumerations')
|
123
142
|
EpochMillis = Shapes::IntegerShape.new(name: 'EpochMillis')
|
124
143
|
EvaluationFrequency = Shapes::StringShape.new(name: 'EvaluationFrequency')
|
@@ -138,6 +157,8 @@ module Aws::CloudWatchLogs
|
|
138
157
|
ExportTasks = Shapes::ListShape.new(name: 'ExportTasks')
|
139
158
|
ExtractedValues = Shapes::MapShape.new(name: 'ExtractedValues')
|
140
159
|
Field = Shapes::StringShape.new(name: 'Field')
|
160
|
+
FieldDelimiter = Shapes::StringShape.new(name: 'FieldDelimiter')
|
161
|
+
FieldHeader = Shapes::StringShape.new(name: 'FieldHeader')
|
141
162
|
FilterCount = Shapes::IntegerShape.new(name: 'FilterCount')
|
142
163
|
FilterLogEventsRequest = Shapes::StructureShape.new(name: 'FilterLogEventsRequest')
|
143
164
|
FilterLogEventsResponse = Shapes::StructureShape.new(name: 'FilterLogEventsResponse')
|
@@ -218,6 +239,7 @@ module Aws::CloudWatchLogs
|
|
218
239
|
LogStreamSearchedCompletely = Shapes::BooleanShape.new(name: 'LogStreamSearchedCompletely')
|
219
240
|
LogStreams = Shapes::ListShape.new(name: 'LogStreams')
|
220
241
|
LogType = Shapes::StringShape.new(name: 'LogType')
|
242
|
+
LogTypes = Shapes::ListShape.new(name: 'LogTypes')
|
221
243
|
MalformedQueryException = Shapes::StructureShape.new(name: 'MalformedQueryException')
|
222
244
|
Message = Shapes::StringShape.new(name: 'Message')
|
223
245
|
MetricFilter = Shapes::StructureShape.new(name: 'MetricFilter')
|
@@ -233,6 +255,7 @@ module Aws::CloudWatchLogs
|
|
233
255
|
OperationAbortedException = Shapes::StructureShape.new(name: 'OperationAbortedException')
|
234
256
|
OrderBy = Shapes::StringShape.new(name: 'OrderBy')
|
235
257
|
OutputFormat = Shapes::StringShape.new(name: 'OutputFormat')
|
258
|
+
OutputFormats = Shapes::ListShape.new(name: 'OutputFormats')
|
236
259
|
OutputLogEvent = Shapes::StructureShape.new(name: 'OutputLogEvent')
|
237
260
|
OutputLogEvents = Shapes::ListShape.new(name: 'OutputLogEvents')
|
238
261
|
PatternId = Shapes::StringShape.new(name: 'PatternId')
|
@@ -283,6 +306,9 @@ module Aws::CloudWatchLogs
|
|
283
306
|
QueryStatistics = Shapes::StructureShape.new(name: 'QueryStatistics')
|
284
307
|
QueryStatus = Shapes::StringShape.new(name: 'QueryStatus')
|
285
308
|
QueryString = Shapes::StringShape.new(name: 'QueryString')
|
309
|
+
RecordField = Shapes::StructureShape.new(name: 'RecordField')
|
310
|
+
RecordFields = Shapes::ListShape.new(name: 'RecordFields')
|
311
|
+
RejectedEntityInfo = Shapes::StructureShape.new(name: 'RejectedEntityInfo')
|
286
312
|
RejectedLogEventsInfo = Shapes::StructureShape.new(name: 'RejectedLogEventsInfo')
|
287
313
|
RequestId = Shapes::StringShape.new(name: 'RequestId')
|
288
314
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
@@ -291,9 +317,12 @@ module Aws::CloudWatchLogs
|
|
291
317
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
292
318
|
ResourcePolicies = Shapes::ListShape.new(name: 'ResourcePolicies')
|
293
319
|
ResourcePolicy = Shapes::StructureShape.new(name: 'ResourcePolicy')
|
320
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
321
|
+
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
294
322
|
ResultField = Shapes::StructureShape.new(name: 'ResultField')
|
295
323
|
ResultRows = Shapes::ListShape.new(name: 'ResultRows')
|
296
324
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
325
|
+
S3DeliveryConfiguration = Shapes::StructureShape.new(name: 'S3DeliveryConfiguration')
|
297
326
|
Scope = Shapes::StringShape.new(name: 'Scope')
|
298
327
|
SearchedLogStream = Shapes::StructureShape.new(name: 'SearchedLogStream')
|
299
328
|
SearchedLogStreams = Shapes::ListShape.new(name: 'SearchedLogStreams')
|
@@ -348,6 +377,8 @@ module Aws::CloudWatchLogs
|
|
348
377
|
UntagLogGroupRequest = Shapes::StructureShape.new(name: 'UntagLogGroupRequest')
|
349
378
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
350
379
|
UpdateAnomalyRequest = Shapes::StructureShape.new(name: 'UpdateAnomalyRequest')
|
380
|
+
UpdateDeliveryConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateDeliveryConfigurationRequest')
|
381
|
+
UpdateDeliveryConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateDeliveryConfigurationResponse')
|
351
382
|
UpdateLogAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'UpdateLogAnomalyDetectorRequest')
|
352
383
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
353
384
|
Value = Shapes::StringShape.new(name: 'Value')
|
@@ -367,6 +398,10 @@ module Aws::CloudWatchLogs
|
|
367
398
|
AccountPolicy.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
368
399
|
AccountPolicy.struct_class = Types::AccountPolicy
|
369
400
|
|
401
|
+
AllowedFieldDelimiters.member = Shapes::ShapeRef.new(shape: FieldDelimiter)
|
402
|
+
|
403
|
+
AllowedFields.member = Shapes::ShapeRef.new(shape: RecordField)
|
404
|
+
|
370
405
|
Anomalies.member = Shapes::ShapeRef.new(shape: Anomaly)
|
371
406
|
|
372
407
|
Anomaly.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: AnomalyId, required: true, location_name: "anomalyId"))
|
@@ -412,10 +447,32 @@ module Aws::CloudWatchLogs
|
|
412
447
|
CancelExportTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: ExportTaskId, required: true, location_name: "taskId"))
|
413
448
|
CancelExportTaskRequest.struct_class = Types::CancelExportTaskRequest
|
414
449
|
|
450
|
+
ConfigurationTemplate.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
451
|
+
ConfigurationTemplate.add_member(:log_type, Shapes::ShapeRef.new(shape: LogType, location_name: "logType"))
|
452
|
+
ConfigurationTemplate.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
453
|
+
ConfigurationTemplate.add_member(:delivery_destination_type, Shapes::ShapeRef.new(shape: DeliveryDestinationType, location_name: "deliveryDestinationType"))
|
454
|
+
ConfigurationTemplate.add_member(:default_delivery_config_values, Shapes::ShapeRef.new(shape: ConfigurationTemplateDeliveryConfigValues, location_name: "defaultDeliveryConfigValues"))
|
455
|
+
ConfigurationTemplate.add_member(:allowed_fields, Shapes::ShapeRef.new(shape: AllowedFields, location_name: "allowedFields"))
|
456
|
+
ConfigurationTemplate.add_member(:allowed_output_formats, Shapes::ShapeRef.new(shape: OutputFormats, location_name: "allowedOutputFormats"))
|
457
|
+
ConfigurationTemplate.add_member(:allowed_action_for_allow_vended_logs_delivery_for_resource, Shapes::ShapeRef.new(shape: AllowedActionForAllowVendedLogsDeliveryForResource, location_name: "allowedActionForAllowVendedLogsDeliveryForResource"))
|
458
|
+
ConfigurationTemplate.add_member(:allowed_field_delimiters, Shapes::ShapeRef.new(shape: AllowedFieldDelimiters, location_name: "allowedFieldDelimiters"))
|
459
|
+
ConfigurationTemplate.add_member(:allowed_suffix_path_fields, Shapes::ShapeRef.new(shape: RecordFields, location_name: "allowedSuffixPathFields"))
|
460
|
+
ConfigurationTemplate.struct_class = Types::ConfigurationTemplate
|
461
|
+
|
462
|
+
ConfigurationTemplateDeliveryConfigValues.add_member(:record_fields, Shapes::ShapeRef.new(shape: RecordFields, location_name: "recordFields"))
|
463
|
+
ConfigurationTemplateDeliveryConfigValues.add_member(:field_delimiter, Shapes::ShapeRef.new(shape: FieldDelimiter, location_name: "fieldDelimiter"))
|
464
|
+
ConfigurationTemplateDeliveryConfigValues.add_member(:s3_delivery_configuration, Shapes::ShapeRef.new(shape: S3DeliveryConfiguration, location_name: "s3DeliveryConfiguration"))
|
465
|
+
ConfigurationTemplateDeliveryConfigValues.struct_class = Types::ConfigurationTemplateDeliveryConfigValues
|
466
|
+
|
467
|
+
ConfigurationTemplates.member = Shapes::ShapeRef.new(shape: ConfigurationTemplate)
|
468
|
+
|
415
469
|
ConflictException.struct_class = Types::ConflictException
|
416
470
|
|
417
471
|
CreateDeliveryRequest.add_member(:delivery_source_name, Shapes::ShapeRef.new(shape: DeliverySourceName, required: true, location_name: "deliverySourceName"))
|
418
472
|
CreateDeliveryRequest.add_member(:delivery_destination_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "deliveryDestinationArn"))
|
473
|
+
CreateDeliveryRequest.add_member(:record_fields, Shapes::ShapeRef.new(shape: RecordFields, location_name: "recordFields"))
|
474
|
+
CreateDeliveryRequest.add_member(:field_delimiter, Shapes::ShapeRef.new(shape: FieldDelimiter, location_name: "fieldDelimiter"))
|
475
|
+
CreateDeliveryRequest.add_member(:s3_delivery_configuration, Shapes::ShapeRef.new(shape: S3DeliveryConfiguration, location_name: "s3DeliveryConfiguration"))
|
419
476
|
CreateDeliveryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
420
477
|
CreateDeliveryRequest.struct_class = Types::CreateDeliveryRequest
|
421
478
|
|
@@ -518,6 +575,9 @@ module Aws::CloudWatchLogs
|
|
518
575
|
Delivery.add_member(:delivery_source_name, Shapes::ShapeRef.new(shape: DeliverySourceName, location_name: "deliverySourceName"))
|
519
576
|
Delivery.add_member(:delivery_destination_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "deliveryDestinationArn"))
|
520
577
|
Delivery.add_member(:delivery_destination_type, Shapes::ShapeRef.new(shape: DeliveryDestinationType, location_name: "deliveryDestinationType"))
|
578
|
+
Delivery.add_member(:record_fields, Shapes::ShapeRef.new(shape: RecordFields, location_name: "recordFields"))
|
579
|
+
Delivery.add_member(:field_delimiter, Shapes::ShapeRef.new(shape: FieldDelimiter, location_name: "fieldDelimiter"))
|
580
|
+
Delivery.add_member(:s3_delivery_configuration, Shapes::ShapeRef.new(shape: S3DeliveryConfiguration, location_name: "s3DeliveryConfiguration"))
|
521
581
|
Delivery.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
522
582
|
Delivery.struct_class = Types::Delivery
|
523
583
|
|
@@ -532,6 +592,8 @@ module Aws::CloudWatchLogs
|
|
532
592
|
DeliveryDestinationConfiguration.add_member(:destination_resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "destinationResourceArn"))
|
533
593
|
DeliveryDestinationConfiguration.struct_class = Types::DeliveryDestinationConfiguration
|
534
594
|
|
595
|
+
DeliveryDestinationTypes.member = Shapes::ShapeRef.new(shape: DeliveryDestinationType)
|
596
|
+
|
535
597
|
DeliveryDestinations.member = Shapes::ShapeRef.new(shape: DeliveryDestination)
|
536
598
|
|
537
599
|
DeliverySource.add_member(:name, Shapes::ShapeRef.new(shape: DeliverySourceName, location_name: "name"))
|
@@ -552,6 +614,18 @@ module Aws::CloudWatchLogs
|
|
552
614
|
DescribeAccountPoliciesResponse.add_member(:account_policies, Shapes::ShapeRef.new(shape: AccountPolicies, location_name: "accountPolicies"))
|
553
615
|
DescribeAccountPoliciesResponse.struct_class = Types::DescribeAccountPoliciesResponse
|
554
616
|
|
617
|
+
DescribeConfigurationTemplatesRequest.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
618
|
+
DescribeConfigurationTemplatesRequest.add_member(:log_types, Shapes::ShapeRef.new(shape: LogTypes, location_name: "logTypes"))
|
619
|
+
DescribeConfigurationTemplatesRequest.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "resourceTypes"))
|
620
|
+
DescribeConfigurationTemplatesRequest.add_member(:delivery_destination_types, Shapes::ShapeRef.new(shape: DeliveryDestinationTypes, location_name: "deliveryDestinationTypes"))
|
621
|
+
DescribeConfigurationTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
622
|
+
DescribeConfigurationTemplatesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
|
623
|
+
DescribeConfigurationTemplatesRequest.struct_class = Types::DescribeConfigurationTemplatesRequest
|
624
|
+
|
625
|
+
DescribeConfigurationTemplatesResponse.add_member(:configuration_templates, Shapes::ShapeRef.new(shape: ConfigurationTemplates, location_name: "configurationTemplates"))
|
626
|
+
DescribeConfigurationTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
627
|
+
DescribeConfigurationTemplatesResponse.struct_class = Types::DescribeConfigurationTemplatesResponse
|
628
|
+
|
555
629
|
DescribeDeliveriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
556
630
|
DescribeDeliveriesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
|
557
631
|
DescribeDeliveriesRequest.struct_class = Types::DescribeDeliveriesRequest
|
@@ -687,6 +761,16 @@ module Aws::CloudWatchLogs
|
|
687
761
|
DisassociateKmsKeyRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "resourceIdentifier"))
|
688
762
|
DisassociateKmsKeyRequest.struct_class = Types::DisassociateKmsKeyRequest
|
689
763
|
|
764
|
+
Entity.add_member(:key_attributes, Shapes::ShapeRef.new(shape: EntityKeyAttributes, location_name: "keyAttributes"))
|
765
|
+
Entity.add_member(:attributes, Shapes::ShapeRef.new(shape: EntityAttributes, location_name: "attributes"))
|
766
|
+
Entity.struct_class = Types::Entity
|
767
|
+
|
768
|
+
EntityAttributes.key = Shapes::ShapeRef.new(shape: EntityAttributesKey)
|
769
|
+
EntityAttributes.value = Shapes::ShapeRef.new(shape: EntityAttributesValue)
|
770
|
+
|
771
|
+
EntityKeyAttributes.key = Shapes::ShapeRef.new(shape: EntityKeyAttributesKey)
|
772
|
+
EntityKeyAttributes.value = Shapes::ShapeRef.new(shape: EntityKeyAttributesValue)
|
773
|
+
|
690
774
|
Enumerations.key = Shapes::ShapeRef.new(shape: TokenString)
|
691
775
|
Enumerations.value = Shapes::ShapeRef.new(shape: TokenValue)
|
692
776
|
|
@@ -952,6 +1036,8 @@ module Aws::CloudWatchLogs
|
|
952
1036
|
|
953
1037
|
LogStreams.member = Shapes::ShapeRef.new(shape: LogStream)
|
954
1038
|
|
1039
|
+
LogTypes.member = Shapes::ShapeRef.new(shape: LogType)
|
1040
|
+
|
955
1041
|
MalformedQueryException.add_member(:query_compile_error, Shapes::ShapeRef.new(shape: QueryCompileError, location_name: "queryCompileError"))
|
956
1042
|
MalformedQueryException.struct_class = Types::MalformedQueryException
|
957
1043
|
|
@@ -983,6 +1069,8 @@ module Aws::CloudWatchLogs
|
|
983
1069
|
|
984
1070
|
OperationAbortedException.struct_class = Types::OperationAbortedException
|
985
1071
|
|
1072
|
+
OutputFormats.member = Shapes::ShapeRef.new(shape: OutputFormat)
|
1073
|
+
|
986
1074
|
OutputLogEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
|
987
1075
|
OutputLogEvent.add_member(:message, Shapes::ShapeRef.new(shape: EventMessage, location_name: "message"))
|
988
1076
|
OutputLogEvent.add_member(:ingestion_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ingestionTime"))
|
@@ -1063,10 +1151,12 @@ module Aws::CloudWatchLogs
|
|
1063
1151
|
PutLogEventsRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
|
1064
1152
|
PutLogEventsRequest.add_member(:log_events, Shapes::ShapeRef.new(shape: InputLogEvents, required: true, location_name: "logEvents"))
|
1065
1153
|
PutLogEventsRequest.add_member(:sequence_token, Shapes::ShapeRef.new(shape: SequenceToken, location_name: "sequenceToken"))
|
1154
|
+
PutLogEventsRequest.add_member(:entity, Shapes::ShapeRef.new(shape: Entity, location_name: "entity"))
|
1066
1155
|
PutLogEventsRequest.struct_class = Types::PutLogEventsRequest
|
1067
1156
|
|
1068
1157
|
PutLogEventsResponse.add_member(:next_sequence_token, Shapes::ShapeRef.new(shape: SequenceToken, location_name: "nextSequenceToken"))
|
1069
1158
|
PutLogEventsResponse.add_member(:rejected_log_events_info, Shapes::ShapeRef.new(shape: RejectedLogEventsInfo, location_name: "rejectedLogEventsInfo"))
|
1159
|
+
PutLogEventsResponse.add_member(:rejected_entity_info, Shapes::ShapeRef.new(shape: RejectedEntityInfo, location_name: "rejectedEntityInfo"))
|
1070
1160
|
PutLogEventsResponse.struct_class = Types::PutLogEventsResponse
|
1071
1161
|
|
1072
1162
|
PutMetricFilterRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
@@ -1137,6 +1227,15 @@ module Aws::CloudWatchLogs
|
|
1137
1227
|
QueryStatistics.add_member(:bytes_scanned, Shapes::ShapeRef.new(shape: StatsValue, location_name: "bytesScanned"))
|
1138
1228
|
QueryStatistics.struct_class = Types::QueryStatistics
|
1139
1229
|
|
1230
|
+
RecordField.add_member(:name, Shapes::ShapeRef.new(shape: FieldHeader, location_name: "name"))
|
1231
|
+
RecordField.add_member(:mandatory, Shapes::ShapeRef.new(shape: Boolean, location_name: "mandatory"))
|
1232
|
+
RecordField.struct_class = Types::RecordField
|
1233
|
+
|
1234
|
+
RecordFields.member = Shapes::ShapeRef.new(shape: FieldHeader)
|
1235
|
+
|
1236
|
+
RejectedEntityInfo.add_member(:error_type, Shapes::ShapeRef.new(shape: EntityRejectionErrorType, required: true, location_name: "errorType"))
|
1237
|
+
RejectedEntityInfo.struct_class = Types::RejectedEntityInfo
|
1238
|
+
|
1140
1239
|
RejectedLogEventsInfo.add_member(:too_new_log_event_start_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "tooNewLogEventStartIndex"))
|
1141
1240
|
RejectedLogEventsInfo.add_member(:too_old_log_event_end_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "tooOldLogEventEndIndex"))
|
1142
1241
|
RejectedLogEventsInfo.add_member(:expired_log_event_end_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "expiredLogEventEndIndex"))
|
@@ -1155,12 +1254,18 @@ module Aws::CloudWatchLogs
|
|
1155
1254
|
ResourcePolicy.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
|
1156
1255
|
ResourcePolicy.struct_class = Types::ResourcePolicy
|
1157
1256
|
|
1257
|
+
ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType)
|
1258
|
+
|
1158
1259
|
ResultField.add_member(:field, Shapes::ShapeRef.new(shape: Field, location_name: "field"))
|
1159
1260
|
ResultField.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "value"))
|
1160
1261
|
ResultField.struct_class = Types::ResultField
|
1161
1262
|
|
1162
1263
|
ResultRows.member = Shapes::ShapeRef.new(shape: ResultField)
|
1163
1264
|
|
1265
|
+
S3DeliveryConfiguration.add_member(:suffix_path, Shapes::ShapeRef.new(shape: DeliverySuffixPath, location_name: "suffixPath"))
|
1266
|
+
S3DeliveryConfiguration.add_member(:enable_hive_compatible_path, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableHiveCompatiblePath", metadata: {"box"=>true}))
|
1267
|
+
S3DeliveryConfiguration.struct_class = Types::S3DeliveryConfiguration
|
1268
|
+
|
1164
1269
|
SearchedLogStream.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamName"))
|
1165
1270
|
SearchedLogStream.add_member(:searched_completely, Shapes::ShapeRef.new(shape: LogStreamSearchedCompletely, location_name: "searchedCompletely"))
|
1166
1271
|
SearchedLogStream.struct_class = Types::SearchedLogStream
|
@@ -1274,6 +1379,14 @@ module Aws::CloudWatchLogs
|
|
1274
1379
|
UpdateAnomalyRequest.add_member(:suppression_period, Shapes::ShapeRef.new(shape: SuppressionPeriod, location_name: "suppressionPeriod"))
|
1275
1380
|
UpdateAnomalyRequest.struct_class = Types::UpdateAnomalyRequest
|
1276
1381
|
|
1382
|
+
UpdateDeliveryConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: DeliveryId, required: true, location_name: "id"))
|
1383
|
+
UpdateDeliveryConfigurationRequest.add_member(:record_fields, Shapes::ShapeRef.new(shape: RecordFields, location_name: "recordFields"))
|
1384
|
+
UpdateDeliveryConfigurationRequest.add_member(:field_delimiter, Shapes::ShapeRef.new(shape: FieldDelimiter, location_name: "fieldDelimiter"))
|
1385
|
+
UpdateDeliveryConfigurationRequest.add_member(:s3_delivery_configuration, Shapes::ShapeRef.new(shape: S3DeliveryConfiguration, location_name: "s3DeliveryConfiguration"))
|
1386
|
+
UpdateDeliveryConfigurationRequest.struct_class = Types::UpdateDeliveryConfigurationRequest
|
1387
|
+
|
1388
|
+
UpdateDeliveryConfigurationResponse.struct_class = Types::UpdateDeliveryConfigurationResponse
|
1389
|
+
|
1277
1390
|
UpdateLogAnomalyDetectorRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: AnomalyDetectorArn, required: true, location_name: "anomalyDetectorArn"))
|
1278
1391
|
UpdateLogAnomalyDetectorRequest.add_member(:evaluation_frequency, Shapes::ShapeRef.new(shape: EvaluationFrequency, location_name: "evaluationFrequency"))
|
1279
1392
|
UpdateLogAnomalyDetectorRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
|
@@ -1590,6 +1703,24 @@ module Aws::CloudWatchLogs
|
|
1590
1703
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1591
1704
|
end)
|
1592
1705
|
|
1706
|
+
api.add_operation(:describe_configuration_templates, Seahorse::Model::Operation.new.tap do |o|
|
1707
|
+
o.name = "DescribeConfigurationTemplates"
|
1708
|
+
o.http_method = "POST"
|
1709
|
+
o.http_request_uri = "/"
|
1710
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeConfigurationTemplatesRequest)
|
1711
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeConfigurationTemplatesResponse)
|
1712
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1713
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1714
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1715
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1716
|
+
o[:pager] = Aws::Pager.new(
|
1717
|
+
limit_key: "limit",
|
1718
|
+
tokens: {
|
1719
|
+
"next_token" => "next_token"
|
1720
|
+
}
|
1721
|
+
)
|
1722
|
+
end)
|
1723
|
+
|
1593
1724
|
api.add_operation(:describe_deliveries, Seahorse::Model::Operation.new.tap do |o|
|
1594
1725
|
o.name = "DescribeDeliveries"
|
1595
1726
|
o.http_method = "POST"
|
@@ -2249,6 +2380,20 @@ module Aws::CloudWatchLogs
|
|
2249
2380
|
o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
|
2250
2381
|
end)
|
2251
2382
|
|
2383
|
+
api.add_operation(:update_delivery_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2384
|
+
o.name = "UpdateDeliveryConfiguration"
|
2385
|
+
o.http_method = "POST"
|
2386
|
+
o.http_request_uri = "/"
|
2387
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDeliveryConfigurationRequest)
|
2388
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateDeliveryConfigurationResponse)
|
2389
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2390
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2391
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2392
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2393
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2394
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2395
|
+
end)
|
2396
|
+
|
2252
2397
|
api.add_operation(:update_log_anomaly_detector, Seahorse::Model::Operation.new.tap do |o|
|
2253
2398
|
o.name = "UpdateLogAnomalyDetector"
|
2254
2399
|
o.http_method = "POST"
|