Struct aws_sdk_chime::input::CreateChannelInput
source · [−]#[non_exhaustive]pub struct CreateChannelInput {
pub app_instance_arn: Option<String>,
pub name: Option<String>,
pub mode: Option<ChannelMode>,
pub privacy: Option<ChannelPrivacy>,
pub metadata: Option<String>,
pub client_request_token: Option<String>,
pub tags: Option<Vec<Tag>>,
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.app_instance_arn: Option<String>
The ARN of the channel request.
name: Option<String>
The name of the channel.
mode: Option<ChannelMode>
The channel mode: UNRESTRICTED
or RESTRICTED
. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.
privacy: Option<ChannelPrivacy>
The channel's privacy level: PUBLIC
or PRIVATE
. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in the AppInstance
.
metadata: Option<String>
The metadata of the creation request. Limited to 1KB and UTF-8.
client_request_token: Option<String>
The client token for the request. An Idempotency
token.
The tags for the creation request.
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<CreateChannel, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateChannel, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateChannel
>
Creates a new builder-style object to manufacture CreateChannelInput
The ARN of the channel request.
The channel mode: UNRESTRICTED
or RESTRICTED
. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.
The channel's privacy level: PUBLIC
or PRIVATE
. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in the AppInstance
.
The metadata of the creation request. Limited to 1KB and UTF-8.
The client token for the request. An Idempotency
token.
The tags for the creation request.
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 RefUnwindSafe for CreateChannelInput
impl Send for CreateChannelInput
impl Sync for CreateChannelInput
impl Unpin for CreateChannelInput
impl UnwindSafe for CreateChannelInput
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