Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . kinesisvideo ]

tag-stream

Description

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 stream-name or the StreamARN .

This operation requires permission for the KinesisVideo:TagStream action.

Kinesis video streams support up to 50 tags.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  tag-stream
[--stream-arn <value>]
[--stream-name <value>]
--tags <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--stream-arn (string)

The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.

--stream-name (string)

The name of the stream that you want to add the tag or tags to.

--tags (map)

A list of tags to associate with the specified stream. Each tag is a key-value pair (the value is optional).

Shorthand Syntax:

KeyName1=string,KeyName2=string

JSON Syntax:

{"string": "string"
  ...}

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output