amazonka-discovery-1.6.0: Amazon Application Discovery Service 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.Discovery.DescribeExportTasks

Contents

Description

Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.

Synopsis

Creating a Request

describeExportTasks :: DescribeExportTasks #

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

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

  • detFilters - One or more filters. * AgentId - ID of the agent whose collected data will be exported
  • detNextToken - The nextToken value returned from a previous paginated DescribeExportTasks request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.
  • detExportIds - One or more unique identifiers used to query the status of an export request.
  • detMaxResults - The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element.

data DescribeExportTasks #

See: describeExportTasks smart constructor.

Instances

Eq DescribeExportTasks # 
Data DescribeExportTasks # 

Methods

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

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

toConstr :: DescribeExportTasks -> Constr #

dataTypeOf :: DescribeExportTasks -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeExportTasks # 
Show DescribeExportTasks # 
Generic DescribeExportTasks # 
Hashable DescribeExportTasks # 
ToJSON DescribeExportTasks # 
NFData DescribeExportTasks # 

Methods

rnf :: DescribeExportTasks -> () #

AWSRequest DescribeExportTasks # 
ToHeaders DescribeExportTasks # 
ToPath DescribeExportTasks # 
ToQuery DescribeExportTasks # 
type Rep DescribeExportTasks # 
type Rep DescribeExportTasks = D1 * (MetaData "DescribeExportTasks" "Network.AWS.Discovery.DescribeExportTasks" "amazonka-discovery-1.6.0-Fb1PXKRDeoaB3tyc19m36q" False) (C1 * (MetaCons "DescribeExportTasks'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_detFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ExportFilter]))) (S1 * (MetaSel (Just Symbol "_detNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_detExportIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_detMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))))))
type Rs DescribeExportTasks # 

Request Lenses

detFilters :: Lens' DescribeExportTasks [ExportFilter] #

One or more filters. * AgentId - ID of the agent whose collected data will be exported

detNextToken :: Lens' DescribeExportTasks (Maybe Text) #

The nextToken value returned from a previous paginated DescribeExportTasks request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

detExportIds :: Lens' DescribeExportTasks [Text] #

One or more unique identifiers used to query the status of an export request.

detMaxResults :: Lens' DescribeExportTasks (Maybe Int) #

The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element.

Destructuring the Response

describeExportTasksResponse #

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

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

  • detrsNextToken - The nextToken value to include in a future DescribeExportTasks request. When the results of a DescribeExportTasks request exceed maxResults , this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
  • detrsExportsInfo - Contains one or more sets of export request details. When the status of a request is SUCCEEDED , the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file.
  • detrsResponseStatus - -- | The response status code.

data DescribeExportTasksResponse #

See: describeExportTasksResponse smart constructor.

Instances

Eq DescribeExportTasksResponse # 
Data DescribeExportTasksResponse # 

Methods

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

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

toConstr :: DescribeExportTasksResponse -> Constr #

dataTypeOf :: DescribeExportTasksResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeExportTasksResponse # 
Show DescribeExportTasksResponse # 
Generic DescribeExportTasksResponse # 
NFData DescribeExportTasksResponse # 
type Rep DescribeExportTasksResponse # 
type Rep DescribeExportTasksResponse = D1 * (MetaData "DescribeExportTasksResponse" "Network.AWS.Discovery.DescribeExportTasks" "amazonka-discovery-1.6.0-Fb1PXKRDeoaB3tyc19m36q" False) (C1 * (MetaCons "DescribeExportTasksResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_detrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_detrsExportsInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ExportInfo]))) (S1 * (MetaSel (Just Symbol "_detrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

detrsNextToken :: Lens' DescribeExportTasksResponse (Maybe Text) #

The nextToken value to include in a future DescribeExportTasks request. When the results of a DescribeExportTasks request exceed maxResults , this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

detrsExportsInfo :: Lens' DescribeExportTasksResponse [ExportInfo] #

Contains one or more sets of export request details. When the status of a request is SUCCEEDED , the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file.