libZSservicesZSamazonka-chimeZSamazonka-chime
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.Chime.Types.ChannelMembership

Description

 
Synopsis

Documentation

data ChannelMembership Source #

The details of a channel member.

See: newChannelMembership smart constructor.

Constructors

ChannelMembership' 

Fields

Instances

Instances details
Eq ChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelMembership

Show ChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelMembership

Generic ChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelMembership

Associated Types

type Rep ChannelMembership :: Type -> Type #

NFData ChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelMembership

Methods

rnf :: ChannelMembership -> () #

Hashable ChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelMembership

FromJSON ChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelMembership

type Rep ChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelMembership

type Rep ChannelMembership = D1 ('MetaData "ChannelMembership" "Amazonka.Chime.Types.ChannelMembership" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "ChannelMembership'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "member") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMembershipType)))) :*: (S1 ('MetaSel ('Just "invitedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity)) :*: (S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newChannelMembership :: ChannelMembership Source #

Create a value of ChannelMembership 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:channelArn:ChannelMembership', channelMembership_channelArn - The ARN of the member's channel.

$sel:member:ChannelMembership', channelMembership_member - The data of the channel member.

$sel:type':ChannelMembership', channelMembership_type - The membership type set for the channel member.

$sel:invitedBy:ChannelMembership', channelMembership_invitedBy - The identifier of the member who invited another member.

$sel:createdTimestamp:ChannelMembership', channelMembership_createdTimestamp - The time at which the channel membership was created.

$sel:lastUpdatedTimestamp:ChannelMembership', channelMembership_lastUpdatedTimestamp - The time at which a channel membership was last updated.

channelMembership_type :: Lens' ChannelMembership (Maybe ChannelMembershipType) Source #

The membership type set for the channel member.

channelMembership_invitedBy :: Lens' ChannelMembership (Maybe Identity) Source #

The identifier of the member who invited another member.

channelMembership_createdTimestamp :: Lens' ChannelMembership (Maybe UTCTime) Source #

The time at which the channel membership was created.

channelMembership_lastUpdatedTimestamp :: Lens' ChannelMembership (Maybe UTCTime) Source #

The time at which a channel membership was last updated.