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 a namespace and the users and groups that are associated with the namespace. This is an asynchronous process. Assets including dashboards, analyses, datasets and data sources are not deleted. To delete these assets, you use the API operations for the relevant asset.
Synopsis
- data DeleteNamespace = DeleteNamespace' {
- awsAccountId :: Text
- namespace :: Text
- newDeleteNamespace :: Text -> Text -> DeleteNamespace
- deleteNamespace_awsAccountId :: Lens' DeleteNamespace Text
- deleteNamespace_namespace :: Lens' DeleteNamespace Text
- data DeleteNamespaceResponse = DeleteNamespaceResponse' {}
- newDeleteNamespaceResponse :: Int -> DeleteNamespaceResponse
- deleteNamespaceResponse_requestId :: Lens' DeleteNamespaceResponse (Maybe Text)
- deleteNamespaceResponse_status :: Lens' DeleteNamespaceResponse Int
Creating a Request
data DeleteNamespace Source #
See: newDeleteNamespace
smart constructor.
DeleteNamespace' | |
|
Instances
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:
$sel:awsAccountId:DeleteNamespace'
, deleteNamespace_awsAccountId
- The ID for the Amazon Web Services account that you want to delete the
Amazon QuickSight namespace from.
$sel:namespace:DeleteNamespace'
, deleteNamespace_namespace
- The namespace that you want to delete.
Request Lenses
deleteNamespace_awsAccountId :: Lens' DeleteNamespace Text Source #
The ID for the Amazon Web Services account that you want to delete the Amazon QuickSight namespace from.
deleteNamespace_namespace :: Lens' DeleteNamespace Text Source #
The namespace that you want to delete.
Destructuring the Response
data DeleteNamespaceResponse Source #
See: newDeleteNamespaceResponse
smart constructor.
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:requestId:DeleteNamespaceResponse'
, deleteNamespaceResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:status:DeleteNamespaceResponse'
, deleteNamespaceResponse_status
- The HTTP status of the request.
Response Lenses
deleteNamespaceResponse_requestId :: Lens' DeleteNamespaceResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteNamespaceResponse_status :: Lens' DeleteNamespaceResponse Int Source #
The HTTP status of the request.