Package-level declarations

Types

Link copied to clipboard
interface IvsClient : SdkClient

Introduction

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Functions

Link copied to clipboard

Performs GetChannel on multiple ARNs simultaneously.

Link copied to clipboard

Performs GetStreamKey on multiple ARNs simultaneously.

Link copied to clipboard

Performs StartViewerSessionRevocation on multiple channel ARN and viewer ID pairs simultaneously.

Link copied to clipboard
inline suspend fun IvsClient.createChannel(crossinline block: CreateChannelRequest.Builder.() -> Unit): CreateChannelResponse

Creates a new channel and an associated stream key to start streaming.

Link copied to clipboard

Creates a new playback restriction policy, for constraining playback by countries and/or origins.

Link copied to clipboard

Creates a new recording configuration, used to enable recording to Amazon S3.

Link copied to clipboard

Creates a stream key, used to initiate a stream, for the specified channel ARN.

Link copied to clipboard
inline suspend fun IvsClient.deleteChannel(crossinline block: DeleteChannelRequest.Builder.() -> Unit): DeleteChannelResponse

Deletes the specified channel and its associated stream keys.

Link copied to clipboard

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.

Link copied to clipboard

Deletes the specified playback restriction policy.

Link copied to clipboard

Deletes the recording configuration for the specified ARN.

Link copied to clipboard

Deletes the stream key for the specified ARN, so it can no longer be used to stream.

Link copied to clipboard
inline suspend fun IvsClient.getChannel(crossinline block: GetChannelRequest.Builder.() -> Unit): GetChannelResponse

Gets the channel configuration for the specified channel ARN. See also BatchGetChannel.

Link copied to clipboard

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.

Link copied to clipboard

Gets the specified playback restriction policy.

Link copied to clipboard

Gets the recording configuration for the specified ARN.

Link copied to clipboard
inline suspend fun IvsClient.getStream(crossinline block: GetStreamRequest.Builder.() -> Unit): GetStreamResponse

Gets information about the active (live) stream on a specified channel.

Link copied to clipboard
inline suspend fun IvsClient.getStreamKey(crossinline block: GetStreamKeyRequest.Builder.() -> Unit): GetStreamKeyResponse

Gets stream-key information for a specified ARN.

Link copied to clipboard

Gets metadata on a specified stream.

Link copied to clipboard

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.

Link copied to clipboard
inline suspend fun IvsClient.listChannels(crossinline block: ListChannelsRequest.Builder.() -> Unit): ListChannelsResponse

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).

Link copied to clipboard

Gets summary information about playback key pairs. For more information, see Setting Up Private Channels in the Amazon IVS User Guide.

Link copied to clipboard

Gets summary information about playback restriction policies.

Link copied to clipboard

Gets summary information about all recording configurations in your account, in the Amazon Web Services region where the API request is processed.

Link copied to clipboard

Gets summary information about stream keys for the specified channel.

Link copied to clipboard
inline suspend fun IvsClient.listStreams(crossinline block: ListStreamsRequest.Builder.() -> Unit): ListStreamsResponse

Gets summary information about live streams in your account, in the Amazon Web Services region where the API request is processed.

Link copied to clipboard

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.

Link copied to clipboard

Gets information about Amazon Web Services tags for the specified ARN.

Link copied to clipboard
inline suspend fun IvsClient.putMetadata(crossinline block: PutMetadataRequest.Builder.() -> Unit): PutMetadataResponse

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.

Link copied to clipboard

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.

Link copied to clipboard
inline suspend fun IvsClient.stopStream(crossinline block: StopStreamRequest.Builder.() -> Unit): StopStreamResponse

Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel.

Link copied to clipboard
inline suspend fun IvsClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse

Adds or updates tags for the Amazon Web Services resource with the specified ARN.

Link copied to clipboard
inline suspend fun IvsClient.untagResource(crossinline block: UntagResourceRequest.Builder.() -> Unit): UntagResourceResponse

Removes tags from the resource with the specified ARN.

Link copied to clipboard
inline suspend fun IvsClient.updateChannel(crossinline block: UpdateChannelRequest.Builder.() -> Unit): UpdateChannelResponse

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.

Link copied to clipboard

Updates a specified playback restriction policy.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.