Beispiel #1
0
        public void ElasticBeanstalkTerminateEnvironment()
        {
            #region to-terminate-an-environment-1456277888556

            var client   = new AmazonElasticBeanstalkClient();
            var response = client.TerminateEnvironment(new TerminateEnvironmentRequest
            {
                EnvironmentName = "my-env"
            });

            bool            abortableOperationInProgress = response.AbortableOperationInProgress;
            string          applicationName   = response.ApplicationName;
            string          cname             = response.CNAME;
            DateTime        dateCreated       = response.DateCreated;
            DateTime        dateUpdated       = response.DateUpdated;
            string          endpointURL       = response.EndpointURL;
            string          environmentId     = response.EnvironmentId;
            string          environmentName   = response.EnvironmentName;
            string          health            = response.Health;
            string          solutionStackName = response.SolutionStackName;
            string          status            = response.Status;
            EnvironmentTier tier = response.Tier;

            #endregion
        }