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

Contents

Description

Associates a created artifact of an AWS cloud resource, the target receiving the migration, with the migration task performed by a migration tool. This API has the following traits:

  • Migration tools can call the AssociateCreatedArtifact operation to indicate which AWS artifact is associated with a migration task.
  • The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information about type and region; for example: arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b .
  • Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or DMS endpoint, etc.

Synopsis

Creating a Request

associateCreatedArtifact Source #

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

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

  • acaDryRun - Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
  • acaProgressUpdateStream - The name of the ProgressUpdateStream.
  • acaMigrationTaskName - Unique identifier that references the migration task.
  • acaCreatedArtifact - An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)

data AssociateCreatedArtifact Source #

See: associateCreatedArtifact smart constructor.

Instances

Eq AssociateCreatedArtifact Source # 
Data AssociateCreatedArtifact Source # 

Methods

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

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

toConstr :: AssociateCreatedArtifact -> Constr #

dataTypeOf :: AssociateCreatedArtifact -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateCreatedArtifact Source # 
Show AssociateCreatedArtifact Source # 
Generic AssociateCreatedArtifact Source # 
Hashable AssociateCreatedArtifact Source # 
ToJSON AssociateCreatedArtifact Source # 
NFData AssociateCreatedArtifact Source # 
AWSRequest AssociateCreatedArtifact Source # 
ToQuery AssociateCreatedArtifact Source # 
ToPath AssociateCreatedArtifact Source # 
ToHeaders AssociateCreatedArtifact Source # 
type Rep AssociateCreatedArtifact Source # 
type Rep AssociateCreatedArtifact = D1 (MetaData "AssociateCreatedArtifact" "Network.AWS.MigrationHub.AssociateCreatedArtifact" "amazonka-migrationhub-1.5.0-KEAUvD8jZDNGBUx15Fr0Wt" False) (C1 (MetaCons "AssociateCreatedArtifact'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_acaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_acaProgressUpdateStream") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_acaMigrationTaskName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_acaCreatedArtifact") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreatedArtifact)))))
type Rs AssociateCreatedArtifact Source # 

Request Lenses

acaDryRun :: Lens' AssociateCreatedArtifact (Maybe Bool) Source #

Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.

acaProgressUpdateStream :: Lens' AssociateCreatedArtifact Text Source #

The name of the ProgressUpdateStream.

acaMigrationTaskName :: Lens' AssociateCreatedArtifact Text Source #

Unique identifier that references the migration task.

acaCreatedArtifact :: Lens' AssociateCreatedArtifact CreatedArtifact Source #

An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)

Destructuring the Response

associateCreatedArtifactResponse Source #

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

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

data AssociateCreatedArtifactResponse Source #

See: associateCreatedArtifactResponse smart constructor.

Instances

Eq AssociateCreatedArtifactResponse Source # 
Data AssociateCreatedArtifactResponse Source # 

Methods

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

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

toConstr :: AssociateCreatedArtifactResponse -> Constr #

dataTypeOf :: AssociateCreatedArtifactResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateCreatedArtifactResponse Source # 
Show AssociateCreatedArtifactResponse Source # 
Generic AssociateCreatedArtifactResponse Source # 
NFData AssociateCreatedArtifactResponse Source # 
type Rep AssociateCreatedArtifactResponse Source # 
type Rep AssociateCreatedArtifactResponse = D1 (MetaData "AssociateCreatedArtifactResponse" "Network.AWS.MigrationHub.AssociateCreatedArtifact" "amazonka-migrationhub-1.5.0-KEAUvD8jZDNGBUx15Fr0Wt" True) (C1 (MetaCons "AssociateCreatedArtifactResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_acarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses