aws_sdk_s3control/client/
put_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 [`PutAccessPointScope`](crate::operation::put_access_point_scope::builders::PutAccessPointScopeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`account_id(impl Into<String>)`](crate::operation::put_access_point_scope::builders::PutAccessPointScopeFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::put_access_point_scope::builders::PutAccessPointScopeFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID that owns the access point with scope that you want to create or replace.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::put_access_point_scope::builders::PutAccessPointScopeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::put_access_point_scope::builders::PutAccessPointScopeFluentBuilder::set_name):<br>required: **true**<br><p>The name of the access point with the scope that you want to create or replace.</p><br>
8    ///   - [`scope(Scope)`](crate::operation::put_access_point_scope::builders::PutAccessPointScopeFluentBuilder::scope) / [`set_scope(Option<Scope>)`](crate::operation::put_access_point_scope::builders::PutAccessPointScopeFluentBuilder::set_scope):<br>required: **true**<br><p>Object prefixes, API operations, or a combination of both.</p><br>
9    /// - On success, responds with [`PutAccessPointScopeOutput`](crate::operation::put_access_point_scope::PutAccessPointScopeOutput)
10    /// - On failure, responds with [`SdkError<PutAccessPointScopeError>`](crate::operation::put_access_point_scope::PutAccessPointScopeError)
11    pub fn put_access_point_scope(&self) -> crate::operation::put_access_point_scope::builders::PutAccessPointScopeFluentBuilder {
12        crate::operation::put_access_point_scope::builders::PutAccessPointScopeFluentBuilder::new(self.handle.clone())
13    }
14}