logo
pub trait Sso {
    fn get_role_credentials<'life0, 'async_trait>(
        &'life0 self,
        input: GetRoleCredentialsRequest
    ) -> Pin<Box<dyn Future<Output = Result<GetRoleCredentialsResponse, RusotoError<GetRoleCredentialsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn list_account_roles<'life0, 'async_trait>(
        &'life0 self,
        input: ListAccountRolesRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListAccountRolesResponse, RusotoError<ListAccountRolesError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn list_accounts<'life0, 'async_trait>(
        &'life0 self,
        input: ListAccountsRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListAccountsResponse, RusotoError<ListAccountsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn logout<'life0, 'async_trait>(
        &'life0 self,
        input: LogoutRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<LogoutError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Trait representing the capabilities of the SSO API. SSO clients implement this trait.

Required 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 AWS SSO User Guide. This operation returns a paginated response.

Removes the client- and server-side session that is associated with the user.

Implementors