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

Description

Disables the specified user in the user pool. Users can't sign in to AppStream 2.0 until they are re-enabled. This action does not delete the user.

Synopsis

Creating a Request

data DisableUser Source #

See: newDisableUser smart constructor.

Constructors

DisableUser' 

Fields

Instances

Instances details
Eq DisableUser Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

Show DisableUser Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

Generic DisableUser Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

Associated Types

type Rep DisableUser :: Type -> Type #

NFData DisableUser Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

Methods

rnf :: DisableUser -> () #

Hashable DisableUser Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

ToJSON DisableUser Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

AWSRequest DisableUser Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

Associated Types

type AWSResponse DisableUser #

ToHeaders DisableUser Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

Methods

toHeaders :: DisableUser -> [Header] #

ToPath DisableUser Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

ToQuery DisableUser Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

type Rep DisableUser Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

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

Defined in Amazonka.AppStream.DisableUser

newDisableUser Source #

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

Users' email addresses are case-sensitive.

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

Request Lenses

disableUser_userName :: Lens' DisableUser Text Source #

The email address of the user.

Users' email addresses are case-sensitive.

disableUser_authenticationType :: Lens' DisableUser AuthenticationType Source #

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

Destructuring the Response

data DisableUserResponse Source #

See: newDisableUserResponse smart constructor.

Constructors

DisableUserResponse' 

Fields

Instances

Instances details
Eq DisableUserResponse Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

Read DisableUserResponse Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

Show DisableUserResponse Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

Generic DisableUserResponse Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

Associated Types

type Rep DisableUserResponse :: Type -> Type #

NFData DisableUserResponse Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

Methods

rnf :: DisableUserResponse -> () #

type Rep DisableUserResponse Source # 
Instance details

Defined in Amazonka.AppStream.DisableUser

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

newDisableUserResponse Source #

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

Response Lenses