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 |
Deletes a namespace from the current account. If the namespace still contains one or more services, the request fails.
Creating a Request
:: 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.
Request Lenses
Destructuring the Response
deleteNamespaceResponse Source #
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.