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.
-
ContentThe JSON string that represents the content of the test.
-
EntryPointDefines the starting point for your test.
-
InitializationDataDefines the test attributes for precise data representation.
-
NameThe name of the test case.
-
DescriptionThe description of the test case.
-
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.
-
LastModifiedTimeThe time at which the resource was last modified.
-
LastModifiedRegionThe 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"
)