amazonka-codedeploy-1.6.0: Amazon CodeDeploy 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.CodeDeploy.RegisterOnPremisesInstance

Contents

Description

Registers an on-premises instance.

Synopsis

Creating a Request

registerOnPremisesInstance #

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

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

  • ropiIamUserARN - The ARN of the IAM user to associate with the on-premises instance.
  • ropiIamSessionARN - The ARN of the IAM session to associate with the on-premises instance.
  • ropiInstanceName - The name of the on-premises instance to register.

data RegisterOnPremisesInstance #

Represents the input of the register on-premises instance operation.

See: registerOnPremisesInstance smart constructor.

Instances

Eq RegisterOnPremisesInstance # 
Data RegisterOnPremisesInstance # 

Methods

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

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

toConstr :: RegisterOnPremisesInstance -> Constr #

dataTypeOf :: RegisterOnPremisesInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RegisterOnPremisesInstance # 
Show RegisterOnPremisesInstance # 
Generic RegisterOnPremisesInstance # 
Hashable RegisterOnPremisesInstance # 
ToJSON RegisterOnPremisesInstance # 
NFData RegisterOnPremisesInstance # 
AWSRequest RegisterOnPremisesInstance # 
ToHeaders RegisterOnPremisesInstance # 
ToPath RegisterOnPremisesInstance # 
ToQuery RegisterOnPremisesInstance # 
type Rep RegisterOnPremisesInstance # 
type Rep RegisterOnPremisesInstance = D1 * (MetaData "RegisterOnPremisesInstance" "Network.AWS.CodeDeploy.RegisterOnPremisesInstance" "amazonka-codedeploy-1.6.0-CVWt8A18BUaA4vTP8zhKgA" False) (C1 * (MetaCons "RegisterOnPremisesInstance'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ropiIamUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ropiIamSessionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ropiInstanceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs RegisterOnPremisesInstance # 

Request Lenses

ropiIamUserARN :: Lens' RegisterOnPremisesInstance (Maybe Text) #

The ARN of the IAM user to associate with the on-premises instance.

ropiIamSessionARN :: Lens' RegisterOnPremisesInstance (Maybe Text) #

The ARN of the IAM session to associate with the on-premises instance.

ropiInstanceName :: Lens' RegisterOnPremisesInstance Text #

The name of the on-premises instance to register.

Destructuring the Response

registerOnPremisesInstanceResponse :: RegisterOnPremisesInstanceResponse #

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

data RegisterOnPremisesInstanceResponse #

See: registerOnPremisesInstanceResponse smart constructor.

Instances

Eq RegisterOnPremisesInstanceResponse # 
Data RegisterOnPremisesInstanceResponse # 

Methods

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

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

toConstr :: RegisterOnPremisesInstanceResponse -> Constr #

dataTypeOf :: RegisterOnPremisesInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RegisterOnPremisesInstanceResponse # 
Show RegisterOnPremisesInstanceResponse # 
Generic RegisterOnPremisesInstanceResponse # 
NFData RegisterOnPremisesInstanceResponse # 
type Rep RegisterOnPremisesInstanceResponse # 
type Rep RegisterOnPremisesInstanceResponse = D1 * (MetaData "RegisterOnPremisesInstanceResponse" "Network.AWS.CodeDeploy.RegisterOnPremisesInstance" "amazonka-codedeploy-1.6.0-CVWt8A18BUaA4vTP8zhKgA" False) (C1 * (MetaCons "RegisterOnPremisesInstanceResponse'" PrefixI False) (U1 *))