Struct aws_sdk_s3control::operation::get_access_grant::builders::GetAccessGrantFluentBuilder
source · pub struct GetAccessGrantFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetAccessGrant.
Get the details of an access grant from your S3 Access Grants instance.
- Permissions
-
You must have the
s3:GetAccessGrantpermission to use this operation.
Implementations§
source§impl GetAccessGrantFluentBuilder
impl GetAccessGrantFluentBuilder
sourcepub fn as_input(&self) -> &GetAccessGrantInputBuilder
pub fn as_input(&self) -> &GetAccessGrantInputBuilder
Access the GetAccessGrant as a reference.
sourcepub async fn send(
self
) -> Result<GetAccessGrantOutput, SdkError<GetAccessGrantError, HttpResponse>>
pub async fn send( self ) -> Result<GetAccessGrantOutput, SdkError<GetAccessGrantError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetAccessGrantOutput, GetAccessGrantError, Self>
pub fn customize( self ) -> CustomizableOperation<GetAccessGrantOutput, GetAccessGrantError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that is making this request.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that is making this request.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that is making this request.
sourcepub fn access_grant_id(self, input: impl Into<String>) -> Self
pub fn access_grant_id(self, input: impl Into<String>) -> Self
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
sourcepub fn set_access_grant_id(self, input: Option<String>) -> Self
pub fn set_access_grant_id(self, input: Option<String>) -> Self
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
sourcepub fn get_access_grant_id(&self) -> &Option<String>
pub fn get_access_grant_id(&self) -> &Option<String>
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
Trait Implementations§
source§impl Clone for GetAccessGrantFluentBuilder
impl Clone for GetAccessGrantFluentBuilder
source§fn clone(&self) -> GetAccessGrantFluentBuilder
fn clone(&self) -> GetAccessGrantFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more