Struct aws_sdk_chime::input::BatchCreateChannelMembershipInput [−][src]
#[non_exhaustive]pub struct BatchCreateChannelMembershipInput {
pub channel_arn: Option<String>,
pub type: Option<ChannelMembershipType>,
pub member_arns: Option<Vec<String>>,
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.
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.
member_arns: Option<Vec<String>>
The ARNs of the members you want to add to the channel.
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<BatchCreateChannelMembership, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchCreateChannelMembership, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<BatchCreateChannelMembership
>
Creates a new builder-style object to manufacture BatchCreateChannelMembershipInput
The ARN of the channel to which you're adding users.
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 ARNs of the members you want to add to the channel.
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 BatchCreateChannelMembershipInput
impl Sync for BatchCreateChannelMembershipInput
impl Unpin for BatchCreateChannelMembershipInput
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