// Creates an AWS Cloud9 development environment, launches an Amazon Elastic
// Compute Cloud (Amazon EC2) instance, and then connects from the instance to the
// environment.
Creates an AWS Cloud9 development environment, launches an Amazon Elastic
Compute Cloud (Amazon EC2) instance, and then connects from the instance to the
environment.
// Creates an AWS Cloud9 development environment launches an Amazon Elastic // Compute Cloud ( Amazon EC2 ) instance and then connects from the instance to the // environment .
func (c *Client) CreateEnvironmentEC2(ctx context.Context, params *CreateEnvironmentEC2Input, optFns ...func(*Options)) (*CreateEnvironmentEC2Output, error) {
	if params == nil {
		params = &CreateEnvironmentEC2Input{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateEnvironmentEC2", params, optFns, addOperationCreateEnvironmentEC2Middlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateEnvironmentEC2Output)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateEnvironmentEC2 ( ctx context . Context , params * CreateEnvironmentEC2Input , optFns ... func ( * Options ) ) ( * CreateEnvironmentEC2Output , error ) { if params == nil { params = & CreateEnvironmentEC2Input { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateEnvironmentEC2Middlewares ) if err != nil { return nil , err } out := result . ( * CreateEnvironmentEC2Output ) out . ResultMetadata = metadata return out , nil }
Creates an AWS Cloud9 development environment, launches an Amazon Elastic
Compute Cloud (Amazon EC2) instance, and then connects from the instance to the
environment.
Creates an AWS Cloud9 development environment launches an Amazon Elastic Compute Cloud ( Amazon EC2 ) instance and then connects from the instance to the environment .