Struct aws_sdk_iotdataplane::operation::get_retained_message::builders::GetRetainedMessageFluentBuilder
source · pub struct GetRetainedMessageFluentBuilder { /* 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 GetRetainedMessageFluentBuilder
impl GetRetainedMessageFluentBuilder
sourcepub fn as_input(&self) -> &GetRetainedMessageInputBuilder
pub fn as_input(&self) -> &GetRetainedMessageInputBuilder
Access the GetRetainedMessage as a reference.
sourcepub async fn send(
self
) -> Result<GetRetainedMessageOutput, SdkError<GetRetainedMessageError, HttpResponse>>
pub async fn send( self ) -> Result<GetRetainedMessageOutput, SdkError<GetRetainedMessageError, HttpResponse>>
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.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetRetainedMessageOutput, GetRetainedMessageError>, SdkError<GetRetainedMessageError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetRetainedMessageOutput, GetRetainedMessageError>, SdkError<GetRetainedMessageError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn topic(self, input: impl Into<String>) -> Self
pub fn topic(self, input: impl Into<String>) -> Self
The topic name of the retained message to retrieve.
Trait Implementations§
source§impl Clone for GetRetainedMessageFluentBuilder
impl Clone for GetRetainedMessageFluentBuilder
source§fn clone(&self) -> GetRetainedMessageFluentBuilder
fn clone(&self) -> GetRetainedMessageFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more