amazonka-alexa-business-1.6.0: Amazon Alexa For Business 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.AlexaBusiness.SendInvitation

Contents

Description

Sends an enrollment invitation email with a URL to a user. The URL is valid for 72 hours or until you call this operation again, whichever comes first.

Synopsis

Creating a Request

sendInvitation :: SendInvitation Source #

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

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

  • siUserARN - The ARN of the user to whom to send an invitation. Required.

data SendInvitation Source #

See: sendInvitation smart constructor.

Instances

Eq SendInvitation Source # 
Data SendInvitation Source # 

Methods

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

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

toConstr :: SendInvitation -> Constr #

dataTypeOf :: SendInvitation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SendInvitation Source # 
Show SendInvitation Source # 
Generic SendInvitation Source # 

Associated Types

type Rep SendInvitation :: * -> * #

Hashable SendInvitation Source # 
ToJSON SendInvitation Source # 
NFData SendInvitation Source # 

Methods

rnf :: SendInvitation -> () #

AWSRequest SendInvitation Source # 
ToHeaders SendInvitation Source # 
ToPath SendInvitation Source # 
ToQuery SendInvitation Source # 
type Rep SendInvitation Source # 
type Rep SendInvitation = D1 * (MetaData "SendInvitation" "Network.AWS.AlexaBusiness.SendInvitation" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" True) (C1 * (MetaCons "SendInvitation'" PrefixI True) (S1 * (MetaSel (Just Symbol "_siUserARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Text))))
type Rs SendInvitation Source # 

Request Lenses

siUserARN :: Lens' SendInvitation (Maybe Text) Source #

The ARN of the user to whom to send an invitation. Required.

Destructuring the Response

sendInvitationResponse Source #

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

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

data SendInvitationResponse Source #

See: sendInvitationResponse smart constructor.

Instances

Eq SendInvitationResponse Source # 
Data SendInvitationResponse Source # 

Methods

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

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

toConstr :: SendInvitationResponse -> Constr #

dataTypeOf :: SendInvitationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SendInvitationResponse Source # 
Show SendInvitationResponse Source # 
Generic SendInvitationResponse Source # 
NFData SendInvitationResponse Source # 

Methods

rnf :: SendInvitationResponse -> () #

type Rep SendInvitationResponse Source # 
type Rep SendInvitationResponse = D1 * (MetaData "SendInvitationResponse" "Network.AWS.AlexaBusiness.SendInvitation" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" True) (C1 * (MetaCons "SendInvitationResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_sirsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

sirsResponseStatus :: Lens' SendInvitationResponse Int Source #

  • - | The response status code.