Skip to content

Lists the namespaces for the specified Amazon Web Services account

Description

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

Usage

quicksight_list_namespaces(AwsAccountId, NextToken, MaxResults)

Arguments

  • AwsAccountId

    [required] The ID for the Amazon Web Services account that contains the Quick Sight namespaces that you want to list.

  • 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 list_namespaces 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 list_namespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.

  • MaxResults

    The maximum number of results to return.

Value

A list with the following syntax:

list(
  Namespaces = list(
    list(
      Name = "string",
      Arn = "string",
      CapacityRegion = "string",
      CreationStatus = "CREATED"|"CREATING"|"DELETING"|"RETRYABLE_FAILURE"|"NON_RETRYABLE_FAILURE",
      IdentityStore = "QUICKSIGHT",
      NamespaceError = list(
        Type = "PERMISSION_DENIED"|"INTERNAL_SERVICE_ERROR",
        Message = "string"
      ),
      IamIdentityCenterApplicationArn = "string",
      IamIdentityCenterInstanceArn = "string"
    )
  ),
  NextToken = "string",
  RequestId = "string",
  Status = 123
)

Request syntax

svc$list_namespaces(
  AwsAccountId = "string",
  NextToken = "string",
  MaxResults = 123
)