amazonka-quicksight-2.0: Amazon QuickSight SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.QuickSight.ListNamespaces

Description

Lists the namespaces for the specified Amazon Web Services account. This operation doesn't list deleted namespaces.

This operation returns paginated results.

Synopsis

Creating a Request

data ListNamespaces Source #

See: newListNamespaces smart constructor.

Constructors

ListNamespaces' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return.

  • nextToken :: Maybe Text

    A unique pagination token that can be used in a subsequent request. You will receive a pagination token in the response body of a previous ListNameSpaces API call if there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.

  • awsAccountId :: Text

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

Instances

Instances details
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

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 #

Generic ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Associated Types

type Rep ListNamespaces :: Type -> Type #

Read ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Show ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

NFData ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Methods

rnf :: ListNamespaces -> () #

Eq ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Hashable ListNamespaces Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

type AWSResponse 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" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "ListNamespaces'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:maxResults:ListNamespaces', listNamespaces_maxResults - The maximum number of results to return.

ListNamespaces, listNamespaces_nextToken - A unique pagination token that can be used in a subsequent request. You will receive a pagination token in the response body of a previous ListNameSpaces API call if there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.

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_maxResults :: Lens' ListNamespaces (Maybe Natural) Source #

The maximum number of results to return.

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

A unique pagination token that can be used in a subsequent request. You will receive a pagination token in the response body of a previous ListNameSpaces API call if there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.

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

  • 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 unique pagination token that can be used in a subsequent request. Receiving NextToken in your response inticates that there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.

  • requestId :: Maybe Text

    The Amazon Web Services request ID for this operation.

  • status :: Int

    The HTTP status of the request.

Instances

Instances details
Generic ListNamespacesResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Associated Types

type Rep ListNamespacesResponse :: Type -> Type #

Read ListNamespacesResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Show ListNamespacesResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

NFData ListNamespacesResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

Methods

rnf :: ListNamespacesResponse -> () #

Eq ListNamespacesResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

type Rep ListNamespacesResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListNamespaces

type Rep ListNamespacesResponse = D1 ('MetaData "ListNamespacesResponse" "Amazonka.QuickSight.ListNamespaces" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "ListNamespacesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "namespaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NamespaceInfoV2])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestId") '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: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.

ListNamespaces, listNamespacesResponse_nextToken - A unique pagination token that can be used in a subsequent request. Receiving NextToken in your response inticates that there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.

$sel:requestId:ListNamespacesResponse', listNamespacesResponse_requestId - The Amazon Web Services request ID for this operation.

ListNamespacesResponse, listNamespacesResponse_status - The HTTP status of the request.

Response Lenses

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 unique pagination token that can be used in a subsequent request. Receiving NextToken in your response inticates that there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.

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

The Amazon Web Services request ID for this operation.