Skip to content

delete_lake_formation_identity_center_configuration async

delete_lake_formation_identity_center_configuration(
    *,
    config_overrides: Optional[AsyncLakeFormationClientConfig] = None,
    catalog_id: Optional[CatalogIdString] = None,
) -> DeleteLakeFormationIdentityCenterConfigurationResponse

Deletes an IAM Identity Center connection with Lake Formation.

Parameters:

  • catalog_id (Optional[CatalogIdString], default: None ) –

    The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, view definition, and other control information to manage your Lake Formation environment.

Raises:

Source code in docs_src/capo_lakeformation/_services/async_lake_formation.py
async def delete_lake_formation_identity_center_configuration(
    self,
    *,
    config_overrides: Optional[AsyncLakeFormationClientConfig] = None,
    catalog_id: Optional[
        "capo_lakeformation.types.catalog_id_string.CatalogIdString"
    ] = None,
) -> "capo_lakeformation.types.delete_lake_formation_identity_center_configuration_response.DeleteLakeFormationIdentityCenterConfigurationResponse":
    """<p>Deletes an IAM Identity Center connection with Lake Formation.</p>

    Args:
        catalog_id: <p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, view definition, and other control information to manage your Lake Formation environment.</p>

    Raises:
        capo_lakeformation.errors.access_denied_exception.AccessDeniedException: <p>Access to a resource was denied.</p>
        capo_lakeformation.errors.concurrent_modification_exception.ConcurrentModificationException: <p>Two processes are trying to modify a resource simultaneously.</p>
        capo_lakeformation.errors.entity_not_found_exception.EntityNotFoundException: <p>A specified entity does not exist.</p>
        capo_lakeformation.errors.internal_service_exception.InternalServiceException: <p>An internal service error occurred.</p>
        capo_lakeformation.errors.invalid_input_exception.InvalidInputException: <p>The input provided was not valid.</p>
        capo_lakeformation.errors.operation_timeout_exception.OperationTimeoutException: <p>The operation timed out.</p>
        capo_lakeformation.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    async def _handler(
        req: "AsyncOperationRequest[capo_lakeformation.types.delete_lake_formation_identity_center_configuration_request.DeleteLakeFormationIdentityCenterConfigurationRequest]",
    ) -> AsyncOperationResponse[
        "capo_lakeformation.types.delete_lake_formation_identity_center_configuration_response.DeleteLakeFormationIdentityCenterConfigurationResponse"
    ]:
        import capo_lakeformation._operations.aws_lake_formation.delete_lake_formation_identity_center_configuration

        (
            output,
            http_response,
        ) = await capo_lakeformation._operations.aws_lake_formation.delete_lake_formation_identity_center_configuration.async_delete_lake_formation_identity_center_configuration(
            req.options, req.input
        )
        return AsyncOperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides,
        OperationLogging("DeleteLakeFormationIdentityCenterConfiguration"),
    )
    input_: capo_lakeformation.types.delete_lake_formation_identity_center_configuration_request.DeleteLakeFormationIdentityCenterConfigurationRequest = {}
    if catalog_id is not None:
        input_["catalog_id"] = catalog_id

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