| 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.MGN.RemoveSourceServerAction
Description
Remove source server post migration custom action.
Synopsis
- data RemoveSourceServerAction = RemoveSourceServerAction' {
- actionID :: Text
- sourceServerID :: Text
- newRemoveSourceServerAction :: Text -> Text -> RemoveSourceServerAction
- removeSourceServerAction_actionID :: Lens' RemoveSourceServerAction Text
- removeSourceServerAction_sourceServerID :: Lens' RemoveSourceServerAction Text
- data RemoveSourceServerActionResponse = RemoveSourceServerActionResponse' {
- httpStatus :: Int
- newRemoveSourceServerActionResponse :: Int -> RemoveSourceServerActionResponse
- removeSourceServerActionResponse_httpStatus :: Lens' RemoveSourceServerActionResponse Int
Creating a Request
data RemoveSourceServerAction Source #
See: newRemoveSourceServerAction smart constructor.
Constructors
| RemoveSourceServerAction' | |
Fields
| |
Instances
newRemoveSourceServerAction Source #
Create a value of RemoveSourceServerAction 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:
RemoveSourceServerAction, removeSourceServerAction_actionID - Source server post migration custom action ID to remove.
RemoveSourceServerAction, removeSourceServerAction_sourceServerID - Source server ID of the post migration custom action to remove.
Request Lenses
removeSourceServerAction_actionID :: Lens' RemoveSourceServerAction Text Source #
Source server post migration custom action ID to remove.
removeSourceServerAction_sourceServerID :: Lens' RemoveSourceServerAction Text Source #
Source server ID of the post migration custom action to remove.
Destructuring the Response
data RemoveSourceServerActionResponse Source #
See: newRemoveSourceServerActionResponse smart constructor.
Constructors
| RemoveSourceServerActionResponse' | |
Fields
| |
Instances
newRemoveSourceServerActionResponse Source #
Create a value of RemoveSourceServerActionResponse 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:RemoveSourceServerActionResponse', removeSourceServerActionResponse_httpStatus - The response's http status code.
Response Lenses
removeSourceServerActionResponse_httpStatus :: Lens' RemoveSourceServerActionResponse Int Source #
The response's http status code.