Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Synopsis
- kinesisVideoArchivedMedia :: Service
- _InvalidArgumentException :: AsError a => Getting (First ServiceError) a ServiceError
- _NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ClientLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- module Network.AWS.KinesisVideoArchivedMedia.GetMediaForFragmentList
- module Network.AWS.KinesisVideoArchivedMedia.ListFragments
- data FragmentSelectorType
- data Fragment
- fragment :: Fragment
- fFragmentLengthInMilliseconds :: Lens' Fragment (Maybe Integer)
- fServerTimestamp :: Lens' Fragment (Maybe UTCTime)
- fFragmentSizeInBytes :: Lens' Fragment (Maybe Integer)
- fFragmentNumber :: Lens' Fragment (Maybe Text)
- fProducerTimestamp :: Lens' Fragment (Maybe UTCTime)
- data FragmentSelector
- fragmentSelector :: FragmentSelectorType -> TimestampRange -> FragmentSelector
- fsFragmentSelectorType :: Lens' FragmentSelector FragmentSelectorType
- fsTimestampRange :: Lens' FragmentSelector TimestampRange
- data TimestampRange
- timestampRange :: UTCTime -> UTCTime -> TimestampRange
- trStartTimestamp :: Lens' TimestampRange UTCTime
- trEndTimestamp :: Lens' TimestampRange UTCTime
Service Configuration
kinesisVideoArchivedMedia :: Service Source #
API version 2017-09-30
of the Amazon Kinesis Video Streams Archived Media 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 KinesisVideoArchivedMedia
.
InvalidArgumentException
_InvalidArgumentException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A specified parameter exceeds its restrictions, is not supported, or can't be used.
NotAuthorizedException
_NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Status Code: 403, The caller is not authorized to perform an operation on the given stream, or the token has expired.
ClientLimitExceededException
_ClientLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Kinesis Video Streams can't find the stream that you specified.
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.
GetMediaForFragmentList
ListFragments
Types
FragmentSelectorType
data FragmentSelectorType Source #
Instances
Fragment
Represents a segment of video or other time-delimited data.
See: fragment
smart constructor.
Instances
Eq Fragment Source # | |
Data Fragment Source # | |
Defined in Network.AWS.KinesisVideoArchivedMedia.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Fragment -> c Fragment # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Fragment # toConstr :: Fragment -> Constr # dataTypeOf :: Fragment -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Fragment) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Fragment) # gmapT :: (forall b. Data b => b -> b) -> Fragment -> Fragment # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Fragment -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Fragment -> r # gmapQ :: (forall d. Data d => d -> u) -> Fragment -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Fragment -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Fragment -> m Fragment # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Fragment -> m Fragment # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Fragment -> m Fragment # | |
Read Fragment Source # | |
Show Fragment Source # | |
Generic Fragment Source # | |
Hashable Fragment Source # | |
FromJSON Fragment Source # | |
NFData Fragment Source # | |
type Rep Fragment Source # | |
Defined in Network.AWS.KinesisVideoArchivedMedia.Types.Product type Rep Fragment = D1 (MetaData "Fragment" "Network.AWS.KinesisVideoArchivedMedia.Types.Product" "amazonka-kinesis-video-archived-media-1.6.1-GNz2M31Sb8E5K9Q0duB32R" False) (C1 (MetaCons "Fragment'" PrefixI True) ((S1 (MetaSel (Just "_fFragmentLengthInMilliseconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_fServerTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_fFragmentSizeInBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 (MetaSel (Just "_fFragmentNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fProducerTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))))) |
Creates a value of Fragment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fFragmentLengthInMilliseconds
- The playback duration or other time value associated with the fragment.fServerTimestamp
- The time stamp from the AWS server corresponding to the fragment.fFragmentSizeInBytes
- The total fragment size, including information about the fragment and contained media data.fFragmentNumber
- The index value of the fragment.fProducerTimestamp
- The time stamp from the producer corresponding to the fragment.
fFragmentLengthInMilliseconds :: Lens' Fragment (Maybe Integer) Source #
The playback duration or other time value associated with the fragment.
fServerTimestamp :: Lens' Fragment (Maybe UTCTime) Source #
The time stamp from the AWS server corresponding to the fragment.
fFragmentSizeInBytes :: Lens' Fragment (Maybe Integer) Source #
The total fragment size, including information about the fragment and contained media data.
fProducerTimestamp :: Lens' Fragment (Maybe UTCTime) Source #
The time stamp from the producer corresponding to the fragment.
FragmentSelector
data FragmentSelector Source #
Describes the time stamp range and time stamp origin of a range of fragments.
See: fragmentSelector
smart constructor.
Instances
Creates a value of FragmentSelector
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fsFragmentSelectorType
- The origin of the time stamps to use (Server or Producer).fsTimestampRange
- The range of time stamps to return.
fsFragmentSelectorType :: Lens' FragmentSelector FragmentSelectorType Source #
The origin of the time stamps to use (Server or Producer).
fsTimestampRange :: Lens' FragmentSelector TimestampRange Source #
The range of time stamps to return.
TimestampRange
data TimestampRange Source #
The range of time stamps for which to return fragments.
See: timestampRange
smart constructor.
Instances
Creates a value of TimestampRange
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
trStartTimestamp
- The starting time stamp in the range of time stamps for which to return fragments.trEndTimestamp
- The ending time stamp in the range of time stamps for which to return fragments.
trStartTimestamp :: Lens' TimestampRange UTCTime Source #
The starting time stamp in the range of time stamps for which to return fragments.
trEndTimestamp :: Lens' TimestampRange UTCTime Source #
The ending time stamp in the range of time stamps for which to return fragments.