pub async fn cleanup_resources(&mut self) -> Result<()> {
        for resource in self.dag.order_by_dependencies()? {
            self.clients
                .entry(resource.type_)
                // For handling clients required for dependent resources
                .or_insert(create_client(
                    &resource.type_,
                    &self.client_details,
                    &self.config,
                    self.dry_run,
                ))
                .cleanup(&resource)
                .await?;
        }
        trace!("Done cleaning up resources");

        Ok(())
    }
/// Cleans up resources for a particular region across all targeted clients
Cleans up resources for a particular region across all targeted clients
Cleans up resources for a particular region across all targeted clients
pub async fn cleanup_resources(&mut self) -> Result<()> {
        for resource in self.dag.order_by_dependencies()? {
            self.clients
                .entry(resource.type_)
                // For handling clients required for dependent resources
                .or_insert(create_client(
                    &resource.type_,
                    &self.client_details,
                    &self.config,
                    self.dry_run,
                ))
                .cleanup(&resource)
                .await?;
        }
        trace!("Done cleaning up resources");
        Ok(())
    }
pub async fn cleanup_resources ( & mut self ) -> Result < ( ) > { for resource in self . dag . order_by_dependencies ( ) ? { self . clients . entry ( resource . type_ ) // For handling clients required for dependent resources . or_insert ( create_client ( & resource . type_ , & self . client_details , & self . config , self . dry_run , ) ) . cleanup ( & resource ) . await ? ; } trace ! ( " " ) ; Ok ( ( ) ) }
Cleans up resources for a particular region across all targeted clients
Cleans up resources for a particular region across all targeted clients
&mut self