aws-sdk-cloudtrail 1.0.0.rc2 → 1.0.0.rc3
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/lib/aws-sdk-cloudtrail.rb +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +45 -14
- data/lib/aws-sdk-cloudtrail/types.rb +92 -19
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7ba278e1fe0eb554bf86f3f91a8bc8263c7e396
|
4
|
+
data.tar.gz: 6456dc29c146d4277dc603e857e31dea6605438a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e96b7ea6a865e52104f3280e2b3186b9b963210f5d9eafb920fe8042e3201f7f9e98d1b3d7d6164d98c6768b86972896ac1aa10ab7240517b640de64502ac6fe
|
7
|
+
data.tar.gz: 04cf8a5793084a158be9a61e2fbaa646eb16b0aed1694bed7eae82c47022c53b1f089351ece0fc71f02f4f6348f729752415afecf882808aea1fb98a75f20b73
|
data/lib/aws-sdk-cloudtrail.rb
CHANGED
@@ -183,6 +183,8 @@ module Aws::CloudTrail
|
|
183
183
|
# ],
|
184
184
|
# })
|
185
185
|
#
|
186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTags AWS API Documentation
|
187
|
+
#
|
186
188
|
# @overload add_tags(params = {})
|
187
189
|
# @param [Hash] params ({})
|
188
190
|
def add_tags(params = {}, options = {})
|
@@ -268,7 +270,7 @@ module Aws::CloudTrail
|
|
268
270
|
#
|
269
271
|
# @option params [String] :kms_key_id
|
270
272
|
# Specifies the KMS key ID to use to encrypt the logs delivered by
|
271
|
-
# CloudTrail. The value can be
|
273
|
+
# CloudTrail. The value can be an alias name prefixed by "alias/", a
|
272
274
|
# fully specified ARN to an alias, a fully specified ARN to a key, or a
|
273
275
|
# globally unique identifier.
|
274
276
|
#
|
@@ -327,6 +329,8 @@ module Aws::CloudTrail
|
|
327
329
|
# resp.cloud_watch_logs_role_arn #=> String
|
328
330
|
# resp.kms_key_id #=> String
|
329
331
|
#
|
332
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrail AWS API Documentation
|
333
|
+
#
|
330
334
|
# @overload create_trail(params = {})
|
331
335
|
# @param [Hash] params ({})
|
332
336
|
def create_trail(params = {}, options = {})
|
@@ -352,6 +356,8 @@ module Aws::CloudTrail
|
|
352
356
|
# name: "String", # required
|
353
357
|
# })
|
354
358
|
#
|
359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrail AWS API Documentation
|
360
|
+
#
|
355
361
|
# @overload delete_trail(params = {})
|
356
362
|
# @param [Hash] params ({})
|
357
363
|
def delete_trail(params = {}, options = {})
|
@@ -419,6 +425,8 @@ module Aws::CloudTrail
|
|
419
425
|
# resp.trail_list[0].kms_key_id #=> String
|
420
426
|
# resp.trail_list[0].has_custom_event_selectors #=> Boolean
|
421
427
|
#
|
428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrails AWS API Documentation
|
429
|
+
#
|
422
430
|
# @overload describe_trails(params = {})
|
423
431
|
# @param [Hash] params ({})
|
424
432
|
def describe_trails(params = {}, options = {})
|
@@ -437,12 +445,12 @@ module Aws::CloudTrail
|
|
437
445
|
# * If your event selector includes read-only events, write-only events,
|
438
446
|
# or all.
|
439
447
|
#
|
440
|
-
# For more information, see [
|
441
|
-
# in the *AWS CloudTrail User Guide*.
|
448
|
+
# For more information, see [Logging Data and Management Events for
|
449
|
+
# Trails ][1] in the *AWS CloudTrail User Guide*.
|
442
450
|
#
|
443
451
|
#
|
444
452
|
#
|
445
|
-
# [1]: http://docs.aws.amazon.com/awscloudtrail/latest/userguide/
|
453
|
+
# [1]: http://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html
|
446
454
|
#
|
447
455
|
# @option params [String] :trail_name
|
448
456
|
# Specifies the name of the trail or trail ARN. If you specify a trail
|
@@ -486,6 +494,8 @@ module Aws::CloudTrail
|
|
486
494
|
# resp.event_selectors[0].data_resources[0].values #=> Array
|
487
495
|
# resp.event_selectors[0].data_resources[0].values[0] #=> String
|
488
496
|
#
|
497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors AWS API Documentation
|
498
|
+
#
|
489
499
|
# @overload get_event_selectors(params = {})
|
490
500
|
# @param [Hash] params ({})
|
491
501
|
def get_event_selectors(params = {}, options = {})
|
@@ -554,6 +564,8 @@ module Aws::CloudTrail
|
|
554
564
|
# resp.time_logging_started #=> String
|
555
565
|
# resp.time_logging_stopped #=> String
|
556
566
|
#
|
567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatus AWS API Documentation
|
568
|
+
#
|
557
569
|
# @overload get_trail_status(params = {})
|
558
570
|
# @param [Hash] params ({})
|
559
571
|
def get_trail_status(params = {}, options = {})
|
@@ -608,6 +620,8 @@ module Aws::CloudTrail
|
|
608
620
|
# resp.public_key_list[0].fingerprint #=> String
|
609
621
|
# resp.next_token #=> String
|
610
622
|
#
|
623
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeys AWS API Documentation
|
624
|
+
#
|
611
625
|
# @overload list_public_keys(params = {})
|
612
626
|
# @param [Hash] params ({})
|
613
627
|
def list_public_keys(params = {}, options = {})
|
@@ -647,6 +661,8 @@ module Aws::CloudTrail
|
|
647
661
|
# resp.resource_tag_list[0].tags_list[0].value #=> String
|
648
662
|
# resp.next_token #=> String
|
649
663
|
#
|
664
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTags AWS API Documentation
|
665
|
+
#
|
650
666
|
# @overload list_tags(params = {})
|
651
667
|
# @param [Hash] params ({})
|
652
668
|
def list_tags(params = {}, options = {})
|
@@ -664,6 +680,8 @@ module Aws::CloudTrail
|
|
664
680
|
#
|
665
681
|
# * Event name
|
666
682
|
#
|
683
|
+
# * Event source
|
684
|
+
#
|
667
685
|
# * Resource name
|
668
686
|
#
|
669
687
|
# * Resource type
|
@@ -740,6 +758,8 @@ module Aws::CloudTrail
|
|
740
758
|
# resp.events[0].cloud_trail_event #=> String
|
741
759
|
# resp.next_token #=> String
|
742
760
|
#
|
761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEvents AWS API Documentation
|
762
|
+
#
|
743
763
|
# @overload lookup_events(params = {})
|
744
764
|
# @param [Hash] params ({})
|
745
765
|
def lookup_events(params = {}, options = {})
|
@@ -748,11 +768,12 @@ module Aws::CloudTrail
|
|
748
768
|
end
|
749
769
|
|
750
770
|
# Configures an event selector for your trail. Use event selectors to
|
751
|
-
# specify
|
752
|
-
# event occurs in your account, CloudTrail evaluates the
|
753
|
-
# in all trails. For each trail, if the event matches
|
754
|
-
# selector, the trail processes and logs the event. If the
|
755
|
-
# doesn't match any event selector, the trail doesn't log the
|
771
|
+
# specify whether you want your trail to log management and/or data
|
772
|
+
# events. When an event occurs in your account, CloudTrail evaluates the
|
773
|
+
# event selectors in all trails. For each trail, if the event matches
|
774
|
+
# any event selector, the trail processes and logs the event. If the
|
775
|
+
# event doesn't match any event selector, the trail doesn't log the
|
776
|
+
# event.
|
756
777
|
#
|
757
778
|
# Example
|
758
779
|
#
|
@@ -776,12 +797,12 @@ module Aws::CloudTrail
|
|
776
797
|
# `InvalidHomeRegionException` is thrown.
|
777
798
|
#
|
778
799
|
# You can configure up to five event selectors for each trail. For more
|
779
|
-
# information, see [
|
780
|
-
# *AWS CloudTrail User Guide*.
|
800
|
+
# information, see [Logging Data and Management Events for Trails ][1]
|
801
|
+
# in the *AWS CloudTrail User Guide*.
|
781
802
|
#
|
782
803
|
#
|
783
804
|
#
|
784
|
-
# [1]: http://docs.aws.amazon.com/awscloudtrail/latest/userguide/
|
805
|
+
# [1]: http://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html
|
785
806
|
#
|
786
807
|
# @option params [String] :trail_name
|
787
808
|
# Specifies the name of the trail or trail ARN. If you specify a trail
|
@@ -841,6 +862,8 @@ module Aws::CloudTrail
|
|
841
862
|
# resp.event_selectors[0].data_resources[0].values #=> Array
|
842
863
|
# resp.event_selectors[0].data_resources[0].values[0] #=> String
|
843
864
|
#
|
865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors AWS API Documentation
|
866
|
+
#
|
844
867
|
# @overload put_event_selectors(params = {})
|
845
868
|
# @param [Hash] params ({})
|
846
869
|
def put_event_selectors(params = {}, options = {})
|
@@ -873,6 +896,8 @@ module Aws::CloudTrail
|
|
873
896
|
# ],
|
874
897
|
# })
|
875
898
|
#
|
899
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTags AWS API Documentation
|
900
|
+
#
|
876
901
|
# @overload remove_tags(params = {})
|
877
902
|
# @param [Hash] params ({})
|
878
903
|
def remove_tags(params = {}, options = {})
|
@@ -900,6 +925,8 @@ module Aws::CloudTrail
|
|
900
925
|
# name: "String", # required
|
901
926
|
# })
|
902
927
|
#
|
928
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLogging AWS API Documentation
|
929
|
+
#
|
903
930
|
# @overload start_logging(params = {})
|
904
931
|
# @param [Hash] params ({})
|
905
932
|
def start_logging(params = {}, options = {})
|
@@ -931,6 +958,8 @@ module Aws::CloudTrail
|
|
931
958
|
# name: "String", # required
|
932
959
|
# })
|
933
960
|
#
|
961
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLogging AWS API Documentation
|
962
|
+
#
|
934
963
|
# @overload stop_logging(params = {})
|
935
964
|
# @param [Hash] params ({})
|
936
965
|
def stop_logging(params = {}, options = {})
|
@@ -1029,7 +1058,7 @@ module Aws::CloudTrail
|
|
1029
1058
|
#
|
1030
1059
|
# @option params [String] :kms_key_id
|
1031
1060
|
# Specifies the KMS key ID to use to encrypt the logs delivered by
|
1032
|
-
# CloudTrail. The value can be
|
1061
|
+
# CloudTrail. The value can be an alias name prefixed by "alias/", a
|
1033
1062
|
# fully specified ARN to an alias, a fully specified ARN to a key, or a
|
1034
1063
|
# globally unique identifier.
|
1035
1064
|
#
|
@@ -1088,6 +1117,8 @@ module Aws::CloudTrail
|
|
1088
1117
|
# resp.cloud_watch_logs_role_arn #=> String
|
1089
1118
|
# resp.kms_key_id #=> String
|
1090
1119
|
#
|
1120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrail AWS API Documentation
|
1121
|
+
#
|
1091
1122
|
# @overload update_trail(params = {})
|
1092
1123
|
# @param [Hash] params ({})
|
1093
1124
|
def update_trail(params = {}, options = {})
|
@@ -1108,7 +1139,7 @@ module Aws::CloudTrail
|
|
1108
1139
|
params: params,
|
1109
1140
|
config: config)
|
1110
1141
|
context[:gem_name] = 'aws-sdk-cloudtrail'
|
1111
|
-
context[:gem_version] = '1.0.0.
|
1142
|
+
context[:gem_version] = '1.0.0.rc3'
|
1112
1143
|
Seahorse::Client::Request.new(handlers, context)
|
1113
1144
|
end
|
1114
1145
|
|
@@ -34,6 +34,8 @@ module Aws::CloudTrail
|
|
34
34
|
# Contains a list of CloudTrail tags, up to a limit of 50
|
35
35
|
# @return [Array<Types::Tag>]
|
36
36
|
#
|
37
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTagsRequest AWS API Documentation
|
38
|
+
#
|
37
39
|
class AddTagsRequest < Struct.new(
|
38
40
|
:resource_id,
|
39
41
|
:tags_list)
|
@@ -43,6 +45,8 @@ module Aws::CloudTrail
|
|
43
45
|
# Returns the objects or data listed below if successful. Otherwise,
|
44
46
|
# returns an error.
|
45
47
|
#
|
48
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTagsResponse AWS API Documentation
|
49
|
+
#
|
46
50
|
class AddTagsResponse < Aws::EmptyStructure; end
|
47
51
|
|
48
52
|
# Specifies the settings for each trail.
|
@@ -146,9 +150,9 @@ module Aws::CloudTrail
|
|
146
150
|
#
|
147
151
|
# @!attribute [rw] kms_key_id
|
148
152
|
# Specifies the KMS key ID to use to encrypt the logs delivered by
|
149
|
-
# CloudTrail. The value can be
|
150
|
-
#
|
151
|
-
#
|
153
|
+
# CloudTrail. The value can be an alias name prefixed by "alias/", a
|
154
|
+
# fully specified ARN to an alias, a fully specified ARN to a key, or
|
155
|
+
# a globally unique identifier.
|
152
156
|
#
|
153
157
|
# Examples:
|
154
158
|
#
|
@@ -161,6 +165,8 @@ module Aws::CloudTrail
|
|
161
165
|
# * 12345678-1234-1234-1234-123456789012
|
162
166
|
# @return [String]
|
163
167
|
#
|
168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrailRequest AWS API Documentation
|
169
|
+
#
|
164
170
|
class CreateTrailRequest < Struct.new(
|
165
171
|
:name,
|
166
172
|
:s3_bucket_name,
|
@@ -247,6 +253,8 @@ module Aws::CloudTrail
|
|
247
253
|
# `arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012`
|
248
254
|
# @return [String]
|
249
255
|
#
|
256
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrailResponse AWS API Documentation
|
257
|
+
#
|
250
258
|
class CreateTrailResponse < Struct.new(
|
251
259
|
:name,
|
252
260
|
:s3_bucket_name,
|
@@ -264,10 +272,10 @@ module Aws::CloudTrail
|
|
264
272
|
end
|
265
273
|
|
266
274
|
# The Amazon S3 objects that you specify in your event selectors for
|
267
|
-
# your trail to log data events. Data events are object
|
275
|
+
# your trail to log data events. Data events are object-level API
|
268
276
|
# operations that access S3 objects, such as `GetObject`,
|
269
|
-
# `DeleteObject`, and `PutObject`. You can specify up to
|
270
|
-
# and object prefixes for
|
277
|
+
# `DeleteObject`, and `PutObject`. You can specify up to 250 S3 buckets
|
278
|
+
# and object prefixes for a trail.
|
271
279
|
#
|
272
280
|
# Example
|
273
281
|
#
|
@@ -312,6 +320,8 @@ module Aws::CloudTrail
|
|
312
320
|
# prefix.
|
313
321
|
# @return [Array<String>]
|
314
322
|
#
|
323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DataResource AWS API Documentation
|
324
|
+
#
|
315
325
|
class DataResource < Struct.new(
|
316
326
|
:type,
|
317
327
|
:values)
|
@@ -333,6 +343,8 @@ module Aws::CloudTrail
|
|
333
343
|
# `arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail`
|
334
344
|
# @return [String]
|
335
345
|
#
|
346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrailRequest AWS API Documentation
|
347
|
+
#
|
336
348
|
class DeleteTrailRequest < Struct.new(
|
337
349
|
:name)
|
338
350
|
include Aws::Structure
|
@@ -341,6 +353,8 @@ module Aws::CloudTrail
|
|
341
353
|
# Returns the objects or data listed below if successful. Otherwise,
|
342
354
|
# returns an error.
|
343
355
|
#
|
356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrailResponse AWS API Documentation
|
357
|
+
#
|
344
358
|
class DeleteTrailResponse < Aws::EmptyStructure; end
|
345
359
|
|
346
360
|
# Returns information about the trail.
|
@@ -383,6 +397,8 @@ module Aws::CloudTrail
|
|
383
397
|
# a different region. The default is true.
|
384
398
|
# @return [Boolean]
|
385
399
|
#
|
400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrailsRequest AWS API Documentation
|
401
|
+
#
|
386
402
|
class DescribeTrailsRequest < Struct.new(
|
387
403
|
:trail_name_list,
|
388
404
|
:include_shadow_trails)
|
@@ -396,6 +412,8 @@ module Aws::CloudTrail
|
|
396
412
|
# The list of trail objects.
|
397
413
|
# @return [Array<Types::Trail>]
|
398
414
|
#
|
415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrailsResponse AWS API Documentation
|
416
|
+
#
|
399
417
|
class DescribeTrailsResponse < Struct.new(
|
400
418
|
:trail_list)
|
401
419
|
include Aws::Structure
|
@@ -433,6 +451,8 @@ module Aws::CloudTrail
|
|
433
451
|
# A JSON string that contains a representation of the event returned.
|
434
452
|
# @return [String]
|
435
453
|
#
|
454
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Event AWS API Documentation
|
455
|
+
#
|
436
456
|
class Event < Struct.new(
|
437
457
|
:event_id,
|
438
458
|
:event_name,
|
@@ -444,12 +464,12 @@ module Aws::CloudTrail
|
|
444
464
|
include Aws::Structure
|
445
465
|
end
|
446
466
|
|
447
|
-
# Use event selectors to specify
|
448
|
-
#
|
449
|
-
# evaluates the event selector for all trails. For each
|
450
|
-
# event matches any event selector, the trail processes
|
451
|
-
# event. If the event doesn't match any event selector,
|
452
|
-
# doesn't log the event.
|
467
|
+
# Use event selectors to specify whether you want your trail to log
|
468
|
+
# management and/or data events. When an event occurs in your account,
|
469
|
+
# CloudTrail evaluates the event selector for all trails. For each
|
470
|
+
# trail, if the event matches any event selector, the trail processes
|
471
|
+
# and logs the event. If the event doesn't match any event selector,
|
472
|
+
# the trail doesn't log the event.
|
453
473
|
#
|
454
474
|
# You can configure up to five event selectors for a trail.
|
455
475
|
#
|
@@ -487,22 +507,23 @@ module Aws::CloudTrail
|
|
487
507
|
#
|
488
508
|
#
|
489
509
|
#
|
490
|
-
# [1]: http://docs.aws.amazon.com/awscloudtrail/latest/userguide/
|
510
|
+
# [1]: http://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html#logging-management-events
|
491
511
|
# @return [Boolean]
|
492
512
|
#
|
493
513
|
# @!attribute [rw] data_resources
|
494
514
|
# CloudTrail supports logging only data events for S3 objects. You can
|
495
|
-
# specify up to
|
496
|
-
# selector.
|
515
|
+
# specify up to 250 S3 buckets and object prefixes for a trail.
|
497
516
|
#
|
498
517
|
# For more information, see [Data Events][1] in the *AWS CloudTrail
|
499
518
|
# User Guide*.
|
500
519
|
#
|
501
520
|
#
|
502
521
|
#
|
503
|
-
# [1]: http://docs.aws.amazon.com/awscloudtrail/latest/userguide/
|
522
|
+
# [1]: http://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html#logging-data-events
|
504
523
|
# @return [Array<Types::DataResource>]
|
505
524
|
#
|
525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/EventSelector AWS API Documentation
|
526
|
+
#
|
506
527
|
class EventSelector < Struct.new(
|
507
528
|
:read_write_type,
|
508
529
|
:include_management_events,
|
@@ -538,6 +559,8 @@ module Aws::CloudTrail
|
|
538
559
|
# `arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail`
|
539
560
|
# @return [String]
|
540
561
|
#
|
562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsRequest AWS API Documentation
|
563
|
+
#
|
541
564
|
class GetEventSelectorsRequest < Struct.new(
|
542
565
|
:trail_name)
|
543
566
|
include Aws::Structure
|
@@ -551,6 +574,8 @@ module Aws::CloudTrail
|
|
551
574
|
# The event selectors that are configured for the trail.
|
552
575
|
# @return [Array<Types::EventSelector>]
|
553
576
|
#
|
577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsResponse AWS API Documentation
|
578
|
+
#
|
554
579
|
class GetEventSelectorsResponse < Struct.new(
|
555
580
|
:trail_arn,
|
556
581
|
:event_selectors)
|
@@ -575,6 +600,8 @@ module Aws::CloudTrail
|
|
575
600
|
# `arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail`
|
576
601
|
# @return [String]
|
577
602
|
#
|
603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatusRequest AWS API Documentation
|
604
|
+
#
|
578
605
|
class GetTrailStatusRequest < Struct.new(
|
579
606
|
:name)
|
580
607
|
include Aws::Structure
|
@@ -695,6 +722,8 @@ module Aws::CloudTrail
|
|
695
722
|
# This field is deprecated.
|
696
723
|
# @return [String]
|
697
724
|
#
|
725
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatusResponse AWS API Documentation
|
726
|
+
#
|
698
727
|
class GetTrailStatusResponse < Struct.new(
|
699
728
|
:is_logging,
|
700
729
|
:latest_delivery_error,
|
@@ -743,6 +772,8 @@ module Aws::CloudTrail
|
|
743
772
|
# Reserved for future use.
|
744
773
|
# @return [String]
|
745
774
|
#
|
775
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeysRequest AWS API Documentation
|
776
|
+
#
|
746
777
|
class ListPublicKeysRequest < Struct.new(
|
747
778
|
:start_time,
|
748
779
|
:end_time,
|
@@ -765,6 +796,8 @@ module Aws::CloudTrail
|
|
765
796
|
# Reserved for future use.
|
766
797
|
# @return [String]
|
767
798
|
#
|
799
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeysResponse AWS API Documentation
|
800
|
+
#
|
768
801
|
class ListPublicKeysResponse < Struct.new(
|
769
802
|
:public_key_list,
|
770
803
|
:next_token)
|
@@ -792,6 +825,8 @@ module Aws::CloudTrail
|
|
792
825
|
# Reserved for future use.
|
793
826
|
# @return [String]
|
794
827
|
#
|
828
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTagsRequest AWS API Documentation
|
829
|
+
#
|
795
830
|
class ListTagsRequest < Struct.new(
|
796
831
|
:resource_id_list,
|
797
832
|
:next_token)
|
@@ -809,6 +844,8 @@ module Aws::CloudTrail
|
|
809
844
|
# Reserved for future use.
|
810
845
|
# @return [String]
|
811
846
|
#
|
847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTagsResponse AWS API Documentation
|
848
|
+
#
|
812
849
|
class ListTagsResponse < Struct.new(
|
813
850
|
:resource_tag_list,
|
814
851
|
:next_token)
|
@@ -833,6 +870,8 @@ module Aws::CloudTrail
|
|
833
870
|
# Specifies a value for the specified AttributeKey.
|
834
871
|
# @return [String]
|
835
872
|
#
|
873
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupAttribute AWS API Documentation
|
874
|
+
#
|
836
875
|
class LookupAttribute < Struct.new(
|
837
876
|
:attribute_key,
|
838
877
|
:attribute_value)
|
@@ -888,6 +927,8 @@ module Aws::CloudTrail
|
|
888
927
|
# parameters.
|
889
928
|
# @return [String]
|
890
929
|
#
|
930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEventsRequest AWS API Documentation
|
931
|
+
#
|
891
932
|
class LookupEventsRequest < Struct.new(
|
892
933
|
:lookup_attributes,
|
893
934
|
:start_time,
|
@@ -914,6 +955,8 @@ module Aws::CloudTrail
|
|
914
955
|
# NextToken should include those same parameters.
|
915
956
|
# @return [String]
|
916
957
|
#
|
958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEventsResponse AWS API Documentation
|
959
|
+
#
|
917
960
|
class LookupEventsResponse < Struct.new(
|
918
961
|
:events,
|
919
962
|
:next_token)
|
@@ -938,6 +981,8 @@ module Aws::CloudTrail
|
|
938
981
|
# The fingerprint of the public key.
|
939
982
|
# @return [String]
|
940
983
|
#
|
984
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PublicKey AWS API Documentation
|
985
|
+
#
|
941
986
|
class PublicKey < Struct.new(
|
942
987
|
:value,
|
943
988
|
:validity_start_time,
|
@@ -991,6 +1036,8 @@ module Aws::CloudTrail
|
|
991
1036
|
# up to five event selectors for a trail.
|
992
1037
|
# @return [Array<Types::EventSelector>]
|
993
1038
|
#
|
1039
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsRequest AWS API Documentation
|
1040
|
+
#
|
994
1041
|
class PutEventSelectorsRequest < Struct.new(
|
995
1042
|
:trail_name,
|
996
1043
|
:event_selectors)
|
@@ -1008,6 +1055,8 @@ module Aws::CloudTrail
|
|
1008
1055
|
# Specifies the event selectors configured for your trail.
|
1009
1056
|
# @return [Array<Types::EventSelector>]
|
1010
1057
|
#
|
1058
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsResponse AWS API Documentation
|
1059
|
+
#
|
1011
1060
|
class PutEventSelectorsResponse < Struct.new(
|
1012
1061
|
:trail_arn,
|
1013
1062
|
:event_selectors)
|
@@ -1040,6 +1089,8 @@ module Aws::CloudTrail
|
|
1040
1089
|
# Specifies a list of tags to be removed.
|
1041
1090
|
# @return [Array<Types::Tag>]
|
1042
1091
|
#
|
1092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTagsRequest AWS API Documentation
|
1093
|
+
#
|
1043
1094
|
class RemoveTagsRequest < Struct.new(
|
1044
1095
|
:resource_id,
|
1045
1096
|
:tags_list)
|
@@ -1049,6 +1100,8 @@ module Aws::CloudTrail
|
|
1049
1100
|
# Returns the objects or data listed below if successful. Otherwise,
|
1050
1101
|
# returns an error.
|
1051
1102
|
#
|
1103
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTagsResponse AWS API Documentation
|
1104
|
+
#
|
1052
1105
|
class RemoveTagsResponse < Aws::EmptyStructure; end
|
1053
1106
|
|
1054
1107
|
# Specifies the type and name of a resource referenced by an event.
|
@@ -1073,6 +1126,8 @@ module Aws::CloudTrail
|
|
1073
1126
|
# an Auto Scaling Group or "i-1234567" for an EC2 Instance.
|
1074
1127
|
# @return [String]
|
1075
1128
|
#
|
1129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Resource AWS API Documentation
|
1130
|
+
#
|
1076
1131
|
class Resource < Struct.new(
|
1077
1132
|
:resource_type,
|
1078
1133
|
:resource_name)
|
@@ -1089,6 +1144,8 @@ module Aws::CloudTrail
|
|
1089
1144
|
# A list of tags.
|
1090
1145
|
# @return [Array<Types::Tag>]
|
1091
1146
|
#
|
1147
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourceTag AWS API Documentation
|
1148
|
+
#
|
1092
1149
|
class ResourceTag < Struct.new(
|
1093
1150
|
:resource_id,
|
1094
1151
|
:tags_list)
|
@@ -1112,6 +1169,8 @@ module Aws::CloudTrail
|
|
1112
1169
|
# `arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail`
|
1113
1170
|
# @return [String]
|
1114
1171
|
#
|
1172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLoggingRequest AWS API Documentation
|
1173
|
+
#
|
1115
1174
|
class StartLoggingRequest < Struct.new(
|
1116
1175
|
:name)
|
1117
1176
|
include Aws::Structure
|
@@ -1120,6 +1179,8 @@ module Aws::CloudTrail
|
|
1120
1179
|
# Returns the objects or data listed below if successful. Otherwise,
|
1121
1180
|
# returns an error.
|
1122
1181
|
#
|
1182
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLoggingResponse AWS API Documentation
|
1183
|
+
#
|
1123
1184
|
class StartLoggingResponse < Aws::EmptyStructure; end
|
1124
1185
|
|
1125
1186
|
# Passes the request to CloudTrail to stop logging AWS API calls for the
|
@@ -1140,6 +1201,8 @@ module Aws::CloudTrail
|
|
1140
1201
|
# `arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail`
|
1141
1202
|
# @return [String]
|
1142
1203
|
#
|
1204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLoggingRequest AWS API Documentation
|
1205
|
+
#
|
1143
1206
|
class StopLoggingRequest < Struct.new(
|
1144
1207
|
:name)
|
1145
1208
|
include Aws::Structure
|
@@ -1148,6 +1211,8 @@ module Aws::CloudTrail
|
|
1148
1211
|
# Returns the objects or data listed below if successful. Otherwise,
|
1149
1212
|
# returns an error.
|
1150
1213
|
#
|
1214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLoggingResponse AWS API Documentation
|
1215
|
+
#
|
1151
1216
|
class StopLoggingResponse < Aws::EmptyStructure; end
|
1152
1217
|
|
1153
1218
|
# A custom key-value pair associated with a resource such as a
|
@@ -1172,6 +1237,8 @@ module Aws::CloudTrail
|
|
1172
1237
|
# than 256 Unicode characters.
|
1173
1238
|
# @return [String]
|
1174
1239
|
#
|
1240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Tag AWS API Documentation
|
1241
|
+
#
|
1175
1242
|
class Tag < Struct.new(
|
1176
1243
|
:key,
|
1177
1244
|
:value)
|
@@ -1263,6 +1330,8 @@ module Aws::CloudTrail
|
|
1263
1330
|
# Specifies if the trail has custom event selectors.
|
1264
1331
|
# @return [Boolean]
|
1265
1332
|
#
|
1333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Trail AWS API Documentation
|
1334
|
+
#
|
1266
1335
|
class Trail < Struct.new(
|
1267
1336
|
:name,
|
1268
1337
|
:s3_bucket_name,
|
@@ -1391,9 +1460,9 @@ module Aws::CloudTrail
|
|
1391
1460
|
#
|
1392
1461
|
# @!attribute [rw] kms_key_id
|
1393
1462
|
# Specifies the KMS key ID to use to encrypt the logs delivered by
|
1394
|
-
# CloudTrail. The value can be
|
1395
|
-
#
|
1396
|
-
#
|
1463
|
+
# CloudTrail. The value can be an alias name prefixed by "alias/", a
|
1464
|
+
# fully specified ARN to an alias, a fully specified ARN to a key, or
|
1465
|
+
# a globally unique identifier.
|
1397
1466
|
#
|
1398
1467
|
# Examples:
|
1399
1468
|
#
|
@@ -1406,6 +1475,8 @@ module Aws::CloudTrail
|
|
1406
1475
|
# * 12345678-1234-1234-1234-123456789012
|
1407
1476
|
# @return [String]
|
1408
1477
|
#
|
1478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrailRequest AWS API Documentation
|
1479
|
+
#
|
1409
1480
|
class UpdateTrailRequest < Struct.new(
|
1410
1481
|
:name,
|
1411
1482
|
:s3_bucket_name,
|
@@ -1492,6 +1563,8 @@ module Aws::CloudTrail
|
|
1492
1563
|
# `arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012`
|
1493
1564
|
# @return [String]
|
1494
1565
|
#
|
1566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrailResponse AWS API Documentation
|
1567
|
+
#
|
1495
1568
|
class UpdateTrailResponse < Struct.new(
|
1496
1569
|
:name,
|
1497
1570
|
:s3_bucket_name,
|
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.0.0.
|
4
|
+
version: 1.0.0.rc3
|
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: 2017-
|
11
|
+
date: 2017-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|