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 |
Starts the discoverer
Synopsis
- data StartDiscoverer = StartDiscoverer' {
- discovererId :: Text
- newStartDiscoverer :: Text -> StartDiscoverer
- startDiscoverer_discovererId :: Lens' StartDiscoverer Text
- data StartDiscovererResponse = StartDiscovererResponse' {}
- newStartDiscovererResponse :: Int -> StartDiscovererResponse
- startDiscovererResponse_state :: Lens' StartDiscovererResponse (Maybe DiscovererState)
- startDiscovererResponse_discovererId :: Lens' StartDiscovererResponse (Maybe Text)
- startDiscovererResponse_httpStatus :: Lens' StartDiscovererResponse Int
Creating a Request
data StartDiscoverer Source #
See: newStartDiscoverer
smart constructor.
StartDiscoverer' | |
|
Instances
Create a value of StartDiscoverer
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:StartDiscoverer'
, startDiscoverer_discovererId
- The ID of the discoverer.
Request Lenses
startDiscoverer_discovererId :: Lens' StartDiscoverer Text Source #
The ID of the discoverer.
Destructuring the Response
data StartDiscovererResponse Source #
See: newStartDiscovererResponse
smart constructor.
StartDiscovererResponse' | |
|
Instances
newStartDiscovererResponse Source #
Create a value of StartDiscovererResponse
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:StartDiscovererResponse'
, startDiscovererResponse_state
- The state of the discoverer.
$sel:discovererId:StartDiscoverer'
, startDiscovererResponse_discovererId
- The ID of the discoverer.
$sel:httpStatus:StartDiscovererResponse'
, startDiscovererResponse_httpStatus
- The response's http status code.
Response Lenses
startDiscovererResponse_state :: Lens' StartDiscovererResponse (Maybe DiscovererState) Source #
The state of the discoverer.
startDiscovererResponse_discovererId :: Lens' StartDiscovererResponse (Maybe Text) Source #
The ID of the discoverer.
startDiscovererResponse_httpStatus :: Lens' StartDiscovererResponse Int Source #
The response's http status code.