amazonka-redshift-serverless-2.0: Amazon Redshift Serverless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RedshiftServerLess.GetNamespace

Description

Returns information about a namespace in Amazon Redshift Serverless.

Synopsis

Creating a Request

data GetNamespace Source #

See: newGetNamespace smart constructor.

Constructors

GetNamespace' 

Fields

Instances

Instances details
ToJSON GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

ToHeaders GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

ToPath GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

ToQuery GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

AWSRequest GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

Associated Types

type AWSResponse GetNamespace #

Generic GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

Associated Types

type Rep GetNamespace :: Type -> Type #

Read GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

Show GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

NFData GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

Methods

rnf :: GetNamespace -> () #

Eq GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

Hashable GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

type AWSResponse GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

type Rep GetNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

type Rep GetNamespace = D1 ('MetaData "GetNamespace" "Amazonka.RedshiftServerLess.GetNamespace" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "GetNamespace'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namespaceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetNamespace Source #

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

Instances details
Generic GetNamespaceResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

Associated Types

type Rep GetNamespaceResponse :: Type -> Type #

Show GetNamespaceResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

NFData GetNamespaceResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

Methods

rnf :: GetNamespaceResponse -> () #

Eq GetNamespaceResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

type Rep GetNamespaceResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetNamespace

type Rep GetNamespaceResponse = D1 ('MetaData "GetNamespaceResponse" "Amazonka.RedshiftServerLess.GetNamespace" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "GetNamespaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Namespace)))

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:httpStatus:GetNamespaceResponse', getNamespaceResponse_httpStatus - The response's http status code.

$sel:namespace:GetNamespaceResponse', getNamespaceResponse_namespace - The returned namespace object.

Response Lenses