Skip to content

GetPromptRequest

Source code in docs_src/capo_bedrock_agent/types/get_prompt_request.py
class GetPromptRequest(TypedDict, closed=True):
    prompt_identifier: "capo_bedrock_agent.types.prompt_identifier.PromptIdentifier"
    """<p>The unique identifier of the prompt.</p>"""
    prompt_version: NotRequired["capo_bedrock_agent.types.version.Version"]
    """<p>The version of the prompt about which you want to retrieve information. Omit this field to return information about the working draft of the prompt.</p>"""
    included_data: NotRequired["capo_bedrock_agent.types.included_data.IncludedData"]
    """<p>Controls the scope of data returned. Set to <code>METADATA_ONLY</code> to return only resource metadata. Set to <code>ALL_DATA</code> or omit this field to return the full response.</p>"""

included_data instance-attribute

included_data: NotRequired[IncludedData]

Controls the scope of data returned. Set to METADATA_ONLY to return only resource metadata. Set to ALL_DATA or omit this field to return the full response.

prompt_identifier instance-attribute

prompt_identifier: PromptIdentifier

The unique identifier of the prompt.

prompt_version instance-attribute

prompt_version: NotRequired[Version]

The version of the prompt about which you want to retrieve information. Omit this field to return information about the working draft of the prompt.