amazonka-migrationhub-1.6.1: 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.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 # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

Data AssociateCreatedArtifact Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

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 # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

Show AssociateCreatedArtifact Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

Generic AssociateCreatedArtifact Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

Associated Types

type Rep AssociateCreatedArtifact :: Type -> Type #

Hashable AssociateCreatedArtifact Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

ToJSON AssociateCreatedArtifact Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

AWSRequest AssociateCreatedArtifact Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

Associated Types

type Rs AssociateCreatedArtifact :: Type #

ToHeaders AssociateCreatedArtifact Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

ToPath AssociateCreatedArtifact Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

ToQuery AssociateCreatedArtifact Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

NFData AssociateCreatedArtifact Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

type Rep AssociateCreatedArtifact Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

type Rep AssociateCreatedArtifact = D1 (MetaData "AssociateCreatedArtifact" "Network.AWS.MigrationHub.AssociateCreatedArtifact" "amazonka-migrationhub-1.6.1-8CAtlWlKcvW3trCK3Vdi8l" False) (C1 (MetaCons "AssociateCreatedArtifact'" PrefixI True) ((S1 (MetaSel (Just "_acaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_acaProgressUpdateStream") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_acaMigrationTaskName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_acaCreatedArtifact") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreatedArtifact))))
type Rs AssociateCreatedArtifact Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

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 # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

Data AssociateCreatedArtifactResponse Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

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 # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

Show AssociateCreatedArtifactResponse Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

Generic AssociateCreatedArtifactResponse Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

Associated Types

type Rep AssociateCreatedArtifactResponse :: Type -> Type #

NFData AssociateCreatedArtifactResponse Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

type Rep AssociateCreatedArtifactResponse Source # 
Instance details

Defined in Network.AWS.MigrationHub.AssociateCreatedArtifact

type Rep AssociateCreatedArtifactResponse = D1 (MetaData "AssociateCreatedArtifactResponse" "Network.AWS.MigrationHub.AssociateCreatedArtifact" "amazonka-migrationhub-1.6.1-8CAtlWlKcvW3trCK3Vdi8l" True) (C1 (MetaCons "AssociateCreatedArtifactResponse'" PrefixI True) (S1 (MetaSel (Just "_acarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses