{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE DuplicateRecordFields #-} {-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE StrictData #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE NoImplicitPrelude #-} {-# OPTIONS_GHC -fno-warn-unused-binds #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} -- Derived from AWS service descriptions, licensed under Apache 2.0. -- | -- Module : Amazonka.DocumentDB.ModifyDBCluster -- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Modifies a setting for an Amazon DocumentDB cluster. You can change one -- or more database configuration parameters by specifying these parameters -- and the new values in the request. module Amazonka.DocumentDB.ModifyDBCluster ( -- * Creating a Request ModifyDBCluster (..), newModifyDBCluster, -- * Request Lenses modifyDBCluster_applyImmediately, modifyDBCluster_backupRetentionPeriod, modifyDBCluster_cloudwatchLogsExportConfiguration, modifyDBCluster_dbClusterParameterGroupName, modifyDBCluster_deletionProtection, modifyDBCluster_engineVersion, modifyDBCluster_masterUserPassword, modifyDBCluster_newDBClusterIdentifier, modifyDBCluster_port, modifyDBCluster_preferredBackupWindow, modifyDBCluster_preferredMaintenanceWindow, modifyDBCluster_vpcSecurityGroupIds, modifyDBCluster_dbClusterIdentifier, -- * Destructuring the Response ModifyDBClusterResponse (..), newModifyDBClusterResponse, -- * Response Lenses modifyDBClusterResponse_dbCluster, modifyDBClusterResponse_httpStatus, ) where import qualified Amazonka.Core as Core import qualified Amazonka.Core.Lens.Internal as Lens import qualified Amazonka.Data as Data import Amazonka.DocumentDB.Types import qualified Amazonka.Prelude as Prelude import qualified Amazonka.Request as Request import qualified Amazonka.Response as Response -- | Represents the input to ModifyDBCluster. -- -- /See:/ 'newModifyDBCluster' smart constructor. data ModifyDBCluster = ModifyDBCluster' { -- | A value that specifies whether the changes in this request and any -- pending changes are asynchronously applied as soon as possible, -- regardless of the @PreferredMaintenanceWindow@ setting for the cluster. -- If this parameter is set to @false@, changes to the cluster are applied -- during the next maintenance window. -- -- The @ApplyImmediately@ parameter affects only the -- @NewDBClusterIdentifier@ and @MasterUserPassword@ values. If you set -- this parameter value to @false@, the changes to the -- @NewDBClusterIdentifier@ and @MasterUserPassword@ values are applied -- during the next maintenance window. All other changes are applied -- immediately, regardless of the value of the @ApplyImmediately@ -- parameter. -- -- Default: @false@ applyImmediately :: Prelude.Maybe Prelude.Bool, -- | The number of days for which automated backups are retained. You must -- specify a minimum value of 1. -- -- Default: 1 -- -- Constraints: -- -- - Must be a value from 1 to 35. backupRetentionPeriod :: Prelude.Maybe Prelude.Int, -- | The configuration setting for the log types to be enabled for export to -- Amazon CloudWatch Logs for a specific instance or cluster. The -- @EnableLogTypes@ and @DisableLogTypes@ arrays determine which logs are -- exported (or not exported) to CloudWatch Logs. cloudwatchLogsExportConfiguration :: Prelude.Maybe CloudwatchLogsExportConfiguration, -- | The name of the cluster parameter group to use for the cluster. dbClusterParameterGroupName :: Prelude.Maybe Prelude.Text, -- | Specifies whether this cluster can be deleted. If @DeletionProtection@ -- is enabled, the cluster cannot be deleted unless it is modified and -- @DeletionProtection@ is disabled. @DeletionProtection@ protects clusters -- from being accidentally deleted. deletionProtection :: Prelude.Maybe Prelude.Bool, -- | The version number of the database engine to which you want to upgrade. -- Modifying engine version is not supported on Amazon DocumentDB. engineVersion :: Prelude.Maybe Prelude.Text, -- | The password for the master database user. 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. masterUserPassword :: Prelude.Maybe Prelude.Text, -- | The new cluster identifier for the cluster when renaming a cluster. This -- value is stored as a lowercase string. -- -- Constraints: -- -- - Must contain from 1 to 63 letters, numbers, or hyphens. -- -- - The first character must be a letter. -- -- - Cannot end with a hyphen or contain two consecutive hyphens. -- -- Example: @my-cluster2@ newDBClusterIdentifier' :: Prelude.Maybe Prelude.Text, -- | The port number on which the cluster accepts connections. -- -- Constraints: Must be a value from @1150@ to @65535@. -- -- Default: The same port as the original cluster. port :: Prelude.Maybe Prelude.Int, -- | The daily time range during which automated backups are created if -- automated backups are enabled, using the @BackupRetentionPeriod@ -- parameter. -- -- The default is a 30-minute window selected at random from an 8-hour -- block of time for each Amazon Web Services Region. -- -- Constraints: -- -- - Must be in the format @hh24:mi-hh24:mi@. -- -- - Must be in Universal Coordinated Time (UTC). -- -- - Must not conflict with the preferred maintenance window. -- -- - Must be at least 30 minutes. preferredBackupWindow :: Prelude.Maybe Prelude.Text, -- | The weekly time range during which system maintenance can occur, in -- Universal Coordinated Time (UTC). -- -- Format: @ddd:hh24:mi-ddd:hh24:mi@ -- -- The default is 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. preferredMaintenanceWindow :: Prelude.Maybe Prelude.Text, -- | A list of virtual private cloud (VPC) security groups that the cluster -- will belong to. vpcSecurityGroupIds :: Prelude.Maybe [Prelude.Text], -- | The cluster identifier for the cluster that is being modified. This -- parameter is not case sensitive. -- -- Constraints: -- -- - Must match the identifier of an existing @DBCluster@. dbClusterIdentifier :: Prelude.Text } deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic) -- | -- Create a value of 'ModifyDBCluster' with all optional fields omitted. -- -- Use or to modify other optional fields. -- -- The following record fields are available, with the corresponding lenses provided -- for backwards compatibility: -- -- 'applyImmediately', 'modifyDBCluster_applyImmediately' - A value that specifies whether the changes in this request and any -- pending changes are asynchronously applied as soon as possible, -- regardless of the @PreferredMaintenanceWindow@ setting for the cluster. -- If this parameter is set to @false@, changes to the cluster are applied -- during the next maintenance window. -- -- The @ApplyImmediately@ parameter affects only the -- @NewDBClusterIdentifier@ and @MasterUserPassword@ values. If you set -- this parameter value to @false@, the changes to the -- @NewDBClusterIdentifier@ and @MasterUserPassword@ values are applied -- during the next maintenance window. All other changes are applied -- immediately, regardless of the value of the @ApplyImmediately@ -- parameter. -- -- Default: @false@ -- -- 'backupRetentionPeriod', 'modifyDBCluster_backupRetentionPeriod' - The number of days for which automated backups are retained. You must -- specify a minimum value of 1. -- -- Default: 1 -- -- Constraints: -- -- - Must be a value from 1 to 35. -- -- 'cloudwatchLogsExportConfiguration', 'modifyDBCluster_cloudwatchLogsExportConfiguration' - The configuration setting for the log types to be enabled for export to -- Amazon CloudWatch Logs for a specific instance or cluster. The -- @EnableLogTypes@ and @DisableLogTypes@ arrays determine which logs are -- exported (or not exported) to CloudWatch Logs. -- -- 'dbClusterParameterGroupName', 'modifyDBCluster_dbClusterParameterGroupName' - The name of the cluster parameter group to use for the cluster. -- -- 'deletionProtection', 'modifyDBCluster_deletionProtection' - Specifies whether this cluster can be deleted. If @DeletionProtection@ -- is enabled, the cluster cannot be deleted unless it is modified and -- @DeletionProtection@ is disabled. @DeletionProtection@ protects clusters -- from being accidentally deleted. -- -- 'engineVersion', 'modifyDBCluster_engineVersion' - The version number of the database engine to which you want to upgrade. -- Modifying engine version is not supported on Amazon DocumentDB. -- -- 'masterUserPassword', 'modifyDBCluster_masterUserPassword' - The password for the master database user. 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. -- -- 'newDBClusterIdentifier'', 'modifyDBCluster_newDBClusterIdentifier' - The new cluster identifier for the cluster when renaming a cluster. This -- value is stored as a lowercase string. -- -- Constraints: -- -- - Must contain from 1 to 63 letters, numbers, or hyphens. -- -- - The first character must be a letter. -- -- - Cannot end with a hyphen or contain two consecutive hyphens. -- -- Example: @my-cluster2@ -- -- 'port', 'modifyDBCluster_port' - The port number on which the cluster accepts connections. -- -- Constraints: Must be a value from @1150@ to @65535@. -- -- Default: The same port as the original cluster. -- -- 'preferredBackupWindow', 'modifyDBCluster_preferredBackupWindow' - The daily time range during which automated backups are created if -- automated backups are enabled, using the @BackupRetentionPeriod@ -- parameter. -- -- The default is a 30-minute window selected at random from an 8-hour -- block of time for each Amazon Web Services Region. -- -- Constraints: -- -- - Must be in the format @hh24:mi-hh24:mi@. -- -- - Must be in Universal Coordinated Time (UTC). -- -- - Must not conflict with the preferred maintenance window. -- -- - Must be at least 30 minutes. -- -- 'preferredMaintenanceWindow', 'modifyDBCluster_preferredMaintenanceWindow' - The weekly time range during which system maintenance can occur, in -- Universal Coordinated Time (UTC). -- -- Format: @ddd:hh24:mi-ddd:hh24:mi@ -- -- The default is 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. -- -- 'vpcSecurityGroupIds', 'modifyDBCluster_vpcSecurityGroupIds' - A list of virtual private cloud (VPC) security groups that the cluster -- will belong to. -- -- 'dbClusterIdentifier', 'modifyDBCluster_dbClusterIdentifier' - The cluster identifier for the cluster that is being modified. This -- parameter is not case sensitive. -- -- Constraints: -- -- - Must match the identifier of an existing @DBCluster@. newModifyDBCluster :: -- | 'dbClusterIdentifier' Prelude.Text -> ModifyDBCluster newModifyDBCluster pDBClusterIdentifier_ = ModifyDBCluster' { applyImmediately = Prelude.Nothing, backupRetentionPeriod = Prelude.Nothing, cloudwatchLogsExportConfiguration = Prelude.Nothing, dbClusterParameterGroupName = Prelude.Nothing, deletionProtection = Prelude.Nothing, engineVersion = Prelude.Nothing, masterUserPassword = Prelude.Nothing, newDBClusterIdentifier' = Prelude.Nothing, port = Prelude.Nothing, preferredBackupWindow = Prelude.Nothing, preferredMaintenanceWindow = Prelude.Nothing, vpcSecurityGroupIds = Prelude.Nothing, dbClusterIdentifier = pDBClusterIdentifier_ } -- | A value that specifies whether the changes in this request and any -- pending changes are asynchronously applied as soon as possible, -- regardless of the @PreferredMaintenanceWindow@ setting for the cluster. -- If this parameter is set to @false@, changes to the cluster are applied -- during the next maintenance window. -- -- The @ApplyImmediately@ parameter affects only the -- @NewDBClusterIdentifier@ and @MasterUserPassword@ values. If you set -- this parameter value to @false@, the changes to the -- @NewDBClusterIdentifier@ and @MasterUserPassword@ values are applied -- during the next maintenance window. All other changes are applied -- immediately, regardless of the value of the @ApplyImmediately@ -- parameter. -- -- Default: @false@ modifyDBCluster_applyImmediately :: Lens.Lens' ModifyDBCluster (Prelude.Maybe Prelude.Bool) modifyDBCluster_applyImmediately = Lens.lens (\ModifyDBCluster' {applyImmediately} -> applyImmediately) (\s@ModifyDBCluster' {} a -> s {applyImmediately = a} :: ModifyDBCluster) -- | The number of days for which automated backups are retained. You must -- specify a minimum value of 1. -- -- Default: 1 -- -- Constraints: -- -- - Must be a value from 1 to 35. modifyDBCluster_backupRetentionPeriod :: Lens.Lens' ModifyDBCluster (Prelude.Maybe Prelude.Int) modifyDBCluster_backupRetentionPeriod = Lens.lens (\ModifyDBCluster' {backupRetentionPeriod} -> backupRetentionPeriod) (\s@ModifyDBCluster' {} a -> s {backupRetentionPeriod = a} :: ModifyDBCluster) -- | The configuration setting for the log types to be enabled for export to -- Amazon CloudWatch Logs for a specific instance or cluster. The -- @EnableLogTypes@ and @DisableLogTypes@ arrays determine which logs are -- exported (or not exported) to CloudWatch Logs. modifyDBCluster_cloudwatchLogsExportConfiguration :: Lens.Lens' ModifyDBCluster (Prelude.Maybe CloudwatchLogsExportConfiguration) modifyDBCluster_cloudwatchLogsExportConfiguration = Lens.lens (\ModifyDBCluster' {cloudwatchLogsExportConfiguration} -> cloudwatchLogsExportConfiguration) (\s@ModifyDBCluster' {} a -> s {cloudwatchLogsExportConfiguration = a} :: ModifyDBCluster) -- | The name of the cluster parameter group to use for the cluster. modifyDBCluster_dbClusterParameterGroupName :: Lens.Lens' ModifyDBCluster (Prelude.Maybe Prelude.Text) modifyDBCluster_dbClusterParameterGroupName = Lens.lens (\ModifyDBCluster' {dbClusterParameterGroupName} -> dbClusterParameterGroupName) (\s@ModifyDBCluster' {} a -> s {dbClusterParameterGroupName = a} :: ModifyDBCluster) -- | Specifies whether this cluster can be deleted. If @DeletionProtection@ -- is enabled, the cluster cannot be deleted unless it is modified and -- @DeletionProtection@ is disabled. @DeletionProtection@ protects clusters -- from being accidentally deleted. modifyDBCluster_deletionProtection :: Lens.Lens' ModifyDBCluster (Prelude.Maybe Prelude.Bool) modifyDBCluster_deletionProtection = Lens.lens (\ModifyDBCluster' {deletionProtection} -> deletionProtection) (\s@ModifyDBCluster' {} a -> s {deletionProtection = a} :: ModifyDBCluster) -- | The version number of the database engine to which you want to upgrade. -- Modifying engine version is not supported on Amazon DocumentDB. modifyDBCluster_engineVersion :: Lens.Lens' ModifyDBCluster (Prelude.Maybe Prelude.Text) modifyDBCluster_engineVersion = Lens.lens (\ModifyDBCluster' {engineVersion} -> engineVersion) (\s@ModifyDBCluster' {} a -> s {engineVersion = a} :: ModifyDBCluster) -- | The password for the master database user. 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. modifyDBCluster_masterUserPassword :: Lens.Lens' ModifyDBCluster (Prelude.Maybe Prelude.Text) modifyDBCluster_masterUserPassword = Lens.lens (\ModifyDBCluster' {masterUserPassword} -> masterUserPassword) (\s@ModifyDBCluster' {} a -> s {masterUserPassword = a} :: ModifyDBCluster) -- | The new cluster identifier for the cluster when renaming a cluster. This -- value is stored as a lowercase string. -- -- Constraints: -- -- - Must contain from 1 to 63 letters, numbers, or hyphens. -- -- - The first character must be a letter. -- -- - Cannot end with a hyphen or contain two consecutive hyphens. -- -- Example: @my-cluster2@ modifyDBCluster_newDBClusterIdentifier :: Lens.Lens' ModifyDBCluster (Prelude.Maybe Prelude.Text) modifyDBCluster_newDBClusterIdentifier = Lens.lens (\ModifyDBCluster' {newDBClusterIdentifier'} -> newDBClusterIdentifier') (\s@ModifyDBCluster' {} a -> s {newDBClusterIdentifier' = a} :: ModifyDBCluster) -- | The port number on which the cluster accepts connections. -- -- Constraints: Must be a value from @1150@ to @65535@. -- -- Default: The same port as the original cluster. modifyDBCluster_port :: Lens.Lens' ModifyDBCluster (Prelude.Maybe Prelude.Int) modifyDBCluster_port = Lens.lens (\ModifyDBCluster' {port} -> port) (\s@ModifyDBCluster' {} a -> s {port = a} :: ModifyDBCluster) -- | The daily time range during which automated backups are created if -- automated backups are enabled, using the @BackupRetentionPeriod@ -- parameter. -- -- The default is a 30-minute window selected at random from an 8-hour -- block of time for each Amazon Web Services Region. -- -- Constraints: -- -- - Must be in the format @hh24:mi-hh24:mi@. -- -- - Must be in Universal Coordinated Time (UTC). -- -- - Must not conflict with the preferred maintenance window. -- -- - Must be at least 30 minutes. modifyDBCluster_preferredBackupWindow :: Lens.Lens' ModifyDBCluster (Prelude.Maybe Prelude.Text) modifyDBCluster_preferredBackupWindow = Lens.lens (\ModifyDBCluster' {preferredBackupWindow} -> preferredBackupWindow) (\s@ModifyDBCluster' {} a -> s {preferredBackupWindow = a} :: ModifyDBCluster) -- | The weekly time range during which system maintenance can occur, in -- Universal Coordinated Time (UTC). -- -- Format: @ddd:hh24:mi-ddd:hh24:mi@ -- -- The default is 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. modifyDBCluster_preferredMaintenanceWindow :: Lens.Lens' ModifyDBCluster (Prelude.Maybe Prelude.Text) modifyDBCluster_preferredMaintenanceWindow = Lens.lens (\ModifyDBCluster' {preferredMaintenanceWindow} -> preferredMaintenanceWindow) (\s@ModifyDBCluster' {} a -> s {preferredMaintenanceWindow = a} :: ModifyDBCluster) -- | A list of virtual private cloud (VPC) security groups that the cluster -- will belong to. modifyDBCluster_vpcSecurityGroupIds :: Lens.Lens' ModifyDBCluster (Prelude.Maybe [Prelude.Text]) modifyDBCluster_vpcSecurityGroupIds = Lens.lens (\ModifyDBCluster' {vpcSecurityGroupIds} -> vpcSecurityGroupIds) (\s@ModifyDBCluster' {} a -> s {vpcSecurityGroupIds = a} :: ModifyDBCluster) Prelude.. Lens.mapping Lens.coerced -- | The cluster identifier for the cluster that is being modified. This -- parameter is not case sensitive. -- -- Constraints: -- -- - Must match the identifier of an existing @DBCluster@. modifyDBCluster_dbClusterIdentifier :: Lens.Lens' ModifyDBCluster Prelude.Text modifyDBCluster_dbClusterIdentifier = Lens.lens (\ModifyDBCluster' {dbClusterIdentifier} -> dbClusterIdentifier) (\s@ModifyDBCluster' {} a -> s {dbClusterIdentifier = a} :: ModifyDBCluster) instance Core.AWSRequest ModifyDBCluster where type AWSResponse ModifyDBCluster = ModifyDBClusterResponse request overrides = Request.postQuery (overrides defaultService) response = Response.receiveXMLWrapper "ModifyDBClusterResult" ( \s h x -> ModifyDBClusterResponse' Prelude.<$> (x Data..@? "DBCluster") Prelude.<*> (Prelude.pure (Prelude.fromEnum s)) ) instance Prelude.Hashable ModifyDBCluster where hashWithSalt _salt ModifyDBCluster' {..} = _salt `Prelude.hashWithSalt` applyImmediately `Prelude.hashWithSalt` backupRetentionPeriod `Prelude.hashWithSalt` cloudwatchLogsExportConfiguration `Prelude.hashWithSalt` dbClusterParameterGroupName `Prelude.hashWithSalt` deletionProtection `Prelude.hashWithSalt` engineVersion `Prelude.hashWithSalt` masterUserPassword `Prelude.hashWithSalt` newDBClusterIdentifier' `Prelude.hashWithSalt` port `Prelude.hashWithSalt` preferredBackupWindow `Prelude.hashWithSalt` preferredMaintenanceWindow `Prelude.hashWithSalt` vpcSecurityGroupIds `Prelude.hashWithSalt` dbClusterIdentifier instance Prelude.NFData ModifyDBCluster where rnf ModifyDBCluster' {..} = Prelude.rnf applyImmediately `Prelude.seq` Prelude.rnf backupRetentionPeriod `Prelude.seq` Prelude.rnf cloudwatchLogsExportConfiguration `Prelude.seq` Prelude.rnf dbClusterParameterGroupName `Prelude.seq` Prelude.rnf deletionProtection `Prelude.seq` Prelude.rnf engineVersion `Prelude.seq` Prelude.rnf masterUserPassword `Prelude.seq` Prelude.rnf newDBClusterIdentifier' `Prelude.seq` Prelude.rnf port `Prelude.seq` Prelude.rnf preferredBackupWindow `Prelude.seq` Prelude.rnf preferredMaintenanceWindow `Prelude.seq` Prelude.rnf vpcSecurityGroupIds `Prelude.seq` Prelude.rnf dbClusterIdentifier instance Data.ToHeaders ModifyDBCluster where toHeaders = Prelude.const Prelude.mempty instance Data.ToPath ModifyDBCluster where toPath = Prelude.const "/" instance Data.ToQuery ModifyDBCluster where toQuery ModifyDBCluster' {..} = Prelude.mconcat [ "Action" Data.=: ("ModifyDBCluster" :: Prelude.ByteString), "Version" Data.=: ("2014-10-31" :: Prelude.ByteString), "ApplyImmediately" Data.=: applyImmediately, "BackupRetentionPeriod" Data.=: backupRetentionPeriod, "CloudwatchLogsExportConfiguration" Data.=: cloudwatchLogsExportConfiguration, "DBClusterParameterGroupName" Data.=: dbClusterParameterGroupName, "DeletionProtection" Data.=: deletionProtection, "EngineVersion" Data.=: engineVersion, "MasterUserPassword" Data.=: masterUserPassword, "NewDBClusterIdentifier" Data.=: newDBClusterIdentifier', "Port" Data.=: port, "PreferredBackupWindow" Data.=: preferredBackupWindow, "PreferredMaintenanceWindow" Data.=: preferredMaintenanceWindow, "VpcSecurityGroupIds" Data.=: Data.toQuery ( Data.toQueryList "VpcSecurityGroupId" Prelude.<$> vpcSecurityGroupIds ), "DBClusterIdentifier" Data.=: dbClusterIdentifier ] -- | /See:/ 'newModifyDBClusterResponse' smart constructor. data ModifyDBClusterResponse = ModifyDBClusterResponse' { dbCluster :: Prelude.Maybe DBCluster, -- | The response's http status code. httpStatus :: Prelude.Int } deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic) -- | -- Create a value of 'ModifyDBClusterResponse' with all optional fields omitted. -- -- Use or to modify other optional fields. -- -- The following record fields are available, with the corresponding lenses provided -- for backwards compatibility: -- -- 'dbCluster', 'modifyDBClusterResponse_dbCluster' - Undocumented member. -- -- 'httpStatus', 'modifyDBClusterResponse_httpStatus' - The response's http status code. newModifyDBClusterResponse :: -- | 'httpStatus' Prelude.Int -> ModifyDBClusterResponse newModifyDBClusterResponse pHttpStatus_ = ModifyDBClusterResponse' { dbCluster = Prelude.Nothing, httpStatus = pHttpStatus_ } -- | Undocumented member. modifyDBClusterResponse_dbCluster :: Lens.Lens' ModifyDBClusterResponse (Prelude.Maybe DBCluster) modifyDBClusterResponse_dbCluster = Lens.lens (\ModifyDBClusterResponse' {dbCluster} -> dbCluster) (\s@ModifyDBClusterResponse' {} a -> s {dbCluster = a} :: ModifyDBClusterResponse) -- | The response's http status code. modifyDBClusterResponse_httpStatus :: Lens.Lens' ModifyDBClusterResponse Prelude.Int modifyDBClusterResponse_httpStatus = Lens.lens (\ModifyDBClusterResponse' {httpStatus} -> httpStatus) (\s@ModifyDBClusterResponse' {} a -> s {httpStatus = a} :: ModifyDBClusterResponse) instance Prelude.NFData ModifyDBClusterResponse where rnf ModifyDBClusterResponse' {..} = Prelude.rnf dbCluster `Prelude.seq` Prelude.rnf httpStatus