libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.Types.Session

Description

 
Synopsis

Documentation

data Session Source #

Provides information about a session.

See: newSession smart constructor.

Constructors

Session' 

Fields

Instances

Instances details
Eq Session Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Session

Methods

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

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

Read Session Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Session

Show Session Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Session

Generic Session Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Session

Associated Types

type Rep Session :: Type -> Type #

Methods

from :: Session -> Rep Session x #

to :: Rep Session x -> Session #

NFData Session Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Session

Methods

rnf :: Session -> () #

Hashable Session Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Session

Methods

hashWithSalt :: Int -> Session -> Int #

hash :: Session -> Int #

ToJSON Session Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Session

type Rep Session Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.Session

type Rep Session = D1 ('MetaData "Session" "Amazonka.Pinpoint.Types.Session" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "Session'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "stopTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "startTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSession Source #

Create a value of Session 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:stopTimestamp:Session', session_stopTimestamp - The date and time when the session ended.

$sel:duration:Session', session_duration - The duration of the session, in milliseconds.

$sel:startTimestamp:Session', session_startTimestamp - The date and time when the session began.

$sel:id:Session', session_id - The unique identifier for the session.

session_stopTimestamp :: Lens' Session (Maybe Text) Source #

The date and time when the session ended.

session_duration :: Lens' Session (Maybe Int) Source #

The duration of the session, in milliseconds.

session_startTimestamp :: Lens' Session Text Source #

The date and time when the session began.

session_id :: Lens' Session Text Source #

The unique identifier for the session.