aws_sdk_s3control/client/
delete_access_point_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 [`DeleteAccessPointScope`](crate::operation::delete_access_point_scope::builders::DeleteAccessPointScopeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`account_id(impl Into<String>)`](crate::operation::delete_access_point_scope::builders::DeleteAccessPointScopeFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::delete_access_point_scope::builders::DeleteAccessPointScopeFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID that owns the access point with the scope that you want to delete.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::delete_access_point_scope::builders::DeleteAccessPointScopeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_access_point_scope::builders::DeleteAccessPointScopeFluentBuilder::set_name):<br>required: **true**<br><p>The name of the access point with the scope that you want to delete.</p><br>
8    /// - On success, responds with [`DeleteAccessPointScopeOutput`](crate::operation::delete_access_point_scope::DeleteAccessPointScopeOutput)
9    /// - On failure, responds with [`SdkError<DeleteAccessPointScopeError>`](crate::operation::delete_access_point_scope::DeleteAccessPointScopeError)
10    pub fn delete_access_point_scope(&self) -> crate::operation::delete_access_point_scope::builders::DeleteAccessPointScopeFluentBuilder {
11        crate::operation::delete_access_point_scope::builders::DeleteAccessPointScopeFluentBuilder::new(self.handle.clone())
12    }
13}