aws-sdk-cloudtrail 1.51.0 → 1.52.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-cloudtrail/client.rb +62 -21
- data/lib/aws-sdk-cloudtrail/client_api.rb +9 -0
- data/lib/aws-sdk-cloudtrail/types.rb +88 -54
- 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: 9fd98c848dea62b03bdbe8b53bd0697af08f98035546f4f0fd11bcac9b0916cc
|
4
|
+
data.tar.gz: 67792ad77475cb8ee735d3f66a6acc0c9fc7be108c65f7f6dd31c5487c33a2bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c8e1be6d40035da296cda86d2ef3f730721adf4c7b36c14b4c427f484183aaff97690116f9763293450b269f76edee57ce1ef6b469449044e4b5f736ce22329
|
7
|
+
data.tar.gz: 4660fc6a4bc8580998fc3fe02ea802a6d852d2957e5d70f0758cf4b3011d6122ebce0b2b5146dc5d6b81a48eff645d7d29be2af8246f2209fcb3033d463ddc3f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.52.0
|
@@ -644,7 +644,7 @@ module Aws::CloudTrail
|
|
644
644
|
#
|
645
645
|
# @option params [String] :kms_key_id
|
646
646
|
# Specifies the KMS key ID to use to encrypt the logs delivered by
|
647
|
-
# CloudTrail. The value can be an alias name prefixed by
|
647
|
+
# CloudTrail. The value can be an alias name prefixed by `alias/`, a
|
648
648
|
# fully specified ARN to an alias, a fully specified ARN to a key, or a
|
649
649
|
# globally unique identifier.
|
650
650
|
#
|
@@ -654,13 +654,13 @@ module Aws::CloudTrail
|
|
654
654
|
#
|
655
655
|
# Examples:
|
656
656
|
#
|
657
|
-
# * alias/MyAliasName
|
657
|
+
# * `alias/MyAliasName`
|
658
658
|
#
|
659
|
-
# * arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
|
659
|
+
# * `arn:aws:kms:us-east-2:123456789012:alias/MyAliasName`
|
660
660
|
#
|
661
|
-
# * arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
|
661
|
+
# * `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012`
|
662
662
|
#
|
663
|
-
# * 12345678-1234-1234-1234-123456789012
|
663
|
+
# * `12345678-1234-1234-1234-123456789012`
|
664
664
|
#
|
665
665
|
#
|
666
666
|
#
|
@@ -820,6 +820,8 @@ module Aws::CloudTrail
|
|
820
820
|
# * {Types::DescribeQueryResponse#query_status #query_status} => String
|
821
821
|
# * {Types::DescribeQueryResponse#query_statistics #query_statistics} => Types::QueryStatisticsForDescribeQuery
|
822
822
|
# * {Types::DescribeQueryResponse#error_message #error_message} => String
|
823
|
+
# * {Types::DescribeQueryResponse#delivery_s3_uri #delivery_s3_uri} => String
|
824
|
+
# * {Types::DescribeQueryResponse#delivery_status #delivery_status} => String
|
823
825
|
#
|
824
826
|
# @example Request syntax with placeholder values
|
825
827
|
#
|
@@ -839,6 +841,8 @@ module Aws::CloudTrail
|
|
839
841
|
# resp.query_statistics.execution_time_in_millis #=> Integer
|
840
842
|
# resp.query_statistics.creation_time #=> Time
|
841
843
|
# resp.error_message #=> String
|
844
|
+
# resp.delivery_s3_uri #=> String
|
845
|
+
# resp.delivery_status #=> String, one of "SUCCESS", "FAILED", "FAILED_SIGNING_FILE", "PENDING", "RESOURCE_NOT_FOUND", "ACCESS_DENIED", "ACCESS_DENIED_SIGNING_FILE", "CANCELLED", "UNKNOWN"
|
842
846
|
#
|
843
847
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeQuery AWS API Documentation
|
844
848
|
#
|
@@ -923,13 +927,18 @@ module Aws::CloudTrail
|
|
923
927
|
req.send_request(options)
|
924
928
|
end
|
925
929
|
|
926
|
-
# Returns
|
927
|
-
#
|
928
|
-
# events.
|
930
|
+
# Returns information about a specific channel. Amazon Web Services
|
931
|
+
# services create service-linked channels to get information about
|
932
|
+
# CloudTrail events on your behalf. For more information about
|
933
|
+
# service-linked channels, see [Viewing service-linked channels for
|
934
|
+
# CloudTrail by using the CLI.][1].
|
935
|
+
#
|
936
|
+
#
|
937
|
+
#
|
938
|
+
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/viewing-service-linked-channels.html
|
929
939
|
#
|
930
940
|
# @option params [required, String] :channel
|
931
|
-
# The
|
932
|
-
# channel.
|
941
|
+
# The ARN or `UUID` of a channel.
|
933
942
|
#
|
934
943
|
# @return [Types::GetChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
935
944
|
#
|
@@ -1138,7 +1147,7 @@ module Aws::CloudTrail
|
|
1138
1147
|
req.send_request(options)
|
1139
1148
|
end
|
1140
1149
|
|
1141
|
-
# Returns information
|
1150
|
+
# Returns information about a specific import.
|
1142
1151
|
#
|
1143
1152
|
# @option params [required, String] :import_id
|
1144
1153
|
# The ID for the import.
|
@@ -1421,13 +1430,25 @@ module Aws::CloudTrail
|
|
1421
1430
|
req.send_request(options)
|
1422
1431
|
end
|
1423
1432
|
|
1424
|
-
#
|
1433
|
+
# Lists the channels in the current account, and their source names.
|
1434
|
+
# Amazon Web Services services create service-linked channels get
|
1435
|
+
# information about CloudTrail events on your behalf. For more
|
1436
|
+
# information about service-linked channels, see [Viewing service-linked
|
1437
|
+
# channels for CloudTrail by using the CLI][1].
|
1438
|
+
#
|
1439
|
+
#
|
1440
|
+
#
|
1441
|
+
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/viewing-service-linked-channels.html
|
1425
1442
|
#
|
1426
1443
|
# @option params [Integer] :max_results
|
1427
1444
|
# The maximum number of CloudTrail channels to display on a single page.
|
1428
1445
|
#
|
1429
1446
|
# @option params [String] :next_token
|
1430
|
-
#
|
1447
|
+
# The token to use to get the next page of results after a previous API
|
1448
|
+
# call. This token must be passed in with the same parameters that were
|
1449
|
+
# specified in the original call. For example, if the original call
|
1450
|
+
# specified an AttributeKey of 'Username' with a value of 'root',
|
1451
|
+
# the call with NextToken should include those same parameters.
|
1431
1452
|
#
|
1432
1453
|
# @return [Types::ListChannelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1433
1454
|
#
|
@@ -1573,7 +1594,7 @@ module Aws::CloudTrail
|
|
1573
1594
|
# The maximum number of imports to display on a single page.
|
1574
1595
|
#
|
1575
1596
|
# @option params [String] :destination
|
1576
|
-
# The destination event data store.
|
1597
|
+
# The ARN of the destination event data store.
|
1577
1598
|
#
|
1578
1599
|
# @option params [String] :import_status
|
1579
1600
|
# The status of the import.
|
@@ -2264,22 +2285,30 @@ module Aws::CloudTrail
|
|
2264
2285
|
end
|
2265
2286
|
|
2266
2287
|
# Starts an import of logged trail events from a source S3 bucket to a
|
2267
|
-
# destination event data store.
|
2288
|
+
# destination event data store. By default, CloudTrail only imports
|
2289
|
+
# events contained in the S3 bucket's `CloudTrail` prefix and the
|
2290
|
+
# prefixes inside the `CloudTrail` prefix, and does not check prefixes
|
2291
|
+
# for other Amazon Web Services services. If you want to import
|
2292
|
+
# CloudTrail events contained in another prefix, you must include the
|
2293
|
+
# prefix in the `S3LocationUri`. For more considerations about importing
|
2294
|
+
# trail events, see [Considerations][1].
|
2268
2295
|
#
|
2269
2296
|
# When you start a new import, the `Destinations` and `ImportSource`
|
2270
2297
|
# parameters are required. Before starting a new import, disable any
|
2271
2298
|
# access control lists (ACLs) attached to the source S3 bucket. For more
|
2272
2299
|
# information about disabling ACLs, see [Controlling ownership of
|
2273
|
-
# objects and disabling ACLs for your bucket][
|
2300
|
+
# objects and disabling ACLs for your bucket][2].
|
2274
2301
|
#
|
2275
2302
|
# When you retry an import, the `ImportID` parameter is required.
|
2276
2303
|
#
|
2277
2304
|
#
|
2278
2305
|
#
|
2279
|
-
# [1]: https://docs.aws.amazon.com/
|
2306
|
+
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-copy-trail-to-lake.html#cloudtrail-trail-copy-considerations
|
2307
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
2280
2308
|
#
|
2281
2309
|
# @option params [Array<String>] :destinations
|
2282
|
-
# The destination event data store. Use this parameter for a
|
2310
|
+
# The ARN of the destination event data store. Use this parameter for a
|
2311
|
+
# new import.
|
2283
2312
|
#
|
2284
2313
|
# @option params [Types::ImportSource] :import_source
|
2285
2314
|
# The source S3 bucket for the import. Use this parameter for a new
|
@@ -2288,12 +2317,18 @@ module Aws::CloudTrail
|
|
2288
2317
|
# @option params [Time,DateTime,Date,Integer,String] :start_event_time
|
2289
2318
|
# Use with `EndEventTime` to bound a `StartImport` request, and limit
|
2290
2319
|
# imported trail events to only those events logged within a specified
|
2291
|
-
# time period.
|
2320
|
+
# time period. When you specify a time range, CloudTrail checks the
|
2321
|
+
# prefix and log file names to verify the names contain a date between
|
2322
|
+
# the specified `StartEventTime` and `EndEventTime` before attempting to
|
2323
|
+
# import events.
|
2292
2324
|
#
|
2293
2325
|
# @option params [Time,DateTime,Date,Integer,String] :end_event_time
|
2294
2326
|
# Use with `StartEventTime` to bound a `StartImport` request, and limit
|
2295
2327
|
# imported trail events to only those events logged within a specified
|
2296
|
-
# time period.
|
2328
|
+
# time period. When you specify a time range, CloudTrail checks the
|
2329
|
+
# prefix and log file names to verify the names contain a date between
|
2330
|
+
# the specified `StartEventTime` and `EndEventTime` before attempting to
|
2331
|
+
# import events.
|
2297
2332
|
#
|
2298
2333
|
# @option params [String] :import_id
|
2299
2334
|
# The ID of the import. Use this parameter when you are retrying an
|
@@ -2382,10 +2417,15 @@ module Aws::CloudTrail
|
|
2382
2417
|
|
2383
2418
|
# Starts a CloudTrail Lake query. The required `QueryStatement`
|
2384
2419
|
# parameter provides your SQL query, enclosed in single quotation marks.
|
2420
|
+
# Use the optional `DeliveryS3Uri` parameter to deliver the query
|
2421
|
+
# results to an S3 bucket.
|
2385
2422
|
#
|
2386
2423
|
# @option params [required, String] :query_statement
|
2387
2424
|
# The SQL code of your query.
|
2388
2425
|
#
|
2426
|
+
# @option params [String] :delivery_s3_uri
|
2427
|
+
# The URI for the S3 bucket where CloudTrail delivers the query results.
|
2428
|
+
#
|
2389
2429
|
# @return [Types::StartQueryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2390
2430
|
#
|
2391
2431
|
# * {Types::StartQueryResponse#query_id #query_id} => String
|
@@ -2394,6 +2434,7 @@ module Aws::CloudTrail
|
|
2394
2434
|
#
|
2395
2435
|
# resp = client.start_query({
|
2396
2436
|
# query_statement: "QueryStatement", # required
|
2437
|
+
# delivery_s3_uri: "DeliveryS3Uri",
|
2397
2438
|
# })
|
2398
2439
|
#
|
2399
2440
|
# @example Response structure
|
@@ -2804,7 +2845,7 @@ module Aws::CloudTrail
|
|
2804
2845
|
params: params,
|
2805
2846
|
config: config)
|
2806
2847
|
context[:gem_name] = 'aws-sdk-cloudtrail'
|
2807
|
-
context[:gem_version] = '1.
|
2848
|
+
context[:gem_version] = '1.52.0'
|
2808
2849
|
Seahorse::Client::Request.new(handlers, context)
|
2809
2850
|
end
|
2810
2851
|
|
@@ -47,6 +47,8 @@ module Aws::CloudTrail
|
|
47
47
|
DeleteEventDataStoreResponse = Shapes::StructureShape.new(name: 'DeleteEventDataStoreResponse')
|
48
48
|
DeleteTrailRequest = Shapes::StructureShape.new(name: 'DeleteTrailRequest')
|
49
49
|
DeleteTrailResponse = Shapes::StructureShape.new(name: 'DeleteTrailResponse')
|
50
|
+
DeliveryS3Uri = Shapes::StringShape.new(name: 'DeliveryS3Uri')
|
51
|
+
DeliveryStatus = Shapes::StringShape.new(name: 'DeliveryStatus')
|
50
52
|
DescribeQueryRequest = Shapes::StructureShape.new(name: 'DescribeQueryRequest')
|
51
53
|
DescribeQueryResponse = Shapes::StructureShape.new(name: 'DescribeQueryResponse')
|
52
54
|
DescribeTrailsRequest = Shapes::StructureShape.new(name: 'DescribeTrailsRequest')
|
@@ -377,6 +379,8 @@ module Aws::CloudTrail
|
|
377
379
|
DescribeQueryResponse.add_member(:query_status, Shapes::ShapeRef.new(shape: QueryStatus, location_name: "QueryStatus"))
|
378
380
|
DescribeQueryResponse.add_member(:query_statistics, Shapes::ShapeRef.new(shape: QueryStatisticsForDescribeQuery, location_name: "QueryStatistics"))
|
379
381
|
DescribeQueryResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
382
|
+
DescribeQueryResponse.add_member(:delivery_s3_uri, Shapes::ShapeRef.new(shape: DeliveryS3Uri, location_name: "DeliveryS3Uri"))
|
383
|
+
DescribeQueryResponse.add_member(:delivery_status, Shapes::ShapeRef.new(shape: DeliveryStatus, location_name: "DeliveryStatus"))
|
380
384
|
DescribeQueryResponse.struct_class = Types::DescribeQueryResponse
|
381
385
|
|
382
386
|
DescribeTrailsRequest.add_member(:trail_name_list, Shapes::ShapeRef.new(shape: TrailNameList, location_name: "trailNameList"))
|
@@ -873,6 +877,7 @@ module Aws::CloudTrail
|
|
873
877
|
StartLoggingResponse.struct_class = Types::StartLoggingResponse
|
874
878
|
|
875
879
|
StartQueryRequest.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryStatement, required: true, location_name: "QueryStatement"))
|
880
|
+
StartQueryRequest.add_member(:delivery_s3_uri, Shapes::ShapeRef.new(shape: DeliveryS3Uri, location_name: "DeliveryS3Uri"))
|
876
881
|
StartQueryRequest.struct_class = Types::StartQueryRequest
|
877
882
|
|
878
883
|
StartQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
|
@@ -1562,6 +1567,10 @@ module Aws::CloudTrail
|
|
1562
1567
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1563
1568
|
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStatementException)
|
1564
1569
|
o.errors << Shapes::ShapeRef.new(shape: MaxConcurrentQueriesException)
|
1570
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3PrefixException)
|
1571
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3BucketNameException)
|
1572
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientS3BucketPolicyException)
|
1573
|
+
o.errors << Shapes::ShapeRef.new(shape: S3BucketDoesNotExistException)
|
1565
1574
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1566
1575
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1567
1576
|
end)
|
@@ -373,7 +373,7 @@ module Aws::CloudTrail
|
|
373
373
|
# Contains information about a returned CloudTrail channel.
|
374
374
|
#
|
375
375
|
# @!attribute [rw] channel_arn
|
376
|
-
# The Amazon Resource Name (ARN) of
|
376
|
+
# The Amazon Resource Name (ARN) of a channel.
|
377
377
|
# @return [String]
|
378
378
|
#
|
379
379
|
# @!attribute [rw] name
|
@@ -393,8 +393,8 @@ module Aws::CloudTrail
|
|
393
393
|
include Aws::Structure
|
394
394
|
end
|
395
395
|
|
396
|
-
#
|
397
|
-
#
|
396
|
+
# This exception is thrown when the specified value of `ChannelARN` is
|
397
|
+
# not valid.
|
398
398
|
#
|
399
399
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ChannelARNInvalidException AWS API Documentation
|
400
400
|
#
|
@@ -720,7 +720,7 @@ module Aws::CloudTrail
|
|
720
720
|
#
|
721
721
|
# @!attribute [rw] kms_key_id
|
722
722
|
# Specifies the KMS key ID to use to encrypt the logs delivered by
|
723
|
-
# CloudTrail. The value can be an alias name prefixed by
|
723
|
+
# CloudTrail. The value can be an alias name prefixed by `alias/`, a
|
724
724
|
# fully specified ARN to an alias, a fully specified ARN to a key, or
|
725
725
|
# a globally unique identifier.
|
726
726
|
#
|
@@ -730,13 +730,13 @@ module Aws::CloudTrail
|
|
730
730
|
#
|
731
731
|
# Examples:
|
732
732
|
#
|
733
|
-
# * alias/MyAliasName
|
733
|
+
# * `alias/MyAliasName`
|
734
734
|
#
|
735
|
-
# * arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
|
735
|
+
# * `arn:aws:kms:us-east-2:123456789012:alias/MyAliasName`
|
736
736
|
#
|
737
|
-
# * arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
|
737
|
+
# * `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012`
|
738
738
|
#
|
739
|
-
# * 12345678-1234-1234-1234-123456789012
|
739
|
+
# * `12345678-1234-1234-1234-123456789012`
|
740
740
|
#
|
741
741
|
#
|
742
742
|
#
|
@@ -839,7 +839,7 @@ module Aws::CloudTrail
|
|
839
839
|
# @return [String]
|
840
840
|
#
|
841
841
|
# @!attribute [rw] kms_key_id
|
842
|
-
# Specifies the KMS key ID that encrypts the
|
842
|
+
# Specifies the KMS key ID that encrypts the events delivered by
|
843
843
|
# CloudTrail. The value is a fully specified ARN to a KMS key in the
|
844
844
|
# following format.
|
845
845
|
#
|
@@ -945,7 +945,7 @@ module Aws::CloudTrail
|
|
945
945
|
#
|
946
946
|
# * `AWS::DynamoDB::Table`
|
947
947
|
#
|
948
|
-
# The following resource types are also
|
948
|
+
# The following resource types are also available through *advanced*
|
949
949
|
# event selectors. Basic event selector resource types are valid in
|
950
950
|
# advanced event selectors, but advanced event selector resource types
|
951
951
|
# are not valid in basic event selectors. For more information, see
|
@@ -1129,6 +1129,15 @@ module Aws::CloudTrail
|
|
1129
1129
|
# The error message returned if a query failed.
|
1130
1130
|
# @return [String]
|
1131
1131
|
#
|
1132
|
+
# @!attribute [rw] delivery_s3_uri
|
1133
|
+
# The URI for the S3 bucket where CloudTrail delivered query results,
|
1134
|
+
# if applicable.
|
1135
|
+
# @return [String]
|
1136
|
+
#
|
1137
|
+
# @!attribute [rw] delivery_status
|
1138
|
+
# The delivery status.
|
1139
|
+
# @return [String]
|
1140
|
+
#
|
1132
1141
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeQueryResponse AWS API Documentation
|
1133
1142
|
#
|
1134
1143
|
class DescribeQueryResponse < Struct.new(
|
@@ -1136,7 +1145,9 @@ module Aws::CloudTrail
|
|
1136
1145
|
:query_string,
|
1137
1146
|
:query_status,
|
1138
1147
|
:query_statistics,
|
1139
|
-
:error_message
|
1148
|
+
:error_message,
|
1149
|
+
:delivery_s3_uri,
|
1150
|
+
:delivery_status)
|
1140
1151
|
SENSITIVE = []
|
1141
1152
|
include Aws::Structure
|
1142
1153
|
end
|
@@ -1218,13 +1229,13 @@ module Aws::CloudTrail
|
|
1218
1229
|
# events.
|
1219
1230
|
#
|
1220
1231
|
# @!attribute [rw] type
|
1221
|
-
# The type of
|
1222
|
-
# `AWS_SERVICE`.
|
1232
|
+
# The type of destination for events arriving from a channel. For
|
1233
|
+
# service-linked channels, the value is `AWS_SERVICE`.
|
1223
1234
|
# @return [String]
|
1224
1235
|
#
|
1225
1236
|
# @!attribute [rw] location
|
1226
|
-
#
|
1227
|
-
#
|
1237
|
+
# For service-linked channels, the value is the name of the Amazon Web
|
1238
|
+
# Services service.
|
1228
1239
|
# @return [String]
|
1229
1240
|
#
|
1230
1241
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Destination AWS API Documentation
|
@@ -1515,8 +1526,7 @@ module Aws::CloudTrail
|
|
1515
1526
|
# }
|
1516
1527
|
#
|
1517
1528
|
# @!attribute [rw] channel
|
1518
|
-
# The
|
1519
|
-
# channel.
|
1529
|
+
# The ARN or `UUID` of a channel.
|
1520
1530
|
# @return [String]
|
1521
1531
|
#
|
1522
1532
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetChannelRequest AWS API Documentation
|
@@ -1528,32 +1538,30 @@ module Aws::CloudTrail
|
|
1528
1538
|
end
|
1529
1539
|
|
1530
1540
|
# @!attribute [rw] channel_arn
|
1531
|
-
# The ARN of
|
1541
|
+
# The ARN of an channel returned by a `GetChannel` request.
|
1532
1542
|
# @return [String]
|
1533
1543
|
#
|
1534
1544
|
# @!attribute [rw] name
|
1535
|
-
# The name of the CloudTrail service-linked
|
1536
|
-
# service-
|
1537
|
-
# `aws-service-channel/service-name/custom-suffix` where
|
1545
|
+
# The name of the CloudTrail channel. For service-linked channels, the
|
1546
|
+
# value is `aws-service-channel/service-name/custom-suffix` where
|
1538
1547
|
# `service-name` represents the name of the Amazon Web Services
|
1539
1548
|
# service that created the channel and `custom-suffix` represents the
|
1540
1549
|
# suffix generated by the Amazon Web Services service.
|
1541
1550
|
# @return [String]
|
1542
1551
|
#
|
1543
1552
|
# @!attribute [rw] source
|
1544
|
-
# The
|
1545
|
-
# channel.
|
1553
|
+
# The event source for the CloudTrail channel.
|
1546
1554
|
# @return [String]
|
1547
1555
|
#
|
1548
1556
|
# @!attribute [rw] source_config
|
1549
1557
|
# Provides information about the advanced event selectors configured
|
1550
|
-
# for the
|
1551
|
-
#
|
1558
|
+
# for the channel, and whether the channel applies to all regions or a
|
1559
|
+
# single region.
|
1552
1560
|
# @return [Types::SourceConfig]
|
1553
1561
|
#
|
1554
1562
|
# @!attribute [rw] destinations
|
1555
|
-
# The Amazon Web Services service that created the
|
1556
|
-
#
|
1563
|
+
# The Amazon Web Services service that created the service-linked
|
1564
|
+
# channel.
|
1557
1565
|
# @return [Array<Types::Destination>]
|
1558
1566
|
#
|
1559
1567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetChannelResponse AWS API Documentation
|
@@ -1733,7 +1741,7 @@ module Aws::CloudTrail
|
|
1733
1741
|
# @return [String]
|
1734
1742
|
#
|
1735
1743
|
# @!attribute [rw] destinations
|
1736
|
-
# The destination event data store.
|
1744
|
+
# The ARN of the destination event data store.
|
1737
1745
|
# @return [Array<String>]
|
1738
1746
|
#
|
1739
1747
|
# @!attribute [rw] import_source
|
@@ -1765,7 +1773,11 @@ module Aws::CloudTrail
|
|
1765
1773
|
# @return [Time]
|
1766
1774
|
#
|
1767
1775
|
# @!attribute [rw] import_statistics
|
1768
|
-
# Provides statistics for the import.
|
1776
|
+
# Provides statistics for the import. CloudTrail does not update
|
1777
|
+
# import statistics in real-time. Returned values for parameters such
|
1778
|
+
# as `EventsCompleted` may be lower than the actual value, because
|
1779
|
+
# CloudTrail updates statistics incrementally over the course of the
|
1780
|
+
# import.
|
1769
1781
|
# @return [Types::ImportStatistics]
|
1770
1782
|
#
|
1771
1783
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetImportResponse AWS API Documentation
|
@@ -2174,7 +2186,11 @@ module Aws::CloudTrail
|
|
2174
2186
|
include Aws::Structure
|
2175
2187
|
end
|
2176
2188
|
|
2177
|
-
# Provides statistics for the specified `ImportID`.
|
2189
|
+
# Provides statistics for the specified `ImportID`. CloudTrail does not
|
2190
|
+
# update import statistics in real-time. Returned values for parameters
|
2191
|
+
# such as `EventsCompleted` may be lower than the actual value, because
|
2192
|
+
# CloudTrail updates statistics incrementally over the course of the
|
2193
|
+
# import.
|
2178
2194
|
#
|
2179
2195
|
# @!attribute [rw] prefixes_found
|
2180
2196
|
# The number of S3 prefixes found for the import.
|
@@ -2185,11 +2201,11 @@ module Aws::CloudTrail
|
|
2185
2201
|
# @return [Integer]
|
2186
2202
|
#
|
2187
2203
|
# @!attribute [rw] files_completed
|
2188
|
-
# The number of files that completed import.
|
2204
|
+
# The number of log files that completed import.
|
2189
2205
|
# @return [Integer]
|
2190
2206
|
#
|
2191
2207
|
# @!attribute [rw] events_completed
|
2192
|
-
# The number of trail events imported.
|
2208
|
+
# The number of trail events imported into the event data store.
|
2193
2209
|
# @return [Integer]
|
2194
2210
|
#
|
2195
2211
|
# @!attribute [rw] failed_entries
|
@@ -2220,7 +2236,7 @@ module Aws::CloudTrail
|
|
2220
2236
|
# @return [String]
|
2221
2237
|
#
|
2222
2238
|
# @!attribute [rw] destinations
|
2223
|
-
# The destination event data store.
|
2239
|
+
# The ARN of the destination event data store.
|
2224
2240
|
# @return [Array<String>]
|
2225
2241
|
#
|
2226
2242
|
# @!attribute [rw] created_timestamp
|
@@ -2297,7 +2313,7 @@ module Aws::CloudTrail
|
|
2297
2313
|
class InsufficientDependencyServiceAccessPermissionException < Aws::EmptyStructure; end
|
2298
2314
|
|
2299
2315
|
# This exception is thrown when the policy on the S3 bucket or KMS key
|
2300
|
-
#
|
2316
|
+
# does not have sufficient permissions for the operation.
|
2301
2317
|
#
|
2302
2318
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InsufficientEncryptionPolicyException AWS API Documentation
|
2303
2319
|
#
|
@@ -2350,8 +2366,8 @@ module Aws::CloudTrail
|
|
2350
2366
|
#
|
2351
2367
|
class InvalidEventCategoryException < Aws::EmptyStructure; end
|
2352
2368
|
|
2353
|
-
# This exception is thrown when
|
2354
|
-
#
|
2369
|
+
# This exception is thrown when event categories of specified event data
|
2370
|
+
# stores are not valid.
|
2355
2371
|
#
|
2356
2372
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidEventDataStoreCategoryException AWS API Documentation
|
2357
2373
|
#
|
@@ -2570,7 +2586,12 @@ module Aws::CloudTrail
|
|
2570
2586
|
# @return [Integer]
|
2571
2587
|
#
|
2572
2588
|
# @!attribute [rw] next_token
|
2573
|
-
#
|
2589
|
+
# The token to use to get the next page of results after a previous
|
2590
|
+
# API call. This token must be passed in with the same parameters that
|
2591
|
+
# were specified in the original call. For example, if the original
|
2592
|
+
# call specified an AttributeKey of 'Username' with a value of
|
2593
|
+
# 'root', the call with NextToken should include those same
|
2594
|
+
# parameters.
|
2574
2595
|
# @return [String]
|
2575
2596
|
#
|
2576
2597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListChannelsRequest AWS API Documentation
|
@@ -2583,11 +2604,12 @@ module Aws::CloudTrail
|
|
2583
2604
|
end
|
2584
2605
|
|
2585
2606
|
# @!attribute [rw] channels
|
2586
|
-
# The list of
|
2607
|
+
# The list of channels in the account.
|
2587
2608
|
# @return [Array<Types::Channel>]
|
2588
2609
|
#
|
2589
2610
|
# @!attribute [rw] next_token
|
2590
|
-
#
|
2611
|
+
# The token to use to get the next page of results after a previous
|
2612
|
+
# API call.
|
2591
2613
|
# @return [String]
|
2592
2614
|
#
|
2593
2615
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListChannelsResponse AWS API Documentation
|
@@ -2706,7 +2728,7 @@ module Aws::CloudTrail
|
|
2706
2728
|
# @return [Integer]
|
2707
2729
|
#
|
2708
2730
|
# @!attribute [rw] destination
|
2709
|
-
# The destination event data store.
|
2731
|
+
# The ARN of the destination event data store.
|
2710
2732
|
# @return [String]
|
2711
2733
|
#
|
2712
2734
|
# @!attribute [rw] import_status
|
@@ -3674,16 +3696,15 @@ module Aws::CloudTrail
|
|
3674
3696
|
include Aws::Structure
|
3675
3697
|
end
|
3676
3698
|
|
3677
|
-
# Contains configuration information about the
|
3699
|
+
# Contains configuration information about the channel.
|
3678
3700
|
#
|
3679
3701
|
# @!attribute [rw] apply_to_all_regions
|
3680
|
-
# Specifies whether the
|
3681
|
-
#
|
3702
|
+
# Specifies whether the channel applies to a single region or to all
|
3703
|
+
# regions.
|
3682
3704
|
# @return [Boolean]
|
3683
3705
|
#
|
3684
3706
|
# @!attribute [rw] advanced_event_selectors
|
3685
|
-
# The advanced event selectors configured for the
|
3686
|
-
# channel.
|
3707
|
+
# The advanced event selectors that are configured for the channel.
|
3687
3708
|
# @return [Array<Types::AdvancedEventSelector>]
|
3688
3709
|
#
|
3689
3710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/SourceConfig AWS API Documentation
|
@@ -3713,8 +3734,8 @@ module Aws::CloudTrail
|
|
3713
3734
|
# }
|
3714
3735
|
#
|
3715
3736
|
# @!attribute [rw] destinations
|
3716
|
-
# The destination event data store. Use this parameter for
|
3717
|
-
# import.
|
3737
|
+
# The ARN of the destination event data store. Use this parameter for
|
3738
|
+
# a new import.
|
3718
3739
|
# @return [Array<String>]
|
3719
3740
|
#
|
3720
3741
|
# @!attribute [rw] import_source
|
@@ -3725,13 +3746,19 @@ module Aws::CloudTrail
|
|
3725
3746
|
# @!attribute [rw] start_event_time
|
3726
3747
|
# Use with `EndEventTime` to bound a `StartImport` request, and limit
|
3727
3748
|
# imported trail events to only those events logged within a specified
|
3728
|
-
# time period.
|
3749
|
+
# time period. When you specify a time range, CloudTrail checks the
|
3750
|
+
# prefix and log file names to verify the names contain a date between
|
3751
|
+
# the specified `StartEventTime` and `EndEventTime` before attempting
|
3752
|
+
# to import events.
|
3729
3753
|
# @return [Time]
|
3730
3754
|
#
|
3731
3755
|
# @!attribute [rw] end_event_time
|
3732
3756
|
# Use with `StartEventTime` to bound a `StartImport` request, and
|
3733
3757
|
# limit imported trail events to only those events logged within a
|
3734
|
-
# specified time period.
|
3758
|
+
# specified time period. When you specify a time range, CloudTrail
|
3759
|
+
# checks the prefix and log file names to verify the names contain a
|
3760
|
+
# date between the specified `StartEventTime` and `EndEventTime`
|
3761
|
+
# before attempting to import events.
|
3735
3762
|
# @return [Time]
|
3736
3763
|
#
|
3737
3764
|
# @!attribute [rw] import_id
|
@@ -3756,11 +3783,11 @@ module Aws::CloudTrail
|
|
3756
3783
|
# @return [String]
|
3757
3784
|
#
|
3758
3785
|
# @!attribute [rw] destinations
|
3759
|
-
# The destination event data store.
|
3786
|
+
# The ARN of the destination event data store.
|
3760
3787
|
# @return [Array<String>]
|
3761
3788
|
#
|
3762
3789
|
# @!attribute [rw] import_source
|
3763
|
-
# The source S3 bucket.
|
3790
|
+
# The source S3 bucket for the import.
|
3764
3791
|
# @return [Types::ImportSource]
|
3765
3792
|
#
|
3766
3793
|
# @!attribute [rw] start_event_time
|
@@ -3842,16 +3869,23 @@ module Aws::CloudTrail
|
|
3842
3869
|
#
|
3843
3870
|
# {
|
3844
3871
|
# query_statement: "QueryStatement", # required
|
3872
|
+
# delivery_s3_uri: "DeliveryS3Uri",
|
3845
3873
|
# }
|
3846
3874
|
#
|
3847
3875
|
# @!attribute [rw] query_statement
|
3848
3876
|
# The SQL code of your query.
|
3849
3877
|
# @return [String]
|
3850
3878
|
#
|
3879
|
+
# @!attribute [rw] delivery_s3_uri
|
3880
|
+
# The URI for the S3 bucket where CloudTrail delivers the query
|
3881
|
+
# results.
|
3882
|
+
# @return [String]
|
3883
|
+
#
|
3851
3884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartQueryRequest AWS API Documentation
|
3852
3885
|
#
|
3853
3886
|
class StartQueryRequest < Struct.new(
|
3854
|
-
:query_statement
|
3887
|
+
:query_statement,
|
3888
|
+
:delivery_s3_uri)
|
3855
3889
|
SENSITIVE = []
|
3856
3890
|
include Aws::Structure
|
3857
3891
|
end
|
@@ -3892,11 +3926,11 @@ module Aws::CloudTrail
|
|
3892
3926
|
# @return [String]
|
3893
3927
|
#
|
3894
3928
|
# @!attribute [rw] import_source
|
3895
|
-
# The source S3 bucket.
|
3929
|
+
# The source S3 bucket for the import.
|
3896
3930
|
# @return [Types::ImportSource]
|
3897
3931
|
#
|
3898
3932
|
# @!attribute [rw] destinations
|
3899
|
-
# The destination event data store.
|
3933
|
+
# The ARN of the destination event data store.
|
3900
3934
|
# @return [Array<String>]
|
3901
3935
|
#
|
3902
3936
|
# @!attribute [rw] import_status
|
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.52.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-
|
11
|
+
date: 2022-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|