Struct aws_sdk_iotanalytics::input::BatchPutMessageInput
source · [−]#[non_exhaustive]pub struct BatchPutMessageInput { /* private fields */ }Implementations
sourceimpl BatchPutMessageInput
impl BatchPutMessageInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchPutMessage, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchPutMessage, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<BatchPutMessage>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BatchPutMessageInput.
sourceimpl BatchPutMessageInput
impl BatchPutMessageInput
sourcepub fn channel_name(&self) -> Option<&str>
pub fn channel_name(&self) -> Option<&str>
The name of the channel where the messages are sent.
sourcepub fn messages(&self) -> Option<&[Message]>
pub fn messages(&self) -> Option<&[Message]>
The list of messages to be sent. Each message has the format: { "messageId": "string", "payload": "string"}.
The field names of message payloads (data) that you send to IoT Analytics:
-
Must contain only alphanumeric characters and undescores (_). No other special characters are allowed.
-
Must begin with an alphabetic character or single underscore (_).
-
Cannot contain hyphens (-).
-
In regular expression terms: "^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$".
-
Cannot be more than 255 characters.
-
Are case insensitive. (Fields named foo and FOO in the same payload are considered duplicates.)
For example, {"temp_01": 29} or {"_temp_01": 29} are valid, but {"temp-01": 29}, {"01_temp": 29} or {"__temp_01": 29} are invalid in message payloads.
Trait Implementations
sourceimpl Clone for BatchPutMessageInput
impl Clone for BatchPutMessageInput
sourcefn clone(&self) -> BatchPutMessageInput
fn clone(&self) -> BatchPutMessageInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BatchPutMessageInput
impl Debug for BatchPutMessageInput
sourceimpl PartialEq<BatchPutMessageInput> for BatchPutMessageInput
impl PartialEq<BatchPutMessageInput> for BatchPutMessageInput
sourcefn eq(&self, other: &BatchPutMessageInput) -> bool
fn eq(&self, other: &BatchPutMessageInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &BatchPutMessageInput) -> bool
fn ne(&self, other: &BatchPutMessageInput) -> bool
This method tests for !=.
impl StructuralPartialEq for BatchPutMessageInput
Auto Trait Implementations
impl RefUnwindSafe for BatchPutMessageInput
impl Send for BatchPutMessageInput
impl Sync for BatchPutMessageInput
impl Unpin for BatchPutMessageInput
impl UnwindSafe for BatchPutMessageInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more