Skip to content

CreateQuestionSetResponse

Source code in docs_src/capo_elementalinference/types/create_question_set_response.py
class CreateQuestionSetResponse(TypedDict, closed=True):
    yes_no: NotRequired[
        "capo_elementalinference.types.yes_no_question_list.YesNoQuestionList"
    ]
    """<p>The yesNo questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any yesNo questions. </p>"""
    yes_no_per_option: NotRequired[
        "capo_elementalinference.types.yes_no_per_option_question_list.YesNoPerOptionQuestionList"
    ]
    """<p>The yesNoPerOption questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any yesNoPerOption questions. </p>"""
    choose_one: NotRequired[
        "capo_elementalinference.types.choose_one_question_list.ChooseOneQuestionList"
    ]
    """<p>The chooseOne questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any chooseOne questions. </p>"""
    arn: "capo_elementalinference.types.question_set_arn.QuestionSetArn"
    """<p>The ARN of the question set.</p>"""
    id: "capo_elementalinference.types.question_set_id.QuestionSetId"
    """<p>A unique ID that Elemental Inference assigns to the question set.</p>"""
    name: "capo_elementalinference.types.resource_name.ResourceName"
    """<p>The name that you specified in the request.</p>"""
    version: "capo_elementalinference.types.question_set_version.QuestionSetVersion"
    """<p>The version that this response describes. For CreateQuestionSet, the version is always DRAFT. </p>"""
    description: NotRequired[
        "capo_elementalinference.types.question_set_version_description.QuestionSetVersionDescription"
    ]
    """<p>The description of the version. Elemental Inference doesn't return this property for CreateQuestionSet, because the DRAFT version has no description. </p>"""
    latest_version: NotRequired[
        "capo_elementalinference.types.question_set_version.QuestionSetVersion"
    ]
    """<p>The number of the highest version that you have published for this question set. Elemental Inference doesn't return this property for CreateQuestionSet, because a new question set has no published versions. </p>"""
    sha256: "capo_elementalinference.types.question_set_sha256.QuestionSetSha256"
    """<p>The SHA-256 hash of the DRAFT version, as 64 lowercase hexadecimal characters. The hash covers the name of the question set and its questions. You can specify this value in a CreateQuestionSetVersion request, so that Elemental Inference publishes DRAFT only if it hasn't changed. </p>"""
    references: NotRequired[
        "capo_elementalinference.types.feed_references.FeedReferences"
    ]
    """<p>A list of feed IDs that reference this version of the question set. For a new question set, the list is empty. </p>"""
    tags: NotRequired["capo_elementalinference.types.tag_map.TagMap"]
    """<p>Any tags that you included when you created the question set.</p>"""

arn instance-attribute

The ARN of the question set.

choose_one instance-attribute

choose_one: NotRequired[ChooseOneQuestionList]

The chooseOne questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any chooseOne questions.

description instance-attribute

description: NotRequired[QuestionSetVersionDescription]

The description of the version. Elemental Inference doesn't return this property for CreateQuestionSet, because the DRAFT version has no description.

id instance-attribute

A unique ID that Elemental Inference assigns to the question set.

latest_version instance-attribute

latest_version: NotRequired[QuestionSetVersion]

The number of the highest version that you have published for this question set. Elemental Inference doesn't return this property for CreateQuestionSet, because a new question set has no published versions.

name instance-attribute

The name that you specified in the request.

references instance-attribute

references: NotRequired[FeedReferences]

A list of feed IDs that reference this version of the question set. For a new question set, the list is empty.

sha256 instance-attribute

The SHA-256 hash of the DRAFT version, as 64 lowercase hexadecimal characters. The hash covers the name of the question set and its questions. You can specify this value in a CreateQuestionSetVersion request, so that Elemental Inference publishes DRAFT only if it hasn't changed.

tags instance-attribute

tags: NotRequired[TagMap]

Any tags that you included when you created the question set.

version instance-attribute

The version that this response describes. For CreateQuestionSet, the version is always DRAFT.

yes_no instance-attribute

yes_no: NotRequired[YesNoQuestionList]

The yesNo questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any yesNo questions.

yes_no_per_option instance-attribute

yes_no_per_option: NotRequired[YesNoPerOptionQuestionList]

The yesNoPerOption questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any yesNoPerOption questions.