pub struct CreateAppInstanceAdmin { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateAppInstanceAdmin
.
Promotes an AppInstanceUser
to an AppInstanceAdmin
. The promoted user can perform the following actions.
-
ChannelModerator
actions across all channels in theAppInstance
. -
DeleteChannelMessage
actions.
Only an AppInstanceUser
can be promoted to an AppInstanceAdmin
role.
Implementations§
source§impl CreateAppInstanceAdmin
impl CreateAppInstanceAdmin
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateAppInstanceAdmin, AwsResponseRetryClassifier>, SdkError<CreateAppInstanceAdminError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateAppInstanceAdmin, AwsResponseRetryClassifier>, SdkError<CreateAppInstanceAdminError>>
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<CreateAppInstanceAdminOutput, SdkError<CreateAppInstanceAdminError>>
pub async fn send(
self
) -> Result<CreateAppInstanceAdminOutput, SdkError<CreateAppInstanceAdminError>>
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 app_instance_admin_arn(self, input: impl Into<String>) -> Self
pub fn app_instance_admin_arn(self, input: impl Into<String>) -> Self
The ARN of the administrator of the current AppInstance
.
sourcepub fn set_app_instance_admin_arn(self, input: Option<String>) -> Self
pub fn set_app_instance_admin_arn(self, input: Option<String>) -> Self
The ARN of the administrator of the current AppInstance
.
sourcepub fn app_instance_arn(self, input: impl Into<String>) -> Self
pub fn app_instance_arn(self, input: impl Into<String>) -> Self
The ARN of the AppInstance
.
sourcepub fn set_app_instance_arn(self, input: Option<String>) -> Self
pub fn set_app_instance_arn(self, input: Option<String>) -> Self
The ARN of the AppInstance
.
Trait Implementations§
source§impl Clone for CreateAppInstanceAdmin
impl Clone for CreateAppInstanceAdmin
source§fn clone(&self) -> CreateAppInstanceAdmin
fn clone(&self) -> CreateAppInstanceAdmin
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more