| 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.Types.Namespace
Description
Synopsis
- data Namespace = Namespace' {
- adminUsername :: Maybe (Sensitive Text)
- creationDate :: Maybe ISO8601
- dbName :: Maybe Text
- defaultIamRoleArn :: Maybe Text
- iamRoles :: Maybe [Text]
- kmsKeyId :: Maybe Text
- logExports :: Maybe [LogExport]
- namespaceArn :: Maybe Text
- namespaceId :: Maybe Text
- namespaceName :: Maybe Text
- status :: Maybe NamespaceStatus
- newNamespace :: Namespace
- namespace_adminUsername :: Lens' Namespace (Maybe Text)
- namespace_creationDate :: Lens' Namespace (Maybe UTCTime)
- namespace_dbName :: Lens' Namespace (Maybe Text)
- namespace_defaultIamRoleArn :: Lens' Namespace (Maybe Text)
- namespace_iamRoles :: Lens' Namespace (Maybe [Text])
- namespace_kmsKeyId :: Lens' Namespace (Maybe Text)
- namespace_logExports :: Lens' Namespace (Maybe [LogExport])
- namespace_namespaceArn :: Lens' Namespace (Maybe Text)
- namespace_namespaceId :: Lens' Namespace (Maybe Text)
- namespace_namespaceName :: Lens' Namespace (Maybe Text)
- namespace_status :: Lens' Namespace (Maybe NamespaceStatus)
Documentation
A collection of database objects and users.
See: newNamespace smart constructor.
Constructors
| Namespace' | |
Fields
| |
Instances
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_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.