class_docstr: Poll the pipeline until it reaches a terminal state; raise AirflowException with the failure reason.
  
  .. seealso::
      For more information on how to use this sensor, take a look at the guide:
      :ref:`howto/sensor:SageMakerPipelineSensor`
  
  :param pipeline_exec_arn: ARN of the pipeline to watch.
  :param verbose: Whether to print steps details while waiting for completion.
          Defaults to true, consider turning off for pipelines that have thousands of steps.
class_docstr_tok: ["Poll","the","pipeline","until","it","reaches","a","terminal","state",";","raise","AirflowException","with","the","failure","reason",".","..","seealso",":",":","For","more","information","on","how","to","use","this","sensor",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/sensor",":","SageMakerPipelineSensor","`",":","param","pipeline_exec_arn",":","ARN","of","the","pipeline","to","watch",".",":","param","verbose",":","Whether","to","print","steps","details","while","waiting","for","completion",".","Defaults","to","true",",","consider","turning","off","for","pipelines","that","have","thousands","of","steps","."]
code: def failed_states(self) -> set[str]:
      return SageMakerHook.failed_states
  
imports: from __future__ import annotations
  import time
  from functools import cached_property
  from typing import TYPE_CHECKING, Sequence
  from deprecated import deprecated
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning, AirflowSkipException
  from airflow.providers.amazon.aws.hooks.sagemaker import LogState, SageMakerHook
  from airflow.sensors.base import BaseSensorOperator
label_desc: Use image node_id 3 for calling the SageMakerPipelineSensor obj's underlying member method code with example usage: obj.failed_states() and returns: SageMakerHook