Struct aws_sdk_chime::input::CreateChannelMembershipInput [−][src]
#[non_exhaustive]pub struct CreateChannelMembershipInput {
pub channel_arn: Option<String>,
pub member_arn: Option<String>,
pub type: Option<ChannelMembershipType>,
pub chime_bearer: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.channel_arn: Option<String>
The ARN of the channel to which you're adding users.
member_arn: Option<String>
The ARN of the member you want to add to the channel.
type: Option<ChannelMembershipType>
The membership type of a user, DEFAULT
or HIDDEN
. Default
members are always returned as part of ListChannelMemberships
. Hidden members
are only returned if the type filter in ListChannelMemberships
equals
HIDDEN
. Otherwise hidden members are not returned. This is only supported
by moderators.
chime_bearer: Option<String>
The AppInstanceUserArn
of the user that makes the API call.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateChannelMembership, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateChannelMembership, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateChannelMembership
>
Creates a new builder-style object to manufacture CreateChannelMembershipInput
The ARN of the channel to which you're adding users.
The ARN of the member you want to add to the channel.
The membership type of a user, DEFAULT
or HIDDEN
. Default
members are always returned as part of ListChannelMemberships
. Hidden members
are only returned if the type filter in ListChannelMemberships
equals
HIDDEN
. Otherwise hidden members are not returned. This is only supported
by moderators.
The AppInstanceUserArn
of the user that makes the API call.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateChannelMembershipInput
impl Sync for CreateChannelMembershipInput
impl Unpin for CreateChannelMembershipInput
impl UnwindSafe for CreateChannelMembershipInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more