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

Contents

Description

Lists the created artifacts attached to a given migration task in an update stream. This API has the following traits:

  • Gets the list of the created artifacts while migration is taking place.
  • Shows the artifacts created by the migration tool that was associated by the AssociateCreatedArtifact API.
  • Lists created artifacts in a paginated interface.

Synopsis

Creating a Request

listCreatedArtifacts Source #

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

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

  • lcaNextToken - 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 .
  • lcaMaxResults - Maximum number of results to be returned per page.
  • lcaProgressUpdateStream - The name of the ProgressUpdateStream.
  • lcaMigrationTaskName - Unique identifier that references the migration task.

data ListCreatedArtifacts Source #

See: listCreatedArtifacts smart constructor.

Instances

Eq ListCreatedArtifacts Source # 
Data ListCreatedArtifacts Source # 

Methods

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

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

toConstr :: ListCreatedArtifacts -> Constr #

dataTypeOf :: ListCreatedArtifacts -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListCreatedArtifacts -> () #

AWSRequest ListCreatedArtifacts Source # 
ToQuery ListCreatedArtifacts Source # 
ToPath ListCreatedArtifacts Source # 
ToHeaders ListCreatedArtifacts Source # 
type Rep ListCreatedArtifacts Source # 
type Rep ListCreatedArtifacts = D1 (MetaData "ListCreatedArtifacts" "Network.AWS.MigrationHub.ListCreatedArtifacts" "amazonka-migrationhub-1.5.0-KEAUvD8jZDNGBUx15Fr0Wt" False) (C1 (MetaCons "ListCreatedArtifacts'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lcaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lcaMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) ((:*:) (S1 (MetaSel (Just Symbol "_lcaProgressUpdateStream") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_lcaMigrationTaskName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListCreatedArtifacts Source # 

Request Lenses

lcaNextToken :: Lens' ListCreatedArtifacts (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 .

lcaMaxResults :: Lens' ListCreatedArtifacts (Maybe Natural) Source #

Maximum number of results to be returned per page.

lcaProgressUpdateStream :: Lens' ListCreatedArtifacts Text Source #

The name of the ProgressUpdateStream.

lcaMigrationTaskName :: Lens' ListCreatedArtifacts Text Source #

Unique identifier that references the migration task.

Destructuring the Response

listCreatedArtifactsResponse Source #

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

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

  • lcarsNextToken - If there are more created artifacts than the max result, return the next token to be passed to the next call as a bookmark of where to start from.
  • lcarsCreatedArtifactList - List of created artifacts up to the maximum number of results specified in the request.
  • lcarsResponseStatus - -- | The response status code.

data ListCreatedArtifactsResponse Source #

See: listCreatedArtifactsResponse smart constructor.

Instances

Eq ListCreatedArtifactsResponse Source # 
Data ListCreatedArtifactsResponse Source # 

Methods

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

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

toConstr :: ListCreatedArtifactsResponse -> Constr #

dataTypeOf :: ListCreatedArtifactsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListCreatedArtifactsResponse Source # 
Show ListCreatedArtifactsResponse Source # 
Generic ListCreatedArtifactsResponse Source # 
NFData ListCreatedArtifactsResponse Source # 
type Rep ListCreatedArtifactsResponse Source # 
type Rep ListCreatedArtifactsResponse = D1 (MetaData "ListCreatedArtifactsResponse" "Network.AWS.MigrationHub.ListCreatedArtifacts" "amazonka-migrationhub-1.5.0-KEAUvD8jZDNGBUx15Fr0Wt" False) (C1 (MetaCons "ListCreatedArtifactsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcarsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lcarsCreatedArtifactList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CreatedArtifact]))) (S1 (MetaSel (Just Symbol "_lcarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lcarsNextToken :: Lens' ListCreatedArtifactsResponse (Maybe Text) Source #

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

lcarsCreatedArtifactList :: Lens' ListCreatedArtifactsResponse [CreatedArtifact] Source #

List of created artifacts up to the maximum number of results specified in the request.