| Copyright | (c) 2013-2018 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 |
Network.AWS.CloudDirectory.PutSchemaFromJSON
Description
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
Arguments
| :: Text | |
| -> Text | |
| -> PutSchemaFromJSON |
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.
Instances
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 #
Arguments
| :: Int | |
| -> PutSchemaFromJSONResponse |
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.