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.R53HostedZoneDeletionState

Description

 
Synopsis

Documentation

data R53HostedZoneDeletionState Source #

Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically delegated to an Amazon Lightsail DNS zone.

See: newR53HostedZoneDeletionState smart constructor.

Constructors

R53HostedZoneDeletionState' 

Fields

  • code :: Maybe R53HostedZoneDeletionStateCode

    The status code for the deletion state.

    Following are the possible values:

    • SUCCEEDED - The hosted zone was successfully deleted.
    • PENDING - The hosted zone deletion is in progress.
    • FAILED - The hosted zone deletion failed.
    • STARTED - The hosted zone deletion started.
  • message :: Maybe Text

    The message that describes the reason for the status code.

Instances

Instances details
FromJSON R53HostedZoneDeletionState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.R53HostedZoneDeletionState

Generic R53HostedZoneDeletionState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.R53HostedZoneDeletionState

Associated Types

type Rep R53HostedZoneDeletionState :: Type -> Type #

Read R53HostedZoneDeletionState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.R53HostedZoneDeletionState

Show R53HostedZoneDeletionState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.R53HostedZoneDeletionState

NFData R53HostedZoneDeletionState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.R53HostedZoneDeletionState

Eq R53HostedZoneDeletionState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.R53HostedZoneDeletionState

Hashable R53HostedZoneDeletionState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.R53HostedZoneDeletionState

type Rep R53HostedZoneDeletionState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.R53HostedZoneDeletionState

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

newR53HostedZoneDeletionState :: R53HostedZoneDeletionState Source #

Create a value of R53HostedZoneDeletionState 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:R53HostedZoneDeletionState', r53HostedZoneDeletionState_code - The status code for the deletion state.

Following are the possible values:

  • SUCCEEDED - The hosted zone was successfully deleted.
  • PENDING - The hosted zone deletion is in progress.
  • FAILED - The hosted zone deletion failed.
  • STARTED - The hosted zone deletion started.

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

r53HostedZoneDeletionState_code :: Lens' R53HostedZoneDeletionState (Maybe R53HostedZoneDeletionStateCode) Source #

The status code for the deletion state.

Following are the possible values:

  • SUCCEEDED - The hosted zone was successfully deleted.
  • PENDING - The hosted zone deletion is in progress.
  • FAILED - The hosted zone deletion failed.
  • STARTED - The hosted zone deletion started.

r53HostedZoneDeletionState_message :: Lens' R53HostedZoneDeletionState (Maybe Text) Source #

The message that describes the reason for the status code.