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 |
Creates a discoverer.
Synopsis
- data CreateDiscoverer = CreateDiscoverer' {}
- newCreateDiscoverer :: Text -> CreateDiscoverer
- createDiscoverer_crossAccount :: Lens' CreateDiscoverer (Maybe Bool)
- createDiscoverer_description :: Lens' CreateDiscoverer (Maybe Text)
- createDiscoverer_tags :: Lens' CreateDiscoverer (Maybe (HashMap Text Text))
- createDiscoverer_sourceArn :: Lens' CreateDiscoverer Text
- data CreateDiscovererResponse = CreateDiscovererResponse' {
- 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
- newCreateDiscovererResponse :: Int -> CreateDiscovererResponse
- createDiscovererResponse_state :: Lens' CreateDiscovererResponse (Maybe DiscovererState)
- createDiscovererResponse_crossAccount :: Lens' CreateDiscovererResponse (Maybe Bool)
- createDiscovererResponse_sourceArn :: Lens' CreateDiscovererResponse (Maybe Text)
- createDiscovererResponse_discovererId :: Lens' CreateDiscovererResponse (Maybe Text)
- createDiscovererResponse_description :: Lens' CreateDiscovererResponse (Maybe Text)
- createDiscovererResponse_tags :: Lens' CreateDiscovererResponse (Maybe (HashMap Text Text))
- createDiscovererResponse_discovererArn :: Lens' CreateDiscovererResponse (Maybe Text)
- createDiscovererResponse_httpStatus :: Lens' CreateDiscovererResponse Int
Creating a Request
data CreateDiscoverer Source #
See: newCreateDiscoverer
smart constructor.
Instances
Create a value of CreateDiscoverer
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:CreateDiscoverer'
, createDiscoverer_crossAccount
- Support discovery of schemas in events sent to the bus from another
account. (default: true).
$sel:description:CreateDiscoverer'
, createDiscoverer_description
- A description for the discoverer.
$sel:tags:CreateDiscoverer'
, createDiscoverer_tags
- Tags associated with the resource.
$sel:sourceArn:CreateDiscoverer'
, createDiscoverer_sourceArn
- The ARN of the event bus.
Request Lenses
createDiscoverer_crossAccount :: Lens' CreateDiscoverer (Maybe Bool) Source #
Support discovery of schemas in events sent to the bus from another account. (default: true).
createDiscoverer_description :: Lens' CreateDiscoverer (Maybe Text) Source #
A description for the discoverer.
createDiscoverer_tags :: Lens' CreateDiscoverer (Maybe (HashMap Text Text)) Source #
Tags associated with the resource.
createDiscoverer_sourceArn :: Lens' CreateDiscoverer Text Source #
The ARN of the event bus.
Destructuring the Response
data CreateDiscovererResponse Source #
See: newCreateDiscovererResponse
smart constructor.
CreateDiscovererResponse' | |
|
Instances
newCreateDiscovererResponse Source #
Create a value of CreateDiscovererResponse
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:CreateDiscovererResponse'
, createDiscovererResponse_state
- The state of the discoverer.
$sel:crossAccount:CreateDiscoverer'
, createDiscovererResponse_crossAccount
- The Status if the discoverer will discover schemas from events sent from
another account.
$sel:sourceArn:CreateDiscoverer'
, createDiscovererResponse_sourceArn
- The ARN of the event bus.
$sel:discovererId:CreateDiscovererResponse'
, createDiscovererResponse_discovererId
- The ID of the discoverer.
$sel:description:CreateDiscoverer'
, createDiscovererResponse_description
- The description of the discoverer.
$sel:tags:CreateDiscoverer'
, createDiscovererResponse_tags
- Tags associated with the resource.
$sel:discovererArn:CreateDiscovererResponse'
, createDiscovererResponse_discovererArn
- The ARN of the discoverer.
$sel:httpStatus:CreateDiscovererResponse'
, createDiscovererResponse_httpStatus
- The response's http status code.
Response Lenses
createDiscovererResponse_state :: Lens' CreateDiscovererResponse (Maybe DiscovererState) Source #
The state of the discoverer.
createDiscovererResponse_crossAccount :: Lens' CreateDiscovererResponse (Maybe Bool) Source #
The Status if the discoverer will discover schemas from events sent from another account.
createDiscovererResponse_sourceArn :: Lens' CreateDiscovererResponse (Maybe Text) Source #
The ARN of the event bus.
createDiscovererResponse_discovererId :: Lens' CreateDiscovererResponse (Maybe Text) Source #
The ID of the discoverer.
createDiscovererResponse_description :: Lens' CreateDiscovererResponse (Maybe Text) Source #
The description of the discoverer.
createDiscovererResponse_tags :: Lens' CreateDiscovererResponse (Maybe (HashMap Text Text)) Source #
Tags associated with the resource.
createDiscovererResponse_discovererArn :: Lens' CreateDiscovererResponse (Maybe Text) Source #
The ARN of the discoverer.
createDiscovererResponse_httpStatus :: Lens' CreateDiscovererResponse Int Source #
The response's http status code.