Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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
- data UpdateApp = UpdateApp' {
- appSource :: Maybe Source
- attributes :: Maybe (HashMap AppAttributesKeys Text)
- dataSources :: Maybe [DataSource]
- description :: Maybe Text
- domains :: Maybe [Text]
- enableSsl :: Maybe Bool
- environment :: Maybe [EnvironmentVariable]
- name :: Maybe Text
- sslConfiguration :: Maybe SslConfiguration
- type' :: Maybe AppType
- appId :: Text
- newUpdateApp :: Text -> UpdateApp
- updateApp_appSource :: Lens' UpdateApp (Maybe Source)
- updateApp_attributes :: Lens' UpdateApp (Maybe (HashMap AppAttributesKeys Text))
- updateApp_dataSources :: Lens' UpdateApp (Maybe [DataSource])
- updateApp_description :: Lens' UpdateApp (Maybe Text)
- updateApp_domains :: Lens' UpdateApp (Maybe [Text])
- updateApp_enableSsl :: Lens' UpdateApp (Maybe Bool)
- updateApp_environment :: Lens' UpdateApp (Maybe [EnvironmentVariable])
- updateApp_name :: Lens' UpdateApp (Maybe Text)
- updateApp_sslConfiguration :: Lens' UpdateApp (Maybe SslConfiguration)
- updateApp_type :: Lens' UpdateApp (Maybe AppType)
- 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:
UpdateApp
, updateApp_appSource
- A Source
object that specifies the app repository.
UpdateApp
, updateApp_attributes
- One or more user-defined key/value pairs to be added to the stack
attributes.
UpdateApp
, updateApp_dataSources
- The app's data sources.
UpdateApp
, updateApp_description
- A description of the app.
UpdateApp
, updateApp_domains
- The app's virtual host settings, with multiple domains separated by
commas. For example: 'www.example.com, example.com'
UpdateApp
, updateApp_enableSsl
- Whether SSL is enabled for the app.
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.
UpdateApp
, updateApp_name
- The app name.
UpdateApp
, updateApp_sslConfiguration
- An SslConfiguration
object with the SSL configuration.
UpdateApp
, updateApp_type
- The app type.
UpdateApp
, updateApp_appId
- The app ID.
Request Lenses
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_dataSources :: Lens' UpdateApp (Maybe [DataSource]) Source #
The app's data sources.
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'
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_sslConfiguration :: Lens' UpdateApp (Maybe SslConfiguration) Source #
An SslConfiguration
object with the SSL configuration.
Destructuring the Response
data UpdateAppResponse Source #
See: newUpdateAppResponse
smart constructor.
Instances
Generic UpdateAppResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateApp type Rep UpdateAppResponse :: Type -> Type # from :: UpdateAppResponse -> Rep UpdateAppResponse x # to :: Rep UpdateAppResponse x -> UpdateAppResponse # | |
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 # | |
NFData UpdateAppResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateApp rnf :: UpdateAppResponse -> () # | |
Eq UpdateAppResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateApp (==) :: UpdateAppResponse -> UpdateAppResponse -> Bool # (/=) :: UpdateAppResponse -> UpdateAppResponse -> Bool # | |
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.