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 |
Delete the entire registry including schema and all of its versions. To
get the status of the delete operation, you can call the GetRegistry
API after the asynchronous call. Deleting a registry will deactivate all
online operations for the registry such as the UpdateRegistry
,
CreateSchema
, UpdateSchema
, and RegisterSchemaVersion
APIs.
Synopsis
- data DeleteRegistry = DeleteRegistry' {}
- newDeleteRegistry :: RegistryId -> DeleteRegistry
- deleteRegistry_registryId :: Lens' DeleteRegistry RegistryId
- data DeleteRegistryResponse = DeleteRegistryResponse' {}
- newDeleteRegistryResponse :: Int -> DeleteRegistryResponse
- deleteRegistryResponse_status :: Lens' DeleteRegistryResponse (Maybe RegistryStatus)
- deleteRegistryResponse_registryName :: Lens' DeleteRegistryResponse (Maybe Text)
- deleteRegistryResponse_registryArn :: Lens' DeleteRegistryResponse (Maybe Text)
- deleteRegistryResponse_httpStatus :: Lens' DeleteRegistryResponse Int
Creating a Request
data DeleteRegistry Source #
See: newDeleteRegistry
smart constructor.
DeleteRegistry' | |
|
Instances
Create a value of DeleteRegistry
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:registryId:DeleteRegistry'
, deleteRegistry_registryId
- This is a wrapper structure that may contain the registry name and
Amazon Resource Name (ARN).
Request Lenses
deleteRegistry_registryId :: Lens' DeleteRegistry RegistryId Source #
This is a wrapper structure that may contain the registry name and Amazon Resource Name (ARN).
Destructuring the Response
data DeleteRegistryResponse Source #
See: newDeleteRegistryResponse
smart constructor.
DeleteRegistryResponse' | |
|
Instances
newDeleteRegistryResponse Source #
Create a value of DeleteRegistryResponse
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:DeleteRegistryResponse'
, deleteRegistryResponse_status
- The status of the registry. A successful operation will return the
Deleting
status.
$sel:registryName:DeleteRegistryResponse'
, deleteRegistryResponse_registryName
- The name of the registry being deleted.
$sel:registryArn:DeleteRegistryResponse'
, deleteRegistryResponse_registryArn
- The Amazon Resource Name (ARN) of the registry being deleted.
$sel:httpStatus:DeleteRegistryResponse'
, deleteRegistryResponse_httpStatus
- The response's http status code.
Response Lenses
deleteRegistryResponse_status :: Lens' DeleteRegistryResponse (Maybe RegistryStatus) Source #
The status of the registry. A successful operation will return the
Deleting
status.
deleteRegistryResponse_registryName :: Lens' DeleteRegistryResponse (Maybe Text) Source #
The name of the registry being deleted.
deleteRegistryResponse_registryArn :: Lens' DeleteRegistryResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the registry being deleted.
deleteRegistryResponse_httpStatus :: Lens' DeleteRegistryResponse Int Source #
The response's http status code.