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.
Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z
public class CreateFleetMetricRequest : AmazonIoTRequest IAmazonWebServiceRequest
The CreateFleetMetricRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateFleetMetricRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
AggregationField | System.String |
Gets and sets the property AggregationField. The field to aggregate. |
![]() |
AggregationType | Amazon.IoT.Model.AggregationType |
Gets and sets the property AggregationType. The type of the aggregation query. |
![]() |
Description | System.String |
Gets and sets the property Description. The fleet metric description. |
![]() |
IndexName | System.String |
Gets and sets the property IndexName. The name of the index to search. |
![]() |
MetricName | System.String |
Gets and sets the property MetricName. The name of the fleet metric to create. |
![]() |
Period | System.Nullable<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. |
![]() |
QueryString | System.String |
Gets and sets the property QueryString. The search query string. |
![]() |
QueryVersion | System.String |
Gets and sets the property QueryVersion. The query version. |
![]() |
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. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
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. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer