PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::KinesisVideo; use Moose; sub service { 'kinesisvideo' } sub signing_name { 'kinesisvideo' } sub version { '2017-09-30' } sub flattened_arrays { 0 } has max_attempts => (is => 'ro', isa => 'Int', default => 5); has retry => (is => 'ro', isa => 'HashRef', default => sub { { base => 'rand', type => 'exponential', growth_factor => 2 } }); has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ ] }); with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; sub CreateSignalingChannel { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::CreateSignalingChannel', @_); return $self->caller->do_call($self, $call_object); } sub CreateStream { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::CreateStream', @_); return $self->caller->do_call($self, $call_object); } sub DeleteSignalingChannel { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::DeleteSignalingChannel', @_); return $self->caller->do_call($self, $call_object); } sub DeleteStream { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::DeleteStream', @_); return $self->caller->do_call($self, $call_object); } sub DescribeSignalingChannel { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::DescribeSignalingChannel', @_); return $self->caller->do_call($self, $call_object); } sub DescribeStream { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::DescribeStream', @_); return $self->caller->do_call($self, $call_object); } sub GetDataEndpoint { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::GetDataEndpoint', @_); return $self->caller->do_call($self, $call_object); } sub GetSignalingChannelEndpoint { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::GetSignalingChannelEndpoint', @_); return $self->caller->do_call($self, $call_object); } sub ListSignalingChannels { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::ListSignalingChannels', @_); return $self->caller->do_call($self, $call_object); } sub ListStreams { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::ListStreams', @_); return $self->caller->do_call($self, $call_object); } sub ListTagsForResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::ListTagsForResource', @_); return $self->caller->do_call($self, $call_object); } sub ListTagsForStream { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::ListTagsForStream', @_); return $self->caller->do_call($self, $call_object); } sub TagResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::TagResource', @_); return $self->caller->do_call($self, $call_object); } sub TagStream { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::TagStream', @_); return $self->caller->do_call($self, $call_object); } sub UntagResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::UntagResource', @_); return $self->caller->do_call($self, $call_object); } sub UntagStream { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::UntagStream', @_); return $self->caller->do_call($self, $call_object); } sub UpdateDataRetention { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::UpdateDataRetention', @_); return $self->caller->do_call($self, $call_object); } sub UpdateSignalingChannel { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::UpdateSignalingChannel', @_); return $self->caller->do_call($self, $call_object); } sub UpdateStream { my $self = shift; my $call_object = $self->new_with_coercions('Paws::KinesisVideo::UpdateStream', @_); return $self->caller->do_call($self, $call_object); } sub ListAllSignalingChannels { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->ListSignalingChannels(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->NextToken) { $next_result = $self->ListSignalingChannels(@_, NextToken => $next_result->NextToken); push @{ $result->ChannelInfoList }, @{ $next_result->ChannelInfoList }; } return $result; } else { while ($result->NextToken) { $callback->($_ => 'ChannelInfoList') foreach (@{ $result->ChannelInfoList }); $result = $self->ListSignalingChannels(@_, NextToken => $result->NextToken); } $callback->($_ => 'ChannelInfoList') foreach (@{ $result->ChannelInfoList }); } return undef } sub ListAllStreams { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->ListStreams(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->NextToken) { $next_result = $self->ListStreams(@_, NextToken => $next_result->NextToken); push @{ $result->StreamInfoList }, @{ $next_result->StreamInfoList }; } return $result; } else { while ($result->NextToken) { $callback->($_ => 'StreamInfoList') foreach (@{ $result->StreamInfoList }); $result = $self->ListStreams(@_, NextToken => $result->NextToken); } $callback->($_ => 'StreamInfoList') foreach (@{ $result->StreamInfoList }); } return undef } sub operations { qw/CreateSignalingChannel CreateStream DeleteSignalingChannel DeleteStream DescribeSignalingChannel DescribeStream GetDataEndpoint GetSignalingChannelEndpoint ListSignalingChannels ListStreams ListTagsForResource ListTagsForStream TagResource TagStream UntagResource UntagStream UpdateDataRetention UpdateSignalingChannel UpdateStream / } 1; ### main pod documentation begin ### =head1 NAME Paws::KinesisVideo - Perl Interface to AWS Amazon Kinesis Video Streams =head1 SYNOPSIS use Paws; my $obj = Paws->service('KinesisVideo'); my $res = $obj->Method( Arg1 => $val1, Arg2 => [ 'V1', 'V2' ], # if Arg3 is an object, the HashRef will be used as arguments to the constructor # of the arguments type Arg3 => { Att1 => 'Val1' }, # if Arg4 is an array of objects, the HashRefs will be passed as arguments to # the constructor of the arguments type Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], ); =head1 DESCRIPTION For the AWS API documentation, see L =head1 METHODS =head2 CreateSignalingChannel =over =item ChannelName => Str =item [ChannelType => Str] =item [SingleMasterConfiguration => L] =item [Tags => ArrayRef[L]] =back Each argument is described in detail in: L Returns: a L instance Creates a signaling channel. C is an asynchronous operation. =head2 CreateStream =over =item StreamName => Str =item [DataRetentionInHours => Int] =item [DeviceName => Str] =item [KmsKeyId => Str] =item [MediaType => Str] =item [Tags => L] =back Each argument is described in detail in: L Returns: a L instance Creates a new Kinesis video stream. When you create a new stream, Kinesis Video Streams assigns it a version number. When you change the stream's metadata, Kinesis Video Streams updates the version. C is an asynchronous operation. For information about how the service works, see How it Works (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/how-it-works.html). You must have permissions for the C action. =head2 DeleteSignalingChannel =over =item ChannelARN => Str =item [CurrentVersion => Str] =back Each argument is described in detail in: L Returns: a L instance Deletes a specified signaling channel. C is an asynchronous operation. If you don't specify the channel's current version, the most recent version is deleted. =head2 DeleteStream =over =item StreamARN => Str =item [CurrentVersion => Str] =back Each argument is described in detail in: L Returns: a L instance Deletes a Kinesis video stream and the data contained in the stream. This method marks the stream for deletion, and makes the data in the stream inaccessible immediately. To ensure that you have the latest version of the stream before deleting it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the C API. This operation requires permission for the C action. =head2 DescribeSignalingChannel =over =item [ChannelARN => Str] =item [ChannelName => Str] =back Each argument is described in detail in: L Returns: a L instance Returns the most current information about the signaling channel. You must specify either the name or the Amazon Resource Name (ARN) of the channel that you want to describe. =head2 DescribeStream =over =item [StreamARN => Str] =item [StreamName => Str] =back Each argument is described in detail in: L Returns: a L instance Returns the most current information about the specified stream. You must specify either the C or the C. =head2 GetDataEndpoint =over =item APIName => Str =item [StreamARN => Str] =item [StreamName => Str] =back Each argument is described in detail in: L Returns: a L instance Gets an endpoint for a specified stream for either reading or writing. Use this endpoint in your application to read from the specified stream (using the C or C operations) or write to it (using the C operation). The returned endpoint does not have the API name appended. The client needs to add the API name to the returned endpoint. In the request, specify the stream either by C or C. =head2 GetSignalingChannelEndpoint =over =item ChannelARN => Str =item [SingleMasterChannelEndpointConfiguration => L] =back Each argument is described in detail in: L Returns: a L instance Provides an endpoint for the specified signaling channel to send and receive messages. This API uses the C input parameter, which consists of the C and C properties. C is used to determine the communication mechanism. For example, if you specify C as the protocol, this API produces a secure websocket endpoint. If you specify C as the protocol, this API generates an HTTPS endpoint. C determines the messaging permissions. A C role results in this API generating an endpoint that a client can use to communicate with any of the viewers on the channel. A C role results in this API generating an endpoint that a client can use to communicate only with a C. =head2 ListSignalingChannels =over =item [ChannelNameCondition => L] =item [MaxResults => Int] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Returns an array of C objects. Each object describes a signaling channel. To retrieve only those channels that satisfy a specific condition, you can specify a C. =head2 ListStreams =over =item [MaxResults => Int] =item [NextToken => Str] =item [StreamNameCondition => L] =back Each argument is described in detail in: L Returns: a L instance Returns an array of C objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify a C. =head2 ListTagsForResource =over =item ResourceARN => Str =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Returns a list of tags associated with the specified signaling channel. =head2 ListTagsForStream =over =item [NextToken => Str] =item [StreamARN => Str] =item [StreamName => Str] =back Each argument is described in detail in: L Returns: a L instance Returns a list of tags associated with the specified stream. In the request, you must specify either the C or the C. =head2 TagResource =over =item ResourceARN => Str =item Tags => ArrayRef[L] =back Each argument is described in detail in: L Returns: a L instance Adds one or more tags to a signaling channel. A I 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 (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) in the I. =head2 TagStream =over =item Tags => L =item [StreamARN => Str] =item [StreamName => Str] =back Each argument is described in detail in: L Returns: a L instance Adds one or more tags to a stream. A I 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 (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) in the I. You must provide either the C or the C. This operation requires permission for the C action. Kinesis video streams support up to 50 tags. =head2 UntagResource =over =item ResourceARN => Str =item TagKeyList => ArrayRef[Str|Undef] =back Each argument is described in detail in: L Returns: a L instance Removes one or more tags from a signaling channel. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored. =head2 UntagStream =over =item TagKeyList => ArrayRef[Str|Undef] =item [StreamARN => Str] =item [StreamName => Str] =back Each argument is described in detail in: L Returns: a L instance Removes one or more tags from a stream. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored. In the request, you must provide the C or C. =head2 UpdateDataRetention =over =item CurrentVersion => Str =item DataRetentionChangeInHours => Int =item Operation => Str =item [StreamARN => Str] =item [StreamName => Str] =back Each argument is described in detail in: L Returns: a L instance Increases or decreases the stream's data retention period by the value that you specify. To indicate whether you want to increase or decrease the data retention period, specify the C parameter in the request body. In the request, you must specify either the C or the C. The retention period that you specify replaces the current value. This operation requires permission for the C action. Changing the data retention period affects the data in the stream as follows: =over =item * If the data retention period is increased, existing data is retained for the new retention period. For example, if the data retention period is increased from one hour to seven hours, all existing data is retained for seven hours. =item * If the data retention period is decreased, existing data is retained for the new retention period. For example, if the data retention period is decreased from seven hours to one hour, all existing data is retained for one hour, and any data older than one hour is deleted immediately. =back =head2 UpdateSignalingChannel =over =item ChannelARN => Str =item CurrentVersion => Str =item [SingleMasterConfiguration => L] =back Each argument is described in detail in: L Returns: a L instance Updates the existing signaling channel. This is an asynchronous operation and takes time to complete. If the C value is updated (either increased or reduced), it only applies to new messages sent via this channel after it's been updated. Existing messages are still expired as per the previous C value. =head2 UpdateStream =over =item CurrentVersion => Str =item [DeviceName => Str] =item [MediaType => Str] =item [StreamARN => Str] =item [StreamName => Str] =back Each argument is described in detail in: L Returns: a L instance Updates stream metadata, such as the device name and media type. You must provide the stream name or the Amazon Resource Name (ARN) of the stream. To make sure that you have the latest version of the stream before updating it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the C API. C is an asynchronous operation, and takes time to complete. =head1 PAGINATORS Paginator methods are helpers that repetively call methods that return partial results =head2 ListAllSignalingChannels(sub { },[ChannelNameCondition => L, MaxResults => Int, NextToken => Str]) =head2 ListAllSignalingChannels([ChannelNameCondition => L, MaxResults => Int, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - ChannelInfoList, passing the object as the first parameter, and the string 'ChannelInfoList' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 ListAllStreams(sub { },[MaxResults => Int, NextToken => Str, StreamNameCondition => L]) =head2 ListAllStreams([MaxResults => Int, NextToken => Str, StreamNameCondition => L]) If passed a sub as first parameter, it will call the sub for each element found in : - StreamInfoList, passing the object as the first parameter, and the string 'StreamInfoList' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head1 SEE ALSO This service class forms part of L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut