libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
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.CloudDirectory.GetSchemaAsJson

Description

Retrieves a JSON representation of the schema. See JSON Schema Format for more information.

Synopsis

Creating a Request

data GetSchemaAsJson Source #

See: newGetSchemaAsJson smart constructor.

Constructors

GetSchemaAsJson' 

Fields

Instances

Instances details
Eq GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Read GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Show GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Generic GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Associated Types

type Rep GetSchemaAsJson :: Type -> Type #

NFData GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Methods

rnf :: GetSchemaAsJson -> () #

Hashable GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

ToJSON GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

AWSRequest GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Associated Types

type AWSResponse GetSchemaAsJson #

ToHeaders GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

ToPath GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

ToQuery GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

type Rep GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

type Rep GetSchemaAsJson = D1 ('MetaData "GetSchemaAsJson" "Amazonka.CloudDirectory.GetSchemaAsJson" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "GetSchemaAsJson'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

newGetSchemaAsJson Source #

Create a value of GetSchemaAsJson 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:schemaArn:GetSchemaAsJson', getSchemaAsJson_schemaArn - The ARN of the schema to retrieve.

Request Lenses

getSchemaAsJson_schemaArn :: Lens' GetSchemaAsJson Text Source #

The ARN of the schema to retrieve.

Destructuring the Response

data GetSchemaAsJsonResponse Source #

See: newGetSchemaAsJsonResponse smart constructor.

Constructors

GetSchemaAsJsonResponse' 

Fields

Instances

Instances details
Eq GetSchemaAsJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Read GetSchemaAsJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Show GetSchemaAsJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Generic GetSchemaAsJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Associated Types

type Rep GetSchemaAsJsonResponse :: Type -> Type #

NFData GetSchemaAsJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Methods

rnf :: GetSchemaAsJsonResponse -> () #

type Rep GetSchemaAsJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

type Rep GetSchemaAsJsonResponse = D1 ('MetaData "GetSchemaAsJsonResponse" "Amazonka.CloudDirectory.GetSchemaAsJson" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "GetSchemaAsJsonResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "document") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetSchemaAsJsonResponse Source #

Create a value of GetSchemaAsJsonResponse 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:document:GetSchemaAsJsonResponse', getSchemaAsJsonResponse_document - The JSON representation of the schema document.

$sel:name:GetSchemaAsJsonResponse', getSchemaAsJsonResponse_name - The name of the retrieved schema.

$sel:httpStatus:GetSchemaAsJsonResponse', getSchemaAsJsonResponse_httpStatus - The response's http status code.

Response Lenses

getSchemaAsJsonResponse_document :: Lens' GetSchemaAsJsonResponse (Maybe Text) Source #

The JSON representation of the schema document.