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

Contents

Description

Disassociates a created artifact of an AWS resource with a migration task performed by a migration tool that was previously associated. This API has the following traits:

  • A migration user can call the DisassociateCreatedArtifacts operation to disassociate a created AWS Artifact from 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 RDS instance, etc.

Synopsis

Creating a Request

disassociateCreatedArtifact Source #

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

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

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

data DisassociateCreatedArtifact Source #

See: disassociateCreatedArtifact smart constructor.

Instances

Eq DisassociateCreatedArtifact Source # 
Data DisassociateCreatedArtifact Source # 

Methods

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

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

toConstr :: DisassociateCreatedArtifact -> Constr #

dataTypeOf :: DisassociateCreatedArtifact -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

dcaDryRun :: Lens' DisassociateCreatedArtifact (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.

dcaProgressUpdateStream :: Lens' DisassociateCreatedArtifact Text Source #

The name of the ProgressUpdateStream.

dcaMigrationTaskName :: Lens' DisassociateCreatedArtifact Text Source #

Unique identifier that references the migration task to be disassociated with the artifact.

dcaCreatedArtifactName :: Lens' DisassociateCreatedArtifact Text Source #

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

Destructuring the Response

disassociateCreatedArtifactResponse Source #

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

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

data DisassociateCreatedArtifactResponse Source #

See: disassociateCreatedArtifactResponse smart constructor.

Instances

Eq DisassociateCreatedArtifactResponse Source # 
Data DisassociateCreatedArtifactResponse Source # 

Methods

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

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

toConstr :: DisassociateCreatedArtifactResponse -> Constr #

dataTypeOf :: DisassociateCreatedArtifactResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses