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

Contents

Description

Adds a member to the resource's set of delegates.

Synopsis

Creating a Request

associateDelegateToResource Source #

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

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

data AssociateDelegateToResource Source #

See: associateDelegateToResource smart constructor.

Instances

Eq AssociateDelegateToResource Source # 
Data AssociateDelegateToResource Source # 

Methods

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

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

toConstr :: AssociateDelegateToResource -> Constr #

dataTypeOf :: AssociateDelegateToResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateDelegateToResource Source # 
Show AssociateDelegateToResource Source # 
Generic AssociateDelegateToResource Source # 
Hashable AssociateDelegateToResource Source # 
ToJSON AssociateDelegateToResource Source # 
NFData AssociateDelegateToResource Source # 
AWSRequest AssociateDelegateToResource Source # 
ToHeaders AssociateDelegateToResource Source # 
ToPath AssociateDelegateToResource Source # 
ToQuery AssociateDelegateToResource Source # 
type Rep AssociateDelegateToResource Source # 
type Rep AssociateDelegateToResource = D1 * (MetaData "AssociateDelegateToResource" "Network.AWS.WorkMail.AssociateDelegateToResource" "amazonka-workmail-1.6.0-8HAZCS55pFIAg9ZAclEI0R" False) (C1 * (MetaCons "AssociateDelegateToResource'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_adtrOrganizationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_adtrResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_adtrEntityId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs AssociateDelegateToResource Source # 

Request Lenses

adtrOrganizationId :: Lens' AssociateDelegateToResource Text Source #

The organization under which the resource exists.

adtrResourceId :: Lens' AssociateDelegateToResource Text Source #

The resource for which members are associated.

adtrEntityId :: Lens' AssociateDelegateToResource Text Source #

The member (user or group) to associate to the resource.

Destructuring the Response

associateDelegateToResourceResponse Source #

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

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

data AssociateDelegateToResourceResponse Source #

See: associateDelegateToResourceResponse smart constructor.

Instances

Eq AssociateDelegateToResourceResponse Source # 
Data AssociateDelegateToResourceResponse Source # 

Methods

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

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

toConstr :: AssociateDelegateToResourceResponse -> Constr #

dataTypeOf :: AssociateDelegateToResourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateDelegateToResourceResponse Source # 
Show AssociateDelegateToResourceResponse Source # 
Generic AssociateDelegateToResourceResponse Source # 
NFData AssociateDelegateToResourceResponse Source # 
type Rep AssociateDelegateToResourceResponse Source # 
type Rep AssociateDelegateToResourceResponse = D1 * (MetaData "AssociateDelegateToResourceResponse" "Network.AWS.WorkMail.AssociateDelegateToResource" "amazonka-workmail-1.6.0-8HAZCS55pFIAg9ZAclEI0R" True) (C1 * (MetaCons "AssociateDelegateToResourceResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_adtrrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses