aws_sdk_resourceexplorer2/client/
create_resource_explorer_setup.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 [`CreateResourceExplorerSetup`](crate::operation::create_resource_explorer_setup::builders::CreateResourceExplorerSetupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`region_list(impl Into<String>)`](crate::operation::create_resource_explorer_setup::builders::CreateResourceExplorerSetupFluentBuilder::region_list) / [`set_region_list(Option<Vec::<String>>)`](crate::operation::create_resource_explorer_setup::builders::CreateResourceExplorerSetupFluentBuilder::set_region_list):<br>required: **true**<br><p>A list of Amazon Web Services Regions where Resource Explorer should be configured. Each Region in the list will have a user-owned index created.</p><br>
7    ///   - [`aggregator_regions(impl Into<String>)`](crate::operation::create_resource_explorer_setup::builders::CreateResourceExplorerSetupFluentBuilder::aggregator_regions) / [`set_aggregator_regions(Option<Vec::<String>>)`](crate::operation::create_resource_explorer_setup::builders::CreateResourceExplorerSetupFluentBuilder::set_aggregator_regions):<br>required: **false**<br><p>A list of Amazon Web Services Regions that should be configured as aggregator Regions. Aggregator Regions receive replicated index information from all other Regions where there is a user-owned index.</p><br>
8    ///   - [`view_name(impl Into<String>)`](crate::operation::create_resource_explorer_setup::builders::CreateResourceExplorerSetupFluentBuilder::view_name) / [`set_view_name(Option<String>)`](crate::operation::create_resource_explorer_setup::builders::CreateResourceExplorerSetupFluentBuilder::set_view_name):<br>required: **true**<br><p>The name for the view to be created as part of the Resource Explorer setup. The view name must be unique within the Amazon Web Services account and Region.</p><br>
9    /// - On success, responds with [`CreateResourceExplorerSetupOutput`](crate::operation::create_resource_explorer_setup::CreateResourceExplorerSetupOutput) with field(s):
10    ///   - [`task_id(String)`](crate::operation::create_resource_explorer_setup::CreateResourceExplorerSetupOutput::task_id): <p>The unique identifier for the setup task. Use this ID with <code>GetResourceExplorerSetup</code> to monitor the progress of the configuration operation.</p>
11    /// - On failure, responds with [`SdkError<CreateResourceExplorerSetupError>`](crate::operation::create_resource_explorer_setup::CreateResourceExplorerSetupError)
12    pub fn create_resource_explorer_setup(
13        &self,
14    ) -> crate::operation::create_resource_explorer_setup::builders::CreateResourceExplorerSetupFluentBuilder {
15        crate::operation::create_resource_explorer_setup::builders::CreateResourceExplorerSetupFluentBuilder::new(self.handle.clone())
16    }
17}