libZSservicesZSamazonka-schemasZSamazonka-schemas
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Schemas.CreateDiscoverer

Description

Creates a discoverer.

Synopsis

Creating a Request

data CreateDiscoverer Source #

See: newCreateDiscoverer smart constructor.

Constructors

CreateDiscoverer' 

Fields

Instances

Instances details
Eq CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

Read CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

Show CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

Generic CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

Associated Types

type Rep CreateDiscoverer :: Type -> Type #

NFData CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

Methods

rnf :: CreateDiscoverer -> () #

Hashable CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

ToJSON CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

AWSRequest CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

Associated Types

type AWSResponse CreateDiscoverer #

ToHeaders CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

ToPath CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

ToQuery CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

type Rep CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

type Rep CreateDiscoverer = D1 ('MetaData "CreateDiscoverer" "Amazonka.Schemas.CreateDiscoverer" "libZSservicesZSamazonka-schemasZSamazonka-schemas" 'False) (C1 ('MetaCons "CreateDiscoverer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "crossAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "sourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateDiscoverer Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

newCreateDiscoverer Source #

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.

Destructuring the Response

data CreateDiscovererResponse Source #

See: newCreateDiscovererResponse smart constructor.

Constructors

CreateDiscovererResponse' 

Fields

Instances

Instances details
Eq CreateDiscovererResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

Read CreateDiscovererResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

Show CreateDiscovererResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

Generic CreateDiscovererResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

Associated Types

type Rep CreateDiscovererResponse :: Type -> Type #

NFData CreateDiscovererResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

type Rep CreateDiscovererResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateDiscoverer

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_crossAccount :: Lens' CreateDiscovererResponse (Maybe Bool) Source #

The Status if the discoverer will discover schemas from events sent from another account.