Skip to content

get_integration_resource_property

get_integration_resource_property(
    resource_arn: String512, *, config_overrides: Optional[GlueClientConfig] = 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/glue.py
def get_integration_resource_property(
    self,
    resource_arn: "capo_glue.types.string512.String512",
    *,
    config_overrides: Optional[GlueClientConfig] = 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.
    """

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

        output, http_response = (
            capo_glue._operations.aws_glue.get_integration_resource_property.get_integration_resource_property(
                req.options, req.input
            )
        )
        return OperationResponse(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 = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output