Connect / Client / update_test_case
update_test_case¶
- Connect.Client.update_test_case(**kwargs)¶
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.
See also: AWS API Documentation
Request Syntax
response = client.update_test_case( InstanceId='string', TestCaseId='string', Content='string', EntryPoint={ 'Type': 'VOICE_CALL', 'VoiceCallEntryPointParameters': { 'SourcePhoneNumber': 'string', 'DestinationPhoneNumber': 'string', 'FlowId': 'string' } }, InitializationData='string', Name='string', Description='string', Status='PUBLISHED'|'SAVED', LastModifiedTime=datetime(2015, 1, 1), LastModifiedRegion='string' )
- Parameters:
InstanceId (string) –
[REQUIRED]
The identifier of the Amazon Connect instance.
TestCaseId (string) –
[REQUIRED]
The identifier of the test case to update.
Content (string) – The JSON string that represents the content of the test.
EntryPoint (dict) –
Defines the starting point for your test.
Type (string) –
The type of entry point.
VoiceCallEntryPointParameters (dict) –
Parameters for voice call entry point.
SourcePhoneNumber (string) –
The source phone number for the test.
DestinationPhoneNumber (string) –
The destination phone number for the test.
FlowId (string) –
The flow identifier for the test.
InitializationData (string) – Defines the test attributes for precise data representation.
Name (string) – The name of the test case.
Description (string) – The description of the test case.
Status (string) – 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 (datetime) – The time at which the resource was last modified.
LastModifiedRegion (string) – The region in which the resource was last modified
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions