| 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 |
Amazonka.RedshiftServerLess.GetNamespace
Description
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.
Constructors
| GetNamespace' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetNamespace |
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.
Constructors
| GetNamespaceResponse' | |
Fields
| |
Instances
newGetNamespaceResponse Source #
Arguments
| :: 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.