@aws-sdk/client-cloudwatch-logs 3.100.0 → 3.105.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-cloudwatch-logs
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class CloudWatchLogsClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var CloudWatchLogsClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -178,9 +178,7 @@ export interface CreateLogGroupRequest {
|
|
|
178
178
|
* For more information about using tags to control access, see
|
|
179
179
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
|
|
180
180
|
*/
|
|
181
|
-
tags?:
|
|
182
|
-
[key: string]: string;
|
|
183
|
-
};
|
|
181
|
+
tags?: Record<string, string>;
|
|
184
182
|
}
|
|
185
183
|
export declare namespace CreateLogGroupRequest {
|
|
186
184
|
/**
|
|
@@ -860,9 +858,7 @@ export interface MetricTransformation {
|
|
|
860
858
|
* </p>
|
|
861
859
|
* </important>
|
|
862
860
|
*/
|
|
863
|
-
dimensions?:
|
|
864
|
-
[key: string]: string;
|
|
865
|
-
};
|
|
861
|
+
dimensions?: Record<string, string>;
|
|
866
862
|
/**
|
|
867
863
|
* <p>The unit to assign to the metric. If you omit this, the unit is set as <code>None</code>.</p>
|
|
868
864
|
*/
|
|
@@ -1533,9 +1529,7 @@ export interface GetLogRecordResponse {
|
|
|
1533
1529
|
/**
|
|
1534
1530
|
* <p>The requested log event, as a JSON string.</p>
|
|
1535
1531
|
*/
|
|
1536
|
-
logRecord?:
|
|
1537
|
-
[key: string]: string;
|
|
1538
|
-
};
|
|
1532
|
+
logRecord?: Record<string, string>;
|
|
1539
1533
|
}
|
|
1540
1534
|
export declare namespace GetLogRecordResponse {
|
|
1541
1535
|
/**
|
|
@@ -1681,9 +1675,7 @@ export interface ListTagsLogGroupResponse {
|
|
|
1681
1675
|
/**
|
|
1682
1676
|
* <p>The tags for the log group.</p>
|
|
1683
1677
|
*/
|
|
1684
|
-
tags?:
|
|
1685
|
-
[key: string]: string;
|
|
1686
|
-
};
|
|
1678
|
+
tags?: Record<string, string>;
|
|
1687
1679
|
}
|
|
1688
1680
|
export declare namespace ListTagsLogGroupResponse {
|
|
1689
1681
|
/**
|
|
@@ -2193,9 +2185,7 @@ export interface TagLogGroupRequest {
|
|
|
2193
2185
|
/**
|
|
2194
2186
|
* <p>The key-value pairs to use for the tags.</p>
|
|
2195
2187
|
*/
|
|
2196
|
-
tags:
|
|
2197
|
-
[key: string]: string;
|
|
2198
|
-
} | undefined;
|
|
2188
|
+
tags: Record<string, string> | undefined;
|
|
2199
2189
|
}
|
|
2200
2190
|
export declare namespace TagLogGroupRequest {
|
|
2201
2191
|
/**
|
|
@@ -2236,9 +2226,7 @@ export interface MetricFilterMatchRecord {
|
|
|
2236
2226
|
/**
|
|
2237
2227
|
* <p>The values extracted from the event data by the filter.</p>
|
|
2238
2228
|
*/
|
|
2239
|
-
extractedValues?:
|
|
2240
|
-
[key: string]: string;
|
|
2241
|
-
};
|
|
2229
|
+
extractedValues?: Record<string, string>;
|
|
2242
2230
|
}
|
|
2243
2231
|
export declare namespace MetricFilterMatchRecord {
|
|
2244
2232
|
/**
|
|
@@ -101,9 +101,7 @@ export interface CreateLogGroupRequest {
|
|
|
101
101
|
|
|
102
102
|
kmsKeyId?: string;
|
|
103
103
|
|
|
104
|
-
tags?:
|
|
105
|
-
[key: string]: string;
|
|
106
|
-
};
|
|
104
|
+
tags?: Record<string, string>;
|
|
107
105
|
}
|
|
108
106
|
export declare namespace CreateLogGroupRequest {
|
|
109
107
|
|
|
@@ -481,9 +479,7 @@ export interface MetricTransformation {
|
|
|
481
479
|
|
|
482
480
|
defaultValue?: number;
|
|
483
481
|
|
|
484
|
-
dimensions?:
|
|
485
|
-
[key: string]: string;
|
|
486
|
-
};
|
|
482
|
+
dimensions?: Record<string, string>;
|
|
487
483
|
|
|
488
484
|
unit?: StandardUnit | string;
|
|
489
485
|
}
|
|
@@ -845,9 +841,7 @@ export declare namespace GetLogRecordRequest {
|
|
|
845
841
|
}
|
|
846
842
|
export interface GetLogRecordResponse {
|
|
847
843
|
|
|
848
|
-
logRecord?:
|
|
849
|
-
[key: string]: string;
|
|
850
|
-
};
|
|
844
|
+
logRecord?: Record<string, string>;
|
|
851
845
|
}
|
|
852
846
|
export declare namespace GetLogRecordResponse {
|
|
853
847
|
|
|
@@ -926,9 +920,7 @@ export declare namespace ListTagsLogGroupRequest {
|
|
|
926
920
|
}
|
|
927
921
|
export interface ListTagsLogGroupResponse {
|
|
928
922
|
|
|
929
|
-
tags?:
|
|
930
|
-
[key: string]: string;
|
|
931
|
-
};
|
|
923
|
+
tags?: Record<string, string>;
|
|
932
924
|
}
|
|
933
925
|
export declare namespace ListTagsLogGroupResponse {
|
|
934
926
|
|
|
@@ -1169,9 +1161,7 @@ export interface TagLogGroupRequest {
|
|
|
1169
1161
|
|
|
1170
1162
|
logGroupName: string | undefined;
|
|
1171
1163
|
|
|
1172
|
-
tags:
|
|
1173
|
-
[key: string]: string;
|
|
1174
|
-
} | undefined;
|
|
1164
|
+
tags: Record<string, string> | undefined;
|
|
1175
1165
|
}
|
|
1176
1166
|
export declare namespace TagLogGroupRequest {
|
|
1177
1167
|
|
|
@@ -1194,9 +1184,7 @@ export interface MetricFilterMatchRecord {
|
|
|
1194
1184
|
|
|
1195
1185
|
eventMessage?: string;
|
|
1196
1186
|
|
|
1197
|
-
extractedValues?:
|
|
1198
|
-
[key: string]: string;
|
|
1199
|
-
};
|
|
1187
|
+
extractedValues?: Record<string, string>;
|
|
1200
1188
|
}
|
|
1201
1189
|
export declare namespace MetricFilterMatchRecord {
|
|
1202
1190
|
|
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.105.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",
|
|
@@ -18,15 +18,16 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.105.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.105.0",
|
|
30
31
|
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
32
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
33
|
"@aws-sdk/middleware-signing": "3.78.0",
|