Textract / Client / list_blueprints

list_blueprints

Textract.Client.list_blueprints(**kwargs)

Lists the blueprints that are available to the caller, with optional filtering by project and resource owner. The results are paginated. If the response includes a NextToken value, pass it in a subsequent call to retrieve the next page of results.

See also: AWS API Documentation

Request Syntax

response = client.list_blueprints(
    MaxResults=123,
    NextToken='string',
    BlueprintArn='string',
    ProjectFilter={
        'ProjectArn': 'string'
    },
    ResourceOwner='ACCOUNT'|'SERVICE'
)
Parameters:
  • MaxResults (integer) – The maximum number of blueprints to return in each page of results. If you don’t specify a value, the service selects a default page size. Use the NextToken value in the response to retrieve any remaining results.

  • NextToken (string) – A pagination token returned from a previous call to ListBlueprints. Use it to retrieve the next page of results.

  • BlueprintArn (string) – The Amazon Resource Name (ARN) of a blueprint to filter the results by.

  • ProjectFilter (dict) –

    A filter that limits the results to blueprints associated with the specified project.

    • ProjectArn (string) – [REQUIRED]

      The Amazon Resource Name (ARN) of the project to filter by.

  • ResourceOwner (string) – A filter that limits the results to blueprints owned by your account or to blueprints provided by Amazon Textract.

Return type:

dict

Returns:

Response Syntax

{
    'Blueprints': [
        {
            'BlueprintArn': 'string',
            'BlueprintName': 'string',
            'BlueprintVersion': 'string',
            'ResourceOwner': 'ACCOUNT'|'SERVICE',
            'CreationTime': datetime(2015, 1, 1),
            'LastModifiedTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • Blueprints (list) –

      A list of blueprint summaries that match the request.

      • (dict) –

        A summary of a blueprint, returned in the results of ListBlueprints.

        • BlueprintArn (string) –

          The Amazon Resource Name (ARN) of the blueprint.

        • BlueprintName (string) –

          The name of the blueprint.

        • BlueprintVersion (string) –

          The version of the blueprint.

        • ResourceOwner (string) –

          Whether the blueprint is owned by your account or provided by Amazon Textract.

        • CreationTime (datetime) –

          The date and time that the blueprint was created.

        • LastModifiedTime (datetime) –

          The date and time that the blueprint was last modified.

    • NextToken (string) –

      A pagination token to use in a subsequent call to ListBlueprints to retrieve the next page of results. This value is null when there are no more results to return.

Exceptions