A description of edge packaging jobs.
Parameters:
-
edge_packaging_job_name
(Optional[EntityName], default:
None
)
–
The name of the edge packaging job.
Raises:
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
| def describe_edge_packaging_job(
self,
*,
config_overrides: Optional[SageMakerClientConfig] = None,
edge_packaging_job_name: Optional[
"capo_sagemaker.types.entity_name.EntityName"
] = None,
) -> "capo_sagemaker.types.describe_edge_packaging_job_response.DescribeEdgePackagingJobResponse":
"""<p>A description of edge packaging jobs.</p>
Args:
edge_packaging_job_name: <p>The name of the edge packaging job.</p>
Raises:
capo_sagemaker.errors.resource_not_found.ResourceNotFound: <p>Resource being access is not found.</p>
capo_sagemaker.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_sagemaker.types.describe_edge_packaging_job_request.DescribeEdgePackagingJobRequest]",
) -> OperationResponse[
"capo_sagemaker.types.describe_edge_packaging_job_response.DescribeEdgePackagingJobResponse"
]:
import capo_sagemaker._operations.sage_maker.describe_edge_packaging_job
output, http_response = (
capo_sagemaker._operations.sage_maker.describe_edge_packaging_job.describe_edge_packaging_job(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeEdgePackagingJob")
)
input_: capo_sagemaker.types.describe_edge_packaging_job_request.DescribeEdgePackagingJobRequest = {}
if edge_packaging_job_name is not None:
input_["edge_packaging_job_name"] = edge_packaging_job_name
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|