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

Amazonka.Discovery.StartExportTask

Description

Begins the export of discovered data to an S3 bucket.

If you specify agentIds 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 agentIds 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

data StartExportTask Source #

See: newStartExportTask smart constructor.

Constructors

StartExportTask' 

Fields

  • exportDataFormat :: Maybe [ExportDataFormat]

    The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.

  • startTime :: Maybe POSIX

    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.

  • filters :: Maybe [ExportFilter]

    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.

  • endTime :: Maybe POSIX

    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.

Instances

Instances details
Eq StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Read StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Show StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Generic StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Associated Types

type Rep StartExportTask :: Type -> Type #

NFData StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Methods

rnf :: StartExportTask -> () #

Hashable StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

ToJSON StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

AWSRequest StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Associated Types

type AWSResponse StartExportTask #

ToHeaders StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

ToPath StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

ToQuery StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

type Rep StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

type Rep StartExportTask = D1 ('MetaData "StartExportTask" "Amazonka.Discovery.StartExportTask" "libZSservicesZSamazonka-discoveryZSamazonka-discovery" 'False) (C1 ('MetaCons "StartExportTask'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "exportDataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExportDataFormat])) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExportFilter])) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))
type AWSResponse StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

newStartExportTask :: StartExportTask Source #

Create a value of StartExportTask with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:exportDataFormat:StartExportTask', startExportTask_exportDataFormat - The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.

$sel:startTime:StartExportTask', startExportTask_startTime - 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.

$sel:filters:StartExportTask', startExportTask_filters - 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.

$sel:endTime:StartExportTask', startExportTask_endTime - 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.

Request Lenses

startExportTask_exportDataFormat :: Lens' StartExportTask (Maybe [ExportDataFormat]) Source #

The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.

startExportTask_startTime :: 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.

startExportTask_filters :: Lens' StartExportTask (Maybe [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.

startExportTask_endTime :: 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

data StartExportTaskResponse Source #

See: newStartExportTaskResponse smart constructor.

Constructors

StartExportTaskResponse' 

Fields

Instances

Instances details
Eq StartExportTaskResponse Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Read StartExportTaskResponse Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Show StartExportTaskResponse Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Generic StartExportTaskResponse Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Associated Types

type Rep StartExportTaskResponse :: Type -> Type #

NFData StartExportTaskResponse Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Methods

rnf :: StartExportTaskResponse -> () #

type Rep StartExportTaskResponse Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

type Rep StartExportTaskResponse = D1 ('MetaData "StartExportTaskResponse" "Amazonka.Discovery.StartExportTask" "libZSservicesZSamazonka-discoveryZSamazonka-discovery" 'False) (C1 ('MetaCons "StartExportTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "exportId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartExportTaskResponse Source #

Create a value of StartExportTaskResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:exportId:StartExportTaskResponse', startExportTaskResponse_exportId - A unique identifier used to query the status of an export request.

$sel:httpStatus:StartExportTaskResponse', startExportTaskResponse_httpStatus - The response's http status code.

Response Lenses

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

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