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 CreateFleetMetric operation. Creates a fleet metric.

Requires permission to access the CreateFleetMetric action.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoT.AmazonIoTRequest
      Amazon.IoT.Model.CreateFleetMetricRequest

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

Syntax

C#
public class CreateFleetMetricRequest : AmazonIoTRequest
         IAmazonWebServiceRequest

The CreateFleetMetricRequest type exposes the following members

Constructors

NameDescription
Public Method CreateFleetMetricRequest()

Properties

NameTypeDescription
Public Property AggregationField System.String

Gets and sets the property AggregationField.

The field to aggregate.

Public Property AggregationType Amazon.IoT.Model.AggregationType

Gets and sets the property AggregationType.

The type of the aggregation query.

Public Property Description System.String

Gets and sets the property Description.

The fleet metric description.

Public Property IndexName System.String

Gets and sets the property IndexName.

The name of the index to search.

Public Property MetricName System.String

Gets and sets the property MetricName.

The name of the fleet metric to create.

Public Property Period System.Int32

Gets and sets the property Period.

The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.

Public Property QueryString System.String

Gets and sets the property QueryString.

The search query string.

Public Property QueryVersion System.String

Gets and sets the property QueryVersion.

The query version.

Public Property Tags System.Collections.Generic.List<Amazon.IoT.Model.Tag>

Gets and sets the property Tags.

Metadata, which can be used to manage the fleet metric.

Public Property Unit Amazon.IoT.FleetMetricUnit

Gets and sets the property Unit.

Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric. Default to null.

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