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 specified namespace. This action deletes all of the entities in the namespace. Delete the systems and flows that use entities in the namespace before performing this action.
Synopsis
- data DeleteNamespace = DeleteNamespace' {
- newDeleteNamespace :: DeleteNamespace
- data DeleteNamespaceResponse = DeleteNamespaceResponse' {
- namespaceArn :: Maybe Text
- namespaceName :: Maybe Text
- httpStatus :: Int
- newDeleteNamespaceResponse :: Int -> DeleteNamespaceResponse
- deleteNamespaceResponse_namespaceArn :: Lens' DeleteNamespaceResponse (Maybe Text)
- deleteNamespaceResponse_namespaceName :: Lens' DeleteNamespaceResponse (Maybe Text)
- deleteNamespaceResponse_httpStatus :: Lens' DeleteNamespaceResponse Int
Creating a Request
data DeleteNamespace Source #
See: newDeleteNamespace
smart constructor.
Instances
newDeleteNamespace :: DeleteNamespace Source #
Create a value of DeleteNamespace
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DeleteNamespaceResponse Source #
See: newDeleteNamespaceResponse
smart constructor.
DeleteNamespaceResponse' | |
|
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:namespaceArn:DeleteNamespaceResponse'
, deleteNamespaceResponse_namespaceArn
- The ARN of the namespace to be deleted.
$sel:namespaceName:DeleteNamespaceResponse'
, deleteNamespaceResponse_namespaceName
- The name of the namespace to be deleted.
$sel:httpStatus:DeleteNamespaceResponse'
, deleteNamespaceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteNamespaceResponse_namespaceArn :: Lens' DeleteNamespaceResponse (Maybe Text) Source #
The ARN of the namespace to be deleted.
deleteNamespaceResponse_namespaceName :: Lens' DeleteNamespaceResponse (Maybe Text) Source #
The name of the namespace to be deleted.
deleteNamespaceResponse_httpStatus :: Lens' DeleteNamespaceResponse Int Source #
The response's http status code.