internal/pkg/deploy/env.go (8 lines of code) (raw):
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Package deploy holds the structures to deploy infrastructure resources.
// This file defines environment deployment resources.
package deploy
import (
"github.com/aws/copilot-cli/internal/pkg/config"
)
// CreateEnvironmentResponse holds the created environment on successful deployment.
// Otherwise, the environment is set to nil and a descriptive error is returned.
type CreateEnvironmentResponse struct {
Env *config.Environment
Err error
}