amazonka-rds-2.0: Amazon Relational Database Service 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.RDS.RebootDBInstance

Description

You might need to reboot your DB instance, usually for maintenance reasons. For example, if you make certain modifications, or if you change the DB parameter group associated with the DB instance, you must reboot the instance for the changes to take effect.

Rebooting a DB instance restarts the database engine service. Rebooting a DB instance results in a momentary outage, during which the DB instance status is set to rebooting.

For more information about rebooting, see Rebooting a DB Instance in the Amazon RDS User Guide.

This command doesn't apply to RDS Custom.

If your DB instance is part of a Multi-AZ DB cluster, you can reboot the DB cluster with the RebootDBCluster operation.

Synopsis

Creating a Request

data RebootDBInstance Source #

See: newRebootDBInstance smart constructor.

Constructors

RebootDBInstance' 

Fields

  • forceFailover :: Maybe Bool

    A value that indicates whether the reboot is conducted through a Multi-AZ failover.

    Constraint: You can't enable force failover if the instance isn't configured for Multi-AZ.

  • dbInstanceIdentifier :: Text

    The DB instance identifier. This parameter is stored as a lowercase string.

    Constraints:

    • Must match the identifier of an existing DBInstance.

Instances

Instances details
ToHeaders RebootDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

ToPath RebootDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

ToQuery RebootDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

AWSRequest RebootDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

Associated Types

type AWSResponse RebootDBInstance #

Generic RebootDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

Associated Types

type Rep RebootDBInstance :: Type -> Type #

Read RebootDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

Show RebootDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

NFData RebootDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

Methods

rnf :: RebootDBInstance -> () #

Eq RebootDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

Hashable RebootDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

type AWSResponse RebootDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

type Rep RebootDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

type Rep RebootDBInstance = D1 ('MetaData "RebootDBInstance" "Amazonka.RDS.RebootDBInstance" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "RebootDBInstance'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forceFailover") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "dbInstanceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRebootDBInstance Source #

Create a value of RebootDBInstance 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:forceFailover:RebootDBInstance', rebootDBInstance_forceFailover - A value that indicates whether the reboot is conducted through a Multi-AZ failover.

Constraint: You can't enable force failover if the instance isn't configured for Multi-AZ.

RebootDBInstance, rebootDBInstance_dbInstanceIdentifier - The DB instance identifier. This parameter is stored as a lowercase string.

Constraints:

  • Must match the identifier of an existing DBInstance.

Request Lenses

rebootDBInstance_forceFailover :: Lens' RebootDBInstance (Maybe Bool) Source #

A value that indicates whether the reboot is conducted through a Multi-AZ failover.

Constraint: You can't enable force failover if the instance isn't configured for Multi-AZ.

rebootDBInstance_dbInstanceIdentifier :: Lens' RebootDBInstance Text Source #

The DB instance identifier. This parameter is stored as a lowercase string.

Constraints:

  • Must match the identifier of an existing DBInstance.

Destructuring the Response

data RebootDBInstanceResponse Source #

See: newRebootDBInstanceResponse smart constructor.

Constructors

RebootDBInstanceResponse' 

Fields

Instances

Instances details
Generic RebootDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

Associated Types

type Rep RebootDBInstanceResponse :: Type -> Type #

Read RebootDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

Show RebootDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

NFData RebootDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

Eq RebootDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

type Rep RebootDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.RebootDBInstance

type Rep RebootDBInstanceResponse = D1 ('MetaData "RebootDBInstanceResponse" "Amazonka.RDS.RebootDBInstance" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "RebootDBInstanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBInstance)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRebootDBInstanceResponse Source #

Create a value of RebootDBInstanceResponse 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:dbInstance:RebootDBInstanceResponse', rebootDBInstanceResponse_dbInstance - Undocumented member.

$sel:httpStatus:RebootDBInstanceResponse', rebootDBInstanceResponse_httpStatus - The response's http status code.

Response Lenses