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 |
Synopsis
- defaultService :: Service
- _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- data AccountInfo = AccountInfo' {
- accountName :: Maybe Text
- accountId :: Maybe Text
- emailAddress :: Maybe Text
- newAccountInfo :: AccountInfo
- accountInfo_accountName :: Lens' AccountInfo (Maybe Text)
- accountInfo_accountId :: Lens' AccountInfo (Maybe Text)
- accountInfo_emailAddress :: Lens' AccountInfo (Maybe Text)
- data RoleCredentials = RoleCredentials' {}
- newRoleCredentials :: RoleCredentials
- roleCredentials_secretAccessKey :: Lens' RoleCredentials (Maybe Text)
- roleCredentials_sessionToken :: Lens' RoleCredentials (Maybe Text)
- roleCredentials_expiration :: Lens' RoleCredentials (Maybe Integer)
- roleCredentials_accessKeyId :: Lens' RoleCredentials (Maybe Text)
- data RoleInfo = RoleInfo' {}
- newRoleInfo :: RoleInfo
- roleInfo_roleName :: Lens' RoleInfo (Maybe Text)
- roleInfo_accountId :: 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 => 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.
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: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.
RoleCredentials' | |
|
Instances
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
Provides information about the role that is assigned to the user.
See: newRoleInfo
smart constructor.
Instances
Eq RoleInfo Source # | |
Read RoleInfo Source # | |
Show RoleInfo Source # | |
Generic RoleInfo Source # | |
NFData RoleInfo Source # | |
Defined in Amazonka.SSO.Types.RoleInfo | |
Hashable RoleInfo Source # | |
Defined in Amazonka.SSO.Types.RoleInfo | |
FromJSON RoleInfo Source # | |
type Rep RoleInfo Source # | |
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.