Struct aws_sdk_appstream::operation::update_image_permissions::builders::UpdateImagePermissionsFluentBuilder
source · pub struct UpdateImagePermissionsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateImagePermissions
.
Adds or updates permissions for the specified private image.
Implementations§
source§impl UpdateImagePermissionsFluentBuilder
impl UpdateImagePermissionsFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateImagePermissions, AwsResponseRetryClassifier>, SdkError<UpdateImagePermissionsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateImagePermissions, AwsResponseRetryClassifier>, SdkError<UpdateImagePermissionsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateImagePermissionsOutput, SdkError<UpdateImagePermissionsError>>
pub async fn send( self ) -> Result<UpdateImagePermissionsOutput, SdkError<UpdateImagePermissionsError>>
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.
The 12-digit identifier of the AWS account for which you want add or update image permissions.
The 12-digit identifier of the AWS account for which you want add or update image permissions.
sourcepub fn image_permissions(self, input: ImagePermissions) -> Self
pub fn image_permissions(self, input: ImagePermissions) -> Self
The permissions for the image.
sourcepub fn set_image_permissions(self, input: Option<ImagePermissions>) -> Self
pub fn set_image_permissions(self, input: Option<ImagePermissions>) -> Self
The permissions for the image.
Trait Implementations§
source§impl Clone for UpdateImagePermissionsFluentBuilder
impl Clone for UpdateImagePermissionsFluentBuilder
source§fn clone(&self) -> UpdateImagePermissionsFluentBuilder
fn clone(&self) -> UpdateImagePermissionsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more