aws-sdk-securitylake 1.3.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,7 @@ module Aws::SecurityLake
39
39
  end
40
40
  end
41
41
 
42
- class CreateDatalake
42
+ class CreateDataLake
43
43
  def self.build(context)
44
44
  unless context.config.regional_endpoint
45
45
  endpoint = context.config.endpoint.to_s
@@ -53,7 +53,7 @@ module Aws::SecurityLake
53
53
  end
54
54
  end
55
55
 
56
- class CreateDatalakeAutoEnable
56
+ class CreateDataLakeExceptionSubscription
57
57
  def self.build(context)
58
58
  unless context.config.regional_endpoint
59
59
  endpoint = context.config.endpoint.to_s
@@ -67,21 +67,7 @@ module Aws::SecurityLake
67
67
  end
68
68
  end
69
69
 
70
- class CreateDatalakeDelegatedAdmin
71
- def self.build(context)
72
- unless context.config.regional_endpoint
73
- endpoint = context.config.endpoint.to_s
74
- end
75
- Aws::SecurityLake::EndpointParameters.new(
76
- region: context.config.region,
77
- use_dual_stack: context.config.use_dualstack_endpoint,
78
- use_fips: context.config.use_fips_endpoint,
79
- endpoint: endpoint,
80
- )
81
- end
82
- end
83
-
84
- class CreateDatalakeExceptionsSubscription
70
+ class CreateDataLakeOrganizationConfiguration
85
71
  def self.build(context)
86
72
  unless context.config.regional_endpoint
87
73
  endpoint = context.config.endpoint.to_s
@@ -109,7 +95,7 @@ module Aws::SecurityLake
109
95
  end
110
96
  end
111
97
 
112
- class CreateSubscriptionNotificationConfiguration
98
+ class CreateSubscriberNotification
113
99
  def self.build(context)
114
100
  unless context.config.regional_endpoint
115
101
  endpoint = context.config.endpoint.to_s
@@ -151,21 +137,7 @@ module Aws::SecurityLake
151
137
  end
152
138
  end
153
139
 
154
- class DeleteDatalake
155
- def self.build(context)
156
- unless context.config.regional_endpoint
157
- endpoint = context.config.endpoint.to_s
158
- end
159
- Aws::SecurityLake::EndpointParameters.new(
160
- region: context.config.region,
161
- use_dual_stack: context.config.use_dualstack_endpoint,
162
- use_fips: context.config.use_fips_endpoint,
163
- endpoint: endpoint,
164
- )
165
- end
166
- end
167
-
168
- class DeleteDatalakeAutoEnable
140
+ class DeleteDataLake
169
141
  def self.build(context)
170
142
  unless context.config.regional_endpoint
171
143
  endpoint = context.config.endpoint.to_s
@@ -179,7 +151,7 @@ module Aws::SecurityLake
179
151
  end
180
152
  end
181
153
 
182
- class DeleteDatalakeDelegatedAdmin
154
+ class DeleteDataLakeExceptionSubscription
183
155
  def self.build(context)
184
156
  unless context.config.regional_endpoint
185
157
  endpoint = context.config.endpoint.to_s
@@ -193,7 +165,7 @@ module Aws::SecurityLake
193
165
  end
194
166
  end
195
167
 
196
- class DeleteDatalakeExceptionsSubscription
168
+ class DeleteDataLakeOrganizationConfiguration
197
169
  def self.build(context)
198
170
  unless context.config.regional_endpoint
199
171
  endpoint = context.config.endpoint.to_s
@@ -221,7 +193,7 @@ module Aws::SecurityLake
221
193
  end
222
194
  end
223
195
 
224
- class DeleteSubscriptionNotificationConfiguration
196
+ class DeleteSubscriberNotification
225
197
  def self.build(context)
226
198
  unless context.config.regional_endpoint
227
199
  endpoint = context.config.endpoint.to_s
@@ -235,7 +207,7 @@ module Aws::SecurityLake
235
207
  end
236
208
  end
237
209
 
238
- class GetDatalake
210
+ class DeregisterDataLakeDelegatedAdministrator
239
211
  def self.build(context)
240
212
  unless context.config.regional_endpoint
241
213
  endpoint = context.config.endpoint.to_s
@@ -249,7 +221,7 @@ module Aws::SecurityLake
249
221
  end
250
222
  end
251
223
 
252
- class GetDatalakeAutoEnable
224
+ class GetDataLakeExceptionSubscription
253
225
  def self.build(context)
254
226
  unless context.config.regional_endpoint
255
227
  endpoint = context.config.endpoint.to_s
@@ -263,7 +235,7 @@ module Aws::SecurityLake
263
235
  end
264
236
  end
265
237
 
266
- class GetDatalakeExceptionsExpiry
238
+ class GetDataLakeOrganizationConfiguration
267
239
  def self.build(context)
268
240
  unless context.config.regional_endpoint
269
241
  endpoint = context.config.endpoint.to_s
@@ -277,7 +249,7 @@ module Aws::SecurityLake
277
249
  end
278
250
  end
279
251
 
280
- class GetDatalakeExceptionsSubscription
252
+ class GetDataLakeSources
281
253
  def self.build(context)
282
254
  unless context.config.regional_endpoint
283
255
  endpoint = context.config.endpoint.to_s
@@ -291,7 +263,7 @@ module Aws::SecurityLake
291
263
  end
292
264
  end
293
265
 
294
- class GetDatalakeStatus
266
+ class GetSubscriber
295
267
  def self.build(context)
296
268
  unless context.config.regional_endpoint
297
269
  endpoint = context.config.endpoint.to_s
@@ -305,7 +277,7 @@ module Aws::SecurityLake
305
277
  end
306
278
  end
307
279
 
308
- class GetSubscriber
280
+ class ListDataLakeExceptions
309
281
  def self.build(context)
310
282
  unless context.config.regional_endpoint
311
283
  endpoint = context.config.endpoint.to_s
@@ -319,7 +291,7 @@ module Aws::SecurityLake
319
291
  end
320
292
  end
321
293
 
322
- class ListDatalakeExceptions
294
+ class ListDataLakes
323
295
  def self.build(context)
324
296
  unless context.config.regional_endpoint
325
297
  endpoint = context.config.endpoint.to_s
@@ -361,7 +333,7 @@ module Aws::SecurityLake
361
333
  end
362
334
  end
363
335
 
364
- class UpdateDatalake
336
+ class RegisterDataLakeDelegatedAdministrator
365
337
  def self.build(context)
366
338
  unless context.config.regional_endpoint
367
339
  endpoint = context.config.endpoint.to_s
@@ -375,7 +347,7 @@ module Aws::SecurityLake
375
347
  end
376
348
  end
377
349
 
378
- class UpdateDatalakeExceptionsExpiry
350
+ class UpdateDataLake
379
351
  def self.build(context)
380
352
  unless context.config.regional_endpoint
381
353
  endpoint = context.config.endpoint.to_s
@@ -389,7 +361,7 @@ module Aws::SecurityLake
389
361
  end
390
362
  end
391
363
 
392
- class UpdateDatalakeExceptionsSubscription
364
+ class UpdateDataLakeExceptionSubscription
393
365
  def self.build(context)
394
366
  unless context.config.regional_endpoint
395
367
  endpoint = context.config.endpoint.to_s
@@ -417,7 +389,7 @@ module Aws::SecurityLake
417
389
  end
418
390
  end
419
391
 
420
- class UpdateSubscriptionNotificationConfiguration
392
+ class UpdateSubscriberNotification
421
393
  def self.build(context)
422
394
  unless context.config.regional_endpoint
423
395
  endpoint = context.config.endpoint.to_s
@@ -28,20 +28,11 @@ module Aws::SecurityLake
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
- # * {AccountNotFoundException}
32
- # * {BucketNotFoundException}
33
- # * {ConcurrentModificationException}
31
+ # * {BadRequestException}
34
32
  # * {ConflictException}
35
- # * {ConflictSourceNamesException}
36
- # * {ConflictSubscriptionException}
37
- # * {EventBridgeException}
38
33
  # * {InternalServerException}
39
- # * {InvalidInputException}
40
34
  # * {ResourceNotFoundException}
41
- # * {S3Exception}
42
- # * {ServiceQuotaExceededException}
43
35
  # * {ThrottlingException}
44
- # * {ValidationException}
45
36
  #
46
37
  # Additionally, error classes are dynamically generated for service errors based on the error code
47
38
  # if they are not defined above.
@@ -69,11 +60,11 @@ module Aws::SecurityLake
69
60
  end
70
61
  end
71
62
 
72
- class AccountNotFoundException < ServiceError
63
+ class BadRequestException < ServiceError
73
64
 
74
65
  # @param [Seahorse::Client::RequestContext] context
75
66
  # @param [String] message
76
- # @param [Aws::SecurityLake::Types::AccountNotFoundException] data
67
+ # @param [Aws::SecurityLake::Types::BadRequestException] data
77
68
  def initialize(context, message, data = Aws::EmptyStructure.new)
78
69
  super(context, message, data)
79
70
  end
@@ -84,40 +75,6 @@ module Aws::SecurityLake
84
75
  end
85
76
  end
86
77
 
87
- class BucketNotFoundException < ServiceError
88
-
89
- # @param [Seahorse::Client::RequestContext] context
90
- # @param [String] message
91
- # @param [Aws::SecurityLake::Types::BucketNotFoundException] data
92
- def initialize(context, message, data = Aws::EmptyStructure.new)
93
- super(context, message, data)
94
- end
95
-
96
- # @return [String]
97
- def message
98
- @message || @data[:message]
99
- end
100
- end
101
-
102
- class ConcurrentModificationException < ServiceError
103
-
104
- # @param [Seahorse::Client::RequestContext] context
105
- # @param [String] message
106
- # @param [Aws::SecurityLake::Types::ConcurrentModificationException] data
107
- def initialize(context, message, data = Aws::EmptyStructure.new)
108
- super(context, message, data)
109
- end
110
-
111
- # @return [String]
112
- def message
113
- @message || @data[:message]
114
- end
115
-
116
- def retryable?
117
- true
118
- end
119
- end
120
-
121
78
  class ConflictException < ServiceError
122
79
 
123
80
  # @param [Seahorse::Client::RequestContext] context
@@ -133,8 +90,8 @@ module Aws::SecurityLake
133
90
  end
134
91
 
135
92
  # @return [String]
136
- def resource_id
137
- @data[:resource_id]
93
+ def resource_name
94
+ @data[:resource_name]
138
95
  end
139
96
 
140
97
  # @return [String]
@@ -143,51 +100,6 @@ module Aws::SecurityLake
143
100
  end
144
101
  end
145
102
 
146
- class ConflictSourceNamesException < ServiceError
147
-
148
- # @param [Seahorse::Client::RequestContext] context
149
- # @param [String] message
150
- # @param [Aws::SecurityLake::Types::ConflictSourceNamesException] data
151
- def initialize(context, message, data = Aws::EmptyStructure.new)
152
- super(context, message, data)
153
- end
154
-
155
- # @return [String]
156
- def message
157
- @message || @data[:message]
158
- end
159
- end
160
-
161
- class ConflictSubscriptionException < ServiceError
162
-
163
- # @param [Seahorse::Client::RequestContext] context
164
- # @param [String] message
165
- # @param [Aws::SecurityLake::Types::ConflictSubscriptionException] data
166
- def initialize(context, message, data = Aws::EmptyStructure.new)
167
- super(context, message, data)
168
- end
169
-
170
- # @return [String]
171
- def message
172
- @message || @data[:message]
173
- end
174
- end
175
-
176
- class EventBridgeException < ServiceError
177
-
178
- # @param [Seahorse::Client::RequestContext] context
179
- # @param [String] message
180
- # @param [Aws::SecurityLake::Types::EventBridgeException] data
181
- def initialize(context, message, data = Aws::EmptyStructure.new)
182
- super(context, message, data)
183
- end
184
-
185
- # @return [String]
186
- def message
187
- @message || @data[:message]
188
- end
189
- end
190
-
191
103
  class InternalServerException < ServiceError
192
104
 
193
105
  # @param [Seahorse::Client::RequestContext] context
@@ -202,31 +114,11 @@ module Aws::SecurityLake
202
114
  @message || @data[:message]
203
115
  end
204
116
 
205
- # @return [String]
206
- def retry_after_seconds
207
- @data[:retry_after_seconds]
208
- end
209
-
210
117
  def retryable?
211
118
  true
212
119
  end
213
120
  end
214
121
 
215
- class InvalidInputException < ServiceError
216
-
217
- # @param [Seahorse::Client::RequestContext] context
218
- # @param [String] message
219
- # @param [Aws::SecurityLake::Types::InvalidInputException] data
220
- def initialize(context, message, data = Aws::EmptyStructure.new)
221
- super(context, message, data)
222
- end
223
-
224
- # @return [String]
225
- def message
226
- @message || @data[:message]
227
- end
228
- end
229
-
230
122
  class ResourceNotFoundException < ServiceError
231
123
 
232
124
  # @param [Seahorse::Client::RequestContext] context
@@ -242,8 +134,8 @@ module Aws::SecurityLake
242
134
  end
243
135
 
244
136
  # @return [String]
245
- def resource_id
246
- @data[:resource_id]
137
+ def resource_name
138
+ @data[:resource_name]
247
139
  end
248
140
 
249
141
  # @return [String]
@@ -252,56 +144,6 @@ module Aws::SecurityLake
252
144
  end
253
145
  end
254
146
 
255
- class S3Exception < ServiceError
256
-
257
- # @param [Seahorse::Client::RequestContext] context
258
- # @param [String] message
259
- # @param [Aws::SecurityLake::Types::S3Exception] data
260
- def initialize(context, message, data = Aws::EmptyStructure.new)
261
- super(context, message, data)
262
- end
263
-
264
- # @return [String]
265
- def message
266
- @message || @data[:message]
267
- end
268
- end
269
-
270
- class ServiceQuotaExceededException < ServiceError
271
-
272
- # @param [Seahorse::Client::RequestContext] context
273
- # @param [String] message
274
- # @param [Aws::SecurityLake::Types::ServiceQuotaExceededException] data
275
- def initialize(context, message, data = Aws::EmptyStructure.new)
276
- super(context, message, data)
277
- end
278
-
279
- # @return [String]
280
- def message
281
- @message || @data[:message]
282
- end
283
-
284
- # @return [String]
285
- def quota_code
286
- @data[:quota_code]
287
- end
288
-
289
- # @return [String]
290
- def resource_id
291
- @data[:resource_id]
292
- end
293
-
294
- # @return [String]
295
- def resource_type
296
- @data[:resource_type]
297
- end
298
-
299
- # @return [String]
300
- def service_code
301
- @data[:service_code]
302
- end
303
- end
304
-
305
147
  class ThrottlingException < ServiceError
306
148
 
307
149
  # @param [Seahorse::Client::RequestContext] context
@@ -340,30 +182,5 @@ module Aws::SecurityLake
340
182
  end
341
183
  end
342
184
 
343
- class ValidationException < ServiceError
344
-
345
- # @param [Seahorse::Client::RequestContext] context
346
- # @param [String] message
347
- # @param [Aws::SecurityLake::Types::ValidationException] data
348
- def initialize(context, message, data = Aws::EmptyStructure.new)
349
- super(context, message, data)
350
- end
351
-
352
- # @return [String]
353
- def field_list
354
- @data[:field_list]
355
- end
356
-
357
- # @return [String]
358
- def message
359
- @message || @data[:message]
360
- end
361
-
362
- # @return [String]
363
- def reason
364
- @data[:reason]
365
- end
366
- end
367
-
368
185
  end
369
186
  end
@@ -60,62 +60,58 @@ module Aws::SecurityLake
60
60
  Aws::SecurityLake::Endpoints::CreateAwsLogSource.build(context)
61
61
  when :create_custom_log_source
62
62
  Aws::SecurityLake::Endpoints::CreateCustomLogSource.build(context)
63
- when :create_datalake
64
- Aws::SecurityLake::Endpoints::CreateDatalake.build(context)
65
- when :create_datalake_auto_enable
66
- Aws::SecurityLake::Endpoints::CreateDatalakeAutoEnable.build(context)
67
- when :create_datalake_delegated_admin
68
- Aws::SecurityLake::Endpoints::CreateDatalakeDelegatedAdmin.build(context)
69
- when :create_datalake_exceptions_subscription
70
- Aws::SecurityLake::Endpoints::CreateDatalakeExceptionsSubscription.build(context)
63
+ when :create_data_lake
64
+ Aws::SecurityLake::Endpoints::CreateDataLake.build(context)
65
+ when :create_data_lake_exception_subscription
66
+ Aws::SecurityLake::Endpoints::CreateDataLakeExceptionSubscription.build(context)
67
+ when :create_data_lake_organization_configuration
68
+ Aws::SecurityLake::Endpoints::CreateDataLakeOrganizationConfiguration.build(context)
71
69
  when :create_subscriber
72
70
  Aws::SecurityLake::Endpoints::CreateSubscriber.build(context)
73
- when :create_subscription_notification_configuration
74
- Aws::SecurityLake::Endpoints::CreateSubscriptionNotificationConfiguration.build(context)
71
+ when :create_subscriber_notification
72
+ Aws::SecurityLake::Endpoints::CreateSubscriberNotification.build(context)
75
73
  when :delete_aws_log_source
76
74
  Aws::SecurityLake::Endpoints::DeleteAwsLogSource.build(context)
77
75
  when :delete_custom_log_source
78
76
  Aws::SecurityLake::Endpoints::DeleteCustomLogSource.build(context)
79
- when :delete_datalake
80
- Aws::SecurityLake::Endpoints::DeleteDatalake.build(context)
81
- when :delete_datalake_auto_enable
82
- Aws::SecurityLake::Endpoints::DeleteDatalakeAutoEnable.build(context)
83
- when :delete_datalake_delegated_admin
84
- Aws::SecurityLake::Endpoints::DeleteDatalakeDelegatedAdmin.build(context)
85
- when :delete_datalake_exceptions_subscription
86
- Aws::SecurityLake::Endpoints::DeleteDatalakeExceptionsSubscription.build(context)
77
+ when :delete_data_lake
78
+ Aws::SecurityLake::Endpoints::DeleteDataLake.build(context)
79
+ when :delete_data_lake_exception_subscription
80
+ Aws::SecurityLake::Endpoints::DeleteDataLakeExceptionSubscription.build(context)
81
+ when :delete_data_lake_organization_configuration
82
+ Aws::SecurityLake::Endpoints::DeleteDataLakeOrganizationConfiguration.build(context)
87
83
  when :delete_subscriber
88
84
  Aws::SecurityLake::Endpoints::DeleteSubscriber.build(context)
89
- when :delete_subscription_notification_configuration
90
- Aws::SecurityLake::Endpoints::DeleteSubscriptionNotificationConfiguration.build(context)
91
- when :get_datalake
92
- Aws::SecurityLake::Endpoints::GetDatalake.build(context)
93
- when :get_datalake_auto_enable
94
- Aws::SecurityLake::Endpoints::GetDatalakeAutoEnable.build(context)
95
- when :get_datalake_exceptions_expiry
96
- Aws::SecurityLake::Endpoints::GetDatalakeExceptionsExpiry.build(context)
97
- when :get_datalake_exceptions_subscription
98
- Aws::SecurityLake::Endpoints::GetDatalakeExceptionsSubscription.build(context)
99
- when :get_datalake_status
100
- Aws::SecurityLake::Endpoints::GetDatalakeStatus.build(context)
85
+ when :delete_subscriber_notification
86
+ Aws::SecurityLake::Endpoints::DeleteSubscriberNotification.build(context)
87
+ when :deregister_data_lake_delegated_administrator
88
+ Aws::SecurityLake::Endpoints::DeregisterDataLakeDelegatedAdministrator.build(context)
89
+ when :get_data_lake_exception_subscription
90
+ Aws::SecurityLake::Endpoints::GetDataLakeExceptionSubscription.build(context)
91
+ when :get_data_lake_organization_configuration
92
+ Aws::SecurityLake::Endpoints::GetDataLakeOrganizationConfiguration.build(context)
93
+ when :get_data_lake_sources
94
+ Aws::SecurityLake::Endpoints::GetDataLakeSources.build(context)
101
95
  when :get_subscriber
102
96
  Aws::SecurityLake::Endpoints::GetSubscriber.build(context)
103
- when :list_datalake_exceptions
104
- Aws::SecurityLake::Endpoints::ListDatalakeExceptions.build(context)
97
+ when :list_data_lake_exceptions
98
+ Aws::SecurityLake::Endpoints::ListDataLakeExceptions.build(context)
99
+ when :list_data_lakes
100
+ Aws::SecurityLake::Endpoints::ListDataLakes.build(context)
105
101
  when :list_log_sources
106
102
  Aws::SecurityLake::Endpoints::ListLogSources.build(context)
107
103
  when :list_subscribers
108
104
  Aws::SecurityLake::Endpoints::ListSubscribers.build(context)
109
- when :update_datalake
110
- Aws::SecurityLake::Endpoints::UpdateDatalake.build(context)
111
- when :update_datalake_exceptions_expiry
112
- Aws::SecurityLake::Endpoints::UpdateDatalakeExceptionsExpiry.build(context)
113
- when :update_datalake_exceptions_subscription
114
- Aws::SecurityLake::Endpoints::UpdateDatalakeExceptionsSubscription.build(context)
105
+ when :register_data_lake_delegated_administrator
106
+ Aws::SecurityLake::Endpoints::RegisterDataLakeDelegatedAdministrator.build(context)
107
+ when :update_data_lake
108
+ Aws::SecurityLake::Endpoints::UpdateDataLake.build(context)
109
+ when :update_data_lake_exception_subscription
110
+ Aws::SecurityLake::Endpoints::UpdateDataLakeExceptionSubscription.build(context)
115
111
  when :update_subscriber
116
112
  Aws::SecurityLake::Endpoints::UpdateSubscriber.build(context)
117
- when :update_subscription_notification_configuration
118
- Aws::SecurityLake::Endpoints::UpdateSubscriptionNotificationConfiguration.build(context)
113
+ when :update_subscriber_notification
114
+ Aws::SecurityLake::Endpoints::UpdateSubscriberNotification.build(context)
119
115
  end
120
116
  end
121
117
  end