Skip to content

get_integration_resource_property async

get_integration_resource_property(
    resource_arn: String512, *, config_overrides: Optional[AsyncGlueClientConfig] = None
) -> GetIntegrationResourcePropertyResponse

This API is used for fetching the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target)

Parameters:

  • resource_arn (String512) –

    The connection ARN of the source, or the database ARN of the target.

Raises:

Source code in docs_src/capo_glue/_services/async_glue.py
async def get_integration_resource_property(
    self,
    resource_arn: "capo_glue.types.string512.String512",
    *,
    config_overrides: Optional[AsyncGlueClientConfig] = None,
) -> "capo_glue.types.get_integration_resource_property_response.GetIntegrationResourcePropertyResponse":
    """<p>This API is used for fetching the <code>ResourceProperty</code> of the Glue connection (for the source) or Glue database ARN (for the target)</p>

    Args:
        resource_arn: <p>The connection ARN of the source, or the database ARN of the target.</p>

    Raises:
        capo_glue.errors.access_denied_exception.AccessDeniedException: <p>Access to a resource was denied.</p>
        capo_glue.errors.entity_not_found_exception.EntityNotFoundException: <p>A specified entity does not exist</p>
        capo_glue.errors.internal_server_exception.InternalServerException: <p>An internal server error occurred.</p>
        capo_glue.errors.internal_service_exception.InternalServiceException: <p>An internal service error occurred.</p>
        capo_glue.errors.invalid_input_exception.InvalidInputException: <p>The input provided was not valid.</p>
        capo_glue.errors.resource_not_found_exception.ResourceNotFoundException: <p>The resource could not be found.</p>
        capo_glue.errors.validation_exception.ValidationException: <p>A value could not be validated.</p>
        capo_glue.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    async def _handler(
        req: "AsyncOperationRequest[capo_glue.types.get_integration_resource_property_request.GetIntegrationResourcePropertyRequest]",
    ) -> AsyncOperationResponse[
        "capo_glue.types.get_integration_resource_property_response.GetIntegrationResourcePropertyResponse"
    ]:
        import capo_glue._operations.aws_glue.get_integration_resource_property

        (
            output,
            http_response,
        ) = await capo_glue._operations.aws_glue.get_integration_resource_property.async_get_integration_resource_property(
            req.options, req.input
        )
        return AsyncOperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetIntegrationResourceProperty")
    )
    input_: capo_glue.types.get_integration_resource_property_request.GetIntegrationResourcePropertyRequest = {
        "resource_arn": resource_arn
    }

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