/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the kinesisvideo-2017-09-30.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.KinesisVideo.Model;
using Amazon.KinesisVideo.Model.Internal.MarshallTransformations;
using Amazon.KinesisVideo.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.KinesisVideo
{
///
/// Implementation for accessing KinesisVideo
///
///
///
public partial class AmazonKinesisVideoClient : AmazonServiceClient, IAmazonKinesisVideo
{
private static IServiceMetadata serviceMetadata = new AmazonKinesisVideoMetadata();
private IKinesisVideoPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IKinesisVideoPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new KinesisVideoPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
///
/// Constructs AmazonKinesisVideoClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonKinesisVideoClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonKinesisVideoConfig()) { }
///
/// Constructs AmazonKinesisVideoClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonKinesisVideoClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonKinesisVideoConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonKinesisVideoClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonKinesisVideoClient Configuration Object
public AmazonKinesisVideoClient(AmazonKinesisVideoConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonKinesisVideoClient with AWS Credentials
///
/// AWS Credentials
public AmazonKinesisVideoClient(AWSCredentials credentials)
: this(credentials, new AmazonKinesisVideoConfig())
{
}
///
/// Constructs AmazonKinesisVideoClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonKinesisVideoClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonKinesisVideoConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonKinesisVideoClient with AWS Credentials and an
/// AmazonKinesisVideoClient Configuration object.
///
/// AWS Credentials
/// The AmazonKinesisVideoClient Configuration Object
public AmazonKinesisVideoClient(AWSCredentials credentials, AmazonKinesisVideoConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonKinesisVideoClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonKinesisVideoClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonKinesisVideoConfig())
{
}
///
/// Constructs AmazonKinesisVideoClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonKinesisVideoClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonKinesisVideoConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonKinesisVideoClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonKinesisVideoClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonKinesisVideoClient Configuration Object
public AmazonKinesisVideoClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonKinesisVideoConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonKinesisVideoClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonKinesisVideoClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonKinesisVideoConfig())
{
}
///
/// Constructs AmazonKinesisVideoClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonKinesisVideoClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonKinesisVideoConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonKinesisVideoClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonKinesisVideoClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonKinesisVideoClient Configuration Object
public AmazonKinesisVideoClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonKinesisVideoConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonKinesisVideoEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region CreateSignalingChannel
///
/// Creates a signaling channel.
///
///
///
/// CreateSignalingChannel
is an asynchronous operation.
///
///
/// Container for the necessary parameters to execute the CreateSignalingChannel service method.
///
/// The response from the CreateSignalingChannel service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// You have reached the maximum limit of active signaling channels for this Amazon Web
/// Services account in this region.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// You have exceeded the limit of tags that you can associate with the resource. A Kinesis
/// video stream can support up to 50 tags.
///
/// REST API Reference for CreateSignalingChannel Operation
public virtual CreateSignalingChannelResponse CreateSignalingChannel(CreateSignalingChannelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSignalingChannelRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSignalingChannelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a signaling channel.
///
///
///
/// CreateSignalingChannel
is an asynchronous operation.
///
///
/// Container for the necessary parameters to execute the CreateSignalingChannel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateSignalingChannel service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// You have reached the maximum limit of active signaling channels for this Amazon Web
/// Services account in this region.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// You have exceeded the limit of tags that you can associate with the resource. A Kinesis
/// video stream can support up to 50 tags.
///
/// REST API Reference for CreateSignalingChannel Operation
public virtual Task CreateSignalingChannelAsync(CreateSignalingChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSignalingChannelRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSignalingChannelResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateStream
///
/// 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.
///
///
///
/// CreateStream
is an asynchronous operation.
///
///
///
/// For information about how the service works, see How
/// it Works.
///
///
///
/// You must have permissions for the KinesisVideo:CreateStream
action.
///
///
/// Container for the necessary parameters to execute the CreateStream service method.
///
/// The response from the CreateStream service method, as returned by KinesisVideo.
///
/// The number of streams created for the account is too high.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// Not implemented.
///
///
/// The value for this input parameter is invalid.
///
///
/// Not implemented.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// You have exceeded the limit of tags that you can associate with the resource. A Kinesis
/// video stream can support up to 50 tags.
///
/// REST API Reference for CreateStream Operation
public virtual CreateStreamResponse CreateStream(CreateStreamRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStreamResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// CreateStream
is an asynchronous operation.
///
///
///
/// For information about how the service works, see How
/// it Works.
///
///
///
/// You must have permissions for the KinesisVideo:CreateStream
action.
///
///
/// Container for the necessary parameters to execute the CreateStream service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateStream service method, as returned by KinesisVideo.
///
/// The number of streams created for the account is too high.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// Not implemented.
///
///
/// The value for this input parameter is invalid.
///
///
/// Not implemented.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// You have exceeded the limit of tags that you can associate with the resource. A Kinesis
/// video stream can support up to 50 tags.
///
/// REST API Reference for CreateStream Operation
public virtual Task CreateStreamAsync(CreateStreamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStreamResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteEdgeConfiguration
///
/// An asynchronous API that deletes a stream’s existing edge configuration, as well as
/// the corresponding media from the Edge Agent.
///
///
///
/// When you invoke this API, the sync status is set to DELETING
. A deletion
/// process starts, in which active edge jobs are stopped and all media is deleted from
/// the edge device. The time to delete varies, depending on the total amount of stored
/// media. If the deletion process fails, the sync status changes to DELETE_FAILED
.
/// You will need to re-try the deletion.
///
///
///
/// When the deletion process has completed successfully, the edge configuration is no
/// longer accessible.
///
///
/// Container for the necessary parameters to execute the DeleteEdgeConfiguration service method.
///
/// The response from the DeleteEdgeConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The Exception rendered when the Amazon Kinesis Video Stream can't find a stream's
/// edge configuration that you specified.
///
/// REST API Reference for DeleteEdgeConfiguration Operation
public virtual DeleteEdgeConfigurationResponse DeleteEdgeConfiguration(DeleteEdgeConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEdgeConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEdgeConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// An asynchronous API that deletes a stream’s existing edge configuration, as well as
/// the corresponding media from the Edge Agent.
///
///
///
/// When you invoke this API, the sync status is set to DELETING
. A deletion
/// process starts, in which active edge jobs are stopped and all media is deleted from
/// the edge device. The time to delete varies, depending on the total amount of stored
/// media. If the deletion process fails, the sync status changes to DELETE_FAILED
.
/// You will need to re-try the deletion.
///
///
///
/// When the deletion process has completed successfully, the edge configuration is no
/// longer accessible.
///
///
/// Container for the necessary parameters to execute the DeleteEdgeConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteEdgeConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The Exception rendered when the Amazon Kinesis Video Stream can't find a stream's
/// edge configuration that you specified.
///
/// REST API Reference for DeleteEdgeConfiguration Operation
public virtual Task DeleteEdgeConfigurationAsync(DeleteEdgeConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEdgeConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEdgeConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteSignalingChannel
///
/// Deletes a specified signaling channel. DeleteSignalingChannel
is an asynchronous
/// operation. If you don't specify the channel's current version, the most recent version
/// is deleted.
///
/// Container for the necessary parameters to execute the DeleteSignalingChannel service method.
///
/// The response from the DeleteSignalingChannel service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The stream version that you specified is not the latest version. To get the latest
/// version, use the DescribeStream
/// API.
///
/// REST API Reference for DeleteSignalingChannel Operation
public virtual DeleteSignalingChannelResponse DeleteSignalingChannel(DeleteSignalingChannelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSignalingChannelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSignalingChannelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a specified signaling channel. DeleteSignalingChannel
is an asynchronous
/// operation. If you don't specify the channel's current version, the most recent version
/// is deleted.
///
/// Container for the necessary parameters to execute the DeleteSignalingChannel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteSignalingChannel service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The stream version that you specified is not the latest version. To get the latest
/// version, use the DescribeStream
/// API.
///
/// REST API Reference for DeleteSignalingChannel Operation
public virtual Task DeleteSignalingChannelAsync(DeleteSignalingChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSignalingChannelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSignalingChannelResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteStream
///
/// 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 DescribeStream
API.
///
///
///
/// This operation requires permission for the KinesisVideo:DeleteStream
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteStream service method.
///
/// The response from the DeleteStream service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The stream version that you specified is not the latest version. To get the latest
/// version, use the DescribeStream
/// API.
///
/// REST API Reference for DeleteStream Operation
public virtual DeleteStreamResponse DeleteStream(DeleteStreamRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStreamResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 DescribeStream
API.
///
///
///
/// This operation requires permission for the KinesisVideo:DeleteStream
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteStream service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteStream service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The stream version that you specified is not the latest version. To get the latest
/// version, use the DescribeStream
/// API.
///
/// REST API Reference for DeleteStream Operation
public virtual Task DeleteStreamAsync(DeleteStreamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStreamResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeEdgeConfiguration
///
/// Describes a stream’s edge configuration that was set using the StartEdgeConfigurationUpdate
/// API and the latest status of the edge agent's recorder and uploader jobs. Use this
/// API to get the status of the configuration to determine if the configuration is in
/// sync with the Edge Agent. Use this API to evaluate the health of the Edge Agent.
///
/// Container for the necessary parameters to execute the DescribeEdgeConfiguration service method.
///
/// The response from the DescribeEdgeConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The Exception rendered when the Amazon Kinesis Video Stream can't find a stream's
/// edge configuration that you specified.
///
/// REST API Reference for DescribeEdgeConfiguration Operation
public virtual DescribeEdgeConfigurationResponse DescribeEdgeConfiguration(DescribeEdgeConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEdgeConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEdgeConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes a stream’s edge configuration that was set using the StartEdgeConfigurationUpdate
/// API and the latest status of the edge agent's recorder and uploader jobs. Use this
/// API to get the status of the configuration to determine if the configuration is in
/// sync with the Edge Agent. Use this API to evaluate the health of the Edge Agent.
///
/// Container for the necessary parameters to execute the DescribeEdgeConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEdgeConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The Exception rendered when the Amazon Kinesis Video Stream can't find a stream's
/// edge configuration that you specified.
///
/// REST API Reference for DescribeEdgeConfiguration Operation
public virtual Task DescribeEdgeConfigurationAsync(DescribeEdgeConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEdgeConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEdgeConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeImageGenerationConfiguration
///
/// Gets the ImageGenerationConfiguration
for a given Kinesis video stream.
///
/// Container for the necessary parameters to execute the DescribeImageGenerationConfiguration service method.
///
/// The response from the DescribeImageGenerationConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for DescribeImageGenerationConfiguration Operation
public virtual DescribeImageGenerationConfigurationResponse DescribeImageGenerationConfiguration(DescribeImageGenerationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeImageGenerationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeImageGenerationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets the ImageGenerationConfiguration
for a given Kinesis video stream.
///
/// Container for the necessary parameters to execute the DescribeImageGenerationConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeImageGenerationConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for DescribeImageGenerationConfiguration Operation
public virtual Task DescribeImageGenerationConfigurationAsync(DescribeImageGenerationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeImageGenerationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeImageGenerationConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeMappedResourceConfiguration
///
/// Returns the most current information about the stream. The streamName
/// or streamARN
should be provided in the input.
///
/// Container for the necessary parameters to execute the DescribeMappedResourceConfiguration service method.
///
/// The response from the DescribeMappedResourceConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for DescribeMappedResourceConfiguration Operation
public virtual DescribeMappedResourceConfigurationResponse DescribeMappedResourceConfiguration(DescribeMappedResourceConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeMappedResourceConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeMappedResourceConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the most current information about the stream. The streamName
/// or streamARN
should be provided in the input.
///
/// Container for the necessary parameters to execute the DescribeMappedResourceConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeMappedResourceConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for DescribeMappedResourceConfiguration Operation
public virtual Task DescribeMappedResourceConfigurationAsync(DescribeMappedResourceConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeMappedResourceConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeMappedResourceConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeMediaStorageConfiguration
///
/// Returns the most current information about the channel. Specify the ChannelName
/// or ChannelARN
in the input.
///
/// Container for the necessary parameters to execute the DescribeMediaStorageConfiguration service method.
///
/// The response from the DescribeMediaStorageConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for DescribeMediaStorageConfiguration Operation
public virtual DescribeMediaStorageConfigurationResponse DescribeMediaStorageConfiguration(DescribeMediaStorageConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeMediaStorageConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeMediaStorageConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the most current information about the channel. Specify the ChannelName
/// or ChannelARN
in the input.
///
/// Container for the necessary parameters to execute the DescribeMediaStorageConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeMediaStorageConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for DescribeMediaStorageConfiguration Operation
public virtual Task DescribeMediaStorageConfigurationAsync(DescribeMediaStorageConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeMediaStorageConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeMediaStorageConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeNotificationConfiguration
///
/// Gets the NotificationConfiguration
for a given Kinesis video stream.
///
/// Container for the necessary parameters to execute the DescribeNotificationConfiguration service method.
///
/// The response from the DescribeNotificationConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for DescribeNotificationConfiguration Operation
public virtual DescribeNotificationConfigurationResponse DescribeNotificationConfiguration(DescribeNotificationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeNotificationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeNotificationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets the NotificationConfiguration
for a given Kinesis video stream.
///
/// Container for the necessary parameters to execute the DescribeNotificationConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeNotificationConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for DescribeNotificationConfiguration Operation
public virtual Task DescribeNotificationConfigurationAsync(DescribeNotificationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeNotificationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeNotificationConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeSignalingChannel
///
/// 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.
///
/// Container for the necessary parameters to execute the DescribeSignalingChannel service method.
///
/// The response from the DescribeSignalingChannel service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for DescribeSignalingChannel Operation
public virtual DescribeSignalingChannelResponse DescribeSignalingChannel(DescribeSignalingChannelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSignalingChannelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSignalingChannelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DescribeSignalingChannel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeSignalingChannel service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for DescribeSignalingChannel Operation
public virtual Task DescribeSignalingChannelAsync(DescribeSignalingChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSignalingChannelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSignalingChannelResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeStream
///
/// Returns the most current information about the specified stream. You must specify
/// either the StreamName
or the StreamARN
.
///
/// Container for the necessary parameters to execute the DescribeStream service method.
///
/// The response from the DescribeStream service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for DescribeStream Operation
public virtual DescribeStreamResponse DescribeStream(DescribeStreamRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStreamResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the most current information about the specified stream. You must specify
/// either the StreamName
or the StreamARN
.
///
/// Container for the necessary parameters to execute the DescribeStream service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeStream service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for DescribeStream Operation
public virtual Task DescribeStreamAsync(DescribeStreamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStreamResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDataEndpoint
///
/// 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 GetMedia
/// or GetMediaForFragmentList
operations) or write to it (using the PutMedia
/// 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 StreamName
or StreamARN
.
///
///
/// Container for the necessary parameters to execute the GetDataEndpoint service method.
///
/// The response from the GetDataEndpoint service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for GetDataEndpoint Operation
public virtual GetDataEndpointResponse GetDataEndpoint(GetDataEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDataEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDataEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 GetMedia
/// or GetMediaForFragmentList
operations) or write to it (using the PutMedia
/// 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 StreamName
or StreamARN
.
///
///
/// Container for the necessary parameters to execute the GetDataEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDataEndpoint service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for GetDataEndpoint Operation
public virtual Task GetDataEndpointAsync(GetDataEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDataEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDataEndpointResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetSignalingChannelEndpoint
///
/// Provides an endpoint for the specified signaling channel to send and receive messages.
/// This API uses the SingleMasterChannelEndpointConfiguration
input parameter,
/// which consists of the Protocols
and Role
properties.
///
///
///
/// Protocols
is used to determine the communication mechanism. For example,
/// if you specify WSS
as the protocol, this API produces a secure websocket
/// endpoint. If you specify HTTPS
as the protocol, this API generates an
/// HTTPS endpoint.
///
///
///
/// Role
determines the messaging permissions. A MASTER
role
/// results in this API generating an endpoint that a client can use to communicate with
/// any of the viewers on the channel. A VIEWER
role results in this API
/// generating an endpoint that a client can use to communicate only with a MASTER
.
///
///
///
/// Container for the necessary parameters to execute the GetSignalingChannelEndpoint service method.
///
/// The response from the GetSignalingChannelEndpoint service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for GetSignalingChannelEndpoint Operation
public virtual GetSignalingChannelEndpointResponse GetSignalingChannelEndpoint(GetSignalingChannelEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSignalingChannelEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSignalingChannelEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides an endpoint for the specified signaling channel to send and receive messages.
/// This API uses the SingleMasterChannelEndpointConfiguration
input parameter,
/// which consists of the Protocols
and Role
properties.
///
///
///
/// Protocols
is used to determine the communication mechanism. For example,
/// if you specify WSS
as the protocol, this API produces a secure websocket
/// endpoint. If you specify HTTPS
as the protocol, this API generates an
/// HTTPS endpoint.
///
///
///
/// Role
determines the messaging permissions. A MASTER
role
/// results in this API generating an endpoint that a client can use to communicate with
/// any of the viewers on the channel. A VIEWER
role results in this API
/// generating an endpoint that a client can use to communicate only with a MASTER
.
///
///
///
/// Container for the necessary parameters to execute the GetSignalingChannelEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSignalingChannelEndpoint service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for GetSignalingChannelEndpoint Operation
public virtual Task GetSignalingChannelEndpointAsync(GetSignalingChannelEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSignalingChannelEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSignalingChannelEndpointResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListEdgeAgentConfigurations
///
/// Returns an array of edge configurations associated with the specified Edge Agent.
///
///
///
/// In the request, you must specify the Edge Agent HubDeviceArn
.
///
///
/// Container for the necessary parameters to execute the ListEdgeAgentConfigurations service method.
///
/// The response from the ListEdgeAgentConfigurations service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
/// REST API Reference for ListEdgeAgentConfigurations Operation
public virtual ListEdgeAgentConfigurationsResponse ListEdgeAgentConfigurations(ListEdgeAgentConfigurationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEdgeAgentConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEdgeAgentConfigurationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns an array of edge configurations associated with the specified Edge Agent.
///
///
///
/// In the request, you must specify the Edge Agent HubDeviceArn
.
///
///
/// Container for the necessary parameters to execute the ListEdgeAgentConfigurations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListEdgeAgentConfigurations service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
/// REST API Reference for ListEdgeAgentConfigurations Operation
public virtual Task ListEdgeAgentConfigurationsAsync(ListEdgeAgentConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEdgeAgentConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEdgeAgentConfigurationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSignalingChannels
///
/// Returns an array of ChannelInfo
objects. Each object describes a signaling
/// channel. To retrieve only those channels that satisfy a specific condition, you can
/// specify a ChannelNameCondition
.
///
/// Container for the necessary parameters to execute the ListSignalingChannels service method.
///
/// The response from the ListSignalingChannels service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
/// REST API Reference for ListSignalingChannels Operation
public virtual ListSignalingChannelsResponse ListSignalingChannels(ListSignalingChannelsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSignalingChannelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSignalingChannelsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns an array of ChannelInfo
objects. Each object describes a signaling
/// channel. To retrieve only those channels that satisfy a specific condition, you can
/// specify a ChannelNameCondition
.
///
/// Container for the necessary parameters to execute the ListSignalingChannels service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSignalingChannels service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
/// REST API Reference for ListSignalingChannels Operation
public virtual Task ListSignalingChannelsAsync(ListSignalingChannelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSignalingChannelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSignalingChannelsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListStreams
///
/// Returns an array of StreamInfo
objects. Each object describes a stream.
/// To retrieve only streams that satisfy a specific condition, you can specify a StreamNameCondition
.
///
/// Container for the necessary parameters to execute the ListStreams service method.
///
/// The response from the ListStreams service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
/// REST API Reference for ListStreams Operation
public virtual ListStreamsResponse ListStreams(ListStreamsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListStreamsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListStreamsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns an array of StreamInfo
objects. Each object describes a stream.
/// To retrieve only streams that satisfy a specific condition, you can specify a StreamNameCondition
.
///
/// Container for the necessary parameters to execute the ListStreams service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListStreams service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
/// REST API Reference for ListStreams Operation
public virtual Task ListStreamsAsync(ListStreamsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListStreamsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListStreamsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
///
/// Returns a list of tags associated with the specified signaling channel.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of tags associated with the specified signaling channel.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForStream
///
/// Returns a list of tags associated with the specified stream.
///
///
///
/// In the request, you must specify either the StreamName
or the StreamARN
.
///
///
///
/// Container for the necessary parameters to execute the ListTagsForStream service method.
///
/// The response from the ListTagsForStream service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The format of the StreamARN
is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for ListTagsForStream Operation
public virtual ListTagsForStreamResponse ListTagsForStream(ListTagsForStreamRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForStreamResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of tags associated with the specified stream.
///
///
///
/// In the request, you must specify either the StreamName
or the StreamARN
.
///
///
///
/// Container for the necessary parameters to execute the ListTagsForStream service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForStream service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The format of the StreamARN
is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for ListTagsForStream Operation
public virtual Task ListTagsForStreamAsync(ListTagsForStreamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForStreamResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartEdgeConfigurationUpdate
///
/// An asynchronous API that updates a stream’s existing edge configuration. The Kinesis
/// Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass
/// component that runs on an IoT Hub Device, setup at your premise. The time to sync
/// can vary and depends on the connectivity of the Hub Device. The SyncStatus
/// will be updated as the edge configuration is acknowledged, and synced with the Edge
/// Agent.
///
///
///
/// If this API is invoked for the first time, a new edge configuration will be created
/// for the stream, and the sync status will be set to SYNCING
. You will
/// have to wait for the sync status to reach a terminal state such as: IN_SYNC
,
/// or SYNC_FAILED
, before using this API again. If you invoke this API during
/// the syncing process, a ResourceInUseException
will be thrown. The connectivity
/// of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes.
/// After 15 minutes, the status will transition into the SYNC_FAILED
state.
///
///
/// Container for the necessary parameters to execute the StartEdgeConfigurationUpdate service method.
///
/// The response from the StartEdgeConfigurationUpdate service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The Stream data retention in hours is equal to zero.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for StartEdgeConfigurationUpdate Operation
public virtual StartEdgeConfigurationUpdateResponse StartEdgeConfigurationUpdate(StartEdgeConfigurationUpdateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartEdgeConfigurationUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartEdgeConfigurationUpdateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// An asynchronous API that updates a stream’s existing edge configuration. The Kinesis
/// Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass
/// component that runs on an IoT Hub Device, setup at your premise. The time to sync
/// can vary and depends on the connectivity of the Hub Device. The SyncStatus
/// will be updated as the edge configuration is acknowledged, and synced with the Edge
/// Agent.
///
///
///
/// If this API is invoked for the first time, a new edge configuration will be created
/// for the stream, and the sync status will be set to SYNCING
. You will
/// have to wait for the sync status to reach a terminal state such as: IN_SYNC
,
/// or SYNC_FAILED
, before using this API again. If you invoke this API during
/// the syncing process, a ResourceInUseException
will be thrown. The connectivity
/// of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes.
/// After 15 minutes, the status will transition into the SYNC_FAILED
state.
///
///
/// Container for the necessary parameters to execute the StartEdgeConfigurationUpdate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartEdgeConfigurationUpdate service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The Stream data retention in hours is equal to zero.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for StartEdgeConfigurationUpdate Operation
public virtual Task StartEdgeConfigurationUpdateAsync(StartEdgeConfigurationUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartEdgeConfigurationUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartEdgeConfigurationUpdateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
///
/// Adds one or more tags to a signaling channel. A tag is a key-value pair (the
/// value is optional) that you can define and assign to Amazon Web Services 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 Billing and Cost Management and Cost Management
/// User Guide.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// You have exceeded the limit of tags that you can associate with the resource. A Kinesis
/// video stream can support up to 50 tags.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds one or more tags to a signaling channel. A tag is a key-value pair (the
/// value is optional) that you can define and assign to Amazon Web Services 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 Billing and Cost Management and Cost Management
/// User Guide.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// You have exceeded the limit of tags that you can associate with the resource. A Kinesis
/// video stream can support up to 50 tags.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagStream
///
/// 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 Amazon Web Services 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 Billing and Cost Management and Cost Management
/// User Guide.
///
///
///
/// You must provide either the StreamName
or the StreamARN
.
///
///
///
/// This operation requires permission for the KinesisVideo:TagStream
action.
///
///
///
/// A Kinesis video stream can support up to 50 tags.
///
///
/// Container for the necessary parameters to execute the TagStream service method.
///
/// The response from the TagStream service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The format of the StreamARN
is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// You have exceeded the limit of tags that you can associate with the resource. A Kinesis
/// video stream can support up to 50 tags.
///
/// REST API Reference for TagStream Operation
public virtual TagStreamResponse TagStream(TagStreamRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagStreamResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 Amazon Web Services 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 Billing and Cost Management and Cost Management
/// User Guide.
///
///
///
/// You must provide either the StreamName
or the StreamARN
.
///
///
///
/// This operation requires permission for the KinesisVideo:TagStream
action.
///
///
///
/// A Kinesis video stream can support up to 50 tags.
///
///
/// Container for the necessary parameters to execute the TagStream service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagStream service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The format of the StreamARN
is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// You have exceeded the limit of tags that you can associate with the resource. A Kinesis
/// video stream can support up to 50 tags.
///
/// REST API Reference for TagStream Operation
public virtual Task TagStreamAsync(TagStreamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagStreamResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
///
/// 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.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagStream
///
/// 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 StreamName
or StreamARN
.
///
///
/// Container for the necessary parameters to execute the UntagStream service method.
///
/// The response from the UntagStream service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The format of the StreamARN
is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for UntagStream Operation
public virtual UntagStreamResponse UntagStream(UntagStreamRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagStreamResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 StreamName
or StreamARN
.
///
///
/// Container for the necessary parameters to execute the UntagStream service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagStream service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The format of the StreamARN
is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for UntagStream Operation
public virtual Task UntagStreamAsync(UntagStreamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagStreamResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDataRetention
///
/// 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 Operation
parameter in the request body. In the request, you must
/// specify either the StreamName
or the StreamARN
.
///
///
///
/// The retention period that you specify replaces the current value.
///
///
///
/// This operation requires permission for the KinesisVideo:UpdateDataRetention
/// action.
///
///
///
/// Changing the data retention period affects the data in the stream as follows:
///
/// -
///
/// 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.
///
///
-
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the UpdateDataRetention service method.
///
/// The response from the UpdateDataRetention service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The stream version that you specified is not the latest version. To get the latest
/// version, use the DescribeStream
/// API.
///
/// REST API Reference for UpdateDataRetention Operation
public virtual UpdateDataRetentionResponse UpdateDataRetention(UpdateDataRetentionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDataRetentionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDataRetentionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 Operation
parameter in the request body. In the request, you must
/// specify either the StreamName
or the StreamARN
.
///
///
///
/// The retention period that you specify replaces the current value.
///
///
///
/// This operation requires permission for the KinesisVideo:UpdateDataRetention
/// action.
///
///
///
/// Changing the data retention period affects the data in the stream as follows:
///
/// -
///
/// 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.
///
///
-
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the UpdateDataRetention service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDataRetention service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The stream version that you specified is not the latest version. To get the latest
/// version, use the DescribeStream
/// API.
///
/// REST API Reference for UpdateDataRetention Operation
public virtual Task UpdateDataRetentionAsync(UpdateDataRetentionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDataRetentionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDataRetentionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateImageGenerationConfiguration
///
/// Updates the StreamInfo
and ImageProcessingConfiguration
/// fields.
///
/// Container for the necessary parameters to execute the UpdateImageGenerationConfiguration service method.
///
/// The response from the UpdateImageGenerationConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The Stream data retention in hours is equal to zero.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for UpdateImageGenerationConfiguration Operation
public virtual UpdateImageGenerationConfigurationResponse UpdateImageGenerationConfiguration(UpdateImageGenerationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateImageGenerationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateImageGenerationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the StreamInfo
and ImageProcessingConfiguration
/// fields.
///
/// Container for the necessary parameters to execute the UpdateImageGenerationConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateImageGenerationConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The Stream data retention in hours is equal to zero.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for UpdateImageGenerationConfiguration Operation
public virtual Task UpdateImageGenerationConfigurationAsync(UpdateImageGenerationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateImageGenerationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateImageGenerationConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateMediaStorageConfiguration
///
/// Associates a SignalingChannel
to a stream to store the media. There are
/// two signaling modes that can specified :
///
/// -
///
/// If the
StorageStatus
is disabled, no data will be stored, and the StreamARN
/// parameter will not be needed.
///
/// -
///
/// If the
StorageStatus
is enabled, the data will be stored in the StreamARN
/// provided.
///
///
///
/// Container for the necessary parameters to execute the UpdateMediaStorageConfiguration service method.
///
/// The response from the UpdateMediaStorageConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The Stream data retention in hours is equal to zero.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for UpdateMediaStorageConfiguration Operation
public virtual UpdateMediaStorageConfigurationResponse UpdateMediaStorageConfiguration(UpdateMediaStorageConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMediaStorageConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMediaStorageConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates a SignalingChannel
to a stream to store the media. There are
/// two signaling modes that can specified :
///
/// -
///
/// If the
StorageStatus
is disabled, no data will be stored, and the StreamARN
/// parameter will not be needed.
///
/// -
///
/// If the
StorageStatus
is enabled, the data will be stored in the StreamARN
/// provided.
///
///
///
/// Container for the necessary parameters to execute the UpdateMediaStorageConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateMediaStorageConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The Stream data retention in hours is equal to zero.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for UpdateMediaStorageConfiguration Operation
public virtual Task UpdateMediaStorageConfigurationAsync(UpdateMediaStorageConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMediaStorageConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMediaStorageConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateNotificationConfiguration
///
/// Updates the notification information for a stream.
///
/// Container for the necessary parameters to execute the UpdateNotificationConfiguration service method.
///
/// The response from the UpdateNotificationConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The Stream data retention in hours is equal to zero.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for UpdateNotificationConfiguration Operation
public virtual UpdateNotificationConfigurationResponse UpdateNotificationConfiguration(UpdateNotificationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateNotificationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateNotificationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the notification information for a stream.
///
/// Container for the necessary parameters to execute the UpdateNotificationConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateNotificationConfiguration service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The Stream data retention in hours is equal to zero.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
/// REST API Reference for UpdateNotificationConfiguration Operation
public virtual Task UpdateNotificationConfigurationAsync(UpdateNotificationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateNotificationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateNotificationConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateSignalingChannel
///
/// Updates the existing signaling channel. This is an asynchronous operation and takes
/// time to complete.
///
///
///
/// If the MessageTtlSeconds
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 MessageTtlSeconds
value.
///
///
/// Container for the necessary parameters to execute the UpdateSignalingChannel service method.
///
/// The response from the UpdateSignalingChannel service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The stream version that you specified is not the latest version. To get the latest
/// version, use the DescribeStream
/// API.
///
/// REST API Reference for UpdateSignalingChannel Operation
public virtual UpdateSignalingChannelResponse UpdateSignalingChannel(UpdateSignalingChannelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSignalingChannelRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSignalingChannelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the existing signaling channel. This is an asynchronous operation and takes
/// time to complete.
///
///
///
/// If the MessageTtlSeconds
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 MessageTtlSeconds
value.
///
///
/// Container for the necessary parameters to execute the UpdateSignalingChannel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateSignalingChannel service method, as returned by KinesisVideo.
///
/// You do not have required permissions to perform this operation.
///
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The stream version that you specified is not the latest version. To get the latest
/// version, use the DescribeStream
/// API.
///
/// REST API Reference for UpdateSignalingChannel Operation
public virtual Task UpdateSignalingChannelAsync(UpdateSignalingChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSignalingChannelRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSignalingChannelResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateStream
///
/// 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 DescribeStream
API.
///
///
///
/// UpdateStream
is an asynchronous operation, and takes time to complete.
///
///
/// Container for the necessary parameters to execute the UpdateStream service method.
///
/// The response from the UpdateStream service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The stream version that you specified is not the latest version. To get the latest
/// version, use the DescribeStream
/// API.
///
/// REST API Reference for UpdateStream Operation
public virtual UpdateStreamResponse UpdateStream(UpdateStreamRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStreamResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 DescribeStream
API.
///
///
///
/// UpdateStream
is an asynchronous operation, and takes time to complete.
///
///
/// Container for the necessary parameters to execute the UpdateStream service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateStream service method, as returned by KinesisVideo.
///
/// Kinesis Video Streams has throttled the request because you have exceeded the limit
/// of allowed client calls. Try making the call later.
///
///
/// The value for this input parameter is invalid.
///
///
/// The caller is not authorized to perform this operation.
///
///
/// When the input StreamARN
or ChannelARN
in CLOUD_STORAGE_MODE
/// is already mapped to a different Kinesis Video Stream resource, or if the provided
/// input StreamARN
or ChannelARN
is not in Active status, try
/// one of the following :
///
/// -
///
/// The
DescribeMediaStorageConfiguration
API to determine what the stream
/// given channel is mapped to.
///
/// -
///
/// The
DescribeMappedResourceConfiguration
API to determine the channel
/// that the given stream is mapped to.
///
/// -
///
/// The
DescribeStream
or DescribeSignalingChannel
API to determine
/// the status of the resource.
///
///
///
///
/// Amazon Kinesis Video Streams can't find the stream that you specified.
///
///
/// The stream version that you specified is not the latest version. To get the latest
/// version, use the DescribeStream
/// API.
///
/// REST API Reference for UpdateStream Operation
public virtual Task UpdateStreamAsync(UpdateStreamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStreamResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}