amazonka-kinesis-video-archived-media-1.6.1: Amazon Kinesis Video Streams Archived Media SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.KinesisVideoArchivedMedia.ListFragments

Contents

Description

Returns a list of Fragment objects from the specified stream and start location within the archived data.

Synopsis

Creating a Request

listFragments Source #

Creates a value of ListFragments with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lfFragmentSelector - Describes the time stamp range and time stamp origin for the range of fragments to return.
  • lfNextToken - A token to specify where to start paginating. This is the 'ListFragmentsOutput$NextToken' from a previously truncated response.
  • lfMaxResults - The total number of fragments to return. If the total number of fragments available is more than the value specified in max-results , then a 'ListFragmentsOutput$NextToken' is provided in the output that you can use to resume pagination.
  • lfStreamName - The name of the stream from which to retrieve a fragment list.

data ListFragments Source #

See: listFragments smart constructor.

Instances
Eq ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Data ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListFragments -> c ListFragments #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListFragments #

toConstr :: ListFragments -> Constr #

dataTypeOf :: ListFragments -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListFragments) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListFragments) #

gmapT :: (forall b. Data b => b -> b) -> ListFragments -> ListFragments #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListFragments -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListFragments -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListFragments -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListFragments -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListFragments -> m ListFragments #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFragments -> m ListFragments #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFragments -> m ListFragments #

Read ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Show ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Generic ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Associated Types

type Rep ListFragments :: Type -> Type #

Hashable ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

ToJSON ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

AWSRequest ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Associated Types

type Rs ListFragments :: Type #

ToHeaders ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

ToPath ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

ToQuery ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

NFData ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Methods

rnf :: ListFragments -> () #

type Rep ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

type Rep ListFragments = D1 (MetaData "ListFragments" "Network.AWS.KinesisVideoArchivedMedia.ListFragments" "amazonka-kinesis-video-archived-media-1.6.1-GNz2M31Sb8E5K9Q0duB32R" False) (C1 (MetaCons "ListFragments'" PrefixI True) ((S1 (MetaSel (Just "_lfFragmentSelector") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FragmentSelector)) :*: S1 (MetaSel (Just "_lfNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lfMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_lfStreamName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListFragments Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Request Lenses

lfFragmentSelector :: Lens' ListFragments (Maybe FragmentSelector) Source #

Describes the time stamp range and time stamp origin for the range of fragments to return.

lfNextToken :: Lens' ListFragments (Maybe Text) Source #

A token to specify where to start paginating. This is the 'ListFragmentsOutput$NextToken' from a previously truncated response.

lfMaxResults :: Lens' ListFragments (Maybe Natural) Source #

The total number of fragments to return. If the total number of fragments available is more than the value specified in max-results , then a 'ListFragmentsOutput$NextToken' is provided in the output that you can use to resume pagination.

lfStreamName :: Lens' ListFragments Text Source #

The name of the stream from which to retrieve a fragment list.

Destructuring the Response

listFragmentsResponse Source #

Creates a value of ListFragmentsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lfrsNextToken - If the returned list is truncated, the operation returns this token to use to retrieve the next page of results. This value is null when there are no more results to return.
  • lfrsFragments - A list of fragment numbers that correspond to the time stamp range provided.
  • lfrsResponseStatus - -- | The response status code.

data ListFragmentsResponse Source #

See: listFragmentsResponse smart constructor.

Instances
Eq ListFragmentsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Data ListFragmentsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListFragmentsResponse -> c ListFragmentsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListFragmentsResponse #

toConstr :: ListFragmentsResponse -> Constr #

dataTypeOf :: ListFragmentsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListFragmentsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListFragmentsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListFragmentsResponse -> ListFragmentsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListFragmentsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListFragmentsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListFragmentsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListFragmentsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListFragmentsResponse -> m ListFragmentsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFragmentsResponse -> m ListFragmentsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFragmentsResponse -> m ListFragmentsResponse #

Read ListFragmentsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Show ListFragmentsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Generic ListFragmentsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Associated Types

type Rep ListFragmentsResponse :: Type -> Type #

NFData ListFragmentsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

Methods

rnf :: ListFragmentsResponse -> () #

type Rep ListFragmentsResponse Source # 
Instance details

Defined in Network.AWS.KinesisVideoArchivedMedia.ListFragments

type Rep ListFragmentsResponse = D1 (MetaData "ListFragmentsResponse" "Network.AWS.KinesisVideoArchivedMedia.ListFragments" "amazonka-kinesis-video-archived-media-1.6.1-GNz2M31Sb8E5K9Q0duB32R" False) (C1 (MetaCons "ListFragmentsResponse'" PrefixI True) (S1 (MetaSel (Just "_lfrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lfrsFragments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Fragment])) :*: S1 (MetaSel (Just "_lfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lfrsNextToken :: Lens' ListFragmentsResponse (Maybe Text) Source #

If the returned list is truncated, the operation returns this token to use to retrieve the next page of results. This value is null when there are no more results to return.

lfrsFragments :: Lens' ListFragmentsResponse [Fragment] Source #

A list of fragment numbers that correspond to the time stamp range provided.

lfrsResponseStatus :: Lens' ListFragmentsResponse Int Source #

  • - | The response status code.