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

Description

 
Synopsis

Documentation

data AddOn Source #

Describes an add-on that is enabled for an Amazon Lightsail resource.

See: newAddOn smart constructor.

Constructors

AddOn' 

Fields

  • name :: Maybe Text

    The name of the add-on.

  • nextSnapshotTimeOfDay :: Maybe Text

    The next daily time an automatic snapshot will be created.

    The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

    The snapshot is automatically created between the time shown and up to 45 minutes after.

  • snapshotTimeOfDay :: Maybe Text

    The daily time when an automatic snapshot is created.

    The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

    The snapshot is automatically created between the time shown and up to 45 minutes after.

  • status :: Maybe Text

    The status of the add-on.

Instances

Instances details
FromJSON AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

Generic AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

Associated Types

type Rep AddOn :: Type -> Type #

Methods

from :: AddOn -> Rep AddOn x #

to :: Rep AddOn x -> AddOn #

Read AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

Show AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

Methods

showsPrec :: Int -> AddOn -> ShowS #

show :: AddOn -> String #

showList :: [AddOn] -> ShowS #

NFData AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

Methods

rnf :: AddOn -> () #

Eq AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

Methods

(==) :: AddOn -> AddOn -> Bool #

(/=) :: AddOn -> AddOn -> Bool #

Hashable AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

Methods

hashWithSalt :: Int -> AddOn -> Int #

hash :: AddOn -> Int #

type Rep AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

type Rep AddOn = D1 ('MetaData "AddOn" "Amazonka.Lightsail.Types.AddOn" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AddOn'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextSnapshotTimeOfDay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "snapshotTimeOfDay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAddOn :: AddOn Source #

Create a value of AddOn 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:name:AddOn', addOn_name - The name of the add-on.

$sel:nextSnapshotTimeOfDay:AddOn', addOn_nextSnapshotTimeOfDay - The next daily time an automatic snapshot will be created.

The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

The snapshot is automatically created between the time shown and up to 45 minutes after.

$sel:snapshotTimeOfDay:AddOn', addOn_snapshotTimeOfDay - The daily time when an automatic snapshot is created.

The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

The snapshot is automatically created between the time shown and up to 45 minutes after.

$sel:status:AddOn', addOn_status - The status of the add-on.

addOn_name :: Lens' AddOn (Maybe Text) Source #

The name of the add-on.

addOn_nextSnapshotTimeOfDay :: Lens' AddOn (Maybe Text) Source #

The next daily time an automatic snapshot will be created.

The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

The snapshot is automatically created between the time shown and up to 45 minutes after.

addOn_snapshotTimeOfDay :: Lens' AddOn (Maybe Text) Source #

The daily time when an automatic snapshot is created.

The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

The snapshot is automatically created between the time shown and up to 45 minutes after.

addOn_status :: Lens' AddOn (Maybe Text) Source #

The status of the add-on.