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.UpdateNamespace

Description

Updates a namespace with the specified settings.

Synopsis

Creating a Request

data UpdateNamespace Source #

See: newUpdateNamespace smart constructor.

Constructors

UpdateNamespace' 

Fields

Instances

Instances details
ToJSON UpdateNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

ToHeaders UpdateNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

ToPath UpdateNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

ToQuery UpdateNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

AWSRequest UpdateNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

Associated Types

type AWSResponse UpdateNamespace #

Generic UpdateNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

Associated Types

type Rep UpdateNamespace :: Type -> Type #

Show UpdateNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

NFData UpdateNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

Methods

rnf :: UpdateNamespace -> () #

Eq UpdateNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

Hashable UpdateNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

type AWSResponse UpdateNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

type Rep UpdateNamespace Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

type Rep UpdateNamespace = D1 ('MetaData "UpdateNamespace" "Amazonka.RedshiftServerLess.UpdateNamespace" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "UpdateNamespace'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "adminUserPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "adminUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive 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 "namespaceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateNamespace Source #

Create a value of UpdateNamespace 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:adminUserPassword:UpdateNamespace', updateNamespace_adminUserPassword - The password of the administrator for the first database created in the namespace.

UpdateNamespace, updateNamespace_adminUsername - The username of the administrator for the first database created in the namespace.

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

UpdateNamespace, updateNamespace_iamRoles - A list of IAM roles to associate with the namespace.

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

UpdateNamespace, updateNamespace_logExports - The types of logs the namespace can export. The export types are userlog, connectionlog, and useractivitylog.

UpdateNamespace, updateNamespace_namespaceName - The name of the namespace.

Request Lenses

updateNamespace_adminUserPassword :: Lens' UpdateNamespace (Maybe Text) Source #

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

updateNamespace_adminUsername :: Lens' UpdateNamespace (Maybe Text) Source #

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

updateNamespace_defaultIamRoleArn :: Lens' UpdateNamespace (Maybe Text) Source #

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

updateNamespace_iamRoles :: Lens' UpdateNamespace (Maybe [Text]) Source #

A list of IAM roles to associate with the namespace.

updateNamespace_kmsKeyId :: Lens' UpdateNamespace (Maybe Text) Source #

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

updateNamespace_logExports :: Lens' UpdateNamespace (Maybe [LogExport]) Source #

The types of logs the namespace can export. The export types are userlog, connectionlog, and useractivitylog.

Destructuring the Response

data UpdateNamespaceResponse Source #

See: newUpdateNamespaceResponse smart constructor.

Constructors

UpdateNamespaceResponse' 

Fields

Instances

Instances details
Generic UpdateNamespaceResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

Associated Types

type Rep UpdateNamespaceResponse :: Type -> Type #

Show UpdateNamespaceResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

NFData UpdateNamespaceResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

Methods

rnf :: UpdateNamespaceResponse -> () #

Eq UpdateNamespaceResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

type Rep UpdateNamespaceResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateNamespace

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

newUpdateNamespaceResponse Source #

Create a value of UpdateNamespaceResponse 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:UpdateNamespaceResponse', updateNamespaceResponse_httpStatus - The response's http status code.

$sel:namespace:UpdateNamespaceResponse', updateNamespaceResponse_namespace - A list of tag instances.

Response Lenses