aws-sdk-cloudwatchlogs 1.143.0 → 1.144.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 +11 -1
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +6 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +24 -1
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/types.rbs +3 -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: 717c490242d54b15ec2fd19af5ea9a2aa10a723620f4dda5ee7bd7515fd2cd53
|
|
4
|
+
data.tar.gz: 40647896a37de56ebea724fb1081da16f6dffc9c4ea8204997245820eb81c6dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e260f0a7e8a361406031125d66de234d19d7223ba44061a32a5741ba8ca498b0717d50ed3b8e895278ed8bfc7b1a656597d97a0dc3f097c66f0a95fa294d1124
|
|
7
|
+
data.tar.gz: ae2ff8c4431869727e23c83936cb0857b7beb09d94e6c4e2f863420f3b4e975b0e1f197a8bb7c64e243d0c543fb4c98b749e4cf9d7bc98d244ef884ff36e84a4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.144.0 (2026-04-03)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added queryDuration, bytesScanned, and userIdentity fields to the QueryInfo response object returned by DescribeQueries. Customers can now view detailed query cost information including who ran the query, how long it took, and the volume of data scanned.
|
|
8
|
+
|
|
4
9
|
1.143.0 (2026-04-02)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.144.0
|
|
@@ -3267,6 +3267,9 @@ module Aws::CloudWatchLogs
|
|
|
3267
3267
|
# resp.queries[0].status #=> String, one of "Scheduled", "Running", "Complete", "Failed", "Cancelled", "Timeout", "Unknown"
|
|
3268
3268
|
# resp.queries[0].create_time #=> Integer
|
|
3269
3269
|
# resp.queries[0].log_group_name #=> String
|
|
3270
|
+
# resp.queries[0].query_duration #=> Integer
|
|
3271
|
+
# resp.queries[0].bytes_scanned #=> Float
|
|
3272
|
+
# resp.queries[0].user_identity #=> String
|
|
3270
3273
|
# resp.next_token #=> String
|
|
3271
3274
|
#
|
|
3272
3275
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeQueries AWS API Documentation
|
|
@@ -6577,6 +6580,10 @@ module Aws::CloudWatchLogs
|
|
|
6577
6580
|
# sending logs. For example,
|
|
6578
6581
|
# `arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234`
|
|
6579
6582
|
#
|
|
6583
|
+
# For the `SECURITY_FINDING_LOGS` logType, use a wildcard ARN for the
|
|
6584
|
+
# hub resource. For example,
|
|
6585
|
+
# `arn:aws:securityhub:us-east-1:111122223333:hub/*`
|
|
6586
|
+
#
|
|
6580
6587
|
# @option params [required, String] :log_type
|
|
6581
6588
|
# Defines the type of log that the source is sending.
|
|
6582
6589
|
#
|
|
@@ -6637,6 +6644,9 @@ module Aws::CloudWatchLogs
|
|
|
6637
6644
|
#
|
|
6638
6645
|
# * For Amazon Q, the valid values are `EVENT_LOGS` and `SYNC_JOB_LOGS`.
|
|
6639
6646
|
#
|
|
6647
|
+
# * For Amazon Web Services Security Hub CSPM, the valid value is
|
|
6648
|
+
# `SECURITY_FINDING_LOGS`.
|
|
6649
|
+
#
|
|
6640
6650
|
# * For Amazon SES mail manager, the valid values are `APPLICATION_LOGS`
|
|
6641
6651
|
# and `TRAFFIC_POLICY_DEBUG_LOGS`.
|
|
6642
6652
|
#
|
|
@@ -9222,7 +9232,7 @@ module Aws::CloudWatchLogs
|
|
|
9222
9232
|
tracer: tracer
|
|
9223
9233
|
)
|
|
9224
9234
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
|
9225
|
-
context[:gem_version] = '1.
|
|
9235
|
+
context[:gem_version] = '1.144.0'
|
|
9226
9236
|
Seahorse::Client::Request.new(handlers, context)
|
|
9227
9237
|
end
|
|
9228
9238
|
|
|
@@ -49,6 +49,7 @@ module Aws::CloudWatchLogs
|
|
|
49
49
|
BatchId = Shapes::StringShape.new(name: 'BatchId')
|
|
50
50
|
BearerTokenAuthenticationEnabled = Shapes::BooleanShape.new(name: 'BearerTokenAuthenticationEnabled')
|
|
51
51
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
52
|
+
BytesScannedValue = Shapes::FloatShape.new(name: 'BytesScannedValue')
|
|
52
53
|
CSV = Shapes::StructureShape.new(name: 'CSV')
|
|
53
54
|
CancelExportTaskRequest = Shapes::StructureShape.new(name: 'CancelExportTaskRequest')
|
|
54
55
|
CancelImportTaskRequest = Shapes::StructureShape.new(name: 'CancelImportTaskRequest')
|
|
@@ -512,6 +513,7 @@ module Aws::CloudWatchLogs
|
|
|
512
513
|
QueryDefinitionList = Shapes::ListShape.new(name: 'QueryDefinitionList')
|
|
513
514
|
QueryDefinitionName = Shapes::StringShape.new(name: 'QueryDefinitionName')
|
|
514
515
|
QueryDefinitionString = Shapes::StringShape.new(name: 'QueryDefinitionString')
|
|
516
|
+
QueryDuration = Shapes::IntegerShape.new(name: 'QueryDuration')
|
|
515
517
|
QueryId = Shapes::StringShape.new(name: 'QueryId')
|
|
516
518
|
QueryInfo = Shapes::StructureShape.new(name: 'QueryInfo')
|
|
517
519
|
QueryInfoList = Shapes::ListShape.new(name: 'QueryInfoList')
|
|
@@ -663,6 +665,7 @@ module Aws::CloudWatchLogs
|
|
|
663
665
|
UpdateScheduledQueryResponse = Shapes::StructureShape.new(name: 'UpdateScheduledQueryResponse')
|
|
664
666
|
UpperCaseString = Shapes::StructureShape.new(name: 'UpperCaseString')
|
|
665
667
|
UpperCaseStringWithKeys = Shapes::ListShape.new(name: 'UpperCaseStringWithKeys')
|
|
668
|
+
UserIdentity = Shapes::StringShape.new(name: 'UserIdentity')
|
|
666
669
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
667
670
|
Value = Shapes::StringShape.new(name: 'Value')
|
|
668
671
|
ValueKey = Shapes::StringShape.new(name: 'ValueKey')
|
|
@@ -2170,6 +2173,9 @@ module Aws::CloudWatchLogs
|
|
|
2170
2173
|
QueryInfo.add_member(:status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "status"))
|
|
2171
2174
|
QueryInfo.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createTime"))
|
|
2172
2175
|
QueryInfo.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
|
|
2176
|
+
QueryInfo.add_member(:query_duration, Shapes::ShapeRef.new(shape: QueryDuration, location_name: "queryDuration"))
|
|
2177
|
+
QueryInfo.add_member(:bytes_scanned, Shapes::ShapeRef.new(shape: BytesScannedValue, location_name: "bytesScanned"))
|
|
2178
|
+
QueryInfo.add_member(:user_identity, Shapes::ShapeRef.new(shape: UserIdentity, location_name: "userIdentity"))
|
|
2173
2179
|
QueryInfo.struct_class = Types::QueryInfo
|
|
2174
2180
|
|
|
2175
2181
|
QueryInfoList.member = Shapes::ShapeRef.new(shape: QueryInfo)
|
|
@@ -7718,6 +7718,10 @@ module Aws::CloudWatchLogs
|
|
|
7718
7718
|
# The ARN of the Amazon Web Services resource that is generating and
|
|
7719
7719
|
# sending logs. For example,
|
|
7720
7720
|
# `arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234`
|
|
7721
|
+
#
|
|
7722
|
+
# For the `SECURITY_FINDING_LOGS` logType, use a wildcard ARN for the
|
|
7723
|
+
# hub resource. For example,
|
|
7724
|
+
# `arn:aws:securityhub:us-east-1:111122223333:hub/*`
|
|
7721
7725
|
# @return [String]
|
|
7722
7726
|
#
|
|
7723
7727
|
# @!attribute [rw] log_type
|
|
@@ -7781,6 +7785,9 @@ module Aws::CloudWatchLogs
|
|
|
7781
7785
|
# * For Amazon Q, the valid values are `EVENT_LOGS` and
|
|
7782
7786
|
# `SYNC_JOB_LOGS`.
|
|
7783
7787
|
#
|
|
7788
|
+
# * For Amazon Web Services Security Hub CSPM, the valid value is
|
|
7789
|
+
# `SECURITY_FINDING_LOGS`.
|
|
7790
|
+
#
|
|
7784
7791
|
# * For Amazon SES mail manager, the valid values are
|
|
7785
7792
|
# `APPLICATION_LOGS` and `TRAFFIC_POLICY_DEBUG_LOGS`.
|
|
7786
7793
|
#
|
|
@@ -8640,6 +8647,19 @@ module Aws::CloudWatchLogs
|
|
|
8640
8647
|
# The name of the log group scanned by this query.
|
|
8641
8648
|
# @return [String]
|
|
8642
8649
|
#
|
|
8650
|
+
# @!attribute [rw] query_duration
|
|
8651
|
+
# The duration in milliseconds that the query took to execute.
|
|
8652
|
+
# @return [Integer]
|
|
8653
|
+
#
|
|
8654
|
+
# @!attribute [rw] bytes_scanned
|
|
8655
|
+
# The total number of bytes scanned by the query. This indicates the
|
|
8656
|
+
# cost associated with the query.
|
|
8657
|
+
# @return [Float]
|
|
8658
|
+
#
|
|
8659
|
+
# @!attribute [rw] user_identity
|
|
8660
|
+
# The ARN of the user who ran the query.
|
|
8661
|
+
# @return [String]
|
|
8662
|
+
#
|
|
8643
8663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/QueryInfo AWS API Documentation
|
|
8644
8664
|
#
|
|
8645
8665
|
class QueryInfo < Struct.new(
|
|
@@ -8648,7 +8668,10 @@ module Aws::CloudWatchLogs
|
|
|
8648
8668
|
:query_string,
|
|
8649
8669
|
:status,
|
|
8650
8670
|
:create_time,
|
|
8651
|
-
:log_group_name
|
|
8671
|
+
:log_group_name,
|
|
8672
|
+
:query_duration,
|
|
8673
|
+
:bytes_scanned,
|
|
8674
|
+
:user_identity)
|
|
8652
8675
|
SENSITIVE = []
|
|
8653
8676
|
include Aws::Structure
|
|
8654
8677
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -1891,6 +1891,9 @@ module Aws::CloudWatchLogs
|
|
|
1891
1891
|
attr_accessor status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
|
|
1892
1892
|
attr_accessor create_time: ::Integer
|
|
1893
1893
|
attr_accessor log_group_name: ::String
|
|
1894
|
+
attr_accessor query_duration: ::Integer
|
|
1895
|
+
attr_accessor bytes_scanned: ::Float
|
|
1896
|
+
attr_accessor user_identity: ::String
|
|
1894
1897
|
SENSITIVE: []
|
|
1895
1898
|
end
|
|
1896
1899
|
|