libZSservicesZSamazonka-appstreamZSamazonka-appstream
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.AppStream.EnableUser

Description

Enables a user in the user pool. After being enabled, users can sign in to AppStream 2.0 and open applications from the stacks to which they are assigned.

Synopsis

Creating a Request

data EnableUser Source #

See: newEnableUser smart constructor.

Constructors

EnableUser' 

Fields

  • userName :: Sensitive Text

    The email address of the user.

    Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.

  • authenticationType :: AuthenticationType

    The authentication type for the user. You must specify USERPOOL.

Instances

Instances details
Eq EnableUser Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

Show EnableUser Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

Generic EnableUser Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

Associated Types

type Rep EnableUser :: Type -> Type #

NFData EnableUser Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

Methods

rnf :: EnableUser -> () #

Hashable EnableUser Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

ToJSON EnableUser Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

AWSRequest EnableUser Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

Associated Types

type AWSResponse EnableUser #

ToHeaders EnableUser Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

Methods

toHeaders :: EnableUser -> [Header] #

ToPath EnableUser Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

ToQuery EnableUser Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

type Rep EnableUser Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

type Rep EnableUser = D1 ('MetaData "EnableUser" "Amazonka.AppStream.EnableUser" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "EnableUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "authenticationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AuthenticationType)))
type AWSResponse EnableUser Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

newEnableUser Source #

Create a value of EnableUser 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:userName:EnableUser', enableUser_userName - The email address of the user.

Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.

$sel:authenticationType:EnableUser', enableUser_authenticationType - The authentication type for the user. You must specify USERPOOL.

Request Lenses

enableUser_userName :: Lens' EnableUser Text Source #

The email address of the user.

Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.

enableUser_authenticationType :: Lens' EnableUser AuthenticationType Source #

The authentication type for the user. You must specify USERPOOL.

Destructuring the Response

data EnableUserResponse Source #

See: newEnableUserResponse smart constructor.

Constructors

EnableUserResponse' 

Fields

Instances

Instances details
Eq EnableUserResponse Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

Read EnableUserResponse Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

Show EnableUserResponse Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

Generic EnableUserResponse Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

Associated Types

type Rep EnableUserResponse :: Type -> Type #

NFData EnableUserResponse Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

Methods

rnf :: EnableUserResponse -> () #

type Rep EnableUserResponse Source # 
Instance details

Defined in Amazonka.AppStream.EnableUser

type Rep EnableUserResponse = D1 ('MetaData "EnableUserResponse" "Amazonka.AppStream.EnableUser" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "EnableUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newEnableUserResponse Source #

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

Response Lenses