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 AppInstance
metadata.
Synopsis
- data UpdateAppInstance = UpdateAppInstance' {}
- newUpdateAppInstance :: Text -> Text -> Text -> UpdateAppInstance
- updateAppInstance_appInstanceArn :: Lens' UpdateAppInstance Text
- updateAppInstance_name :: Lens' UpdateAppInstance Text
- updateAppInstance_metadata :: Lens' UpdateAppInstance Text
- data UpdateAppInstanceResponse = UpdateAppInstanceResponse' {
- appInstanceArn :: Maybe Text
- httpStatus :: Int
- newUpdateAppInstanceResponse :: Int -> UpdateAppInstanceResponse
- updateAppInstanceResponse_appInstanceArn :: Lens' UpdateAppInstanceResponse (Maybe Text)
- updateAppInstanceResponse_httpStatus :: Lens' UpdateAppInstanceResponse Int
Creating a Request
data UpdateAppInstance Source #
See: newUpdateAppInstance
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> UpdateAppInstance |
Create a value of UpdateAppInstance
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:appInstanceArn:UpdateAppInstance'
, updateAppInstance_appInstanceArn
- The ARN of the AppInstance
.
$sel:name:UpdateAppInstance'
, updateAppInstance_name
- The name that you want to change.
$sel:metadata:UpdateAppInstance'
, updateAppInstance_metadata
- The metadata that you want to change.
Request Lenses
updateAppInstance_appInstanceArn :: Lens' UpdateAppInstance Text Source #
The ARN of the AppInstance
.
updateAppInstance_name :: Lens' UpdateAppInstance Text Source #
The name that you want to change.
updateAppInstance_metadata :: Lens' UpdateAppInstance Text Source #
The metadata that you want to change.
Destructuring the Response
data UpdateAppInstanceResponse Source #
See: newUpdateAppInstanceResponse
smart constructor.
UpdateAppInstanceResponse' | |
|
Instances
newUpdateAppInstanceResponse Source #
Create a value of UpdateAppInstanceResponse
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:appInstanceArn:UpdateAppInstance'
, updateAppInstanceResponse_appInstanceArn
- The ARN of the AppInstance
.
$sel:httpStatus:UpdateAppInstanceResponse'
, updateAppInstanceResponse_httpStatus
- The response's http status code.
Response Lenses
updateAppInstanceResponse_appInstanceArn :: Lens' UpdateAppInstanceResponse (Maybe Text) Source #
The ARN of the AppInstance
.
updateAppInstanceResponse_httpStatus :: Lens' UpdateAppInstanceResponse Int Source #
The response's http status code.