{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.AppSync.GetIntrospectionSchema
-- 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)
--
-- Retrieves the introspection schema for a GraphQL API.
module Amazonka.AppSync.GetIntrospectionSchema
  ( -- * Creating a Request
    GetIntrospectionSchema (..),
    newGetIntrospectionSchema,

    -- * Request Lenses
    getIntrospectionSchema_includeDirectives,
    getIntrospectionSchema_apiId,
    getIntrospectionSchema_format,

    -- * Destructuring the Response
    GetIntrospectionSchemaResponse (..),
    newGetIntrospectionSchemaResponse,

    -- * Response Lenses
    getIntrospectionSchemaResponse_schema,
    getIntrospectionSchemaResponse_httpStatus,
  )
where

import Amazonka.AppSync.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | /See:/ 'newGetIntrospectionSchema' smart constructor.
data GetIntrospectionSchema = GetIntrospectionSchema'
  { -- | A flag that specifies whether the schema introspection should contain
    -- directives.
    GetIntrospectionSchema -> Maybe Bool
includeDirectives :: Prelude.Maybe Prelude.Bool,
    -- | The API ID.
    GetIntrospectionSchema -> Text
apiId :: Prelude.Text,
    -- | The schema format: SDL or JSON.
    GetIntrospectionSchema -> OutputType
format :: OutputType
  }
  deriving (GetIntrospectionSchema -> GetIntrospectionSchema -> Bool
(GetIntrospectionSchema -> GetIntrospectionSchema -> Bool)
-> (GetIntrospectionSchema -> GetIntrospectionSchema -> Bool)
-> Eq GetIntrospectionSchema
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetIntrospectionSchema -> GetIntrospectionSchema -> Bool
$c/= :: GetIntrospectionSchema -> GetIntrospectionSchema -> Bool
== :: GetIntrospectionSchema -> GetIntrospectionSchema -> Bool
$c== :: GetIntrospectionSchema -> GetIntrospectionSchema -> Bool
Prelude.Eq, ReadPrec [GetIntrospectionSchema]
ReadPrec GetIntrospectionSchema
Int -> ReadS GetIntrospectionSchema
ReadS [GetIntrospectionSchema]
(Int -> ReadS GetIntrospectionSchema)
-> ReadS [GetIntrospectionSchema]
-> ReadPrec GetIntrospectionSchema
-> ReadPrec [GetIntrospectionSchema]
-> Read GetIntrospectionSchema
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetIntrospectionSchema]
$creadListPrec :: ReadPrec [GetIntrospectionSchema]
readPrec :: ReadPrec GetIntrospectionSchema
$creadPrec :: ReadPrec GetIntrospectionSchema
readList :: ReadS [GetIntrospectionSchema]
$creadList :: ReadS [GetIntrospectionSchema]
readsPrec :: Int -> ReadS GetIntrospectionSchema
$creadsPrec :: Int -> ReadS GetIntrospectionSchema
Prelude.Read, Int -> GetIntrospectionSchema -> ShowS
[GetIntrospectionSchema] -> ShowS
GetIntrospectionSchema -> String
(Int -> GetIntrospectionSchema -> ShowS)
-> (GetIntrospectionSchema -> String)
-> ([GetIntrospectionSchema] -> ShowS)
-> Show GetIntrospectionSchema
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetIntrospectionSchema] -> ShowS
$cshowList :: [GetIntrospectionSchema] -> ShowS
show :: GetIntrospectionSchema -> String
$cshow :: GetIntrospectionSchema -> String
showsPrec :: Int -> GetIntrospectionSchema -> ShowS
$cshowsPrec :: Int -> GetIntrospectionSchema -> ShowS
Prelude.Show, (forall x. GetIntrospectionSchema -> Rep GetIntrospectionSchema x)
-> (forall x.
    Rep GetIntrospectionSchema x -> GetIntrospectionSchema)
-> Generic GetIntrospectionSchema
forall x. Rep GetIntrospectionSchema x -> GetIntrospectionSchema
forall x. GetIntrospectionSchema -> Rep GetIntrospectionSchema x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetIntrospectionSchema x -> GetIntrospectionSchema
$cfrom :: forall x. GetIntrospectionSchema -> Rep GetIntrospectionSchema x
Prelude.Generic)

-- |
-- Create a value of 'GetIntrospectionSchema' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'includeDirectives', 'getIntrospectionSchema_includeDirectives' - A flag that specifies whether the schema introspection should contain
-- directives.
--
-- 'apiId', 'getIntrospectionSchema_apiId' - The API ID.
--
-- 'format', 'getIntrospectionSchema_format' - The schema format: SDL or JSON.
newGetIntrospectionSchema ::
  -- | 'apiId'
  Prelude.Text ->
  -- | 'format'
  OutputType ->
  GetIntrospectionSchema
newGetIntrospectionSchema :: Text -> OutputType -> GetIntrospectionSchema
newGetIntrospectionSchema Text
pApiId_ OutputType
pFormat_ =
  GetIntrospectionSchema' :: Maybe Bool -> Text -> OutputType -> GetIntrospectionSchema
GetIntrospectionSchema'
    { $sel:includeDirectives:GetIntrospectionSchema' :: Maybe Bool
includeDirectives =
        Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:apiId:GetIntrospectionSchema' :: Text
apiId = Text
pApiId_,
      $sel:format:GetIntrospectionSchema' :: OutputType
format = OutputType
pFormat_
    }

-- | A flag that specifies whether the schema introspection should contain
-- directives.
getIntrospectionSchema_includeDirectives :: Lens.Lens' GetIntrospectionSchema (Prelude.Maybe Prelude.Bool)
getIntrospectionSchema_includeDirectives :: (Maybe Bool -> f (Maybe Bool))
-> GetIntrospectionSchema -> f GetIntrospectionSchema
getIntrospectionSchema_includeDirectives = (GetIntrospectionSchema -> Maybe Bool)
-> (GetIntrospectionSchema -> Maybe Bool -> GetIntrospectionSchema)
-> Lens
     GetIntrospectionSchema
     GetIntrospectionSchema
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntrospectionSchema' {Maybe Bool
includeDirectives :: Maybe Bool
$sel:includeDirectives:GetIntrospectionSchema' :: GetIntrospectionSchema -> Maybe Bool
includeDirectives} -> Maybe Bool
includeDirectives) (\s :: GetIntrospectionSchema
s@GetIntrospectionSchema' {} Maybe Bool
a -> GetIntrospectionSchema
s {$sel:includeDirectives:GetIntrospectionSchema' :: Maybe Bool
includeDirectives = Maybe Bool
a} :: GetIntrospectionSchema)

-- | The API ID.
getIntrospectionSchema_apiId :: Lens.Lens' GetIntrospectionSchema Prelude.Text
getIntrospectionSchema_apiId :: (Text -> f Text)
-> GetIntrospectionSchema -> f GetIntrospectionSchema
getIntrospectionSchema_apiId = (GetIntrospectionSchema -> Text)
-> (GetIntrospectionSchema -> Text -> GetIntrospectionSchema)
-> Lens GetIntrospectionSchema GetIntrospectionSchema Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntrospectionSchema' {Text
apiId :: Text
$sel:apiId:GetIntrospectionSchema' :: GetIntrospectionSchema -> Text
apiId} -> Text
apiId) (\s :: GetIntrospectionSchema
s@GetIntrospectionSchema' {} Text
a -> GetIntrospectionSchema
s {$sel:apiId:GetIntrospectionSchema' :: Text
apiId = Text
a} :: GetIntrospectionSchema)

-- | The schema format: SDL or JSON.
getIntrospectionSchema_format :: Lens.Lens' GetIntrospectionSchema OutputType
getIntrospectionSchema_format :: (OutputType -> f OutputType)
-> GetIntrospectionSchema -> f GetIntrospectionSchema
getIntrospectionSchema_format = (GetIntrospectionSchema -> OutputType)
-> (GetIntrospectionSchema -> OutputType -> GetIntrospectionSchema)
-> Lens
     GetIntrospectionSchema GetIntrospectionSchema OutputType OutputType
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntrospectionSchema' {OutputType
format :: OutputType
$sel:format:GetIntrospectionSchema' :: GetIntrospectionSchema -> OutputType
format} -> OutputType
format) (\s :: GetIntrospectionSchema
s@GetIntrospectionSchema' {} OutputType
a -> GetIntrospectionSchema
s {$sel:format:GetIntrospectionSchema' :: OutputType
format = OutputType
a} :: GetIntrospectionSchema)

instance Core.AWSRequest GetIntrospectionSchema where
  type
    AWSResponse GetIntrospectionSchema =
      GetIntrospectionSchemaResponse
  request :: GetIntrospectionSchema -> Request GetIntrospectionSchema
request = Service -> GetIntrospectionSchema -> Request GetIntrospectionSchema
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
  response :: Logger
-> Service
-> Proxy GetIntrospectionSchema
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse GetIntrospectionSchema)))
response =
    (Int
 -> ResponseHeaders
 -> ByteString
 -> Either String (AWSResponse GetIntrospectionSchema))
-> Logger
-> Service
-> Proxy GetIntrospectionSchema
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse GetIntrospectionSchema)))
forall (m :: * -> *) a.
MonadResource m =>
(Int
 -> ResponseHeaders -> ByteString -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveBytes
      ( \Int
s ResponseHeaders
h ByteString
x ->
          Maybe ByteString -> Int -> GetIntrospectionSchemaResponse
GetIntrospectionSchemaResponse'
            (Maybe ByteString -> Int -> GetIntrospectionSchemaResponse)
-> Either String (Maybe ByteString)
-> Either String (Int -> GetIntrospectionSchemaResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Maybe ByteString -> Either String (Maybe ByteString)
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (ByteString -> Maybe ByteString
forall a. a -> Maybe a
Prelude.Just (ByteString -> ByteString
Prelude.coerce ByteString
x)))
            Either String (Int -> GetIntrospectionSchemaResponse)
-> Either String Int
-> Either String GetIntrospectionSchemaResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable GetIntrospectionSchema

instance Prelude.NFData GetIntrospectionSchema

instance Core.ToHeaders GetIntrospectionSchema where
  toHeaders :: GetIntrospectionSchema -> ResponseHeaders
toHeaders =
    ResponseHeaders -> GetIntrospectionSchema -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
      ( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"Content-Type"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Core.ToPath GetIntrospectionSchema where
  toPath :: GetIntrospectionSchema -> ByteString
toPath GetIntrospectionSchema' {Maybe Bool
Text
OutputType
format :: OutputType
apiId :: Text
includeDirectives :: Maybe Bool
$sel:format:GetIntrospectionSchema' :: GetIntrospectionSchema -> OutputType
$sel:apiId:GetIntrospectionSchema' :: GetIntrospectionSchema -> Text
$sel:includeDirectives:GetIntrospectionSchema' :: GetIntrospectionSchema -> Maybe Bool
..} =
    [ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ByteString
"/v1/apis/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
apiId, ByteString
"/schema"]

instance Core.ToQuery GetIntrospectionSchema where
  toQuery :: GetIntrospectionSchema -> QueryString
toQuery GetIntrospectionSchema' {Maybe Bool
Text
OutputType
format :: OutputType
apiId :: Text
includeDirectives :: Maybe Bool
$sel:format:GetIntrospectionSchema' :: GetIntrospectionSchema -> OutputType
$sel:apiId:GetIntrospectionSchema' :: GetIntrospectionSchema -> Text
$sel:includeDirectives:GetIntrospectionSchema' :: GetIntrospectionSchema -> Maybe Bool
..} =
    [QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"includeDirectives" ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
includeDirectives,
        ByteString
"format" ByteString -> OutputType -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: OutputType
format
      ]

-- | /See:/ 'newGetIntrospectionSchemaResponse' smart constructor.
data GetIntrospectionSchemaResponse = GetIntrospectionSchemaResponse'
  { -- | The schema, in GraphQL Schema Definition Language (SDL) format.
    --
    -- For more information, see the
    -- <http://graphql.org/learn/schema/ GraphQL SDL documentation>.
    GetIntrospectionSchemaResponse -> Maybe ByteString
schema :: Prelude.Maybe Prelude.ByteString,
    -- | The response's http status code.
    GetIntrospectionSchemaResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (GetIntrospectionSchemaResponse
-> GetIntrospectionSchemaResponse -> Bool
(GetIntrospectionSchemaResponse
 -> GetIntrospectionSchemaResponse -> Bool)
-> (GetIntrospectionSchemaResponse
    -> GetIntrospectionSchemaResponse -> Bool)
-> Eq GetIntrospectionSchemaResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetIntrospectionSchemaResponse
-> GetIntrospectionSchemaResponse -> Bool
$c/= :: GetIntrospectionSchemaResponse
-> GetIntrospectionSchemaResponse -> Bool
== :: GetIntrospectionSchemaResponse
-> GetIntrospectionSchemaResponse -> Bool
$c== :: GetIntrospectionSchemaResponse
-> GetIntrospectionSchemaResponse -> Bool
Prelude.Eq, ReadPrec [GetIntrospectionSchemaResponse]
ReadPrec GetIntrospectionSchemaResponse
Int -> ReadS GetIntrospectionSchemaResponse
ReadS [GetIntrospectionSchemaResponse]
(Int -> ReadS GetIntrospectionSchemaResponse)
-> ReadS [GetIntrospectionSchemaResponse]
-> ReadPrec GetIntrospectionSchemaResponse
-> ReadPrec [GetIntrospectionSchemaResponse]
-> Read GetIntrospectionSchemaResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetIntrospectionSchemaResponse]
$creadListPrec :: ReadPrec [GetIntrospectionSchemaResponse]
readPrec :: ReadPrec GetIntrospectionSchemaResponse
$creadPrec :: ReadPrec GetIntrospectionSchemaResponse
readList :: ReadS [GetIntrospectionSchemaResponse]
$creadList :: ReadS [GetIntrospectionSchemaResponse]
readsPrec :: Int -> ReadS GetIntrospectionSchemaResponse
$creadsPrec :: Int -> ReadS GetIntrospectionSchemaResponse
Prelude.Read, Int -> GetIntrospectionSchemaResponse -> ShowS
[GetIntrospectionSchemaResponse] -> ShowS
GetIntrospectionSchemaResponse -> String
(Int -> GetIntrospectionSchemaResponse -> ShowS)
-> (GetIntrospectionSchemaResponse -> String)
-> ([GetIntrospectionSchemaResponse] -> ShowS)
-> Show GetIntrospectionSchemaResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetIntrospectionSchemaResponse] -> ShowS
$cshowList :: [GetIntrospectionSchemaResponse] -> ShowS
show :: GetIntrospectionSchemaResponse -> String
$cshow :: GetIntrospectionSchemaResponse -> String
showsPrec :: Int -> GetIntrospectionSchemaResponse -> ShowS
$cshowsPrec :: Int -> GetIntrospectionSchemaResponse -> ShowS
Prelude.Show, (forall x.
 GetIntrospectionSchemaResponse
 -> Rep GetIntrospectionSchemaResponse x)
-> (forall x.
    Rep GetIntrospectionSchemaResponse x
    -> GetIntrospectionSchemaResponse)
-> Generic GetIntrospectionSchemaResponse
forall x.
Rep GetIntrospectionSchemaResponse x
-> GetIntrospectionSchemaResponse
forall x.
GetIntrospectionSchemaResponse
-> Rep GetIntrospectionSchemaResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetIntrospectionSchemaResponse x
-> GetIntrospectionSchemaResponse
$cfrom :: forall x.
GetIntrospectionSchemaResponse
-> Rep GetIntrospectionSchemaResponse x
Prelude.Generic)

-- |
-- Create a value of 'GetIntrospectionSchemaResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'schema', 'getIntrospectionSchemaResponse_schema' - The schema, in GraphQL Schema Definition Language (SDL) format.
--
-- For more information, see the
-- <http://graphql.org/learn/schema/ GraphQL SDL documentation>.
--
-- 'httpStatus', 'getIntrospectionSchemaResponse_httpStatus' - The response's http status code.
newGetIntrospectionSchemaResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  GetIntrospectionSchemaResponse
newGetIntrospectionSchemaResponse :: Int -> GetIntrospectionSchemaResponse
newGetIntrospectionSchemaResponse Int
pHttpStatus_ =
  GetIntrospectionSchemaResponse' :: Maybe ByteString -> Int -> GetIntrospectionSchemaResponse
GetIntrospectionSchemaResponse'
    { $sel:schema:GetIntrospectionSchemaResponse' :: Maybe ByteString
schema =
        Maybe ByteString
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:GetIntrospectionSchemaResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The schema, in GraphQL Schema Definition Language (SDL) format.
--
-- For more information, see the
-- <http://graphql.org/learn/schema/ GraphQL SDL documentation>.
getIntrospectionSchemaResponse_schema :: Lens.Lens' GetIntrospectionSchemaResponse (Prelude.Maybe Prelude.ByteString)
getIntrospectionSchemaResponse_schema :: (Maybe ByteString -> f (Maybe ByteString))
-> GetIntrospectionSchemaResponse
-> f GetIntrospectionSchemaResponse
getIntrospectionSchemaResponse_schema = (GetIntrospectionSchemaResponse -> Maybe ByteString)
-> (GetIntrospectionSchemaResponse
    -> Maybe ByteString -> GetIntrospectionSchemaResponse)
-> Lens
     GetIntrospectionSchemaResponse
     GetIntrospectionSchemaResponse
     (Maybe ByteString)
     (Maybe ByteString)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntrospectionSchemaResponse' {Maybe ByteString
schema :: Maybe ByteString
$sel:schema:GetIntrospectionSchemaResponse' :: GetIntrospectionSchemaResponse -> Maybe ByteString
schema} -> Maybe ByteString
schema) (\s :: GetIntrospectionSchemaResponse
s@GetIntrospectionSchemaResponse' {} Maybe ByteString
a -> GetIntrospectionSchemaResponse
s {$sel:schema:GetIntrospectionSchemaResponse' :: Maybe ByteString
schema = Maybe ByteString
a} :: GetIntrospectionSchemaResponse)

-- | The response's http status code.
getIntrospectionSchemaResponse_httpStatus :: Lens.Lens' GetIntrospectionSchemaResponse Prelude.Int
getIntrospectionSchemaResponse_httpStatus :: (Int -> f Int)
-> GetIntrospectionSchemaResponse
-> f GetIntrospectionSchemaResponse
getIntrospectionSchemaResponse_httpStatus = (GetIntrospectionSchemaResponse -> Int)
-> (GetIntrospectionSchemaResponse
    -> Int -> GetIntrospectionSchemaResponse)
-> Lens
     GetIntrospectionSchemaResponse
     GetIntrospectionSchemaResponse
     Int
     Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetIntrospectionSchemaResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetIntrospectionSchemaResponse' :: GetIntrospectionSchemaResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetIntrospectionSchemaResponse
s@GetIntrospectionSchemaResponse' {} Int
a -> GetIntrospectionSchemaResponse
s {$sel:httpStatus:GetIntrospectionSchemaResponse' :: Int
httpStatus = Int
a} :: GetIntrospectionSchemaResponse)

instance
  Prelude.NFData
    GetIntrospectionSchemaResponse