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.GetDiscoveredSchema

Description

Get the discovered schema that was generated based on sampled events.

Synopsis

Creating a Request

data GetDiscoveredSchema Source #

See: newGetDiscoveredSchema smart constructor.

Constructors

GetDiscoveredSchema' 

Fields

  • type' :: Type

    The type of event.

  • events :: NonEmpty Text

    An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.

Instances

Instances details
Eq GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

Read GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

Show GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

Generic GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

Associated Types

type Rep GetDiscoveredSchema :: Type -> Type #

NFData GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

Methods

rnf :: GetDiscoveredSchema -> () #

Hashable GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

ToJSON GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

AWSRequest GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

Associated Types

type AWSResponse GetDiscoveredSchema #

ToHeaders GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

ToPath GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

ToQuery GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

type Rep GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

type Rep GetDiscoveredSchema = D1 ('MetaData "GetDiscoveredSchema" "Amazonka.Schemas.GetDiscoveredSchema" "libZSservicesZSamazonka-schemasZSamazonka-schemas" 'False) (C1 ('MetaCons "GetDiscoveredSchema'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Type) :*: S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))
type AWSResponse GetDiscoveredSchema Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

newGetDiscoveredSchema Source #

Create a value of GetDiscoveredSchema 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:type':GetDiscoveredSchema', getDiscoveredSchema_type - The type of event.

$sel:events:GetDiscoveredSchema', getDiscoveredSchema_events - An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.

Request Lenses

getDiscoveredSchema_events :: Lens' GetDiscoveredSchema (NonEmpty Text) Source #

An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.

Destructuring the Response

data GetDiscoveredSchemaResponse Source #

See: newGetDiscoveredSchemaResponse smart constructor.

Constructors

GetDiscoveredSchemaResponse' 

Fields

Instances

Instances details
Eq GetDiscoveredSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

Read GetDiscoveredSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

Show GetDiscoveredSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

Generic GetDiscoveredSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

Associated Types

type Rep GetDiscoveredSchemaResponse :: Type -> Type #

NFData GetDiscoveredSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

type Rep GetDiscoveredSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetDiscoveredSchema

type Rep GetDiscoveredSchemaResponse = D1 ('MetaData "GetDiscoveredSchemaResponse" "Amazonka.Schemas.GetDiscoveredSchema" "libZSservicesZSamazonka-schemasZSamazonka-schemas" 'False) (C1 ('MetaCons "GetDiscoveredSchemaResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetDiscoveredSchemaResponse Source #

Create a value of GetDiscoveredSchemaResponse 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:content:GetDiscoveredSchemaResponse', getDiscoveredSchemaResponse_content - The source of the schema definition.

$sel:httpStatus:GetDiscoveredSchemaResponse', getDiscoveredSchemaResponse_httpStatus - The response's http status code.

Response Lenses