aws-sdk-cloudwatchlogs 1.73.0 → 1.75.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.
@@ -21,15 +21,27 @@ module Aws::CloudWatchLogs
21
21
  AccountPolicy = Shapes::StructureShape.new(name: 'AccountPolicy')
22
22
  AccountPolicyDocument = Shapes::StringShape.new(name: 'AccountPolicyDocument')
23
23
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
24
+ Anomalies = Shapes::ListShape.new(name: 'Anomalies')
25
+ Anomaly = Shapes::StructureShape.new(name: 'Anomaly')
26
+ AnomalyDetector = Shapes::StructureShape.new(name: 'AnomalyDetector')
27
+ AnomalyDetectorArn = Shapes::StringShape.new(name: 'AnomalyDetectorArn')
28
+ AnomalyDetectorStatus = Shapes::StringShape.new(name: 'AnomalyDetectorStatus')
29
+ AnomalyDetectors = Shapes::ListShape.new(name: 'AnomalyDetectors')
30
+ AnomalyId = Shapes::StringShape.new(name: 'AnomalyId')
31
+ AnomalyVisibilityTime = Shapes::IntegerShape.new(name: 'AnomalyVisibilityTime')
24
32
  Arn = Shapes::StringShape.new(name: 'Arn')
25
33
  AssociateKmsKeyRequest = Shapes::StructureShape.new(name: 'AssociateKmsKeyRequest')
34
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
26
35
  CancelExportTaskRequest = Shapes::StructureShape.new(name: 'CancelExportTaskRequest')
27
36
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
28
37
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
38
+ Count = Shapes::IntegerShape.new(name: 'Count')
29
39
  CreateDeliveryRequest = Shapes::StructureShape.new(name: 'CreateDeliveryRequest')
30
40
  CreateDeliveryResponse = Shapes::StructureShape.new(name: 'CreateDeliveryResponse')
31
41
  CreateExportTaskRequest = Shapes::StructureShape.new(name: 'CreateExportTaskRequest')
32
42
  CreateExportTaskResponse = Shapes::StructureShape.new(name: 'CreateExportTaskResponse')
43
+ CreateLogAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'CreateLogAnomalyDetectorRequest')
44
+ CreateLogAnomalyDetectorResponse = Shapes::StructureShape.new(name: 'CreateLogAnomalyDetectorResponse')
33
45
  CreateLogGroupRequest = Shapes::StructureShape.new(name: 'CreateLogGroupRequest')
34
46
  CreateLogStreamRequest = Shapes::StructureShape.new(name: 'CreateLogStreamRequest')
35
47
  DataAlreadyAcceptedException = Shapes::StructureShape.new(name: 'DataAlreadyAcceptedException')
@@ -44,6 +56,7 @@ module Aws::CloudWatchLogs
44
56
  DeleteDeliveryRequest = Shapes::StructureShape.new(name: 'DeleteDeliveryRequest')
45
57
  DeleteDeliverySourceRequest = Shapes::StructureShape.new(name: 'DeleteDeliverySourceRequest')
46
58
  DeleteDestinationRequest = Shapes::StructureShape.new(name: 'DeleteDestinationRequest')
59
+ DeleteLogAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'DeleteLogAnomalyDetectorRequest')
47
60
  DeleteLogGroupRequest = Shapes::StructureShape.new(name: 'DeleteLogGroupRequest')
48
61
  DeleteLogStreamRequest = Shapes::StructureShape.new(name: 'DeleteLogStreamRequest')
49
62
  DeleteMetricFilterRequest = Shapes::StructureShape.new(name: 'DeleteMetricFilterRequest')
@@ -93,16 +106,22 @@ module Aws::CloudWatchLogs
93
106
  DescribeResourcePoliciesResponse = Shapes::StructureShape.new(name: 'DescribeResourcePoliciesResponse')
94
107
  DescribeSubscriptionFiltersRequest = Shapes::StructureShape.new(name: 'DescribeSubscriptionFiltersRequest')
95
108
  DescribeSubscriptionFiltersResponse = Shapes::StructureShape.new(name: 'DescribeSubscriptionFiltersResponse')
109
+ Description = Shapes::StringShape.new(name: 'Description')
96
110
  Destination = Shapes::StructureShape.new(name: 'Destination')
97
111
  DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
98
112
  DestinationName = Shapes::StringShape.new(name: 'DestinationName')
99
113
  Destinations = Shapes::ListShape.new(name: 'Destinations')
114
+ DetectorName = Shapes::StringShape.new(name: 'DetectorName')
100
115
  Dimensions = Shapes::MapShape.new(name: 'Dimensions')
101
116
  DimensionsKey = Shapes::StringShape.new(name: 'DimensionsKey')
102
117
  DimensionsValue = Shapes::StringShape.new(name: 'DimensionsValue')
103
118
  DisassociateKmsKeyRequest = Shapes::StructureShape.new(name: 'DisassociateKmsKeyRequest')
104
119
  Distribution = Shapes::StringShape.new(name: 'Distribution')
120
+ DynamicTokenPosition = Shapes::IntegerShape.new(name: 'DynamicTokenPosition')
105
121
  EncryptionKey = Shapes::StringShape.new(name: 'EncryptionKey')
122
+ Enumerations = Shapes::MapShape.new(name: 'Enumerations')
123
+ EpochMillis = Shapes::IntegerShape.new(name: 'EpochMillis')
124
+ EvaluationFrequency = Shapes::StringShape.new(name: 'EvaluationFrequency')
106
125
  EventId = Shapes::StringShape.new(name: 'EventId')
107
126
  EventMessage = Shapes::StringShape.new(name: 'EventMessage')
108
127
  EventNumber = Shapes::IntegerShape.new(name: 'EventNumber')
@@ -137,6 +156,8 @@ module Aws::CloudWatchLogs
137
156
  GetDeliveryResponse = Shapes::StructureShape.new(name: 'GetDeliveryResponse')
138
157
  GetDeliverySourceRequest = Shapes::StructureShape.new(name: 'GetDeliverySourceRequest')
139
158
  GetDeliverySourceResponse = Shapes::StructureShape.new(name: 'GetDeliverySourceResponse')
159
+ GetLogAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'GetLogAnomalyDetectorRequest')
160
+ GetLogAnomalyDetectorResponse = Shapes::StructureShape.new(name: 'GetLogAnomalyDetectorResponse')
140
161
  GetLogEventsRequest = Shapes::StructureShape.new(name: 'GetLogEventsRequest')
141
162
  GetLogEventsResponse = Shapes::StructureShape.new(name: 'GetLogEventsResponse')
142
163
  GetLogGroupFieldsRequest = Shapes::StructureShape.new(name: 'GetLogGroupFieldsRequest')
@@ -145,24 +166,36 @@ module Aws::CloudWatchLogs
145
166
  GetLogRecordResponse = Shapes::StructureShape.new(name: 'GetLogRecordResponse')
146
167
  GetQueryResultsRequest = Shapes::StructureShape.new(name: 'GetQueryResultsRequest')
147
168
  GetQueryResultsResponse = Shapes::StructureShape.new(name: 'GetQueryResultsResponse')
169
+ Histogram = Shapes::MapShape.new(name: 'Histogram')
148
170
  IncludeLinkedAccounts = Shapes::BooleanShape.new(name: 'IncludeLinkedAccounts')
149
171
  InheritedProperties = Shapes::ListShape.new(name: 'InheritedProperties')
150
172
  InheritedProperty = Shapes::StringShape.new(name: 'InheritedProperty')
151
173
  InputLogEvent = Shapes::StructureShape.new(name: 'InputLogEvent')
152
174
  InputLogEvents = Shapes::ListShape.new(name: 'InputLogEvents')
153
175
  InputLogStreamNames = Shapes::ListShape.new(name: 'InputLogStreamNames')
176
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
154
177
  Interleaved = Shapes::BooleanShape.new(name: 'Interleaved')
155
178
  InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
156
179
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
157
180
  InvalidSequenceTokenException = Shapes::StructureShape.new(name: 'InvalidSequenceTokenException')
158
181
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
159
182
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
183
+ ListAnomaliesLimit = Shapes::IntegerShape.new(name: 'ListAnomaliesLimit')
184
+ ListAnomaliesRequest = Shapes::StructureShape.new(name: 'ListAnomaliesRequest')
185
+ ListAnomaliesResponse = Shapes::StructureShape.new(name: 'ListAnomaliesResponse')
186
+ ListLogAnomalyDetectorsLimit = Shapes::IntegerShape.new(name: 'ListLogAnomalyDetectorsLimit')
187
+ ListLogAnomalyDetectorsRequest = Shapes::StructureShape.new(name: 'ListLogAnomalyDetectorsRequest')
188
+ ListLogAnomalyDetectorsResponse = Shapes::StructureShape.new(name: 'ListLogAnomalyDetectorsResponse')
160
189
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
161
190
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
162
191
  ListTagsLogGroupRequest = Shapes::StructureShape.new(name: 'ListTagsLogGroupRequest')
163
192
  ListTagsLogGroupResponse = Shapes::StructureShape.new(name: 'ListTagsLogGroupResponse')
193
+ LogEvent = Shapes::StringShape.new(name: 'LogEvent')
164
194
  LogEventIndex = Shapes::IntegerShape.new(name: 'LogEventIndex')
165
195
  LogGroup = Shapes::StructureShape.new(name: 'LogGroup')
196
+ LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
197
+ LogGroupArnList = Shapes::ListShape.new(name: 'LogGroupArnList')
198
+ LogGroupClass = Shapes::StringShape.new(name: 'LogGroupClass')
166
199
  LogGroupField = Shapes::StructureShape.new(name: 'LogGroupField')
167
200
  LogGroupFieldList = Shapes::ListShape.new(name: 'LogGroupFieldList')
168
201
  LogGroupIdentifier = Shapes::StringShape.new(name: 'LogGroupIdentifier')
@@ -173,6 +206,7 @@ module Aws::CloudWatchLogs
173
206
  LogGroups = Shapes::ListShape.new(name: 'LogGroups')
174
207
  LogRecord = Shapes::MapShape.new(name: 'LogRecord')
175
208
  LogRecordPointer = Shapes::StringShape.new(name: 'LogRecordPointer')
209
+ LogSamples = Shapes::ListShape.new(name: 'LogSamples')
176
210
  LogStream = Shapes::StructureShape.new(name: 'LogStream')
177
211
  LogStreamName = Shapes::StringShape.new(name: 'LogStreamName')
178
212
  LogStreamSearchedCompletely = Shapes::BooleanShape.new(name: 'LogStreamSearchedCompletely')
@@ -195,11 +229,17 @@ module Aws::CloudWatchLogs
195
229
  OutputFormat = Shapes::StringShape.new(name: 'OutputFormat')
196
230
  OutputLogEvent = Shapes::StructureShape.new(name: 'OutputLogEvent')
197
231
  OutputLogEvents = Shapes::ListShape.new(name: 'OutputLogEvents')
232
+ PatternId = Shapes::StringShape.new(name: 'PatternId')
233
+ PatternRegex = Shapes::StringShape.new(name: 'PatternRegex')
234
+ PatternString = Shapes::StringShape.new(name: 'PatternString')
235
+ PatternToken = Shapes::StructureShape.new(name: 'PatternToken')
236
+ PatternTokens = Shapes::ListShape.new(name: 'PatternTokens')
198
237
  Percentage = Shapes::IntegerShape.new(name: 'Percentage')
199
238
  Policy = Shapes::StructureShape.new(name: 'Policy')
200
239
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
201
240
  PolicyName = Shapes::StringShape.new(name: 'PolicyName')
202
241
  PolicyType = Shapes::StringShape.new(name: 'PolicyType')
242
+ Priority = Shapes::StringShape.new(name: 'Priority')
203
243
  PutAccountPolicyRequest = Shapes::StructureShape.new(name: 'PutAccountPolicyRequest')
204
244
  PutAccountPolicyResponse = Shapes::StructureShape.new(name: 'PutAccountPolicyResponse')
205
245
  PutDataProtectionPolicyRequest = Shapes::StructureShape.new(name: 'PutDataProtectionPolicyRequest')
@@ -258,6 +298,7 @@ module Aws::CloudWatchLogs
258
298
  StartFromHead = Shapes::BooleanShape.new(name: 'StartFromHead')
259
299
  StartQueryRequest = Shapes::StructureShape.new(name: 'StartQueryRequest')
260
300
  StartQueryResponse = Shapes::StructureShape.new(name: 'StartQueryResponse')
301
+ State = Shapes::StringShape.new(name: 'State')
261
302
  StatsValue = Shapes::FloatShape.new(name: 'StatsValue')
262
303
  StopQueryRequest = Shapes::StructureShape.new(name: 'StopQueryRequest')
263
304
  StopQueryResponse = Shapes::StructureShape.new(name: 'StopQueryResponse')
@@ -265,6 +306,10 @@ module Aws::CloudWatchLogs
265
306
  SubscriptionFilter = Shapes::StructureShape.new(name: 'SubscriptionFilter')
266
307
  SubscriptionFilters = Shapes::ListShape.new(name: 'SubscriptionFilters')
267
308
  Success = Shapes::BooleanShape.new(name: 'Success')
309
+ SuppressionPeriod = Shapes::StructureShape.new(name: 'SuppressionPeriod')
310
+ SuppressionState = Shapes::StringShape.new(name: 'SuppressionState')
311
+ SuppressionType = Shapes::StringShape.new(name: 'SuppressionType')
312
+ SuppressionUnit = Shapes::StringShape.new(name: 'SuppressionUnit')
268
313
  TagKey = Shapes::StringShape.new(name: 'TagKey')
269
314
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
270
315
  TagList = Shapes::ListShape.new(name: 'TagList')
@@ -277,13 +322,18 @@ module Aws::CloudWatchLogs
277
322
  TestMetricFilterRequest = Shapes::StructureShape.new(name: 'TestMetricFilterRequest')
278
323
  TestMetricFilterResponse = Shapes::StructureShape.new(name: 'TestMetricFilterResponse')
279
324
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
325
+ Time = Shapes::StringShape.new(name: 'Time')
280
326
  Timestamp = Shapes::IntegerShape.new(name: 'Timestamp')
281
327
  Token = Shapes::StringShape.new(name: 'Token')
328
+ TokenString = Shapes::StringShape.new(name: 'TokenString')
329
+ TokenValue = Shapes::IntegerShape.new(name: 'TokenValue')
282
330
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
283
331
  Unmask = Shapes::BooleanShape.new(name: 'Unmask')
284
332
  UnrecognizedClientException = Shapes::StructureShape.new(name: 'UnrecognizedClientException')
285
333
  UntagLogGroupRequest = Shapes::StructureShape.new(name: 'UntagLogGroupRequest')
286
334
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
335
+ UpdateAnomalyRequest = Shapes::StructureShape.new(name: 'UpdateAnomalyRequest')
336
+ UpdateLogAnomalyDetectorRequest = Shapes::StructureShape.new(name: 'UpdateLogAnomalyDetectorRequest')
287
337
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
288
338
  Value = Shapes::StringShape.new(name: 'Value')
289
339
 
@@ -301,6 +351,43 @@ module Aws::CloudWatchLogs
301
351
  AccountPolicy.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
302
352
  AccountPolicy.struct_class = Types::AccountPolicy
303
353
 
354
+ Anomalies.member = Shapes::ShapeRef.new(shape: Anomaly)
355
+
356
+ Anomaly.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: AnomalyId, required: true, location_name: "anomalyId"))
357
+ Anomaly.add_member(:pattern_id, Shapes::ShapeRef.new(shape: PatternId, required: true, location_name: "patternId"))
358
+ Anomaly.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: AnomalyDetectorArn, required: true, location_name: "anomalyDetectorArn"))
359
+ Anomaly.add_member(:pattern_string, Shapes::ShapeRef.new(shape: PatternString, required: true, location_name: "patternString"))
360
+ Anomaly.add_member(:pattern_regex, Shapes::ShapeRef.new(shape: PatternRegex, location_name: "patternRegex"))
361
+ Anomaly.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, location_name: "priority"))
362
+ Anomaly.add_member(:first_seen, Shapes::ShapeRef.new(shape: EpochMillis, required: true, location_name: "firstSeen"))
363
+ Anomaly.add_member(:last_seen, Shapes::ShapeRef.new(shape: EpochMillis, required: true, location_name: "lastSeen"))
364
+ Anomaly.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
365
+ Anomaly.add_member(:active, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "active"))
366
+ Anomaly.add_member(:state, Shapes::ShapeRef.new(shape: State, required: true, location_name: "state"))
367
+ Anomaly.add_member(:histogram, Shapes::ShapeRef.new(shape: Histogram, required: true, location_name: "histogram"))
368
+ Anomaly.add_member(:log_samples, Shapes::ShapeRef.new(shape: LogSamples, required: true, location_name: "logSamples"))
369
+ Anomaly.add_member(:pattern_tokens, Shapes::ShapeRef.new(shape: PatternTokens, required: true, location_name: "patternTokens"))
370
+ Anomaly.add_member(:log_group_arn_list, Shapes::ShapeRef.new(shape: LogGroupArnList, required: true, location_name: "logGroupArnList"))
371
+ Anomaly.add_member(:suppressed, Shapes::ShapeRef.new(shape: Boolean, location_name: "suppressed"))
372
+ Anomaly.add_member(:suppressed_date, Shapes::ShapeRef.new(shape: EpochMillis, location_name: "suppressedDate"))
373
+ Anomaly.add_member(:suppressed_until, Shapes::ShapeRef.new(shape: EpochMillis, location_name: "suppressedUntil"))
374
+ Anomaly.add_member(:is_pattern_level_suppression, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPatternLevelSuppression"))
375
+ Anomaly.struct_class = Types::Anomaly
376
+
377
+ AnomalyDetector.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: AnomalyDetectorArn, location_name: "anomalyDetectorArn"))
378
+ AnomalyDetector.add_member(:detector_name, Shapes::ShapeRef.new(shape: DetectorName, location_name: "detectorName"))
379
+ AnomalyDetector.add_member(:log_group_arn_list, Shapes::ShapeRef.new(shape: LogGroupArnList, location_name: "logGroupArnList"))
380
+ AnomalyDetector.add_member(:evaluation_frequency, Shapes::ShapeRef.new(shape: EvaluationFrequency, location_name: "evaluationFrequency"))
381
+ AnomalyDetector.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
382
+ AnomalyDetector.add_member(:anomaly_detector_status, Shapes::ShapeRef.new(shape: AnomalyDetectorStatus, location_name: "anomalyDetectorStatus"))
383
+ AnomalyDetector.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
384
+ AnomalyDetector.add_member(:creation_time_stamp, Shapes::ShapeRef.new(shape: EpochMillis, location_name: "creationTimeStamp"))
385
+ AnomalyDetector.add_member(:last_modified_time_stamp, Shapes::ShapeRef.new(shape: EpochMillis, location_name: "lastModifiedTimeStamp"))
386
+ AnomalyDetector.add_member(:anomaly_visibility_time, Shapes::ShapeRef.new(shape: AnomalyVisibilityTime, location_name: "anomalyVisibilityTime"))
387
+ AnomalyDetector.struct_class = Types::AnomalyDetector
388
+
389
+ AnomalyDetectors.member = Shapes::ShapeRef.new(shape: AnomalyDetector)
390
+
304
391
  AssociateKmsKeyRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
305
392
  AssociateKmsKeyRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, required: true, location_name: "kmsKeyId"))
306
393
  AssociateKmsKeyRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "resourceIdentifier"))
@@ -331,9 +418,22 @@ module Aws::CloudWatchLogs
331
418
  CreateExportTaskResponse.add_member(:task_id, Shapes::ShapeRef.new(shape: ExportTaskId, location_name: "taskId"))
332
419
  CreateExportTaskResponse.struct_class = Types::CreateExportTaskResponse
333
420
 
421
+ CreateLogAnomalyDetectorRequest.add_member(:log_group_arn_list, Shapes::ShapeRef.new(shape: LogGroupArnList, required: true, location_name: "logGroupArnList"))
422
+ CreateLogAnomalyDetectorRequest.add_member(:detector_name, Shapes::ShapeRef.new(shape: DetectorName, location_name: "detectorName"))
423
+ CreateLogAnomalyDetectorRequest.add_member(:evaluation_frequency, Shapes::ShapeRef.new(shape: EvaluationFrequency, location_name: "evaluationFrequency"))
424
+ CreateLogAnomalyDetectorRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
425
+ CreateLogAnomalyDetectorRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
426
+ CreateLogAnomalyDetectorRequest.add_member(:anomaly_visibility_time, Shapes::ShapeRef.new(shape: AnomalyVisibilityTime, location_name: "anomalyVisibilityTime"))
427
+ CreateLogAnomalyDetectorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
428
+ CreateLogAnomalyDetectorRequest.struct_class = Types::CreateLogAnomalyDetectorRequest
429
+
430
+ CreateLogAnomalyDetectorResponse.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: AnomalyDetectorArn, location_name: "anomalyDetectorArn"))
431
+ CreateLogAnomalyDetectorResponse.struct_class = Types::CreateLogAnomalyDetectorResponse
432
+
334
433
  CreateLogGroupRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
335
434
  CreateLogGroupRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
336
435
  CreateLogGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
436
+ CreateLogGroupRequest.add_member(:log_group_class, Shapes::ShapeRef.new(shape: LogGroupClass, location_name: "logGroupClass"))
337
437
  CreateLogGroupRequest.struct_class = Types::CreateLogGroupRequest
338
438
 
339
439
  CreateLogStreamRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
@@ -365,6 +465,9 @@ module Aws::CloudWatchLogs
365
465
  DeleteDestinationRequest.add_member(:destination_name, Shapes::ShapeRef.new(shape: DestinationName, required: true, location_name: "destinationName"))
366
466
  DeleteDestinationRequest.struct_class = Types::DeleteDestinationRequest
367
467
 
468
+ DeleteLogAnomalyDetectorRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: AnomalyDetectorArn, required: true, location_name: "anomalyDetectorArn"))
469
+ DeleteLogAnomalyDetectorRequest.struct_class = Types::DeleteLogAnomalyDetectorRequest
470
+
368
471
  DeleteLogGroupRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
369
472
  DeleteLogGroupRequest.struct_class = Types::DeleteLogGroupRequest
370
473
 
@@ -482,6 +585,7 @@ module Aws::CloudWatchLogs
482
585
  DescribeLogGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
483
586
  DescribeLogGroupsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
484
587
  DescribeLogGroupsRequest.add_member(:include_linked_accounts, Shapes::ShapeRef.new(shape: IncludeLinkedAccounts, location_name: "includeLinkedAccounts"))
588
+ DescribeLogGroupsRequest.add_member(:log_group_class, Shapes::ShapeRef.new(shape: LogGroupClass, location_name: "logGroupClass"))
485
589
  DescribeLogGroupsRequest.struct_class = Types::DescribeLogGroupsRequest
486
590
 
487
591
  DescribeLogGroupsResponse.add_member(:log_groups, Shapes::ShapeRef.new(shape: LogGroups, location_name: "logGroups"))
@@ -567,6 +671,9 @@ module Aws::CloudWatchLogs
567
671
  DisassociateKmsKeyRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "resourceIdentifier"))
568
672
  DisassociateKmsKeyRequest.struct_class = Types::DisassociateKmsKeyRequest
569
673
 
674
+ Enumerations.key = Shapes::ShapeRef.new(shape: TokenString)
675
+ Enumerations.value = Shapes::ShapeRef.new(shape: TokenValue)
676
+
570
677
  ExportTask.add_member(:task_id, Shapes::ShapeRef.new(shape: ExportTaskId, location_name: "taskId"))
571
678
  ExportTask.add_member(:task_name, Shapes::ShapeRef.new(shape: ExportTaskName, location_name: "taskName"))
572
679
  ExportTask.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
@@ -650,6 +757,20 @@ module Aws::CloudWatchLogs
650
757
  GetDeliverySourceResponse.add_member(:delivery_source, Shapes::ShapeRef.new(shape: DeliverySource, location_name: "deliverySource"))
651
758
  GetDeliverySourceResponse.struct_class = Types::GetDeliverySourceResponse
652
759
 
760
+ GetLogAnomalyDetectorRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: AnomalyDetectorArn, required: true, location_name: "anomalyDetectorArn"))
761
+ GetLogAnomalyDetectorRequest.struct_class = Types::GetLogAnomalyDetectorRequest
762
+
763
+ GetLogAnomalyDetectorResponse.add_member(:detector_name, Shapes::ShapeRef.new(shape: DetectorName, location_name: "detectorName"))
764
+ GetLogAnomalyDetectorResponse.add_member(:log_group_arn_list, Shapes::ShapeRef.new(shape: LogGroupArnList, location_name: "logGroupArnList"))
765
+ GetLogAnomalyDetectorResponse.add_member(:evaluation_frequency, Shapes::ShapeRef.new(shape: EvaluationFrequency, location_name: "evaluationFrequency"))
766
+ GetLogAnomalyDetectorResponse.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
767
+ GetLogAnomalyDetectorResponse.add_member(:anomaly_detector_status, Shapes::ShapeRef.new(shape: AnomalyDetectorStatus, location_name: "anomalyDetectorStatus"))
768
+ GetLogAnomalyDetectorResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
769
+ GetLogAnomalyDetectorResponse.add_member(:creation_time_stamp, Shapes::ShapeRef.new(shape: EpochMillis, location_name: "creationTimeStamp"))
770
+ GetLogAnomalyDetectorResponse.add_member(:last_modified_time_stamp, Shapes::ShapeRef.new(shape: EpochMillis, location_name: "lastModifiedTimeStamp"))
771
+ GetLogAnomalyDetectorResponse.add_member(:anomaly_visibility_time, Shapes::ShapeRef.new(shape: AnomalyVisibilityTime, location_name: "anomalyVisibilityTime"))
772
+ GetLogAnomalyDetectorResponse.struct_class = Types::GetLogAnomalyDetectorResponse
773
+
653
774
  GetLogEventsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
654
775
  GetLogEventsRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, location_name: "logGroupIdentifier"))
655
776
  GetLogEventsRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
@@ -690,6 +811,9 @@ module Aws::CloudWatchLogs
690
811
  GetQueryResultsResponse.add_member(:encryption_key, Shapes::ShapeRef.new(shape: EncryptionKey, location_name: "encryptionKey"))
691
812
  GetQueryResultsResponse.struct_class = Types::GetQueryResultsResponse
692
813
 
814
+ Histogram.key = Shapes::ShapeRef.new(shape: Time)
815
+ Histogram.value = Shapes::ShapeRef.new(shape: Count)
816
+
693
817
  InheritedProperties.member = Shapes::ShapeRef.new(shape: InheritedProperty)
694
818
 
695
819
  InputLogEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
@@ -709,6 +833,25 @@ module Aws::CloudWatchLogs
709
833
 
710
834
  LimitExceededException.struct_class = Types::LimitExceededException
711
835
 
836
+ ListAnomaliesRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: AnomalyDetectorArn, location_name: "anomalyDetectorArn"))
837
+ ListAnomaliesRequest.add_member(:suppression_state, Shapes::ShapeRef.new(shape: SuppressionState, location_name: "suppressionState"))
838
+ ListAnomaliesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: ListAnomaliesLimit, location_name: "limit"))
839
+ ListAnomaliesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
840
+ ListAnomaliesRequest.struct_class = Types::ListAnomaliesRequest
841
+
842
+ ListAnomaliesResponse.add_member(:anomalies, Shapes::ShapeRef.new(shape: Anomalies, location_name: "anomalies"))
843
+ ListAnomaliesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
844
+ ListAnomaliesResponse.struct_class = Types::ListAnomaliesResponse
845
+
846
+ ListLogAnomalyDetectorsRequest.add_member(:filter_log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "filterLogGroupArn"))
847
+ ListLogAnomalyDetectorsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: ListLogAnomalyDetectorsLimit, location_name: "limit"))
848
+ ListLogAnomalyDetectorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
849
+ ListLogAnomalyDetectorsRequest.struct_class = Types::ListLogAnomalyDetectorsRequest
850
+
851
+ ListLogAnomalyDetectorsResponse.add_member(:anomaly_detectors, Shapes::ShapeRef.new(shape: AnomalyDetectors, location_name: "anomalyDetectors"))
852
+ ListLogAnomalyDetectorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
853
+ ListLogAnomalyDetectorsResponse.struct_class = Types::ListLogAnomalyDetectorsResponse
854
+
712
855
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "resourceArn"))
713
856
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
714
857
 
@@ -730,8 +873,11 @@ module Aws::CloudWatchLogs
730
873
  LogGroup.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
731
874
  LogGroup.add_member(:data_protection_status, Shapes::ShapeRef.new(shape: DataProtectionStatus, location_name: "dataProtectionStatus"))
732
875
  LogGroup.add_member(:inherited_properties, Shapes::ShapeRef.new(shape: InheritedProperties, location_name: "inheritedProperties"))
876
+ LogGroup.add_member(:log_group_class, Shapes::ShapeRef.new(shape: LogGroupClass, location_name: "logGroupClass"))
733
877
  LogGroup.struct_class = Types::LogGroup
734
878
 
879
+ LogGroupArnList.member = Shapes::ShapeRef.new(shape: LogGroupArn)
880
+
735
881
  LogGroupField.add_member(:name, Shapes::ShapeRef.new(shape: Field, location_name: "name"))
736
882
  LogGroupField.add_member(:percent, Shapes::ShapeRef.new(shape: Percentage, location_name: "percent"))
737
883
  LogGroupField.struct_class = Types::LogGroupField
@@ -747,6 +893,8 @@ module Aws::CloudWatchLogs
747
893
  LogRecord.key = Shapes::ShapeRef.new(shape: Field)
748
894
  LogRecord.value = Shapes::ShapeRef.new(shape: Value)
749
895
 
896
+ LogSamples.member = Shapes::ShapeRef.new(shape: LogEvent)
897
+
750
898
  LogStream.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamName"))
751
899
  LogStream.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
752
900
  LogStream.add_member(:first_event_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "firstEventTimestamp"))
@@ -797,6 +945,14 @@ module Aws::CloudWatchLogs
797
945
 
798
946
  OutputLogEvents.member = Shapes::ShapeRef.new(shape: OutputLogEvent)
799
947
 
948
+ PatternToken.add_member(:dynamic_token_position, Shapes::ShapeRef.new(shape: DynamicTokenPosition, location_name: "dynamicTokenPosition"))
949
+ PatternToken.add_member(:is_dynamic, Shapes::ShapeRef.new(shape: Boolean, location_name: "isDynamic"))
950
+ PatternToken.add_member(:token_string, Shapes::ShapeRef.new(shape: TokenString, location_name: "tokenString"))
951
+ PatternToken.add_member(:enumerations, Shapes::ShapeRef.new(shape: Enumerations, location_name: "enumerations"))
952
+ PatternToken.struct_class = Types::PatternToken
953
+
954
+ PatternTokens.member = Shapes::ShapeRef.new(shape: PatternToken)
955
+
800
956
  Policy.add_member(:delivery_destination_policy, Shapes::ShapeRef.new(shape: DeliveryDestinationPolicy, location_name: "deliveryDestinationPolicy"))
801
957
  Policy.struct_class = Types::Policy
802
958
 
@@ -998,6 +1154,10 @@ module Aws::CloudWatchLogs
998
1154
 
999
1155
  SubscriptionFilters.member = Shapes::ShapeRef.new(shape: SubscriptionFilter)
1000
1156
 
1157
+ SuppressionPeriod.add_member(:value, Shapes::ShapeRef.new(shape: Integer, location_name: "value"))
1158
+ SuppressionPeriod.add_member(:suppression_unit, Shapes::ShapeRef.new(shape: SuppressionUnit, location_name: "suppressionUnit"))
1159
+ SuppressionPeriod.struct_class = Types::SuppressionPeriod
1160
+
1001
1161
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
1002
1162
 
1003
1163
  TagList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -1038,6 +1198,20 @@ module Aws::CloudWatchLogs
1038
1198
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
1039
1199
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
1040
1200
 
1201
+ UpdateAnomalyRequest.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: AnomalyId, location_name: "anomalyId"))
1202
+ UpdateAnomalyRequest.add_member(:pattern_id, Shapes::ShapeRef.new(shape: PatternId, location_name: "patternId"))
1203
+ UpdateAnomalyRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: AnomalyDetectorArn, required: true, location_name: "anomalyDetectorArn"))
1204
+ UpdateAnomalyRequest.add_member(:suppression_type, Shapes::ShapeRef.new(shape: SuppressionType, location_name: "suppressionType"))
1205
+ UpdateAnomalyRequest.add_member(:suppression_period, Shapes::ShapeRef.new(shape: SuppressionPeriod, location_name: "suppressionPeriod"))
1206
+ UpdateAnomalyRequest.struct_class = Types::UpdateAnomalyRequest
1207
+
1208
+ UpdateLogAnomalyDetectorRequest.add_member(:anomaly_detector_arn, Shapes::ShapeRef.new(shape: AnomalyDetectorArn, required: true, location_name: "anomalyDetectorArn"))
1209
+ UpdateLogAnomalyDetectorRequest.add_member(:evaluation_frequency, Shapes::ShapeRef.new(shape: EvaluationFrequency, location_name: "evaluationFrequency"))
1210
+ UpdateLogAnomalyDetectorRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
1211
+ UpdateLogAnomalyDetectorRequest.add_member(:anomaly_visibility_time, Shapes::ShapeRef.new(shape: AnomalyVisibilityTime, location_name: "anomalyVisibilityTime"))
1212
+ UpdateLogAnomalyDetectorRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
1213
+ UpdateLogAnomalyDetectorRequest.struct_class = Types::UpdateLogAnomalyDetectorRequest
1214
+
1041
1215
  ValidationException.struct_class = Types::ValidationException
1042
1216
 
1043
1217
 
@@ -1111,6 +1285,19 @@ module Aws::CloudWatchLogs
1111
1285
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1112
1286
  end)
1113
1287
 
1288
+ api.add_operation(:create_log_anomaly_detector, Seahorse::Model::Operation.new.tap do |o|
1289
+ o.name = "CreateLogAnomalyDetector"
1290
+ o.http_method = "POST"
1291
+ o.http_request_uri = "/"
1292
+ o.input = Shapes::ShapeRef.new(shape: CreateLogAnomalyDetectorRequest)
1293
+ o.output = Shapes::ShapeRef.new(shape: CreateLogAnomalyDetectorResponse)
1294
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1295
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1296
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1297
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
1298
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1299
+ end)
1300
+
1114
1301
  api.add_operation(:create_log_group, Seahorse::Model::Operation.new.tap do |o|
1115
1302
  o.name = "CreateLogGroup"
1116
1303
  o.http_method = "POST"
@@ -1226,6 +1413,18 @@ module Aws::CloudWatchLogs
1226
1413
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1227
1414
  end)
1228
1415
 
1416
+ api.add_operation(:delete_log_anomaly_detector, Seahorse::Model::Operation.new.tap do |o|
1417
+ o.name = "DeleteLogAnomalyDetector"
1418
+ o.http_method = "POST"
1419
+ o.http_request_uri = "/"
1420
+ o.input = Shapes::ShapeRef.new(shape: DeleteLogAnomalyDetectorRequest)
1421
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1422
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1423
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1424
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1425
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
1426
+ end)
1427
+
1229
1428
  api.add_operation(:delete_log_group, Seahorse::Model::Operation.new.tap do |o|
1230
1429
  o.name = "DeleteLogGroup"
1231
1430
  o.http_method = "POST"
@@ -1589,6 +1788,18 @@ module Aws::CloudWatchLogs
1589
1788
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1590
1789
  end)
1591
1790
 
1791
+ api.add_operation(:get_log_anomaly_detector, Seahorse::Model::Operation.new.tap do |o|
1792
+ o.name = "GetLogAnomalyDetector"
1793
+ o.http_method = "POST"
1794
+ o.http_request_uri = "/"
1795
+ o.input = Shapes::ShapeRef.new(shape: GetLogAnomalyDetectorRequest)
1796
+ o.output = Shapes::ShapeRef.new(shape: GetLogAnomalyDetectorResponse)
1797
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1798
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1799
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1800
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
1801
+ end)
1802
+
1592
1803
  api.add_operation(:get_log_events, Seahorse::Model::Operation.new.tap do |o|
1593
1804
  o.name = "GetLogEvents"
1594
1805
  o.http_method = "POST"
@@ -1641,6 +1852,42 @@ module Aws::CloudWatchLogs
1641
1852
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1642
1853
  end)
1643
1854
 
1855
+ api.add_operation(:list_anomalies, Seahorse::Model::Operation.new.tap do |o|
1856
+ o.name = "ListAnomalies"
1857
+ o.http_method = "POST"
1858
+ o.http_request_uri = "/"
1859
+ o.input = Shapes::ShapeRef.new(shape: ListAnomaliesRequest)
1860
+ o.output = Shapes::ShapeRef.new(shape: ListAnomaliesResponse)
1861
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1862
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1863
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1864
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
1865
+ o[:pager] = Aws::Pager.new(
1866
+ limit_key: "limit",
1867
+ tokens: {
1868
+ "next_token" => "next_token"
1869
+ }
1870
+ )
1871
+ end)
1872
+
1873
+ api.add_operation(:list_log_anomaly_detectors, Seahorse::Model::Operation.new.tap do |o|
1874
+ o.name = "ListLogAnomalyDetectors"
1875
+ o.http_method = "POST"
1876
+ o.http_request_uri = "/"
1877
+ o.input = Shapes::ShapeRef.new(shape: ListLogAnomalyDetectorsRequest)
1878
+ o.output = Shapes::ShapeRef.new(shape: ListLogAnomalyDetectorsResponse)
1879
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1880
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1881
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1882
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
1883
+ o[:pager] = Aws::Pager.new(
1884
+ limit_key: "limit",
1885
+ tokens: {
1886
+ "next_token" => "next_token"
1887
+ }
1888
+ )
1889
+ end)
1890
+
1644
1891
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1645
1892
  o.name = "ListTagsForResource"
1646
1893
  o.http_method = "POST"
@@ -1902,6 +2149,30 @@ module Aws::CloudWatchLogs
1902
2149
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1903
2150
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1904
2151
  end)
2152
+
2153
+ api.add_operation(:update_anomaly, Seahorse::Model::Operation.new.tap do |o|
2154
+ o.name = "UpdateAnomaly"
2155
+ o.http_method = "POST"
2156
+ o.http_request_uri = "/"
2157
+ o.input = Shapes::ShapeRef.new(shape: UpdateAnomalyRequest)
2158
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2159
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2160
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2161
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2162
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
2163
+ end)
2164
+
2165
+ api.add_operation(:update_log_anomaly_detector, Seahorse::Model::Operation.new.tap do |o|
2166
+ o.name = "UpdateLogAnomalyDetector"
2167
+ o.http_method = "POST"
2168
+ o.http_request_uri = "/"
2169
+ o.input = Shapes::ShapeRef.new(shape: UpdateLogAnomalyDetectorRequest)
2170
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2171
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2172
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2173
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2174
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
2175
+ end)
1905
2176
  end
1906
2177
 
1907
2178
  end
@@ -68,6 +68,20 @@ module Aws::CloudWatchLogs
68
68
  end
69
69
  end
70
70
 
71
+ class CreateLogAnomalyDetector
72
+ def self.build(context)
73
+ unless context.config.regional_endpoint
74
+ endpoint = context.config.endpoint.to_s
75
+ end
76
+ Aws::CloudWatchLogs::EndpointParameters.new(
77
+ region: context.config.region,
78
+ use_dual_stack: context.config.use_dualstack_endpoint,
79
+ use_fips: context.config.use_fips_endpoint,
80
+ endpoint: endpoint,
81
+ )
82
+ end
83
+ end
84
+
71
85
  class CreateLogGroup
72
86
  def self.build(context)
73
87
  unless context.config.regional_endpoint
@@ -194,6 +208,20 @@ module Aws::CloudWatchLogs
194
208
  end
195
209
  end
196
210
 
211
+ class DeleteLogAnomalyDetector
212
+ def self.build(context)
213
+ unless context.config.regional_endpoint
214
+ endpoint = context.config.endpoint.to_s
215
+ end
216
+ Aws::CloudWatchLogs::EndpointParameters.new(
217
+ region: context.config.region,
218
+ use_dual_stack: context.config.use_dualstack_endpoint,
219
+ use_fips: context.config.use_fips_endpoint,
220
+ endpoint: endpoint,
221
+ )
222
+ end
223
+ end
224
+
197
225
  class DeleteLogGroup
198
226
  def self.build(context)
199
227
  unless context.config.regional_endpoint
@@ -572,6 +600,20 @@ module Aws::CloudWatchLogs
572
600
  end
573
601
  end
574
602
 
603
+ class GetLogAnomalyDetector
604
+ def self.build(context)
605
+ unless context.config.regional_endpoint
606
+ endpoint = context.config.endpoint.to_s
607
+ end
608
+ Aws::CloudWatchLogs::EndpointParameters.new(
609
+ region: context.config.region,
610
+ use_dual_stack: context.config.use_dualstack_endpoint,
611
+ use_fips: context.config.use_fips_endpoint,
612
+ endpoint: endpoint,
613
+ )
614
+ end
615
+ end
616
+
575
617
  class GetLogEvents
576
618
  def self.build(context)
577
619
  unless context.config.regional_endpoint
@@ -628,6 +670,34 @@ module Aws::CloudWatchLogs
628
670
  end
629
671
  end
630
672
 
673
+ class ListAnomalies
674
+ def self.build(context)
675
+ unless context.config.regional_endpoint
676
+ endpoint = context.config.endpoint.to_s
677
+ end
678
+ Aws::CloudWatchLogs::EndpointParameters.new(
679
+ region: context.config.region,
680
+ use_dual_stack: context.config.use_dualstack_endpoint,
681
+ use_fips: context.config.use_fips_endpoint,
682
+ endpoint: endpoint,
683
+ )
684
+ end
685
+ end
686
+
687
+ class ListLogAnomalyDetectors
688
+ def self.build(context)
689
+ unless context.config.regional_endpoint
690
+ endpoint = context.config.endpoint.to_s
691
+ end
692
+ Aws::CloudWatchLogs::EndpointParameters.new(
693
+ region: context.config.region,
694
+ use_dual_stack: context.config.use_dualstack_endpoint,
695
+ use_fips: context.config.use_fips_endpoint,
696
+ endpoint: endpoint,
697
+ )
698
+ end
699
+ end
700
+
631
701
  class ListTagsForResource
632
702
  def self.build(context)
633
703
  unless context.config.regional_endpoint
@@ -936,5 +1006,33 @@ module Aws::CloudWatchLogs
936
1006
  end
937
1007
  end
938
1008
 
1009
+ class UpdateAnomaly
1010
+ def self.build(context)
1011
+ unless context.config.regional_endpoint
1012
+ endpoint = context.config.endpoint.to_s
1013
+ end
1014
+ Aws::CloudWatchLogs::EndpointParameters.new(
1015
+ region: context.config.region,
1016
+ use_dual_stack: context.config.use_dualstack_endpoint,
1017
+ use_fips: context.config.use_fips_endpoint,
1018
+ endpoint: endpoint,
1019
+ )
1020
+ end
1021
+ end
1022
+
1023
+ class UpdateLogAnomalyDetector
1024
+ def self.build(context)
1025
+ unless context.config.regional_endpoint
1026
+ endpoint = context.config.endpoint.to_s
1027
+ end
1028
+ Aws::CloudWatchLogs::EndpointParameters.new(
1029
+ region: context.config.region,
1030
+ use_dual_stack: context.config.use_dualstack_endpoint,
1031
+ use_fips: context.config.use_fips_endpoint,
1032
+ endpoint: endpoint,
1033
+ )
1034
+ end
1035
+ end
1036
+
939
1037
  end
940
1038
  end