/// <summary>
        /// <para> Launches an environment for the specified application using the specified configuration. </para>
        /// </summary>
        ///
        /// <param name="createEnvironmentRequest">Container for the necessary parameters to execute the CreateEnvironment service method on
        ///           AmazonElasticBeanstalk.</param>
        ///
        /// <returns>The response from the CreateEnvironment service method, as returned by AmazonElasticBeanstalk.</returns>
        ///
        /// <exception cref="TooManyEnvironmentsException"/>
        public CreateEnvironmentResponse CreateEnvironment(CreateEnvironmentRequest createEnvironmentRequest)
        {
            IRequest <CreateEnvironmentRequest> request  = new CreateEnvironmentRequestMarshaller().Marshall(createEnvironmentRequest);
            CreateEnvironmentResponse           response = Invoke <CreateEnvironmentRequest, CreateEnvironmentResponse> (request, this.signer, CreateEnvironmentResponseUnmarshaller.GetInstance());

            return(response);
        }
Beispiel #2
0
 public override CreateEnvironmentResponse GetResponse(UnmarshallerContext unmarshallerContext)
 {
     return(CreateEnvironmentResponseUnmarshaller.Unmarshall(unmarshallerContext));
 }