org.http4k.connect.amazon.sts.stsExtensions.kt Maven / Gradle / Ivy
package org.http4k.connect.amazon.sts
import java.time.Duration
import kotlin.Long
import kotlin.String
import kotlin.collections.List
import org.http4k.connect.amazon.core.model.ARN
import org.http4k.connect.amazon.core.model.Tag
import org.http4k.connect.amazon.sts.action.AssumeRole
import org.http4k.connect.amazon.sts.model.TokenCode
/**
* @see org.http4k.connect.amazon.sts.action.AssumeRole
*/
public fun STS.assumeRole(
RoleArn: ARN,
RoleSessionName: String,
TokenCode: TokenCode? = null,
SerialNumber: Long? = null,
DurationSeconds: Duration? = null,
ExternalId: String? = null,
Policy: String? = null,
PolicyArns: List? = null,
Tags: List? = null,
TransitiveTagKeys: List? = null
) = invoke(AssumeRole(RoleArn, RoleSessionName, TokenCode, SerialNumber, DurationSeconds,
ExternalId, Policy, PolicyArns, Tags, TransitiveTagKeys))
© 2015 - 2025 Weber Informatics LLC | Privacy Policy