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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appsync/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.



550
551
552
553
554
555
556
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 550

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

#messageString

Returns:

  • (String)


550
551
552
553
554
555
556
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 550

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)


550
551
552
553
554
555
556
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 550

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