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.

Adds one or more tags to a stream. A tag is a key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

You must provide either the StreamName or the StreamARN.

This operation requires permission for the KinesisVideo:TagStream action.

Kinesis video streams support up to 50 tags.

Note:

For .NET Core and PCL this operation is only available in asynchronous form. Please refer to TagStreamAsync.

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

Syntax

C#
public abstract TagStreamResponse TagStream(
         TagStreamRequest request
)
Parameters
request
Type: Amazon.KinesisVideo.Model.TagStreamRequest

Container for the necessary parameters to execute the TagStream service method.

Return Value
The response from the TagStream service method, as returned by KinesisVideo.

Exceptions

ExceptionCondition
ClientLimitExceededException Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later.
InvalidArgumentException The value for this input parameter is invalid.
InvalidResourceFormatException The format of the StreamARN is invalid.
NotAuthorizedException The caller is not authorized to perform this operation.
ResourceNotFoundException Amazon Kinesis Video Streams can't find the stream that you specified.
TagsPerResourceExceededLimitException You have exceeded the limit of tags that you can associate with the resource. Kinesis video streams support up to 50 tags.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also