[−][src]Struct aiven_rs::service::ServiceElastiSearchApi
Methods
impl ServiceElastiSearchApi
[src]
pub async fn delete_index<'_, '_, '_, '_>(
&'_ self,
project: &'_ str,
service_name: &'_ str,
index_name: &'_ str
) -> Result<(), AivenError>
[src]
&'_ self,
project: &'_ str,
service_name: &'_ str,
index_name: &'_ str
) -> Result<(), AivenError>
Describe something here...
Arguments
Arg1
-
Examples
Basic usage:
// Your example here
Delete an Elasticsearch index
https://api.aiven.io/doc/#api-Service_-_Elasticsearch
Examples
Basic usage:
#[tokio::main] async fn main()-> Result<(), Box<dyn std::error::Error>>{ let client = aiven_rs::AivenClient::new("https://api.aiven.io", "v1"); let response = client .service_elasticsearch() .delete_index("project-name", "service-name", "index-to-delete") .await?; Ok(()) }
pub async fn list_indexes<'_, '_, '_>(
&'_ self,
project: &'_ str,
service_name: &'_ str
) -> Result<Indexes, AivenError>
[src]
&'_ self,
project: &'_ str,
service_name: &'_ str
) -> Result<Indexes, AivenError>
pub async fn set_acl_configuration<'_, '_, '_, '_>(
&'_ self,
project: &'_ str,
service_name: &'_ str,
acl_config: &'_ ElasticSearchACLConfig
) -> Result<ElasticSearchACLConfig, AivenError>
[src]
&'_ self,
project: &'_ str,
service_name: &'_ str,
acl_config: &'_ ElasticSearchACLConfig
) -> Result<ElasticSearchACLConfig, AivenError>
pub async fn show_acl_configuration<'_, '_, '_>(
&'_ self,
project: &'_ str,
service_name: &'_ str
) -> Result<ElasticSearchACLConfig, AivenError>
[src]
&'_ self,
project: &'_ str,
service_name: &'_ str
) -> Result<ElasticSearchACLConfig, AivenError>
pub async fn update_acl_configuration<'_, '_, '_, '_>(
&'_ self,
project: &'_ str,
service_name: &'_ str,
acl_config: &'_ ElasticSearchACLConfig
) -> Result<ElasticSearchACLConfig, AivenError>
[src]
&'_ self,
project: &'_ str,
service_name: &'_ str,
acl_config: &'_ ElasticSearchACLConfig
) -> Result<ElasticSearchACLConfig, AivenError>
Auto Trait Implementations
impl !RefUnwindSafe for ServiceElastiSearchApi
impl Send for ServiceElastiSearchApi
impl Sync for ServiceElastiSearchApi
impl Unpin for ServiceElastiSearchApi
impl !UnwindSafe for ServiceElastiSearchApi
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,