@aws-sdk/client-cloudwatch-logs 3.1067.0 → 3.1069.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.
@@ -197,6 +197,10 @@ export const IntegrationStatus = {
197
197
  export const IntegrationType = {
198
198
  OPENSEARCH: "OPENSEARCH",
199
199
  };
200
+ export const ScheduleType = {
201
+ AWS_MANAGED: "AWS_MANAGED",
202
+ CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
203
+ };
200
204
  export const ScheduledQueryDestinationType = {
201
205
  S3: "S3",
202
206
  };
@@ -615,6 +615,7 @@ const _eST = "expectedSequenceToken";
615
615
  const _eSv = "eventSource";
616
616
  const _eSx = "executionStatus";
617
617
  const _eT = "exportTasks";
618
+ const _eTO = "endTimeOffset";
618
619
  const _eTn = "endTime";
619
620
  const _eTr = "errorType";
620
621
  const _eV = "extractedValues";
@@ -857,6 +858,7 @@ const _sSu = "substituteString";
857
858
  const _sT = "sourceTimezone";
858
859
  const _sTI = "s3TablesIntegration";
859
860
  const _sTO = "startTimeOffset";
861
+ const _sTc = "scheduleType";
860
862
  const _sTe = "sequenceToken";
861
863
  const _sTt = "startTime";
862
864
  const _sTu = "suppressionType";
@@ -1193,8 +1195,8 @@ export var CreateLookupTableResponse$ = [3, n0, _CLTRr,
1193
1195
  ];
1194
1196
  export var CreateScheduledQueryRequest$ = [3, n0, _CSQR,
1195
1197
  0,
1196
- [_n, _qL, _qS, _sE, _eRA, _d, _lGI, _ti, _sTO, _dC, _sST, _sET, _st, _ta],
1197
- [0, 0, 0, 0, 0, 0, 64 | 0, 0, 1, () => DestinationConfiguration$, 1, 1, 0, 128 | 0], 5
1198
+ [_n, _qL, _qS, _sE, _eRA, _d, _lGI, _ti, _sTO, _eTO, _dC, _sST, _sET, _st, _ta],
1199
+ [0, 0, 0, 0, 0, 0, 64 | 0, 0, 1, 1, () => DestinationConfiguration$, 1, 1, 0, 128 | 0], 5
1198
1200
  ];
1199
1201
  export var CreateScheduledQueryResponse$ = [3, n0, _CSQRr,
1200
1202
  0,
@@ -1788,8 +1790,8 @@ export var GetScheduledQueryRequest$ = [3, n0, _GSQR,
1788
1790
  ];
1789
1791
  export var GetScheduledQueryResponse$ = [3, n0, _GSQRe,
1790
1792
  0,
1791
- [_sQA, _n, _d, _qL, _qS, _lGI, _sE, _ti, _sTO, _dC, _st, _lTT, _lES, _sST, _sET, _eRA, _cT, _lUT],
1792
- [0, 0, 0, 0, 0, 64 | 0, 0, 0, 1, () => DestinationConfiguration$, 0, 1, 0, 1, 1, 0, 1, 1]
1793
+ [_sQA, _n, _d, _qL, _qS, _lGI, _sE, _ti, _sTO, _eTO, _dC, _st, _sTc, _lTT, _lES, _sST, _sET, _eRA, _cT, _lUT],
1794
+ [0, 0, 0, 0, 0, 64 | 0, 0, 0, 1, 1, () => DestinationConfiguration$, 0, 0, 1, 0, 1, 1, 0, 1, 1]
1793
1795
  ];
1794
1796
  export var GetTransformerRequest$ = [3, n0, _GTR,
1795
1797
  0,
@@ -1908,8 +1910,8 @@ export var ListLogGroupsResponse$ = [3, n0, _LLGRi,
1908
1910
  ];
1909
1911
  export var ListScheduledQueriesRequest$ = [3, n0, _LSQR,
1910
1912
  0,
1911
- [_mR, _nT, _st],
1912
- [1, 0, 0]
1913
+ [_mR, _nT, _st, _sTc],
1914
+ [1, 0, 0, 0]
1913
1915
  ];
1914
1916
  export var ListScheduledQueriesResponse$ = [3, n0, _LSQRi,
1915
1917
  0,
@@ -2393,8 +2395,8 @@ export var ScheduledQueryDestination$ = [3, n0, _SQD,
2393
2395
  ];
2394
2396
  export var ScheduledQuerySummary$ = [3, n0, _SQS,
2395
2397
  0,
2396
- [_sQA, _n, _st, _lTT, _lES, _sE, _ti, _dC, _cT, _lUT],
2397
- [0, 0, 0, 1, 0, 0, 0, () => DestinationConfiguration$, 1, 1]
2398
+ [_sQA, _n, _st, _sTc, _lTT, _lES, _sE, _ti, _dC, _cT, _lUT],
2399
+ [0, 0, 0, 0, 1, 0, 0, 0, () => DestinationConfiguration$, 1, 1]
2398
2400
  ];
2399
2401
  export var SearchedLogStream$ = [3, n0, _SLS,
2400
2402
  0,
@@ -2563,13 +2565,13 @@ export var UpdateLookupTableResponse$ = [3, n0, _ULTRp,
2563
2565
  ];
2564
2566
  export var UpdateScheduledQueryRequest$ = [3, n0, _USQR,
2565
2567
  0,
2566
- [_i, _qL, _qS, _sE, _eRA, _d, _lGI, _ti, _sTO, _dC, _sST, _sET, _st],
2567
- [0, 0, 0, 0, 0, 0, 64 | 0, 0, 1, () => DestinationConfiguration$, 1, 1, 0], 5
2568
+ [_i, _qL, _qS, _sE, _eRA, _d, _lGI, _ti, _sTO, _eTO, _dC, _sST, _sET, _st],
2569
+ [0, 0, 0, 0, 0, 0, 64 | 0, 0, 1, 1, () => DestinationConfiguration$, 1, 1, 0], 5
2568
2570
  ];
2569
2571
  export var UpdateScheduledQueryResponse$ = [3, n0, _USQRp,
2570
2572
  0,
2571
- [_sQA, _n, _d, _qL, _qS, _lGI, _sE, _ti, _sTO, _dC, _st, _lTT, _lES, _sST, _sET, _eRA, _cT, _lUT],
2572
- [0, 0, 0, 0, 0, 64 | 0, 0, 0, 1, () => DestinationConfiguration$, 0, 1, 0, 1, 1, 0, 1, 1]
2573
+ [_sQA, _n, _d, _qL, _qS, _lGI, _sE, _ti, _sTO, _eTO, _dC, _st, _sTc, _lTT, _lES, _sST, _sET, _eRA, _cT, _lUT],
2574
+ [0, 0, 0, 0, 0, 64 | 0, 0, 0, 1, 1, () => DestinationConfiguration$, 0, 0, 1, 0, 1, 1, 0, 1, 1]
2573
2575
  ];
2574
2576
  export var UpperCaseString$ = [3, n0, _UCS,
2575
2577
  0,
@@ -52,6 +52,7 @@ declare const CreateScheduledQueryCommand_base: {
52
52
  * scheduleExpression: "STRING_VALUE", // required
53
53
  * timezone: "STRING_VALUE",
54
54
  * startTimeOffset: Number("long"),
55
+ * endTimeOffset: Number("long"),
55
56
  * destinationConfiguration: { // DestinationConfiguration
56
57
  * s3Configuration: { // S3Configuration
57
58
  * destinationIdentifier: "STRING_VALUE", // required
@@ -48,7 +48,7 @@ declare const GetQueryResultsCommand_base: {
48
48
  * destinations.</p>
49
49
  * <p>You can retrieve up to 100,000 log event results from a query, if available, by using
50
50
  * pagination. Use the <code>nextToken</code> returned in the response to request additional
51
- * pages of results, with each page returning up to 10,000 log events.</p>
51
+ * pages of results, with each page returning up to 10,000 log events. This is only supported for Logs Insights QL and is currently not supported for PPL and SQL query languages.</p>
52
52
  * <p>If you are using CloudWatch cross-account observability, you can use this operation
53
53
  * in a monitoring account to start queries in linked source accounts. For more information, see
54
54
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch cross-account observability</a>.</p>
@@ -56,6 +56,7 @@ declare const GetScheduledQueryCommand_base: {
56
56
  * // scheduleExpression: "STRING_VALUE",
57
57
  * // timezone: "STRING_VALUE",
58
58
  * // startTimeOffset: Number("long"),
59
+ * // endTimeOffset: Number("long"),
59
60
  * // destinationConfiguration: { // DestinationConfiguration
60
61
  * // s3Configuration: { // S3Configuration
61
62
  * // destinationIdentifier: "STRING_VALUE", // required
@@ -65,6 +66,7 @@ declare const GetScheduledQueryCommand_base: {
65
66
  * // },
66
67
  * // },
67
68
  * // state: "ENABLED" || "DISABLED",
69
+ * // scheduleType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
68
70
  * // lastTriggeredTime: Number("long"),
69
71
  * // lastExecutionStatus: "Running" || "InvalidQuery" || "Complete" || "Failed" || "Timeout",
70
72
  * // scheduleStartTime: Number("long"),
@@ -43,6 +43,7 @@ declare const ListScheduledQueriesCommand_base: {
43
43
  * maxResults: Number("int"),
44
44
  * nextToken: "STRING_VALUE",
45
45
  * state: "ENABLED" || "DISABLED",
46
+ * scheduleType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
46
47
  * };
47
48
  * const command = new ListScheduledQueriesCommand(input);
48
49
  * const response = await client.send(command);
@@ -53,6 +54,7 @@ declare const ListScheduledQueriesCommand_base: {
53
54
  * // scheduledQueryArn: "STRING_VALUE",
54
55
  * // name: "STRING_VALUE",
55
56
  * // state: "ENABLED" || "DISABLED",
57
+ * // scheduleType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
56
58
  * // lastTriggeredTime: Number("long"),
57
59
  * // lastExecutionStatus: "Running" || "InvalidQuery" || "Complete" || "Failed" || "Timeout",
58
60
  * // scheduleExpression: "STRING_VALUE",
@@ -50,6 +50,7 @@ declare const UpdateScheduledQueryCommand_base: {
50
50
  * scheduleExpression: "STRING_VALUE", // required
51
51
  * timezone: "STRING_VALUE",
52
52
  * startTimeOffset: Number("long"),
53
+ * endTimeOffset: Number("long"),
53
54
  * destinationConfiguration: { // DestinationConfiguration
54
55
  * s3Configuration: { // S3Configuration
55
56
  * destinationIdentifier: "STRING_VALUE", // required
@@ -77,6 +78,7 @@ declare const UpdateScheduledQueryCommand_base: {
77
78
  * // scheduleExpression: "STRING_VALUE",
78
79
  * // timezone: "STRING_VALUE",
79
80
  * // startTimeOffset: Number("long"),
81
+ * // endTimeOffset: Number("long"),
80
82
  * // destinationConfiguration: { // DestinationConfiguration
81
83
  * // s3Configuration: { // S3Configuration
82
84
  * // destinationIdentifier: "STRING_VALUE", // required
@@ -86,6 +88,7 @@ declare const UpdateScheduledQueryCommand_base: {
86
88
  * // },
87
89
  * // },
88
90
  * // state: "ENABLED" || "DISABLED",
91
+ * // scheduleType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
89
92
  * // lastTriggeredTime: Number("long"),
90
93
  * // lastExecutionStatus: "Running" || "InvalidQuery" || "Complete" || "Failed" || "Timeout",
91
94
  * // scheduleStartTime: Number("long"),
@@ -106,6 +109,9 @@ declare const UpdateScheduledQueryCommand_base: {
106
109
  * @throws {@link AccessDeniedException} (client fault)
107
110
  * <p>You don't have sufficient permissions to perform this action.</p>
108
111
  *
112
+ * @throws {@link ConflictException} (client fault)
113
+ * <p>This operation attempted to create a resource that already exists.</p>
114
+ *
109
115
  * @throws {@link InternalServerException} (server fault)
110
116
  * <p>An internal server error occurred while processing the request. This exception is returned
111
117
  * when the service encounters an unexpected condition that prevents it from fulfilling the
@@ -453,6 +453,18 @@ export declare const IntegrationType: {
453
453
  * @public
454
454
  */
455
455
  export type IntegrationType = (typeof IntegrationType)[keyof typeof IntegrationType];
456
+ /**
457
+ * @public
458
+ * @enum
459
+ */
460
+ export declare const ScheduleType: {
461
+ readonly AWS_MANAGED: "AWS_MANAGED";
462
+ readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
463
+ };
464
+ /**
465
+ * @public
466
+ */
467
+ export type ScheduleType = (typeof ScheduleType)[keyof typeof ScheduleType];
456
468
  /**
457
469
  * @public
458
470
  * @enum
@@ -1,4 +1,4 @@
1
- import type { ActionStatus, AnomalyDetectorStatus, DataProtectionStatus, DeliveryDestinationType, DeliverySourceConfigurationSchemaValueType, DeliverySourceStatus, DeliverySourceStatusReason, Distribution, EntityRejectionErrorType, EvaluationFrequency, EventSource, ExecutionStatus, ExportTaskStatusCode, FlattenedElement, ImportStatus, IndexSource, IndexType, InheritedProperty, IntegrationStatus, IntegrationType, ListAggregateLogGroupSummariesGroupBy, LogGroupClass, OCSFVersion, OpenSearchResourceStatusType, OrderBy, OutputFormat, PolicyScope, PolicyType, QueryLanguage, QueryStatus, S3TableIntegrationSourceStatus, ScheduledQueryDestinationType, ScheduledQueryState, Scope, StandardUnit, State, SuppressionState, SuppressionType, SuppressionUnit, Type } from "./enums";
1
+ import type { ActionStatus, AnomalyDetectorStatus, DataProtectionStatus, DeliveryDestinationType, DeliverySourceConfigurationSchemaValueType, DeliverySourceStatus, DeliverySourceStatusReason, Distribution, EntityRejectionErrorType, EvaluationFrequency, EventSource, ExecutionStatus, ExportTaskStatusCode, FlattenedElement, ImportStatus, IndexSource, IndexType, InheritedProperty, IntegrationStatus, IntegrationType, ListAggregateLogGroupSummariesGroupBy, LogGroupClass, OCSFVersion, OpenSearchResourceStatusType, OrderBy, OutputFormat, PolicyScope, PolicyType, QueryLanguage, QueryStatus, S3TableIntegrationSourceStatus, ScheduledQueryDestinationType, ScheduledQueryState, ScheduleType, Scope, StandardUnit, State, SuppressionState, SuppressionType, SuppressionUnit, Type } from "./enums";
2
2
  import type { InternalStreamingException, SessionStreamingException, SessionTimeoutException } from "./errors";
3
3
  /**
4
4
  * <p>A structure that contains information about one CloudWatch Logs account policy.</p>
@@ -1229,8 +1229,7 @@ export interface DestinationConfiguration {
1229
1229
  export interface CreateScheduledQueryRequest {
1230
1230
  /**
1231
1231
  * <p>The name of the scheduled query. The name must be unique within your account and region.
1232
- * Valid characters are alphanumeric characters, hyphens, underscores, and periods. Length must
1233
- * be between 1 and 255 characters.</p>
1232
+ * Length must be between 1 and 300 characters.</p>
1234
1233
  * @public
1235
1234
  */
1236
1235
  name: string | undefined;
@@ -1276,6 +1275,13 @@ export interface CreateScheduledQueryRequest {
1276
1275
  * @public
1277
1276
  */
1278
1277
  startTimeOffset?: number | undefined;
1278
+ /**
1279
+ * <p>The time offset in seconds that defines the end of the lookback period for the query.
1280
+ * Together with <code>startTimeOffset</code>, this determines the time window relative to the
1281
+ * execution time over which the query runs.</p>
1282
+ * @public
1283
+ */
1284
+ endTimeOffset?: number | undefined;
1279
1285
  /**
1280
1286
  * <p>Configuration for where to deliver query results. Currently supports Amazon S3 destinations for
1281
1287
  * storing query output.</p>
@@ -4980,7 +4986,7 @@ export interface GetQueryResultsResponse {
4980
4986
  * <p>If there are more log events remaining in the results, the response includes a
4981
4987
  * <code>nextToken</code>. You can use this token in a subsequent <code>GetQueryResults</code>
4982
4988
  * request to get the next set of results. You can retrieve up to 100,000 log event results
4983
- * from a query by paginating with this token.</p>
4989
+ * from a query by paginating with this token. This is only supported for Logs Insights QL and is currently not supported for PPL and SQL query languages.</p>
4984
4990
  * @public
4985
4991
  */
4986
4992
  nextToken?: string | undefined;
@@ -5044,6 +5050,12 @@ export interface GetScheduledQueryResponse {
5044
5050
  * @public
5045
5051
  */
5046
5052
  startTimeOffset?: number | undefined;
5053
+ /**
5054
+ * <p>The time offset in seconds that defines the end of the lookback period for the
5055
+ * query.</p>
5056
+ * @public
5057
+ */
5058
+ endTimeOffset?: number | undefined;
5047
5059
  /**
5048
5060
  * <p>Configuration for where query results are delivered.</p>
5049
5061
  * @public
@@ -5054,6 +5066,12 @@ export interface GetScheduledQueryResponse {
5054
5066
  * @public
5055
5067
  */
5056
5068
  state?: ScheduledQueryState | undefined;
5069
+ /**
5070
+ * <p>The schedule type of the scheduled query. Valid values are
5071
+ * <code>CUSTOMER_MANAGED</code> and <code>AWS_MANAGED</code>.</p>
5072
+ * @public
5073
+ */
5074
+ scheduleType?: ScheduleType | undefined;
5057
5075
  /**
5058
5076
  * <p>The timestamp when the scheduled query was last executed.</p>
5059
5077
  * @public
@@ -6328,6 +6346,13 @@ export interface ListScheduledQueriesRequest {
6328
6346
  * @public
6329
6347
  */
6330
6348
  state?: ScheduledQueryState | undefined;
6349
+ /**
6350
+ * <p>Filter scheduled queries by schedule type. Valid values are
6351
+ * <code>CUSTOMER_MANAGED</code> and <code>AWS_MANAGED</code>. If not specified, scheduled
6352
+ * queries of all schedule types are returned.</p>
6353
+ * @public
6354
+ */
6355
+ scheduleType?: ScheduleType | undefined;
6331
6356
  }
6332
6357
  /**
6333
6358
  * <p>Summary information about a scheduled query, including basic configuration and execution
@@ -6350,6 +6375,12 @@ export interface ScheduledQuerySummary {
6350
6375
  * @public
6351
6376
  */
6352
6377
  state?: ScheduledQueryState | undefined;
6378
+ /**
6379
+ * <p>The schedule type of the scheduled query. Valid values are
6380
+ * <code>CUSTOMER_MANAGED</code> and <code>AWS_MANAGED</code>.</p>
6381
+ * @public
6382
+ */
6383
+ scheduleType?: ScheduleType | undefined;
6353
6384
  /**
6354
6385
  * <p>The timestamp when the scheduled query was last executed.</p>
6355
6386
  * @public
@@ -8105,10 +8136,7 @@ export interface StartQueryRequest {
8105
8136
  */
8106
8137
  queryString: string | undefined;
8107
8138
  /**
8108
- * <p>The maximum number of log events to return in the query. If the query string uses the
8109
- * <code>fields</code> command, only the specified fields and their values are returned. The
8110
- * default is 10,000.</p>
8111
- * <p>The maximum value is 100,000.</p>
8139
+ * <p>The maximum number of log events to return from the query. The maximum limit is 100,000. The maximum events returned in a single GetQueryResults API call is 10,000 log events per request. You can retrieve up to 100,000 log event results from a query by paginating with the <code>nextToken</code>. 100,000 limit is only supported for Logs Insights QL and is currently not supported for PPL and SQL query languages.</p>
8112
8140
  * @public
8113
8141
  */
8114
8142
  limit?: number | undefined;
@@ -1,4 +1,4 @@
1
- import type { EvaluationFrequency, ExecutionStatus, QueryLanguage, ScheduledQueryState } from "./enums";
1
+ import type { EvaluationFrequency, ExecutionStatus, QueryLanguage, ScheduledQueryState, ScheduleType } from "./enums";
2
2
  import type { DestinationConfiguration } from "./models_0";
3
3
  /**
4
4
  * @public
@@ -131,6 +131,12 @@ export interface UpdateScheduledQueryRequest {
131
131
  * @public
132
132
  */
133
133
  startTimeOffset?: number | undefined;
134
+ /**
135
+ * <p>The updated time offset in seconds that defines the end of the lookback period for
136
+ * the query.</p>
137
+ * @public
138
+ */
139
+ endTimeOffset?: number | undefined;
134
140
  /**
135
141
  * <p>The updated configuration for where to deliver query results.</p>
136
142
  * @public
@@ -207,6 +213,11 @@ export interface UpdateScheduledQueryResponse {
207
213
  * @public
208
214
  */
209
215
  startTimeOffset?: number | undefined;
216
+ /**
217
+ * <p>The end time offset in seconds of the updated scheduled query.</p>
218
+ * @public
219
+ */
220
+ endTimeOffset?: number | undefined;
210
221
  /**
211
222
  * <p>The destination configuration of the updated scheduled query.</p>
212
223
  * @public
@@ -217,6 +228,11 @@ export interface UpdateScheduledQueryResponse {
217
228
  * @public
218
229
  */
219
230
  state?: ScheduledQueryState | undefined;
231
+ /**
232
+ * <p>The schedule type of the updated scheduled query.</p>
233
+ * @public
234
+ */
235
+ scheduleType?: ScheduleType | undefined;
220
236
  /**
221
237
  * <p>The timestamp when the updated scheduled query was last executed.</p>
222
238
  * @public
@@ -245,6 +245,11 @@ export declare const IntegrationType: {
245
245
  };
246
246
  export type IntegrationType =
247
247
  (typeof IntegrationType)[keyof typeof IntegrationType];
248
+ export declare const ScheduleType: {
249
+ readonly AWS_MANAGED: "AWS_MANAGED";
250
+ readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
251
+ };
252
+ export type ScheduleType = (typeof ScheduleType)[keyof typeof ScheduleType];
248
253
  export declare const ScheduledQueryDestinationType: {
249
254
  readonly S3: "S3";
250
255
  };
@@ -32,6 +32,7 @@ import {
32
32
  S3TableIntegrationSourceStatus,
33
33
  ScheduledQueryDestinationType,
34
34
  ScheduledQueryState,
35
+ ScheduleType,
35
36
  Scope,
36
37
  StandardUnit,
37
38
  State,
@@ -295,6 +296,7 @@ export interface CreateScheduledQueryRequest {
295
296
  scheduleExpression: string | undefined;
296
297
  timezone?: string | undefined;
297
298
  startTimeOffset?: number | undefined;
299
+ endTimeOffset?: number | undefined;
298
300
  destinationConfiguration?: DestinationConfiguration | undefined;
299
301
  scheduleStartTime?: number | undefined;
300
302
  scheduleEndTime?: number | undefined;
@@ -1072,8 +1074,10 @@ export interface GetScheduledQueryResponse {
1072
1074
  scheduleExpression?: string | undefined;
1073
1075
  timezone?: string | undefined;
1074
1076
  startTimeOffset?: number | undefined;
1077
+ endTimeOffset?: number | undefined;
1075
1078
  destinationConfiguration?: DestinationConfiguration | undefined;
1076
1079
  state?: ScheduledQueryState | undefined;
1080
+ scheduleType?: ScheduleType | undefined;
1077
1081
  lastTriggeredTime?: number | undefined;
1078
1082
  lastExecutionStatus?: ExecutionStatus | undefined;
1079
1083
  scheduleStartTime?: number | undefined;
@@ -1324,11 +1328,13 @@ export interface ListScheduledQueriesRequest {
1324
1328
  maxResults?: number | undefined;
1325
1329
  nextToken?: string | undefined;
1326
1330
  state?: ScheduledQueryState | undefined;
1331
+ scheduleType?: ScheduleType | undefined;
1327
1332
  }
1328
1333
  export interface ScheduledQuerySummary {
1329
1334
  scheduledQueryArn?: string | undefined;
1330
1335
  name?: string | undefined;
1331
1336
  state?: ScheduledQueryState | undefined;
1337
+ scheduleType?: ScheduleType | undefined;
1332
1338
  lastTriggeredTime?: number | undefined;
1333
1339
  lastExecutionStatus?: ExecutionStatus | undefined;
1334
1340
  scheduleExpression?: string | undefined;
@@ -3,6 +3,7 @@ import {
3
3
  ExecutionStatus,
4
4
  QueryLanguage,
5
5
  ScheduledQueryState,
6
+ ScheduleType,
6
7
  } from "./enums";
7
8
  import { DestinationConfiguration } from "./models_0";
8
9
  export interface UpdateDeliveryConfigurationResponse {}
@@ -32,6 +33,7 @@ export interface UpdateScheduledQueryRequest {
32
33
  scheduleExpression: string | undefined;
33
34
  timezone?: string | undefined;
34
35
  startTimeOffset?: number | undefined;
36
+ endTimeOffset?: number | undefined;
35
37
  destinationConfiguration?: DestinationConfiguration | undefined;
36
38
  scheduleStartTime?: number | undefined;
37
39
  scheduleEndTime?: number | undefined;
@@ -48,8 +50,10 @@ export interface UpdateScheduledQueryResponse {
48
50
  scheduleExpression?: string | undefined;
49
51
  timezone?: string | undefined;
50
52
  startTimeOffset?: number | undefined;
53
+ endTimeOffset?: number | undefined;
51
54
  destinationConfiguration?: DestinationConfiguration | undefined;
52
55
  state?: ScheduledQueryState | undefined;
56
+ scheduleType?: ScheduleType | undefined;
53
57
  lastTriggeredTime?: number | undefined;
54
58
  lastExecutionStatus?: ExecutionStatus | undefined;
55
59
  scheduleStartTime?: number | undefined;
package/package.json CHANGED
@@ -1,24 +1,24 @@
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.1067.0",
4
+ "version": "3.1069.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",
8
- "build:es": "tsc -p tsconfig.es.json",
8
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
- "build:types": "tsc -p tsconfig.types.json",
10
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "clean": "premove dist-cjs dist-es dist-types",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo cloudwatch-logs",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service",
15
15
  "test": "yarn g:vitest run --passWithNoTests",
16
+ "test:watch": "yarn g:vitest watch --passWithNoTests",
17
+ "test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
18
+ "test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
16
19
  "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
17
20
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
18
- "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
19
- "test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
20
- "test:integration:watch": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
21
- "test:watch": "yarn g:vitest watch --passWithNoTests"
21
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
22
22
  },
23
23
  "main": "./dist-cjs/index.js",
24
24
  "types": "./dist-types/index.d.ts",
@@ -27,9 +27,9 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/core": "^3.974.20",
31
- "@aws-sdk/credential-provider-node": "^3.972.55",
32
- "@aws-sdk/types": "^3.973.12",
30
+ "@aws-sdk/core": "^3.974.21",
31
+ "@aws-sdk/credential-provider-node": "^3.972.56",
32
+ "@aws-sdk/types": "^3.973.13",
33
33
  "@smithy/core": "^3.24.6",
34
34
  "@smithy/fetch-http-handler": "^5.4.6",
35
35
  "@smithy/node-http-handler": "^4.7.6",