amazonka-iot-analytics-1.6.0: Amazon IoT Analytics 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.IoTAnalytics.GetDatasetContent

Contents

Description

Retrieves the contents of a data set as pre-signed URIs.

Synopsis

Creating a Request

getDatasetContent Source #

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

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

  • gdcVersionId - The version of the data set whose contents are retrieved. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.
  • gdcDatasetName - The name of the data set whose contents are retrieved.

data GetDatasetContent Source #

See: getDatasetContent smart constructor.

Instances

Eq GetDatasetContent Source # 
Data GetDatasetContent Source # 

Methods

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

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

toConstr :: GetDatasetContent -> Constr #

dataTypeOf :: GetDatasetContent -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDatasetContent Source # 
Show GetDatasetContent Source # 
Generic GetDatasetContent Source # 
Hashable GetDatasetContent Source # 
NFData GetDatasetContent Source # 

Methods

rnf :: GetDatasetContent -> () #

AWSRequest GetDatasetContent Source # 
ToHeaders GetDatasetContent Source # 
ToPath GetDatasetContent Source # 
ToQuery GetDatasetContent Source # 
type Rep GetDatasetContent Source # 
type Rep GetDatasetContent = D1 * (MetaData "GetDatasetContent" "Network.AWS.IoTAnalytics.GetDatasetContent" "amazonka-iot-analytics-1.6.0-J5q8AVx26VCAr48eVqZbw0" False) (C1 * (MetaCons "GetDatasetContent'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gdcVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gdcDatasetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs GetDatasetContent Source # 

Request Lenses

gdcVersionId :: Lens' GetDatasetContent (Maybe Text) Source #

The version of the data set whose contents are retrieved. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.

gdcDatasetName :: Lens' GetDatasetContent Text Source #

The name of the data set whose contents are retrieved.

Destructuring the Response

getDatasetContentResponse Source #

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

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

data GetDatasetContentResponse Source #

See: getDatasetContentResponse smart constructor.

Instances

Eq GetDatasetContentResponse Source # 
Data GetDatasetContentResponse Source # 

Methods

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

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

toConstr :: GetDatasetContentResponse -> Constr #

dataTypeOf :: GetDatasetContentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDatasetContentResponse Source # 
Show GetDatasetContentResponse Source # 
Generic GetDatasetContentResponse Source # 
NFData GetDatasetContentResponse Source # 
type Rep GetDatasetContentResponse Source # 
type Rep GetDatasetContentResponse = D1 * (MetaData "GetDatasetContentResponse" "Network.AWS.IoTAnalytics.GetDatasetContent" "amazonka-iot-analytics-1.6.0-J5q8AVx26VCAr48eVqZbw0" False) (C1 * (MetaCons "GetDatasetContentResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gdcrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DatasetContentStatus))) (S1 * (MetaSel (Just Symbol "_gdcrsEntries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [DatasetEntry])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gdcrsTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_gdcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gdcrsTimestamp :: Lens' GetDatasetContentResponse (Maybe UTCTime) Source #

The time when the request was made.