Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.
Parameters:
Raises:
Source code in docs_src/capo_config_service/_services/config_service.py
| def delete_configuration_aggregator(
self,
configuration_aggregator_name: "capo_config_service.types.configuration_aggregator_name.ConfigurationAggregatorName",
*,
config_overrides: Optional[ConfigServiceClientConfig] = 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.
"""
def _handler(
req: "OperationRequest[capo_config_service.types.delete_configuration_aggregator_request.DeleteConfigurationAggregatorRequest]",
) -> OperationResponse[None]:
import capo_config_service._operations.starling_dove_service.delete_configuration_aggregator
output, http_response = (
capo_config_service._operations.starling_dove_service.delete_configuration_aggregator.delete_configuration_aggregator(
req.options, req.input
)
)
return OperationResponse(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 = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|