Skip to content

UpdateTestCaseRequest

Source code in docs_src/capo_connect/types/update_test_case_request.py
class UpdateTestCaseRequest(TypedDict, closed=True):
    instance_id: "capo_connect.types.instance_id_or_arn.InstanceIdOrArn"
    """<p>The identifier of the Amazon Connect instance.</p>"""
    test_case_id: "capo_connect.types.test_case_id.TestCaseId"
    """<p>The identifier of the test case to update.</p>"""
    content: NotRequired["capo_connect.types.test_case_content.TestCaseContent"]
    """<p>The JSON string that represents the content of the test.</p>"""
    entry_point: NotRequired[
        "capo_connect.types.test_case_entry_point.TestCaseEntryPoint"
    ]
    """<p>Defines the starting point for your test.</p>"""
    initialization_data: NotRequired[
        "capo_connect.types.test_case_initialization_data.TestCaseInitializationData"
    ]
    """<p>Defines the test attributes for precise data representation.</p>"""
    synthetic_customer_configuration: NotRequired[
        "capo_connect.types.synthetic_customer_configuration.SyntheticCustomerConfiguration"
    ]
    """<p>The configuration of an AI-driven synthetic customer that you use to simulate the customer side of the test. If you specify this parameter, it replaces your entire existing configuration. If you omit it, Amazon Connect keeps your existing configuration. If you set <code>Enabled</code> to <code>true</code> and the test case status to <code>PUBLISHED</code>, you must provide a <code>Persona</code> with a <code>Name</code>, and a <code>Scenario</code> with a <code>Name</code>, <code>Goal</code>, and <code>ExpectedOutcome</code>.</p>"""
    name: NotRequired["capo_connect.types.test_case_name.TestCaseName"]
    """<p>The name of the test case.</p>"""
    description: NotRequired[
        "capo_connect.types.test_case_description.TestCaseDescription"
    ]
    """<p>The description of the test case.</p>"""
    status: NotRequired["capo_connect.types.test_case_status.TestCaseStatus"]
    """<p>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.</p>"""
    last_modified_time: NotRequired["capo_connect.types.timestamp.Timestamp"]
    """<p>The time at which the resource was last modified.</p>"""
    last_modified_region: NotRequired["capo_connect.types.region_name.RegionName"]
    """<p>The region in which the resource was last modified</p>"""

content instance-attribute

content: NotRequired[TestCaseContent]

The JSON string that represents the content of the test.

description instance-attribute

description: NotRequired[TestCaseDescription]

The description of the test case.

entry_point instance-attribute

entry_point: NotRequired[TestCaseEntryPoint]

Defines the starting point for your test.

initialization_data instance-attribute

initialization_data: NotRequired[TestCaseInitializationData]

Defines the test attributes for precise data representation.

instance_id instance-attribute

instance_id: InstanceIdOrArn

The identifier of the Amazon Connect instance.

last_modified_region instance-attribute

last_modified_region: NotRequired[RegionName]

The region in which the resource was last modified

last_modified_time instance-attribute

last_modified_time: NotRequired[Timestamp]

The time at which the resource was last modified.

name instance-attribute

name: NotRequired[TestCaseName]

The name of the test case.

status instance-attribute

status: NotRequired[TestCaseStatus]

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.

synthetic_customer_configuration instance-attribute

synthetic_customer_configuration: NotRequired[SyntheticCustomerConfiguration]

The configuration of an AI-driven synthetic customer that you use to simulate the customer side of the test. If you specify this parameter, it replaces your entire existing configuration. If you omit it, Amazon Connect keeps your existing configuration. If you set Enabled to true and the test case status to PUBLISHED, you must provide a Persona with a Name, and a Scenario with a Name, Goal, and ExpectedOutcome.

test_case_id instance-attribute

test_case_id: TestCaseId

The identifier of the test case to update.