pub struct GetRetainedMessage { /* private fields */ }
Expand description
Fluent builder constructing a request to GetRetainedMessage
.
Gets the details of a single retained message for the specified topic.
This action returns the message payload of the retained message, which can incur messaging costs. To list only the topic names of the retained messages, call ListRetainedMessages.
Requires permission to access the GetRetainedMessage action.
For more information about messaging costs, see Amazon Web Services IoT Core pricing - Messaging.
Implementations§
source§impl GetRetainedMessage
impl GetRetainedMessage
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetRetainedMessage, AwsResponseRetryClassifier>, SdkError<GetRetainedMessageError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetRetainedMessage, AwsResponseRetryClassifier>, SdkError<GetRetainedMessageError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetRetainedMessageOutput, SdkError<GetRetainedMessageError>>
pub async fn send(
self
) -> Result<GetRetainedMessageOutput, SdkError<GetRetainedMessageError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Trait Implementations§
source§impl Clone for GetRetainedMessage
impl Clone for GetRetainedMessage
source§fn clone(&self) -> GetRetainedMessage
fn clone(&self) -> GetRetainedMessage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more