Class: Aws::WellArchitected::Types::GetAnswerOutput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-wellarchitected/types.rb

Overview

Output of a get answer call.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#answerTypes::Answer

An answer of the question.

Returns:



1934
1935
1936
1937
1938
1939
1940
1941
1942
# File 'lib/aws-sdk-wellarchitected/types.rb', line 1934

class GetAnswerOutput < Struct.new(
  :workload_id,
  :milestone_number,
  :lens_alias,
  :lens_arn,
  :answer)
  SENSITIVE = []
  include Aws::Structure
end

#lens_aliasString

The alias of the lens.

For Amazon Web Services official lenses, this is either the lens alias, such as ‘serverless`, or the lens ARN, such as `arn:aws:wellarchitected:us-east-1::lens/serverless`. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.

For custom lenses, this is the lens ARN, such as ‘arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef`.

Each lens is identified by its LensSummary$LensAlias.

Returns:

  • (String)


1934
1935
1936
1937
1938
1939
1940
1941
1942
# File 'lib/aws-sdk-wellarchitected/types.rb', line 1934

class GetAnswerOutput < Struct.new(
  :workload_id,
  :milestone_number,
  :lens_alias,
  :lens_arn,
  :answer)
  SENSITIVE = []
  include Aws::Structure
end

#lens_arnString

The ARN for the lens.

Returns:

  • (String)


1934
1935
1936
1937
1938
1939
1940
1941
1942
# File 'lib/aws-sdk-wellarchitected/types.rb', line 1934

class GetAnswerOutput < Struct.new(
  :workload_id,
  :milestone_number,
  :lens_alias,
  :lens_arn,
  :answer)
  SENSITIVE = []
  include Aws::Structure
end

#milestone_numberInteger

The milestone number.

A workload can have a maximum of 100 milestones.

Returns:

  • (Integer)


1934
1935
1936
1937
1938
1939
1940
1941
1942
# File 'lib/aws-sdk-wellarchitected/types.rb', line 1934

class GetAnswerOutput < Struct.new(
  :workload_id,
  :milestone_number,
  :lens_alias,
  :lens_arn,
  :answer)
  SENSITIVE = []
  include Aws::Structure
end

#workload_idString

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Returns:

  • (String)


1934
1935
1936
1937
1938
1939
1940
1941
1942
# File 'lib/aws-sdk-wellarchitected/types.rb', line 1934

class GetAnswerOutput < Struct.new(
  :workload_id,
  :milestone_number,
  :lens_alias,
  :lens_arn,
  :answer)
  SENSITIVE = []
  include Aws::Structure
end