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.ListNamespaces

Description

Lists the namespaces for the specified Amazon Web Services account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListNamespaces Source #

See: newListNamespaces smart constructor.

Constructors

ListNamespaces' 

Fields

  • nextToken :: Maybe Text

    A pagination token that can be used in a subsequent request.

  • maxResults :: Maybe Natural

    The maximum number of results to return.

  • awsAccountId :: Text

    The ID for the Amazon Web Services account that contains the Amazon QuickSight namespaces that you want to list.

Instances

Instances details
Eq ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Read ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Show ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Generic ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Associated Types

type Rep ListNamespaces :: Type -> Type #

NFData ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Methods

rnf :: ListNamespaces -> () #

Hashable ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

AWSPager ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

AWSRequest ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Associated Types

type AWSResponse ListNamespaces #

ToHeaders ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

ToPath ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

ToQuery ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

type Rep ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

type Rep ListNamespaces = D1 ('MetaData "ListNamespaces" "Amazonka.QuickSight.ListNamespaces" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "ListNamespaces'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

newListNamespaces Source #

Create a value of ListNamespaces 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:nextToken:ListNamespaces', listNamespaces_nextToken - A pagination token that can be used in a subsequent request.

$sel:maxResults:ListNamespaces', listNamespaces_maxResults - The maximum number of results to return.

$sel:awsAccountId:ListNamespaces', listNamespaces_awsAccountId - The ID for the Amazon Web Services account that contains the Amazon QuickSight namespaces that you want to list.

Request Lenses

listNamespaces_nextToken :: Lens' ListNamespaces (Maybe Text) Source #

A pagination token that can be used in a subsequent request.

listNamespaces_maxResults :: Lens' ListNamespaces (Maybe Natural) Source #

The maximum number of results to return.

listNamespaces_awsAccountId :: Lens' ListNamespaces Text Source #

The ID for the Amazon Web Services account that contains the Amazon QuickSight namespaces that you want to list.

Destructuring the Response

data ListNamespacesResponse Source #

See: newListNamespacesResponse smart constructor.

Constructors

ListNamespacesResponse' 

Fields

  • requestId :: Maybe Text

    The Amazon Web Services request ID for this operation.

  • namespaces :: Maybe [NamespaceInfoV2]

    The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.

  • nextToken :: Maybe Text

    A pagination token that can be used in a subsequent request.

  • status :: Int

    The HTTP status of the request.

Instances

Instances details
Eq ListNamespacesResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Read ListNamespacesResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Show ListNamespacesResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Generic ListNamespacesResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Associated Types

type Rep ListNamespacesResponse :: Type -> Type #

NFData ListNamespacesResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Methods

rnf :: ListNamespacesResponse -> () #

type Rep ListNamespacesResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

type Rep ListNamespacesResponse = D1 ('MetaData "ListNamespacesResponse" "Amazonka.QuickSight.ListNamespaces" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "ListNamespacesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "namespaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NamespaceInfoV2]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListNamespacesResponse Source #

Create a value of ListNamespacesResponse 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:ListNamespacesResponse', listNamespacesResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:namespaces:ListNamespacesResponse', listNamespacesResponse_namespaces - The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.

$sel:nextToken:ListNamespaces', listNamespacesResponse_nextToken - A pagination token that can be used in a subsequent request.

$sel:status:ListNamespacesResponse', listNamespacesResponse_status - The HTTP status of the request.

Response Lenses

listNamespacesResponse_requestId :: Lens' ListNamespacesResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

listNamespacesResponse_namespaces :: Lens' ListNamespacesResponse (Maybe [NamespaceInfoV2]) Source #

The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.

listNamespacesResponse_nextToken :: Lens' ListNamespacesResponse (Maybe Text) Source #

A pagination token that can be used in a subsequent request.