aws_sdk_cloudwatchlogs/client/delete_index_policy.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteIndexPolicy`](crate::operation::delete_index_policy::builders::DeleteIndexPolicyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`log_group_identifier(impl Into<String>)`](crate::operation::delete_index_policy::builders::DeleteIndexPolicyFluentBuilder::log_group_identifier) / [`set_log_group_identifier(Option<String>)`](crate::operation::delete_index_policy::builders::DeleteIndexPolicyFluentBuilder::set_log_group_identifier):<br>required: **true**<br><p>The log group to delete the index policy for. You can specify either the name or the ARN of the log group.</p><br>
7 /// - On success, responds with [`DeleteIndexPolicyOutput`](crate::operation::delete_index_policy::DeleteIndexPolicyOutput)
8 /// - On failure, responds with [`SdkError<DeleteIndexPolicyError>`](crate::operation::delete_index_policy::DeleteIndexPolicyError)
9 pub fn delete_index_policy(&self) -> crate::operation::delete_index_policy::builders::DeleteIndexPolicyFluentBuilder {
10 crate::operation::delete_index_policy::builders::DeleteIndexPolicyFluentBuilder::new(self.handle.clone())
11 }
12}