Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates an AWS Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.
- createEnvironmentEC :: Text -> Text -> CreateEnvironmentEC
- data CreateEnvironmentEC
- ceecAutomaticStopTimeMinutes :: Lens' CreateEnvironmentEC (Maybe Int)
- ceecSubnetId :: Lens' CreateEnvironmentEC (Maybe Text)
- ceecOwnerARN :: Lens' CreateEnvironmentEC (Maybe Text)
- ceecClientRequestToken :: Lens' CreateEnvironmentEC (Maybe Text)
- ceecDescription :: Lens' CreateEnvironmentEC (Maybe Text)
- ceecName :: Lens' CreateEnvironmentEC Text
- ceecInstanceType :: Lens' CreateEnvironmentEC Text
- createEnvironmentECResponse :: Int -> CreateEnvironmentECResponse
- data CreateEnvironmentECResponse
- ceecrsEnvironmentId :: Lens' CreateEnvironmentECResponse (Maybe Text)
- ceecrsResponseStatus :: Lens' CreateEnvironmentECResponse Int
Creating a Request
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.
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:
ceecrsEnvironmentId
- The ID of the environment that was created.ceecrsResponseStatus
- -- | The response status code.
data CreateEnvironmentECResponse Source #
See: createEnvironmentECResponse
smart constructor.
Response Lenses
ceecrsEnvironmentId :: Lens' CreateEnvironmentECResponse (Maybe Text) Source #
The ID of the environment that was created.
ceecrsResponseStatus :: Lens' CreateEnvironmentECResponse Int Source #
- - | The response status code.