@aws-sdk/client-cloudwatch-logs 3.948.0 → 3.953.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/README.md +32 -0
- package/dist-cjs/index.js +1562 -897
- package/dist-cjs/runtimeConfig.shared.js +7 -6
- package/dist-es/CloudWatchLogs.js +8 -0
- package/dist-es/commands/AssociateKmsKeyCommand.js +2 -2
- package/dist-es/commands/AssociateSourceToS3TableIntegrationCommand.js +2 -2
- package/dist-es/commands/CancelExportTaskCommand.js +2 -2
- package/dist-es/commands/CancelImportTaskCommand.js +16 -0
- package/dist-es/commands/CreateDeliveryCommand.js +2 -2
- package/dist-es/commands/CreateExportTaskCommand.js +2 -2
- package/dist-es/commands/CreateImportTaskCommand.js +16 -0
- package/dist-es/commands/CreateLogAnomalyDetectorCommand.js +2 -2
- package/dist-es/commands/CreateLogGroupCommand.js +2 -2
- package/dist-es/commands/CreateLogStreamCommand.js +2 -2
- package/dist-es/commands/CreateScheduledQueryCommand.js +2 -2
- package/dist-es/commands/DeleteAccountPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteDeliveryCommand.js +2 -2
- package/dist-es/commands/DeleteDeliveryDestinationCommand.js +2 -2
- package/dist-es/commands/DeleteDeliveryDestinationPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteDeliverySourceCommand.js +2 -2
- package/dist-es/commands/DeleteDestinationCommand.js +2 -2
- package/dist-es/commands/DeleteIndexPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteIntegrationCommand.js +2 -2
- package/dist-es/commands/DeleteLogAnomalyDetectorCommand.js +2 -2
- package/dist-es/commands/DeleteLogGroupCommand.js +2 -2
- package/dist-es/commands/DeleteLogStreamCommand.js +2 -2
- package/dist-es/commands/DeleteMetricFilterCommand.js +2 -2
- package/dist-es/commands/DeleteQueryDefinitionCommand.js +2 -2
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DeleteRetentionPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteScheduledQueryCommand.js +2 -2
- package/dist-es/commands/DeleteSubscriptionFilterCommand.js +2 -2
- package/dist-es/commands/DeleteTransformerCommand.js +2 -2
- package/dist-es/commands/DescribeAccountPoliciesCommand.js +2 -2
- package/dist-es/commands/DescribeConfigurationTemplatesCommand.js +2 -2
- package/dist-es/commands/DescribeDeliveriesCommand.js +2 -2
- package/dist-es/commands/DescribeDeliveryDestinationsCommand.js +2 -2
- package/dist-es/commands/DescribeDeliverySourcesCommand.js +2 -2
- package/dist-es/commands/DescribeDestinationsCommand.js +2 -2
- package/dist-es/commands/DescribeExportTasksCommand.js +2 -2
- package/dist-es/commands/DescribeFieldIndexesCommand.js +2 -2
- package/dist-es/commands/DescribeImportTaskBatchesCommand.js +16 -0
- package/dist-es/commands/DescribeImportTasksCommand.js +16 -0
- package/dist-es/commands/DescribeIndexPoliciesCommand.js +2 -2
- package/dist-es/commands/DescribeLogGroupsCommand.js +2 -2
- package/dist-es/commands/DescribeLogStreamsCommand.js +2 -2
- package/dist-es/commands/DescribeMetricFiltersCommand.js +2 -2
- package/dist-es/commands/DescribeQueriesCommand.js +2 -2
- package/dist-es/commands/DescribeQueryDefinitionsCommand.js +2 -2
- package/dist-es/commands/DescribeResourcePoliciesCommand.js +2 -2
- package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +2 -2
- package/dist-es/commands/DisassociateKmsKeyCommand.js +2 -2
- package/dist-es/commands/DisassociateSourceFromS3TableIntegrationCommand.js +2 -2
- package/dist-es/commands/FilterLogEventsCommand.js +2 -2
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +2 -2
- package/dist-es/commands/GetDeliveryCommand.js +2 -2
- package/dist-es/commands/GetDeliveryDestinationCommand.js +2 -2
- package/dist-es/commands/GetDeliveryDestinationPolicyCommand.js +2 -2
- package/dist-es/commands/GetDeliverySourceCommand.js +2 -2
- package/dist-es/commands/GetIntegrationCommand.js +2 -2
- package/dist-es/commands/GetLogAnomalyDetectorCommand.js +2 -2
- package/dist-es/commands/GetLogEventsCommand.js +2 -2
- package/dist-es/commands/GetLogFieldsCommand.js +2 -2
- package/dist-es/commands/GetLogGroupFieldsCommand.js +2 -2
- package/dist-es/commands/GetLogObjectCommand.js +2 -2
- package/dist-es/commands/GetLogRecordCommand.js +2 -2
- package/dist-es/commands/GetQueryResultsCommand.js +2 -2
- package/dist-es/commands/GetScheduledQueryCommand.js +2 -2
- package/dist-es/commands/GetScheduledQueryHistoryCommand.js +2 -2
- package/dist-es/commands/GetTransformerCommand.js +2 -2
- package/dist-es/commands/ListAggregateLogGroupSummariesCommand.js +2 -2
- package/dist-es/commands/ListAnomaliesCommand.js +2 -2
- package/dist-es/commands/ListIntegrationsCommand.js +2 -2
- package/dist-es/commands/ListLogAnomalyDetectorsCommand.js +2 -2
- package/dist-es/commands/ListLogGroupsCommand.js +2 -2
- package/dist-es/commands/ListLogGroupsForQueryCommand.js +2 -2
- package/dist-es/commands/ListScheduledQueriesCommand.js +2 -2
- package/dist-es/commands/ListSourcesForS3TableIntegrationCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTagsLogGroupCommand.js +2 -2
- package/dist-es/commands/PutAccountPolicyCommand.js +2 -2
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +2 -2
- package/dist-es/commands/PutDeliveryDestinationCommand.js +2 -2
- package/dist-es/commands/PutDeliveryDestinationPolicyCommand.js +2 -2
- package/dist-es/commands/PutDeliverySourceCommand.js +2 -2
- package/dist-es/commands/PutDestinationCommand.js +2 -2
- package/dist-es/commands/PutDestinationPolicyCommand.js +2 -2
- package/dist-es/commands/PutIndexPolicyCommand.js +2 -2
- package/dist-es/commands/PutIntegrationCommand.js +2 -2
- package/dist-es/commands/PutLogEventsCommand.js +2 -2
- package/dist-es/commands/PutLogGroupDeletionProtectionCommand.js +2 -2
- package/dist-es/commands/PutMetricFilterCommand.js +2 -2
- package/dist-es/commands/PutQueryDefinitionCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/PutRetentionPolicyCommand.js +2 -2
- package/dist-es/commands/PutSubscriptionFilterCommand.js +2 -2
- package/dist-es/commands/PutTransformerCommand.js +2 -2
- package/dist-es/commands/StartLiveTailCommand.js +2 -2
- package/dist-es/commands/StartQueryCommand.js +2 -2
- package/dist-es/commands/StopQueryCommand.js +2 -2
- package/dist-es/commands/TagLogGroupCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TestMetricFilterCommand.js +2 -2
- package/dist-es/commands/TestTransformerCommand.js +2 -2
- package/dist-es/commands/UntagLogGroupCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAnomalyCommand.js +2 -2
- package/dist-es/commands/UpdateDeliveryConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateLogAnomalyDetectorCommand.js +2 -2
- package/dist-es/commands/UpdateScheduledQueryCommand.js +2 -2
- package/dist-es/commands/index.js +4 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +6 -0
- package/dist-es/pagination/ListAggregateLogGroupSummariesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -6
- package/dist-es/schemas/schemas_0.js +943 -766
- package/dist-types/CloudWatchLogs.d.ts +29 -0
- package/dist-types/CloudWatchLogsClient.d.ts +7 -12
- package/dist-types/commands/CancelImportTaskCommand.d.ts +95 -0
- package/dist-types/commands/CreateImportTaskCommand.d.ts +152 -0
- package/dist-types/commands/CreateScheduledQueryCommand.d.ts +4 -1
- package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +8 -8
- package/dist-types/commands/DeleteIndexPolicyCommand.d.ts +6 -6
- package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +2 -1
- package/dist-types/commands/DescribeImportTaskBatchesCommand.d.ts +104 -0
- package/dist-types/commands/DescribeImportTasksCommand.d.ts +111 -0
- package/dist-types/commands/DescribeQueriesCommand.d.ts +2 -2
- package/dist-types/commands/GetQueryResultsCommand.d.ts +2 -1
- package/dist-types/commands/GetScheduledQueryCommand.d.ts +2 -1
- package/dist-types/commands/GetScheduledQueryHistoryCommand.d.ts +2 -1
- package/dist-types/commands/ListScheduledQueriesCommand.d.ts +2 -1
- package/dist-types/commands/PutAccountPolicyCommand.d.ts +196 -47
- package/dist-types/commands/PutIndexPolicyCommand.d.ts +4 -4
- package/dist-types/commands/PutLogGroupDeletionProtectionCommand.d.ts +3 -2
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +391 -44
- package/dist-types/pagination/ListAggregateLogGroupSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +424 -498
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +69 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +24 -4
- package/dist-types/ts3.4/commands/CancelImportTaskCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateImportTaskCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeImportTaskBatchesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeImportTasksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +67 -0
- package/dist-types/ts3.4/pagination/ListAggregateLogGroupSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +423 -498
- package/package.json +37 -37
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateDeliveryConfiguration } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateDeliveryConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateDeliveryConfigurationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateDeliveryConfigurationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Logs_20140328", "UpdateDeliveryConfiguration", {})
|
|
13
13
|
.n("CloudWatchLogsClient", "UpdateDeliveryConfigurationCommand")
|
|
14
|
-
.sc(UpdateDeliveryConfiguration)
|
|
14
|
+
.sc(UpdateDeliveryConfiguration$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateLogAnomalyDetector } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateLogAnomalyDetector$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateLogAnomalyDetectorCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateLogAnomalyDetectorCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Logs_20140328", "UpdateLogAnomalyDetector", {})
|
|
13
13
|
.n("CloudWatchLogsClient", "UpdateLogAnomalyDetectorCommand")
|
|
14
|
-
.sc(UpdateLogAnomalyDetector)
|
|
14
|
+
.sc(UpdateLogAnomalyDetector$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateScheduledQuery } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateScheduledQuery$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateScheduledQueryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateScheduledQueryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Logs_20140328", "UpdateScheduledQuery", {})
|
|
13
13
|
.n("CloudWatchLogsClient", "UpdateScheduledQueryCommand")
|
|
14
|
-
.sc(UpdateScheduledQuery)
|
|
14
|
+
.sc(UpdateScheduledQuery$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from "./AssociateKmsKeyCommand";
|
|
2
2
|
export * from "./AssociateSourceToS3TableIntegrationCommand";
|
|
3
3
|
export * from "./CancelExportTaskCommand";
|
|
4
|
+
export * from "./CancelImportTaskCommand";
|
|
4
5
|
export * from "./CreateDeliveryCommand";
|
|
5
6
|
export * from "./CreateExportTaskCommand";
|
|
7
|
+
export * from "./CreateImportTaskCommand";
|
|
6
8
|
export * from "./CreateLogAnomalyDetectorCommand";
|
|
7
9
|
export * from "./CreateLogGroupCommand";
|
|
8
10
|
export * from "./CreateLogStreamCommand";
|
|
@@ -34,6 +36,8 @@ export * from "./DescribeDeliverySourcesCommand";
|
|
|
34
36
|
export * from "./DescribeDestinationsCommand";
|
|
35
37
|
export * from "./DescribeExportTasksCommand";
|
|
36
38
|
export * from "./DescribeFieldIndexesCommand";
|
|
39
|
+
export * from "./DescribeImportTaskBatchesCommand";
|
|
40
|
+
export * from "./DescribeImportTasksCommand";
|
|
37
41
|
export * from "./DescribeIndexPoliciesCommand";
|
|
38
42
|
export * from "./DescribeLogGroupsCommand";
|
|
39
43
|
export * from "./DescribeLogStreamsCommand";
|
package/dist-es/index.js
CHANGED
package/dist-es/models/enums.js
CHANGED
|
@@ -35,6 +35,12 @@ export const EvaluationFrequency = {
|
|
|
35
35
|
TEN_MIN: "TEN_MIN",
|
|
36
36
|
THIRTY_MIN: "THIRTY_MIN",
|
|
37
37
|
};
|
|
38
|
+
export const ImportStatus = {
|
|
39
|
+
CANCELLED: "CANCELLED",
|
|
40
|
+
COMPLETED: "COMPLETED",
|
|
41
|
+
FAILED: "FAILED",
|
|
42
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
43
|
+
};
|
|
38
44
|
export const OutputFormat = {
|
|
39
45
|
JSON: "json",
|
|
40
46
|
PARQUET: "parquet",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
3
|
+
import { ListAggregateLogGroupSummariesCommand, } from "../commands/ListAggregateLogGroupSummariesCommand";
|
|
4
|
+
export const paginateListAggregateLogGroupSummaries = createPaginator(CloudWatchLogsClient, ListAggregateLogGroupSummariesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -11,6 +11,7 @@ export * from "./FilterLogEventsPaginator";
|
|
|
11
11
|
export * from "./Interfaces";
|
|
12
12
|
export * from "./GetLogEventsPaginator";
|
|
13
13
|
export * from "./GetScheduledQueryHistoryPaginator";
|
|
14
|
+
export * from "./ListAggregateLogGroupSummariesPaginator";
|
|
14
15
|
export * from "./ListAnomaliesPaginator";
|
|
15
16
|
export * from "./ListLogAnomalyDetectorsPaginator";
|
|
16
17
|
export * from "./ListLogGroupsForQueryPaginator";
|
|
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.cloudwatchlogs",
|
|
29
|
+
xmlNamespace: "http://monitoring.amazonaws.com/doc/2014-03-28/",
|
|
30
|
+
version: "2014-03-28",
|
|
31
|
+
serviceTarget: "Logs_20140328",
|
|
32
|
+
},
|
|
32
33
|
serviceId: config?.serviceId ?? "CloudWatch Logs",
|
|
33
34
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
35
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|