Skip to content

Create View Version

connect_create_view_version R Documentation

Publishes a new version of the view identifier

Description

Publishes a new version of the view identifier.

Versions are immutable and monotonically increasing.

It returns the highest version if there is no change in content compared to that version. An error is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of the ⁠$LATEST⁠ alias.

Usage

connect_create_view_version(InstanceId, ViewId, VersionDescription,
  ViewContentSha256)

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.

VersionDescription

The description for the version being published.

ViewContentSha256

Indicates the checksum value of the latest published view content.

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$create_view_version(
  InstanceId = "string",
  ViewId = "string",
  VersionDescription = "string",
  ViewContentSha256 = "string"
)