aws-sdk-cloudtrail 1.20.0 → 1.25.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.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,6 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::CloudTrail
11
+
9
12
  class Resource
10
13
 
11
14
  # @param options ({})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -39,6 +41,7 @@ module Aws::CloudTrail
39
41
  class AddTagsRequest < Struct.new(
40
42
  :resource_id,
41
43
  :tags_list)
44
+ SENSITIVE = []
42
45
  include Aws::Structure
43
46
  end
44
47
 
@@ -49,6 +52,35 @@ module Aws::CloudTrail
49
52
  #
50
53
  class AddTagsResponse < Aws::EmptyStructure; end
51
54
 
55
+ # This exception is thrown when an operation is called with an invalid
56
+ # trail ARN. The format of a trail ARN is:
57
+ #
58
+ # `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
59
+ #
60
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CloudTrailARNInvalidException AWS API Documentation
61
+ #
62
+ class CloudTrailARNInvalidException < Aws::EmptyStructure; end
63
+
64
+ # This exception is thrown when trusted access has not been enabled
65
+ # between AWS CloudTrail and AWS Organizations. For more information,
66
+ # see [Enabling Trusted Access with Other AWS Services][1] and [Prepare
67
+ # For Creating a Trail For Your Organization][2].
68
+ #
69
+ #
70
+ #
71
+ # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html
72
+ # [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html
73
+ #
74
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CloudTrailAccessNotEnabledException AWS API Documentation
75
+ #
76
+ class CloudTrailAccessNotEnabledException < Aws::EmptyStructure; end
77
+
78
+ # Cannot set a CloudWatch Logs delivery for this region.
79
+ #
80
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CloudWatchLogsDeliveryUnavailableException AWS API Documentation
81
+ #
82
+ class CloudWatchLogsDeliveryUnavailableException < Aws::EmptyStructure; end
83
+
52
84
  # Specifies the settings for each trail.
53
85
  #
54
86
  # @note When making an API call, you may pass CreateTrailRequest
@@ -201,6 +233,7 @@ module Aws::CloudTrail
201
233
  :kms_key_id,
202
234
  :is_organization_trail,
203
235
  :tags_list)
236
+ SENSITIVE = []
204
237
  include Aws::Structure
205
238
  end
206
239
 
@@ -296,6 +329,7 @@ module Aws::CloudTrail
296
329
  :cloud_watch_logs_role_arn,
297
330
  :kms_key_id,
298
331
  :is_organization_trail)
332
+ SENSITIVE = []
299
333
  include Aws::Structure
300
334
  end
301
335
 
@@ -415,6 +449,7 @@ module Aws::CloudTrail
415
449
  class DataResource < Struct.new(
416
450
  :type,
417
451
  :values)
452
+ SENSITIVE = []
418
453
  include Aws::Structure
419
454
  end
420
455
 
@@ -437,6 +472,7 @@ module Aws::CloudTrail
437
472
  #
438
473
  class DeleteTrailRequest < Struct.new(
439
474
  :name)
475
+ SENSITIVE = []
440
476
  include Aws::Structure
441
477
  end
442
478
 
@@ -496,6 +532,7 @@ module Aws::CloudTrail
496
532
  class DescribeTrailsRequest < Struct.new(
497
533
  :trail_name_list,
498
534
  :include_shadow_trails)
535
+ SENSITIVE = []
499
536
  include Aws::Structure
500
537
  end
501
538
 
@@ -515,6 +552,7 @@ module Aws::CloudTrail
515
552
  #
516
553
  class DescribeTrailsResponse < Struct.new(
517
554
  :trail_list)
555
+ SENSITIVE = []
518
556
  include Aws::Structure
519
557
  end
520
558
 
@@ -573,6 +611,7 @@ module Aws::CloudTrail
573
611
  :username,
574
612
  :resources,
575
613
  :cloud_trail_event)
614
+ SENSITIVE = []
576
615
  include Aws::Structure
577
616
  end
578
617
 
@@ -658,6 +697,7 @@ module Aws::CloudTrail
658
697
  :include_management_events,
659
698
  :data_resources,
660
699
  :exclude_management_event_sources)
700
+ SENSITIVE = []
661
701
  include Aws::Structure
662
702
  end
663
703
 
@@ -693,6 +733,7 @@ module Aws::CloudTrail
693
733
  #
694
734
  class GetEventSelectorsRequest < Struct.new(
695
735
  :trail_name)
736
+ SENSITIVE = []
696
737
  include Aws::Structure
697
738
  end
698
739
 
@@ -709,6 +750,7 @@ module Aws::CloudTrail
709
750
  class GetEventSelectorsResponse < Struct.new(
710
751
  :trail_arn,
711
752
  :event_selectors)
753
+ SENSITIVE = []
712
754
  include Aws::Structure
713
755
  end
714
756
 
@@ -744,6 +786,7 @@ module Aws::CloudTrail
744
786
  #
745
787
  class GetInsightSelectorsRequest < Struct.new(
746
788
  :trail_name)
789
+ SENSITIVE = []
747
790
  include Aws::Structure
748
791
  end
749
792
 
@@ -763,6 +806,7 @@ module Aws::CloudTrail
763
806
  class GetInsightSelectorsResponse < Struct.new(
764
807
  :trail_arn,
765
808
  :insight_selectors)
809
+ SENSITIVE = []
766
810
  include Aws::Structure
767
811
  end
768
812
 
@@ -782,6 +826,7 @@ module Aws::CloudTrail
782
826
  #
783
827
  class GetTrailRequest < Struct.new(
784
828
  :name)
829
+ SENSITIVE = []
785
830
  include Aws::Structure
786
831
  end
787
832
 
@@ -793,6 +838,7 @@ module Aws::CloudTrail
793
838
  #
794
839
  class GetTrailResponse < Struct.new(
795
840
  :trail)
841
+ SENSITIVE = []
796
842
  include Aws::Structure
797
843
  end
798
844
 
@@ -818,6 +864,7 @@ module Aws::CloudTrail
818
864
  #
819
865
  class GetTrailStatusRequest < Struct.new(
820
866
  :name)
867
+ SENSITIVE = []
821
868
  include Aws::Structure
822
869
  end
823
870
 
@@ -956,9 +1003,18 @@ module Aws::CloudTrail
956
1003
  :latest_delivery_attempt_succeeded,
957
1004
  :time_logging_started,
958
1005
  :time_logging_stopped)
1006
+ SENSITIVE = []
959
1007
  include Aws::Structure
960
1008
  end
961
1009
 
1010
+ # If you run `GetInsightSelectors` on a trail that does not have
1011
+ # Insights events enabled, the operation throws the exception
1012
+ # `InsightNotEnabledException`.
1013
+ #
1014
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InsightNotEnabledException AWS API Documentation
1015
+ #
1016
+ class InsightNotEnabledException < Aws::EmptyStructure; end
1017
+
962
1018
  # A JSON string that contains a list of insight types that are logged on
963
1019
  # a trail.
964
1020
  #
@@ -978,9 +1034,219 @@ module Aws::CloudTrail
978
1034
  #
979
1035
  class InsightSelector < Struct.new(
980
1036
  :insight_type)
1037
+ SENSITIVE = []
981
1038
  include Aws::Structure
982
1039
  end
983
1040
 
1041
+ # This exception is thrown when the IAM user or role that is used to
1042
+ # create the organization trail is lacking one or more required
1043
+ # permissions for creating an organization trail in a required service.
1044
+ # For more information, see [Prepare For Creating a Trail For Your
1045
+ # Organization][1].
1046
+ #
1047
+ #
1048
+ #
1049
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html
1050
+ #
1051
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InsufficientDependencyServiceAccessPermissionException AWS API Documentation
1052
+ #
1053
+ class InsufficientDependencyServiceAccessPermissionException < Aws::EmptyStructure; end
1054
+
1055
+ # This exception is thrown when the policy on the S3 bucket or KMS key
1056
+ # is not sufficient.
1057
+ #
1058
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InsufficientEncryptionPolicyException AWS API Documentation
1059
+ #
1060
+ class InsufficientEncryptionPolicyException < Aws::EmptyStructure; end
1061
+
1062
+ # This exception is thrown when the policy on the S3 bucket is not
1063
+ # sufficient.
1064
+ #
1065
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InsufficientS3BucketPolicyException AWS API Documentation
1066
+ #
1067
+ class InsufficientS3BucketPolicyException < Aws::EmptyStructure; end
1068
+
1069
+ # This exception is thrown when the policy on the SNS topic is not
1070
+ # sufficient.
1071
+ #
1072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InsufficientSnsTopicPolicyException AWS API Documentation
1073
+ #
1074
+ class InsufficientSnsTopicPolicyException < Aws::EmptyStructure; end
1075
+
1076
+ # This exception is thrown when the provided CloudWatch log group is not
1077
+ # valid.
1078
+ #
1079
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidCloudWatchLogsLogGroupArnException AWS API Documentation
1080
+ #
1081
+ class InvalidCloudWatchLogsLogGroupArnException < Aws::EmptyStructure; end
1082
+
1083
+ # This exception is thrown when the provided role is not valid.
1084
+ #
1085
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidCloudWatchLogsRoleArnException AWS API Documentation
1086
+ #
1087
+ class InvalidCloudWatchLogsRoleArnException < Aws::EmptyStructure; end
1088
+
1089
+ # Occurs if an event category that is not valid is specified as a value
1090
+ # of `EventCategory`.
1091
+ #
1092
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidEventCategoryException AWS API Documentation
1093
+ #
1094
+ class InvalidEventCategoryException < Aws::EmptyStructure; end
1095
+
1096
+ # This exception is thrown when the `PutEventSelectors` operation is
1097
+ # called with a number of event selectors or data resources that is not
1098
+ # valid. The combination of event selectors and data resources is not
1099
+ # valid. A trail can have up to 5 event selectors. A trail is limited to
1100
+ # 250 data resources. These data resources can be distributed across
1101
+ # event selectors, but the overall total cannot exceed 250.
1102
+ #
1103
+ # You can:
1104
+ #
1105
+ # * Specify a valid number of event selectors (1 to 5) for a trail.
1106
+ #
1107
+ # * Specify a valid number of data resources (1 to 250) for an event
1108
+ # selector. The limit of number of resources on an individual event
1109
+ # selector is configurable up to 250. However, this upper limit is
1110
+ # allowed only if the total number of data resources does not exceed
1111
+ # 250 across all event selectors for a trail.
1112
+ #
1113
+ # * Specify a valid value for a parameter. For example, specifying the
1114
+ # `ReadWriteType` parameter with a value of `read-only` is invalid.
1115
+ #
1116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidEventSelectorsException AWS API Documentation
1117
+ #
1118
+ class InvalidEventSelectorsException < Aws::EmptyStructure; end
1119
+
1120
+ # This exception is thrown when an operation is called on a trail from a
1121
+ # region other than the region in which the trail was created.
1122
+ #
1123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidHomeRegionException AWS API Documentation
1124
+ #
1125
+ class InvalidHomeRegionException < Aws::EmptyStructure; end
1126
+
1127
+ # The formatting or syntax of the `InsightSelectors` JSON statement in
1128
+ # your `PutInsightSelectors` or `GetInsightSelectors` request is not
1129
+ # valid, or the specified insight type in the `InsightSelectors`
1130
+ # statement is not a valid insight type.
1131
+ #
1132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidInsightSelectorsException AWS API Documentation
1133
+ #
1134
+ class InvalidInsightSelectorsException < Aws::EmptyStructure; end
1135
+
1136
+ # This exception is thrown when the KMS key ARN is invalid.
1137
+ #
1138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidKmsKeyIdException AWS API Documentation
1139
+ #
1140
+ class InvalidKmsKeyIdException < Aws::EmptyStructure; end
1141
+
1142
+ # Occurs when an invalid lookup attribute is specified.
1143
+ #
1144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidLookupAttributesException AWS API Documentation
1145
+ #
1146
+ class InvalidLookupAttributesException < Aws::EmptyStructure; end
1147
+
1148
+ # This exception is thrown if the limit specified is invalid.
1149
+ #
1150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidMaxResultsException AWS API Documentation
1151
+ #
1152
+ class InvalidMaxResultsException < Aws::EmptyStructure; end
1153
+
1154
+ # Invalid token or token that was previously used in a request with
1155
+ # different parameters. This exception is thrown if the token is
1156
+ # invalid.
1157
+ #
1158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidNextTokenException AWS API Documentation
1159
+ #
1160
+ class InvalidNextTokenException < Aws::EmptyStructure; end
1161
+
1162
+ # This exception is thrown when the combination of parameters provided
1163
+ # is not valid.
1164
+ #
1165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidParameterCombinationException AWS API Documentation
1166
+ #
1167
+ class InvalidParameterCombinationException < Aws::EmptyStructure; end
1168
+
1169
+ # This exception is thrown when the provided S3 bucket name is not
1170
+ # valid.
1171
+ #
1172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidS3BucketNameException AWS API Documentation
1173
+ #
1174
+ class InvalidS3BucketNameException < Aws::EmptyStructure; end
1175
+
1176
+ # This exception is thrown when the provided S3 prefix is not valid.
1177
+ #
1178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidS3PrefixException AWS API Documentation
1179
+ #
1180
+ class InvalidS3PrefixException < Aws::EmptyStructure; end
1181
+
1182
+ # This exception is thrown when the provided SNS topic name is not
1183
+ # valid.
1184
+ #
1185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidSnsTopicNameException AWS API Documentation
1186
+ #
1187
+ class InvalidSnsTopicNameException < Aws::EmptyStructure; end
1188
+
1189
+ # This exception is thrown when the specified tag key or values are not
1190
+ # valid. It can also occur if there are duplicate tags or too many tags
1191
+ # on the resource.
1192
+ #
1193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidTagParameterException AWS API Documentation
1194
+ #
1195
+ class InvalidTagParameterException < Aws::EmptyStructure; end
1196
+
1197
+ # Occurs if the timestamp values are invalid. Either the start time
1198
+ # occurs after the end time or the time range is outside the range of
1199
+ # possible values.
1200
+ #
1201
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidTimeRangeException AWS API Documentation
1202
+ #
1203
+ class InvalidTimeRangeException < Aws::EmptyStructure; end
1204
+
1205
+ # Reserved for future use.
1206
+ #
1207
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidTokenException AWS API Documentation
1208
+ #
1209
+ class InvalidTokenException < Aws::EmptyStructure; end
1210
+
1211
+ # This exception is thrown when the provided trail name is not valid.
1212
+ # Trail names must meet the following requirements:
1213
+ #
1214
+ # * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.),
1215
+ # underscores (\_), or dashes (-)
1216
+ #
1217
+ # * Start with a letter or number, and end with a letter or number
1218
+ #
1219
+ # * Be between 3 and 128 characters
1220
+ #
1221
+ # * Have no adjacent periods, underscores or dashes. Names like
1222
+ # `my-_namespace` and `my--namespace` are invalid.
1223
+ #
1224
+ # * Not be in IP address format (for example, 192.168.5.4)
1225
+ #
1226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/InvalidTrailNameException AWS API Documentation
1227
+ #
1228
+ class InvalidTrailNameException < Aws::EmptyStructure; end
1229
+
1230
+ # This exception is thrown when there is an issue with the specified KMS
1231
+ # key and the trail can’t be updated.
1232
+ #
1233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/KmsException AWS API Documentation
1234
+ #
1235
+ class KmsException < Aws::EmptyStructure; end
1236
+
1237
+ # This exception is no longer in use.
1238
+ #
1239
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/KmsKeyDisabledException AWS API Documentation
1240
+ #
1241
+ class KmsKeyDisabledException < Aws::EmptyStructure; end
1242
+
1243
+ # This exception is thrown when the KMS key does not exist, or when the
1244
+ # S3 bucket and the KMS key are not in the same region.
1245
+ #
1246
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/KmsKeyNotFoundException AWS API Documentation
1247
+ #
1248
+ class KmsKeyNotFoundException < Aws::EmptyStructure; end
1249
+
984
1250
  # Requests the public keys for a specified time range.
985
1251
  #
986
1252
  # @note When making an API call, you may pass ListPublicKeysRequest
@@ -1014,6 +1280,7 @@ module Aws::CloudTrail
1014
1280
  :start_time,
1015
1281
  :end_time,
1016
1282
  :next_token)
1283
+ SENSITIVE = []
1017
1284
  include Aws::Structure
1018
1285
  end
1019
1286
 
@@ -1037,6 +1304,7 @@ module Aws::CloudTrail
1037
1304
  class ListPublicKeysResponse < Struct.new(
1038
1305
  :public_key_list,
1039
1306
  :next_token)
1307
+ SENSITIVE = []
1040
1308
  include Aws::Structure
1041
1309
  end
1042
1310
 
@@ -1066,6 +1334,7 @@ module Aws::CloudTrail
1066
1334
  class ListTagsRequest < Struct.new(
1067
1335
  :resource_id_list,
1068
1336
  :next_token)
1337
+ SENSITIVE = []
1069
1338
  include Aws::Structure
1070
1339
  end
1071
1340
 
@@ -1085,6 +1354,7 @@ module Aws::CloudTrail
1085
1354
  class ListTagsResponse < Struct.new(
1086
1355
  :resource_tag_list,
1087
1356
  :next_token)
1357
+ SENSITIVE = []
1088
1358
  include Aws::Structure
1089
1359
  end
1090
1360
 
@@ -1108,6 +1378,7 @@ module Aws::CloudTrail
1108
1378
  #
1109
1379
  class ListTrailsRequest < Struct.new(
1110
1380
  :next_token)
1381
+ SENSITIVE = []
1111
1382
  include Aws::Structure
1112
1383
  end
1113
1384
 
@@ -1130,6 +1401,7 @@ module Aws::CloudTrail
1130
1401
  class ListTrailsResponse < Struct.new(
1131
1402
  :trails,
1132
1403
  :next_token)
1404
+ SENSITIVE = []
1133
1405
  include Aws::Structure
1134
1406
  end
1135
1407
 
@@ -1156,6 +1428,7 @@ module Aws::CloudTrail
1156
1428
  class LookupAttribute < Struct.new(
1157
1429
  :attribute_key,
1158
1430
  :attribute_value)
1431
+ SENSITIVE = []
1159
1432
  include Aws::Structure
1160
1433
  end
1161
1434
 
@@ -1225,6 +1498,7 @@ module Aws::CloudTrail
1225
1498
  :event_category,
1226
1499
  :max_results,
1227
1500
  :next_token)
1501
+ SENSITIVE = []
1228
1502
  include Aws::Structure
1229
1503
  end
1230
1504
 
@@ -1250,9 +1524,57 @@ module Aws::CloudTrail
1250
1524
  class LookupEventsResponse < Struct.new(
1251
1525
  :events,
1252
1526
  :next_token)
1527
+ SENSITIVE = []
1253
1528
  include Aws::Structure
1254
1529
  end
1255
1530
 
1531
+ # This exception is thrown when the maximum number of trails is reached.
1532
+ #
1533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/MaximumNumberOfTrailsExceededException AWS API Documentation
1534
+ #
1535
+ class MaximumNumberOfTrailsExceededException < Aws::EmptyStructure; end
1536
+
1537
+ # This exception is thrown when the AWS account making the request to
1538
+ # create or update an organization trail is not the master account for
1539
+ # an organization in AWS Organizations. For more information, see
1540
+ # [Prepare For Creating a Trail For Your Organization][1].
1541
+ #
1542
+ #
1543
+ #
1544
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html
1545
+ #
1546
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/NotOrganizationMasterAccountException AWS API Documentation
1547
+ #
1548
+ class NotOrganizationMasterAccountException < Aws::EmptyStructure; end
1549
+
1550
+ # This exception is thrown when the requested operation is not
1551
+ # permitted.
1552
+ #
1553
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/OperationNotPermittedException AWS API Documentation
1554
+ #
1555
+ class OperationNotPermittedException < Aws::EmptyStructure; end
1556
+
1557
+ # This exception is thrown when AWS Organizations is not configured to
1558
+ # support all features. All features must be enabled in AWS Organization
1559
+ # to support creating an organization trail. For more information, see
1560
+ # [Prepare For Creating a Trail For Your Organization][1].
1561
+ #
1562
+ #
1563
+ #
1564
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html
1565
+ #
1566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/OrganizationNotInAllFeaturesModeException AWS API Documentation
1567
+ #
1568
+ class OrganizationNotInAllFeaturesModeException < Aws::EmptyStructure; end
1569
+
1570
+ # This exception is thrown when the request is made from an AWS account
1571
+ # that is not a member of an organization. To make this request, sign in
1572
+ # using the credentials of an account that belongs to an organization.
1573
+ #
1574
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/OrganizationsNotInUseException AWS API Documentation
1575
+ #
1576
+ class OrganizationsNotInUseException < Aws::EmptyStructure; end
1577
+
1256
1578
  # Contains information about a returned public key.
1257
1579
  #
1258
1580
  # @!attribute [rw] value
@@ -1278,6 +1600,7 @@ module Aws::CloudTrail
1278
1600
  :validity_start_time,
1279
1601
  :validity_end_time,
1280
1602
  :fingerprint)
1603
+ SENSITIVE = []
1281
1604
  include Aws::Structure
1282
1605
  end
1283
1606
 
@@ -1332,6 +1655,7 @@ module Aws::CloudTrail
1332
1655
  class PutEventSelectorsRequest < Struct.new(
1333
1656
  :trail_name,
1334
1657
  :event_selectors)
1658
+ SENSITIVE = []
1335
1659
  include Aws::Structure
1336
1660
  end
1337
1661
 
@@ -1351,6 +1675,7 @@ module Aws::CloudTrail
1351
1675
  class PutEventSelectorsResponse < Struct.new(
1352
1676
  :trail_arn,
1353
1677
  :event_selectors)
1678
+ SENSITIVE = []
1354
1679
  include Aws::Structure
1355
1680
  end
1356
1681
 
@@ -1382,6 +1707,7 @@ module Aws::CloudTrail
1382
1707
  class PutInsightSelectorsRequest < Struct.new(
1383
1708
  :trail_name,
1384
1709
  :insight_selectors)
1710
+ SENSITIVE = []
1385
1711
  include Aws::Structure
1386
1712
  end
1387
1713
 
@@ -1401,6 +1727,7 @@ module Aws::CloudTrail
1401
1727
  class PutInsightSelectorsResponse < Struct.new(
1402
1728
  :trail_arn,
1403
1729
  :insight_selectors)
1730
+ SENSITIVE = []
1404
1731
  include Aws::Structure
1405
1732
  end
1406
1733
 
@@ -1435,6 +1762,7 @@ module Aws::CloudTrail
1435
1762
  class RemoveTagsRequest < Struct.new(
1436
1763
  :resource_id,
1437
1764
  :tags_list)
1765
+ SENSITIVE = []
1438
1766
  include Aws::Structure
1439
1767
  end
1440
1768
 
@@ -1472,9 +1800,16 @@ module Aws::CloudTrail
1472
1800
  class Resource < Struct.new(
1473
1801
  :resource_type,
1474
1802
  :resource_name)
1803
+ SENSITIVE = []
1475
1804
  include Aws::Structure
1476
1805
  end
1477
1806
 
1807
+ # This exception is thrown when the specified resource is not found.
1808
+ #
1809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourceNotFoundException AWS API Documentation
1810
+ #
1811
+ class ResourceNotFoundException < Aws::EmptyStructure; end
1812
+
1478
1813
  # A resource tag.
1479
1814
  #
1480
1815
  # @!attribute [rw] resource_id
@@ -1490,9 +1825,23 @@ module Aws::CloudTrail
1490
1825
  class ResourceTag < Struct.new(
1491
1826
  :resource_id,
1492
1827
  :tags_list)
1828
+ SENSITIVE = []
1493
1829
  include Aws::Structure
1494
1830
  end
1495
1831
 
1832
+ # This exception is thrown when the specified resource type is not
1833
+ # supported by CloudTrail.
1834
+ #
1835
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourceTypeNotSupportedException AWS API Documentation
1836
+ #
1837
+ class ResourceTypeNotSupportedException < Aws::EmptyStructure; end
1838
+
1839
+ # This exception is thrown when the specified S3 bucket does not exist.
1840
+ #
1841
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/S3BucketDoesNotExistException AWS API Documentation
1842
+ #
1843
+ class S3BucketDoesNotExistException < Aws::EmptyStructure; end
1844
+
1496
1845
  # The request to CloudTrail to start logging AWS API calls for an
1497
1846
  # account.
1498
1847
  #
@@ -1514,6 +1863,7 @@ module Aws::CloudTrail
1514
1863
  #
1515
1864
  class StartLoggingRequest < Struct.new(
1516
1865
  :name)
1866
+ SENSITIVE = []
1517
1867
  include Aws::Structure
1518
1868
  end
1519
1869
 
@@ -1546,6 +1896,7 @@ module Aws::CloudTrail
1546
1896
  #
1547
1897
  class StopLoggingRequest < Struct.new(
1548
1898
  :name)
1899
+ SENSITIVE = []
1549
1900
  include Aws::Structure
1550
1901
  end
1551
1902
 
@@ -1583,9 +1934,17 @@ module Aws::CloudTrail
1583
1934
  class Tag < Struct.new(
1584
1935
  :key,
1585
1936
  :value)
1937
+ SENSITIVE = []
1586
1938
  include Aws::Structure
1587
1939
  end
1588
1940
 
1941
+ # The number of tags per trail has exceeded the permitted amount.
1942
+ # Currently, the limit is 50.
1943
+ #
1944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/TagsLimitExceededException AWS API Documentation
1945
+ #
1946
+ class TagsLimitExceededException < Aws::EmptyStructure; end
1947
+
1589
1948
  # The settings for a trail.
1590
1949
  #
1591
1950
  # @!attribute [rw] name
@@ -1699,9 +2058,16 @@ module Aws::CloudTrail
1699
2058
  :has_custom_event_selectors,
1700
2059
  :has_insight_selectors,
1701
2060
  :is_organization_trail)
2061
+ SENSITIVE = []
1702
2062
  include Aws::Structure
1703
2063
  end
1704
2064
 
2065
+ # This exception is thrown when the specified trail already exists.
2066
+ #
2067
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/TrailAlreadyExistsException AWS API Documentation
2068
+ #
2069
+ class TrailAlreadyExistsException < Aws::EmptyStructure; end
2070
+
1705
2071
  # Information about a CloudTrail trail, including the trail's name,
1706
2072
  # home region, and Amazon Resource Name (ARN).
1707
2073
  #
@@ -1723,9 +2089,30 @@ module Aws::CloudTrail
1723
2089
  :trail_arn,
1724
2090
  :name,
1725
2091
  :home_region)
2092
+ SENSITIVE = []
1726
2093
  include Aws::Structure
1727
2094
  end
1728
2095
 
2096
+ # This exception is thrown when the trail with the given name is not
2097
+ # found.
2098
+ #
2099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/TrailNotFoundException AWS API Documentation
2100
+ #
2101
+ class TrailNotFoundException < Aws::EmptyStructure; end
2102
+
2103
+ # This exception is no longer in use.
2104
+ #
2105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/TrailNotProvidedException AWS API Documentation
2106
+ #
2107
+ class TrailNotProvidedException < Aws::EmptyStructure; end
2108
+
2109
+ # This exception is thrown when the requested operation is not
2110
+ # supported.
2111
+ #
2112
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UnsupportedOperationException AWS API Documentation
2113
+ #
2114
+ class UnsupportedOperationException < Aws::EmptyStructure; end
2115
+
1729
2116
  # Specifies settings to update for the trail.
1730
2117
  #
1731
2118
  # @note When making an API call, you may pass UpdateTrailRequest
@@ -1880,6 +2267,7 @@ module Aws::CloudTrail
1880
2267
  :cloud_watch_logs_role_arn,
1881
2268
  :kms_key_id,
1882
2269
  :is_organization_trail)
2270
+ SENSITIVE = []
1883
2271
  include Aws::Structure
1884
2272
  end
1885
2273
 
@@ -1975,6 +2363,7 @@ module Aws::CloudTrail
1975
2363
  :cloud_watch_logs_role_arn,
1976
2364
  :kms_key_id,
1977
2365
  :is_organization_trail)
2366
+ SENSITIVE = []
1978
2367
  include Aws::Structure
1979
2368
  end
1980
2369