list_human_loops
¶
list_human_loops(
*,
config_overrides: Optional[SageMakerA2IRuntimeClientConfig] = None,
creation_time_after: Optional[Timestamp] = None,
creation_time_before: Optional[Timestamp] = None,
flow_definition_arn: Optional[FlowDefinitionArn] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListHumanLoopsResponse
Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included.
Parameters:
-
creation_time_after(Optional[Timestamp], default:None) –(Optional) The timestamp of the date when you want the human loops to begin in ISO 8601 format. For example,
2020-02-24. -
creation_time_before(Optional[Timestamp], default:None) –(Optional) The timestamp of the date before which you want the human loops to begin in ISO 8601 format. For example,
2020-02-24. -
flow_definition_arn(Optional[FlowDefinitionArn], default:None) –The Amazon Resource Name (ARN) of a flow definition.
-
sort_order(Optional[SortOrder], default:None) –Optional. The order for displaying results. Valid values:
AscendingandDescending. -
next_token(Optional[NextToken], default:None) –A token to display the next page of results.
-
max_results(Optional[MaxResults], default:None) –The total number of items to return. If the total number of available items is more than the value specified in
MaxResults, then aNextTokenis returned in the output. You can use this token to display the next page of results.
Raises:
-
InternalServerException–We couldn't process your request because of an issue with the server. Try again later.
-
ResourceNotFoundException–We couldn't find the requested resource. Check that your resources exists and were created in the same AWS Region as your request, and try your request again.
-
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.
Source code in docs_src/capo_sagemaker_a2i_runtime/_services/sage_maker_a2_i_runtime.py
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 | |