aws-sdk-cloudtrail 1.56.0 → 1.57.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,6 +33,9 @@ module Aws::CloudTrail
33
33
  # * {AccountRegisteredException}
34
34
  # * {CannotDelegateManagementAccountException}
35
35
  # * {ChannelARNInvalidException}
36
+ # * {ChannelAlreadyExistsException}
37
+ # * {ChannelExistsForEDSException}
38
+ # * {ChannelMaxLimitExceededException}
36
39
  # * {ChannelNotFoundException}
37
40
  # * {CloudTrailARNInvalidException}
38
41
  # * {CloudTrailAccessNotEnabledException}
@@ -75,6 +78,7 @@ module Aws::CloudTrail
75
78
  # * {InvalidS3BucketNameException}
76
79
  # * {InvalidS3PrefixException}
77
80
  # * {InvalidSnsTopicNameException}
81
+ # * {InvalidSourceException}
78
82
  # * {InvalidTagParameterException}
79
83
  # * {InvalidTimeRangeException}
80
84
  # * {InvalidTokenException}
@@ -91,7 +95,10 @@ module Aws::CloudTrail
91
95
  # * {OrganizationNotInAllFeaturesModeException}
92
96
  # * {OrganizationsNotInUseException}
93
97
  # * {QueryIdNotFoundException}
98
+ # * {ResourceARNNotValidException}
94
99
  # * {ResourceNotFoundException}
100
+ # * {ResourcePolicyNotFoundException}
101
+ # * {ResourcePolicyNotValidException}
95
102
  # * {ResourceTypeNotSupportedException}
96
103
  # * {S3BucketDoesNotExistException}
97
104
  # * {TagsLimitExceededException}
@@ -166,6 +173,36 @@ module Aws::CloudTrail
166
173
  end
167
174
  end
168
175
 
176
+ class ChannelAlreadyExistsException < ServiceError
177
+
178
+ # @param [Seahorse::Client::RequestContext] context
179
+ # @param [String] message
180
+ # @param [Aws::CloudTrail::Types::ChannelAlreadyExistsException] data
181
+ def initialize(context, message, data = Aws::EmptyStructure.new)
182
+ super(context, message, data)
183
+ end
184
+ end
185
+
186
+ class ChannelExistsForEDSException < ServiceError
187
+
188
+ # @param [Seahorse::Client::RequestContext] context
189
+ # @param [String] message
190
+ # @param [Aws::CloudTrail::Types::ChannelExistsForEDSException] data
191
+ def initialize(context, message, data = Aws::EmptyStructure.new)
192
+ super(context, message, data)
193
+ end
194
+ end
195
+
196
+ class ChannelMaxLimitExceededException < ServiceError
197
+
198
+ # @param [Seahorse::Client::RequestContext] context
199
+ # @param [String] message
200
+ # @param [Aws::CloudTrail::Types::ChannelMaxLimitExceededException] data
201
+ def initialize(context, message, data = Aws::EmptyStructure.new)
202
+ super(context, message, data)
203
+ end
204
+ end
205
+
169
206
  class ChannelNotFoundException < ServiceError
170
207
 
171
208
  # @param [Seahorse::Client::RequestContext] context
@@ -586,6 +623,16 @@ module Aws::CloudTrail
586
623
  end
587
624
  end
588
625
 
626
+ class InvalidSourceException < ServiceError
627
+
628
+ # @param [Seahorse::Client::RequestContext] context
629
+ # @param [String] message
630
+ # @param [Aws::CloudTrail::Types::InvalidSourceException] data
631
+ def initialize(context, message, data = Aws::EmptyStructure.new)
632
+ super(context, message, data)
633
+ end
634
+ end
635
+
589
636
  class InvalidTagParameterException < ServiceError
590
637
 
591
638
  # @param [Seahorse::Client::RequestContext] context
@@ -746,6 +793,16 @@ module Aws::CloudTrail
746
793
  end
747
794
  end
748
795
 
796
+ class ResourceARNNotValidException < ServiceError
797
+
798
+ # @param [Seahorse::Client::RequestContext] context
799
+ # @param [String] message
800
+ # @param [Aws::CloudTrail::Types::ResourceARNNotValidException] data
801
+ def initialize(context, message, data = Aws::EmptyStructure.new)
802
+ super(context, message, data)
803
+ end
804
+ end
805
+
749
806
  class ResourceNotFoundException < ServiceError
750
807
 
751
808
  # @param [Seahorse::Client::RequestContext] context
@@ -756,6 +813,26 @@ module Aws::CloudTrail
756
813
  end
757
814
  end
758
815
 
816
+ class ResourcePolicyNotFoundException < ServiceError
817
+
818
+ # @param [Seahorse::Client::RequestContext] context
819
+ # @param [String] message
820
+ # @param [Aws::CloudTrail::Types::ResourcePolicyNotFoundException] data
821
+ def initialize(context, message, data = Aws::EmptyStructure.new)
822
+ super(context, message, data)
823
+ end
824
+ end
825
+
826
+ class ResourcePolicyNotValidException < ServiceError
827
+
828
+ # @param [Seahorse::Client::RequestContext] context
829
+ # @param [String] message
830
+ # @param [Aws::CloudTrail::Types::ResourcePolicyNotValidException] data
831
+ def initialize(context, message, data = Aws::EmptyStructure.new)
832
+ super(context, message, data)
833
+ end
834
+ end
835
+
759
836
  class ResourceTypeNotSupportedException < ServiceError
760
837
 
761
838
  # @param [Seahorse::Client::RequestContext] context
@@ -60,12 +60,18 @@ module Aws::CloudTrail
60
60
  Aws::CloudTrail::Endpoints::AddTags.build(context)
61
61
  when :cancel_query
62
62
  Aws::CloudTrail::Endpoints::CancelQuery.build(context)
63
+ when :create_channel
64
+ Aws::CloudTrail::Endpoints::CreateChannel.build(context)
63
65
  when :create_event_data_store
64
66
  Aws::CloudTrail::Endpoints::CreateEventDataStore.build(context)
65
67
  when :create_trail
66
68
  Aws::CloudTrail::Endpoints::CreateTrail.build(context)
69
+ when :delete_channel
70
+ Aws::CloudTrail::Endpoints::DeleteChannel.build(context)
67
71
  when :delete_event_data_store
68
72
  Aws::CloudTrail::Endpoints::DeleteEventDataStore.build(context)
73
+ when :delete_resource_policy
74
+ Aws::CloudTrail::Endpoints::DeleteResourcePolicy.build(context)
69
75
  when :delete_trail
70
76
  Aws::CloudTrail::Endpoints::DeleteTrail.build(context)
71
77
  when :deregister_organization_delegated_admin
@@ -86,6 +92,8 @@ module Aws::CloudTrail
86
92
  Aws::CloudTrail::Endpoints::GetInsightSelectors.build(context)
87
93
  when :get_query_results
88
94
  Aws::CloudTrail::Endpoints::GetQueryResults.build(context)
95
+ when :get_resource_policy
96
+ Aws::CloudTrail::Endpoints::GetResourcePolicy.build(context)
89
97
  when :get_trail
90
98
  Aws::CloudTrail::Endpoints::GetTrail.build(context)
91
99
  when :get_trail_status
@@ -112,6 +120,8 @@ module Aws::CloudTrail
112
120
  Aws::CloudTrail::Endpoints::PutEventSelectors.build(context)
113
121
  when :put_insight_selectors
114
122
  Aws::CloudTrail::Endpoints::PutInsightSelectors.build(context)
123
+ when :put_resource_policy
124
+ Aws::CloudTrail::Endpoints::PutResourcePolicy.build(context)
115
125
  when :register_organization_delegated_admin
116
126
  Aws::CloudTrail::Endpoints::RegisterOrganizationDelegatedAdmin.build(context)
117
127
  when :remove_tags
@@ -128,6 +138,8 @@ module Aws::CloudTrail
128
138
  Aws::CloudTrail::Endpoints::StopImport.build(context)
129
139
  when :stop_logging
130
140
  Aws::CloudTrail::Endpoints::StopLogging.build(context)
141
+ when :update_channel
142
+ Aws::CloudTrail::Endpoints::UpdateChannel.build(context)
131
143
  when :update_event_data_store
132
144
  Aws::CloudTrail::Endpoints::UpdateEventDataStore.build(context)
133
145
  when :update_trail