{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.SecurityHub.Types.AwsElasticBeanstalkEnvironmentDetails
-- 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)
module Amazonka.SecurityHub.Types.AwsElasticBeanstalkEnvironmentDetails where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.SecurityHub.Types.AwsElasticBeanstalkEnvironmentEnvironmentLink
import Amazonka.SecurityHub.Types.AwsElasticBeanstalkEnvironmentOptionSetting
import Amazonka.SecurityHub.Types.AwsElasticBeanstalkEnvironmentTier

-- | Contains details about an Elastic Beanstalk environment.
--
-- /See:/ 'newAwsElasticBeanstalkEnvironmentDetails' smart constructor.
data AwsElasticBeanstalkEnvironmentDetails = AwsElasticBeanstalkEnvironmentDetails'
  { -- | The current operational status of the environment.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
status :: Prelude.Maybe Prelude.Text,
    -- | The URL to the CNAME for this environment.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
cname :: Prelude.Maybe Prelude.Text,
    -- | For load-balanced, autoscaling environments, the URL to the load
    -- balancer. For single-instance environments, the IP address of the
    -- instance.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
endpointUrl :: Prelude.Maybe Prelude.Text,
    -- | The configuration setting for the environment.
    AwsElasticBeanstalkEnvironmentDetails
-> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
optionSettings :: Prelude.Maybe [AwsElasticBeanstalkEnvironmentOptionSetting],
    -- | The date when this environment was last modified.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
dateUpdated :: Prelude.Maybe Prelude.Text,
    -- | The creation date for this environment.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
dateCreated :: Prelude.Maybe Prelude.Text,
    -- | The application version of the environment.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
versionLabel :: Prelude.Maybe Prelude.Text,
    -- | The ARN of the platform version for the environment.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
platformArn :: Prelude.Maybe Prelude.Text,
    -- | The tier of the environment.
    AwsElasticBeanstalkEnvironmentDetails
-> Maybe AwsElasticBeanstalkEnvironmentTier
tier :: Prelude.Maybe AwsElasticBeanstalkEnvironmentTier,
    -- | The name of the environment.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
environmentName :: Prelude.Maybe Prelude.Text,
    -- | The name of the application that is associated with the environment.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
applicationName :: Prelude.Maybe Prelude.Text,
    -- | The ARN of the environment.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
environmentArn :: Prelude.Maybe Prelude.Text,
    -- | The name of the solution stack that is deployed with the environment.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
solutionStackName :: Prelude.Maybe Prelude.Text,
    -- | The identifier of the environment.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
environmentId :: Prelude.Maybe Prelude.Text,
    -- | Links to other environments in the same group.
    AwsElasticBeanstalkEnvironmentDetails
-> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
environmentLinks :: Prelude.Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink],
    -- | A description of the environment.
    AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
description :: Prelude.Maybe Prelude.Text
  }
  deriving (AwsElasticBeanstalkEnvironmentDetails
-> AwsElasticBeanstalkEnvironmentDetails -> Bool
(AwsElasticBeanstalkEnvironmentDetails
 -> AwsElasticBeanstalkEnvironmentDetails -> Bool)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> AwsElasticBeanstalkEnvironmentDetails -> Bool)
-> Eq AwsElasticBeanstalkEnvironmentDetails
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AwsElasticBeanstalkEnvironmentDetails
-> AwsElasticBeanstalkEnvironmentDetails -> Bool
$c/= :: AwsElasticBeanstalkEnvironmentDetails
-> AwsElasticBeanstalkEnvironmentDetails -> Bool
== :: AwsElasticBeanstalkEnvironmentDetails
-> AwsElasticBeanstalkEnvironmentDetails -> Bool
$c== :: AwsElasticBeanstalkEnvironmentDetails
-> AwsElasticBeanstalkEnvironmentDetails -> Bool
Prelude.Eq, ReadPrec [AwsElasticBeanstalkEnvironmentDetails]
ReadPrec AwsElasticBeanstalkEnvironmentDetails
Int -> ReadS AwsElasticBeanstalkEnvironmentDetails
ReadS [AwsElasticBeanstalkEnvironmentDetails]
(Int -> ReadS AwsElasticBeanstalkEnvironmentDetails)
-> ReadS [AwsElasticBeanstalkEnvironmentDetails]
-> ReadPrec AwsElasticBeanstalkEnvironmentDetails
-> ReadPrec [AwsElasticBeanstalkEnvironmentDetails]
-> Read AwsElasticBeanstalkEnvironmentDetails
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AwsElasticBeanstalkEnvironmentDetails]
$creadListPrec :: ReadPrec [AwsElasticBeanstalkEnvironmentDetails]
readPrec :: ReadPrec AwsElasticBeanstalkEnvironmentDetails
$creadPrec :: ReadPrec AwsElasticBeanstalkEnvironmentDetails
readList :: ReadS [AwsElasticBeanstalkEnvironmentDetails]
$creadList :: ReadS [AwsElasticBeanstalkEnvironmentDetails]
readsPrec :: Int -> ReadS AwsElasticBeanstalkEnvironmentDetails
$creadsPrec :: Int -> ReadS AwsElasticBeanstalkEnvironmentDetails
Prelude.Read, Int -> AwsElasticBeanstalkEnvironmentDetails -> ShowS
[AwsElasticBeanstalkEnvironmentDetails] -> ShowS
AwsElasticBeanstalkEnvironmentDetails -> String
(Int -> AwsElasticBeanstalkEnvironmentDetails -> ShowS)
-> (AwsElasticBeanstalkEnvironmentDetails -> String)
-> ([AwsElasticBeanstalkEnvironmentDetails] -> ShowS)
-> Show AwsElasticBeanstalkEnvironmentDetails
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AwsElasticBeanstalkEnvironmentDetails] -> ShowS
$cshowList :: [AwsElasticBeanstalkEnvironmentDetails] -> ShowS
show :: AwsElasticBeanstalkEnvironmentDetails -> String
$cshow :: AwsElasticBeanstalkEnvironmentDetails -> String
showsPrec :: Int -> AwsElasticBeanstalkEnvironmentDetails -> ShowS
$cshowsPrec :: Int -> AwsElasticBeanstalkEnvironmentDetails -> ShowS
Prelude.Show, (forall x.
 AwsElasticBeanstalkEnvironmentDetails
 -> Rep AwsElasticBeanstalkEnvironmentDetails x)
-> (forall x.
    Rep AwsElasticBeanstalkEnvironmentDetails x
    -> AwsElasticBeanstalkEnvironmentDetails)
-> Generic AwsElasticBeanstalkEnvironmentDetails
forall x.
Rep AwsElasticBeanstalkEnvironmentDetails x
-> AwsElasticBeanstalkEnvironmentDetails
forall x.
AwsElasticBeanstalkEnvironmentDetails
-> Rep AwsElasticBeanstalkEnvironmentDetails x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AwsElasticBeanstalkEnvironmentDetails x
-> AwsElasticBeanstalkEnvironmentDetails
$cfrom :: forall x.
AwsElasticBeanstalkEnvironmentDetails
-> Rep AwsElasticBeanstalkEnvironmentDetails x
Prelude.Generic)

-- |
-- Create a value of 'AwsElasticBeanstalkEnvironmentDetails' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'status', 'awsElasticBeanstalkEnvironmentDetails_status' - The current operational status of the environment.
--
-- 'cname', 'awsElasticBeanstalkEnvironmentDetails_cname' - The URL to the CNAME for this environment.
--
-- 'endpointUrl', 'awsElasticBeanstalkEnvironmentDetails_endpointUrl' - For load-balanced, autoscaling environments, the URL to the load
-- balancer. For single-instance environments, the IP address of the
-- instance.
--
-- 'optionSettings', 'awsElasticBeanstalkEnvironmentDetails_optionSettings' - The configuration setting for the environment.
--
-- 'dateUpdated', 'awsElasticBeanstalkEnvironmentDetails_dateUpdated' - The date when this environment was last modified.
--
-- 'dateCreated', 'awsElasticBeanstalkEnvironmentDetails_dateCreated' - The creation date for this environment.
--
-- 'versionLabel', 'awsElasticBeanstalkEnvironmentDetails_versionLabel' - The application version of the environment.
--
-- 'platformArn', 'awsElasticBeanstalkEnvironmentDetails_platformArn' - The ARN of the platform version for the environment.
--
-- 'tier', 'awsElasticBeanstalkEnvironmentDetails_tier' - The tier of the environment.
--
-- 'environmentName', 'awsElasticBeanstalkEnvironmentDetails_environmentName' - The name of the environment.
--
-- 'applicationName', 'awsElasticBeanstalkEnvironmentDetails_applicationName' - The name of the application that is associated with the environment.
--
-- 'environmentArn', 'awsElasticBeanstalkEnvironmentDetails_environmentArn' - The ARN of the environment.
--
-- 'solutionStackName', 'awsElasticBeanstalkEnvironmentDetails_solutionStackName' - The name of the solution stack that is deployed with the environment.
--
-- 'environmentId', 'awsElasticBeanstalkEnvironmentDetails_environmentId' - The identifier of the environment.
--
-- 'environmentLinks', 'awsElasticBeanstalkEnvironmentDetails_environmentLinks' - Links to other environments in the same group.
--
-- 'description', 'awsElasticBeanstalkEnvironmentDetails_description' - A description of the environment.
newAwsElasticBeanstalkEnvironmentDetails ::
  AwsElasticBeanstalkEnvironmentDetails
newAwsElasticBeanstalkEnvironmentDetails :: AwsElasticBeanstalkEnvironmentDetails
newAwsElasticBeanstalkEnvironmentDetails =
  AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsElasticBeanstalkEnvironmentTier
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
-> Maybe Text
-> AwsElasticBeanstalkEnvironmentDetails
AwsElasticBeanstalkEnvironmentDetails'
    { $sel:status:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
status =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:cname:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
cname = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:endpointUrl:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
endpointUrl = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:optionSettings:AwsElasticBeanstalkEnvironmentDetails' :: Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
optionSettings = Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
forall a. Maybe a
Prelude.Nothing,
      $sel:dateUpdated:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
dateUpdated = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:dateCreated:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
dateCreated = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:versionLabel:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
versionLabel = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:platformArn:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
platformArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:tier:AwsElasticBeanstalkEnvironmentDetails' :: Maybe AwsElasticBeanstalkEnvironmentTier
tier = Maybe AwsElasticBeanstalkEnvironmentTier
forall a. Maybe a
Prelude.Nothing,
      $sel:environmentName:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
environmentName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:applicationName:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
applicationName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:environmentArn:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
environmentArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:solutionStackName:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
solutionStackName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:environmentId:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
environmentId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:environmentLinks:AwsElasticBeanstalkEnvironmentDetails' :: Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
environmentLinks = Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
forall a. Maybe a
Prelude.Nothing,
      $sel:description:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing
    }

-- | The current operational status of the environment.
awsElasticBeanstalkEnvironmentDetails_status :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_status :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_status = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
status :: Maybe Text
$sel:status:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
status} -> Maybe Text
status) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:status:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
status = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | The URL to the CNAME for this environment.
awsElasticBeanstalkEnvironmentDetails_cname :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_cname :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_cname = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
cname :: Maybe Text
$sel:cname:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
cname} -> Maybe Text
cname) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:cname:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
cname = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | For load-balanced, autoscaling environments, the URL to the load
-- balancer. For single-instance environments, the IP address of the
-- instance.
awsElasticBeanstalkEnvironmentDetails_endpointUrl :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_endpointUrl :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_endpointUrl = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
endpointUrl :: Maybe Text
$sel:endpointUrl:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
endpointUrl} -> Maybe Text
endpointUrl) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:endpointUrl:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
endpointUrl = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | The configuration setting for the environment.
awsElasticBeanstalkEnvironmentDetails_optionSettings :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe [AwsElasticBeanstalkEnvironmentOptionSetting])
awsElasticBeanstalkEnvironmentDetails_optionSettings :: (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
 -> f (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_optionSettings = (AwsElasticBeanstalkEnvironmentDetails
 -> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting])
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
    -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting])
     (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
optionSettings :: Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
$sel:optionSettings:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails
-> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
optionSettings} -> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
optionSettings) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:optionSettings:AwsElasticBeanstalkEnvironmentDetails' :: Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
optionSettings = Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
a} :: AwsElasticBeanstalkEnvironmentDetails) ((Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
  -> f (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]))
 -> AwsElasticBeanstalkEnvironmentDetails
 -> f AwsElasticBeanstalkEnvironmentDetails)
-> ((Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
     -> f (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]))
    -> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
    -> f (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]))
-> (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
    -> f (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [AwsElasticBeanstalkEnvironmentOptionSetting]
  [AwsElasticBeanstalkEnvironmentOptionSetting]
  [AwsElasticBeanstalkEnvironmentOptionSetting]
  [AwsElasticBeanstalkEnvironmentOptionSetting]
-> Iso
     (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting])
     (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting])
     (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting])
     (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
  [AwsElasticBeanstalkEnvironmentOptionSetting]
  [AwsElasticBeanstalkEnvironmentOptionSetting]
  [AwsElasticBeanstalkEnvironmentOptionSetting]
  [AwsElasticBeanstalkEnvironmentOptionSetting]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The date when this environment was last modified.
awsElasticBeanstalkEnvironmentDetails_dateUpdated :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_dateUpdated :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_dateUpdated = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
dateUpdated :: Maybe Text
$sel:dateUpdated:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
dateUpdated} -> Maybe Text
dateUpdated) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:dateUpdated:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
dateUpdated = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | The creation date for this environment.
awsElasticBeanstalkEnvironmentDetails_dateCreated :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_dateCreated :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_dateCreated = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
dateCreated :: Maybe Text
$sel:dateCreated:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
dateCreated} -> Maybe Text
dateCreated) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:dateCreated:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
dateCreated = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | The application version of the environment.
awsElasticBeanstalkEnvironmentDetails_versionLabel :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_versionLabel :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_versionLabel = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
versionLabel :: Maybe Text
$sel:versionLabel:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
versionLabel} -> Maybe Text
versionLabel) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:versionLabel:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
versionLabel = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | The ARN of the platform version for the environment.
awsElasticBeanstalkEnvironmentDetails_platformArn :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_platformArn :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_platformArn = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
platformArn :: Maybe Text
$sel:platformArn:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
platformArn} -> Maybe Text
platformArn) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:platformArn:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
platformArn = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | The tier of the environment.
awsElasticBeanstalkEnvironmentDetails_tier :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe AwsElasticBeanstalkEnvironmentTier)
awsElasticBeanstalkEnvironmentDetails_tier :: (Maybe AwsElasticBeanstalkEnvironmentTier
 -> f (Maybe AwsElasticBeanstalkEnvironmentTier))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_tier = (AwsElasticBeanstalkEnvironmentDetails
 -> Maybe AwsElasticBeanstalkEnvironmentTier)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe AwsElasticBeanstalkEnvironmentTier
    -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe AwsElasticBeanstalkEnvironmentTier)
     (Maybe AwsElasticBeanstalkEnvironmentTier)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe AwsElasticBeanstalkEnvironmentTier
tier :: Maybe AwsElasticBeanstalkEnvironmentTier
$sel:tier:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails
-> Maybe AwsElasticBeanstalkEnvironmentTier
tier} -> Maybe AwsElasticBeanstalkEnvironmentTier
tier) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe AwsElasticBeanstalkEnvironmentTier
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:tier:AwsElasticBeanstalkEnvironmentDetails' :: Maybe AwsElasticBeanstalkEnvironmentTier
tier = Maybe AwsElasticBeanstalkEnvironmentTier
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | The name of the environment.
awsElasticBeanstalkEnvironmentDetails_environmentName :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_environmentName :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_environmentName = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
environmentName :: Maybe Text
$sel:environmentName:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
environmentName} -> Maybe Text
environmentName) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:environmentName:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
environmentName = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | The name of the application that is associated with the environment.
awsElasticBeanstalkEnvironmentDetails_applicationName :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_applicationName :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_applicationName = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
applicationName :: Maybe Text
$sel:applicationName:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
applicationName} -> Maybe Text
applicationName) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:applicationName:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
applicationName = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | The ARN of the environment.
awsElasticBeanstalkEnvironmentDetails_environmentArn :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_environmentArn :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_environmentArn = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
environmentArn :: Maybe Text
$sel:environmentArn:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
environmentArn} -> Maybe Text
environmentArn) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:environmentArn:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
environmentArn = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | The name of the solution stack that is deployed with the environment.
awsElasticBeanstalkEnvironmentDetails_solutionStackName :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_solutionStackName :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_solutionStackName = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
solutionStackName :: Maybe Text
$sel:solutionStackName:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
solutionStackName} -> Maybe Text
solutionStackName) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:solutionStackName:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
solutionStackName = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | The identifier of the environment.
awsElasticBeanstalkEnvironmentDetails_environmentId :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_environmentId :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_environmentId = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
environmentId :: Maybe Text
$sel:environmentId:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
environmentId} -> Maybe Text
environmentId) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:environmentId:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
environmentId = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

-- | Links to other environments in the same group.
awsElasticBeanstalkEnvironmentDetails_environmentLinks :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink])
awsElasticBeanstalkEnvironmentDetails_environmentLinks :: (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
 -> f (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_environmentLinks = (AwsElasticBeanstalkEnvironmentDetails
 -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink])
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
    -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink])
     (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
environmentLinks :: Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
$sel:environmentLinks:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails
-> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
environmentLinks} -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
environmentLinks) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:environmentLinks:AwsElasticBeanstalkEnvironmentDetails' :: Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
environmentLinks = Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
a} :: AwsElasticBeanstalkEnvironmentDetails) ((Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
  -> f (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]))
 -> AwsElasticBeanstalkEnvironmentDetails
 -> f AwsElasticBeanstalkEnvironmentDetails)
-> ((Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
     -> f (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]))
    -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
    -> f (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]))
-> (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
    -> f (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [AwsElasticBeanstalkEnvironmentEnvironmentLink]
  [AwsElasticBeanstalkEnvironmentEnvironmentLink]
  [AwsElasticBeanstalkEnvironmentEnvironmentLink]
  [AwsElasticBeanstalkEnvironmentEnvironmentLink]
-> Iso
     (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink])
     (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink])
     (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink])
     (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
  [AwsElasticBeanstalkEnvironmentEnvironmentLink]
  [AwsElasticBeanstalkEnvironmentEnvironmentLink]
  [AwsElasticBeanstalkEnvironmentEnvironmentLink]
  [AwsElasticBeanstalkEnvironmentEnvironmentLink]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | A description of the environment.
awsElasticBeanstalkEnvironmentDetails_description :: Lens.Lens' AwsElasticBeanstalkEnvironmentDetails (Prelude.Maybe Prelude.Text)
awsElasticBeanstalkEnvironmentDetails_description :: (Maybe Text -> f (Maybe Text))
-> AwsElasticBeanstalkEnvironmentDetails
-> f AwsElasticBeanstalkEnvironmentDetails
awsElasticBeanstalkEnvironmentDetails_description = (AwsElasticBeanstalkEnvironmentDetails -> Maybe Text)
-> (AwsElasticBeanstalkEnvironmentDetails
    -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Lens
     AwsElasticBeanstalkEnvironmentDetails
     AwsElasticBeanstalkEnvironmentDetails
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElasticBeanstalkEnvironmentDetails' {Maybe Text
description :: Maybe Text
$sel:description:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
description} -> Maybe Text
description) (\s :: AwsElasticBeanstalkEnvironmentDetails
s@AwsElasticBeanstalkEnvironmentDetails' {} Maybe Text
a -> AwsElasticBeanstalkEnvironmentDetails
s {$sel:description:AwsElasticBeanstalkEnvironmentDetails' :: Maybe Text
description = Maybe Text
a} :: AwsElasticBeanstalkEnvironmentDetails)

instance
  Core.FromJSON
    AwsElasticBeanstalkEnvironmentDetails
  where
  parseJSON :: Value -> Parser AwsElasticBeanstalkEnvironmentDetails
parseJSON =
    String
-> (Object -> Parser AwsElasticBeanstalkEnvironmentDetails)
-> Value
-> Parser AwsElasticBeanstalkEnvironmentDetails
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"AwsElasticBeanstalkEnvironmentDetails"
      ( \Object
x ->
          Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsElasticBeanstalkEnvironmentTier
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
-> Maybe Text
-> AwsElasticBeanstalkEnvironmentDetails
AwsElasticBeanstalkEnvironmentDetails'
            (Maybe Text
 -> Maybe Text
 -> Maybe Text
 -> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
 -> Maybe Text
 -> Maybe Text
 -> Maybe Text
 -> Maybe Text
 -> Maybe AwsElasticBeanstalkEnvironmentTier
 -> Maybe Text
 -> Maybe Text
 -> Maybe Text
 -> Maybe Text
 -> Maybe Text
 -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
 -> Maybe Text
 -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe AwsElasticBeanstalkEnvironmentTier
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Status")
            Parser
  (Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe AwsElasticBeanstalkEnvironmentTier
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe AwsElasticBeanstalkEnvironmentTier
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Cname")
            Parser
  (Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe AwsElasticBeanstalkEnvironmentTier
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser
     (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe AwsElasticBeanstalkEnvironmentTier
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EndpointUrl")
            Parser
  (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe AwsElasticBeanstalkEnvironmentTier
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting])
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe AwsElasticBeanstalkEnvironmentTier
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text
-> Parser
     (Maybe (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"OptionSettings" Parser
  (Maybe (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]))
-> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
-> Parser (Maybe [AwsElasticBeanstalkEnvironmentOptionSetting])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
forall a. Monoid a => a
Prelude.mempty)
            Parser
  (Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe AwsElasticBeanstalkEnvironmentTier
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe AwsElasticBeanstalkEnvironmentTier
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DateUpdated")
            Parser
  (Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe AwsElasticBeanstalkEnvironmentTier
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe AwsElasticBeanstalkEnvironmentTier
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DateCreated")
            Parser
  (Maybe Text
   -> Maybe Text
   -> Maybe AwsElasticBeanstalkEnvironmentTier
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe AwsElasticBeanstalkEnvironmentTier
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"VersionLabel")
            Parser
  (Maybe Text
   -> Maybe AwsElasticBeanstalkEnvironmentTier
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser
     (Maybe AwsElasticBeanstalkEnvironmentTier
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"PlatformArn")
            Parser
  (Maybe AwsElasticBeanstalkEnvironmentTier
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe AwsElasticBeanstalkEnvironmentTier)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe AwsElasticBeanstalkEnvironmentTier)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Tier")
            Parser
  (Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EnvironmentName")
            Parser
  (Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ApplicationName")
            Parser
  (Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EnvironmentArn")
            Parser
  (Maybe Text
   -> Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text
      -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"SolutionStackName")
            Parser
  (Maybe Text
   -> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text
   -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser
     (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
      -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EnvironmentId")
            Parser
  (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
   -> Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink])
-> Parser (Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Parser
     (Maybe (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EnvironmentLinks"
                            Parser
  (Maybe (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]))
-> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
-> Parser (Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
forall a. Monoid a => a
Prelude.mempty
                        )
            Parser (Maybe Text -> AwsElasticBeanstalkEnvironmentDetails)
-> Parser (Maybe Text)
-> Parser AwsElasticBeanstalkEnvironmentDetails
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Description")
      )

instance
  Prelude.Hashable
    AwsElasticBeanstalkEnvironmentDetails

instance
  Prelude.NFData
    AwsElasticBeanstalkEnvironmentDetails

instance
  Core.ToJSON
    AwsElasticBeanstalkEnvironmentDetails
  where
  toJSON :: AwsElasticBeanstalkEnvironmentDetails -> Value
toJSON AwsElasticBeanstalkEnvironmentDetails' {Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
Maybe Text
Maybe AwsElasticBeanstalkEnvironmentTier
description :: Maybe Text
environmentLinks :: Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
environmentId :: Maybe Text
solutionStackName :: Maybe Text
environmentArn :: Maybe Text
applicationName :: Maybe Text
environmentName :: Maybe Text
tier :: Maybe AwsElasticBeanstalkEnvironmentTier
platformArn :: Maybe Text
versionLabel :: Maybe Text
dateCreated :: Maybe Text
dateUpdated :: Maybe Text
optionSettings :: Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
endpointUrl :: Maybe Text
cname :: Maybe Text
status :: Maybe Text
$sel:description:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
$sel:environmentLinks:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails
-> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
$sel:environmentId:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
$sel:solutionStackName:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
$sel:environmentArn:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
$sel:applicationName:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
$sel:environmentName:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
$sel:tier:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails
-> Maybe AwsElasticBeanstalkEnvironmentTier
$sel:platformArn:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
$sel:versionLabel:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
$sel:dateCreated:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
$sel:dateUpdated:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
$sel:optionSettings:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails
-> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
$sel:endpointUrl:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
$sel:cname:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
$sel:status:AwsElasticBeanstalkEnvironmentDetails' :: AwsElasticBeanstalkEnvironmentDetails -> Maybe Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Text
"Status" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
status,
            (Text
"Cname" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
cname,
            (Text
"EndpointUrl" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
endpointUrl,
            (Text
"OptionSettings" Text -> [AwsElasticBeanstalkEnvironmentOptionSetting] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              ([AwsElasticBeanstalkEnvironmentOptionSetting] -> Pair)
-> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
-> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AwsElasticBeanstalkEnvironmentOptionSetting]
optionSettings,
            (Text
"DateUpdated" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
dateUpdated,
            (Text
"DateCreated" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
dateCreated,
            (Text
"VersionLabel" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
versionLabel,
            (Text
"PlatformArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
platformArn,
            (Text
"Tier" Text -> AwsElasticBeanstalkEnvironmentTier -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (AwsElasticBeanstalkEnvironmentTier -> Pair)
-> Maybe AwsElasticBeanstalkEnvironmentTier -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AwsElasticBeanstalkEnvironmentTier
tier,
            (Text
"EnvironmentName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
environmentName,
            (Text
"ApplicationName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
applicationName,
            (Text
"EnvironmentArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
environmentArn,
            (Text
"SolutionStackName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
solutionStackName,
            (Text
"EnvironmentId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
environmentId,
            (Text
"EnvironmentLinks" Text -> [AwsElasticBeanstalkEnvironmentEnvironmentLink] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              ([AwsElasticBeanstalkEnvironmentEnvironmentLink] -> Pair)
-> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
-> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AwsElasticBeanstalkEnvironmentEnvironmentLink]
environmentLinks,
            (Text
"Description" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
description
          ]
      )