aws_sdk_opensearchserverless/client/
batch_get_effective_lifecycle_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 [`BatchGetEffectiveLifecyclePolicy`](crate::operation::batch_get_effective_lifecycle_policy::builders::BatchGetEffectiveLifecyclePolicyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`resource_identifiers(LifecyclePolicyResourceIdentifier)`](crate::operation::batch_get_effective_lifecycle_policy::builders::BatchGetEffectiveLifecyclePolicyFluentBuilder::resource_identifiers) / [`set_resource_identifiers(Option<Vec::<LifecyclePolicyResourceIdentifier>>)`](crate::operation::batch_get_effective_lifecycle_policy::builders::BatchGetEffectiveLifecyclePolicyFluentBuilder::set_resource_identifiers):<br>required: **true**<br><p>The unique identifiers of policy types and resource names.</p><br>
7    /// - On success, responds with [`BatchGetEffectiveLifecyclePolicyOutput`](crate::operation::batch_get_effective_lifecycle_policy::BatchGetEffectiveLifecyclePolicyOutput) with field(s):
8    ///   - [`effective_lifecycle_policy_details(Option<Vec::<EffectiveLifecyclePolicyDetail>>)`](crate::operation::batch_get_effective_lifecycle_policy::BatchGetEffectiveLifecyclePolicyOutput::effective_lifecycle_policy_details): <p>A list of lifecycle policies applied to the OpenSearch Serverless indexes.</p>
9    ///   - [`effective_lifecycle_policy_error_details(Option<Vec::<EffectiveLifecyclePolicyErrorDetail>>)`](crate::operation::batch_get_effective_lifecycle_policy::BatchGetEffectiveLifecyclePolicyOutput::effective_lifecycle_policy_error_details): <p>A list of resources for which retrieval failed.</p>
10    /// - On failure, responds with [`SdkError<BatchGetEffectiveLifecyclePolicyError>`](crate::operation::batch_get_effective_lifecycle_policy::BatchGetEffectiveLifecyclePolicyError)
11    pub fn batch_get_effective_lifecycle_policy(
12        &self,
13    ) -> crate::operation::batch_get_effective_lifecycle_policy::builders::BatchGetEffectiveLifecyclePolicyFluentBuilder {
14        crate::operation::batch_get_effective_lifecycle_policy::builders::BatchGetEffectiveLifecyclePolicyFluentBuilder::new(self.handle.clone())
15    }
16}