@aws-sdk/client-cloudwatch-logs 3.1099.0 → 3.1101.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/dist-cjs/index.js CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1098.0";
73
+ var version = "3.1100.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -718,6 +718,7 @@ const _LSQRi = "ListScheduledQueriesResponse";
718
718
  const _LSo = "LogSamples";
719
719
  const _LSog = "LogStreams";
720
720
  const _LT = "LookupTable";
721
+ const _LTC = "LookupTableConfiguration";
721
722
  const _LTFR = "ListTagsForResource";
722
723
  const _LTFRR = "ListTagsForResourceRequest";
723
724
  const _LTFRRi = "ListTagsForResourceResponse";
@@ -1151,6 +1152,7 @@ const _lSo = "logSamples";
1151
1152
  const _lSog = "logStreams";
1152
1153
  const _lT = "logType";
1153
1154
  const _lTA = "lookupTableArn";
1155
+ const _lTC = "lookupTableConfiguration";
1154
1156
  const _lTM = "listToMap";
1155
1157
  const _lTN = "lookupTableName";
1156
1158
  const _lTNP = "lookupTableNamePrefix";
@@ -1318,6 +1320,7 @@ const _tK = "tagKeys";
1318
1320
  const _tL = "transformedLogs";
1319
1321
  const _tN = "taskName";
1320
1322
  const _tNLESI = "tooNewLogEventStartIndex";
1323
+ const _tNa = "tableName";
1321
1324
  const _tOLEEI = "tooOldLogEventEndIndex";
1322
1325
  const _tS = "tokenString";
1323
1326
  const _tSr = "trimString";
@@ -1609,8 +1612,8 @@ var CreateLogStreamRequest$ = [3, n0, _CLSR,
1609
1612
  ];
1610
1613
  var CreateLookupTableRequest$ = [3, n0, _CLTR,
1611
1614
  0,
1612
- [_lTN, _tB, _d, _kKI, _ta],
1613
- [0, 0, 0, 0, 128 | 0], 2
1615
+ [_lTN, _d, _tB, _qI, _kKI, _ta],
1616
+ [0, 0, 0, 0, 0, 128 | 0], 1
1614
1617
  ];
1615
1618
  var CreateLookupTableResponse$ = [3, n0, _CLTRr,
1616
1619
  0,
@@ -1999,8 +2002,8 @@ var Destination$ = [3, n0, _De,
1999
2002
  ];
2000
2003
  var DestinationConfiguration$ = [3, n0, _DC,
2001
2004
  0,
2002
- [_sCo],
2003
- [() => S3Configuration$], 1
2005
+ [_sCo, _lTC],
2006
+ [() => S3Configuration$, () => LookupTableConfiguration$]
2004
2007
  ];
2005
2008
  var DisassociateKmsKeyRequest$ = [3, n0, _DKKR,
2006
2009
  0,
@@ -2462,6 +2465,11 @@ var LookupTable$ = [3, n0, _LT,
2462
2465
  [_lTA, _lTN, _d, _tFa, _rC, _sB, _lUT, _kKI],
2463
2466
  [0, 0, 0, 64 | 0, 1, 1, 1, 0]
2464
2467
  ];
2468
+ var LookupTableConfiguration$ = [3, n0, _LTC,
2469
+ 0,
2470
+ [_tNa, _rAo, _d, _kKI, _ta],
2471
+ [0, 0, 0, 0, 128 | 0], 2
2472
+ ];
2465
2473
  var LowerCaseString$ = [3, n0, _LCS,
2466
2474
  0,
2467
2475
  [_wK],
@@ -3024,8 +3032,8 @@ var UpdateLogAnomalyDetectorRequest$ = [3, n0, _ULADR,
3024
3032
  ];
3025
3033
  var UpdateLookupTableRequest$ = [3, n0, _ULTR,
3026
3034
  0,
3027
- [_lTA, _tB, _d, _kKI],
3028
- [0, 0, 0, 0], 2
3035
+ [_lTA, _d, _tB, _qI, _kKI],
3036
+ [0, 0, 0, 0, 0], 1
3029
3037
  ];
3030
3038
  var UpdateLookupTableResponse$ = [3, n0, _ULTRp,
3031
3039
  0,
@@ -4485,6 +4493,7 @@ const ScheduleType = {
4485
4493
  CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
4486
4494
  };
4487
4495
  const ScheduledQueryDestinationType = {
4496
+ LOOKUP_TABLE: "LOOKUP_TABLE",
4488
4497
  S3: "S3",
4489
4498
  };
4490
4499
  const StorageTier = {
@@ -4939,6 +4948,7 @@ exports.LogGroupField$ = LogGroupField$;
4939
4948
  exports.LogGroupSummary$ = LogGroupSummary$;
4940
4949
  exports.LogStream$ = LogStream$;
4941
4950
  exports.LookupTable$ = LookupTable$;
4951
+ exports.LookupTableConfiguration$ = LookupTableConfiguration$;
4942
4952
  exports.LowerCaseString$ = LowerCaseString$;
4943
4953
  exports.MalformedQueryException = MalformedQueryException;
4944
4954
  exports.MalformedQueryException$ = MalformedQueryException$;
@@ -202,6 +202,7 @@ export const ScheduleType = {
202
202
  CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
203
203
  };
204
204
  export const ScheduledQueryDestinationType = {
205
+ LOOKUP_TABLE: "LOOKUP_TABLE",
205
206
  S3: "S3",
206
207
  };
207
208
  export const StorageTier = {
@@ -310,6 +310,7 @@ const _LSQRi = "ListScheduledQueriesResponse";
310
310
  const _LSo = "LogSamples";
311
311
  const _LSog = "LogStreams";
312
312
  const _LT = "LookupTable";
313
+ const _LTC = "LookupTableConfiguration";
313
314
  const _LTFR = "ListTagsForResource";
314
315
  const _LTFRR = "ListTagsForResourceRequest";
315
316
  const _LTFRRi = "ListTagsForResourceResponse";
@@ -743,6 +744,7 @@ const _lSo = "logSamples";
743
744
  const _lSog = "logStreams";
744
745
  const _lT = "logType";
745
746
  const _lTA = "lookupTableArn";
747
+ const _lTC = "lookupTableConfiguration";
746
748
  const _lTM = "listToMap";
747
749
  const _lTN = "lookupTableName";
748
750
  const _lTNP = "lookupTableNamePrefix";
@@ -910,6 +912,7 @@ const _tK = "tagKeys";
910
912
  const _tL = "transformedLogs";
911
913
  const _tN = "taskName";
912
914
  const _tNLESI = "tooNewLogEventStartIndex";
915
+ const _tNa = "tableName";
913
916
  const _tOLEEI = "tooOldLogEventEndIndex";
914
917
  const _tS = "tokenString";
915
918
  const _tSr = "trimString";
@@ -1204,8 +1207,8 @@ export var CreateLogStreamRequest$ = [3, n0, _CLSR,
1204
1207
  ];
1205
1208
  export var CreateLookupTableRequest$ = [3, n0, _CLTR,
1206
1209
  0,
1207
- [_lTN, _tB, _d, _kKI, _ta],
1208
- [0, 0, 0, 0, 128 | 0], 2
1210
+ [_lTN, _d, _tB, _qI, _kKI, _ta],
1211
+ [0, 0, 0, 0, 0, 128 | 0], 1
1209
1212
  ];
1210
1213
  export var CreateLookupTableResponse$ = [3, n0, _CLTRr,
1211
1214
  0,
@@ -1594,8 +1597,8 @@ export var Destination$ = [3, n0, _De,
1594
1597
  ];
1595
1598
  export var DestinationConfiguration$ = [3, n0, _DC,
1596
1599
  0,
1597
- [_sCo],
1598
- [() => S3Configuration$], 1
1600
+ [_sCo, _lTC],
1601
+ [() => S3Configuration$, () => LookupTableConfiguration$]
1599
1602
  ];
1600
1603
  export var DisassociateKmsKeyRequest$ = [3, n0, _DKKR,
1601
1604
  0,
@@ -2057,6 +2060,11 @@ export var LookupTable$ = [3, n0, _LT,
2057
2060
  [_lTA, _lTN, _d, _tFa, _rC, _sB, _lUT, _kKI],
2058
2061
  [0, 0, 0, 64 | 0, 1, 1, 1, 0]
2059
2062
  ];
2063
+ export var LookupTableConfiguration$ = [3, n0, _LTC,
2064
+ 0,
2065
+ [_tNa, _rAo, _d, _kKI, _ta],
2066
+ [0, 0, 0, 0, 128 | 0], 2
2067
+ ];
2060
2068
  export var LowerCaseString$ = [3, n0, _LCS,
2061
2069
  0,
2062
2070
  [_wK],
@@ -2619,8 +2627,8 @@ export var UpdateLogAnomalyDetectorRequest$ = [3, n0, _ULADR,
2619
2627
  ];
2620
2628
  export var UpdateLookupTableRequest$ = [3, n0, _ULTR,
2621
2629
  0,
2622
- [_lTA, _tB, _d, _kKI],
2623
- [0, 0, 0, 0], 2
2630
+ [_lTA, _d, _tB, _qI, _kKI],
2631
+ [0, 0, 0, 0, 0], 1
2624
2632
  ];
2625
2633
  export var UpdateLookupTableResponse$ = [3, n0, _ULTRp,
2626
2634
  0,
@@ -24,11 +24,13 @@ declare const CreateLookupTableCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Creates a lookup table by uploading CSV data. You can use lookup tables to enrich log
28
- * data in CloudWatch Logs Insights queries with reference data such as user details, application
29
- * names, or error descriptions.</p>
30
- * <p>The table name must be unique within your account and Region. The CSV content must include
31
- * a header row with column names, use UTF-8 encoding, and not exceed 10 MB.</p>
27
+ * <p>Creates a lookup table by uploading CSV data or from CloudWatch Logs query
28
+ * results. You can use lookup tables to enrich log data in CloudWatch Logs queries with
29
+ * reference data such as user details, application names, or error descriptions.</p>
30
+ * <p>The table name must be unique within your account and Region. You must specify either
31
+ * <code>tableBody</code> or <code>queryId</code>, but not both. If you use
32
+ * <code>tableBody</code>, the CSV content must include a header row with column names, use
33
+ * UTF-8 encoding, and not exceed 10 MB.</p>
32
34
  * @example
33
35
  * Use a bare-bones client and the command you need to make an API call.
34
36
  * ```javascript
@@ -40,7 +42,8 @@ declare const CreateLookupTableCommand_base: {
40
42
  * const input = { // CreateLookupTableRequest
41
43
  * lookupTableName: "STRING_VALUE", // required
42
44
  * description: "STRING_VALUE",
43
- * tableBody: "STRING_VALUE", // required
45
+ * tableBody: "STRING_VALUE",
46
+ * queryId: "STRING_VALUE",
44
47
  * kmsKeyId: "STRING_VALUE",
45
48
  * tags: { // Tags
46
49
  * "<keys>": "STRING_VALUE",
@@ -55,12 +55,21 @@ declare const CreateScheduledQueryCommand_base: {
55
55
  * ownerAccountId: "STRING_VALUE",
56
56
  * kmsKeyId: "STRING_VALUE",
57
57
  * },
58
+ * lookupTableConfiguration: { // LookupTableConfiguration
59
+ * tableName: "STRING_VALUE", // required
60
+ * roleArn: "STRING_VALUE", // required
61
+ * description: "STRING_VALUE",
62
+ * kmsKeyId: "STRING_VALUE",
63
+ * tags: { // Tags
64
+ * "<keys>": "STRING_VALUE",
65
+ * },
66
+ * },
58
67
  * },
59
68
  * scheduleStartTime: Number("long"),
60
69
  * scheduleEndTime: Number("long"),
61
70
  * executionRoleArn: "STRING_VALUE", // required
62
71
  * state: "ENABLED" || "DISABLED",
63
- * tags: { // Tags
72
+ * tags: {
64
73
  * "<keys>": "STRING_VALUE",
65
74
  * },
66
75
  * };
@@ -59,6 +59,15 @@ declare const GetScheduledQueryCommand_base: {
59
59
  * // ownerAccountId: "STRING_VALUE",
60
60
  * // kmsKeyId: "STRING_VALUE",
61
61
  * // },
62
+ * // lookupTableConfiguration: { // LookupTableConfiguration
63
+ * // tableName: "STRING_VALUE", // required
64
+ * // roleArn: "STRING_VALUE", // required
65
+ * // description: "STRING_VALUE",
66
+ * // kmsKeyId: "STRING_VALUE",
67
+ * // tags: { // Tags
68
+ * // "<keys>": "STRING_VALUE",
69
+ * // },
70
+ * // },
62
71
  * // },
63
72
  * // state: "ENABLED" || "DISABLED",
64
73
  * // scheduleType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
@@ -57,7 +57,7 @@ declare const GetScheduledQueryHistoryCommand_base: {
57
57
  * // errorMessage: "STRING_VALUE",
58
58
  * // destinations: [ // ScheduledQueryDestinationList
59
59
  * // { // ScheduledQueryDestination
60
- * // destinationType: "S3",
60
+ * // destinationType: "S3" || "LOOKUP_TABLE",
61
61
  * // destinationIdentifier: "STRING_VALUE",
62
62
  * // status: "IN_PROGRESS" || "CLIENT_ERROR" || "FAILED" || "COMPLETE",
63
63
  * // processedIdentifier: "STRING_VALUE",
@@ -24,7 +24,7 @@ declare const GetStorageTierPolicyCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Returns the storage tier policy for your account.</p>
27
+ * <p>Returns the storage tier policy for the account.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -61,6 +61,15 @@ declare const ListScheduledQueriesCommand_base: {
61
61
  * // ownerAccountId: "STRING_VALUE",
62
62
  * // kmsKeyId: "STRING_VALUE",
63
63
  * // },
64
+ * // lookupTableConfiguration: { // LookupTableConfiguration
65
+ * // tableName: "STRING_VALUE", // required
66
+ * // roleArn: "STRING_VALUE", // required
67
+ * // description: "STRING_VALUE",
68
+ * // kmsKeyId: "STRING_VALUE",
69
+ * // tags: { // Tags
70
+ * // "<keys>": "STRING_VALUE",
71
+ * // },
72
+ * // },
64
73
  * // },
65
74
  * // creationTime: Number("long"),
66
75
  * // lastUpdatedTime: Number("long"),
@@ -24,9 +24,9 @@ declare const PutStorageTierPolicyCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Sets the storage tier policy for your account. When you set the storage tier to
28
- * <code>INTELLIGENT_TIERING</code>, CloudWatch Logs automatically moves your log data between
29
- * storage tiers based on access patterns to optimize costs.</p>
27
+ * <p>Sets the storage tier policy for the account. When you set the storage tier to
28
+ * <code>INTELLIGENT_TIERING</code>, the service automatically moves log data to the most
29
+ * cost-effective storage tier based on access frequency.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
32
32
  * ```javascript
@@ -24,10 +24,11 @@ declare const UpdateLookupTableCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Updates an existing lookup table by replacing all of its CSV content. After the update
28
- * completes, queries that use this table will use the new data.</p>
29
- * <p>This is a full replacement operation. All existing content is replaced with the new CSV
30
- * data.</p>
27
+ * <p>Updates an existing lookup table by replacing all of its content with new CSV data or
28
+ * CloudWatch Logs query results. After the update completes, queries that use this table
29
+ * use the new data.</p>
30
+ * <p>This is a full replacement operation. All existing content is replaced. You must specify
31
+ * either <code>tableBody</code> or <code>queryId</code>, but not both.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript
@@ -39,7 +40,8 @@ declare const UpdateLookupTableCommand_base: {
39
40
  * const input = { // UpdateLookupTableRequest
40
41
  * lookupTableArn: "STRING_VALUE", // required
41
42
  * description: "STRING_VALUE",
42
- * tableBody: "STRING_VALUE", // required
43
+ * tableBody: "STRING_VALUE",
44
+ * queryId: "STRING_VALUE",
43
45
  * kmsKeyId: "STRING_VALUE",
44
46
  * };
45
47
  * const command = new UpdateLookupTableCommand(input);
@@ -53,6 +53,15 @@ declare const UpdateScheduledQueryCommand_base: {
53
53
  * ownerAccountId: "STRING_VALUE",
54
54
  * kmsKeyId: "STRING_VALUE",
55
55
  * },
56
+ * lookupTableConfiguration: { // LookupTableConfiguration
57
+ * tableName: "STRING_VALUE", // required
58
+ * roleArn: "STRING_VALUE", // required
59
+ * description: "STRING_VALUE",
60
+ * kmsKeyId: "STRING_VALUE",
61
+ * tags: { // Tags
62
+ * "<keys>": "STRING_VALUE",
63
+ * },
64
+ * },
56
65
  * },
57
66
  * scheduleStartTime: Number("long"),
58
67
  * scheduleEndTime: Number("long"),
@@ -81,6 +90,15 @@ declare const UpdateScheduledQueryCommand_base: {
81
90
  * // ownerAccountId: "STRING_VALUE",
82
91
  * // kmsKeyId: "STRING_VALUE",
83
92
  * // },
93
+ * // lookupTableConfiguration: { // LookupTableConfiguration
94
+ * // tableName: "STRING_VALUE", // required
95
+ * // roleArn: "STRING_VALUE", // required
96
+ * // description: "STRING_VALUE",
97
+ * // kmsKeyId: "STRING_VALUE",
98
+ * // tags: { // Tags
99
+ * // "<keys>": "STRING_VALUE",
100
+ * // },
101
+ * // },
84
102
  * // },
85
103
  * // state: "ENABLED" || "DISABLED",
86
104
  * // scheduleType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
@@ -470,6 +470,7 @@ export type ScheduleType = (typeof ScheduleType)[keyof typeof ScheduleType];
470
470
  * @enum
471
471
  */
472
472
  export declare const ScheduledQueryDestinationType: {
473
+ readonly LOOKUP_TABLE: "LOOKUP_TABLE";
473
474
  readonly S3: "S3";
474
475
  };
475
476
  /**
@@ -1150,9 +1150,19 @@ export interface CreateLookupTableRequest {
1150
1150
  /**
1151
1151
  * <p>The CSV content of the lookup table. The first row must be a header row with column
1152
1152
  * names. The content must use UTF-8 encoding and not exceed 10 MB.</p>
1153
+ * <p>You must specify either <code>tableBody</code> or <code>queryId</code>, but not
1154
+ * both.</p>
1153
1155
  * @public
1154
1156
  */
1155
- tableBody: string | undefined;
1157
+ tableBody?: string | undefined;
1158
+ /**
1159
+ * <p>The ID of a completed CloudWatch Logs query whose results populate
1160
+ * the lookup table.</p>
1161
+ * <p>You must specify either <code>tableBody</code> or <code>queryId</code>, but not
1162
+ * both.</p>
1163
+ * @public
1164
+ */
1165
+ queryId?: string | undefined;
1156
1166
  /**
1157
1167
  * <p>The ARN of the KMS key to use to encrypt the lookup table data. If you
1158
1168
  * don't specify a key, the data is encrypted with an Amazon Web Services-owned key.</p>
@@ -1183,6 +1193,42 @@ export interface CreateLookupTableResponse {
1183
1193
  */
1184
1194
  createdAt?: number | undefined;
1185
1195
  }
1196
+ /**
1197
+ * <p>Configuration for a lookup table destination. Use it to automatically refresh a lookup
1198
+ * table with query results on a schedule.</p>
1199
+ * @public
1200
+ */
1201
+ export interface LookupTableConfiguration {
1202
+ /**
1203
+ * <p>The name of the lookup table to create or update with query results. The name can
1204
+ * contain only alphanumeric characters and underscores.</p>
1205
+ * @public
1206
+ */
1207
+ tableName: string | undefined;
1208
+ /**
1209
+ * <p>The ARN of the IAM role that grants permissions to create or update the lookup table
1210
+ * with query results.</p>
1211
+ * @public
1212
+ */
1213
+ roleArn: string | undefined;
1214
+ /**
1215
+ * <p>A description of the lookup table.</p>
1216
+ * @public
1217
+ */
1218
+ description?: string | undefined;
1219
+ /**
1220
+ * <p>The ARN of the KMS key to use to encrypt the lookup table data. If you
1221
+ * don't specify a key, the data is encrypted with an Amazon Web Services-owned key.</p>
1222
+ * @public
1223
+ */
1224
+ kmsKeyId?: string | undefined;
1225
+ /**
1226
+ * <p>Key-value pairs to associate with the lookup table for resource management and cost
1227
+ * allocation. The service applies tags only during initial table creation.</p>
1228
+ * @public
1229
+ */
1230
+ tags?: Record<string, string> | undefined;
1231
+ }
1186
1232
  /**
1187
1233
  * <p>Configuration for Amazon S3 destination where scheduled query results are delivered.</p>
1188
1234
  * @public
@@ -1221,7 +1267,14 @@ export interface DestinationConfiguration {
1221
1267
  * <p>Configuration for delivering query results to Amazon S3.</p>
1222
1268
  * @public
1223
1269
  */
1224
- s3Configuration: S3Configuration | undefined;
1270
+ s3Configuration?: S3Configuration | undefined;
1271
+ /**
1272
+ * <p>Configuration for delivering query results to a lookup table. The query results
1273
+ * automatically populate or refresh the specified lookup table on each scheduled
1274
+ * execution.</p>
1275
+ * @public
1276
+ */
1277
+ lookupTableConfiguration?: LookupTableConfiguration | undefined;
1225
1278
  }
1226
1279
  /**
1227
1280
  * @public
@@ -1283,8 +1336,9 @@ export interface CreateScheduledQueryRequest {
1283
1336
  */
1284
1337
  endTimeOffset?: number | undefined;
1285
1338
  /**
1286
- * <p>Configuration for where to deliver query results. Currently supports Amazon S3 destinations for
1287
- * storing query output.</p>
1339
+ * <p>Configuration for where to deliver query results. Supports Amazon S3 destinations for storing
1340
+ * query output and lookup table destinations for automatically refreshing lookup tables with
1341
+ * query results. You can configure one or both destination types.</p>
1288
1342
  * @public
1289
1343
  */
1290
1344
  destinationConfiguration?: DestinationConfiguration | undefined;
@@ -5284,7 +5338,7 @@ export interface GetStorageTierPolicyResponse {
5284
5338
  storageTier?: StorageTier | undefined;
5285
5339
  /**
5286
5340
  * <p>The time when the storage tier policy was last updated, expressed as the number of
5287
- * milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
5341
+ * milliseconds after <code>January 1, 1970 00:00:00 UTC</code>.</p>
5288
5342
  * @public
5289
5343
  */
5290
5344
  lastUpdatedTime?: number | undefined;
@@ -7929,8 +7983,9 @@ export interface PutRetentionPolicyRequest {
7929
7983
  */
7930
7984
  export interface PutStorageTierPolicyRequest {
7931
7985
  /**
7932
- * <p>The storage tier to set for the account. Valid values are <code>STANDARD</code> and
7933
- * <code>INTELLIGENT_TIERING</code>.</p>
7986
+ * <p>The storage tier to set for the account. Use <code>INTELLIGENT_TIERING</code> to
7987
+ * automatically optimize storage costs by moving log data to the appropriate tier based on
7988
+ * access frequency.</p>
7934
7989
  * @public
7935
7990
  */
7936
7991
  storageTier: StorageTier | undefined;
@@ -7940,13 +7995,13 @@ export interface PutStorageTierPolicyRequest {
7940
7995
  */
7941
7996
  export interface PutStorageTierPolicyResponse {
7942
7997
  /**
7943
- * <p>The storage tier that was set.</p>
7998
+ * <p>The storage tier for the account.</p>
7944
7999
  * @public
7945
8000
  */
7946
8001
  storageTier?: StorageTier | undefined;
7947
8002
  /**
7948
8003
  * <p>The time when the storage tier policy was last updated, expressed as the number of
7949
- * milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
8004
+ * milliseconds after <code>January 1, 1970 00:00:00 UTC</code>.</p>
7950
8005
  * @public
7951
8006
  */
7952
8007
  lastUpdatedTime?: number | undefined;
@@ -8035,7 +8090,8 @@ export interface PutSubscriptionFilterRequest {
8035
8090
  fieldSelectionCriteria?: string | undefined;
8036
8091
  /**
8037
8092
  * <p>A list of system fields to include in the log events sent to the subscription destination.
8038
- * Valid values are <code>@aws.account</code> and <code>@aws.region</code>. These fields provide
8093
+ * Valid values are <code>@aws.account</code>, <code>@aws.region</code>, and
8094
+ * <code>@source.log</code>. These fields provide
8039
8095
  * source information for centralized log data in the forwarded payload.</p>
8040
8096
  * @public
8041
8097
  */
@@ -8412,24 +8468,3 @@ export interface TestMetricFilterRequest {
8412
8468
  */
8413
8469
  logEventMessages: string[] | undefined;
8414
8470
  }
8415
- /**
8416
- * <p>Represents a matched event.</p>
8417
- * @public
8418
- */
8419
- export interface MetricFilterMatchRecord {
8420
- /**
8421
- * <p>The event number.</p>
8422
- * @public
8423
- */
8424
- eventNumber?: number | undefined;
8425
- /**
8426
- * <p>The raw event data.</p>
8427
- * @public
8428
- */
8429
- eventMessage?: string | undefined;
8430
- /**
8431
- * <p>The values extracted from the event data by the filter.</p>
8432
- * @public
8433
- */
8434
- extractedValues?: Record<string, string> | undefined;
8435
- }
@@ -1,5 +1,26 @@
1
1
  import type { EvaluationFrequency, ExecutionStatus, QueryLanguage, ScheduledQueryState, ScheduleType, SuppressionType, SuppressionUnit } from "./enums";
2
- import type { DestinationConfiguration, MetricFilterMatchRecord, Processor, S3DeliveryConfiguration } from "./models_0";
2
+ import type { DestinationConfiguration, Processor, S3DeliveryConfiguration } from "./models_0";
3
+ /**
4
+ * <p>Represents a matched event.</p>
5
+ * @public
6
+ */
7
+ export interface MetricFilterMatchRecord {
8
+ /**
9
+ * <p>The event number.</p>
10
+ * @public
11
+ */
12
+ eventNumber?: number | undefined;
13
+ /**
14
+ * <p>The raw event data.</p>
15
+ * @public
16
+ */
17
+ eventMessage?: string | undefined;
18
+ /**
19
+ * <p>The values extracted from the event data by the filter.</p>
20
+ * @public
21
+ */
22
+ extractedValues?: Record<string, string> | undefined;
23
+ }
3
24
  /**
4
25
  * @public
5
26
  */
@@ -254,9 +275,19 @@ export interface UpdateLookupTableRequest {
254
275
  /**
255
276
  * <p>The new CSV content to replace the existing data. The first row must be a header row
256
277
  * with column names. The content must use UTF-8 encoding and not exceed 10 MB.</p>
278
+ * <p>You must specify either <code>tableBody</code> or <code>queryId</code>, but not
279
+ * both.</p>
280
+ * @public
281
+ */
282
+ tableBody?: string | undefined;
283
+ /**
284
+ * <p>The ID of a completed CloudWatch Logs query whose results replace
285
+ * the lookup table content.</p>
286
+ * <p>You must specify either <code>tableBody</code> or <code>queryId</code>, but not
287
+ * both.</p>
257
288
  * @public
258
289
  */
259
- tableBody: string | undefined;
290
+ queryId?: string | undefined;
260
291
  /**
261
292
  * <p>The ARN of the KMS key to use to encrypt the lookup table data. You can
262
293
  * use this parameter to add, update, or remove the KMS key. To remove the KMS key and use an
@@ -225,6 +225,7 @@ export declare var LogGroupField$: StaticStructureSchema;
225
225
  export declare var LogGroupSummary$: StaticStructureSchema;
226
226
  export declare var LogStream$: StaticStructureSchema;
227
227
  export declare var LookupTable$: StaticStructureSchema;
228
+ export declare var LookupTableConfiguration$: StaticStructureSchema;
228
229
  export declare var LowerCaseString$: StaticStructureSchema;
229
230
  export declare var MetricFilter$: StaticStructureSchema;
230
231
  export declare var MetricFilterMatchRecord$: StaticStructureSchema;
@@ -241,6 +241,7 @@ export declare const ScheduleType: {
241
241
  };
242
242
  export type ScheduleType = (typeof ScheduleType)[keyof typeof ScheduleType];
243
243
  export declare const ScheduledQueryDestinationType: {
244
+ readonly LOOKUP_TABLE: "LOOKUP_TABLE";
244
245
  readonly S3: "S3";
245
246
  };
246
247
  export type ScheduledQueryDestinationType =
@@ -268,7 +268,8 @@ export interface CreateLogStreamRequest {
268
268
  export interface CreateLookupTableRequest {
269
269
  lookupTableName: string | undefined;
270
270
  description?: string | undefined;
271
- tableBody: string | undefined;
271
+ tableBody?: string | undefined;
272
+ queryId?: string | undefined;
272
273
  kmsKeyId?: string | undefined;
273
274
  tags?: Record<string, string> | undefined;
274
275
  }
@@ -276,6 +277,13 @@ export interface CreateLookupTableResponse {
276
277
  lookupTableArn?: string | undefined;
277
278
  createdAt?: number | undefined;
278
279
  }
280
+ export interface LookupTableConfiguration {
281
+ tableName: string | undefined;
282
+ roleArn: string | undefined;
283
+ description?: string | undefined;
284
+ kmsKeyId?: string | undefined;
285
+ tags?: Record<string, string> | undefined;
286
+ }
279
287
  export interface S3Configuration {
280
288
  destinationIdentifier: string | undefined;
281
289
  roleArn: string | undefined;
@@ -283,7 +291,8 @@ export interface S3Configuration {
283
291
  kmsKeyId?: string | undefined;
284
292
  }
285
293
  export interface DestinationConfiguration {
286
- s3Configuration: S3Configuration | undefined;
294
+ s3Configuration?: S3Configuration | undefined;
295
+ lookupTableConfiguration?: LookupTableConfiguration | undefined;
287
296
  }
288
297
  export interface CreateScheduledQueryRequest {
289
298
  name: string | undefined;
@@ -1707,8 +1716,3 @@ export interface TestMetricFilterRequest {
1707
1716
  filterPattern: string | undefined;
1708
1717
  logEventMessages: string[] | undefined;
1709
1718
  }
1710
- export interface MetricFilterMatchRecord {
1711
- eventNumber?: number | undefined;
1712
- eventMessage?: string | undefined;
1713
- extractedValues?: Record<string, string> | undefined;
1714
- }
@@ -7,12 +7,12 @@ import {
7
7
  SuppressionType,
8
8
  SuppressionUnit,
9
9
  } from "./enums";
10
- import {
11
- DestinationConfiguration,
12
- MetricFilterMatchRecord,
13
- Processor,
14
- S3DeliveryConfiguration,
15
- } from "./models_0";
10
+ import { DestinationConfiguration, Processor, S3DeliveryConfiguration } from "./models_0";
11
+ export interface MetricFilterMatchRecord {
12
+ eventNumber?: number | undefined;
13
+ eventMessage?: string | undefined;
14
+ extractedValues?: Record<string, string> | undefined;
15
+ }
16
16
  export interface TestMetricFilterResponse {
17
17
  matches?: MetricFilterMatchRecord[] | undefined;
18
18
  }
@@ -65,7 +65,8 @@ export interface UpdateLogAnomalyDetectorRequest {
65
65
  export interface UpdateLookupTableRequest {
66
66
  lookupTableArn: string | undefined;
67
67
  description?: string | undefined;
68
- tableBody: string | undefined;
68
+ tableBody?: string | undefined;
69
+ queryId?: string | undefined;
69
70
  kmsKeyId?: string | undefined;
70
71
  }
71
72
  export interface UpdateLookupTableResponse {
@@ -225,6 +225,7 @@ export declare var LogGroupField$: StaticStructureSchema;
225
225
  export declare var LogGroupSummary$: StaticStructureSchema;
226
226
  export declare var LogStream$: StaticStructureSchema;
227
227
  export declare var LookupTable$: StaticStructureSchema;
228
+ export declare var LookupTableConfiguration$: StaticStructureSchema;
228
229
  export declare var LowerCaseString$: StaticStructureSchema;
229
230
  export declare var MetricFilter$: StaticStructureSchema;
230
231
  export declare var MetricFilterMatchRecord$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-logs",
3
- "version": "3.1099.0",
3
+ "version": "3.1101.0",
4
4
  "description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudwatch-logs",
6
6
  "license": "Apache-2.0",
@@ -52,8 +52,8 @@
52
52
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
53
53
  },
54
54
  "dependencies": {
55
- "@aws-sdk/core": "^3.977.3",
56
- "@aws-sdk/credential-provider-node": "^3.972.75",
55
+ "@aws-sdk/core": "^3.977.4",
56
+ "@aws-sdk/credential-provider-node": "^3.972.76",
57
57
  "@aws-sdk/types": "^3.974.2",
58
58
  "@smithy/core": "^3.31.1",
59
59
  "@smithy/fetch-http-handler": "^5.6.13",