libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant
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.ConnectParticipant.Types.StartPosition

Description

 
Synopsis

Documentation

data StartPosition Source #

A filtering option for where to start. For example, if you sent 100 messages, start with message 50.

See: newStartPosition smart constructor.

Constructors

StartPosition' 

Fields

  • absoluteTime :: Maybe Text

    The time in ISO format where to start.

    It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

  • id :: Maybe Text

    The ID of the message or event where to start.

  • mostRecent :: Maybe Natural

    The start position of the most recent message where you want to start.

Instances

Instances details
Eq StartPosition Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.StartPosition

Read StartPosition Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.StartPosition

Show StartPosition Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.StartPosition

Generic StartPosition Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.StartPosition

Associated Types

type Rep StartPosition :: Type -> Type #

NFData StartPosition Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.StartPosition

Methods

rnf :: StartPosition -> () #

Hashable StartPosition Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.StartPosition

ToJSON StartPosition Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.StartPosition

type Rep StartPosition Source # 
Instance details

Defined in Amazonka.ConnectParticipant.Types.StartPosition

type Rep StartPosition = D1 ('MetaData "StartPosition" "Amazonka.ConnectParticipant.Types.StartPosition" "libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant" 'False) (C1 ('MetaCons "StartPosition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "absoluteTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mostRecent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newStartPosition :: StartPosition Source #

Create a value of StartPosition 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:absoluteTime:StartPosition', startPosition_absoluteTime - The time in ISO format where to start.

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

$sel:id:StartPosition', startPosition_id - The ID of the message or event where to start.

$sel:mostRecent:StartPosition', startPosition_mostRecent - The start position of the most recent message where you want to start.

startPosition_absoluteTime :: Lens' StartPosition (Maybe Text) Source #

The time in ISO format where to start.

It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

startPosition_id :: Lens' StartPosition (Maybe Text) Source #

The ID of the message or event where to start.

startPosition_mostRecent :: Lens' StartPosition (Maybe Natural) Source #

The start position of the most recent message where you want to start.