aws-sdk-resourceexplorer2 1.102.0

AWS SDK for AWS Resource Explorer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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())
    }
}