Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SSO

import { SSO } from "https://aws-api.deno.dev/v0.4/services/sso.ts?docs=full";
class SSO {
constructor(apiFactory: client.ApiFactory);
async getRoleCredentials(params: GetRoleCredentialsRequest, opts?: client.RequestOptions): Promise<GetRoleCredentialsResponse>;
async listAccountRoles(params: ListAccountRolesRequest, opts?: client.RequestOptions): Promise<ListAccountRolesResponse>;
async listAccounts(params: ListAccountsRequest, opts?: client.RequestOptions): Promise<ListAccountsResponse>;
async logout(params: LogoutRequest, opts?: client.RequestOptions): Promise<void>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new SSO(apiFactory: client.ApiFactory)
[src]

§Methods

§

Returns the STS short-term credentials for a given role name that is assigned to the user.

§

Lists all roles that are assigned to the user for a given AWS account.

§

Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the administrator of the account. For more information, see Assign User Access in the IAM Identity Center User Guide. This operation returns a paginated response.

§
logout(params: LogoutRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes the locally stored SSO tokens from the client-side cache and sends an API call to the IAM Identity Center service to invalidate the corresponding server-side IAM Identity Center sign in session.

Note: If a user uses IAM Identity Center to access the AWS CLI, the user’s IAM Identity Center sign in session is used to obtain an IAM session, as specified in the corresponding IAM Identity Center permission set. More specifically, IAM Identity Center assumes an IAM role in the target account on behalf of the user, and the corresponding temporary AWS credentials are returned to the client. After user logout, any existing IAM role sessions that were created by using IAM Identity Center permission sets continue based on the duration configured in the permission set. For more information, see User authentications in the IAM Identity Center User Guide.

§Static Properties