示例#1
0
        public void BatchUpdateComputeEnvironment()
        {
            #region to-update-a-compute-environment-1481154702731

            var client   = new AmazonBatchClient();
            var response = client.UpdateComputeEnvironment(new UpdateComputeEnvironmentRequest
            {
                ComputeEnvironment = "P2OnDemand",
                State = "DISABLED"
            });

            string computeEnvironmentArn  = response.ComputeEnvironmentArn;
            string computeEnvironmentName = response.ComputeEnvironmentName;

            #endregion
        }