Class: Aws::Assurance::Types::BatchGetTaskError

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

Overview

A requested task that the operation could not return, along with the reason.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code ⇒ String

The error code. Known values: NOT_FOUND, ACCESS_DENIED, THROTTLED, INTERNAL_ERROR.

Returns:

  • (String)


552
553
554
555
556
557
558
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 552

class BatchGetTaskError < Struct.new(
  :key,
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#key ⇒ Types::TaskKey

The identifier of the task that the operation could not retrieve.

Returns:



552
553
554
555
556
557
558
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 552

class BatchGetTaskError < Struct.new(
  :key,
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#message ⇒ String

A human-readable explanation of why the operation could not return this task. Intended for display and logging; match on code for programmatic handling.

Returns:

  • (String)


552
553
554
555
556
557
558
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 552

class BatchGetTaskError < Struct.new(
  :key,
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end