Provides more detail about the cluster step.
Parameters:
-
cluster_id
(Optional[ClusterId], default:
None
)
–
The identifier of the cluster with steps to describe.
-
step_id
(Optional[StepId], default:
None
)
–
The identifier of the step to describe.
Raises:
Source code in docs_src/capo_emr/_services/async_emr.py
| async def describe_step(
self,
*,
config_overrides: Optional[AsyncEMRClientConfig] = None,
cluster_id: Optional["capo_emr.types.cluster_id.ClusterId"] = None,
step_id: Optional["capo_emr.types.step_id.StepId"] = None,
) -> "capo_emr.types.describe_step_output.DescribeStepOutput":
"""<p>Provides more detail about the cluster step.</p>
Args:
cluster_id: <p>The identifier of the cluster with steps to describe.</p>
step_id: <p>The identifier of the step to describe.</p>
Raises:
capo_emr.errors.internal_server_exception.InternalServerException: <p>This exception occurs when there is an internal failure in the Amazon EMR service.</p>
capo_emr.errors.invalid_request_exception.InvalidRequestException: <p>This exception occurs when there is something wrong with user input.</p>
capo_emr.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_emr.types.describe_step_input.DescribeStepInput]",
) -> AsyncOperationResponse[
"capo_emr.types.describe_step_output.DescribeStepOutput"
]:
import capo_emr._operations.elastic_map_reduce.describe_step
(
output,
http_response,
) = await capo_emr._operations.elastic_map_reduce.describe_step.async_describe_step(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeStep")
)
input_: capo_emr.types.describe_step_input.DescribeStepInput = {}
if cluster_id is not None:
input_["cluster_id"] = cluster_id
if step_id is not None:
input_["step_id"] = step_id
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|