AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the GetRetainedMessage operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IotData.AmazonIotDataRequest
      Amazon.IotData.Model.GetRetainedMessageRequest

Namespace: Amazon.IotData.Model
Assembly: AWSSDK.IotData.dll
Version: 3.x.y.z

Syntax

C#
public class GetRetainedMessageRequest : AmazonIotDataRequest
         IAmazonWebServiceRequest

The GetRetainedMessageRequest type exposes the following members

Constructors

NameDescription
Public Method GetRetainedMessageRequest()

Properties

NameTypeDescription
Public Property Topic System.String

Gets and sets the property Topic.

The topic name of the retained message to retrieve.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5