aws-sdk-cloudtrail 1.51.0 → 1.53.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 the channel.
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
- # The specified channel ARN is not valid or does not map to a channel in
397
- # your account.
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 "alias/", a
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 logs delivered by
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 availble through *advanced*
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 service. For service-linked channels, the value is
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
- # The location of the service. For service-linked channels, this is
1227
- # the name of the Amazon Web Services service.
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 Amazon Resource Name (ARN) of the CloudTrail service-linked
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 the CloudTrail service-linked channel.
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 channel. For
1536
- # service-linked channels, the value is
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 trail or event data store for the CloudTrail service-linked
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 service-linked channel, and whether the service-linked
1551
- # channel applies to all regions or one region.
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 CloudTrail
1556
- # service-linked channel.
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
- # is not sufficient.
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 the event data store category is not
2354
- # valid for the import.
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
- # A token you can use to get the next page of results.
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 CloudTrail channels.
2607
+ # The list of channels in the account.
2587
2608
  # @return [Array<Types::Channel>]
2588
2609
  #
2589
2610
  # @!attribute [rw] next_token
2590
- # A token used to get the next page of results.
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 service-linked channel.
3699
+ # Contains configuration information about the channel.
3678
3700
  #
3679
3701
  # @!attribute [rw] apply_to_all_regions
3680
- # Specifies whether the service-linked channel applies to one region
3681
- # or all regions.
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 service-linked
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 a new
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
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-cloudtrail/types'
15
15
  require_relative 'aws-sdk-cloudtrail/client_api'
16
+ require_relative 'aws-sdk-cloudtrail/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-cloudtrail/client'
17
18
  require_relative 'aws-sdk-cloudtrail/errors'
18
19
  require_relative 'aws-sdk-cloudtrail/resource'
20
+ require_relative 'aws-sdk-cloudtrail/endpoint_parameters'
21
+ require_relative 'aws-sdk-cloudtrail/endpoint_provider'
22
+ require_relative 'aws-sdk-cloudtrail/endpoints'
19
23
  require_relative 'aws-sdk-cloudtrail/customizations'
20
24
 
21
25
  # This module provides support for AWS CloudTrail. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-cloudtrail/customizations'
48
52
  # @!group service
49
53
  module Aws::CloudTrail
50
54
 
51
- GEM_VERSION = '1.51.0'
55
+ GEM_VERSION = '1.53.0'
52
56
 
53
57
  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.51.0
4
+ version: 1.53.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-09-19 00:00:00.000000000 Z
11
+ date: 2022-10-25 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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-cloudtrail/client.rb
60
60
  - lib/aws-sdk-cloudtrail/client_api.rb
61
61
  - lib/aws-sdk-cloudtrail/customizations.rb
62
+ - lib/aws-sdk-cloudtrail/endpoint_parameters.rb
63
+ - lib/aws-sdk-cloudtrail/endpoint_provider.rb
64
+ - lib/aws-sdk-cloudtrail/endpoints.rb
62
65
  - lib/aws-sdk-cloudtrail/errors.rb
66
+ - lib/aws-sdk-cloudtrail/plugins/endpoints.rb
63
67
  - lib/aws-sdk-cloudtrail/resource.rb
64
68
  - lib/aws-sdk-cloudtrail/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby