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.

A message returned by the GetMetricDataAPI, including a code and a description.

If a cross-Region GetMetricData operation fails with a code of Forbidden and a value of Authentication too complex to retrieve cross region data, you can correct the problem by running the GetMetricData operation in the same Region where the metric data is.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatch.Model.MessageData

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

Syntax

C#
public class MessageData

The MessageData type exposes the following members

Constructors

NameDescription
Public Method MessageData()

Properties

NameTypeDescription
Public Property Code System.String

Gets and sets the property Code.

The error code or status code associated with the message.

Public Property Value System.String

Gets and sets the property Value.

The message text.

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