start_human_loop
async
¶
start_human_loop(
*,
config_overrides: Optional[AsyncSageMakerA2IRuntimeClientConfig] = None,
human_loop_name: Optional[HumanLoopName] = None,
flow_definition_arn: Optional[FlowDefinitionArn] = None,
human_loop_input: Optional[HumanLoopInput] = None,
data_attributes: Optional[HumanLoopDataAttributes] = None,
) -> StartHumanLoopResponse
Starts a human loop, provided that at least one activation condition is met.
Parameters:
-
human_loop_name(Optional[HumanLoopName], default:None) –The name of the human loop.
-
flow_definition_arn(Optional[FlowDefinitionArn], default:None) –The Amazon Resource Name (ARN) of the flow definition associated with this human loop.
-
human_loop_input(Optional[HumanLoopInput], default:None) –An object that contains information about the human loop.
-
data_attributes(Optional[HumanLoopDataAttributes], default:None) –Attributes of the specified data. Use
DataAttributesto specify if your data is free of personally identifiable information and/or free of adult content.
Raises:
-
ConflictException–Your request has the same name as another active human loop but has different input data. You cannot start two human loops with the same name and different input data.
-
InternalServerException–We couldn't process your request because of an issue with the server. Try again later.
-
ServiceQuotaExceededException–You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your AWS account. For a list of Amazon A2I service quotes, see Amazon Augmented AI Service Quotes. Delete some resources or request an increase in your service quota. You can request a quota increase using Service Quotas or the AWS Support Center. To request an increase, see AWS Service Quotas in the AWS General Reference.
-
ThrottlingException–You exceeded the maximum number of requests.
-
ValidationException–The request isn't valid. Check the syntax and try again.
-
UnknownServiceError–The service returned an error code this client does not model.