amazonka-discovery-2.0: Amazon Application Discovery Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 Amazon Web Services Agentless Discovery Connector data and summary data from Amazon Web Services 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

  • 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.

  • exportDataFormat :: Maybe [ExportDataFormat]

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

  • 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.

  • 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.

Instances

Instances details
ToJSON StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.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

AWSRequest StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Associated Types

type AWSResponse StartExportTask #

Generic StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Associated Types

type Rep StartExportTask :: Type -> Type #

Read StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Show StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

NFData StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Methods

rnf :: StartExportTask -> () #

Eq StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Hashable StartExportTask Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

type AWSResponse 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" "amazonka-discovery-2.0-FHPaShbhCtL10K1sBxZHs" 'False) (C1 ('MetaCons "StartExportTask'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "exportDataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExportDataFormat]))) :*: (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExportFilter])) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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

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

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.

Request Lenses

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.

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_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_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.

Destructuring the Response

data StartExportTaskResponse Source #

See: newStartExportTaskResponse smart constructor.

Constructors

StartExportTaskResponse' 

Fields

Instances

Instances details
Generic StartExportTaskResponse Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Associated Types

type Rep StartExportTaskResponse :: Type -> Type #

Read StartExportTaskResponse Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Show StartExportTaskResponse Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

NFData StartExportTaskResponse Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

Methods

rnf :: StartExportTaskResponse -> () #

Eq StartExportTaskResponse Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

type Rep StartExportTaskResponse Source # 
Instance details

Defined in Amazonka.Discovery.StartExportTask

type Rep StartExportTaskResponse = D1 ('MetaData "StartExportTaskResponse" "Amazonka.Discovery.StartExportTask" "amazonka-discovery-2.0-FHPaShbhCtL10K1sBxZHs" '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:

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.