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 |
Updates the discoverer
Synopsis
- data UpdateDiscoverer = UpdateDiscoverer' {}
- newUpdateDiscoverer :: Text -> UpdateDiscoverer
- updateDiscoverer_crossAccount :: Lens' UpdateDiscoverer (Maybe Bool)
- updateDiscoverer_description :: Lens' UpdateDiscoverer (Maybe Text)
- updateDiscoverer_discovererId :: Lens' UpdateDiscoverer Text
- data UpdateDiscovererResponse = UpdateDiscovererResponse' {
- state :: Maybe DiscovererState
- crossAccount :: Maybe Bool
- sourceArn :: Maybe Text
- discovererId :: Maybe Text
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- discovererArn :: Maybe Text
- httpStatus :: Int
- newUpdateDiscovererResponse :: Int -> UpdateDiscovererResponse
- updateDiscovererResponse_state :: Lens' UpdateDiscovererResponse (Maybe DiscovererState)
- updateDiscovererResponse_crossAccount :: Lens' UpdateDiscovererResponse (Maybe Bool)
- updateDiscovererResponse_sourceArn :: Lens' UpdateDiscovererResponse (Maybe Text)
- updateDiscovererResponse_discovererId :: Lens' UpdateDiscovererResponse (Maybe Text)
- updateDiscovererResponse_description :: Lens' UpdateDiscovererResponse (Maybe Text)
- updateDiscovererResponse_tags :: Lens' UpdateDiscovererResponse (Maybe (HashMap Text Text))
- updateDiscovererResponse_discovererArn :: Lens' UpdateDiscovererResponse (Maybe Text)
- updateDiscovererResponse_httpStatus :: Lens' UpdateDiscovererResponse Int
Creating a Request
data UpdateDiscoverer Source #
See: newUpdateDiscoverer
smart constructor.
UpdateDiscoverer' | |
|
Instances
Create a value of UpdateDiscoverer
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:crossAccount:UpdateDiscoverer'
, updateDiscoverer_crossAccount
- Support discovery of schemas in events sent to the bus from another
account. (default: true)
$sel:description:UpdateDiscoverer'
, updateDiscoverer_description
- The description of the discoverer to update.
$sel:discovererId:UpdateDiscoverer'
, updateDiscoverer_discovererId
- The ID of the discoverer.
Request Lenses
updateDiscoverer_crossAccount :: Lens' UpdateDiscoverer (Maybe Bool) Source #
Support discovery of schemas in events sent to the bus from another account. (default: true)
updateDiscoverer_description :: Lens' UpdateDiscoverer (Maybe Text) Source #
The description of the discoverer to update.
updateDiscoverer_discovererId :: Lens' UpdateDiscoverer Text Source #
The ID of the discoverer.
Destructuring the Response
data UpdateDiscovererResponse Source #
See: newUpdateDiscovererResponse
smart constructor.
UpdateDiscovererResponse' | |
|
Instances
newUpdateDiscovererResponse Source #
Create a value of UpdateDiscovererResponse
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:UpdateDiscovererResponse'
, updateDiscovererResponse_state
- The state of the discoverer.
$sel:crossAccount:UpdateDiscoverer'
, updateDiscovererResponse_crossAccount
- The Status if the discoverer will discover schemas from events sent from
another account.
$sel:sourceArn:UpdateDiscovererResponse'
, updateDiscovererResponse_sourceArn
- The ARN of the event bus.
$sel:discovererId:UpdateDiscoverer'
, updateDiscovererResponse_discovererId
- The ID of the discoverer.
$sel:description:UpdateDiscoverer'
, updateDiscovererResponse_description
- The description of the discoverer.
$sel:tags:UpdateDiscovererResponse'
, updateDiscovererResponse_tags
- Tags associated with the resource.
$sel:discovererArn:UpdateDiscovererResponse'
, updateDiscovererResponse_discovererArn
- The ARN of the discoverer.
$sel:httpStatus:UpdateDiscovererResponse'
, updateDiscovererResponse_httpStatus
- The response's http status code.
Response Lenses
updateDiscovererResponse_state :: Lens' UpdateDiscovererResponse (Maybe DiscovererState) Source #
The state of the discoverer.
updateDiscovererResponse_crossAccount :: Lens' UpdateDiscovererResponse (Maybe Bool) Source #
The Status if the discoverer will discover schemas from events sent from another account.
updateDiscovererResponse_sourceArn :: Lens' UpdateDiscovererResponse (Maybe Text) Source #
The ARN of the event bus.
updateDiscovererResponse_discovererId :: Lens' UpdateDiscovererResponse (Maybe Text) Source #
The ID of the discoverer.
updateDiscovererResponse_description :: Lens' UpdateDiscovererResponse (Maybe Text) Source #
The description of the discoverer.
updateDiscovererResponse_tags :: Lens' UpdateDiscovererResponse (Maybe (HashMap Text Text)) Source #
Tags associated with the resource.
updateDiscovererResponse_discovererArn :: Lens' UpdateDiscovererResponse (Maybe Text) Source #
The ARN of the discoverer.
updateDiscovererResponse_httpStatus :: Lens' UpdateDiscovererResponse Int Source #
The response's http status code.