@aws-sdk/client-cloudwatch-logs 3.1036.0 → 3.1037.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.
@@ -741,6 +741,7 @@ const _lo = "location";
741
741
  const _m = "message";
742
742
  const _mF = "metricFilters";
743
743
  const _mFC = "metricFilterCount";
744
+ const _mI = "maxItems";
744
745
  const _mK = "moveKeys";
745
746
  const _mN = "metricName";
746
747
  const _mNe = "metricNamespace";
@@ -1751,13 +1752,13 @@ exports.GetLookupTableResponse$ = [3, n0, _GLTRe,
1751
1752
  ];
1752
1753
  exports.GetQueryResultsRequest$ = [3, n0, _GQRR,
1753
1754
  0,
1754
- [_qI],
1755
- [0], 1
1755
+ [_qI, _nT, _mI],
1756
+ [0, 0, 1], 1
1756
1757
  ];
1757
1758
  exports.GetQueryResultsResponse$ = [3, n0, _GQRRe,
1758
1759
  0,
1759
- [_qL, _r, _stat, _sta, _eK],
1760
- [0, () => QueryResults, () => exports.QueryStatistics$, 0, 0]
1760
+ [_qL, _r, _stat, _sta, _eK, _nT],
1761
+ [0, () => QueryResults, () => exports.QueryStatistics$, 0, 0, 0]
1761
1762
  ];
1762
1763
  exports.GetScheduledQueryHistoryRequest$ = [3, n0, _GSQHR,
1763
1764
  0,
@@ -730,6 +730,7 @@ const _lo = "location";
730
730
  const _m = "message";
731
731
  const _mF = "metricFilters";
732
732
  const _mFC = "metricFilterCount";
733
+ const _mI = "maxItems";
733
734
  const _mK = "moveKeys";
734
735
  const _mN = "metricName";
735
736
  const _mNe = "metricNamespace";
@@ -1740,13 +1741,13 @@ export var GetLookupTableResponse$ = [3, n0, _GLTRe,
1740
1741
  ];
1741
1742
  export var GetQueryResultsRequest$ = [3, n0, _GQRR,
1742
1743
  0,
1743
- [_qI],
1744
- [0], 1
1744
+ [_qI, _nT, _mI],
1745
+ [0, 0, 1], 1
1745
1746
  ];
1746
1747
  export var GetQueryResultsResponse$ = [3, n0, _GQRRe,
1747
1748
  0,
1748
- [_qL, _r, _stat, _sta, _eK],
1749
- [0, () => QueryResults, () => QueryStatistics$, 0, 0]
1749
+ [_qL, _r, _stat, _sta, _eK, _nT],
1750
+ [0, () => QueryResults, () => QueryStatistics$, 0, 0, 0]
1750
1751
  ];
1751
1752
  export var GetScheduledQueryHistoryRequest$ = [3, n0, _GSQHR,
1752
1753
  0,
@@ -57,6 +57,8 @@ declare const GetQueryResultsCommand_base: {
57
57
  * const client = new CloudWatchLogsClient(config);
58
58
  * const input = { // GetQueryResultsRequest
59
59
  * queryId: "STRING_VALUE", // required
60
+ * nextToken: "STRING_VALUE",
61
+ * maxItems: Number("int"),
60
62
  * };
61
63
  * const command = new GetQueryResultsCommand(input);
62
64
  * const response = await client.send(command);
@@ -80,6 +82,7 @@ declare const GetQueryResultsCommand_base: {
80
82
  * // },
81
83
  * // status: "Scheduled" || "Running" || "Complete" || "Failed" || "Cancelled" || "Timeout" || "Unknown",
82
84
  * // encryptionKey: "STRING_VALUE",
85
+ * // nextToken: "STRING_VALUE",
83
86
  * // };
84
87
  *
85
88
  * ```
@@ -4764,6 +4764,16 @@ export interface GetQueryResultsRequest {
4764
4764
  * @public
4765
4765
  */
4766
4766
  queryId: string | undefined;
4767
+ /**
4768
+ * <p>The token for the next set of items to return. The token expires after 1 hour.</p>
4769
+ * @public
4770
+ */
4771
+ nextToken?: string | undefined;
4772
+ /**
4773
+ * <p>The maximum number of log events to return in the response. The maximum is 10,000 log events.</p>
4774
+ * @public
4775
+ */
4776
+ maxItems?: number | undefined;
4767
4777
  }
4768
4778
  /**
4769
4779
  * <p>Contains one field from one log event returned by a CloudWatch Logs Insights query, along
@@ -4875,6 +4885,13 @@ export interface GetQueryResultsResponse {
4875
4885
  * @public
4876
4886
  */
4877
4887
  encryptionKey?: string | undefined;
4888
+ /**
4889
+ * <p>If there are more log events remaining in the results, the response includes a
4890
+ * <code>nextToken</code>. You can use this token in a subsequent <code>GetQueryResults</code>
4891
+ * request to get the next set of results.</p>
4892
+ * @public
4893
+ */
4894
+ nextToken?: string | undefined;
4878
4895
  }
4879
4896
  /**
4880
4897
  * @public
@@ -1016,6 +1016,8 @@ export interface GetLookupTableResponse {
1016
1016
  }
1017
1017
  export interface GetQueryResultsRequest {
1018
1018
  queryId: string | undefined;
1019
+ nextToken?: string | undefined;
1020
+ maxItems?: number | undefined;
1019
1021
  }
1020
1022
  export interface ResultField {
1021
1023
  field?: string | undefined;
@@ -1035,6 +1037,7 @@ export interface GetQueryResultsResponse {
1035
1037
  statistics?: QueryStatistics | undefined;
1036
1038
  status?: QueryStatus | undefined;
1037
1039
  encryptionKey?: string | undefined;
1040
+ nextToken?: string | undefined;
1038
1041
  }
1039
1042
  export interface GetScheduledQueryRequest {
1040
1043
  identifier: string | undefined;
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.1036.0",
4
+ "version": "3.1037.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",