libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
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.CognitoIdentityProvider.AdminUserGlobalSignOut

Description

Signs out users from all devices, as an administrator. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and Id tokens expire one hour after they are issued.

Calling this action requires developer credentials.

Synopsis

Creating a Request

data AdminUserGlobalSignOut Source #

The request to sign out of all devices, as an administrator.

See: newAdminUserGlobalSignOut smart constructor.

Constructors

AdminUserGlobalSignOut' 

Fields

Instances

Instances details
Eq AdminUserGlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

Show AdminUserGlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

Generic AdminUserGlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

Associated Types

type Rep AdminUserGlobalSignOut :: Type -> Type #

NFData AdminUserGlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

Methods

rnf :: AdminUserGlobalSignOut -> () #

Hashable AdminUserGlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

ToJSON AdminUserGlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

AWSRequest AdminUserGlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

Associated Types

type AWSResponse AdminUserGlobalSignOut #

ToHeaders AdminUserGlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

ToPath AdminUserGlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

ToQuery AdminUserGlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

type Rep AdminUserGlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

type Rep AdminUserGlobalSignOut = D1 ('MetaData "AdminUserGlobalSignOut" "Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "AdminUserGlobalSignOut'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))
type AWSResponse AdminUserGlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

newAdminUserGlobalSignOut Source #

Create a value of AdminUserGlobalSignOut 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:userPoolId:AdminUserGlobalSignOut', adminUserGlobalSignOut_userPoolId - The user pool ID.

$sel:username:AdminUserGlobalSignOut', adminUserGlobalSignOut_username - The user name.

Request Lenses

Destructuring the Response

data AdminUserGlobalSignOutResponse Source #

The global sign-out response, as an administrator.

See: newAdminUserGlobalSignOutResponse smart constructor.

Constructors

AdminUserGlobalSignOutResponse' 

Fields

Instances

Instances details
Eq AdminUserGlobalSignOutResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

Read AdminUserGlobalSignOutResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

Show AdminUserGlobalSignOutResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

Generic AdminUserGlobalSignOutResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

Associated Types

type Rep AdminUserGlobalSignOutResponse :: Type -> Type #

NFData AdminUserGlobalSignOutResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

type Rep AdminUserGlobalSignOutResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut

type Rep AdminUserGlobalSignOutResponse = D1 ('MetaData "AdminUserGlobalSignOutResponse" "Amazonka.CognitoIdentityProvider.AdminUserGlobalSignOut" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "AdminUserGlobalSignOutResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAdminUserGlobalSignOutResponse Source #

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

Response Lenses