Skip to content

UpdateQuestionSetResponse

Source code in docs_src/capo_elementalinference/types/update_question_set_response.py
class UpdateQuestionSetResponse(TypedDict, closed=True):
    yes_no: NotRequired[
        "capo_elementalinference.types.yes_no_question_list.YesNoQuestionList"
    ]
    """<p>The yesNo questions in this version. Elemental Inference doesn't return this property if the version has no yesNo questions. </p>"""
    yes_no_per_option: NotRequired[
        "capo_elementalinference.types.yes_no_per_option_question_list.YesNoPerOptionQuestionList"
    ]
    """<p>The yesNoPerOption questions in this version. Elemental Inference doesn't return this property if the version has no yesNoPerOption questions. </p>"""
    choose_one: NotRequired[
        "capo_elementalinference.types.choose_one_question_list.ChooseOneQuestionList"
    ]
    """<p>The chooseOne questions in this version. Elemental Inference doesn't return this property if the version has no 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>The ID of the question set.</p>"""
    name: "capo_elementalinference.types.resource_name.ResourceName"
    """<p>The updated or original name of the question set.</p>"""
    version: "capo_elementalinference.types.question_set_version.QuestionSetVersion"
    """<p>The version that this response describes. For UpdateQuestionSet, 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 UpdateQuestionSet, 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, even if you have since deleted that version. Elemental Inference doesn't return this property if you haven't published a version. </p>"""
    sha256: "capo_elementalinference.types.question_set_sha256.QuestionSetSha256"
    """<p>The SHA-256 hash of the DRAFT version after the update, as 64 lowercase hexadecimal characters. The hash covers the name of the question set and its questions, so it changes when you rename the question set. You can specify this value in a CreateQuestionSetVersion request, so that Elemental Inference publishes DRAFT only if it hasn't changed since this update. </p>"""
    references: NotRequired[
        "capo_elementalinference.types.feed_references.FeedReferences"
    ]
    """<p>A list of feed IDs that reference the DRAFT version of the question set.</p>"""
    tags: NotRequired["capo_elementalinference.types.tag_map.TagMap"]
    """<p>Any tags associated with the question set.</p>"""

arn instance-attribute

The ARN of the question set.

choose_one instance-attribute

choose_one: NotRequired[ChooseOneQuestionList]

The chooseOne questions in this version. Elemental Inference doesn't return this property if the version has no chooseOne questions.

description instance-attribute

description: NotRequired[QuestionSetVersionDescription]

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

id instance-attribute

The ID of 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, even if you have since deleted that version. Elemental Inference doesn't return this property if you haven't published a version.

name instance-attribute

The updated or original name of the question set.

references instance-attribute

references: NotRequired[FeedReferences]

A list of feed IDs that reference the DRAFT version of the question set.

sha256 instance-attribute

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

tags instance-attribute

tags: NotRequired[TagMap]

Any tags associated with the question set.

version instance-attribute

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

yes_no instance-attribute

yes_no: NotRequired[YesNoQuestionList]

The yesNo questions in this version. Elemental Inference doesn't return this property if the version has no yesNo questions.

yes_no_per_option instance-attribute

yes_no_per_option: NotRequired[YesNoPerOptionQuestionList]

The yesNoPerOption questions in this version. Elemental Inference doesn't return this property if the version has no yesNoPerOption questions.