Skip to content

ListGuardrailsRequest

Source code in docs_src/capo_bedrock/types/list_guardrails_request.py
class ListGuardrailsRequest(TypedDict, closed=True):
    guardrail_identifier: NotRequired[
        "capo_bedrock.types.guardrail_identifier.GuardrailIdentifier"
    ]
    """<p>The unique identifier of the guardrail. This can be an ID or the ARN.</p>"""
    max_results: NotRequired["capo_bedrock.types.max_results.MaxResults"]
    """<p>The maximum number of results to return in the response.</p>"""
    next_token: NotRequired["capo_bedrock.types.pagination_token.PaginationToken"]
    """<p>If there are more results than were returned in the response, the response returns a <code>nextToken</code> that you can send in another <code>ListGuardrails</code> request to see the next batch of results.</p>"""

guardrail_identifier instance-attribute

guardrail_identifier: NotRequired[GuardrailIdentifier]

The unique identifier of the guardrail. This can be an ID or the ARN.

max_results instance-attribute

max_results: NotRequired[MaxResults]

The maximum number of results to return in the response.

next_token instance-attribute

next_token: NotRequired[PaginationToken]

If there are more results than were returned in the response, the response returns a nextToken that you can send in another ListGuardrails request to see the next batch of results.