@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonIVS extends Object implements AmazonIVS
AmazonIVS
. Convenient method forms pass through to the corresponding overload that
takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
BatchGetChannelResult |
batchGetChannel(BatchGetChannelRequest request)
Performs GetChannel on multiple ARNs simultaneously.
|
BatchGetStreamKeyResult |
batchGetStreamKey(BatchGetStreamKeyRequest request)
Performs GetStreamKey on multiple ARNs simultaneously.
|
CreateChannelResult |
createChannel(CreateChannelRequest request)
Creates a new channel and an associated stream key to start streaming.
|
CreateStreamKeyResult |
createStreamKey(CreateStreamKeyRequest request)
Creates a stream key, used to initiate a stream, for the specified channel ARN.
|
DeleteChannelResult |
deleteChannel(DeleteChannelRequest request)
Deletes the specified channel and its associated stream keys.
|
DeletePlaybackKeyPairResult |
deletePlaybackKeyPair(DeletePlaybackKeyPairRequest request)
Deletes a specified authorization key pair.
|
DeleteStreamKeyResult |
deleteStreamKey(DeleteStreamKeyRequest request)
Deletes the stream key for the specified ARN, so it can no longer be used to stream.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetChannelResult |
getChannel(GetChannelRequest request)
Gets the channel configuration for the specified channel ARN.
|
GetPlaybackKeyPairResult |
getPlaybackKeyPair(GetPlaybackKeyPairRequest request)
Gets a specified playback authorization key pair and returns the
arn and fingerprint . |
GetStreamResult |
getStream(GetStreamRequest request)
Gets information about the active (live) stream on a specified channel.
|
GetStreamKeyResult |
getStreamKey(GetStreamKeyRequest request)
Gets stream-key information for a specified ARN.
|
ImportPlaybackKeyPairResult |
importPlaybackKeyPair(ImportPlaybackKeyPairRequest request)
Imports the public portion of a new key pair and returns its
arn and fingerprint . |
ListChannelsResult |
listChannels(ListChannelsRequest request)
Gets summary information about all channels in your account, in the AWS region where the API request is
processed.
|
ListPlaybackKeyPairsResult |
listPlaybackKeyPairs(ListPlaybackKeyPairsRequest request)
Gets summary information about playback key pairs.
|
ListStreamKeysResult |
listStreamKeys(ListStreamKeysRequest request)
Gets summary information about stream keys for the specified channel.
|
ListStreamsResult |
listStreams(ListStreamsRequest request)
Gets summary information about live streams in your account, in the AWS region where the API request is
processed.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Gets information about AWS tags for the specified ARN.
|
PutMetadataResult |
putMetadata(PutMetadataRequest request)
Inserts metadata into an RTMPS stream for the specified channel.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StopStreamResult |
stopStream(StopStreamRequest request)
Disconnects the incoming RTMPS stream for the specified channel.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds or updates tags for the AWS resource with the specified ARN.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes tags from the resource with the specified ARN.
|
UpdateChannelResult |
updateChannel(UpdateChannelRequest request)
Updates a channel's configuration.
|
public BatchGetChannelResult batchGetChannel(BatchGetChannelRequest request)
AmazonIVS
Performs GetChannel on multiple ARNs simultaneously.
batchGetChannel
in interface AmazonIVS
public BatchGetStreamKeyResult batchGetStreamKey(BatchGetStreamKeyRequest request)
AmazonIVS
Performs GetStreamKey on multiple ARNs simultaneously.
batchGetStreamKey
in interface AmazonIVS
public CreateChannelResult createChannel(CreateChannelRequest request)
AmazonIVS
Creates a new channel and an associated stream key to start streaming.
createChannel
in interface AmazonIVS
public CreateStreamKeyResult createStreamKey(CreateStreamKeyRequest request)
AmazonIVS
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.
createStreamKey
in interface AmazonIVS
public DeleteChannelResult deleteChannel(DeleteChannelRequest request)
AmazonIVS
Deletes the specified channel and its associated stream keys.
deleteChannel
in interface AmazonIVS
public DeletePlaybackKeyPairResult deletePlaybackKeyPair(DeletePlaybackKeyPairRequest request)
AmazonIVS
Deletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s
privateKey
.
deletePlaybackKeyPair
in interface AmazonIVS
public DeleteStreamKeyResult deleteStreamKey(DeleteStreamKeyRequest request)
AmazonIVS
Deletes the stream key for the specified ARN, so it can no longer be used to stream.
deleteStreamKey
in interface AmazonIVS
public GetChannelResult getChannel(GetChannelRequest request)
AmazonIVS
Gets the channel configuration for the specified channel ARN. See also BatchGetChannel.
getChannel
in interface AmazonIVS
public GetPlaybackKeyPairResult getPlaybackKeyPair(GetPlaybackKeyPairRequest request)
AmazonIVS
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 authorized channels.
getPlaybackKeyPair
in interface AmazonIVS
public GetStreamResult getStream(GetStreamRequest request)
AmazonIVS
Gets information about the active (live) stream on a specified channel.
getStream
in interface AmazonIVS
public GetStreamKeyResult getStreamKey(GetStreamKeyRequest request)
AmazonIVS
Gets stream-key information for a specified ARN.
getStreamKey
in interface AmazonIVS
public ImportPlaybackKeyPairResult importPlaybackKeyPair(ImportPlaybackKeyPairRequest request)
AmazonIVS
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
authorized channels.
importPlaybackKeyPair
in interface AmazonIVS
public ListChannelsResult listChannels(ListChannelsRequest request)
AmazonIVS
Gets summary information about all channels in your account, in the AWS region where the API request is processed. This list can be filtered to match a specified string.
listChannels
in interface AmazonIVS
public ListPlaybackKeyPairsResult listPlaybackKeyPairs(ListPlaybackKeyPairsRequest request)
AmazonIVS
Gets summary information about playback key pairs.
listPlaybackKeyPairs
in interface AmazonIVS
public ListStreamKeysResult listStreamKeys(ListStreamKeysRequest request)
AmazonIVS
Gets summary information about stream keys for the specified channel.
listStreamKeys
in interface AmazonIVS
public ListStreamsResult listStreams(ListStreamsRequest request)
AmazonIVS
Gets summary information about live streams in your account, in the AWS region where the API request is processed.
listStreams
in interface AmazonIVS
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonIVS
Gets information about AWS tags for the specified ARN.
listTagsForResource
in interface AmazonIVS
public PutMetadataResult putMetadata(PutMetadataRequest request)
AmazonIVS
Inserts metadata into an RTMPS stream for the specified channel. A maximum of 5 requests per second per channel is allowed, each with a maximum 1KB payload.
putMetadata
in interface AmazonIVS
public StopStreamResult stopStream(StopStreamRequest request)
AmazonIVS
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.
stopStream
in interface AmazonIVS
public TagResourceResult tagResource(TagResourceRequest request)
AmazonIVS
Adds or updates tags for the AWS resource with the specified ARN.
tagResource
in interface AmazonIVS
public UntagResourceResult untagResource(UntagResourceRequest request)
AmazonIVS
Removes tags from the resource with the specified ARN.
untagResource
in interface AmazonIVS
public UpdateChannelResult updateChannel(UpdateChannelRequest request)
AmazonIVS
Updates a channel's configuration. This does not affect an ongoing stream of this channel. You must stop and restart the stream for the changes to take effect.
updateChannel
in interface AmazonIVS
public void shutdown()
AmazonIVS
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonIVS
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AmazonIVS
request
- The originally executed request.