amazonka-docdb-elastic-2.0: Amazon DocumentDB Elastic Clusters 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.DocDbElastic.UpdateCluster

Description

Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password, upgrading API version setting up a backup window and maintenance window

Synopsis

Creating a Request

data UpdateCluster Source #

See: newUpdateCluster smart constructor.

Constructors

UpdateCluster' 

Fields

  • adminUserPassword :: Maybe (Sensitive Text)

    The password for the Elastic DocumentDB cluster administrator. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).

    Constraints: Must contain from 8 to 100 characters.

  • authType :: Maybe Auth

    The authentication type for the Elastic DocumentDB cluster.

  • clientToken :: Maybe Text

    The client token for the Elastic DocumentDB cluster.

  • preferredMaintenanceWindow :: Maybe Text

    The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

    Format: ddd:hh24:mi-ddd:hh24:mi

    Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.

    Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

    Constraints: Minimum 30-minute window.

  • shardCapacity :: Maybe Int

    The capacity of each shard in the Elastic DocumentDB cluster.

  • shardCount :: Maybe Int

    The number of shards to create in the Elastic DocumentDB cluster.

  • subnetIds :: Maybe [Text]

    The number of shards to create in the Elastic DocumentDB cluster.

  • vpcSecurityGroupIds :: Maybe [Text]

    A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.

  • clusterArn :: Text

    The arn of the Elastic DocumentDB cluster.

Instances

Instances details
ToJSON UpdateCluster Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

ToHeaders UpdateCluster Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

ToPath UpdateCluster Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

ToQuery UpdateCluster Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

AWSRequest UpdateCluster Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

Associated Types

type AWSResponse UpdateCluster #

Generic UpdateCluster Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

Associated Types

type Rep UpdateCluster :: Type -> Type #

Show UpdateCluster Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

NFData UpdateCluster Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

Methods

rnf :: UpdateCluster -> () #

Eq UpdateCluster Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

Hashable UpdateCluster Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

type AWSResponse UpdateCluster Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

type Rep UpdateCluster Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

type Rep UpdateCluster = D1 ('MetaData "UpdateCluster" "Amazonka.DocDbElastic.UpdateCluster" "amazonka-docdb-elastic-2.0-7oyCcw7MbTKKNwZE62fvl3" 'False) (C1 ('MetaCons "UpdateCluster'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "adminUserPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "authType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Auth))) :*: (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "preferredMaintenanceWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "shardCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "shardCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "vpcSecurityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newUpdateCluster Source #

Create a value of UpdateCluster 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:UpdateCluster', updateCluster_adminUserPassword - The password for the Elastic DocumentDB cluster administrator. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).

Constraints: Must contain from 8 to 100 characters.

UpdateCluster, updateCluster_authType - The authentication type for the Elastic DocumentDB cluster.

$sel:clientToken:UpdateCluster', updateCluster_clientToken - The client token for the Elastic DocumentDB cluster.

UpdateCluster, updateCluster_preferredMaintenanceWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.

Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: Minimum 30-minute window.

UpdateCluster, updateCluster_shardCapacity - The capacity of each shard in the Elastic DocumentDB cluster.

UpdateCluster, updateCluster_shardCount - The number of shards to create in the Elastic DocumentDB cluster.

UpdateCluster, updateCluster_subnetIds - The number of shards to create in the Elastic DocumentDB cluster.

UpdateCluster, updateCluster_vpcSecurityGroupIds - A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.

UpdateCluster, updateCluster_clusterArn - The arn of the Elastic DocumentDB cluster.

Request Lenses

updateCluster_adminUserPassword :: Lens' UpdateCluster (Maybe Text) Source #

The password for the Elastic DocumentDB cluster administrator. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).

Constraints: Must contain from 8 to 100 characters.

updateCluster_authType :: Lens' UpdateCluster (Maybe Auth) Source #

The authentication type for the Elastic DocumentDB cluster.

updateCluster_clientToken :: Lens' UpdateCluster (Maybe Text) Source #

The client token for the Elastic DocumentDB cluster.

updateCluster_preferredMaintenanceWindow :: Lens' UpdateCluster (Maybe Text) Source #

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.

Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: Minimum 30-minute window.

updateCluster_shardCapacity :: Lens' UpdateCluster (Maybe Int) Source #

The capacity of each shard in the Elastic DocumentDB cluster.

updateCluster_shardCount :: Lens' UpdateCluster (Maybe Int) Source #

The number of shards to create in the Elastic DocumentDB cluster.

updateCluster_subnetIds :: Lens' UpdateCluster (Maybe [Text]) Source #

The number of shards to create in the Elastic DocumentDB cluster.

updateCluster_vpcSecurityGroupIds :: Lens' UpdateCluster (Maybe [Text]) Source #

A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.

updateCluster_clusterArn :: Lens' UpdateCluster Text Source #

The arn of the Elastic DocumentDB cluster.

Destructuring the Response

data UpdateClusterResponse Source #

See: newUpdateClusterResponse smart constructor.

Constructors

UpdateClusterResponse' 

Fields

Instances

Instances details
Generic UpdateClusterResponse Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

Associated Types

type Rep UpdateClusterResponse :: Type -> Type #

Read UpdateClusterResponse Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

Show UpdateClusterResponse Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

NFData UpdateClusterResponse Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

Methods

rnf :: UpdateClusterResponse -> () #

Eq UpdateClusterResponse Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

type Rep UpdateClusterResponse Source # 
Instance details

Defined in Amazonka.DocDbElastic.UpdateCluster

type Rep UpdateClusterResponse = D1 ('MetaData "UpdateClusterResponse" "Amazonka.DocDbElastic.UpdateCluster" "amazonka-docdb-elastic-2.0-7oyCcw7MbTKKNwZE62fvl3" 'False) (C1 ('MetaCons "UpdateClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Cluster)))

newUpdateClusterResponse Source #

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

$sel:cluster:UpdateClusterResponse', updateClusterResponse_cluster - Returns information about the updated Elastic DocumentDB cluster.

Response Lenses

updateClusterResponse_cluster :: Lens' UpdateClusterResponse Cluster Source #

Returns information about the updated Elastic DocumentDB cluster.