aws_sdk_resourceexplorer2/client/get_service_index.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 [`GetServiceIndex`](crate::operation::get_service_index::builders::GetServiceIndexFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::get_service_index::builders::GetServiceIndexFluentBuilder::send) it.
6 /// - On success, responds with [`GetServiceIndexOutput`](crate::operation::get_service_index::GetServiceIndexOutput) with field(s):
7 /// - [`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>
8 /// - [`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>
9 /// - On failure, responds with [`SdkError<GetServiceIndexError>`](crate::operation::get_service_index::GetServiceIndexError)
10 pub fn get_service_index(&self) -> crate::operation::get_service_index::builders::GetServiceIndexFluentBuilder {
11 crate::operation::get_service_index::builders::GetServiceIndexFluentBuilder::new(self.handle.clone())
12 }
13}