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 |
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
- data UpdateApp = UpdateApp' {
- sslConfiguration :: Maybe SslConfiguration
- environment :: Maybe [EnvironmentVariable]
- enableSsl :: Maybe Bool
- dataSources :: Maybe [DataSource]
- appSource :: Maybe Source
- attributes :: Maybe (HashMap AppAttributesKeys Text)
- name :: Maybe Text
- type' :: Maybe AppType
- domains :: Maybe [Text]
- description :: Maybe Text
- appId :: Text
- newUpdateApp :: Text -> UpdateApp
- updateApp_sslConfiguration :: Lens' UpdateApp (Maybe SslConfiguration)
- updateApp_environment :: Lens' UpdateApp (Maybe [EnvironmentVariable])
- updateApp_enableSsl :: Lens' UpdateApp (Maybe Bool)
- updateApp_dataSources :: Lens' UpdateApp (Maybe [DataSource])
- updateApp_appSource :: Lens' UpdateApp (Maybe Source)
- updateApp_attributes :: Lens' UpdateApp (Maybe (HashMap AppAttributesKeys Text))
- updateApp_name :: Lens' UpdateApp (Maybe Text)
- updateApp_type :: Lens' UpdateApp (Maybe AppType)
- updateApp_domains :: Lens' UpdateApp (Maybe [Text])
- updateApp_description :: Lens' UpdateApp (Maybe Text)
- updateApp_appId :: Lens' UpdateApp Text
- data UpdateAppResponse = UpdateAppResponse' {
- newUpdateAppResponse :: UpdateAppResponse
Creating a Request
See: newUpdateApp
smart constructor.
UpdateApp' | |
|
Instances
Create a value of UpdateApp
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:sslConfiguration:UpdateApp'
, updateApp_sslConfiguration
- An SslConfiguration
object with the SSL configuration.
$sel:environment:UpdateApp'
, updateApp_environment
- 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 20 KB. 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 20 KB)."
If you have specified one or more environment variables, you cannot modify the stack's Chef version.
$sel:enableSsl:UpdateApp'
, updateApp_enableSsl
- Whether SSL is enabled for the app.
$sel:dataSources:UpdateApp'
, updateApp_dataSources
- The app's data sources.
$sel:appSource:UpdateApp'
, updateApp_appSource
- A Source
object that specifies the app repository.
$sel:attributes:UpdateApp'
, updateApp_attributes
- One or more user-defined key/value pairs to be added to the stack
attributes.
$sel:name:UpdateApp'
, updateApp_name
- The app name.
$sel:type':UpdateApp'
, updateApp_type
- The app type.
$sel:domains:UpdateApp'
, updateApp_domains
- The app's virtual host settings, with multiple domains separated by
commas. For example: 'www.example.com, example.com'
$sel:description:UpdateApp'
, updateApp_description
- A description of the app.
$sel:appId:UpdateApp'
, updateApp_appId
- The app ID.
Request Lenses
updateApp_sslConfiguration :: Lens' UpdateApp (Maybe SslConfiguration) Source #
An SslConfiguration
object with the SSL configuration.
updateApp_environment :: Lens' UpdateApp (Maybe [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 20 KB. 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 20 KB)."
If you have specified one or more environment variables, you cannot modify the stack's Chef version.
updateApp_dataSources :: Lens' UpdateApp (Maybe [DataSource]) Source #
The app's data sources.
updateApp_appSource :: Lens' UpdateApp (Maybe Source) Source #
A Source
object that specifies the app repository.
updateApp_attributes :: Lens' UpdateApp (Maybe (HashMap AppAttributesKeys Text)) Source #
One or more user-defined key/value pairs to be added to the stack attributes.
updateApp_domains :: Lens' UpdateApp (Maybe [Text]) Source #
The app's virtual host settings, with multiple domains separated by
commas. For example: 'www.example.com, example.com'
Destructuring the Response
data UpdateAppResponse Source #
See: newUpdateAppResponse
smart constructor.
Instances
Eq UpdateAppResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateApp (==) :: UpdateAppResponse -> UpdateAppResponse -> Bool # (/=) :: UpdateAppResponse -> UpdateAppResponse -> Bool # | |
Read UpdateAppResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateApp | |
Show UpdateAppResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateApp showsPrec :: Int -> UpdateAppResponse -> ShowS # show :: UpdateAppResponse -> String # showList :: [UpdateAppResponse] -> ShowS # | |
Generic UpdateAppResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateApp type Rep UpdateAppResponse :: Type -> Type # from :: UpdateAppResponse -> Rep UpdateAppResponse x # to :: Rep UpdateAppResponse x -> UpdateAppResponse # | |
NFData UpdateAppResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateApp rnf :: UpdateAppResponse -> () # | |
type Rep UpdateAppResponse Source # | |
newUpdateAppResponse :: UpdateAppResponse Source #
Create a value of UpdateAppResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.