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.Types.Namespace

Description

 
Synopsis

Documentation

data Namespace Source #

A collection of database objects and users.

See: newNamespace smart constructor.

Constructors

Namespace' 

Fields

Instances

Instances details
FromJSON Namespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.Namespace

Generic Namespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.Namespace

Associated Types

type Rep Namespace :: Type -> Type #

Show Namespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.Namespace

NFData Namespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.Namespace

Methods

rnf :: Namespace -> () #

Eq Namespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.Namespace

Hashable Namespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.Namespace

type Rep Namespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.Namespace

type Rep Namespace = D1 ('MetaData "Namespace" "Amazonka.RedshiftServerLess.Types.Namespace" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "Namespace'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "adminUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "dbName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "defaultIamRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iamRoles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))) :*: ((S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "logExports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LogExport])) :*: S1 ('MetaSel ('Just "namespaceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "namespaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "namespaceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NamespaceStatus)))))))

newNamespace :: Namespace Source #

Create a value of Namespace 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:adminUsername:Namespace', namespace_adminUsername - The username of the administrator for the first database created in the namespace.

$sel:creationDate:Namespace', namespace_creationDate - The date of when the namespace was created.

$sel:dbName:Namespace', namespace_dbName - The name of the first database created in the namespace.

$sel:defaultIamRoleArn:Namespace', namespace_defaultIamRoleArn - The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

$sel:iamRoles:Namespace', namespace_iamRoles - A list of IAM roles to associate with the namespace.

$sel:kmsKeyId:Namespace', namespace_kmsKeyId - The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

$sel:logExports:Namespace', namespace_logExports - The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.

$sel:namespaceArn:Namespace', namespace_namespaceArn - The Amazon Resource Name (ARN) associated with a namespace.

$sel:namespaceId:Namespace', namespace_namespaceId - The unique identifier of a namespace.

$sel:namespaceName:Namespace', namespace_namespaceName - The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.

$sel:status:Namespace', namespace_status - The status of the namespace.

namespace_adminUsername :: Lens' Namespace (Maybe Text) Source #

The username of the administrator for the first database created in the namespace.

namespace_creationDate :: Lens' Namespace (Maybe UTCTime) Source #

The date of when the namespace was created.

namespace_dbName :: Lens' Namespace (Maybe Text) Source #

The name of the first database created in the namespace.

namespace_defaultIamRoleArn :: Lens' Namespace (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

namespace_iamRoles :: Lens' Namespace (Maybe [Text]) Source #

A list of IAM roles to associate with the namespace.

namespace_kmsKeyId :: Lens' Namespace (Maybe Text) Source #

The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

namespace_logExports :: Lens' Namespace (Maybe [LogExport]) Source #

The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.

namespace_namespaceArn :: Lens' Namespace (Maybe Text) Source #

The Amazon Resource Name (ARN) associated with a namespace.

namespace_namespaceId :: Lens' Namespace (Maybe Text) Source #

The unique identifier of a namespace.

namespace_namespaceName :: Lens' Namespace (Maybe Text) Source #

The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.

namespace_status :: Lens' Namespace (Maybe NamespaceStatus) Source #

The status of the namespace.