aws-sdk-appconfigcloudextension 1.0.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.
@@ -0,0 +1,77 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::AppConfigCloudExtension
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::AppConfigCloudExtension::EndpointProvider',
17
+ rbs_type: 'untyped',
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::AppConfigCloudExtension::EndpointParameters`.
22
+ DOCS
23
+ Aws::AppConfigCloudExtension::EndpointProvider.new
24
+ end
25
+
26
+ # @api private
27
+ class Handler < Seahorse::Client::Handler
28
+ def call(context)
29
+ unless context[:discovered_endpoint]
30
+ params = Aws::AppConfigCloudExtension::Endpoints.parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+
36
+ context[:endpoint_params] = params
37
+ context[:endpoint_properties] = endpoint.properties
38
+ end
39
+
40
+ context[:auth_scheme] =
41
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
42
+
43
+ with_metrics(context) { @handler.call(context) }
44
+ end
45
+
46
+ private
47
+
48
+ def with_metrics(context, &block)
49
+ metrics = []
50
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
51
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
+ metrics << 'SIGV4A_SIGNING'
53
+ end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
57
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
58
+ end
59
+
60
+ def apply_endpoint_headers(context, headers)
61
+ headers.each do |key, values|
62
+ value = values
63
+ .compact
64
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
65
+ .join(',')
66
+
67
+ context.http_request.headers[key] = value
68
+ end
69
+ end
70
+ end
71
+
72
+ def add_handlers(handlers, _config)
73
+ handlers.add(Handler, step: :build, priority: 75)
74
+ end
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::AppConfigCloudExtension
11
+
12
+ class Resource
13
+
14
+ # @param options ({})
15
+ # @option options [Client] :client
16
+ def initialize(options = {})
17
+ @client = options[:client] || Client.new(options)
18
+ end
19
+
20
+ # @return [Client]
21
+ def client
22
+ @client
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,608 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::AppConfigCloudExtension
11
+ module Types
12
+
13
+ # Access was denied. The reason says whether AWS Cloud Extensions
14
+ # couldn't authenticate the caller, or a service the Extension calls
15
+ # denied it.
16
+ #
17
+ # @!attribute [rw] message
18
+ # A description of the error.
19
+ # @return [String]
20
+ #
21
+ # @!attribute [rw] reason
22
+ # Why access was denied.
23
+ # @return [String]
24
+ #
25
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/AccessDeniedException AWS API Documentation
26
+ #
27
+ class AccessDeniedException < Struct.new(
28
+ :message,
29
+ :reason)
30
+ SENSITIVE = []
31
+ include Aws::Structure
32
+ end
33
+
34
+ # No usable answer came back: from the service AWS Cloud Extensions
35
+ # retrieves its profile from, from the Extension, or from a service the
36
+ # Extension calls. The reason says what to do, such as fixing the
37
+ # profile or role, checking the Extension's settings, or using an
38
+ # earlier version of the Extension.
39
+ #
40
+ # @!attribute [rw] message
41
+ # A description of the error.
42
+ # @return [String]
43
+ #
44
+ # @!attribute [rw] reason
45
+ # Why no usable answer came back, and so what to fix.
46
+ # @return [String]
47
+ #
48
+ # @!attribute [rw] extension
49
+ # The Extension the request is for, when the reason concerns one.
50
+ # @return [String]
51
+ #
52
+ # @!attribute [rw] version
53
+ # The Extension's version, when the reason concerns one.
54
+ # @return [String]
55
+ #
56
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/BadGatewayException AWS API Documentation
57
+ #
58
+ class BadGatewayException < Struct.new(
59
+ :message,
60
+ :reason,
61
+ :extension,
62
+ :version)
63
+ SENSITIVE = []
64
+ include Aws::Structure
65
+ end
66
+
67
+ # The constraint a value failed, named for the Smithy trait or rule that
68
+ # declares it, with what it allows.
69
+ #
70
+ # @!attribute [rw] required
71
+ # The member is @required and missing. Always true when set.
72
+ # @return [Boolean]
73
+ #
74
+ # @!attribute [rw] type
75
+ # The value is not the member's type.
76
+ # @return [Types::TypeConstraint]
77
+ #
78
+ # @!attribute [rw] length
79
+ # The value's length is outside @length.
80
+ # @return [Types::LengthConstraint]
81
+ #
82
+ # @!attribute [rw] range
83
+ # The value is outside @range.
84
+ # @return [Types::RangeConstraint]
85
+ #
86
+ # @!attribute [rw] pattern
87
+ # The value doesn't match @pattern.
88
+ # @return [Types::PatternConstraint]
89
+ #
90
+ # @!attribute [rw] enum
91
+ # The value is not one of the enum's values.
92
+ # @return [Types::EnumConstraint]
93
+ #
94
+ # @!attribute [rw] union
95
+ # The union sets no member or more than one. Always true when set.
96
+ # @return [Boolean]
97
+ #
98
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/Constraint AWS API Documentation
99
+ #
100
+ class Constraint < Struct.new(
101
+ :required,
102
+ :type,
103
+ :length,
104
+ :range,
105
+ :pattern,
106
+ :enum,
107
+ :union,
108
+ :unknown)
109
+ SENSITIVE = []
110
+ include Aws::Structure
111
+ include Aws::Structure::Union
112
+
113
+ class Required < Constraint; end
114
+ class Type < Constraint; end
115
+ class Length < Constraint; end
116
+ class Range < Constraint; end
117
+ class Pattern < Constraint; end
118
+ class Enum < Constraint; end
119
+ class Union < Constraint; end
120
+ class Unknown < Constraint; end
121
+ end
122
+
123
+ # The value is not one of the allowed values.
124
+ #
125
+ # @!attribute [rw] allowed
126
+ # The values allowed.
127
+ # @return [Array<String>]
128
+ #
129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/EnumConstraint AWS API Documentation
130
+ #
131
+ class EnumConstraint < Struct.new(
132
+ :allowed)
133
+ SENSITIVE = []
134
+ include Aws::Structure
135
+ end
136
+
137
+ # A member whose value failed one of its constraints.
138
+ #
139
+ # @!attribute [rw] field
140
+ # The member's path from the input: a.b for a nested member, a\[0\]
141
+ # for a list element, a\[key\] for a map value.
142
+ # @return [String]
143
+ #
144
+ # @!attribute [rw] value
145
+ # The value as sent. It is omitted for a missing member, a length or
146
+ # union failure, and a @sensitive member.
147
+ # @return [String]
148
+ #
149
+ # @!attribute [rw] constraint
150
+ # The constraint the value failed.
151
+ # @return [Types::Constraint]
152
+ #
153
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/FieldConstraint AWS API Documentation
154
+ #
155
+ class FieldConstraint < Struct.new(
156
+ :field,
157
+ :value,
158
+ :constraint)
159
+ SENSITIVE = []
160
+ include Aws::Structure
161
+ end
162
+
163
+ # A flag attribute value. Exactly one member is set, according to the
164
+ # attribute's type.
165
+ #
166
+ # @note FlagAttributeValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FlagAttributeValue corresponding to the set member.
167
+ #
168
+ # @!attribute [rw] string
169
+ # A string attribute value.
170
+ # @return [String]
171
+ #
172
+ # @!attribute [rw] number
173
+ # A number attribute value.
174
+ # @return [Float]
175
+ #
176
+ # @!attribute [rw] boolean
177
+ # A boolean attribute value.
178
+ # @return [Boolean]
179
+ #
180
+ # @!attribute [rw] string_list
181
+ # A list of strings attribute value.
182
+ # @return [Array<String>]
183
+ #
184
+ # @!attribute [rw] number_list
185
+ # A list of numbers attribute value.
186
+ # @return [Array<Float>]
187
+ #
188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/FlagAttributeValue AWS API Documentation
189
+ #
190
+ class FlagAttributeValue < Struct.new(
191
+ :string,
192
+ :number,
193
+ :boolean,
194
+ :string_list,
195
+ :number_list,
196
+ :unknown)
197
+ SENSITIVE = []
198
+ include Aws::Structure
199
+ include Aws::Structure::Union
200
+
201
+ class String < FlagAttributeValue; end
202
+ class Number < FlagAttributeValue; end
203
+ class Boolean < FlagAttributeValue; end
204
+ class StringList < FlagAttributeValue; end
205
+ class NumberList < FlagAttributeValue; end
206
+ class Unknown < FlagAttributeValue; end
207
+ end
208
+
209
+ # The input of GetConfiguration.
210
+ #
211
+ # @!attribute [rw] application
212
+ # The name or ID of the AWS AppConfig application.
213
+ # @return [String]
214
+ #
215
+ # @!attribute [rw] environment
216
+ # The name or ID of the AWS AppConfig environment the configuration is
217
+ # deployed to.
218
+ # @return [String]
219
+ #
220
+ # @!attribute [rw] configuration
221
+ # The name or ID of the AWS AppConfig configuration profile.
222
+ # @return [String]
223
+ #
224
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/GetConfigurationRequest AWS API Documentation
225
+ #
226
+ class GetConfigurationRequest < Struct.new(
227
+ :application,
228
+ :environment,
229
+ :configuration)
230
+ SENSITIVE = []
231
+ include Aws::Structure
232
+ end
233
+
234
+ # The output of GetConfiguration.
235
+ #
236
+ # @!attribute [rw] content
237
+ # The deployed configuration's content. For a feature flag profile,
238
+ # the flags rendered as JSON without request context.
239
+ # @return [String]
240
+ #
241
+ # @!attribute [rw] content_type
242
+ # The content type of the deployed configuration, such as
243
+ # application/json.
244
+ # @return [String]
245
+ #
246
+ # @!attribute [rw] revision
247
+ # A value that changes whenever the served content changes. Compare it
248
+ # with an earlier value to detect a change.
249
+ # @return [String]
250
+ #
251
+ # @!attribute [rw] version_label
252
+ # The label of the deployed configuration version, present only when
253
+ # the version has a label.
254
+ # @return [String]
255
+ #
256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/GetConfigurationResponse AWS API Documentation
257
+ #
258
+ class GetConfigurationResponse < Struct.new(
259
+ :content,
260
+ :content_type,
261
+ :revision,
262
+ :version_label)
263
+ SENSITIVE = []
264
+ include Aws::Structure
265
+ end
266
+
267
+ # The input of GetFlag.
268
+ #
269
+ # @!attribute [rw] application
270
+ # The name or ID of the AWS AppConfig application.
271
+ # @return [String]
272
+ #
273
+ # @!attribute [rw] environment
274
+ # The name or ID of the AWS AppConfig environment the configuration is
275
+ # deployed to.
276
+ # @return [String]
277
+ #
278
+ # @!attribute [rw] configuration
279
+ # The name or ID of the feature flag configuration profile.
280
+ # @return [String]
281
+ #
282
+ # @!attribute [rw] flag
283
+ # The key of the flag to return.
284
+ # @return [String]
285
+ #
286
+ # @!attribute [rw] context
287
+ # The request context that the flag's variant rules are evaluated
288
+ # against.
289
+ # @return [Hash<String,String>]
290
+ #
291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/GetFlagRequest AWS API Documentation
292
+ #
293
+ class GetFlagRequest < Struct.new(
294
+ :application,
295
+ :environment,
296
+ :configuration,
297
+ :flag,
298
+ :context)
299
+ SENSITIVE = []
300
+ include Aws::Structure
301
+ end
302
+
303
+ # The output of GetFlag.
304
+ #
305
+ # @!attribute [rw] enabled
306
+ # Whether the flag is enabled.
307
+ # @return [Boolean]
308
+ #
309
+ # @!attribute [rw] variant
310
+ # The name of the variant the request context matched, absent when the
311
+ # flag has no variants.
312
+ # @return [String]
313
+ #
314
+ # @!attribute [rw] attributes
315
+ # The flag's attribute values, by attribute key, absent when the flag
316
+ # has none.
317
+ # @return [Hash<String,Types::FlagAttributeValue>]
318
+ #
319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/GetFlagResponse AWS API Documentation
320
+ #
321
+ class GetFlagResponse < Struct.new(
322
+ :enabled,
323
+ :variant,
324
+ :attributes)
325
+ SENSITIVE = []
326
+ include Aws::Structure
327
+ end
328
+
329
+ # An unexpected internal error occurred. Retry the request.
330
+ #
331
+ # @!attribute [rw] message
332
+ # A description of the error.
333
+ # @return [String]
334
+ #
335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/InternalServerException AWS API Documentation
336
+ #
337
+ class InternalServerException < Struct.new(
338
+ :message)
339
+ SENSITIVE = []
340
+ include Aws::Structure
341
+ end
342
+
343
+ # The value's length is outside the allowed range.
344
+ #
345
+ # @!attribute [rw] min
346
+ # The shortest length allowed.
347
+ # @return [Integer]
348
+ #
349
+ # @!attribute [rw] max
350
+ # The longest length allowed.
351
+ # @return [Integer]
352
+ #
353
+ # @!attribute [rw] tested
354
+ # The value's length.
355
+ # @return [Integer]
356
+ #
357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/LengthConstraint AWS API Documentation
358
+ #
359
+ class LengthConstraint < Struct.new(
360
+ :min,
361
+ :max,
362
+ :tested)
363
+ SENSITIVE = []
364
+ include Aws::Structure
365
+ end
366
+
367
+ # The request is part of a chain of calls that loops back through AWS
368
+ # Cloud Extensions.
369
+ #
370
+ # @!attribute [rw] message
371
+ # A description of the error.
372
+ # @return [String]
373
+ #
374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/LoopDetectedException AWS API Documentation
375
+ #
376
+ class LoopDetectedException < Struct.new(
377
+ :message)
378
+ SENSITIVE = []
379
+ include Aws::Structure
380
+ end
381
+
382
+ # The value doesn't match the required pattern.
383
+ #
384
+ # @!attribute [rw] pattern
385
+ # The pattern the value must match.
386
+ # @return [String]
387
+ #
388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/PatternConstraint AWS API Documentation
389
+ #
390
+ class PatternConstraint < Struct.new(
391
+ :pattern)
392
+ SENSITIVE = []
393
+ include Aws::Structure
394
+ end
395
+
396
+ # The value is outside the allowed range.
397
+ #
398
+ # @!attribute [rw] min
399
+ # The smallest value allowed.
400
+ # @return [Float]
401
+ #
402
+ # @!attribute [rw] max
403
+ # The largest value allowed.
404
+ # @return [Float]
405
+ #
406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/RangeConstraint AWS API Documentation
407
+ #
408
+ class RangeConstraint < Struct.new(
409
+ :min,
410
+ :max)
411
+ SENSITIVE = []
412
+ include Aws::Structure
413
+ end
414
+
415
+ # The request body is larger than AWS Cloud Extensions accepts.
416
+ #
417
+ # @!attribute [rw] message
418
+ # A description of the error.
419
+ # @return [String]
420
+ #
421
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/RequestEntityTooLargeException AWS API Documentation
422
+ #
423
+ class RequestEntityTooLargeException < Struct.new(
424
+ :message)
425
+ SENSITIVE = []
426
+ include Aws::Structure
427
+ end
428
+
429
+ # A request the Extension refused for a reason of its own, named by
430
+ # problem.
431
+ #
432
+ # @!attribute [rw] problem
433
+ # An UPPER\_SNAKE code for what was wrong.
434
+ # @return [String]
435
+ #
436
+ # @!attribute [rw] item
437
+ # The member or item the problem concerns.
438
+ # @return [String]
439
+ #
440
+ # @!attribute [rw] value
441
+ # The value the problem concerns.
442
+ # @return [String]
443
+ #
444
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/SemanticError AWS API Documentation
445
+ #
446
+ class SemanticError < Struct.new(
447
+ :problem,
448
+ :item,
449
+ :value)
450
+ SENSITIVE = []
451
+ include Aws::Structure
452
+ end
453
+
454
+ # AWS Cloud Extensions can't serve the request now. Retry it.
455
+ #
456
+ # @!attribute [rw] message
457
+ # A description of the error.
458
+ # @return [String]
459
+ #
460
+ # @!attribute [rw] reason
461
+ # Why the request can't be served now.
462
+ # @return [String]
463
+ #
464
+ # @!attribute [rw] extension
465
+ # The Extension the request is for, when the reason concerns one.
466
+ # @return [String]
467
+ #
468
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/ServiceUnavailableException AWS API Documentation
469
+ #
470
+ class ServiceUnavailableException < Struct.new(
471
+ :message,
472
+ :reason,
473
+ :extension)
474
+ SENSITIVE = []
475
+ include Aws::Structure
476
+ end
477
+
478
+ # The call was throttled. Retry after the time Retry-After gives, when
479
+ # it is set. The reason says what throttled it.
480
+ #
481
+ # @!attribute [rw] message
482
+ # A description of the error.
483
+ # @return [String]
484
+ #
485
+ # @!attribute [rw] reason
486
+ # What throttled the call.
487
+ # @return [String]
488
+ #
489
+ # @!attribute [rw] retry_after_seconds
490
+ # Not set by AWS SDK clients: AWS Cloud Extensions sends the retry
491
+ # delay, in seconds, only in the Retry-After response header.
492
+ # @return [Integer]
493
+ #
494
+ # @!attribute [rw] extension
495
+ # The Extension the call is for.
496
+ # @return [String]
497
+ #
498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/ThrottlingException AWS API Documentation
499
+ #
500
+ class ThrottlingException < Struct.new(
501
+ :message,
502
+ :reason,
503
+ :retry_after_seconds,
504
+ :extension)
505
+ SENSITIVE = []
506
+ include Aws::Structure
507
+ end
508
+
509
+ # The value is not of the member's type.
510
+ #
511
+ # @!attribute [rw] expected
512
+ # The Smithy type the value must have, such as integer or timestamp.
513
+ # @return [String]
514
+ #
515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/TypeConstraint AWS API Documentation
516
+ #
517
+ class TypeConstraint < Struct.new(
518
+ :expected)
519
+ SENSITIVE = []
520
+ include Aws::Structure
521
+ end
522
+
523
+ # The Extension needs a newer version of AWS Cloud Extensions. Upgrade
524
+ # it, or use an earlier version of the Extension.
525
+ #
526
+ # @!attribute [rw] message
527
+ # A description of the error.
528
+ # @return [String]
529
+ #
530
+ # @!attribute [rw] reason
531
+ # What needs the newer version.
532
+ # @return [String]
533
+ #
534
+ # @!attribute [rw] extension
535
+ # The Extension the request is for.
536
+ # @return [String]
537
+ #
538
+ # @!attribute [rw] version
539
+ # The Extension's version.
540
+ # @return [String]
541
+ #
542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/UpgradeRequiredException AWS API Documentation
543
+ #
544
+ class UpgradeRequiredException < Struct.new(
545
+ :message,
546
+ :reason,
547
+ :extension,
548
+ :version)
549
+ SENSITIVE = []
550
+ include Aws::Structure
551
+ end
552
+
553
+ # One validation failure: either a constraint a member failed, or a
554
+ # semantic error.
555
+ #
556
+ # @!attribute [rw] field_constraint
557
+ # A member's value failed a constraint the model declares.
558
+ # @return [Types::FieldConstraint]
559
+ #
560
+ # @!attribute [rw] semantic_error
561
+ # A request the Extension refused for a reason of its own.
562
+ # @return [Types::SemanticError]
563
+ #
564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/ValidationError AWS API Documentation
565
+ #
566
+ class ValidationError < Struct.new(
567
+ :field_constraint,
568
+ :semantic_error,
569
+ :unknown)
570
+ SENSITIVE = []
571
+ include Aws::Structure
572
+ include Aws::Structure::Union
573
+
574
+ class FieldConstraint < ValidationError; end
575
+ class SemanticError < ValidationError; end
576
+ class Unknown < ValidationError; end
577
+ end
578
+
579
+ # The request does not fit the operation's model. The message describes
580
+ # every failure and may change; read reason and errors to act on them.
581
+ #
582
+ # @!attribute [rw] message
583
+ # A description of the error.
584
+ # @return [String]
585
+ #
586
+ # @!attribute [rw] reason
587
+ # Why the request is invalid.
588
+ # @return [String]
589
+ #
590
+ # @!attribute [rw] errors
591
+ # The failures, when reason is FIELD\_VALIDATION\_FAILED. A
592
+ # configuration or flag that doesn't exist is a semanticError with
593
+ # problem RESOURCE\_NOT\_FOUND or FLAG\_NOT\_FOUND.
594
+ # @return [Array<Types::ValidationError>]
595
+ #
596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfigcloudextension-2024-10-09/ValidationException AWS API Documentation
597
+ #
598
+ class ValidationException < Struct.new(
599
+ :message,
600
+ :reason,
601
+ :errors)
602
+ SENSITIVE = []
603
+ include Aws::Structure
604
+ end
605
+
606
+ end
607
+ end
608
+