protected EnvironmentDescription lookupEnvironment(String applicationName, String environmentCNamePrefix, String environmentName) throws MojoExecutionException {
if (isBlank(environmentCNamePrefix) && isBlank(environmentName))
throw new MojoExecutionException("You must declare either cnamePrefix or environmentName");
DescribeEnvironmentsRequest req = new DescribeEnvironmentsRequest()
.withApplicationName(applicationName);
DescribeEnvironmentsResult result = null;
result = getService().describeEnvironments(req);