libZSservicesZSamazonka-greengrassZSamazonka-greengrass
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.Greengrass.Types.Core

Description

 
Synopsis

Documentation

data Core Source #

Information about a core.

See: newCore smart constructor.

Constructors

Core' 

Fields

  • syncShadow :: Maybe Bool

    If true, the core's local shadow is automatically synced with the cloud.

  • thingArn :: Text

    The ARN of the thing which is the core.

  • id :: Text

    A descriptive or arbitrary ID for the core. This value must be unique within the core definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

  • certificateArn :: Text

    The ARN of the certificate associated with the core.

Instances

Instances details
Eq Core Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Core

Methods

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

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

Read Core Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Core

Show Core Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Core

Methods

showsPrec :: Int -> Core -> ShowS #

show :: Core -> String #

showList :: [Core] -> ShowS #

Generic Core Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Core

Associated Types

type Rep Core :: Type -> Type #

Methods

from :: Core -> Rep Core x #

to :: Rep Core x -> Core #

NFData Core Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Core

Methods

rnf :: Core -> () #

Hashable Core Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Core

Methods

hashWithSalt :: Int -> Core -> Int #

hash :: Core -> Int #

ToJSON Core Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Core

FromJSON Core Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Core

type Rep Core Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Core

type Rep Core = D1 ('MetaData "Core" "Amazonka.Greengrass.Types.Core" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "Core'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "syncShadow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "thingArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCore Source #

Create a value of Core 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:syncShadow:Core', core_syncShadow - If true, the core's local shadow is automatically synced with the cloud.

$sel:thingArn:Core', core_thingArn - The ARN of the thing which is the core.

$sel:id:Core', core_id - A descriptive or arbitrary ID for the core. This value must be unique within the core definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

$sel:certificateArn:Core', core_certificateArn - The ARN of the certificate associated with the core.

core_syncShadow :: Lens' Core (Maybe Bool) Source #

If true, the core's local shadow is automatically synced with the cloud.

core_thingArn :: Lens' Core Text Source #

The ARN of the thing which is the core.

core_id :: Lens' Core Text Source #

A descriptive or arbitrary ID for the core. This value must be unique within the core definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

core_certificateArn :: Lens' Core Text Source #

The ARN of the certificate associated with the core.