Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- Waiters
- Operations
- PutMetadata
- ListRecordingConfigurations (Paginated)
- CreateStreamKey
- ImportPlaybackKeyPair
- ListChannels (Paginated)
- ListTagsForResource
- DeleteChannel
- UpdateChannel
- GetStreamKey
- DeletePlaybackKeyPair
- BatchGetStreamKey
- GetPlaybackKeyPair
- DeleteRecordingConfiguration
- StopStream
- CreateChannel
- DeleteStreamKey
- GetStream
- ListStreamKeys (Paginated)
- GetChannel
- ListStreams (Paginated)
- TagResource
- GetRecordingConfiguration
- ListPlaybackKeyPairs (Paginated)
- UntagResource
- CreateRecordingConfiguration
- BatchGetChannel
- Types
Derived from API version 2020-07-14
of the AWS service descriptions, licensed under Apache 2.0.
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.
<p> <b>Allowed Header Values</b> </p> <ul> <li> <p> <code> <b>Accept:</b> </code> application/json</p> </li> <li> <p> <code> <b>Accept-Encoding:</b> </code> gzip, deflate</p> </li> <li> <p> <code> <b>Content-Type:</b> </code>application/json</p> </li> </ul> <p> <b>Resources</b> </p> <p>The following resources contain information about your IVS live stream (see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/getting-started.html"> Getting Started with Amazon IVS</a>):</p> <ul> <li> <p>Channel — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream. See the Channel endpoints for more information. </p> </li> <li> <p>Stream key — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. See the StreamKey endpoints for more information. <i> <b>Treat the stream key like a secret, since it allows anyone to stream to the channel.</b> </i> </p> </li> <li> <p>Playback key pair — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair endpoints for more information.</p> </li> <li> <p>Recording configuration — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration. See the Recording Configuration endpoints for more information.</p> </li> </ul> <p> <b>Tagging</b> </p> <p>A <i>tag</i> is a metadata label that you assign to an Amazon Web Services resource. A tag comprises a <i>key</i> and a <i>value</i>, both set by you. For example, you might set a tag as <code>topic:nature</code> to label a particular video category. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a> for more information, including restrictions that apply to tags.</p> <p>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 <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html"> Access Tags</a>). </p> <p>The Amazon IVS API has these tag-related endpoints: <a>TagResource</a>, <a>UntagResource</a>, and <a>ListTagsForResource</a>. The following resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording Configurations.</p> <p>At most 50 tags can be applied to a resource. </p> <p> <b>Authentication versus Authorization</b> </p> <p>Note the differences between these concepts:</p> <ul> <li> <p> <i>Authentication</i> is about verifying identity. You need to be authenticated to sign Amazon IVS API requests.</p> </li> <li> <p> <i>Authorization</i> is about granting permissions. You need to be authorized to view <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Amazon IVS private channels</a>. (Private channels are channels that are enabled for "playback authorization.")</p> </li> </ul> <p> <b>Authentication</b> </p> <p>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.</p> <p>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 an IAM user account that has the <code>ivs:PutMetadata</code> permission.</p> <p>For more information:</p> <ul> <li> <p>Authentication and generating signatures — See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon Web Services General Reference</i>.</p> </li> <li> <p>Managing Amazon IVS permissions — See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html">Identity and Access Management</a> on the Security page of the <i>Amazon IVS User Guide</i>.</p> </li> </ul> <p> <b>Channel Endpoints</b> </p> <ul> <li> <p> <a>CreateChannel</a> — Creates a new channel and an associated stream key to start streaming.</p> </li> <li> <p> <a>GetChannel</a> — Gets the channel configuration for the specified channel ARN (Amazon Resource Name).</p> </li> <li> <p> <a>BatchGetChannel</a> — Performs <a>GetChannel</a> on multiple ARNs simultaneously.</p> </li> <li> <p> <a>ListChannels</a> — 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 Conflict Exception).</p> </li> <li> <p> <a>UpdateChannel</a> — 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.</p> </li> <li> <p> <a>DeleteChannel</a> — Deletes the specified channel.</p> </li> </ul> <p> <b>StreamKey Endpoints</b> </p> <ul> <li> <p> <a>CreateStreamKey</a> — Creates a stream key, used to initiate a stream, for the specified channel ARN.</p> </li> <li> <p> <a>GetStreamKey</a> — Gets stream key information for the specified ARN.</p> </li> <li> <p> <a>BatchGetStreamKey</a> — Performs <a>GetStreamKey</a> on multiple ARNs simultaneously.</p> </li> <li> <p> <a>ListStreamKeys</a> — Gets summary information about stream keys for the specified channel.</p> </li> <li> <p> <a>DeleteStreamKey</a> — Deletes the stream key for the specified ARN, so it can no longer be used to stream.</p> </li> </ul> <p> <b>Stream Endpoints</b> </p> <ul> <li> <p> <a>GetStream</a> — Gets information about the active (live) stream on a specified channel.</p> </li> <li> <p> <a>ListStreams</a> — Gets summary information about live streams in your account, in the Amazon Web Services region where the API request is processed.</p> </li> <li> <p> <a>StopStream</a> — Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with <a>DeleteStreamKey</a> to prevent further streaming to a channel.</p> </li> <li> <p> <a>PutMetadata</a> — 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.</p> </li> </ul> <p> <b>PlaybackKeyPair Endpoints</b> </p> <p>For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private Channels</a> in the <i>Amazon IVS User Guide</i>.</p> <ul> <li> <p> <a>ImportPlaybackKeyPair</a> — Imports the public portion of a new key pair and returns its <code>arn</code> and <code>fingerprint</code>. The <code>privateKey</code> can then be used to generate viewer authorization tokens, to grant viewers access to private channels (channels enabled for playback authorization).</p> </li> <li> <p> <a>GetPlaybackKeyPair</a> — Gets a specified playback authorization key pair and returns the <code>arn</code> and <code>fingerprint</code>. The <code>privateKey</code> held by the caller can be used to generate viewer authorization tokens, to grant viewers access to private channels.</p> </li> <li> <p> <a>ListPlaybackKeyPairs</a> — Gets summary information about playback key pairs.</p> </li> <li> <p> <a>DeletePlaybackKeyPair</a> — Deletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s <code>privateKey</code>.</p> </li> </ul> <p> <b>RecordingConfiguration Endpoints</b> </p> <ul> <li> <p> <a>CreateRecordingConfiguration</a> — Creates a new recording configuration, used to enable recording to Amazon S3.</p> </li> <li> <p> <a>GetRecordingConfiguration</a> — Gets the recording-configuration metadata for the specified ARN.</p> </li> <li> <p> <a>ListRecordingConfigurations</a> — Gets summary information about all recording configurations in your account, in the Amazon Web Services region where the API request is processed.</p> </li> <li> <p> <a>DeleteRecordingConfiguration</a> — Deletes the recording configuration for the specified ARN.</p> </li> </ul> <p> <b>Amazon Web Services Tags Endpoints</b> </p> <ul> <li> <p> <a>TagResource</a> — Adds or updates tags for the Amazon Web Services resource with the specified ARN.</p> </li> <li> <p> <a>UntagResource</a> — Removes tags from the resource with the specified ARN.</p> </li> <li> <p> <a>ListTagsForResource</a> — Gets information about Amazon Web Services tags for the specified ARN.</p> </li> </ul>
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _StreamUnavailable :: AsError a => Getting (First ServiceError) a ServiceError
- _PendingVerification :: AsError a => Getting (First ServiceError) a ServiceError
- _ChannelNotBroadcasting :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- data PutMetadata = PutMetadata' Text (Sensitive Text)
- newPutMetadata :: Text -> Text -> PutMetadata
- data PutMetadataResponse = PutMetadataResponse' {
- newPutMetadataResponse :: PutMetadataResponse
- data ListRecordingConfigurations = ListRecordingConfigurations' (Maybe Text) (Maybe Natural)
- newListRecordingConfigurations :: ListRecordingConfigurations
- data ListRecordingConfigurationsResponse = ListRecordingConfigurationsResponse' (Maybe Text) Int [RecordingConfigurationSummary]
- newListRecordingConfigurationsResponse :: Int -> ListRecordingConfigurationsResponse
- data CreateStreamKey = CreateStreamKey' (Maybe (HashMap Text Text)) Text
- newCreateStreamKey :: Text -> CreateStreamKey
- data CreateStreamKeyResponse = CreateStreamKeyResponse' (Maybe StreamKey) Int
- newCreateStreamKeyResponse :: Int -> CreateStreamKeyResponse
- data ImportPlaybackKeyPair = ImportPlaybackKeyPair' (Maybe Text) (Maybe (HashMap Text Text)) Text
- newImportPlaybackKeyPair :: Text -> ImportPlaybackKeyPair
- data ImportPlaybackKeyPairResponse = ImportPlaybackKeyPairResponse' (Maybe PlaybackKeyPair) Int
- newImportPlaybackKeyPairResponse :: Int -> ImportPlaybackKeyPairResponse
- data ListChannels = ListChannels' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural)
- newListChannels :: ListChannels
- data ListChannelsResponse = ListChannelsResponse' (Maybe Text) Int [ChannelSummary]
- newListChannelsResponse :: Int -> ListChannelsResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' Int (HashMap Text Text)
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data DeleteChannel = DeleteChannel' Text
- newDeleteChannel :: Text -> DeleteChannel
- data DeleteChannelResponse = DeleteChannelResponse' {
- newDeleteChannelResponse :: DeleteChannelResponse
- data UpdateChannel = UpdateChannel' (Maybe Bool) (Maybe ChannelLatencyMode) (Maybe Text) (Maybe Text) (Maybe ChannelType) Text
- newUpdateChannel :: Text -> UpdateChannel
- data UpdateChannelResponse = UpdateChannelResponse' (Maybe Channel) Int
- newUpdateChannelResponse :: Int -> UpdateChannelResponse
- data GetStreamKey = GetStreamKey' Text
- newGetStreamKey :: Text -> GetStreamKey
- data GetStreamKeyResponse = GetStreamKeyResponse' (Maybe StreamKey) Int
- newGetStreamKeyResponse :: Int -> GetStreamKeyResponse
- data DeletePlaybackKeyPair = DeletePlaybackKeyPair' Text
- newDeletePlaybackKeyPair :: Text -> DeletePlaybackKeyPair
- data DeletePlaybackKeyPairResponse = DeletePlaybackKeyPairResponse' Int
- newDeletePlaybackKeyPairResponse :: Int -> DeletePlaybackKeyPairResponse
- data BatchGetStreamKey = BatchGetStreamKey' (NonEmpty Text)
- newBatchGetStreamKey :: NonEmpty Text -> BatchGetStreamKey
- data BatchGetStreamKeyResponse = BatchGetStreamKeyResponse' (Maybe [StreamKey]) (Maybe [BatchError]) Int
- newBatchGetStreamKeyResponse :: Int -> BatchGetStreamKeyResponse
- data GetPlaybackKeyPair = GetPlaybackKeyPair' Text
- newGetPlaybackKeyPair :: Text -> GetPlaybackKeyPair
- data GetPlaybackKeyPairResponse = GetPlaybackKeyPairResponse' (Maybe PlaybackKeyPair) Int
- newGetPlaybackKeyPairResponse :: Int -> GetPlaybackKeyPairResponse
- data DeleteRecordingConfiguration = DeleteRecordingConfiguration' Text
- newDeleteRecordingConfiguration :: Text -> DeleteRecordingConfiguration
- data DeleteRecordingConfigurationResponse = DeleteRecordingConfigurationResponse' {
- newDeleteRecordingConfigurationResponse :: DeleteRecordingConfigurationResponse
- data StopStream = StopStream' Text
- newStopStream :: Text -> StopStream
- data StopStreamResponse = StopStreamResponse' Int
- newStopStreamResponse :: Int -> StopStreamResponse
- data CreateChannel = CreateChannel' (Maybe Bool) (Maybe ChannelLatencyMode) (Maybe Text) (Maybe Text) (Maybe ChannelType) (Maybe (HashMap Text Text))
- newCreateChannel :: CreateChannel
- data CreateChannelResponse = CreateChannelResponse' (Maybe Channel) (Maybe StreamKey) Int
- newCreateChannelResponse :: Int -> CreateChannelResponse
- data DeleteStreamKey = DeleteStreamKey' Text
- newDeleteStreamKey :: Text -> DeleteStreamKey
- data DeleteStreamKeyResponse = DeleteStreamKeyResponse' {
- newDeleteStreamKeyResponse :: DeleteStreamKeyResponse
- data GetStream = GetStream' Text
- newGetStream :: Text -> GetStream
- data GetStreamResponse = GetStreamResponse' (Maybe Stream) Int
- newGetStreamResponse :: Int -> GetStreamResponse
- data ListStreamKeys = ListStreamKeys' (Maybe Text) (Maybe Natural) Text
- newListStreamKeys :: Text -> ListStreamKeys
- data ListStreamKeysResponse = ListStreamKeysResponse' (Maybe Text) Int [StreamKeySummary]
- newListStreamKeysResponse :: Int -> ListStreamKeysResponse
- data GetChannel = GetChannel' Text
- newGetChannel :: Text -> GetChannel
- data GetChannelResponse = GetChannelResponse' (Maybe Channel) Int
- newGetChannelResponse :: Int -> GetChannelResponse
- data ListStreams = ListStreams' (Maybe Text) (Maybe Natural)
- newListStreams :: ListStreams
- data ListStreamsResponse = ListStreamsResponse' (Maybe Text) Int [StreamSummary]
- newListStreamsResponse :: Int -> ListStreamsResponse
- data TagResource = TagResource' Text (HashMap Text Text)
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data GetRecordingConfiguration = GetRecordingConfiguration' Text
- newGetRecordingConfiguration :: Text -> GetRecordingConfiguration
- data GetRecordingConfigurationResponse = GetRecordingConfigurationResponse' (Maybe RecordingConfiguration) Int
- newGetRecordingConfigurationResponse :: Int -> GetRecordingConfigurationResponse
- data ListPlaybackKeyPairs = ListPlaybackKeyPairs' (Maybe Text) (Maybe Natural)
- newListPlaybackKeyPairs :: ListPlaybackKeyPairs
- data ListPlaybackKeyPairsResponse = ListPlaybackKeyPairsResponse' (Maybe Text) Int [PlaybackKeyPairSummary]
- newListPlaybackKeyPairsResponse :: Int -> ListPlaybackKeyPairsResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data CreateRecordingConfiguration = CreateRecordingConfiguration' (Maybe Text) (Maybe (HashMap Text Text)) DestinationConfiguration
- newCreateRecordingConfiguration :: DestinationConfiguration -> CreateRecordingConfiguration
- data CreateRecordingConfigurationResponse = CreateRecordingConfigurationResponse' (Maybe RecordingConfiguration) Int
- newCreateRecordingConfigurationResponse :: Int -> CreateRecordingConfigurationResponse
- data BatchGetChannel = BatchGetChannel' (NonEmpty Text)
- newBatchGetChannel :: NonEmpty Text -> BatchGetChannel
- data BatchGetChannelResponse = BatchGetChannelResponse' (Maybe [Channel]) (Maybe [BatchError]) Int
- newBatchGetChannelResponse :: Int -> BatchGetChannelResponse
- newtype ChannelLatencyMode where
- ChannelLatencyMode' { }
- pattern ChannelLatencyMode_LOW :: ChannelLatencyMode
- pattern ChannelLatencyMode_NORMAL :: ChannelLatencyMode
- newtype ChannelType where
- ChannelType' { }
- pattern ChannelType_BASIC :: ChannelType
- pattern ChannelType_STANDARD :: ChannelType
- newtype RecordingConfigurationState where
- newtype StreamHealth where
- StreamHealth' { }
- pattern StreamHealth_HEALTHY :: StreamHealth
- pattern StreamHealth_STARVING :: StreamHealth
- pattern StreamHealth_UNKNOWN :: StreamHealth
- newtype StreamState where
- StreamState' { }
- pattern StreamState_LIVE :: StreamState
- pattern StreamState_OFFLINE :: StreamState
- data BatchError = BatchError' (Maybe Text) (Maybe Text) (Maybe Text)
- newBatchError :: BatchError
- data Channel = Channel' (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe ChannelLatencyMode) (Maybe Text) (Maybe Text) (Maybe ChannelType) (Maybe (HashMap Text Text)) (Maybe Text)
- newChannel :: Channel
- data ChannelSummary = ChannelSummary' (Maybe Bool) (Maybe Text) (Maybe ChannelLatencyMode) (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text))
- newChannelSummary :: ChannelSummary
- data DestinationConfiguration = DestinationConfiguration' (Maybe S3DestinationConfiguration)
- newDestinationConfiguration :: DestinationConfiguration
- data PlaybackKeyPair = PlaybackKeyPair' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text))
- newPlaybackKeyPair :: PlaybackKeyPair
- data PlaybackKeyPairSummary = PlaybackKeyPairSummary' (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text))
- newPlaybackKeyPairSummary :: PlaybackKeyPairSummary
- data RecordingConfiguration = RecordingConfiguration' (Maybe Text) (Maybe (HashMap Text Text)) Text DestinationConfiguration RecordingConfigurationState
- newRecordingConfiguration :: Text -> DestinationConfiguration -> RecordingConfigurationState -> RecordingConfiguration
- data RecordingConfigurationSummary = RecordingConfigurationSummary' (Maybe Text) (Maybe (HashMap Text Text)) Text DestinationConfiguration RecordingConfigurationState
- newRecordingConfigurationSummary :: Text -> DestinationConfiguration -> RecordingConfigurationState -> RecordingConfigurationSummary
- data S3DestinationConfiguration = S3DestinationConfiguration' Text
- newS3DestinationConfiguration :: Text -> S3DestinationConfiguration
- data Stream = Stream' (Maybe Text) (Maybe StreamState) (Maybe POSIX) (Maybe Text) (Maybe Integer) (Maybe StreamHealth)
- newStream :: Stream
- data StreamKey = StreamKey' (Maybe Text) (Maybe (Sensitive Text)) (Maybe Text) (Maybe (HashMap Text Text))
- newStreamKey :: StreamKey
- data StreamKeySummary = StreamKeySummary' (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text))
- newStreamKeySummary :: StreamKeySummary
- data StreamSummary = StreamSummary' (Maybe StreamState) (Maybe POSIX) (Maybe Text) (Maybe Integer) (Maybe StreamHealth)
- newStreamSummary :: StreamSummary
Service Configuration
defaultService :: Service Source #
API version 2020-07-14
of the Amazon Interactive Video Service SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by IVS
.
ValidationException
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
AccessDeniedException
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
StreamUnavailable
_StreamUnavailable :: AsError a => Getting (First ServiceError) a ServiceError Source #
PendingVerification
_PendingVerification :: AsError a => Getting (First ServiceError) a ServiceError Source #
ChannelNotBroadcasting
_ChannelNotBroadcasting :: AsError a => Getting (First ServiceError) a ServiceError Source #
ConflictException
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
ServiceQuotaExceededException
ThrottlingException
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
InternalServerException
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
PutMetadata
data PutMetadata Source #
See: newPutMetadata
smart constructor.
Instances
Create a value of PutMetadata
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:channelArn:PutMetadata'
, putMetadata_channelArn
- ARN of the channel into which metadata is inserted. This channel must
have an active stream.
$sel:metadata:PutMetadata'
, putMetadata_metadata
- Metadata to insert into the stream. Maximum: 1 KB per request.
data PutMetadataResponse Source #
See: newPutMetadataResponse
smart constructor.
Instances
Eq PutMetadataResponse Source # | |
Defined in Amazonka.IVS.PutMetadata (==) :: PutMetadataResponse -> PutMetadataResponse -> Bool # (/=) :: PutMetadataResponse -> PutMetadataResponse -> Bool # | |
Read PutMetadataResponse Source # | |
Defined in Amazonka.IVS.PutMetadata | |
Show PutMetadataResponse Source # | |
Defined in Amazonka.IVS.PutMetadata showsPrec :: Int -> PutMetadataResponse -> ShowS # show :: PutMetadataResponse -> String # showList :: [PutMetadataResponse] -> ShowS # | |
Generic PutMetadataResponse Source # | |
Defined in Amazonka.IVS.PutMetadata type Rep PutMetadataResponse :: Type -> Type # from :: PutMetadataResponse -> Rep PutMetadataResponse x # to :: Rep PutMetadataResponse x -> PutMetadataResponse # | |
NFData PutMetadataResponse Source # | |
Defined in Amazonka.IVS.PutMetadata rnf :: PutMetadataResponse -> () # | |
type Rep PutMetadataResponse Source # | |
newPutMetadataResponse :: PutMetadataResponse Source #
Create a value of PutMetadataResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ListRecordingConfigurations (Paginated)
data ListRecordingConfigurations Source #
See: newListRecordingConfigurations
smart constructor.
Instances
newListRecordingConfigurations :: ListRecordingConfigurations Source #
Create a value of ListRecordingConfigurations
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListRecordingConfigurations'
, listRecordingConfigurations_nextToken
- The first recording configuration to retrieve. This is used for
pagination; see the nextToken
response field.
$sel:maxResults:ListRecordingConfigurations'
, listRecordingConfigurations_maxResults
- Maximum number of recording configurations to return. Default: 50.
data ListRecordingConfigurationsResponse Source #
See: newListRecordingConfigurationsResponse
smart constructor.
Instances
newListRecordingConfigurationsResponse Source #
Create a value of ListRecordingConfigurationsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListRecordingConfigurations'
, listRecordingConfigurationsResponse_nextToken
- If there are more recording configurations than maxResults
, use
nextToken
in the request to get the next set.
$sel:httpStatus:ListRecordingConfigurationsResponse'
, listRecordingConfigurationsResponse_httpStatus
- The response's http status code.
$sel:recordingConfigurations:ListRecordingConfigurationsResponse'
, listRecordingConfigurationsResponse_recordingConfigurations
- List of the matching recording configurations.
CreateStreamKey
data CreateStreamKey Source #
See: newCreateStreamKey
smart constructor.
Instances
Create a value of CreateStreamKey
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:CreateStreamKey'
, createStreamKey_tags
- Array of 1-50 maps, each of the form string:string (key:value)
.
$sel:channelArn:CreateStreamKey'
, createStreamKey_channelArn
- ARN of the channel for which to create the stream key.
data CreateStreamKeyResponse Source #
See: newCreateStreamKeyResponse
smart constructor.
Instances
newCreateStreamKeyResponse Source #
Create a value of CreateStreamKeyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:streamKey:CreateStreamKeyResponse'
, createStreamKeyResponse_streamKey
- Stream key used to authenticate an RTMPS stream for ingestion.
$sel:httpStatus:CreateStreamKeyResponse'
, createStreamKeyResponse_httpStatus
- The response's http status code.
ImportPlaybackKeyPair
data ImportPlaybackKeyPair Source #
See: newImportPlaybackKeyPair
smart constructor.
Instances
newImportPlaybackKeyPair Source #
Create a value of ImportPlaybackKeyPair
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:ImportPlaybackKeyPair'
, importPlaybackKeyPair_name
- Playback-key-pair name. The value does not need to be unique.
$sel:tags:ImportPlaybackKeyPair'
, importPlaybackKeyPair_tags
- Any tags provided with the request are added to the playback key pair
tags.
$sel:publicKeyMaterial:ImportPlaybackKeyPair'
, importPlaybackKeyPair_publicKeyMaterial
- The public portion of a customer-generated key pair.
data ImportPlaybackKeyPairResponse Source #
See: newImportPlaybackKeyPairResponse
smart constructor.
Instances
newImportPlaybackKeyPairResponse Source #
Create a value of ImportPlaybackKeyPairResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:keyPair:ImportPlaybackKeyPairResponse'
, importPlaybackKeyPairResponse_keyPair
-
$sel:httpStatus:ImportPlaybackKeyPairResponse'
, importPlaybackKeyPairResponse_httpStatus
- The response's http status code.
ListChannels (Paginated)
data ListChannels Source #
See: newListChannels
smart constructor.
Instances
newListChannels :: ListChannels Source #
Create a value of ListChannels
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filterByName:ListChannels'
, listChannels_filterByName
- Filters the channel list to match the specified name.
$sel:nextToken:ListChannels'
, listChannels_nextToken
- The first channel to retrieve. This is used for pagination; see the
nextToken
response field.
$sel:filterByRecordingConfigurationArn:ListChannels'
, listChannels_filterByRecordingConfigurationArn
- Filters the channel list to match the specified recording-configuration
ARN.
$sel:maxResults:ListChannels'
, listChannels_maxResults
- Maximum number of channels to return. Default: 50.
data ListChannelsResponse Source #
See: newListChannelsResponse
smart constructor.
Instances
newListChannelsResponse Source #
Create a value of ListChannelsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListChannels'
, listChannelsResponse_nextToken
- If there are more channels than maxResults
, use nextToken
in the
request to get the next set.
$sel:httpStatus:ListChannelsResponse'
, listChannelsResponse_httpStatus
- The response's http status code.
$sel:channels:ListChannelsResponse'
, listChannelsResponse_channels
- List of the matching channels.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:ListTagsForResource'
, listTagsForResource_resourceArn
- The ARN of the resource to be retrieved.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
$sel:tags:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
-
DeleteChannel
data DeleteChannel Source #
See: newDeleteChannel
smart constructor.
Instances
Create a value of DeleteChannel
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:DeleteChannel'
, deleteChannel_arn
- ARN of the channel to be deleted.
data DeleteChannelResponse Source #
See: newDeleteChannelResponse
smart constructor.
Instances
Eq DeleteChannelResponse Source # | |
Defined in Amazonka.IVS.DeleteChannel (==) :: DeleteChannelResponse -> DeleteChannelResponse -> Bool # (/=) :: DeleteChannelResponse -> DeleteChannelResponse -> Bool # | |
Read DeleteChannelResponse Source # | |
Show DeleteChannelResponse Source # | |
Defined in Amazonka.IVS.DeleteChannel showsPrec :: Int -> DeleteChannelResponse -> ShowS # show :: DeleteChannelResponse -> String # showList :: [DeleteChannelResponse] -> ShowS # | |
Generic DeleteChannelResponse Source # | |
Defined in Amazonka.IVS.DeleteChannel type Rep DeleteChannelResponse :: Type -> Type # | |
NFData DeleteChannelResponse Source # | |
Defined in Amazonka.IVS.DeleteChannel rnf :: DeleteChannelResponse -> () # | |
type Rep DeleteChannelResponse Source # | |
newDeleteChannelResponse :: DeleteChannelResponse Source #
Create a value of DeleteChannelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UpdateChannel
data UpdateChannel Source #
See: newUpdateChannel
smart constructor.
UpdateChannel' (Maybe Bool) (Maybe ChannelLatencyMode) (Maybe Text) (Maybe Text) (Maybe ChannelType) Text |
Instances
Create a value of UpdateChannel
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authorized:UpdateChannel'
, updateChannel_authorized
- Whether the channel is private (enabled for playback authorization).
$sel:latencyMode:UpdateChannel'
, updateChannel_latencyMode
- Channel latency mode. Use NORMAL
to broadcast and deliver live video
up to Full HD. Use LOW
for near-real-time interaction with viewers.
(Note: In the Amazon IVS console, LOW
and NORMAL
correspond to
Ultra-low and Standard, respectively.)
$sel:name:UpdateChannel'
, updateChannel_name
- Channel name.
$sel:recordingConfigurationArn:UpdateChannel'
, updateChannel_recordingConfigurationArn
- Recording-configuration ARN. If this is set to an empty string,
recording is disabled. A value other than an empty string indicates that
recording is enabled
$sel:type':UpdateChannel'
, updateChannel_type
- Channel type, which determines the allowable resolution and bitrate. /If
you exceed the allowable resolution or bitrate, the stream probably will
disconnect immediately/. Valid values:
STANDARD
: Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. Resolution can be up to 1080p and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through.BASIC
: Amazon IVS delivers the original input to viewers. The viewer’s video-quality choice is limited to the original input. Resolution can be up to 480p and bitrate can be up to 1.5 Mbps.
$sel:arn:UpdateChannel'
, updateChannel_arn
- ARN of the channel to be updated.
data UpdateChannelResponse Source #
See: newUpdateChannelResponse
smart constructor.
Instances
newUpdateChannelResponse Source #
Create a value of UpdateChannelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:channel:UpdateChannelResponse'
, updateChannelResponse_channel
- Undocumented member.
$sel:httpStatus:UpdateChannelResponse'
, updateChannelResponse_httpStatus
- The response's http status code.
GetStreamKey
data GetStreamKey Source #
See: newGetStreamKey
smart constructor.
Instances
Create a value of GetStreamKey
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:GetStreamKey'
, getStreamKey_arn
- ARN for the stream key to be retrieved.
data GetStreamKeyResponse Source #
See: newGetStreamKeyResponse
smart constructor.
Instances
newGetStreamKeyResponse Source #
Create a value of GetStreamKeyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:streamKey:GetStreamKeyResponse'
, getStreamKeyResponse_streamKey
-
$sel:httpStatus:GetStreamKeyResponse'
, getStreamKeyResponse_httpStatus
- The response's http status code.
DeletePlaybackKeyPair
data DeletePlaybackKeyPair Source #
See: newDeletePlaybackKeyPair
smart constructor.
Instances
newDeletePlaybackKeyPair Source #
Create a value of DeletePlaybackKeyPair
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:DeletePlaybackKeyPair'
, deletePlaybackKeyPair_arn
- ARN of the key pair to be deleted.
data DeletePlaybackKeyPairResponse Source #
See: newDeletePlaybackKeyPairResponse
smart constructor.
Instances
newDeletePlaybackKeyPairResponse Source #
Create a value of DeletePlaybackKeyPairResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeletePlaybackKeyPairResponse'
, deletePlaybackKeyPairResponse_httpStatus
- The response's http status code.
BatchGetStreamKey
data BatchGetStreamKey Source #
See: newBatchGetStreamKey
smart constructor.
Instances
Create a value of BatchGetStreamKey
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arns:BatchGetStreamKey'
, batchGetStreamKey_arns
- Array of ARNs, one per channel.
data BatchGetStreamKeyResponse Source #
See: newBatchGetStreamKeyResponse
smart constructor.
Instances
newBatchGetStreamKeyResponse Source #
Create a value of BatchGetStreamKeyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:streamKeys:BatchGetStreamKeyResponse'
, batchGetStreamKeyResponse_streamKeys
-
$sel:errors:BatchGetStreamKeyResponse'
, batchGetStreamKeyResponse_errors
-
$sel:httpStatus:BatchGetStreamKeyResponse'
, batchGetStreamKeyResponse_httpStatus
- The response's http status code.
GetPlaybackKeyPair
data GetPlaybackKeyPair Source #
See: newGetPlaybackKeyPair
smart constructor.
Instances
newGetPlaybackKeyPair Source #
Create a value of GetPlaybackKeyPair
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:GetPlaybackKeyPair'
, getPlaybackKeyPair_arn
- ARN of the key pair to be returned.
data GetPlaybackKeyPairResponse Source #
See: newGetPlaybackKeyPairResponse
smart constructor.
Instances
newGetPlaybackKeyPairResponse Source #
Create a value of GetPlaybackKeyPairResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:keyPair:GetPlaybackKeyPairResponse'
, getPlaybackKeyPairResponse_keyPair
-
$sel:httpStatus:GetPlaybackKeyPairResponse'
, getPlaybackKeyPairResponse_httpStatus
- The response's http status code.
DeleteRecordingConfiguration
data DeleteRecordingConfiguration Source #
See: newDeleteRecordingConfiguration
smart constructor.
Instances
newDeleteRecordingConfiguration Source #
Create a value of DeleteRecordingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:DeleteRecordingConfiguration'
, deleteRecordingConfiguration_arn
- ARN of the recording configuration to be deleted.
data DeleteRecordingConfigurationResponse Source #
See: newDeleteRecordingConfigurationResponse
smart constructor.
Instances
newDeleteRecordingConfigurationResponse :: DeleteRecordingConfigurationResponse Source #
Create a value of DeleteRecordingConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
StopStream
data StopStream Source #
See: newStopStream
smart constructor.
Instances
Create a value of StopStream
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:channelArn:StopStream'
, stopStream_channelArn
- ARN of the channel for which the stream is to be stopped.
data StopStreamResponse Source #
See: newStopStreamResponse
smart constructor.
Instances
newStopStreamResponse Source #
Create a value of StopStreamResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:StopStreamResponse'
, stopStreamResponse_httpStatus
- The response's http status code.
CreateChannel
data CreateChannel Source #
See: newCreateChannel
smart constructor.
CreateChannel' (Maybe Bool) (Maybe ChannelLatencyMode) (Maybe Text) (Maybe Text) (Maybe ChannelType) (Maybe (HashMap Text Text)) |
Instances
newCreateChannel :: CreateChannel Source #
Create a value of CreateChannel
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authorized:CreateChannel'
, createChannel_authorized
- Whether the channel is private (enabled for playback authorization).
Default: false
.
$sel:latencyMode:CreateChannel'
, createChannel_latencyMode
- Channel latency mode. Use NORMAL
to broadcast and deliver live video
up to Full HD. Use LOW
for near-real-time interaction with viewers.
(Note: In the Amazon IVS console, LOW
and NORMAL
correspond to
Ultra-low and Standard, respectively.) Default: LOW
.
$sel:name:CreateChannel'
, createChannel_name
- Channel name.
$sel:recordingConfigurationArn:CreateChannel'
, createChannel_recordingConfigurationArn
- Recording-configuration ARN. Default: "" (empty string, recording is
disabled).
$sel:type':CreateChannel'
, createChannel_type
- Channel type, which determines the allowable resolution and bitrate. /If
you exceed the allowable resolution or bitrate, the stream probably will
disconnect immediately./ Default: STANDARD
. Valid values:
STANDARD
: Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. Resolution can be up to 1080p and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through.BASIC
: Amazon IVS delivers the original input to viewers. The viewer’s video-quality choice is limited to the original input. Resolution can be up to 480p and bitrate can be up to 1.5 Mbps.
$sel:tags:CreateChannel'
, createChannel_tags
- Array of 1-50 maps, each of the form string:string (key:value)
.
data CreateChannelResponse Source #
See: newCreateChannelResponse
smart constructor.
Instances
newCreateChannelResponse Source #
Create a value of CreateChannelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:channel:CreateChannelResponse'
, createChannelResponse_channel
-
$sel:streamKey:CreateChannelResponse'
, createChannelResponse_streamKey
-
$sel:httpStatus:CreateChannelResponse'
, createChannelResponse_httpStatus
- The response's http status code.
DeleteStreamKey
data DeleteStreamKey Source #
See: newDeleteStreamKey
smart constructor.
Instances
Create a value of DeleteStreamKey
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:DeleteStreamKey'
, deleteStreamKey_arn
- ARN of the stream key to be deleted.
data DeleteStreamKeyResponse Source #
See: newDeleteStreamKeyResponse
smart constructor.
Instances
Eq DeleteStreamKeyResponse Source # | |
Defined in Amazonka.IVS.DeleteStreamKey | |
Read DeleteStreamKeyResponse Source # | |
Show DeleteStreamKeyResponse Source # | |
Defined in Amazonka.IVS.DeleteStreamKey showsPrec :: Int -> DeleteStreamKeyResponse -> ShowS # show :: DeleteStreamKeyResponse -> String # showList :: [DeleteStreamKeyResponse] -> ShowS # | |
Generic DeleteStreamKeyResponse Source # | |
Defined in Amazonka.IVS.DeleteStreamKey type Rep DeleteStreamKeyResponse :: Type -> Type # | |
NFData DeleteStreamKeyResponse Source # | |
Defined in Amazonka.IVS.DeleteStreamKey rnf :: DeleteStreamKeyResponse -> () # | |
type Rep DeleteStreamKeyResponse Source # | |
newDeleteStreamKeyResponse :: DeleteStreamKeyResponse Source #
Create a value of DeleteStreamKeyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
GetStream
See: newGetStream
smart constructor.
Instances
Eq GetStream Source # | |
Read GetStream Source # | |
Show GetStream Source # | |
Generic GetStream Source # | |
NFData GetStream Source # | |
Defined in Amazonka.IVS.GetStream | |
Hashable GetStream Source # | |
Defined in Amazonka.IVS.GetStream | |
ToJSON GetStream Source # | |
Defined in Amazonka.IVS.GetStream | |
AWSRequest GetStream Source # | |
Defined in Amazonka.IVS.GetStream type AWSResponse GetStream # request :: GetStream -> Request GetStream # response :: MonadResource m => Logger -> Service -> Proxy GetStream -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetStream))) # | |
ToHeaders GetStream Source # | |
Defined in Amazonka.IVS.GetStream | |
ToPath GetStream Source # | |
Defined in Amazonka.IVS.GetStream toPath :: GetStream -> ByteString # | |
ToQuery GetStream Source # | |
Defined in Amazonka.IVS.GetStream toQuery :: GetStream -> QueryString # | |
type Rep GetStream Source # | |
Defined in Amazonka.IVS.GetStream | |
type AWSResponse GetStream Source # | |
Defined in Amazonka.IVS.GetStream |
Create a value of GetStream
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:channelArn:GetStream'
, getStream_channelArn
- Channel ARN for stream to be accessed.
data GetStreamResponse Source #
See: newGetStreamResponse
smart constructor.
Instances
Create a value of GetStreamResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:stream:GetStreamResponse'
, getStreamResponse_stream
-
$sel:httpStatus:GetStreamResponse'
, getStreamResponse_httpStatus
- The response's http status code.
ListStreamKeys (Paginated)
data ListStreamKeys Source #
See: newListStreamKeys
smart constructor.
Instances
Create a value of ListStreamKeys
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListStreamKeys'
, listStreamKeys_nextToken
- The first stream key to retrieve. This is used for pagination; see the
nextToken
response field.
$sel:maxResults:ListStreamKeys'
, listStreamKeys_maxResults
- Maximum number of streamKeys to return. Default: 50.
$sel:channelArn:ListStreamKeys'
, listStreamKeys_channelArn
- Channel ARN used to filter the list.
data ListStreamKeysResponse Source #
See: newListStreamKeysResponse
smart constructor.
Instances
newListStreamKeysResponse Source #
Create a value of ListStreamKeysResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListStreamKeys'
, listStreamKeysResponse_nextToken
- If there are more stream keys than maxResults
, use nextToken
in the
request to get the next set.
$sel:httpStatus:ListStreamKeysResponse'
, listStreamKeysResponse_httpStatus
- The response's http status code.
$sel:streamKeys:ListStreamKeysResponse'
, listStreamKeysResponse_streamKeys
- List of stream keys.
GetChannel
data GetChannel Source #
See: newGetChannel
smart constructor.
Instances
Create a value of GetChannel
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:GetChannel'
, getChannel_arn
- ARN of the channel for which the configuration is to be retrieved.
data GetChannelResponse Source #
See: newGetChannelResponse
smart constructor.
Instances
newGetChannelResponse Source #
Create a value of GetChannelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:channel:GetChannelResponse'
, getChannelResponse_channel
-
$sel:httpStatus:GetChannelResponse'
, getChannelResponse_httpStatus
- The response's http status code.
ListStreams (Paginated)
data ListStreams Source #
See: newListStreams
smart constructor.
Instances
newListStreams :: ListStreams Source #
Create a value of ListStreams
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListStreams'
, listStreams_nextToken
- The first stream to retrieve. This is used for pagination; see the
nextToken
response field.
$sel:maxResults:ListStreams'
, listStreams_maxResults
- Maximum number of streams to return. Default: 50.
data ListStreamsResponse Source #
See: newListStreamsResponse
smart constructor.
Instances
newListStreamsResponse Source #
Create a value of ListStreamsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListStreams'
, listStreamsResponse_nextToken
- If there are more streams than maxResults
, use nextToken
in the
request to get the next set.
$sel:httpStatus:ListStreamsResponse'
, listStreamsResponse_httpStatus
- The response's http status code.
$sel:streams:ListStreamsResponse'
, listStreamsResponse_streams
- List of streams.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Instances
Create a value of TagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:TagResource'
, tagResource_resourceArn
- ARN of the resource for which tags are to be added or updated.
$sel:tags:TagResource'
, tagResource_tags
- Array of tags to be added or updated.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Instances
newTagResourceResponse Source #
Create a value of TagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
GetRecordingConfiguration
data GetRecordingConfiguration Source #
See: newGetRecordingConfiguration
smart constructor.
Instances
newGetRecordingConfiguration Source #
Create a value of GetRecordingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:GetRecordingConfiguration'
, getRecordingConfiguration_arn
- ARN of the recording configuration to be retrieved.
data GetRecordingConfigurationResponse Source #
See: newGetRecordingConfigurationResponse
smart constructor.
Instances
newGetRecordingConfigurationResponse Source #
Create a value of GetRecordingConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recordingConfiguration:GetRecordingConfigurationResponse'
, getRecordingConfigurationResponse_recordingConfiguration
-
$sel:httpStatus:GetRecordingConfigurationResponse'
, getRecordingConfigurationResponse_httpStatus
- The response's http status code.
ListPlaybackKeyPairs (Paginated)
data ListPlaybackKeyPairs Source #
See: newListPlaybackKeyPairs
smart constructor.
Instances
newListPlaybackKeyPairs :: ListPlaybackKeyPairs Source #
Create a value of ListPlaybackKeyPairs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListPlaybackKeyPairs'
, listPlaybackKeyPairs_nextToken
- Maximum number of key pairs to return.
$sel:maxResults:ListPlaybackKeyPairs'
, listPlaybackKeyPairs_maxResults
- The first key pair to retrieve. This is used for pagination; see the
nextToken
response field. Default: 50.
data ListPlaybackKeyPairsResponse Source #
See: newListPlaybackKeyPairsResponse
smart constructor.
Instances
newListPlaybackKeyPairsResponse Source #
Create a value of ListPlaybackKeyPairsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListPlaybackKeyPairs'
, listPlaybackKeyPairsResponse_nextToken
- If there are more key pairs than maxResults
, use nextToken
in the
request to get the next set.
$sel:httpStatus:ListPlaybackKeyPairsResponse'
, listPlaybackKeyPairsResponse_httpStatus
- The response's http status code.
$sel:keyPairs:ListPlaybackKeyPairsResponse'
, listPlaybackKeyPairsResponse_keyPairs
- List of key pairs.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Instances
Create a value of UntagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:UntagResource'
, untagResource_resourceArn
- ARN of the resource for which tags are to be removed.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- Array of tags to be removed.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
CreateRecordingConfiguration
data CreateRecordingConfiguration Source #
See: newCreateRecordingConfiguration
smart constructor.
Instances
newCreateRecordingConfiguration Source #
Create a value of CreateRecordingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:CreateRecordingConfiguration'
, createRecordingConfiguration_name
- Recording-configuration name. The value does not need to be unique.
$sel:tags:CreateRecordingConfiguration'
, createRecordingConfiguration_tags
- Array of 1-50 maps, each of the form string:string (key:value)
.
$sel:destinationConfiguration:CreateRecordingConfiguration'
, createRecordingConfiguration_destinationConfiguration
- A complex type that contains a destination configuration for where
recorded video will be stored.
data CreateRecordingConfigurationResponse Source #
See: newCreateRecordingConfigurationResponse
smart constructor.
Instances
Eq CreateRecordingConfigurationResponse Source # | |
Read CreateRecordingConfigurationResponse Source # | |
Show CreateRecordingConfigurationResponse Source # | |
Generic CreateRecordingConfigurationResponse Source # | |
NFData CreateRecordingConfigurationResponse Source # | |
Defined in Amazonka.IVS.CreateRecordingConfiguration rnf :: CreateRecordingConfigurationResponse -> () # | |
type Rep CreateRecordingConfigurationResponse Source # | |
Defined in Amazonka.IVS.CreateRecordingConfiguration type Rep CreateRecordingConfigurationResponse = D1 ('MetaData "CreateRecordingConfigurationResponse" "Amazonka.IVS.CreateRecordingConfiguration" "libZSservicesZSamazonka-ivsZSamazonka-ivs" 'False) (C1 ('MetaCons "CreateRecordingConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recordingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecordingConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateRecordingConfigurationResponse Source #
Create a value of CreateRecordingConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recordingConfiguration:CreateRecordingConfigurationResponse'
, createRecordingConfigurationResponse_recordingConfiguration
-
$sel:httpStatus:CreateRecordingConfigurationResponse'
, createRecordingConfigurationResponse_httpStatus
- The response's http status code.
BatchGetChannel
data BatchGetChannel Source #
See: newBatchGetChannel
smart constructor.
Instances
Create a value of BatchGetChannel
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arns:BatchGetChannel'
, batchGetChannel_arns
- Array of ARNs, one per channel.
data BatchGetChannelResponse Source #
See: newBatchGetChannelResponse
smart constructor.
Instances
newBatchGetChannelResponse Source #
Create a value of BatchGetChannelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:channels:BatchGetChannelResponse'
, batchGetChannelResponse_channels
-
$sel:errors:BatchGetChannelResponse'
, batchGetChannelResponse_errors
- Each error object is related to a specific ARN in the request.
$sel:httpStatus:BatchGetChannelResponse'
, batchGetChannelResponse_httpStatus
- The response's http status code.
Types
ChannelLatencyMode
newtype ChannelLatencyMode Source #
pattern ChannelLatencyMode_LOW :: ChannelLatencyMode | |
pattern ChannelLatencyMode_NORMAL :: ChannelLatencyMode |
Instances
ChannelType
newtype ChannelType Source #
pattern ChannelType_BASIC :: ChannelType | |
pattern ChannelType_STANDARD :: ChannelType |
Instances
RecordingConfigurationState
newtype RecordingConfigurationState Source #
Instances
StreamHealth
newtype StreamHealth Source #
pattern StreamHealth_HEALTHY :: StreamHealth | |
pattern StreamHealth_STARVING :: StreamHealth | |
pattern StreamHealth_UNKNOWN :: StreamHealth |
Instances
StreamState
newtype StreamState Source #
pattern StreamState_LIVE :: StreamState | |
pattern StreamState_OFFLINE :: StreamState |
Instances
BatchError
data BatchError Source #
Error related to a specific channel, specified by its ARN.
See: newBatchError
smart constructor.
Instances
newBatchError :: BatchError Source #
Create a value of BatchError
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:BatchError'
, batchError_arn
- Channel ARN.
$sel:code:BatchError'
, batchError_code
- Error code.
$sel:message:BatchError'
, batchError_message
- Error message, determined by the application.
Channel
Object specifying a channel.
See: newChannel
smart constructor.
Channel' (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe ChannelLatencyMode) (Maybe Text) (Maybe Text) (Maybe ChannelType) (Maybe (HashMap Text Text)) (Maybe Text) |
Instances
newChannel :: Channel Source #
Create a value of Channel
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:playbackUrl:Channel'
, channel_playbackUrl
- Channel playback URL.
$sel:authorized:Channel'
, channel_authorized
- Whether the channel is private (enabled for playback authorization).
Default: false
.
$sel:arn:Channel'
, channel_arn
- Channel ARN.
$sel:latencyMode:Channel'
, channel_latencyMode
- Channel latency mode. Use NORMAL
to broadcast and deliver live video
up to Full HD. Use LOW
for near-real-time interaction with viewers.
Default: LOW
. (Note: In the Amazon IVS console, LOW
and NORMAL
correspond to Ultra-low and Standard, respectively.)
$sel:name:Channel'
, channel_name
- Channel name.
$sel:recordingConfigurationArn:Channel'
, channel_recordingConfigurationArn
- Recording-configuration ARN. A value other than an empty string
indicates that recording is enabled. Default: "" (empty string,
recording is disabled).
$sel:type':Channel'
, channel_type
- Channel type, which determines the allowable resolution and bitrate. /If
you exceed the allowable resolution or bitrate, the stream probably will
disconnect immediately./ Default: STANDARD
. Valid values:
STANDARD
: Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. Resolution can be up to 1080p and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through.BASIC
: Amazon IVS delivers the original input to viewers. The viewer’s video-quality choice is limited to the original input. Resolution can be up to 480p and bitrate can be up to 1.5 Mbps.
$sel:tags:Channel'
, channel_tags
- Array of 1-50 maps, each of the form string:string (key:value)
.
$sel:ingestEndpoint:Channel'
, channel_ingestEndpoint
- Channel ingest endpoint, part of the definition of an ingest server,
used when you set up streaming software.
ChannelSummary
data ChannelSummary Source #
Summary information about a channel.
See: newChannelSummary
smart constructor.
ChannelSummary' (Maybe Bool) (Maybe Text) (Maybe ChannelLatencyMode) (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text)) |
Instances
newChannelSummary :: ChannelSummary Source #
Create a value of ChannelSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authorized:ChannelSummary'
, channelSummary_authorized
- Whether the channel is private (enabled for playback authorization).
Default: false
.
$sel:arn:ChannelSummary'
, channelSummary_arn
- Channel ARN.
$sel:latencyMode:ChannelSummary'
, channelSummary_latencyMode
- Channel latency mode. Use NORMAL
to broadcast and deliver live video
up to Full HD. Use LOW
for near-real-time interaction with viewers.
Default: LOW
. (Note: In the Amazon IVS console, LOW
and NORMAL
correspond to Ultra-low and Standard, respectively.)
$sel:name:ChannelSummary'
, channelSummary_name
- Channel name.
$sel:recordingConfigurationArn:ChannelSummary'
, channelSummary_recordingConfigurationArn
- Recording-configuration ARN. A value other than an empty string
indicates that recording is enabled. Default: "" (empty string,
recording is disabled).
$sel:tags:ChannelSummary'
, channelSummary_tags
- Array of 1-50 maps, each of the form string:string (key:value)
.
DestinationConfiguration
data DestinationConfiguration Source #
A complex type that describes a location where recorded videos will be stored. Each member represents a type of destination configuration. For recording, you define one and only one type of destination configuration.
See: newDestinationConfiguration
smart constructor.
Instances
newDestinationConfiguration :: DestinationConfiguration Source #
Create a value of DestinationConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3:DestinationConfiguration'
, destinationConfiguration_s3
- An S3 destination configuration where recorded videos will be stored.
PlaybackKeyPair
data PlaybackKeyPair Source #
A key pair used to sign and validate a playback authorization token.
See: newPlaybackKeyPair
smart constructor.
Instances
newPlaybackKeyPair :: PlaybackKeyPair Source #
Create a value of PlaybackKeyPair
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:PlaybackKeyPair'
, playbackKeyPair_arn
- Key-pair ARN.
$sel:fingerprint:PlaybackKeyPair'
, playbackKeyPair_fingerprint
- Key-pair identifier.
$sel:name:PlaybackKeyPair'
, playbackKeyPair_name
- Playback-key-pair name. The value does not need to be unique.
$sel:tags:PlaybackKeyPair'
, playbackKeyPair_tags
- Array of 1-50 maps, each of the form string:string (key:value)
.
PlaybackKeyPairSummary
data PlaybackKeyPairSummary Source #
Summary information about a playback key pair.
See: newPlaybackKeyPairSummary
smart constructor.
Instances
newPlaybackKeyPairSummary :: PlaybackKeyPairSummary Source #
Create a value of PlaybackKeyPairSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:PlaybackKeyPairSummary'
, playbackKeyPairSummary_arn
- Key-pair ARN.
$sel:name:PlaybackKeyPairSummary'
, playbackKeyPairSummary_name
- Playback-key-pair name. The value does not need to be unique.
$sel:tags:PlaybackKeyPairSummary'
, playbackKeyPairSummary_tags
- Array of 1-50 maps, each of the form string:string (key:value)
.
RecordingConfiguration
data RecordingConfiguration Source #
An object representing a configuration to record a channel stream.
See: newRecordingConfiguration
smart constructor.
RecordingConfiguration' (Maybe Text) (Maybe (HashMap Text Text)) Text DestinationConfiguration RecordingConfigurationState |
Instances
newRecordingConfiguration Source #
Create a value of RecordingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:RecordingConfiguration'
, recordingConfiguration_name
- Recording-configuration name. The value does not need to be unique.
$sel:tags:RecordingConfiguration'
, recordingConfiguration_tags
- Array of 1-50 maps, each of the form string:string (key:value)
.
$sel:arn:RecordingConfiguration'
, recordingConfiguration_arn
- Recording-configuration ARN.
$sel:destinationConfiguration:RecordingConfiguration'
, recordingConfiguration_destinationConfiguration
- A complex type that contains information about where recorded video will
be stored.
$sel:state:RecordingConfiguration'
, recordingConfiguration_state
- Indicates the current state of the recording configuration. When the
state is ACTIVE
, the configuration is ready for recording a channel
stream.
RecordingConfigurationSummary
data RecordingConfigurationSummary Source #
Summary information about a RecordingConfiguration.
See: newRecordingConfigurationSummary
smart constructor.
RecordingConfigurationSummary' (Maybe Text) (Maybe (HashMap Text Text)) Text DestinationConfiguration RecordingConfigurationState |
Instances
newRecordingConfigurationSummary Source #
:: Text | |
-> DestinationConfiguration |
|
-> RecordingConfigurationState | |
-> RecordingConfigurationSummary |
Create a value of RecordingConfigurationSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:RecordingConfigurationSummary'
, recordingConfigurationSummary_name
- Recording-configuration name. The value does not need to be unique.
$sel:tags:RecordingConfigurationSummary'
, recordingConfigurationSummary_tags
- Array of 1-50 maps, each of the form string:string (key:value)
.
$sel:arn:RecordingConfigurationSummary'
, recordingConfigurationSummary_arn
- Recording-configuration ARN.
$sel:destinationConfiguration:RecordingConfigurationSummary'
, recordingConfigurationSummary_destinationConfiguration
- A complex type that contains information about where recorded video will
be stored.
$sel:state:RecordingConfigurationSummary'
, recordingConfigurationSummary_state
- Indicates the current state of the recording configuration. When the
state is ACTIVE
, the configuration is ready for recording a channel
stream.
S3DestinationConfiguration
data S3DestinationConfiguration Source #
A complex type that describes an S3 location where recorded videos will be stored.
See: newS3DestinationConfiguration
smart constructor.
Instances
newS3DestinationConfiguration Source #
Create a value of S3DestinationConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bucketName:S3DestinationConfiguration'
, s3DestinationConfiguration_bucketName
- Location (S3 bucket name) where recorded videos will be stored.
Stream
Specifies a live video stream that has been ingested and distributed.
See: newStream
smart constructor.
Stream' (Maybe Text) (Maybe StreamState) (Maybe POSIX) (Maybe Text) (Maybe Integer) (Maybe StreamHealth) |
Instances
Create a value of Stream
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:playbackUrl:Stream'
, stream_playbackUrl
- URL of the master playlist, required by the video player to play the HLS
stream.
$sel:state:Stream'
, stream_state
- The stream’s state.
$sel:startTime:Stream'
, stream_startTime
- Time of the stream’s start. This is an ISO 8601 timestamp returned as a
string.
$sel:channelArn:Stream'
, stream_channelArn
- Channel ARN for the stream.
$sel:viewerCount:Stream'
, stream_viewerCount
- A count of concurrent views of the stream. Typically, a new view appears
in viewerCount
within 15 seconds of when video playback starts and a
view is removed from viewerCount
within 1 minute of when video
playback ends. A value of -1 indicates that the request timed out; in
this case, retry.
$sel:health:Stream'
, stream_health
- The stream’s health.
StreamKey
Object specifying a stream key.
See: newStreamKey
smart constructor.
Instances
Eq StreamKey Source # | |
Show StreamKey Source # | |
Generic StreamKey Source # | |
NFData StreamKey Source # | |
Defined in Amazonka.IVS.Types.StreamKey | |
Hashable StreamKey Source # | |
Defined in Amazonka.IVS.Types.StreamKey | |
FromJSON StreamKey Source # | |
type Rep StreamKey Source # | |
Defined in Amazonka.IVS.Types.StreamKey type Rep StreamKey = D1 ('MetaData "StreamKey" "Amazonka.IVS.Types.StreamKey" "libZSservicesZSamazonka-ivsZSamazonka-ivs" 'False) (C1 ('MetaCons "StreamKey'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))) |
newStreamKey :: StreamKey Source #
Create a value of StreamKey
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:StreamKey'
, streamKey_arn
- Stream-key ARN.
$sel:value:StreamKey'
, streamKey_value
- Stream-key value.
$sel:channelArn:StreamKey'
, streamKey_channelArn
- Channel ARN for the stream.
$sel:tags:StreamKey'
, streamKey_tags
- Array of 1-50 maps, each of the form string:string (key:value)
.
StreamKeySummary
data StreamKeySummary Source #
Summary information about a stream key.
See: newStreamKeySummary
smart constructor.
Instances
newStreamKeySummary :: StreamKeySummary Source #
Create a value of StreamKeySummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:StreamKeySummary'
, streamKeySummary_arn
- Stream-key ARN.
$sel:channelArn:StreamKeySummary'
, streamKeySummary_channelArn
- Channel ARN for the stream.
$sel:tags:StreamKeySummary'
, streamKeySummary_tags
- Array of 1-50 maps, each of the form string:string (key:value)
.
StreamSummary
data StreamSummary Source #
Summary information about a stream.
See: newStreamSummary
smart constructor.
StreamSummary' (Maybe StreamState) (Maybe POSIX) (Maybe Text) (Maybe Integer) (Maybe StreamHealth) |
Instances
newStreamSummary :: StreamSummary Source #
Create a value of StreamSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:state:StreamSummary'
, streamSummary_state
- The stream’s state.
$sel:startTime:StreamSummary'
, streamSummary_startTime
- Time of the stream’s start. This is an ISO 8601 timestamp returned as a
string.
$sel:channelArn:StreamSummary'
, streamSummary_channelArn
- Channel ARN for the stream.
$sel:viewerCount:StreamSummary'
, streamSummary_viewerCount
- A count of concurrent views of the stream. Typically, a new view appears
in viewerCount
within 15 seconds of when video playback starts and a
view is removed from viewerCount
within 1 minute of when video
playback ends. A value of -1 indicates that the request timed out; in
this case, retry.
$sel:health:StreamSummary'
, streamSummary_health
- The stream’s health.