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

Contents

Description

Provides identifying details of the resource being migrated so that it can be associated in the Application Discovery Service (ADS)'s repository. This association occurs asynchronously after PutResourceAttributes returns.

Important: Keep in mind that subsequent calls to PutResourceAttributes will override previously stored attributes. For example, if it is first called with a MAC address, but later, it is desired to add an IP address, it will then be required to call it with both the IP and MAC addresses to prevent overiding the MAC address.

Synopsis

Creating a Request

putResourceAttributes Source #

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

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

  • praDryRun - Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
  • praProgressUpdateStream - The name of the ProgressUpdateStream.
  • praMigrationTaskName - Unique identifier that references the migration task.
  • praResourceAttributeList - Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service (ADS)'s repository.

data PutResourceAttributes Source #

See: putResourceAttributes smart constructor.

Instances

Eq PutResourceAttributes Source # 
Data PutResourceAttributes Source # 

Methods

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

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

toConstr :: PutResourceAttributes -> Constr #

dataTypeOf :: PutResourceAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: PutResourceAttributes -> () #

AWSRequest PutResourceAttributes Source # 
ToQuery PutResourceAttributes Source # 
ToPath PutResourceAttributes Source # 
ToHeaders PutResourceAttributes Source # 
type Rep PutResourceAttributes Source # 
type Rep PutResourceAttributes = D1 (MetaData "PutResourceAttributes" "Network.AWS.MigrationHub.PutResourceAttributes" "amazonka-migrationhub-1.5.0-KEAUvD8jZDNGBUx15Fr0Wt" False) (C1 (MetaCons "PutResourceAttributes'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_praDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_praProgressUpdateStream") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_praMigrationTaskName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_praResourceAttributeList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 ResourceAttribute))))))
type Rs PutResourceAttributes Source # 

Request Lenses

praDryRun :: Lens' PutResourceAttributes (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.

praProgressUpdateStream :: Lens' PutResourceAttributes Text Source #

The name of the ProgressUpdateStream.

praMigrationTaskName :: Lens' PutResourceAttributes Text Source #

Unique identifier that references the migration task.

praResourceAttributeList :: Lens' PutResourceAttributes (NonEmpty ResourceAttribute) Source #

Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service (ADS)'s repository.

Destructuring the Response

putResourceAttributesResponse Source #

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

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

data PutResourceAttributesResponse Source #

See: putResourceAttributesResponse smart constructor.

Instances

Eq PutResourceAttributesResponse Source # 
Data PutResourceAttributesResponse Source # 

Methods

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

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

toConstr :: PutResourceAttributesResponse -> Constr #

dataTypeOf :: PutResourceAttributesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses