Skip to content

Update Workload

wellarchitected_update_workload R Documentation

Update an existing workload

Description

Update an existing workload.

Usage

wellarchitected_update_workload(WorkloadId, WorkloadName, Description,
  Environment, AccountIds, AwsRegions, NonAwsRegions, PillarPriorities,
  ArchitecturalDesign, ReviewOwner, IsReviewOwnerUpdateAcknowledged,
  IndustryType, Industry, Notes, ImprovementStatus, DiscoveryConfig,
  Applications, JiraConfiguration)

Arguments

WorkloadId

[required]

WorkloadName
Description
Environment
AccountIds
AwsRegions
NonAwsRegions
PillarPriorities
ArchitecturalDesign
ReviewOwner
IsReviewOwnerUpdateAcknowledged

Flag indicating whether the workload owner has acknowledged that the Review owner field is required.

If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.

IndustryType
Industry
Notes
ImprovementStatus
DiscoveryConfig

Well-Architected discovery configuration settings to associate to the workload.

Applications

List of AppRegistry application ARNs to associate to the workload.

JiraConfiguration

Configuration of the Jira integration.

Value

A list with the following syntax:

list(
  Workload = list(
    WorkloadId = "string",
    WorkloadArn = "string",
    WorkloadName = "string",
    Description = "string",
    Environment = "PRODUCTION"|"PREPRODUCTION",
    UpdatedAt = as.POSIXct(
      "2015-01-01"
    ),
    AccountIds = list(
      "string"
    ),
    AwsRegions = list(
      "string"
    ),
    NonAwsRegions = list(
      "string"
    ),
    ArchitecturalDesign = "string",
    ReviewOwner = "string",
    ReviewRestrictionDate = as.POSIXct(
      "2015-01-01"
    ),
    IsReviewOwnerUpdateAcknowledged = TRUE|FALSE,
    IndustryType = "string",
    Industry = "string",
    Notes = "string",
    ImprovementStatus = "NOT_APPLICABLE"|"NOT_STARTED"|"IN_PROGRESS"|"COMPLETE"|"RISK_ACKNOWLEDGED",
    RiskCounts = list(
      123
    ),
    PillarPriorities = list(
      "string"
    ),
    Lenses = list(
      "string"
    ),
    Owner = "string",
    ShareInvitationId = "string",
    Tags = list(
      "string"
    ),
    DiscoveryConfig = list(
      TrustedAdvisorIntegrationStatus = "ENABLED"|"DISABLED",
      WorkloadResourceDefinition = list(
        "WORKLOAD_METADATA"|"APP_REGISTRY"
      )
    ),
    Applications = list(
      "string"
    ),
    Profiles = list(
      list(
        ProfileArn = "string",
        ProfileVersion = "string"
      )
    ),
    PrioritizedRiskCounts = list(
      123
    ),
    JiraConfiguration = list(
      IssueManagementStatus = "ENABLED"|"DISABLED"|"INHERIT",
      IssueManagementType = "AUTO"|"MANUAL",
      JiraProjectKey = "string",
      StatusMessage = "string"
    )
  )
)

Request syntax

svc$update_workload(
  WorkloadId = "string",
  WorkloadName = "string",
  Description = "string",
  Environment = "PRODUCTION"|"PREPRODUCTION",
  AccountIds = list(
    "string"
  ),
  AwsRegions = list(
    "string"
  ),
  NonAwsRegions = list(
    "string"
  ),
  PillarPriorities = list(
    "string"
  ),
  ArchitecturalDesign = "string",
  ReviewOwner = "string",
  IsReviewOwnerUpdateAcknowledged = TRUE|FALSE,
  IndustryType = "string",
  Industry = "string",
  Notes = "string",
  ImprovementStatus = "NOT_APPLICABLE"|"NOT_STARTED"|"IN_PROGRESS"|"COMPLETE"|"RISK_ACKNOWLEDGED",
  DiscoveryConfig = list(
    TrustedAdvisorIntegrationStatus = "ENABLED"|"DISABLED",
    WorkloadResourceDefinition = list(
      "WORKLOAD_METADATA"|"APP_REGISTRY"
    )
  ),
  Applications = list(
    "string"
  ),
  JiraConfiguration = list(
    IssueManagementStatus = "ENABLED"|"DISABLED"|"INHERIT",
    IssueManagementType = "AUTO"|"MANUAL",
    JiraProjectKey = "string"
  )
)