libZSservicesZSamazonka-quicksightZSamazonka-quicksight
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.QuickSight.CreateNamespace

Description

(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

Creating a Request

data CreateNamespace Source #

See: newCreateNamespace smart constructor.

Constructors

CreateNamespace' 

Fields

  • tags :: Maybe (NonEmpty Tag)

    The tags that you want to associate with the namespace that you're creating.

  • awsAccountId :: Text

    The ID for the Amazon Web Services account that you want to create the Amazon QuickSight namespace in.

  • namespace :: Text

    The name that you want to use to describe the new namespace.

  • identityStore :: IdentityStore

    Specifies the type of your user identity directory. Currently, this supports users with an identity type of QUICKSIGHT.

Instances

Instances details
Eq CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

Read CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

Show CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

Generic CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

Associated Types

type Rep CreateNamespace :: Type -> Type #

NFData CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

Methods

rnf :: CreateNamespace -> () #

Hashable CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

ToJSON CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

AWSRequest CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

Associated Types

type AWSResponse CreateNamespace #

ToHeaders CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

ToPath CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

ToQuery CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

type Rep CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

type Rep CreateNamespace = D1 ('MetaData "CreateNamespace" "Amazonka.QuickSight.CreateNamespace" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "CreateNamespace'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))) :*: S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "identityStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IdentityStore))))
type AWSResponse CreateNamespace Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

newCreateNamespace Source #

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.

Constructors

CreateNamespaceResponse' 

Fields

  • requestId :: Maybe Text

    The Amazon Web Services request ID for this operation.

  • capacityRegion :: Maybe Text

    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.

  • arn :: Maybe Text

    The ARN of the Amazon QuickSight namespace you created.

  • creationStatus :: Maybe NamespaceStatus

    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.

  • name :: Maybe Text

    The name of the new namespace that you created.

  • identityStore :: Maybe IdentityStore

    Specifies the type of your user identity directory. Currently, this supports users with an identity type of QUICKSIGHT.

  • status :: Int

    The HTTP status of the request.

Instances

Instances details
Eq CreateNamespaceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

Read CreateNamespaceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

Show CreateNamespaceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

Generic CreateNamespaceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

Associated Types

type Rep CreateNamespaceResponse :: Type -> Type #

NFData CreateNamespaceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

Methods

rnf :: CreateNamespaceResponse -> () #

type Rep CreateNamespaceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateNamespace

type Rep CreateNamespaceResponse = D1 ('MetaData "CreateNamespaceResponse" "Amazonka.QuickSight.CreateNamespace" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "CreateNamespaceResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "capacityRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "creationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NamespaceStatus)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "identityStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IdentityStore)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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.