Creates a test case with its content and metadata for the specified Amazon Connect instance¶
Description¶
Creates a test case with its content and metadata for the specified Amazon Connect instance.
Usage¶
connect_create_test_case(InstanceId, Name, Description, Content,
EntryPoint, InitializationData, Status, TestCaseId, Tags,
LastModifiedTime, LastModifiedRegion)
Arguments¶
-
InstanceId[required] The identifier of the Amazon Connect instance.
-
Name[required] The name of the test.
-
DescriptionThe description of the test.
-
Content[required] The JSON string that represents the content of the test.
-
EntryPointDefines the starting point for your test.
-
InitializationDataDefines the initial custom attributes for your test.
-
StatusIndicates 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.
-
TestCaseIdId of the test case if you want to create it in a replica region using Amazon Connect Global Resiliency
-
TagsThe tags used to organize, track, or control access for this resource.
-
LastModifiedTimeThe time at which the resource was last modified.
-
LastModifiedRegionThe region in which the resource was last modified
Value¶
A list with the following syntax:
Request syntax¶
svc$create_test_case(
InstanceId = "string",
Name = "string",
Description = "string",
Content = "string",
EntryPoint = list(
Type = "VOICE_CALL"|"CHAT",
VoiceCallEntryPointParameters = list(
SourcePhoneNumber = "string",
DestinationPhoneNumber = "string",
FlowId = "string"
),
ChatEntryPointParameters = list(
FlowId = "string"
)
),
InitializationData = "string",
Status = "PUBLISHED"|"SAVED",
TestCaseId = "string",
Tags = list(
"string"
),
LastModifiedTime = as.POSIXct(
"2015-01-01"
),
LastModifiedRegion = "string"
)