/*
* 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 ivs-2020-07-14.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.IVS.Model
{
///
/// Container for the parameters to the PutMetadata operation.
/// Inserts metadata into the active stream of the specified channel. At most 5 requests
/// per second per channel are allowed, each with a maximum 1 KB payload. (If 5 TPS is
/// not sufficient for your needs, we recommend batching your data into a single PutMetadata
/// call.) At most 155 requests per second per account are allowed. Also see Embedding
/// Metadata within a Video Stream in the Amazon IVS User Guide.
///
public partial class PutMetadataRequest : AmazonIVSRequest
{
private string _channelArn;
private string _metadata;
///
/// Gets and sets the property ChannelArn.
///
/// ARN of the channel into which metadata is inserted. This channel must have an active
/// stream.
///
///
[AWSProperty(Required=true, Min=1, Max=128)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
///
/// Gets and sets the property Metadata.
///
/// Metadata to insert into the stream. Maximum: 1 KB per request.
///
///
[AWSProperty(Required=true, Sensitive=true, Min=1)]
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
}
}