Skip to content

Update View Content

connect_update_view_content R Documentation

Updates the view content of the given view identifier in the specified Amazon Connect instance

Description

Updates the view content of the given view identifier in the specified Amazon Connect instance.

It performs content validation if Status is set to SAVED and performs full content validation if Status is PUBLISHED. Note that the ⁠$SAVED⁠ alias' content will always be updated, but the ⁠$LATEST⁠ alias' content will only be updated if Status is PUBLISHED.

Usage

connect_update_view_content(InstanceId, ViewId, Status, Content)

Arguments

InstanceId

[required] The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

ViewId

[required] The identifier of the view. Both ViewArn and ViewId can be used.

Status

[required] Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.

Content

[required] View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.

The total uncompressed content has a maximum file size of 400kB.

Value

A list with the following syntax:

list(
  View = list(
    Id = "string",
    Arn = "string",
    Name = "string",
    Status = "PUBLISHED"|"SAVED",
    Type = "CUSTOMER_MANAGED"|"AWS_MANAGED",
    Description = "string",
    Version = 123,
    VersionDescription = "string",
    Content = list(
      InputSchema = "string",
      Template = "string",
      Actions = list(
        "string"
      )
    ),
    Tags = list(
      "string"
    ),
    CreatedTime = as.POSIXct(
      "2015-01-01"
    ),
    LastModifiedTime = as.POSIXct(
      "2015-01-01"
    ),
    ViewContentSha256 = "string"
  )
)

Request syntax

svc$update_view_content(
  InstanceId = "string",
  ViewId = "string",
  Status = "PUBLISHED"|"SAVED",
  Content = list(
    Template = "string",
    Actions = list(
      "string"
    )
  )
)