amazonka-opsworks-1.6.1: Amazon OpsWorks SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.UpdateApp

Contents

Description

Updates a specified app.

Required Permissions : To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

Synopsis

Creating a Request

updateApp Source #

Arguments

:: Text

uaAppId

-> UpdateApp 

Creates a value of UpdateApp with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • uaSSLConfiguration - An SslConfiguration object with the SSL configuration.
  • uaEnvironment - An array of EnvironmentVariable objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instances.For more information, see Environment Variables . There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
  • uaEnableSSL - Whether SSL is enabled for the app.
  • uaDataSources - The app's data sources.
  • uaAppSource - A Source object that specifies the app repository.
  • uaAttributes - One or more user-defined key/value pairs to be added to the stack attributes.
  • uaName - The app name.
  • uaType - The app type.
  • uaDomains - The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'
  • uaDescription - A description of the app.
  • uaAppId - The app ID.

data UpdateApp Source #

See: updateApp smart constructor.

Instances
Eq UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Data UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateApp -> c UpdateApp #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateApp #

toConstr :: UpdateApp -> Constr #

dataTypeOf :: UpdateApp -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateApp) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateApp) #

gmapT :: (forall b. Data b => b -> b) -> UpdateApp -> UpdateApp #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateApp -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateApp -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateApp -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateApp -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateApp -> m UpdateApp #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateApp -> m UpdateApp #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateApp -> m UpdateApp #

Read UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Show UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Generic UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Associated Types

type Rep UpdateApp :: Type -> Type #

Hashable UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

ToJSON UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

AWSRequest UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Associated Types

type Rs UpdateApp :: Type #

ToHeaders UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Methods

toHeaders :: UpdateApp -> [Header] #

ToPath UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

ToQuery UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

NFData UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Methods

rnf :: UpdateApp -> () #

type Rep UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

type Rs UpdateApp Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Request Lenses

uaSSLConfiguration :: Lens' UpdateApp (Maybe SSLConfiguration) Source #

An SslConfiguration object with the SSL configuration.

uaEnvironment :: Lens' UpdateApp [EnvironmentVariable] Source #

An array of EnvironmentVariable objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instances.For more information, see Environment Variables . There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."

uaEnableSSL :: Lens' UpdateApp (Maybe Bool) Source #

Whether SSL is enabled for the app.

uaDataSources :: Lens' UpdateApp [DataSource] Source #

The app's data sources.

uaAppSource :: Lens' UpdateApp (Maybe Source) Source #

A Source object that specifies the app repository.

uaAttributes :: Lens' UpdateApp (HashMap AppAttributesKeys Text) Source #

One or more user-defined key/value pairs to be added to the stack attributes.

uaName :: Lens' UpdateApp (Maybe Text) Source #

The app name.

uaDomains :: Lens' UpdateApp [Text] Source #

The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'

uaDescription :: Lens' UpdateApp (Maybe Text) Source #

A description of the app.

Destructuring the Response

updateAppResponse :: UpdateAppResponse Source #

Creates a value of UpdateAppResponse with the minimum fields required to make a request.

data UpdateAppResponse Source #

See: updateAppResponse smart constructor.

Instances
Eq UpdateAppResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Data UpdateAppResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateAppResponse -> c UpdateAppResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateAppResponse #

toConstr :: UpdateAppResponse -> Constr #

dataTypeOf :: UpdateAppResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateAppResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateAppResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateAppResponse -> UpdateAppResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAppResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAppResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateAppResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateAppResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateAppResponse -> m UpdateAppResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAppResponse -> m UpdateAppResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAppResponse -> m UpdateAppResponse #

Read UpdateAppResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Show UpdateAppResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Generic UpdateAppResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Associated Types

type Rep UpdateAppResponse :: Type -> Type #

NFData UpdateAppResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

Methods

rnf :: UpdateAppResponse -> () #

type Rep UpdateAppResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.UpdateApp

type Rep UpdateAppResponse = D1 (MetaData "UpdateAppResponse" "Network.AWS.OpsWorks.UpdateApp" "amazonka-opsworks-1.6.1-DPqCyF3LO9t3rjfO10vXJE" False) (C1 (MetaCons "UpdateAppResponse'" PrefixI False) (U1 :: Type -> Type))