aws_sdk_networkflowmonitor/client/
delete_scope.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 [`DeleteScope`](crate::operation::delete_scope::builders::DeleteScopeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`scope_id(impl Into<String>)`](crate::operation::delete_scope::builders::DeleteScopeFluentBuilder::scope_id) / [`set_scope_id(Option<String>)`](crate::operation::delete_scope::builders::DeleteScopeFluentBuilder::set_scope_id):<br>required: **true**<br><p>The identifier for the scope that includes the resources you want to get data results for. A scope ID is an internally-generated identifier that includes all the resources for a specific root account.</p><br>
7    /// - On success, responds with [`DeleteScopeOutput`](crate::operation::delete_scope::DeleteScopeOutput)
8    /// - On failure, responds with [`SdkError<DeleteScopeError>`](crate::operation::delete_scope::DeleteScopeError)
9    pub fn delete_scope(&self) -> crate::operation::delete_scope::builders::DeleteScopeFluentBuilder {
10        crate::operation::delete_scope::builders::DeleteScopeFluentBuilder::new(self.handle.clone())
11    }
12}