BedrockAgentCoreControl / Client / list_harnesses

list_harnesses

BedrockAgentCoreControl.Client.list_harnesses(**kwargs)

Operation to list Harnesses.

See also: AWS API Documentation

Request Syntax

response = client.list_harnesses(
    maxResults=123,
    nextToken='string'
)
Parameters:
  • maxResults (integer) – The maximum number of results to return in a single call.

  • nextToken (string) – The token for the next set of results.

Return type:

dict

Returns:

Response Syntax

{
    'harnesses': [
        {
            'harnessId': 'string',
            'harnessName': 'string',
            'arn': 'string',
            'status': 'CREATING'|'CREATE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'READY'|'DELETING'|'DELETE_FAILED',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • harnesses (list) –

      The list of harness summaries.

      • (dict) –

        Summary information about a harness.

        • harnessId (string) –

          The ID of the harness.

        • harnessName (string) –

          The name of the harness.

        • arn (string) –

          The ARN of the harness.

        • status (string) –

          The current status of the harness.

        • createdAt (datetime) –

          The timestamp when the harness was created.

        • updatedAt (datetime) –

          The timestamp when the harness was last updated.

    • nextToken (string) –

      The token for the next set of results.

Exceptions

  • BedrockAgentCoreControl.Client.exceptions.AccessDeniedException

  • BedrockAgentCoreControl.Client.exceptions.ValidationException

  • BedrockAgentCoreControl.Client.exceptions.ThrottlingException

  • BedrockAgentCoreControl.Client.exceptions.InternalServerException