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.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 Source #

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 Source #

See: describeExportTasks smart constructor.

Instances

Eq DescribeExportTasks Source # 
Data DescribeExportTasks Source # 

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 Source # 
Show DescribeExportTasks Source # 
Generic DescribeExportTasks Source # 
Hashable DescribeExportTasks Source # 
ToJSON DescribeExportTasks Source # 
NFData DescribeExportTasks Source # 

Methods

rnf :: DescribeExportTasks -> () #

AWSRequest DescribeExportTasks Source # 
ToQuery DescribeExportTasks Source # 
ToPath DescribeExportTasks Source # 
ToHeaders DescribeExportTasks Source # 
type Rep DescribeExportTasks Source # 
type Rep DescribeExportTasks = D1 (MetaData "DescribeExportTasks" "Network.AWS.Discovery.DescribeExportTasks" "amazonka-discovery-1.5.0-9zAudG659YgC8BiK47CJ9D" 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 Source # 

Request Lenses

detFilters :: Lens' DescribeExportTasks [ExportFilter] Source #

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

detNextToken :: Lens' DescribeExportTasks (Maybe Text) Source #

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] Source #

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

detMaxResults :: Lens' DescribeExportTasks (Maybe Int) Source #

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 Source #

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 Source #

See: describeExportTasksResponse smart constructor.

Instances

Eq DescribeExportTasksResponse Source # 
Data DescribeExportTasksResponse Source # 

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 Source # 
Show DescribeExportTasksResponse Source # 
Generic DescribeExportTasksResponse Source # 
NFData DescribeExportTasksResponse Source # 
type Rep DescribeExportTasksResponse Source # 
type Rep DescribeExportTasksResponse = D1 (MetaData "DescribeExportTasksResponse" "Network.AWS.Discovery.DescribeExportTasks" "amazonka-discovery-1.5.0-9zAudG659YgC8BiK47CJ9D" 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) Source #

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] Source #

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.