amazonka-kinesis-video-archived-media-1.6.0: 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 # 
Data ListFragments Source # 

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 # 
Show ListFragments Source # 
Generic ListFragments Source # 

Associated Types

type Rep ListFragments :: * -> * #

Hashable ListFragments Source # 
ToJSON ListFragments Source # 
NFData ListFragments Source # 

Methods

rnf :: ListFragments -> () #

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

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 # 
Data ListFragmentsResponse Source # 

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 # 
Show ListFragmentsResponse Source # 
Generic ListFragmentsResponse Source # 
NFData ListFragmentsResponse Source # 

Methods

rnf :: ListFragmentsResponse -> () #

type Rep ListFragmentsResponse Source # 
type Rep ListFragmentsResponse = D1 * (MetaData "ListFragmentsResponse" "Network.AWS.KinesisVideoArchivedMedia.ListFragments" "amazonka-kinesis-video-archived-media-1.6.0-BK4sg7YWMNVCwg3NegaW0Y" False) (C1 * (MetaCons "ListFragmentsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lfrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lfrsFragments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Fragment]))) (S1 * (MetaSel (Just Symbol "_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.