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 information about a namespace.
Synopsis
- data GetNamespace = GetNamespace' {}
- newGetNamespace :: Text -> GetNamespace
- getNamespace_id :: Lens' GetNamespace Text
- data GetNamespaceResponse = GetNamespaceResponse' {
- namespace :: Maybe Namespace
- httpStatus :: Int
- newGetNamespaceResponse :: Int -> GetNamespaceResponse
- getNamespaceResponse_namespace :: Lens' GetNamespaceResponse (Maybe Namespace)
- getNamespaceResponse_httpStatus :: Lens' GetNamespaceResponse Int
Creating a Request
data GetNamespace Source #
See: newGetNamespace
smart constructor.
Instances
Create a value of GetNamespace
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:id:GetNamespace'
, getNamespace_id
- The ID of the namespace that you want to get information about.
Request Lenses
getNamespace_id :: Lens' GetNamespace Text Source #
The ID of the namespace that you want to get information about.
Destructuring the Response
data GetNamespaceResponse Source #
See: newGetNamespaceResponse
smart constructor.
GetNamespaceResponse' | |
|
Instances
newGetNamespaceResponse Source #
Create a value of GetNamespaceResponse
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:namespace:GetNamespaceResponse'
, getNamespaceResponse_namespace
- A complex type that contains information about the specified namespace.
$sel:httpStatus:GetNamespaceResponse'
, getNamespaceResponse_httpStatus
- The response's http status code.
Response Lenses
getNamespaceResponse_namespace :: Lens' GetNamespaceResponse (Maybe Namespace) Source #
A complex type that contains information about the specified namespace.
getNamespaceResponse_httpStatus :: Lens' GetNamespaceResponse Int Source #
The response's http status code.