Skip to content

ActionReviewPayloadField

Source code in docs_src/capo_qbusiness/types/action_review_payload_field.py
class ActionReviewPayloadField(TypedDict, closed=True):
    display_name: NotRequired["capo_qbusiness.types.string.String"]
    """<p> The name of the field. </p>"""
    display_order: NotRequired["capo_qbusiness.types.integer.Integer"]
    """<p>The display order of fields in a payload.</p>"""
    display_description: NotRequired["capo_qbusiness.types.string.String"]
    """<p>The field level description of each action review input field. This could be an explanation of the field. In the Amazon Q Business web experience, these descriptions could be used to display as tool tips to help users understand the field. </p>"""
    type: NotRequired[
        "capo_qbusiness.types.action_payload_field_type.ActionPayloadFieldType"
    ]
    """<p>The type of field. </p>"""
    value: NotRequired[
        "capo_qbusiness.types.action_payload_field_value.ActionPayloadFieldValue"
    ]
    """<p>The field value.</p>"""
    allowed_values: NotRequired[
        "capo_qbusiness.types.action_review_payload_field_allowed_values.ActionReviewPayloadFieldAllowedValues"
    ]
    """<p>Information about the field values that an end user can use to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.</p>"""
    allowed_format: NotRequired["capo_qbusiness.types.string.String"]
    """<p>The expected data format for the action review input field value. For example, in PTO request, <code>from</code> and <code>to</code> would be of <code>datetime</code> allowed format. </p>"""
    array_item_json_schema: NotRequired[
        "capo_qbusiness.types.action_review_payload_field_array_item_json_schema.ActionReviewPayloadFieldArrayItemJsonSchema"
    ]
    """<p>Use to create a custom form with array fields (fields with nested objects inside an array).</p>"""
    required: NotRequired["bool"]
    """<p>Information about whether the field is required.</p>"""

allowed_format instance-attribute

allowed_format: NotRequired[String]

The expected data format for the action review input field value. For example, in PTO request, from and to would be of datetime allowed format.

allowed_values instance-attribute

allowed_values: NotRequired[ActionReviewPayloadFieldAllowedValues]

Information about the field values that an end user can use to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.

array_item_json_schema instance-attribute

array_item_json_schema: NotRequired[ActionReviewPayloadFieldArrayItemJsonSchema]

Use to create a custom form with array fields (fields with nested objects inside an array).

display_description instance-attribute

display_description: NotRequired[String]

The field level description of each action review input field. This could be an explanation of the field. In the Amazon Q Business web experience, these descriptions could be used to display as tool tips to help users understand the field.

display_name instance-attribute

display_name: NotRequired[String]

The name of the field.

display_order instance-attribute

display_order: NotRequired[Integer]

The display order of fields in a payload.

required instance-attribute

required: NotRequired[bool]

Information about whether the field is required.

type instance-attribute

type: NotRequired[ActionPayloadFieldType]

The type of field.

value instance-attribute

value: NotRequired[ActionPayloadFieldValue]

The field value.