| 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 |
Amazonka.Route53AutoNaming.DeregisterInstance
Description
Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the specified instance.
Synopsis
- data DeregisterInstance = DeregisterInstance' {
- serviceId :: Text
- instanceId :: Text
- newDeregisterInstance :: Text -> Text -> DeregisterInstance
- deregisterInstance_serviceId :: Lens' DeregisterInstance Text
- deregisterInstance_instanceId :: Lens' DeregisterInstance Text
- data DeregisterInstanceResponse = DeregisterInstanceResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- newDeregisterInstanceResponse :: Int -> DeregisterInstanceResponse
- deregisterInstanceResponse_operationId :: Lens' DeregisterInstanceResponse (Maybe Text)
- deregisterInstanceResponse_httpStatus :: Lens' DeregisterInstanceResponse Int
Creating a Request
data DeregisterInstance Source #
See: newDeregisterInstance smart constructor.
Constructors
| DeregisterInstance' | |
Fields
| |
Instances
newDeregisterInstance Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeregisterInstance |
Create a value of DeregisterInstance 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:serviceId:DeregisterInstance', deregisterInstance_serviceId - The ID of the service that the instance is associated with.
$sel:instanceId:DeregisterInstance', deregisterInstance_instanceId - The value that you specified for Id in the
RegisterInstance
request.
Request Lenses
deregisterInstance_serviceId :: Lens' DeregisterInstance Text Source #
The ID of the service that the instance is associated with.
deregisterInstance_instanceId :: Lens' DeregisterInstance Text Source #
The value that you specified for Id in the
RegisterInstance
request.
Destructuring the Response
data DeregisterInstanceResponse Source #
See: newDeregisterInstanceResponse smart constructor.
Constructors
| DeregisterInstanceResponse' | |
Fields
| |
Instances
newDeregisterInstanceResponse Source #
Create a value of DeregisterInstanceResponse 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:operationId:DeregisterInstanceResponse', deregisterInstanceResponse_operationId - A value that you can use to determine whether the request completed
successfully. To get the status of the operation, see
GetOperation.
$sel:httpStatus:DeregisterInstanceResponse', deregisterInstanceResponse_httpStatus - The response's http status code.
Response Lenses
deregisterInstanceResponse_operationId :: Lens' DeregisterInstanceResponse (Maybe Text) Source #
A value that you can use to determine whether the request completed successfully. To get the status of the operation, see GetOperation.
deregisterInstanceResponse_httpStatus :: Lens' DeregisterInstanceResponse Int Source #
The response's http status code.