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 |
Gets the latest version of the user's namespace and the public version that it is tracking.
Synopsis
- data DescribeNamespace = DescribeNamespace' {}
- newDescribeNamespace :: DescribeNamespace
- describeNamespace_namespaceName :: Lens' DescribeNamespace (Maybe Text)
- data DescribeNamespaceResponse = DescribeNamespaceResponse' {}
- newDescribeNamespaceResponse :: Int -> DescribeNamespaceResponse
- describeNamespaceResponse_namespaceArn :: Lens' DescribeNamespaceResponse (Maybe Text)
- describeNamespaceResponse_trackingNamespaceVersion :: Lens' DescribeNamespaceResponse (Maybe Integer)
- describeNamespaceResponse_namespaceVersion :: Lens' DescribeNamespaceResponse (Maybe Integer)
- describeNamespaceResponse_namespaceName :: Lens' DescribeNamespaceResponse (Maybe Text)
- describeNamespaceResponse_trackingNamespaceName :: Lens' DescribeNamespaceResponse (Maybe Text)
- describeNamespaceResponse_httpStatus :: Lens' DescribeNamespaceResponse Int
Creating a Request
data DescribeNamespace Source #
See: newDescribeNamespace
smart constructor.
DescribeNamespace' | |
|
Instances
newDescribeNamespace :: DescribeNamespace Source #
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:namespaceName:DescribeNamespace'
, describeNamespace_namespaceName
- The name of the user's namespace. Set this to aws
to get the public
namespace.
Request Lenses
describeNamespace_namespaceName :: Lens' DescribeNamespace (Maybe Text) Source #
The name of the user's namespace. Set this to aws
to get the public
namespace.
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:namespaceArn:DescribeNamespaceResponse'
, describeNamespaceResponse_namespaceArn
- The ARN of the namespace.
$sel:trackingNamespaceVersion:DescribeNamespaceResponse'
, describeNamespaceResponse_trackingNamespaceVersion
- The version of the public namespace that the latest version is tracking.
$sel:namespaceVersion:DescribeNamespaceResponse'
, describeNamespaceResponse_namespaceVersion
- The version of the user's namespace to describe.
$sel:namespaceName:DescribeNamespace'
, describeNamespaceResponse_namespaceName
- The name of the namespace.
$sel:trackingNamespaceName:DescribeNamespaceResponse'
, describeNamespaceResponse_trackingNamespaceName
- The name of the public namespace that the latest namespace version is
tracking.
$sel:httpStatus:DescribeNamespaceResponse'
, describeNamespaceResponse_httpStatus
- The response's http status code.
Response Lenses
describeNamespaceResponse_namespaceArn :: Lens' DescribeNamespaceResponse (Maybe Text) Source #
The ARN of the namespace.
describeNamespaceResponse_trackingNamespaceVersion :: Lens' DescribeNamespaceResponse (Maybe Integer) Source #
The version of the public namespace that the latest version is tracking.
describeNamespaceResponse_namespaceVersion :: Lens' DescribeNamespaceResponse (Maybe Integer) Source #
The version of the user's namespace to describe.
describeNamespaceResponse_namespaceName :: Lens' DescribeNamespaceResponse (Maybe Text) Source #
The name of the namespace.
describeNamespaceResponse_trackingNamespaceName :: Lens' DescribeNamespaceResponse (Maybe Text) Source #
The name of the public namespace that the latest namespace version is tracking.
describeNamespaceResponse_httpStatus :: Lens' DescribeNamespaceResponse Int Source #
The response's http status code.