amazonka-xray-1.6.0: Amazon X-Ray 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.XRay.BatchGetTraces

Contents

Description

Retrieves a list of traces specified by ID. Each trace is a collection of segment documents that originates from a single request. Use GetTraceSummaries to get a list of trace IDs.

This operation returns paginated results.

Synopsis

Creating a Request

batchGetTraces :: BatchGetTraces Source #

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

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

  • bgtNextToken - Pagination token. Not used.
  • bgtTraceIds - Specify the trace IDs of requests for which to retrieve segments.

data BatchGetTraces Source #

See: batchGetTraces smart constructor.

Instances

Eq BatchGetTraces Source # 
Data BatchGetTraces Source # 

Methods

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

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

toConstr :: BatchGetTraces -> Constr #

dataTypeOf :: BatchGetTraces -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchGetTraces Source # 
Show BatchGetTraces Source # 
Generic BatchGetTraces Source # 

Associated Types

type Rep BatchGetTraces :: * -> * #

Hashable BatchGetTraces Source # 
ToJSON BatchGetTraces Source # 
NFData BatchGetTraces Source # 

Methods

rnf :: BatchGetTraces -> () #

AWSPager BatchGetTraces Source # 
AWSRequest BatchGetTraces Source # 
ToHeaders BatchGetTraces Source # 
ToPath BatchGetTraces Source # 
ToQuery BatchGetTraces Source # 
type Rep BatchGetTraces Source # 
type Rep BatchGetTraces = D1 * (MetaData "BatchGetTraces" "Network.AWS.XRay.BatchGetTraces" "amazonka-xray-1.6.0-GkxB4dKM36B2MyUfcjBxNG" False) (C1 * (MetaCons "BatchGetTraces'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_bgtNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_bgtTraceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Text]))))
type Rs BatchGetTraces Source # 

Request Lenses

bgtNextToken :: Lens' BatchGetTraces (Maybe Text) Source #

Pagination token. Not used.

bgtTraceIds :: Lens' BatchGetTraces [Text] Source #

Specify the trace IDs of requests for which to retrieve segments.

Destructuring the Response

batchGetTracesResponse Source #

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

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

data BatchGetTracesResponse Source #

See: batchGetTracesResponse smart constructor.

Instances

Eq BatchGetTracesResponse Source # 
Data BatchGetTracesResponse Source # 

Methods

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

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

toConstr :: BatchGetTracesResponse -> Constr #

dataTypeOf :: BatchGetTracesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchGetTracesResponse Source # 
Show BatchGetTracesResponse Source # 
Generic BatchGetTracesResponse Source # 
NFData BatchGetTracesResponse Source # 

Methods

rnf :: BatchGetTracesResponse -> () #

type Rep BatchGetTracesResponse Source # 
type Rep BatchGetTracesResponse = D1 * (MetaData "BatchGetTracesResponse" "Network.AWS.XRay.BatchGetTraces" "amazonka-xray-1.6.0-GkxB4dKM36B2MyUfcjBxNG" False) (C1 * (MetaCons "BatchGetTracesResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_bgtrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_bgtrsTraces") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Trace])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_bgtrsUnprocessedTraceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_bgtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

bgtrsNextToken :: Lens' BatchGetTracesResponse (Maybe Text) Source #

Pagination token. Not used.

bgtrsTraces :: Lens' BatchGetTracesResponse [Trace] Source #

Full traces for the specified requests.

bgtrsUnprocessedTraceIds :: Lens' BatchGetTracesResponse [Text] Source #

Trace IDs of requests that haven't been processed.