Class: Aws::EFS::Types::BadRequest

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

Overview

Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

The error code is a string that uniquely identifies an error condition. It is meant to be read and understood by programs that detect and handle errors by type.

Returns:

  • (String)


281
282
283
284
285
286
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 281

class BadRequest < Struct.new(
  :error_code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

The error message contains a generic description of the error condition in English. It is intended for a human audience. Simple programs display the message directly to the end user if they encounter an error condition they don't know how or don't care to handle. Sophisticated programs with more exhaustive error handling and proper internationalization are more likely to ignore the error message.

Returns:

  • (String)


281
282
283
284
285
286
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 281

class BadRequest < Struct.new(
  :error_code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end