Skip to content

get_configuration_check_operation async

get_configuration_check_operation(
    operation_id: OperationId,
    *,
    config_overrides: Optional[AsyncSsmSapClientConfig] = None,
) -> GetConfigurationCheckOperationOutput

Gets the details of a configuration check operation by specifying the operation ID.

Parameters:

  • operation_id (OperationId) –

    The ID of the configuration check operation.

Raises:

Source code in docs_src/capo_ssm_sap/_services/async_ssm_sap.py
async def get_configuration_check_operation(
    self,
    operation_id: "capo_ssm_sap.types.operation_id.OperationId",
    *,
    config_overrides: Optional[AsyncSsmSapClientConfig] = None,
) -> "capo_ssm_sap.types.get_configuration_check_operation_output.GetConfigurationCheckOperationOutput":
    """<p>Gets the details of a configuration check operation by specifying the operation ID.</p>

    Args:
        operation_id: <p>The ID of the configuration check operation.</p>

    Raises:
        capo_ssm_sap.errors.internal_server_exception.InternalServerException: <p>An internal error has occurred.</p>
        capo_ssm_sap.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by an AWS service. </p>
        capo_ssm_sap.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    async def _handler(
        req: "AsyncOperationRequest[capo_ssm_sap.types.get_configuration_check_operation_input.GetConfigurationCheckOperationInput]",
    ) -> AsyncOperationResponse[
        "capo_ssm_sap.types.get_configuration_check_operation_output.GetConfigurationCheckOperationOutput"
    ]:
        import capo_ssm_sap._operations.ssm_sap.get_configuration_check_operation

        (
            output,
            http_response,
        ) = await capo_ssm_sap._operations.ssm_sap.get_configuration_check_operation.async_get_configuration_check_operation(
            req.options, req.input
        )
        return AsyncOperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetConfigurationCheckOperation")
    )
    input_: capo_ssm_sap.types.get_configuration_check_operation_input.GetConfigurationCheckOperationInput = {
        "operation_id": operation_id
    }

    response = await aexecute_pipeline(
        AsyncOperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    await response.response.aclose()
    return response.output