Skip to content

Updates an existing context associated with a profile

Description

Updates an existing context associated with a profile.

Usage

wellarchitected_update_agent_context(clientToken, profileArn, id, title,
  content)

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 containing the context.

  • id

    [required] The unique identifier of the context to update.

  • title

    The updated title of the context.

  • content

    The updated typed content of the context. The structure contains application-specific fields such as account IDs, Regions, services, and resource types.

Value

A list with the following syntax:

list(
  context = list(
    id = "string",
    profileArn = "string",
    title = "string",
    contextType = "APPLICATION",
    content = list(
      accountIds = list(
        "string"
      ),
      regions = list(
        "string"
      ),
      awsServices = list(
        "string"
      ),
      resourceTypes = list(
        "string"
      ),
      resourceTags = list(
        list(
          key = "string",
          value = "string"
        )
      ),
      applicationOverview = "string",
      industry = "string",
      applicationType = "SAS"|"DESKTOP_APPLICATION"|"OTHER",
      criticality = "MISSION_CRITICAL"|"BUSINESS_CRITICAL"|"NON_CRITICAL"|"TEST_DEVELOPMENT",
      architectureOverview = "string",
      additionalContext = "string"
    ),
    applicationType = "SAS"|"DESKTOP_APPLICATION"|"OTHER",
    criticality = "MISSION_CRITICAL"|"BUSINESS_CRITICAL"|"NON_CRITICAL"|"TEST_DEVELOPMENT",
    createdBy = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    lastModifiedBy = "string",
    lastModifiedAt = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$update_agent_context(
  clientToken = "string",
  profileArn = "string",
  id = "string",
  title = "string",
  content = list(
    accountIds = list(
      "string"
    ),
    regions = list(
      "string"
    ),
    awsServices = list(
      "string"
    ),
    resourceTypes = list(
      "string"
    ),
    resourceTags = list(
      list(
        key = "string",
        value = "string"
      )
    ),
    applicationOverview = "string",
    industry = "string",
    applicationType = "SAS"|"DESKTOP_APPLICATION"|"OTHER",
    criticality = "MISSION_CRITICAL"|"BUSINESS_CRITICAL"|"NON_CRITICAL"|"TEST_DEVELOPMENT",
    architectureOverview = "string",
    additionalContext = "string"
  )
)