@aws-sdk/client-cloudwatch-logs 3.1022.0 → 3.1024.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";
@@ -1194,8 +1196,8 @@ exports.CreateScheduledQueryResponse$ = [3, n0, _CSQRr,
1194
1196
  ];
1195
1197
  exports.CSV$ = [3, n0, _CSV,
1196
1198
  0,
1197
- [_qC, _del, _co, _so],
1198
- [0, 0, 64 | 0, 0]
1199
+ [_qC, _del, _co, _so, _des],
1200
+ [0, 0, 64 | 0, 0, 0]
1199
1201
  ];
1200
1202
  exports.DataSource$ = [3, n0, _DS,
1201
1203
  0,
@@ -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";
@@ -1183,8 +1185,8 @@ export var CreateScheduledQueryResponse$ = [3, n0, _CSQRr,
1183
1185
  ];
1184
1186
  export var CSV$ = [3, n0, _CSV,
1185
1187
  0,
1186
- [_qC, _del, _co, _so],
1187
- [0, 0, 64 | 0, 0]
1188
+ [_qC, _del, _co, _so, _des],
1189
+ [0, 0, 64 | 0, 0, 0]
1188
1190
  ];
1189
1191
  export var DataSource$ = [3, n0, _DS,
1190
1192
  0,
@@ -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",
@@ -74,6 +74,7 @@ declare const GetTransformerCommand_base: {
74
74
  * // "STRING_VALUE",
75
75
  * // ],
76
76
  * // source: "STRING_VALUE",
77
+ * // destination: "STRING_VALUE",
77
78
  * // },
78
79
  * // dateTimeConverter: { // DateTimeConverter
79
80
  * // source: "STRING_VALUE", // required
@@ -89,6 +89,7 @@ declare const PutTransformerCommand_base: {
89
89
  * "STRING_VALUE",
90
90
  * ],
91
91
  * source: "STRING_VALUE",
92
+ * destination: "STRING_VALUE",
92
93
  * },
93
94
  * dateTimeConverter: { // DateTimeConverter
94
95
  * source: "STRING_VALUE", // required
@@ -66,6 +66,7 @@ declare const TestTransformerCommand_base: {
66
66
  * "STRING_VALUE",
67
67
  * ],
68
68
  * source: "STRING_VALUE",
69
+ * destination: "STRING_VALUE",
69
70
  * },
70
71
  * dateTimeConverter: { // DateTimeConverter
71
72
  * source: "STRING_VALUE", // required
@@ -1129,12 +1129,12 @@ export interface S3Configuration {
1129
1129
  */
1130
1130
  roleArn: string | undefined;
1131
1131
  /**
1132
- * <p>The AWS accountId for the bucket owning account.</p>
1132
+ * <p>The Amazon Web Services accountId for the bucket owning account.</p>
1133
1133
  * @public
1134
1134
  */
1135
1135
  ownerAccountId?: string | undefined;
1136
1136
  /**
1137
- * <p>The Amazon Resource Name (ARN) of the KMS encryption key. Must belong to the same AWS Region
1137
+ * <p>The Amazon Resource Name (ARN) of the KMS encryption key. Must belong to the same Amazon Web Services Region
1138
1138
  * as the destination Amazon S3 bucket.</p>
1139
1139
  * @public
1140
1140
  */
@@ -1291,6 +1291,12 @@ export interface CSV {
1291
1291
  * @public
1292
1292
  */
1293
1293
  source?: string | undefined;
1294
+ /**
1295
+ * <p>The path to the parent field to put transformed key value pairs under.
1296
+ * If you omit this value, the key value pairs will be placed under the root node.</p>
1297
+ * @public
1298
+ */
1299
+ destination?: string | undefined;
1294
1300
  }
1295
1301
  /**
1296
1302
  * <p>Filter criteria for data sources, used to specify which data sources to include in
@@ -3225,6 +3231,21 @@ export interface QueryInfo {
3225
3231
  * @public
3226
3232
  */
3227
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;
3228
3249
  }
3229
3250
  /**
3230
3251
  * @public
@@ -6876,6 +6897,10 @@ export interface PutDeliverySourceRequest {
6876
6897
  * example,
6877
6898
  * <code>arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234</code>
6878
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>
6879
6904
  * @public
6880
6905
  */
6881
6906
  resourceArn: string | undefined;
@@ -6914,6 +6939,9 @@ export interface PutDeliverySourceRequest {
6914
6939
  * <p>For CloudFront, the valid value is <code>ACCESS_LOGS</code>.</p>
6915
6940
  * </li>
6916
6941
  * <li>
6942
+ * <p>For DevOps Agent, the valid value is <code>APPLICATION_LOGS</code>.</p>
6943
+ * </li>
6944
+ * <li>
6917
6945
  * <p>For Amazon CodeWhisperer, the valid value is <code>EVENT_LOGS</code>.</p>
6918
6946
  * </li>
6919
6947
  * <li>
@@ -6960,6 +6988,10 @@ export interface PutDeliverySourceRequest {
6960
6988
  * <code>SYNC_JOB_LOGS</code>.</p>
6961
6989
  * </li>
6962
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>
6963
6995
  * <p>For Amazon SES mail manager, the valid values are
6964
6996
  * <code>APPLICATION_LOGS</code> and <code>TRAFFIC_POLICY_DEBUG_LOGS</code>.</p>
6965
6997
  * </li>
@@ -294,6 +294,7 @@ export interface CSV {
294
294
  delimiter?: string | undefined;
295
295
  columns?: string[] | undefined;
296
296
  source?: string | undefined;
297
+ destination?: string | undefined;
297
298
  }
298
299
  export interface DataSourceFilter {
299
300
  name: string | undefined;
@@ -682,6 +683,9 @@ export interface QueryInfo {
682
683
  status?: QueryStatus | undefined;
683
684
  createTime?: number | undefined;
684
685
  logGroupName?: string | undefined;
686
+ queryDuration?: number | undefined;
687
+ bytesScanned?: number | undefined;
688
+ userIdentity?: string | undefined;
685
689
  }
686
690
  export interface DescribeQueriesResponse {
687
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.1022.0",
4
+ "version": "3.1024.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",