| 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 |
Network.AWS.Route53AutoNaming.DeregisterInstance
Description
Deletes the records and the health check, if any, that Amazon Route 53 created for the specified instance.
- deregisterInstance :: Text -> Text -> DeregisterInstance
- data DeregisterInstance
- diServiceId :: Lens' DeregisterInstance Text
- diInstanceId :: Lens' DeregisterInstance Text
- deregisterInstanceResponse :: Int -> DeregisterInstanceResponse
- data DeregisterInstanceResponse
- dirsOperationId :: Lens' DeregisterInstanceResponse (Maybe Text)
- dirsResponseStatus :: Lens' DeregisterInstanceResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DeregisterInstance |
Creates a value of DeregisterInstance with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diServiceId- The ID of the service that the instance is associated with.diInstanceId- The value that you specified forIdin theRegisterInstancerequest.
data DeregisterInstance Source #
See: deregisterInstance smart constructor.
Instances
Request Lenses
diServiceId :: Lens' DeregisterInstance Text Source #
The ID of the service that the instance is associated with.
diInstanceId :: Lens' DeregisterInstance Text Source #
The value that you specified for Id in the RegisterInstance request.
Destructuring the Response
deregisterInstanceResponse Source #
Arguments
| :: Int | |
| -> DeregisterInstanceResponse |
Creates a value of DeregisterInstanceResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dirsOperationId- A value that you can use to determine whether the request completed successfully. For more information, seeGetOperation.dirsResponseStatus- -- | The response status code.
Response Lenses
dirsOperationId :: Lens' DeregisterInstanceResponse (Maybe Text) Source #
A value that you can use to determine whether the request completed successfully. For more information, see GetOperation .
dirsResponseStatus :: Lens' DeregisterInstanceResponse Int Source #
- - | The response status code.