5.0.0 • Published 5 years ago
@datafire/amazonaws_sso v5.0.0
@datafire/amazonaws_sso
Client library for AWS Single Sign-On
Installation and Usage
npm install --save @datafire/amazonaws_sso
let amazonaws_sso = require('@datafire/amazonaws_sso').create({
accessKeyId: "",
secretAccessKey: "",
region: ""
});
.then(data => {
console.log(data);
});
Description
Actions
ListAccounts
amazonaws_sso.ListAccounts({}, context)
Input
- input
object
- nextToken
string
- maxResult
integer
- x-amz-ssoBearerToken
string
- maxResults
string
- nextToken
Output
- output ListAccountsResponse
ListAccountRoles
amazonaws_sso.ListAccountRoles({}, context)
Input
- input
object
- nextToken
string
- maxResult
integer
- x-amz-ssoBearerToken
string
- accountId
string
- maxResults
string
- nextToken
Output
- output ListAccountRolesResponse
GetRoleCredentials
amazonaws_sso.GetRoleCredentials({}, context)
Input
- input
object
- roleName
string
- accountId
string
- x-amz-ssoBearerToken
string
- roleName
Output
- output GetRoleCredentialsResponse
Logout
amazonaws_sso.Logout({}, context)
Input
- input
object
- x-amz-ssoBearerToken
string
- x-amz-ssoBearerToken
Output
Output schema unknown
Definitions
AccessKeyType
- AccessKeyType
string
AccessTokenType
- AccessTokenType
string
AccountIdType
- AccountIdType
string
AccountInfo
- AccountInfo
object
: Provides information about your AWS account.- accountId
- accountName
- emailAddress
AccountListType
- AccountListType
array
- items AccountInfo
AccountNameType
- AccountNameType
string
EmailAddressType
- EmailAddressType
string
ExpirationTimestampType
- ExpirationTimestampType
integer
GetRoleCredentialsRequest
- GetRoleCredentialsRequest
object
GetRoleCredentialsResponse
- GetRoleCredentialsResponse
object
- roleCredentials
- accessKeyId
- expiration
- secretAccessKey
- sessionToken
- roleCredentials
InvalidRequestException
ListAccountRolesRequest
- ListAccountRolesRequest
object
ListAccountRolesResponse
- ListAccountRolesResponse
object
- nextToken
- roleList
- items RoleInfo
ListAccountsRequest
- ListAccountsRequest
object
ListAccountsResponse
- ListAccountsResponse
object
- accountList
- items AccountInfo
- nextToken
- accountList
LogoutRequest
- LogoutRequest
object
MaxResultType
- MaxResultType
integer
NextTokenType
- NextTokenType
string
ResourceNotFoundException
RoleCredentials
- RoleCredentials
object
: Provides information about the role credentials that are assigned to the user.- accessKeyId
- expiration
- secretAccessKey
- sessionToken
RoleInfo
- RoleInfo
object
: Provides information about the role that is assigned to the user.- accountId
- roleName
RoleListType
- RoleListType
array
- items RoleInfo
RoleNameType
- RoleNameType
string
SecretAccessKeyType
- SecretAccessKeyType
string
SessionTokenType
- SessionTokenType
string
TooManyRequestsException
UnauthorizedException
5.0.0
5 years ago