@aws-sdk/client-cloudwatch-logs 3.300.0 → 3.303.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.
Files changed (53) hide show
  1. package/dist-cjs/models/models_0.js +60 -66
  2. package/dist-es/models/models_0.js +60 -66
  3. package/dist-types/commands/AssociateKmsKeyCommand.d.ts +1 -1
  4. package/dist-types/commands/CancelExportTaskCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateExportTaskCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateLogGroupCommand.d.ts +2 -2
  7. package/dist-types/commands/CreateLogStreamCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteDestinationCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteLogGroupCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteLogStreamCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteMetricFilterCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeDestinationsCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeExportTasksCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeLogGroupsCommand.d.ts +2 -2
  20. package/dist-types/commands/DescribeLogStreamsCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeQueriesCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +1 -1
  26. package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +1 -1
  27. package/dist-types/commands/FilterLogEventsCommand.d.ts +2 -2
  28. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +1 -1
  29. package/dist-types/commands/GetLogEventsCommand.d.ts +1 -1
  30. package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +1 -1
  31. package/dist-types/commands/GetLogRecordCommand.d.ts +1 -1
  32. package/dist-types/commands/GetQueryResultsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/ListTagsLogGroupCommand.d.ts +1 -1
  35. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +1 -1
  36. package/dist-types/commands/PutDestinationCommand.d.ts +2 -2
  37. package/dist-types/commands/PutDestinationPolicyCommand.d.ts +1 -1
  38. package/dist-types/commands/PutLogEventsCommand.d.ts +3 -3
  39. package/dist-types/commands/PutMetricFilterCommand.d.ts +4 -4
  40. package/dist-types/commands/PutQueryDefinitionCommand.d.ts +2 -2
  41. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  42. package/dist-types/commands/PutRetentionPolicyCommand.d.ts +1 -1
  43. package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +1 -1
  44. package/dist-types/commands/StartQueryCommand.d.ts +3 -3
  45. package/dist-types/commands/StopQueryCommand.d.ts +1 -1
  46. package/dist-types/commands/TagLogGroupCommand.d.ts +2 -2
  47. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  48. package/dist-types/commands/TestMetricFilterCommand.d.ts +2 -2
  49. package/dist-types/commands/UntagLogGroupCommand.d.ts +2 -2
  50. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  51. package/dist-types/models/models_0.d.ts +91 -61
  52. package/dist-types/ts3.4/models/models_0.d.ts +68 -60
  53. package/package.json +34 -34
@@ -32,7 +32,7 @@ export interface ListTagsLogGroupCommandOutput extends ListTagsLogGroupResponse,
32
32
  * import { CloudWatchLogsClient, ListTagsLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
33
33
  * // const { CloudWatchLogsClient, ListTagsLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
34
34
  * const client = new CloudWatchLogsClient(config);
35
- * const input = {
35
+ * const input = { // ListTagsLogGroupRequest
36
36
  * logGroupName: "STRING_VALUE", // required
37
37
  * };
38
38
  * const command = new ListTagsLogGroupCommand(input);
@@ -40,7 +40,7 @@ export interface PutDataProtectionPolicyCommandOutput extends PutDataProtectionP
40
40
  * import { CloudWatchLogsClient, PutDataProtectionPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
41
41
  * // const { CloudWatchLogsClient, PutDataProtectionPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
42
42
  * const client = new CloudWatchLogsClient(config);
43
- * const input = {
43
+ * const input = { // PutDataProtectionPolicyRequest
44
44
  * logGroupIdentifier: "STRING_VALUE", // required
45
45
  * policyDocument: "STRING_VALUE", // required
46
46
  * };
@@ -35,11 +35,11 @@ export interface PutDestinationCommandOutput extends PutDestinationResponse, __M
35
35
  * import { CloudWatchLogsClient, PutDestinationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
36
36
  * // const { CloudWatchLogsClient, PutDestinationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
37
37
  * const client = new CloudWatchLogsClient(config);
38
- * const input = {
38
+ * const input = { // PutDestinationRequest
39
39
  * destinationName: "STRING_VALUE", // required
40
40
  * targetArn: "STRING_VALUE", // required
41
41
  * roleArn: "STRING_VALUE", // required
42
- * tags: {
42
+ * tags: { // Tags
43
43
  * "<keys>": "STRING_VALUE",
44
44
  * },
45
45
  * };
@@ -28,7 +28,7 @@ export interface PutDestinationPolicyCommandOutput extends __MetadataBearer {
28
28
  * import { CloudWatchLogsClient, PutDestinationPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
29
29
  * // const { CloudWatchLogsClient, PutDestinationPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
30
30
  * const client = new CloudWatchLogsClient(config);
31
- * const input = {
31
+ * const input = { // PutDestinationPolicyRequest
32
32
  * destinationName: "STRING_VALUE", // required
33
33
  * accessPolicy: "STRING_VALUE", // required
34
34
  * forceUpdate: true || false,
@@ -71,11 +71,11 @@ export interface PutLogEventsCommandOutput extends PutLogEventsResponse, __Metad
71
71
  * import { CloudWatchLogsClient, PutLogEventsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
72
72
  * // const { CloudWatchLogsClient, PutLogEventsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
73
73
  * const client = new CloudWatchLogsClient(config);
74
- * const input = {
74
+ * const input = { // PutLogEventsRequest
75
75
  * logGroupName: "STRING_VALUE", // required
76
76
  * logStreamName: "STRING_VALUE", // required
77
- * logEvents: [ // required
78
- * {
77
+ * logEvents: [ // InputLogEvents // required
78
+ * { // InputLogEvent
79
79
  * timestamp: Number("long"), // required
80
80
  * message: "STRING_VALUE", // required
81
81
  * },
@@ -48,17 +48,17 @@ export interface PutMetricFilterCommandOutput extends __MetadataBearer {
48
48
  * import { CloudWatchLogsClient, PutMetricFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
49
49
  * // const { CloudWatchLogsClient, PutMetricFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
50
50
  * const client = new CloudWatchLogsClient(config);
51
- * const input = {
51
+ * const input = { // PutMetricFilterRequest
52
52
  * logGroupName: "STRING_VALUE", // required
53
53
  * filterName: "STRING_VALUE", // required
54
54
  * filterPattern: "STRING_VALUE", // required
55
- * metricTransformations: [ // required
56
- * {
55
+ * metricTransformations: [ // MetricTransformations // required
56
+ * { // MetricTransformation
57
57
  * metricName: "STRING_VALUE", // required
58
58
  * metricNamespace: "STRING_VALUE", // required
59
59
  * metricValue: "STRING_VALUE", // required
60
60
  * defaultValue: Number("double"),
61
- * dimensions: {
61
+ * dimensions: { // Dimensions
62
62
  * "<keys>": "STRING_VALUE",
63
63
  * },
64
64
  * unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
@@ -36,10 +36,10 @@ export interface PutQueryDefinitionCommandOutput extends PutQueryDefinitionRespo
36
36
  * import { CloudWatchLogsClient, PutQueryDefinitionCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
37
37
  * // const { CloudWatchLogsClient, PutQueryDefinitionCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
38
38
  * const client = new CloudWatchLogsClient(config);
39
- * const input = {
39
+ * const input = { // PutQueryDefinitionRequest
40
40
  * name: "STRING_VALUE", // required
41
41
  * queryDefinitionId: "STRING_VALUE",
42
- * logGroupNames: [
42
+ * logGroupNames: [ // LogGroupNames
43
43
  * "STRING_VALUE",
44
44
  * ],
45
45
  * queryString: "STRING_VALUE", // required
@@ -28,7 +28,7 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
28
28
  * import { CloudWatchLogsClient, PutResourcePolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
29
29
  * // const { CloudWatchLogsClient, PutResourcePolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
30
30
  * const client = new CloudWatchLogsClient(config);
31
- * const input = {
31
+ * const input = { // PutResourcePolicyRequest
32
32
  * policyName: "STRING_VALUE",
33
33
  * policyDocument: "STRING_VALUE",
34
34
  * };
@@ -40,7 +40,7 @@ export interface PutRetentionPolicyCommandOutput extends __MetadataBearer {
40
40
  * import { CloudWatchLogsClient, PutRetentionPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
41
41
  * // const { CloudWatchLogsClient, PutRetentionPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
42
42
  * const client = new CloudWatchLogsClient(config);
43
- * const input = {
43
+ * const input = { // PutRetentionPolicyRequest
44
44
  * logGroupName: "STRING_VALUE", // required
45
45
  * retentionInDays: Number("int"), // required
46
46
  * };
@@ -53,7 +53,7 @@ export interface PutSubscriptionFilterCommandOutput extends __MetadataBearer {
53
53
  * import { CloudWatchLogsClient, PutSubscriptionFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
54
54
  * // const { CloudWatchLogsClient, PutSubscriptionFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
55
55
  * const client = new CloudWatchLogsClient(config);
56
- * const input = {
56
+ * const input = { // PutSubscriptionFilterRequest
57
57
  * logGroupName: "STRING_VALUE", // required
58
58
  * filterName: "STRING_VALUE", // required
59
59
  * filterPattern: "STRING_VALUE", // required
@@ -37,12 +37,12 @@ export interface StartQueryCommandOutput extends StartQueryResponse, __MetadataB
37
37
  * import { CloudWatchLogsClient, StartQueryCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
38
38
  * // const { CloudWatchLogsClient, StartQueryCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
39
39
  * const client = new CloudWatchLogsClient(config);
40
- * const input = {
40
+ * const input = { // StartQueryRequest
41
41
  * logGroupName: "STRING_VALUE",
42
- * logGroupNames: [
42
+ * logGroupNames: [ // LogGroupNames
43
43
  * "STRING_VALUE",
44
44
  * ],
45
- * logGroupIdentifiers: [
45
+ * logGroupIdentifiers: [ // LogGroupIdentifiers
46
46
  * "STRING_VALUE",
47
47
  * ],
48
48
  * startTime: Number("long"), // required
@@ -27,7 +27,7 @@ export interface StopQueryCommandOutput extends StopQueryResponse, __MetadataBea
27
27
  * import { CloudWatchLogsClient, StopQueryCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, StopQueryCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // StopQueryRequest
31
31
  * queryId: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new StopQueryCommand(input);
@@ -41,9 +41,9 @@ export interface TagLogGroupCommandOutput extends __MetadataBearer {
41
41
  * import { CloudWatchLogsClient, TagLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
42
42
  * // const { CloudWatchLogsClient, TagLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
43
43
  * const client = new CloudWatchLogsClient(config);
44
- * const input = {
44
+ * const input = { // TagLogGroupRequest
45
45
  * logGroupName: "STRING_VALUE", // required
46
- * tags: { // required
46
+ * tags: { // Tags // required
47
47
  * "<keys>": "STRING_VALUE",
48
48
  * },
49
49
  * };
@@ -37,9 +37,9 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
37
37
  * import { CloudWatchLogsClient, TagResourceCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
38
38
  * // const { CloudWatchLogsClient, TagResourceCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
39
39
  * const client = new CloudWatchLogsClient(config);
40
- * const input = {
40
+ * const input = { // TagResourceRequest
41
41
  * resourceArn: "STRING_VALUE", // required
42
- * tags: { // required
42
+ * tags: { // Tags // required
43
43
  * "<keys>": "STRING_VALUE",
44
44
  * },
45
45
  * };
@@ -27,9 +27,9 @@ export interface TestMetricFilterCommandOutput extends TestMetricFilterResponse,
27
27
  * import { CloudWatchLogsClient, TestMetricFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
28
28
  * // const { CloudWatchLogsClient, TestMetricFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
29
29
  * const client = new CloudWatchLogsClient(config);
30
- * const input = {
30
+ * const input = { // TestMetricFilterRequest
31
31
  * filterPattern: "STRING_VALUE", // required
32
- * logEventMessages: [ // required
32
+ * logEventMessages: [ // TestEventMessages // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * };
@@ -38,9 +38,9 @@ export interface UntagLogGroupCommandOutput extends __MetadataBearer {
38
38
  * import { CloudWatchLogsClient, UntagLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
39
39
  * // const { CloudWatchLogsClient, UntagLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
40
40
  * const client = new CloudWatchLogsClient(config);
41
- * const input = {
41
+ * const input = { // UntagLogGroupRequest
42
42
  * logGroupName: "STRING_VALUE", // required
43
- * tags: [ // required
43
+ * tags: [ // TagList // required
44
44
  * "STRING_VALUE",
45
45
  * ],
46
46
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { CloudWatchLogsClient, UntagResourceCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
27
27
  * // const { CloudWatchLogsClient, UntagResourceCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
28
28
  * const client = new CloudWatchLogsClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tagKeys: [ // required
31
+ * tagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -218,13 +218,18 @@ export declare class DataAlreadyAcceptedException extends __BaseException {
218
218
  }
219
219
  /**
220
220
  * @public
221
+ * @enum
221
222
  */
222
- export declare enum DataProtectionStatus {
223
- ACTIVATED = "ACTIVATED",
224
- ARCHIVED = "ARCHIVED",
225
- DELETED = "DELETED",
226
- DISABLED = "DISABLED"
227
- }
223
+ export declare const DataProtectionStatus: {
224
+ readonly ACTIVATED: "ACTIVATED";
225
+ readonly ARCHIVED: "ARCHIVED";
226
+ readonly DELETED: "DELETED";
227
+ readonly DISABLED: "DISABLED";
228
+ };
229
+ /**
230
+ * @public
231
+ */
232
+ export type DataProtectionStatus = (typeof DataProtectionStatus)[keyof typeof DataProtectionStatus];
228
233
  /**
229
234
  * @public
230
235
  */
@@ -395,15 +400,20 @@ export interface DescribeDestinationsResponse {
395
400
  }
396
401
  /**
397
402
  * @public
403
+ * @enum
398
404
  */
399
- export declare enum ExportTaskStatusCode {
400
- CANCELLED = "CANCELLED",
401
- COMPLETED = "COMPLETED",
402
- FAILED = "FAILED",
403
- PENDING = "PENDING",
404
- PENDING_CANCEL = "PENDING_CANCEL",
405
- RUNNING = "RUNNING"
406
- }
405
+ export declare const ExportTaskStatusCode: {
406
+ readonly CANCELLED: "CANCELLED";
407
+ readonly COMPLETED: "COMPLETED";
408
+ readonly FAILED: "FAILED";
409
+ readonly PENDING: "PENDING";
410
+ readonly PENDING_CANCEL: "PENDING_CANCEL";
411
+ readonly RUNNING: "RUNNING";
412
+ };
413
+ /**
414
+ * @public
415
+ */
416
+ export type ExportTaskStatusCode = (typeof ExportTaskStatusCode)[keyof typeof ExportTaskStatusCode];
407
417
  /**
408
418
  * @public
409
419
  */
@@ -631,11 +641,16 @@ export interface DescribeLogGroupsResponse {
631
641
  }
632
642
  /**
633
643
  * @public
644
+ * @enum
634
645
  */
635
- export declare enum OrderBy {
636
- LastEventTime = "LastEventTime",
637
- LogStreamName = "LogStreamName"
638
- }
646
+ export declare const OrderBy: {
647
+ readonly LastEventTime: "LastEventTime";
648
+ readonly LogStreamName: "LogStreamName";
649
+ };
650
+ /**
651
+ * @public
652
+ */
653
+ export type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
639
654
  /**
640
655
  * @public
641
656
  */
@@ -801,36 +816,41 @@ export interface DescribeMetricFiltersRequest {
801
816
  }
802
817
  /**
803
818
  * @public
804
- */
805
- export declare enum StandardUnit {
806
- Bits = "Bits",
807
- BitsSecond = "Bits/Second",
808
- Bytes = "Bytes",
809
- BytesSecond = "Bytes/Second",
810
- Count = "Count",
811
- CountSecond = "Count/Second",
812
- Gigabits = "Gigabits",
813
- GigabitsSecond = "Gigabits/Second",
814
- Gigabytes = "Gigabytes",
815
- GigabytesSecond = "Gigabytes/Second",
816
- Kilobits = "Kilobits",
817
- KilobitsSecond = "Kilobits/Second",
818
- Kilobytes = "Kilobytes",
819
- KilobytesSecond = "Kilobytes/Second",
820
- Megabits = "Megabits",
821
- MegabitsSecond = "Megabits/Second",
822
- Megabytes = "Megabytes",
823
- MegabytesSecond = "Megabytes/Second",
824
- Microseconds = "Microseconds",
825
- Milliseconds = "Milliseconds",
826
- None = "None",
827
- Percent = "Percent",
828
- Seconds = "Seconds",
829
- Terabits = "Terabits",
830
- TerabitsSecond = "Terabits/Second",
831
- Terabytes = "Terabytes",
832
- TerabytesSecond = "Terabytes/Second"
833
- }
819
+ * @enum
820
+ */
821
+ export declare const StandardUnit: {
822
+ readonly Bits: "Bits";
823
+ readonly BitsSecond: "Bits/Second";
824
+ readonly Bytes: "Bytes";
825
+ readonly BytesSecond: "Bytes/Second";
826
+ readonly Count: "Count";
827
+ readonly CountSecond: "Count/Second";
828
+ readonly Gigabits: "Gigabits";
829
+ readonly GigabitsSecond: "Gigabits/Second";
830
+ readonly Gigabytes: "Gigabytes";
831
+ readonly GigabytesSecond: "Gigabytes/Second";
832
+ readonly Kilobits: "Kilobits";
833
+ readonly KilobitsSecond: "Kilobits/Second";
834
+ readonly Kilobytes: "Kilobytes";
835
+ readonly KilobytesSecond: "Kilobytes/Second";
836
+ readonly Megabits: "Megabits";
837
+ readonly MegabitsSecond: "Megabits/Second";
838
+ readonly Megabytes: "Megabytes";
839
+ readonly MegabytesSecond: "Megabytes/Second";
840
+ readonly Microseconds: "Microseconds";
841
+ readonly Milliseconds: "Milliseconds";
842
+ readonly None: "None";
843
+ readonly Percent: "Percent";
844
+ readonly Seconds: "Seconds";
845
+ readonly Terabits: "Terabits";
846
+ readonly TerabitsSecond: "Terabits/Second";
847
+ readonly Terabytes: "Terabytes";
848
+ readonly TerabytesSecond: "Terabytes/Second";
849
+ };
850
+ /**
851
+ * @public
852
+ */
853
+ export type StandardUnit = (typeof StandardUnit)[keyof typeof StandardUnit];
834
854
  /**
835
855
  * @public
836
856
  * <p>Indicates how to transform ingested log events to metric data in a CloudWatch
@@ -926,16 +946,21 @@ export interface DescribeMetricFiltersResponse {
926
946
  }
927
947
  /**
928
948
  * @public
949
+ * @enum
929
950
  */
930
- export declare enum QueryStatus {
931
- Cancelled = "Cancelled",
932
- Complete = "Complete",
933
- Failed = "Failed",
934
- Running = "Running",
935
- Scheduled = "Scheduled",
936
- Timeout = "Timeout",
937
- Unknown = "Unknown"
938
- }
951
+ export declare const QueryStatus: {
952
+ readonly Cancelled: "Cancelled";
953
+ readonly Complete: "Complete";
954
+ readonly Failed: "Failed";
955
+ readonly Running: "Running";
956
+ readonly Scheduled: "Scheduled";
957
+ readonly Timeout: "Timeout";
958
+ readonly Unknown: "Unknown";
959
+ };
960
+ /**
961
+ * @public
962
+ */
963
+ export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
939
964
  /**
940
965
  * @public
941
966
  */
@@ -1123,11 +1148,16 @@ export interface DescribeSubscriptionFiltersRequest {
1123
1148
  }
1124
1149
  /**
1125
1150
  * @public
1151
+ * @enum
1126
1152
  */
1127
- export declare enum Distribution {
1128
- ByLogStream = "ByLogStream",
1129
- Random = "Random"
1130
- }
1153
+ export declare const Distribution: {
1154
+ readonly ByLogStream: "ByLogStream";
1155
+ readonly Random: "Random";
1156
+ };
1157
+ /**
1158
+ * @public
1159
+ */
1160
+ export type Distribution = (typeof Distribution)[keyof typeof Distribution];
1131
1161
  /**
1132
1162
  * @public
1133
1163
  * <p>Represents a subscription filter.</p>
@@ -85,12 +85,14 @@ export declare class DataAlreadyAcceptedException extends __BaseException {
85
85
  opts: __ExceptionOptionType<DataAlreadyAcceptedException, __BaseException>
86
86
  );
87
87
  }
88
- export declare enum DataProtectionStatus {
89
- ACTIVATED = "ACTIVATED",
90
- ARCHIVED = "ARCHIVED",
91
- DELETED = "DELETED",
92
- DISABLED = "DISABLED",
93
- }
88
+ export declare const DataProtectionStatus: {
89
+ readonly ACTIVATED: "ACTIVATED";
90
+ readonly ARCHIVED: "ARCHIVED";
91
+ readonly DELETED: "DELETED";
92
+ readonly DISABLED: "DISABLED";
93
+ };
94
+ export type DataProtectionStatus =
95
+ (typeof DataProtectionStatus)[keyof typeof DataProtectionStatus];
94
96
  export interface DeleteDataProtectionPolicyRequest {
95
97
  logGroupIdentifier: string | undefined;
96
98
  }
@@ -141,14 +143,16 @@ export interface DescribeDestinationsResponse {
141
143
  destinations?: Destination[];
142
144
  nextToken?: string;
143
145
  }
144
- export declare enum ExportTaskStatusCode {
145
- CANCELLED = "CANCELLED",
146
- COMPLETED = "COMPLETED",
147
- FAILED = "FAILED",
148
- PENDING = "PENDING",
149
- PENDING_CANCEL = "PENDING_CANCEL",
150
- RUNNING = "RUNNING",
151
- }
146
+ export declare const ExportTaskStatusCode: {
147
+ readonly CANCELLED: "CANCELLED";
148
+ readonly COMPLETED: "COMPLETED";
149
+ readonly FAILED: "FAILED";
150
+ readonly PENDING: "PENDING";
151
+ readonly PENDING_CANCEL: "PENDING_CANCEL";
152
+ readonly RUNNING: "RUNNING";
153
+ };
154
+ export type ExportTaskStatusCode =
155
+ (typeof ExportTaskStatusCode)[keyof typeof ExportTaskStatusCode];
152
156
  export interface DescribeExportTasksRequest {
153
157
  taskId?: string;
154
158
  statusCode?: ExportTaskStatusCode | string;
@@ -200,10 +204,11 @@ export interface DescribeLogGroupsResponse {
200
204
  logGroups?: LogGroup[];
201
205
  nextToken?: string;
202
206
  }
203
- export declare enum OrderBy {
204
- LastEventTime = "LastEventTime",
205
- LogStreamName = "LogStreamName",
206
- }
207
+ export declare const OrderBy: {
208
+ readonly LastEventTime: "LastEventTime";
209
+ readonly LogStreamName: "LogStreamName";
210
+ };
211
+ export type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
207
212
  export interface DescribeLogStreamsRequest {
208
213
  logGroupName?: string;
209
214
  logGroupIdentifier?: string;
@@ -235,35 +240,36 @@ export interface DescribeMetricFiltersRequest {
235
240
  metricName?: string;
236
241
  metricNamespace?: string;
237
242
  }
238
- export declare enum StandardUnit {
239
- Bits = "Bits",
240
- BitsSecond = "Bits/Second",
241
- Bytes = "Bytes",
242
- BytesSecond = "Bytes/Second",
243
- Count = "Count",
244
- CountSecond = "Count/Second",
245
- Gigabits = "Gigabits",
246
- GigabitsSecond = "Gigabits/Second",
247
- Gigabytes = "Gigabytes",
248
- GigabytesSecond = "Gigabytes/Second",
249
- Kilobits = "Kilobits",
250
- KilobitsSecond = "Kilobits/Second",
251
- Kilobytes = "Kilobytes",
252
- KilobytesSecond = "Kilobytes/Second",
253
- Megabits = "Megabits",
254
- MegabitsSecond = "Megabits/Second",
255
- Megabytes = "Megabytes",
256
- MegabytesSecond = "Megabytes/Second",
257
- Microseconds = "Microseconds",
258
- Milliseconds = "Milliseconds",
259
- None = "None",
260
- Percent = "Percent",
261
- Seconds = "Seconds",
262
- Terabits = "Terabits",
263
- TerabitsSecond = "Terabits/Second",
264
- Terabytes = "Terabytes",
265
- TerabytesSecond = "Terabytes/Second",
266
- }
243
+ export declare const StandardUnit: {
244
+ readonly Bits: "Bits";
245
+ readonly BitsSecond: "Bits/Second";
246
+ readonly Bytes: "Bytes";
247
+ readonly BytesSecond: "Bytes/Second";
248
+ readonly Count: "Count";
249
+ readonly CountSecond: "Count/Second";
250
+ readonly Gigabits: "Gigabits";
251
+ readonly GigabitsSecond: "Gigabits/Second";
252
+ readonly Gigabytes: "Gigabytes";
253
+ readonly GigabytesSecond: "Gigabytes/Second";
254
+ readonly Kilobits: "Kilobits";
255
+ readonly KilobitsSecond: "Kilobits/Second";
256
+ readonly Kilobytes: "Kilobytes";
257
+ readonly KilobytesSecond: "Kilobytes/Second";
258
+ readonly Megabits: "Megabits";
259
+ readonly MegabitsSecond: "Megabits/Second";
260
+ readonly Megabytes: "Megabytes";
261
+ readonly MegabytesSecond: "Megabytes/Second";
262
+ readonly Microseconds: "Microseconds";
263
+ readonly Milliseconds: "Milliseconds";
264
+ readonly None: "None";
265
+ readonly Percent: "Percent";
266
+ readonly Seconds: "Seconds";
267
+ readonly Terabits: "Terabits";
268
+ readonly TerabitsSecond: "Terabits/Second";
269
+ readonly Terabytes: "Terabytes";
270
+ readonly TerabytesSecond: "Terabytes/Second";
271
+ };
272
+ export type StandardUnit = (typeof StandardUnit)[keyof typeof StandardUnit];
267
273
  export interface MetricTransformation {
268
274
  metricName: string | undefined;
269
275
  metricNamespace: string | undefined;
@@ -283,15 +289,16 @@ export interface DescribeMetricFiltersResponse {
283
289
  metricFilters?: MetricFilter[];
284
290
  nextToken?: string;
285
291
  }
286
- export declare enum QueryStatus {
287
- Cancelled = "Cancelled",
288
- Complete = "Complete",
289
- Failed = "Failed",
290
- Running = "Running",
291
- Scheduled = "Scheduled",
292
- Timeout = "Timeout",
293
- Unknown = "Unknown",
294
- }
292
+ export declare const QueryStatus: {
293
+ readonly Cancelled: "Cancelled";
294
+ readonly Complete: "Complete";
295
+ readonly Failed: "Failed";
296
+ readonly Running: "Running";
297
+ readonly Scheduled: "Scheduled";
298
+ readonly Timeout: "Timeout";
299
+ readonly Unknown: "Unknown";
300
+ };
301
+ export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
295
302
  export interface DescribeQueriesRequest {
296
303
  logGroupName?: string;
297
304
  status?: QueryStatus | string;
@@ -344,10 +351,11 @@ export interface DescribeSubscriptionFiltersRequest {
344
351
  nextToken?: string;
345
352
  limit?: number;
346
353
  }
347
- export declare enum Distribution {
348
- ByLogStream = "ByLogStream",
349
- Random = "Random",
350
- }
354
+ export declare const Distribution: {
355
+ readonly ByLogStream: "ByLogStream";
356
+ readonly Random: "Random";
357
+ };
358
+ export type Distribution = (typeof Distribution)[keyof typeof Distribution];
351
359
  export interface SubscriptionFilter {
352
360
  filterName?: string;
353
361
  logGroupName?: string;