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 |
(Enterprise edition only) Creates a new namespace for you to use with Amazon QuickSight.
A namespace allows you to isolate the Amazon QuickSight users and groups that are registered for that namespace. Users that access the namespace can share assets only with other users or groups in the same namespace. They can't see users and groups in other namespaces. You can create a namespace after your Amazon Web Services account is subscribed to Amazon QuickSight. The namespace must be unique within the Amazon Web Services account. By default, there is a limit of 100 namespaces per Amazon Web Services account. To increase your limit, create a ticket with Amazon Web Services Support.
Synopsis
- data CreateNamespace = CreateNamespace' {
- tags :: Maybe (NonEmpty Tag)
- awsAccountId :: Text
- namespace :: Text
- identityStore :: IdentityStore
- newCreateNamespace :: Text -> Text -> IdentityStore -> CreateNamespace
- createNamespace_tags :: Lens' CreateNamespace (Maybe (NonEmpty Tag))
- createNamespace_awsAccountId :: Lens' CreateNamespace Text
- createNamespace_namespace :: Lens' CreateNamespace Text
- createNamespace_identityStore :: Lens' CreateNamespace IdentityStore
- data CreateNamespaceResponse = CreateNamespaceResponse' {}
- newCreateNamespaceResponse :: Int -> CreateNamespaceResponse
- createNamespaceResponse_requestId :: Lens' CreateNamespaceResponse (Maybe Text)
- createNamespaceResponse_capacityRegion :: Lens' CreateNamespaceResponse (Maybe Text)
- createNamespaceResponse_arn :: Lens' CreateNamespaceResponse (Maybe Text)
- createNamespaceResponse_creationStatus :: Lens' CreateNamespaceResponse (Maybe NamespaceStatus)
- createNamespaceResponse_name :: Lens' CreateNamespaceResponse (Maybe Text)
- createNamespaceResponse_identityStore :: Lens' CreateNamespaceResponse (Maybe IdentityStore)
- createNamespaceResponse_status :: Lens' CreateNamespaceResponse Int
Creating a Request
data CreateNamespace Source #
See: newCreateNamespace
smart constructor.
CreateNamespace' | |
|
Instances
:: Text | |
-> Text | |
-> IdentityStore | |
-> CreateNamespace |
Create a value of CreateNamespace
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:tags:CreateNamespace'
, createNamespace_tags
- The tags that you want to associate with the namespace that you're
creating.
$sel:awsAccountId:CreateNamespace'
, createNamespace_awsAccountId
- The ID for the Amazon Web Services account that you want to create the
Amazon QuickSight namespace in.
$sel:namespace:CreateNamespace'
, createNamespace_namespace
- The name that you want to use to describe the new namespace.
$sel:identityStore:CreateNamespace'
, createNamespace_identityStore
- Specifies the type of your user identity directory. Currently, this
supports users with an identity type of QUICKSIGHT
.
Request Lenses
createNamespace_tags :: Lens' CreateNamespace (Maybe (NonEmpty Tag)) Source #
The tags that you want to associate with the namespace that you're creating.
createNamespace_awsAccountId :: Lens' CreateNamespace Text Source #
The ID for the Amazon Web Services account that you want to create the Amazon QuickSight namespace in.
createNamespace_namespace :: Lens' CreateNamespace Text Source #
The name that you want to use to describe the new namespace.
createNamespace_identityStore :: Lens' CreateNamespace IdentityStore Source #
Specifies the type of your user identity directory. Currently, this
supports users with an identity type of QUICKSIGHT
.
Destructuring the Response
data CreateNamespaceResponse Source #
See: newCreateNamespaceResponse
smart constructor.
CreateNamespaceResponse' | |
|
Instances
newCreateNamespaceResponse Source #
Create a value of CreateNamespaceResponse
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:CreateNamespaceResponse'
, createNamespaceResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:capacityRegion:CreateNamespaceResponse'
, createNamespaceResponse_capacityRegion
- The Amazon Web Services Region; that you want to use for the free SPICE
capacity for the new namespace. This is set to the region that you run
CreateNamespace in.
$sel:arn:CreateNamespaceResponse'
, createNamespaceResponse_arn
- The ARN of the Amazon QuickSight namespace you created.
$sel:creationStatus:CreateNamespaceResponse'
, createNamespaceResponse_creationStatus
- The status of the creation of the namespace. This is an asynchronous
process. A status of CREATED
means that your namespace is ready to
use. If an error occurs, it indicates if the process is retryable
or
non-retryable
. In the case of a non-retryable error, refer to the
error message for follow-up tasks.
$sel:name:CreateNamespaceResponse'
, createNamespaceResponse_name
- The name of the new namespace that you created.
$sel:identityStore:CreateNamespace'
, createNamespaceResponse_identityStore
- Specifies the type of your user identity directory. Currently, this
supports users with an identity type of QUICKSIGHT
.
$sel:status:CreateNamespaceResponse'
, createNamespaceResponse_status
- The HTTP status of the request.
Response Lenses
createNamespaceResponse_requestId :: Lens' CreateNamespaceResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
createNamespaceResponse_capacityRegion :: Lens' CreateNamespaceResponse (Maybe Text) Source #
The Amazon Web Services Region; that you want to use for the free SPICE capacity for the new namespace. This is set to the region that you run CreateNamespace in.
createNamespaceResponse_arn :: Lens' CreateNamespaceResponse (Maybe Text) Source #
The ARN of the Amazon QuickSight namespace you created.
createNamespaceResponse_creationStatus :: Lens' CreateNamespaceResponse (Maybe NamespaceStatus) Source #
The status of the creation of the namespace. This is an asynchronous
process. A status of CREATED
means that your namespace is ready to
use. If an error occurs, it indicates if the process is retryable
or
non-retryable
. In the case of a non-retryable error, refer to the
error message for follow-up tasks.
createNamespaceResponse_name :: Lens' CreateNamespaceResponse (Maybe Text) Source #
The name of the new namespace that you created.
createNamespaceResponse_identityStore :: Lens' CreateNamespaceResponse (Maybe IdentityStore) Source #
Specifies the type of your user identity directory. Currently, this
supports users with an identity type of QUICKSIGHT
.
createNamespaceResponse_status :: Lens' CreateNamespaceResponse Int Source #
The HTTP status of the request.