@aws-sdk/client-cloudwatch-logs 3.414.0 → 3.418.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/commands/AssociateKmsKeyCommand.js +5 -0
- package/dist-cjs/commands/CancelExportTaskCommand.js +5 -0
- package/dist-cjs/commands/CreateExportTaskCommand.js +5 -0
- package/dist-cjs/commands/CreateLogGroupCommand.js +5 -0
- package/dist-cjs/commands/CreateLogStreamCommand.js +5 -0
- package/dist-cjs/commands/DeleteAccountPolicyCommand.js +5 -0
- package/dist-cjs/commands/DeleteDataProtectionPolicyCommand.js +5 -0
- package/dist-cjs/commands/DeleteDestinationCommand.js +5 -0
- package/dist-cjs/commands/DeleteLogGroupCommand.js +5 -0
- package/dist-cjs/commands/DeleteLogStreamCommand.js +5 -0
- package/dist-cjs/commands/DeleteMetricFilterCommand.js +5 -0
- package/dist-cjs/commands/DeleteQueryDefinitionCommand.js +5 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +5 -0
- package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +5 -0
- package/dist-cjs/commands/DeleteSubscriptionFilterCommand.js +5 -0
- package/dist-cjs/commands/DescribeAccountPoliciesCommand.js +5 -0
- package/dist-cjs/commands/DescribeDestinationsCommand.js +5 -0
- package/dist-cjs/commands/DescribeExportTasksCommand.js +5 -0
- package/dist-cjs/commands/DescribeLogGroupsCommand.js +5 -0
- package/dist-cjs/commands/DescribeLogStreamsCommand.js +5 -0
- package/dist-cjs/commands/DescribeMetricFiltersCommand.js +5 -0
- package/dist-cjs/commands/DescribeQueriesCommand.js +5 -0
- package/dist-cjs/commands/DescribeQueryDefinitionsCommand.js +5 -0
- package/dist-cjs/commands/DescribeResourcePoliciesCommand.js +5 -0
- package/dist-cjs/commands/DescribeSubscriptionFiltersCommand.js +5 -0
- package/dist-cjs/commands/DisassociateKmsKeyCommand.js +5 -0
- package/dist-cjs/commands/FilterLogEventsCommand.js +5 -0
- package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +5 -0
- package/dist-cjs/commands/GetLogEventsCommand.js +5 -0
- package/dist-cjs/commands/GetLogGroupFieldsCommand.js +5 -0
- package/dist-cjs/commands/GetLogRecordCommand.js +5 -0
- package/dist-cjs/commands/GetQueryResultsCommand.js +5 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-cjs/commands/ListTagsLogGroupCommand.js +5 -0
- package/dist-cjs/commands/PutAccountPolicyCommand.js +5 -0
- package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +5 -0
- package/dist-cjs/commands/PutDestinationCommand.js +5 -0
- package/dist-cjs/commands/PutDestinationPolicyCommand.js +5 -0
- package/dist-cjs/commands/PutLogEventsCommand.js +5 -0
- package/dist-cjs/commands/PutMetricFilterCommand.js +5 -0
- package/dist-cjs/commands/PutQueryDefinitionCommand.js +5 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +5 -0
- package/dist-cjs/commands/PutRetentionPolicyCommand.js +5 -0
- package/dist-cjs/commands/PutSubscriptionFilterCommand.js +5 -0
- package/dist-cjs/commands/StartQueryCommand.js +5 -0
- package/dist-cjs/commands/StopQueryCommand.js +5 -0
- package/dist-cjs/commands/TagLogGroupCommand.js +5 -0
- package/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/dist-cjs/commands/TestMetricFilterCommand.js +5 -0
- package/dist-cjs/commands/UntagLogGroupCommand.js +5 -0
- package/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/dist-cjs/protocols/Aws_json1_1.js +11 -1
- package/dist-es/commands/AssociateKmsKeyCommand.js +5 -0
- package/dist-es/commands/CancelExportTaskCommand.js +5 -0
- package/dist-es/commands/CreateExportTaskCommand.js +5 -0
- package/dist-es/commands/CreateLogGroupCommand.js +5 -0
- package/dist-es/commands/CreateLogStreamCommand.js +5 -0
- package/dist-es/commands/DeleteAccountPolicyCommand.js +5 -0
- package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +5 -0
- package/dist-es/commands/DeleteDestinationCommand.js +5 -0
- package/dist-es/commands/DeleteLogGroupCommand.js +5 -0
- package/dist-es/commands/DeleteLogStreamCommand.js +5 -0
- package/dist-es/commands/DeleteMetricFilterCommand.js +5 -0
- package/dist-es/commands/DeleteQueryDefinitionCommand.js +5 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +5 -0
- package/dist-es/commands/DeleteRetentionPolicyCommand.js +5 -0
- package/dist-es/commands/DeleteSubscriptionFilterCommand.js +5 -0
- package/dist-es/commands/DescribeAccountPoliciesCommand.js +5 -0
- package/dist-es/commands/DescribeDestinationsCommand.js +5 -0
- package/dist-es/commands/DescribeExportTasksCommand.js +5 -0
- package/dist-es/commands/DescribeLogGroupsCommand.js +5 -0
- package/dist-es/commands/DescribeLogStreamsCommand.js +5 -0
- package/dist-es/commands/DescribeMetricFiltersCommand.js +5 -0
- package/dist-es/commands/DescribeQueriesCommand.js +5 -0
- package/dist-es/commands/DescribeQueryDefinitionsCommand.js +5 -0
- package/dist-es/commands/DescribeResourcePoliciesCommand.js +5 -0
- package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +5 -0
- package/dist-es/commands/DisassociateKmsKeyCommand.js +5 -0
- package/dist-es/commands/FilterLogEventsCommand.js +5 -0
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +5 -0
- package/dist-es/commands/GetLogEventsCommand.js +5 -0
- package/dist-es/commands/GetLogGroupFieldsCommand.js +5 -0
- package/dist-es/commands/GetLogRecordCommand.js +5 -0
- package/dist-es/commands/GetQueryResultsCommand.js +5 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-es/commands/ListTagsLogGroupCommand.js +5 -0
- package/dist-es/commands/PutAccountPolicyCommand.js +5 -0
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +5 -0
- package/dist-es/commands/PutDestinationCommand.js +5 -0
- package/dist-es/commands/PutDestinationPolicyCommand.js +5 -0
- package/dist-es/commands/PutLogEventsCommand.js +5 -0
- package/dist-es/commands/PutMetricFilterCommand.js +5 -0
- package/dist-es/commands/PutQueryDefinitionCommand.js +5 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +5 -0
- package/dist-es/commands/PutRetentionPolicyCommand.js +5 -0
- package/dist-es/commands/PutSubscriptionFilterCommand.js +5 -0
- package/dist-es/commands/StartQueryCommand.js +5 -0
- package/dist-es/commands/StopQueryCommand.js +5 -0
- package/dist-es/commands/TagLogGroupCommand.js +5 -0
- package/dist-es/commands/TagResourceCommand.js +5 -0
- package/dist-es/commands/TestMetricFilterCommand.js +5 -0
- package/dist-es/commands/UntagLogGroupCommand.js +5 -0
- package/dist-es/commands/UntagResourceCommand.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +11 -1
- package/dist-types/commands/CreateLogGroupCommand.d.ts +1 -1
- package/dist-types/commands/PutMetricFilterCommand.d.ts +2 -3
- package/dist-types/commands/PutQueryDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +34 -32
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_PutSubscriptionFilterCommand, se_PutSubscriptionFilterCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class PutSubscriptionFilterCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class PutSubscriptionFilterCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Logs_20140328",
|
|
35
|
+
operation: "PutSubscriptionFilter",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_StartQueryCommand, se_StartQueryCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class StartQueryCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class StartQueryCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Logs_20140328",
|
|
35
|
+
operation: "StartQuery",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_StopQueryCommand, se_StopQueryCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class StopQueryCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class StopQueryCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Logs_20140328",
|
|
35
|
+
operation: "StopQuery",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_TagLogGroupCommand, se_TagLogGroupCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class TagLogGroupCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class TagLogGroupCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Logs_20140328",
|
|
35
|
+
operation: "TagLogGroup",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class TagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Logs_20140328",
|
|
35
|
+
operation: "TagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_TestMetricFilterCommand, se_TestMetricFilterCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class TestMetricFilterCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class TestMetricFilterCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Logs_20140328",
|
|
35
|
+
operation: "TestMetricFilter",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UntagLogGroupCommand, se_UntagLogGroupCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UntagLogGroupCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UntagLogGroupCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Logs_20140328",
|
|
35
|
+
operation: "UntagLogGroup",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UntagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Logs_20140328",
|
|
35
|
+
operation: "UntagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
2
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectString as __expectString, limitedParseDouble as __limitedParseDouble, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { v4 as generateIdempotencyToken } from "uuid";
|
|
3
4
|
import { CloudWatchLogsServiceException as __BaseException } from "../models/CloudWatchLogsServiceException";
|
|
4
5
|
import { DataAlreadyAcceptedException, InvalidOperationException, InvalidParameterException, InvalidSequenceTokenException, LimitExceededException, MalformedQueryException, OperationAbortedException, ResourceAlreadyExistsException, ResourceNotFoundException, ServiceUnavailableException, TooManyTagsException, UnrecognizedClientException, } from "../models/models_0";
|
|
5
6
|
export const se_AssociateKmsKeyCommand = async (input, context) => {
|
|
@@ -245,7 +246,7 @@ export const se_PutMetricFilterCommand = async (input, context) => {
|
|
|
245
246
|
export const se_PutQueryDefinitionCommand = async (input, context) => {
|
|
246
247
|
const headers = sharedHeaders("PutQueryDefinition");
|
|
247
248
|
let body;
|
|
248
|
-
body = JSON.stringify(
|
|
249
|
+
body = JSON.stringify(se_PutQueryDefinitionRequest(input, context));
|
|
249
250
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
250
251
|
};
|
|
251
252
|
export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
@@ -2391,6 +2392,15 @@ const se_PutMetricFilterRequest = (input, context) => {
|
|
|
2391
2392
|
metricTransformations: (_) => se_MetricTransformations(_, context),
|
|
2392
2393
|
});
|
|
2393
2394
|
};
|
|
2395
|
+
const se_PutQueryDefinitionRequest = (input, context) => {
|
|
2396
|
+
return take(input, {
|
|
2397
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
2398
|
+
logGroupNames: _json,
|
|
2399
|
+
name: [],
|
|
2400
|
+
queryDefinitionId: [],
|
|
2401
|
+
queryString: [],
|
|
2402
|
+
});
|
|
2403
|
+
};
|
|
2394
2404
|
const de_DescribeMetricFiltersResponse = (output, context) => {
|
|
2395
2405
|
return take(output, {
|
|
2396
2406
|
metricFilters: (_) => de_MetricFilters(_, context),
|
|
@@ -23,7 +23,7 @@ export interface CreateLogGroupCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a log group with the specified name. You can create up to
|
|
26
|
+
* <p>Creates a log group with the specified name. You can create up to 1,000,000 log groups per Region per account.</p>
|
|
27
27
|
* <p>You must use the following guidelines when naming a log group:</p>
|
|
28
28
|
* <ul>
|
|
29
29
|
* <li>
|
|
@@ -37,9 +37,8 @@ export interface PutMetricFilterCommandOutput extends __MetadataBearer {
|
|
|
37
37
|
* found for
|
|
38
38
|
* a dimension is treated as a separate metric and accrues charges as a separate custom metric.
|
|
39
39
|
* </p>
|
|
40
|
-
* <p>CloudWatch Logs
|
|
41
|
-
* your specified dimensions within
|
|
42
|
-
* high charges.</p>
|
|
40
|
+
* <p>CloudWatch Logs might disable a metric filter if it generates 1,000 different name/value pairs for
|
|
41
|
+
* your specified dimensions within one hour.</p>
|
|
43
42
|
* <p>You can also set up a billing alarm to alert you if your charges are higher than
|
|
44
43
|
* expected. For more information,
|
|
45
44
|
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html">
|
|
@@ -47,6 +47,7 @@ export interface PutQueryDefinitionCommandOutput extends PutQueryDefinitionRespo
|
|
|
47
47
|
* "STRING_VALUE",
|
|
48
48
|
* ],
|
|
49
49
|
* queryString: "STRING_VALUE", // required
|
|
50
|
+
* clientToken: "STRING_VALUE",
|
|
50
51
|
* };
|
|
51
52
|
* const command = new PutQueryDefinitionCommand(input);
|
|
52
53
|
* const response = await client.send(command);
|
|
@@ -37,6 +37,10 @@ export interface PutRetentionPolicyCommandOutput extends __MetadataBearer {
|
|
|
37
37
|
* retention setting until 72 hours after the previous retention period ends. Alternatively,
|
|
38
38
|
* wait to change the retention setting until you confirm that the earlier log events are
|
|
39
39
|
* deleted. </p>
|
|
40
|
+
* <p>When log events reach their retention setting they are marked for deletion. After
|
|
41
|
+
* they are marked for deletion, they do not add to your archival storage costs anymore, even if
|
|
42
|
+
* they are not actually deleted until later. These log events marked for deletion are also not
|
|
43
|
+
* included when you use an API to retrieve the <code>storedBytes</code> value to see how many bytes a log group is storing.</p>
|
|
40
44
|
* </note>
|
|
41
45
|
* @example
|
|
42
46
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -2512,6 +2512,12 @@ export interface PutQueryDefinitionRequest {
|
|
|
2512
2512
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
|
|
2513
2513
|
*/
|
|
2514
2514
|
queryString: string | undefined;
|
|
2515
|
+
/**
|
|
2516
|
+
* @public
|
|
2517
|
+
* <p>Used as an idempotency token, to avoid returning an exception if the service receives the same request twice because of a network
|
|
2518
|
+
* error.</p>
|
|
2519
|
+
*/
|
|
2520
|
+
clientToken?: string;
|
|
2515
2521
|
}
|
|
2516
2522
|
/**
|
|
2517
2523
|
* @public
|
|
@@ -592,6 +592,7 @@ export interface PutQueryDefinitionRequest {
|
|
|
592
592
|
queryDefinitionId?: string;
|
|
593
593
|
logGroupNames?: string[];
|
|
594
594
|
queryString: string | undefined;
|
|
595
|
+
clientToken?: string;
|
|
595
596
|
}
|
|
596
597
|
export interface PutQueryDefinitionResponse {
|
|
597
598
|
queryDefinitionId?: string;
|
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.418.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,46 +21,48 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.1.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.0.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.418.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.418.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.418.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.418.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.418.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.418.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.418.0",
|
|
32
|
+
"@aws-sdk/types": "3.418.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.418.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.418.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.418.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.10",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.1.5",
|
|
38
|
+
"@smithy/hash-node": "^2.0.9",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.9",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.11",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.12",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.9",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.2",
|
|
45
|
+
"@smithy/node-config-provider": "^2.0.12",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.5",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.5",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.6",
|
|
49
|
+
"@smithy/types": "^2.3.3",
|
|
50
|
+
"@smithy/url-parser": "^2.0.9",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.10",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.12",
|
|
56
|
+
"@smithy/util-retry": "^2.0.2",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
|
-
"tslib": "^2.5.0"
|
|
58
|
+
"tslib": "^2.5.0",
|
|
59
|
+
"uuid": "^8.3.2"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
61
62
|
"@smithy/service-client-documentation-generator": "^2.0.0",
|
|
62
63
|
"@tsconfig/node14": "1.0.3",
|
|
63
64
|
"@types/node": "^14.14.31",
|
|
65
|
+
"@types/uuid": "^8.3.0",
|
|
64
66
|
"concurrently": "7.0.0",
|
|
65
67
|
"downlevel-dts": "0.10.1",
|
|
66
68
|
"rimraf": "3.0.2",
|