amazonka-discovery-1.5.0: Amazon Application Discovery Service SDK.

Copyright(c) 2013-2017 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.Discovery.StartExportTask

Contents

Description

Begins the export of discovered data to an S3 bucket.

If you specify agentId in a filter, the task exports up to 72 hours of detailed data collected by the identified Application Discovery Agent, including network, process, and performance details. A time range for exported agent data may be set by using startTime and endTime . Export of detailed agent data is limited to five concurrently running exports.

If you do not include an agentId filter, summary data is exported that includes both AWS Agentless Discovery Connector data and summary data from AWS Discovery Agents. Export of summary data is limited to two exports per day.

Synopsis

Creating a Request

startExportTask :: StartExportTask Source #

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

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

  • setExportDataFormat - The file format for the returned export data. Default value is CSV .
  • setStartTime - The start timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, data is exported starting from the first data collected by the agent.
  • setFilters - If a filter is present, it selects the single agentId of the Application Discovery Agent for which data is exported. The agentId can be found in the results of the DescribeAgents API or CLI. If no filter is present, startTime and endTime are ignored and exported data includes both Agentless Discovery Connector data and summary data from Application Discovery agents.
  • setEndTime - The end timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, exported data includes the most recent data collected by the agent.

data StartExportTask Source #

See: startExportTask smart constructor.

Instances

Eq StartExportTask Source # 
Data StartExportTask Source # 

Methods

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

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

toConstr :: StartExportTask -> Constr #

dataTypeOf :: StartExportTask -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartExportTask Source # 
Show StartExportTask Source # 
Generic StartExportTask Source # 
Hashable StartExportTask Source # 
ToJSON StartExportTask Source # 
NFData StartExportTask Source # 

Methods

rnf :: StartExportTask -> () #

AWSRequest StartExportTask Source # 
ToQuery StartExportTask Source # 
ToPath StartExportTask Source # 
ToHeaders StartExportTask Source # 
type Rep StartExportTask Source # 
type Rep StartExportTask = D1 (MetaData "StartExportTask" "Network.AWS.Discovery.StartExportTask" "amazonka-discovery-1.5.0-9zAudG659YgC8BiK47CJ9D" False) (C1 (MetaCons "StartExportTask'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_setExportDataFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ExportDataFormat]))) (S1 (MetaSel (Just Symbol "_setStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))) ((:*:) (S1 (MetaSel (Just Symbol "_setFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ExportFilter]))) (S1 (MetaSel (Just Symbol "_setEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))))))
type Rs StartExportTask Source # 

Request Lenses

setExportDataFormat :: Lens' StartExportTask [ExportDataFormat] Source #

The file format for the returned export data. Default value is CSV .

setStartTime :: Lens' StartExportTask (Maybe UTCTime) Source #

The start timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, data is exported starting from the first data collected by the agent.

setFilters :: Lens' StartExportTask [ExportFilter] Source #

If a filter is present, it selects the single agentId of the Application Discovery Agent for which data is exported. The agentId can be found in the results of the DescribeAgents API or CLI. If no filter is present, startTime and endTime are ignored and exported data includes both Agentless Discovery Connector data and summary data from Application Discovery agents.

setEndTime :: Lens' StartExportTask (Maybe UTCTime) Source #

The end timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, exported data includes the most recent data collected by the agent.

Destructuring the Response

startExportTaskResponse Source #

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

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

data StartExportTaskResponse Source #

See: startExportTaskResponse smart constructor.

Instances

Eq StartExportTaskResponse Source # 
Data StartExportTaskResponse Source # 

Methods

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

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

toConstr :: StartExportTaskResponse -> Constr #

dataTypeOf :: StartExportTaskResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartExportTaskResponse Source # 
Show StartExportTaskResponse Source # 
Generic StartExportTaskResponse Source # 
NFData StartExportTaskResponse Source # 

Methods

rnf :: StartExportTaskResponse -> () #

type Rep StartExportTaskResponse Source # 
type Rep StartExportTaskResponse = D1 (MetaData "StartExportTaskResponse" "Network.AWS.Discovery.StartExportTask" "amazonka-discovery-1.5.0-9zAudG659YgC8BiK47CJ9D" False) (C1 (MetaCons "StartExportTaskResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_setrsExportId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_setrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

setrsExportId :: Lens' StartExportTaskResponse (Maybe Text) Source #

A unique identifier used to query the status of an export request.