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 |
Describes the current namespace.
Synopsis
- data DescribeNamespace = DescribeNamespace' {
- awsAccountId :: Text
- namespace :: Text
- newDescribeNamespace :: Text -> Text -> DescribeNamespace
- describeNamespace_awsAccountId :: Lens' DescribeNamespace Text
- describeNamespace_namespace :: Lens' DescribeNamespace Text
- data DescribeNamespaceResponse = DescribeNamespaceResponse' {}
- newDescribeNamespaceResponse :: Int -> DescribeNamespaceResponse
- describeNamespaceResponse_requestId :: Lens' DescribeNamespaceResponse (Maybe Text)
- describeNamespaceResponse_namespace :: Lens' DescribeNamespaceResponse (Maybe NamespaceInfoV2)
- describeNamespaceResponse_status :: Lens' DescribeNamespaceResponse Int
Creating a Request
data DescribeNamespace Source #
See: newDescribeNamespace
smart constructor.
DescribeNamespace' | |
|
Instances
:: Text | |
-> Text | |
-> DescribeNamespace |
Create a value of DescribeNamespace
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:awsAccountId:DescribeNamespace'
, describeNamespace_awsAccountId
- The ID for the Amazon Web Services account that contains the Amazon
QuickSight namespace that you want to describe.
$sel:namespace:DescribeNamespace'
, describeNamespace_namespace
- The namespace that you want to describe.
Request Lenses
describeNamespace_awsAccountId :: Lens' DescribeNamespace Text Source #
The ID for the Amazon Web Services account that contains the Amazon QuickSight namespace that you want to describe.
describeNamespace_namespace :: Lens' DescribeNamespace Text Source #
The namespace that you want to describe.
Destructuring the Response
data DescribeNamespaceResponse Source #
See: newDescribeNamespaceResponse
smart constructor.
DescribeNamespaceResponse' | |
|
Instances
newDescribeNamespaceResponse Source #
Create a value of DescribeNamespaceResponse
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:DescribeNamespaceResponse'
, describeNamespaceResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:namespace:DescribeNamespace'
, describeNamespaceResponse_namespace
- The information about the namespace that you're describing. The
response includes the namespace ARN, name, Amazon Web Services Region,
creation status, and identity store. DescribeNamespace
also works for
namespaces that are in the process of being created. For incomplete
namespaces, this API operation lists the namespace error types and
messages associated with the creation process.
$sel:status:DescribeNamespaceResponse'
, describeNamespaceResponse_status
- The HTTP status of the request.
Response Lenses
describeNamespaceResponse_requestId :: Lens' DescribeNamespaceResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeNamespaceResponse_namespace :: Lens' DescribeNamespaceResponse (Maybe NamespaceInfoV2) Source #
The information about the namespace that you're describing. The
response includes the namespace ARN, name, Amazon Web Services Region,
creation status, and identity store. DescribeNamespace
also works for
namespaces that are in the process of being created. For incomplete
namespaces, this API operation lists the namespace error types and
messages associated with the creation process.
describeNamespaceResponse_status :: Lens' DescribeNamespaceResponse Int Source #
The HTTP status of the request.