Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Gets information about a namespace.
Creating a Request
:: Text | |
-> GetNamespace |
Creates a value of GetNamespace
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gnId
- The ID of the namespace that you want to get information about.
data GetNamespace Source #
See: getNamespace
smart constructor.
Request Lenses
gnId :: Lens' GetNamespace Text Source #
The ID of the namespace that you want to get information about.
Destructuring the Response
Creates a value of GetNamespaceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gnrsNamespace
- A complex type that contains information about the specified namespace.gnrsResponseStatus
- -- | The response status code.
data GetNamespaceResponse Source #
See: getNamespaceResponse
smart constructor.
Response Lenses
gnrsNamespace :: Lens' GetNamespaceResponse (Maybe Namespace) Source #
A complex type that contains information about the specified namespace.
gnrsResponseStatus :: Lens' GetNamespaceResponse Int Source #
- - | The response status code.