class_docstr: Response from Async Inference endpoint
  
  This response object provides a method to check for an async inference result in the
  Amazon S3 output path specified. If result object exists in that path, get and return
  the result
class_docstr_tok: ["Response","from","Async","Inference","endpoint","This","response","object","provides","a","method","to","check","for","an","async","inference","result","in","the","Amazon","S3","output","path","specified",".","If","result","object","exists","in","that","path",",","get","and","return","the","result"]
docstr: Initialize an AsyncInferenceResponse object.
  
  AsyncInferenceResponse can help users to get async inference result
  from the Amazon S3 output path
  
  Args:
      predictor_async (sagemaker.predictor.AsyncPredictor): The ``AsyncPredictor``
          that return this response.
      output_path (str): The Amazon S3 location that endpoints upload inference responses
          to.
      failure_path (str): The Amazon S3 location that endpoints upload model errors
          for failed requests.
docstr_tok: ["Initialize","an","AsyncInferenceResponse","object",".","AsyncInferenceResponse","can","help","users","to","get","async","inference","result","from","the","Amazon","S3","output","path","Args",":","predictor_async","(","sagemaker.predictor.AsyncPredictor",")",":","The","``","AsyncPredictor","``","that","return","this","response",".","output_path","(","str",")",":","The","Amazon","S3","location","that","endpoints","upload","inference","responses","to",".","failure_path","(","str",")",":","The","Amazon","S3","location","that","endpoints","upload","model","errors","for","failed","requests","."]
code: def __init__(
      self,
      predictor_async,
      output_path,
      failure_path,
  ):
      """Initialize an AsyncInferenceResponse object.
  
      AsyncInferenceResponse can help users to get async inference result
      from the Amazon S3 output path
  
      Args:
          predictor_async (sagemaker.predictor.AsyncPredictor): The ``AsyncPredictor``
              that return this response.
          output_path (str): The Amazon S3 location that endpoints upload inference responses
              to.
          failure_path (str): The Amazon S3 location that endpoints upload model errors
              for failed requests.
      """
      self.predictor_async = predictor_async
      self.output_path = output_path
      self._result = None
      self.failure_path = failure_path
  
file_path: sagemaker-python-sdk/src/sagemaker/async_inference/async_inference_response.py
imports: from __future__ import print_function, absolute_import
  from botocore.exceptions import ClientError
  from sagemaker.s3 import parse_s3_url
  from sagemaker.async_inference import WaiterConfig
  from sagemaker.exceptions import ObjectNotExistedError, UnexpectedClientError, AsyncInferenceModelError
label_desc: Use image node_id 1 to create a new AsyncInferenceResponse object from inherited base classes: object with example: obj = AsyncInferenceResponse(predictor_async, output_path, failure_path)