Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.SSO.Logout
Description
Removes the client- and server-side session that is associated with the user.
Synopsis
- data Logout = Logout' {}
- newLogout :: Text -> Logout
- logout_accessToken :: Lens' Logout Text
- data LogoutResponse = LogoutResponse' {
- newLogoutResponse :: LogoutResponse
Creating a Request
See: newLogout
smart constructor.
Constructors
Logout' | |
Fields
|
Instances
Eq Logout Source # | |
Show Logout Source # | |
Generic Logout Source # | |
NFData Logout Source # | |
Defined in Amazonka.SSO.Logout | |
Hashable Logout Source # | |
Defined in Amazonka.SSO.Logout | |
ToJSON Logout Source # | |
Defined in Amazonka.SSO.Logout | |
AWSRequest Logout Source # | |
Defined in Amazonka.SSO.Logout Associated Types type AWSResponse Logout # Methods request :: Logout -> Request Logout # response :: MonadResource m => Logger -> Service -> Proxy Logout -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse Logout))) # | |
ToHeaders Logout Source # | |
Defined in Amazonka.SSO.Logout | |
ToPath Logout Source # | |
Defined in Amazonka.SSO.Logout Methods toPath :: Logout -> ByteString # | |
ToQuery Logout Source # | |
Defined in Amazonka.SSO.Logout Methods toQuery :: Logout -> QueryString # | |
type Rep Logout Source # | |
Defined in Amazonka.SSO.Logout | |
type AWSResponse Logout Source # | |
Defined in Amazonka.SSO.Logout |
Create a value of Logout
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:accessToken:Logout'
, logout_accessToken
- The token issued by the CreateToken
API call. For more information,
see
CreateToken
in the AWS SSO OIDC API Reference Guide.
Request Lenses
logout_accessToken :: Lens' Logout Text Source #
The token issued by the CreateToken
API call. For more information,
see
CreateToken
in the AWS SSO OIDC API Reference Guide.
Destructuring the Response
data LogoutResponse Source #
See: newLogoutResponse
smart constructor.
Constructors
LogoutResponse' | |
Instances
Eq LogoutResponse Source # | |
Defined in Amazonka.SSO.Logout Methods (==) :: LogoutResponse -> LogoutResponse -> Bool # (/=) :: LogoutResponse -> LogoutResponse -> Bool # | |
Read LogoutResponse Source # | |
Defined in Amazonka.SSO.Logout Methods readsPrec :: Int -> ReadS LogoutResponse # readList :: ReadS [LogoutResponse] # | |
Show LogoutResponse Source # | |
Defined in Amazonka.SSO.Logout Methods showsPrec :: Int -> LogoutResponse -> ShowS # show :: LogoutResponse -> String # showList :: [LogoutResponse] -> ShowS # | |
Generic LogoutResponse Source # | |
Defined in Amazonka.SSO.Logout Associated Types type Rep LogoutResponse :: Type -> Type # Methods from :: LogoutResponse -> Rep LogoutResponse x # to :: Rep LogoutResponse x -> LogoutResponse # | |
NFData LogoutResponse Source # | |
Defined in Amazonka.SSO.Logout Methods rnf :: LogoutResponse -> () # | |
type Rep LogoutResponse Source # | |
newLogoutResponse :: LogoutResponse Source #
Create a value of LogoutResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.