aws-sdk-cloudtrail 1.47.0 → 1.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +14 -12
- data/lib/aws-sdk-cloudtrail/client_api.rb +2 -0
- data/lib/aws-sdk-cloudtrail/types.rb +21 -7
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea630b4679fdf4f58a77902585ce0f9f23e350bc7823e177fc59d8bcc0fd0411
|
4
|
+
data.tar.gz: aca1072855a3f93d0ed4e27a3d2af73f3f9f05ef3a064f00abc53047b4026efd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 574f25f888c454defe2cb10a5d9af137c70f40edaa0fb4371e78c556498cce9027fc074073fd08c56f953d3f1a0416bf6665c9080377cd0e9bf4d4ade9b9e00f
|
7
|
+
data.tar.gz: fe4e7b8f7eb8ed06cc5dc0a446280b94016daf1759b39f4068e0be49b0ab7dd49bb25b1532ab67d5cb177e27b37a7178f1c2172fd57adab6b81bd5efc1a178b4
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
@@ -403,10 +403,10 @@ module Aws::CloudTrail
|
|
403
403
|
end
|
404
404
|
|
405
405
|
# Cancels a query if the query is not in a terminated state, such as
|
406
|
-
# `CANCELLED`, `FAILED` or `FINISHED`. You must specify an
|
407
|
-
# `EventDataStore`. The ID of the query that you want to
|
408
|
-
# required. When you run `CancelQuery`, the query status
|
409
|
-
# `CANCELLED` even if the operation is not yet finished.
|
406
|
+
# `CANCELLED`, `FAILED`, `TIMED_OUT`, or `FINISHED`. You must specify an
|
407
|
+
# ARN value for `EventDataStore`. The ID of the query that you want to
|
408
|
+
# cancel is also required. When you run `CancelQuery`, the query status
|
409
|
+
# might show as `CANCELLED` even if the operation is not yet finished.
|
410
410
|
#
|
411
411
|
# @option params [required, String] :event_data_store
|
412
412
|
# The ARN (or the ID suffix of the ARN) of an event data store on which
|
@@ -431,7 +431,7 @@ module Aws::CloudTrail
|
|
431
431
|
# @example Response structure
|
432
432
|
#
|
433
433
|
# resp.query_id #=> String
|
434
|
-
# resp.query_status #=> String, one of "QUEUED", "RUNNING", "FINISHED", "FAILED", "CANCELLED"
|
434
|
+
# resp.query_status #=> String, one of "QUEUED", "RUNNING", "FINISHED", "FAILED", "CANCELLED", "TIMED_OUT"
|
435
435
|
#
|
436
436
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CancelQuery AWS API Documentation
|
437
437
|
#
|
@@ -831,9 +831,10 @@ module Aws::CloudTrail
|
|
831
831
|
#
|
832
832
|
# resp.query_id #=> String
|
833
833
|
# resp.query_string #=> String
|
834
|
-
# resp.query_status #=> String, one of "QUEUED", "RUNNING", "FINISHED", "FAILED", "CANCELLED"
|
834
|
+
# resp.query_status #=> String, one of "QUEUED", "RUNNING", "FINISHED", "FAILED", "CANCELLED", "TIMED_OUT"
|
835
835
|
# resp.query_statistics.events_matched #=> Integer
|
836
836
|
# resp.query_statistics.events_scanned #=> Integer
|
837
|
+
# resp.query_statistics.bytes_scanned #=> Integer
|
837
838
|
# resp.query_statistics.execution_time_in_millis #=> Integer
|
838
839
|
# resp.query_statistics.creation_time #=> Time
|
839
840
|
# resp.error_message #=> String
|
@@ -1172,9 +1173,10 @@ module Aws::CloudTrail
|
|
1172
1173
|
#
|
1173
1174
|
# @example Response structure
|
1174
1175
|
#
|
1175
|
-
# resp.query_status #=> String, one of "QUEUED", "RUNNING", "FINISHED", "FAILED", "CANCELLED"
|
1176
|
+
# resp.query_status #=> String, one of "QUEUED", "RUNNING", "FINISHED", "FAILED", "CANCELLED", "TIMED_OUT"
|
1176
1177
|
# resp.query_statistics.results_count #=> Integer
|
1177
1178
|
# resp.query_statistics.total_results_count #=> Integer
|
1179
|
+
# resp.query_statistics.bytes_scanned #=> Integer
|
1178
1180
|
# resp.query_result_rows #=> Array
|
1179
1181
|
# resp.query_result_rows[0] #=> Array
|
1180
1182
|
# resp.query_result_rows[0][0] #=> Hash
|
@@ -1430,7 +1432,7 @@ module Aws::CloudTrail
|
|
1430
1432
|
# shorten the list of results, you can specify a time range, formatted
|
1431
1433
|
# as timestamps, by adding `StartTime` and `EndTime` parameters, and a
|
1432
1434
|
# `QueryStatus` value. Valid values for `QueryStatus` include `QUEUED`,
|
1433
|
-
# `RUNNING`, `FINISHED`, `FAILED`, or `CANCELLED`.
|
1435
|
+
# `RUNNING`, `FINISHED`, `FAILED`, `TIMED_OUT`, or `CANCELLED`.
|
1434
1436
|
#
|
1435
1437
|
# @option params [required, String] :event_data_store
|
1436
1438
|
# The ARN (or the ID suffix of the ARN) of an event data store on which
|
@@ -1453,7 +1455,7 @@ module Aws::CloudTrail
|
|
1453
1455
|
# @option params [String] :query_status
|
1454
1456
|
# The status of queries that you want to return in results. Valid values
|
1455
1457
|
# for `QueryStatus` include `QUEUED`, `RUNNING`, `FINISHED`, `FAILED`,
|
1456
|
-
# or `CANCELLED`.
|
1458
|
+
# `TIMED_OUT`, or `CANCELLED`.
|
1457
1459
|
#
|
1458
1460
|
# @return [Types::ListQueriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1459
1461
|
#
|
@@ -1470,14 +1472,14 @@ module Aws::CloudTrail
|
|
1470
1472
|
# max_results: 1,
|
1471
1473
|
# start_time: Time.now,
|
1472
1474
|
# end_time: Time.now,
|
1473
|
-
# query_status: "QUEUED", # accepts QUEUED, RUNNING, FINISHED, FAILED, CANCELLED
|
1475
|
+
# query_status: "QUEUED", # accepts QUEUED, RUNNING, FINISHED, FAILED, CANCELLED, TIMED_OUT
|
1474
1476
|
# })
|
1475
1477
|
#
|
1476
1478
|
# @example Response structure
|
1477
1479
|
#
|
1478
1480
|
# resp.queries #=> Array
|
1479
1481
|
# resp.queries[0].query_id #=> String
|
1480
|
-
# resp.queries[0].query_status #=> String, one of "QUEUED", "RUNNING", "FINISHED", "FAILED", "CANCELLED"
|
1482
|
+
# resp.queries[0].query_status #=> String, one of "QUEUED", "RUNNING", "FINISHED", "FAILED", "CANCELLED", "TIMED_OUT"
|
1481
1483
|
# resp.queries[0].creation_time #=> Time
|
1482
1484
|
# resp.next_token #=> String
|
1483
1485
|
#
|
@@ -2412,7 +2414,7 @@ module Aws::CloudTrail
|
|
2412
2414
|
params: params,
|
2413
2415
|
config: config)
|
2414
2416
|
context[:gem_name] = 'aws-sdk-cloudtrail'
|
2415
|
-
context[:gem_version] = '1.
|
2417
|
+
context[:gem_version] = '1.48.0'
|
2416
2418
|
Seahorse::Client::Request.new(handlers, context)
|
2417
2419
|
end
|
2418
2420
|
|
@@ -639,10 +639,12 @@ module Aws::CloudTrail
|
|
639
639
|
|
640
640
|
QueryStatistics.add_member(:results_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ResultsCount"))
|
641
641
|
QueryStatistics.add_member(:total_results_count, Shapes::ShapeRef.new(shape: Integer, location_name: "TotalResultsCount"))
|
642
|
+
QueryStatistics.add_member(:bytes_scanned, Shapes::ShapeRef.new(shape: Long, location_name: "BytesScanned"))
|
642
643
|
QueryStatistics.struct_class = Types::QueryStatistics
|
643
644
|
|
644
645
|
QueryStatisticsForDescribeQuery.add_member(:events_matched, Shapes::ShapeRef.new(shape: Long, location_name: "EventsMatched"))
|
645
646
|
QueryStatisticsForDescribeQuery.add_member(:events_scanned, Shapes::ShapeRef.new(shape: Long, location_name: "EventsScanned"))
|
647
|
+
QueryStatisticsForDescribeQuery.add_member(:bytes_scanned, Shapes::ShapeRef.new(shape: Long, location_name: "BytesScanned"))
|
646
648
|
QueryStatisticsForDescribeQuery.add_member(:execution_time_in_millis, Shapes::ShapeRef.new(shape: Integer, location_name: "ExecutionTimeInMillis"))
|
647
649
|
QueryStatisticsForDescribeQuery.add_member(:creation_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationTime"))
|
648
650
|
QueryStatisticsForDescribeQuery.struct_class = Types::QueryStatisticsForDescribeQuery
|
@@ -1074,7 +1074,7 @@ module Aws::CloudTrail
|
|
1074
1074
|
#
|
1075
1075
|
# @!attribute [rw] query_status
|
1076
1076
|
# The status of a query. Values for `QueryStatus` include `QUEUED`,
|
1077
|
-
# `RUNNING`, `FINISHED`, `FAILED`, or `CANCELLED`
|
1077
|
+
# `RUNNING`, `FINISHED`, `FAILED`, `TIMED_OUT`, or `CANCELLED`
|
1078
1078
|
# @return [String]
|
1079
1079
|
#
|
1080
1080
|
# @!attribute [rw] query_statistics
|
@@ -1671,7 +1671,7 @@ module Aws::CloudTrail
|
|
1671
1671
|
|
1672
1672
|
# @!attribute [rw] query_status
|
1673
1673
|
# The status of the query. Values include `QUEUED`, `RUNNING`,
|
1674
|
-
# `FINISHED`, `FAILED`, or `CANCELLED`.
|
1674
|
+
# `FINISHED`, `FAILED`, `TIMED_OUT`, or `CANCELLED`.
|
1675
1675
|
# @return [String]
|
1676
1676
|
#
|
1677
1677
|
# @!attribute [rw] query_statistics
|
@@ -1907,7 +1907,7 @@ module Aws::CloudTrail
|
|
1907
1907
|
class InactiveEventDataStoreException < Aws::EmptyStructure; end
|
1908
1908
|
|
1909
1909
|
# The specified query cannot be canceled because it is in the
|
1910
|
-
# `FINISHED`, `FAILED`, or `CANCELLED` state.
|
1910
|
+
# `FINISHED`, `FAILED`, `TIMED_OUT`, or `CANCELLED` state.
|
1911
1911
|
#
|
1912
1912
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InactiveQueryException AWS API Documentation
|
1913
1913
|
#
|
@@ -2317,7 +2317,7 @@ module Aws::CloudTrail
|
|
2317
2317
|
# max_results: 1,
|
2318
2318
|
# start_time: Time.now,
|
2319
2319
|
# end_time: Time.now,
|
2320
|
-
# query_status: "QUEUED", # accepts QUEUED, RUNNING, FINISHED, FAILED, CANCELLED
|
2320
|
+
# query_status: "QUEUED", # accepts QUEUED, RUNNING, FINISHED, FAILED, CANCELLED, TIMED_OUT
|
2321
2321
|
# }
|
2322
2322
|
#
|
2323
2323
|
# @!attribute [rw] event_data_store
|
@@ -2346,7 +2346,7 @@ module Aws::CloudTrail
|
|
2346
2346
|
# @!attribute [rw] query_status
|
2347
2347
|
# The status of queries that you want to return in results. Valid
|
2348
2348
|
# values for `QueryStatus` include `QUEUED`, `RUNNING`, `FINISHED`,
|
2349
|
-
# `FAILED`, or `CANCELLED`.
|
2349
|
+
# `FAILED`, `TIMED_OUT`, or `CANCELLED`.
|
2350
2350
|
# @return [String]
|
2351
2351
|
#
|
2352
2352
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListQueriesRequest AWS API Documentation
|
@@ -2863,7 +2863,7 @@ module Aws::CloudTrail
|
|
2863
2863
|
#
|
2864
2864
|
# @!attribute [rw] query_status
|
2865
2865
|
# The status of the query. This can be `QUEUED`, `RUNNING`,
|
2866
|
-
# `FINISHED`, `FAILED`, or `CANCELLED`.
|
2866
|
+
# `FINISHED`, `FAILED`, `TIMED_OUT`, or `CANCELLED`.
|
2867
2867
|
# @return [String]
|
2868
2868
|
#
|
2869
2869
|
# @!attribute [rw] creation_time
|
@@ -2896,11 +2896,18 @@ module Aws::CloudTrail
|
|
2896
2896
|
# The total number of results returned by a query.
|
2897
2897
|
# @return [Integer]
|
2898
2898
|
#
|
2899
|
+
# @!attribute [rw] bytes_scanned
|
2900
|
+
# The total bytes that the query scanned in the event data store. This
|
2901
|
+
# value matches the number of bytes for which your account is billed
|
2902
|
+
# for the query, unless the query is still running.
|
2903
|
+
# @return [Integer]
|
2904
|
+
#
|
2899
2905
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/QueryStatistics AWS API Documentation
|
2900
2906
|
#
|
2901
2907
|
class QueryStatistics < Struct.new(
|
2902
2908
|
:results_count,
|
2903
|
-
:total_results_count
|
2909
|
+
:total_results_count,
|
2910
|
+
:bytes_scanned)
|
2904
2911
|
SENSITIVE = []
|
2905
2912
|
include Aws::Structure
|
2906
2913
|
end
|
@@ -2917,6 +2924,12 @@ module Aws::CloudTrail
|
|
2917
2924
|
# The number of events that the query scanned in the event data store.
|
2918
2925
|
# @return [Integer]
|
2919
2926
|
#
|
2927
|
+
# @!attribute [rw] bytes_scanned
|
2928
|
+
# The total bytes that the query scanned in the event data store. This
|
2929
|
+
# value matches the number of bytes for which your account is billed
|
2930
|
+
# for the query, unless the query is still running.
|
2931
|
+
# @return [Integer]
|
2932
|
+
#
|
2920
2933
|
# @!attribute [rw] execution_time_in_millis
|
2921
2934
|
# The query's run time, in milliseconds.
|
2922
2935
|
# @return [Integer]
|
@@ -2930,6 +2943,7 @@ module Aws::CloudTrail
|
|
2930
2943
|
class QueryStatisticsForDescribeQuery < Struct.new(
|
2931
2944
|
:events_matched,
|
2932
2945
|
:events_scanned,
|
2946
|
+
:bytes_scanned,
|
2933
2947
|
:execution_time_in_millis,
|
2934
2948
|
:creation_time)
|
2935
2949
|
SENSITIVE = []
|
data/lib/aws-sdk-cloudtrail.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudtrail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02
|
11
|
+
date: 2022-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|