Exemplo n.º 1
0
 public override CreateLoadBalancerResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext)
 {
     return(CreateLoadBalancerResponseUnmarshaller.Unmarshall(unmarshallerContext));
 }
Exemplo n.º 2
0
        /// <summary>
        /// <para> Creates a new LoadBalancer. </para> <para> Once the call has completed successfully, a new LoadBalancer is created; however, it will
        /// not be usable until at least one instance has been registered. When the LoadBalancer creation is completed, the client can check whether or
        /// not it is usable by using the DescribeInstanceHealth API. The LoadBalancer is usable as soon as any registered instance is <i>InService</i>
        /// .
        /// </para> <para><b>NOTE:</b> Currently, the client's quota of LoadBalancers is limited to five per Region. </para> <para><b>NOTE:</b>
        /// Load balancer DNS names vary depending on the Region they're created in. For load balancers created in the United States, the DNS name ends
        /// with: us-east-1.elb.amazonaws.com (for the US Standard Region) us-west-1.elb.amazonaws.com (for the Northern California Region) For load
        /// balancers created in the EU (Ireland) Region, the DNS name ends with: eu-west-1.elb.amazonaws.com </para>
        /// </summary>
        ///
        /// <param name="createLoadBalancerRequest">Container for the necessary parameters to execute the CreateLoadBalancer service method on
        ///           AmazonElasticLoadBalancing.</param>
        ///
        /// <returns>The response from the CreateLoadBalancer service method, as returned by AmazonElasticLoadBalancing.</returns>
        ///
        /// <exception cref="TooManyLoadBalancersException"/>
        /// <exception cref="InvalidConfigurationRequestException"/>
        /// <exception cref="CertificateNotFoundException"/>
        /// <exception cref="DuplicateLoadBalancerNameException"/>
        public CreateLoadBalancerResponse CreateLoadBalancer(CreateLoadBalancerRequest createLoadBalancerRequest)
        {
            IRequest <CreateLoadBalancerRequest> request  = new CreateLoadBalancerRequestMarshaller().Marshall(createLoadBalancerRequest);
            CreateLoadBalancerResponse           response = Invoke <CreateLoadBalancerRequest, CreateLoadBalancerResponse> (request, this.signer, CreateLoadBalancerResponseUnmarshaller.GetInstance());

            return(response);
        }