Skip to content

Update Test Case

connect_update_test_case R Documentation

Updates any of the metadata for a test case, such as the name, description, and status or content of an existing test case

Description

Updates any of the metadata for a test case, such as the name, description, and status or content of an existing test case. This API doesn't allow customers to update the tags of the test case resource for the specified Amazon Connect instance.

Usage

connect_update_test_case(InstanceId, TestCaseId, Content, EntryPoint,
  InitializationData, Name, Description, Status, LastModifiedTime,
  LastModifiedRegion)

Arguments

InstanceId

[required] The identifier of the Amazon Connect instance.

TestCaseId

[required] The identifier of the test case to update.

Content

The JSON string that represents the content of the test.

EntryPoint

Defines the starting point for your test.

InitializationData

Defines the test attributes for precise data representation.

Name

The name of the test case.

Description

The description of the test case.

Status

Indicates the test status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content. The SAVED status does not initiate validation of the content.

LastModifiedTime

The time at which the resource was last modified.

LastModifiedRegion

The region in which the resource was last modified

Value

An empty list.

Request syntax

svc$update_test_case(
  InstanceId = "string",
  TestCaseId = "string",
  Content = "string",
  EntryPoint = list(
    Type = "VOICE_CALL"|"CHAT",
    VoiceCallEntryPointParameters = list(
      SourcePhoneNumber = "string",
      DestinationPhoneNumber = "string",
      FlowId = "string"
    ),
    ChatEntryPointParameters = list(
      FlowId = "string"
    )
  ),
  InitializationData = "string",
  Name = "string",
  Description = "string",
  Status = "PUBLISHED"|"SAVED",
  LastModifiedTime = as.POSIXct(
    "2015-01-01"
  ),
  LastModifiedRegion = "string"
)