You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SQS::Types::BatchResultErrorEntry

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

Overview

This is used in the responses of batch API to give a detailed description of the result of an action on each entry in the request.

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

An error code representing why the action failed on this entry.

Returns:

  • (String)


110
111
112
113
114
115
116
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 110

class BatchResultErrorEntry < Struct.new(
  :id,
  :sender_fault,
  :code,
  :message)
  include Aws::Structure
end

#idString

The Id of an entry in a batch request.

Returns:

  • (String)


110
111
112
113
114
115
116
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 110

class BatchResultErrorEntry < Struct.new(
  :id,
  :sender_fault,
  :code,
  :message)
  include Aws::Structure
end

#messageString

A message explaining why the action failed on this entry.

Returns:

  • (String)


110
111
112
113
114
115
116
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 110

class BatchResultErrorEntry < Struct.new(
  :id,
  :sender_fault,
  :code,
  :message)
  include Aws::Structure
end

#sender_faultBoolean

Specifies whether the error happened due to the sender's fault.

Returns:

  • (Boolean)


110
111
112
113
114
115
116
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 110

class BatchResultErrorEntry < Struct.new(
  :id,
  :sender_fault,
  :code,
  :message)
  include Aws::Structure
end