@aws-sdk/client-cloudwatch-logs 3.686.0 → 3.691.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.
@@ -44,38 +44,38 @@ export interface AccountPolicy {
44
44
  * <p>The name of the account policy.</p>
45
45
  * @public
46
46
  */
47
- policyName?: string;
47
+ policyName?: string | undefined;
48
48
  /**
49
49
  * <p>The policy document for this account policy.</p>
50
50
  * <p>The JSON specified in <code>policyDocument</code> can be up to 30,720 characters.</p>
51
51
  * @public
52
52
  */
53
- policyDocument?: string;
53
+ policyDocument?: string | undefined;
54
54
  /**
55
55
  * <p>The date and time that this policy was most recently updated.</p>
56
56
  * @public
57
57
  */
58
- lastUpdatedTime?: number;
58
+ lastUpdatedTime?: number | undefined;
59
59
  /**
60
60
  * <p>The type of policy for this account policy.</p>
61
61
  * @public
62
62
  */
63
- policyType?: PolicyType;
63
+ policyType?: PolicyType | undefined;
64
64
  /**
65
65
  * <p>The scope of the account policy.</p>
66
66
  * @public
67
67
  */
68
- scope?: Scope;
68
+ scope?: Scope | undefined;
69
69
  /**
70
70
  * <p>The log group selection criteria for this subscription filter policy.</p>
71
71
  * @public
72
72
  */
73
- selectionCriteria?: string;
73
+ selectionCriteria?: string | undefined;
74
74
  /**
75
75
  * <p>The Amazon Web Services account ID that the policy applies to.</p>
76
76
  * @public
77
77
  */
78
- accountId?: string;
78
+ accountId?: string | undefined;
79
79
  }
80
80
  /**
81
81
  * <p>A structure that represents a valid record field header and whether it is mandatory.</p>
@@ -88,14 +88,14 @@ export interface RecordField {
88
88
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html">UpdateDeliveryConfiguration</a> operation. </p>
89
89
  * @public
90
90
  */
91
- name?: string;
91
+ name?: string | undefined;
92
92
  /**
93
93
  * <p>If this is <code>true</code>, the record field must be present in the <code>recordFields</code> parameter provided to a
94
94
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a> or
95
95
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html">UpdateDeliveryConfiguration</a> operation.</p>
96
96
  * @public
97
97
  */
98
- mandatory?: boolean;
98
+ mandatory?: boolean | undefined;
99
99
  }
100
100
  /**
101
101
  * <p>This structure contains the information for one sample log event that is associated
@@ -107,12 +107,12 @@ export interface LogEvent {
107
107
  * <p>The time stamp of the log event.</p>
108
108
  * @public
109
109
  */
110
- timestamp?: number;
110
+ timestamp?: number | undefined;
111
111
  /**
112
112
  * <p>The message content of the log event.</p>
113
113
  * @public
114
114
  */
115
- message?: string;
115
+ message?: string | undefined;
116
116
  }
117
117
  /**
118
118
  * <p>A structure that contains information about one pattern token related to
@@ -128,24 +128,24 @@ export interface PatternToken {
128
128
  * one that appears second is <code>2</code>, and so on.</p>
129
129
  * @public
130
130
  */
131
- dynamicTokenPosition?: number;
131
+ dynamicTokenPosition?: number | undefined;
132
132
  /**
133
133
  * <p>Specifies whether this is a dynamic token.</p>
134
134
  * @public
135
135
  */
136
- isDynamic?: boolean;
136
+ isDynamic?: boolean | undefined;
137
137
  /**
138
138
  * <p>The string represented by this token. If this is a dynamic token, the
139
139
  * value will be <code><*></code>
140
140
  * </p>
141
141
  * @public
142
142
  */
143
- tokenString?: string;
143
+ tokenString?: string | undefined;
144
144
  /**
145
145
  * <p>Contains the values found for a dynamic token, and the number of times each value was found.</p>
146
146
  * @public
147
147
  */
148
- enumerations?: Record<string, number>;
148
+ enumerations?: Record<string, number> | undefined;
149
149
  /**
150
150
  * <p>A name that CloudWatch Logs assigned to this dynamic token to make the pattern more readable. The string part of
151
151
  * the <code>inferredTokenName</code> gives you a clearer idea of the content of this token. The number part of
@@ -155,7 +155,7 @@ export interface PatternToken {
155
155
  * token is the third dynamic token in the pattern.</p>
156
156
  * @public
157
157
  */
158
- inferredTokenName?: string;
158
+ inferredTokenName?: string | undefined;
159
159
  }
160
160
  /**
161
161
  * @public
@@ -201,7 +201,7 @@ export interface Anomaly {
201
201
  * <p>The pattern used to help identify this anomaly, in regular expression format.</p>
202
202
  * @public
203
203
  */
204
- patternRegex?: string;
204
+ patternRegex?: string | undefined;
205
205
  /**
206
206
  * <p>The priority level of this anomaly, as determined by CloudWatch Logs. Priority is computed based on log
207
207
  * severity labels such as <code>FATAL</code> and <code>ERROR</code> and the amount of deviation from the baseline.
@@ -209,7 +209,7 @@ export interface Anomaly {
209
209
  * <code>HIGH</code>, <code>MEDIUM</code>, and <code>LOW</code>.</p>
210
210
  * @public
211
211
  */
212
- priority?: string;
212
+ priority?: string | undefined;
213
213
  /**
214
214
  * <p>The date and time when the anomaly detector first saw this anomaly.
215
215
  * It is specified as epoch time, which is the number of seconds
@@ -270,24 +270,24 @@ export interface Anomaly {
270
270
  * use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateAnomaly.html">UpdateAnomaly</a>.</p>
271
271
  * @public
272
272
  */
273
- suppressed?: boolean;
273
+ suppressed?: boolean | undefined;
274
274
  /**
275
275
  * <p>If the anomaly is suppressed, this indicates when it was suppressed.</p>
276
276
  * @public
277
277
  */
278
- suppressedDate?: number;
278
+ suppressedDate?: number | undefined;
279
279
  /**
280
280
  * <p>If the anomaly is suppressed, this indicates when the suppression will end. If this value is <code>0</code>,
281
281
  * the anomaly was suppressed with no expiration, with the <code>INFINITE</code> value.</p>
282
282
  * @public
283
283
  */
284
- suppressedUntil?: number;
284
+ suppressedUntil?: number | undefined;
285
285
  /**
286
286
  * <p>If this anomaly is suppressed, this field is <code>true</code> if the suppression is because the
287
287
  * pattern is suppressed. If <code>false</code>, then only this particular anomaly is suppressed.</p>
288
288
  * @public
289
289
  */
290
- isPatternLevelSuppression?: boolean;
290
+ isPatternLevelSuppression?: boolean | undefined;
291
291
  }
292
292
  /**
293
293
  * @public
@@ -330,57 +330,57 @@ export interface AnomalyDetector {
330
330
  * <p>The ARN of the anomaly detector.</p>
331
331
  * @public
332
332
  */
333
- anomalyDetectorArn?: string;
333
+ anomalyDetectorArn?: string | undefined;
334
334
  /**
335
335
  * <p>The name of the anomaly detector.</p>
336
336
  * @public
337
337
  */
338
- detectorName?: string;
338
+ detectorName?: string | undefined;
339
339
  /**
340
340
  * <p>A list of the ARNs of the log groups that this anomaly detector watches.</p>
341
341
  * @public
342
342
  */
343
- logGroupArnList?: string[];
343
+ logGroupArnList?: string[] | undefined;
344
344
  /**
345
345
  * <p>Specifies how often the anomaly detector runs and look for anomalies.</p>
346
346
  * @public
347
347
  */
348
- evaluationFrequency?: EvaluationFrequency;
348
+ evaluationFrequency?: EvaluationFrequency | undefined;
349
349
  /**
350
350
  * <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
351
351
  * event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
352
352
  * use the filter pattern to specify what to look for in the log event message.</p>
353
353
  * @public
354
354
  */
355
- filterPattern?: string;
355
+ filterPattern?: string | undefined;
356
356
  /**
357
357
  * <p>Specifies the current status of the anomaly detector. To pause an anomaly detector, use
358
358
  * the <code>enabled</code> parameter in the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateLogAnomalyDetector.html">UpdateLogAnomalyDetector</a>
359
359
  * operation.</p>
360
360
  * @public
361
361
  */
362
- anomalyDetectorStatus?: AnomalyDetectorStatus;
362
+ anomalyDetectorStatus?: AnomalyDetectorStatus | undefined;
363
363
  /**
364
364
  * <p>The ID of the KMS key assigned to this anomaly detector, if any.</p>
365
365
  * @public
366
366
  */
367
- kmsKeyId?: string;
367
+ kmsKeyId?: string | undefined;
368
368
  /**
369
369
  * <p>The date and time when this anomaly detector was created.</p>
370
370
  * @public
371
371
  */
372
- creationTimeStamp?: number;
372
+ creationTimeStamp?: number | undefined;
373
373
  /**
374
374
  * <p>The date and time when this anomaly detector was most recently modified.</p>
375
375
  * @public
376
376
  */
377
- lastModifiedTimeStamp?: number;
377
+ lastModifiedTimeStamp?: number | undefined;
378
378
  /**
379
379
  * <p>The number of days used as the life cycle of anomalies. After this time, anomalies are automatically baselined
380
380
  * and the anomaly detector model will treat new occurrences of similar event as normal. </p>
381
381
  * @public
382
382
  */
383
- anomalyVisibilityTime?: number;
383
+ anomalyVisibilityTime?: number | undefined;
384
384
  }
385
385
  /**
386
386
  * @public
@@ -393,7 +393,7 @@ export interface AssociateKmsKeyRequest {
393
393
  * but you can't specify both.</p>
394
394
  * @public
395
395
  */
396
- logGroupName?: string;
396
+ logGroupName?: string | undefined;
397
397
  /**
398
398
  * <p>The Amazon Resource Name (ARN) of the KMS key to use when encrypting log
399
399
  * data. This must be a symmetric KMS key. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms">Amazon Resource Names</a> and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using Symmetric and Asymmetric
@@ -429,7 +429,7 @@ export interface AssociateKmsKeyRequest {
429
429
  * but you can't specify both.</p>
430
430
  * @public
431
431
  */
432
- resourceIdentifier?: string;
432
+ resourceIdentifier?: string | undefined;
433
433
  }
434
434
  /**
435
435
  * <p>A parameter is specified incorrectly.</p>
@@ -527,12 +527,12 @@ export interface S3DeliveryConfiguration {
527
527
  * more info on what values are supported in the suffix path for each log source.</p>
528
528
  * @public
529
529
  */
530
- suffixPath?: string;
530
+ suffixPath?: string | undefined;
531
531
  /**
532
532
  * <p>This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.</p>
533
533
  * @public
534
534
  */
535
- enableHiveCompatiblePath?: boolean;
535
+ enableHiveCompatiblePath?: boolean | undefined;
536
536
  }
537
537
  /**
538
538
  * <p>This structure contains the default values that are used for each configuration parameter when you use
@@ -545,19 +545,19 @@ export interface ConfigurationTemplateDeliveryConfigValues {
545
545
  * a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a> operation.</p>
546
546
  * @public
547
547
  */
548
- recordFields?: string[];
548
+ recordFields?: string[] | undefined;
549
549
  /**
550
550
  * <p>The default field delimiter that is used in a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a> operation when
551
551
  * the field delimiter is not specified in that operation. The field delimiter is used only when
552
552
  * the final output delivery is in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p>
553
553
  * @public
554
554
  */
555
- fieldDelimiter?: string;
555
+ fieldDelimiter?: string | undefined;
556
556
  /**
557
557
  * <p>The delivery parameters that are used when you create a delivery to a delivery destination that is an S3 Bucket.</p>
558
558
  * @public
559
559
  */
560
- s3DeliveryConfiguration?: S3DeliveryConfiguration;
560
+ s3DeliveryConfiguration?: S3DeliveryConfiguration | undefined;
561
561
  }
562
562
  /**
563
563
  * @public
@@ -584,57 +584,57 @@ export interface ConfigurationTemplate {
584
584
  * services.</a>.</p>
585
585
  * @public
586
586
  */
587
- service?: string;
587
+ service?: string | undefined;
588
588
  /**
589
589
  * <p>A string specifying which log type this configuration template applies to.</p>
590
590
  * @public
591
591
  */
592
- logType?: string;
592
+ logType?: string | undefined;
593
593
  /**
594
594
  * <p>A string specifying which resource type this configuration template applies to.</p>
595
595
  * @public
596
596
  */
597
- resourceType?: string;
597
+ resourceType?: string | undefined;
598
598
  /**
599
599
  * <p>A string specifying which destination type this configuration template applies to.</p>
600
600
  * @public
601
601
  */
602
- deliveryDestinationType?: DeliveryDestinationType;
602
+ deliveryDestinationType?: DeliveryDestinationType | undefined;
603
603
  /**
604
604
  * <p>A mapping that displays the default value of each property within a delivery's configuration,
605
605
  * if it is not specified in the request.</p>
606
606
  * @public
607
607
  */
608
- defaultDeliveryConfigValues?: ConfigurationTemplateDeliveryConfigValues;
608
+ defaultDeliveryConfigValues?: ConfigurationTemplateDeliveryConfigValues | undefined;
609
609
  /**
610
610
  * <p>The allowed fields that a caller can use in the <code>recordFields</code> parameter of a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a> or
611
611
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html">UpdateDeliveryConfiguration</a> operation.</p>
612
612
  * @public
613
613
  */
614
- allowedFields?: RecordField[];
614
+ allowedFields?: RecordField[] | undefined;
615
615
  /**
616
616
  * <p>The list of delivery destination output formats that are supported by this log source.</p>
617
617
  * @public
618
618
  */
619
- allowedOutputFormats?: OutputFormat[];
619
+ allowedOutputFormats?: OutputFormat[] | undefined;
620
620
  /**
621
621
  * <p>The action permissions that a caller needs to have to be able to successfully create a delivery source on the
622
622
  * desired resource type when calling <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html">PutDeliverySource</a>.</p>
623
623
  * @public
624
624
  */
625
- allowedActionForAllowVendedLogsDeliveryForResource?: string;
625
+ allowedActionForAllowVendedLogsDeliveryForResource?: string | undefined;
626
626
  /**
627
627
  * <p>The valid values that a caller can use as field delimiters when calling <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a> or
628
628
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html">UpdateDeliveryConfiguration</a>
629
629
  * on a delivery that delivers in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p>
630
630
  * @public
631
631
  */
632
- allowedFieldDelimiters?: string[];
632
+ allowedFieldDelimiters?: string[] | undefined;
633
633
  /**
634
634
  * <p>The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.</p>
635
635
  * @public
636
636
  */
637
- allowedSuffixPathFields?: string[];
637
+ allowedSuffixPathFields?: string[] | undefined;
638
638
  }
639
639
  /**
640
640
  * <p>This operation attempted to create a resource that already exists.</p>
@@ -667,18 +667,18 @@ export interface CreateDeliveryRequest {
667
667
  * If the delivery's log source has mandatory fields, they must be included in this list.</p>
668
668
  * @public
669
669
  */
670
- recordFields?: string[];
670
+ recordFields?: string[] | undefined;
671
671
  /**
672
672
  * <p>The field delimiter to use between record fields when the final output format of a delivery
673
673
  * is in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p>
674
674
  * @public
675
675
  */
676
- fieldDelimiter?: string;
676
+ fieldDelimiter?: string | undefined;
677
677
  /**
678
678
  * <p>This structure contains parameters that are valid only when the delivery's delivery destination is an S3 bucket.</p>
679
679
  * @public
680
680
  */
681
- s3DeliveryConfiguration?: S3DeliveryConfiguration;
681
+ s3DeliveryConfiguration?: S3DeliveryConfiguration | undefined;
682
682
  /**
683
683
  * <p>An optional list of key-value pairs to associate with the resource.</p>
684
684
  * <p>For more information about tagging, see
@@ -686,7 +686,7 @@ export interface CreateDeliveryRequest {
686
686
  * </p>
687
687
  * @public
688
688
  */
689
- tags?: Record<string, string>;
689
+ tags?: Record<string, string> | undefined;
690
690
  }
691
691
  /**
692
692
  * <p>This structure contains information about one <i>delivery</i> in your account. </p>
@@ -701,48 +701,48 @@ export interface Delivery {
701
701
  * <p>The unique ID that identifies this delivery in your account.</p>
702
702
  * @public
703
703
  */
704
- id?: string;
704
+ id?: string | undefined;
705
705
  /**
706
706
  * <p>The Amazon Resource Name (ARN) that uniquely identifies this delivery.</p>
707
707
  * @public
708
708
  */
709
- arn?: string;
709
+ arn?: string | undefined;
710
710
  /**
711
711
  * <p>The name of the delivery source that is associated with this delivery.</p>
712
712
  * @public
713
713
  */
714
- deliverySourceName?: string;
714
+ deliverySourceName?: string | undefined;
715
715
  /**
716
716
  * <p>The ARN of the delivery destination that is associated with this delivery.</p>
717
717
  * @public
718
718
  */
719
- deliveryDestinationArn?: string;
719
+ deliveryDestinationArn?: string | undefined;
720
720
  /**
721
721
  * <p>Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Firehose.</p>
722
722
  * @public
723
723
  */
724
- deliveryDestinationType?: DeliveryDestinationType;
724
+ deliveryDestinationType?: DeliveryDestinationType | undefined;
725
725
  /**
726
726
  * <p>The record fields used in this delivery.</p>
727
727
  * @public
728
728
  */
729
- recordFields?: string[];
729
+ recordFields?: string[] | undefined;
730
730
  /**
731
731
  * <p>The field delimiter that is used between record fields when the final output format of a delivery
732
732
  * is in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p>
733
733
  * @public
734
734
  */
735
- fieldDelimiter?: string;
735
+ fieldDelimiter?: string | undefined;
736
736
  /**
737
737
  * <p>This structure contains delivery configurations that apply only when the delivery destination resource is an S3 bucket.</p>
738
738
  * @public
739
739
  */
740
- s3DeliveryConfiguration?: S3DeliveryConfiguration;
740
+ s3DeliveryConfiguration?: S3DeliveryConfiguration | undefined;
741
741
  /**
742
742
  * <p>The tags that have been assigned to this delivery.</p>
743
743
  * @public
744
744
  */
745
- tags?: Record<string, string>;
745
+ tags?: Record<string, string> | undefined;
746
746
  }
747
747
  /**
748
748
  * @public
@@ -752,7 +752,7 @@ export interface CreateDeliveryResponse {
752
752
  * <p>A structure that contains information about the delivery that you just created.</p>
753
753
  * @public
754
754
  */
755
- delivery?: Delivery;
755
+ delivery?: Delivery | undefined;
756
756
  }
757
757
  /**
758
758
  * <p>This request exceeds a service quota.</p>
@@ -798,7 +798,7 @@ export interface CreateExportTaskRequest {
798
798
  * <p>The name of the export task.</p>
799
799
  * @public
800
800
  */
801
- taskName?: string;
801
+ taskName?: string | undefined;
802
802
  /**
803
803
  * <p>The name of the log group.</p>
804
804
  * @public
@@ -809,7 +809,7 @@ export interface CreateExportTaskRequest {
809
809
  * specify a value, no prefix filter is applied.</p>
810
810
  * @public
811
811
  */
812
- logStreamNamePrefix?: string;
812
+ logStreamNamePrefix?: string | undefined;
813
813
  /**
814
814
  * <p>The start time of the range for the request, expressed as the number of milliseconds
815
815
  * after <code>Jan 1, 1970 00:00:00 UTC</code>. Events with a timestamp earlier than this time
@@ -837,7 +837,7 @@ export interface CreateExportTaskRequest {
837
837
  * and can be up to 1,024 bytes.</p>
838
838
  * @public
839
839
  */
840
- destinationPrefix?: string;
840
+ destinationPrefix?: string | undefined;
841
841
  }
842
842
  /**
843
843
  * @public
@@ -847,7 +847,7 @@ export interface CreateExportTaskResponse {
847
847
  * <p>The ID of the export task.</p>
848
848
  * @public
849
849
  */
850
- taskId?: string;
850
+ taskId?: string | undefined;
851
851
  }
852
852
  /**
853
853
  * <p>You have reached the maximum number of resources that can be created.</p>
@@ -887,7 +887,7 @@ export interface CreateLogAnomalyDetectorRequest {
887
887
  * <p>A name for this anomaly detector.</p>
888
888
  * @public
889
889
  */
890
- detectorName?: string;
890
+ detectorName?: string | undefined;
891
891
  /**
892
892
  * <p>Specifies how often the anomaly detector is to run and look for anomalies. Set this value
893
893
  * according to the frequency that the log group receives new logs. For example, if the log group
@@ -895,13 +895,13 @@ export interface CreateLogAnomalyDetectorRequest {
895
895
  * <code>evaluationFrequency</code> .</p>
896
896
  * @public
897
897
  */
898
- evaluationFrequency?: EvaluationFrequency;
898
+ evaluationFrequency?: EvaluationFrequency | undefined;
899
899
  /**
900
900
  * <p>You can use this parameter to limit the anomaly detection model to examine only log events
901
901
  * that match the pattern you specify here. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html">Filter and Pattern Syntax</a>.</p>
902
902
  * @public
903
903
  */
904
- filterPattern?: string;
904
+ filterPattern?: string | undefined;
905
905
  /**
906
906
  * <p>Optionally assigns a KMS key to secure this anomaly detector and its findings. If a key is
907
907
  * assigned, the anomalies found and the model used by this detector are encrypted at rest with the key. If
@@ -911,7 +911,7 @@ export interface CreateLogAnomalyDetectorRequest {
911
911
  * policy, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/LogsAnomalyDetection-KMS.html">Use a KMS key with an anomaly detector</a>.</p>
912
912
  * @public
913
913
  */
914
- kmsKeyId?: string;
914
+ kmsKeyId?: string | undefined;
915
915
  /**
916
916
  * <p>The number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly,
917
917
  * it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as
@@ -921,7 +921,7 @@ export interface CreateLogAnomalyDetectorRequest {
921
921
  * going forward and will not be detected as an anomaly.</p>
922
922
  * @public
923
923
  */
924
- anomalyVisibilityTime?: number;
924
+ anomalyVisibilityTime?: number | undefined;
925
925
  /**
926
926
  * <p>An optional list of key-value pairs to associate with the resource.</p>
927
927
  * <p>For more information about tagging, see
@@ -929,7 +929,7 @@ export interface CreateLogAnomalyDetectorRequest {
929
929
  * </p>
930
930
  * @public
931
931
  */
932
- tags?: Record<string, string>;
932
+ tags?: Record<string, string> | undefined;
933
933
  }
934
934
  /**
935
935
  * @public
@@ -939,7 +939,7 @@ export interface CreateLogAnomalyDetectorResponse {
939
939
  * <p>The ARN of the log anomaly detector that you just created.</p>
940
940
  * @public
941
941
  */
942
- anomalyDetectorArn?: string;
942
+ anomalyDetectorArn?: string | undefined;
943
943
  }
944
944
  /**
945
945
  * @public
@@ -968,7 +968,7 @@ export interface CreateLogGroupRequest {
968
968
  * Names</a>.</p>
969
969
  * @public
970
970
  */
971
- kmsKeyId?: string;
971
+ kmsKeyId?: string | undefined;
972
972
  /**
973
973
  * <p>The key-value pairs to use for the tags.</p>
974
974
  * <p>You can grant users access to certain log groups while preventing them from accessing other log groups.
@@ -980,7 +980,7 @@ export interface CreateLogGroupRequest {
980
980
  * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
981
981
  * @public
982
982
  */
983
- tags?: Record<string, string>;
983
+ tags?: Record<string, string> | undefined;
984
984
  /**
985
985
  * <p>Use this parameter to specify the log group class for this log group. There are two classes:</p>
986
986
  * <ul>
@@ -1001,7 +1001,7 @@ export interface CreateLogGroupRequest {
1001
1001
  * </p>
1002
1002
  * @public
1003
1003
  */
1004
- logGroupClass?: LogGroupClass;
1004
+ logGroupClass?: LogGroupClass | undefined;
1005
1005
  }
1006
1006
  /**
1007
1007
  * @public
@@ -1032,7 +1032,7 @@ export interface CreateLogStreamRequest {
1032
1032
  export declare class DataAlreadyAcceptedException extends __BaseException {
1033
1033
  readonly name: "DataAlreadyAcceptedException";
1034
1034
  readonly $fault: "client";
1035
- expectedSequenceToken?: string;
1035
+ expectedSequenceToken?: string | undefined;
1036
1036
  /**
1037
1037
  * @internal
1038
1038
  */
@@ -1202,7 +1202,7 @@ export interface DeleteQueryDefinitionResponse {
1202
1202
  * failed.</p>
1203
1203
  * @public
1204
1204
  */
1205
- success?: boolean;
1205
+ success?: boolean | undefined;
1206
1206
  }
1207
1207
  /**
1208
1208
  * @public
@@ -1212,7 +1212,7 @@ export interface DeleteResourcePolicyRequest {
1212
1212
  * <p>The name of the policy to be revoked. This parameter is required.</p>
1213
1213
  * @public
1214
1214
  */
1215
- policyName?: string;
1215
+ policyName?: string | undefined;
1216
1216
  }
1217
1217
  /**
1218
1218
  * @public
@@ -1287,32 +1287,32 @@ export interface DeliveryDestination {
1287
1287
  * <p>The name of this delivery destination.</p>
1288
1288
  * @public
1289
1289
  */
1290
- name?: string;
1290
+ name?: string | undefined;
1291
1291
  /**
1292
1292
  * <p>The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.</p>
1293
1293
  * @public
1294
1294
  */
1295
- arn?: string;
1295
+ arn?: string | undefined;
1296
1296
  /**
1297
1297
  * <p>Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Firehose.</p>
1298
1298
  * @public
1299
1299
  */
1300
- deliveryDestinationType?: DeliveryDestinationType;
1300
+ deliveryDestinationType?: DeliveryDestinationType | undefined;
1301
1301
  /**
1302
1302
  * <p>The format of the logs that are sent to this delivery destination. </p>
1303
1303
  * @public
1304
1304
  */
1305
- outputFormat?: OutputFormat;
1305
+ outputFormat?: OutputFormat | undefined;
1306
1306
  /**
1307
1307
  * <p>A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.</p>
1308
1308
  * @public
1309
1309
  */
1310
- deliveryDestinationConfiguration?: DeliveryDestinationConfiguration;
1310
+ deliveryDestinationConfiguration?: DeliveryDestinationConfiguration | undefined;
1311
1311
  /**
1312
1312
  * <p>The tags that have been assigned to this delivery destination.</p>
1313
1313
  * @public
1314
1314
  */
1315
- tags?: Record<string, string>;
1315
+ tags?: Record<string, string> | undefined;
1316
1316
  }
1317
1317
  /**
1318
1318
  * <p>This structure contains information about one <i>delivery source</i> in your account.
@@ -1356,34 +1356,34 @@ export interface DeliverySource {
1356
1356
  * <p>The unique name of the delivery source.</p>
1357
1357
  * @public
1358
1358
  */
1359
- name?: string;
1359
+ name?: string | undefined;
1360
1360
  /**
1361
1361
  * <p>The Amazon Resource Name (ARN) that uniquely identifies this delivery source.</p>
1362
1362
  * @public
1363
1363
  */
1364
- arn?: string;
1364
+ arn?: string | undefined;
1365
1365
  /**
1366
1366
  * <p>This array contains the ARN of the Amazon Web Services resource that sends logs and is represented by
1367
1367
  * this delivery source. Currently, only one ARN can be in the array.</p>
1368
1368
  * @public
1369
1369
  */
1370
- resourceArns?: string[];
1370
+ resourceArns?: string[] | undefined;
1371
1371
  /**
1372
1372
  * <p>The Amazon Web Services service that is sending logs.</p>
1373
1373
  * @public
1374
1374
  */
1375
- service?: string;
1375
+ service?: string | undefined;
1376
1376
  /**
1377
1377
  * <p>The type of log that the source is sending. For valid values for this parameter, see the documentation for
1378
1378
  * the source service.</p>
1379
1379
  * @public
1380
1380
  */
1381
- logType?: string;
1381
+ logType?: string | undefined;
1382
1382
  /**
1383
1383
  * <p>The tags that have been assigned to this delivery source.</p>
1384
1384
  * @public
1385
1385
  */
1386
- tags?: Record<string, string>;
1386
+ tags?: Record<string, string> | undefined;
1387
1387
  }
1388
1388
  /**
1389
1389
  * @public
@@ -1399,7 +1399,7 @@ export interface DescribeAccountPoliciesRequest {
1399
1399
  * <p>Use this parameter to limit the returned policies to only the policy with the name that you specify.</p>
1400
1400
  * @public
1401
1401
  */
1402
- policyName?: string;
1402
+ policyName?: string | undefined;
1403
1403
  /**
1404
1404
  * <p>If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account
1405
1405
  * observability, you can use this to specify the account ID of a source account. If you do,
@@ -1409,7 +1409,7 @@ export interface DescribeAccountPoliciesRequest {
1409
1409
  * omit this parameter, only the policy in the current account is returned.</p>
1410
1410
  * @public
1411
1411
  */
1412
- accountIdentifiers?: string[];
1412
+ accountIdentifiers?: string[] | undefined;
1413
1413
  }
1414
1414
  /**
1415
1415
  * @public
@@ -1420,7 +1420,7 @@ export interface DescribeAccountPoliciesResponse {
1420
1420
  * the specified filters.</p>
1421
1421
  * @public
1422
1422
  */
1423
- accountPolicies?: AccountPolicy[];
1423
+ accountPolicies?: AccountPolicy[] | undefined;
1424
1424
  }
1425
1425
  /**
1426
1426
  * @public
@@ -1431,36 +1431,36 @@ export interface DescribeConfigurationTemplatesRequest {
1431
1431
  * configuration templates that apply to the Amazon Web Services service that you specify here.</p>
1432
1432
  * @public
1433
1433
  */
1434
- service?: string;
1434
+ service?: string | undefined;
1435
1435
  /**
1436
1436
  * <p>Use this parameter to filter the response to include only the
1437
1437
  * configuration templates that apply to the log types that you specify here.</p>
1438
1438
  * @public
1439
1439
  */
1440
- logTypes?: string[];
1440
+ logTypes?: string[] | undefined;
1441
1441
  /**
1442
1442
  * <p>Use this parameter to filter the response to include only the
1443
1443
  * configuration templates that apply to the resource types that you specify here.</p>
1444
1444
  * @public
1445
1445
  */
1446
- resourceTypes?: string[];
1446
+ resourceTypes?: string[] | undefined;
1447
1447
  /**
1448
1448
  * <p>Use this parameter to filter the response to include only the
1449
1449
  * configuration templates that apply to the delivery destination types that you specify here.</p>
1450
1450
  * @public
1451
1451
  */
1452
- deliveryDestinationTypes?: DeliveryDestinationType[];
1452
+ deliveryDestinationTypes?: DeliveryDestinationType[] | undefined;
1453
1453
  /**
1454
1454
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1455
1455
  * @public
1456
1456
  */
1457
- nextToken?: string;
1457
+ nextToken?: string | undefined;
1458
1458
  /**
1459
1459
  * <p>Use this parameter to limit the number of configuration templates that are returned
1460
1460
  * in the response.</p>
1461
1461
  * @public
1462
1462
  */
1463
- limit?: number;
1463
+ limit?: number | undefined;
1464
1464
  }
1465
1465
  /**
1466
1466
  * @public
@@ -1471,12 +1471,12 @@ export interface DescribeConfigurationTemplatesResponse {
1471
1471
  * the filters that you specified in the request.</p>
1472
1472
  * @public
1473
1473
  */
1474
- configurationTemplates?: ConfigurationTemplate[];
1474
+ configurationTemplates?: ConfigurationTemplate[] | undefined;
1475
1475
  /**
1476
1476
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1477
1477
  * @public
1478
1478
  */
1479
- nextToken?: string;
1479
+ nextToken?: string | undefined;
1480
1480
  }
1481
1481
  /**
1482
1482
  * @public
@@ -1486,12 +1486,12 @@ export interface DescribeDeliveriesRequest {
1486
1486
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1487
1487
  * @public
1488
1488
  */
1489
- nextToken?: string;
1489
+ nextToken?: string | undefined;
1490
1490
  /**
1491
1491
  * <p>Optionally specify the maximum number of deliveries to return in the response.</p>
1492
1492
  * @public
1493
1493
  */
1494
- limit?: number;
1494
+ limit?: number | undefined;
1495
1495
  }
1496
1496
  /**
1497
1497
  * @public
@@ -1501,12 +1501,12 @@ export interface DescribeDeliveriesResponse {
1501
1501
  * <p>An array of structures. Each structure contains information about one delivery in the account.</p>
1502
1502
  * @public
1503
1503
  */
1504
- deliveries?: Delivery[];
1504
+ deliveries?: Delivery[] | undefined;
1505
1505
  /**
1506
1506
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1507
1507
  * @public
1508
1508
  */
1509
- nextToken?: string;
1509
+ nextToken?: string | undefined;
1510
1510
  }
1511
1511
  /**
1512
1512
  * @public
@@ -1516,12 +1516,12 @@ export interface DescribeDeliveryDestinationsRequest {
1516
1516
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1517
1517
  * @public
1518
1518
  */
1519
- nextToken?: string;
1519
+ nextToken?: string | undefined;
1520
1520
  /**
1521
1521
  * <p>Optionally specify the maximum number of delivery destinations to return in the response.</p>
1522
1522
  * @public
1523
1523
  */
1524
- limit?: number;
1524
+ limit?: number | undefined;
1525
1525
  }
1526
1526
  /**
1527
1527
  * @public
@@ -1531,12 +1531,12 @@ export interface DescribeDeliveryDestinationsResponse {
1531
1531
  * <p>An array of structures. Each structure contains information about one delivery destination in the account.</p>
1532
1532
  * @public
1533
1533
  */
1534
- deliveryDestinations?: DeliveryDestination[];
1534
+ deliveryDestinations?: DeliveryDestination[] | undefined;
1535
1535
  /**
1536
1536
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1537
1537
  * @public
1538
1538
  */
1539
- nextToken?: string;
1539
+ nextToken?: string | undefined;
1540
1540
  }
1541
1541
  /**
1542
1542
  * @public
@@ -1546,12 +1546,12 @@ export interface DescribeDeliverySourcesRequest {
1546
1546
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1547
1547
  * @public
1548
1548
  */
1549
- nextToken?: string;
1549
+ nextToken?: string | undefined;
1550
1550
  /**
1551
1551
  * <p>Optionally specify the maximum number of delivery sources to return in the response.</p>
1552
1552
  * @public
1553
1553
  */
1554
- limit?: number;
1554
+ limit?: number | undefined;
1555
1555
  }
1556
1556
  /**
1557
1557
  * @public
@@ -1561,12 +1561,12 @@ export interface DescribeDeliverySourcesResponse {
1561
1561
  * <p>An array of structures. Each structure contains information about one delivery source in the account.</p>
1562
1562
  * @public
1563
1563
  */
1564
- deliverySources?: DeliverySource[];
1564
+ deliverySources?: DeliverySource[] | undefined;
1565
1565
  /**
1566
1566
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1567
1567
  * @public
1568
1568
  */
1569
- nextToken?: string;
1569
+ nextToken?: string | undefined;
1570
1570
  }
1571
1571
  /**
1572
1572
  * @public
@@ -1576,18 +1576,18 @@ export interface DescribeDestinationsRequest {
1576
1576
  * <p>The prefix to match. If you don't specify a value, no prefix filter is applied.</p>
1577
1577
  * @public
1578
1578
  */
1579
- DestinationNamePrefix?: string;
1579
+ DestinationNamePrefix?: string | undefined;
1580
1580
  /**
1581
1581
  * <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
1582
1582
  * @public
1583
1583
  */
1584
- nextToken?: string;
1584
+ nextToken?: string | undefined;
1585
1585
  /**
1586
1586
  * <p>The maximum number of items returned. If you don't specify a value, the default maximum value of
1587
1587
  * 50 items is used.</p>
1588
1588
  * @public
1589
1589
  */
1590
- limit?: number;
1590
+ limit?: number | undefined;
1591
1591
  }
1592
1592
  /**
1593
1593
  * <p>Represents a cross-account destination that receives subscription log events.</p>
@@ -1598,35 +1598,35 @@ export interface Destination {
1598
1598
  * <p>The name of the destination.</p>
1599
1599
  * @public
1600
1600
  */
1601
- destinationName?: string;
1601
+ destinationName?: string | undefined;
1602
1602
  /**
1603
1603
  * <p>The Amazon Resource Name (ARN) of the physical target where the log events are
1604
1604
  * delivered (for example, a Kinesis stream).</p>
1605
1605
  * @public
1606
1606
  */
1607
- targetArn?: string;
1607
+ targetArn?: string | undefined;
1608
1608
  /**
1609
1609
  * <p>A role for impersonation, used when delivering log events to the target.</p>
1610
1610
  * @public
1611
1611
  */
1612
- roleArn?: string;
1612
+ roleArn?: string | undefined;
1613
1613
  /**
1614
1614
  * <p>An IAM policy document that governs which Amazon Web Services accounts can create subscription filters
1615
1615
  * against this destination.</p>
1616
1616
  * @public
1617
1617
  */
1618
- accessPolicy?: string;
1618
+ accessPolicy?: string | undefined;
1619
1619
  /**
1620
1620
  * <p>The ARN of this destination.</p>
1621
1621
  * @public
1622
1622
  */
1623
- arn?: string;
1623
+ arn?: string | undefined;
1624
1624
  /**
1625
1625
  * <p>The creation time of the destination, expressed as the number of milliseconds after Jan
1626
1626
  * 1, 1970 00:00:00 UTC.</p>
1627
1627
  * @public
1628
1628
  */
1629
- creationTime?: number;
1629
+ creationTime?: number | undefined;
1630
1630
  }
1631
1631
  /**
1632
1632
  * @public
@@ -1636,12 +1636,12 @@ export interface DescribeDestinationsResponse {
1636
1636
  * <p>The destinations.</p>
1637
1637
  * @public
1638
1638
  */
1639
- destinations?: Destination[];
1639
+ destinations?: Destination[] | undefined;
1640
1640
  /**
1641
1641
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1642
1642
  * @public
1643
1643
  */
1644
- nextToken?: string;
1644
+ nextToken?: string | undefined;
1645
1645
  }
1646
1646
  /**
1647
1647
  * @public
@@ -1668,22 +1668,22 @@ export interface DescribeExportTasksRequest {
1668
1668
  * export tasks.</p>
1669
1669
  * @public
1670
1670
  */
1671
- taskId?: string;
1671
+ taskId?: string | undefined;
1672
1672
  /**
1673
1673
  * <p>The status code of the export task. Specifying a status code filters the results to zero or more export tasks.</p>
1674
1674
  * @public
1675
1675
  */
1676
- statusCode?: ExportTaskStatusCode;
1676
+ statusCode?: ExportTaskStatusCode | undefined;
1677
1677
  /**
1678
1678
  * <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
1679
1679
  * @public
1680
1680
  */
1681
- nextToken?: string;
1681
+ nextToken?: string | undefined;
1682
1682
  /**
1683
1683
  * <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
1684
1684
  * @public
1685
1685
  */
1686
- limit?: number;
1686
+ limit?: number | undefined;
1687
1687
  }
1688
1688
  /**
1689
1689
  * <p>Represents the status of an export task.</p>
@@ -1695,13 +1695,13 @@ export interface ExportTaskExecutionInfo {
1695
1695
  * <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
1696
1696
  * @public
1697
1697
  */
1698
- creationTime?: number;
1698
+ creationTime?: number | undefined;
1699
1699
  /**
1700
1700
  * <p>The completion time of the export task, expressed as the number of milliseconds after
1701
1701
  * <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
1702
1702
  * @public
1703
1703
  */
1704
- completionTime?: number;
1704
+ completionTime?: number | undefined;
1705
1705
  }
1706
1706
  /**
1707
1707
  * <p>Represents the status of an export task.</p>
@@ -1712,12 +1712,12 @@ export interface ExportTaskStatus {
1712
1712
  * <p>The status code of the export task.</p>
1713
1713
  * @public
1714
1714
  */
1715
- code?: ExportTaskStatusCode;
1715
+ code?: ExportTaskStatusCode | undefined;
1716
1716
  /**
1717
1717
  * <p>The status message related to the status code.</p>
1718
1718
  * @public
1719
1719
  */
1720
- message?: string;
1720
+ message?: string | undefined;
1721
1721
  }
1722
1722
  /**
1723
1723
  * <p>Represents an export task.</p>
@@ -1728,49 +1728,49 @@ export interface ExportTask {
1728
1728
  * <p>The ID of the export task.</p>
1729
1729
  * @public
1730
1730
  */
1731
- taskId?: string;
1731
+ taskId?: string | undefined;
1732
1732
  /**
1733
1733
  * <p>The name of the export task.</p>
1734
1734
  * @public
1735
1735
  */
1736
- taskName?: string;
1736
+ taskName?: string | undefined;
1737
1737
  /**
1738
1738
  * <p>The name of the log group from which logs data was exported.</p>
1739
1739
  * @public
1740
1740
  */
1741
- logGroupName?: string;
1741
+ logGroupName?: string | undefined;
1742
1742
  /**
1743
1743
  * <p>The start time, expressed as the number of milliseconds after <code>Jan 1, 1970
1744
1744
  * 00:00:00 UTC</code>. Events with a timestamp before this time are not exported.</p>
1745
1745
  * @public
1746
1746
  */
1747
- from?: number;
1747
+ from?: number | undefined;
1748
1748
  /**
1749
1749
  * <p>The end time, expressed as the number of milliseconds after <code>Jan 1, 1970 00:00:00
1750
1750
  * UTC</code>. Events with a timestamp later than this time are not exported.</p>
1751
1751
  * @public
1752
1752
  */
1753
- to?: number;
1753
+ to?: number | undefined;
1754
1754
  /**
1755
1755
  * <p>The name of the S3 bucket to which the log data was exported.</p>
1756
1756
  * @public
1757
1757
  */
1758
- destination?: string;
1758
+ destination?: string | undefined;
1759
1759
  /**
1760
1760
  * <p>The prefix that was used as the start of Amazon S3 key for every object exported.</p>
1761
1761
  * @public
1762
1762
  */
1763
- destinationPrefix?: string;
1763
+ destinationPrefix?: string | undefined;
1764
1764
  /**
1765
1765
  * <p>The status of the export task.</p>
1766
1766
  * @public
1767
1767
  */
1768
- status?: ExportTaskStatus;
1768
+ status?: ExportTaskStatus | undefined;
1769
1769
  /**
1770
1770
  * <p>Execution information about the export task.</p>
1771
1771
  * @public
1772
1772
  */
1773
- executionInfo?: ExportTaskExecutionInfo;
1773
+ executionInfo?: ExportTaskExecutionInfo | undefined;
1774
1774
  }
1775
1775
  /**
1776
1776
  * @public
@@ -1780,12 +1780,12 @@ export interface DescribeExportTasksResponse {
1780
1780
  * <p>The export tasks.</p>
1781
1781
  * @public
1782
1782
  */
1783
- exportTasks?: ExportTask[];
1783
+ exportTasks?: ExportTask[] | undefined;
1784
1784
  /**
1785
1785
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1786
1786
  * @public
1787
1787
  */
1788
- nextToken?: string;
1788
+ nextToken?: string | undefined;
1789
1789
  }
1790
1790
  /**
1791
1791
  * @public
@@ -1796,7 +1796,7 @@ export interface DescribeLogGroupsRequest {
1796
1796
  * specify the list of accounts to search. You can specify as many as 20 account IDs in the array. </p>
1797
1797
  * @public
1798
1798
  */
1799
- accountIdentifiers?: string[];
1799
+ accountIdentifiers?: string[] | undefined;
1800
1800
  /**
1801
1801
  * <p>The prefix to match.</p>
1802
1802
  * <note>
@@ -1808,7 +1808,7 @@ export interface DescribeLogGroupsRequest {
1808
1808
  * </note>
1809
1809
  * @public
1810
1810
  */
1811
- logGroupNamePrefix?: string;
1811
+ logGroupNamePrefix?: string | undefined;
1812
1812
  /**
1813
1813
  * <p>If you specify a string for this parameter, the operation returns only log groups that have names
1814
1814
  * that match the string based on a case-sensitive substring search. For example, if you specify <code>Foo</code>, log groups
@@ -1826,17 +1826,17 @@ export interface DescribeLogGroupsRequest {
1826
1826
  * </note>
1827
1827
  * @public
1828
1828
  */
1829
- logGroupNamePattern?: string;
1829
+ logGroupNamePattern?: string | undefined;
1830
1830
  /**
1831
1831
  * <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
1832
1832
  * @public
1833
1833
  */
1834
- nextToken?: string;
1834
+ nextToken?: string | undefined;
1835
1835
  /**
1836
1836
  * <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
1837
1837
  * @public
1838
1838
  */
1839
- limit?: number;
1839
+ limit?: number | undefined;
1840
1840
  /**
1841
1841
  * <p>If you are using a monitoring account, set this to <code>True</code> to have the operation
1842
1842
  * return log groups in
@@ -1847,7 +1847,7 @@ export interface DescribeLogGroupsRequest {
1847
1847
  * and all log groups in all source accounts that are linked to the monitoring account. </p>
1848
1848
  * @public
1849
1849
  */
1850
- includeLinkedAccounts?: boolean;
1850
+ includeLinkedAccounts?: boolean | undefined;
1851
1851
  /**
1852
1852
  * <p>Specifies the log group class for this log group. There are two classes:</p>
1853
1853
  * <ul>
@@ -1864,7 +1864,7 @@ export interface DescribeLogGroupsRequest {
1864
1864
  * </p>
1865
1865
  * @public
1866
1866
  */
1867
- logGroupClass?: LogGroupClass;
1867
+ logGroupClass?: LogGroupClass | undefined;
1868
1868
  }
1869
1869
  /**
1870
1870
  * @public
@@ -1886,25 +1886,25 @@ export interface LogGroup {
1886
1886
  * <p>The name of the log group.</p>
1887
1887
  * @public
1888
1888
  */
1889
- logGroupName?: string;
1889
+ logGroupName?: string | undefined;
1890
1890
  /**
1891
1891
  * <p>The creation time of the log group, expressed as the number of milliseconds after Jan
1892
1892
  * 1, 1970 00:00:00 UTC.</p>
1893
1893
  * @public
1894
1894
  */
1895
- creationTime?: number;
1895
+ creationTime?: number | undefined;
1896
1896
  /**
1897
1897
  * <p>The number of days to retain the log events in the specified log group.
1898
1898
  * Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, and 3653.</p>
1899
1899
  * <p>To set a log group so that its log events do not expire, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html">DeleteRetentionPolicy</a>. </p>
1900
1900
  * @public
1901
1901
  */
1902
- retentionInDays?: number;
1902
+ retentionInDays?: number | undefined;
1903
1903
  /**
1904
1904
  * <p>The number of metric filters.</p>
1905
1905
  * @public
1906
1906
  */
1907
- metricFilterCount?: number;
1907
+ metricFilterCount?: number | undefined;
1908
1908
  /**
1909
1909
  * <p>The Amazon Resource Name (ARN) of the log group. This version of the ARN includes a trailing <code>:*</code> after the log group name. </p>
1910
1910
  * <p>Use this version to refer to the ARN in IAM policies when specifying permissions for most API actions. The exception is when specifying permissions for <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html">TagResource</a>, <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html">UntagResource</a>, and
@@ -1912,30 +1912,30 @@ export interface LogGroup {
1912
1912
  * The permissions for those three actions require the ARN version that doesn't include a trailing <code>:*</code>.</p>
1913
1913
  * @public
1914
1914
  */
1915
- arn?: string;
1915
+ arn?: string | undefined;
1916
1916
  /**
1917
1917
  * <p>The number of bytes stored.</p>
1918
1918
  * @public
1919
1919
  */
1920
- storedBytes?: number;
1920
+ storedBytes?: number | undefined;
1921
1921
  /**
1922
1922
  * <p>The Amazon Resource Name (ARN) of the KMS key to use when
1923
1923
  * encrypting log data.</p>
1924
1924
  * @public
1925
1925
  */
1926
- kmsKeyId?: string;
1926
+ kmsKeyId?: string | undefined;
1927
1927
  /**
1928
1928
  * <p>Displays whether this log group has a protection policy, or whether it had one in the past. For more information, see
1929
1929
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDataProtectionPolicy.html">PutDataProtectionPolicy</a>.</p>
1930
1930
  * @public
1931
1931
  */
1932
- dataProtectionStatus?: DataProtectionStatus;
1932
+ dataProtectionStatus?: DataProtectionStatus | undefined;
1933
1933
  /**
1934
1934
  * <p>Displays all the properties that this log group has inherited from account-level
1935
1935
  * settings.</p>
1936
1936
  * @public
1937
1937
  */
1938
- inheritedProperties?: InheritedProperty[];
1938
+ inheritedProperties?: InheritedProperty[] | undefined;
1939
1939
  /**
1940
1940
  * <p>This specifies the log group class for this log group. There are two classes:</p>
1941
1941
  * <ul>
@@ -1952,7 +1952,7 @@ export interface LogGroup {
1952
1952
  * </p>
1953
1953
  * @public
1954
1954
  */
1955
- logGroupClass?: LogGroupClass;
1955
+ logGroupClass?: LogGroupClass | undefined;
1956
1956
  /**
1957
1957
  * <p>The Amazon Resource Name (ARN) of the log group. This version of the ARN doesn't include a trailing <code>:*</code> after the log group name. </p>
1958
1958
  * <p>Use this version to refer to the ARN in the following situations:</p>
@@ -1970,7 +1970,7 @@ export interface LogGroup {
1970
1970
  * </ul>
1971
1971
  * @public
1972
1972
  */
1973
- logGroupArn?: string;
1973
+ logGroupArn?: string | undefined;
1974
1974
  }
1975
1975
  /**
1976
1976
  * @public
@@ -1982,12 +1982,12 @@ export interface DescribeLogGroupsResponse {
1982
1982
  * group's events do not expire.</p>
1983
1983
  * @public
1984
1984
  */
1985
- logGroups?: LogGroup[];
1985
+ logGroups?: LogGroup[] | undefined;
1986
1986
  /**
1987
1987
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1988
1988
  * @public
1989
1989
  */
1990
- nextToken?: string;
1990
+ nextToken?: string | undefined;
1991
1991
  }
1992
1992
  /**
1993
1993
  * @public
@@ -2015,7 +2015,7 @@ export interface DescribeLogStreamsRequest {
2015
2015
  * </note>
2016
2016
  * @public
2017
2017
  */
2018
- logGroupName?: string;
2018
+ logGroupName?: string | undefined;
2019
2019
  /**
2020
2020
  * <p>Specify either the name or ARN of the log group to view. If the log group is in a source account
2021
2021
  * and you are using a monitoring account, you must use the log group ARN.</p>
@@ -2027,14 +2027,14 @@ export interface DescribeLogStreamsRequest {
2027
2027
  * </note>
2028
2028
  * @public
2029
2029
  */
2030
- logGroupIdentifier?: string;
2030
+ logGroupIdentifier?: string | undefined;
2031
2031
  /**
2032
2032
  * <p>The prefix to match.</p>
2033
2033
  * <p>If <code>orderBy</code> is <code>LastEventTime</code>, you cannot specify this
2034
2034
  * parameter.</p>
2035
2035
  * @public
2036
2036
  */
2037
- logStreamNamePrefix?: string;
2037
+ logStreamNamePrefix?: string | undefined;
2038
2038
  /**
2039
2039
  * <p>If the value is <code>LogStreamName</code>, the results are ordered by log stream name.
2040
2040
  * If the value is <code>LastEventTime</code>, the results are ordered by the event time.
@@ -2048,24 +2048,24 @@ export interface DescribeLogStreamsRequest {
2048
2048
  * rare situations might take longer.</p>
2049
2049
  * @public
2050
2050
  */
2051
- orderBy?: OrderBy;
2051
+ orderBy?: OrderBy | undefined;
2052
2052
  /**
2053
2053
  * <p>If the value is true, results are returned in descending order.
2054
2054
  * If the value is to false, results are returned in ascending order.
2055
2055
  * The default value is false.</p>
2056
2056
  * @public
2057
2057
  */
2058
- descending?: boolean;
2058
+ descending?: boolean | undefined;
2059
2059
  /**
2060
2060
  * <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
2061
2061
  * @public
2062
2062
  */
2063
- nextToken?: string;
2063
+ nextToken?: string | undefined;
2064
2064
  /**
2065
2065
  * <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
2066
2066
  * @public
2067
2067
  */
2068
- limit?: number;
2068
+ limit?: number | undefined;
2069
2069
  }
2070
2070
  /**
2071
2071
  * <p>Represents a log stream, which is a sequence of log events from
@@ -2077,19 +2077,19 @@ export interface LogStream {
2077
2077
  * <p>The name of the log stream.</p>
2078
2078
  * @public
2079
2079
  */
2080
- logStreamName?: string;
2080
+ logStreamName?: string | undefined;
2081
2081
  /**
2082
2082
  * <p>The creation time of the stream, expressed as the number of milliseconds after
2083
2083
  * <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
2084
2084
  * @public
2085
2085
  */
2086
- creationTime?: number;
2086
+ creationTime?: number | undefined;
2087
2087
  /**
2088
2088
  * <p>The time of the first event, expressed as the number of milliseconds after <code>Jan 1,
2089
2089
  * 1970 00:00:00 UTC</code>.</p>
2090
2090
  * @public
2091
2091
  */
2092
- firstEventTimestamp?: number;
2092
+ firstEventTimestamp?: number | undefined;
2093
2093
  /**
2094
2094
  * <p>The time of the most recent log event in the log stream in CloudWatch Logs. This number
2095
2095
  * is expressed as the number of milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>. The
@@ -2098,14 +2098,14 @@ export interface LogStream {
2098
2098
  * longer.</p>
2099
2099
  * @public
2100
2100
  */
2101
- lastEventTimestamp?: number;
2101
+ lastEventTimestamp?: number | undefined;
2102
2102
  /**
2103
2103
  * <p>The ingestion time, expressed as the number of milliseconds after <code>Jan 1, 1970
2104
2104
  * 00:00:00 UTC</code> The <code>lastIngestionTime</code> value updates on an eventual consistency basis. It
2105
2105
  * typically updates in less than an hour after ingestion, but in rare situations might take longer.</p>
2106
2106
  * @public
2107
2107
  */
2108
- lastIngestionTime?: number;
2108
+ lastIngestionTime?: number | undefined;
2109
2109
  /**
2110
2110
  * <p>The sequence token.</p>
2111
2111
  * <important>
@@ -2116,12 +2116,12 @@ export interface LogStream {
2116
2116
  * </important>
2117
2117
  * @public
2118
2118
  */
2119
- uploadSequenceToken?: string;
2119
+ uploadSequenceToken?: string | undefined;
2120
2120
  /**
2121
2121
  * <p>The Amazon Resource Name (ARN) of the log stream.</p>
2122
2122
  * @public
2123
2123
  */
2124
- arn?: string;
2124
+ arn?: string | undefined;
2125
2125
  /**
2126
2126
  * @deprecated
2127
2127
  *
@@ -2132,7 +2132,7 @@ export interface LogStream {
2132
2132
  * log streams. The <code>storedBytes</code> parameter for log groups is not affected.</p>
2133
2133
  * @public
2134
2134
  */
2135
- storedBytes?: number;
2135
+ storedBytes?: number | undefined;
2136
2136
  }
2137
2137
  /**
2138
2138
  * @public
@@ -2142,12 +2142,12 @@ export interface DescribeLogStreamsResponse {
2142
2142
  * <p>The log streams.</p>
2143
2143
  * @public
2144
2144
  */
2145
- logStreams?: LogStream[];
2145
+ logStreams?: LogStream[] | undefined;
2146
2146
  /**
2147
2147
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
2148
2148
  * @public
2149
2149
  */
2150
- nextToken?: string;
2150
+ nextToken?: string | undefined;
2151
2151
  }
2152
2152
  /**
2153
2153
  * @public
@@ -2157,35 +2157,35 @@ export interface DescribeMetricFiltersRequest {
2157
2157
  * <p>The name of the log group.</p>
2158
2158
  * @public
2159
2159
  */
2160
- logGroupName?: string;
2160
+ logGroupName?: string | undefined;
2161
2161
  /**
2162
2162
  * <p>The prefix to match. CloudWatch Logs uses the value that you set here only if you also
2163
2163
  * include the <code>logGroupName</code> parameter in your request.</p>
2164
2164
  * @public
2165
2165
  */
2166
- filterNamePrefix?: string;
2166
+ filterNamePrefix?: string | undefined;
2167
2167
  /**
2168
2168
  * <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
2169
2169
  * @public
2170
2170
  */
2171
- nextToken?: string;
2171
+ nextToken?: string | undefined;
2172
2172
  /**
2173
2173
  * <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
2174
2174
  * @public
2175
2175
  */
2176
- limit?: number;
2176
+ limit?: number | undefined;
2177
2177
  /**
2178
2178
  * <p>Filters results to include only those with the specified metric name. If you include this parameter in your request, you
2179
2179
  * must also include the <code>metricNamespace</code> parameter.</p>
2180
2180
  * @public
2181
2181
  */
2182
- metricName?: string;
2182
+ metricName?: string | undefined;
2183
2183
  /**
2184
2184
  * <p>Filters results to include only those in the specified namespace. If you include this parameter in your request, you
2185
2185
  * must also include the <code>metricName</code> parameter.</p>
2186
2186
  * @public
2187
2187
  */
2188
- metricNamespace?: string;
2188
+ metricNamespace?: string | undefined;
2189
2189
  }
2190
2190
  /**
2191
2191
  * @public
@@ -2251,7 +2251,7 @@ export interface MetricTransformation {
2251
2251
  * This value can be null.</p>
2252
2252
  * @public
2253
2253
  */
2254
- defaultValue?: number;
2254
+ defaultValue?: number | undefined;
2255
2255
  /**
2256
2256
  * <p>The fields to use as dimensions for the metric. One metric filter can include
2257
2257
  * as many as three dimensions.</p>
@@ -2273,12 +2273,12 @@ export interface MetricTransformation {
2273
2273
  * </important>
2274
2274
  * @public
2275
2275
  */
2276
- dimensions?: Record<string, string>;
2276
+ dimensions?: Record<string, string> | undefined;
2277
2277
  /**
2278
2278
  * <p>The unit to assign to the metric. If you omit this, the unit is set as <code>None</code>.</p>
2279
2279
  * @public
2280
2280
  */
2281
- unit?: StandardUnit;
2281
+ unit?: StandardUnit | undefined;
2282
2282
  }
2283
2283
  /**
2284
2284
  * <p>Metric filters express how CloudWatch Logs would extract metric observations
@@ -2290,30 +2290,30 @@ export interface MetricFilter {
2290
2290
  * <p>The name of the metric filter.</p>
2291
2291
  * @public
2292
2292
  */
2293
- filterName?: string;
2293
+ filterName?: string | undefined;
2294
2294
  /**
2295
2295
  * <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
2296
2296
  * event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
2297
2297
  * use the filter pattern to specify what to look for in the log event message.</p>
2298
2298
  * @public
2299
2299
  */
2300
- filterPattern?: string;
2300
+ filterPattern?: string | undefined;
2301
2301
  /**
2302
2302
  * <p>The metric transformations.</p>
2303
2303
  * @public
2304
2304
  */
2305
- metricTransformations?: MetricTransformation[];
2305
+ metricTransformations?: MetricTransformation[] | undefined;
2306
2306
  /**
2307
2307
  * <p>The creation time of the metric filter, expressed as the number of milliseconds after
2308
2308
  * <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
2309
2309
  * @public
2310
2310
  */
2311
- creationTime?: number;
2311
+ creationTime?: number | undefined;
2312
2312
  /**
2313
2313
  * <p>The name of the log group.</p>
2314
2314
  * @public
2315
2315
  */
2316
- logGroupName?: string;
2316
+ logGroupName?: string | undefined;
2317
2317
  }
2318
2318
  /**
2319
2319
  * @public
@@ -2323,12 +2323,12 @@ export interface DescribeMetricFiltersResponse {
2323
2323
  * <p>The metric filters.</p>
2324
2324
  * @public
2325
2325
  */
2326
- metricFilters?: MetricFilter[];
2326
+ metricFilters?: MetricFilter[] | undefined;
2327
2327
  /**
2328
2328
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
2329
2329
  * @public
2330
2330
  */
2331
- nextToken?: string;
2331
+ nextToken?: string | undefined;
2332
2332
  }
2333
2333
  /**
2334
2334
  * @public
@@ -2355,23 +2355,23 @@ export interface DescribeQueriesRequest {
2355
2355
  * <p>Limits the returned queries to only those for the specified log group.</p>
2356
2356
  * @public
2357
2357
  */
2358
- logGroupName?: string;
2358
+ logGroupName?: string | undefined;
2359
2359
  /**
2360
2360
  * <p>Limits the returned queries to only those that have the specified status. Valid values are <code>Cancelled</code>,
2361
2361
  * <code>Complete</code>, <code>Failed</code>, <code>Running</code>, and <code>Scheduled</code>.</p>
2362
2362
  * @public
2363
2363
  */
2364
- status?: QueryStatus;
2364
+ status?: QueryStatus | undefined;
2365
2365
  /**
2366
2366
  * <p>Limits the number of returned queries to the specified number.</p>
2367
2367
  * @public
2368
2368
  */
2369
- maxResults?: number;
2369
+ maxResults?: number | undefined;
2370
2370
  /**
2371
2371
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
2372
2372
  * @public
2373
2373
  */
2374
- nextToken?: string;
2374
+ nextToken?: string | undefined;
2375
2375
  }
2376
2376
  /**
2377
2377
  * <p>Information about one CloudWatch Logs Insights query that matches the request in a <code>DescribeQueries</code> operation. </p>
@@ -2382,28 +2382,28 @@ export interface QueryInfo {
2382
2382
  * <p>The unique ID number of this query.</p>
2383
2383
  * @public
2384
2384
  */
2385
- queryId?: string;
2385
+ queryId?: string | undefined;
2386
2386
  /**
2387
2387
  * <p>The query string used in this query.</p>
2388
2388
  * @public
2389
2389
  */
2390
- queryString?: string;
2390
+ queryString?: string | undefined;
2391
2391
  /**
2392
2392
  * <p>The status of this query. Possible values are <code>Cancelled</code>,
2393
2393
  * <code>Complete</code>, <code>Failed</code>, <code>Running</code>, <code>Scheduled</code>, and <code>Unknown</code>.</p>
2394
2394
  * @public
2395
2395
  */
2396
- status?: QueryStatus;
2396
+ status?: QueryStatus | undefined;
2397
2397
  /**
2398
2398
  * <p>The date and time that this query was created.</p>
2399
2399
  * @public
2400
2400
  */
2401
- createTime?: number;
2401
+ createTime?: number | undefined;
2402
2402
  /**
2403
2403
  * <p>The name of the log group scanned by this query.</p>
2404
2404
  * @public
2405
2405
  */
2406
- logGroupName?: string;
2406
+ logGroupName?: string | undefined;
2407
2407
  }
2408
2408
  /**
2409
2409
  * @public
@@ -2413,12 +2413,12 @@ export interface DescribeQueriesResponse {
2413
2413
  * <p>The list of queries that match the request.</p>
2414
2414
  * @public
2415
2415
  */
2416
- queries?: QueryInfo[];
2416
+ queries?: QueryInfo[] | undefined;
2417
2417
  /**
2418
2418
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
2419
2419
  * @public
2420
2420
  */
2421
- nextToken?: string;
2421
+ nextToken?: string | undefined;
2422
2422
  }
2423
2423
  /**
2424
2424
  * @public
@@ -2428,17 +2428,17 @@ export interface DescribeQueryDefinitionsRequest {
2428
2428
  * <p>Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.</p>
2429
2429
  * @public
2430
2430
  */
2431
- queryDefinitionNamePrefix?: string;
2431
+ queryDefinitionNamePrefix?: string | undefined;
2432
2432
  /**
2433
2433
  * <p>Limits the number of returned query definitions to the specified number.</p>
2434
2434
  * @public
2435
2435
  */
2436
- maxResults?: number;
2436
+ maxResults?: number | undefined;
2437
2437
  /**
2438
2438
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
2439
2439
  * @public
2440
2440
  */
2441
- nextToken?: string;
2441
+ nextToken?: string | undefined;
2442
2442
  }
2443
2443
  /**
2444
2444
  * <p>This structure contains details about a saved CloudWatch Logs Insights query definition.</p>
@@ -2449,28 +2449,28 @@ export interface QueryDefinition {
2449
2449
  * <p>The unique ID of the query definition.</p>
2450
2450
  * @public
2451
2451
  */
2452
- queryDefinitionId?: string;
2452
+ queryDefinitionId?: string | undefined;
2453
2453
  /**
2454
2454
  * <p>The name of the query definition.</p>
2455
2455
  * @public
2456
2456
  */
2457
- name?: string;
2457
+ name?: string | undefined;
2458
2458
  /**
2459
2459
  * <p>The query string to use for this definition.
2460
2460
  * For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
2461
2461
  * @public
2462
2462
  */
2463
- queryString?: string;
2463
+ queryString?: string | undefined;
2464
2464
  /**
2465
2465
  * <p>The date that the query definition was most recently modified.</p>
2466
2466
  * @public
2467
2467
  */
2468
- lastModified?: number;
2468
+ lastModified?: number | undefined;
2469
2469
  /**
2470
2470
  * <p>If this query definition contains a list of log groups that it is limited to, that list appears here.</p>
2471
2471
  * @public
2472
2472
  */
2473
- logGroupNames?: string[];
2473
+ logGroupNames?: string[] | undefined;
2474
2474
  }
2475
2475
  /**
2476
2476
  * @public
@@ -2480,12 +2480,12 @@ export interface DescribeQueryDefinitionsResponse {
2480
2480
  * <p>The list of query definitions that match your request.</p>
2481
2481
  * @public
2482
2482
  */
2483
- queryDefinitions?: QueryDefinition[];
2483
+ queryDefinitions?: QueryDefinition[] | undefined;
2484
2484
  /**
2485
2485
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
2486
2486
  * @public
2487
2487
  */
2488
- nextToken?: string;
2488
+ nextToken?: string | undefined;
2489
2489
  }
2490
2490
  /**
2491
2491
  * @public
@@ -2495,12 +2495,12 @@ export interface DescribeResourcePoliciesRequest {
2495
2495
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
2496
2496
  * @public
2497
2497
  */
2498
- nextToken?: string;
2498
+ nextToken?: string | undefined;
2499
2499
  /**
2500
2500
  * <p>The maximum number of resource policies to be displayed with one call of this API.</p>
2501
2501
  * @public
2502
2502
  */
2503
- limit?: number;
2503
+ limit?: number | undefined;
2504
2504
  }
2505
2505
  /**
2506
2506
  * <p>A policy enabling one or more entities to put logs to a log group in this account.</p>
@@ -2511,18 +2511,18 @@ export interface ResourcePolicy {
2511
2511
  * <p>The name of the resource policy.</p>
2512
2512
  * @public
2513
2513
  */
2514
- policyName?: string;
2514
+ policyName?: string | undefined;
2515
2515
  /**
2516
2516
  * <p>The details of the policy.</p>
2517
2517
  * @public
2518
2518
  */
2519
- policyDocument?: string;
2519
+ policyDocument?: string | undefined;
2520
2520
  /**
2521
2521
  * <p>Timestamp showing when this policy was last updated, expressed as the number of
2522
2522
  * milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
2523
2523
  * @public
2524
2524
  */
2525
- lastUpdatedTime?: number;
2525
+ lastUpdatedTime?: number | undefined;
2526
2526
  }
2527
2527
  /**
2528
2528
  * @public
@@ -2532,12 +2532,12 @@ export interface DescribeResourcePoliciesResponse {
2532
2532
  * <p>The resource policies that exist in this account.</p>
2533
2533
  * @public
2534
2534
  */
2535
- resourcePolicies?: ResourcePolicy[];
2535
+ resourcePolicies?: ResourcePolicy[] | undefined;
2536
2536
  /**
2537
2537
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
2538
2538
  * @public
2539
2539
  */
2540
- nextToken?: string;
2540
+ nextToken?: string | undefined;
2541
2541
  }
2542
2542
  /**
2543
2543
  * @public
@@ -2552,17 +2552,17 @@ export interface DescribeSubscriptionFiltersRequest {
2552
2552
  * <p>The prefix to match. If you don't specify a value, no prefix filter is applied.</p>
2553
2553
  * @public
2554
2554
  */
2555
- filterNamePrefix?: string;
2555
+ filterNamePrefix?: string | undefined;
2556
2556
  /**
2557
2557
  * <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
2558
2558
  * @public
2559
2559
  */
2560
- nextToken?: string;
2560
+ nextToken?: string | undefined;
2561
2561
  /**
2562
2562
  * <p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>
2563
2563
  * @public
2564
2564
  */
2565
- limit?: number;
2565
+ limit?: number | undefined;
2566
2566
  }
2567
2567
  /**
2568
2568
  * @public
@@ -2585,41 +2585,41 @@ export interface SubscriptionFilter {
2585
2585
  * <p>The name of the subscription filter.</p>
2586
2586
  * @public
2587
2587
  */
2588
- filterName?: string;
2588
+ filterName?: string | undefined;
2589
2589
  /**
2590
2590
  * <p>The name of the log group.</p>
2591
2591
  * @public
2592
2592
  */
2593
- logGroupName?: string;
2593
+ logGroupName?: string | undefined;
2594
2594
  /**
2595
2595
  * <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
2596
2596
  * event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
2597
2597
  * use the filter pattern to specify what to look for in the log event message.</p>
2598
2598
  * @public
2599
2599
  */
2600
- filterPattern?: string;
2600
+ filterPattern?: string | undefined;
2601
2601
  /**
2602
2602
  * <p>The Amazon Resource Name (ARN) of the destination.</p>
2603
2603
  * @public
2604
2604
  */
2605
- destinationArn?: string;
2605
+ destinationArn?: string | undefined;
2606
2606
  /**
2607
2607
  * <p></p>
2608
2608
  * @public
2609
2609
  */
2610
- roleArn?: string;
2610
+ roleArn?: string | undefined;
2611
2611
  /**
2612
2612
  * <p>The method used to distribute log data to the destination, which can be either
2613
2613
  * random or grouped by log stream.</p>
2614
2614
  * @public
2615
2615
  */
2616
- distribution?: Distribution;
2616
+ distribution?: Distribution | undefined;
2617
2617
  /**
2618
2618
  * <p>The creation time of the subscription filter, expressed as the number of milliseconds
2619
2619
  * after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
2620
2620
  * @public
2621
2621
  */
2622
- creationTime?: number;
2622
+ creationTime?: number | undefined;
2623
2623
  }
2624
2624
  /**
2625
2625
  * @public
@@ -2629,12 +2629,12 @@ export interface DescribeSubscriptionFiltersResponse {
2629
2629
  * <p>The subscription filters.</p>
2630
2630
  * @public
2631
2631
  */
2632
- subscriptionFilters?: SubscriptionFilter[];
2632
+ subscriptionFilters?: SubscriptionFilter[] | undefined;
2633
2633
  /**
2634
2634
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
2635
2635
  * @public
2636
2636
  */
2637
- nextToken?: string;
2637
+ nextToken?: string | undefined;
2638
2638
  }
2639
2639
  /**
2640
2640
  * @public
@@ -2647,7 +2647,7 @@ export interface DisassociateKmsKeyRequest {
2647
2647
  * but you can't specify both.</p>
2648
2648
  * @public
2649
2649
  */
2650
- logGroupName?: string;
2650
+ logGroupName?: string | undefined;
2651
2651
  /**
2652
2652
  * <p>Specifies the target for this operation. You must specify one of the following:</p>
2653
2653
  * <ul>
@@ -2676,7 +2676,7 @@ export interface DisassociateKmsKeyRequest {
2676
2676
  * but you can't specify both.</p>
2677
2677
  * @public
2678
2678
  */
2679
- resourceIdentifier?: string;
2679
+ resourceIdentifier?: string | undefined;
2680
2680
  }
2681
2681
  /**
2682
2682
  * <p>Reserved for internal use.</p>
@@ -2687,12 +2687,12 @@ export interface Entity {
2687
2687
  * <p>Reserved for internal use.</p>
2688
2688
  * @public
2689
2689
  */
2690
- keyAttributes?: Record<string, string>;
2690
+ keyAttributes?: Record<string, string> | undefined;
2691
2691
  /**
2692
2692
  * <p>Reserved for internal use.</p>
2693
2693
  * @public
2694
2694
  */
2695
- attributes?: Record<string, string>;
2695
+ attributes?: Record<string, string> | undefined;
2696
2696
  }
2697
2697
  /**
2698
2698
  * @public
@@ -2720,29 +2720,29 @@ export interface FilteredLogEvent {
2720
2720
  * <p>The name of the log stream to which this event belongs.</p>
2721
2721
  * @public
2722
2722
  */
2723
- logStreamName?: string;
2723
+ logStreamName?: string | undefined;
2724
2724
  /**
2725
2725
  * <p>The time the event occurred, expressed as the number of milliseconds after <code>Jan 1,
2726
2726
  * 1970 00:00:00 UTC</code>.</p>
2727
2727
  * @public
2728
2728
  */
2729
- timestamp?: number;
2729
+ timestamp?: number | undefined;
2730
2730
  /**
2731
2731
  * <p>The data contained in the log event.</p>
2732
2732
  * @public
2733
2733
  */
2734
- message?: string;
2734
+ message?: string | undefined;
2735
2735
  /**
2736
2736
  * <p>The time the event was ingested, expressed as the number of milliseconds after
2737
2737
  * <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
2738
2738
  * @public
2739
2739
  */
2740
- ingestionTime?: number;
2740
+ ingestionTime?: number | undefined;
2741
2741
  /**
2742
2742
  * <p>The ID of the event.</p>
2743
2743
  * @public
2744
2744
  */
2745
- eventId?: string;
2745
+ eventId?: string | undefined;
2746
2746
  }
2747
2747
  /**
2748
2748
  * @public
@@ -2758,7 +2758,7 @@ export interface FilterLogEventsRequest {
2758
2758
  * </note>
2759
2759
  * @public
2760
2760
  */
2761
- logGroupName?: string;
2761
+ logGroupName?: string | undefined;
2762
2762
  /**
2763
2763
  * <p>Specify either the name or ARN of the log group to view log events from. If the log group is in a source account
2764
2764
  * and you are using a monitoring account, you must use the log group ARN.</p>
@@ -2770,51 +2770,51 @@ export interface FilterLogEventsRequest {
2770
2770
  * </note>
2771
2771
  * @public
2772
2772
  */
2773
- logGroupIdentifier?: string;
2773
+ logGroupIdentifier?: string | undefined;
2774
2774
  /**
2775
2775
  * <p>Filters the results to only logs from the log streams in this list.</p>
2776
2776
  * <p>If you specify a value for both <code>logStreamNames</code> and <code>logStreamNamePrefix</code>, the action
2777
2777
  * returns an <code>InvalidParameterException</code> error.</p>
2778
2778
  * @public
2779
2779
  */
2780
- logStreamNames?: string[];
2780
+ logStreamNames?: string[] | undefined;
2781
2781
  /**
2782
2782
  * <p>Filters the results to include only events from log streams that have names starting with this prefix.</p>
2783
2783
  * <p>If you specify a value for both <code>logStreamNamePrefix</code> and <code>logStreamNames</code>, the action
2784
2784
  * returns an <code>InvalidParameterException</code> error.</p>
2785
2785
  * @public
2786
2786
  */
2787
- logStreamNamePrefix?: string;
2787
+ logStreamNamePrefix?: string | undefined;
2788
2788
  /**
2789
2789
  * <p>The start of the time range, expressed as the number of milliseconds after <code>Jan 1,
2790
2790
  * 1970 00:00:00 UTC</code>. Events with a timestamp before this time are not
2791
2791
  * returned.</p>
2792
2792
  * @public
2793
2793
  */
2794
- startTime?: number;
2794
+ startTime?: number | undefined;
2795
2795
  /**
2796
2796
  * <p>The end of the time range, expressed as the number of milliseconds after <code>Jan 1,
2797
2797
  * 1970 00:00:00 UTC</code>. Events with a timestamp later than this time are not
2798
2798
  * returned.</p>
2799
2799
  * @public
2800
2800
  */
2801
- endTime?: number;
2801
+ endTime?: number | undefined;
2802
2802
  /**
2803
2803
  * <p>The filter pattern to use. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html">Filter and Pattern Syntax</a>.</p>
2804
2804
  * <p>If not provided, all the events are matched.</p>
2805
2805
  * @public
2806
2806
  */
2807
- filterPattern?: string;
2807
+ filterPattern?: string | undefined;
2808
2808
  /**
2809
2809
  * <p>The token for the next set of events to return. (You received this token from a previous call.)</p>
2810
2810
  * @public
2811
2811
  */
2812
- nextToken?: string;
2812
+ nextToken?: string | undefined;
2813
2813
  /**
2814
2814
  * <p>The maximum number of events to return. The default is 10,000 events.</p>
2815
2815
  * @public
2816
2816
  */
2817
- limit?: number;
2817
+ limit?: number | undefined;
2818
2818
  /**
2819
2819
  * @deprecated
2820
2820
  *
@@ -2828,7 +2828,7 @@ export interface FilterLogEventsRequest {
2828
2828
  * interleaves events from multiple log streams within a log group.</p>
2829
2829
  * @public
2830
2830
  */
2831
- interleaved?: boolean;
2831
+ interleaved?: boolean | undefined;
2832
2832
  /**
2833
2833
  * <p>Specify <code>true</code> to display the log event fields with all sensitive data unmasked and visible.
2834
2834
  * The default is <code>false</code>.</p>
@@ -2836,7 +2836,7 @@ export interface FilterLogEventsRequest {
2836
2836
  * permission.</p>
2837
2837
  * @public
2838
2838
  */
2839
- unmask?: boolean;
2839
+ unmask?: boolean | undefined;
2840
2840
  }
2841
2841
  /**
2842
2842
  * <p>Represents the search status of a log stream.</p>
@@ -2847,12 +2847,12 @@ export interface SearchedLogStream {
2847
2847
  * <p>The name of the log stream.</p>
2848
2848
  * @public
2849
2849
  */
2850
- logStreamName?: string;
2850
+ logStreamName?: string | undefined;
2851
2851
  /**
2852
2852
  * <p>Indicates whether all the events in this log stream were searched.</p>
2853
2853
  * @public
2854
2854
  */
2855
- searchedCompletely?: boolean;
2855
+ searchedCompletely?: boolean | undefined;
2856
2856
  }
2857
2857
  /**
2858
2858
  * @public
@@ -2862,7 +2862,7 @@ export interface FilterLogEventsResponse {
2862
2862
  * <p>The matched events.</p>
2863
2863
  * @public
2864
2864
  */
2865
- events?: FilteredLogEvent[];
2865
+ events?: FilteredLogEvent[] | undefined;
2866
2866
  /**
2867
2867
  * <p>
2868
2868
  * <b>Important</b> As of May 15, 2020, this parameter is no longer
@@ -2870,12 +2870,12 @@ export interface FilterLogEventsResponse {
2870
2870
  * <p>Indicates which log streams have been searched and whether each has been searched completely.</p>
2871
2871
  * @public
2872
2872
  */
2873
- searchedLogStreams?: SearchedLogStream[];
2873
+ searchedLogStreams?: SearchedLogStream[] | undefined;
2874
2874
  /**
2875
2875
  * <p>The token to use when requesting the next set of items. The token expires after 24 hours.</p>
2876
2876
  * @public
2877
2877
  */
2878
- nextToken?: string;
2878
+ nextToken?: string | undefined;
2879
2879
  }
2880
2880
  /**
2881
2881
  * @public
@@ -2895,17 +2895,17 @@ export interface GetDataProtectionPolicyResponse {
2895
2895
  * <p>The log group name or ARN that you specified in your request.</p>
2896
2896
  * @public
2897
2897
  */
2898
- logGroupIdentifier?: string;
2898
+ logGroupIdentifier?: string | undefined;
2899
2899
  /**
2900
2900
  * <p>The data protection policy document for this log group.</p>
2901
2901
  * @public
2902
2902
  */
2903
- policyDocument?: string;
2903
+ policyDocument?: string | undefined;
2904
2904
  /**
2905
2905
  * <p>The date and time that this policy was most recently updated.</p>
2906
2906
  * @public
2907
2907
  */
2908
- lastUpdatedTime?: number;
2908
+ lastUpdatedTime?: number | undefined;
2909
2909
  }
2910
2910
  /**
2911
2911
  * @public
@@ -2925,7 +2925,7 @@ export interface GetDeliveryResponse {
2925
2925
  * <p>A structure that contains information about the delivery.</p>
2926
2926
  * @public
2927
2927
  */
2928
- delivery?: Delivery;
2928
+ delivery?: Delivery | undefined;
2929
2929
  }
2930
2930
  /**
2931
2931
  * @public
@@ -2945,7 +2945,7 @@ export interface GetDeliveryDestinationResponse {
2945
2945
  * <p>A structure containing information about the delivery destination.</p>
2946
2946
  * @public
2947
2947
  */
2948
- deliveryDestination?: DeliveryDestination;
2948
+ deliveryDestination?: DeliveryDestination | undefined;
2949
2949
  }
2950
2950
  /**
2951
2951
  * @public
@@ -2966,7 +2966,7 @@ export interface Policy {
2966
2966
  * <p>The contents of the delivery destination policy.</p>
2967
2967
  * @public
2968
2968
  */
2969
- deliveryDestinationPolicy?: string;
2969
+ deliveryDestinationPolicy?: string | undefined;
2970
2970
  }
2971
2971
  /**
2972
2972
  * @public
@@ -2976,7 +2976,7 @@ export interface GetDeliveryDestinationPolicyResponse {
2976
2976
  * <p>The IAM policy for this delivery destination.</p>
2977
2977
  * @public
2978
2978
  */
2979
- policy?: Policy;
2979
+ policy?: Policy | undefined;
2980
2980
  }
2981
2981
  /**
2982
2982
  * @public
@@ -2996,7 +2996,7 @@ export interface GetDeliverySourceResponse {
2996
2996
  * <p>A structure containing information about the delivery source.</p>
2997
2997
  * @public
2998
2998
  */
2999
- deliverySource?: DeliverySource;
2999
+ deliverySource?: DeliverySource | undefined;
3000
3000
  }
3001
3001
  /**
3002
3002
  * @public
@@ -3018,13 +3018,13 @@ export interface GetLogAnomalyDetectorResponse {
3018
3018
  * <p>The name of the log anomaly detector</p>
3019
3019
  * @public
3020
3020
  */
3021
- detectorName?: string;
3021
+ detectorName?: string | undefined;
3022
3022
  /**
3023
3023
  * <p>An array of structures, where each structure contains the ARN of a log group
3024
3024
  * associated with this anomaly detector.</p>
3025
3025
  * @public
3026
3026
  */
3027
- logGroupArnList?: string[];
3027
+ logGroupArnList?: string[] | undefined;
3028
3028
  /**
3029
3029
  * <p>Specifies how often the anomaly detector runs and look for anomalies. Set this value
3030
3030
  * according to the frequency that the log group receives new logs. For example, if the log group
@@ -3032,42 +3032,42 @@ export interface GetLogAnomalyDetectorResponse {
3032
3032
  * <code>FIFTEEN_MIN</code> might be appropriate.</p>
3033
3033
  * @public
3034
3034
  */
3035
- evaluationFrequency?: EvaluationFrequency;
3035
+ evaluationFrequency?: EvaluationFrequency | undefined;
3036
3036
  /**
3037
3037
  * <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
3038
3038
  * event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
3039
3039
  * use the filter pattern to specify what to look for in the log event message.</p>
3040
3040
  * @public
3041
3041
  */
3042
- filterPattern?: string;
3042
+ filterPattern?: string | undefined;
3043
3043
  /**
3044
3044
  * <p>Specifies whether the anomaly detector is currently active. To change its status, use
3045
3045
  * the <code>enabled</code> parameter in the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateLogAnomalyDetector.html">UpdateLogAnomalyDetector</a>
3046
3046
  * operation.</p>
3047
3047
  * @public
3048
3048
  */
3049
- anomalyDetectorStatus?: AnomalyDetectorStatus;
3049
+ anomalyDetectorStatus?: AnomalyDetectorStatus | undefined;
3050
3050
  /**
3051
3051
  * <p>The ID of the KMS key assigned to this anomaly detector, if any.</p>
3052
3052
  * @public
3053
3053
  */
3054
- kmsKeyId?: string;
3054
+ kmsKeyId?: string | undefined;
3055
3055
  /**
3056
3056
  * <p>The date and time when this anomaly detector was created.</p>
3057
3057
  * @public
3058
3058
  */
3059
- creationTimeStamp?: number;
3059
+ creationTimeStamp?: number | undefined;
3060
3060
  /**
3061
3061
  * <p>The date and time when this anomaly detector was most recently modified.</p>
3062
3062
  * @public
3063
3063
  */
3064
- lastModifiedTimeStamp?: number;
3064
+ lastModifiedTimeStamp?: number | undefined;
3065
3065
  /**
3066
3066
  * <p>The number of days used as the life cycle of anomalies. After this time, anomalies are automatically baselined
3067
3067
  * and the anomaly detector model will treat new occurrences of similar event as normal. </p>
3068
3068
  * @public
3069
3069
  */
3070
- anomalyVisibilityTime?: number;
3070
+ anomalyVisibilityTime?: number | undefined;
3071
3071
  }
3072
3072
  /**
3073
3073
  * @public
@@ -3083,7 +3083,7 @@ export interface GetLogEventsRequest {
3083
3083
  * </note>
3084
3084
  * @public
3085
3085
  */
3086
- logGroupName?: string;
3086
+ logGroupName?: string | undefined;
3087
3087
  /**
3088
3088
  * <p>Specify either the name or ARN of the log group to view events from. If the log group is in a source account
3089
3089
  * and you are using a monitoring account, you must use the log group ARN.</p>
@@ -3095,7 +3095,7 @@ export interface GetLogEventsRequest {
3095
3095
  * </note>
3096
3096
  * @public
3097
3097
  */
3098
- logGroupIdentifier?: string;
3098
+ logGroupIdentifier?: string | undefined;
3099
3099
  /**
3100
3100
  * <p>The name of the log stream.</p>
3101
3101
  * @public
@@ -3107,25 +3107,25 @@ export interface GetLogEventsRequest {
3107
3107
  * are included. Events with a timestamp earlier than this time are not included.</p>
3108
3108
  * @public
3109
3109
  */
3110
- startTime?: number;
3110
+ startTime?: number | undefined;
3111
3111
  /**
3112
3112
  * <p>The end of the time range, expressed as the number of milliseconds after <code>Jan 1,
3113
3113
  * 1970 00:00:00 UTC</code>. Events with a timestamp equal to or later than this time are not
3114
3114
  * included.</p>
3115
3115
  * @public
3116
3116
  */
3117
- endTime?: number;
3117
+ endTime?: number | undefined;
3118
3118
  /**
3119
3119
  * <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
3120
3120
  * @public
3121
3121
  */
3122
- nextToken?: string;
3122
+ nextToken?: string | undefined;
3123
3123
  /**
3124
3124
  * <p>The maximum number of log events returned. If you don't specify a limit, the default is
3125
3125
  * as many log events as can fit in a response size of 1 MB (up to 10,000 log events).</p>
3126
3126
  * @public
3127
3127
  */
3128
- limit?: number;
3128
+ limit?: number | undefined;
3129
3129
  /**
3130
3130
  * <p>If the value is true, the earliest log events are returned first.
3131
3131
  * If the value is false, the latest log events are returned first.
@@ -3134,7 +3134,7 @@ export interface GetLogEventsRequest {
3134
3134
  * you must specify <code>true</code> for <code>startFromHead</code>.</p>
3135
3135
  * @public
3136
3136
  */
3137
- startFromHead?: boolean;
3137
+ startFromHead?: boolean | undefined;
3138
3138
  /**
3139
3139
  * <p>Specify <code>true</code> to display the log event fields with all sensitive data unmasked and visible.
3140
3140
  * The default is <code>false</code>.</p>
@@ -3142,7 +3142,7 @@ export interface GetLogEventsRequest {
3142
3142
  * permission.</p>
3143
3143
  * @public
3144
3144
  */
3145
- unmask?: boolean;
3145
+ unmask?: boolean | undefined;
3146
3146
  }
3147
3147
  /**
3148
3148
  * <p>Represents a log event.</p>
@@ -3154,18 +3154,18 @@ export interface OutputLogEvent {
3154
3154
  * 1970 00:00:00 UTC</code>.</p>
3155
3155
  * @public
3156
3156
  */
3157
- timestamp?: number;
3157
+ timestamp?: number | undefined;
3158
3158
  /**
3159
3159
  * <p>The data contained in the log event.</p>
3160
3160
  * @public
3161
3161
  */
3162
- message?: string;
3162
+ message?: string | undefined;
3163
3163
  /**
3164
3164
  * <p>The time the event was ingested, expressed as the number of milliseconds after
3165
3165
  * <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
3166
3166
  * @public
3167
3167
  */
3168
- ingestionTime?: number;
3168
+ ingestionTime?: number | undefined;
3169
3169
  }
3170
3170
  /**
3171
3171
  * @public
@@ -3175,21 +3175,21 @@ export interface GetLogEventsResponse {
3175
3175
  * <p>The events.</p>
3176
3176
  * @public
3177
3177
  */
3178
- events?: OutputLogEvent[];
3178
+ events?: OutputLogEvent[] | undefined;
3179
3179
  /**
3180
3180
  * <p>The token for the next set of items in the forward direction. The token expires after
3181
3181
  * 24 hours. If you have reached the end of the stream, it returns the same token you passed
3182
3182
  * in.</p>
3183
3183
  * @public
3184
3184
  */
3185
- nextForwardToken?: string;
3185
+ nextForwardToken?: string | undefined;
3186
3186
  /**
3187
3187
  * <p>The token for the next set of items in the backward direction. The token expires after
3188
3188
  * 24 hours. This token is not null. If you have reached the end of the stream, it returns the
3189
3189
  * same token you passed in.</p>
3190
3190
  * @public
3191
3191
  */
3192
- nextBackwardToken?: string;
3192
+ nextBackwardToken?: string | undefined;
3193
3193
  }
3194
3194
  /**
3195
3195
  * @public
@@ -3205,7 +3205,7 @@ export interface GetLogGroupFieldsRequest {
3205
3205
  * </note>
3206
3206
  * @public
3207
3207
  */
3208
- logGroupName?: string;
3208
+ logGroupName?: string | undefined;
3209
3209
  /**
3210
3210
  * <p>The time to set as the center of the query. If you specify <code>time</code>, the 8 minutes before and
3211
3211
  * 8 minutes after this time are searched. If you omit <code>time</code>, the most recent 15 minutes
@@ -3214,7 +3214,7 @@ export interface GetLogGroupFieldsRequest {
3214
3214
  * since <code>January 1, 1970, 00:00:00 UTC</code>.</p>
3215
3215
  * @public
3216
3216
  */
3217
- time?: number;
3217
+ time?: number | undefined;
3218
3218
  /**
3219
3219
  * <p>Specify either the name or ARN of the log group to view. If the log group is in a source account and
3220
3220
  * you are using a monitoring account, you must specify the ARN.</p>
@@ -3226,7 +3226,7 @@ export interface GetLogGroupFieldsRequest {
3226
3226
  * </note>
3227
3227
  * @public
3228
3228
  */
3229
- logGroupIdentifier?: string;
3229
+ logGroupIdentifier?: string | undefined;
3230
3230
  }
3231
3231
  /**
3232
3232
  * <p>The fields contained in log events found by a <code>GetLogGroupFields</code> operation,
@@ -3238,12 +3238,12 @@ export interface LogGroupField {
3238
3238
  * <p>The name of a log field.</p>
3239
3239
  * @public
3240
3240
  */
3241
- name?: string;
3241
+ name?: string | undefined;
3242
3242
  /**
3243
3243
  * <p>The percentage of log events queried that contained the field.</p>
3244
3244
  * @public
3245
3245
  */
3246
- percent?: number;
3246
+ percent?: number | undefined;
3247
3247
  }
3248
3248
  /**
3249
3249
  * @public
@@ -3255,7 +3255,7 @@ export interface GetLogGroupFieldsResponse {
3255
3255
  * queried.</p>
3256
3256
  * @public
3257
3257
  */
3258
- logGroupFields?: LogGroupField[];
3258
+ logGroupFields?: LogGroupField[] | undefined;
3259
3259
  }
3260
3260
  /**
3261
3261
  * @public
@@ -3276,7 +3276,7 @@ export interface GetLogRecordRequest {
3276
3276
  * permission.</p>
3277
3277
  * @public
3278
3278
  */
3279
- unmask?: boolean;
3279
+ unmask?: boolean | undefined;
3280
3280
  }
3281
3281
  /**
3282
3282
  * @public
@@ -3286,7 +3286,7 @@ export interface GetLogRecordResponse {
3286
3286
  * <p>The requested log event, as a JSON string.</p>
3287
3287
  * @public
3288
3288
  */
3289
- logRecord?: Record<string, string>;
3289
+ logRecord?: Record<string, string> | undefined;
3290
3290
  }
3291
3291
  /**
3292
3292
  * @public
@@ -3310,12 +3310,12 @@ export interface ResultField {
3310
3310
  * <p>The log event field.</p>
3311
3311
  * @public
3312
3312
  */
3313
- field?: string;
3313
+ field?: string | undefined;
3314
3314
  /**
3315
3315
  * <p>The value of this field.</p>
3316
3316
  * @public
3317
3317
  */
3318
- value?: string;
3318
+ value?: string | undefined;
3319
3319
  }
3320
3320
  /**
3321
3321
  * <p>Contains the number of log events scanned by the query, the number of log events that matched the
@@ -3327,17 +3327,17 @@ export interface QueryStatistics {
3327
3327
  * <p>The number of log events that matched the query string.</p>
3328
3328
  * @public
3329
3329
  */
3330
- recordsMatched?: number;
3330
+ recordsMatched?: number | undefined;
3331
3331
  /**
3332
3332
  * <p>The total number of log events scanned during the query.</p>
3333
3333
  * @public
3334
3334
  */
3335
- recordsScanned?: number;
3335
+ recordsScanned?: number | undefined;
3336
3336
  /**
3337
3337
  * <p>The total number of bytes in the log events scanned during the query.</p>
3338
3338
  * @public
3339
3339
  */
3340
- bytesScanned?: number;
3340
+ bytesScanned?: number | undefined;
3341
3341
  }
3342
3342
  /**
3343
3343
  * @public
@@ -3350,14 +3350,14 @@ export interface GetQueryResultsResponse {
3350
3350
  * <code>field</code>/<code>value</code> pairs.</p>
3351
3351
  * @public
3352
3352
  */
3353
- results?: ResultField[][];
3353
+ results?: ResultField[][] | undefined;
3354
3354
  /**
3355
3355
  * <p>Includes the number of log events scanned by the query, the number of log events that
3356
3356
  * matched the query criteria, and the total number of bytes in the scanned log events. These
3357
3357
  * values reflect the full raw results of the query.</p>
3358
3358
  * @public
3359
3359
  */
3360
- statistics?: QueryStatistics;
3360
+ statistics?: QueryStatistics | undefined;
3361
3361
  /**
3362
3362
  * <p>The status of the most recent running of the query. Possible values are <code>Cancelled</code>,
3363
3363
  * <code>Complete</code>, <code>Failed</code>, <code>Running</code>, <code>Scheduled</code>,
@@ -3366,7 +3366,7 @@ export interface GetQueryResultsResponse {
3366
3366
  * reduce the time range being searched or partition your query into a number of queries.</p>
3367
3367
  * @public
3368
3368
  */
3369
- status?: QueryStatus;
3369
+ status?: QueryStatus | undefined;
3370
3370
  /**
3371
3371
  * <p>If you associated an KMS key with the CloudWatch Logs Insights
3372
3372
  * query results in this account, this field displays the ARN of the key that's used to encrypt
@@ -3374,7 +3374,7 @@ export interface GetQueryResultsResponse {
3374
3374
  * them.</p>
3375
3375
  * @public
3376
3376
  */
3377
- encryptionKey?: string;
3377
+ encryptionKey?: string | undefined;
3378
3378
  }
3379
3379
  /**
3380
3380
  * <p>Represents a log event, which is a record of activity that was recorded
@@ -3409,7 +3409,7 @@ export interface InputLogEvent {
3409
3409
  export declare class InvalidSequenceTokenException extends __BaseException {
3410
3410
  readonly name: "InvalidSequenceTokenException";
3411
3411
  readonly $fault: "client";
3412
- expectedSequenceToken?: string;
3412
+ expectedSequenceToken?: string | undefined;
3413
3413
  /**
3414
3414
  * @internal
3415
3415
  */
@@ -3436,24 +3436,24 @@ export interface ListAnomaliesRequest {
3436
3436
  * anomaly detector.</p>
3437
3437
  * @public
3438
3438
  */
3439
- anomalyDetectorArn?: string;
3439
+ anomalyDetectorArn?: string | undefined;
3440
3440
  /**
3441
3441
  * <p>You can specify this parameter if you want to the operation to return only anomalies that
3442
3442
  * are currently either suppressed or unsuppressed.</p>
3443
3443
  * @public
3444
3444
  */
3445
- suppressionState?: SuppressionState;
3445
+ suppressionState?: SuppressionState | undefined;
3446
3446
  /**
3447
3447
  * <p>The maximum number of items to return. If you don't specify a value, the default maximum value of
3448
3448
  * 50 items is used.</p>
3449
3449
  * @public
3450
3450
  */
3451
- limit?: number;
3451
+ limit?: number | undefined;
3452
3452
  /**
3453
3453
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
3454
3454
  * @public
3455
3455
  */
3456
- nextToken?: string;
3456
+ nextToken?: string | undefined;
3457
3457
  }
3458
3458
  /**
3459
3459
  * @public
@@ -3464,12 +3464,12 @@ export interface ListAnomaliesResponse {
3464
3464
  * anomaly detector has found.</p>
3465
3465
  * @public
3466
3466
  */
3467
- anomalies?: Anomaly[];
3467
+ anomalies?: Anomaly[] | undefined;
3468
3468
  /**
3469
3469
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
3470
3470
  * @public
3471
3471
  */
3472
- nextToken?: string;
3472
+ nextToken?: string | undefined;
3473
3473
  }
3474
3474
  /**
3475
3475
  * @public
@@ -3480,18 +3480,18 @@ export interface ListLogAnomalyDetectorsRequest {
3480
3480
  * specified log group.</p>
3481
3481
  * @public
3482
3482
  */
3483
- filterLogGroupArn?: string;
3483
+ filterLogGroupArn?: string | undefined;
3484
3484
  /**
3485
3485
  * <p>The maximum number of items to return. If you don't specify a value, the default maximum value of
3486
3486
  * 50 items is used.</p>
3487
3487
  * @public
3488
3488
  */
3489
- limit?: number;
3489
+ limit?: number | undefined;
3490
3490
  /**
3491
3491
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
3492
3492
  * @public
3493
3493
  */
3494
- nextToken?: string;
3494
+ nextToken?: string | undefined;
3495
3495
  }
3496
3496
  /**
3497
3497
  * @public
@@ -3501,12 +3501,12 @@ export interface ListLogAnomalyDetectorsResponse {
3501
3501
  * <p>An array of structures, where each structure in the array contains information about one anomaly detector.</p>
3502
3502
  * @public
3503
3503
  */
3504
- anomalyDetectors?: AnomalyDetector[];
3504
+ anomalyDetectors?: AnomalyDetector[] | undefined;
3505
3505
  /**
3506
3506
  * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
3507
3507
  * @public
3508
3508
  */
3509
- nextToken?: string;
3509
+ nextToken?: string | undefined;
3510
3510
  }
3511
3511
  /**
3512
3512
  * @public
@@ -3536,7 +3536,7 @@ export interface ListTagsForResourceResponse {
3536
3536
  * <p>The list of tags associated with the requested resource.></p>
3537
3537
  * @public
3538
3538
  */
3539
- tags?: Record<string, string>;
3539
+ tags?: Record<string, string> | undefined;
3540
3540
  }
3541
3541
  /**
3542
3542
  * @public
@@ -3556,7 +3556,7 @@ export interface ListTagsLogGroupResponse {
3556
3556
  * <p>The tags for the log group.</p>
3557
3557
  * @public
3558
3558
  */
3559
- tags?: Record<string, string>;
3559
+ tags?: Record<string, string> | undefined;
3560
3560
  }
3561
3561
  /**
3562
3562
  * <p>This object contains the information for one log event returned in a Live Tail stream.</p>
@@ -3567,27 +3567,27 @@ export interface LiveTailSessionLogEvent {
3567
3567
  * <p>The name of the log stream that ingested this log event.</p>
3568
3568
  * @public
3569
3569
  */
3570
- logStreamName?: string;
3570
+ logStreamName?: string | undefined;
3571
3571
  /**
3572
3572
  * <p>The name or ARN of the log group that ingested this log event.</p>
3573
3573
  * @public
3574
3574
  */
3575
- logGroupIdentifier?: string;
3575
+ logGroupIdentifier?: string | undefined;
3576
3576
  /**
3577
3577
  * <p>The log event message text.</p>
3578
3578
  * @public
3579
3579
  */
3580
- message?: string;
3580
+ message?: string | undefined;
3581
3581
  /**
3582
3582
  * <p>The timestamp specifying when this log event was created.</p>
3583
3583
  * @public
3584
3584
  */
3585
- timestamp?: number;
3585
+ timestamp?: number | undefined;
3586
3586
  /**
3587
3587
  * <p>The timestamp specifying when this log event was ingested into the log group.</p>
3588
3588
  * @public
3589
3589
  */
3590
- ingestionTime?: number;
3590
+ ingestionTime?: number | undefined;
3591
3591
  }
3592
3592
  /**
3593
3593
  * <p>This object contains the metadata for one <code>LiveTailSessionUpdate</code> structure. It indicates whether
@@ -3604,7 +3604,7 @@ export interface LiveTailSessionMetadata {
3604
3604
  * <code>sessionResults</code> array includes all log events that matched your request during this time.</p>
3605
3605
  * @public
3606
3606
  */
3607
- sampled?: boolean;
3607
+ sampled?: boolean | undefined;
3608
3608
  }
3609
3609
  /**
3610
3610
  * <p>This object contains information about this Live Tail session, including the log groups included and the
@@ -3616,29 +3616,29 @@ export interface LiveTailSessionStart {
3616
3616
  * <p>The unique ID generated by CloudWatch Logs to identify this Live Tail session request.</p>
3617
3617
  * @public
3618
3618
  */
3619
- requestId?: string;
3619
+ requestId?: string | undefined;
3620
3620
  /**
3621
3621
  * <p>The unique ID generated by CloudWatch Logs to identify this Live Tail session.</p>
3622
3622
  * @public
3623
3623
  */
3624
- sessionId?: string;
3624
+ sessionId?: string | undefined;
3625
3625
  /**
3626
3626
  * <p>An array of the names and ARNs of the log groups included in this Live Tail session.</p>
3627
3627
  * @public
3628
3628
  */
3629
- logGroupIdentifiers?: string[];
3629
+ logGroupIdentifiers?: string[] | undefined;
3630
3630
  /**
3631
3631
  * <p>If your StartLiveTail operation request included a <code>logStreamNames</code> parameter that filtered the session
3632
3632
  * to only include certain log streams, these streams are listed here.</p>
3633
3633
  * @public
3634
3634
  */
3635
- logStreamNames?: string[];
3635
+ logStreamNames?: string[] | undefined;
3636
3636
  /**
3637
3637
  * <p>If your StartLiveTail operation request included a <code>logStreamNamePrefixes</code> parameter that filtered the session
3638
3638
  * to only include log streams that have names that start with certain prefixes, these prefixes are listed here.</p>
3639
3639
  * @public
3640
3640
  */
3641
- logStreamNamePrefixes?: string[];
3641
+ logStreamNamePrefixes?: string[] | undefined;
3642
3642
  /**
3643
3643
  * <p>An optional pattern to filter the results to include only log events that match the pattern.
3644
3644
  * For example, a filter pattern of <code>error 404</code> displays only log events that include both <code>error</code>
@@ -3646,7 +3646,7 @@ export interface LiveTailSessionStart {
3646
3646
  * <p>For more information about filter pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html">Filter and Pattern Syntax</a>.</p>
3647
3647
  * @public
3648
3648
  */
3649
- logEventFilterPattern?: string;
3649
+ logEventFilterPattern?: string | undefined;
3650
3650
  }
3651
3651
  /**
3652
3652
  * <p>This object contains the log events and metadata for a Live Tail session.</p>
@@ -3657,7 +3657,7 @@ export interface LiveTailSessionUpdate {
3657
3657
  * <p>This object contains the session metadata for a Live Tail session.</p>
3658
3658
  * @public
3659
3659
  */
3660
- sessionMetadata?: LiveTailSessionMetadata;
3660
+ sessionMetadata?: LiveTailSessionMetadata | undefined;
3661
3661
  /**
3662
3662
  * <p>An array, where each member of the array includes the information for one log event in the Live Tail session.</p>
3663
3663
  * <p>A <code>sessionResults</code> array can include as many as 500 log events. If the number of
@@ -3665,7 +3665,7 @@ export interface LiveTailSessionUpdate {
3665
3665
  * log events are sampled down to 500 log events to be included in each <code>sessionUpdate</code> structure.</p>
3666
3666
  * @public
3667
3667
  */
3668
- sessionResults?: LiveTailSessionLogEvent[];
3668
+ sessionResults?: LiveTailSessionLogEvent[] | undefined;
3669
3669
  }
3670
3670
  /**
3671
3671
  * @public
@@ -3773,7 +3773,7 @@ export interface PutAccountPolicyRequest {
3773
3773
  * of <code>ALL</code> is used.</p>
3774
3774
  * @public
3775
3775
  */
3776
- scope?: Scope;
3776
+ scope?: Scope | undefined;
3777
3777
  /**
3778
3778
  * <p>Use this parameter to apply the subscription filter policy to a subset of log groups in the account.
3779
3779
  * Currently, the only supported filter is <code>LogGroupName NOT IN []</code>. The <code>selectionCriteria</code>
@@ -3784,7 +3784,7 @@ export interface PutAccountPolicyRequest {
3784
3784
  * for <code>policyType</code>.</p>
3785
3785
  * @public
3786
3786
  */
3787
- selectionCriteria?: string;
3787
+ selectionCriteria?: string | undefined;
3788
3788
  }
3789
3789
  /**
3790
3790
  * @public
@@ -3794,7 +3794,7 @@ export interface PutAccountPolicyResponse {
3794
3794
  * <p>The account policy that you created.</p>
3795
3795
  * @public
3796
3796
  */
3797
- accountPolicy?: AccountPolicy;
3797
+ accountPolicy?: AccountPolicy | undefined;
3798
3798
  }
3799
3799
  /**
3800
3800
  * @public
@@ -3852,17 +3852,17 @@ export interface PutDataProtectionPolicyResponse {
3852
3852
  * <p>The log group name or ARN that you specified in your request.</p>
3853
3853
  * @public
3854
3854
  */
3855
- logGroupIdentifier?: string;
3855
+ logGroupIdentifier?: string | undefined;
3856
3856
  /**
3857
3857
  * <p>The data protection policy used for this log group.</p>
3858
3858
  * @public
3859
3859
  */
3860
- policyDocument?: string;
3860
+ policyDocument?: string | undefined;
3861
3861
  /**
3862
3862
  * <p>The date and time that this policy was most recently updated.</p>
3863
3863
  * @public
3864
3864
  */
3865
- lastUpdatedTime?: number;
3865
+ lastUpdatedTime?: number | undefined;
3866
3866
  }
3867
3867
  /**
3868
3868
  * @public
@@ -3877,7 +3877,7 @@ export interface PutDeliveryDestinationRequest {
3877
3877
  * <p>The format for the logs that this delivery destination will receive.</p>
3878
3878
  * @public
3879
3879
  */
3880
- outputFormat?: OutputFormat;
3880
+ outputFormat?: OutputFormat | undefined;
3881
3881
  /**
3882
3882
  * <p>A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.</p>
3883
3883
  * @public
@@ -3890,7 +3890,7 @@ export interface PutDeliveryDestinationRequest {
3890
3890
  * </p>
3891
3891
  * @public
3892
3892
  */
3893
- tags?: Record<string, string>;
3893
+ tags?: Record<string, string> | undefined;
3894
3894
  }
3895
3895
  /**
3896
3896
  * @public
@@ -3900,7 +3900,7 @@ export interface PutDeliveryDestinationResponse {
3900
3900
  * <p>A structure containing information about the delivery destination that you just created or updated.</p>
3901
3901
  * @public
3902
3902
  */
3903
- deliveryDestination?: DeliveryDestination;
3903
+ deliveryDestination?: DeliveryDestination | undefined;
3904
3904
  }
3905
3905
  /**
3906
3906
  * @public
@@ -3925,7 +3925,7 @@ export interface PutDeliveryDestinationPolicyResponse {
3925
3925
  * <p>The contents of the policy that you just created.</p>
3926
3926
  * @public
3927
3927
  */
3928
- policy?: Policy;
3928
+ policy?: Policy | undefined;
3929
3929
  }
3930
3930
  /**
3931
3931
  * @public
@@ -3973,7 +3973,7 @@ export interface PutDeliverySourceRequest {
3973
3973
  * </p>
3974
3974
  * @public
3975
3975
  */
3976
- tags?: Record<string, string>;
3976
+ tags?: Record<string, string> | undefined;
3977
3977
  }
3978
3978
  /**
3979
3979
  * @public
@@ -3983,7 +3983,7 @@ export interface PutDeliverySourceResponse {
3983
3983
  * <p>A structure containing information about the delivery source that was just created or updated.</p>
3984
3984
  * @public
3985
3985
  */
3986
- deliverySource?: DeliverySource;
3986
+ deliverySource?: DeliverySource | undefined;
3987
3987
  }
3988
3988
  /**
3989
3989
  * @public
@@ -4012,7 +4012,7 @@ export interface PutDestinationRequest {
4012
4012
  * </p>
4013
4013
  * @public
4014
4014
  */
4015
- tags?: Record<string, string>;
4015
+ tags?: Record<string, string> | undefined;
4016
4016
  }
4017
4017
  /**
4018
4018
  * @public
@@ -4022,7 +4022,7 @@ export interface PutDestinationResponse {
4022
4022
  * <p>The destination.</p>
4023
4023
  * @public
4024
4024
  */
4025
- destination?: Destination;
4025
+ destination?: Destination | undefined;
4026
4026
  }
4027
4027
  /**
4028
4028
  * @public
@@ -4053,7 +4053,7 @@ export interface PutDestinationPolicyRequest {
4053
4053
  * <p>If you omit this parameter, the default of <code>false</code> is used.</p>
4054
4054
  * @public
4055
4055
  */
4056
- forceUpdate?: boolean;
4056
+ forceUpdate?: boolean | undefined;
4057
4057
  }
4058
4058
  /**
4059
4059
  * @public
@@ -4085,12 +4085,12 @@ export interface PutLogEventsRequest {
4085
4085
  * </important>
4086
4086
  * @public
4087
4087
  */
4088
- sequenceToken?: string;
4088
+ sequenceToken?: string | undefined;
4089
4089
  /**
4090
4090
  * <p>Reserved for internal use.</p>
4091
4091
  * @public
4092
4092
  */
4093
- entity?: Entity;
4093
+ entity?: Entity | undefined;
4094
4094
  }
4095
4095
  /**
4096
4096
  * <p>Reserved for internal use.</p>
@@ -4112,17 +4112,17 @@ export interface RejectedLogEventsInfo {
4112
4112
  * <p>The index of the first log event that is too new. This field is inclusive.</p>
4113
4113
  * @public
4114
4114
  */
4115
- tooNewLogEventStartIndex?: number;
4115
+ tooNewLogEventStartIndex?: number | undefined;
4116
4116
  /**
4117
4117
  * <p>The index of the last log event that is too old. This field is exclusive.</p>
4118
4118
  * @public
4119
4119
  */
4120
- tooOldLogEventEndIndex?: number;
4120
+ tooOldLogEventEndIndex?: number | undefined;
4121
4121
  /**
4122
4122
  * <p>The expired log events.</p>
4123
4123
  * @public
4124
4124
  */
4125
- expiredLogEventEndIndex?: number;
4125
+ expiredLogEventEndIndex?: number | undefined;
4126
4126
  }
4127
4127
  /**
4128
4128
  * @public
@@ -4141,17 +4141,17 @@ export interface PutLogEventsResponse {
4141
4141
  * </important>
4142
4142
  * @public
4143
4143
  */
4144
- nextSequenceToken?: string;
4144
+ nextSequenceToken?: string | undefined;
4145
4145
  /**
4146
4146
  * <p>The rejected events.</p>
4147
4147
  * @public
4148
4148
  */
4149
- rejectedLogEventsInfo?: RejectedLogEventsInfo;
4149
+ rejectedLogEventsInfo?: RejectedLogEventsInfo | undefined;
4150
4150
  /**
4151
4151
  * <p>Reserved for internal use.</p>
4152
4152
  * @public
4153
4153
  */
4154
- rejectedEntityInfo?: RejectedEntityInfo;
4154
+ rejectedEntityInfo?: RejectedEntityInfo | undefined;
4155
4155
  }
4156
4156
  /**
4157
4157
  * <p>The most likely cause is an Amazon Web Services access key ID or secret key that's not
@@ -4211,14 +4211,14 @@ export interface PutQueryDefinitionRequest {
4211
4211
  * operation.</p>
4212
4212
  * @public
4213
4213
  */
4214
- queryDefinitionId?: string;
4214
+ queryDefinitionId?: string | undefined;
4215
4215
  /**
4216
4216
  * <p>Use this parameter to include specific log groups as part of your query definition.</p>
4217
4217
  * <p>If you are updating a query definition and you omit this parameter, then the updated
4218
4218
  * definition will contain no log groups.</p>
4219
4219
  * @public
4220
4220
  */
4221
- logGroupNames?: string[];
4221
+ logGroupNames?: string[] | undefined;
4222
4222
  /**
4223
4223
  * <p>The query string to use for this definition.
4224
4224
  * For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
@@ -4232,7 +4232,7 @@ export interface PutQueryDefinitionRequest {
4232
4232
  * error.</p>
4233
4233
  * @public
4234
4234
  */
4235
- clientToken?: string;
4235
+ clientToken?: string | undefined;
4236
4236
  }
4237
4237
  /**
4238
4238
  * @public
@@ -4242,7 +4242,7 @@ export interface PutQueryDefinitionResponse {
4242
4242
  * <p>The ID of the query definition.</p>
4243
4243
  * @public
4244
4244
  */
4245
- queryDefinitionId?: string;
4245
+ queryDefinitionId?: string | undefined;
4246
4246
  }
4247
4247
  /**
4248
4248
  * @public
@@ -4252,7 +4252,7 @@ export interface PutResourcePolicyRequest {
4252
4252
  * <p>Name of the new policy. This parameter is required.</p>
4253
4253
  * @public
4254
4254
  */
4255
- policyName?: string;
4255
+ policyName?: string | undefined;
4256
4256
  /**
4257
4257
  * <p>Details of the new policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string.
4258
4258
  * This parameter is required.</p>
@@ -4295,7 +4295,7 @@ export interface PutResourcePolicyRequest {
4295
4295
  * </p>
4296
4296
  * @public
4297
4297
  */
4298
- policyDocument?: string;
4298
+ policyDocument?: string | undefined;
4299
4299
  }
4300
4300
  /**
4301
4301
  * @public
@@ -4305,7 +4305,7 @@ export interface PutResourcePolicyResponse {
4305
4305
  * <p>The new policy.</p>
4306
4306
  * @public
4307
4307
  */
4308
- resourcePolicy?: ResourcePolicy;
4308
+ resourcePolicy?: ResourcePolicy | undefined;
4309
4309
  }
4310
4310
  /**
4311
4311
  * @public
@@ -4378,14 +4378,14 @@ export interface PutSubscriptionFilterRequest {
4378
4378
  * a logical destination for cross-account delivery.</p>
4379
4379
  * @public
4380
4380
  */
4381
- roleArn?: string;
4381
+ roleArn?: string | undefined;
4382
4382
  /**
4383
4383
  * <p>The method used to distribute log data to the destination. By default, log data is
4384
4384
  * grouped by log stream, but the grouping can be set to random for a more even distribution.
4385
4385
  * This property is only applicable when the destination is an Amazon Kinesis data stream. </p>
4386
4386
  * @public
4387
4387
  */
4388
- distribution?: Distribution;
4388
+ distribution?: Distribution | undefined;
4389
4389
  }
4390
4390
  /**
4391
4391
  * @public
@@ -4410,7 +4410,7 @@ export interface StartLiveTailRequest {
4410
4410
  * </note>
4411
4411
  * @public
4412
4412
  */
4413
- logStreamNames?: string[];
4413
+ logStreamNames?: string[] | undefined;
4414
4414
  /**
4415
4415
  * <p>If you specify this parameter, then only log events in the log streams that have names that start with the
4416
4416
  * prefixes that you specify here are
@@ -4421,7 +4421,7 @@ export interface StartLiveTailRequest {
4421
4421
  * </note>
4422
4422
  * @public
4423
4423
  */
4424
- logStreamNamePrefixes?: string[];
4424
+ logStreamNamePrefixes?: string[] | undefined;
4425
4425
  /**
4426
4426
  * <p>An optional pattern to use to filter the results to include only log events that match the pattern.
4427
4427
  * For example, a filter pattern of <code>error 404</code> causes only log events that include both <code>error</code>
@@ -4430,7 +4430,7 @@ export interface StartLiveTailRequest {
4430
4430
  * <p>For more information about filter pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html">Filter and Pattern Syntax</a>.</p>
4431
4431
  * @public
4432
4432
  */
4433
- logEventFilterPattern?: string;
4433
+ logEventFilterPattern?: string | undefined;
4434
4434
  }
4435
4435
  /**
4436
4436
  * <p>his exception is returned if an unknown error occurs during a Live Tail session.</p>
@@ -4541,7 +4541,7 @@ export interface StartLiveTailResponse {
4541
4541
  * <p>An object that includes the stream returned by your request. It can include both log events and exceptions.</p>
4542
4542
  * @public
4543
4543
  */
4544
- responseStream?: AsyncIterable<StartLiveTailResponseStream>;
4544
+ responseStream?: AsyncIterable<StartLiveTailResponseStream> | undefined;
4545
4545
  }
4546
4546
  /**
4547
4547
  * <p>Reserved.</p>
@@ -4552,12 +4552,12 @@ export interface QueryCompileErrorLocation {
4552
4552
  * <p>Reserved.</p>
4553
4553
  * @public
4554
4554
  */
4555
- startCharOffset?: number;
4555
+ startCharOffset?: number | undefined;
4556
4556
  /**
4557
4557
  * <p>Reserved.</p>
4558
4558
  * @public
4559
4559
  */
4560
- endCharOffset?: number;
4560
+ endCharOffset?: number | undefined;
4561
4561
  }
4562
4562
  /**
4563
4563
  * <p>Reserved.</p>
@@ -4568,12 +4568,12 @@ export interface QueryCompileError {
4568
4568
  * <p>Reserved.</p>
4569
4569
  * @public
4570
4570
  */
4571
- location?: QueryCompileErrorLocation;
4571
+ location?: QueryCompileErrorLocation | undefined;
4572
4572
  /**
4573
4573
  * <p>Reserved.</p>
4574
4574
  * @public
4575
4575
  */
4576
- message?: string;
4576
+ message?: string | undefined;
4577
4577
  }
4578
4578
  /**
4579
4579
  * <p>The query string is not valid. Details about this error are displayed in a
@@ -4590,7 +4590,7 @@ export declare class MalformedQueryException extends __BaseException {
4590
4590
  * <p>Reserved.</p>
4591
4591
  * @public
4592
4592
  */
4593
- queryCompileError?: QueryCompileError;
4593
+ queryCompileError?: QueryCompileError | undefined;
4594
4594
  /**
4595
4595
  * @internal
4596
4596
  */
@@ -4609,7 +4609,7 @@ export interface StartQueryRequest {
4609
4609
  * </note>
4610
4610
  * @public
4611
4611
  */
4612
- logGroupName?: string;
4612
+ logGroupName?: string | undefined;
4613
4613
  /**
4614
4614
  * <p>The list of log groups to be queried. You can include up to 50 log groups.</p>
4615
4615
  * <note>
@@ -4619,7 +4619,7 @@ export interface StartQueryRequest {
4619
4619
  * </note>
4620
4620
  * @public
4621
4621
  */
4622
- logGroupNames?: string[];
4622
+ logGroupNames?: string[] | undefined;
4623
4623
  /**
4624
4624
  * <p>The list of log groups to query. You can include up to 50 log groups.</p>
4625
4625
  * <p>You can specify them by the log group name or ARN. If a log group that you're querying is
@@ -4630,7 +4630,7 @@ export interface StartQueryRequest {
4630
4630
  * <code>logGroupName</code>, <code>logGroupNames</code>, or <code>logGroupIdentifiers</code>. </p>
4631
4631
  * @public
4632
4632
  */
4633
- logGroupIdentifiers?: string[];
4633
+ logGroupIdentifiers?: string[] | undefined;
4634
4634
  /**
4635
4635
  * <p>The beginning of the time range to query. The range is inclusive, so the specified start
4636
4636
  * time is included in the query. Specified as epoch time, the number of seconds since
@@ -4656,7 +4656,7 @@ export interface StartQueryRequest {
4656
4656
  * only the specified fields and their values are returned. The default is 10,000.</p>
4657
4657
  * @public
4658
4658
  */
4659
- limit?: number;
4659
+ limit?: number | undefined;
4660
4660
  }
4661
4661
  /**
4662
4662
  * @public
@@ -4666,7 +4666,7 @@ export interface StartQueryResponse {
4666
4666
  * <p>The unique ID of the query. </p>
4667
4667
  * @public
4668
4668
  */
4669
- queryId?: string;
4669
+ queryId?: string | undefined;
4670
4670
  }
4671
4671
  /**
4672
4672
  * @public
@@ -4687,7 +4687,7 @@ export interface StopQueryResponse {
4687
4687
  * <p>This is true if the query was stopped by the <code>StopQuery</code> operation.</p>
4688
4688
  * @public
4689
4689
  */
4690
- success?: boolean;
4690
+ success?: boolean | undefined;
4691
4691
  }
4692
4692
  /**
4693
4693
  * @public
@@ -4740,7 +4740,7 @@ export declare class TooManyTagsException extends __BaseException {
4740
4740
  * <p>The name of the resource.</p>
4741
4741
  * @public
4742
4742
  */
4743
- resourceName?: string;
4743
+ resourceName?: string | undefined;
4744
4744
  /**
4745
4745
  * @internal
4746
4746
  */
@@ -4772,17 +4772,17 @@ export interface MetricFilterMatchRecord {
4772
4772
  * <p>The event number.</p>
4773
4773
  * @public
4774
4774
  */
4775
- eventNumber?: number;
4775
+ eventNumber?: number | undefined;
4776
4776
  /**
4777
4777
  * <p>The raw event data.</p>
4778
4778
  * @public
4779
4779
  */
4780
- eventMessage?: string;
4780
+ eventMessage?: string | undefined;
4781
4781
  /**
4782
4782
  * <p>The values extracted from the event data by the filter.</p>
4783
4783
  * @public
4784
4784
  */
4785
- extractedValues?: Record<string, string>;
4785
+ extractedValues?: Record<string, string> | undefined;
4786
4786
  }
4787
4787
  /**
4788
4788
  * @public
@@ -4792,7 +4792,7 @@ export interface TestMetricFilterResponse {
4792
4792
  * <p>The matched events.</p>
4793
4793
  * @public
4794
4794
  */
4795
- matches?: MetricFilterMatchRecord[];
4795
+ matches?: MetricFilterMatchRecord[] | undefined;
4796
4796
  }
4797
4797
  /**
4798
4798
  * @public
@@ -4857,12 +4857,12 @@ export interface SuppressionPeriod {
4857
4857
  * <p>Specifies the number of seconds, minutes or hours to suppress this anomaly. There is no maximum.</p>
4858
4858
  * @public
4859
4859
  */
4860
- value?: number;
4860
+ value?: number | undefined;
4861
4861
  /**
4862
4862
  * <p>Specifies whether the value of <code>value</code> is in seconds, minutes, or hours.</p>
4863
4863
  * @public
4864
4864
  */
4865
- suppressionUnit?: SuppressionUnit;
4865
+ suppressionUnit?: SuppressionUnit | undefined;
4866
4866
  }
4867
4867
  /**
4868
4868
  * @public
@@ -4885,13 +4885,13 @@ export interface UpdateAnomalyRequest {
4885
4885
  * using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListAnomalies.html">ListAnomalies</a> operation.</p>
4886
4886
  * @public
4887
4887
  */
4888
- anomalyId?: string;
4888
+ anomalyId?: string | undefined;
4889
4889
  /**
4890
4890
  * <p>If you are suppressing or unsuppressing an pattern, specify its unique ID here. You can find pattern IDs by
4891
4891
  * using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListAnomalies.html">ListAnomalies</a> operation.</p>
4892
4892
  * @public
4893
4893
  */
4894
- patternId?: string;
4894
+ patternId?: string | undefined;
4895
4895
  /**
4896
4896
  * <p>The ARN of the anomaly detector that this operation is to act on.</p>
4897
4897
  * @public
@@ -4903,13 +4903,13 @@ export interface UpdateAnomalyRequest {
4903
4903
  * any value for <code>suppressionPeriod</code> is ignored. </p>
4904
4904
  * @public
4905
4905
  */
4906
- suppressionType?: SuppressionType;
4906
+ suppressionType?: SuppressionType | undefined;
4907
4907
  /**
4908
4908
  * <p>If you are temporarily suppressing an anomaly or pattern, use this structure to specify
4909
4909
  * how long the suppression is to last.</p>
4910
4910
  * @public
4911
4911
  */
4912
- suppressionPeriod?: SuppressionPeriod;
4912
+ suppressionPeriod?: SuppressionPeriod | undefined;
4913
4913
  /**
4914
4914
  * <p>Set this to <code>true</code> to prevent CloudWatch Logs from displaying this behavior as an anomaly in the future. The behavior is then treated as
4915
4915
  * baseline behavior. However, if similar but
@@ -4918,7 +4918,7 @@ export interface UpdateAnomalyRequest {
4918
4918
  * </p>
4919
4919
  * @public
4920
4920
  */
4921
- baseline?: boolean;
4921
+ baseline?: boolean | undefined;
4922
4922
  }
4923
4923
  /**
4924
4924
  * @public
@@ -4934,18 +4934,18 @@ export interface UpdateDeliveryConfigurationRequest {
4934
4934
  * If the delivery's log source has mandatory fields, they must be included in this list.</p>
4935
4935
  * @public
4936
4936
  */
4937
- recordFields?: string[];
4937
+ recordFields?: string[] | undefined;
4938
4938
  /**
4939
4939
  * <p>The field delimiter to use between record fields when the final output format of a delivery
4940
4940
  * is in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p>
4941
4941
  * @public
4942
4942
  */
4943
- fieldDelimiter?: string;
4943
+ fieldDelimiter?: string | undefined;
4944
4944
  /**
4945
4945
  * <p>This structure contains parameters that are valid only when the delivery's delivery destination is an S3 bucket.</p>
4946
4946
  * @public
4947
4947
  */
4948
- s3DeliveryConfiguration?: S3DeliveryConfiguration;
4948
+ s3DeliveryConfiguration?: S3DeliveryConfiguration | undefined;
4949
4949
  }
4950
4950
  /**
4951
4951
  * @public
@@ -4968,21 +4968,21 @@ export interface UpdateLogAnomalyDetectorRequest {
4968
4968
  * <code>FIFTEEN_MIN</code> might be appropriate.</p>
4969
4969
  * @public
4970
4970
  */
4971
- evaluationFrequency?: EvaluationFrequency;
4971
+ evaluationFrequency?: EvaluationFrequency | undefined;
4972
4972
  /**
4973
4973
  * <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
4974
4974
  * event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
4975
4975
  * use the filter pattern to specify what to look for in the log event message.</p>
4976
4976
  * @public
4977
4977
  */
4978
- filterPattern?: string;
4978
+ filterPattern?: string | undefined;
4979
4979
  /**
4980
4980
  * <p>The number of days to use as the life cycle of anomalies. After this time, anomalies are automatically baselined
4981
4981
  * and the anomaly detector model will treat new occurrences of similar event as normal. Therefore, if you do not correct the cause of an
4982
4982
  * anomaly during this time, it will be considered normal going forward and will not be detected.</p>
4983
4983
  * @public
4984
4984
  */
4985
- anomalyVisibilityTime?: number;
4985
+ anomalyVisibilityTime?: number | undefined;
4986
4986
  /**
4987
4987
  * <p>Use this parameter to pause or restart the anomaly detector. </p>
4988
4988
  * @public