Class: Aws::CloudExtensions::Types::ValidationError

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb

Overview

One reason a request failed validation. Exactly one member is set.

Defined Under Namespace

Classes: FieldConstraint, SemanticError, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#field_constraint ⇒ Types::FieldConstraint

A field's value failed a constraint, such as a length limit or a pattern.



2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 2265

class ValidationError < Struct.new(
  :field_constraint,
  :semantic_error,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class FieldConstraint < ValidationError; end
  class SemanticError < ValidationError; end
  class Unknown < ValidationError; end
end

#semantic_error ⇒ Types::SemanticError

The request has a problem that a single constraint doesn't describe, such as an approve entry that names no capability, or an expired nextToken.



2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 2265

class ValidationError < Struct.new(
  :field_constraint,
  :semantic_error,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class FieldConstraint < ValidationError; end
  class SemanticError < ValidationError; end
  class Unknown < ValidationError; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



2265
2266
2267
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 2265

def unknown
  @unknown
end