amazonka-lightsail-2.0: Amazon Lightsail 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.Lightsail.Types.NameServersUpdateState

Description

 
Synopsis

Documentation

data NameServersUpdateState Source #

Describes the state of the name server records update made by Amazon Lightsail to an Amazon Route 53 registered domain.

For more information, see DNS in Amazon Lightsail in the Amazon Lightsail Developer Guide.

See: newNameServersUpdateState smart constructor.

Constructors

NameServersUpdateState' 

Fields

  • code :: Maybe NameServersUpdateStateCode

    The status code for the name servers update.

    Following are the possible values:

    • SUCCEEDED - The name server records were successfully updated.
    • PENDING - The name server record update is in progress.
    • FAILED - The name server record update failed.
    • STARTED - The automatic name server record update started.
  • message :: Maybe Text

    The message that describes the reason for the status code.

Instances

Instances details
FromJSON NameServersUpdateState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.NameServersUpdateState

Generic NameServersUpdateState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.NameServersUpdateState

Associated Types

type Rep NameServersUpdateState :: Type -> Type #

Read NameServersUpdateState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.NameServersUpdateState

Show NameServersUpdateState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.NameServersUpdateState

NFData NameServersUpdateState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.NameServersUpdateState

Methods

rnf :: NameServersUpdateState -> () #

Eq NameServersUpdateState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.NameServersUpdateState

Hashable NameServersUpdateState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.NameServersUpdateState

type Rep NameServersUpdateState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.NameServersUpdateState

type Rep NameServersUpdateState = D1 ('MetaData "NameServersUpdateState" "Amazonka.Lightsail.Types.NameServersUpdateState" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "NameServersUpdateState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NameServersUpdateStateCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newNameServersUpdateState :: NameServersUpdateState Source #

Create a value of NameServersUpdateState 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:code:NameServersUpdateState', nameServersUpdateState_code - The status code for the name servers update.

Following are the possible values:

  • SUCCEEDED - The name server records were successfully updated.
  • PENDING - The name server record update is in progress.
  • FAILED - The name server record update failed.
  • STARTED - The automatic name server record update started.

$sel:message:NameServersUpdateState', nameServersUpdateState_message - The message that describes the reason for the status code.

nameServersUpdateState_code :: Lens' NameServersUpdateState (Maybe NameServersUpdateStateCode) Source #

The status code for the name servers update.

Following are the possible values:

  • SUCCEEDED - The name server records were successfully updated.
  • PENDING - The name server record update is in progress.
  • FAILED - The name server record update failed.
  • STARTED - The automatic name server record update started.

nameServersUpdateState_message :: Lens' NameServersUpdateState (Maybe Text) Source #

The message that describes the reason for the status code.