Bedrock / Paginator / ListEnforcedGuardrailsConfiguration

ListEnforcedGuardrailsConfiguration

class Bedrock.Paginator.ListEnforcedGuardrailsConfiguration
paginator = client.get_paginator('list_enforced_guardrails_configuration')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Bedrock.Client.list_enforced_guardrails_configuration().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
Parameters:

PaginationConfig (dict) –

A dictionary that provides parameters to control pagination.

  • MaxItems (integer) –

    The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

  • StartingToken (string) –

    A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'guardrailsConfig': [
        {
            'configId': 'string',
            'guardrailArn': 'string',
            'guardrailId': 'string',
            'inputTags': 'HONOR'|'IGNORE',
            'guardrailVersion': 'string',
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'updatedAt': datetime(2015, 1, 1),
            'updatedBy': 'string',
            'owner': 'ACCOUNT'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • guardrailsConfig (list) –

      Array of AccountEnforcedGuardrailOutputConfiguration objects.

      • (dict) –

        Account enforced guardrail output configuration.

        • configId (string) –

          Unique ID for the account enforced configuration.

        • guardrailArn (string) –

          ARN representation for the guardrail.

        • guardrailId (string) –

          Unique ID for the guardrail.

        • inputTags (string) –

          Whether to honor or ignore input tags at runtime.

        • guardrailVersion (string) –

          Numerical guardrail version.

        • createdAt (datetime) –

          Timestamp.

        • createdBy (string) –

          The ARN of the role used to update the configuration.

        • updatedAt (datetime) –

          Timestamp.

        • updatedBy (string) –

          The ARN of the role used to update the configuration.

        • owner (string) –

          Configuration owner type.

    • NextToken (string) –

      A token to resume pagination.