aws-sdk-cloudtrail 1.45.0 → 1.48.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3276ef98422de73bc6bbca44a481608402a79af7bde49390a2ce2784338850b2
4
- data.tar.gz: d610f2a804bd025c9017a5e8ccd2967ed2669003b8814567c80d208a467e4fa8
3
+ metadata.gz: ea630b4679fdf4f58a77902585ce0f9f23e350bc7823e177fc59d8bcc0fd0411
4
+ data.tar.gz: aca1072855a3f93d0ed4e27a3d2af73f3f9f05ef3a064f00abc53047b4026efd
5
5
  SHA512:
6
- metadata.gz: d0090aebdf376c5a6b10f598c668ec2dcd072bde2b10b7d2bdc4e9f9ca75e4fe429b52cafff17b059fb023db30dc700430b2f5f707a86385057452482c9d4775
7
- data.tar.gz: c3f349ae07f6edcf6dcae59315ec542390951f534b964d5941572bb157405d5b48be8a29aadd25a16a6e5d142a2025236b2dca0f7734841d8d05c77599293008
6
+ metadata.gz: 574f25f888c454defe2cb10a5d9af137c70f40edaa0fb4371e78c556498cce9027fc074073fd08c56f953d3f1a0416bf6665c9080377cd0e9bf4d4ade9b9e00f
7
+ data.tar.gz: fe4e7b8f7eb8ed06cc5dc0a446280b94016daf1759b39f4068e0be49b0ab7dd49bb25b1532ab67d5cb177e27b37a7178f1c2172fd57adab6b81bd5efc1a178b4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.48.0 (2022-03-02)
5
+ ------------------
6
+
7
+ * Feature - Add bytesScanned field into responses of DescribeQuery and GetQueryResults.
8
+
9
+ 1.47.0 (2022-02-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.46.0 (2022-02-03)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.45.0 (2022-01-18)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.48.0
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
31
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
32
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
33
35
 
@@ -74,7 +76,9 @@ module Aws::CloudTrail
74
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
75
77
  add_plugin(Aws::Plugins::TransferEncoding)
76
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
77
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
+ add_plugin(Aws::Plugins::RecursionDetection)
78
82
  add_plugin(Aws::Plugins::SignatureV4)
79
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
80
84
 
@@ -399,10 +403,10 @@ module Aws::CloudTrail
399
403
  end
400
404
 
401
405
  # Cancels a query if the query is not in a terminated state, such as
402
- # `CANCELLED`, `FAILED` or `FINISHED`. You must specify an ARN value for
403
- # `EventDataStore`. The ID of the query that you want to cancel is also
404
- # required. When you run `CancelQuery`, the query status might show as
405
- # `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.
406
410
  #
407
411
  # @option params [required, String] :event_data_store
408
412
  # The ARN (or the ID suffix of the ARN) of an event data store on which
@@ -427,7 +431,7 @@ module Aws::CloudTrail
427
431
  # @example Response structure
428
432
  #
429
433
  # resp.query_id #=> String
430
- # 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"
431
435
  #
432
436
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CancelQuery AWS API Documentation
433
437
  #
@@ -827,9 +831,10 @@ module Aws::CloudTrail
827
831
  #
828
832
  # resp.query_id #=> String
829
833
  # resp.query_string #=> String
830
- # 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"
831
835
  # resp.query_statistics.events_matched #=> Integer
832
836
  # resp.query_statistics.events_scanned #=> Integer
837
+ # resp.query_statistics.bytes_scanned #=> Integer
833
838
  # resp.query_statistics.execution_time_in_millis #=> Integer
834
839
  # resp.query_statistics.creation_time #=> Time
835
840
  # resp.error_message #=> String
@@ -1168,9 +1173,10 @@ module Aws::CloudTrail
1168
1173
  #
1169
1174
  # @example Response structure
1170
1175
  #
1171
- # 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"
1172
1177
  # resp.query_statistics.results_count #=> Integer
1173
1178
  # resp.query_statistics.total_results_count #=> Integer
1179
+ # resp.query_statistics.bytes_scanned #=> Integer
1174
1180
  # resp.query_result_rows #=> Array
1175
1181
  # resp.query_result_rows[0] #=> Array
1176
1182
  # resp.query_result_rows[0][0] #=> Hash
@@ -1426,7 +1432,7 @@ module Aws::CloudTrail
1426
1432
  # shorten the list of results, you can specify a time range, formatted
1427
1433
  # as timestamps, by adding `StartTime` and `EndTime` parameters, and a
1428
1434
  # `QueryStatus` value. Valid values for `QueryStatus` include `QUEUED`,
1429
- # `RUNNING`, `FINISHED`, `FAILED`, or `CANCELLED`.
1435
+ # `RUNNING`, `FINISHED`, `FAILED`, `TIMED_OUT`, or `CANCELLED`.
1430
1436
  #
1431
1437
  # @option params [required, String] :event_data_store
1432
1438
  # The ARN (or the ID suffix of the ARN) of an event data store on which
@@ -1449,7 +1455,7 @@ module Aws::CloudTrail
1449
1455
  # @option params [String] :query_status
1450
1456
  # The status of queries that you want to return in results. Valid values
1451
1457
  # for `QueryStatus` include `QUEUED`, `RUNNING`, `FINISHED`, `FAILED`,
1452
- # or `CANCELLED`.
1458
+ # `TIMED_OUT`, or `CANCELLED`.
1453
1459
  #
1454
1460
  # @return [Types::ListQueriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1455
1461
  #
@@ -1466,14 +1472,14 @@ module Aws::CloudTrail
1466
1472
  # max_results: 1,
1467
1473
  # start_time: Time.now,
1468
1474
  # end_time: Time.now,
1469
- # query_status: "QUEUED", # accepts QUEUED, RUNNING, FINISHED, FAILED, CANCELLED
1475
+ # query_status: "QUEUED", # accepts QUEUED, RUNNING, FINISHED, FAILED, CANCELLED, TIMED_OUT
1470
1476
  # })
1471
1477
  #
1472
1478
  # @example Response structure
1473
1479
  #
1474
1480
  # resp.queries #=> Array
1475
1481
  # resp.queries[0].query_id #=> String
1476
- # 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"
1477
1483
  # resp.queries[0].creation_time #=> Time
1478
1484
  # resp.next_token #=> String
1479
1485
  #
@@ -2408,7 +2414,7 @@ module Aws::CloudTrail
2408
2414
  params: params,
2409
2415
  config: config)
2410
2416
  context[:gem_name] = 'aws-sdk-cloudtrail'
2411
- context[:gem_version] = '1.45.0'
2417
+ context[:gem_version] = '1.48.0'
2412
2418
  Seahorse::Client::Request.new(handlers, context)
2413
2419
  end
2414
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 = []
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cloudtrail/customizations'
48
48
  # @!group service
49
49
  module Aws::CloudTrail
50
50
 
51
- GEM_VERSION = '1.45.0'
51
+ GEM_VERSION = '1.48.0'
52
52
 
53
53
  end
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.45.0
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-01-18 00:00:00.000000000 Z
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.125.0
22
+ version: 3.127.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.125.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement