aws-sdk-cloudwatchlogs 1.154.0 → 1.155.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: feb7a7a0ef3e6f89b109c6f3fded42629d39441d0c9d9488ee8c0d691af5f670
4
- data.tar.gz: fb3078b8b6baea65c9250bda8692911696119a79567aeed9334a263d3c92500d
3
+ metadata.gz: 6cb54db34708b79eef1f663f649caa1543e0beea1ec953787c513af57e138b20
4
+ data.tar.gz: 7c2b3338d21ec391652ea509537a3736dfe5b0d077795b470a139d96e3dd3314
5
5
  SHA512:
6
- metadata.gz: 55a06c3dc5d3070fd96f66d10cd8305f06e6f10a3ae5f5b8a04e0b5b93207ec2c12ed5f8d9024a9d8575862995a365ce278e177ce476acd67dfc1ef857fa83fe
7
- data.tar.gz: 4b6c3fa7b39d84bfbe072f60ba8ab6af001ec31dbaaa72be859b8d6da445d26e248ea93a7800e9342e37f94f6cfa53c6dc81c8044bb2fd42c6e0993ce144c551
6
+ metadata.gz: 757e844b7ae76bd1899f55c2ffe80b374a716e4b517c2a2e49d4e1482823c0b44c6cfab62cea9c6fff49a7017decc1cfa0fe3c185e3502cd167657bef46511b7
7
+ data.tar.gz: 2c00ef8f1e975e246b586c649bf01ed965a83026614776ca35492b423d4452213dbd9cf21ca4bb05318422400b8335837b65eb2028cdf23cdf0e9f4bb7c6fb76
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.155.0 (2026-06-15)
5
+ ------------------
6
+
7
+ * Feature - Added endTimeOffset parameter to Scheduled Queries APIs (Create, Update, Get) enabling bounded time window configuration. Introduced scheduleType filter (CUSTOMER MANAGED, AWS MANAGED) for ListScheduledQueries and exposed it in Get and Update responses.
8
+
4
9
  1.154.0 (2026-06-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.154.0
1
+ 1.155.0
@@ -1416,9 +1416,7 @@ module Aws::CloudWatchLogs
1416
1416
  #
1417
1417
  # @option params [required, String] :name
1418
1418
  # The name of the scheduled query. The name must be unique within your
1419
- # account and region. Valid characters are alphanumeric characters,
1420
- # hyphens, underscores, and periods. Length must be between 1 and 255
1421
- # characters.
1419
+ # account and region. Length must be between 1 and 300 characters.
1422
1420
  #
1423
1421
  # @option params [String] :description
1424
1422
  # An optional description for the scheduled query to help identify its
@@ -1450,6 +1448,11 @@ module Aws::CloudWatchLogs
1450
1448
  # query. This determines how far back in time the query searches from
1451
1449
  # the execution time.
1452
1450
  #
1451
+ # @option params [Integer] :end_time_offset
1452
+ # The time offset in seconds that defines the end of the lookback period
1453
+ # for the query. Together with `startTimeOffset`, this determines the
1454
+ # time window relative to the execution time over which the query runs.
1455
+ #
1453
1456
  # @option params [Types::DestinationConfiguration] :destination_configuration
1454
1457
  # Configuration for where to deliver query results. Currently supports
1455
1458
  # Amazon S3 destinations for storing query output.
@@ -1492,6 +1495,7 @@ module Aws::CloudWatchLogs
1492
1495
  # schedule_expression: "ScheduleExpression", # required
1493
1496
  # timezone: "ScheduleTimezone",
1494
1497
  # start_time_offset: 1,
1498
+ # end_time_offset: 1,
1495
1499
  # destination_configuration: {
1496
1500
  # s3_configuration: { # required
1497
1501
  # destination_identifier: "S3Uri", # required
@@ -4651,7 +4655,9 @@ module Aws::CloudWatchLogs
4651
4655
  # You can retrieve up to 100,000 log event results from a query, if
4652
4656
  # available, by using pagination. Use the `nextToken` returned in the
4653
4657
  # response to request additional pages of results, with each page
4654
- # returning up to 10,000 log events.
4658
+ # returning up to 10,000 log events. This is only supported for Logs
4659
+ # Insights QL and is currently not supported for PPL and SQL query
4660
+ # languages.
4655
4661
  #
4656
4662
  # If you are using CloudWatch cross-account observability, you can use
4657
4663
  # this operation in a monitoring account to start queries in linked
@@ -4738,8 +4744,10 @@ module Aws::CloudWatchLogs
4738
4744
  # * {Types::GetScheduledQueryResponse#schedule_expression #schedule_expression} => String
4739
4745
  # * {Types::GetScheduledQueryResponse#timezone #timezone} => String
4740
4746
  # * {Types::GetScheduledQueryResponse#start_time_offset #start_time_offset} => Integer
4747
+ # * {Types::GetScheduledQueryResponse#end_time_offset #end_time_offset} => Integer
4741
4748
  # * {Types::GetScheduledQueryResponse#destination_configuration #destination_configuration} => Types::DestinationConfiguration
4742
4749
  # * {Types::GetScheduledQueryResponse#state #state} => String
4750
+ # * {Types::GetScheduledQueryResponse#schedule_type #schedule_type} => String
4743
4751
  # * {Types::GetScheduledQueryResponse#last_triggered_time #last_triggered_time} => Integer
4744
4752
  # * {Types::GetScheduledQueryResponse#last_execution_status #last_execution_status} => String
4745
4753
  # * {Types::GetScheduledQueryResponse#schedule_start_time #schedule_start_time} => Integer
@@ -4766,11 +4774,13 @@ module Aws::CloudWatchLogs
4766
4774
  # resp.schedule_expression #=> String
4767
4775
  # resp.timezone #=> String
4768
4776
  # resp.start_time_offset #=> Integer
4777
+ # resp.end_time_offset #=> Integer
4769
4778
  # resp.destination_configuration.s3_configuration.destination_identifier #=> String
4770
4779
  # resp.destination_configuration.s3_configuration.role_arn #=> String
4771
4780
  # resp.destination_configuration.s3_configuration.owner_account_id #=> String
4772
4781
  # resp.destination_configuration.s3_configuration.kms_key_id #=> String
4773
4782
  # resp.state #=> String, one of "ENABLED", "DISABLED"
4783
+ # resp.schedule_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
4774
4784
  # resp.last_triggered_time #=> Integer
4775
4785
  # resp.last_execution_status #=> String, one of "Running", "InvalidQuery", "Complete", "Failed", "Timeout"
4776
4786
  # resp.schedule_start_time #=> Integer
@@ -5479,6 +5489,11 @@ module Aws::CloudWatchLogs
5479
5489
  # Filter scheduled queries by state. Valid values are `ENABLED` and
5480
5490
  # `DISABLED`. If not specified, all scheduled queries are returned.
5481
5491
  #
5492
+ # @option params [String] :schedule_type
5493
+ # Filter scheduled queries by schedule type. Valid values are
5494
+ # `CUSTOMER_MANAGED` and `AWS_MANAGED`. If not specified, scheduled
5495
+ # queries of all schedule types are returned.
5496
+ #
5482
5497
  # @return [Types::ListScheduledQueriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5483
5498
  #
5484
5499
  # * {Types::ListScheduledQueriesResponse#next_token #next_token} => String
@@ -5492,6 +5507,7 @@ module Aws::CloudWatchLogs
5492
5507
  # max_results: 1,
5493
5508
  # next_token: "NextToken",
5494
5509
  # state: "ENABLED", # accepts ENABLED, DISABLED
5510
+ # schedule_type: "CUSTOMER_MANAGED", # accepts CUSTOMER_MANAGED, AWS_MANAGED
5495
5511
  # })
5496
5512
  #
5497
5513
  # @example Response structure
@@ -5501,6 +5517,7 @@ module Aws::CloudWatchLogs
5501
5517
  # resp.scheduled_queries[0].scheduled_query_arn #=> String
5502
5518
  # resp.scheduled_queries[0].name #=> String
5503
5519
  # resp.scheduled_queries[0].state #=> String, one of "ENABLED", "DISABLED"
5520
+ # resp.scheduled_queries[0].schedule_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
5504
5521
  # resp.scheduled_queries[0].last_triggered_time #=> Integer
5505
5522
  # resp.scheduled_queries[0].last_execution_status #=> String, one of "Running", "InvalidQuery", "Complete", "Failed", "Timeout"
5506
5523
  # resp.scheduled_queries[0].schedule_expression #=> String
@@ -8439,11 +8456,13 @@ module Aws::CloudWatchLogs
8439
8456
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html
8440
8457
  #
8441
8458
  # @option params [Integer] :limit
8442
- # The maximum number of log events to return in the query. If the query
8443
- # string uses the `fields` command, only the specified fields and their
8444
- # values are returned. The default is 10,000.
8445
- #
8446
- # The maximum value is 100,000.
8459
+ # The maximum number of log events to return from the query. The maximum
8460
+ # limit is 100,000. The maximum events returned in a single
8461
+ # GetQueryResults API call is 10,000 log events per request. You can
8462
+ # retrieve up to 100,000 log event results from a query by paginating
8463
+ # with the `nextToken`. 100,000 limit is only supported for Logs
8464
+ # Insights QL and is currently not supported for PPL and SQL query
8465
+ # languages.
8447
8466
  #
8448
8467
  # @return [Types::StartQueryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8449
8468
  #
@@ -9183,6 +9202,10 @@ module Aws::CloudWatchLogs
9183
9202
  # The updated time offset in seconds that defines the lookback period
9184
9203
  # for the query.
9185
9204
  #
9205
+ # @option params [Integer] :end_time_offset
9206
+ # The updated time offset in seconds that defines the end of the
9207
+ # lookback period for the query.
9208
+ #
9186
9209
  # @option params [Types::DestinationConfiguration] :destination_configuration
9187
9210
  # The updated configuration for where to deliver query results.
9188
9211
  #
@@ -9210,8 +9233,10 @@ module Aws::CloudWatchLogs
9210
9233
  # * {Types::UpdateScheduledQueryResponse#schedule_expression #schedule_expression} => String
9211
9234
  # * {Types::UpdateScheduledQueryResponse#timezone #timezone} => String
9212
9235
  # * {Types::UpdateScheduledQueryResponse#start_time_offset #start_time_offset} => Integer
9236
+ # * {Types::UpdateScheduledQueryResponse#end_time_offset #end_time_offset} => Integer
9213
9237
  # * {Types::UpdateScheduledQueryResponse#destination_configuration #destination_configuration} => Types::DestinationConfiguration
9214
9238
  # * {Types::UpdateScheduledQueryResponse#state #state} => String
9239
+ # * {Types::UpdateScheduledQueryResponse#schedule_type #schedule_type} => String
9215
9240
  # * {Types::UpdateScheduledQueryResponse#last_triggered_time #last_triggered_time} => Integer
9216
9241
  # * {Types::UpdateScheduledQueryResponse#last_execution_status #last_execution_status} => String
9217
9242
  # * {Types::UpdateScheduledQueryResponse#schedule_start_time #schedule_start_time} => Integer
@@ -9231,6 +9256,7 @@ module Aws::CloudWatchLogs
9231
9256
  # schedule_expression: "ScheduleExpression", # required
9232
9257
  # timezone: "ScheduleTimezone",
9233
9258
  # start_time_offset: 1,
9259
+ # end_time_offset: 1,
9234
9260
  # destination_configuration: {
9235
9261
  # s3_configuration: { # required
9236
9262
  # destination_identifier: "S3Uri", # required
@@ -9257,11 +9283,13 @@ module Aws::CloudWatchLogs
9257
9283
  # resp.schedule_expression #=> String
9258
9284
  # resp.timezone #=> String
9259
9285
  # resp.start_time_offset #=> Integer
9286
+ # resp.end_time_offset #=> Integer
9260
9287
  # resp.destination_configuration.s3_configuration.destination_identifier #=> String
9261
9288
  # resp.destination_configuration.s3_configuration.role_arn #=> String
9262
9289
  # resp.destination_configuration.s3_configuration.owner_account_id #=> String
9263
9290
  # resp.destination_configuration.s3_configuration.kms_key_id #=> String
9264
9291
  # resp.state #=> String, one of "ENABLED", "DISABLED"
9292
+ # resp.schedule_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
9265
9293
  # resp.last_triggered_time #=> Integer
9266
9294
  # resp.last_execution_status #=> String, one of "Running", "InvalidQuery", "Complete", "Failed", "Timeout"
9267
9295
  # resp.schedule_start_time #=> Integer
@@ -9297,7 +9325,7 @@ module Aws::CloudWatchLogs
9297
9325
  tracer: tracer
9298
9326
  )
9299
9327
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
9300
- context[:gem_version] = '1.154.0'
9328
+ context[:gem_version] = '1.155.0'
9301
9329
  Seahorse::Client::Request.new(handlers, context)
9302
9330
  end
9303
9331
 
@@ -211,6 +211,7 @@ module Aws::CloudWatchLogs
211
211
  DynamicTokenPosition = Shapes::IntegerShape.new(name: 'DynamicTokenPosition')
212
212
  EmitSystemFields = Shapes::ListShape.new(name: 'EmitSystemFields')
213
213
  EncryptionKey = Shapes::StringShape.new(name: 'EncryptionKey')
214
+ EndTimeOffset = Shapes::IntegerShape.new(name: 'EndTimeOffset')
214
215
  Entity = Shapes::StructureShape.new(name: 'Entity')
215
216
  EntityAttributes = Shapes::MapShape.new(name: 'EntityAttributes')
216
217
  EntityAttributesKey = Shapes::StringShape.new(name: 'EntityAttributesKey')
@@ -578,6 +579,7 @@ module Aws::CloudWatchLogs
578
579
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
579
580
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
580
581
  ScheduleTimezone = Shapes::StringShape.new(name: 'ScheduleTimezone')
582
+ ScheduleType = Shapes::StringShape.new(name: 'ScheduleType')
581
583
  ScheduledQueryDescription = Shapes::StringShape.new(name: 'ScheduledQueryDescription')
582
584
  ScheduledQueryDestination = Shapes::StructureShape.new(name: 'ScheduledQueryDestination')
583
585
  ScheduledQueryDestinationList = Shapes::ListShape.new(name: 'ScheduledQueryDestinationList')
@@ -907,6 +909,7 @@ module Aws::CloudWatchLogs
907
909
  CreateScheduledQueryRequest.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "scheduleExpression"))
908
910
  CreateScheduledQueryRequest.add_member(:timezone, Shapes::ShapeRef.new(shape: ScheduleTimezone, location_name: "timezone"))
909
911
  CreateScheduledQueryRequest.add_member(:start_time_offset, Shapes::ShapeRef.new(shape: StartTimeOffset, location_name: "startTimeOffset"))
912
+ CreateScheduledQueryRequest.add_member(:end_time_offset, Shapes::ShapeRef.new(shape: EndTimeOffset, location_name: "endTimeOffset"))
910
913
  CreateScheduledQueryRequest.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, location_name: "destinationConfiguration"))
911
914
  CreateScheduledQueryRequest.add_member(:schedule_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scheduleStartTime"))
912
915
  CreateScheduledQueryRequest.add_member(:schedule_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scheduleEndTime"))
@@ -1543,8 +1546,10 @@ module Aws::CloudWatchLogs
1543
1546
  GetScheduledQueryResponse.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "scheduleExpression"))
1544
1547
  GetScheduledQueryResponse.add_member(:timezone, Shapes::ShapeRef.new(shape: ScheduleTimezone, location_name: "timezone"))
1545
1548
  GetScheduledQueryResponse.add_member(:start_time_offset, Shapes::ShapeRef.new(shape: StartTimeOffset, location_name: "startTimeOffset"))
1549
+ GetScheduledQueryResponse.add_member(:end_time_offset, Shapes::ShapeRef.new(shape: EndTimeOffset, location_name: "endTimeOffset"))
1546
1550
  GetScheduledQueryResponse.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, location_name: "destinationConfiguration"))
1547
1551
  GetScheduledQueryResponse.add_member(:state, Shapes::ShapeRef.new(shape: ScheduledQueryState, location_name: "state"))
1552
+ GetScheduledQueryResponse.add_member(:schedule_type, Shapes::ShapeRef.new(shape: ScheduleType, location_name: "scheduleType"))
1548
1553
  GetScheduledQueryResponse.add_member(:last_triggered_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastTriggeredTime"))
1549
1554
  GetScheduledQueryResponse.add_member(:last_execution_status, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "lastExecutionStatus"))
1550
1555
  GetScheduledQueryResponse.add_member(:schedule_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scheduleStartTime"))
@@ -1719,6 +1724,7 @@ module Aws::CloudWatchLogs
1719
1724
  ListScheduledQueriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListScheduledQueriesMaxResults, location_name: "maxResults"))
1720
1725
  ListScheduledQueriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1721
1726
  ListScheduledQueriesRequest.add_member(:state, Shapes::ShapeRef.new(shape: ScheduledQueryState, location_name: "state"))
1727
+ ListScheduledQueriesRequest.add_member(:schedule_type, Shapes::ShapeRef.new(shape: ScheduleType, location_name: "scheduleType"))
1722
1728
  ListScheduledQueriesRequest.struct_class = Types::ListScheduledQueriesRequest
1723
1729
 
1724
1730
  ListScheduledQueriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -2336,6 +2342,7 @@ module Aws::CloudWatchLogs
2336
2342
  ScheduledQuerySummary.add_member(:scheduled_query_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "scheduledQueryArn"))
2337
2343
  ScheduledQuerySummary.add_member(:name, Shapes::ShapeRef.new(shape: ScheduledQueryName, location_name: "name"))
2338
2344
  ScheduledQuerySummary.add_member(:state, Shapes::ShapeRef.new(shape: ScheduledQueryState, location_name: "state"))
2345
+ ScheduledQuerySummary.add_member(:schedule_type, Shapes::ShapeRef.new(shape: ScheduleType, location_name: "scheduleType"))
2339
2346
  ScheduledQuerySummary.add_member(:last_triggered_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastTriggeredTime"))
2340
2347
  ScheduledQuerySummary.add_member(:last_execution_status, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "lastExecutionStatus"))
2341
2348
  ScheduledQuerySummary.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "scheduleExpression"))
@@ -2564,6 +2571,7 @@ module Aws::CloudWatchLogs
2564
2571
  UpdateScheduledQueryRequest.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "scheduleExpression"))
2565
2572
  UpdateScheduledQueryRequest.add_member(:timezone, Shapes::ShapeRef.new(shape: ScheduleTimezone, location_name: "timezone"))
2566
2573
  UpdateScheduledQueryRequest.add_member(:start_time_offset, Shapes::ShapeRef.new(shape: StartTimeOffset, location_name: "startTimeOffset"))
2574
+ UpdateScheduledQueryRequest.add_member(:end_time_offset, Shapes::ShapeRef.new(shape: EndTimeOffset, location_name: "endTimeOffset"))
2567
2575
  UpdateScheduledQueryRequest.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, location_name: "destinationConfiguration"))
2568
2576
  UpdateScheduledQueryRequest.add_member(:schedule_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scheduleStartTime"))
2569
2577
  UpdateScheduledQueryRequest.add_member(:schedule_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scheduleEndTime"))
@@ -2580,8 +2588,10 @@ module Aws::CloudWatchLogs
2580
2588
  UpdateScheduledQueryResponse.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "scheduleExpression"))
2581
2589
  UpdateScheduledQueryResponse.add_member(:timezone, Shapes::ShapeRef.new(shape: ScheduleTimezone, location_name: "timezone"))
2582
2590
  UpdateScheduledQueryResponse.add_member(:start_time_offset, Shapes::ShapeRef.new(shape: StartTimeOffset, location_name: "startTimeOffset"))
2591
+ UpdateScheduledQueryResponse.add_member(:end_time_offset, Shapes::ShapeRef.new(shape: EndTimeOffset, location_name: "endTimeOffset"))
2583
2592
  UpdateScheduledQueryResponse.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, location_name: "destinationConfiguration"))
2584
2593
  UpdateScheduledQueryResponse.add_member(:state, Shapes::ShapeRef.new(shape: ScheduledQueryState, location_name: "state"))
2594
+ UpdateScheduledQueryResponse.add_member(:schedule_type, Shapes::ShapeRef.new(shape: ScheduleType, location_name: "scheduleType"))
2585
2595
  UpdateScheduledQueryResponse.add_member(:last_triggered_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastTriggeredTime"))
2586
2596
  UpdateScheduledQueryResponse.add_member(:last_execution_status, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "lastExecutionStatus"))
2587
2597
  UpdateScheduledQueryResponse.add_member(:schedule_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scheduleStartTime"))
@@ -4112,6 +4122,7 @@ module Aws::CloudWatchLogs
4112
4122
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4113
4123
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4114
4124
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4125
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4115
4126
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4116
4127
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4117
4128
  end)
@@ -1205,9 +1205,7 @@ module Aws::CloudWatchLogs
1205
1205
 
1206
1206
  # @!attribute [rw] name
1207
1207
  # The name of the scheduled query. The name must be unique within your
1208
- # account and region. Valid characters are alphanumeric characters,
1209
- # hyphens, underscores, and periods. Length must be between 1 and 255
1210
- # characters.
1208
+ # account and region. Length must be between 1 and 300 characters.
1211
1209
  # @return [String]
1212
1210
  #
1213
1211
  # @!attribute [rw] description
@@ -1249,6 +1247,13 @@ module Aws::CloudWatchLogs
1249
1247
  # the execution time.
1250
1248
  # @return [Integer]
1251
1249
  #
1250
+ # @!attribute [rw] end_time_offset
1251
+ # The time offset in seconds that defines the end of the lookback
1252
+ # period for the query. Together with `startTimeOffset`, this
1253
+ # determines the time window relative to the execution time over which
1254
+ # the query runs.
1255
+ # @return [Integer]
1256
+ #
1252
1257
  # @!attribute [rw] destination_configuration
1253
1258
  # Configuration for where to deliver query results. Currently supports
1254
1259
  # Amazon S3 destinations for storing query output.
@@ -1292,6 +1297,7 @@ module Aws::CloudWatchLogs
1292
1297
  :schedule_expression,
1293
1298
  :timezone,
1294
1299
  :start_time_offset,
1300
+ :end_time_offset,
1295
1301
  :destination_configuration,
1296
1302
  :schedule_start_time,
1297
1303
  :schedule_end_time,
@@ -4341,7 +4347,8 @@ module Aws::CloudWatchLogs
4341
4347
  # includes a `nextToken`. You can use this token in a subsequent
4342
4348
  # `GetQueryResults` request to get the next set of results. You can
4343
4349
  # retrieve up to 100,000 log event results from a query by paginating
4344
- # with this token.
4350
+ # with this token. This is only supported for Logs Insights QL and is
4351
+ # currently not supported for PPL and SQL query languages.
4345
4352
  # @return [String]
4346
4353
  #
4347
4354
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetQueryResultsResponse AWS API Documentation
@@ -4474,6 +4481,11 @@ module Aws::CloudWatchLogs
4474
4481
  # query.
4475
4482
  # @return [Integer]
4476
4483
  #
4484
+ # @!attribute [rw] end_time_offset
4485
+ # The time offset in seconds that defines the end of the lookback
4486
+ # period for the query.
4487
+ # @return [Integer]
4488
+ #
4477
4489
  # @!attribute [rw] destination_configuration
4478
4490
  # Configuration for where query results are delivered.
4479
4491
  # @return [Types::DestinationConfiguration]
@@ -4482,6 +4494,11 @@ module Aws::CloudWatchLogs
4482
4494
  # The current state of the scheduled query.
4483
4495
  # @return [String]
4484
4496
  #
4497
+ # @!attribute [rw] schedule_type
4498
+ # The schedule type of the scheduled query. Valid values are
4499
+ # `CUSTOMER_MANAGED` and `AWS_MANAGED`.
4500
+ # @return [String]
4501
+ #
4485
4502
  # @!attribute [rw] last_triggered_time
4486
4503
  # The timestamp when the scheduled query was last executed.
4487
4504
  # @return [Integer]
@@ -4523,8 +4540,10 @@ module Aws::CloudWatchLogs
4523
4540
  :schedule_expression,
4524
4541
  :timezone,
4525
4542
  :start_time_offset,
4543
+ :end_time_offset,
4526
4544
  :destination_configuration,
4527
4545
  :state,
4546
+ :schedule_type,
4528
4547
  :last_triggered_time,
4529
4548
  :last_execution_status,
4530
4549
  :schedule_start_time,
@@ -5346,12 +5365,19 @@ module Aws::CloudWatchLogs
5346
5365
  # `DISABLED`. If not specified, all scheduled queries are returned.
5347
5366
  # @return [String]
5348
5367
  #
5368
+ # @!attribute [rw] schedule_type
5369
+ # Filter scheduled queries by schedule type. Valid values are
5370
+ # `CUSTOMER_MANAGED` and `AWS_MANAGED`. If not specified, scheduled
5371
+ # queries of all schedule types are returned.
5372
+ # @return [String]
5373
+ #
5349
5374
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListScheduledQueriesRequest AWS API Documentation
5350
5375
  #
5351
5376
  class ListScheduledQueriesRequest < Struct.new(
5352
5377
  :max_results,
5353
5378
  :next_token,
5354
- :state)
5379
+ :state,
5380
+ :schedule_type)
5355
5381
  SENSITIVE = []
5356
5382
  include Aws::Structure
5357
5383
  end
@@ -9314,6 +9340,11 @@ module Aws::CloudWatchLogs
9314
9340
  # The current state of the scheduled query.
9315
9341
  # @return [String]
9316
9342
  #
9343
+ # @!attribute [rw] schedule_type
9344
+ # The schedule type of the scheduled query. Valid values are
9345
+ # `CUSTOMER_MANAGED` and `AWS_MANAGED`.
9346
+ # @return [String]
9347
+ #
9317
9348
  # @!attribute [rw] last_triggered_time
9318
9349
  # The timestamp when the scheduled query was last executed.
9319
9350
  # @return [Integer]
@@ -9348,6 +9379,7 @@ module Aws::CloudWatchLogs
9348
9379
  :scheduled_query_arn,
9349
9380
  :name,
9350
9381
  :state,
9382
+ :schedule_type,
9351
9383
  :last_triggered_time,
9352
9384
  :last_execution_status,
9353
9385
  :schedule_expression,
@@ -9626,11 +9658,13 @@ module Aws::CloudWatchLogs
9626
9658
  # @return [String]
9627
9659
  #
9628
9660
  # @!attribute [rw] limit
9629
- # The maximum number of log events to return in the query. If the
9630
- # query string uses the `fields` command, only the specified fields
9631
- # and their values are returned. The default is 10,000.
9632
- #
9633
- # The maximum value is 100,000.
9661
+ # The maximum number of log events to return from the query. The
9662
+ # maximum limit is 100,000. The maximum events returned in a single
9663
+ # GetQueryResults API call is 10,000 log events per request. You can
9664
+ # retrieve up to 100,000 log event results from a query by paginating
9665
+ # with the `nextToken`. 100,000 limit is only supported for Logs
9666
+ # Insights QL and is currently not supported for PPL and SQL query
9667
+ # languages.
9634
9668
  # @return [Integer]
9635
9669
  #
9636
9670
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StartQueryRequest AWS API Documentation
@@ -10427,6 +10461,11 @@ module Aws::CloudWatchLogs
10427
10461
  # for the query.
10428
10462
  # @return [Integer]
10429
10463
  #
10464
+ # @!attribute [rw] end_time_offset
10465
+ # The updated time offset in seconds that defines the end of the
10466
+ # lookback period for the query.
10467
+ # @return [Integer]
10468
+ #
10430
10469
  # @!attribute [rw] destination_configuration
10431
10470
  # The updated configuration for where to deliver query results.
10432
10471
  # @return [Types::DestinationConfiguration]
@@ -10459,6 +10498,7 @@ module Aws::CloudWatchLogs
10459
10498
  :schedule_expression,
10460
10499
  :timezone,
10461
10500
  :start_time_offset,
10501
+ :end_time_offset,
10462
10502
  :destination_configuration,
10463
10503
  :schedule_start_time,
10464
10504
  :schedule_end_time,
@@ -10504,6 +10544,10 @@ module Aws::CloudWatchLogs
10504
10544
  # The time offset of the updated scheduled query.
10505
10545
  # @return [Integer]
10506
10546
  #
10547
+ # @!attribute [rw] end_time_offset
10548
+ # The end time offset in seconds of the updated scheduled query.
10549
+ # @return [Integer]
10550
+ #
10507
10551
  # @!attribute [rw] destination_configuration
10508
10552
  # The destination configuration of the updated scheduled query.
10509
10553
  # @return [Types::DestinationConfiguration]
@@ -10512,6 +10556,10 @@ module Aws::CloudWatchLogs
10512
10556
  # The state of the updated scheduled query.
10513
10557
  # @return [String]
10514
10558
  #
10559
+ # @!attribute [rw] schedule_type
10560
+ # The schedule type of the updated scheduled query.
10561
+ # @return [String]
10562
+ #
10515
10563
  # @!attribute [rw] last_triggered_time
10516
10564
  # The timestamp when the updated scheduled query was last executed.
10517
10565
  # @return [Integer]
@@ -10553,8 +10601,10 @@ module Aws::CloudWatchLogs
10553
10601
  :schedule_expression,
10554
10602
  :timezone,
10555
10603
  :start_time_offset,
10604
+ :end_time_offset,
10556
10605
  :destination_configuration,
10557
10606
  :state,
10607
+ :schedule_type,
10558
10608
  :last_triggered_time,
10559
10609
  :last_execution_status,
10560
10610
  :schedule_start_time,
@@ -55,7 +55,7 @@ module Aws::CloudWatchLogs
55
55
  autoload :Endpoints, 'aws-sdk-cloudwatchlogs/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-cloudwatchlogs/event_streams'
57
57
 
58
- GEM_VERSION = '1.154.0'
58
+ GEM_VERSION = '1.155.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -238,6 +238,7 @@ module Aws
238
238
  schedule_expression: ::String,
239
239
  ?timezone: ::String,
240
240
  ?start_time_offset: ::Integer,
241
+ ?end_time_offset: ::Integer,
241
242
  ?destination_configuration: Params::destination_configuration,
242
243
  ?schedule_start_time: ::Integer,
243
244
  ?schedule_end_time: ::Integer,
@@ -887,8 +888,10 @@ module Aws
887
888
  def schedule_expression: () -> ::String
888
889
  def timezone: () -> ::String
889
890
  def start_time_offset: () -> ::Integer
891
+ def end_time_offset: () -> ::Integer
890
892
  def destination_configuration: () -> Types::DestinationConfiguration
891
893
  def state: () -> ("ENABLED" | "DISABLED")
894
+ def schedule_type: () -> ("CUSTOMER_MANAGED" | "AWS_MANAGED")
892
895
  def last_triggered_time: () -> ::Integer
893
896
  def last_execution_status: () -> ("Running" | "InvalidQuery" | "Complete" | "Failed" | "Timeout")
894
897
  def schedule_start_time: () -> ::Integer
@@ -1047,7 +1050,8 @@ module Aws
1047
1050
  def list_scheduled_queries: (
1048
1051
  ?max_results: ::Integer,
1049
1052
  ?next_token: ::String,
1050
- ?state: ("ENABLED" | "DISABLED")
1053
+ ?state: ("ENABLED" | "DISABLED"),
1054
+ ?schedule_type: ("CUSTOMER_MANAGED" | "AWS_MANAGED")
1051
1055
  ) -> _ListScheduledQueriesResponseSuccess
1052
1056
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScheduledQueriesResponseSuccess
1053
1057
 
@@ -1486,8 +1490,10 @@ module Aws
1486
1490
  def schedule_expression: () -> ::String
1487
1491
  def timezone: () -> ::String
1488
1492
  def start_time_offset: () -> ::Integer
1493
+ def end_time_offset: () -> ::Integer
1489
1494
  def destination_configuration: () -> Types::DestinationConfiguration
1490
1495
  def state: () -> ("ENABLED" | "DISABLED")
1496
+ def schedule_type: () -> ("CUSTOMER_MANAGED" | "AWS_MANAGED")
1491
1497
  def last_triggered_time: () -> ::Integer
1492
1498
  def last_execution_status: () -> ("Running" | "InvalidQuery" | "Complete" | "Failed" | "Timeout")
1493
1499
  def schedule_start_time: () -> ::Integer
@@ -1506,6 +1512,7 @@ module Aws
1506
1512
  schedule_expression: ::String,
1507
1513
  ?timezone: ::String,
1508
1514
  ?start_time_offset: ::Integer,
1515
+ ?end_time_offset: ::Integer,
1509
1516
  ?destination_configuration: Params::destination_configuration,
1510
1517
  ?schedule_start_time: ::Integer,
1511
1518
  ?schedule_end_time: ::Integer,
data/sig/types.rbs CHANGED
@@ -261,6 +261,7 @@ module Aws::CloudWatchLogs
261
261
  attr_accessor schedule_expression: ::String
262
262
  attr_accessor timezone: ::String
263
263
  attr_accessor start_time_offset: ::Integer
264
+ attr_accessor end_time_offset: ::Integer
264
265
  attr_accessor destination_configuration: Types::DestinationConfiguration
265
266
  attr_accessor schedule_start_time: ::Integer
266
267
  attr_accessor schedule_end_time: ::Integer
@@ -1073,8 +1074,10 @@ module Aws::CloudWatchLogs
1073
1074
  attr_accessor schedule_expression: ::String
1074
1075
  attr_accessor timezone: ::String
1075
1076
  attr_accessor start_time_offset: ::Integer
1077
+ attr_accessor end_time_offset: ::Integer
1076
1078
  attr_accessor destination_configuration: Types::DestinationConfiguration
1077
1079
  attr_accessor state: ("ENABLED" | "DISABLED")
1080
+ attr_accessor schedule_type: ("CUSTOMER_MANAGED" | "AWS_MANAGED")
1078
1081
  attr_accessor last_triggered_time: ::Integer
1079
1082
  attr_accessor last_execution_status: ("Running" | "InvalidQuery" | "Complete" | "Failed" | "Timeout")
1080
1083
  attr_accessor schedule_start_time: ::Integer
@@ -1290,6 +1293,7 @@ module Aws::CloudWatchLogs
1290
1293
  attr_accessor max_results: ::Integer
1291
1294
  attr_accessor next_token: ::String
1292
1295
  attr_accessor state: ("ENABLED" | "DISABLED")
1296
+ attr_accessor schedule_type: ("CUSTOMER_MANAGED" | "AWS_MANAGED")
1293
1297
  SENSITIVE: []
1294
1298
  end
1295
1299
 
@@ -2040,6 +2044,7 @@ module Aws::CloudWatchLogs
2040
2044
  attr_accessor scheduled_query_arn: ::String
2041
2045
  attr_accessor name: ::String
2042
2046
  attr_accessor state: ("ENABLED" | "DISABLED")
2047
+ attr_accessor schedule_type: ("CUSTOMER_MANAGED" | "AWS_MANAGED")
2043
2048
  attr_accessor last_triggered_time: ::Integer
2044
2049
  attr_accessor last_execution_status: ("Running" | "InvalidQuery" | "Complete" | "Failed" | "Timeout")
2045
2050
  attr_accessor schedule_expression: ::String
@@ -2306,6 +2311,7 @@ module Aws::CloudWatchLogs
2306
2311
  attr_accessor schedule_expression: ::String
2307
2312
  attr_accessor timezone: ::String
2308
2313
  attr_accessor start_time_offset: ::Integer
2314
+ attr_accessor end_time_offset: ::Integer
2309
2315
  attr_accessor destination_configuration: Types::DestinationConfiguration
2310
2316
  attr_accessor schedule_start_time: ::Integer
2311
2317
  attr_accessor schedule_end_time: ::Integer
@@ -2324,8 +2330,10 @@ module Aws::CloudWatchLogs
2324
2330
  attr_accessor schedule_expression: ::String
2325
2331
  attr_accessor timezone: ::String
2326
2332
  attr_accessor start_time_offset: ::Integer
2333
+ attr_accessor end_time_offset: ::Integer
2327
2334
  attr_accessor destination_configuration: Types::DestinationConfiguration
2328
2335
  attr_accessor state: ("ENABLED" | "DISABLED")
2336
+ attr_accessor schedule_type: ("CUSTOMER_MANAGED" | "AWS_MANAGED")
2329
2337
  attr_accessor last_triggered_time: ::Integer
2330
2338
  attr_accessor last_execution_status: ("Running" | "InvalidQuery" | "Complete" | "Failed" | "Timeout")
2331
2339
  attr_accessor schedule_start_time: ::Integer
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.154.0
4
+ version: 1.155.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services