Skip to content

delete_configuration_aggregator async

delete_configuration_aggregator(
    configuration_aggregator_name: ConfigurationAggregatorName,
    *,
    config_overrides: Optional[AsyncConfigServiceClientConfig] = None,
) -> None

Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.

Parameters:

Raises:

Source code in docs_src/capo_config_service/_services/async_config_service.py
async def delete_configuration_aggregator(
    self,
    configuration_aggregator_name: "capo_config_service.types.configuration_aggregator_name.ConfigurationAggregatorName",
    *,
    config_overrides: Optional[AsyncConfigServiceClientConfig] = None,
) -> None:
    """<p>Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.</p>

    Args:
        configuration_aggregator_name: <p>The name of the configuration aggregator.</p>

    Raises:
        capo_config_service.errors.no_such_configuration_aggregator_exception.NoSuchConfigurationAggregatorException: <p>You have specified a configuration aggregator that does not exist.</p>
        capo_config_service.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    async def _handler(
        req: "AsyncOperationRequest[capo_config_service.types.delete_configuration_aggregator_request.DeleteConfigurationAggregatorRequest]",
    ) -> AsyncOperationResponse[None]:
        import capo_config_service._operations.starling_dove_service.delete_configuration_aggregator

        (
            output,
            http_response,
        ) = await capo_config_service._operations.starling_dove_service.delete_configuration_aggregator.async_delete_configuration_aggregator(
            req.options, req.input
        )
        return AsyncOperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DeleteConfigurationAggregator")
    )
    input_: capo_config_service.types.delete_configuration_aggregator_request.DeleteConfigurationAggregatorRequest = {
        "configuration_aggregator_name": configuration_aggregator_name
    }

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