amazonka-clouddirectory-2.0: Amazon CloudDirectory SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.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

AWSRequest GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Associated Types

type AWSResponse GetSchemaAsJson #

Generic GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Associated Types

type Rep GetSchemaAsJson :: Type -> Type #

Read GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Show GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

NFData GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Methods

rnf :: GetSchemaAsJson -> () #

Eq GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Hashable GetSchemaAsJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

type AWSResponse 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" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "GetSchemaAsJson'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic GetSchemaAsJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Associated Types

type Rep GetSchemaAsJsonResponse :: Type -> Type #

Read GetSchemaAsJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Show GetSchemaAsJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

NFData GetSchemaAsJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

Methods

rnf :: GetSchemaAsJsonResponse -> () #

Eq GetSchemaAsJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

type Rep GetSchemaAsJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetSchemaAsJson

type Rep GetSchemaAsJsonResponse = D1 ('MetaData "GetSchemaAsJsonResponse" "Amazonka.CloudDirectory.GetSchemaAsJson" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" '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.

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.