Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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
- updateApp :: Text -> UpdateApp
- data UpdateApp
- uaSSLConfiguration :: Lens' UpdateApp (Maybe SSLConfiguration)
- uaEnvironment :: Lens' UpdateApp [EnvironmentVariable]
- uaEnableSSL :: Lens' UpdateApp (Maybe Bool)
- uaDataSources :: Lens' UpdateApp [DataSource]
- uaAppSource :: Lens' UpdateApp (Maybe Source)
- uaAttributes :: Lens' UpdateApp (HashMap AppAttributesKeys Text)
- uaName :: Lens' UpdateApp (Maybe Text)
- uaType :: Lens' UpdateApp (Maybe AppType)
- uaDomains :: Lens' UpdateApp [Text]
- uaDescription :: Lens' UpdateApp (Maybe Text)
- uaAppId :: Lens' UpdateApp Text
- updateAppResponse :: UpdateAppResponse
- data UpdateAppResponse
Creating a Request
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
- AnSslConfiguration
object with the SSL configuration.uaEnvironment
- An array ofEnvironmentVariable
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
- ASource
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.
See: updateApp
smart constructor.
Instances
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)."
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.
uaDomains :: Lens' UpdateApp [Text] Source #
The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'
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.