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 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.
UpdateApplicationVersion' | |
|
Instances
newUpdateApplicationVersion Source #
:: Text | |
-> Text | |
-> UpdateApplicationVersion |
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:
$sel:description:UpdateApplicationVersion'
, updateApplicationVersion_description
- A new description for this version.
$sel:applicationName: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.
$sel:versionLabel: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.
ApplicationVersionDescriptionMessage' | |
|
Instances
Eq ApplicationVersionDescriptionMessage Source # | |
Read ApplicationVersionDescriptionMessage Source # | |
Show ApplicationVersionDescriptionMessage Source # | |
Generic ApplicationVersionDescriptionMessage Source # | |
NFData ApplicationVersionDescriptionMessage Source # | |
Hashable ApplicationVersionDescriptionMessage Source # | |
FromXML ApplicationVersionDescriptionMessage Source # | |
type Rep ApplicationVersionDescriptionMessage Source # | |
Defined in Amazonka.ElasticBeanstalk.Types.ApplicationVersionDescriptionMessage type Rep ApplicationVersionDescriptionMessage = D1 ('MetaData "ApplicationVersionDescriptionMessage" "Amazonka.ElasticBeanstalk.Types.ApplicationVersionDescriptionMessage" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "ApplicationVersionDescriptionMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApplicationVersionDescription)))) |
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.