BedrockAgentCoreControl / Client / list_harness_versions
list_harness_versions¶
- BedrockAgentCoreControl.Client.list_harness_versions(**kwargs)¶
Operation to list the versions of a Harness.
See also: AWS API Documentation
Request Syntax
response = client.list_harness_versions( harnessId='string', maxResults=123, nextToken='string' )
- Parameters:
harnessId (string) –
[REQUIRED]
The ID of the harness whose versions are listed.
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
{ 'harnessVersions': [ { 'harnessId': 'string', 'harnessName': 'string', 'arn': 'string', 'harnessVersion': 'string', 'status': 'CREATING'|'CREATE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'READY'|'DELETING'|'DELETE_FAILED', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1), 'failureReason': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
harnessVersions (list) –
The list of harness version summaries.
(dict) –
Summary information about a single version of a harness.
harnessId (string) –
The ID of the harness.
harnessName (string) –
The name of the harness.
arn (string) –
The ARN of the harness.
harnessVersion (string) –
The version of the harness that this summary describes.
status (string) –
The status of this harness version.
createdAt (datetime) –
The timestamp when this harness version was created.
updatedAt (datetime) –
The timestamp when this harness version was last updated.
failureReason (string) –
Reason why the create or update operation for this harness version failed.
nextToken (string) –
The token for the next set of results.
Exceptions
BedrockAgentCoreControl.Client.exceptions.AccessDeniedExceptionBedrockAgentCoreControl.Client.exceptions.ValidationExceptionBedrockAgentCoreControl.Client.exceptions.ResourceNotFoundExceptionBedrockAgentCoreControl.Client.exceptions.ThrottlingExceptionBedrockAgentCoreControl.Client.exceptions.InternalServerException