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 ManagingUser Permissions.
http://docs.aws.amazon.com/opsworks/latest/APIReference/API_UpdateApp.html
- data UpdateApp
- updateApp :: Text -> UpdateApp
- uaAppId :: Lens' UpdateApp Text
- uaAppSource :: Lens' UpdateApp (Maybe Source)
- uaAttributes :: Lens' UpdateApp (HashMap AppAttributesKeys Text)
- uaDataSources :: Lens' UpdateApp [DataSource]
- uaDescription :: Lens' UpdateApp (Maybe Text)
- uaDomains :: Lens' UpdateApp [Text]
- uaEnableSsl :: Lens' UpdateApp (Maybe Bool)
- uaEnvironment :: Lens' UpdateApp [EnvironmentVariable]
- uaName :: Lens' UpdateApp (Maybe Text)
- uaSslConfiguration :: Lens' UpdateApp (Maybe SslConfiguration)
- uaType :: Lens' UpdateApp (Maybe AppType)
- data UpdateAppResponse
- updateAppResponse :: UpdateAppResponse
Request
Request constructor
UpdateApp
constructor.
The fields accessible through corresponding lenses are:
uaAppId
::
Text
uaAppSource
::
Maybe
Source
uaAttributes
::
HashMap
AppAttributesKeys
Text
uaDataSources
::
[DataSource
]uaDescription
::
Maybe
Text
uaDomains
::
[Text
]uaEnableSsl
::
Maybe
Bool
uaEnvironment
::
[EnvironmentVariable
]uaName
::
Maybe
Text
uaSslConfiguration
::
Maybe
SslConfiguration
uaType
::
Maybe
AppType
Request lenses
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.
uaDataSources :: Lens' UpdateApp [DataSource] Source
The app's data sources.
uaDescription :: Lens' UpdateApp (Maybe Text) Source
A description of the app.
uaDomains :: Lens' UpdateApp [Text] Source
The app's virtual host settings, with multiple domains separated by commas. For example: ''www.example.com, example.com''
uaEnableSsl :: Lens' UpdateApp (Maybe Bool) Source
Whether SSL is enabled for the app.
uaEnvironment :: Lens' UpdateApp [EnvironmentVariable] Source
An array of EnvironmentVariable
objects that specify environment variables to
be associated with the app. You can specify up to ten environment variables.
After you deploy the app, these variables are defined on the associated app
server instances.
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version.
uaSslConfiguration :: Lens' UpdateApp (Maybe SslConfiguration) Source
An SslConfiguration
object with the SSL configuration.
Response
data UpdateAppResponse Source
Response constructor
updateAppResponse :: UpdateAppResponse Source
UpdateAppResponse
constructor.