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 schema. Before deleting a schema, you must delete all datasets referencing the schema. For more information on schemas, see CreateSchema.
Synopsis
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 schema to delete.
Request Lenses
deleteSchema_schemaArn :: Lens' DeleteSchema Text Source #
The Amazon Resource Name (ARN) of the schema to delete.
Destructuring the Response
data DeleteSchemaResponse Source #
See: newDeleteSchemaResponse
smart constructor.
Instances
Eq DeleteSchemaResponse Source # | |
Defined in Amazonka.Personalize.DeleteSchema (==) :: DeleteSchemaResponse -> DeleteSchemaResponse -> Bool # (/=) :: DeleteSchemaResponse -> DeleteSchemaResponse -> Bool # | |
Read DeleteSchemaResponse Source # | |
Show DeleteSchemaResponse Source # | |
Defined in Amazonka.Personalize.DeleteSchema showsPrec :: Int -> DeleteSchemaResponse -> ShowS # show :: DeleteSchemaResponse -> String # showList :: [DeleteSchemaResponse] -> ShowS # | |
Generic DeleteSchemaResponse Source # | |
Defined in Amazonka.Personalize.DeleteSchema type Rep DeleteSchemaResponse :: Type -> Type # from :: DeleteSchemaResponse -> Rep DeleteSchemaResponse x # to :: Rep DeleteSchemaResponse x -> DeleteSchemaResponse # | |
NFData DeleteSchemaResponse Source # | |
Defined in Amazonka.Personalize.DeleteSchema rnf :: DeleteSchemaResponse -> () # | |
type Rep DeleteSchemaResponse Source # | |
newDeleteSchemaResponse :: DeleteSchemaResponse Source #
Create a value of DeleteSchemaResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.