Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- defaultService :: Service
- _InvalidRequestException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _TooManyRequestsException :: AsError a => Fold a ServiceError
- _UnauthorizedException :: AsError a => Fold a ServiceError
- data AccountInfo = AccountInfo' {
- accountId :: Maybe Text
- accountName :: Maybe Text
- emailAddress :: Maybe Text
- newAccountInfo :: AccountInfo
- accountInfo_accountId :: Lens' AccountInfo (Maybe Text)
- accountInfo_accountName :: Lens' AccountInfo (Maybe Text)
- accountInfo_emailAddress :: Lens' AccountInfo (Maybe Text)
- data RoleCredentials = RoleCredentials' {}
- newRoleCredentials :: AccessKey -> SecretKey -> RoleCredentials
- roleCredentials_expiration :: Lens' RoleCredentials (Maybe Integer)
- roleCredentials_sessionToken :: Lens' RoleCredentials (Maybe SessionToken)
- roleCredentials_accessKeyId :: Lens' RoleCredentials AccessKey
- roleCredentials_secretAccessKey :: Lens' RoleCredentials SecretKey
- data RoleInfo = RoleInfo' {}
- newRoleInfo :: RoleInfo
- roleInfo_accountId :: Lens' RoleInfo (Maybe Text)
- roleInfo_roleName :: Lens' RoleInfo (Maybe Text)
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.
AccountInfo' | |
|
Instances
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.
RoleCredentials' | |
|
Instances
:: AccessKey | |
-> SecretKey | |
-> RoleCredentials |
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
Provides information about the role that is assigned to the user.
See: newRoleInfo
smart constructor.
Instances
FromJSON RoleInfo Source # | |
Generic RoleInfo Source # | |
Read RoleInfo Source # | |
Show RoleInfo Source # | |
NFData RoleInfo Source # | |
Defined in Amazonka.SSO.Types.RoleInfo | |
Eq RoleInfo Source # | |
Hashable RoleInfo Source # | |
Defined in Amazonka.SSO.Types.RoleInfo | |
type Rep RoleInfo Source # | |
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.