libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDS.Types.DBInstanceStatusInfo

Description

 
Synopsis

Documentation

data DBInstanceStatusInfo Source #

Provides a list of status information for a DB instance.

See: newDBInstanceStatusInfo smart constructor.

Constructors

DBInstanceStatusInfo' 

Fields

  • status :: Maybe Text

    Status of the DB instance. For a StatusType of read replica, the values can be replicating, replication stop point set, replication stop point reached, error, stopped, or terminated.

  • normal :: Maybe Bool

    Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.

  • statusType :: Maybe Text

    This value is currently "read replication."

  • message :: Maybe Text

    Details of the error if there is an error for the instance. If the instance isn't in an error state, this value is blank.

Instances

Instances details
Eq DBInstanceStatusInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.DBInstanceStatusInfo

Read DBInstanceStatusInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.DBInstanceStatusInfo

Show DBInstanceStatusInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.DBInstanceStatusInfo

Generic DBInstanceStatusInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.DBInstanceStatusInfo

Associated Types

type Rep DBInstanceStatusInfo :: Type -> Type #

NFData DBInstanceStatusInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.DBInstanceStatusInfo

Methods

rnf :: DBInstanceStatusInfo -> () #

Hashable DBInstanceStatusInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.DBInstanceStatusInfo

FromXML DBInstanceStatusInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.DBInstanceStatusInfo

type Rep DBInstanceStatusInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.DBInstanceStatusInfo

type Rep DBInstanceStatusInfo = D1 ('MetaData "DBInstanceStatusInfo" "Amazonka.RDS.Types.DBInstanceStatusInfo" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "DBInstanceStatusInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "normal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "statusType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDBInstanceStatusInfo :: DBInstanceStatusInfo Source #

Create a value of DBInstanceStatusInfo 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:status:DBInstanceStatusInfo', dbInstanceStatusInfo_status - Status of the DB instance. For a StatusType of read replica, the values can be replicating, replication stop point set, replication stop point reached, error, stopped, or terminated.

$sel:normal:DBInstanceStatusInfo', dbInstanceStatusInfo_normal - Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.

$sel:statusType:DBInstanceStatusInfo', dbInstanceStatusInfo_statusType - This value is currently "read replication."

$sel:message:DBInstanceStatusInfo', dbInstanceStatusInfo_message - Details of the error if there is an error for the instance. If the instance isn't in an error state, this value is blank.

dbInstanceStatusInfo_status :: Lens' DBInstanceStatusInfo (Maybe Text) Source #

Status of the DB instance. For a StatusType of read replica, the values can be replicating, replication stop point set, replication stop point reached, error, stopped, or terminated.

dbInstanceStatusInfo_normal :: Lens' DBInstanceStatusInfo (Maybe Bool) Source #

Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.

dbInstanceStatusInfo_statusType :: Lens' DBInstanceStatusInfo (Maybe Text) Source #

This value is currently "read replication."

dbInstanceStatusInfo_message :: Lens' DBInstanceStatusInfo (Maybe Text) Source #

Details of the error if there is an error for the instance. If the instance isn't in an error state, this value is blank.