Skip to content

delete_integration_table_properties async

delete_integration_table_properties(
    resource_arn: String512,
    table_name: String128,
    *,
    config_overrides: Optional[AsyncGlueClientConfig] = None,
) -> DeleteIntegrationTablePropertiesResponse

Deletes the table properties that have been created for the tables that need to be replicated.

Parameters:

  • resource_arn (String512) –

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

  • table_name (String128) –

    The name of the table to be replicated.

Raises:

Source code in docs_src/capo_glue/_services/async_glue.py
async def delete_integration_table_properties(
    self,
    resource_arn: "capo_glue.types.string512.String512",
    table_name: "capo_glue.types.string128.String128",
    *,
    config_overrides: Optional[AsyncGlueClientConfig] = None,
) -> "capo_glue.types.delete_integration_table_properties_response.DeleteIntegrationTablePropertiesResponse":
    """<p>Deletes the table properties that have been created for the tables that need to be replicated.</p>

    Args:
        resource_arn: <p>The connection ARN of the source, or the database ARN of the target.</p>
        table_name: <p>The name of the table to be replicated.</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.delete_integration_table_properties_request.DeleteIntegrationTablePropertiesRequest]",
    ) -> AsyncOperationResponse[
        "capo_glue.types.delete_integration_table_properties_response.DeleteIntegrationTablePropertiesResponse"
    ]:
        import capo_glue._operations.aws_glue.delete_integration_table_properties

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

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DeleteIntegrationTableProperties")
    )
    input_: capo_glue.types.delete_integration_table_properties_request.DeleteIntegrationTablePropertiesRequest = {
        "resource_arn": resource_arn,
        "table_name": table_name,
    }

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