amazonka-migrationhub-1.6.0: Amazon Migration Hub 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.MigrationHub.ListDiscoveredResources

Contents

Description

Lists discovered resources associated with the given MigrationTask .

Synopsis

Creating a Request

listDiscoveredResources Source #

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

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

  • ldrNextToken - If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken .
  • ldrMaxResults - The maximum number of results returned per page.
  • ldrProgressUpdateStream - The name of the ProgressUpdateStream.
  • ldrMigrationTaskName - The name of the MigrationTask.

data ListDiscoveredResources Source #

See: listDiscoveredResources smart constructor.

Instances

Eq ListDiscoveredResources Source # 
Data ListDiscoveredResources Source # 

Methods

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

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

toConstr :: ListDiscoveredResources -> Constr #

dataTypeOf :: ListDiscoveredResources -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListDiscoveredResources -> () #

AWSRequest ListDiscoveredResources Source # 
ToHeaders ListDiscoveredResources Source # 
ToPath ListDiscoveredResources Source # 
ToQuery ListDiscoveredResources Source # 
type Rep ListDiscoveredResources Source # 
type Rep ListDiscoveredResources = D1 * (MetaData "ListDiscoveredResources" "Network.AWS.MigrationHub.ListDiscoveredResources" "amazonka-migrationhub-1.6.0-7kcto3lUXxtCXP9q5ELBxL" False) (C1 * (MetaCons "ListDiscoveredResources'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ldrMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrProgressUpdateStream") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ldrMigrationTaskName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListDiscoveredResources Source # 

Request Lenses

ldrNextToken :: Lens' ListDiscoveredResources (Maybe Text) Source #

If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken .

ldrMaxResults :: Lens' ListDiscoveredResources (Maybe Natural) Source #

The maximum number of results returned per page.

ldrProgressUpdateStream :: Lens' ListDiscoveredResources Text Source #

The name of the ProgressUpdateStream.

Destructuring the Response

listDiscoveredResourcesResponse Source #

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

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

  • ldrrsDiscoveredResourceList - Returned list of discovered resources associated with the given MigrationTask.
  • ldrrsNextToken - If there are more discovered resources than the max result, return the next token to be passed to the next call as a bookmark of where to start from.
  • ldrrsResponseStatus - -- | The response status code.

data ListDiscoveredResourcesResponse Source #

See: listDiscoveredResourcesResponse smart constructor.

Instances

Eq ListDiscoveredResourcesResponse Source # 
Data ListDiscoveredResourcesResponse Source # 

Methods

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

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

toConstr :: ListDiscoveredResourcesResponse -> Constr #

dataTypeOf :: ListDiscoveredResourcesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDiscoveredResourcesResponse Source # 
Show ListDiscoveredResourcesResponse Source # 
Generic ListDiscoveredResourcesResponse Source # 
NFData ListDiscoveredResourcesResponse Source # 
type Rep ListDiscoveredResourcesResponse Source # 
type Rep ListDiscoveredResourcesResponse = D1 * (MetaData "ListDiscoveredResourcesResponse" "Network.AWS.MigrationHub.ListDiscoveredResources" "amazonka-migrationhub-1.6.0-7kcto3lUXxtCXP9q5ELBxL" False) (C1 * (MetaCons "ListDiscoveredResourcesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrrsDiscoveredResourceList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [DiscoveredResource]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ldrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ldrrsDiscoveredResourceList :: Lens' ListDiscoveredResourcesResponse [DiscoveredResource] Source #

Returned list of discovered resources associated with the given MigrationTask.

ldrrsNextToken :: Lens' ListDiscoveredResourcesResponse (Maybe Text) Source #

If there are more discovered resources than the max result, return the next token to be passed to the next call as a bookmark of where to start from.