// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetServiceIndex`](crate::operation::get_service_index::builders::GetServiceIndexFluentBuilder) operation.
///
/// - The fluent builder takes no input, just [`send`](crate::operation::get_service_index::builders::GetServiceIndexFluentBuilder::send) it.
/// - On success, responds with [`GetServiceIndexOutput`](crate::operation::get_service_index::GetServiceIndexOutput) with field(s):
/// - [`arn(Option<String>)`](crate::operation::get_service_index::GetServiceIndexOutput::arn): <p>The Amazon Resource Name (ARN) of the Resource Explorer index in the current Region.</p>
/// - [`r#type(Option<IndexType>)`](crate::operation::get_service_index::GetServiceIndexOutput::type): <p>The type of the index. Valid values are <code>LOCAL</code> (contains resources from the current Region only) or <code>AGGREGATOR</code> (contains replicated resource information from all Regions).</p>
/// - On failure, responds with [`SdkError<GetServiceIndexError>`](crate::operation::get_service_index::GetServiceIndexError)
pub fn get_service_index(&self) -> crate::operation::get_service_index::builders::GetServiceIndexFluentBuilder {
crate::operation::get_service_index::builders::GetServiceIndexFluentBuilder::new(self.handle.clone())
}
}