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 |
Stops the discoverer
Synopsis
- data StopDiscoverer = StopDiscoverer' {
- discovererId :: Text
- newStopDiscoverer :: Text -> StopDiscoverer
- stopDiscoverer_discovererId :: Lens' StopDiscoverer Text
- data StopDiscovererResponse = StopDiscovererResponse' {}
- newStopDiscovererResponse :: Int -> StopDiscovererResponse
- stopDiscovererResponse_state :: Lens' StopDiscovererResponse (Maybe DiscovererState)
- stopDiscovererResponse_discovererId :: Lens' StopDiscovererResponse (Maybe Text)
- stopDiscovererResponse_httpStatus :: Lens' StopDiscovererResponse Int
Creating a Request
data StopDiscoverer Source #
See: newStopDiscoverer
smart constructor.
StopDiscoverer' | |
|
Instances
Create a value of StopDiscoverer
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:discovererId:StopDiscoverer'
, stopDiscoverer_discovererId
- The ID of the discoverer.
Request Lenses
stopDiscoverer_discovererId :: Lens' StopDiscoverer Text Source #
The ID of the discoverer.
Destructuring the Response
data StopDiscovererResponse Source #
See: newStopDiscovererResponse
smart constructor.
StopDiscovererResponse' | |
|
Instances
newStopDiscovererResponse Source #
Create a value of StopDiscovererResponse
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:state:StopDiscovererResponse'
, stopDiscovererResponse_state
- The state of the discoverer.
$sel:discovererId:StopDiscoverer'
, stopDiscovererResponse_discovererId
- The ID of the discoverer.
$sel:httpStatus:StopDiscovererResponse'
, stopDiscovererResponse_httpStatus
- The response's http status code.
Response Lenses
stopDiscovererResponse_state :: Lens' StopDiscovererResponse (Maybe DiscovererState) Source #
The state of the discoverer.
stopDiscovererResponse_discovererId :: Lens' StopDiscovererResponse (Maybe Text) Source #
The ID of the discoverer.
stopDiscovererResponse_httpStatus :: Lens' StopDiscovererResponse Int Source #
The response's http status code.