Struct aws_sdk_s3control::operation::get_access_grants_instance::builders::GetAccessGrantsInstanceFluentBuilder
source · pub struct GetAccessGrantsInstanceFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetAccessGrantsInstance.
Retrieves the S3 Access Grants instance for a Region in your account.
- Permissions
-
You must have the
s3:GetAccessGrantsInstancepermission to use this operation.
Implementations§
source§impl GetAccessGrantsInstanceFluentBuilder
impl GetAccessGrantsInstanceFluentBuilder
sourcepub fn as_input(&self) -> &GetAccessGrantsInstanceInputBuilder
pub fn as_input(&self) -> &GetAccessGrantsInstanceInputBuilder
Access the GetAccessGrantsInstance as a reference.
sourcepub async fn send(
self
) -> Result<GetAccessGrantsInstanceOutput, SdkError<GetAccessGrantsInstanceError, HttpResponse>>
pub async fn send( self ) -> Result<GetAccessGrantsInstanceOutput, SdkError<GetAccessGrantsInstanceError, 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<GetAccessGrantsInstanceOutput, GetAccessGrantsInstanceError, Self>
pub fn customize( self ) -> CustomizableOperation<GetAccessGrantsInstanceOutput, GetAccessGrantsInstanceError, 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.
Trait Implementations§
source§impl Clone for GetAccessGrantsInstanceFluentBuilder
impl Clone for GetAccessGrantsInstanceFluentBuilder
source§fn clone(&self) -> GetAccessGrantsInstanceFluentBuilder
fn clone(&self) -> GetAccessGrantsInstanceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more