libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.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

  • status :: Maybe Text

    The status 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.

  • name :: Maybe Text

    The name of the add-on.

Instances

Instances details
Eq AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

Methods

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

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

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 #

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 #

NFData AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

Methods

rnf :: AddOn -> () #

Hashable AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

Methods

hashWithSalt :: Int -> AddOn -> Int #

hash :: AddOn -> Int #

FromJSON AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

type Rep AddOn Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AddOn

type Rep AddOn = D1 ('MetaData "AddOn" "Amazonka.Lightsail.Types.AddOn" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "AddOn'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") '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 "name") '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:status:AddOn', addOn_status - The status 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:name:AddOn', addOn_name - The name of the add-on.

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

The status 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_name :: Lens' AddOn (Maybe Text) Source #

The name of the add-on.