amazonka-opsworks-1.4.5: Amazon OpsWorks SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.RegisterInstance

Contents

Description

Registers instances with a specified stack that were created outside of AWS OpsWorks.

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

Synopsis

Creating a Request

registerInstance Source #

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

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

  • riPrivateIP - The instance's private IP address.
  • riHostname - The instance's hostname.
  • riInstanceIdentity - An InstanceIdentity object that contains the instance's identity.
  • riPublicIP - The instance's public IP address.
  • riRsaPublicKeyFingerprint - The instances public RSA key fingerprint.
  • riRsaPublicKey - The instances public RSA key. This key is used to encrypt communication between the instance and the service.
  • riStackId - The ID of the stack that the instance is to be registered with.

data RegisterInstance Source #

See: registerInstance smart constructor.

Instances

Eq RegisterInstance Source # 
Data RegisterInstance Source # 

Methods

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

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

toConstr :: RegisterInstance -> Constr #

dataTypeOf :: RegisterInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: RegisterInstance -> () #

AWSRequest RegisterInstance Source # 
ToPath RegisterInstance Source # 
ToHeaders RegisterInstance Source # 
ToQuery RegisterInstance Source # 
type Rep RegisterInstance Source # 
type Rep RegisterInstance = D1 (MetaData "RegisterInstance" "Network.AWS.OpsWorks.RegisterInstance" "amazonka-opsworks-1.4.5-7XI4vLMXIJB3lyxy2oXKSd" False) (C1 (MetaCons "RegisterInstance'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_riPrivateIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_riHostname") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_riInstanceIdentity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceIdentity))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_riPublicIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_riRsaPublicKeyFingerprint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_riRsaPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_riStackId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs RegisterInstance Source # 

Request Lenses

riPrivateIP :: Lens' RegisterInstance (Maybe Text) Source #

The instance's private IP address.

riHostname :: Lens' RegisterInstance (Maybe Text) Source #

The instance's hostname.

riInstanceIdentity :: Lens' RegisterInstance (Maybe InstanceIdentity) Source #

An InstanceIdentity object that contains the instance's identity.

riPublicIP :: Lens' RegisterInstance (Maybe Text) Source #

The instance's public IP address.

riRsaPublicKeyFingerprint :: Lens' RegisterInstance (Maybe Text) Source #

The instances public RSA key fingerprint.

riRsaPublicKey :: Lens' RegisterInstance (Maybe Text) Source #

The instances public RSA key. This key is used to encrypt communication between the instance and the service.

riStackId :: Lens' RegisterInstance Text Source #

The ID of the stack that the instance is to be registered with.

Destructuring the Response

registerInstanceResponse Source #

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

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

data RegisterInstanceResponse Source #

Contains the response to a RegisterInstanceResult request.

See: registerInstanceResponse smart constructor.

Instances

Eq RegisterInstanceResponse Source # 
Data RegisterInstanceResponse Source # 

Methods

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

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

toConstr :: RegisterInstanceResponse -> Constr #

dataTypeOf :: RegisterInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RegisterInstanceResponse Source # 
Show RegisterInstanceResponse Source # 
Generic RegisterInstanceResponse Source # 
NFData RegisterInstanceResponse Source # 
type Rep RegisterInstanceResponse Source # 
type Rep RegisterInstanceResponse = D1 (MetaData "RegisterInstanceResponse" "Network.AWS.OpsWorks.RegisterInstance" "amazonka-opsworks-1.4.5-7XI4vLMXIJB3lyxy2oXKSd" False) (C1 (MetaCons "RegisterInstanceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rirsInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

rirsInstanceId :: Lens' RegisterInstanceResponse (Maybe Text) Source #

The registered instance's AWS OpsWorks ID.