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 |
Amazonka.ElasticBeanstalk.UpdateApplicationVersion
Description
Updates the specified application version to have the specified properties.
If a property (for example, description
) is not provided, the value
remains unchanged. To clear properties, specify an empty string.
Synopsis
- data UpdateApplicationVersion = UpdateApplicationVersion' {}
- newUpdateApplicationVersion :: Text -> Text -> UpdateApplicationVersion
- updateApplicationVersion_description :: Lens' UpdateApplicationVersion (Maybe Text)
- updateApplicationVersion_applicationName :: Lens' UpdateApplicationVersion Text
- updateApplicationVersion_versionLabel :: Lens' UpdateApplicationVersion Text
- data ApplicationVersionDescriptionMessage = ApplicationVersionDescriptionMessage' {}
- newApplicationVersionDescriptionMessage :: ApplicationVersionDescriptionMessage
- applicationVersionDescriptionMessage_applicationVersion :: Lens' ApplicationVersionDescriptionMessage (Maybe ApplicationVersionDescription)
Creating a Request
data UpdateApplicationVersion Source #
See: newUpdateApplicationVersion
smart constructor.
Constructors
UpdateApplicationVersion' | |
Fields
|
Instances
newUpdateApplicationVersion Source #
Create a value of UpdateApplicationVersion
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:
UpdateApplicationVersion
, updateApplicationVersion_description
- A new description for this version.
UpdateApplicationVersion
, updateApplicationVersion_applicationName
- The name of the application associated with this version.
If no application is found with this name, UpdateApplication
returns
an InvalidParameterValue
error.
UpdateApplicationVersion
, updateApplicationVersion_versionLabel
- The name of the version to update.
If no application version is found with this label, UpdateApplication
returns an InvalidParameterValue
error.
Request Lenses
updateApplicationVersion_description :: Lens' UpdateApplicationVersion (Maybe Text) Source #
A new description for this version.
updateApplicationVersion_applicationName :: Lens' UpdateApplicationVersion Text Source #
The name of the application associated with this version.
If no application is found with this name, UpdateApplication
returns
an InvalidParameterValue
error.
updateApplicationVersion_versionLabel :: Lens' UpdateApplicationVersion Text Source #
The name of the version to update.
If no application version is found with this label, UpdateApplication
returns an InvalidParameterValue
error.
Destructuring the Response
data ApplicationVersionDescriptionMessage Source #
Result message wrapping a single description of an application version.
See: newApplicationVersionDescriptionMessage
smart constructor.
Constructors
ApplicationVersionDescriptionMessage' | |
Fields
|
Instances
newApplicationVersionDescriptionMessage :: ApplicationVersionDescriptionMessage Source #
Create a value of ApplicationVersionDescriptionMessage
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:applicationVersion:ApplicationVersionDescriptionMessage'
, applicationVersionDescriptionMessage_applicationVersion
- The ApplicationVersionDescription of the application version.
Response Lenses
applicationVersionDescriptionMessage_applicationVersion :: Lens' ApplicationVersionDescriptionMessage (Maybe ApplicationVersionDescription) Source #
The ApplicationVersionDescription of the application version.