@aws-sdk/client-cloudwatch-logs 3.1040.0 → 3.1042.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.
- package/dist-cjs/index.js +17 -0
- package/dist-cjs/schemas/schemas_0.js +66 -26
- package/dist-es/models/enums.js +14 -0
- package/dist-es/schemas/schemas_0.js +58 -18
- package/dist-types/commands/DescribeConfigurationTemplatesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDeliverySourcesCommand.d.ts +5 -0
- package/dist-types/commands/GetDeliverySourceCommand.d.ts +5 -0
- package/dist-types/commands/ListLogGroupsCommand.d.ts +11 -5
- package/dist-types/commands/PutDeliverySourceCommand.d.ts +8 -0
- package/dist-types/commands/StartQueryCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDeliveryConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/UpdateLogAnomalyDetectorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLookupTableCommand.d.ts +1 -2
- package/dist-types/models/enums.d.ts +38 -0
- package/dist-types/models/models_0.d.ts +142 -72
- package/dist-types/models/models_1.d.ts +72 -1
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/UpdateDeliveryConfigurationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateLogAnomalyDetectorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateLookupTableCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/enums.d.ts +20 -0
- package/dist-types/ts3.4/models/models_0.d.ts +26 -14
- package/dist-types/ts3.4/models/models_1.d.ts +20 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +5 -5
|
@@ -55,6 +55,11 @@ declare const DescribeDeliverySourcesCommand_base: {
|
|
|
55
55
|
* // tags: { // Tags
|
|
56
56
|
* // "<keys>": "STRING_VALUE",
|
|
57
57
|
* // },
|
|
58
|
+
* // deliverySourceConfiguration: { // DeliverySourceConfiguration
|
|
59
|
+
* // "<keys>": "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // status: "ACTIVE" || "INACTIVE",
|
|
62
|
+
* // statusReason: "RESOURCE_DELETED",
|
|
58
63
|
* // },
|
|
59
64
|
* // ],
|
|
60
65
|
* // nextToken: "STRING_VALUE",
|
|
@@ -53,6 +53,11 @@ declare const GetDeliverySourceCommand_base: {
|
|
|
53
53
|
* // tags: { // Tags
|
|
54
54
|
* // "<keys>": "STRING_VALUE",
|
|
55
55
|
* // },
|
|
56
|
+
* // deliverySourceConfiguration: { // DeliverySourceConfiguration
|
|
57
|
+
* // "<keys>": "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // status: "ACTIVE" || "INACTIVE",
|
|
60
|
+
* // statusReason: "RESOURCE_DELETED",
|
|
56
61
|
* // },
|
|
57
62
|
* // };
|
|
58
63
|
*
|
|
@@ -32,11 +32,9 @@ declare const ListLogGroupsCommand_base: {
|
|
|
32
32
|
* that are linked to the monitoring account. For more information about using cross-account
|
|
33
33
|
* observability to set up monitoring accounts and source accounts, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">
|
|
34
34
|
* CloudWatch cross-account observability</a>.</p>
|
|
35
|
-
* <p>You can optionally filter the
|
|
36
|
-
*
|
|
37
|
-
* filter
|
|
38
|
-
* parameter to filter log groups by data source types, and by using the fieldIndexNames
|
|
39
|
-
* parameter to filter by specific field index names.</p>
|
|
35
|
+
* <p>You can optionally filter the results by log group class, log group name pattern,
|
|
36
|
+
* field indexes, data sources, field index names, or log group tags. If you specify more than
|
|
37
|
+
* one filter type, the results include log groups that satisfy all filters.</p>
|
|
40
38
|
* <p>This operation is paginated. By default, your first use of this operation returns 50
|
|
41
39
|
* results, and includes a token to use in a subsequent operation to return more results.</p>
|
|
42
40
|
* @example
|
|
@@ -65,6 +63,14 @@ declare const ListLogGroupsCommand_base: {
|
|
|
65
63
|
* fieldIndexNames: [ // FieldIndexNames
|
|
66
64
|
* "STRING_VALUE",
|
|
67
65
|
* ],
|
|
66
|
+
* logGroupTags: [ // TagFilters
|
|
67
|
+
* { // TagFilter
|
|
68
|
+
* key: "STRING_VALUE", // required
|
|
69
|
+
* values: [ // TagFilterValues
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
68
74
|
* };
|
|
69
75
|
* const command = new ListLogGroupsCommand(input);
|
|
70
76
|
* const response = await client.send(command);
|
|
@@ -76,6 +76,9 @@ declare const PutDeliverySourceCommand_base: {
|
|
|
76
76
|
* tags: { // Tags
|
|
77
77
|
* "<keys>": "STRING_VALUE",
|
|
78
78
|
* },
|
|
79
|
+
* deliverySourceConfiguration: { // DeliverySourceConfiguration
|
|
80
|
+
* "<keys>": "STRING_VALUE",
|
|
81
|
+
* },
|
|
79
82
|
* };
|
|
80
83
|
* const command = new PutDeliverySourceCommand(input);
|
|
81
84
|
* const response = await client.send(command);
|
|
@@ -91,6 +94,11 @@ declare const PutDeliverySourceCommand_base: {
|
|
|
91
94
|
* // tags: { // Tags
|
|
92
95
|
* // "<keys>": "STRING_VALUE",
|
|
93
96
|
* // },
|
|
97
|
+
* // deliverySourceConfiguration: { // DeliverySourceConfiguration
|
|
98
|
+
* // "<keys>": "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // status: "ACTIVE" || "INACTIVE",
|
|
101
|
+
* // statusReason: "RESOURCE_DELETED",
|
|
94
102
|
* // },
|
|
95
103
|
* // };
|
|
96
104
|
*
|
|
@@ -52,7 +52,8 @@ declare const StartQueryCommand_base: {
|
|
|
52
52
|
* <p>Or the <code>queryString</code> must include a <code>SOURCE</code> command to select
|
|
53
53
|
* log groups for the query. The <code>SOURCE</code> command can select log groups based on
|
|
54
54
|
* log group name prefix, account ID, and log class, or select data sources using
|
|
55
|
-
* dataSource syntax in LogsQL, PPL, and SQL.
|
|
55
|
+
* dataSource syntax in LogsQL, PPL, and SQL. In LogsQL, the <code>SOURCE</code> command
|
|
56
|
+
* also supports filtering by log group tags.
|
|
56
57
|
* </p>
|
|
57
58
|
* <p>For more information about the <code>SOURCE</code> command, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax-Source.html">SOURCE</a>.</p>
|
|
58
59
|
* </li>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
-
import type { UpdateDeliveryConfigurationRequest
|
|
4
|
+
import type { UpdateDeliveryConfigurationRequest } from "../models/models_0";
|
|
5
|
+
import type { UpdateDeliveryConfigurationResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
-
import type { UpdateLogAnomalyDetectorRequest } from "../models/
|
|
4
|
+
import type { UpdateLogAnomalyDetectorRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
-
import type { UpdateLookupTableRequest } from "../models/
|
|
5
|
-
import type { UpdateLookupTableResponse } from "../models/models_1";
|
|
4
|
+
import type { UpdateLookupTableRequest, UpdateLookupTableResponse } from "../models/models_1";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -126,6 +126,21 @@ export declare const DeliveryDestinationType: {
|
|
|
126
126
|
* @public
|
|
127
127
|
*/
|
|
128
128
|
export type DeliveryDestinationType = (typeof DeliveryDestinationType)[keyof typeof DeliveryDestinationType];
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
* @enum
|
|
132
|
+
*/
|
|
133
|
+
export declare const DeliverySourceConfigurationSchemaValueType: {
|
|
134
|
+
readonly BOOLEAN: "boolean";
|
|
135
|
+
readonly DOUBLE: "double";
|
|
136
|
+
readonly INT: "int";
|
|
137
|
+
readonly LONG: "long";
|
|
138
|
+
readonly STRING: "string";
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export type DeliverySourceConfigurationSchemaValueType = (typeof DeliverySourceConfigurationSchemaValueType)[keyof typeof DeliverySourceConfigurationSchemaValueType];
|
|
129
144
|
/**
|
|
130
145
|
* @public
|
|
131
146
|
* @enum
|
|
@@ -178,6 +193,29 @@ export declare const DataProtectionStatus: {
|
|
|
178
193
|
* @public
|
|
179
194
|
*/
|
|
180
195
|
export type DataProtectionStatus = (typeof DataProtectionStatus)[keyof typeof DataProtectionStatus];
|
|
196
|
+
/**
|
|
197
|
+
* @public
|
|
198
|
+
* @enum
|
|
199
|
+
*/
|
|
200
|
+
export declare const DeliverySourceStatus: {
|
|
201
|
+
readonly ACTIVE: "ACTIVE";
|
|
202
|
+
readonly INACTIVE: "INACTIVE";
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
export type DeliverySourceStatus = (typeof DeliverySourceStatus)[keyof typeof DeliverySourceStatus];
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
* @enum
|
|
211
|
+
*/
|
|
212
|
+
export declare const DeliverySourceStatusReason: {
|
|
213
|
+
readonly RESOURCE_DELETED: "RESOURCE_DELETED";
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
export type DeliverySourceStatusReason = (typeof DeliverySourceStatusReason)[keyof typeof DeliverySourceStatusReason];
|
|
181
219
|
/**
|
|
182
220
|
* @public
|
|
183
221
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionStatus, AnomalyDetectorStatus, DataProtectionStatus, DeliveryDestinationType, Distribution, EntityRejectionErrorType, EvaluationFrequency, EventSource, ExecutionStatus, ExportTaskStatusCode, FlattenedElement, ImportStatus, IndexSource, IndexType, InheritedProperty, IntegrationStatus, IntegrationType, ListAggregateLogGroupSummariesGroupBy, LogGroupClass, OCSFVersion, OpenSearchResourceStatusType, OrderBy, OutputFormat, PolicyScope, PolicyType, QueryLanguage, QueryStatus, S3TableIntegrationSourceStatus, ScheduledQueryDestinationType, ScheduledQueryState, Scope, StandardUnit, State, SuppressionState, SuppressionType, SuppressionUnit, Type } from "./enums";
|
|
1
|
+
import type { ActionStatus, AnomalyDetectorStatus, DataProtectionStatus, DeliveryDestinationType, DeliverySourceConfigurationSchemaValueType, DeliverySourceStatus, DeliverySourceStatusReason, Distribution, EntityRejectionErrorType, EvaluationFrequency, EventSource, ExecutionStatus, ExportTaskStatusCode, FlattenedElement, ImportStatus, IndexSource, IndexType, InheritedProperty, IntegrationStatus, IntegrationType, ListAggregateLogGroupSummariesGroupBy, LogGroupClass, OCSFVersion, OpenSearchResourceStatusType, OrderBy, OutputFormat, PolicyScope, PolicyType, QueryLanguage, QueryStatus, S3TableIntegrationSourceStatus, ScheduledQueryDestinationType, ScheduledQueryState, Scope, StandardUnit, State, SuppressionState, SuppressionType, SuppressionUnit, Type } from "./enums";
|
|
2
2
|
import type { InternalStreamingException, SessionStreamingException, SessionTimeoutException } from "./errors";
|
|
3
3
|
/**
|
|
4
4
|
* <p>A structure that contains information about one CloudWatch Logs account policy.</p>
|
|
@@ -580,6 +580,65 @@ export interface ConfigurationTemplateDeliveryConfigValues {
|
|
|
580
580
|
*/
|
|
581
581
|
s3DeliveryConfiguration?: S3DeliveryConfiguration | undefined;
|
|
582
582
|
}
|
|
583
|
+
/**
|
|
584
|
+
* <p>A structure that describes a single configuration for a log type,
|
|
585
|
+
* including its name, value type, default value, and the range of supported values.</p>
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
export interface DeliverySourceConfigurationSchema {
|
|
589
|
+
/**
|
|
590
|
+
* <p>The name of the configuration.</p>
|
|
591
|
+
* @public
|
|
592
|
+
*/
|
|
593
|
+
keyName: string | undefined;
|
|
594
|
+
/**
|
|
595
|
+
* <p>The data type of the configuration value. Valid values are <code>string</code>,
|
|
596
|
+
* <code>boolean</code>, <code>int</code>, <code>double</code>, and
|
|
597
|
+
* <code>long</code>.</p>
|
|
598
|
+
* @public
|
|
599
|
+
*/
|
|
600
|
+
valueType: DeliverySourceConfigurationSchemaValueType | undefined;
|
|
601
|
+
/**
|
|
602
|
+
* <p>The default value of the configuration that is used when a value is not
|
|
603
|
+
* specified in a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html">PutDeliverySource</a> request.</p>
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
defaultValue: string | undefined;
|
|
607
|
+
/**
|
|
608
|
+
* <p>The list of allowed values for the configuration. Empty for free-form configuration.</p>
|
|
609
|
+
* @public
|
|
610
|
+
*/
|
|
611
|
+
supportedValues?: string[] | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* <p>The minimum numeric value allowed for the configuration. This applies only when
|
|
614
|
+
* the <code>valueType</code> is a numeric type.</p>
|
|
615
|
+
* @public
|
|
616
|
+
*/
|
|
617
|
+
minValue?: number | undefined;
|
|
618
|
+
/**
|
|
619
|
+
* <p>The maximum numeric value allowed for the configuration. This applies only when
|
|
620
|
+
* the <code>valueType</code> is a numeric type.</p>
|
|
621
|
+
* @public
|
|
622
|
+
*/
|
|
623
|
+
maxValue?: number | undefined;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* <p>Contains information about the S3 Tables integration configuration for a configuration
|
|
627
|
+
* template.</p>
|
|
628
|
+
* @public
|
|
629
|
+
*/
|
|
630
|
+
export interface S3TablesIntegration {
|
|
631
|
+
/**
|
|
632
|
+
* <p>The name of the S3 Tables datasource.</p>
|
|
633
|
+
* @public
|
|
634
|
+
*/
|
|
635
|
+
datasourceName?: string | undefined;
|
|
636
|
+
/**
|
|
637
|
+
* <p>The type of the S3 Tables datasource.</p>
|
|
638
|
+
* @public
|
|
639
|
+
*/
|
|
640
|
+
datasourceType?: string | undefined;
|
|
641
|
+
}
|
|
583
642
|
/**
|
|
584
643
|
* <p>A structure containing information about the deafult settings and available settings that
|
|
585
644
|
* you can use to configure a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_Delivery.html">delivery</a> or a
|
|
@@ -646,6 +705,18 @@ export interface ConfigurationTemplate {
|
|
|
646
705
|
* @public
|
|
647
706
|
*/
|
|
648
707
|
allowedSuffixPathFields?: string[] | undefined;
|
|
708
|
+
/**
|
|
709
|
+
* <p>The schema of the delivery source configuration that is available for this log type.
|
|
710
|
+
* Each element describes a configuration that can be set when calling <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html">PutDeliverySource</a>, including the configuration name, type, and default value.</p>
|
|
711
|
+
* @public
|
|
712
|
+
*/
|
|
713
|
+
deliverySourceConfiguration?: DeliverySourceConfigurationSchema[] | undefined;
|
|
714
|
+
/**
|
|
715
|
+
* <p>The S3 Tables integration configuration for this configuration template, including the
|
|
716
|
+
* datasource name and type.</p>
|
|
717
|
+
* @public
|
|
718
|
+
*/
|
|
719
|
+
s3TablesIntegration?: S3TablesIntegration | undefined;
|
|
649
720
|
}
|
|
650
721
|
/**
|
|
651
722
|
* <p>This object defines one value to be copied with the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html#CloudWatch-Logs-Transformation-copoyValue"> copyValue</a> processor.</p>
|
|
@@ -1789,6 +1860,24 @@ export interface DeliverySource {
|
|
|
1789
1860
|
* @public
|
|
1790
1861
|
*/
|
|
1791
1862
|
tags?: Record<string, string> | undefined;
|
|
1863
|
+
/**
|
|
1864
|
+
* <p>The map of key-value pairs that configure the delivery source.</p>
|
|
1865
|
+
* @public
|
|
1866
|
+
*/
|
|
1867
|
+
deliverySourceConfiguration?: Record<string, string> | undefined;
|
|
1868
|
+
/**
|
|
1869
|
+
* <p>The status of the delivery source. A delivery source can have the status
|
|
1870
|
+
* <code>ACTIVE</code> or <code>INACTIVE</code>. Note: This value is defined for selective log types.</p>
|
|
1871
|
+
* @public
|
|
1872
|
+
*/
|
|
1873
|
+
status?: DeliverySourceStatus | undefined;
|
|
1874
|
+
/**
|
|
1875
|
+
* <p>The reason for the status of the delivery source. A status reason of
|
|
1876
|
+
* <code>RESOURCE_DELETED</code> indicates that the resource associated with the delivery
|
|
1877
|
+
* source has been deleted. Note: This value is defined for selective log types.</p>
|
|
1878
|
+
* @public
|
|
1879
|
+
*/
|
|
1880
|
+
statusReason?: DeliverySourceStatusReason | undefined;
|
|
1792
1881
|
}
|
|
1793
1882
|
/**
|
|
1794
1883
|
* @public
|
|
@@ -6013,6 +6102,45 @@ export interface ListLogAnomalyDetectorsResponse {
|
|
|
6013
6102
|
*/
|
|
6014
6103
|
nextToken?: string | undefined;
|
|
6015
6104
|
}
|
|
6105
|
+
/**
|
|
6106
|
+
* <p>A tag filter that specifies a tag key and optional tag values for filtering log
|
|
6107
|
+
* groups by tags.</p>
|
|
6108
|
+
* @public
|
|
6109
|
+
*/
|
|
6110
|
+
export interface TagFilter {
|
|
6111
|
+
/**
|
|
6112
|
+
* <p>The tag key to filter on.</p>
|
|
6113
|
+
* @public
|
|
6114
|
+
*/
|
|
6115
|
+
key: string | undefined;
|
|
6116
|
+
/**
|
|
6117
|
+
* <p>An optional list of tag values to filter on.</p>
|
|
6118
|
+
* <ul>
|
|
6119
|
+
* <li>
|
|
6120
|
+
* <p>If you specify a filter that contains more than one value for a key,
|
|
6121
|
+
* the response returns log groups that match any of the specified values for that key.</p>
|
|
6122
|
+
* </li>
|
|
6123
|
+
* <li>
|
|
6124
|
+
* <p>If you don't specify values, the response returns all log groups that are
|
|
6125
|
+
* tagged with that key, with any or no value.</p>
|
|
6126
|
+
* </li>
|
|
6127
|
+
* <li>
|
|
6128
|
+
* <p>Use <code>*</code> for wildcard matching. For example,
|
|
6129
|
+
* <code>prod*</code> matches values that start with <code>prod</code>.</p>
|
|
6130
|
+
* </li>
|
|
6131
|
+
* <li>
|
|
6132
|
+
* <p>Use <code>!</code> as a prefix for negation. For example,
|
|
6133
|
+
* <code>!prod</code> matches values that are not <code>prod</code>.</p>
|
|
6134
|
+
* </li>
|
|
6135
|
+
* <li>
|
|
6136
|
+
* <p>Exact matching and negation are case-sensitive. Wildcard matching is
|
|
6137
|
+
* case-insensitive.</p>
|
|
6138
|
+
* </li>
|
|
6139
|
+
* </ul>
|
|
6140
|
+
* @public
|
|
6141
|
+
*/
|
|
6142
|
+
values?: string[] | undefined;
|
|
6143
|
+
}
|
|
6016
6144
|
/**
|
|
6017
6145
|
* @public
|
|
6018
6146
|
*/
|
|
@@ -6092,6 +6220,12 @@ export interface ListLogGroupsRequest {
|
|
|
6092
6220
|
* @public
|
|
6093
6221
|
*/
|
|
6094
6222
|
fieldIndexNames?: string[] | undefined;
|
|
6223
|
+
/**
|
|
6224
|
+
* <p>An array of tag filters to return only log groups that have specific tags. Multiple
|
|
6225
|
+
* filters are combined with AND logic.</p>
|
|
6226
|
+
* @public
|
|
6227
|
+
*/
|
|
6228
|
+
logGroupTags?: TagFilter[] | undefined;
|
|
6095
6229
|
}
|
|
6096
6230
|
/**
|
|
6097
6231
|
* <p>This structure contains information about one log group in your account.</p>
|
|
@@ -7044,6 +7178,13 @@ export interface PutDeliverySourceRequest {
|
|
|
7044
7178
|
* @public
|
|
7045
7179
|
*/
|
|
7046
7180
|
tags?: Record<string, string> | undefined;
|
|
7181
|
+
/**
|
|
7182
|
+
* <p>A map of key-value pairs to configure the delivery source. Both keys and values must be
|
|
7183
|
+
* between 1 and 255 characters in length. For example,
|
|
7184
|
+
* <code>\{"samplingRate": "50"\}</code>.</p>
|
|
7185
|
+
* @public
|
|
7186
|
+
*/
|
|
7187
|
+
deliverySourceConfiguration?: Record<string, string> | undefined;
|
|
7047
7188
|
}
|
|
7048
7189
|
/**
|
|
7049
7190
|
* @public
|
|
@@ -8272,74 +8413,3 @@ export interface UpdateDeliveryConfigurationRequest {
|
|
|
8272
8413
|
*/
|
|
8273
8414
|
s3DeliveryConfiguration?: S3DeliveryConfiguration | undefined;
|
|
8274
8415
|
}
|
|
8275
|
-
/**
|
|
8276
|
-
* @public
|
|
8277
|
-
*/
|
|
8278
|
-
export interface UpdateDeliveryConfigurationResponse {
|
|
8279
|
-
}
|
|
8280
|
-
/**
|
|
8281
|
-
* @public
|
|
8282
|
-
*/
|
|
8283
|
-
export interface UpdateLogAnomalyDetectorRequest {
|
|
8284
|
-
/**
|
|
8285
|
-
* <p>The ARN of the anomaly detector that you want to update.</p>
|
|
8286
|
-
* @public
|
|
8287
|
-
*/
|
|
8288
|
-
anomalyDetectorArn: string | undefined;
|
|
8289
|
-
/**
|
|
8290
|
-
* <p>Specifies how often the anomaly detector runs and look for anomalies. Set this value
|
|
8291
|
-
* according to the frequency that the log group receives new logs. For example, if the log group
|
|
8292
|
-
* receives new log events every 10 minutes, then setting <code>evaluationFrequency</code> to
|
|
8293
|
-
* <code>FIFTEEN_MIN</code> might be appropriate.</p>
|
|
8294
|
-
* @public
|
|
8295
|
-
*/
|
|
8296
|
-
evaluationFrequency?: EvaluationFrequency | undefined;
|
|
8297
|
-
/**
|
|
8298
|
-
* <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
|
|
8299
|
-
* event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
|
|
8300
|
-
* use the filter pattern to specify what to look for in the log event message.</p>
|
|
8301
|
-
* @public
|
|
8302
|
-
*/
|
|
8303
|
-
filterPattern?: string | undefined;
|
|
8304
|
-
/**
|
|
8305
|
-
* <p>The number of days to use as the life cycle of anomalies. After this time, anomalies are
|
|
8306
|
-
* automatically baselined and the anomaly detector model will treat new occurrences of similar
|
|
8307
|
-
* event as normal. Therefore, if you do not correct the cause of an anomaly during this time, it
|
|
8308
|
-
* will be considered normal going forward and will not be detected.</p>
|
|
8309
|
-
* @public
|
|
8310
|
-
*/
|
|
8311
|
-
anomalyVisibilityTime?: number | undefined;
|
|
8312
|
-
/**
|
|
8313
|
-
* <p>Use this parameter to pause or restart the anomaly detector. </p>
|
|
8314
|
-
* @public
|
|
8315
|
-
*/
|
|
8316
|
-
enabled: boolean | undefined;
|
|
8317
|
-
}
|
|
8318
|
-
/**
|
|
8319
|
-
* @public
|
|
8320
|
-
*/
|
|
8321
|
-
export interface UpdateLookupTableRequest {
|
|
8322
|
-
/**
|
|
8323
|
-
* <p>The ARN of the lookup table to update.</p>
|
|
8324
|
-
* @public
|
|
8325
|
-
*/
|
|
8326
|
-
lookupTableArn: string | undefined;
|
|
8327
|
-
/**
|
|
8328
|
-
* <p>An updated description of the lookup table.</p>
|
|
8329
|
-
* @public
|
|
8330
|
-
*/
|
|
8331
|
-
description?: string | undefined;
|
|
8332
|
-
/**
|
|
8333
|
-
* <p>The new CSV content to replace the existing data. The first row must be a header row
|
|
8334
|
-
* with column names. The content must use UTF-8 encoding and not exceed 10 MB.</p>
|
|
8335
|
-
* @public
|
|
8336
|
-
*/
|
|
8337
|
-
tableBody: string | undefined;
|
|
8338
|
-
/**
|
|
8339
|
-
* <p>The ARN of the KMS key to use to encrypt the lookup table data. You can
|
|
8340
|
-
* use this parameter to add, update, or remove the KMS key. To remove the KMS key and use an
|
|
8341
|
-
* Amazon Web Services-owned key instead, specify an empty string.</p>
|
|
8342
|
-
* @public
|
|
8343
|
-
*/
|
|
8344
|
-
kmsKeyId?: string | undefined;
|
|
8345
|
-
}
|
|
@@ -1,5 +1,76 @@
|
|
|
1
|
-
import type { ExecutionStatus, QueryLanguage, ScheduledQueryState } from "./enums";
|
|
1
|
+
import type { EvaluationFrequency, ExecutionStatus, QueryLanguage, ScheduledQueryState } from "./enums";
|
|
2
2
|
import type { DestinationConfiguration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface UpdateDeliveryConfigurationResponse {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface UpdateLogAnomalyDetectorRequest {
|
|
12
|
+
/**
|
|
13
|
+
* <p>The ARN of the anomaly detector that you want to update.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
anomalyDetectorArn: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>Specifies how often the anomaly detector runs and look for anomalies. Set this value
|
|
19
|
+
* according to the frequency that the log group receives new logs. For example, if the log group
|
|
20
|
+
* receives new log events every 10 minutes, then setting <code>evaluationFrequency</code> to
|
|
21
|
+
* <code>FIFTEEN_MIN</code> might be appropriate.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
evaluationFrequency?: EvaluationFrequency | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* <p>A symbolic description of how CloudWatch Logs should interpret the data in each log
|
|
27
|
+
* event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You
|
|
28
|
+
* use the filter pattern to specify what to look for in the log event message.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
filterPattern?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The number of days to use as the life cycle of anomalies. After this time, anomalies are
|
|
34
|
+
* automatically baselined and the anomaly detector model will treat new occurrences of similar
|
|
35
|
+
* event as normal. Therefore, if you do not correct the cause of an anomaly during this time, it
|
|
36
|
+
* will be considered normal going forward and will not be detected.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
anomalyVisibilityTime?: number | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* <p>Use this parameter to pause or restart the anomaly detector. </p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
enabled: boolean | undefined;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export interface UpdateLookupTableRequest {
|
|
50
|
+
/**
|
|
51
|
+
* <p>The ARN of the lookup table to update.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
lookupTableArn: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* <p>An updated description of the lookup table.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
description?: string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* <p>The new CSV content to replace the existing data. The first row must be a header row
|
|
62
|
+
* with column names. The content must use UTF-8 encoding and not exceed 10 MB.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
tableBody: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The ARN of the KMS key to use to encrypt the lookup table data. You can
|
|
68
|
+
* use this parameter to add, update, or remove the KMS key. To remove the KMS key and use an
|
|
69
|
+
* Amazon Web Services-owned key instead, specify an empty string.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
kmsKeyId?: string | undefined;
|
|
73
|
+
}
|
|
3
74
|
/**
|
|
4
75
|
* @public
|
|
5
76
|
*/
|
|
@@ -91,6 +91,7 @@ export declare var Delivery$: StaticStructureSchema;
|
|
|
91
91
|
export declare var DeliveryDestination$: StaticStructureSchema;
|
|
92
92
|
export declare var DeliveryDestinationConfiguration$: StaticStructureSchema;
|
|
93
93
|
export declare var DeliverySource$: StaticStructureSchema;
|
|
94
|
+
export declare var DeliverySourceConfigurationSchema$: StaticStructureSchema;
|
|
94
95
|
export declare var DescribeAccountPoliciesRequest$: StaticStructureSchema;
|
|
95
96
|
export declare var DescribeAccountPoliciesResponse$: StaticStructureSchema;
|
|
96
97
|
export declare var DescribeConfigurationTemplatesRequest$: StaticStructureSchema;
|
|
@@ -293,6 +294,7 @@ export declare var ResultField$: StaticStructureSchema;
|
|
|
293
294
|
export declare var S3Configuration$: StaticStructureSchema;
|
|
294
295
|
export declare var S3DeliveryConfiguration$: StaticStructureSchema;
|
|
295
296
|
export declare var S3TableIntegrationSource$: StaticStructureSchema;
|
|
297
|
+
export declare var S3TablesIntegration$: StaticStructureSchema;
|
|
296
298
|
export declare var ScheduledQueryDestination$: StaticStructureSchema;
|
|
297
299
|
export declare var ScheduledQuerySummary$: StaticStructureSchema;
|
|
298
300
|
export declare var SearchedLogStream$: StaticStructureSchema;
|
|
@@ -308,6 +310,7 @@ export declare var SubscriptionFilter$: StaticStructureSchema;
|
|
|
308
310
|
export declare var SubstituteString$: StaticStructureSchema;
|
|
309
311
|
export declare var SubstituteStringEntry$: StaticStructureSchema;
|
|
310
312
|
export declare var SuppressionPeriod$: StaticStructureSchema;
|
|
313
|
+
export declare var TagFilter$: StaticStructureSchema;
|
|
311
314
|
export declare var TagLogGroupRequest$: StaticStructureSchema;
|
|
312
315
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
313
316
|
export declare var TestMetricFilterRequest$: StaticStructureSchema;
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../CloudWatchLogsClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
UpdateDeliveryConfigurationResponse,
|
|
11
|
-
} from "../models/models_0";
|
|
8
|
+
import { UpdateDeliveryConfigurationRequest } from "../models/models_0";
|
|
9
|
+
import { UpdateDeliveryConfigurationResponse } from "../models/models_1";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface UpdateDeliveryConfigurationCommandInput
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../CloudWatchLogsClient";
|
|
8
|
-
import { UpdateLogAnomalyDetectorRequest } from "../models/
|
|
8
|
+
import { UpdateLogAnomalyDetectorRequest } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface UpdateLogAnomalyDetectorCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../CloudWatchLogsClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
UpdateLookupTableRequest,
|
|
10
|
+
UpdateLookupTableResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface UpdateLookupTableCommandInput
|
|
@@ -66,6 +66,15 @@ export declare const DeliveryDestinationType: {
|
|
|
66
66
|
};
|
|
67
67
|
export type DeliveryDestinationType =
|
|
68
68
|
(typeof DeliveryDestinationType)[keyof typeof DeliveryDestinationType];
|
|
69
|
+
export declare const DeliverySourceConfigurationSchemaValueType: {
|
|
70
|
+
readonly BOOLEAN: "boolean";
|
|
71
|
+
readonly DOUBLE: "double";
|
|
72
|
+
readonly INT: "int";
|
|
73
|
+
readonly LONG: "long";
|
|
74
|
+
readonly STRING: "string";
|
|
75
|
+
};
|
|
76
|
+
export type DeliverySourceConfigurationSchemaValueType =
|
|
77
|
+
(typeof DeliverySourceConfigurationSchemaValueType)[keyof typeof DeliverySourceConfigurationSchemaValueType];
|
|
69
78
|
export declare const LogGroupClass: {
|
|
70
79
|
readonly DELIVERY: "DELIVERY";
|
|
71
80
|
readonly INFREQUENT_ACCESS: "INFREQUENT_ACCESS";
|
|
@@ -92,6 +101,17 @@ export declare const DataProtectionStatus: {
|
|
|
92
101
|
};
|
|
93
102
|
export type DataProtectionStatus =
|
|
94
103
|
(typeof DataProtectionStatus)[keyof typeof DataProtectionStatus];
|
|
104
|
+
export declare const DeliverySourceStatus: {
|
|
105
|
+
readonly ACTIVE: "ACTIVE";
|
|
106
|
+
readonly INACTIVE: "INACTIVE";
|
|
107
|
+
};
|
|
108
|
+
export type DeliverySourceStatus =
|
|
109
|
+
(typeof DeliverySourceStatus)[keyof typeof DeliverySourceStatus];
|
|
110
|
+
export declare const DeliverySourceStatusReason: {
|
|
111
|
+
readonly RESOURCE_DELETED: "RESOURCE_DELETED";
|
|
112
|
+
};
|
|
113
|
+
export type DeliverySourceStatusReason =
|
|
114
|
+
(typeof DeliverySourceStatusReason)[keyof typeof DeliverySourceStatusReason];
|
|
95
115
|
export declare const ExportTaskStatusCode: {
|
|
96
116
|
readonly CANCELLED: "CANCELLED";
|
|
97
117
|
readonly COMPLETED: "COMPLETED";
|