| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.Route53AutoNaming.DeleteNamespace
Description
Deletes a namespace from the current account. If the namespace still contains one or more services, the request fails.
Creating a Request
Arguments
| :: Text | |
| -> DeleteNamespace |
Creates a value of DeleteNamespace with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dnId- The ID of the namespace that you want to delete.
data DeleteNamespace Source #
See: deleteNamespace smart constructor.
Instances
Request Lenses
Destructuring the Response
deleteNamespaceResponse Source #
Arguments
| :: Int | |
| -> DeleteNamespaceResponse |
Creates a value of DeleteNamespaceResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dnrsOperationId- A value that you can use to determine whether the request completed successfully. To get the status of the operation, seeGetOperation.dnrsResponseStatus- -- | The response status code.
data DeleteNamespaceResponse Source #
See: deleteNamespaceResponse smart constructor.
Response Lenses
dnrsOperationId :: 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 .
dnrsResponseStatus :: Lens' DeleteNamespaceResponse Int Source #
- - | The response status code.