Skip to content

Updates an existing optimization profile's configuration, including its pillars, execution role, and aggregation settings

Description

Updates an existing optimization profile's configuration, including its pillars, execution role, and aggregation settings.

Usage

wellarchitected_update_agent_profile(clientToken, profileArn,
  displayName, description, executionRoleArn, aggregationConfiguration,
  businessOverview, pillars, deletionProtection)

Arguments

  • clientToken

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

  • profileArn

    [required] The Amazon Resource Name (ARN) of the profile to update.

  • displayName

    The updated display name of the profile.

  • description

    The updated description of the profile.

  • executionRoleArn

    The updated ARN of the IAM execution role.

  • aggregationConfiguration

    The updated aggregation configuration.

  • businessOverview

    The updated business overview for the profile.

  • pillars

    The updated Well-Architected Tool Framework pillars for the profile.

  • deletionProtection

    Indicates whether deletion protection is enabled for the profile.

Value

A list with the following syntax:

list(
  name = "string",
  displayName = "string",
  description = "string",
  businessOverview = "string",
  pillars = list(
    "COST_OPTIMIZATION"|"SECURITY"|"RESILIENCE"|"PERFORMANCE"|"OPERATIONAL_EXCELLENCE"
  ),
  deletionProtection = TRUE|FALSE,
  executionRoleArn = "string",
  aggregationConfiguration = list(
    list(
      accountId = "string",
      regions = list(
        "string"
      ),
      accessRoleArn = "string"
    )
  ),
  arn = "string",
  eligibleForScheduledGeneration = TRUE|FALSE,
  eligibleForArchitectureGeneration = TRUE|FALSE,
  fieldErrors = list(
    "string"
  ),
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  ),
  createdBy = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  lastModifiedBy = "string",
  lastModifiedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$update_agent_profile(
  clientToken = "string",
  profileArn = "string",
  displayName = "string",
  description = "string",
  executionRoleArn = "string",
  aggregationConfiguration = list(
    list(
      accountId = "string",
      regions = list(
        "string"
      ),
      accessRoleArn = "string"
    )
  ),
  businessOverview = "string",
  pillars = list(
    "COST_OPTIMIZATION"|"SECURITY"|"RESILIENCE"|"PERFORMANCE"|"OPERATIONAL_EXCELLENCE"
  ),
  deletionProtection = TRUE|FALSE
)