amazonka-workmail-1.6.1: Amazon WorkMail SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.WorkMail.DescribeGroup

Contents

Description

Returns the data available for the group.

Synopsis

Creating a Request

describeGroup Source #

Creates a value of DescribeGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dgOrganizationId - The identifier for the organization under which the group exists.
  • dgGroupId - The identifier for the group to be described.

data DescribeGroup Source #

See: describeGroup smart constructor.

Instances
Eq DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Data DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeGroup -> c DescribeGroup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeGroup #

toConstr :: DescribeGroup -> Constr #

dataTypeOf :: DescribeGroup -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeGroup) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeGroup) #

gmapT :: (forall b. Data b => b -> b) -> DescribeGroup -> DescribeGroup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeGroup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeGroup -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeGroup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeGroup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeGroup -> m DescribeGroup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeGroup -> m DescribeGroup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeGroup -> m DescribeGroup #

Read DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Show DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Generic DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Associated Types

type Rep DescribeGroup :: Type -> Type #

Hashable DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

ToJSON DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

AWSRequest DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Associated Types

type Rs DescribeGroup :: Type #

ToHeaders DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

ToPath DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

ToQuery DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

NFData DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Methods

rnf :: DescribeGroup -> () #

type Rep DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

type Rep DescribeGroup = D1 (MetaData "DescribeGroup" "Network.AWS.WorkMail.DescribeGroup" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" False) (C1 (MetaCons "DescribeGroup'" PrefixI True) (S1 (MetaSel (Just "_dgOrganizationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dgGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DescribeGroup Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Request Lenses

dgOrganizationId :: Lens' DescribeGroup Text Source #

The identifier for the organization under which the group exists.

dgGroupId :: Lens' DescribeGroup Text Source #

The identifier for the group to be described.

Destructuring the Response

describeGroupResponse Source #

Creates a value of DescribeGroupResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • desrsEmail - The email of the described group.
  • desrsState - The state of the user: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to Amazon WorkMail).
  • desrsDisabledDate - The date and time when a user was deregistered from Amazon WorkMail, in UNIX epoch time format.
  • desrsName - The name of the described group.
  • desrsGroupId - The identifier of the described group.
  • desrsEnabledDate - The date and time when a user was registered to Amazon WorkMail, in UNIX epoch time format.
  • desrsResponseStatus - -- | The response status code.

data DescribeGroupResponse Source #

See: describeGroupResponse smart constructor.

Instances
Eq DescribeGroupResponse Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Data DescribeGroupResponse Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeGroupResponse -> c DescribeGroupResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeGroupResponse #

toConstr :: DescribeGroupResponse -> Constr #

dataTypeOf :: DescribeGroupResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeGroupResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeGroupResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeGroupResponse -> DescribeGroupResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeGroupResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeGroupResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeGroupResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeGroupResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeGroupResponse -> m DescribeGroupResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeGroupResponse -> m DescribeGroupResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeGroupResponse -> m DescribeGroupResponse #

Read DescribeGroupResponse Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Show DescribeGroupResponse Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Generic DescribeGroupResponse Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Associated Types

type Rep DescribeGroupResponse :: Type -> Type #

NFData DescribeGroupResponse Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

Methods

rnf :: DescribeGroupResponse -> () #

type Rep DescribeGroupResponse Source # 
Instance details

Defined in Network.AWS.WorkMail.DescribeGroup

type Rep DescribeGroupResponse = D1 (MetaData "DescribeGroupResponse" "Network.AWS.WorkMail.DescribeGroup" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" False) (C1 (MetaCons "DescribeGroupResponse'" PrefixI True) ((S1 (MetaSel (Just "_desrsEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_desrsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EntityState)) :*: S1 (MetaSel (Just "_desrsDisabledDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 (MetaSel (Just "_desrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_desrsGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_desrsEnabledDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_desrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

desrsEmail :: Lens' DescribeGroupResponse (Maybe Text) Source #

The email of the described group.

desrsState :: Lens' DescribeGroupResponse (Maybe EntityState) Source #

The state of the user: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to Amazon WorkMail).

desrsDisabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime) Source #

The date and time when a user was deregistered from Amazon WorkMail, in UNIX epoch time format.

desrsName :: Lens' DescribeGroupResponse (Maybe Text) Source #

The name of the described group.

desrsGroupId :: Lens' DescribeGroupResponse (Maybe Text) Source #

The identifier of the described group.

desrsEnabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime) Source #

The date and time when a user was registered to Amazon WorkMail, in UNIX epoch time format.

desrsResponseStatus :: Lens' DescribeGroupResponse Int Source #

  • - | The response status code.