amazonka-cloud9-1.6.0: Amazon Cloud9 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.Cloud9.CreateEnvironmentEC

Contents

Description

Creates an AWS Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.

Synopsis

Creating a Request

createEnvironmentEC Source #

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

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

  • ceecAutomaticStopTimeMinutes - The number of minutes until the running instance is shut down after the environment has last been used.
  • ceecSubnetId - The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
  • ceecOwnerARN - The Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any AWS IAM principal. If this value is not specified, the ARN defaults to this environment's creator.
  • ceecClientRequestToken - A unique, case-sensitive string that helps AWS Cloud9 to ensure this operation completes no more than one time. For more information, see Client Tokens in the Amazon EC2 API Reference .
  • ceecDescription - The description of the environment to create.
  • ceecName - The name of the environment to create. This name is visible to other AWS IAM users in the same AWS account.
  • ceecInstanceType - The type of instance to connect to the environment (for example, t2.micro ).

data CreateEnvironmentEC Source #

See: createEnvironmentEC smart constructor.

Instances

Eq CreateEnvironmentEC Source # 
Data CreateEnvironmentEC Source # 

Methods

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

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

toConstr :: CreateEnvironmentEC -> Constr #

dataTypeOf :: CreateEnvironmentEC -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CreateEnvironmentEC -> () #

AWSRequest CreateEnvironmentEC Source # 
ToHeaders CreateEnvironmentEC Source # 
ToPath CreateEnvironmentEC Source # 
ToQuery CreateEnvironmentEC Source # 
type Rep CreateEnvironmentEC Source # 
type Rep CreateEnvironmentEC = D1 * (MetaData "CreateEnvironmentEC" "Network.AWS.Cloud9.CreateEnvironmentEC" "amazonka-cloud9-1.6.0-7gsFvKEkpNuKHEnbgASzLW" False) (C1 * (MetaCons "CreateEnvironmentEC'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ceecAutomaticStopTimeMinutes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ceecSubnetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ceecOwnerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ceecClientRequestToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ceecDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ceecName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ceecInstanceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs CreateEnvironmentEC Source # 

Request Lenses

ceecAutomaticStopTimeMinutes :: Lens' CreateEnvironmentEC (Maybe Int) Source #

The number of minutes until the running instance is shut down after the environment has last been used.

ceecSubnetId :: Lens' CreateEnvironmentEC (Maybe Text) Source #

The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.

ceecOwnerARN :: Lens' CreateEnvironmentEC (Maybe Text) Source #

The Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any AWS IAM principal. If this value is not specified, the ARN defaults to this environment's creator.

ceecClientRequestToken :: Lens' CreateEnvironmentEC (Maybe Text) Source #

A unique, case-sensitive string that helps AWS Cloud9 to ensure this operation completes no more than one time. For more information, see Client Tokens in the Amazon EC2 API Reference .

ceecDescription :: Lens' CreateEnvironmentEC (Maybe Text) Source #

The description of the environment to create.

ceecName :: Lens' CreateEnvironmentEC Text Source #

The name of the environment to create. This name is visible to other AWS IAM users in the same AWS account.

ceecInstanceType :: Lens' CreateEnvironmentEC Text Source #

The type of instance to connect to the environment (for example, t2.micro ).

Destructuring the Response

createEnvironmentECResponse Source #

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

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

data CreateEnvironmentECResponse Source #

See: createEnvironmentECResponse smart constructor.

Instances

Eq CreateEnvironmentECResponse Source # 
Data CreateEnvironmentECResponse Source # 

Methods

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

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

toConstr :: CreateEnvironmentECResponse -> Constr #

dataTypeOf :: CreateEnvironmentECResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateEnvironmentECResponse Source # 
Show CreateEnvironmentECResponse Source # 
Generic CreateEnvironmentECResponse Source # 
NFData CreateEnvironmentECResponse Source # 
type Rep CreateEnvironmentECResponse Source # 
type Rep CreateEnvironmentECResponse = D1 * (MetaData "CreateEnvironmentECResponse" "Network.AWS.Cloud9.CreateEnvironmentEC" "amazonka-cloud9-1.6.0-7gsFvKEkpNuKHEnbgASzLW" False) (C1 * (MetaCons "CreateEnvironmentECResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ceecrsEnvironmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ceecrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

ceecrsEnvironmentId :: Lens' CreateEnvironmentECResponse (Maybe Text) Source #

The ID of the environment that was created.