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) |
Safe Haskell | None |
Deletes a given schema. Schemas in a development and published state can only be deleted.
Synopsis
- data DeleteSchema = DeleteSchema' {}
- newDeleteSchema :: Text -> DeleteSchema
- deleteSchema_schemaArn :: Lens' DeleteSchema Text
- data DeleteSchemaResponse = DeleteSchemaResponse' {
- schemaArn :: Maybe Text
- httpStatus :: Int
- newDeleteSchemaResponse :: Int -> DeleteSchemaResponse
- deleteSchemaResponse_schemaArn :: Lens' DeleteSchemaResponse (Maybe Text)
- deleteSchemaResponse_httpStatus :: Lens' DeleteSchemaResponse Int
Creating a Request
data DeleteSchema Source #
See: newDeleteSchema
smart constructor.
Instances
Create a value of DeleteSchema
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:schemaArn:DeleteSchema'
, deleteSchema_schemaArn
- The Amazon Resource Name (ARN) of the development schema. For more
information, see arns.
Request Lenses
deleteSchema_schemaArn :: Lens' DeleteSchema Text Source #
The Amazon Resource Name (ARN) of the development schema. For more information, see arns.
Destructuring the Response
data DeleteSchemaResponse Source #
See: newDeleteSchemaResponse
smart constructor.
DeleteSchemaResponse' | |
|
Instances
newDeleteSchemaResponse Source #
Create a value of DeleteSchemaResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:schemaArn:DeleteSchema'
, deleteSchemaResponse_schemaArn
- The input ARN that is returned as part of the response. For more
information, see arns.
$sel:httpStatus:DeleteSchemaResponse'
, deleteSchemaResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSchemaResponse_schemaArn :: Lens' DeleteSchemaResponse (Maybe Text) Source #
The input ARN that is returned as part of the response. For more information, see arns.
deleteSchemaResponse_httpStatus :: Lens' DeleteSchemaResponse Int Source #
The response's http status code.