Skip to content

CreateTestCaseRequest

Source code in docs_src/capo_connect/types/create_test_case_request.py
class CreateTestCaseRequest(TypedDict, closed=True):
    instance_id: "capo_connect.types.instance_id_or_arn.InstanceIdOrArn"
    """<p>The identifier of the Amazon Connect instance.</p>"""
    name: "capo_connect.types.test_case_name.TestCaseName"
    """<p>The name of the test.</p>"""
    description: NotRequired[
        "capo_connect.types.test_case_description.TestCaseDescription"
    ]
    """<p>The description of the test.</p>"""
    content: "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 initial custom attributes for your test.</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 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>. If the test case status is <code>SAVED</code>, you can provide a partial configuration.</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>"""
    test_case_id: NotRequired["capo_connect.types.test_case_id.TestCaseId"]
    """<p>Id of the test case if you want to create it in a replica region using Amazon Connect Global Resiliency</p>"""
    tags: NotRequired["capo_connect.types.tag_map.TagMap"]
    """<p>The tags used to organize, track, or control access for this resource.</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: TestCaseContent

The JSON string that represents the content of the test.

description instance-attribute

description: NotRequired[TestCaseDescription]

The description of the test.

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 initial custom attributes for your test.

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

The name of the test.

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 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. If the test case status is SAVED, you can provide a partial configuration.

tags instance-attribute

tags: NotRequired[TagMap]

The tags used to organize, track, or control access for this resource.

test_case_id instance-attribute

test_case_id: NotRequired[TestCaseId]

Id of the test case if you want to create it in a replica region using Amazon Connect Global Resiliency