All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.http4k.connect.amazon.iamidentitycenter.ssoExtensions.kt Maven / Gradle / Ivy

The newest version!
package org.http4k.connect.amazon.iamidentitycenter

import dev.forkhandles.result4k.Result
import org.http4k.connect.RemoteFailure
import org.http4k.connect.amazon.core.model.AwsAccount
import org.http4k.connect.amazon.iamidentitycenter.model.AccessToken
import org.http4k.connect.amazon.iamidentitycenter.model.RoleName
import org.http4k.connect.amazon.iamidentitycenter.sso.action.FederatedCredentials
import org.http4k.connect.amazon.iamidentitycenter.sso.action.GetFederatedCredentials

/**
 * @see org.http4k.connect.amazon.iamidentitycenter.sso.action.GetFederatedCredentials
 */
public fun SSO.getFederatedCredentials(
  account: AwsAccount,
  roleName: RoleName,
  accessToken: AccessToken,
): Result = invoke(GetFederatedCredentials(account, roleName, accessToken))




© 2015 - 2025 Weber Informatics LLC | Privacy Policy