Paws::KinesisVideo::UpdateStream - Arguments for method UpdateStream on Paws::KinesisVideo
This class represents the parameters used for calling the method UpdateStream on the Amazon Kinesis Video Streams service. Use the attributes of this class as arguments to method UpdateStream.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateStream.
my $kinesisvideo = Paws->service('KinesisVideo'); my $UpdateStreamOutput = $kinesisvideo->UpdateStream( CurrentVersion => 'MyVersion', DeviceName => 'MyDeviceName', # OPTIONAL MediaType => 'MyMediaType', # OPTIONAL StreamARN => 'MyResourceARN', # OPTIONAL StreamName => 'MyStreamName', # OPTIONAL );
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo/UpdateStream
The version of the stream whose metadata you want to update.
The name of the device that is writing to the stream.
In the current implementation, Kinesis Video Streams does not use this name.
The stream's media type. Use MediaType to specify the type of content that the stream contains to the consumers of the stream. For more information about media types, see Media Types (http://www.iana.org/assignments/media-types/media-types.xhtml). If you choose to specify the MediaType, see Naming Requirements (https://tools.ietf.org/html/rfc6838#section-4.2).
MediaType
To play video on the console, you must specify the correct video type. For example, if the video in the stream is H.264, specify video/h264 as the MediaType.
video/h264
The ARN of the stream whose metadata you want to update.
The name of the stream whose metadata you want to update.
The stream name is an identifier for the stream, and must be unique for each account and region.
This class forms part of Paws, documenting arguments for method UpdateStream in Paws::KinesisVideo
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.