amazonka-ecs-1.4.2: Amazon EC2 Container Service 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.ECS.RegisterContainerInstance

Contents

Description

This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.

Registers an EC2 instance into the specified cluster. This instance becomes available to place containers on.

Synopsis

Creating a Request

data RegisterContainerInstance Source #

See: registerContainerInstance smart constructor.

Instances

Eq RegisterContainerInstance Source # 
Data RegisterContainerInstance Source # 

Methods

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

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

toConstr :: RegisterContainerInstance -> Constr #

dataTypeOf :: RegisterContainerInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RegisterContainerInstance Source # 
Show RegisterContainerInstance Source # 
Generic RegisterContainerInstance Source # 
Hashable RegisterContainerInstance Source # 
ToJSON RegisterContainerInstance Source # 
NFData RegisterContainerInstance Source # 
AWSRequest RegisterContainerInstance Source # 
ToQuery RegisterContainerInstance Source # 
ToPath RegisterContainerInstance Source # 
ToHeaders RegisterContainerInstance Source # 
type Rep RegisterContainerInstance Source # 
type Rep RegisterContainerInstance = D1 (MetaData "RegisterContainerInstance" "Network.AWS.ECS.RegisterContainerInstance" "amazonka-ecs-1.4.2-ITGvu0sgqPr1TCfNqYsd9Q" False) (C1 (MetaCons "RegisterContainerInstance'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rciInstanceIdentityDocumentSignature") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rciCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rciInstanceIdentityDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rciContainerInstanceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rciVersionInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VersionInfo)))) ((:*:) (S1 (MetaSel (Just Symbol "_rciAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Attribute]))) (S1 (MetaSel (Just Symbol "_rciTotalResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Resource])))))))
type Rs RegisterContainerInstance Source # 

Request Lenses

rciInstanceIdentityDocumentSignature :: Lens' RegisterContainerInstance (Maybe Text) Source #

The instance identity document signature for the EC2 instance to register. This signature can be found by running the following command from the instance: 'curl http://169.254.169.254/latest/dynamic/instance-identity/signature/'

rciCluster :: Lens' RegisterContainerInstance (Maybe Text) Source #

The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance. If you do not specify a cluster, the default cluster is assumed..

rciInstanceIdentityDocument :: Lens' RegisterContainerInstance (Maybe Text) Source #

The instance identity document for the EC2 instance to register. This document can be found by running the following command from the instance: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document/'

rciContainerInstanceARN :: Lens' RegisterContainerInstance (Maybe Text) Source #

The Amazon Resource Name (ARN) of the container instance (if it was previously registered).

rciVersionInfo :: Lens' RegisterContainerInstance (Maybe VersionInfo) Source #

The version information for the Amazon ECS container agent and Docker daemon running on the container instance.

rciAttributes :: Lens' RegisterContainerInstance [Attribute] Source #

The container instance attributes that this container instance supports.

rciTotalResources :: Lens' RegisterContainerInstance [Resource] Source #

The resources available on the instance.

Destructuring the Response

registerContainerInstanceResponse Source #

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

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

data RegisterContainerInstanceResponse Source #

See: registerContainerInstanceResponse smart constructor.

Instances

Eq RegisterContainerInstanceResponse Source # 
Data RegisterContainerInstanceResponse Source # 

Methods

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

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

toConstr :: RegisterContainerInstanceResponse -> Constr #

dataTypeOf :: RegisterContainerInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RegisterContainerInstanceResponse Source # 
Show RegisterContainerInstanceResponse Source # 
Generic RegisterContainerInstanceResponse Source # 
NFData RegisterContainerInstanceResponse Source # 
type Rep RegisterContainerInstanceResponse Source # 
type Rep RegisterContainerInstanceResponse = D1 (MetaData "RegisterContainerInstanceResponse" "Network.AWS.ECS.RegisterContainerInstance" "amazonka-ecs-1.4.2-ITGvu0sgqPr1TCfNqYsd9Q" False) (C1 (MetaCons "RegisterContainerInstanceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rcirsContainerInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ContainerInstance))) (S1 (MetaSel (Just Symbol "_rcirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses