send_pipeline_execution_step_failure
¶
send_pipeline_execution_step_failure(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
callback_token: Optional[CallbackToken] = None,
failure_reason: Optional[String256] = None,
client_request_token: Optional[IdempotencyToken] = None,
) -> SendPipelineExecutionStepFailureResponse
Notifies the pipeline that the execution of a callback step failed, along with a message describing why. When a callback step is run, the pipeline generates a callback token and includes the token in a message sent to Amazon Simple Queue Service (Amazon SQS).
Parameters:
-
callback_token(Optional[CallbackToken], default:None) –The pipeline generated token from the Amazon SQS queue.
-
failure_reason(Optional[String256], default:None) –A message describing why the step failed.
-
client_request_token(Optional[IdempotencyToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time.
Raises:
-
ConflictException–There was a conflict when you attempted to modify a SageMaker entity such as an
ExperimentorArtifact. -
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
27327 27328 27329 27330 27331 27332 27333 27334 27335 27336 27337 27338 27339 27340 27341 27342 27343 27344 27345 27346 27347 27348 27349 27350 27351 27352 27353 27354 27355 27356 27357 27358 27359 27360 27361 27362 27363 27364 27365 27366 27367 27368 27369 27370 27371 27372 27373 27374 27375 27376 27377 27378 27379 27380 27381 27382 27383 27384 27385 | |