/* * 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 ivs-2020-07-14.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.IVS.Model; namespace Amazon.IVS { /// /// Interface for accessing IVS /// /// Introduction /// /// /// /// The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard /// HTTP API and an Amazon Web Services EventBridge event stream for responses. JSON is /// used for both requests and responses, including errors. /// /// /// /// The API is an Amazon Web Services regional service. For a list of supported regions /// and Amazon IVS HTTPS service endpoints, see the Amazon /// IVS page in the Amazon Web Services General Reference. /// /// /// /// All API request parameters and URLs are case sensitive. /// /// /// /// For a summary of notable documentation changes in each release, see /// Document History. /// /// /// /// Allowed Header Values /// /// /// /// Resources /// /// /// /// The following resources contain information about your IVS live stream (see /// Getting Started with Amazon IVS): /// /// /// /// Tagging /// /// /// /// A tag is a metadata label that you assign to an Amazon Web Services resource. /// A tag comprises a key and a value, both set by you. For example, you /// might set a tag as topic:nature to label a particular video category. /// See Tagging /// Amazon Web Services Resources for more information, including restrictions that /// apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific /// constraints beyond what is documented there. /// /// /// /// Tags can help you identify and organize your Amazon Web Services resources. For example, /// you can use the same tag for different resources to indicate that they are related. /// You can also use tags to manage access (see /// Access Tags). /// /// /// /// The Amazon IVS API has these tag-related endpoints: TagResource, UntagResource, /// and ListTagsForResource. The following resources support tagging: Channels, /// Stream Keys, Playback Key Pairs, and Recording Configurations. /// /// /// /// At most 50 tags can be applied to a resource. /// /// /// /// Authentication versus Authorization /// /// /// /// Note the differences between these concepts: /// /// /// /// Authentication /// /// /// /// All Amazon IVS API requests must be authenticated with a signature. The Amazon Web /// Services Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing /// the underlying API calls for you. However, if your application calls the Amazon IVS /// API directly, it’s your responsibility to sign the requests. /// /// /// /// You generate a signature using valid Amazon Web Services credentials that have permission /// to perform the requested action. For example, you must sign PutMetadata requests with /// a signature generated from a user account that has the ivs:PutMetadata /// permission. /// /// /// /// For more information: /// /// /// /// Amazon Resource Names (ARNs) /// /// /// /// ARNs uniquely identify AWS resources. An ARN is required when you need to specify /// a resource unambiguously across all of AWS, such as in IAM policies and API calls. /// For more information, see Amazon /// Resource Names in the AWS General Reference. /// /// /// /// Channel Endpoints /// /// /// /// StreamKey Endpoints /// /// /// /// Stream Endpoints /// /// /// /// Private Channel Endpoints /// /// /// /// For more information, see Setting /// Up Private Channels in the Amazon IVS User Guide. /// /// /// /// RecordingConfiguration Endpoints /// /// /// /// Amazon Web Services Tags Endpoints /// /// /// public partial interface IAmazonIVS : IAmazonService, IDisposable { /// /// Paginators for the service /// IIVSPaginatorFactory Paginators { get; } #region BatchGetChannel /// /// Performs GetChannel on multiple ARNs simultaneously. /// /// Container for the necessary parameters to execute the BatchGetChannel service method. /// /// The response from the BatchGetChannel service method, as returned by IVS. /// REST API Reference for BatchGetChannel Operation BatchGetChannelResponse BatchGetChannel(BatchGetChannelRequest request); /// /// Performs GetChannel on multiple ARNs simultaneously. /// /// Container for the necessary parameters to execute the BatchGetChannel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetChannel service method, as returned by IVS. /// REST API Reference for BatchGetChannel Operation Task BatchGetChannelAsync(BatchGetChannelRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetStreamKey /// /// Performs GetStreamKey on multiple ARNs simultaneously. /// /// Container for the necessary parameters to execute the BatchGetStreamKey service method. /// /// The response from the BatchGetStreamKey service method, as returned by IVS. /// REST API Reference for BatchGetStreamKey Operation BatchGetStreamKeyResponse BatchGetStreamKey(BatchGetStreamKeyRequest request); /// /// Performs GetStreamKey on multiple ARNs simultaneously. /// /// Container for the necessary parameters to execute the BatchGetStreamKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetStreamKey service method, as returned by IVS. /// REST API Reference for BatchGetStreamKey Operation Task BatchGetStreamKeyAsync(BatchGetStreamKeyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchStartViewerSessionRevocation /// /// Performs StartViewerSessionRevocation on multiple channel ARN and viewer ID /// pairs simultaneously. /// /// Container for the necessary parameters to execute the BatchStartViewerSessionRevocation service method. /// /// The response from the BatchStartViewerSessionRevocation service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for BatchStartViewerSessionRevocation Operation BatchStartViewerSessionRevocationResponse BatchStartViewerSessionRevocation(BatchStartViewerSessionRevocationRequest request); /// /// Performs StartViewerSessionRevocation on multiple channel ARN and viewer ID /// pairs simultaneously. /// /// Container for the necessary parameters to execute the BatchStartViewerSessionRevocation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchStartViewerSessionRevocation service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for BatchStartViewerSessionRevocation Operation Task BatchStartViewerSessionRevocationAsync(BatchStartViewerSessionRevocationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateChannel /// /// Creates a new channel and an associated stream key to start streaming. /// /// Container for the necessary parameters to execute the CreateChannel service method. /// /// The response from the CreateChannel service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateChannel Operation CreateChannelResponse CreateChannel(CreateChannelRequest request); /// /// Creates a new channel and an associated stream key to start streaming. /// /// Container for the necessary parameters to execute the CreateChannel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateChannel service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateChannel Operation Task CreateChannelAsync(CreateChannelRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateRecordingConfiguration /// /// Creates a new recording configuration, used to enable recording to Amazon S3. /// /// /// /// Known issue: In the us-east-1 region, if you use the Amazon Web Services CLI /// to create a recording configuration, it returns success even if the S3 bucket is in /// a different region. In this case, the state of the recording configuration /// is CREATE_FAILED (instead of ACTIVE). (In other regions, /// the CLI correctly returns failure if the bucket is in a different region.) /// /// /// /// Workaround: Ensure that your S3 bucket is in the same region as the recording /// configuration. If you create a recording configuration in a different region as your /// S3 bucket, delete that recording configuration and create a new one with an S3 bucket /// from the correct region. /// /// /// Container for the necessary parameters to execute the CreateRecordingConfiguration service method. /// /// The response from the CreateRecordingConfiguration service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateRecordingConfiguration Operation CreateRecordingConfigurationResponse CreateRecordingConfiguration(CreateRecordingConfigurationRequest request); /// /// Creates a new recording configuration, used to enable recording to Amazon S3. /// /// /// /// Known issue: In the us-east-1 region, if you use the Amazon Web Services CLI /// to create a recording configuration, it returns success even if the S3 bucket is in /// a different region. In this case, the state of the recording configuration /// is CREATE_FAILED (instead of ACTIVE). (In other regions, /// the CLI correctly returns failure if the bucket is in a different region.) /// /// /// /// Workaround: Ensure that your S3 bucket is in the same region as the recording /// configuration. If you create a recording configuration in a different region as your /// S3 bucket, delete that recording configuration and create a new one with an S3 bucket /// from the correct region. /// /// /// Container for the necessary parameters to execute the CreateRecordingConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRecordingConfiguration service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateRecordingConfiguration Operation Task CreateRecordingConfigurationAsync(CreateRecordingConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateStreamKey /// /// Creates a stream key, used to initiate a stream, for the specified channel ARN. /// /// /// /// Note that CreateChannel creates a stream key. If you subsequently use CreateStreamKey /// on the same channel, it will fail because a stream key already exists and there is /// a limit of 1 stream key per channel. To reset the stream key on a channel, use DeleteStreamKey /// and then CreateStreamKey. /// /// /// Container for the necessary parameters to execute the CreateStreamKey service method. /// /// The response from the CreateStreamKey service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateStreamKey Operation CreateStreamKeyResponse CreateStreamKey(CreateStreamKeyRequest request); /// /// Creates a stream key, used to initiate a stream, for the specified channel ARN. /// /// /// /// Note that CreateChannel creates a stream key. If you subsequently use CreateStreamKey /// on the same channel, it will fail because a stream key already exists and there is /// a limit of 1 stream key per channel. To reset the stream key on a channel, use DeleteStreamKey /// and then CreateStreamKey. /// /// /// Container for the necessary parameters to execute the CreateStreamKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateStreamKey service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateStreamKey Operation Task CreateStreamKeyAsync(CreateStreamKeyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannel /// /// Deletes the specified channel and its associated stream keys. /// /// /// /// If you try to delete a live channel, you will get an error (409 ConflictException). /// To delete a channel that is live, call StopStream, wait for the Amazon EventBridge /// "Stream End" event (to verify that the stream's state is no longer Live), then call /// DeleteChannel. (See /// Using EventBridge with Amazon IVS.) /// /// /// Container for the necessary parameters to execute the DeleteChannel service method. /// /// The response from the DeleteChannel service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteChannel Operation DeleteChannelResponse DeleteChannel(DeleteChannelRequest request); /// /// Deletes the specified channel and its associated stream keys. /// /// /// /// If you try to delete a live channel, you will get an error (409 ConflictException). /// To delete a channel that is live, call StopStream, wait for the Amazon EventBridge /// "Stream End" event (to verify that the stream's state is no longer Live), then call /// DeleteChannel. (See /// Using EventBridge with Amazon IVS.) /// /// /// Container for the necessary parameters to execute the DeleteChannel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteChannel service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteChannel Operation Task DeleteChannelAsync(DeleteChannelRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeletePlaybackKeyPair /// /// Deletes a specified authorization key pair. This invalidates future viewer tokens /// generated using the key pair’s privateKey. For more information, see /// Setting /// Up Private Channels in the Amazon IVS User Guide. /// /// Container for the necessary parameters to execute the DeletePlaybackKeyPair service method. /// /// The response from the DeletePlaybackKeyPair service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeletePlaybackKeyPair Operation DeletePlaybackKeyPairResponse DeletePlaybackKeyPair(DeletePlaybackKeyPairRequest request); /// /// Deletes a specified authorization key pair. This invalidates future viewer tokens /// generated using the key pair’s privateKey. For more information, see /// Setting /// Up Private Channels in the Amazon IVS User Guide. /// /// Container for the necessary parameters to execute the DeletePlaybackKeyPair service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeletePlaybackKeyPair service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeletePlaybackKeyPair Operation Task DeletePlaybackKeyPairAsync(DeletePlaybackKeyPairRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteRecordingConfiguration /// /// Deletes the recording configuration for the specified ARN. /// /// /// /// If you try to delete a recording configuration that is associated with a channel, /// you will get an error (409 ConflictException). To avoid this, for all channels that /// reference the recording configuration, first use UpdateChannel to set the recordingConfigurationArn /// field to an empty string, then use DeleteRecordingConfiguration. /// /// /// Container for the necessary parameters to execute the DeleteRecordingConfiguration service method. /// /// The response from the DeleteRecordingConfiguration service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteRecordingConfiguration Operation DeleteRecordingConfigurationResponse DeleteRecordingConfiguration(DeleteRecordingConfigurationRequest request); /// /// Deletes the recording configuration for the specified ARN. /// /// /// /// If you try to delete a recording configuration that is associated with a channel, /// you will get an error (409 ConflictException). To avoid this, for all channels that /// reference the recording configuration, first use UpdateChannel to set the recordingConfigurationArn /// field to an empty string, then use DeleteRecordingConfiguration. /// /// /// Container for the necessary parameters to execute the DeleteRecordingConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRecordingConfiguration service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteRecordingConfiguration Operation Task DeleteRecordingConfigurationAsync(DeleteRecordingConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteStreamKey /// /// Deletes the stream key for the specified ARN, so it can no longer be used to stream. /// /// Container for the necessary parameters to execute the DeleteStreamKey service method. /// /// The response from the DeleteStreamKey service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteStreamKey Operation DeleteStreamKeyResponse DeleteStreamKey(DeleteStreamKeyRequest request); /// /// Deletes the stream key for the specified ARN, so it can no longer be used to stream. /// /// Container for the necessary parameters to execute the DeleteStreamKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteStreamKey service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteStreamKey Operation Task DeleteStreamKeyAsync(DeleteStreamKeyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetChannel /// /// Gets the channel configuration for the specified channel ARN. See also BatchGetChannel. /// /// Container for the necessary parameters to execute the GetChannel service method. /// /// The response from the GetChannel service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for GetChannel Operation GetChannelResponse GetChannel(GetChannelRequest request); /// /// Gets the channel configuration for the specified channel ARN. See also BatchGetChannel. /// /// Container for the necessary parameters to execute the GetChannel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetChannel service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for GetChannel Operation Task GetChannelAsync(GetChannelRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetPlaybackKeyPair /// /// Gets a specified playback authorization key pair and returns the arn /// and fingerprint. The privateKey held by the caller can be /// used to generate viewer authorization tokens, to grant viewers access to private channels. /// For more information, see Setting /// Up Private Channels in the Amazon IVS User Guide. /// /// Container for the necessary parameters to execute the GetPlaybackKeyPair service method. /// /// The response from the GetPlaybackKeyPair service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for GetPlaybackKeyPair Operation GetPlaybackKeyPairResponse GetPlaybackKeyPair(GetPlaybackKeyPairRequest request); /// /// Gets a specified playback authorization key pair and returns the arn /// and fingerprint. The privateKey held by the caller can be /// used to generate viewer authorization tokens, to grant viewers access to private channels. /// For more information, see Setting /// Up Private Channels in the Amazon IVS User Guide. /// /// Container for the necessary parameters to execute the GetPlaybackKeyPair service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPlaybackKeyPair service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for GetPlaybackKeyPair Operation Task GetPlaybackKeyPairAsync(GetPlaybackKeyPairRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetRecordingConfiguration /// /// Gets the recording configuration for the specified ARN. /// /// Container for the necessary parameters to execute the GetRecordingConfiguration service method. /// /// The response from the GetRecordingConfiguration service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetRecordingConfiguration Operation GetRecordingConfigurationResponse GetRecordingConfiguration(GetRecordingConfigurationRequest request); /// /// Gets the recording configuration for the specified ARN. /// /// Container for the necessary parameters to execute the GetRecordingConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRecordingConfiguration service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetRecordingConfiguration Operation Task GetRecordingConfigurationAsync(GetRecordingConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetStream /// /// Gets information about the active (live) stream on a specified channel. /// /// Container for the necessary parameters to execute the GetStream service method. /// /// The response from the GetStream service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetStream Operation GetStreamResponse GetStream(GetStreamRequest request); /// /// Gets information about the active (live) stream on a specified channel. /// /// Container for the necessary parameters to execute the GetStream service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetStream service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetStream Operation Task GetStreamAsync(GetStreamRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetStreamKey /// /// Gets stream-key information for a specified ARN. /// /// Container for the necessary parameters to execute the GetStreamKey service method. /// /// The response from the GetStreamKey service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for GetStreamKey Operation GetStreamKeyResponse GetStreamKey(GetStreamKeyRequest request); /// /// Gets stream-key information for a specified ARN. /// /// Container for the necessary parameters to execute the GetStreamKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetStreamKey service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for GetStreamKey Operation Task GetStreamKeyAsync(GetStreamKeyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetStreamSession /// /// Gets metadata on a specified stream. /// /// Container for the necessary parameters to execute the GetStreamSession service method. /// /// The response from the GetStreamSession service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for GetStreamSession Operation GetStreamSessionResponse GetStreamSession(GetStreamSessionRequest request); /// /// Gets metadata on a specified stream. /// /// Container for the necessary parameters to execute the GetStreamSession service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetStreamSession service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for GetStreamSession Operation Task GetStreamSessionAsync(GetStreamSessionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ImportPlaybackKeyPair /// /// Imports the public portion of a new key pair and returns its arn and /// fingerprint. The privateKey can then be used to generate /// viewer authorization tokens, to grant viewers access to private channels. For more /// information, see Setting /// Up Private Channels in the Amazon IVS User Guide. /// /// Container for the necessary parameters to execute the ImportPlaybackKeyPair service method. /// /// The response from the ImportPlaybackKeyPair service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for ImportPlaybackKeyPair Operation ImportPlaybackKeyPairResponse ImportPlaybackKeyPair(ImportPlaybackKeyPairRequest request); /// /// Imports the public portion of a new key pair and returns its arn and /// fingerprint. The privateKey can then be used to generate /// viewer authorization tokens, to grant viewers access to private channels. For more /// information, see Setting /// Up Private Channels in the Amazon IVS User Guide. /// /// Container for the necessary parameters to execute the ImportPlaybackKeyPair service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportPlaybackKeyPair service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for ImportPlaybackKeyPair Operation Task ImportPlaybackKeyPairAsync(ImportPlaybackKeyPairRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannels /// /// Gets summary information about all channels in your account, in the Amazon Web Services /// region where the API request is processed. This list can be filtered to match a specified /// name or recording-configuration ARN. Filters are mutually exclusive and cannot be /// used together. If you try to use both filters, you will get an error (409 ConflictException). /// /// Container for the necessary parameters to execute the ListChannels service method. /// /// The response from the ListChannels service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for ListChannels Operation ListChannelsResponse ListChannels(ListChannelsRequest request); /// /// Gets summary information about all channels in your account, in the Amazon Web Services /// region where the API request is processed. This list can be filtered to match a specified /// name or recording-configuration ARN. Filters are mutually exclusive and cannot be /// used together. If you try to use both filters, you will get an error (409 ConflictException). /// /// Container for the necessary parameters to execute the ListChannels service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListChannels service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for ListChannels Operation Task ListChannelsAsync(ListChannelsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListPlaybackKeyPairs /// /// Gets summary information about playback key pairs. For more information, see Setting /// Up Private Channels in the Amazon IVS User Guide. /// /// Container for the necessary parameters to execute the ListPlaybackKeyPairs service method. /// /// The response from the ListPlaybackKeyPairs service method, as returned by IVS. /// /// /// /// /// /// /// REST API Reference for ListPlaybackKeyPairs Operation ListPlaybackKeyPairsResponse ListPlaybackKeyPairs(ListPlaybackKeyPairsRequest request); /// /// Gets summary information about playback key pairs. For more information, see Setting /// Up Private Channels in the Amazon IVS User Guide. /// /// Container for the necessary parameters to execute the ListPlaybackKeyPairs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPlaybackKeyPairs service method, as returned by IVS. /// /// /// /// /// /// /// REST API Reference for ListPlaybackKeyPairs Operation Task ListPlaybackKeyPairsAsync(ListPlaybackKeyPairsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListRecordingConfigurations /// /// Gets summary information about all recording configurations in your account, in the /// Amazon Web Services region where the API request is processed. /// /// Container for the necessary parameters to execute the ListRecordingConfigurations service method. /// /// The response from the ListRecordingConfigurations service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for ListRecordingConfigurations Operation ListRecordingConfigurationsResponse ListRecordingConfigurations(ListRecordingConfigurationsRequest request); /// /// Gets summary information about all recording configurations in your account, in the /// Amazon Web Services region where the API request is processed. /// /// Container for the necessary parameters to execute the ListRecordingConfigurations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRecordingConfigurations service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for ListRecordingConfigurations Operation Task ListRecordingConfigurationsAsync(ListRecordingConfigurationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListStreamKeys /// /// Gets summary information about stream keys for the specified channel. /// /// Container for the necessary parameters to execute the ListStreamKeys service method. /// /// The response from the ListStreamKeys service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for ListStreamKeys Operation ListStreamKeysResponse ListStreamKeys(ListStreamKeysRequest request); /// /// Gets summary information about stream keys for the specified channel. /// /// Container for the necessary parameters to execute the ListStreamKeys service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStreamKeys service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for ListStreamKeys Operation Task ListStreamKeysAsync(ListStreamKeysRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListStreams /// /// Gets summary information about live streams in your account, in the Amazon Web Services /// region where the API request is processed. /// /// Container for the necessary parameters to execute the ListStreams service method. /// /// The response from the ListStreams service method, as returned by IVS. /// /// /// /// /// /// /// REST API Reference for ListStreams Operation ListStreamsResponse ListStreams(ListStreamsRequest request); /// /// Gets summary information about live streams in your account, in the Amazon Web Services /// region where the API request is processed. /// /// 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 IVS. /// /// /// /// /// /// /// REST API Reference for ListStreams Operation Task ListStreamsAsync(ListStreamsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListStreamSessions /// /// Gets a summary of current and previous streams for a specified channel in your account, /// in the AWS region where the API request is processed. /// /// Container for the necessary parameters to execute the ListStreamSessions service method. /// /// The response from the ListStreamSessions service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for ListStreamSessions Operation ListStreamSessionsResponse ListStreamSessions(ListStreamSessionsRequest request); /// /// Gets a summary of current and previous streams for a specified channel in your account, /// in the AWS region where the API request is processed. /// /// Container for the necessary parameters to execute the ListStreamSessions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStreamSessions service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for ListStreamSessions Operation Task ListStreamSessionsAsync(ListStreamSessionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// /// Gets information about Amazon Web Services tags for the specified ARN. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Gets information about Amazon Web Services tags for the specified ARN. /// /// 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 IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for ListTagsForResource Operation Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutMetadata /// /// Inserts metadata into the active stream of the specified channel. At most 5 requests /// per second per channel are allowed, each with a maximum 1 KB payload. (If 5 TPS is /// not sufficient for your needs, we recommend batching your data into a single PutMetadata /// call.) At most 155 requests per second per account are allowed. Also see Embedding /// Metadata within a Video Stream in the Amazon IVS User Guide. /// /// Container for the necessary parameters to execute the PutMetadata service method. /// /// The response from the PutMetadata service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for PutMetadata Operation PutMetadataResponse PutMetadata(PutMetadataRequest request); /// /// Inserts metadata into the active stream of the specified channel. At most 5 requests /// per second per channel are allowed, each with a maximum 1 KB payload. (If 5 TPS is /// not sufficient for your needs, we recommend batching your data into a single PutMetadata /// call.) At most 155 requests per second per account are allowed. Also see Embedding /// Metadata within a Video Stream in the Amazon IVS User Guide. /// /// Container for the necessary parameters to execute the PutMetadata service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutMetadata service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for PutMetadata Operation Task PutMetadataAsync(PutMetadataRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartViewerSessionRevocation /// /// Starts the process of revoking the viewer session associated with a specified channel /// ARN and viewer ID. Optionally, you can provide a version to revoke viewer sessions /// less than and including that version. For instructions on associating a viewer ID /// with a viewer session, see Setting /// Up Private Channels. /// /// Container for the necessary parameters to execute the StartViewerSessionRevocation service method. /// /// The response from the StartViewerSessionRevocation service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for StartViewerSessionRevocation Operation StartViewerSessionRevocationResponse StartViewerSessionRevocation(StartViewerSessionRevocationRequest request); /// /// Starts the process of revoking the viewer session associated with a specified channel /// ARN and viewer ID. Optionally, you can provide a version to revoke viewer sessions /// less than and including that version. For instructions on associating a viewer ID /// with a viewer session, see Setting /// Up Private Channels. /// /// Container for the necessary parameters to execute the StartViewerSessionRevocation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartViewerSessionRevocation service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for StartViewerSessionRevocation Operation Task StartViewerSessionRevocationAsync(StartViewerSessionRevocationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopStream /// /// Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction /// with DeleteStreamKey to prevent further streaming to a channel. /// /// /// /// Many streaming client-software libraries automatically reconnect a dropped RTMPS session, /// so to stop the stream permanently, you may want to first revoke the streamKey /// attached to the channel. /// /// /// /// Container for the necessary parameters to execute the StopStream service method. /// /// The response from the StopStream service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for StopStream Operation StopStreamResponse StopStream(StopStreamRequest request); /// /// Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction /// with DeleteStreamKey to prevent further streaming to a channel. /// /// /// /// Many streaming client-software libraries automatically reconnect a dropped RTMPS session, /// so to stop the stream permanently, you may want to first revoke the streamKey /// attached to the channel. /// /// /// /// Container for the necessary parameters to execute the StopStream service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopStream service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for StopStream Operation Task StopStreamAsync(StopStreamRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// /// Adds or updates tags for the Amazon Web Services resource with the specified ARN. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for TagResource Operation TagResourceResponse TagResource(TagResourceRequest request); /// /// Adds or updates tags for the Amazon Web Services resource with the specified ARN. /// /// 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 IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for TagResource Operation Task TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// /// Removes tags from the resource with the specified ARN. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for UntagResource Operation UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Removes tags from the resource with the specified ARN. /// /// 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 IVS. /// /// /// /// /// /// /// /// /// /// REST API Reference for UntagResource Operation Task UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateChannel /// /// Updates a channel's configuration. Live channels cannot be updated. You must stop /// the ongoing stream, update the channel, and restart the stream for the changes to /// take effect. /// /// Container for the necessary parameters to execute the UpdateChannel service method. /// /// The response from the UpdateChannel service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for UpdateChannel Operation UpdateChannelResponse UpdateChannel(UpdateChannelRequest request); /// /// Updates a channel's configuration. Live channels cannot be updated. You must stop /// the ongoing stream, update the channel, and restart the stream for the changes to /// take effect. /// /// Container for the necessary parameters to execute the UpdateChannel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateChannel service method, as returned by IVS. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for UpdateChannel Operation Task UpdateChannelAsync(UpdateChannelRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }