Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Environment = Environment' {
- deploymentStatusMessage :: Maybe (Sensitive Text)
- environmentAccountId :: Maybe Text
- provisioning :: Maybe Provisioning
- protonServiceRoleArn :: Maybe Text
- environmentAccountConnectionId :: Maybe Text
- spec :: Maybe (Sensitive Text)
- description :: Maybe (Sensitive Text)
- arn :: Text
- createdAt :: POSIX
- deploymentStatus :: DeploymentStatus
- lastDeploymentAttemptedAt :: POSIX
- lastDeploymentSucceededAt :: POSIX
- name :: Text
- templateMajorVersion :: Text
- templateMinorVersion :: Text
- templateName :: Text
- newEnvironment :: Text -> UTCTime -> DeploymentStatus -> UTCTime -> UTCTime -> Text -> Text -> Text -> Text -> Environment
- environment_deploymentStatusMessage :: Lens' Environment (Maybe Text)
- environment_environmentAccountId :: Lens' Environment (Maybe Text)
- environment_provisioning :: Lens' Environment (Maybe Provisioning)
- environment_protonServiceRoleArn :: Lens' Environment (Maybe Text)
- environment_environmentAccountConnectionId :: Lens' Environment (Maybe Text)
- environment_spec :: Lens' Environment (Maybe Text)
- environment_description :: Lens' Environment (Maybe Text)
- environment_arn :: Lens' Environment Text
- environment_createdAt :: Lens' Environment UTCTime
- environment_deploymentStatus :: Lens' Environment DeploymentStatus
- environment_lastDeploymentAttemptedAt :: Lens' Environment UTCTime
- environment_lastDeploymentSucceededAt :: Lens' Environment UTCTime
- environment_name :: Lens' Environment Text
- environment_templateMajorVersion :: Lens' Environment Text
- environment_templateMinorVersion :: Lens' Environment Text
- environment_templateName :: Lens' Environment Text
Documentation
data Environment Source #
The environment detail data. An AWS Proton environment is a set resources shared across an AWS Proton service.
See: newEnvironment
smart constructor.
Environment' | |
|
Instances
:: Text | |
-> UTCTime | |
-> DeploymentStatus | |
-> UTCTime | |
-> UTCTime | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> Environment |
Create a value of Environment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deploymentStatusMessage:Environment'
, environment_deploymentStatusMessage
- An environment deployment status message.
$sel:environmentAccountId:Environment'
, environment_environmentAccountId
- The ID of the environment account that the environment infrastructure
resources are provisioned in.
$sel:provisioning:Environment'
, environment_provisioning
- When included, indicates that the environment template is for customer
provisioned and managed infrastructure.
$sel:protonServiceRoleArn:Environment'
, environment_protonServiceRoleArn
- The Amazon Resource Name (ARN) of the AWS Proton service role that
allows AWS Proton to make calls to other services on your behalf.
$sel:environmentAccountConnectionId:Environment'
, environment_environmentAccountConnectionId
- The ID of the environment account connection that's used to provision
infrastructure resources in an environment account.
$sel:spec:Environment'
, environment_spec
- The environment spec.
$sel:description:Environment'
, environment_description
- The description of the environment.
$sel:arn:Environment'
, environment_arn
- The Amazon Resource Name (ARN) of the environment.
$sel:createdAt:Environment'
, environment_createdAt
- The time when the environment was created.
$sel:deploymentStatus:Environment'
, environment_deploymentStatus
- The environment deployment status.
$sel:lastDeploymentAttemptedAt:Environment'
, environment_lastDeploymentAttemptedAt
- The time when a deployment of the environment was last attempted.
$sel:lastDeploymentSucceededAt:Environment'
, environment_lastDeploymentSucceededAt
- The time when the environment was last deployed successfully.
$sel:name:Environment'
, environment_name
- The name of the environment.
$sel:templateMajorVersion:Environment'
, environment_templateMajorVersion
- The ID of the major version of the environment template.
$sel:templateMinorVersion:Environment'
, environment_templateMinorVersion
- The ID of the minor version of the environment template.
$sel:templateName:Environment'
, environment_templateName
- The Amazon Resource Name (ARN) of the environment template.
environment_deploymentStatusMessage :: Lens' Environment (Maybe Text) Source #
An environment deployment status message.
environment_environmentAccountId :: Lens' Environment (Maybe Text) Source #
The ID of the environment account that the environment infrastructure resources are provisioned in.
environment_provisioning :: Lens' Environment (Maybe Provisioning) Source #
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
environment_protonServiceRoleArn :: Lens' Environment (Maybe Text) Source #
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to other services on your behalf.
environment_environmentAccountConnectionId :: Lens' Environment (Maybe Text) Source #
The ID of the environment account connection that's used to provision infrastructure resources in an environment account.
environment_spec :: Lens' Environment (Maybe Text) Source #
The environment spec.
environment_description :: Lens' Environment (Maybe Text) Source #
The description of the environment.
environment_arn :: Lens' Environment Text Source #
The Amazon Resource Name (ARN) of the environment.
environment_createdAt :: Lens' Environment UTCTime Source #
The time when the environment was created.
environment_deploymentStatus :: Lens' Environment DeploymentStatus Source #
The environment deployment status.
environment_lastDeploymentAttemptedAt :: Lens' Environment UTCTime Source #
The time when a deployment of the environment was last attempted.
environment_lastDeploymentSucceededAt :: Lens' Environment UTCTime Source #
The time when the environment was last deployed successfully.
environment_name :: Lens' Environment Text Source #
The name of the environment.
environment_templateMajorVersion :: Lens' Environment Text Source #
The ID of the major version of the environment template.
environment_templateMinorVersion :: Lens' Environment Text Source #
The ID of the minor version of the environment template.
environment_templateName :: Lens' Environment Text Source #
The Amazon Resource Name (ARN) of the environment template.