aws-sdk-cloudwatchlogs 1.140.0 → 1.141.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +40 -5
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +16 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +72 -6
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +14 -3
- data/sig/types.rbs +11 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e8a10a5c4d8f895f5f19f8f593dc6bbee2a37ca4ca53ba0772e8ea2edff0d17
|
|
4
|
+
data.tar.gz: 9ae34f8edf5d58641ce1a1c1cc65507312651891e4ab8258237c07fe1b044111
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 847fa5d00d0ffa8ba5ccb9e03cf5da5de91a86ac6eb4f747d76786d651254191b50862d94f9ca7cb6844e6c856adca7793531340b41b2a059f1b0185fa495c23
|
|
7
|
+
data.tar.gz: 69f539032626e620974e406ba14f6d39922341729d02753d61bd0838ad9a611ace8ea871644d242be58cd7fdbb9483b66210cc6a601e8434f78b8eb2548af0d0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.141.0 (2026-03-26)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds parameter support to saved queries in CloudWatch Logs Insights. Define reusable query templates with named placeholders, invoke them using start query. Available in Console, CLI and SDK
|
|
8
|
+
|
|
4
9
|
1.140.0 (2026-03-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.141.0
|
|
@@ -1364,7 +1364,7 @@ module Aws::CloudWatchLogs
|
|
|
1364
1364
|
#
|
|
1365
1365
|
# @option params [required, String] :query_language
|
|
1366
1366
|
# The query language to use for the scheduled query. Valid values are
|
|
1367
|
-
# `
|
|
1367
|
+
# `CWLI`, `PPL`, and `SQL`.
|
|
1368
1368
|
#
|
|
1369
1369
|
# @option params [required, String] :query_string
|
|
1370
1370
|
# The query string to execute. This is the same query syntax used in
|
|
@@ -1434,6 +1434,8 @@ module Aws::CloudWatchLogs
|
|
|
1434
1434
|
# s3_configuration: { # required
|
|
1435
1435
|
# destination_identifier: "S3Uri", # required
|
|
1436
1436
|
# role_arn: "RoleArn", # required
|
|
1437
|
+
# owner_account_id: "AccountId",
|
|
1438
|
+
# kms_key_id: "KmsKeyId",
|
|
1437
1439
|
# },
|
|
1438
1440
|
# },
|
|
1439
1441
|
# schedule_start_time: 1,
|
|
@@ -3187,6 +3189,10 @@ module Aws::CloudWatchLogs
|
|
|
3187
3189
|
# resp.query_definitions[0].last_modified #=> Integer
|
|
3188
3190
|
# resp.query_definitions[0].log_group_names #=> Array
|
|
3189
3191
|
# resp.query_definitions[0].log_group_names[0] #=> String
|
|
3192
|
+
# resp.query_definitions[0].parameters #=> Array
|
|
3193
|
+
# resp.query_definitions[0].parameters[0].name #=> String
|
|
3194
|
+
# resp.query_definitions[0].parameters[0].default_value #=> String
|
|
3195
|
+
# resp.query_definitions[0].parameters[0].description #=> String
|
|
3190
3196
|
# resp.next_token #=> String
|
|
3191
3197
|
#
|
|
3192
3198
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeQueryDefinitions AWS API Documentation
|
|
@@ -4541,6 +4547,8 @@ module Aws::CloudWatchLogs
|
|
|
4541
4547
|
# resp.start_time_offset #=> Integer
|
|
4542
4548
|
# resp.destination_configuration.s3_configuration.destination_identifier #=> String
|
|
4543
4549
|
# resp.destination_configuration.s3_configuration.role_arn #=> String
|
|
4550
|
+
# resp.destination_configuration.s3_configuration.owner_account_id #=> String
|
|
4551
|
+
# resp.destination_configuration.s3_configuration.kms_key_id #=> String
|
|
4544
4552
|
# resp.state #=> String, one of "ENABLED", "DISABLED"
|
|
4545
4553
|
# resp.last_triggered_time #=> Integer
|
|
4546
4554
|
# resp.last_execution_status #=> String, one of "Running", "InvalidQuery", "Complete", "Failed", "Timeout"
|
|
@@ -5269,6 +5277,8 @@ module Aws::CloudWatchLogs
|
|
|
5269
5277
|
# resp.scheduled_queries[0].timezone #=> String
|
|
5270
5278
|
# resp.scheduled_queries[0].destination_configuration.s3_configuration.destination_identifier #=> String
|
|
5271
5279
|
# resp.scheduled_queries[0].destination_configuration.s3_configuration.role_arn #=> String
|
|
5280
|
+
# resp.scheduled_queries[0].destination_configuration.s3_configuration.owner_account_id #=> String
|
|
5281
|
+
# resp.scheduled_queries[0].destination_configuration.s3_configuration.kms_key_id #=> String
|
|
5272
5282
|
# resp.scheduled_queries[0].creation_time #=> Integer
|
|
5273
5283
|
# resp.scheduled_queries[0].last_updated_time #=> Integer
|
|
5274
5284
|
#
|
|
@@ -6401,6 +6411,9 @@ module Aws::CloudWatchLogs
|
|
|
6401
6411
|
# * For Amazon Bedrock AgentCore Identity, the valid values are
|
|
6402
6412
|
# `APPLICATION_LOGS` and `TRACES`.
|
|
6403
6413
|
#
|
|
6414
|
+
# * For Amazon Bedrock AgentCore Memory, the valid values are
|
|
6415
|
+
# `APPLICATION_LOGS` and `TRACES`.
|
|
6416
|
+
#
|
|
6404
6417
|
# * For Amazon Bedrock AgentCore Gateway, the valid values are
|
|
6405
6418
|
# `APPLICATION_LOGS` and `TRACES`.
|
|
6406
6419
|
#
|
|
@@ -6415,6 +6428,10 @@ module Aws::CloudWatchLogs
|
|
|
6415
6428
|
# `AD_DECISION_SERVER_LOGS`, `MANIFEST_SERVICE_LOGS`, and
|
|
6416
6429
|
# `TRANSCODE_LOGS`.
|
|
6417
6430
|
#
|
|
6431
|
+
# * For Amazon EKS Auto Mode, the valid values are
|
|
6432
|
+
# `AUTO_MODE_BLOCK_STORAGE_LOGS`, `AUTO_MODE_COMPUTE_LOGS`,
|
|
6433
|
+
# `AUTO_MODE_IPAM_LOGS`, and `AUTO_MODE_LOAD_BALANCING_LOGS`.
|
|
6434
|
+
#
|
|
6418
6435
|
# * For Entity Resolution, the valid value is `WORKFLOW_LOGS`.
|
|
6419
6436
|
#
|
|
6420
6437
|
# * For IAM Identity Center, the valid value is `ERROR_LOGS`.
|
|
@@ -6427,8 +6444,7 @@ module Aws::CloudWatchLogs
|
|
|
6427
6444
|
# * For PCS, the valid values are `PCS_SCHEDULER_LOGS` and
|
|
6428
6445
|
# `PCS_JOBCOMP_LOGS`.
|
|
6429
6446
|
#
|
|
6430
|
-
# * For Quick
|
|
6431
|
-
# `FEEDBACK_LOGS`.
|
|
6447
|
+
# * For Quick, the valid values are `CHAT_LOGS` and `FEEDBACK_LOGS`.
|
|
6432
6448
|
#
|
|
6433
6449
|
# * For Amazon Web Services RTB Fabric, the valid values is
|
|
6434
6450
|
# `APPLICATION_LOGS`.
|
|
@@ -7170,6 +7186,14 @@ module Aws::CloudWatchLogs
|
|
|
7170
7186
|
# **A suitable default value is auto-generated.** You should normally
|
|
7171
7187
|
# not need to pass this option.**
|
|
7172
7188
|
#
|
|
7189
|
+
# @option params [Array<Types::QueryParameter>] :parameters
|
|
7190
|
+
# Use this parameter to include specific query parameters as part of
|
|
7191
|
+
# your query definition. Query parameters are supported only for Logs
|
|
7192
|
+
# Insights QL queries. Query parameters allow you to use placeholder
|
|
7193
|
+
# variables in your query string that are substituted with values at
|
|
7194
|
+
# execution time. Use the `{{parameterName}}` syntax in your query
|
|
7195
|
+
# string to reference a parameter.
|
|
7196
|
+
#
|
|
7173
7197
|
# @return [Types::PutQueryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7174
7198
|
#
|
|
7175
7199
|
# * {Types::PutQueryDefinitionResponse#query_definition_id #query_definition_id} => String
|
|
@@ -7183,6 +7207,13 @@ module Aws::CloudWatchLogs
|
|
|
7183
7207
|
# log_group_names: ["LogGroupName"],
|
|
7184
7208
|
# query_string: "QueryDefinitionString", # required
|
|
7185
7209
|
# client_token: "ClientToken",
|
|
7210
|
+
# parameters: [
|
|
7211
|
+
# {
|
|
7212
|
+
# name: "QueryParameterName", # required
|
|
7213
|
+
# default_value: "QueryParameterDefaultValue",
|
|
7214
|
+
# description: "QueryParameterDescription",
|
|
7215
|
+
# },
|
|
7216
|
+
# ],
|
|
7186
7217
|
# })
|
|
7187
7218
|
#
|
|
7188
7219
|
# @example Response structure
|
|
@@ -8067,7 +8098,7 @@ module Aws::CloudWatchLogs
|
|
|
8067
8098
|
# observability][5]. For a cross-account `StartQuery` operation, the
|
|
8068
8099
|
# query definition must be defined in the monitoring account.
|
|
8069
8100
|
#
|
|
8070
|
-
# You can have up to
|
|
8101
|
+
# You can have up to 100 concurrent CloudWatch Logs insights queries,
|
|
8071
8102
|
# including queries that have been added to dashboards.
|
|
8072
8103
|
#
|
|
8073
8104
|
#
|
|
@@ -8889,6 +8920,8 @@ module Aws::CloudWatchLogs
|
|
|
8889
8920
|
# s3_configuration: { # required
|
|
8890
8921
|
# destination_identifier: "S3Uri", # required
|
|
8891
8922
|
# role_arn: "RoleArn", # required
|
|
8923
|
+
# owner_account_id: "AccountId",
|
|
8924
|
+
# kms_key_id: "KmsKeyId",
|
|
8892
8925
|
# },
|
|
8893
8926
|
# },
|
|
8894
8927
|
# schedule_start_time: 1,
|
|
@@ -8911,6 +8944,8 @@ module Aws::CloudWatchLogs
|
|
|
8911
8944
|
# resp.start_time_offset #=> Integer
|
|
8912
8945
|
# resp.destination_configuration.s3_configuration.destination_identifier #=> String
|
|
8913
8946
|
# resp.destination_configuration.s3_configuration.role_arn #=> String
|
|
8947
|
+
# resp.destination_configuration.s3_configuration.owner_account_id #=> String
|
|
8948
|
+
# resp.destination_configuration.s3_configuration.kms_key_id #=> String
|
|
8914
8949
|
# resp.state #=> String, one of "ENABLED", "DISABLED"
|
|
8915
8950
|
# resp.last_triggered_time #=> Integer
|
|
8916
8951
|
# resp.last_execution_status #=> String, one of "Running", "InvalidQuery", "Complete", "Failed", "Timeout"
|
|
@@ -8947,7 +8982,7 @@ module Aws::CloudWatchLogs
|
|
|
8947
8982
|
tracer: tracer
|
|
8948
8983
|
)
|
|
8949
8984
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
|
8950
|
-
context[:gem_version] = '1.
|
|
8985
|
+
context[:gem_version] = '1.141.0'
|
|
8951
8986
|
Seahorse::Client::Request.new(handlers, context)
|
|
8952
8987
|
end
|
|
8953
8988
|
|
|
@@ -505,6 +505,11 @@ module Aws::CloudWatchLogs
|
|
|
505
505
|
QueryInfoList = Shapes::ListShape.new(name: 'QueryInfoList')
|
|
506
506
|
QueryLanguage = Shapes::StringShape.new(name: 'QueryLanguage')
|
|
507
507
|
QueryListMaxResults = Shapes::IntegerShape.new(name: 'QueryListMaxResults')
|
|
508
|
+
QueryParameter = Shapes::StructureShape.new(name: 'QueryParameter')
|
|
509
|
+
QueryParameterDefaultValue = Shapes::StringShape.new(name: 'QueryParameterDefaultValue')
|
|
510
|
+
QueryParameterDescription = Shapes::StringShape.new(name: 'QueryParameterDescription')
|
|
511
|
+
QueryParameterList = Shapes::ListShape.new(name: 'QueryParameterList')
|
|
512
|
+
QueryParameterName = Shapes::StringShape.new(name: 'QueryParameterName')
|
|
508
513
|
QueryResults = Shapes::ListShape.new(name: 'QueryResults')
|
|
509
514
|
QueryStatistics = Shapes::StructureShape.new(name: 'QueryStatistics')
|
|
510
515
|
QueryStatus = Shapes::StringShape.new(name: 'QueryStatus')
|
|
@@ -2040,6 +2045,7 @@ module Aws::CloudWatchLogs
|
|
|
2040
2045
|
PutQueryDefinitionRequest.add_member(:log_group_names, Shapes::ShapeRef.new(shape: LogGroupNames, location_name: "logGroupNames"))
|
|
2041
2046
|
PutQueryDefinitionRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryDefinitionString, required: true, location_name: "queryString"))
|
|
2042
2047
|
PutQueryDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
2048
|
+
PutQueryDefinitionRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: QueryParameterList, location_name: "parameters"))
|
|
2043
2049
|
PutQueryDefinitionRequest.struct_class = Types::PutQueryDefinitionRequest
|
|
2044
2050
|
|
|
2045
2051
|
PutQueryDefinitionResponse.add_member(:query_definition_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "queryDefinitionId"))
|
|
@@ -2088,6 +2094,7 @@ module Aws::CloudWatchLogs
|
|
|
2088
2094
|
QueryDefinition.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryDefinitionString, location_name: "queryString"))
|
|
2089
2095
|
QueryDefinition.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModified"))
|
|
2090
2096
|
QueryDefinition.add_member(:log_group_names, Shapes::ShapeRef.new(shape: LogGroupNames, location_name: "logGroupNames"))
|
|
2097
|
+
QueryDefinition.add_member(:parameters, Shapes::ShapeRef.new(shape: QueryParameterList, location_name: "parameters"))
|
|
2091
2098
|
QueryDefinition.struct_class = Types::QueryDefinition
|
|
2092
2099
|
|
|
2093
2100
|
QueryDefinitionList.member = Shapes::ShapeRef.new(shape: QueryDefinition)
|
|
@@ -2102,6 +2109,13 @@ module Aws::CloudWatchLogs
|
|
|
2102
2109
|
|
|
2103
2110
|
QueryInfoList.member = Shapes::ShapeRef.new(shape: QueryInfo)
|
|
2104
2111
|
|
|
2112
|
+
QueryParameter.add_member(:name, Shapes::ShapeRef.new(shape: QueryParameterName, required: true, location_name: "name"))
|
|
2113
|
+
QueryParameter.add_member(:default_value, Shapes::ShapeRef.new(shape: QueryParameterDefaultValue, location_name: "defaultValue"))
|
|
2114
|
+
QueryParameter.add_member(:description, Shapes::ShapeRef.new(shape: QueryParameterDescription, location_name: "description"))
|
|
2115
|
+
QueryParameter.struct_class = Types::QueryParameter
|
|
2116
|
+
|
|
2117
|
+
QueryParameterList.member = Shapes::ShapeRef.new(shape: QueryParameter)
|
|
2118
|
+
|
|
2105
2119
|
QueryResults.member = Shapes::ShapeRef.new(shape: ResultRows)
|
|
2106
2120
|
|
|
2107
2121
|
QueryStatistics.add_member(:records_matched, Shapes::ShapeRef.new(shape: StatsValue, location_name: "recordsMatched"))
|
|
@@ -2168,6 +2182,8 @@ module Aws::CloudWatchLogs
|
|
|
2168
2182
|
|
|
2169
2183
|
S3Configuration.add_member(:destination_identifier, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "destinationIdentifier"))
|
|
2170
2184
|
S3Configuration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
|
2185
|
+
S3Configuration.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "ownerAccountId"))
|
|
2186
|
+
S3Configuration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
2171
2187
|
S3Configuration.struct_class = Types::S3Configuration
|
|
2172
2188
|
|
|
2173
2189
|
S3DeliveryConfiguration.add_member(:suffix_path, Shapes::ShapeRef.new(shape: DeliverySuffixPath, location_name: "suffixPath"))
|
|
@@ -1133,7 +1133,7 @@ module Aws::CloudWatchLogs
|
|
|
1133
1133
|
#
|
|
1134
1134
|
# @!attribute [rw] query_language
|
|
1135
1135
|
# The query language to use for the scheduled query. Valid values are
|
|
1136
|
-
# `
|
|
1136
|
+
# `CWLI`, `PPL`, and `SQL`.
|
|
1137
1137
|
# @return [String]
|
|
1138
1138
|
#
|
|
1139
1139
|
# @!attribute [rw] query_string
|
|
@@ -7507,6 +7507,9 @@ module Aws::CloudWatchLogs
|
|
|
7507
7507
|
# * For Amazon Bedrock AgentCore Identity, the valid values are
|
|
7508
7508
|
# `APPLICATION_LOGS` and `TRACES`.
|
|
7509
7509
|
#
|
|
7510
|
+
# * For Amazon Bedrock AgentCore Memory, the valid values are
|
|
7511
|
+
# `APPLICATION_LOGS` and `TRACES`.
|
|
7512
|
+
#
|
|
7510
7513
|
# * For Amazon Bedrock AgentCore Gateway, the valid values are
|
|
7511
7514
|
# `APPLICATION_LOGS` and `TRACES`.
|
|
7512
7515
|
#
|
|
@@ -7521,6 +7524,10 @@ module Aws::CloudWatchLogs
|
|
|
7521
7524
|
# `AD_DECISION_SERVER_LOGS`, `MANIFEST_SERVICE_LOGS`, and
|
|
7522
7525
|
# `TRANSCODE_LOGS`.
|
|
7523
7526
|
#
|
|
7527
|
+
# * For Amazon EKS Auto Mode, the valid values are
|
|
7528
|
+
# `AUTO_MODE_BLOCK_STORAGE_LOGS`, `AUTO_MODE_COMPUTE_LOGS`,
|
|
7529
|
+
# `AUTO_MODE_IPAM_LOGS`, and `AUTO_MODE_LOAD_BALANCING_LOGS`.
|
|
7530
|
+
#
|
|
7524
7531
|
# * For Entity Resolution, the valid value is `WORKFLOW_LOGS`.
|
|
7525
7532
|
#
|
|
7526
7533
|
# * For IAM Identity Center, the valid value is `ERROR_LOGS`.
|
|
@@ -7533,8 +7540,7 @@ module Aws::CloudWatchLogs
|
|
|
7533
7540
|
# * For PCS, the valid values are `PCS_SCHEDULER_LOGS` and
|
|
7534
7541
|
# `PCS_JOBCOMP_LOGS`.
|
|
7535
7542
|
#
|
|
7536
|
-
# * For Quick
|
|
7537
|
-
# `FEEDBACK_LOGS`.
|
|
7543
|
+
# * For Quick, the valid values are `CHAT_LOGS` and `FEEDBACK_LOGS`.
|
|
7538
7544
|
#
|
|
7539
7545
|
# * For Amazon Web Services RTB Fabric, the valid values is
|
|
7540
7546
|
# `APPLICATION_LOGS`.
|
|
@@ -8003,6 +8009,15 @@ module Aws::CloudWatchLogs
|
|
|
8003
8009
|
# not need to pass this option.
|
|
8004
8010
|
# @return [String]
|
|
8005
8011
|
#
|
|
8012
|
+
# @!attribute [rw] parameters
|
|
8013
|
+
# Use this parameter to include specific query parameters as part of
|
|
8014
|
+
# your query definition. Query parameters are supported only for Logs
|
|
8015
|
+
# Insights QL queries. Query parameters allow you to use placeholder
|
|
8016
|
+
# variables in your query string that are substituted with values at
|
|
8017
|
+
# execution time. Use the `{{parameterName}}` syntax in your query
|
|
8018
|
+
# string to reference a parameter.
|
|
8019
|
+
# @return [Array<Types::QueryParameter>]
|
|
8020
|
+
#
|
|
8006
8021
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutQueryDefinitionRequest AWS API Documentation
|
|
8007
8022
|
#
|
|
8008
8023
|
class PutQueryDefinitionRequest < Struct.new(
|
|
@@ -8011,7 +8026,8 @@ module Aws::CloudWatchLogs
|
|
|
8011
8026
|
:query_definition_id,
|
|
8012
8027
|
:log_group_names,
|
|
8013
8028
|
:query_string,
|
|
8014
|
-
:client_token
|
|
8029
|
+
:client_token,
|
|
8030
|
+
:parameters)
|
|
8015
8031
|
SENSITIVE = []
|
|
8016
8032
|
include Aws::Structure
|
|
8017
8033
|
end
|
|
@@ -8337,6 +8353,12 @@ module Aws::CloudWatchLogs
|
|
|
8337
8353
|
# limited to, that list appears here.
|
|
8338
8354
|
# @return [Array<String>]
|
|
8339
8355
|
#
|
|
8356
|
+
# @!attribute [rw] parameters
|
|
8357
|
+
# If this query definition contains a list of query parameters that
|
|
8358
|
+
# define placeholder variables for the query string, that list appears
|
|
8359
|
+
# here.
|
|
8360
|
+
# @return [Array<Types::QueryParameter>]
|
|
8361
|
+
#
|
|
8340
8362
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/QueryDefinition AWS API Documentation
|
|
8341
8363
|
#
|
|
8342
8364
|
class QueryDefinition < Struct.new(
|
|
@@ -8345,7 +8367,8 @@ module Aws::CloudWatchLogs
|
|
|
8345
8367
|
:name,
|
|
8346
8368
|
:query_string,
|
|
8347
8369
|
:last_modified,
|
|
8348
|
-
:log_group_names
|
|
8370
|
+
:log_group_names,
|
|
8371
|
+
:parameters)
|
|
8349
8372
|
SENSITIVE = []
|
|
8350
8373
|
include Aws::Structure
|
|
8351
8374
|
end
|
|
@@ -8397,6 +8420,38 @@ module Aws::CloudWatchLogs
|
|
|
8397
8420
|
include Aws::Structure
|
|
8398
8421
|
end
|
|
8399
8422
|
|
|
8423
|
+
# This structure defines a query parameter for a saved CloudWatch Logs
|
|
8424
|
+
# Insights query definition. Query parameters are supported only for
|
|
8425
|
+
# Logs Insights QL queries. They are placeholder variables that you can
|
|
8426
|
+
# reference in a query string using the `{{parameterName}}` syntax. Each
|
|
8427
|
+
# parameter can include a default value and a description.
|
|
8428
|
+
#
|
|
8429
|
+
# @!attribute [rw] name
|
|
8430
|
+
# The name of the query parameter. A query parameter name must start
|
|
8431
|
+
# with a letter or underscore, and contain only letters, digits, and
|
|
8432
|
+
# underscores.
|
|
8433
|
+
# @return [String]
|
|
8434
|
+
#
|
|
8435
|
+
# @!attribute [rw] default_value
|
|
8436
|
+
# The default value to use for this query parameter if no value is
|
|
8437
|
+
# supplied at execution time.
|
|
8438
|
+
# @return [String]
|
|
8439
|
+
#
|
|
8440
|
+
# @!attribute [rw] description
|
|
8441
|
+
# A description of the query parameter that explains its purpose or
|
|
8442
|
+
# expected values.
|
|
8443
|
+
# @return [String]
|
|
8444
|
+
#
|
|
8445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/QueryParameter AWS API Documentation
|
|
8446
|
+
#
|
|
8447
|
+
class QueryParameter < Struct.new(
|
|
8448
|
+
:name,
|
|
8449
|
+
:default_value,
|
|
8450
|
+
:description)
|
|
8451
|
+
SENSITIVE = []
|
|
8452
|
+
include Aws::Structure
|
|
8453
|
+
end
|
|
8454
|
+
|
|
8400
8455
|
# Contains the number of log events scanned by the query, the number of
|
|
8401
8456
|
# log events that matched the query criteria, and the total number of
|
|
8402
8457
|
# bytes in the log events that were scanned.
|
|
@@ -8712,11 +8767,22 @@ module Aws::CloudWatchLogs
|
|
|
8712
8767
|
# results to the specified Amazon S3 destination.
|
|
8713
8768
|
# @return [String]
|
|
8714
8769
|
#
|
|
8770
|
+
# @!attribute [rw] owner_account_id
|
|
8771
|
+
# The AWS accountId for the bucket owning account.
|
|
8772
|
+
# @return [String]
|
|
8773
|
+
#
|
|
8774
|
+
# @!attribute [rw] kms_key_id
|
|
8775
|
+
# The Amazon Resource Name (ARN) of the KMS encryption key. Must
|
|
8776
|
+
# belong to the same AWS Region as the destination Amazon S3 bucket.
|
|
8777
|
+
# @return [String]
|
|
8778
|
+
#
|
|
8715
8779
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/S3Configuration AWS API Documentation
|
|
8716
8780
|
#
|
|
8717
8781
|
class S3Configuration < Struct.new(
|
|
8718
8782
|
:destination_identifier,
|
|
8719
|
-
:role_arn
|
|
8783
|
+
:role_arn,
|
|
8784
|
+
:owner_account_id,
|
|
8785
|
+
:kms_key_id)
|
|
8720
8786
|
SENSITIVE = []
|
|
8721
8787
|
include Aws::Structure
|
|
8722
8788
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -226,7 +226,9 @@ module Aws
|
|
|
226
226
|
?destination_configuration: {
|
|
227
227
|
s3_configuration: {
|
|
228
228
|
destination_identifier: ::String,
|
|
229
|
-
role_arn: ::String
|
|
229
|
+
role_arn: ::String,
|
|
230
|
+
owner_account_id: ::String?,
|
|
231
|
+
kms_key_id: ::String?
|
|
230
232
|
}
|
|
231
233
|
},
|
|
232
234
|
?schedule_start_time: ::Integer,
|
|
@@ -1220,7 +1222,14 @@ module Aws
|
|
|
1220
1222
|
?query_definition_id: ::String,
|
|
1221
1223
|
?log_group_names: Array[::String],
|
|
1222
1224
|
query_string: ::String,
|
|
1223
|
-
?client_token: ::String
|
|
1225
|
+
?client_token: ::String,
|
|
1226
|
+
?parameters: Array[
|
|
1227
|
+
{
|
|
1228
|
+
name: ::String,
|
|
1229
|
+
default_value: ::String?,
|
|
1230
|
+
description: ::String?
|
|
1231
|
+
},
|
|
1232
|
+
]
|
|
1224
1233
|
) -> _PutQueryDefinitionResponseSuccess
|
|
1225
1234
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutQueryDefinitionResponseSuccess
|
|
1226
1235
|
|
|
@@ -1703,7 +1712,9 @@ module Aws
|
|
|
1703
1712
|
?destination_configuration: {
|
|
1704
1713
|
s3_configuration: {
|
|
1705
1714
|
destination_identifier: ::String,
|
|
1706
|
-
role_arn: ::String
|
|
1715
|
+
role_arn: ::String,
|
|
1716
|
+
owner_account_id: ::String?,
|
|
1717
|
+
kms_key_id: ::String?
|
|
1707
1718
|
}
|
|
1708
1719
|
},
|
|
1709
1720
|
?schedule_start_time: ::Integer,
|
data/sig/types.rbs
CHANGED
|
@@ -1751,6 +1751,7 @@ module Aws::CloudWatchLogs
|
|
|
1751
1751
|
attr_accessor log_group_names: ::Array[::String]
|
|
1752
1752
|
attr_accessor query_string: ::String
|
|
1753
1753
|
attr_accessor client_token: ::String
|
|
1754
|
+
attr_accessor parameters: ::Array[Types::QueryParameter]
|
|
1754
1755
|
SENSITIVE: []
|
|
1755
1756
|
end
|
|
1756
1757
|
|
|
@@ -1817,6 +1818,7 @@ module Aws::CloudWatchLogs
|
|
|
1817
1818
|
attr_accessor query_string: ::String
|
|
1818
1819
|
attr_accessor last_modified: ::Integer
|
|
1819
1820
|
attr_accessor log_group_names: ::Array[::String]
|
|
1821
|
+
attr_accessor parameters: ::Array[Types::QueryParameter]
|
|
1820
1822
|
SENSITIVE: []
|
|
1821
1823
|
end
|
|
1822
1824
|
|
|
@@ -1830,6 +1832,13 @@ module Aws::CloudWatchLogs
|
|
|
1830
1832
|
SENSITIVE: []
|
|
1831
1833
|
end
|
|
1832
1834
|
|
|
1835
|
+
class QueryParameter
|
|
1836
|
+
attr_accessor name: ::String
|
|
1837
|
+
attr_accessor default_value: ::String
|
|
1838
|
+
attr_accessor description: ::String
|
|
1839
|
+
SENSITIVE: []
|
|
1840
|
+
end
|
|
1841
|
+
|
|
1833
1842
|
class QueryStatistics
|
|
1834
1843
|
attr_accessor records_matched: ::Float
|
|
1835
1844
|
attr_accessor records_scanned: ::Float
|
|
@@ -1906,6 +1915,8 @@ module Aws::CloudWatchLogs
|
|
|
1906
1915
|
class S3Configuration
|
|
1907
1916
|
attr_accessor destination_identifier: ::String
|
|
1908
1917
|
attr_accessor role_arn: ::String
|
|
1918
|
+
attr_accessor owner_account_id: ::String
|
|
1919
|
+
attr_accessor kms_key_id: ::String
|
|
1909
1920
|
SENSITIVE: []
|
|
1910
1921
|
end
|
|
1911
1922
|
|