Bedrock / Client / list_model_customization_jobs
list_model_customization_jobs#
- Bedrock.Client.list_model_customization_jobs(**kwargs)#
Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria.
For more information, see Custom models in the Bedrock User Guide.
See also: AWS API Documentation
Request Syntax
response = client.list_model_customization_jobs( creationTimeAfter=datetime(2015, 1, 1), creationTimeBefore=datetime(2015, 1, 1), maxResults=123, nameContains='string', nextToken='string', sortBy='CreationTime', sortOrder='Ascending'|'Descending', statusEquals='InProgress'|'Completed'|'Failed'|'Stopping'|'Stopped' )
- Parameters:
creationTimeAfter (datetime) – Return customization jobs created after the specified time.
creationTimeBefore (datetime) – Return customization jobs created before the specified time.
maxResults (integer) – Maximum number of results to return in the response.
nameContains (string) – Return customization jobs only if the job name contains these characters.
nextToken (string) – Continuation token from the previous response, for Bedrock to list the next set of results.
sortBy (string) – The field to sort by in the returned list of jobs.
sortOrder (string) – The sort order of the results.
statusEquals (string) – Return customization jobs with the specified status.
- Return type:
dict
- Returns:
Response Syntax
{ 'modelCustomizationJobSummaries': [ { 'baseModelArn': 'string', 'creationTime': datetime(2015, 1, 1), 'customModelArn': 'string', 'customModelName': 'string', 'endTime': datetime(2015, 1, 1), 'jobArn': 'string', 'jobName': 'string', 'lastModifiedTime': datetime(2015, 1, 1), 'status': 'InProgress'|'Completed'|'Failed'|'Stopping'|'Stopped' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
modelCustomizationJobSummaries (list) –
Job summaries.
(dict) –
Information about one customization job
baseModelArn (string) –
ARN of the base model.
creationTime (datetime) –
Creation time of the custom model.
customModelArn (string) –
ARN of the custom model.
customModelName (string) –
Name of the custom model.
endTime (datetime) –
Time that the customization job ended.
jobArn (string) –
ARN of the customization job.
jobName (string) –
Name of the customization job.
lastModifiedTime (datetime) –
Time that the customization job was last modified.
status (string) –
Status of the customization job.
nextToken (string) –
Page continuation token to use in the next request.
Exceptions
Bedrock.Client.exceptions.AccessDeniedException
Bedrock.Client.exceptions.ValidationException
Bedrock.Client.exceptions.InternalServerException
Bedrock.Client.exceptions.ThrottlingException