Class: Aws::Polly::Types::ValidationException

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

Overview

The input fails to satisfy the constraints specified by the service.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



1274
1275
1276
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1274

def event_type
  @event_type
end

#fieldsArray<Types::ValidationExceptionField>

The fields that caused the validation error.



1274
1275
1276
1277
1278
1279
1280
1281
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1274

class ValidationException < Struct.new(
  :message,
  :reason,
  :fields,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

Returns:

  • (String)


1274
1275
1276
1277
1278
1279
1280
1281
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1274

class ValidationException < Struct.new(
  :message,
  :reason,
  :fields,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#reasonString

The reason the request failed validation.

Returns:

  • (String)


1274
1275
1276
1277
1278
1279
1280
1281
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1274

class ValidationException < Struct.new(
  :message,
  :reason,
  :fields,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end