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 an application.
Synopsis
- data UpdateApplication = UpdateApplication' {
- name :: Maybe Text
- description :: Maybe Text
- applicationId :: Text
- newUpdateApplication :: Text -> UpdateApplication
- updateApplication_name :: Lens' UpdateApplication (Maybe Text)
- updateApplication_description :: Lens' UpdateApplication (Maybe Text)
- updateApplication_applicationId :: Lens' UpdateApplication Text
- data Application = Application' {}
- newApplication :: Application
- application_name :: Lens' Application (Maybe Text)
- application_id :: Lens' Application (Maybe Text)
- application_description :: Lens' Application (Maybe Text)
Creating a Request
data UpdateApplication Source #
See: newUpdateApplication
smart constructor.
UpdateApplication' | |
|
Instances
Create a value of UpdateApplication
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:name:UpdateApplication'
, updateApplication_name
- The name of the application.
$sel:description:UpdateApplication'
, updateApplication_description
- A description of the application.
$sel:applicationId:UpdateApplication'
, updateApplication_applicationId
- The application ID.
Request Lenses
updateApplication_name :: Lens' UpdateApplication (Maybe Text) Source #
The name of the application.
updateApplication_description :: Lens' UpdateApplication (Maybe Text) Source #
A description of the application.
updateApplication_applicationId :: Lens' UpdateApplication Text Source #
The application ID.
Destructuring the Response
data Application Source #
See: newApplication
smart constructor.
Instances
newApplication :: Application Source #
Create a value of Application
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:name:Application'
, application_name
- The application name.
$sel:id:Application'
, application_id
- The application ID.
$sel:description:Application'
, application_description
- The description of the application.
Response Lenses
application_name :: Lens' Application (Maybe Text) Source #
The application name.
application_id :: Lens' Application (Maybe Text) Source #
The application ID.
application_description :: Lens' Application (Maybe Text) Source #
The description of the application.