aws-sdk-securitylake 1.2.0 → 1.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securitylake/client.rb +741 -656
- data/lib/aws-sdk-securitylake/client_api.rb +583 -601
- data/lib/aws-sdk-securitylake/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-securitylake/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-securitylake/endpoints.rb +19 -47
- data/lib/aws-sdk-securitylake/errors.rb +9 -187
- data/lib/aws-sdk-securitylake/plugins/endpoints.rb +36 -40
- data/lib/aws-sdk-securitylake/types.rb +1059 -928
- data/lib/aws-sdk-securitylake.rb +1 -1
- metadata +2 -2
@@ -50,9 +50,6 @@ module Aws::SecurityLake
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::SecurityLake
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://securitylake-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://securitylake-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://securitylake-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://securitylake-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://securitylake.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://securitylake.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://securitylake.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -39,7 +39,7 @@ module Aws::SecurityLake
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
class
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
-
# * {
|
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.
|
@@ -59,18 +50,8 @@ module Aws::SecurityLake
|
|
59
50
|
end
|
60
51
|
|
61
52
|
# @return [String]
|
62
|
-
def
|
63
|
-
@
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
class AccountNotFoundException < ServiceError
|
68
|
-
|
69
|
-
# @param [Seahorse::Client::RequestContext] context
|
70
|
-
# @param [String] message
|
71
|
-
# @param [Aws::SecurityLake::Types::AccountNotFoundException] data
|
72
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
73
|
-
super(context, message, data)
|
53
|
+
def error_code
|
54
|
+
@data[:error_code]
|
74
55
|
end
|
75
56
|
|
76
57
|
# @return [String]
|
@@ -79,11 +60,11 @@ module Aws::SecurityLake
|
|
79
60
|
end
|
80
61
|
end
|
81
62
|
|
82
|
-
class
|
63
|
+
class BadRequestException < ServiceError
|
83
64
|
|
84
65
|
# @param [Seahorse::Client::RequestContext] context
|
85
66
|
# @param [String] message
|
86
|
-
# @param [Aws::SecurityLake::Types::
|
67
|
+
# @param [Aws::SecurityLake::Types::BadRequestException] data
|
87
68
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
88
69
|
super(context, message, data)
|
89
70
|
end
|
@@ -94,25 +75,6 @@ module Aws::SecurityLake
|
|
94
75
|
end
|
95
76
|
end
|
96
77
|
|
97
|
-
class ConcurrentModificationException < ServiceError
|
98
|
-
|
99
|
-
# @param [Seahorse::Client::RequestContext] context
|
100
|
-
# @param [String] message
|
101
|
-
# @param [Aws::SecurityLake::Types::ConcurrentModificationException] data
|
102
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
103
|
-
super(context, message, data)
|
104
|
-
end
|
105
|
-
|
106
|
-
# @return [String]
|
107
|
-
def message
|
108
|
-
@message || @data[:message]
|
109
|
-
end
|
110
|
-
|
111
|
-
def retryable?
|
112
|
-
true
|
113
|
-
end
|
114
|
-
end
|
115
|
-
|
116
78
|
class ConflictException < ServiceError
|
117
79
|
|
118
80
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -128,8 +90,8 @@ module Aws::SecurityLake
|
|
128
90
|
end
|
129
91
|
|
130
92
|
# @return [String]
|
131
|
-
def
|
132
|
-
@data[:
|
93
|
+
def resource_name
|
94
|
+
@data[:resource_name]
|
133
95
|
end
|
134
96
|
|
135
97
|
# @return [String]
|
@@ -138,51 +100,6 @@ module Aws::SecurityLake
|
|
138
100
|
end
|
139
101
|
end
|
140
102
|
|
141
|
-
class ConflictSourceNamesException < ServiceError
|
142
|
-
|
143
|
-
# @param [Seahorse::Client::RequestContext] context
|
144
|
-
# @param [String] message
|
145
|
-
# @param [Aws::SecurityLake::Types::ConflictSourceNamesException] data
|
146
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
147
|
-
super(context, message, data)
|
148
|
-
end
|
149
|
-
|
150
|
-
# @return [String]
|
151
|
-
def message
|
152
|
-
@message || @data[:message]
|
153
|
-
end
|
154
|
-
end
|
155
|
-
|
156
|
-
class ConflictSubscriptionException < ServiceError
|
157
|
-
|
158
|
-
# @param [Seahorse::Client::RequestContext] context
|
159
|
-
# @param [String] message
|
160
|
-
# @param [Aws::SecurityLake::Types::ConflictSubscriptionException] data
|
161
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
162
|
-
super(context, message, data)
|
163
|
-
end
|
164
|
-
|
165
|
-
# @return [String]
|
166
|
-
def message
|
167
|
-
@message || @data[:message]
|
168
|
-
end
|
169
|
-
end
|
170
|
-
|
171
|
-
class EventBridgeException < ServiceError
|
172
|
-
|
173
|
-
# @param [Seahorse::Client::RequestContext] context
|
174
|
-
# @param [String] message
|
175
|
-
# @param [Aws::SecurityLake::Types::EventBridgeException] data
|
176
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
177
|
-
super(context, message, data)
|
178
|
-
end
|
179
|
-
|
180
|
-
# @return [String]
|
181
|
-
def message
|
182
|
-
@message || @data[:message]
|
183
|
-
end
|
184
|
-
end
|
185
|
-
|
186
103
|
class InternalServerException < ServiceError
|
187
104
|
|
188
105
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -197,31 +114,11 @@ module Aws::SecurityLake
|
|
197
114
|
@message || @data[:message]
|
198
115
|
end
|
199
116
|
|
200
|
-
# @return [String]
|
201
|
-
def retry_after_seconds
|
202
|
-
@data[:retry_after_seconds]
|
203
|
-
end
|
204
|
-
|
205
117
|
def retryable?
|
206
118
|
true
|
207
119
|
end
|
208
120
|
end
|
209
121
|
|
210
|
-
class InvalidInputException < ServiceError
|
211
|
-
|
212
|
-
# @param [Seahorse::Client::RequestContext] context
|
213
|
-
# @param [String] message
|
214
|
-
# @param [Aws::SecurityLake::Types::InvalidInputException] data
|
215
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
216
|
-
super(context, message, data)
|
217
|
-
end
|
218
|
-
|
219
|
-
# @return [String]
|
220
|
-
def message
|
221
|
-
@message || @data[:message]
|
222
|
-
end
|
223
|
-
end
|
224
|
-
|
225
122
|
class ResourceNotFoundException < ServiceError
|
226
123
|
|
227
124
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -237,8 +134,8 @@ module Aws::SecurityLake
|
|
237
134
|
end
|
238
135
|
|
239
136
|
# @return [String]
|
240
|
-
def
|
241
|
-
@data[:
|
137
|
+
def resource_name
|
138
|
+
@data[:resource_name]
|
242
139
|
end
|
243
140
|
|
244
141
|
# @return [String]
|
@@ -247,56 +144,6 @@ module Aws::SecurityLake
|
|
247
144
|
end
|
248
145
|
end
|
249
146
|
|
250
|
-
class S3Exception < ServiceError
|
251
|
-
|
252
|
-
# @param [Seahorse::Client::RequestContext] context
|
253
|
-
# @param [String] message
|
254
|
-
# @param [Aws::SecurityLake::Types::S3Exception] data
|
255
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
256
|
-
super(context, message, data)
|
257
|
-
end
|
258
|
-
|
259
|
-
# @return [String]
|
260
|
-
def message
|
261
|
-
@message || @data[:message]
|
262
|
-
end
|
263
|
-
end
|
264
|
-
|
265
|
-
class ServiceQuotaExceededException < ServiceError
|
266
|
-
|
267
|
-
# @param [Seahorse::Client::RequestContext] context
|
268
|
-
# @param [String] message
|
269
|
-
# @param [Aws::SecurityLake::Types::ServiceQuotaExceededException] data
|
270
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
271
|
-
super(context, message, data)
|
272
|
-
end
|
273
|
-
|
274
|
-
# @return [String]
|
275
|
-
def message
|
276
|
-
@message || @data[:message]
|
277
|
-
end
|
278
|
-
|
279
|
-
# @return [String]
|
280
|
-
def quota_code
|
281
|
-
@data[:quota_code]
|
282
|
-
end
|
283
|
-
|
284
|
-
# @return [String]
|
285
|
-
def resource_id
|
286
|
-
@data[:resource_id]
|
287
|
-
end
|
288
|
-
|
289
|
-
# @return [String]
|
290
|
-
def resource_type
|
291
|
-
@data[:resource_type]
|
292
|
-
end
|
293
|
-
|
294
|
-
# @return [String]
|
295
|
-
def service_code
|
296
|
-
@data[:service_code]
|
297
|
-
end
|
298
|
-
end
|
299
|
-
|
300
147
|
class ThrottlingException < ServiceError
|
301
148
|
|
302
149
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -335,30 +182,5 @@ module Aws::SecurityLake
|
|
335
182
|
end
|
336
183
|
end
|
337
184
|
|
338
|
-
class ValidationException < ServiceError
|
339
|
-
|
340
|
-
# @param [Seahorse::Client::RequestContext] context
|
341
|
-
# @param [String] message
|
342
|
-
# @param [Aws::SecurityLake::Types::ValidationException] data
|
343
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
344
|
-
super(context, message, data)
|
345
|
-
end
|
346
|
-
|
347
|
-
# @return [String]
|
348
|
-
def field_list
|
349
|
-
@data[:field_list]
|
350
|
-
end
|
351
|
-
|
352
|
-
# @return [String]
|
353
|
-
def message
|
354
|
-
@message || @data[:message]
|
355
|
-
end
|
356
|
-
|
357
|
-
# @return [String]
|
358
|
-
def reason
|
359
|
-
@data[:reason]
|
360
|
-
end
|
361
|
-
end
|
362
|
-
|
363
185
|
end
|
364
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 :
|
64
|
-
Aws::SecurityLake::Endpoints::
|
65
|
-
when :
|
66
|
-
Aws::SecurityLake::Endpoints::
|
67
|
-
when :
|
68
|
-
Aws::SecurityLake::Endpoints::
|
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 :
|
74
|
-
Aws::SecurityLake::Endpoints::
|
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 :
|
80
|
-
Aws::SecurityLake::Endpoints::
|
81
|
-
when :
|
82
|
-
Aws::SecurityLake::Endpoints::
|
83
|
-
when :
|
84
|
-
Aws::SecurityLake::Endpoints::
|
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 :
|
90
|
-
Aws::SecurityLake::Endpoints::
|
91
|
-
when :
|
92
|
-
Aws::SecurityLake::Endpoints::
|
93
|
-
when :
|
94
|
-
Aws::SecurityLake::Endpoints::
|
95
|
-
when :
|
96
|
-
Aws::SecurityLake::Endpoints::
|
97
|
-
when :
|
98
|
-
Aws::SecurityLake::Endpoints::
|
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 :
|
104
|
-
Aws::SecurityLake::Endpoints::
|
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 :
|
110
|
-
Aws::SecurityLake::Endpoints::
|
111
|
-
when :
|
112
|
-
Aws::SecurityLake::Endpoints::
|
113
|
-
when :
|
114
|
-
Aws::SecurityLake::Endpoints::
|
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 :
|
118
|
-
Aws::SecurityLake::Endpoints::
|
113
|
+
when :update_subscriber_notification
|
114
|
+
Aws::SecurityLake::Endpoints::UpdateSubscriberNotification.build(context)
|
119
115
|
end
|
120
116
|
end
|
121
117
|
end
|