#[non_exhaustive]pub struct UpdateThemePermissionsInput { /* private fields */ }Implementations§
source§impl UpdateThemePermissionsInput
impl UpdateThemePermissionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateThemePermissions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateThemePermissions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateThemePermissions>
Examples found in repository?
src/client.rs (line 15821)
15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateThemePermissions,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateThemePermissionsError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateThemePermissionsOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateThemePermissionsError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateThemePermissionsInput.
source§impl UpdateThemePermissionsInput
impl UpdateThemePermissionsInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that contains the theme.
sourcepub fn grant_permissions(&self) -> Option<&[ResourcePermission]>
pub fn grant_permissions(&self) -> Option<&[ResourcePermission]>
A list of resource permissions to be granted for the theme.
sourcepub fn revoke_permissions(&self) -> Option<&[ResourcePermission]>
pub fn revoke_permissions(&self) -> Option<&[ResourcePermission]>
A list of resource permissions to be revoked from the theme.
Trait Implementations§
source§impl Clone for UpdateThemePermissionsInput
impl Clone for UpdateThemePermissionsInput
source§fn clone(&self) -> UpdateThemePermissionsInput
fn clone(&self) -> UpdateThemePermissionsInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more