BedrockAgentCoreControl / Paginator / ListConfigurationBundleVersions

ListConfigurationBundleVersions

class BedrockAgentCoreControl.Paginator.ListConfigurationBundleVersions
paginator = client.get_paginator('list_configuration_bundle_versions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from BedrockAgentCoreControl.Client.list_configuration_bundle_versions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    bundleId='string',
    filter={
        'branchName': 'string',
        'createdByName': 'string',
        'latestPerBranch': True|False
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • bundleId (string) –

    [REQUIRED]

    The unique identifier of the configuration bundle to list versions for.

  • filter (dict) –

    An optional filter for listing versions, including branch name, creation source, and whether to return only the latest version per branch.

    • branchName (string) –

      Filter by branch name.

    • createdByName (string) –

      Filter by creation source name.

    • latestPerBranch (boolean) –

      When true, returns only the latest version for each branch. When false or not specified, returns all versions. Can be combined with branchName to get the latest version for a specific branch.

  • 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.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

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

Return type:

dict

Returns:

Response Syntax

{
    'versions': [
        {
            'bundleArn': 'string',
            'bundleId': 'string',
            'versionId': 'string',
            'lineageMetadata': {
                'parentVersionIds': [
                    'string',
                ],
                'branchName': 'string',
                'createdBy': {
                    'name': 'string',
                    'arn': 'string'
                },
                'commitMessage': 'string'
            },
            'versionCreatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • versions (list) –

      The list of configuration bundle version summaries.

      • (dict) –

        Summary information about a configuration bundle version.

        • bundleArn (string) –

          The Amazon Resource Name (ARN) of the configuration bundle.

        • bundleId (string) –

          The unique identifier of the configuration bundle.

        • versionId (string) –

          The version identifier of this configuration bundle version.

        • lineageMetadata (dict) –

          The version lineage metadata, including parent versions, branch name, and creation source.

          • parentVersionIds (list) –

            A list of parent version identifiers. Regular commits have 0-1 parents. Merge commits have 2 parents: the target branch parent and the source branch parent. The first parent represents the primary lineage.

            • (string) –

          • branchName (string) –

            The branch name for this version. If not specified, inherits the parent’s branch or defaults to mainline.

          • createdBy (dict) –

            The source that created this version.

            • name (string) –

              The name of the source (for example, user, optimization-job, or system).

            • arn (string) –

              The Amazon Resource Name (ARN) of the source, if applicable (for example, a user ARN or optimization job ARN).

          • commitMessage (string) –

            A commit message describing the changes in this version.

        • versionCreatedAt (datetime) –

          The timestamp when this version was created.

    • NextToken (string) –

      A token to resume pagination.