amazonka-workmail-1.6.0: 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 # 
Data DescribeGroup Source # 

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 # 
Show DescribeGroup Source # 
Generic DescribeGroup Source # 

Associated Types

type Rep DescribeGroup :: * -> * #

Hashable DescribeGroup Source # 
ToJSON DescribeGroup Source # 
NFData DescribeGroup Source # 

Methods

rnf :: DescribeGroup -> () #

AWSRequest DescribeGroup Source # 
ToHeaders DescribeGroup Source # 
ToPath DescribeGroup Source # 
ToQuery DescribeGroup Source # 
type Rep DescribeGroup Source # 
type Rep DescribeGroup = D1 * (MetaData "DescribeGroup" "Network.AWS.WorkMail.DescribeGroup" "amazonka-workmail-1.6.0-8HAZCS55pFIAg9ZAclEI0R" False) (C1 * (MetaCons "DescribeGroup'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dgOrganizationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_dgGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DescribeGroup Source # 

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 # 
Data DescribeGroupResponse Source # 

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 # 
Show DescribeGroupResponse Source # 
Generic DescribeGroupResponse Source # 
NFData DescribeGroupResponse Source # 

Methods

rnf :: DescribeGroupResponse -> () #

type Rep DescribeGroupResponse Source # 
type Rep DescribeGroupResponse = D1 * (MetaData "DescribeGroupResponse" "Network.AWS.WorkMail.DescribeGroup" "amazonka-workmail-1.6.0-8HAZCS55pFIAg9ZAclEI0R" False) (C1 * (MetaCons "DescribeGroupResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_desrsEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_desrsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe EntityState))) (S1 * (MetaSel (Just Symbol "_desrsDisabledDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_desrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_desrsGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_desrsEnabledDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_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.