Class: Aws::Polly::Types::ValidationException
- Inherits:
-
Struct
- Object
- Struct
- Aws::Polly::Types::ValidationException
- 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
-
#event_type ⇒ Object
Returns the value of attribute event_type.
-
#fields ⇒ Array<Types::ValidationExceptionField>
The fields that caused the validation error.
-
#message ⇒ String
-
#reason ⇒ String
The reason the request failed validation.
Instance Attribute Details
#event_type ⇒ Object
Returns the value of attribute event_type
1692 1693 1694 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1692 def event_type @event_type end |
#fields ⇒ Array<Types::ValidationExceptionField>
The fields that caused the validation error.
1692 1693 1694 1695 1696 1697 1698 1699 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1692 class ValidationException < Struct.new( :message, :reason, :fields, :event_type) SENSITIVE = [] include Aws::Structure end |
#message ⇒ String
1692 1693 1694 1695 1696 1697 1698 1699 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1692 class ValidationException < Struct.new( :message, :reason, :fields, :event_type) SENSITIVE = [] include Aws::Structure end |
#reason ⇒ String
The reason the request failed validation. If Amazon Polly can't use
the Amazon Web Services KMS key that you specified in CreateVoice,
fields names CustomerManagedEncryption.KmsKeyArn and the reason
is one of the following:
- kmsKeyNotFound
No key with the specified ARN exists.
- kmsKeyUnusable
The key is disabled, scheduled for deletion, or missing its key material, or it isn't a symmetric encryption key.
1692 1693 1694 1695 1696 1697 1698 1699 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1692 class ValidationException < Struct.new( :message, :reason, :fields, :event_type) SENSITIVE = [] include Aws::Structure end |