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 |
Allows a schema to be updated using JSON upload. Only available for development schemas. See JSON Schema Format for more information.
- putSchemaFromJSON :: Text -> Text -> PutSchemaFromJSON
- data PutSchemaFromJSON
- psfjSchemaARN :: Lens' PutSchemaFromJSON Text
- psfjDocument :: Lens' PutSchemaFromJSON Text
- putSchemaFromJSONResponse :: Int -> PutSchemaFromJSONResponse
- data PutSchemaFromJSONResponse
- psfjrsARN :: Lens' PutSchemaFromJSONResponse (Maybe Text)
- psfjrsResponseStatus :: Lens' PutSchemaFromJSONResponse Int
Creating a Request
Creates a value of PutSchemaFromJSON
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
psfjSchemaARN
- The ARN of the schema to update.psfjDocument
- The replacement JSON schema.
data PutSchemaFromJSON Source #
See: putSchemaFromJSON
smart constructor.
Request Lenses
psfjSchemaARN :: Lens' PutSchemaFromJSON Text Source #
The ARN of the schema to update.
psfjDocument :: Lens' PutSchemaFromJSON Text Source #
The replacement JSON schema.
Destructuring the Response
putSchemaFromJSONResponse Source #
Creates a value of PutSchemaFromJSONResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
psfjrsARN
- The ARN of the schema to update.psfjrsResponseStatus
- -- | The response status code.
data PutSchemaFromJSONResponse Source #
See: putSchemaFromJSONResponse
smart constructor.
Response Lenses
psfjrsResponseStatus :: Lens' PutSchemaFromJSONResponse Int Source #
- - | The response status code.