Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns information about a namespace in Amazon Redshift Serverless.
Synopsis
- data GetNamespace = GetNamespace' {}
- newGetNamespace :: Text -> GetNamespace
- getNamespace_namespaceName :: Lens' GetNamespace Text
- data GetNamespaceResponse = GetNamespaceResponse' {
- httpStatus :: Int
- namespace :: Namespace
- newGetNamespaceResponse :: Int -> Namespace -> GetNamespaceResponse
- getNamespaceResponse_httpStatus :: Lens' GetNamespaceResponse Int
- getNamespaceResponse_namespace :: Lens' GetNamespaceResponse Namespace
Creating a Request
data GetNamespace Source #
See: newGetNamespace
smart constructor.
GetNamespace' | |
|
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:
GetNamespace
, getNamespace_namespaceName
- The name of the namespace to retrieve information for.
Request Lenses
getNamespace_namespaceName :: Lens' GetNamespace Text Source #
The name of the namespace to retrieve information for.
Destructuring the Response
data GetNamespaceResponse Source #
See: newGetNamespaceResponse
smart constructor.
GetNamespaceResponse' | |
|
Instances
newGetNamespaceResponse Source #
:: Int | |
-> Namespace | |
-> GetNamespaceResponse |
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:httpStatus:GetNamespaceResponse'
, getNamespaceResponse_httpStatus
- The response's http status code.
$sel:namespace:GetNamespaceResponse'
, getNamespaceResponse_namespace
- The returned namespace object.
Response Lenses
getNamespaceResponse_httpStatus :: Lens' GetNamespaceResponse Int Source #
The response's http status code.
getNamespaceResponse_namespace :: Lens' GetNamespaceResponse Namespace Source #
The returned namespace object.