Skip to content

delete_dataflow_endpoint_group

delete_dataflow_endpoint_group(
    dataflow_endpoint_group_id: Uuid,
    *,
    config_overrides: Optional[GroundStationClientConfig] = None,
) -> DataflowEndpointGroupIdResponse

Deletes a dataflow endpoint group.

Parameters:

  • dataflow_endpoint_group_id (Uuid) –

    UUID of a dataflow endpoint group.

Raises:

Source code in docs_src/capo_groundstation/_services/ground_station.py
def delete_dataflow_endpoint_group(
    self,
    dataflow_endpoint_group_id: "capo_groundstation.types.uuid.Uuid",
    *,
    config_overrides: Optional[GroundStationClientConfig] = None,
) -> "capo_groundstation.types.dataflow_endpoint_group_id_response.DataflowEndpointGroupIdResponse":
    """<p>Deletes a dataflow endpoint group.</p>

    Args:
        dataflow_endpoint_group_id: <p>UUID of a dataflow endpoint group.</p>

    Raises:
        capo_groundstation.errors.dependency_exception.DependencyException: <p>Dependency encountered an error.</p>
        capo_groundstation.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters are not valid.</p>
        capo_groundstation.errors.resource_not_found_exception.ResourceNotFoundException: <p>Resource was not found.</p>
        capo_groundstation.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_groundstation.types.delete_dataflow_endpoint_group_request.DeleteDataflowEndpointGroupRequest]",
    ) -> OperationResponse[
        "capo_groundstation.types.dataflow_endpoint_group_id_response.DataflowEndpointGroupIdResponse"
    ]:
        import capo_groundstation._operations.ground_station.delete_dataflow_endpoint_group

        output, http_response = (
            capo_groundstation._operations.ground_station.delete_dataflow_endpoint_group.delete_dataflow_endpoint_group(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DeleteDataflowEndpointGroup")
    )
    input_: capo_groundstation.types.delete_dataflow_endpoint_group_request.DeleteDataflowEndpointGroupRequest = {
        "dataflow_endpoint_group_id": dataflow_endpoint_group_id
    }

    response = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output