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

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

_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 :: AsError a => Fold a ServiceError Source #

The specified resource doesn't exist.

_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 :: 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.

AccountInfo

data AccountInfo Source #

Provides information about your AWS account.

See: newAccountInfo smart constructor.

Constructors

AccountInfo' 

Fields

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.

accountInfo_accountId :: Lens' AccountInfo (Maybe Text) Source #

The identifier of the AWS account that is assigned to the user.

accountInfo_accountName :: Lens' AccountInfo (Maybe Text) Source #

The display name of the AWS account that is assigned to the user.

accountInfo_emailAddress :: Lens' AccountInfo (Maybe Text) Source #

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.

Constructors

RoleCredentials' 

Fields

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.

roleCredentials_expiration :: Lens' RoleCredentials (Maybe Integer) Source #

The date on which temporary security credentials expire.

roleCredentials_sessionToken :: Lens' RoleCredentials (Maybe SessionToken) Source #

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.

roleCredentials_accessKeyId :: Lens' RoleCredentials AccessKey Source #

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.

roleCredentials_secretAccessKey :: Lens' RoleCredentials SecretKey Source #

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' 

Fields

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.

roleInfo_accountId :: Lens' RoleInfo (Maybe Text) Source #

The identifier of the AWS account assigned to the user.

roleInfo_roleName :: Lens' RoleInfo (Maybe Text) Source #

The friendly name of the role that is assigned to the user.