Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Sets the migration state of an application. For a given application identified by the value passed to ApplicationId
, its status is set or updated by passing one of three values to Status
: NOT_STARTED | IN_PROGRESS | COMPLETED
.
Synopsis
- notifyApplicationState :: Text -> ApplicationStatus -> NotifyApplicationState
- data NotifyApplicationState
- nasDryRun :: Lens' NotifyApplicationState (Maybe Bool)
- nasApplicationId :: Lens' NotifyApplicationState Text
- nasStatus :: Lens' NotifyApplicationState ApplicationStatus
- notifyApplicationStateResponse :: Int -> NotifyApplicationStateResponse
- data NotifyApplicationStateResponse
- nasrsResponseStatus :: Lens' NotifyApplicationStateResponse Int
Creating a Request
notifyApplicationState Source #
Creates a value of NotifyApplicationState
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nasDryRun
- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.nasApplicationId
- The configurationId in ADS that uniquely identifies the grouped application.nasStatus
- Status of the application - Not Started, In-Progress, Complete.
data NotifyApplicationState Source #
See: notifyApplicationState
smart constructor.
Instances
Request Lenses
nasDryRun :: Lens' NotifyApplicationState (Maybe Bool) Source #
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
nasApplicationId :: Lens' NotifyApplicationState Text Source #
The configurationId in ADS that uniquely identifies the grouped application.
nasStatus :: Lens' NotifyApplicationState ApplicationStatus Source #
Status of the application - Not Started, In-Progress, Complete.
Destructuring the Response
notifyApplicationStateResponse Source #
Creates a value of NotifyApplicationStateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nasrsResponseStatus
- -- | The response status code.
data NotifyApplicationStateResponse Source #
See: notifyApplicationStateResponse
smart constructor.
Instances
Response Lenses
nasrsResponseStatus :: Lens' NotifyApplicationStateResponse Int Source #
- - | The response status code.