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 the entire schema set, including the schema set and all of its
versions. To get the status of the delete operation, you can call
GetSchema
API after the asynchronous call. Deleting a registry will
deactivate all online operations for the schema, such as the
GetSchemaByDefinition
, and RegisterSchemaVersion
APIs.
Synopsis
- data DeleteSchema = DeleteSchema' {}
- newDeleteSchema :: SchemaId -> DeleteSchema
- deleteSchema_schemaId :: Lens' DeleteSchema SchemaId
- data DeleteSchemaResponse = DeleteSchemaResponse' {
- status :: Maybe SchemaStatus
- schemaName :: Maybe Text
- schemaArn :: Maybe Text
- httpStatus :: Int
- newDeleteSchemaResponse :: Int -> DeleteSchemaResponse
- deleteSchemaResponse_status :: Lens' DeleteSchemaResponse (Maybe SchemaStatus)
- deleteSchemaResponse_schemaName :: Lens' DeleteSchemaResponse (Maybe Text)
- 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:schemaId:DeleteSchema'
, deleteSchema_schemaId
- This is a wrapper structure that may contain the schema name and Amazon
Resource Name (ARN).
Request Lenses
deleteSchema_schemaId :: Lens' DeleteSchema SchemaId Source #
This is a wrapper structure that may contain the schema name and Amazon Resource Name (ARN).
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:status:DeleteSchemaResponse'
, deleteSchemaResponse_status
- The status of the schema.
$sel:schemaName:DeleteSchemaResponse'
, deleteSchemaResponse_schemaName
- The name of the schema being deleted.
$sel:schemaArn:DeleteSchemaResponse'
, deleteSchemaResponse_schemaArn
- The Amazon Resource Name (ARN) of the schema being deleted.
$sel:httpStatus:DeleteSchemaResponse'
, deleteSchemaResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSchemaResponse_status :: Lens' DeleteSchemaResponse (Maybe SchemaStatus) Source #
The status of the schema.
deleteSchemaResponse_schemaName :: Lens' DeleteSchemaResponse (Maybe Text) Source #
The name of the schema being deleted.
deleteSchemaResponse_schemaArn :: Lens' DeleteSchemaResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the schema being deleted.
deleteSchemaResponse_httpStatus :: Lens' DeleteSchemaResponse Int Source #
The response's http status code.