| 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.DeleteSchema
Description
Deletes a given schema. Schemas in a development and published state can only be deleted.
Creating a Request
Arguments
| :: Text | |
| -> DeleteSchema |
Creates a value of DeleteSchema with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsSchemaARN- The Amazon Resource Name (ARN) of the development schema. For more information, seearns.
data DeleteSchema Source #
See: deleteSchema smart constructor.
Instances
Request Lenses
dsSchemaARN :: Lens' DeleteSchema Text Source #
The Amazon Resource Name (ARN) of the development schema. For more information, see arns .
Destructuring the Response
Arguments
| :: Int | |
| -> DeleteSchemaResponse |
Creates a value of DeleteSchemaResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsrsSchemaARN- The input ARN that is returned as part of the response. For more information, seearns.dsrsResponseStatus- -- | The response status code.
data DeleteSchemaResponse Source #
See: deleteSchemaResponse smart constructor.
Response Lenses
dsrsSchemaARN :: Lens' DeleteSchemaResponse (Maybe Text) Source #
The input ARN that is returned as part of the response. For more information, see arns .
dsrsResponseStatus :: Lens' DeleteSchemaResponse Int Source #
- - | The response status code.