Struct aws_sdk_chime::input::SendChannelMessageInput [−][src]
#[non_exhaustive]pub struct SendChannelMessageInput {
pub channel_arn: Option<String>,
pub content: Option<String>,
pub type: Option<ChannelMessageType>,
pub persistence: Option<ChannelMessagePersistenceType>,
pub metadata: Option<String>,
pub client_request_token: Option<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.
content: Option<String>
The content of the message.
type: Option<ChannelMessageType>
The type of message, STANDARD
or CONTROL
.
persistence: Option<ChannelMessagePersistenceType>
Boolean that controls whether the message is persisted on the back end. Required.
metadata: Option<String>
The optional metadata for each message.
client_request_token: Option<String>
The Idempotency
token for each client 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<SendChannelMessage, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<SendChannelMessage, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SendChannelMessage
>
Creates a new builder-style object to manufacture SendChannelMessageInput
The ARN of the channel.
The type of message, STANDARD
or CONTROL
.
Boolean that controls whether the message is persisted on the back end. Required.
The Idempotency
token for each client 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 SendChannelMessageInput
impl Send for SendChannelMessageInput
impl Sync for SendChannelMessageInput
impl Unpin for SendChannelMessageInput
impl UnwindSafe for SendChannelMessageInput
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