/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the iotsitewise-2019-12-02.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.IoTSiteWise.Model
{
///
/// Container for the parameters to the BatchPutAssetPropertyValue operation.
/// Sends a list of asset property values to IoT SiteWise. Each value is a timestamp-quality-value
/// (TQV) data point. For more information, see Ingesting
/// data using the API in the IoT SiteWise User Guide.
///
///
///
/// To identify an asset property, you must specify one of the following:
///
/// -
///
/// The
assetId
and propertyId
of an asset property.
///
/// -
///
/// A
propertyAlias
, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature
).
/// To define an asset property's alias, see UpdateAssetProperty.
///
///
///
/// With respect to Unix epoch time, IoT SiteWise accepts only TQVs that have a timestamp
/// of no more than 7 days in the past and no more than 10 minutes in the future. IoT
/// SiteWise rejects timestamps outside of the inclusive range of [-7 days, +10 minutes]
/// and returns a TimestampOutOfRangeException
error.
///
///
///
/// For each asset property, IoT SiteWise overwrites TQVs with duplicate timestamps unless
/// the newer TQV has a different quality. For example, if you store a TQV {T1,
/// GOOD, V1}
, then storing {T1, GOOD, V2}
replaces the existing TQV.
///
///
///
/// IoT SiteWise authorizes access to each BatchPutAssetPropertyValue
entry
/// individually. For more information, see BatchPutAssetPropertyValue
/// authorization in the IoT SiteWise User Guide.
///
///
public partial class BatchPutAssetPropertyValueRequest : AmazonIoTSiteWiseRequest
{
private List _entries = new List();
///
/// Gets and sets the property Entries.
///
/// The list of asset property value entries for the batch put request. You can specify
/// up to 10 entries per request.
///
///
[AWSProperty(Required=true)]
public List Entries
{
get { return this._entries; }
set { this._entries = value; }
}
// Check to see if Entries property is set
internal bool IsSetEntries()
{
return this._entries != null && this._entries.Count > 0;
}
}
}