libZSservicesZSamazonka-ssoZSamazonka-sso
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.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 => Getting (First ServiceError) 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.

_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified resource doesn't exist.

AccountInfo

data AccountInfo Source #

Provides information about your AWS account.

See: newAccountInfo smart constructor.

Constructors

AccountInfo' 

Fields

Instances

Instances details
Eq AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Read AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Show 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 #

NFData AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

Methods

rnf :: AccountInfo -> () #

Hashable AccountInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.AccountInfo

FromJSON 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" "libZSservicesZSamazonka-ssoZSamazonka-sso" 'False) (C1 ('MetaCons "AccountInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "accountId") '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:accountName:AccountInfo', accountInfo_accountName - The display name of the AWS account that is assigned to the user.

$sel:accountId:AccountInfo', accountInfo_accountId - The identifier 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_accountName :: Lens' AccountInfo (Maybe Text) Source #

The display name 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_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
Eq RoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleCredentials

Show 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 #

NFData RoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleCredentials

Methods

rnf :: RoleCredentials -> () #

Hashable RoleCredentials Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleCredentials

FromJSON 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" "libZSservicesZSamazonka-ssoZSamazonka-sso" 'False) (C1 ('MetaCons "RoleCredentials'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "secretAccessKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "sessionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "expiration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "accessKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newRoleCredentials :: RoleCredentials 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: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.

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

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

roleCredentials_secretAccessKey :: Lens' RoleCredentials (Maybe Text) 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.

roleCredentials_sessionToken :: Lens' RoleCredentials (Maybe Text) 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_expiration :: Lens' RoleCredentials (Maybe Integer) Source #

The date on which temporary security credentials expire.

roleCredentials_accessKeyId :: Lens' RoleCredentials (Maybe Text) 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.

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
Eq RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Read RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Show 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 #

NFData RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Methods

rnf :: RoleInfo -> () #

Hashable RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

Methods

hashWithSalt :: Int -> RoleInfo -> Int #

hash :: RoleInfo -> Int #

FromJSON RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

type Rep RoleInfo Source # 
Instance details

Defined in Amazonka.SSO.Types.RoleInfo

type Rep RoleInfo = D1 ('MetaData "RoleInfo" "Amazonka.SSO.Types.RoleInfo" "libZSservicesZSamazonka-ssoZSamazonka-sso" 'False) (C1 ('MetaCons "RoleInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accountId") '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:roleName:RoleInfo', roleInfo_roleName - The friendly name of the role that is assigned to the user.

$sel:accountId:RoleInfo', roleInfo_accountId - 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.

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

The identifier of the AWS account assigned to the user.