class_docstr: Callback step for workflow.
class_docstr_tok: ["Callback","step","for","workflow","."]
docstr: Constructs a CallbackStep.
  
  Args:
      name (str): The name of the callback step.
      sqs_queue_url (str): An SQS queue URL for receiving callback messages.
      inputs (dict): Input arguments that will be provided
          in the SQS message body of callback messages.
      outputs (List[CallbackOutput]): Outputs that can be provided when completing a callback.
      display_name (str): The display name of the callback step.
      description (str): The description of the callback step.
      cache_config (CacheConfig):  A `sagemaker.workflow.steps.CacheConfig` instance.
      depends_on (List[Union[str, Step, StepCollection]]): A list of `Step`/`StepCollection`
          names or `Step` instances or `StepCollection` instances that this `CallbackStep`
          depends on.
docstr_tok: ["Constructs","a","CallbackStep",".","Args",":","name","(","str",")",":","The","name","of","the","callback","step",".","sqs_queue_url","(","str",")",":","An","SQS","queue","URL","for","receiving","callback","messages",".","inputs","(","dict",")",":","Input","arguments","that","will","be","provided","in","the","SQS","message","body","of","callback","messages",".","outputs","(","List","[","CallbackOutput","]",")",":","Outputs","that","can","be","provided","when","completing","a","callback",".","display_name","(","str",")",":","The","display","name","of","the","callback","step",".","description","(","str",")",":","The","description","of","the","callback","step",".","cache_config","(","CacheConfig",")",":","A","`","sagemaker.workflow.steps.CacheConfig","`","instance",".","depends_on","(","List","[","Union","[","str",",","Step",",","StepCollection","]","]",")",":","A","list","of","`","Step","`","\/","`","StepCollection","`","names","or","`","Step","`","instances","or","`","StepCollection","`","instances","that","this","`","CallbackStep","`","depends","on","."]
code: def __init__(
      self,
      name: str,
      sqs_queue_url: str,
      inputs: dict,
      outputs: List[CallbackOutput],
      display_name: str = None,
      description: str = None,
      cache_config: CacheConfig = None,
      depends_on: Optional[
          List[Union[str, Step, StepCollection]]
      ] = None,
  ):
      """Constructs a CallbackStep.
  
      Args:
          name (str): The name of the callback step.
          sqs_queue_url (str): An SQS queue URL for receiving callback messages.
          inputs (dict): Input arguments that will be provided
              in the SQS message body of callback messages.
          outputs (List[CallbackOutput]): Outputs that can be provided when completing a callback.
          display_name (str): The display name of the callback step.
          description (str): The description of the callback step.
          cache_config (CacheConfig):  A `sagemaker.workflow.steps.CacheConfig` instance.
          depends_on (List[Union[str, Step, StepCollection]]): A list of `Step`/`StepCollection`
              names or `Step` instances or `StepCollection` instances that this `CallbackStep`
              depends on.
      """
      super(CallbackStep, self).__init__(
          name,
          display_name,
          description,
          StepTypeEnum.CALLBACK,
          depends_on,
      )
      self.sqs_queue_url = sqs_queue_url
      self.outputs = outputs
      self.cache_config = cache_config
      self.inputs = inputs
  
      root_prop = Properties(step_name=name)
  
      property_dict = {}
      for output in outputs:
          property_dict[output.output_name] = Properties(
              step_name=name,
              path=f"OutputParameters['{output.output_name}']",
          )
  
      root_prop.__dict__["Outputs"] = property_dict
      self._properties = root_prop
  
imports: from __future__ import absolute_import
  from typing import List, Dict, Union, Optional
  from enum import Enum
  import attr
  from sagemaker.workflow.entities import RequestType
  from sagemaker.workflow.properties import Properties
  from sagemaker.workflow.entities import DefaultEnumMeta
  from sagemaker.workflow.step_collections import StepCollection
  from sagemaker.workflow.steps import Step, StepTypeEnum, CacheConfig
label_desc: Use image node_id 1 to create a new CallbackStep object from inherited base classes: Step with example: obj = CallbackStep(name, sqs_queue_url, inputs, outputs, display_name, description, cache_config, depends_on)