aws-sdk-resourceexplorer2 1.103.0

AWS SDK for AWS Resource Explorer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteResourceExplorerSetup`](crate::operation::delete_resource_explorer_setup::builders::DeleteResourceExplorerSetupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteResourceExplorerSetupOutput`](crate::operation::delete_resource_explorer_setup::DeleteResourceExplorerSetupOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<DeleteResourceExplorerSetupError>`](crate::operation::delete_resource_explorer_setup::DeleteResourceExplorerSetupError)
    pub fn delete_resource_explorer_setup(
        &self,
    ) -> crate::operation::delete_resource_explorer_setup::builders::DeleteResourceExplorerSetupFluentBuilder {
        crate::operation::delete_resource_explorer_setup::builders::DeleteResourceExplorerSetupFluentBuilder::new(self.handle.clone())
    }
}