Skip to content

Get Answer

wellarchitected_get_answer R Documentation

Get the answer to a specific question in a workload review

Description

Get the answer to a specific question in a workload review.

Usage

wellarchitected_get_answer(WorkloadId, LensAlias, QuestionId,
  MilestoneNumber)

Arguments

WorkloadId

[required]

LensAlias

[required]

QuestionId

[required]

MilestoneNumber

Value

A list with the following syntax:

list(
  WorkloadId = "string",
  MilestoneNumber = 123,
  LensAlias = "string",
  LensArn = "string",
  Answer = list(
    QuestionId = "string",
    PillarId = "string",
    QuestionTitle = "string",
    QuestionDescription = "string",
    ImprovementPlanUrl = "string",
    HelpfulResourceUrl = "string",
    HelpfulResourceDisplayText = "string",
    Choices = list(
      list(
        ChoiceId = "string",
        Title = "string",
        Description = "string",
        HelpfulResource = list(
          DisplayText = "string",
          Url = "string"
        ),
        ImprovementPlan = list(
          DisplayText = "string",
          Url = "string"
        ),
        AdditionalResources = list(
          list(
            Type = "HELPFUL_RESOURCE"|"IMPROVEMENT_PLAN",
            Content = list(
              list(
                DisplayText = "string",
                Url = "string"
              )
            )
          )
        )
      )
    ),
    SelectedChoices = list(
      "string"
    ),
    ChoiceAnswers = list(
      list(
        ChoiceId = "string",
        Status = "SELECTED"|"NOT_APPLICABLE"|"UNSELECTED",
        Reason = "OUT_OF_SCOPE"|"BUSINESS_PRIORITIES"|"ARCHITECTURE_CONSTRAINTS"|"OTHER"|"NONE",
        Notes = "string"
      )
    ),
    IsApplicable = TRUE|FALSE,
    Risk = "UNANSWERED"|"HIGH"|"MEDIUM"|"NONE"|"NOT_APPLICABLE",
    Notes = "string",
    Reason = "OUT_OF_SCOPE"|"BUSINESS_PRIORITIES"|"ARCHITECTURE_CONSTRAINTS"|"OTHER"|"NONE",
    JiraConfiguration = list(
      JiraIssueUrl = "string",
      LastSyncedTime = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)

Request syntax

svc$get_answer(
  WorkloadId = "string",
  LensAlias = "string",
  QuestionId = "string",
  MilestoneNumber = 123
)