@aws-sdk/client-cloudwatch-logs 3.1071.0 → 3.1073.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.
|
@@ -1761,8 +1761,8 @@ const FilteredLogEvent$ = [3, n0, _FLE,
|
|
|
1761
1761
|
exports.FilteredLogEvent$ = FilteredLogEvent$;
|
|
1762
1762
|
const FilterLogEventsRequest$ = [3, n0, _FLER,
|
|
1763
1763
|
0,
|
|
1764
|
-
[_lGN, _lGIo, _lSNo, _lSNP, _sTt, _eTn, _fP, _nT, _li, _in, _u],
|
|
1765
|
-
[0, 0, 64 | 0, 0, 1, 1, 0, 0, 1, 2, 2]
|
|
1764
|
+
[_lGN, _lGIo, _lSNo, _lSNP, _sTt, _eTn, _fP, _nT, _li, _sFH, _in, _u],
|
|
1765
|
+
[0, 0, 64 | 0, 0, 1, 1, 0, 0, 1, 2, 2, 2]
|
|
1766
1766
|
];
|
|
1767
1767
|
exports.FilterLogEventsRequest$ = FilterLogEventsRequest$;
|
|
1768
1768
|
const FilterLogEventsResponse$ = [3, n0, _FLERi,
|
|
@@ -1625,8 +1625,8 @@ export var FilteredLogEvent$ = [3, n0, _FLE,
|
|
|
1625
1625
|
];
|
|
1626
1626
|
export var FilterLogEventsRequest$ = [3, n0, _FLER,
|
|
1627
1627
|
0,
|
|
1628
|
-
[_lGN, _lGIo, _lSNo, _lSNP, _sTt, _eTn, _fP, _nT, _li, _in, _u],
|
|
1629
|
-
[0, 0, 64 | 0, 0, 1, 1, 0, 0, 1, 2, 2]
|
|
1628
|
+
[_lGN, _lGIo, _lSNo, _lSNP, _sTt, _eTn, _fP, _nT, _li, _sFH, _in, _u],
|
|
1629
|
+
[0, 0, 64 | 0, 0, 1, 1, 0, 0, 1, 2, 2, 2]
|
|
1630
1630
|
];
|
|
1631
1631
|
export var FilterLogEventsResponse$ = [3, n0, _FLERi,
|
|
1632
1632
|
0,
|
|
@@ -62,7 +62,10 @@ declare const FilterLogEventsCommand_base: {
|
|
|
62
62
|
* return more log events than the specified limit, but it might return fewer events than the
|
|
63
63
|
* limit. This is the expected API behavior.</p>
|
|
64
64
|
* <p>The returned log events are sorted by event timestamp, the timestamp when the event was
|
|
65
|
-
* ingested by CloudWatch Logs, and the ID of the <code>PutLogEvents</code> request
|
|
65
|
+
* ingested by CloudWatch Logs, and the ID of the <code>PutLogEvents</code> request. By default,
|
|
66
|
+
* the events are returned in ascending timestamp order (oldest first). To return events in
|
|
67
|
+
* descending timestamp order (newest first), set the <code>startFromHead</code> parameter to
|
|
68
|
+
* <code>false</code>.</p>
|
|
66
69
|
* <p>If you are using CloudWatch cross-account observability, you can use this operation
|
|
67
70
|
* in a monitoring account and view data from the linked source accounts. For more information,
|
|
68
71
|
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch cross-account observability</a>.</p>
|
|
@@ -94,6 +97,7 @@ declare const FilterLogEventsCommand_base: {
|
|
|
94
97
|
* filterPattern: "STRING_VALUE",
|
|
95
98
|
* nextToken: "STRING_VALUE",
|
|
96
99
|
* limit: Number("int"),
|
|
100
|
+
* startFromHead: true || false,
|
|
97
101
|
* interleaved: true || false,
|
|
98
102
|
* unmask: true || false,
|
|
99
103
|
* };
|
|
@@ -3884,6 +3884,23 @@ export interface FilterLogEventsRequest {
|
|
|
3884
3884
|
* @public
|
|
3885
3885
|
*/
|
|
3886
3886
|
limit?: number | undefined;
|
|
3887
|
+
/**
|
|
3888
|
+
* <p>If the value is true, the earliest log events are returned first. If the value is
|
|
3889
|
+
* false, the latest log events are returned first. The default value is true.</p>
|
|
3890
|
+
* <p>The <code>startFromHead</code> parameter sets the sort direction on the first request.
|
|
3891
|
+
* On subsequent requests, the <code>nextToken</code> determines the sort direction. To continue
|
|
3892
|
+
* paginating in the same direction, provide the returned <code>nextToken</code>. If you provide
|
|
3893
|
+
* both <code>nextToken</code> and <code>startFromHead</code>, the direction of the
|
|
3894
|
+
* <code>nextToken</code> is used.</p>
|
|
3895
|
+
* <note>
|
|
3896
|
+
* <p>Setting <code>startFromHead</code> to <code>false</code> is supported only when
|
|
3897
|
+
* <code>startTime</code> is on or after <code>Jan 1, 2024 00:00:00 UTC</code>. A request with
|
|
3898
|
+
* <code>startFromHead</code> set to <code>false</code> and a <code>startTime</code> before
|
|
3899
|
+
* this date returns an <code>InvalidParameterException</code>.</p>
|
|
3900
|
+
* </note>
|
|
3901
|
+
* @public
|
|
3902
|
+
*/
|
|
3903
|
+
startFromHead?: boolean | undefined;
|
|
3887
3904
|
/**
|
|
3888
3905
|
* <p>If the value is true, the operation attempts to provide responses that contain events
|
|
3889
3906
|
* from multiple log streams within the log group, interleaved in a single response. If the value
|
|
@@ -3942,7 +3959,8 @@ export interface FilterLogEventsResponse {
|
|
|
3942
3959
|
*/
|
|
3943
3960
|
searchedLogStreams?: SearchedLogStream[] | undefined;
|
|
3944
3961
|
/**
|
|
3945
|
-
* <p>The token
|
|
3962
|
+
* <p>The token for the next set of items in the sorting direction specified by the
|
|
3963
|
+
* <code>startFromHead</code> parameter in the first request. The token expires after 24
|
|
3946
3964
|
* hours.</p>
|
|
3947
3965
|
* <p>If the results don't include a <code>nextToken</code>, then pagination is finished.
|
|
3948
3966
|
* </p>
|
|
@@ -811,6 +811,7 @@ export interface FilterLogEventsRequest {
|
|
|
811
811
|
filterPattern?: string | undefined;
|
|
812
812
|
nextToken?: string | undefined;
|
|
813
813
|
limit?: number | undefined;
|
|
814
|
+
startFromHead?: boolean | undefined;
|
|
814
815
|
interleaved?: boolean | undefined;
|
|
815
816
|
unmask?: boolean | undefined;
|
|
816
817
|
}
|
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.1073.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",
|