Copyright | (c) 2013-2017 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) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves a JSON representation of the schema. See JSON Schema Format for more information.
- getSchemaAsJSON :: Text -> GetSchemaAsJSON
- data GetSchemaAsJSON
- gsajSchemaARN :: Lens' GetSchemaAsJSON Text
- getSchemaAsJSONResponse :: Int -> GetSchemaAsJSONResponse
- data GetSchemaAsJSONResponse
- gsajrsDocument :: Lens' GetSchemaAsJSONResponse (Maybe Text)
- gsajrsName :: Lens' GetSchemaAsJSONResponse (Maybe Text)
- gsajrsResponseStatus :: Lens' GetSchemaAsJSONResponse Int
Creating a Request
Creates a value of GetSchemaAsJSON
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsajSchemaARN
- The ARN of the schema to retrieve.
data GetSchemaAsJSON Source #
See: getSchemaAsJSON
smart constructor.
Request Lenses
gsajSchemaARN :: Lens' GetSchemaAsJSON Text Source #
The ARN of the schema to retrieve.
Destructuring the Response
getSchemaAsJSONResponse Source #
Creates a value of GetSchemaAsJSONResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsajrsDocument
- The JSON representation of the schema document.gsajrsName
- The name of the retrieved schema.gsajrsResponseStatus
- -- | The response status code.
data GetSchemaAsJSONResponse Source #
See: getSchemaAsJSONResponse
smart constructor.
Response Lenses
gsajrsDocument :: Lens' GetSchemaAsJSONResponse (Maybe Text) Source #
The JSON representation of the schema document.
gsajrsName :: Lens' GetSchemaAsJSONResponse (Maybe Text) Source #
The name of the retrieved schema.
gsajrsResponseStatus :: Lens' GetSchemaAsJSONResponse Int Source #
- - | The response status code.