Class: Aws::AppSync::Types::BadRequestException

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-appsync/types.rb

Overview

The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#detailTypes::BadRequestDetail

Provides further details for the reason behind the bad request. For reason type ‘CODE_ERROR`, the detail will contain a list of code errors.



665
666
667
668
669
670
671
# File 'lib/aws-sdk-appsync/types.rb', line 665

class BadRequestException < Struct.new(
  :message,
  :reason,
  :detail)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

Returns:

  • (String)


665
666
667
668
669
670
671
# File 'lib/aws-sdk-appsync/types.rb', line 665

class BadRequestException < Struct.new(
  :message,
  :reason,
  :detail)
  SENSITIVE = []
  include Aws::Structure
end

#reasonString

Provides context for the cause of the bad request. The only supported value is ‘CODE_ERROR`.

Returns:

  • (String)


665
666
667
668
669
670
671
# File 'lib/aws-sdk-appsync/types.rb', line 665

class BadRequestException < Struct.new(
  :message,
  :reason,
  :detail)
  SENSITIVE = []
  include Aws::Structure
end