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.CreateGroup

Contents

Description

Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.

Synopsis

Creating a Request

createGroup Source #

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

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

data CreateGroup Source #

See: createGroup smart constructor.

Instances

Eq CreateGroup Source # 
Data CreateGroup Source # 

Methods

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

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

toConstr :: CreateGroup -> Constr #

dataTypeOf :: CreateGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateGroup Source # 
Show CreateGroup Source # 
Generic CreateGroup Source # 

Associated Types

type Rep CreateGroup :: * -> * #

Hashable CreateGroup Source # 
ToJSON CreateGroup Source # 
NFData CreateGroup Source # 

Methods

rnf :: CreateGroup -> () #

AWSRequest CreateGroup Source # 
ToHeaders CreateGroup Source # 

Methods

toHeaders :: CreateGroup -> [Header] #

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

Request Lenses

cgOrganizationId :: Lens' CreateGroup Text Source #

The organization under which the group is to be created.

cgName :: Lens' CreateGroup Text Source #

The name of the group.

Destructuring the Response

createGroupResponse Source #

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

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

data CreateGroupResponse Source #

See: createGroupResponse smart constructor.

Instances

Eq CreateGroupResponse Source # 
Data CreateGroupResponse Source # 

Methods

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

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

toConstr :: CreateGroupResponse -> Constr #

dataTypeOf :: CreateGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateGroupResponse Source # 
Show CreateGroupResponse Source # 
Generic CreateGroupResponse Source # 
NFData CreateGroupResponse Source # 

Methods

rnf :: CreateGroupResponse -> () #

type Rep CreateGroupResponse Source # 
type Rep CreateGroupResponse = D1 * (MetaData "CreateGroupResponse" "Network.AWS.WorkMail.CreateGroup" "amazonka-workmail-1.6.0-8HAZCS55pFIAg9ZAclEI0R" False) (C1 * (MetaCons "CreateGroupResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cgrsGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

cgrsResponseStatus :: Lens' CreateGroupResponse Int Source #

  • - | The response status code.