aws_sdk_networksecuritymanager/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_identifier(impl Into<String>)`](crate::operation::delete_scope::builders::DeleteScopeFluentBuilder::scope_identifier) / [`set_scope_identifier(Option<String>)`](crate::operation::delete_scope::builders::DeleteScopeFluentBuilder::set_scope_identifier):<br>required: **true**<br><p>The identifier of the scope. This is the scope's Amazon Resource Name (ARN).</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}