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

Description

Links a user's account to a third-party skill provider. If this API operation is called by an assumed IAM role, the skill being linked must be a private skill. Also, the skill must be owned by the AWS account that assumed the IAM role.

Synopsis

Creating a Request

data PutSkillAuthorization Source #

See: newPutSkillAuthorization smart constructor.

Constructors

PutSkillAuthorization' 

Fields

Instances

Instances details
ToJSON PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

ToHeaders PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

ToPath PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

ToQuery PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

AWSRequest PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Associated Types

type AWSResponse PutSkillAuthorization #

Generic PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Associated Types

type Rep PutSkillAuthorization :: Type -> Type #

Show PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

NFData PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Methods

rnf :: PutSkillAuthorization -> () #

Eq PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Hashable PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

type AWSResponse PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

type Rep PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

type Rep PutSkillAuthorization = D1 ('MetaData "PutSkillAuthorization" "Amazonka.AlexaBusiness.PutSkillAuthorization" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "PutSkillAuthorization'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roomArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "authorizationResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (HashMap Text Text))) :*: S1 ('MetaSel ('Just "skillId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newPutSkillAuthorization Source #

Create a value of PutSkillAuthorization 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:

PutSkillAuthorization, putSkillAuthorization_roomArn - The room that the skill is authorized for.

$sel:authorizationResult:PutSkillAuthorization', putSkillAuthorization_authorizationResult - The authorization result specific to OAUTH code grant output. "Code” must be populated in the AuthorizationResult map to establish the authorization.

PutSkillAuthorization, putSkillAuthorization_skillId - The unique identifier of a skill.

Request Lenses

putSkillAuthorization_roomArn :: Lens' PutSkillAuthorization (Maybe Text) Source #

The room that the skill is authorized for.

putSkillAuthorization_authorizationResult :: Lens' PutSkillAuthorization (HashMap Text Text) Source #

The authorization result specific to OAUTH code grant output. "Code” must be populated in the AuthorizationResult map to establish the authorization.

Destructuring the Response

data PutSkillAuthorizationResponse Source #

See: newPutSkillAuthorizationResponse smart constructor.

Constructors

PutSkillAuthorizationResponse' 

Fields

Instances

Instances details
Generic PutSkillAuthorizationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Associated Types

type Rep PutSkillAuthorizationResponse :: Type -> Type #

Read PutSkillAuthorizationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Show PutSkillAuthorizationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

NFData PutSkillAuthorizationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Eq PutSkillAuthorizationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

type Rep PutSkillAuthorizationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

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

newPutSkillAuthorizationResponse Source #

Create a value of PutSkillAuthorizationResponse 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:PutSkillAuthorizationResponse', putSkillAuthorizationResponse_httpStatus - The response's http status code.

Response Lenses