aws_sdk_resourceexplorer2/client/
delete_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 [`DeleteResourceExplorerSetup`](crate::operation::delete_resource_explorer_setup::builders::DeleteResourceExplorerSetupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`region_list(impl Into<String>)`](crate::operation::delete_resource_explorer_setup::builders::DeleteResourceExplorerSetupFluentBuilder::region_list) / [`set_region_list(Option<Vec::<String>>)`](crate::operation::delete_resource_explorer_setup::builders::DeleteResourceExplorerSetupFluentBuilder::set_region_list):<br>required: **false**<br><p>A list of Amazon Web Services Regions from which to delete the Resource Explorer configuration. If not specified, the operation uses the <code>DeleteInAllRegions</code> parameter to determine scope.</p><br>
7    ///   - [`delete_in_all_regions(bool)`](crate::operation::delete_resource_explorer_setup::builders::DeleteResourceExplorerSetupFluentBuilder::delete_in_all_regions) / [`set_delete_in_all_regions(Option<bool>)`](crate::operation::delete_resource_explorer_setup::builders::DeleteResourceExplorerSetupFluentBuilder::set_delete_in_all_regions):<br>required: **false**<br><p>Specifies whether to delete Resource Explorer configuration from all Regions where it is currently enabled. If this parameter is set to <code>true</code>, a value for <code>RegionList</code> must not be provided. Otherwise, the operation fails with a <code>ValidationException</code> error.</p><br>
8    /// - On success, responds with [`DeleteResourceExplorerSetupOutput`](crate::operation::delete_resource_explorer_setup::DeleteResourceExplorerSetupOutput) with field(s):
9    ///   - [`task_id(String)`](crate::operation::delete_resource_explorer_setup::DeleteResourceExplorerSetupOutput::task_id): <p>The unique identifier for the deletion task. Use this ID with <code>GetResourceExplorerSetup</code> to monitor the progress of the deletion operation.</p>
10    /// - On failure, responds with [`SdkError<DeleteResourceExplorerSetupError>`](crate::operation::delete_resource_explorer_setup::DeleteResourceExplorerSetupError)
11    pub fn delete_resource_explorer_setup(
12        &self,
13    ) -> crate::operation::delete_resource_explorer_setup::builders::DeleteResourceExplorerSetupFluentBuilder {
14        crate::operation::delete_resource_explorer_setup::builders::DeleteResourceExplorerSetupFluentBuilder::new(self.handle.clone())
15    }
16}