libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Show PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Generic PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Associated Types

type Rep PutSkillAuthorization :: Type -> Type #

NFData PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Methods

rnf :: PutSkillAuthorization -> () #

Hashable PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

ToJSON PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

AWSRequest PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Associated Types

type AWSResponse 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

type Rep PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

type Rep PutSkillAuthorization = D1 ('MetaData "PutSkillAuthorization" "Amazonka.AlexaBusiness.PutSkillAuthorization" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" '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))))
type AWSResponse PutSkillAuthorization Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

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:

$sel:roomArn: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.

$sel:skillId: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
Eq PutSkillAuthorizationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Read PutSkillAuthorizationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Show PutSkillAuthorizationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Generic PutSkillAuthorizationResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.PutSkillAuthorization

Associated Types

type Rep PutSkillAuthorizationResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" '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