| 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.IoTFleetHub.UpdateApplication
Description
Updates information about a Fleet Hub for a AWS IoT Device Management web application.
Fleet Hub for AWS IoT Device Management is in public preview and is subject to change.
Synopsis
- data UpdateApplication = UpdateApplication' {}
- newUpdateApplication :: Text -> UpdateApplication
- updateApplication_applicationDescription :: Lens' UpdateApplication (Maybe Text)
- updateApplication_applicationName :: Lens' UpdateApplication (Maybe Text)
- updateApplication_clientToken :: Lens' UpdateApplication (Maybe Text)
- updateApplication_applicationId :: Lens' UpdateApplication Text
- data UpdateApplicationResponse = UpdateApplicationResponse' {
- httpStatus :: Int
- newUpdateApplicationResponse :: Int -> UpdateApplicationResponse
- updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int
Creating a Request
data UpdateApplication Source #
See: newUpdateApplication smart constructor.
Constructors
| UpdateApplication' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateApplication |
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:
UpdateApplication, updateApplication_applicationDescription - An optional description of the web application.
UpdateApplication, updateApplication_applicationName - The name of the web application.
$sel:clientToken:UpdateApplication', updateApplication_clientToken - A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new
idempotent request is required.
UpdateApplication, updateApplication_applicationId - The unique Id of the web application.
Request Lenses
updateApplication_applicationDescription :: Lens' UpdateApplication (Maybe Text) Source #
An optional description of the web application.
updateApplication_applicationName :: Lens' UpdateApplication (Maybe Text) Source #
The name of the web application.
updateApplication_clientToken :: Lens' UpdateApplication (Maybe Text) Source #
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
updateApplication_applicationId :: Lens' UpdateApplication Text Source #
The unique Id of the web application.
Destructuring the Response
data UpdateApplicationResponse Source #
See: newUpdateApplicationResponse smart constructor.
Constructors
| UpdateApplicationResponse' | |
Fields
| |
Instances
newUpdateApplicationResponse Source #
Create a value of UpdateApplicationResponse 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:httpStatus:UpdateApplicationResponse', updateApplicationResponse_httpStatus - The response's http status code.
Response Lenses
updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int Source #
The response's http status code.