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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


274
275
276
277
278
279
# File 'lib/aws-sdk-efs/types.rb', line 274

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)


274
275
276
277
278
279
# File 'lib/aws-sdk-efs/types.rb', line 274

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