amazonka-sso-2.0: Amazon Single Sign-On SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSO

Description

Derived from API version 2019-06-10 of the AWS service descriptions, licensed under Apache 2.0.

AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles assigned to them and get federated into the application.

Although AWS Single Sign-On was renamed, the sso and identitystore API namespaces will continue to retain their original name for backward compatibility purposes. For more information, see IAM Identity Center rename.

This reference guide describes the IAM Identity Center Portal operations that you can call programatically and includes detailed information on data types and errors.

AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a convenient way to create programmatic access to IAM Identity Center and other AWS services. For more information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2019-06-10 of the Amazon Single Sign-On SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by SSO.

InvalidRequestException

_InvalidRequestException :: AsError a => Fold a ServiceError Source #

Indicates that a problem occurred with the input to the request. For example, a required parameter might be missing or out of range.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The specified resource doesn't exist.

TooManyRequestsException

_TooManyRequestsException :: AsError a => Fold a ServiceError Source #

Indicates that the request is being made too frequently and is more than what the server can handle.

UnauthorizedException

_UnauthorizedException :: AsError a => Fold a ServiceError Source #

Indicates that the request is not authorized. This can happen due to an invalid access token in the request.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

GetRoleCredentials

data GetRoleCredentials Source #

See: newGetRoleCredentials smart constructor.

Instances

Instances details
ToHeaders GetRoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

ToPath GetRoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

ToQuery GetRoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

AWSRequest GetRoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

Associated Types

type AWSResponse GetRoleCredentials #

Generic GetRoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

Associated Types

type Rep GetRoleCredentials :: Type -> Type #

Show GetRoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

NFData GetRoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

Methods

rnf :: GetRoleCredentials -> () #

Eq GetRoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

Hashable GetRoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

type AWSResponse GetRoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

type Rep GetRoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

type Rep GetRoleCredentials = D1 ('MetaData "GetRoleCredentials" "Amazonka.SSO.GetRoleCredentials" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "GetRoleCredentials'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))

newGetRoleCredentials Source #

Create a value of GetRoleCredentials 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:

GetRoleCredentials, getRoleCredentials_roleName - The friendly name of the role that is assigned to the user.

GetRoleCredentials, getRoleCredentials_accountId - The identifier for the AWS account that is assigned to the user.

$sel:accessToken:GetRoleCredentials', getRoleCredentials_accessToken - The token issued by the CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.

data GetRoleCredentialsResponse Source #

See: newGetRoleCredentialsResponse smart constructor.

Instances

Instances details
Generic GetRoleCredentialsResponse Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

Associated Types

type Rep GetRoleCredentialsResponse :: Type -> Type #

Show GetRoleCredentialsResponse Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

NFData GetRoleCredentialsResponse Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

Eq GetRoleCredentialsResponse Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

type Rep GetRoleCredentialsResponse Source # 
Instance details

Defined in Amazonka.SSO.GetRoleCredentials

type Rep GetRoleCredentialsResponse = D1 ('MetaData "GetRoleCredentialsResponse" "Amazonka.SSO.GetRoleCredentials" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "GetRoleCredentialsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "roleCredentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RoleCredentials)))

newGetRoleCredentialsResponse Source #

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

$sel:roleCredentials:GetRoleCredentialsResponse', getRoleCredentialsResponse_roleCredentials - The credentials for the role that is assigned to the user.

ListAccountRoles (Paginated)

data ListAccountRoles Source #

See: newListAccountRoles smart constructor.

Instances

Instances details
ToHeaders ListAccountRoles Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

ToPath ListAccountRoles Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

ToQuery ListAccountRoles Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

AWSPager ListAccountRoles Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

AWSRequest ListAccountRoles Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

Associated Types

type AWSResponse ListAccountRoles #

Generic ListAccountRoles Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

Associated Types

type Rep ListAccountRoles :: Type -> Type #

Show ListAccountRoles Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

NFData ListAccountRoles Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

Methods

rnf :: ListAccountRoles -> () #

Eq ListAccountRoles Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

Hashable ListAccountRoles Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

type AWSResponse ListAccountRoles Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

type Rep ListAccountRoles Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

type Rep ListAccountRoles = D1 ('MetaData "ListAccountRoles" "Amazonka.SSO.ListAccountRoles" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "ListAccountRoles'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListAccountRoles Source #

Create a value of ListAccountRoles 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:maxResults:ListAccountRoles', listAccountRoles_maxResults - The number of items that clients can request per page.

ListAccountRoles, listAccountRoles_nextToken - The page token from the previous response output when you request subsequent pages.

$sel:accessToken:ListAccountRoles', listAccountRoles_accessToken - The token issued by the CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.

ListAccountRoles, listAccountRoles_accountId - The identifier for the AWS account that is assigned to the user.

data ListAccountRolesResponse Source #

See: newListAccountRolesResponse smart constructor.

Instances

Instances details
Generic ListAccountRolesResponse Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

Associated Types

type Rep ListAccountRolesResponse :: Type -> Type #

Read ListAccountRolesResponse Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

Show ListAccountRolesResponse Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

NFData ListAccountRolesResponse Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

Eq ListAccountRolesResponse Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

type Rep ListAccountRolesResponse Source # 
Instance details

Defined in Amazonka.SSO.ListAccountRoles

type Rep ListAccountRolesResponse = D1 ('MetaData "ListAccountRolesResponse" "Amazonka.SSO.ListAccountRoles" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "ListAccountRolesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "roleList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RoleInfo])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAccountRolesResponse Source #

Create a value of ListAccountRolesResponse 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:

ListAccountRoles, listAccountRolesResponse_nextToken - The page token client that is used to retrieve the list of accounts.

$sel:roleList:ListAccountRolesResponse', listAccountRolesResponse_roleList - A paginated response with the list of roles and the next token if more results are available.

$sel:httpStatus:ListAccountRolesResponse', listAccountRolesResponse_httpStatus - The response's http status code.

ListAccounts (Paginated)

data ListAccounts Source #

See: newListAccounts smart constructor.

Instances

Instances details
ToHeaders ListAccounts Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

ToPath ListAccounts Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

ToQuery ListAccounts Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

AWSPager ListAccounts Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

AWSRequest ListAccounts Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

Associated Types

type AWSResponse ListAccounts #

Generic ListAccounts Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

Associated Types

type Rep ListAccounts :: Type -> Type #

Show ListAccounts Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

NFData ListAccounts Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

Methods

rnf :: ListAccounts -> () #

Eq ListAccounts Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

Hashable ListAccounts Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

type AWSResponse ListAccounts Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

type Rep ListAccounts Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

type Rep ListAccounts = D1 ('MetaData "ListAccounts" "Amazonka.SSO.ListAccounts" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "ListAccounts'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))

newListAccounts Source #

Create a value of ListAccounts 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:maxResults:ListAccounts', listAccounts_maxResults - This is the number of items clients can request per page.

ListAccounts, listAccounts_nextToken - (Optional) When requesting subsequent pages, this is the page token from the previous response output.

$sel:accessToken:ListAccounts', listAccounts_accessToken - The token issued by the CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.

data ListAccountsResponse Source #

See: newListAccountsResponse smart constructor.

Instances

Instances details
Generic ListAccountsResponse Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

Associated Types

type Rep ListAccountsResponse :: Type -> Type #

Read ListAccountsResponse Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

Show ListAccountsResponse Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

NFData ListAccountsResponse Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

Methods

rnf :: ListAccountsResponse -> () #

Eq ListAccountsResponse Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

type Rep ListAccountsResponse Source # 
Instance details

Defined in Amazonka.SSO.ListAccounts

type Rep ListAccountsResponse = D1 ('MetaData "ListAccountsResponse" "Amazonka.SSO.ListAccounts" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "ListAccountsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AccountInfo])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAccountsResponse Source #

Create a value of ListAccountsResponse 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:accountList:ListAccountsResponse', listAccountsResponse_accountList - A paginated response with the list of account information and the next token if more results are available.

ListAccounts, listAccountsResponse_nextToken - The page token client that is used to retrieve the list of accounts.

$sel:httpStatus:ListAccountsResponse', listAccountsResponse_httpStatus - The response's http status code.

Logout

data Logout Source #

See: newLogout smart constructor.

Constructors

Logout' (Sensitive Text) 

Instances

Instances details
ToJSON Logout Source # 
Instance details

Defined in Amazonka.SSO.Logout

ToHeaders Logout Source # 
Instance details

Defined in Amazonka.SSO.Logout

Methods

toHeaders :: Logout -> [Header] #

ToPath Logout Source # 
Instance details

Defined in Amazonka.SSO.Logout

Methods

toPath :: Logout -> ByteString #

ToQuery Logout Source # 
Instance details

Defined in Amazonka.SSO.Logout

AWSRequest Logout Source # 
Instance details

Defined in Amazonka.SSO.Logout

Associated Types

type AWSResponse Logout #

Generic Logout Source # 
Instance details

Defined in Amazonka.SSO.Logout

Associated Types

type Rep Logout :: Type -> Type #

Methods

from :: Logout -> Rep Logout x #

to :: Rep Logout x -> Logout #

Show Logout Source # 
Instance details

Defined in Amazonka.SSO.Logout

NFData Logout Source # 
Instance details

Defined in Amazonka.SSO.Logout

Methods

rnf :: Logout -> () #

Eq Logout Source # 
Instance details

Defined in Amazonka.SSO.Logout

Methods

(==) :: Logout -> Logout -> Bool #

(/=) :: Logout -> Logout -> Bool #

Hashable Logout Source # 
Instance details

Defined in Amazonka.SSO.Logout

Methods

hashWithSalt :: Int -> Logout -> Int #

hash :: Logout -> Int #

type AWSResponse Logout Source # 
Instance details

Defined in Amazonka.SSO.Logout

type Rep Logout Source # 
Instance details

Defined in Amazonka.SSO.Logout

type Rep Logout = D1 ('MetaData "Logout" "Amazonka.SSO.Logout" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "Logout'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))

newLogout Source #

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 IAM Identity Center OIDC API Reference Guide.

data LogoutResponse Source #

See: newLogoutResponse smart constructor.

Constructors

LogoutResponse' 

Instances

Instances details
Generic LogoutResponse Source # 
Instance details

Defined in Amazonka.SSO.Logout

Associated Types

type Rep LogoutResponse :: Type -> Type #

Read LogoutResponse Source # 
Instance details

Defined in Amazonka.SSO.Logout

Show LogoutResponse Source # 
Instance details

Defined in Amazonka.SSO.Logout

NFData LogoutResponse Source # 
Instance details

Defined in Amazonka.SSO.Logout

Methods

rnf :: LogoutResponse -> () #

Eq LogoutResponse Source # 
Instance details

Defined in Amazonka.SSO.Logout

type Rep LogoutResponse Source # 
Instance details

Defined in Amazonka.SSO.Logout

type Rep LogoutResponse = D1 ('MetaData "LogoutResponse" "Amazonka.SSO.Logout" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "LogoutResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newLogoutResponse :: LogoutResponse Source #

Create a value of LogoutResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Types

AccountInfo

data AccountInfo Source #

Provides information about your AWS account.

See: newAccountInfo smart constructor.

Constructors

AccountInfo' (Maybe Text) (Maybe Text) (Maybe Text) 

Instances

Instances details
FromJSON AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Generic AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Associated Types

type Rep AccountInfo :: Type -> Type #

Read AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Show AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

NFData AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Methods

rnf :: AccountInfo -> () #

Eq AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Hashable AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

type Rep AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

type Rep AccountInfo = D1 ('MetaData "AccountInfo" "Amazonka.SSO.Types.AccountInfo" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "AccountInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "accountName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAccountInfo :: AccountInfo Source #

Create a value of AccountInfo 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:accountId:AccountInfo', accountInfo_accountId - The identifier of the AWS account that is assigned to the user.

$sel:accountName:AccountInfo', accountInfo_accountName - The display name of the AWS account that is assigned to the user.

$sel:emailAddress:AccountInfo', accountInfo_emailAddress - The email address of the AWS account that is assigned to the user.

RoleCredentials

data RoleCredentials Source #

Provides information about the role credentials that are assigned to the user.

See: newRoleCredentials smart constructor.

Instances

Instances details
FromJSON RoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleCredentials

Generic RoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleCredentials

Associated Types

type Rep RoleCredentials :: Type -> Type #

Show RoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleCredentials

NFData RoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleCredentials

Methods

rnf :: RoleCredentials -> () #

Eq RoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleCredentials

Hashable RoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleCredentials

type Rep RoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleCredentials

type Rep RoleCredentials = D1 ('MetaData "RoleCredentials" "Amazonka.SSO.Types.RoleCredentials" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "RoleCredentials'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "expiration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "sessionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive SessionToken)))) :*: (S1 ('MetaSel ('Just "accessKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AccessKey) :*: S1 ('MetaSel ('Just "secretAccessKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive SecretKey)))))

newRoleCredentials Source #

Create a value of RoleCredentials 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:expiration:RoleCredentials', roleCredentials_expiration - The date on which temporary security credentials expire.

$sel:sessionToken:RoleCredentials', roleCredentials_sessionToken - The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.

$sel:accessKeyId:RoleCredentials', roleCredentials_accessKeyId - The identifier used for the temporary security credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.

$sel:secretAccessKey:RoleCredentials', roleCredentials_secretAccessKey - The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.

RoleInfo

data RoleInfo Source #

Provides information about the role that is assigned to the user.

See: newRoleInfo smart constructor.

Constructors

RoleInfo' (Maybe Text) (Maybe Text) 

Instances

Instances details
FromJSON RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Generic RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Associated Types

type Rep RoleInfo :: Type -> Type #

Methods

from :: RoleInfo -> Rep RoleInfo x #

to :: Rep RoleInfo x -> RoleInfo #

Read RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Show RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

NFData RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Methods

rnf :: RoleInfo -> () #

Eq RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Hashable RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Methods

hashWithSalt :: Int -> RoleInfo -> Int #

hash :: RoleInfo -> Int #

type Rep RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

type Rep RoleInfo = D1 ('MetaData "RoleInfo" "Amazonka.SSO.Types.RoleInfo" "amazonka-sso-2.0-B4gMJoZyEheG3SJYxPhDjE" 'False) (C1 ('MetaCons "RoleInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newRoleInfo :: RoleInfo Source #

Create a value of RoleInfo 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:accountId:RoleInfo', roleInfo_accountId - The identifier of the AWS account assigned to the user.

$sel:roleName:RoleInfo', roleInfo_roleName - The friendly name of the role that is assigned to the user.