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 |
Amazonka.Personalize.DeleteSchema
Description
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.
Constructors
DeleteSchema' | |
Instances
Arguments
:: Text | |
-> DeleteSchema |
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.
Constructors
DeleteSchemaResponse' | |
Instances
newDeleteSchemaResponse :: DeleteSchemaResponse Source #
Create a value of DeleteSchemaResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.