amazonka-alexa-business-2.0: Amazon Alexa For Business SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AlexaBusiness.SendInvitation

Description

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

Synopsis

Creating a Request

data SendInvitation Source #

See: newSendInvitation smart constructor.

Constructors

SendInvitation' 

Fields

  • userArn :: Maybe Text

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

Instances

Instances details
ToJSON SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

ToHeaders SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

ToPath SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

ToQuery SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

AWSRequest SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

Associated Types

type AWSResponse SendInvitation #

Generic SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

Associated Types

type Rep SendInvitation :: Type -> Type #

Read SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

Show SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

NFData SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

Methods

rnf :: SendInvitation -> () #

Eq SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

Hashable SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

type AWSResponse SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

type Rep SendInvitation Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

type Rep SendInvitation = D1 ('MetaData "SendInvitation" "Amazonka.AlexaBusiness.SendInvitation" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "SendInvitation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSendInvitation :: SendInvitation Source #

Create a value of SendInvitation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

SendInvitation, sendInvitation_userArn - The ARN of the user to whom to send an invitation. Required.

Request Lenses

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

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

Destructuring the Response

data SendInvitationResponse Source #

See: newSendInvitationResponse smart constructor.

Constructors

SendInvitationResponse' 

Fields

Instances

Instances details
Generic SendInvitationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

Associated Types

type Rep SendInvitationResponse :: Type -> Type #

Read SendInvitationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

Show SendInvitationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

NFData SendInvitationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

Methods

rnf :: SendInvitationResponse -> () #

Eq SendInvitationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

type Rep SendInvitationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SendInvitation

type Rep SendInvitationResponse = D1 ('MetaData "SendInvitationResponse" "Amazonka.AlexaBusiness.SendInvitation" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "SendInvitationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSendInvitationResponse Source #

Create a value of SendInvitationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:SendInvitationResponse', sendInvitationResponse_httpStatus - The response's http status code.

Response Lenses