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 |
Lists the namespaces for the specified Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListNamespaces = ListNamespaces' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- awsAccountId :: Text
- newListNamespaces :: Text -> ListNamespaces
- listNamespaces_nextToken :: Lens' ListNamespaces (Maybe Text)
- listNamespaces_maxResults :: Lens' ListNamespaces (Maybe Natural)
- listNamespaces_awsAccountId :: Lens' ListNamespaces Text
- data ListNamespacesResponse = ListNamespacesResponse' {}
- newListNamespacesResponse :: Int -> ListNamespacesResponse
- listNamespacesResponse_requestId :: Lens' ListNamespacesResponse (Maybe Text)
- listNamespacesResponse_namespaces :: Lens' ListNamespacesResponse (Maybe [NamespaceInfoV2])
- listNamespacesResponse_nextToken :: Lens' ListNamespacesResponse (Maybe Text)
- listNamespacesResponse_status :: Lens' ListNamespacesResponse Int
Creating a Request
data ListNamespaces Source #
See: newListNamespaces
smart constructor.
ListNamespaces' | |
|
Instances
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.
ListNamespacesResponse' | |
|
Instances
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.
listNamespacesResponse_status :: Lens' ListNamespacesResponse Int Source #
The HTTP status of the request.