| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Route53AutoNaming.DeleteNamespace
Description
Deletes a namespace from the current account. If the namespace still contains one or more services, the request fails.
Synopsis
- data DeleteNamespace = DeleteNamespace' {}
- newDeleteNamespace :: Text -> DeleteNamespace
- deleteNamespace_id :: Lens' DeleteNamespace Text
- data DeleteNamespaceResponse = DeleteNamespaceResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- newDeleteNamespaceResponse :: Int -> DeleteNamespaceResponse
- deleteNamespaceResponse_operationId :: Lens' DeleteNamespaceResponse (Maybe Text)
- deleteNamespaceResponse_httpStatus :: Lens' DeleteNamespaceResponse Int
Creating a Request
data DeleteNamespace Source #
See: newDeleteNamespace smart constructor.
Constructors
| DeleteNamespace' | |
Instances
Arguments
| :: Text | |
| -> DeleteNamespace |
Create a value of DeleteNamespace 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:
DeleteNamespace, deleteNamespace_id - The ID of the namespace that you want to delete.
Request Lenses
deleteNamespace_id :: Lens' DeleteNamespace Text Source #
The ID of the namespace that you want to delete.
Destructuring the Response
data DeleteNamespaceResponse Source #
See: newDeleteNamespaceResponse smart constructor.
Constructors
| DeleteNamespaceResponse' | |
Fields
| |
Instances
newDeleteNamespaceResponse Source #
Create a value of DeleteNamespaceResponse 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:operationId:DeleteNamespaceResponse', deleteNamespaceResponse_operationId - A value that you can use to determine whether the request completed
successfully. To get the status of the operation, see
GetOperation.
$sel:httpStatus:DeleteNamespaceResponse', deleteNamespaceResponse_httpStatus - The response's http status code.
Response Lenses
deleteNamespaceResponse_operationId :: Lens' DeleteNamespaceResponse (Maybe Text) Source #
A value that you can use to determine whether the request completed successfully. To get the status of the operation, see GetOperation.
deleteNamespaceResponse_httpStatus :: Lens' DeleteNamespaceResponse Int Source #
The response's http status code.