@aws-sdk/client-cloudwatch-logs 3.1023.0 → 3.1025.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.
@@ -793,6 +793,7 @@ const _qCE = "queryCompileError";
793
793
  const _qD = "queryDefinitions";
794
794
  const _qDI = "queryDefinitionId";
795
795
  const _qDNP = "queryDefinitionNamePrefix";
796
+ const _qDu = "queryDuration";
796
797
  const _qI = "queryId";
797
798
  const _qL = "queryLanguage";
798
799
  const _qS = "queryString";
@@ -897,6 +898,7 @@ const _to = "to";
897
898
  const _ty = "type";
898
899
  const _u = "unmask";
899
900
  const _uCS = "upperCaseString";
901
+ const _uI = "userIdentity";
900
902
  const _uST = "uploadSequenceToken";
901
903
  const _un = "unit";
902
904
  const _v = "value";
@@ -2304,8 +2306,8 @@ exports.QueryDefinition$ = [3, n0, _QD,
2304
2306
  ];
2305
2307
  exports.QueryInfo$ = [3, n0, _QI,
2306
2308
  0,
2307
- [_qL, _qI, _qS, _sta, _cTr, _lGN],
2308
- [0, 0, 0, 0, 1, 0]
2309
+ [_qL, _qI, _qS, _sta, _cTr, _lGN, _qDu, _bS, _uI],
2310
+ [0, 0, 0, 0, 1, 0, 1, 1, 0]
2309
2311
  ];
2310
2312
  exports.QueryParameter$ = [3, n0, _QP,
2311
2313
  0,
@@ -782,6 +782,7 @@ const _qCE = "queryCompileError";
782
782
  const _qD = "queryDefinitions";
783
783
  const _qDI = "queryDefinitionId";
784
784
  const _qDNP = "queryDefinitionNamePrefix";
785
+ const _qDu = "queryDuration";
785
786
  const _qI = "queryId";
786
787
  const _qL = "queryLanguage";
787
788
  const _qS = "queryString";
@@ -886,6 +887,7 @@ const _to = "to";
886
887
  const _ty = "type";
887
888
  const _u = "unmask";
888
889
  const _uCS = "upperCaseString";
890
+ const _uI = "userIdentity";
889
891
  const _uST = "uploadSequenceToken";
890
892
  const _un = "unit";
891
893
  const _v = "value";
@@ -2293,8 +2295,8 @@ export var QueryDefinition$ = [3, n0, _QD,
2293
2295
  ];
2294
2296
  export var QueryInfo$ = [3, n0, _QI,
2295
2297
  0,
2296
- [_qL, _qI, _qS, _sta, _cTr, _lGN],
2297
- [0, 0, 0, 0, 1, 0]
2298
+ [_qL, _qI, _qS, _sta, _cTr, _lGN, _qDu, _bS, _uI],
2299
+ [0, 0, 0, 0, 1, 0, 1, 1, 0]
2298
2300
  ];
2299
2301
  export var QueryParameter$ = [3, n0, _QP,
2300
2302
  0,
@@ -60,6 +60,9 @@ declare const DescribeQueriesCommand_base: {
60
60
  * // status: "Scheduled" || "Running" || "Complete" || "Failed" || "Cancelled" || "Timeout" || "Unknown",
61
61
  * // createTime: Number("long"),
62
62
  * // logGroupName: "STRING_VALUE",
63
+ * // queryDuration: Number("long"),
64
+ * // bytesScanned: Number("double"),
65
+ * // userIdentity: "STRING_VALUE",
63
66
  * // },
64
67
  * // ],
65
68
  * // nextToken: "STRING_VALUE",
@@ -3231,6 +3231,21 @@ export interface QueryInfo {
3231
3231
  * @public
3232
3232
  */
3233
3233
  logGroupName?: string | undefined;
3234
+ /**
3235
+ * <p>The duration in milliseconds that the query took to execute.</p>
3236
+ * @public
3237
+ */
3238
+ queryDuration?: number | undefined;
3239
+ /**
3240
+ * <p>The total number of bytes scanned by the query. This indicates the cost associated with the query.</p>
3241
+ * @public
3242
+ */
3243
+ bytesScanned?: number | undefined;
3244
+ /**
3245
+ * <p>The ARN of the user who ran the query.</p>
3246
+ * @public
3247
+ */
3248
+ userIdentity?: string | undefined;
3234
3249
  }
3235
3250
  /**
3236
3251
  * @public
@@ -6882,6 +6897,10 @@ export interface PutDeliverySourceRequest {
6882
6897
  * example,
6883
6898
  * <code>arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234</code>
6884
6899
  * </p>
6900
+ * <p>For the <code>SECURITY_FINDING_LOGS</code> logType, use a wildcard ARN for the hub
6901
+ * resource. For example,
6902
+ * <code>arn:aws:securityhub:us-east-1:111122223333:hub/*</code>
6903
+ * </p>
6885
6904
  * @public
6886
6905
  */
6887
6906
  resourceArn: string | undefined;
@@ -6969,6 +6988,10 @@ export interface PutDeliverySourceRequest {
6969
6988
  * <code>SYNC_JOB_LOGS</code>.</p>
6970
6989
  * </li>
6971
6990
  * <li>
6991
+ * <p>For Amazon Web Services Security Hub CSPM, the valid value is
6992
+ * <code>SECURITY_FINDING_LOGS</code>.</p>
6993
+ * </li>
6994
+ * <li>
6972
6995
  * <p>For Amazon SES mail manager, the valid values are
6973
6996
  * <code>APPLICATION_LOGS</code> and <code>TRAFFIC_POLICY_DEBUG_LOGS</code>.</p>
6974
6997
  * </li>
@@ -683,6 +683,9 @@ export interface QueryInfo {
683
683
  status?: QueryStatus | undefined;
684
684
  createTime?: number | undefined;
685
685
  logGroupName?: string | undefined;
686
+ queryDuration?: number | undefined;
687
+ bytesScanned?: number | undefined;
688
+ userIdentity?: string | undefined;
686
689
  }
687
690
  export interface DescribeQueriesResponse {
688
691
  queries?: QueryInfo[] | 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.1023.0",
4
+ "version": "3.1025.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",