@aws-sdk/client-cloudwatch-logs 3.1040.0 → 3.1041.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/schemas/schemas_0.js +18 -5
- package/dist-es/schemas/schemas_0.js +15 -2
- package/dist-types/commands/ListLogGroupsCommand.d.ts +11 -5
- package/dist-types/commands/StartQueryCommand.d.ts +2 -1
- package/dist-types/commands/UpdateLookupTableCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +45 -28
- package/dist-types/models/models_1.d.ts +28 -0
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateLookupTableCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +5 -6
- package/dist-types/ts3.4/models/models_1.d.ts +6 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +5 -5
|
@@ -6,9 +6,9 @@ exports.GetIntegrationResponse$ = exports.GetIntegrationRequest$ = exports.GetDe
|
|
|
6
6
|
exports.ListTagsLogGroupRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListSourcesForS3TableIntegrationResponse$ = exports.ListSourcesForS3TableIntegrationRequest$ = exports.ListScheduledQueriesResponse$ = exports.ListScheduledQueriesRequest$ = exports.ListLogGroupsResponse$ = exports.ListLogGroupsRequest$ = exports.ListLogGroupsForQueryResponse$ = exports.ListLogGroupsForQueryRequest$ = exports.ListLogAnomalyDetectorsResponse$ = exports.ListLogAnomalyDetectorsRequest$ = exports.ListIntegrationsResponse$ = exports.ListIntegrationsRequest$ = exports.ListAnomaliesResponse$ = exports.ListAnomaliesRequest$ = exports.ListAggregateLogGroupSummariesResponse$ = exports.ListAggregateLogGroupSummariesRequest$ = exports.IntegrationSummary$ = exports.InputLogEvent$ = exports.IndexPolicy$ = exports.ImportStatistics$ = exports.ImportFilter$ = exports.ImportBatch$ = exports.Import$ = exports.GroupingIdentifier$ = exports.Grok$ = exports.GetTransformerResponse$ = exports.GetTransformerRequest$ = exports.GetScheduledQueryResponse$ = exports.GetScheduledQueryRequest$ = exports.GetScheduledQueryHistoryResponse$ = exports.GetScheduledQueryHistoryRequest$ = exports.GetQueryResultsResponse$ = exports.GetQueryResultsRequest$ = exports.GetLookupTableResponse$ = exports.GetLookupTableRequest$ = exports.GetLogRecordResponse$ = exports.GetLogRecordRequest$ = exports.GetLogObjectResponse$ = exports.GetLogObjectRequest$ = exports.GetLogGroupFieldsResponse$ = exports.GetLogGroupFieldsRequest$ = exports.GetLogFieldsResponse$ = exports.GetLogFieldsRequest$ = exports.GetLogEventsResponse$ = exports.GetLogEventsRequest$ = exports.GetLogAnomalyDetectorResponse$ = exports.GetLogAnomalyDetectorRequest$ = void 0;
|
|
7
7
|
exports.PutDeliveryDestinationPolicyResponse$ = exports.PutDeliveryDestinationPolicyRequest$ = exports.PutDataProtectionPolicyResponse$ = exports.PutDataProtectionPolicyRequest$ = exports.PutBearerTokenAuthenticationRequest$ = exports.PutAccountPolicyResponse$ = exports.PutAccountPolicyRequest$ = exports.Processor$ = exports.Policy$ = exports.PatternToken$ = exports.ParseWAF$ = exports.ParseVPC$ = exports.ParseToOCSF$ = exports.ParseRoute53$ = exports.ParsePostgres$ = exports.ParseKeyValue$ = exports.ParseJSON$ = exports.ParseCloudfront$ = exports.OutputLogEvent$ = exports.OpenSearchWorkspace$ = exports.OpenSearchResourceStatus$ = exports.OpenSearchResourceConfig$ = exports.OpenSearchNetworkPolicy$ = exports.OpenSearchLifecyclePolicy$ = exports.OpenSearchIntegrationDetails$ = exports.OpenSearchEncryptionPolicy$ = exports.OpenSearchDataSource$ = exports.OpenSearchDataAccessPolicy$ = exports.OpenSearchCollection$ = exports.OpenSearchApplication$ = exports.MoveKeys$ = exports.MoveKeyEntry$ = exports.MetricTransformation$ = exports.MetricFilterMatchRecord$ = exports.MetricFilter$ = exports.LowerCaseString$ = exports.LookupTable$ = exports.LogStream$ = exports.LogGroupSummary$ = exports.LogGroupField$ = exports.LogGroup$ = exports.LogFieldType$ = exports.LogFieldsListItem$ = exports.LogEvent$ = exports.LiveTailSessionUpdate$ = exports.LiveTailSessionStart$ = exports.LiveTailSessionMetadata$ = exports.LiveTailSessionLogEvent$ = exports.ListToMap$ = exports.ListTagsLogGroupResponse$ = void 0;
|
|
8
8
|
exports.SubscriptionFilter$ = exports.StopQueryResponse$ = exports.StopQueryRequest$ = exports.StartQueryResponse$ = exports.StartQueryRequest$ = exports.StartLiveTailResponse$ = exports.StartLiveTailRequest$ = exports.SplitStringEntry$ = exports.SplitString$ = exports.SearchedLogStream$ = exports.ScheduledQuerySummary$ = exports.ScheduledQueryDestination$ = exports.S3TableIntegrationSource$ = exports.S3DeliveryConfiguration$ = exports.S3Configuration$ = exports.ResultField$ = exports.ResourcePolicy$ = exports.RenameKeys$ = exports.RenameKeyEntry$ = exports.RejectedLogEventsInfo$ = exports.RejectedEntityInfo$ = exports.RecordField$ = exports.QueryStatistics$ = exports.QueryParameter$ = exports.QueryInfo$ = exports.QueryDefinition$ = exports.QueryCompileErrorLocation$ = exports.QueryCompileError$ = exports.PutTransformerRequest$ = exports.PutSubscriptionFilterRequest$ = exports.PutRetentionPolicyRequest$ = exports.PutResourcePolicyResponse$ = exports.PutResourcePolicyRequest$ = exports.PutQueryDefinitionResponse$ = exports.PutQueryDefinitionRequest$ = exports.PutMetricFilterRequest$ = exports.PutLogGroupDeletionProtectionRequest$ = exports.PutLogEventsResponse$ = exports.PutLogEventsRequest$ = exports.PutIntegrationResponse$ = exports.PutIntegrationRequest$ = exports.PutIndexPolicyResponse$ = exports.PutIndexPolicyRequest$ = exports.PutDestinationResponse$ = exports.PutDestinationRequest$ = exports.PutDestinationPolicyRequest$ = exports.PutDeliverySourceResponse$ = exports.PutDeliverySourceRequest$ = exports.PutDeliveryDestinationResponse$ = exports.PutDeliveryDestinationRequest$ = void 0;
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.UpdateScheduledQuery$ = exports.UpdateLookupTable$ = exports.UpdateLogAnomalyDetector$ = exports.UpdateDeliveryConfiguration$ = exports.UpdateAnomaly$ = exports.UntagResource$ = exports.UntagLogGroup$ = exports.TestTransformer$ = exports.TestMetricFilter$ = exports.TagResource$ = exports.TagLogGroup$ = exports.StopQuery$ = exports.StartQuery$ = exports.StartLiveTail$ = exports.PutTransformer$ = exports.PutSubscriptionFilter$ = exports.PutRetentionPolicy$ = exports.PutResourcePolicy$ = exports.PutQueryDefinition$ = exports.PutMetricFilter$ = exports.PutLogGroupDeletionProtection$ = exports.PutLogEvents$ = exports.PutIntegration$ = exports.PutIndexPolicy$ = exports.PutDestinationPolicy$ = exports.PutDestination$ = exports.PutDeliverySource$ = exports.PutDeliveryDestinationPolicy$ = exports.PutDeliveryDestination$ = exports.PutDataProtectionPolicy$ = exports.PutBearerTokenAuthentication$ = exports.PutAccountPolicy$ = exports.ListTagsLogGroup$ = exports.ListTagsForResource$ = exports.ListSourcesForS3TableIntegration$ = exports.ListScheduledQueries$ = exports.ListLogGroupsForQuery$ = exports.ListLogGroups$ = exports.ListLogAnomalyDetectors$ = exports.ListIntegrations$ = exports.ListAnomalies$ = exports.ListAggregateLogGroupSummaries$ = void 0;
|
|
9
|
+
exports.DeleteIndexPolicy$ = exports.DeleteDestination$ = exports.DeleteDeliverySource$ = exports.DeleteDeliveryDestinationPolicy$ = exports.DeleteDeliveryDestination$ = exports.DeleteDelivery$ = exports.DeleteDataProtectionPolicy$ = exports.DeleteAccountPolicy$ = exports.CreateScheduledQuery$ = exports.CreateLookupTable$ = exports.CreateLogStream$ = exports.CreateLogGroup$ = exports.CreateLogAnomalyDetector$ = exports.CreateImportTask$ = exports.CreateExportTask$ = exports.CreateDelivery$ = exports.CancelImportTask$ = exports.CancelExportTask$ = exports.AssociateSourceToS3TableIntegration$ = exports.AssociateKmsKey$ = exports.StartLiveTailResponseStream$ = exports.ResourceConfig$ = exports.IntegrationDetails$ = exports.GetLogObjectResponseStream$ = exports.UpperCaseString$ = exports.UpdateScheduledQueryResponse$ = exports.UpdateScheduledQueryRequest$ = exports.UpdateLookupTableResponse$ = exports.UpdateLookupTableRequest$ = exports.UpdateLogAnomalyDetectorRequest$ = exports.UpdateDeliveryConfigurationResponse$ = exports.UpdateDeliveryConfigurationRequest$ = exports.UpdateAnomalyRequest$ = exports.UntagResourceRequest$ = exports.UntagLogGroupRequest$ = exports.TypeConverterEntry$ = exports.TypeConverter$ = exports.TrimString$ = exports.TriggerHistoryRecord$ = exports.TransformedLogRecord$ = exports.TestTransformerResponse$ = exports.TestTransformerRequest$ = exports.TestMetricFilterResponse$ = exports.TestMetricFilterRequest$ = exports.TagResourceRequest$ = exports.TagLogGroupRequest$ = exports.TagFilter$ = exports.SuppressionPeriod$ = exports.SubstituteStringEntry$ = exports.SubstituteString$ = void 0;
|
|
10
|
+
exports.GetScheduledQueryHistory$ = exports.GetScheduledQuery$ = exports.GetQueryResults$ = exports.GetLookupTable$ = exports.GetLogRecord$ = exports.GetLogObject$ = exports.GetLogGroupFields$ = exports.GetLogFields$ = exports.GetLogEvents$ = exports.GetLogAnomalyDetector$ = exports.GetIntegration$ = exports.GetDeliverySource$ = exports.GetDeliveryDestinationPolicy$ = exports.GetDeliveryDestination$ = exports.GetDelivery$ = exports.GetDataProtectionPolicy$ = exports.FilterLogEvents$ = exports.DisassociateSourceFromS3TableIntegration$ = exports.DisassociateKmsKey$ = exports.DescribeSubscriptionFilters$ = exports.DescribeResourcePolicies$ = exports.DescribeQueryDefinitions$ = exports.DescribeQueries$ = exports.DescribeMetricFilters$ = exports.DescribeLookupTables$ = exports.DescribeLogStreams$ = exports.DescribeLogGroups$ = exports.DescribeIndexPolicies$ = exports.DescribeImportTasks$ = exports.DescribeImportTaskBatches$ = exports.DescribeFieldIndexes$ = exports.DescribeExportTasks$ = exports.DescribeDestinations$ = exports.DescribeDeliverySources$ = exports.DescribeDeliveryDestinations$ = exports.DescribeDeliveries$ = exports.DescribeConfigurationTemplates$ = exports.DescribeAccountPolicies$ = exports.DeleteTransformer$ = exports.DeleteSubscriptionFilter$ = exports.DeleteScheduledQuery$ = exports.DeleteRetentionPolicy$ = exports.DeleteResourcePolicy$ = exports.DeleteQueryDefinition$ = exports.DeleteMetricFilter$ = exports.DeleteLookupTable$ = exports.DeleteLogStream$ = exports.DeleteLogGroup$ = exports.DeleteLogAnomalyDetector$ = exports.DeleteIntegration$ = void 0;
|
|
11
|
+
exports.UpdateScheduledQuery$ = exports.UpdateLookupTable$ = exports.UpdateLogAnomalyDetector$ = exports.UpdateDeliveryConfiguration$ = exports.UpdateAnomaly$ = exports.UntagResource$ = exports.UntagLogGroup$ = exports.TestTransformer$ = exports.TestMetricFilter$ = exports.TagResource$ = exports.TagLogGroup$ = exports.StopQuery$ = exports.StartQuery$ = exports.StartLiveTail$ = exports.PutTransformer$ = exports.PutSubscriptionFilter$ = exports.PutRetentionPolicy$ = exports.PutResourcePolicy$ = exports.PutQueryDefinition$ = exports.PutMetricFilter$ = exports.PutLogGroupDeletionProtection$ = exports.PutLogEvents$ = exports.PutIntegration$ = exports.PutIndexPolicy$ = exports.PutDestinationPolicy$ = exports.PutDestination$ = exports.PutDeliverySource$ = exports.PutDeliveryDestinationPolicy$ = exports.PutDeliveryDestination$ = exports.PutDataProtectionPolicy$ = exports.PutBearerTokenAuthentication$ = exports.PutAccountPolicy$ = exports.ListTagsLogGroup$ = exports.ListTagsForResource$ = exports.ListSourcesForS3TableIntegration$ = exports.ListScheduledQueries$ = exports.ListLogGroupsForQuery$ = exports.ListLogGroups$ = exports.ListLogAnomalyDetectors$ = exports.ListIntegrations$ = exports.ListAnomalies$ = exports.ListAggregateLogGroupSummaries$ = exports.GetTransformer$ = void 0;
|
|
12
12
|
const _A = "Anomaly";
|
|
13
13
|
const _AD = "AnomalyDetector";
|
|
14
14
|
const _ADE = "AccessDeniedException";
|
|
@@ -468,6 +468,8 @@ const _TC = "TypeConverter";
|
|
|
468
468
|
const _TCE = "TypeConverterEntry";
|
|
469
469
|
const _TCEy = "TypeConverterEntries";
|
|
470
470
|
const _TE = "ThrottlingException";
|
|
471
|
+
const _TF = "TagFilter";
|
|
472
|
+
const _TFa = "TagFilters";
|
|
471
473
|
const _THR = "TriggerHistoryRecord";
|
|
472
474
|
const _THRL = "TriggerHistoryRecordList";
|
|
473
475
|
const _TL = "TransformedLogs";
|
|
@@ -710,6 +712,7 @@ const _lGNP = "logGroupNamePrefix";
|
|
|
710
712
|
const _lGNPo = "logGroupNamePattern";
|
|
711
713
|
const _lGNo = "logGroupNames";
|
|
712
714
|
const _lGS = "logGroupsScanned";
|
|
715
|
+
const _lGT = "logGroupTags";
|
|
713
716
|
const _lIT = "lastIngestionTime";
|
|
714
717
|
const _lM = "lastModified";
|
|
715
718
|
const _lMT = "lastModifiedTime";
|
|
@@ -905,6 +908,7 @@ const _uST = "uploadSequenceToken";
|
|
|
905
908
|
const _un = "unit";
|
|
906
909
|
const _v = "value";
|
|
907
910
|
const _vK = "valueKey";
|
|
911
|
+
const _va = "values";
|
|
908
912
|
const _w = "workspace";
|
|
909
913
|
const _wI = "workspaceId";
|
|
910
914
|
const _wK = "withKeys";
|
|
@@ -1888,8 +1892,8 @@ exports.ListLogGroupsForQueryResponse$ = [3, n0, _LLGFQRi,
|
|
|
1888
1892
|
];
|
|
1889
1893
|
exports.ListLogGroupsRequest$ = [3, n0, _LLGR,
|
|
1890
1894
|
0,
|
|
1891
|
-
[_lGNPo, _lGCo, _iLA, _aIc, _nT, _li, _dSa, _fINi],
|
|
1892
|
-
[0, 0, 2, 64 | 0, 0, 1, () => DataSourceFilters, 64 | 0]
|
|
1895
|
+
[_lGNPo, _lGCo, _iLA, _aIc, _nT, _li, _dSa, _fINi, _lGT],
|
|
1896
|
+
[0, 0, 2, 64 | 0, 0, 1, () => DataSourceFilters, 64 | 0, () => TagFilters]
|
|
1893
1897
|
];
|
|
1894
1898
|
exports.ListLogGroupsResponse$ = [3, n0, _LLGRi,
|
|
1895
1899
|
0,
|
|
@@ -2446,6 +2450,11 @@ exports.SuppressionPeriod$ = [3, n0, _SP,
|
|
|
2446
2450
|
[_v, _sUu],
|
|
2447
2451
|
[1, 0]
|
|
2448
2452
|
];
|
|
2453
|
+
exports.TagFilter$ = [3, n0, _TF,
|
|
2454
|
+
0,
|
|
2455
|
+
[_k, _va],
|
|
2456
|
+
[0, 64 | 0], 1
|
|
2457
|
+
];
|
|
2449
2458
|
exports.TagLogGroupRequest$ = [3, n0, _TLGR,
|
|
2450
2459
|
0,
|
|
2451
2460
|
[_lGN, _ta],
|
|
@@ -2738,6 +2747,10 @@ var SubstituteStringEntries = [1, n0, _SSEub,
|
|
|
2738
2747
|
0, () => exports.SubstituteStringEntry$
|
|
2739
2748
|
];
|
|
2740
2749
|
var TableFields = 64 | 0;
|
|
2750
|
+
var TagFilters = [1, n0, _TFa,
|
|
2751
|
+
0, () => exports.TagFilter$
|
|
2752
|
+
];
|
|
2753
|
+
var TagFilterValues = 64 | 0;
|
|
2741
2754
|
var TagKeyList = 64 | 0;
|
|
2742
2755
|
var TagList = 64 | 0;
|
|
2743
2756
|
var TestEventMessages = 64 | 0;
|
|
@@ -457,6 +457,8 @@ const _TC = "TypeConverter";
|
|
|
457
457
|
const _TCE = "TypeConverterEntry";
|
|
458
458
|
const _TCEy = "TypeConverterEntries";
|
|
459
459
|
const _TE = "ThrottlingException";
|
|
460
|
+
const _TF = "TagFilter";
|
|
461
|
+
const _TFa = "TagFilters";
|
|
460
462
|
const _THR = "TriggerHistoryRecord";
|
|
461
463
|
const _THRL = "TriggerHistoryRecordList";
|
|
462
464
|
const _TL = "TransformedLogs";
|
|
@@ -699,6 +701,7 @@ const _lGNP = "logGroupNamePrefix";
|
|
|
699
701
|
const _lGNPo = "logGroupNamePattern";
|
|
700
702
|
const _lGNo = "logGroupNames";
|
|
701
703
|
const _lGS = "logGroupsScanned";
|
|
704
|
+
const _lGT = "logGroupTags";
|
|
702
705
|
const _lIT = "lastIngestionTime";
|
|
703
706
|
const _lM = "lastModified";
|
|
704
707
|
const _lMT = "lastModifiedTime";
|
|
@@ -894,6 +897,7 @@ const _uST = "uploadSequenceToken";
|
|
|
894
897
|
const _un = "unit";
|
|
895
898
|
const _v = "value";
|
|
896
899
|
const _vK = "valueKey";
|
|
900
|
+
const _va = "values";
|
|
897
901
|
const _w = "workspace";
|
|
898
902
|
const _wI = "workspaceId";
|
|
899
903
|
const _wK = "withKeys";
|
|
@@ -1877,8 +1881,8 @@ export var ListLogGroupsForQueryResponse$ = [3, n0, _LLGFQRi,
|
|
|
1877
1881
|
];
|
|
1878
1882
|
export var ListLogGroupsRequest$ = [3, n0, _LLGR,
|
|
1879
1883
|
0,
|
|
1880
|
-
[_lGNPo, _lGCo, _iLA, _aIc, _nT, _li, _dSa, _fINi],
|
|
1881
|
-
[0, 0, 2, 64 | 0, 0, 1, () => DataSourceFilters, 64 | 0]
|
|
1884
|
+
[_lGNPo, _lGCo, _iLA, _aIc, _nT, _li, _dSa, _fINi, _lGT],
|
|
1885
|
+
[0, 0, 2, 64 | 0, 0, 1, () => DataSourceFilters, 64 | 0, () => TagFilters]
|
|
1882
1886
|
];
|
|
1883
1887
|
export var ListLogGroupsResponse$ = [3, n0, _LLGRi,
|
|
1884
1888
|
0,
|
|
@@ -2435,6 +2439,11 @@ export var SuppressionPeriod$ = [3, n0, _SP,
|
|
|
2435
2439
|
[_v, _sUu],
|
|
2436
2440
|
[1, 0]
|
|
2437
2441
|
];
|
|
2442
|
+
export var TagFilter$ = [3, n0, _TF,
|
|
2443
|
+
0,
|
|
2444
|
+
[_k, _va],
|
|
2445
|
+
[0, 64 | 0], 1
|
|
2446
|
+
];
|
|
2438
2447
|
export var TagLogGroupRequest$ = [3, n0, _TLGR,
|
|
2439
2448
|
0,
|
|
2440
2449
|
[_lGN, _ta],
|
|
@@ -2727,6 +2736,10 @@ var SubstituteStringEntries = [1, n0, _SSEub,
|
|
|
2727
2736
|
0, () => SubstituteStringEntry$
|
|
2728
2737
|
];
|
|
2729
2738
|
var TableFields = 64 | 0;
|
|
2739
|
+
var TagFilters = [1, n0, _TFa,
|
|
2740
|
+
0, () => TagFilter$
|
|
2741
|
+
];
|
|
2742
|
+
var TagFilterValues = 64 | 0;
|
|
2730
2743
|
var TagKeyList = 64 | 0;
|
|
2731
2744
|
var TagList = 64 | 0;
|
|
2732
2745
|
var TestEventMessages = 64 | 0;
|
|
@@ -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);
|
|
@@ -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,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
|
*/
|
|
@@ -6013,6 +6013,45 @@ export interface ListLogAnomalyDetectorsResponse {
|
|
|
6013
6013
|
*/
|
|
6014
6014
|
nextToken?: string | undefined;
|
|
6015
6015
|
}
|
|
6016
|
+
/**
|
|
6017
|
+
* <p>A tag filter that specifies a tag key and optional tag values for filtering log
|
|
6018
|
+
* groups by tags.</p>
|
|
6019
|
+
* @public
|
|
6020
|
+
*/
|
|
6021
|
+
export interface TagFilter {
|
|
6022
|
+
/**
|
|
6023
|
+
* <p>The tag key to filter on.</p>
|
|
6024
|
+
* @public
|
|
6025
|
+
*/
|
|
6026
|
+
key: string | undefined;
|
|
6027
|
+
/**
|
|
6028
|
+
* <p>An optional list of tag values to filter on.</p>
|
|
6029
|
+
* <ul>
|
|
6030
|
+
* <li>
|
|
6031
|
+
* <p>If you specify a filter that contains more than one value for a key,
|
|
6032
|
+
* the response returns log groups that match any of the specified values for that key.</p>
|
|
6033
|
+
* </li>
|
|
6034
|
+
* <li>
|
|
6035
|
+
* <p>If you don't specify values, the response returns all log groups that are
|
|
6036
|
+
* tagged with that key, with any or no value.</p>
|
|
6037
|
+
* </li>
|
|
6038
|
+
* <li>
|
|
6039
|
+
* <p>Use <code>*</code> for wildcard matching. For example,
|
|
6040
|
+
* <code>prod*</code> matches values that start with <code>prod</code>.</p>
|
|
6041
|
+
* </li>
|
|
6042
|
+
* <li>
|
|
6043
|
+
* <p>Use <code>!</code> as a prefix for negation. For example,
|
|
6044
|
+
* <code>!prod</code> matches values that are not <code>prod</code>.</p>
|
|
6045
|
+
* </li>
|
|
6046
|
+
* <li>
|
|
6047
|
+
* <p>Exact matching and negation are case-sensitive. Wildcard matching is
|
|
6048
|
+
* case-insensitive.</p>
|
|
6049
|
+
* </li>
|
|
6050
|
+
* </ul>
|
|
6051
|
+
* @public
|
|
6052
|
+
*/
|
|
6053
|
+
values?: string[] | undefined;
|
|
6054
|
+
}
|
|
6016
6055
|
/**
|
|
6017
6056
|
* @public
|
|
6018
6057
|
*/
|
|
@@ -6092,6 +6131,12 @@ export interface ListLogGroupsRequest {
|
|
|
6092
6131
|
* @public
|
|
6093
6132
|
*/
|
|
6094
6133
|
fieldIndexNames?: string[] | undefined;
|
|
6134
|
+
/**
|
|
6135
|
+
* <p>An array of tag filters to return only log groups that have specific tags. Multiple
|
|
6136
|
+
* filters are combined with AND logic.</p>
|
|
6137
|
+
* @public
|
|
6138
|
+
*/
|
|
6139
|
+
logGroupTags?: TagFilter[] | undefined;
|
|
6095
6140
|
}
|
|
6096
6141
|
/**
|
|
6097
6142
|
* <p>This structure contains information about one log group in your account.</p>
|
|
@@ -8315,31 +8360,3 @@ export interface UpdateLogAnomalyDetectorRequest {
|
|
|
8315
8360
|
*/
|
|
8316
8361
|
enabled: boolean | undefined;
|
|
8317
8362
|
}
|
|
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,33 @@
|
|
|
1
1
|
import type { ExecutionStatus, QueryLanguage, ScheduledQueryState } from "./enums";
|
|
2
2
|
import type { DestinationConfiguration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface UpdateLookupTableRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The ARN of the lookup table to update.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
lookupTableArn: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>An updated description of the lookup table.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
description?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The new CSV content to replace the existing data. The first row must be a header row
|
|
19
|
+
* with column names. The content must use UTF-8 encoding and not exceed 10 MB.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
tableBody: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The ARN of the KMS key to use to encrypt the lookup table data. You can
|
|
25
|
+
* use this parameter to add, update, or remove the KMS key. To remove the KMS key and use an
|
|
26
|
+
* Amazon Web Services-owned key instead, specify an empty string.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
kmsKeyId?: string | undefined;
|
|
30
|
+
}
|
|
3
31
|
/**
|
|
4
32
|
* @public
|
|
5
33
|
*/
|
|
@@ -308,6 +308,7 @@ export declare var SubscriptionFilter$: StaticStructureSchema;
|
|
|
308
308
|
export declare var SubstituteString$: StaticStructureSchema;
|
|
309
309
|
export declare var SubstituteStringEntry$: StaticStructureSchema;
|
|
310
310
|
export declare var SuppressionPeriod$: StaticStructureSchema;
|
|
311
|
+
export declare var TagFilter$: StaticStructureSchema;
|
|
311
312
|
export declare var TagLogGroupRequest$: StaticStructureSchema;
|
|
312
313
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
313
314
|
export declare var TestMetricFilterRequest$: StaticStructureSchema;
|
|
@@ -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
|
|
@@ -1267,6 +1267,10 @@ export interface ListLogAnomalyDetectorsResponse {
|
|
|
1267
1267
|
anomalyDetectors?: AnomalyDetector[] | undefined;
|
|
1268
1268
|
nextToken?: string | undefined;
|
|
1269
1269
|
}
|
|
1270
|
+
export interface TagFilter {
|
|
1271
|
+
key: string | undefined;
|
|
1272
|
+
values?: string[] | undefined;
|
|
1273
|
+
}
|
|
1270
1274
|
export interface ListLogGroupsRequest {
|
|
1271
1275
|
logGroupNamePattern?: string | undefined;
|
|
1272
1276
|
logGroupClass?: LogGroupClass | undefined;
|
|
@@ -1276,6 +1280,7 @@ export interface ListLogGroupsRequest {
|
|
|
1276
1280
|
limit?: number | undefined;
|
|
1277
1281
|
dataSources?: DataSourceFilter[] | undefined;
|
|
1278
1282
|
fieldIndexNames?: string[] | undefined;
|
|
1283
|
+
logGroupTags?: TagFilter[] | undefined;
|
|
1279
1284
|
}
|
|
1280
1285
|
export interface LogGroupSummary {
|
|
1281
1286
|
logGroupName?: string | undefined;
|
|
@@ -1698,9 +1703,3 @@ export interface UpdateLogAnomalyDetectorRequest {
|
|
|
1698
1703
|
anomalyVisibilityTime?: number | undefined;
|
|
1699
1704
|
enabled: boolean | undefined;
|
|
1700
1705
|
}
|
|
1701
|
-
export interface UpdateLookupTableRequest {
|
|
1702
|
-
lookupTableArn: string | undefined;
|
|
1703
|
-
description?: string | undefined;
|
|
1704
|
-
tableBody: string | undefined;
|
|
1705
|
-
kmsKeyId?: string | undefined;
|
|
1706
|
-
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { ExecutionStatus, QueryLanguage, ScheduledQueryState } from "./enums";
|
|
2
2
|
import { DestinationConfiguration } from "./models_0";
|
|
3
|
+
export interface UpdateLookupTableRequest {
|
|
4
|
+
lookupTableArn: string | undefined;
|
|
5
|
+
description?: string | undefined;
|
|
6
|
+
tableBody: string | undefined;
|
|
7
|
+
kmsKeyId?: string | undefined;
|
|
8
|
+
}
|
|
3
9
|
export interface UpdateLookupTableResponse {
|
|
4
10
|
lookupTableArn?: string | undefined;
|
|
5
11
|
lastUpdatedTime?: number | undefined;
|
|
@@ -308,6 +308,7 @@ export declare var SubscriptionFilter$: StaticStructureSchema;
|
|
|
308
308
|
export declare var SubstituteString$: StaticStructureSchema;
|
|
309
309
|
export declare var SubstituteStringEntry$: StaticStructureSchema;
|
|
310
310
|
export declare var SuppressionPeriod$: StaticStructureSchema;
|
|
311
|
+
export declare var TagFilter$: StaticStructureSchema;
|
|
311
312
|
export declare var TagLogGroupRequest$: StaticStructureSchema;
|
|
312
313
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
313
314
|
export declare var TestMetricFilterRequest$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch-logs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1041.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudwatch-logs",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
|
-
"@aws-sdk/core": "^3.974.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
30
|
+
"@aws-sdk/core": "^3.974.8",
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.39",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
33
33
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "^3.972.38",
|
|
36
36
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
37
37
|
"@aws-sdk/types": "^3.973.8",
|
|
38
38
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "^3.973.24",
|
|
41
41
|
"@smithy/config-resolver": "^4.4.17",
|
|
42
42
|
"@smithy/core": "^3.23.17",
|
|
43
43
|
"@smithy/eventstream-serde-browser": "^4.2.14",
|