KinesisVideoClient Class

(QtAws::KinesisVideo::KinesisVideoClient)

The KinesisVideoClient class provides access to the Amazon Kinesis Video Streams service. More...

Header: #include <KinesisVideoClient>
Inherits: QtAws::Core::AwsAbstractClient

Public Functions

KinesisVideoClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)
KinesisVideoClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

Public Slots

CreateStreamResponse *createStream(const CreateStreamRequest &request)
DeleteStreamResponse *deleteStream(const DeleteStreamRequest &request)
DescribeStreamResponse *describeStream(const DescribeStreamRequest &request)
GetDataEndpointResponse *getDataEndpoint(const GetDataEndpointRequest &request)
ListStreamsResponse *listStreams(const ListStreamsRequest &request)
ListTagsForStreamResponse *listTagsForStream(const ListTagsForStreamRequest &request)
TagStreamResponse *tagStream(const TagStreamRequest &request)
UntagStreamResponse *untagStream(const UntagStreamRequest &request)
UpdateDataRetentionResponse *updateDataRetention(const UpdateDataRetentionRequest &request)
UpdateStreamResponse *updateStream(const UpdateStreamRequest &request)

Additional Inherited Members

Detailed Description

The KinesisVideoClient class provides access to the Amazon Kinesis Video Streams service.

Member Function Documentation

KinesisVideoClient::KinesisVideoClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

Constructs a KinesisVideoClient object.

The new client object will region, credentials, and manager for network operations.

The new object will be owned by parent, if set.

KinesisVideoClient::KinesisVideoClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

This function overloads KinesisVideoClient().

This overload allows the caller to specify the specific endpoint to send requests to. Typically, it is easier to use the alternative constructor, which allows the caller to specify an AWS region instead, in which case this client will determine the correct endpoint for the given region automatically (via AwsEndpoint::getEndpoint).

See also QtAws::Core::AwsEndpoint::getEndpoint.

[slot] CreateStreamResponse *KinesisVideoClient::createStream(const CreateStreamRequest &request)

Sends request to the KinesisVideoClient service, and returns a pointer to an CreateStreamResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Creates a new Kinesis video stream.

</p

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.

</p

<code>CreateStream</code> is an asynchronous

operation>

For information about how the service works, see <a href="http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/how-it-works.html">How it Works</a>.

</p

You must have permissions for the <code>KinesisVideo:CreateStream</code>

[slot] DeleteStreamResponse *KinesisVideoClient::deleteStream(const DeleteStreamRequest &request)

Sends request to the KinesisVideoClient service, and returns a pointer to an DeleteStreamResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Deletes a Kinesis video stream and the data contained in the stream.

</p

This method marks the stream for deletion, and makes the data in the stream inaccessible

immediately>

</p

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 <code>DescribeStream</code> API.

</p

This operation requires permission for the <code>KinesisVideo:DeleteStream</code>

[slot] DescribeStreamResponse *KinesisVideoClient::describeStream(const DescribeStreamRequest &request)

Sends request to the KinesisVideoClient service, and returns a pointer to an DescribeStreamResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns the most current information about the specified stream. You must specify either the <code>StreamName</code> or the <code>StreamARN</code>.

[slot] GetDataEndpointResponse *KinesisVideoClient::getDataEndpoint(const GetDataEndpointRequest &request)

Sends request to the KinesisVideoClient service, and returns a pointer to an GetDataEndpointResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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 <code>GetMedia</code> or <code>GetMediaForFragmentList</code> operations) or write to it (using the <code>PutMedia</code> operation).

</p <note>

The returned endpoint does not have the API name appended. The client needs to add the API name to the returned

endpoint> </note>

In the request, specify the stream either by <code>StreamName</code> or

[slot] ListStreamsResponse *KinesisVideoClient::listStreams(const ListStreamsRequest &request)

Sends request to the KinesisVideoClient service, and returns a pointer to an ListStreamsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns an array of <code>StreamInfo</code> objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify a <code>StreamNameCondition</code>.

[slot] ListTagsForStreamResponse *KinesisVideoClient::listTagsForStream(const ListTagsForStreamRequest &request)

Sends request to the KinesisVideoClient service, and returns a pointer to an ListTagsForStreamResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Returns a list of tags associated with the specified

stream>

In the request, you must specify either the <code>StreamName</code> or the <code>StreamARN</code>.

[slot] TagStreamResponse *KinesisVideoClient::tagStream(const TagStreamRequest &request)

Sends request to the KinesisVideoClient service, and returns a pointer to an TagStreamResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Adds one or more tags to a stream. A <i>tag</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 <a href="http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>.

</p

You must provide either the <code>StreamName</code> or the

<code>StreamARN</code>>

This operation requires permission for the <code>KinesisVideo:TagStream</code>

action>

Kinesis video streams support up to 50

[slot] UntagStreamResponse *KinesisVideoClient::untagStream(const UntagStreamRequest &request)

Sends request to the KinesisVideoClient service, and returns a pointer to an UntagStreamResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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 <code>StreamName</code> or

[slot] UpdateDataRetentionResponse *KinesisVideoClient::updateDataRetention(const UpdateDataRetentionRequest &request)

Sends request to the KinesisVideoClient service, and returns a pointer to an UpdateDataRetentionResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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 <code>Operation</code> parameter in the request body. In the request, you must specify either the <code>StreamName</code> or the <code>StreamARN</code>.

</p <note>

The retention period that you specify replaces the current

value> </note>

This operation requires permission for the <code>KinesisVideo:UpdateDataRetention</code>

action>

Changing the data retention period affects the data in the stream as

follows> <ul> <li>

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> </li> <li>

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

[slot] UpdateStreamResponse *KinesisVideoClient::updateStream(const UpdateStreamRequest &request)

Sends request to the KinesisVideoClient service, and returns a pointer to an UpdateStreamResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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 <code>DescribeStream</code> API.

</p

<code>UpdateStream</code> is an asynchronous operation, and takes time to

© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.